/* The 2.0-only additions. tokens.css and app.css are 1.3's, byte for byte,
   and stay that way: what 2.0 needs that 1.3 had no pane for goes here, so
   the shell can be re-copied from 1.3 without a merge. */

/* A menu entry for a part that does not exist yet. It reads as a door that
   is shut, not as a link that is broken -- the title attribute says which
   part is missing. */
.ditem.off{color:#9aa3ad;cursor:default}
.ditem.off:hover{background:transparent}

/* Pills beyond 1.3's one accent .tag: a date whose basis is ASSUMED must not
   look like a date the document states (contracts/dates.md), and a speaker is
   not a kind. */
.tag.assumed{background:var(--warn-bg);color:var(--warn-ink)}
.tag.said{background:#e8f0fe;color:var(--accent)}
.tag.about{background:#f3e8fd;color:#6d28d9}
.tag.lane{background:#e6f4f1;color:#0f766e}
/* A lane that cannot run reads as absent, not as merely quiet — the reason
   is on the pill's title. */
.tag.lane.off{background:var(--code-bg);color:var(--dim);text-decoration:line-through}
.tag.mono{background:var(--code-bg);color:var(--dim);font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.tag.on{background:#e7f6ec;color:#166534}
.tag.no{background:var(--code-bg);color:var(--dim)}
.tag.over{background:#fdecec;color:#991b1b}

.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;color:var(--dim)}
.msecs{display:flex;gap:14px;flex-wrap:wrap;margin:2px 0 14px;align-items:baseline}
.msecs .on{font-weight:600;color:var(--ink)}
pre.decl{background:var(--code-bg);border-radius:6px;padding:10px 12px;margin:8px 0 0;
         white-space:pre-wrap;font-size:12px;line-height:1.5;max-height:340px;overflow:auto}
.num{text-align:right;font-variant-numeric:tabular-nums;color:var(--dim);width:90px}

#under{color:var(--dim)}

/* A document path is one long token and the corpus has 90-character ones;
   without this it pushes the whole page sideways on a phone. */
.mono{overflow-wrap:anywhere}

@media(max-width:700px){
  #composerbar .row{flex-wrap:wrap}
  #composer{flex:1 1 100%}
}

/* THE QUESTION AREA'S OWN FURNITURE. 1.3's app.css has the composer, the
   message bubbles and the citation pill; what is new in 2.0 is the
   instrument strip under an answer and the tables the directives print. */
.strip{margin-top:10px;padding-top:8px;border-top:1px solid var(--line-soft);
       color:var(--dim);font-size:11.5px;line-height:1.7}
.strip a{cursor:pointer}
.bad{color:#b42318}
/* Inside the strip, a caution is a WORD not a box: the strip is one line of
   small print and a bordered panel in the middle of it reads as an error the
   answer failed with, rather than as something to know about the answer. */
.strip .warn{background:none;border:0;padding:0;margin:0;font-size:inherit;
             color:var(--warn-ink);font-weight:600}
.warn{background:var(--warn-bg);border:1px solid var(--warn-line);color:var(--warn-ink);
      border-radius:8px;padding:8px 11px;margin:6px 0;font-size:13px}
.miss{margin-top:10px;color:var(--dim);font-size:13px}
.ev{margin:10px 0}
.eviD{margin-top:12px}
.eviD>summary{cursor:pointer;color:var(--accent);font-size:12.5px;padding:4px 0}
/* The label column of every directive table: one width, so a #trace and a
   #why read as the same instrument. */
td.w{width:190px;color:var(--dim);vertical-align:top}
.msg.a table.enttab{margin:4px 0 10px}
.msg.a .amdh:first-child{margin-top:4px}

/* The board. A report is the thing you came for; a system line is the room
   talking about itself and should recede. */
.ent-report{border-left:3px solid var(--accent)}
.ent-system{background:transparent;border-style:dashed;color:var(--dim)}
.ent-system b{font-weight:400;color:var(--dim)}
.ent-reply{margin-left:22px}

/* A NUMERIC COLUMN'S HEADING SITS OVER ITS DIGITS. `.enttab th` is
   left-aligned for label columns, which is right — but a heading that is
   left while its figures are right reads as two columns, not one. */
.enttab th.num{text-align:right}

/* THE WAITING VIEW. A question holds 15-80 seconds and a static "…" reads as
   nothing happening — 1.3's lesson, and 2.0 had shipped the three dots. The
   spinner and the dots carry motion even when the stage text is still, which
   is most of the time: the model round is one long silence. */
.status{display:flex;align-items:flex-start;gap:9px;padding:2px 0}
.status .sbody{flex:1;min-width:0}
.scur{font-size:13.5px;color:var(--ink)}
.dots{display:inline-block;width:14px;color:var(--dim)}
.trail{margin-top:3px;display:flex;flex-wrap:wrap;gap:8px}
.tstep{font-size:11px;color:var(--dim)}
.sel{font-size:11.5px;color:var(--dim);font-variant-numeric:tabular-nums;
     min-width:34px;text-align:right}
.spin{width:13px;height:13px;margin-top:3px;flex:none;border-radius:50%;
      border:2px solid var(--line);border-top-color:var(--accent);
      animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
/* A person who has asked the machine not to animate is not asking to be told
   less: the clock still counts, only the rotation stops. */
@media(prefers-reduced-motion:reduce){.spin{animation:none}}

/* A QUOTE FROM THE RECORD IS NOT THE ANALYST'S OWN SENTENCE, and the answer
   prompt asks for one wherever the wording matters. */
.msg.a blockquote{border-left:3px solid var(--line);margin:8px 0;padding:3px 11px;
                  color:var(--dim);font-style:italic}

/* THE MAP, WHERE A WINDOW CANNOT BE OPENED. Same page, different frame: an
   embedded webview intercepts window.open and returns a window it never
   renders into, so a tab would be blank and a refusal would withhold
   something that works fine right here. */
.mapwrap{position:fixed;inset:0;background:rgba(16,34,42,.55);z-index:70;
         display:flex;align-items:center;justify-content:center;padding:16px}
.mapbox{background:var(--panel);border-radius:10px;width:min(1000px,100%);
        height:min(680px,100%);display:flex;flex-direction:column;overflow:hidden}
.mapbar{display:flex;align-items:baseline;gap:14px;padding:9px 14px;
        border-bottom:1px solid var(--line);font-size:13px}
.mapbar a{margin-left:auto;cursor:pointer;color:var(--accent);font-size:12.5px;
          text-decoration:none}
.mapbar a+a{margin-left:0}
.mapbox iframe{flex:1;border:0;width:100%}

/* the keyboard bench: the card the keys act on (2026-09-30) */
#bench .card.cur{outline:2px solid var(--accent);outline-offset:1px}

/* 2.5: the answer leads into the record */
a.wl{color:var(--accent);text-decoration:none;border-bottom:1px dotted var(--accent)}
.explore,.nexts,.tlbox{margin-top:12px;padding:10px 12px;border:1px solid var(--line);border-radius:10px}
.explore b,.nexts b,.tlbox b{display:block;font-size:12.5px;margin-bottom:6px}
details.tlbox>summary{cursor:pointer;font-size:12.5px}
details.tlbox>summary b{display:inline;margin:0}
details.tlbox[open]>summary{margin-bottom:6px}
.xg{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:4px 0}
.xg .dim{font-size:12px;min-width:78px}
.xc{border:1px solid var(--line);border-radius:100px;padding:2px 10px;font-size:12.5px;color:var(--accent);text-decoration:none}
.xc:hover{border-color:var(--accent)}
.nx{display:block;text-align:left;width:100%;margin:4px 0;padding:7px 10px;border:1px solid var(--line);
    border-radius:8px;background:none;color:inherit;font:inherit;font-size:13.5px;cursor:pointer}
.nx:hover{border-color:var(--accent)}
.tlr{display:grid;grid-template-columns:minmax(140px,36%) 1fr auto;gap:8px;align-items:center;font-size:12.5px;padding:2px 0}
.tlt{position:relative;height:9px;background:var(--line-soft,#e5edf0);border-radius:5px}
.tlb{position:absolute;top:0;height:9px;background:var(--line);border-radius:5px}
.tlb.on{background:var(--accent)}
.tls{font-size:11px;color:var(--dim);white-space:nowrap}
.tle{display:flex;justify-content:space-between;font-size:11px;color:var(--dim);margin-top:4px}
@media (max-width:600px){.tlr{grid-template-columns:1fr}}

/* Settings > Organization: the declaration editor (settings/, 2026-10-04) */
textarea.setedit{display:block;width:100%;box-sizing:border-box;min-height:260px;margin:8px 0 6px;
  font:12.5px/1.45 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;resize:vertical}
.setcut{font-size:12px;margin:2px 0 6px}
.setcut .after{background:var(--warn-bg);color:var(--warn-ink)}
.setform td input{width:100%;box-sizing:border-box;padding:6px 8px;font-size:13px}
.setmsg{font-size:12.5px;margin-left:8px}
