/* The sensor session page. A port of scripts/vbt_proto/web/index.html's styles,
   scoped to #vbt-page so nothing here can reach the rest of the dashboard.
   LIGHT ONLY: no prefers-color-scheme block, no dark tokens — the page is read
   in a gym and under a desk lamp, and its blue/grey/amber timeline key is the
   whole message. */
#vbt-page{
  color-scheme:light;
  --bg:#f5f5f3;--surface:#fff;--surface-2:#ececea;--line:#d8d8d4;--grid:#e6e6e2;
  --ink:#2b2b28;--muted:#6b6b66;--faint:#9a9a94;--accent:#2563a8;--amber:#c47a1e;
  --good:#2f8f4e;--bad:#b5462f;--note:#fbf6ee;
  background:var(--bg);color:var(--ink);
  font-family:'IBM Plex Mono','Courier New',monospace;font-size:14px;line-height:1.4;
  font-variant-numeric:tabular-nums;
  display:flex;flex-direction:column;gap:12px;max-width:900px;margin:0 auto;
  padding:14px 18px;
}
#vbt-page.hidden{display:none}
#vbt-page *{box-sizing:border-box}
#vbt-page svg{display:block}
#vbt-page .card{background:var(--surface);border:1px solid var(--line);padding:12px 14px}
#vbt-page .card h3{margin:0 0 8px;font-size:11px;text-transform:uppercase;
  letter-spacing:.08em;color:var(--muted);font-weight:600}
#vbt-page .big{font-size:30px;font-weight:700;line-height:1.1}
#vbt-page .row{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}
#vbt-page .mut{color:var(--muted)}
#vbt-page .chip{display:inline-block;border:1px solid var(--line);border-radius:10px;
  padding:1px 8px;font-size:11px;color:var(--muted)}
#vbt-page .chip.amber{border-color:var(--amber);color:var(--amber)}
#vbt-page .chip.good{border-color:var(--good);color:var(--good)}
#vbt-page .chip.bad{border-color:var(--bad);color:var(--bad)}
#vbt-page .err{background:var(--bad);color:#fff;padding:8px 12px;font-size:12px}
#vbt-page .nav{display:flex;justify-content:space-between;align-items:center;gap:10px}
#vbt-page .nav button,#vbt-page .nrb{min-height:38px;padding:0 14px;font:inherit;
  font-size:12px;background:var(--surface);color:var(--ink);border:1px solid var(--line);
  border-radius:3px;cursor:pointer}
#vbt-page .nav button:disabled{opacity:.4;cursor:default}
#vbt-page .item{display:flex;justify-content:space-between;align-items:center;gap:10px;
  padding:10px 12px;border:1px solid var(--line);background:var(--surface);
  margin-bottom:8px;cursor:pointer;min-height:38px}
#vbt-page .item b{font-weight:600}
/* The timeline's action row: every one of these is a finger target. */
#vbt-page .tlacts{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center;
  font-size:12px;margin-top:6px}
#vbt-page .tlacts a{color:var(--accent);text-decoration:none;cursor:pointer;
  min-height:38px;display:inline-flex;align-items:center}
#vbt-page .tlacts a.d{color:var(--bad)}
#vbt-page .tlacts span{min-height:38px;display:inline-flex;align-items:center}
#vbt-page .tlrow{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:6px}
#vbt-page .tlrow input,#vbt-page .tlrow select{font:inherit;font-size:12px;min-height:38px;
  flex:1;min-width:180px;background:var(--surface);color:var(--ink);
  border:1px solid var(--line);border-radius:3px;padding:0 8px}
#vbt-page .tlrow button{min-height:38px;padding:0 12px;font-size:12px;font:inherit;
  background:var(--surface);color:var(--ink);border:1px solid var(--line);
  border-radius:3px;cursor:pointer}
/* Confirmation is an inline row. There is no confirm() on any lift surface. */
#vbt-page .confirm{display:flex;gap:12px;align-items:center;font-size:12px}
#vbt-page .confirm a{cursor:pointer;color:var(--accent);display:inline-flex;
  align-items:center;min-height:38px;padding:0 8px}
#vbt-page .confirm a.d{color:var(--bad)}
/* The timeline's key. Two rows of coloured blocks mean nothing without it. */
#vbt-page .tlkey{display:flex;flex-wrap:wrap;gap:4px 16px;font-size:11px;
  color:var(--muted);margin-bottom:8px}
#vbt-page .tlkey i{display:inline-block;width:12px;height:10px;margin-right:5px;
  vertical-align:-1px;border-radius:1px}
#vbt-page .tlkey i.s{background:var(--accent)}
#vbt-page .tlkey i.g{background:var(--accent);opacity:.55}
#vbt-page .tlkey i.u{background:var(--surface);border:1px solid var(--faint)}
#vbt-page .tlkey i.a{background:var(--amber)}
#vbt-page .tlkey i.x{background:var(--bad);opacity:.35}
#vbt-page .tlkey i.t{height:2px;background:var(--faint);vertical-align:3px}
#vbt-page .tlsum{font-size:12px;margin-top:8px}
#vbt-page .tlsum.none{color:var(--muted)}
#vbt-page .tfoot{font-size:11px;color:var(--muted);margin-top:8px}
/* The control that reveals the detections no Garmin set matched. A real
   button on the table's own foot, not a display toggle in a corner: what it
   opens is a manual matching job. */
#vbt-page .moreline{margin-top:10px}
/* The sets table. The horizontal scroll belongs to the table's own box, never to
   the page, or a phone would drag the whole screen sideways. */
#vbt-page .tw{overflow-x:auto;-webkit-overflow-scrolling:touch}
#vbt-page table.sets{border-collapse:collapse;width:100%;min-width:660px;font-size:12px}
#vbt-page table.sets th{text-align:left;font-size:10px;font-weight:600;
  text-transform:uppercase;letter-spacing:.06em;color:var(--muted);white-space:nowrap;
  padding:0 14px 6px 0;border-bottom:1px solid var(--ink)}
#vbt-page table.sets td{padding:11px 14px 11px 0;border-bottom:1px solid var(--line);
  white-space:nowrap;vertical-align:top}
#vbt-page table.sets th:last-child,#vbt-page table.sets td:last-child{padding-right:0;width:100%}
#vbt-page table.sets tr.tap:hover td{background:var(--surface-2)}
#vbt-page table.sets tr.un td{color:var(--muted)}
#vbt-page table.sets td b{font-weight:600}
#vbt-page table.sets td small{display:block;font-size:10px;color:var(--faint);margin-top:2px}
#vbt-page table.sets .num{text-align:right}
#vbt-page .st-ok{color:var(--good)}
#vbt-page .st-warn{color:var(--amber)}
#vbt-page .st-no{color:var(--muted)}
#vbt-page .qm{color:var(--amber);font-weight:700;cursor:help}
#vbt-page .grade{display:flex;gap:18px}
#vbt-page .grade div{flex:1}
#vbt-page .grade b{display:block;font-size:22px;font-weight:700}
#vbt-page .grade span{font-size:10px;text-transform:uppercase;letter-spacing:.06em;
  color:var(--muted)}
#vbt-page .reps{display:flex;flex-wrap:wrap;gap:6px}
#vbt-page .reps button{min-height:38px;min-width:38px;font:inherit;font-size:12px;
  background:var(--surface);color:var(--ink);border:1px solid var(--line);
  border-radius:3px;cursor:pointer}
#vbt-page .reps button.on{background:var(--ink);color:var(--surface);border-color:var(--ink)}
#vbt-page .reps button.ex{color:var(--faint);text-decoration:line-through}
#vbt-page .reps button.ad{border-color:var(--amber)}
#vbt-page .reps button.p{border-style:dashed}
/* Each rep in time order · height and speed (rep-dynamics mockup v5, approved
   2026-11-30): one row per rep, a height lane over a speed lane on the set's
   shared time axis, the mean lowering speed and the mean lifting speed (MCV)
   either side. Every row opens that rep's detail. Below a 500 px column the
   sides move into the row header (.narrow) and the chart takes the width. */
#vbt-page .rdc .sub{font-size:11px;color:var(--muted);margin:-4px 0 8px;max-width:72ch}
#vbt-page #repDyn{min-width:0;overflow:hidden}
#vbt-page .split>div{min-width:0}
#vbt-page .lg2{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:10.5px;color:var(--muted);margin-top:6px}
#vbt-page .lg2 i{display:inline-block;width:12px;height:9px;margin-right:4px;vertical-align:-1px}
#vbt-page .lg2 i.ln{height:2px;vertical-align:3px}
#vbt-page .lg2 i.dot{width:8px;height:8px;border-radius:50%;vertical-align:0}
#vbt-page .rrow{border-top:1px solid var(--grid);padding:6px 0 4px;cursor:pointer}
#vbt-page .rrow:first-of-type{border-top:0}
#vbt-page .rh{display:flex;justify-content:space-between;gap:4px 12px;flex-wrap:wrap;font-size:11px;
  color:var(--muted);padding:0 2px}
#vbt-page .rh .n{font-weight:700;color:var(--ink)}
#vbt-page .rh b{color:var(--ink);font-weight:600}
#vbt-page .rh .stk{color:var(--bad)}
#vbt-page .rbody{display:flex;align-items:center;gap:6px}
#vbt-page .rbody svg{flex:0 0 auto}
#vbt-page .rsv{flex:0 0 auto;min-width:0}
#vbt-page .rsv svg text{font-family:'IBM Plex Mono','Courier New',monospace}
#vbt-page .vside{flex:0 0 64px;display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center}
#vbt-page .vside b{font-size:20px;font-weight:700;color:var(--ink);line-height:1.1}
#vbt-page .vside span{font-size:10px;color:var(--muted);letter-spacing:.04em;line-height:1.25}
#vbt-page .vside.best b{color:var(--good)}
#vbt-page .vside.last b{color:var(--amber)}
#vbt-page .narrow .vside{display:none}
/* A dismissed rep stays in its place, dimmed, its number struck through, and
   "restore" where its numbers were (the phase strip's rule, kept). The link
   keeps the page's 38 px finger floor. */
#vbt-page .rrow.ex .rbody{opacity:.35}
#vbt-page .rrow.ex .rh .n{text-decoration:line-through;color:var(--faint)}
#vbt-page .rh a.rst{display:inline-flex;align-items:center;min-height:38px;color:var(--accent);
  text-decoration:none;cursor:pointer}
#vbt-page .ad{font-style:normal;color:var(--amber);font-weight:700;margin-left:2px}
/* The rep detail's metric grid. */
#vbt-page .mg{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
#vbt-page .mg div{border:1px solid var(--line);padding:6px 8px}
/* The value never wraps: "0.47 s" broken across two lines reads as two facts. */
#vbt-page .mg b{display:block;font-size:17px;font-weight:700;white-space:nowrap}
#vbt-page .mg span{font-size:10px;text-transform:uppercase;letter-spacing:.06em;
  color:var(--muted)}
#vbt-page .mg .hi{border-color:var(--amber)}
#vbt-page .mg .hi b{color:var(--amber)}
/* The raw view's rep bands, and the hand-added windows under it. */
#vbt-page .raw .sel{fill:var(--accent);opacity:.18}
#vbt-page .raw .man{fill:var(--amber);opacity:.22}
#vbt-page .raw .add{fill:var(--amber);opacity:.3}
#vbt-page .wins{display:flex;flex-wrap:wrap;gap:6px}
#vbt-page .wins .w{border:1px solid var(--amber);color:var(--amber);border-radius:10px;
  padding:2px 10px;font-size:12px;cursor:pointer;min-height:38px;display:inline-flex;
  align-items:center}
#vbt-page .wins .no{border-color:var(--bad);color:var(--bad);cursor:default}
#vbt-page .links{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:12px;margin-top:6px}
#vbt-page .links a{color:var(--accent);text-decoration:none;cursor:pointer;
  min-height:38px;display:inline-flex;align-items:center}
#vbt-page .links a.d{color:var(--bad)}
#vbt-page textarea{width:100%;font:inherit;font-size:12px;background:var(--surface);
  color:var(--ink);border:1px solid var(--line);padding:6px}
#vbt-page .split{display:grid;grid-template-columns:2fr 1fr;gap:12px}
/* The pairing card. One sentence about what this recording is, then the four
   things that can be done to it as REAL buttons (the dashboard's own dark
   .detail-actions style) on one line at desktop — the destructive one pushed to
   the far right so it is never the button beside the one you meant. They wrap
   only where one line cannot hold them: at 620 px the four English labels are
   78 px wider than the card, and a nowrap row there pushed the whole PAGE
   sideways — the one thing this stylesheet keeps off a phone. Above 700 px they
   are on one line either way, so wrapping costs the desktop nothing. */
#vbt-page .pair-status{font-size:13px;margin:0 0 10px}
#vbt-page .pair-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0;align-items:center}
#vbt-page .pair-actions button{min-height:38px;margin:0;padding:5px 12px;
  white-space:nowrap;flex:0 1 auto}
#vbt-page .pair-actions .delete-btn{margin-left:auto}
/* The big bar-path grid in the wide column (approved 2026-09-18). Cards wrap on
   their own, so 5 reps and 12 reps both fill the row without a per-set layout
   rule. Each card is a finger target and carries its own rep number, wobble bar
   and drift, so nothing about a rep has to be read off the card beside it. */
#vbt-page .pgrid{display:grid;gap:8px;
  grid-template-columns:repeat(auto-fill,minmax(108px,1fr))}
#vbt-page .pc{background:var(--surface-2);border:1px solid var(--line);border-radius:3px;
  padding:6px 7px 7px;cursor:pointer;min-height:38px}
/* The picture has a FIXED height and fits itself into it (the viewBox is
   isometric — 1 cm sideways is 1 cm up — so a tall thin path letterboxes rather
   than stretches; without it a card's height follows its width). */
#vbt-page .pc svg{width:100%;height:148px}
#vbt-page .pc.on{border-color:var(--amber)}
#vbt-page .pc.ex{opacity:.4}
#vbt-page .pc.ex .pcn{text-decoration:line-through}
#vbt-page .pcn{font-size:11px;font-weight:600;color:var(--muted);line-height:1}
#vbt-page .pc.on .pcn{color:var(--amber)}
#vbt-page .pcw{height:4px;margin-top:6px;background:var(--surface);border-radius:2px;
  overflow:hidden}
#vbt-page .pcw i{display:block;height:100%}
#vbt-page .pcd{display:flex;justify-content:space-between;align-items:baseline;gap:6px;
  margin-top:4px;font-size:10px;color:var(--muted)}
#vbt-page .pcd b{font-size:12px;font-weight:600;color:var(--ink);white-space:nowrap}
/* ---------- the workout side panel (paired to a confirmed workout) ----------
   The Stats tab's rail (.statsv2 .rail / .ritem): 256 px, the same row geometry,
   on this page's tokens. At >=1080 px (the Stats breakpoint) it hangs to the
   LEFT of the page's column exactly as Stats' does, so the content keeps its
   width; below that it is a drawer behind the top bar's menu button. */
#vbt-page.has-rail{max-width:none;padding:0}
#vbt-page .vapp{display:flex;align-items:flex-start;min-height:60vh}
#vbt-page .vmain{flex:1;min-width:0;display:flex;flex-direction:column;gap:12px;
  padding:14px 18px}
/* reset the app's global tab-bar <nav> (flex row, border, margin, scroll) — the
   Stats rail does the same */
#vbt-page nav.vrail{display:block;gap:0;margin:0;border:none;border-right:1px solid var(--line);overflow-x:visible}
#vbt-page .vrail{width:256px;flex:none;border-right:1px solid var(--line);
  background:var(--surface);padding:16px 12px 28px;position:sticky;top:0;
  max-height:100vh;overflow-y:auto;box-sizing:border-box}
#vbt-page .railsum{font-size:11px;color:var(--muted);padding:0 4px 10px;
  border-bottom:1px solid var(--line);margin-bottom:10px;line-height:1.5}
#vbt-page .railsum b{color:var(--ink);font-size:12px}
#vbt-page .rgroup{margin-bottom:14px}
#vbt-page .rglabel{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;
  color:var(--muted);font-weight:700;padding:0 4px 5px;display:flex;
  justify-content:space-between;gap:8px}
#vbt-page .rglabel span:last-child{color:var(--faint);font-weight:600;letter-spacing:.04em;
  white-space:nowrap}
#vbt-page .ritem{display:grid;grid-template-columns:22px 1fr auto;align-items:baseline;
  gap:8px;width:100%;text-align:left;background:none;border:none;border-radius:3px;
  padding:5px 7px;cursor:pointer;font:inherit;font-size:13px;line-height:1.3;
  color:var(--ink);min-height:30px}
#vbt-page .ritem:hover{background:var(--surface-2)}
#vbt-page .ritem:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
#vbt-page .ritem .no{font-size:11px;color:var(--faint);text-align:right}
#vbt-page .ritem .ld{font-weight:600;white-space:nowrap}
#vbt-page .ritem .v{font-size:11px;color:var(--muted);white-space:nowrap}
#vbt-page .ritem .v i{font-style:normal;color:var(--faint)}
#vbt-page .ritem .chk{display:inline-block;width:7px;height:7px;border-radius:50%;
  background:var(--amber);margin-left:6px;vertical-align:middle}
#vbt-page .ritem.active{background:var(--ink);color:var(--bg)}
#vbt-page .ritem.active .no,#vbt-page .ritem.active .v,
#vbt-page .ritem.active .v i{color:#d8d8d4}
#vbt-page .ritem.sess{grid-template-columns:1fr;font-weight:600;margin-bottom:8px;
  border:1px solid var(--line)}
#vbt-page .ritem.sess.active{border-color:var(--ink)}
/* The set's heading: the exercise, then weight × reps. */
#vbt-page .vhead{display:flex;flex-direction:column;gap:2px}
#vbt-page .vhead .ex{font-size:22px;font-weight:700;line-height:1.15;text-wrap:balance}
#vbt-page .vhead .load{font-size:30px;font-weight:700;line-height:1.1}
#vbt-page .vhead .load .x{color:var(--muted);font-weight:400;font-size:24px}
#vbt-page .vhead .chip{vertical-align:middle}
/* the phone's top bar and the drawer's backdrop: phone-only */
#vbt-page .vmbar,#vbt-page .vback{display:none}
@media (min-width:1080px){
  #vbt-page.has-rail{
    --railout:max(0px, min(256px, calc((100vw - 100%)/2 - 16px)));
    width:calc(100% + var(--railout));margin-left:calc(-1 * var(--railout))}
}
@media (max-width:1079px){
  #vbt-page .vmain{padding:0 0 14px}
  #vbt-page .vmain > :not(.vmbar){margin-left:12px;margin-right:12px}
  #vbt-page .vmbar{display:flex;align-items:center;gap:10px;background:var(--surface);
    border-bottom:1px solid var(--line);padding:8px 12px;position:sticky;top:0;z-index:25}
  #vbt-page .vmbar .burger{background:none;border:1px solid var(--line);border-radius:3px;
    min-width:44px;min-height:40px;font:inherit;font-size:16px;color:var(--ink);cursor:pointer}
  #vbt-page .vmbar .mtitle{font-weight:700;font-size:13px;overflow:hidden;
    text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}
  #vbt-page .vmbar .mstep{display:flex;gap:6px}
  #vbt-page .vmbar .mstep button{min-width:40px;min-height:40px;border:1px solid var(--line);
    background:var(--surface);color:var(--ink);font:inherit;font-size:16px;border-radius:3px;
    cursor:pointer}
  #vbt-page .vmbar .mstep button:disabled{opacity:.4;cursor:default}
  #vbt-page .vrail{position:fixed;left:0;top:0;bottom:0;height:100%;max-height:none;
    width:290px;max-width:85vw;z-index:31;transform:translateX(-105%);
    transition:transform .18s ease;box-shadow:2px 0 12px rgba(0,0,0,.18)}
  #vbt-page.rail-open .vrail{transform:none}
  #vbt-page.rail-open .vback{display:block;position:fixed;inset:0;
    background:rgba(0,0,0,.35);z-index:30}
  #vbt-page .vhead .ex{font-size:19px}
  #vbt-page .vhead .load{font-size:26px}
}
@media (prefers-reduced-motion:reduce){#vbt-page .vrail{transition:none}}
/* Phone width: the two-column set summary stacks, the table keeps its own
   scroll, and the pairing card's red button stops being pushed to the far right
   — alone at the end of a wrapped line it reads as a stray. ONE phone threshold
   in this file; the page's own is 560 (tlY, the table hint), which is about how
   big the timeline has to be drawn, not about where a column stops fitting. */
@media (max-width:759px){
  #vbt-page{padding:10px 12px}
  #vbt-page .split{grid-template-columns:1fr}
  #vbt-page .grade{flex-wrap:wrap;gap:10px}
  #vbt-page .mg{grid-template-columns:repeat(2,1fr)}
  #vbt-page .pgrid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr))}
  #vbt-page .pair-actions .delete-btn{margin-left:0}
}
/* The workout overview — the "Whole session" view of a paired session
   (spec 2026-10-01-vbt-workout-overview-design.md, approved prototype v13). */
#vbt-page .vmain > *{min-width:0;max-width:100%}
#vbt-page #ovw{display:flex;flex-direction:column;gap:12px;min-width:0}
#vbt-page #ovw svg{width:100%;height:auto}
#vbt-page #ovw svg text{font-family:'IBM Plex Mono','Courier New',monospace;fill:var(--muted)}
#vbt-page #ovw svg.ic{display:inline-block;vertical-align:middle;width:auto;height:auto}
#vbt-page #ovw .card{display:flex;flex-direction:column;gap:10px}
#vbt-page #ovw .card h3{margin:0}
#vbt-page #ovw p{margin:0;max-width:78ch}
#vbt-page .small{font-size:12px}
#vbt-page .ohead h1{margin:0;font-size:22px;line-height:1.15}
#vbt-page .ohead .sub{font-size:12px;color:var(--muted);margin-top:2px}
#vbt-page .ovnotes{display:flex;flex-direction:column;gap:6px;font-size:12px}
#vbt-page .ovnotes div{border-left:3px solid var(--amber);background:var(--note);padding:5px 9px}
#vbt-page .ovscroll{overflow-x:auto;max-width:100%}
#vbt-page .ovlegend{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:11px;color:var(--muted);align-items:center}
#vbt-page .ovlegend .gap{margin-left:8px}
#vbt-page .ovlegend .sw{display:inline-block;width:12px;height:11px;vertical-align:-1px;margin-right:3px}
#vbt-page .lchip{display:inline-flex;align-items:center;border:1px solid transparent;padding:1px 4px;cursor:default}
#vbt-page .lchip.on,#vbt-page .lchip:focus-visible{border-color:var(--ink);background:var(--surface-2);outline:none}
#vbt-page #ovw svg.hl g.set{opacity:.12}
#vbt-page #ovw svg.hl g.set.on{opacity:1}
#vbt-page .ovgh{font-size:12px;font-weight:700;margin:4px 0 0;color:var(--ink)}
#vbt-page .ovgh span{font-weight:400;color:var(--muted)}
#vbt-page .ovlanes{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px}
#vbt-page .ovlane{border:1px solid var(--line);padding:6px 8px 4px;min-width:0}
#vbt-page .ovlane .t{font-size:12px;font-weight:600}
#vbt-page .exsw{display:flex;border:1px solid var(--line);width:max-content;max-width:100%;flex-wrap:wrap}
#vbt-page .exsw button{font:inherit;font-size:12px;padding:6px 12px;min-height:34px;border:0;
  background:var(--surface);color:var(--ink);cursor:pointer}
#vbt-page .exsw button+button{border-left:1px solid var(--line)}
#vbt-page .exsw button[aria-pressed="true"]{background:var(--ink);color:var(--surface);font-weight:600}
#vbt-page .exsw button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
#vbt-page details.raw{background:var(--surface);border:1px solid var(--line)}
#vbt-page details.raw summary{cursor:pointer;padding:10px 14px;font-size:11px;text-transform:uppercase;
  letter-spacing:.08em;color:var(--muted);font-weight:600;min-height:40px}
#vbt-page details.raw .rawin{display:flex;flex-direction:column;gap:12px;padding:0 12px 12px}
@media (max-width:1079px){#vbt-page .ohead h1{font-size:19px}}

/* While a session route is open the tabs and every pane are gone, not merely
   behind it — a tab bar over a drag surface is one mis-tap from losing a gesture. */
.vbt-off{display:none!important}

/* Workout compare in the "Set by set" card (spec 2026-10-03-vbt-workout-compare-design.md,
   approved prototype v5). */
#vbt-page .cmpbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
#vbt-page .cmpbtn{font:inherit;font-size:12px;min-height:34px;padding:0 12px;border:1px solid var(--ink);
  background:var(--surface);color:var(--ink);border-radius:3px;cursor:pointer}
#vbt-page .cmpbtn[aria-expanded="true"]{background:var(--ink);color:var(--surface)}
#vbt-page .cmpbtn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
#vbt-page .cmpclear{font:inherit;font-size:11px;background:none;border:0;color:var(--accent);
  cursor:pointer;text-decoration:underline;min-height:34px}
#vbt-page .cmppick{border:1px solid var(--line);background:var(--surface);max-width:560px}
#vbt-page .cmppick .ph{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);
  font-weight:700;padding:8px 10px 4px}
#vbt-page .cmppick label{display:grid;grid-template-columns:22px 130px 1fr auto;gap:10px;align-items:baseline;
  font-size:12.5px;border-top:1px solid var(--grid);padding:8px 10px;cursor:pointer;min-height:38px}
#vbt-page .cmppick label:hover{background:var(--surface-2)}
#vbt-page .cmppick label.samel{background:#e3f1e6}
#vbt-page .cmppick label.samel:hover{background:#d5ead9}
#vbt-page .cmppick label.dis{opacity:.5;cursor:default}
#vbt-page .cmppick input{width:16px;height:16px;margin:0;accent-color:var(--ink)}
#vbt-page .cmppick .pd{font-weight:700;white-space:nowrap}
#vbt-page .cmppick .pm{color:var(--muted);font-size:11px;white-space:nowrap}
#vbt-page .cmppick .same{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:#22693a;
  font-weight:700;margin-left:6px}
#vbt-page .cmppick .dot{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:6px;vertical-align:-1px}
#vbt-page .cmppick .pfoot{font-size:11px;color:var(--muted);padding:6px 10px;border-top:1px solid var(--grid)}
@media (max-width:600px){
  #vbt-page .cmppick label{grid-template-columns:22px 1fr;gap:2px 8px}
  #vbt-page .cmppick label > span:nth-child(n+3){grid-column:2}
}
#vbt-page .vleg{display:flex;flex-wrap:wrap;gap:6px 36px;font-size:11.5px;color:var(--ink)}
#vbt-page .vleg .col{display:flex;flex-direction:column;gap:4px;min-width:0}
#vbt-page .vleg .lh{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:700}
#vbt-page .vleg .li{display:flex;align-items:center;gap:7px}
#vbt-page .vleg .sw{display:inline-block;width:14px;height:12px;flex:none}
#vbt-page table.ct{border-collapse:collapse;font-size:11.5px;width:100%;min-width:640px}
#vbt-page table.ct th,#vbt-page table.ct td{padding:4px 7px;border-bottom:1px solid var(--grid);text-align:right;white-space:nowrap}
#vbt-page table.ct th{color:var(--muted);font-weight:600;font-size:10.5px;text-transform:uppercase;letter-spacing:.06em}
#vbt-page table.ct td.l,#vbt-page table.ct th.l{text-align:left}
#vbt-page table.ct .sep{border-left:1px solid var(--line)}
#vbt-page table.ct .o{color:var(--muted)}
#vbt-page table.ct tr.exh td{font-weight:700;color:var(--ink);text-align:left;padding-top:10px;border-bottom:1px solid var(--line)}
