/* Trace review screen (2026-11-12), the casework screen's style (apps/trace_casework_20261111) kept: dark neutral grey, the
   video is the brightest surface; light blue is the path, the selection and what the reviewer did; red only as the small
   diamonds of moments to review; white lines are what the reviewer drew on the video (zone, line). No model scores, no tinted
   alert boxes, no shadows, 1 px lines. */
/* D1 (2026-11-19): every colour below is a shared token (static/tm/tokens.css), so the screen has a light and a dark theme from the
   same rules (the system setting or the header button). The names are aliases kept for the rules: panels on the page colour with
   1px lines, the video on --face; the path, the target box and the selection on the video are --vid-accent and candidates
   --vid-cand (the same in both themes); flagged items on the time bars are thin --accent ticks (they were red diamonds); output
   segments are --tb-target; what the reviewer did is plain text colour (it was blue); red only as the small error text (--danger).
   Wanted Sans replaces Segoe UI and Consolas. Layout is unchanged in this stage. */
:root{--panel:var(--bg);--frame:var(--face);--ink:var(--text);--sub:var(--muted);--weak:var(--muted);
  --blue:var(--accent);--blue-fill:var(--text);--sel:var(--face);--reviewer:var(--text);--red:var(--danger);--done:var(--muted);
  --overlap:var(--line);--crowd:var(--line-strong);--stop:var(--muted);--other:var(--vid-ring);--range:var(--line);
  font-family:var(--font);font-size:13px;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}[hidden]{display:none!important}html,body{margin:0;height:100%}body{display:flex;flex-direction:column;overflow:hidden;background:var(--bg)}
button,select,input{font:inherit;color:inherit}
button{border:1px solid var(--line);border-radius:3px;background:var(--face);min-height:28px;padding:3px 10px;cursor:pointer;line-height:1.3}
button:hover:not(:disabled){border-color:var(--line-strong);background:var(--face)}button:disabled{color:var(--muted);background:var(--panel);opacity:.6;cursor:default}
button:focus-visible,input:focus-visible,select:focus-visible,li:focus-visible{outline:2px solid var(--blue);outline-offset:1px}
.primary{background:var(--blue-fill);border-color:var(--blue-fill);color:var(--bg);font-weight:600}
.primary:disabled{background:var(--face);border-color:var(--line);color:var(--muted)}
button.quiet{border-color:transparent;background:transparent;color:var(--sub);font-size:12px;min-height:24px;padding:1px 6px;white-space:nowrap}
button.quiet:hover:not(:disabled){background:var(--face);border-color:var(--line)}
.case-select{background:var(--bg);border:1px solid var(--line);border-radius:8px;min-height:32px;padding:2px 8px;font-size:13px;max-width:220px}
.disclosure{margin-left:auto;font-size:12px;color:var(--weak);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;max-width:44%}
.notice{font-size:12px;color:var(--reviewer);font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
#error{border-bottom:1px solid var(--line);background:var(--face);color:var(--ink);font-size:12px;padding:6px 14px}
.layout{flex:1;min-height:0;display:grid;grid-template-columns:300px minmax(0,1fr) 360px;gap:10px;padding:10px}
html[lang="en"] .layout{grid-template-columns:300px minmax(0,1fr) 392px}
h2{font-size:13px;font-weight:600;margin:0}
.queries,.detail,.timeline{background:var(--panel);border:1px solid var(--line);border-radius:4px}
.queries{display:flex;flex-direction:column;min-height:0}

/* question */
.ask{padding:10px 10px 8px;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:6px}
.ask-row{display:flex;align-items:center;gap:6px;min-height:26px}
.ask-key{width:50px;flex:none;font-size:12px;color:var(--weak);white-space:nowrap}
.time-in{width:66px;background:var(--bg);border:1px solid var(--line);border-radius:6px;padding:2px 6px;min-height:26px;font-family:var(--font);font-variant-numeric:tabular-nums;font-size:12px;text-align:center}
.num-in{width:56px;background:var(--bg);border:1px solid var(--line);border-radius:3px;padding:2px 6px;min-height:26px;font-size:12px}
.dash,.unit{color:var(--weak);font-size:12px}
.answer{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-top:4px}
.answer-line{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}
.answer-before{font-size:12px;color:var(--weak);font-variant-numeric:tabular-nums}
.answer-sub{margin:0;font-size:12px;color:var(--sub);font-variant-numeric:tabular-nums;min-height:0}.answer-sub:empty{display:none}
.export button{font-size:12px;min-height:24px;padding:1px 8px}

/* list */
.list-head{display:flex;justify-content:space-between;align-items:center;padding:8px 10px 6px}.audit-summary{font-size:11px;color:var(--weak)}
.list-tools{display:flex;align-items:center;gap:8px}.undo{font-size:11px;min-height:22px;padding:1px 7px;display:inline-flex;align-items:center;gap:6px}
.undo kbd{font:11px var(--font);color:var(--weak);border:1px solid var(--line);border-radius:4px;padding:0 4px}.undo:disabled kbd{color:var(--muted)}
.axis{display:flex;justify-content:space-between;margin:0 10px 0 48px;padding:0 4px 4px;font-size:10px;color:var(--weak);font-variant-numeric:tabular-nums;border-bottom:1px solid var(--line)}
#track-list{list-style:none;padding:0;margin:0;overflow-y:auto;min-height:0;flex:1}
#track-list li{display:grid;grid-template-columns:28px minmax(0,1fr) auto;column-gap:10px;row-gap:1px;padding:6px 10px;border-bottom:1px solid var(--line);cursor:pointer}
#track-list li:hover{background:var(--face)}#track-list li.selected{background:var(--sel)}
#track-list li.divider{display:block;cursor:default;padding:10px 10px 4px;font-size:11px;color:var(--weak);border-bottom:1px solid var(--line)}#track-list li.divider:hover{background:none}
.t-pic{grid-row:span 3;width:28px;height:40px;object-fit:contain;background:var(--face);align-self:start}
.t-name{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.t-name .joined{font-size:11px;color:var(--reviewer);margin-left:6px}
.t-status{font-size:11px;color:var(--sub);align-self:center;white-space:nowrap}.t-status.done{color:var(--reviewer)}
.t-time{grid-column:2/-1;font-size:11px;color:var(--weak);font-variant-numeric:tabular-nums;line-height:1.6}
.t-bar{grid-column:2/-1;display:block;margin-top:2px;overflow:visible}
.t-chip{font:11px var(--font);font-variant-numeric:tabular-nums;color:var(--sub);background:transparent;border:1px solid transparent;border-radius:2px;min-height:0;padding:0 3px;margin:0 1px;line-height:1.5}
.t-chip:hover:not(:disabled){color:var(--ink);border-color:var(--line-strong);background:var(--face)}
.t-mark{font-size:11px;color:var(--weak)}
.t-note{grid-column:2/-1;font-size:11px;color:var(--reviewer);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tb-base{fill:var(--tb-base)}.tb-out{fill:var(--line-strong)}.tb-out.sel{fill:var(--tb-target)}.tb-check{fill:var(--accent);cursor:pointer}
.tb-done{fill:none;stroke:var(--done);stroke-width:1.4}

/* video */
.viewer{min-width:0;min-height:0;display:flex;flex-direction:column;gap:10px}
.video-shell{flex:1;min-height:0;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:4px;overflow:hidden;background:var(--frame)}
.viewer-top{height:32px;flex:none;padding:0 8px 0 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--panel);font-size:12px;color:var(--sub)}
.top-tools{display:flex;align-items:center;gap:12px}
#clock,#frame-label{font-family:var(--font);font-variant-numeric:tabular-nums}#clock{color:var(--ink)}
.stage-wrap{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;background:var(--frame);position:relative}
.stage{position:relative;background:var(--face)}.stage>canvas,.stage>svg{position:absolute;inset:0;width:100%;height:100%;display:block}
.draw-tip{position:absolute;left:12px;top:10px;font-size:12px;color:var(--vid-ink);background:color-mix(in srgb,var(--vid-shade) 80%,transparent);border:1px solid var(--line);border-radius:3px;padding:3px 8px;pointer-events:none}
.drawing #overlay{cursor:crosshair}
.box{fill:transparent;stroke:var(--other);stroke-width:1.1;stroke-opacity:.45;vector-effect:non-scaling-stroke}
.tid{fill:var(--other);fill-opacity:.6;font-family:var(--font);font-variant-numeric:tabular-nums;paint-order:stroke;stroke:var(--vid-shade);stroke-opacity:.7;pointer-events:none}
.tid.fixed{fill:var(--vid-ink);fill-opacity:1}
.box.near{stroke-dasharray:3 3;stroke-opacity:.35}
#track-list li.near .t-name{color:var(--sub)}
.pickable .box{cursor:pointer}.pickable .box:hover{stroke-opacity:.95}
.box.path{stroke:var(--vid-accent);stroke-width:3.5;stroke-opacity:1}.box.sighting{stroke:var(--vid-accent);stroke-width:3.5;stroke-opacity:1;stroke-dasharray:7 5}
.box.pair-a{stroke:var(--vid-accent);stroke-width:3;stroke-opacity:1}.box.pair-a.last{stroke-dasharray:7 5}
.box.pair-b{stroke:var(--vid-cand);stroke-width:2.5;stroke-opacity:1;stroke-dasharray:6 4}
.path-num{fill:var(--vid-accent);font-weight:600;font-family:var(--font);paint-order:stroke;stroke:var(--vid-ring);pointer-events:none}
.box.candidate{stroke:var(--vid-cand);stroke-width:2;stroke-opacity:.95}.box.candidate.dim{stroke-opacity:.42}
.box.hover{stroke:var(--vid-ring);stroke-width:3.5;stroke-opacity:1;stroke-dasharray:none}
.box.chosen{stroke:var(--vid-cand);stroke-width:4;stroke-opacity:1;stroke-dasharray:none;fill:color-mix(in srgb,var(--vid-cand) 15%,transparent)}
.cand-num{fill:var(--vid-cand);font-weight:600;font-family:var(--font);paint-order:stroke;stroke:var(--vid-ring);pointer-events:none}
.trail{fill:none;stroke:var(--vid-accent);stroke-width:3;stroke-opacity:.8;vector-effect:non-scaling-stroke;stroke-linejoin:round}
.zone{fill:color-mix(in srgb,var(--vid-ring) 6%,transparent);stroke:var(--vid-ring);stroke-width:1.6;stroke-opacity:.85;stroke-dasharray:8 5;vector-effect:non-scaling-stroke;pointer-events:none}
.cross-line{stroke:var(--vid-ring);stroke-width:2.2;stroke-opacity:.9;vector-effect:non-scaling-stroke;pointer-events:none}
.side-name{fill:var(--vid-ring);fill-opacity:.85;font-family:var(--font);paint-order:stroke;stroke:var(--vid-shade);stroke-opacity:.8;pointer-events:none}
.draft{fill:none;stroke:var(--vid-ring);stroke-width:1.6;stroke-dasharray:4 4;vector-effect:non-scaling-stroke;pointer-events:none}
.draft-pt{fill:var(--vid-ring);stroke:var(--vid-shade);vector-effect:non-scaling-stroke;pointer-events:none}
.transport{height:40px;flex:none;display:flex;align-items:center;gap:6px;padding:0 10px;background:var(--panel);border-top:1px solid var(--line);font-size:12px}
.transport button{font-size:12px;min-height:26px;padding:2px 9px}.transport .play{min-width:68px}
#prev,#next{font-size:15px;padding:0 9px;line-height:1}
.seg{display:inline-flex}.seg button{border-radius:0;margin-left:-1px;white-space:nowrap}
.ask .seg button{padding:3px 8px}.seg button:first-child{border-radius:3px 0 0 3px;margin-left:0}.seg button:last-child{border-radius:0 3px 3px 0}
.seg button.on,#zoom.on{background:var(--sel);border-color:var(--text);color:var(--ink);position:relative}
.seg.small button{font-size:11px;min-height:22px;padding:1px 8px}
.stop-at{display:flex;align-items:center;gap:4px;color:var(--sub);white-space:nowrap}.stop-at input{accent-color:var(--accent);margin:0}
#seek{flex:1;min-width:60px;accent-color:var(--text)}#frame-label{font-size:11px;color:var(--weak);white-space:nowrap}
#speed{min-width:46px}

/* time bar */
.timeline{flex:none;height:118px;padding:8px 12px}
.timeline-head{display:flex;justify-content:space-between;align-items:baseline}
.legend{font-size:11px;color:var(--weak);display:flex;gap:6px;align-items:center}.legend i{display:inline-block;width:12px;height:8px;margin-left:6px}
.lg-out{background:var(--tb-target)}.legend i.lg-check{width:2px;height:10px;margin:0 4px 0 10px;background:var(--accent)}
.legend i.lg-done{width:8px;height:8px;border-radius:50%;border:1.4px solid var(--done);background:none}
#timeline{width:100%;height:84px;display:block;cursor:pointer;user-select:none}
.tl-base{fill:var(--tb-base)}.tl-out{fill:var(--tb-target)}.tl-seg{fill:var(--tb-target)}.tl-none{fill:var(--face)}
.tl-range{fill:var(--range);stroke:var(--line-strong);stroke-width:1}.tl-brush{fill:var(--text);fill-opacity:.06;stroke:var(--text);stroke-width:1;stroke-dasharray:3 3}
.tl-people{fill:var(--line-strong)}
.tl-label{font:11px var(--font);fill:var(--sub)}.tl-time{font:11px var(--font);font-variant-numeric:tabular-nums;fill:var(--weak)}
.tl-check{fill:var(--accent);cursor:pointer}.tick-hit{fill:transparent}
.tl-overlap{fill:var(--overlap)}.tl-crowd{fill:var(--crowd)}.tl-stop{fill:var(--stop)}
.tl-done{fill:none;stroke:var(--done);stroke-width:1.6;cursor:pointer}.tl-done-label{font:11px var(--font);fill:var(--sub)}
.tl-cursor{stroke:var(--ink);stroke-width:1.5}.tl-split{stroke:var(--line-strong);stroke-width:1}

/* right panel */
.detail{min-height:0;overflow-y:auto}.detail-body{padding:12px}
.eyebrow{font-size:12px;font-weight:600;margin:0 0 4px;color:var(--sub)}
.detail h3{font-size:16px;margin:0 0 4px}
.detail h4{font-size:12px;font-weight:600;color:var(--sub);margin:14px 0 4px;display:flex;justify-content:space-between;align-items:baseline}
.detail h4:first-child{margin-top:0}.h4-note{font-weight:400;color:var(--weak)}
.detail .sub{font-size:12px;color:var(--sub);margin:0 0 8px;line-height:1.55;font-variant-numeric:tabular-nums}
.track-head{display:flex;gap:12px;align-items:flex-start;margin-bottom:4px}.track-head img{width:46px;height:64px;object-fit:contain;background:var(--face);flex:none}
.track-head>div{flex:1;min-width:0}
.note{font-size:12px;color:var(--sub);margin:6px 0}
.check-list{list-style:none;padding:0;margin:0 0 6px}
.check-list li{display:grid;grid-template-columns:62px minmax(0,1fr) auto;align-items:center;gap:8px;padding:5px 0;border-bottom:1px solid var(--line);font-size:12px}
.check-list li.joined{display:block}.c-time{font-variant-numeric:tabular-nums;color:var(--weak)}.c-what{line-height:1.45}
.check-list li.reviewer .c-what{color:var(--reviewer)}.check-list button{font-size:12px;min-height:24px;padding:1px 8px}
.work-list{list-style:none;padding:0;margin:0 0 4px;border-top:1px solid var(--line)}
.work-list li{display:grid;grid-template-columns:24px minmax(0,1fr) 54px;align-items:center;gap:8px;padding:4px 2px;border-bottom:1px solid var(--line);font-size:12px;cursor:pointer}
.work-list li:hover{background:var(--face)}
.work-list li img{width:24px;height:34px;object-fit:contain;background:var(--face);display:block}
.work-list .w-main{display:flex;flex-direction:column;gap:1px;min-width:0}.work-list .w-main small{color:var(--weak);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.work-list .w-time{font-variant-numeric:tabular-nums;color:var(--weak);text-align:right;font-size:11px}
.work-list li.pair{grid-template-columns:52px minmax(0,1fr) 54px}.pair-pics{display:flex;align-items:center;gap:2px}.pair-pics i{font-style:normal;color:var(--weak);font-size:10px}
.work-list .diamond{width:2px;height:12px;background:var(--accent);justify-self:center}   /* D1: a thin tick, as on the time bars */
.done-list{list-style:none;padding:0;margin:0;border-top:1px solid var(--line)}
.done-list li{display:grid;grid-template-columns:62px minmax(0,1fr);gap:8px;padding:4px 0;border-bottom:1px solid var(--line);font-size:12px;color:var(--reviewer)}
.done-list .c-time{color:var(--weak)}
.more{margin-top:4px;font-size:12px}
.memo{display:flex;gap:6px}.memo input{flex:1;min-width:0;background:var(--face);border:1px solid var(--line);border-radius:3px;padding:4px 8px;min-height:28px}
.memo input::placeholder{color:var(--weak)}
.check-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.check-head h3{white-space:nowrap}
.head-tools{display:flex;gap:6px;margin:8px 0 4px}.head-tools button{font-size:12px;min-height:26px;padding:2px 8px}.check-head button{font-size:12px;min-height:26px;padding:2px 10px}
.situation{font-size:13px;line-height:1.5;margin:6px 0 1px}.why{font-size:12px;color:var(--sub);line-height:1.5;margin:0 0 4px}.context{font-size:12px;color:var(--weak);line-height:1.5;margin:0 0 4px}
.now-box{font-size:12px;color:var(--sub);margin:4px 0 8px;font-variant-numeric:tabular-nums}.now-box b{font-weight:400;color:var(--weak);margin-right:8px}
.refs{display:flex;gap:10px;margin:4px 0}.refs figure{margin:0;width:46px}
.refs img{width:46px;height:64px;object-fit:contain;background:var(--face);display:block}
.refs figcaption{font-size:11px;color:var(--weak);margin-top:3px;line-height:1.4;white-space:nowrap}
.refs figure.ref5{width:auto;min-width:46px}   /* the first-five-seconds caption is wider than the photo (2026-11-16) */
.pair-photos{display:flex;align-items:center;gap:14px;margin:10px 0 6px}.pair-photos figure{margin:0}
.pair-photos img{width:84px;height:118px;object-fit:contain;background:var(--face);display:block}
.pair-photos figcaption{font-size:11px;color:var(--weak);margin-top:4px;line-height:1.45;font-variant-numeric:tabular-nums}
.pair-photos .gap{font-size:11px;color:var(--weak);text-align:center;line-height:1.5}
.suggest{font-size:13px;margin:2px 0 2px}.advice{font-size:13px;margin:2px 0 2px}.advice span{display:block;font-size:12px;color:var(--sub);margin-top:1px}
.list-status{font-size:11px;color:var(--weak);margin:0 0 6px}
#cands{display:flex;flex-direction:column;border-top:1px solid var(--line)}
.list-item{display:grid;grid-template-columns:18px 34px minmax(0,1fr) auto;gap:9px;align-items:center;text-align:left;padding:3px 4px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;min-height:0}
.list-item img{width:34px;height:48px;object-fit:contain;background:var(--face);display:block}
.list-item:hover:not(:disabled),.list-item.hover{background:var(--face);border-color:var(--line)}
.list-rank{font:600 14px/1 var(--font);font-variant-numeric:tabular-nums;color:var(--sub);text-align:center}
.list-words{display:flex;flex-direction:column;gap:1px;min-width:0}
.list-words strong{font-size:12px;font-weight:600}.list-words small{font-size:11px;color:var(--weak);font-variant-numeric:tabular-nums}
.rec-tag{font-size:11px;color:var(--sub);border:1px solid var(--line);border-radius:3px;padding:0 5px;align-self:start;margin-top:4px}
.list-item.picked,.list-item.picked:hover:not(:disabled){background:var(--sel)}.list-item.picked .list-rank{color:var(--blue)}
#picked-note{font-size:12px;color:var(--sub);min-height:18px;margin:2px 0 6px;line-height:1.5}
.answer-buttons{display:flex;flex-direction:column;gap:6px;margin-top:8px}.answer-buttons button{width:100%;font-size:13px;min-height:32px}
.answer-buttons .row{display:flex;gap:6px}.answer-buttons .row button{flex:1}
.hint{font-size:12px;color:var(--weak);line-height:1.6;margin:6px 0}

/* ---------- focused layout (2026-11-12) ---------- */
.spacer{flex:1}
.queries .log,.queries .people{flex:1;min-height:0;display:flex;flex-direction:column;border-top:1px solid var(--line)}
#log-list{list-style:none;margin:0;padding:0 10px 8px;overflow-y:auto;flex:1;min-height:0}
#log-list li{display:grid;grid-template-columns:88px minmax(0,1fr) auto;gap:8px;align-items:baseline;padding:6px 0;border-bottom:1px solid var(--line);font-size:12px}
#log-list .log-count{font-variant-numeric:tabular-nums;color:var(--sub);white-space:nowrap}
#log-list li.changed .log-count{color:var(--ink);font-weight:600}
#log-list .log-what{color:var(--reviewer);line-height:1.45}
#log-list li.log-start .log-what{color:var(--weak)}
.people-toggle.on{background:var(--sel);border-color:var(--blue);color:var(--ink)}
.detail{display:flex;flex-direction:column}
.detail-tabs{display:flex;gap:0;border-bottom:1px solid var(--line);flex:none}
.detail-tabs button{flex:1;border:0;border-radius:0;background:transparent;color:var(--sub);min-height:34px;font-size:12px;border-bottom:2px solid transparent}
.detail-tabs button.on{color:var(--ink);border-bottom-color:var(--blue);font-weight:600}
.detail-tabs button:hover:not(:disabled){background:var(--face)}
.detail-body{overflow-y:auto;flex:1;min-height:0}
.scene-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0 2px}
.scene-bar #scene-replay{font-size:12px;min-height:26px}
.scene-members{display:inline-flex;gap:4px;flex-wrap:wrap}
.scene-members .member{font-size:12px;min-height:24px;padding:1px 8px}
.scene-members .member.on{border-color:var(--blue);background:var(--sel);color:var(--ink)}
.scene-members .member.done{color:var(--reviewer)}
.member-head{margin-top:10px!important;color:var(--ink)!important;font-size:13px!important}
.box.member{stroke:var(--vid-accent);stroke-width:2;stroke-opacity:.85;stroke-dasharray:5 3}
.tl-queue{fill:var(--line-strong);cursor:pointer}.tl-queue:hover{fill:var(--ink)}
.legend i.lg-queue{width:6px;height:6px;border-radius:50%;background:var(--line-strong);margin-left:10px}

/* ---------- light palette (designs b and c): removed in D1 (2026-11-19); the tokens give both themes ---------- */

/* ---------- design c: the question as a bar above the video, the history under the time bar ---------- */
.design-c .layout{grid-template-columns:minmax(0,1fr) 380px;grid-template-rows:auto minmax(0,1fr)}
.design-c .askbar{grid-column:1/-1;background:var(--panel);border:1px solid var(--line);border-radius:4px}
.design-c .askbar .ask{flex-direction:row;flex-wrap:wrap;align-items:center;gap:6px 18px;border:0;padding:8px 12px}
.design-c .askbar .ask-row{min-height:28px}
.design-c .askbar .ask-key{width:auto;margin-right:2px}
.design-c .askbar .answer{margin:0 0 0 6px;padding-left:16px;border-left:1px solid var(--line)}
.design-c .askbar .answer-sub{flex-basis:auto}
.design-c .askbar .export{margin-left:auto}
.design-c .askbar .export .spacer{display:none}
.design-c .viewer .log,.design-c .viewer .people{flex:none;max-height:170px;display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--line);border-radius:4px}
.design-c .viewer .log .list-head,.design-c .viewer .people .list-head{padding:6px 10px 2px}
.design-c .timeline{height:104px}
.design-c #timeline{height:70px}

/* ---------- after the design review (2026-11-12) ---------- */
.eyebrow-where{font-weight:400;color:var(--weak);margin-left:8px;font-variant-numeric:tabular-nums}
.check-head h3{font-size:15px;line-height:1.45;white-space:normal}
.why{margin:4px 0 6px}.why b{font-weight:600;color:var(--weak);margin-right:8px}
.check-summary{margin:2px 0 0;font-size:12px;color:var(--sub);line-height:1.55}
.answer-buttons{position:sticky;bottom:0;background:var(--panel);padding:8px 0 10px;margin-top:6px;border-top:1px solid var(--line);z-index:1}
#picked-note:empty{display:none}
.list-item{grid-template-columns:18px 44px minmax(0,1fr) auto}
.list-item img{width:44px;height:66px}
.refs figure{width:56px}.refs img{width:56px;height:80px}
.list-words small.read{color:var(--sub)}
.list-words small.effect{color:var(--reviewer);font-weight:600}
.effect-inline{display:block;font-size:11px;color:var(--reviewer)}
.log-tag{display:inline-block;font-size:10px;color:var(--weak);border:1px solid var(--line);border-radius:2px;padding:0 4px;margin-right:6px;vertical-align:1px}
.check-head>button{white-space:nowrap;flex:none}

/* ---------- analysis tab (2026-11-12) ---------- */
.kpis{display:flex;flex-direction:column;border-top:1px solid var(--line)}
.kpi{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}
.kpi-k{font-size:12px;color:var(--sub);align-self:center}.kpi-v{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums;text-align:right}
.kpi-n{grid-column:1/-1;font-size:11px;color:var(--weak);text-align:right;font-variant-numeric:tabular-nums}
button.wide{width:100%;min-height:32px;margin-top:4px}
.wide-link{display:block;text-align:center;min-height:32px;line-height:30px;margin-top:4px;border:1px solid var(--line);border-radius:3px;background:var(--face);color:inherit;text-decoration:none}
.wide-link:hover{border-color:var(--sub)}
.row-buttons{display:flex;gap:6px}.row-buttons button{flex:1;font-size:12px}
.flow{fill:none;stroke:var(--vid-accent);stroke-width:1.6;stroke-opacity:.55;vector-effect:non-scaling-stroke;stroke-linejoin:round;pointer-events:none}
.tl-series{fill:none;stroke:var(--accent);stroke-width:1.6;vector-effect:non-scaling-stroke}
.tl-series.before{stroke:var(--weak);stroke-dasharray:3 3}
.legend i.lg-series{height:2px;background:var(--accent)}.legend i.lg-before{height:0;border-top:1.5px dashed var(--weak);background:none}
.tl-area{fill:var(--tb-base);stroke:none}
body{word-break:keep-all;overflow-wrap:break-word}

/* ---------- 2026-11-13: panel and controls after the product page (DJI Enterprise specification cards) ----------
   The user found the bright blue button, the 16px bold numbers with 11px notes and the tight rows out of place. Numbers sit
   in grey cards: 13px label, 30px regular-weight number with a small unit, one 12.5px note (DJI: 16px label text, 40px 500
   numbers with 20px units). Buttons, tab underlines and toggles are neutral ink, as on the product page; light blue stays
   only for paths, boxes and the series chart. Wanted Sans (SIL OFL 1.1) as on the product page. */
:root{font-family:var(--font);font-synthesis:none;--ui-on:var(--text);--ui-on-ink:var(--bg)}   /* D1: the typeface comes from static/tm/base.css */
.primary{background:var(--ui-on);border-color:var(--ui-on);color:var(--ui-on-ink);font-weight:600;border-radius:8px}
.primary:hover:not(:disabled){background:var(--ui-on);border-color:var(--ui-on);opacity:.86}
.detail-tabs button{font-size:13px;min-height:40px}
.detail-tabs button.on{border-bottom-color:var(--accent);font-weight:600}
.seg button.on,#zoom.on,.people-toggle.on,.scene-members .member.on{border-color:var(--ui-on);background:var(--sel);color:var(--ink)}
.list-item.picked .list-rank{color:var(--ink)}
button:focus-visible,input:focus-visible,select:focus-visible,li:focus-visible{outline-color:var(--ui-on)}
#detail-analysis{padding:16px 16px 20px}
#detail-analysis h4{font-size:13px;font-weight:600;color:var(--ink);margin:22px 0 10px}
#detail-analysis h4:first-child{margin-top:4px}
.kpis{display:grid;grid-template-columns:1fr 1fr;gap:8px;border-top:0}
.kpi{display:flex;flex-direction:column;background:var(--face);border:0;border-radius:8px;padding:14px 14px 13px;min-width:0}
.kpi.main,.kpi.text{grid-column:1/-1}
.kpi-k{font-size:13px;font-weight:500;color:var(--sub);align-self:auto}
.kpi-v{display:flex;align-items:baseline;gap:3px;margin-top:8px;text-align:left;font-weight:400}
.kpi-v b{font-size:30px;line-height:1.05;font-weight:500;letter-spacing:-.01em;font-variant-numeric:tabular-nums;color:var(--ink)}
.kpi-v small{font-size:15px;font-weight:500;color:var(--ink)}
.kpi.main .kpi-v b{font-size:36px}
.kpi.text .kpi-v b{font-size:16px;line-height:1.5;font-weight:500}
.kpi-n{margin-top:7px;font-size:12.5px;color:var(--weak);text-align:left;font-variant-numeric:tabular-nums}
#detail-analysis .sub{font-size:13px;line-height:1.65;margin-bottom:12px}
button.wide{min-height:40px;margin-top:2px;font-size:14px}
.row-buttons{gap:8px}.row-buttons button{min-height:36px;font-size:13px;border-radius:6px}
.kpis:has(.kpi.text) .kpi{grid-column:1/-1}          /* line questions: every card full width (direction text is long) */

/* ---------- 2026-11-13 night: result block after DJI FlightHub 2 (the software's Details panel), more room on the left ----------
   The large specification-card numbers came from DJI's product page, not from its software, and read as out of place in a
   tool. FlightHub 2 shows values in a grey block: value about 15px semibold, grey name under it, three to a row. */
.kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 12px;background:var(--face);border-radius:6px;padding:14px 14px 13px}
.kpis:has(.kpi.text) .kpi{grid-column:auto}
.kpi{background:none;border-radius:0;padding:0;display:flex;flex-direction:column;gap:3px}
.kpi.main{grid-column:auto}.kpi.text{grid-column:1/-1;padding-top:12px;border-top:1px solid var(--line)}
.kpi-v{order:1;margin:0;display:block}.kpi-k{order:2;font-size:12px;font-weight:400;color:var(--sub)}.kpi-n{order:3;margin:0;font-size:11.5px;color:var(--weak)}
.kpi-v b,.kpi.main .kpi-v b{font-size:15px;line-height:1.35;font-weight:600;letter-spacing:0}
.kpi-v small{font-size:15px;font-weight:600;margin-left:1px}
.kpi.text .kpi-v b{font-size:14px;font-weight:600}
#detail-analysis h4{font-size:12.5px;margin:20px 0 8px}
/* left column: question, result and history with room between rows */
.ask{padding:14px 14px 14px;gap:10px}
.ask-row{min-height:30px;gap:8px}
.ask-key{width:58px;font-size:12.5px;color:var(--sub)}
.ask .seg button{padding:4px 10px;min-height:30px}
.num-in,.time-in{min-height:30px}
.answer{margin-top:6px;padding-top:12px;border-top:1px solid var(--line);gap:10px}
.answer-line{font-size:15px;font-weight:600}
.answer-before{font-size:12.5px}
.answer-sub,.check-summary{margin:2px 0 0;font-size:12.5px;line-height:1.65;color:var(--sub)}
.ask-row.export{margin-top:6px;gap:8px}
.export button{min-height:30px;padding:3px 12px;font-size:12.5px;border-radius:6px}
.list-head{padding:14px 14px 8px}
#log-list{padding:0 14px 12px}
#log-list li{padding:10px 0;font-size:12.5px;gap:10px}

.ask-row.export{flex-wrap:wrap;row-gap:8px}
.ask-row.export #people-toggle{flex-basis:100%;justify-content:flex-start;text-align:left}
.ask-row.export .spacer{display:none}
.export button{white-space:nowrap;flex:1}
.ask-row.export #people-toggle{padding-left:0;min-height:24px}

/* ---------- 2026-11-13 night, chosen by the user: Linear's property list, with the grey note under the name as in iOS settings ----------
   One row per figure: name and its grey note on the left, the value on the right, thin dividers, no boxes or large numbers. */
.kpis{display:block;background:none;border-radius:0;padding:0;border-top:1px solid var(--line)}
.kpi{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:12px;align-items:center;padding:11px 2px;border-bottom:1px solid var(--line);gap:0 12px}
.kpi.main,.kpi.text{grid-column:auto;padding-top:11px;border-top:0}
.kpi-k{grid-column:1;grid-row:1;order:0;font-size:13px;font-weight:400;color:var(--ink)}
.kpi-n{grid-column:1;grid-row:2;order:0;margin:2px 0 0;font-size:12px;color:var(--weak);text-align:left}
.kpi-v{grid-column:2;grid-row:1/3;order:0;align-self:center;text-align:right;margin:0}
.kpi-v b,.kpi.main .kpi-v b,.kpi-v small{font-size:14px;line-height:1.4;font-weight:500;letter-spacing:0;color:var(--ink)}
.kpi-v small{margin-left:1px}
.kpi.text{grid-template-columns:1fr}.kpi.text .kpi-v{grid-column:1;grid-row:2;text-align:left;margin-top:3px}.kpi.text .kpi-v b{font-size:13px}

/* 2026-11-14: clock times (HH:MM:SS.s) for an uploaded recording with a start time */
.clock .time-in{width:70px;padding:2px 4px}.clock .ask-row{gap:5px}.clock .ask-key{width:44px}

/* 2026-11-14: the line under the answer, the decision history when empty, the review ledger */
.cs-note{color:var(--weak)}.cs-scope{color:var(--weak);font-size:12px}
.h-note{margin-left:8px;font-size:11.5px;font-weight:400;color:var(--weak)}
.log-prev{margin:0 14px 6px;font-size:12px;color:var(--weak)}
#log-list li.log-empty{display:block;color:var(--weak);font-size:12.5px;padding:8px 2px}
.ledger{margin:6px 14px 14px;font-size:12.5px;color:var(--sub)}
.ledger summary{cursor:pointer;color:var(--sub);padding:6px 0;list-style-position:inside}
.ledger-who{display:flex;gap:6px;align-items:center;margin:6px 0 8px}.ledger-who label{font-size:12px;color:var(--weak)}
.ledger-who input{flex:1;min-width:0;font:inherit;font-size:12.5px;border:1px solid var(--line);border-radius:4px;padding:3px 7px;background:var(--face);color:var(--ink)}
#ledger-list{list-style:none;margin:0;padding:0;max-height:220px;overflow:auto}
#ledger-list li{display:grid;grid-template-columns:76px minmax(0,1fr);gap:6px;padding:5px 0;border-top:1px solid var(--line);line-height:1.45}
#ledger-list .lt{font-family:var(--font);font-variant-numeric:tabular-nums;color:var(--weak);font-size:11.5px}
#ledger-list li.log-empty{display:block;color:var(--weak)}

/* 2026-11-14 reframe: the list tab says what its items are for the asked question. */
.work-title{margin:0 0 12px;font-size:14px;font-weight:600;color:var(--ink)}
/* 2026-11-14: the divider row of the check list spans the row (it was squeezed into the 24 px picture column). */
.work-list li.divider{display:block;cursor:default;padding:8px 2px 4px;font-size:11px;color:var(--weak);white-space:normal}.work-list li.divider:hover{background:none}

/* ---------- 2026-11-15: the automatic first pass ----------
   Its answers are not the reviewer's: plain ink, not the reviewer's blue; a small ring on the time bar. */
#log-list li.auto .log-what{color:var(--ink)}
#log-list li.auto .log-what small{display:block;margin-top:2px;font-size:11.5px;color:var(--sub)}
#log-list li.auto button.quiet{align-self:center}
#log-list li.auto-item{padding:6px 0;font-size:12px}
#log-list li.auto-item .log-what{color:var(--sub)}
.tl-done.auto{stroke-width:1.2}
.legend i.lg-auto{width:5px;height:5px;border-radius:50%;border:1.2px solid var(--done);background:none;margin-left:10px}
.check-list li.trace .c-what{color:var(--ink)}
.auto-note{font-size:12.5px;line-height:1.65;color:var(--sub);margin:10px 0 10px}

/* ---------- 2026-11-16: the review range (how many scenes the tracking check suggests) ----------
   One row in the analysis tab's review block: the name on the left, four neutral steps on the right, the count under them. */
.amount{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 6px}
.amount-k{font-size:13px;color:var(--ink)}
.amount .seg button{padding:4px 11px;min-height:30px;font-size:12.5px}
.amount-note{margin:0 0 12px;font-size:12px;color:var(--weak);font-variant-numeric:tabular-nums}

/* ---------- 2026-11-16: the record's parameters in the header (detector weights, tracker), next to the video ---------- */
.params{display:inline-flex;align-items:center;gap:14px;margin-left:-4px}
.param{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--weak);white-space:nowrap}
.param select:disabled{opacity:1;color:var(--sub);cursor:default}

/* ---------- 2026-11-19 app fix: words kept on one line, the recorded track ID next to the shown one, the photo check's disagreement ---------- */
.nw{white-space:nowrap}
.list-words small.orig{display:inline;margin-left:6px;font-size:11px;font-weight:400;color:var(--weak)}
.read-note{font-size:12px;color:var(--sub);margin:2px 0 4px}
.legend i.lg-overlap{height:4px;background:var(--overlap)}.legend i.lg-crowd{height:4px;background:var(--crowd)}.legend i.lg-stop{height:4px;background:var(--stop)}
