/* Zero Take online: home (sign-in, scripts) and the invite list. Same colours as Script. */
[hidden] { display: none !important; }
:root {
  --bg: #f4f5f7; --surface: #fff; --line: #e0e3ea; --fg: #1b1f29; --muted: #6a7180; --accent: #2f55c9; --err: #c2372f;
  --draft: #6a7180; --review: #b26a00; --approved: #1a8a52; --f: Figtree, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #111419; --surface: #191d25; --line: #2a303d; --fg: #e7eaf1; --muted: #99a1b2; --accent: #7d9bff; --err: #ff8a94;
  --draft: #99a1b2; --review: #ffb547; --approved: #4fd38f; color-scheme: dark;
} }
:root[data-theme="dark"] {
  --bg: #111419; --surface: #191d25; --line: #2a303d; --fg: #e7eaf1; --muted: #99a1b2; --accent: #7d9bff; --err: #ff8a94;
  --draft: #99a1b2; --review: #ffb547; --approved: #4fd38f; color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--fg); font: 14.5px/1.5 var(--f); -webkit-font-smoothing: antialiased; min-height: 100vh; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); }
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 10px max(16px, env(safe-area-inset-left)); background: var(--surface); border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; font-size: 16px; letter-spacing: -.01em; text-decoration: none; color: var(--fg); display: flex; align-items: center; gap: 8px; }
.brand img { width: 22px; height: 22px; border-radius: 6px; }
.brand small { font-weight: 600; font-size: 11px; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 99px; padding: 0 7px; }
.spacer { flex: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: var(--btn-fw, 600) 13.5px var(--f); padding: var(--btn-py, 7px) var(--btn-px, 13px); border-radius: var(--btn-r, 8px); border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover:not(:disabled) { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.btn.pri { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.ghost { background: none; border-color: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--fg); }
.btn.danger { color: var(--err); }
.btn:disabled { opacity: .5; cursor: default; }
.icon { width: 34px; padding: 7px 0; }
.wrap { width: min(980px, 100%); margin: 0 auto; padding: 24px 16px 60px; }
h1 { font-size: 24px; letter-spacing: -.02em; margin: 0; }
.sub { color: var(--muted); margin: 4px 0 0; }
.err { color: var(--err); font-weight: 600; font-size: 13.5px; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 50; background: var(--fg); color: var(--bg); font-weight: 600; font-size: 13.5px; padding: 9px 16px; border-radius: var(--toast-r, 9px); box-shadow: 0 8px 24px #0004; max-width: 90vw; }
.toast.bad { background: var(--err); color: #fff; }

/* sign-in */
.silogo { display: block; width: 48px; height: 48px; border-radius: 12px; margin-bottom: 4px; }
.signin { min-height: calc(100vh - 56px); display: grid; place-items: center; padding: 24px 16px; }
.card { width: min(400px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: var(--dlg-r, 16px); padding: 28px 24px; box-shadow: 0 12px 40px #0000000f; }
.card h1 { font-size: 22px; margin-bottom: 4px; }
.card form { display: grid; gap: 12px; margin-top: 20px; }
.card label { display: grid; gap: 5px; font-weight: 600; font-size: 13px; }
.field { width: 100%; font-size: 15.5px; padding: 10px 12px; border-radius: var(--field-r, 9px); border: 1px solid var(--line); background: var(--bg); }
.field:focus { outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 0; }
.code { font: 700 26px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .4em; text-align: center; }
.card .btn { padding: 11px; font-size: 15px; }
.note { color: var(--muted); font-size: 12.5px; margin: 14px 0 0; }

/* scripts */
.head { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.head .grow { flex: 1; min-width: 200px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.chip { font: 600 12.5px var(--f); padding: 5px 11px; border-radius: var(--chip-r, 99px); border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip b { font-weight: 700; margin-left: 4px; opacity: .7; }
.list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--card-r, 12px); overflow: hidden; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: center; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row:hover { background: color-mix(in srgb, var(--accent) 5%, transparent); }
.row .t { font-weight: 650; font-size: 15px; color: var(--fg); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 9px; min-width: 0; }
.row .t span { overflow: hidden; text-overflow: ellipsis; }
.row .t:hover span { text-decoration: underline; }
.row .m { color: var(--muted); font-size: 12.5px; grid-column: 1; }
.row .acts { grid-row: 1 / span 2; grid-column: 2; display: flex; gap: 6px; }
.st { flex: none; font: 700 11px var(--f); text-transform: uppercase; letter-spacing: .04em; padding: 2px 8px; border-radius: 99px; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.st.draft { --c: var(--draft); } .st.review { --c: var(--review); } .st.approved { --c: var(--approved); }
.empty { padding: 44px 16px; text-align: center; color: var(--muted); }
.menu { position: fixed; z-index: 30; min-width: 190px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--menu-r, 10px); box-shadow: 0 12px 36px #0003; padding: 5px; }
.menu button { display: block; width: 100%; text-align: left; background: none; border: 0; border-radius: 6px; padding: 8px 10px; font: 500 13.5px var(--f); color: var(--fg); cursor: pointer; }
.menu button:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.menu .danger { color: var(--err); }
.menu .who { padding: 6px 10px 8px; font-size: 12.5px; color: var(--muted); border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.menu .who b { display: block; color: var(--fg); font-size: 13.5px; }
.dlg { position: fixed; inset: 0; z-index: 40; background: #0007; display: grid; place-items: center; padding: 16px; }
.dlg .card { display: grid; gap: 12px; }
.dlg .card h2 { margin: 0; font-size: 18px; }
.dlg .btns { display: flex; justify-content: flex-end; gap: 8px; }

/* Scripts · Record tabs in the top bar */
.tabs { display: flex; gap: 4px; margin-left: 10px; }
.tabs a { font-weight: 600; font-size: 13.5px; color: var(--muted); text-decoration: none; padding: 6px 11px; border-radius: 8px; }
.tabs a.on { color: var(--fg); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.tabs a:hover { color: var(--fg); }

/* invite list */
.people { background: var(--surface); border: 1px solid var(--line); border-radius: var(--card-r, 12px); }
.person { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.person:last-child { border-bottom: 0; }
.av { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; }
.person .who { flex: 1; min-width: 180px; }
.person .who b { display: block; }
.person .who small { color: var(--muted); }
.tag { font: 700 11px var(--f); text-transform: uppercase; letter-spacing: .04em; color: var(--accent); }
.addRow { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.addRow .field { flex: 1; min-width: 180px; font-size: 14.5px; padding: 8px 11px; }
.meter { display: flex; gap: 4px; margin: 8px 0 18px; }
.meter i { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.meter i.on { background: var(--accent); }
.linkBox { display: flex; gap: 6px; margin-top: 8px; width: 100%; }
.linkBox input { flex: 1; min-width: 0; font: 12.5px ui-monospace, Menlo, monospace; padding: 7px 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--bg); }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } .row .acts { grid-row: auto; grid-column: 1; } .hideS { display: none; } }

/* home: the two tools */
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin-bottom: 30px; }
.tool { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 6px 16px; align-items: start; padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.tool:hover { border-color: color-mix(in srgb, var(--c, var(--accent)) 60%, var(--line)); transform: translateY(-2px); box-shadow: 0 12px 30px #00000014; }
.tool .ti { grid-row: span 2; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.tool .ti svg { width: 28px; height: 28px; }
.tool .tt b { display: block; font-size: 19px; margin-bottom: 4px; } .tool .tt span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.tool .go { grid-column: 2; justify-self: start; margin-top: 8px; font: 600 13.5px var(--f); color: #fff; background: var(--accent); border-radius: 8px; padding: 7px 13px; }
.head.lh { margin-bottom: 10px; } .head.lh h2 { margin: 0; font-size: 18px; }
.st.demo { --c: #e5485e; }

/* home: project cards (kept quiet: name, what's in it, last edit) */
.pbar { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.find { width: min(260px, 100%); font-size: 14px; padding: 7px 11px; background: var(--surface); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; padding: 2px; background: var(--surface); }
.seg button { border: 0; background: none; font: 600 12.5px var(--f); color: var(--muted); padding: 5px 10px; border-radius: 6px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--bg); color: var(--fg); }
.sortS { font: 600 12.5px var(--f); padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.pgrid > .empty { grid-column: 1 / -1; }
.pcard { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: var(--card-r, 12px); background: var(--surface); transition: border-color .15s; }
.pcard:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.pdot { flex: none; width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; font: 700 13px var(--f); color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); }
.pinfo { min-width: 0; flex: 1; }
.pt { display: block; font-weight: 650; font-size: 14.5px; color: var(--fg); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 26px; }
.pt::after { content: ""; position: absolute; inset: 0; }   /* the whole card opens the project */
.pm { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pmore { position: absolute; right: 8px; top: 10px; z-index: 1; width: 28px; padding: 3px 0; border-color: transparent; background: none; opacity: 0; }
.pcard:hover .pmore, .pmore:focus-visible { opacity: 1; }
@media (hover: none) { .pmore { opacity: 1; } }
.pnew { flex-direction: column; align-items: center; justify-content: center; gap: 2px; grid-column: 1 / -1; padding: 40px 16px; border-style: dashed; color: var(--fg); cursor: pointer; font: inherit; text-align: center; }
.pnew .plus { font-size: 24px; color: var(--accent); line-height: 1; }
@media (max-width: 600px) { .pbar { flex-wrap: wrap; } .find { width: 100%; } }

/* project page */
.crumb { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.crumb a { color: var(--muted); text-decoration: none; font-weight: 600; } .crumb a:hover { color: var(--fg); }
.ptitle { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.arch { font: 700 11px var(--f); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 2px 8px; }
.sec { margin-top: 26px; }
.sec .shead { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.sec .shead h2 { margin: 0; font-size: 17px; flex: 1; display: flex; align-items: center; gap: 8px; }
.sec .shead h2 .n { font: 700 12px var(--f); color: var(--muted); background: var(--line); border-radius: 99px; padding: 1px 8px; }
.sec .shead .ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); font-size: 14px; }
.sec .empty { padding: 22px 16px; font-size: 13.5px; }
.opt { font-weight: 500; color: var(--muted); font-size: 12px; }

/* phones: the top bar fits (Projects is one tap away from every page's ← link) */
@media (max-width: 640px) { .top .tabs { display: none !important; } .brand small { display: none; } .top { gap: 6px; } }

/* NEW badge on new features */
.newb { display: inline-flex; align-items: center; font: 700 9.5px/1 var(--f); letter-spacing: .06em; color: #fff; background: var(--accent); border-radius: 99px; padding: 3px 6px; vertical-align: middle; flex: none; }

/* a one-line note on the home page (e.g. add your department) */
.nudge { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); background: color-mix(in srgb, var(--accent) 7%, var(--surface)); border-radius: 12px; font-size: 14px; }

/* name menu groups and the Roadmap button */
.menu .msec { font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding: 10px 10px 3px; }
.menu .msep { height: 1px; background: var(--line); margin: 6px 0; }
.roadb { font-weight: 600; }
@media (max-width: 760px) { .roadb span { display: none; } }
.roadb { border-color: transparent !important; background: none !important; color: var(--muted) !important; }
.roadb:hover { color: var(--fg) !important; }

/* the Admin area: a side menu (Team, Demo account, Activity, Usage, Ideas, Storage) and the page beside it */
main.adm { display: grid; grid-template-columns: 196px minmax(0, 1fr); column-gap: 32px; max-width: calc(var(--aw, 860px) + 228px); align-items: start; }
main.adm > .crumb { grid-column: 1 / -1; }
main.adm > .abody { min-width: 0; max-width: var(--aw, 860px); }
.aside { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 2px; padding-top: 4px; }
.aside .ah { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0 10px 8px; }
.aside a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.aside a i { font-style: normal; width: 18px; text-align: center; }
.aside a:hover { color: var(--fg); background: var(--surface); }
.aside a.on { color: var(--fg); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.aside a[hidden] { display: none; }
main.adm.solo { display: block; max-width: var(--aw, 860px); }
main.adm.solo > .aside { display: none; }
@media (max-width: 820px) {
  main.adm { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; flex-direction: row; overflow-x: auto; gap: 4px; padding: 4px; margin: 0 0 16px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
  .aside .ah { display: none; }
  .aside a { padding: 6px 10px; font-size: 13.5px; }
}

/* name button: this month's credits; Account settings sub-menu */
#whoBtn .wcr { font: 600 12px var(--f); font-variant-numeric: tabular-nums; color: var(--muted); background: color-mix(in srgb, var(--accent) 10%, transparent); border-radius: 99px; padding: 2px 7px; margin-left: 2px; cursor: pointer; }
#whoBtn .wcr:hover { color: var(--accent); }
.menu .mchev { float: right; color: var(--muted); }
.menu .mval { float: right; padding-left: 14px; color: var(--muted); font-size: 12.5px; }
.menu .mback { font-weight: 600; color: var(--muted); }
.menu .mnew { float: right; font: 700 10px/1 var(--f); letter-spacing: .04em; background: #ef4444; color: #fff; border-radius: 99px; padding: 4px 6px; margin-top: 1px; }

/* top bar: section links next to the logo (web.js navLinks) */
.tnavs { display: flex; gap: 2px; margin-left: 6px; }
.tnav { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 8px; font-weight: 600; font-size: 13.5px; color: var(--muted); text-decoration: none; }
.tnav:hover { color: var(--fg); background: color-mix(in srgb, var(--fg) 5%, transparent); }
.tnav.on { color: var(--fg); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.tnav:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 760px) { .tnav span { display: none; } .tnav { padding: 6px 8px; } .tnavs { margin-left: 0; } }
@media (max-width: 520px) { .brand small { display: none; } header.top .brand { font-size: 0; gap: 0; } }

/* Demo Suite home: Start something (one task on its own, or a new project) */
.starts { margin: 4px 0 8px; display: grid; gap: 16px; }
.startsH { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.startsH h2 { margin: 0; font-size: 17px; }
.startsH .sub { margin: 0; font-size: 13px; }
.sgroups { display: grid; gap: 16px; }
.sgroup h3 { margin: 0 0 8px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.sgwrap { display: flex; flex-wrap: wrap; gap: 18px 22px; }
.sgrid { display: grid; grid-auto-flow: column; grid-auto-columns: 212px; gap: 10px; }
.stile { all: unset; box-sizing: border-box; cursor: pointer; display: grid; align-content: start; gap: 3px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .15s, transform .15s, box-shadow .15s; }
.stile:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); transform: translateY(-1px); box-shadow: 0 6px 18px #0000000d; }
.stile:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.stile .si { font-size: 20px; line-height: 1.2; margin-bottom: 4px; }
.stile b { font-size: 14px; }
.stile span:not(.si) { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.stile.snew { border-style: dashed; }
.stile.snew .si { color: var(--accent); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .stile { transition: none; } .stile:hover { transform: none; } }
@media (max-width: 760px) { .sgwrap { display: grid; } .sgrid { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); } }
@media (max-width: 520px) { .sgrid { grid-template-columns: 1fr 1fr; gap: 8px; } .stile { padding: 12px; } .stile span:not(.si) { display: none; } }
@media (max-width: 520px) { header.top { gap: 6px; } .tnavs { gap: 0; } .tnav { padding: 6px 7px; } .roadb { display: none !important; } #whoBtn .wcr { display: none; } }

/* Grid / List switch (ZTW.layoutSwitch) and the list view of the Projects, Script, Screen recorder and Video review pages */
.lay { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; padding: 2px; background: var(--surface); flex: none; }
.lay button { width: 30px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 6px; background: none; color: var(--muted); cursor: pointer; }
.lay button svg { width: 15px; height: 15px; fill: currentColor; }
.lay button[aria-pressed="true"] { background: var(--bg); color: var(--fg); }
.lay button:hover { color: var(--fg); } .lay button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
/* Projects */
.pgrid.list { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.pgrid.list .pcard { align-items: center; padding: 10px 12px 10px 14px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.pgrid.list .pcard:last-child { border-bottom: 0; }
.pgrid.list .pcard:hover { background: color-mix(in srgb, var(--fg) 3%, var(--surface)); }
.pgrid.list .pdot { width: 30px; height: 30px; font-size: 11.5px; border-radius: 8px; }
.pgrid.list .pinfo { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .8fr); gap: 0 16px; align-items: center; }
.pgrid.list .pt { padding-right: 0; }
.pgrid.list .pmore { position: static; opacity: 1; flex: none; }
.pgrid.list .pnew { margin: 0; border: 0; border-radius: 0; }
/* Script */
.sgridx.list { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sgridx.list .scard { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.5fr) auto; align-items: center; gap: 0 16px; padding: 9px 12px 9px 14px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.sgridx.list .scard:last-child { border-bottom: 0; }
.sgridx.list .scard:hover { background: color-mix(in srgb, var(--fg) 3%, var(--surface)); }
.sgridx.list .sh a { font-size: 14px; }
.sgridx.list .sp { height: auto; -webkit-line-clamp: 1; line-clamp: 1; border-left: 0; padding-left: 0; }
.sgridx.list .sm { flex-wrap: nowrap; white-space: nowrap; }
.sgridx.list .sm .spacer { display: none; }
/* Screen recorder */
.vgrid.list { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.vgrid.list .vcard { flex-direction: row; align-items: center; gap: 14px; padding: 8px 12px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.vgrid.list .vcard:last-child { border-bottom: 0; }
.vgrid.list .vcard:hover { background: color-mix(in srgb, var(--fg) 3%, var(--surface)); }
.vgrid.list .vth { width: 112px; flex: none; border-radius: 6px; overflow: hidden; }
.vgrid.list .vth .d { right: 4px; bottom: 4px; font-size: 10.5px; padding: 1px 4px; }
.vgrid.list .vth .pl { font-size: 18px; }
.vgrid.list .vb { flex: 1; min-width: 0; padding: 0; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: center; gap: 0 16px; }
/* Video review starts as a list; Grid shows big cards */
.rlist.grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.rlist.grid .rcard { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 10px; padding: 10px 10px 12px; }
.rlist.grid .rth { font-size: 30px; }
.rlist.grid .racts { position: absolute; right: 8px; bottom: 8px; }
.rlist.grid .rm { padding-right: 34px; }
@media (max-width: 700px) {
  .pgrid.list .pinfo { grid-template-columns: minmax(0, 1fr); }
  .sgridx.list .scard { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .sgridx.list .sm { flex-wrap: wrap; white-space: normal; }
  .vgrid.list .vth { width: 84px; }
  .vgrid.list .vb { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}


/* sign-in (React home, ui/home/SignIn.tsx) */
.signin .keep{margin:2px 0 0;font-size:12.5px;color:var(--muted,#8b93a3);text-align:center}
.signin .siRow{display:flex;justify-content:space-between;gap:8px}
