/* PlayheadX redesign, batch 1 (Fable review 2026-10-24): three journeys in the nav, two kit products, one voice, a calmer Upload and Account.
   Visual rules on the screens this batch touches: three display sizes (46 page title, 28 section / kit title, 20 card title), brass only on the
   primary action and the selection ring, an 8 px grid with a 64 / 40 / 24 / 12 rhythm, 150 ms motion, nothing lifts on hover. Loaded last. */
:root { --t-page:46px; --t-sec:28px; --t-card:20px; --sp-top:64px; --sp-sec:40px; --sp-in:24px; --sp-ctl:12px; }

/* ---- motion: 150 ms for state, no hover lifts */
/* state changes use --fast (150 ms) from style.css; the touched screens add no slower transitions */
.kc, .ktile, .sc-card, .stile, .mc, .ap, .lib-sub a { transition-duration:150ms !important; }
.stile:hover, .stile:focus-visible { transform:none !important; box-shadow:none !important; }

/* ---- page titles: one size, plain nouns */
.lib-head h1, .page-head h1, .up-hero h1, .pk-top h1, .ser-head h1, .swz-hd h1 { font-size:var(--t-page) !important; line-height:1.02; letter-spacing:-.01em; }
.lib-head, body.app .page-head { padding-top:calc(var(--sp-top) - 24px); }
.kicker h2, .stagetl .hd2 h3 { font-size:var(--t-sec); }
.kicker.sm h3 { font-size:var(--t-card); }
.lnk, p a:not(.btn), .kicker .meta a, .lib-head p a { color:var(--cream); text-decoration:underline; text-decoration-color:var(--line-3); text-underline-offset:3px; }
.lnk:hover, p a:not(.btn):hover { text-decoration-color:var(--cream-2); }

/* ---- top bar and the phone tab bar (Library · Campaigns · Director · Upload · You) */
.avatar, #tbyou { position:relative; }
.avatar.dot-on::after, #tbyou.dot-on::after { content:""; position:absolute; top:2px; right:2px; width:8px; height:8px; border-radius:50%; background:var(--amber); box-shadow:0 0 0 2px var(--ink); }
#tbyou.dot-on::after { top:4px; right:16px; }
.tabbar button { background:none; border:0; padding:0; font:inherit; cursor:pointer; }
.wallet .usd { color:var(--cream-3); }
@media (max-width:860px) {
  .tabbar button { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; font-size:11px; color:var(--cream-3); font-weight:600; min-width:56px; min-height:50px; height:auto; }
  .tabbar button.on { color:var(--brass); } .tabbar button .ic { width:20px; height:20px; }
  .tabbar a { min-width:56px; }
  .top .avatar { display:none; }
  .wallet .usd { display:none; }
  .amenu.sheet { left:10px; right:10px; top:auto; bottom:84px; width:auto; padding:8px; border-radius:20px; }
}
.amenu a small { margin-left:auto; color:var(--cream-3); font-size:12px; font-weight:450; }
.cmd-foot { border-top:1px solid var(--line); padding:8px 16px; display:flex; justify-content:flex-end; }
.cmd-foot .lnk { font-size:12.5px; color:var(--cream-3); text-decoration:none; display:inline-flex; gap:8px; align-items:center; background:none; border:0; cursor:pointer; }

/* ---- Library: Scenes · Compilations */
.lib-sub { display:flex; gap:var(--sp-in); margin:var(--sp-ctl) 0 var(--sp-in); border-bottom:1px solid var(--line); }
.lib-sub a { color:var(--cream-3); font-weight:600; font-size:14px; padding:10px 0 12px; border-bottom:2px solid transparent; margin-bottom:-1px; text-decoration:none !important; }
.lib-sub a.on { color:var(--cream); border-bottom-color:var(--brass); }
.lib-sub a:hover { color:var(--cream); }
#sview .cmp { margin-top:0; }

/* ---- kit chooser: two product cards */
.pk-top h1 em { font-style:italic; }
.pk-top p { color:var(--cream-2); margin:8px 0 0; }
.kc .hd { display:flex; align-items:baseline; justify-content:space-between; gap:var(--sp-ctl); flex-wrap:wrap; }
.kc .hd h2 { font-size:var(--t-sec) !important; margin:0; line-height:1.05; text-transform:none !important; letter-spacing:0 !important; }
.kc .price { margin-left:auto; font-size:15px; font-weight:650; color:var(--cream); white-space:nowrap; text-transform:none !important; letter-spacing:0 !important; font-family:var(--sans); }
.kc-sum { margin:var(--sp-ctl) 0 8px !important; color:var(--cream) !important; font-size:14px; }
.kc-pts { margin:0 0 var(--sp-ctl); padding:0 0 0 18px; color:var(--cream-2); font-size:13.5px; line-height:1.7; }
.kc-pts li { text-transform:none !important; letter-spacing:0 !important; font-weight:450 !important; font-size:13.5px !important; }
.kc-pts li::marker { color:var(--cream-3); }
.kc .foot { padding-top:var(--sp-ctl) !important; }
.kc .foot button { min-width:200px; justify-content:center; }
.pk-foot { margin:var(--sp-ctl) 2px 0; }
.pk-cust { margin-top:var(--sp-in) !important; }
@media (max-width:860px) { .kc .foot button { width:100%; } .kc .price { margin-left:0; } }

/* ---- kit results: Best picks first, the rest one tap away */
.kpicks { padding:var(--sp-in) 40px 0; }
.kpicks .kicker { padding:0; margin-bottom:var(--sp-ctl); }
.kgrid.picks { padding:0 !important; margin-bottom:var(--sp-in); grid-template-columns:repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap:var(--sp-in) 16px; }
.kgrid.picks .ktile .m { aspect-ratio:auto !important; height:260px; background:var(--ink-3); }
.kgrid.picks .ktile .m > img, .kgrid.picks .ktile .m > video { width:100%; height:100%; object-fit:contain; }
.kgrid.picks .ktile .ka > * { font-size:12.5px; padding:0 10px; }
@media (max-width:600px) { .kgrid.picks { grid-template-columns:repeat(2, minmax(0, 1fr)); gap:16px 12px; } .kgrid.picks .ktile .m { height:200px; } .kgrid.picks .ktile .ka { flex-direction:column; } }
.kall-bar { display:flex; flex-wrap:wrap; gap:8px; padding:0 0 var(--sp-in); border-bottom:1px solid var(--line); }
.kall-bar button.on { border-color:var(--brass-line); color:var(--cream); }
.kall { padding-top:var(--sp-in); }
@media (max-width:860px) { .kpicks { padding:var(--sp-in) 16px 0; } }
/* psc 2026-11-06: generated (Qwen) posters in their own section, labelled AI, below the kit */
.kgen { padding:var(--sp-in) 40px 0; margin-top:var(--sp-in); border-top:1px solid var(--line); }
.kall[hidden] + .kgen { border-top:0; margin-top:0; }   /* the Best picks bar already draws the line */
.kgen .kicker { padding:0; margin-bottom:6px; align-items:center; }
.kgen .kgrid { padding-left:0; padding-right:0; }
.kgen-note { color:var(--cream-2); font-size:13.5px; max-width:68ch; margin:0 0 var(--sp-ctl); }
@media (max-width:860px) { .kgen { padding:var(--sp-in) 16px 0; } }

/* ---- Make one thing: a short sheet */
.one-card { max-width:620px; }
.apick.one { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:8px; margin:var(--sp-ctl) 0 var(--sp-in); }
.apick.one .ap { min-height:64px; }
.one-opt { min-height:24px; margin-bottom:var(--sp-in); }
.one-opt .chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
.one-opt .lab { font-size:11.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--cream-3); font-weight:650; }
.one-go { gap:var(--sp-ctl); align-items:center; flex-wrap:wrap; position:sticky; bottom:-24px; margin:0 -24px -24px; padding:var(--sp-ctl) 24px 24px; background:#141010; border-top:1px solid var(--line); }
.one-card { overflow-y:auto; }
.one-go .lnk { font-size:13px; }
/* ---- Make one thing as a cart (2026-11-08): groups of tiles, "Your order" on the right (below on narrow screens), info previews */
.one-card.sm-card { max-width:980px; width:min(980px, calc(100vw - 32px)); }
.one-wrap { display:grid; grid-template-columns:minmax(0, 1fr) 270px; gap:22px; align-items:start; margin-top:var(--sp-ctl); }
.og { margin-bottom:var(--sp-in); }
.og-h { font-size:11.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--cream-3); font-weight:650; margin-bottom:8px; }
.apick.one { margin:0; }
.ot { position:relative; display:flex; align-items:flex-start; gap:12px; min-height:68px; padding:12px 40px 12px 12px; border:1px solid var(--line); border-radius:12px; background:transparent;
  cursor:pointer; text-align:left; outline-offset:2px; transition:border-color .15s ease-out, background-color .15s ease-out, transform .15s ease-out; }
.ot:hover { transform:translateY(-1px); border-color:var(--line-2); }
.ot.on { border-color:var(--brass-line); background:var(--brass-wash); }
.ot.on:hover { border-color:var(--brass); }
.ot > .ot-ic, .ot > .ot-ck, .ot > .tc-pr { flex:none; }
.ot-ic { flex:none; display:grid; place-items:center; width:30px; height:30px; border-radius:9px; border:1px solid var(--line); color:var(--cream-3); transition:color .15s ease-out, border-color .15s ease-out; }
.ot-ic .ic { width:16px; height:16px; }
.ot.on .ot-ic { color:var(--brass); border-color:var(--brass-line); }
.ot-b { flex:1; min-width:0; } .ot-b > b { display:block; font-weight:650; } .ot-b > small { display:block; color:var(--cream-3); font-size:12px; line-height:1.4; margin-top:1px; }
.ot-ck { position:absolute; top:-7px; left:-7px; width:18px; height:18px; border-radius:50%; display:grid; place-items:center; background:var(--brass); color:#16100c;
  transform:scale(0); opacity:0; transition:transform .18s cubic-bezier(.3, 1.6, .5, 1), opacity .12s ease-out; }
.ot-ck .ic { width:11px; height:11px; stroke-width:3; }
.ot.on .ot-ck { transform:scale(1); opacity:1; }
.ot .ot-ck .ic, .ot.on .ot-ck .ic { color:#16100c; }
.ap-i { position:absolute; top:8px; right:8px; width:24px; height:24px; min-height:0; padding:0; border:0; background:none; box-shadow:none; color:var(--cream-3); border-radius:50%; display:grid; place-items:center; }
.ap-i .ic { width:16px; height:16px; } .ap-i:hover, .ap-i[aria-expanded="true"] { color:var(--brass); background:none; }
/* the tube cut: full width, its price, and the add-on that opens under it while the cut is picked */
.ot.wide { grid-column:1 / -1; min-height:84px; padding:14px 44px 14px 14px; }
.ot.wide .ot-b > b { font-size:16px; }
.ot.wide .tc-pr { flex:none; align-self:flex-start; margin-top:2px; font-weight:650; color:var(--cream); font-size:14px; white-space:nowrap; }
.ot.wide.on .tc-pr { color:var(--brass); }
.tc-addw { display:grid; grid-template-rows:0fr; transition:grid-template-rows .22s ease-out; }
.ot.on .tc-addw { grid-template-rows:1fr; }
.tc-addi { overflow:hidden; min-height:0; }
.tc-add { text-transform:none; letter-spacing:0; font-weight:400; line-height:1.4; display:flex; align-items:flex-start; gap:10px; margin-top:10px; padding:10px 12px; border:1px dashed var(--line-2); border-radius:10px; cursor:pointer; color:var(--cream); font-size:13.5px;
  opacity:0; transform:translateY(-4px); transition:opacity .2s ease-out .05s, transform .2s ease-out .05s, border-color .15s ease-out, background-color .15s ease-out; }
.ot.on .tc-add { opacity:1; transform:none; }
.tc-add input { flex:none; width:18px; height:18px; margin:1px 0 0; accent-color:var(--brass); }
.tc-add b { display:inline; font-weight:650; } .tc-add .num { color:var(--brass); font-weight:600; }
.tc-add small { display:block; color:var(--cream-2); font-size:12px; margin-top:2px; }
.tc-add:has(input:checked) { border-style:solid; border-color:var(--brass-line); background:rgba(11, 9, 9, .35); }
/* the preview card: below the tile, fades and scales in; the drawing animates once as it opens */
.ap-pv { position:absolute; top:calc(100% + 8px); left:0; z-index:6; width:min(300px, 86vw); padding:12px; border-radius:12px; border:1px solid var(--brass-line);
  background:linear-gradient(180deg, #1d1715, #141010); box-shadow:0 10px 30px rgba(0, 0, 0, .45); cursor:default;
  opacity:0; visibility:hidden; transform:scale(.97) translateY(-2px); transform-origin:top left; transition:opacity .12s ease-out, transform .12s ease-out, visibility 0s linear .12s; pointer-events:none; }
.ot.pv-r .ap-pv { left:auto; right:0; transform-origin:top right; }
.ap-pv.show { opacity:1; visibility:visible; transform:none; transition:opacity .12s ease-out, transform .12s ease-out; pointer-events:auto; }
.ot.pv-open { z-index:7; }
.ap-pv p { margin:10px 0 0; font-size:12.5px; line-height:1.45; color:var(--cream-2); }
.sv { display:block; width:100%; height:auto; border-radius:8px; background:radial-gradient(120% 90% at 30% 0%, rgba(217, 183, 126, .10), transparent 60%), #0f0c0b; }
.sv .sv-f { fill:rgba(241, 232, 218, .045); stroke:rgba(241, 232, 218, .28); stroke-width:1; }
.sv .sv-f.sv-paint { fill:rgba(217, 183, 126, .08); stroke:rgba(217, 183, 126, .55); }
.sv .sv-f.sv-top { fill:#171211; }
.sv .sv-t { fill:rgba(241, 232, 218, .22); }
.sv .sv-g { fill:none; stroke:var(--brass); stroke-width:1.2; }
.sv .sv-gs { fill:rgba(217, 183, 126, .12); stroke:var(--brass); stroke-width:1.2; }
.sv .sv-gf { fill:var(--brass); }
.sv .sv-gl { fill:none; stroke:var(--brass); stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round; }
.sv .sv-ring { fill:rgba(11, 9, 9, .5); stroke:var(--brass); stroke-width:1.2; }
.sv .sv-pol { fill:#efe7da; }
.sv .sv-x { font:600 7.5px/1 var(--sans); fill:rgba(241, 232, 218, .5); letter-spacing:.04em; }
.sv .sv-x.sv-gx { fill:var(--brass); }
.ap-pv.show .sv-pulse { transform-box:fill-box; transform-origin:center; animation:svPulse .5s ease-out both; }
.ap-pv.show .sv-st { animation:svIn .32s ease-out both; animation-delay:calc(var(--d, 0) * 70ms); }
.ap-pv.show .sv-slide { animation:svSlide .36s ease-out both; animation-delay:calc(120ms + var(--d, 0) * 90ms); }
.ap-pv.show .sv-bar { transform-box:fill-box; transform-origin:bottom; animation:svBar .3s ease-out both; animation-delay:calc(var(--d, 0) * 12ms); }
.ap-pv.show .sv-fan { transform-box:view-box; transform-origin:100px 100px; animation:svFan .45s cubic-bezier(.2, .9, .3, 1) both; }
.ap-pv.show .sv-draw { stroke-dasharray:200; animation:svDraw .5s ease-out both; }
.ap-pv.show .sv-grow { transform-box:fill-box; transform-origin:left; animation:svGrow .5s ease-out both; }
@keyframes svPulse { 0% { transform:scale(.6); opacity:0; } 60% { transform:scale(1.12); opacity:1; } 100% { transform:scale(1); } }
@keyframes svIn { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:none; } }
@keyframes svSlide { from { opacity:0; transform:translateX(-10px); } to { opacity:1; transform:none; } }
@keyframes svBar { from { transform:scaleY(.15); } to { transform:none; } }
@keyframes svFan { from { transform:none; } to { transform:translateX(var(--x)) rotate(var(--r)); } }
.sv-fan { transform-box:view-box; transform-origin:100px 100px; transform:translateX(var(--x)) rotate(var(--r)); }
@keyframes svDraw { from { stroke-dashoffset:200; opacity:.3; } to { stroke-dashoffset:0; opacity:1; } }
@keyframes svGrow { from { transform:scaleX(0); } to { transform:none; } }
/* sizes and style under the tiles */
.one-opt { min-height:0; margin-bottom:var(--sp-in); }
.one-opt .oo + .oo { margin-top:14px; }
.one-opt .chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
.one-opt .lab { font-size:11.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--cream-3); font-weight:650; }
.one-opt label.chip { gap:7px; transition:background-color .15s ease-out, border-color .15s ease-out, color .15s ease-out; }
.one-opt label.chip .ar { width:14px; height:14px; flex:none; } .one-opt label.chip .ar rect { fill:none; stroke:currentColor; stroke-width:1.4; }
/* size text: dark on a picked (cream) chip, light on the dark ones (it was cream on cream) */
.one-opt label.chip .muted { color:var(--cream-2); font-weight:500; }
.one-opt label.chip.on, .one-opt label.chip:has(input:checked) { color:#16100c; }
.one-opt label.chip.on .muted, .one-opt label.chip:has(input:checked) .muted { color:rgba(22, 16, 12, .72); }
/* Your order */
.one-cart { position:sticky; top:0; padding:14px 16px; border:1px solid var(--line); border-radius:14px; background:rgba(11, 9, 9, .35); transition:opacity .15s ease-out; }
.one-cart.busy { opacity:.7; }
.cart-l { list-style:none; margin:0; padding:0; }
.cart-l li { display:flex; justify-content:space-between; gap:10px; padding:7px 0; border-bottom:1px solid var(--line); font-size:13px; color:var(--cream-2); }
.cart-l li b { color:var(--cream); font-weight:600; white-space:nowrap; }
.cart-l li.in { animation:cartIn .22s ease-out both; }
.cart-l li.out { animation:cartOut .18s ease-in both; }
@keyframes cartIn { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:none; } }
@keyframes cartOut { to { opacity:0; transform:translateX(6px); } }
.cart-e { margin:6px 0; }
.cart-t { display:flex; justify-content:space-between; align-items:baseline; margin-top:10px; font-size:13px; color:var(--cream-3); }
.cart-t b { font-size:22px; font-weight:650; color:var(--cream); }
.cart-w { margin:8px 0 0; color:var(--amber); }
#sgo { position:relative; overflow:hidden; }
#sgo.shine::after { content:''; position:absolute; inset:0; background:linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform:translateX(-100%); animation:shine .6s ease-out; pointer-events:none; }
@keyframes shine { to { transform:translateX(100%); } }
@media (max-width:860px) { .one-wrap { grid-template-columns:1fr; } .one-cart { position:static; } }
@media (max-width:600px) { .ot.wide .ot-ic { display:none; } .ot.wide .tc-pr { position:absolute; top:15px; right:40px; } .ot.wide .ot-b > b { padding-right:84px; }
  .apick.one { grid-template-columns:1fr; } .ot { min-height:0; } .ap-pv { width:100%; } .ot.pv-r .ap-pv { left:0; right:auto; } }
@media (prefers-reduced-motion:reduce) {
  .one-card *, .one-card *::after { transition:none !important; animation:none !important; }
  .ot:hover { transform:none; }
}
@media (max-width:600px) { .one-go #sgo { width:100%; justify-content:center; } }

/* ---- Upload: one level of container, one line for preparing */
.up-hero { background:none !important; border:0 !important; padding:var(--sp-in) 0 0 !important; border-radius:0; }
.up-line { grid-column:2; margin:-8px 0 0; }
.up-prep > span { display:flex; flex-direction:column; gap:2px; color:var(--cream); }
#incup { margin-top:var(--sp-sec); }
.up-hero .attest { padding:var(--sp-in); }
.att-more { grid-column:1 / -1; } .att-more > summary { cursor:pointer; font-size:12.5px; color:var(--cream-3); list-style:none; } .att-more > summary::-webkit-details-marker { display:none; }
.att-more p { margin:8px 0 0; }
.up-prep { display:flex; align-items:center; justify-content:space-between; gap:var(--sp-ctl); font-size:13.5px; color:var(--cream-2); }
.switch { position:relative; display:inline-flex; width:40px; height:24px; flex:none; cursor:pointer; margin:0 !important; }
.switch input { position:absolute; inset:0; opacity:0; margin:0; cursor:pointer; z-index:1; }
.switch i { position:absolute; inset:0; border-radius:12px; background:var(--ink-4); border:1px solid var(--line-2); transition:background 150ms, border-color 150ms; }
.switch i::after { content:""; position:absolute; top:3px; left:3px; width:16px; height:16px; border-radius:50%; background:var(--cream-3); transition:transform 150ms, background 150ms; }
.switch input:checked + i { background:rgba(156,195,160,.22); border-color:rgba(156,195,160,.5); }
.switch input:checked + i::after { transform:translateX(16px); background:var(--sage); }
.switch input:focus-visible + i { outline:2px solid var(--brass); outline-offset:2px; }
.up-tube { margin-top:4px; }
.up-tube.off > span { opacity:.5; }
.up-tubew { color:var(--amber, #e3b25c); margin-top:4px; }
.qi-tube { display:flex; align-items:center; gap:6px; color:var(--cream-2); }
.qi-tube.bad { color:var(--amber, #e3b25c); }
@media (max-width:980px) { .up-line { grid-column:1; margin:0; } }
@media (max-width:860px) { .switch { width:52px; height:32px; } .switch i::after { width:22px; height:22px; top:4px; left:4px; } .switch input:checked + i::after { transform:translateX(20px); } }

/* ---- Account: the wallet on one line, details behind a link */
.wal-line { display:flex; align-items:center; gap:var(--sp-ctl); flex-wrap:wrap; padding:var(--sp-in) 0; margin-bottom:var(--sp-sec); border-bottom:1px solid var(--line); font-size:15px; }
.wal-line .ring { width:28px; height:28px; } .wal-line .ring::after { width:20px; height:20px; }
.wal-line .wl-t b { font-family:var(--serif); font-weight:400; font-size:var(--t-sec); color:var(--cream); }
.wal-line .wl-exp { font-size:13px; }
.wal-line #wdet { margin-left:auto; font-size:13px; }
.wal-det { margin-bottom:var(--sp-sec); }
.wal-line:has(+ .wal-buy) { margin-bottom:8px; } .wal-buy { margin:0 0 var(--sp-sec); }
.panel.am { margin-bottom:var(--sp-sec); }

/* ---- Director: the poster playground inside the frame picker */
.dx-fmake { display:flex; align-items:center; gap:var(--sp-ctl); flex-wrap:wrap; justify-content:space-between; margin-top:var(--sp-ctl); padding:var(--sp-ctl) 16px; border-radius:12px; border:1px solid var(--line-2); background:var(--ink-3); font-size:13px; color:var(--cream-2); }
/* the Director button on a creative is secondary: no brass; in Best picks it is an icon next to Download */
.ktile .ka .dirb { background:none; border:1px solid var(--line-2); color:var(--cream); }
.ktile .ka .dirb:hover { border-color:var(--line-3); }
.kgrid.picks .ktile .ka { display:grid; grid-template-columns:minmax(0, 1fr) 40px; gap:8px; }
.kgrid.picks .ktile .dirb { width:40px; padding:0; justify-content:center; } .kgrid.picks .ktile .dirb span { display:none; }
@media (max-width:600px) { .kgrid.picks .ktile .ka { grid-template-columns:minmax(0, 1fr) 44px; } .kgrid.picks .ktile .dirb { width:44px; } }

/* "Who is this?" (FACE_ID_UI): the Cast row and one card per unconfirmed face, above the kits */
.cast-sec .wrap { padding-top:16px; }
.cast-row { display:flex; align-items:center; flex-wrap:wrap; gap:8px 14px; margin-bottom:12px; }
.cast-row .lab { font-size:11.5px; font-weight:650; letter-spacing:.08em; text-transform:uppercase; color:var(--cream-3); }
.cast-p { display:inline-flex; align-items:center; gap:8px; padding:3px 10px 3px 3px; border:1px solid var(--line-2); border-radius:999px; background:var(--ink-3); }
.cast-p img, .cast-p .cast-noface { width:26px; height:26px; border-radius:50%; object-fit:cover; display:inline-flex; align-items:center; justify-content:center; background:var(--ink-4); }
.cast-p b { font-weight:600; font-size:13px; }
.linkish { background:none; border:0; box-shadow:none; padding:0; min-height:0; height:auto; color:var(--brass); cursor:pointer; font:inherit; font-size:11.5px; }
.linkish:hover { text-decoration:underline; text-underline-offset:3px; }
.cast-card .panel-head h2 { font-size:22px; }
.cast-body { display:flex; gap:18px; align-items:flex-start; flex-wrap:wrap; }
.cast-crops { display:flex; gap:8px; }
.cast-crops img, .cast-crops .cast-noface { width:96px; height:96px; border-radius:var(--r-m); object-fit:cover; background:var(--ink-4); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; }
.cast-ans { flex:1; min-width:220px; display:flex; flex-direction:column; gap:10px; }
.cast-names { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.cast-names .chip { height:32px; padding:0 14px; font-size:12.5px; }
.cast-other { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.cast-other input { flex:1; min-width:160px; height:36px; }
@media (max-width:560px) { .cast-crops img, .cast-crops .cast-noface { width:76px; height:76px; } }

/* ---- bars that ride the bottom of the screen must clear the phone tab bar. The tab bar shows at <=860px but the sticky bars only moved
   up at <=760px, so on a 761-860px wide window (a tall tablet or a narrow desktop window) the campaign wizard's Next / Review / Confirm
   sat under the tab bar and a tap opened the tab behind it. One clearance (tab bar offset + height + gap + safe area) for every such bar. */
:root { --tabclear:16px; }
@media (max-width:860px) {
  :root { --tabclear:calc(12px + 62px + 10px + env(safe-area-inset-bottom, 0px)); }
  .tabbar { bottom:calc(12px + env(safe-area-inset-bottom, 0px)); }
  .swz-ft { bottom:var(--tabclear); }
  body.swzpage main { padding-bottom:calc(var(--tabclear) + 150px); }
  .mkbar { bottom:var(--tabclear); }
  .bulk:not([hidden]) { bottom:var(--tabclear); }
  #toasts { bottom:var(--tabclear); }
}

/* ---- Tube Insights (#/tube): channel input, stat row, sparklines, compact tables */
.ti-q .lab { display:block; margin-bottom:var(--sp-ctl); }
.ti-q .row { display:flex; align-items:center; gap:var(--sp-ctl); flex-wrap:wrap; }
.ti-q input { flex:1 1 260px; min-width:0; width:auto; }
.ti-q select { flex:0 0 auto; width:auto; }
.ti-q button { flex:0 0 auto; }
.ti-meta { margin:0 0 var(--sp-ctl); }
.ti-trends { display:flex; flex-wrap:wrap; gap:var(--sp-in); }
.ti-tr { display:flex; flex-direction:column; gap:6px; min-width:140px; }
.ti-tr .lab { font-size:11px; text-transform:uppercase; letter-spacing:.14em; color:var(--cream-3); font-weight:650; }
.ti-spark { display:block; overflow:visible; }
.ti-spark polyline { fill:none; stroke:var(--brass); stroke-width:1.6; stroke-linejoin:round; stroke-linecap:round; }
.ti-spark circle { fill:var(--brass); }
.ti-nos { display:inline-block; min-height:30px; line-height:30px; }
.ti-t td.n, .ti-t th.n { text-align:right; white-space:nowrap; }
.ti-t td { vertical-align:middle; }
.ti-title { max-width:420px; }
.ti-cands { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin-top:var(--sp-ctl); }
.ti-tabs { margin:0 0 var(--sp-ctl); }
.ti-cards { display:grid; grid-template-columns:repeat(auto-fill, minmax(240px, 1fr)); gap:var(--sp-ctl); margin:0 0 var(--sp-in); }
.ti-card { display:flex; flex-direction:column; gap:4px; min-width:0; padding:14px 16px; border:1px solid var(--line-2); border-radius:12px; color:inherit; text-decoration:none; background:var(--brass-wash); }
.ti-card:hover { border-color:var(--brass); text-decoration:none; }
.ti-card b { font-size:15px; }
.ti-kind { font-size:11px; text-transform:uppercase; letter-spacing:.14em; color:var(--cream-3); font-weight:650; }
.ti-add .row, .ti-head .row { display:flex; align-items:center; gap:var(--sp-ctl); flex-wrap:wrap; margin-top:var(--sp-ctl); }
.ti-add input { flex:1 1 240px; min-width:0; width:auto; }
.ti-add select, .ti-head select { flex:0 0 auto; width:auto; }
.ti-head { display:flex; justify-content:space-between; align-items:flex-start; gap:var(--sp-ctl); flex-wrap:wrap; }
.ti-head h2 { margin:2px 0 4px; }
.ti-up { color:var(--ok); } .ti-dn { color:var(--bad); }
.tc-own td { background:var(--brass-wash); font-weight:650; } .tc-ub td { color:var(--cream-3); font-style:italic; }
.tc-you { font-size:10px; text-transform:uppercase; letter-spacing:.12em; color:var(--brass); margin-left:4px; } .tc-pick { margin:0 0 var(--sp-ctl); } .tc-pick select { max-width:100%; }
@media (max-width:860px) { .ti-title { max-width:220px; } .ti-trends { gap:var(--sp-ctl); } .tc-t td.ell { max-width:150px; } }

/* ---- Tube Insights v2 (web/app.js t2*): a plan, not a report. One primary surface per screen, numbers before words, chips for confidence,
   cream = the page-one population, brass = you, sage = open / the opportunity zone, amber = alerts. Tables: tabular figures, 13 px, 40 px rows. */
.t2-head { display:flex; align-items:flex-end; justify-content:space-between; gap:16px 24px; padding:calc(var(--sp-top) - 30px) 0 0; flex-wrap:wrap; }
.t2-tt h1 { font-size:var(--t-page); line-height:1.02; letter-spacing:-.01em; margin:2px 0 0; } .t2-tt .eyebrow { margin-bottom:2px; }
.t2-hr { display:flex; align-items:flex-end; gap:10px; flex-wrap:wrap; justify-content:flex-end; } .t2-ask .ic { color:var(--brass); }
.t2-pick { display:flex; flex-direction:column; gap:4px; min-width:0; } #t2ask { flex:none; } .t2-pick .lab { font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--cream-3); font-weight:650; }
.t2-pick select { width:auto; max-width:320px; height:32px; padding:0 34px 0 12px; font-size:13px; border-radius:999px; }
.t2-strip { display:flex; flex-wrap:wrap; align-items:center; gap:4px 0; margin:12px 0 var(--sp-in); padding:10px 0 12px; border-bottom:1px solid var(--line); font-size:12.5px; color:var(--cream-3); }
.t2-strip > span:not(:first-child)::before, .t2-strip > details::before { content:"·"; margin:0 9px; color:var(--line-3); } .t2-strip b { color:var(--cream-2); font-weight:600; }
.t2-warn { color:var(--amber); display:inline-flex; gap:6px; align-items:center; cursor:help; } .t2-tier { text-transform:uppercase; letter-spacing:.12em; font-size:10.5px; font-weight:650; }
.t2-legend { position:relative; } .t2-legend summary { cursor:pointer; color:var(--cream-3); list-style:none; display:inline; } .t2-legend summary::-webkit-details-marker { display:none; }
.t2-legend summary::after { content:" ▸"; } .t2-legend[open] summary::after { content:" ▾"; }
.t2-legend > div { position:absolute; right:0; top:26px; z-index:20; width:320px; padding:14px 16px; border-radius:12px; background:var(--ink-3); border:1px solid var(--line-2); box-shadow:var(--shadow); }
.t2-legend p { margin:0 0 8px; font-size:12.5px; color:var(--cream-2); }
.t2-wrap { display:grid; grid-template-columns:172px minmax(0, 1fr); gap:32px; align-items:start; }
.t2-rail { position:sticky; top:84px; display:flex; flex-direction:column; gap:2px; }
.t2-rail a { display:flex; align-items:center; gap:10px; padding:7px 12px; border-radius:10px; color:var(--cream-2); font-size:13.5px; font-weight:550; text-decoration:none !important; }
.t2-rail a .ic { opacity:.7; } .t2-rail a:hover { color:var(--cream); background:rgba(241,232,218,.04); }
.t2-rail a.on { color:var(--cream); background:var(--brass-wash); box-shadow:inset 2px 0 0 var(--brass); } .t2-rail a.on .ic { opacity:1; color:var(--brass); }
.t2-main { min-width:0; }
.t2-main .panel { padding:22px 24px; } .t2-main h2 { font-size:var(--t-card); }
.t2-lead { margin:0 0 20px; max-width:960px; }
.t2-lede { font-family:var(--serif); font-size:30px; line-height:1.18; color:var(--cream-2); margin:0 0 8px; letter-spacing:-.005em; text-wrap:balance; }
.t2-lede b { color:var(--cream); font-weight:400; } .t2-lede i { color:var(--brass); font-style:italic; }
.t2-sub { color:var(--cream-2); font-size:14px; margin:0 0 6px; line-height:1.55; } .t2-sub b { color:var(--cream); font-weight:600; }
.t2-ph { display:flex; align-items:baseline; gap:12px; margin:0 0 14px; flex-wrap:wrap; } .t2-ph h2 { margin:0; margin-right:auto; }
.t2-ctl { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; margin:0 0 var(--sp-in); }
.t2-ctl .row { display:flex; flex-wrap:wrap; gap:10px; align-items:center; } .t2-ctl .t2-sub { margin:0; }
.t2-flt { width:100%; } .t2-q { width:200px; height:32px; border-radius:999px; padding:0 14px; font-size:13px; }
.t2-chip { display:inline-flex; align-items:center; gap:6px; height:22px; padding:0 9px; border-radius:999px; font-size:10.5px; font-weight:650; letter-spacing:.1em; text-transform:uppercase; border:1px solid var(--line-3); color:var(--cream); white-space:nowrap; cursor:help; }
.t2-chip i { font-style:normal; letter-spacing:0; text-transform:none; font-weight:500; color:var(--cream-3); }
.t2-chip.observed { border-color:rgba(241,232,218,.45); } .t2-chip.early { border-color:rgba(231,166,90,.6); color:var(--amber); } .t2-chip.established { border-color:rgba(156,195,160,.6); color:var(--sage); }
.t2-chip.not_yet { border-color:transparent; background:rgba(241,232,218,.05); color:var(--cream-3); }
.t2-mono { display:inline-grid; place-items:center; width:22px; height:18px; border-radius:5px; font-size:9.5px; font-weight:750; letter-spacing:.04em; color:var(--cream-3); border:1px solid var(--line-2); vertical-align:1px; }
.t2-need { margin:10px 0 2px; max-width:420px; } .t2-need span { display:block; font-size:12px; color:var(--cream-3); margin-bottom:6px; }
.t2-need i { display:block; height:3px; border-radius:3px; background:rgba(241,232,218,.08); position:relative; overflow:hidden; }
.t2-need i::after { content:""; position:absolute; left:0; top:0; bottom:0; width:var(--p); background:var(--cream-3); border-radius:3px; }
.t2-tip { position:fixed; z-index:200; max-width:300px; padding:7px 10px; border-radius:8px; background:var(--ink-5); border:1px solid var(--line-2); color:var(--cream); font-size:12px; line-height:1.4; pointer-events:none; box-shadow:var(--shadow); }
/* This week: verdict, the standing band, the plan column and a narrow aside */
.t2-week { display:grid; grid-template-columns:minmax(0, 1fr) 312px; gap:0 32px; grid-template-areas:"lead lead" "band band" "plan aside"; }
.t2-week .t2-lead { grid-area:lead; } .t2-week .t2-band { grid-area:band; } .t2-plan { grid-area:plan; min-width:0; } .t2-aside { grid-area:aside; display:flex; flex-direction:column; gap:16px; min-width:0; }
.t2-aside > section { padding:18px 20px; border:1px solid var(--line); border-radius:16px; background:var(--ink-2); }
.t2-band { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:12px; margin:0 0 28px; }
.t2-tile { padding:16px 18px 14px; border-radius:14px; gap:0; background:var(--ink-2); margin:0; min-width:0; display:flex; flex-direction:column; }
.t2-tile.warn { border-color:rgba(231,166,90,.45); background:linear-gradient(180deg, rgba(231,166,90,.07), rgba(231,166,90,0) 70%), var(--ink-2); }
.t2-tk { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:10px; } .t2-tile .k { font-size:10.5px; }
.t2-sl { display:flex; align-items:baseline; gap:8px; min-width:0; white-space:nowrap; } .t2-sl + .t2-sl { margin-top:4px; }
.t2-sl b { font-size:30px !important; margin:0 !important; line-height:1.05 !important; font-family:var(--serif); font-weight:400; color:var(--cream); }
.t2-sl.big b { font-size:40px !important; } .t2-sl .u { font-size:11.5px !important; color:var(--cream-3) !important; overflow:hidden; text-overflow:ellipsis; }
.t2-sl .ti-sparkw { margin-left:auto; } .t2-sl .ti-sparkw b { font-size:11px !important; font-family:var(--sans); }
.t2-dlt { font-family:var(--sans); font-size:11.5px; font-weight:650; color:var(--cream-3); margin-left:6px; vertical-align:middle; } .t2-dlt.up { color:var(--sage); } .t2-dlt.dn { color:var(--bad); }
.t2-cmp { margin-top:auto; padding-top:12px; font-size:12px; color:var(--cream-3); line-height:1.4; }
.t2-mini { display:flex; flex-direction:column; gap:5px; }
.t2-mini-r { display:grid; grid-template-columns:minmax(0, 1fr) 1fr 30px; gap:8px; align-items:center; font-size:11.5px; color:var(--cream-3); }
.t2-mini-r .trk { position:relative; height:6px; border-radius:3px; background:rgba(241,232,218,.06); } .t2-mini-r .trk i { position:absolute; left:0; top:0; bottom:0; border-radius:3px; background:rgba(241,232,218,.45); cursor:help; }
.t2-mini-r b { text-align:right; font-weight:550; color:var(--cream); font-family:var(--sans) !important; font-size:12px !important; margin:0 !important; line-height:1.2 !important; } .t2-mini-r.own .trk i { background:var(--brass); } .t2-mini-r.own .rl, .t2-mini-r.own b { color:var(--brass); }
.t2-stks { display:flex; flex-direction:column; gap:6px; } .t2-stk { display:grid; grid-template-columns:22px 1fr 34px; gap:8px; align-items:center; cursor:help; }
.t2-stk .trk { height:8px; border-radius:4px; background:rgba(241,232,218,.08); overflow:hidden; } .t2-stk .trk i { display:block; height:100%; background:var(--brass); border-radius:4px; } .t2-stk .u { text-align:right; color:var(--cream-2); font-variant-numeric:tabular-nums; }
.t2-blt { position:relative; height:14px; margin:2px 0 8px; border-radius:4px; background:rgba(241,232,218,.05); }
.t2-blt .band { position:absolute; left:0; top:0; bottom:0; border-radius:4px; background:rgba(241,232,218,.1); cursor:help; }
.t2-blt .bar { position:absolute; left:0; top:4px; height:6px; border-radius:3px; background:var(--brass); cursor:help; } .warn .t2-blt .bar, .t2-hero .t2-blt .bar { background:var(--amber); }
.t2-blt .tick { position:absolute; top:-3px; width:2px; height:20px; margin-left:-1px; background:var(--cream); cursor:help; }
.t2-blt-k { display:flex; flex-wrap:wrap; gap:4px 12px; color:var(--cream-3); font-size:11.5px; } .t2-blt-k span { display:inline-flex; align-items:center; gap:5px; }
.t2-blt-k i { width:8px; height:8px; border-radius:2px; background:rgba(241,232,218,.2); display:inline-block; } .t2-blt-k i.y { background:var(--brass); } .warn .t2-blt-k i.y, .t2-hero .t2-blt-k i.y { background:var(--amber); } .t2-blt-k i.t { width:2px; height:12px; background:var(--cream); border-radius:0; }
/* the plan list (library rows and keyword moves) */
.t2-items { list-style:none; margin:0 0 var(--sp-in); padding:0; display:flex; flex-direction:column; gap:10px; }
.t2-item { display:grid; grid-template-columns:40px minmax(0, 1fr); gap:0 12px; padding:18px 20px 16px 14px; border:1px solid var(--line); border-radius:16px; background:var(--ink-2); }
.t2-n { font-family:var(--serif); font-size:30px; line-height:1; color:var(--brass); text-align:center; padding-top:2px; }
.t2-item.ny { background:transparent; border-style:dashed; padding:14px 18px 12px 12px; } .t2-item.ny .t2-n { color:var(--cream-3); } .t2-item.ny h3 { color:var(--cream-2); font-size:17px; } .t2-item.ny .t2-ev { font-size:13px; margin-top:4px; }
.t2-item.st-off { opacity:.6; }
.t2-ih { display:flex; gap:12px; align-items:flex-start; justify-content:space-between; } .t2-ih h3 { margin:0; font-family:var(--serif); font-weight:400; font-size:21px; line-height:1.2; color:var(--cream); }
.t2-chips { display:inline-flex; gap:6px; align-items:center; flex:none; padding-top:3px; }
.t2-ev { margin:8px 0 0; font-size:13.5px; line-height:1.55; color:var(--cream-2); max-width:760px; }
.t2-act { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:14px; }
.t2-act .t2-st { margin-left:auto; display:inline-flex; gap:14px; }
.lnkb { background:none; border:0; padding:0; height:auto; font:inherit; font-size:12.5px; color:var(--cream-3); cursor:pointer; box-shadow:none; } .lnkb:hover { color:var(--cream); text-decoration:underline; }
.t2-kws { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.t2-kw { position:relative; display:inline-flex; gap:10px; align-items:baseline; padding:8px 12px 10px; border-radius:10px; border:1px solid var(--line-2); background:var(--ink-3); overflow:hidden; cursor:help; }
.t2-kw b { font-weight:600; font-size:13.5px; } .t2-kw .num { font-size:12.5px; color:var(--sage); }
.t2-kw i { position:absolute; left:0; bottom:0; height:2px; background:var(--sage); opacity:.7; }
.t2-off summary { cursor:pointer; color:var(--cream-3); font-size:13px; margin:6px 0 12px; }
.t2-libs { margin-bottom:28px; } .t2-moves { margin-bottom:8px; } .t2-plan > section { min-width:0; } .t2-foot { margin:-10px 0 0; }
.t2-ptab { gap:6px; } .t2-lib { padding:12px 16px 12px 10px; cursor:pointer; transition:border-color var(--fast); } .t2-lib:hover { border-color:var(--line-2); }
.t2-lib.open { border-color:var(--brass-line); background:linear-gradient(180deg, rgba(217,183,126,.07), rgba(217,183,126,0) 60%), var(--ink-2); cursor:default; padding-bottom:16px; }
.t2-lib .t2-n { font-size:24px; padding-top:6px; }
.t2-pr { display:grid; grid-template-columns:minmax(0, 1.7fr) minmax(0, .9fr) 60px minmax(0, 1.1fr) auto auto; gap:6px 14px; align-items:center; }
.t2-pr h3 { margin:0; font-family:var(--serif); font-weight:400; font-size:19px; line-height:1.15; color:var(--cream); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.t2-pr-s { min-width:0; display:flex; flex-direction:column; gap:1px; } .t2-pr-s .small { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .t2-pr-r .faint { font-size:12.5px; }
.t2-pr .k { display:block; font-size:10px; letter-spacing:.12em; text-transform:uppercase; color:var(--cream-3); font-weight:650; margin-bottom:1px; }
.t2-pr-k { min-width:0; font-size:13.5px; line-height:1.25; } .t2-pr-k b { overflow-wrap:anywhere; } .t2-pr-k b { font-weight:600; }
.t2-pr-o .t2-meter { min-width:50px; font-size:13.5px; font-variant-numeric:tabular-nums; padding-bottom:4px; }
.t2-pr-r { min-width:0; font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .t2-pr-r b { font-family:var(--serif); font-size:19px; color:var(--cream); font-weight:400; }
.t2-pr-c { justify-self:end; } .t2-lib .t2-pr button { justify-self:end; }
.t2-px { display:none; } .t2-lib.open .t2-px { display:block; margin-top:8px; } .t2-lib.open .t2-px .t2-ev { margin-top:6px; }
.t2-new { color:var(--sage); }
.t2-evr { display:flex; flex-wrap:wrap; gap:6px 18px; margin:10px 0 0; font-size:12.5px; color:var(--cream-2); } .t2-evr b { color:var(--cream); font-size:14px; }
.t2-rcp { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:1px; margin:14px 0 0; border-radius:12px; overflow:hidden; background:var(--line); border:1px solid var(--line); max-width:640px; }
.t2-rcp > div { background:var(--ink-2); padding:10px 12px; display:flex; flex-direction:column; gap:2px; min-width:0; }
.t2-rcp .k { font-size:10px; letter-spacing:.12em; text-transform:uppercase; color:var(--cream-3); font-weight:650; } .t2-rcp b { font-family:var(--serif); font-weight:400; font-size:22px; color:var(--cream); line-height:1.15; }
.t2-scene { display:flex; gap:12px; align-items:flex-start; margin:12px 0 4px; padding:10px 12px; border-radius:12px; background:var(--ink-3); border:1px solid var(--line); }
.t2-scene > div { display:flex; flex-direction:column; gap:2px; min-width:0; } .t2-scene b { font-weight:600; font-size:14px; }
.t2-sc-ic { width:34px; height:34px; flex:none; display:grid; place-items:center; border-radius:9px; background:var(--brass-wash); color:var(--brass); }
/* building history: the capture timeline with its gates */
.t2-build { padding:18px 20px 14px; border:1px dashed var(--line-2); border-radius:16px; margin-bottom:var(--sp-in); } .t2-build .t2-items { gap:8px; margin:14px 0 0; }
.t2-tl { margin:4px 0 0; } .t2-tl-c { display:grid; grid-template-columns:repeat(14, minmax(0, 1fr)); gap:3px; }
.t2-tl-c i { display:block; height:10px; border-radius:3px; background:rgba(241,232,218,.07); cursor:help; } .t2-tl-c i.on { background:var(--brass); } .t2-tl-c i.g:not(.on) { background:rgba(241,232,218,.14); }
.t2-tl-l { position:relative; height:30px; margin-top:6px; } .t2-tl-l span { position:absolute; top:0; left:calc((var(--c) - 1) * 100% / 14 + 100% / 28); transform:translateX(-50%); font-size:10.5px; color:var(--cream-3); white-space:nowrap; letter-spacing:.02em; } .t2-tl-l span:nth-child(2) { top:15px; }
.t2-tl-l span:last-child { transform:translateX(-100%); left:100%; } .t2-tl-l span.on { color:var(--cream); }
.t2-tl-n { color:var(--cream-3); margin:6px 0 0; }
/* alerts, niche, upgrade and the first run */
.t2-alist { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; }
.t2-alist li { display:flex; gap:10px; align-items:flex-start; padding:10px 0; border-top:1px solid var(--line); font-size:13px; line-height:1.45; color:var(--cream); }
.t2-alist li:first-child { border-top:0; } .t2-alist li .ic { flex:none; margin-top:2px; color:var(--brass); }
.t2-alist li.info, .t2-alist li.warn { color:var(--cream-2); } .t2-alist li.info .ic { color:var(--cream-3); } .t2-alist li.warn .ic { color:var(--amber); } .t2-alist li.seen { opacity:.6; }
.t2-nc .t2-mini-r { grid-template-columns:minmax(0, 1.4fr) 1fr 34px; font-size:12px; } .t2-nc .t2-mini-r .trk i { background:var(--brass); opacity:.8; } .t2-nc p { margin:12px 0 0; }
.t2-upc { padding:22px 24px; border-radius:16px; border:1px dashed var(--brass-line); background:linear-gradient(135deg, rgba(217,183,126,.08), rgba(217,183,126,.02)); margin-bottom:var(--sp-in); }
.t2-upc h3 { font-family:var(--serif); font-weight:400; font-size:24px; margin:8px 0 6px; color:var(--cream); } .t2-upc p { margin:0 0 6px; color:var(--cream-2); max-width:640px; font-size:14px; line-height:1.55; }
.t2-first { display:grid; grid-template-columns:minmax(0, 1.2fr) minmax(0, 1fr); gap:32px; padding:34px 36px; border:1px solid var(--line); border-radius:18px; background:var(--ink-2); align-items:center; }
.t2-first h2 { font-size:34px; line-height:1.12; margin:10px 0 12px; } .t2-first p { color:var(--cream-2); font-size:14.5px; line-height:1.6; margin:0 0 20px; max-width:520px; }
.t2-first-l { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:14px; }
.t2-first-l li { display:grid; grid-template-columns:36px 1fr; gap:12px; align-items:start; } .t2-first-l li .num { font-family:var(--serif); font-size:30px; line-height:1; color:var(--brass); }
.t2-first-l li div { display:flex; flex-direction:column; gap:2px; } .t2-first-l b { font-size:14px; } .t2-first-l span:not(.num) { font-size:13px; color:var(--cream-2); line-height:1.5; }
.t2-cad { padding:18px 20px; border:1px solid var(--line); border-radius:16px; background:var(--ink-2); margin-bottom:var(--sp-in); }
.t2-cad.t2-hero { border-color:rgba(231,166,90,.45); background:linear-gradient(180deg, rgba(231,166,90,.08), rgba(231,166,90,0) 60%), var(--ink-2); padding:22px 24px; }
.t2-cad.t2-hero h2 { font-size:26px; } .t2-cadl { color:var(--cream-2); font-size:14px; line-height:1.55; margin:0 0 14px; max-width:760px; } .t2-cadl b { color:var(--cream); }
.t2-cad .t2-blt { max-width:640px; }
.t2-target { display:flex; align-items:baseline; gap:12px; margin:18px 0 10px; } .t2-target b { font-family:var(--serif); font-weight:400; font-size:44px; color:var(--amber); line-height:1; } .t2-target span { color:var(--cream); font-size:15px; }
.t2-back { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.t2-back li { display:grid; grid-template-columns:minmax(0, 1.1fr) minmax(0, 1fr) auto; gap:12px; align-items:center; } .t2-back .t2-scene { margin:0; }
.t2-bk { display:flex; flex-direction:column; gap:2px; font-size:13px; min-width:0; }
/* charts (dataviz rules: thin marks, a baseline, recessive axes, population cream, "you" brass, labels in text tokens, hover tooltips) */
.t2-fig { margin:8px 0 4px; } .t2-fig svg { display:block; width:100%; height:auto; overflow:visible; }
.t2-key { display:flex; flex-wrap:wrap; gap:16px; margin-top:8px; color:var(--cream-3); }
.t2-key span { display:inline-flex; gap:6px; align-items:center; } .t2-key i { width:9px; height:9px; border-radius:50%; display:inline-block; background:var(--cream-3); }
.t2-key i.y { background:var(--brass); } .t2-key i.b, .t2-key i.pp { background:rgba(241,232,218,.55); } .t2-key i.op { background:var(--sage); }
svg .grid { stroke:rgba(241,232,218,.06); stroke-width:1; } svg .base { stroke:var(--line-3); stroke-width:1; }
svg .ax { fill:var(--cream-3); font-size:12px; font-family:var(--sans); } svg .axt { fill:var(--cream-2); font-size:12.5px; font-family:var(--sans); letter-spacing:.02em; }
svg .dl { fill:var(--cream); font-size:12.5px; font-family:var(--sans); font-weight:550; paint-order:stroke; stroke:var(--ink-2); stroke-width:3px; stroke-linejoin:round; }
.t2-matrix .zone { fill:rgba(156,195,160,.07); stroke:rgba(156,195,160,.25); stroke-dasharray:3 3; } .t2-matrix .zl { fill:var(--sage); font-size:12px; font-family:var(--sans); opacity:.9; } .t2-matrix .zl.bad { fill:var(--bad); opacity:.75; } .t2-matrix .avoid { stroke:rgba(229,138,128,.3); stroke-dasharray:4 4; }
.t2-matrix circle, .t2-pv circle { stroke:var(--ink-2); stroke-width:2; cursor:help; }
.t2-matrix .pp, .t2-pv .pp { fill:rgba(241,232,218,.5); } .t2-matrix .op { fill:var(--sage); } .t2-matrix .you, .t2-pv .you { fill:var(--brass); }
.t2-pv .you { opacity:.75; } .t2-pv .med { fill:none; stroke:rgba(241,232,218,.4); stroke-width:2; stroke-linejoin:round; }
.t2-hist { display:block; width:100%; height:auto; overflow:visible; } .t2-hist .bar { fill:rgba(241,232,218,.35); } .t2-hist .bar:hover { fill:rgba(241,232,218,.6); }
.t2-hist .iqr { fill:rgba(241,232,218,.05); } .t2-hist line.bm { stroke:var(--cream); stroke-width:1.5; stroke-dasharray:3 3; } .t2-hist line.you { stroke:var(--brass); stroke-width:2; }
.t2-hist .mk { font-size:12px; font-family:var(--sans); font-weight:600; } .t2-hist .mk.bm { fill:var(--cream-2); } .t2-hist .mk.you { fill:var(--brass); }
.t2-trend { display:block; width:100%; height:auto; max-height:150px; overflow:visible; } .t2-trend .tl polyline { fill:none; stroke-width:2; } .t2-trend .tl circle { stroke:var(--ink-2); stroke-width:2; }
.t2-trend .pornhub polyline { stroke:var(--brass); } .t2-trend .pornhub circle { fill:var(--brass); } .t2-trend .xvideos polyline { stroke:var(--brass-2); stroke-dasharray:4 3; } .t2-trend .xvideos circle { fill:var(--brass-2); }
.t2-rgs { display:flex; flex-direction:column; gap:8px; margin-top:14px; max-width:620px; }
.t2-rg, .t2-dot, .t2-bar { display:grid; grid-template-columns:150px minmax(0, 1fr) 118px; gap:12px; align-items:center; font-size:12.5px; }
.t2-rg .rl, .t2-dot .rl, .t2-bar .rl { color:var(--cream-2); min-width:0; } .t2-dot .rl .faint { font-size:11.5px; } .t2-rg .v, .t2-dot .v, .t2-bar .v { text-align:right; color:var(--cream); font-variant-numeric:tabular-nums; }
.t2-rg .trk, .t2-dot .trk, .t2-bar .trk { position:relative; height:14px; }
.t2-rg .trk::before, .t2-dot .trk::before { content:""; position:absolute; left:0; right:0; top:50%; height:1px; background:var(--line-2); }
.t2-rg .band { position:absolute; top:3px; height:8px; border-radius:4px; background:rgba(241,232,218,.4); cursor:help; } .t2-rg.you .band { background:var(--brass); }
.t2-rg .med { position:absolute; top:0; width:2px; height:14px; margin-left:-1px; background:var(--cream); } .t2-rg.you .med { background:var(--brass-ink); }
.t2-dots { display:flex; flex-direction:column; gap:10px; margin-top:12px; }
.t2-dot .trk i { position:absolute; top:50%; width:11px; height:11px; margin:-5.5px 0 0 -5.5px; border-radius:50%; border:2px solid var(--ink-2); cursor:help; }
.t2-dot .trk i.b { background:var(--cream-2); } .t2-dot .trk i.y { background:var(--brass); z-index:1; } .t2-dot .you { color:var(--brass); }
.t2-bars { display:flex; flex-direction:column; gap:7px; margin:10px 0; }
.t2-bar .trk i { position:absolute; left:0; top:2px; height:10px; border-radius:0 4px 4px 0; background:rgba(241,232,218,.4); cursor:help; } .t2-bar.own .trk i { background:var(--brass); } .t2-bar.own .rl { color:var(--cream); font-weight:600; }
.t2-bar .v .faint { font-size:11px; }
.t2-sm { display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap:12px; }
.t2-sm-c { padding:14px 16px; border:1px solid var(--line); border-radius:12px; background:var(--ink-3); display:flex; flex-direction:column; gap:7px; }
.t2-sm-h { display:flex; justify-content:space-between; gap:8px; align-items:baseline; margin-bottom:2px; } .t2-sm-h b { font-size:13.5px; font-weight:600; }
.t2-sm-b { display:grid; grid-template-columns:52px minmax(0, 1fr) 40px; gap:8px; align-items:center; font-size:11.5px; color:var(--cream-3); } .t2-sm-b b { text-align:right; font-weight:550; color:var(--cream); }
.t2-sm-b .trk { position:relative; background:rgba(241,232,218,.06); border-radius:3px; height:6px; } .t2-sm-b .trk i { position:absolute; left:0; top:0; bottom:0; border-radius:3px; background:rgba(241,232,218,.45); }
.t2-sm-b.ok .trk i { background:var(--sage); } .t2-sm-b.you .trk i { background:var(--brass); } .t2-sm-b.you b { color:var(--brass); }
.t2-meter { display:inline-block; min-width:52px; padding-bottom:3px; background:linear-gradient(var(--sage), var(--sage)) 0 100% / var(--p) 2px no-repeat, linear-gradient(rgba(241,232,218,.08), rgba(241,232,218,.08)) 0 100% / 100% 2px no-repeat; }
.t2-meter.wide { min-width:90px; text-align:left; background:linear-gradient(rgba(241,232,218,.45), rgba(241,232,218,.45)) 0 100% / var(--p) 3px no-repeat, linear-gradient(rgba(241,232,218,.06), rgba(241,232,218,.06)) 0 100% / 100% 3px no-repeat; }
.tc-own .t2-meter.wide { background:linear-gradient(var(--brass), var(--brass)) 0 100% / var(--p) 3px no-repeat; }
.t2-kv { display:flex; flex-wrap:wrap; gap:8px 28px; margin:0 0 10px; color:var(--cream-2); font-size:13px; } .t2-kv b { font-family:var(--serif); font-weight:400; font-size:26px; color:var(--cream); margin-right:4px; }
.t2-kv .you b { color:var(--brass); }
.t2-words { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.t2-w { display:inline-flex; gap:8px; align-items:baseline; padding:6px 11px; border-radius:999px; border:1px solid var(--line-2); font-size:13px; cursor:help; } .t2-w b { font-size:11.5px; color:var(--sage); font-weight:650; }
.t2-w.you { border-color:var(--brass-line); background:var(--brass-wash); }
.t2-two { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:0 18px; } .t2-two > section, .t2-two > div { min-width:0; }
.t2-two.wide { grid-template-columns:minmax(0, 1.5fr) minmax(0, 1fr); }
.t2-h2h { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:10px; margin-bottom:16px; } .t2-h2h .stat { padding:12px 14px; background:var(--ink-3); margin:0; } .t2-h2h .stat b { font-size:30px; }
.t2-pairs { max-width:680px; } .t2-pairs .t2-key { margin:0 0 4px; }
.t2-srow { display:grid; grid-template-columns:28px 1fr; gap:4px 10px; padding:10px 0; border-top:1px solid var(--line); font-size:13.5px; align-items:baseline; } .t2-srow:first-of-type { border-top:0; } .t2-srow .faint { grid-column:2; }
.t2-srow b { font-family:var(--serif); font-weight:400; font-size:22px; }
.t2-ver { font-family:var(--sans); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--sage); border:1px solid rgba(156,195,160,.4); border-radius:999px; padding:2px 8px; vertical-align:middle; cursor:help; }
.t2-surf { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:18px; } .t2-surf p { margin:4px 0; }
.t2-t { font-size:13px; } .t2-t thead th { position:sticky; top:0; background:var(--ink-2); z-index:1; } .t2-t td { height:40px; padding-top:6px; padding-bottom:6px; font-variant-numeric:tabular-nums; }
.t2-t th button { all:unset; cursor:pointer; } .t2-t th.on { color:var(--cream); } .t2-t th:focus-within { outline:1px solid var(--brass-line); }
.t2-t th.n, .t2-t td.n { text-align:right; white-space:nowrap; }
.t2-t .t2-grp th { border-bottom:0; padding-bottom:0; } .t2-t .t2-gh { text-align:center; color:var(--cream-2); border-bottom:1px solid var(--line-2); }
.t2-row { cursor:pointer; } .t2-row:hover td { background:rgba(241,232,218,.025); } .t2-row.open td { background:var(--brass-wash); } .faintrow td:first-child { color:var(--cream-2); }
.t2-x > td { background:var(--ink-3); padding:16px 18px !important; height:auto; } .t2-xd { display:grid; grid-template-columns:minmax(0, 1.3fr) minmax(0, 1fr); gap:24px; }
.t2-diff { font-size:12px; color:var(--cream-2); } .t2-diff.low { color:var(--sage); } .t2-diff.high { color:var(--bad); }
.t2-why { display:inline-flex; flex-wrap:wrap; gap:4px; } .t2-why span { font-size:11px; padding:1px 7px; border-radius:999px; border:1px solid var(--line-2); color:var(--cream-2); white-space:nowrap; }
.t2-why .ok { color:var(--sage); border-color:rgba(156,195,160,.35); } .t2-why .bad { color:var(--bad); border-color:rgba(229,138,128,.35); } .t2-why .warn { color:var(--amber); border-color:rgba(231,166,90,.35); }
.t2-pager { display:flex; gap:12px; align-items:center; justify-content:flex-end; margin-top:12px; }
.t2-up { display:flex; gap:8px; align-items:center; padding:10px 14px; border-radius:12px; border:1px solid var(--brass-line); background:var(--brass-wash); color:var(--cream); margin:0 0 var(--sp-in); }
.t2-cls { display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 12px; }
.t2-pend { display:flex; justify-content:space-between; gap:12px; align-items:center; padding:10px 0 0; font-size:13px; }
.t2-soon p { max-width:680px; color:var(--cream-2); } .t2-soonl { margin:12px 0; padding-left:18px; color:var(--cream-2); font-size:13.5px; line-height:1.7; max-width:680px; } .t2-soonl b { color:var(--cream); font-weight:600; }
.t2-dl { display:grid; grid-template-columns:130px 1fr; gap:8px 14px; margin:14px 0; font-size:13.5px; } .t2-dl dt { color:var(--cream-3); } .t2-dl dd { margin:0; color:var(--cream); }
.t2-brief { max-width:560px; }
.t2-ac { position:relative; flex:1 1 260px; min-width:0; display:flex; } .t2-ac input { width:100%; }
.t2-acl { position:absolute; left:0; right:0; top:calc(100% + 4px); z-index:30; display:flex; flex-direction:column; padding:6px; border-radius:12px; background:var(--ink-3); border:1px solid var(--line-2); box-shadow:var(--shadow); max-height:320px; overflow:auto; }
.t2-acl button { all:unset; cursor:pointer; padding:8px 10px; border-radius:8px; font-size:13.5px; color:var(--cream); } .t2-acl button:hover, .t2-acl button:focus { background:rgba(241,232,218,.06); }
.ti-card.on { border-color:var(--brass); }
.ti-sparkw { display:inline-flex; align-items:center; gap:8px; } .ti-sparkw b { font-size:12px; color:var(--cream-2); font-weight:550; } .ti-spark .base { stroke:var(--line-2); }
.t2-empty .empty { padding:30px 10px; }
.t2-main .ti-head h2 { font-size:var(--t-sec); margin:4px 0 6px; } .t2-chh { margin:0 0 18px; padding:0 0 16px; border-bottom:1px solid var(--line); }
.m-only { display:none; }
.t2-ctl > * { min-width:0; max-width:100%; }
.dx-bub.ti { white-space:pre-line; line-height:1.55; }
@media (max-width:1240px) { .t2-week { grid-template-columns:minmax(0, 1fr); grid-template-areas:"lead" "band" "plan" "aside"; } .t2-aside { display:grid; grid-template-columns:1fr 1fr; gap:14px; align-items:start; } .t2-band { grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media (max-width:980px) {
  .t2-wrap { grid-template-columns:minmax(0, 1fr); gap:0; } .t2-xd { grid-template-columns:1fr; } .t2-surf { grid-template-columns:1fr; }
  .t2-rail { position:sticky; top:56px; z-index:15; flex-direction:row; overflow-x:auto; scrollbar-width:none; margin:0 -16px var(--sp-in); padding:6px 16px; background:var(--ink); border-bottom:1px solid var(--line); gap:4px; }
  .t2-rail::-webkit-scrollbar { display:none; } .t2-rail a { flex:none; padding:7px 12px; font-size:13px; } .t2-rail a .ic { display:none; } .t2-rail a.on { box-shadow:inset 0 -2px 0 var(--brass); border-radius:8px 8px 0 0; }
  .t2-pr { grid-template-columns:minmax(0, 1.4fr) minmax(0, 1fr) 70px auto; } .t2-pr-r, .t2-pr-c { display:none; } .t2-lib.open .t2-pr-r { display:block; grid-column:1 / -1; }
}
@media (max-width:860px) {
  .t2-head { padding-top:18px; gap:10px; align-items:stretch; flex-direction:column; } .t2-tt h1 { font-size:34px; } .t2-tt .eyebrow { font-size:10.5px; }
  .t2-hr { flex-direction:row; align-items:center; justify-content:stretch; gap:8px; flex-wrap:nowrap; } .t2-pick { flex:1 1 0; } .t2-strip .mh { display:none; } .t2-pick .lab { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); } .t2-pick select { max-width:none; width:100%; }
  .t2-ask { flex:none; width:auto !important; justify-content:center; padding:0 11px; } .t2-ask .ic { margin:0; }
}
@media (max-width:620px) {   /* phone (Live QA 2026-10-29 M3): the site switch, the picker and "Ask the Director" stack, each full width, nothing clipped */
  .t2-head { min-width:0; } .t2-tt { min-width:0; } .t2-hr { flex-wrap:wrap; min-width:0; } .t2-hr > * { flex:1 1 100%; min-width:0; }
  .t2-site { display:flex; } .t2-site button { flex:1 1 0; justify-content:center; padding:0 8px; } .t2-pick:empty, #t2ask:empty { display:none; }
  #t2ask .t2-ask { width:100% !important; white-space:normal; }
}
@media (max-width:860px) {
  .t2-strip { margin:8px 0 14px; padding:8px 0 10px; font-size:11.5px; gap:2px 0; } .t2-strip > span:not(:first-child)::before, .t2-strip > details::before { margin:0 7px; } .t2-tier { margin-left:0; } .t2-legend > div { left:0; right:auto; width:min(320px, calc(100vw - 48px)); }
  .t2-lede { font-size:23px; } .t2-lead { margin-bottom:16px; } .t2-main .panel { padding:18px 16px; }
  .t2-band { gap:8px; margin-bottom:22px; } .t2-tile { padding:12px 13px 11px; border-radius:12px; } .t2-sl b { font-size:24px !important; } .t2-sl.big b { font-size:30px !important; } .t2-sl .u { font-size:11px !important; } .t2-tk { margin-bottom:6px; }
  .t2-tile .t2-mini-r { grid-template-columns:minmax(0, 1.6fr) minmax(32px, 1fr) 26px; gap:6px; font-size:11px; } .t2-tile .t2-mini-r .t2-mono { display:none; }
  .t2-tile .t2-chip { display:none; } .t2-tile.t2-pace .t2-chip { display:inline-flex; } .t2-cmp { padding-top:8px; font-size:11.5px; } .t2-blt-k span:last-child { display:none; } .t2-sl .ti-sparkw { display:none; }
  .t2-aside { grid-template-columns:1fr; } .t2-item { grid-template-columns:28px minmax(0, 1fr); padding:14px 14px 12px 10px; gap:0 8px; } .t2-n { font-size:24px; } .t2-ih { flex-direction:column; gap:6px; } .t2-ih h3 { font-size:18px; }
  .t2-lib { padding:12px 12px 12px 8px; } .t2-lib .t2-n { font-size:20px; padding-top:4px; }
  .t2-pr { grid-template-columns:minmax(0, 1fr) auto; gap:6px 10px; } .t2-pr h3 { white-space:normal; font-size:17px; } .t2-pr-s .small { white-space:normal; }
  .t2-pr-k { grid-column:1; } .t2-pr-o { grid-column:2; justify-self:end; text-align:right; } .t2-pr-r { display:block; grid-column:1 / -1; } .t2-pr-c { display:none; } .t2-lib .t2-pr button { grid-column:1 / -1; justify-self:stretch; justify-content:center; }
  .t2-lib:not(.open) .t2-pr-r { display:none; }
  .t2-act .t2-st { margin-left:0; width:100%; } .t2-act button, .t2-act .btn { flex:1 1 auto; justify-content:center; }
  .t2-two, .t2-two.wide { grid-template-columns:minmax(0, 1fr); } .t2-h2h { grid-template-columns:1fr 1fr; }
  .t2-rg, .t2-dot, .t2-bar { grid-template-columns:96px minmax(0, 1fr) 84px; gap:8px; font-size:12px; }
  .t2-q { width:100%; } .t2-ctl { flex-direction:column; align-items:stretch; } .t2-ctl .row { overflow-x:auto; flex-wrap:nowrap; scrollbar-width:none; } .t2-flt { flex-wrap:wrap !important; }
  .t2-t .m-hide { display:none; } .t2-t thead { display:none; } .tablewrap:has(.t2-t) { margin:0; padding:0; overflow:visible; }
  .t2-t, .t2-t tbody { display:block; } .t2-t tr { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:6px 10px; padding:12px 0; border-bottom:1px solid var(--line); }
  .t2-t td { display:block; height:auto; border:0; padding:0; text-align:left !important; } .t2-t td[data-l=""] { grid-column:1 / -1; font-weight:600; font-size:14px; white-space:normal; }
  .t2-t td[data-l]:not([data-l=""])::before { content:attr(data-l); display:block; font-size:10px; letter-spacing:.12em; text-transform:uppercase; color:var(--cream-3); font-weight:650; margin-bottom:2px; }
  .t2-t td.ti-title { max-width:none; } .t2-t tr.t2-x { display:block; } .t2-t tr.t2-x > td { padding:12px !important; }
  .t2-dl { grid-template-columns:1fr; gap:2px; } .t2-dl dd { margin-bottom:8px; }
  .m-only { display:inline; } .t2-t tr.tc-own { background:var(--brass-wash); border-radius:10px; padding:12px 10px; } .t2-t tr.tc-own td { background:none; }
  .t2-fig { overflow-x:auto; margin:8px -16px 4px; padding:0 16px; scrollbar-width:thin; } .t2-fig svg.t2-matrix, .t2-fig svg.t2-pv { min-width:640px; }
  .t2-hist { min-height:110px; }
  .t2-rcp { grid-template-columns:1fr 1fr 1fr; } .t2-rcp b { font-size:18px; } .t2-back li { grid-template-columns:1fr; }
  .t2-first { grid-template-columns:1fr; padding:24px 20px; gap:22px; } .t2-first h2 { font-size:27px; }
  .t2-tl-l span { font-size:10px; } .t2-tl-l span:nth-child(2) { display:none; }
}

/* Tube Insights per series (api/tube_scope.py): the All series tiles, the channel chips, the unlinked note, the series setup panel */
.t2-tiles { margin:0 0 var(--sp-in); } .t2-tiles-h { display:flex; align-items:baseline; gap:12px; margin-bottom:8px; flex-wrap:wrap; }
.t2-tiles-r { display:grid; grid-template-columns:repeat(auto-fill, minmax(190px, 1fr)); gap:10px; }
.t2-tile-s { display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-start; height:auto; min-height:64px; white-space:normal; gap:3px; text-align:left; min-width:0; padding:10px 12px; border:1px solid var(--line); border-radius:12px; background:var(--ink-2); color:var(--cream); cursor:pointer; font:inherit; }
.t2-tile-s:hover { border-color:var(--brass-line); } .t2-tile-s.on { border-color:var(--brass); background:var(--brass-wash); } .t2-tile-s b { font-size:14px; max-width:100%; } .t2-tile-s .num { font-weight:600; }
.t2-chans { display:flex; flex-wrap:wrap; gap:6px 14px; } .t2-chan { display:inline-flex; align-items:center; gap:6px; } .t2-ver { color:var(--brass); font-size:12px; }
.t2-unl { display:flex; gap:8px; align-items:flex-start; margin:0 0 var(--sp-in); padding:10px 12px; border:1px solid var(--line); border-radius:12px; background:var(--ink-2); color:var(--cream-2); } .t2-unl .ic { flex:none; margin-top:2px; }
.ti-sp { display:flex; flex-direction:column; gap:12px; }
.ti-sp-sites { display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:16px; } .ti-sp-sh { display:flex; align-items:center; gap:8px; margin-bottom:6px; }
.ti-sp-l { list-style:none; margin:0; padding:0; } .ti-sp-r { display:grid; grid-template-columns:minmax(0, 1fr) auto auto; justify-items:start; gap:6px 12px; align-items:center; padding:8px 0; border-bottom:1px solid var(--line); }
.ti-sp-n { display:flex; flex-direction:column; min-width:0; } .ti-sp-sp { grid-column:1 / -1; } .ti-sp-sp .row { margin-top:6px; }
.ti-sp .err { color:var(--bad, #e0745c); margin:6px 0 0; } .ti-sp .ti-add .row { flex-wrap:wrap; }
@media (max-width:640px) { .t2-tiles-r { grid-template-columns:repeat(2, minmax(0, 1fr)); } .ti-sp-r { grid-template-columns:minmax(0, 1fr) auto; } .ti-sp-v { grid-column:1; grid-row:2; } .ti-sp-r .lnkb { grid-column:2; grid-row:1 / 3; align-self:center; } .ti-sp .ti-add select, .ti-sp .ti-add .t2-ac { flex:1 1 100%; } .ti-sp .ti-add button[type=submit] { flex:1 1 100%; } }
@media (max-width:860px) { .series-edit { grid-template-columns:minmax(0, 1fr); } .series-edit > div, .series-edit > aside { min-width:0; } }   /* the series settings column shrinks to the phone (Tube Insights channels panel) */
.ti-sp-tubes { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; } .ti-sp-t { display:grid; grid-template-columns:auto 90px minmax(0, 1fr); gap:6px 10px; align-items:center; }
.ti-sp-t > .ti-sp-l, .ti-sp-t > .ti-sp-in, .ti-sp-t > span.faint { grid-column:3; } .ti-sp-in { display:flex; gap:8px; min-width:0; } .ti-sp-in input { min-width:0; } .ti-sp-kw { margin-top:12px; } .ti-sp-ke, .ti-sp-more { margin-top:8px; } .ti-sp-more > summary, .ti-sp-ke > summary { cursor:pointer; }
@media (max-width:640px) { .ti-sp-t { grid-template-columns:auto minmax(0, 1fr); } .ti-sp-t > .ti-sp-l, .ti-sp-t > .ti-sp-in, .ti-sp-t > span.faint { grid-column:1 / -1; } }
.ti-sp-aim { margin-top:12px; display:flex; flex-wrap:wrap; gap:6px; align-items:baseline; } .ti-sp-aim form { flex-basis:100%; }
