/* Report (D3, 2026-11-19 night; D2 the same evening), on top of upload.css. The time strip with its key above it: the recording as a
   --tb-base band, flagged items as the review screen's 2x12 --accent ticks (one per item, no heights), TraceMend's corrections as
   hollow --accent rings, the reviewer's as 2x8 --muted bars, the chosen band outlined in --text. The TraceMend output list: one row
   per correction, photos of 64x128 (96x192 when opened) in time order with an arrow between them, the actions right after the
   photos. Unique visitors: the key above the chart, one --tb-target bar per band, the tracker output as a 2px --muted tick.
   The summary: a property list (name left, value right). Light and dark from the tokens. */
.page-head{margin-bottom:24px}

/* the whole recording as one strip */
.strip svg{display:block;width:100%;height:40px}
.strip .base{fill:var(--tb-base)}
.strip .chk{fill:var(--accent)}                /* the review screen's flagged-item tick (.tick-mark) */
.strip .fix{fill:none;stroke:var(--accent);stroke-width:1.6}   /* the review screen's post-processing ring (.tl-auto-mark) */
.strip .rev{fill:var(--muted)}                 /* the review screen's reviewer mark (.tl-done-mark) */
.strip .fix-hit{fill:transparent;cursor:pointer}
.strip .band-hit{fill:transparent;cursor:pointer}
.strip .band-hit:hover{fill:var(--text);fill-opacity:.05}
.strip .on{fill:none;stroke:var(--text);stroke-width:1.5}
.strip .axis{fill:var(--muted);font-size:12px;font-family:inherit;font-variant-numeric:tabular-nums}
.strip .key{margin:0 0 6px}
.key i.k-chk{width:2px;height:12px;border-radius:0;background:var(--accent);vertical-align:-2px}
.key i.k-fix{width:9px;height:9px;border-radius:50%;border:1.6px solid var(--accent);background:none;vertical-align:0}
.key i.k-rev{width:2px;height:8px;border-radius:0;background:var(--muted);vertical-align:0}
.key .sel{margin-left:auto;color:var(--text)}
.key .sel .link-btn{font-size:var(--fs-aux);margin-left:8px}

.rep-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:48px;align-items:start}
.rep-side{position:sticky;top:24px;margin-top:32px}
.rep-side h2{font-size:var(--fs-panel);margin-bottom:8px}

/* the TraceMend output list */
.outs{width:100%;border-collapse:collapse;font-size:var(--fs-body);font-variant-numeric:tabular-nums}
.outs th{text-align:left;font-weight:500;font-size:var(--fs-aux);color:var(--muted);border-bottom:1px solid var(--muted);padding:0 16px 8px 0;white-space:nowrap}
.outs td{border-bottom:1px solid var(--line);padding:12px 16px 12px 0;vertical-align:middle}
.outs tr.flash td{background:var(--face)}
.outs .c-t{width:88px;white-space:nowrap;color:var(--muted)}
.outs .c-id{width:120px;white-space:nowrap;font-weight:600}
.outs .c-k{width:130px}
.outs .c-ph{width:1%;white-space:nowrap}
.outs td.c-k small{display:block;color:var(--muted);font-size:var(--fs-aux)}
.outs .c-a{text-align:left;white-space:nowrap}
.outs td.c-a .link-btn,.outs td.c-a a{margin-right:16px}
.outs td.c-a a{color:var(--accent);text-underline-offset:3px}
.outs tr.off .c-id{color:var(--muted);font-weight:500}
.ph{display:flex;align-items:flex-start;gap:16px;cursor:zoom-in}
.ph.big{cursor:zoom-out}
.ph figure{margin:0;display:flex;flex-direction:column;align-items:center;gap:4px}
.ph .two{display:flex;align-items:center;gap:4px}
.ph .gap{align-self:center;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:var(--fs-min);color:var(--muted);white-space:nowrap}
.ph .arr{position:relative;display:block;width:28px;height:0;border-top:1.5px solid var(--muted)}   /* the arrow of time between two photos */
.ph .two .arr{width:12px}
.ph .arr::after{content:"";position:absolute;right:-1px;top:-4.5px;border-left:6px solid var(--muted);border-top:3.5px solid transparent;border-bottom:3.5px solid transparent}
.ph img,.ph .nophoto{width:64px;height:128px;object-fit:cover;border-radius:var(--r-photo);background:var(--face);display:block}
.ph.big img,.ph.big .nophoto{width:96px;height:192px}
.ph .nophoto{display:grid;place-items:center;font-size:var(--fs-min);color:var(--muted)}
.ph figcaption{font-size:var(--fs-min);color:var(--muted);white-space:nowrap}
.more-btn{margin-top:12px}
#swap-run-btn{margin-top:12px}

/* unique visitors per band */
.unit{margin-left:auto;display:inline-flex;align-items:center;gap:8px;font-size:var(--fs-aux);color:var(--muted)}
.unit select{height:var(--btn-h-sm);padding:0 8px;font-size:var(--fs-aux)}
.sec-head .dl{font-size:var(--fs-aux)}
#chart{display:block;width:100%;height:240px}
#chart .grid{stroke:var(--line);stroke-width:1}
#chart .axis{fill:var(--muted);font-size:12px;font-family:inherit;font-variant-numeric:tabular-nums}
#chart .bar{fill:var(--tb-target)}
#chart .tk{stroke:var(--muted);stroke-width:2}
#chart .chg{fill:var(--text);font-size:12px;font-family:inherit;font-weight:600;font-variant-numeric:tabular-nums}
#chart .hit{fill:transparent;cursor:pointer}
#chart .hit:hover{fill:var(--text);fill-opacity:.05}
#chart .hit.on{fill:var(--text);fill-opacity:.08}
.chart-key{margin:0 0 6px}
.key i.k-bar{background:var(--tb-target)}
.key i.k-tick{height:2px;border-radius:0;background:var(--muted);vertical-align:3px}

.bands tbody tr{cursor:pointer}
.bands tbody tr:hover td,.bands tbody tr.on td{background:var(--face)}
.bands .go{text-align:right;white-space:nowrap}
.bands td.go a{margin-left:12px;color:var(--accent);text-underline-offset:3px}
.bands td a.t{color:inherit;text-decoration:none}
.bands td a.t:hover{text-decoration:underline}
.bands{min-width:720px}
.foot{margin:12px 0 0;color:var(--muted);font-size:var(--fs-aux)}

/* the summary: a property list */
.props{margin:0;border-top:1px solid var(--line)}
.props>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.props dt{color:var(--muted);font-size:var(--fs-body)}
.props dd{margin:0;text-align:right;font-variant-numeric:tabular-nums;font-weight:500}
.dl-wrap{display:inline-flex;align-items:center;gap:2px}
summary .tip{vertical-align:-4px}

@media (max-width:1099px){
  .rep-grid{grid-template-columns:minmax(0,1fr);gap:0}
  .rep-side{position:static}
}
@media (max-width:719px){
  .outs thead{display:none}
  .outs tr{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;padding:12px 0;border-bottom:1px solid var(--line)}
  .outs td{border:0;padding:0}
  .outs .c-t{width:auto}.outs .c-id,.outs .c-k{width:auto}
  .outs td.c-ph{grid-column:1 / -1;padding-top:8px}
  .outs td.c-a{grid-column:1 / -1;text-align:left;padding-top:4px}
  .outs td.c-a .link-btn,.outs td.c-a a{margin:0 16px 0 0}
  .outs .c-ph{width:auto}
  .outs td.c-k{grid-column:1 / -1}
  .key .sel{margin-left:0}
  .unit{margin-left:0}
}
