/* exp35 . section stylesheet owned by the agents builder.
   Tokens only, no hard-coded colours. All 7 themes.

   Covers one section:
     #agents  (partials/agents.html)  . PLAN-35-IA §7 Section 6
     (#queue was folded into #agents in exp38; partials/queue.html is a
      tombstone. The retired Section 7 comparison rules — .s35-cmp,
      .s35-descent, .s35-loop and their supports — were pruned with the fold;
      .s35-queue-fold styles the fold.)

   Everything already built in assets/agent-sections.css, assets/sections.css
   and assets/site.css is reused unchanged. This file only adds the classes the
   plan's new shapes need, all prefixed .s35- so no other builder's section can
   collide with them. It is linked LAST, after themes.css and
   theme-verified.css, so a rule here must never be more specific than a theme
   rule: themes still win.

   Semantic colour contract, as applied here:
     --pass     verified   . only the closing "defect record is created"
     --stale    suspect    . only "hope", the row that is not work
     --unknown  inactive   . the archaeology descent, the pending obligations
     --signal   affordance . used NOWHERE in either section, because neither
                             section contains an affordance
   ========================================================================== */


/* ==========================================================================
   SECTION 6 . agents
   ========================================================================== */

/* The signature line. .ag-big already carries the type; it is capped at 32ch
   for the stale section's short turn, and this one is two full clauses, so the
   measure opens up enough to let each clause hold its own line on desktop. */
.s35-sig{margin:2.4rem 0 0;max-width:50ch;}

/* ---------- the rail: developer . agent . proof, over mcp ----------
   Plan §9 rule 8 says never lead with MCP. This is where the word is allowed:
   a technical label on the wire, after the copy above has already said what
   the agent receives. */
/* .ag .ag-fig already sets 2.4rem of head room, and it out-ranks a bare class,
   so this one has to carry the same weight. The rail is chrome for the
   transcript below it, not a figure of its own, so it sits close. */
.ag .s35-rail-fig{margin:.4rem 0 1.5rem;}
/* site.css floors every .fig-scroll svg at 660px so wide diagrams scroll. This
   rail is a single row, so it scales instead of scrolling; the cap matches
   .ag-tx-win so the rail and the transcript share both edges. */
.s35-rail-fig .fig-scroll svg{min-width:0;max-width:880px;}
.s35-rail-fig .fig-scroll{padding-bottom:0;}

/* ---------- the prompt ---------- */
.s35-ask{margin:0 0 1.4rem;}
.s35-pl{
  display:flex;align-items:baseline;gap:.55em;margin:0;max-width:56ch;
  font-family:var(--prose);font-size:1.06rem;line-height:1.5;color:var(--ink);
}
.s35-pl + .s35-pl{margin-top:.28rem;}
.s35-caret{
  flex:0 0 auto;font-family:var(--mono);font-size:.95em;font-weight:600;
  color:var(--muted);
}
.s35-pl code{font-family:var(--mono);font-size:.9em;}

/* ---------- relevant intent: three identifiers, no invented titles ---------- */
.s35-ids{
  display:flex;flex-wrap:wrap;align-items:baseline;gap:.1rem .55rem;margin:0;
  font-family:var(--mono);font-size:.8rem;line-height:1.7;letter-spacing:.02em;
  color:var(--ink);
}

/* ---------- required before completion ----------
   Four empty boxes. They are obligations that have not been met, so the marker
   is --unknown: nothing is claimed about them yet, and a tick here would claim
   the work was already done. */
.s35-req{list-style:none;margin:0;padding:0;}
.s35-req li{
  display:flex;align-items:baseline;gap:.7rem;
  font-family:var(--mono);font-size:.8rem;line-height:1.9;color:var(--ink);
}
.s35-box{
  flex:0 0 auto;width:9px;height:9px;border-radius:2px;
  border:1.5px solid var(--unknown,var(--muted));
  transform:translateY(1px);
}


/* ==========================================================================
   ONE THEME EXCEPTION
   The verified theme re-keys --unknown to #3A403B, a value it tuned for
   diagram structure sitting on its near-black page ground. On a --card
   surface that lands at 1.8:1, so an empty checkbox disappears there and
   nowhere else. This restores it with another token, not with a colour;
   every other theme keeps --unknown.
   ========================================================================== */
html[data-theme="verified"] .s35-box{border-color:var(--muted);}

/* the supporting line closes the section */
.s35-support{margin:2.2rem 0 0;max-width:36ch;}

/* ==========================================================================
   THE FIX LOOP, FOLDED (exp38 distill)
   Section 7's two-column comparison is retired; its argument lands at the
   foot of #agents as two prose sentences and the signature line. The block
   keeps id="queue" so the old section anchor still resolves; scroll-margin
   keeps the landing clear of the sticky header. One hairline separates it
   from the transcript above. Colour comes only from shell tokens.
   ========================================================================== */
.s35-queue-fold{
  margin:2.4rem 0 0;padding-top:1.6rem;
  border-top:1px solid var(--hair);
  scroll-margin-top:92px;
}
.s35-queue-fold .s35-fold-p{
  font-family:var(--prose);font-size:1.08rem;line-height:1.6;
  color:var(--ink-60);max-width:66ch;margin:0;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width:820px){
  .ag .s35-rail-fig{margin:.8rem 0 1.5rem;}
  .s35-rail-fig .fig-scroll svg{max-width:340px;}
}
@media (max-width:600px){
  .s35-pl{font-size:1rem;}
  .s35-ids,.s35-req li{font-size:.76rem;}
  .s35-sig,.s35-support{max-width:none;}
}

/* Reduced motion is already handled globally in site.css: .dr holds its final
   frame and .fx holds full opacity, so both sections settle on one legible
   frame with no extra rule here. */

/* House provenance caption: invented specimens are marked in the RENDERED page. */
.s35-eg{margin:.9rem 0 0;font-size:.82rem;line-height:1.5;color:var(--label-text);max-width:62ch;}
.s35-eg-t{font-family:var(--mono);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;
  margin-right:.5rem;padding:.1rem .4rem;border:1px solid var(--hair,currentColor);border-radius:2px;}
