/* Spenkey AI shared styles: the website, the sign-in screens and the public pages. */
/* The shared loader: shown on a refresh of a workspace address, and for any other wait that calls loading() in site.js. */
.loader{display:none;position:fixed;inset:0;z-index:70;background:var(--bg);flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center}
.loader.is-on,html.is-booting .loader{display:flex}
.loader p{margin:0;font-size:15px;color:var(--muted)}
.loader .spin{width:36px;height:36px;border:3px solid var(--line);border-top-color:#1B4332;border-radius:50%;animation:loader-spin .8s linear infinite}
@keyframes loader-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.loader .spin{animation-duration:3s}}
html.is-booting body>:not(.loader){display:none!important}
html,body{height:100%}body{margin:0}img{max-width:100%}[hidden]{display:none!important}.popup-back{position:fixed;inset:0;background:rgba(12,22,16,.55);display:grid;place-items:center;z-index:60;padding:16px}
.popup-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:26px;max-width:460px;width:100%;display:flex;flex-direction:column;gap:14px;box-shadow:0 24px 60px rgba(0,0,0,.25)}
.popup-card h2{margin:0}
.popup-card.wide{max-width:680px;max-height:90vh;overflow:auto}
.ex-page{display:flex;flex-direction:column;gap:18px}
.ex-hero{display:flex;flex-wrap:wrap;gap:22px;align-items:center;justify-content:space-between;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:22px 24px}
.ex-who{display:flex;gap:18px;align-items:center;min-width:0;flex:1 1 320px}
.ex-who .avatar{width:76px;height:76px;flex:none;font-size:1.9rem}
.ex-sub{margin:4px 0 0;color:var(--muted)}
.ex-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.ex-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;flex:1 1 440px}
.ex-stat{background:var(--bg);border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:6px;min-width:0}
.ex-stat-value{font-weight:600;font-size:1.05rem;overflow-wrap:anywhere}
.ex-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px}
.ex-card{grid-column:span 6;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:22px;display:flex;flex-direction:column;gap:14px;min-width:0}
.ex-card.ex-full{grid-column:1 / -1}
.ex-card h2{margin:0;font-size:1.05rem}
.ex-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;margin:0}
.ex-facts > div{display:flex;flex-direction:column;gap:3px;min-width:0}
.ex-facts dt{font-size:.74rem;font-weight:600;text-transform:uppercase;letter-spacing:.12em;color:var(--muted)}
.ex-facts dd{margin:0;overflow-wrap:anywhere}
.ex-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ex-score{display:flex;flex-direction:column;gap:8px}
.ex-note{margin:0;padding:10px 14px;border-radius:12px;background:var(--bg)}
.ex-card details summary{cursor:pointer;font-weight:600}
.ex-card details ul,.ex-card > ul{margin:8px 0 0;padding-left:18px;display:grid;gap:4px}
.ex-bar{position:sticky;bottom:12px;z-index:4;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:12px 16px;box-shadow:0 10px 30px rgba(0,0,0,.14)}
.ex-bar-label{font-weight:600}
.pj-tabs{display:flex;flex-wrap:wrap;gap:8px}
.pj-tab{border:1px solid var(--line);background:transparent;color:var(--ink);border-radius:999px;padding:7px 16px;font:inherit;font-weight:600;cursor:pointer}
.pj-tab[aria-selected="true"]{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.ex-compose{display:flex;flex-direction:column;gap:12px}
.ex-compose .inp{width:100%;font:inherit;color:inherit}
.ex-compose textarea{width:100%;min-height:110px;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:10px 14px;font:inherit;color:inherit}
@media (max-width:860px){.ex-card{grid-column:1 / -1}.ex-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ex-facts{grid-template-columns:minmax(0,1fr)}}
.pop-msg{white-space:pre-line;color:var(--ink);line-height:1.5}
.pick{display:flex;flex-direction:column;gap:6px;max-height:220px;overflow:auto;border:1px solid var(--line);border-radius:12px;padding:10px}
.pick .agree{align-items:center}
.lock{border-color:var(--warn)}
.lock p{margin:0}
.pop-preview{display:flex;flex-direction:column;gap:8px}
.pop-card-preview{background:var(--raised);border:1px solid var(--line);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.pop-card-preview h3{margin:0}
.pop-card-preview p{margin:0;white-space:pre-line}
.notes p.unread{font-weight:600}


/* Skip link: hidden until a keyboard user tabs to it. */
.skip-link{position:absolute;left:12px;top:-100px;z-index:100;background:var(--accent);color:var(--on-accent);padding:10px 16px;border-radius:10px;font-weight:600;text-decoration:none}
.skip-link:focus{top:12px}
/* Layout: a calm one-column front page (slogan, one big join button, role cards); a warm beige sidebar workspace.
   Earlier notes: warm beige sidebar (wordmark, role, page links) beside a beige work area with green and gold accents.
   One short page at a time: a calm Home, and the detail on its own pages. */
:root{
  color-scheme:light;
  --bg:#F7EEDC; --surface:#FFFAF0; --raised:#F1E4CC; --line:#E3D4B6; --ink:#1B2A21; --muted:#6A6552; --mint-text:#1E6E4C;
  --sand:#F1DDB6; --on-sand:#12382A; --wash:#F0DBAC;
  --hero:#0F3B2A; --on-hero:#F6EEDC; --hero-2:#1B4E3A; --hero-line:#3E7A60;
  --accent:#1D6F47; --on-accent:#FFFAF0;
  --s1:#2F8F5F; --s2:#17603C; --s3:#78BA91;
  --good:#1B7A4B; --warn:#8A5A00; --bad:#B03A2E;
  --side-1:#F8EEDB; --side-2:#F0E0C2; --side-wash:#C5D0AE; --side-ink:#12382A; --side-muted:#666250;
  --side-line:#D8C39A; --side-hover:#EBDABA; --side-pill:#FFF9EC; --mint:#2FA06F;
  --seal-1:#1F5E42; --seal-2:#0A2E20; --gold-1:#F6E7BB; --gold-2:#B8935A;
  --display:"Cormorant Garamond","Iowan Old Style","Palatino Linotype",Georgia,serif;
  --body:"Source Sans 3","Segoe UI",system-ui,-apple-system,sans-serif;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    color-scheme:dark;
    --bg:#14160F; --surface:#1C1F16; --raised:#262A1E; --line:#3B3F2E; --ink:#F2EBD8; --muted:#B5AE96; --mint-text:#7FD6A8;
    --sand:#DCC89C; --on-sand:#12281D; --wash:#2A2A18;
    --hero:#1C5A3E; --on-hero:#F6EEDC; --hero-2:#256B4B; --hero-line:#4C9273;
    --accent:#58BC8B; --on-accent:#07170F;
    --s1:#4FB584; --s2:#A9DFC0; --s3:#2C7D55;
    --good:#5CCB92; --warn:#E3B45A; --bad:#F0877B;
    --side-1:#1A1D14; --side-2:#22271B; --side-wash:#1D4A36; --side-ink:#F2EBD8; --side-muted:#B5AE96;
    --side-line:#4A4A34; --side-hover:#2B3023; --side-pill:#333A29; --mint:#7FD3A6;
  }
}
:root[data-theme="dark"]{
  color-scheme:dark;
  --bg:#14160F; --surface:#1C1F16; --raised:#262A1E; --line:#3B3F2E; --ink:#F2EBD8; --muted:#B5AE96; --mint-text:#7FD6A8;
  --sand:#DCC89C; --on-sand:#12281D; --wash:#2A2A18;
  --hero:#1C5A3E; --on-hero:#F6EEDC; --hero-2:#256B4B; --hero-line:#4C9273;
  --accent:#58BC8B; --on-accent:#07170F;
  --s1:#4FB584; --s2:#A9DFC0; --s3:#2C7D55;
  --good:#5CCB92; --warn:#E3B45A; --bad:#F0877B;
  --side-1:#1A1D14; --side-2:#22271B; --side-wash:#1D4A36; --side-ink:#F2EBD8; --side-muted:#B5AE96;
  --side-line:#4A4A34; --side-hover:#2B3023; --side-pill:#333A29; --mint:#7FD3A6;
}
*{box-sizing:border-box}
body{background:var(--bg);color:var(--ink);font-family:var(--body);font-size:16px;line-height:1.5}
h1,h2,h3,p{margin:0}
h1{font-family:var(--display);font-weight:700;font-size:clamp(2.1rem,4vw,3rem);line-height:1.05;text-wrap:balance}
h1 em{font-style:normal;color:var(--accent)}
h2{font-family:var(--display);font-weight:700;font-size:1.45rem;line-height:1.15}
h3{font-size:1.05rem;font-weight:600}
button,select,input{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.label{font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.14em;color:var(--muted)}
.muted{color:var(--muted)} .small{font-size:.9rem}
.num{font-variant-numeric:tabular-nums lining-nums}
svg.ic{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

.shell{display:grid;grid-template-columns:268px minmax(0,1fr);min-height:100%}
aside{color:var(--side-ink);padding:26px 18px;display:flex;flex-direction:column;gap:22px;border-right:1px solid var(--side-line);
  background:radial-gradient(90% 45% at 115% 102%,var(--side-wash) 0%,transparent 70%),radial-gradient(70% 28% at 112% -6%,var(--side-wash) 0%,transparent 70%),linear-gradient(170deg,var(--side-1),var(--side-2))}
aside .label{color:var(--side-muted);padding-left:10px}
.brand{display:flex;align-items:center;gap:12px;padding-bottom:20px;border-bottom:1px solid var(--gold-2)}
/* The dashboard logo is a link back to the front page, and sits a little further left than the menu below it. */
.shell aside > a.brand{margin-left:-6px;color:inherit;text-decoration:none;border-radius:8px}
.shell aside > a.brand:focus-visible{outline:2px solid var(--gold-2);outline-offset:3px}
.side-copy{margin-top:auto;padding-top:16px;border-top:1px solid var(--side-line);color:var(--side-muted);font-size:.82rem}
.seal{width:52px;height:52px;flex:none;filter:drop-shadow(0 3px 5px rgba(40,30,0,.25))}
.wm{display:flex;align-items:center;gap:10px;line-height:1}
.wm-name{font-family:var(--display);font-weight:700;font-size:2.05rem;color:var(--side-ink)}
.wm-ai{font-weight:600;font-size:1.1rem;letter-spacing:.06em;padding-left:10px;border-left:1px solid var(--gold-2);color:var(--accent)}
.menu{display:flex;flex-direction:column;gap:4px}
.menu button{display:flex;align-items:center;gap:12px;border:0;background:transparent;text-align:left;padding:11px 12px;border-radius:10px;cursor:pointer;color:var(--side-ink);font-weight:500;width:100%}
.menu button:hover{background:var(--side-hover)}
#roles .me{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:10px;background:var(--side-pill);font-weight:600;box-shadow:inset 5px 0 0 var(--hero),0 6px 16px rgba(60,40,0,.14)}
#pages button{color:var(--side-muted)}
#pages button:hover{color:var(--side-ink)}
#pages button[aria-current="page"]{color:var(--side-ink);background:var(--side-hover);font-weight:600;box-shadow:inset 3px 0 0 var(--gold-2)}
.rule{height:1px;background:var(--side-line);border:0;margin:0}

main{padding:18px 36px 56px;min-width:0;display:flex;flex-direction:column;gap:26px;background:radial-gradient(55% 340px at 100% 0%,var(--wash),transparent 75%)}
.topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding-bottom:14px;border-bottom:1px solid var(--line);position:relative}
.topbar .right{display:flex;align-items:center;gap:12px}
.bell{border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:6px 14px;cursor:pointer;display:flex;gap:8px;align-items:center}
.bell b{background:var(--accent);color:var(--on-accent);border-radius:999px;font-size:.76rem;padding:0 7px;font-weight:600}
.who{display:flex;align-items:center;gap:8px;font-size:.94rem}
.acct-menu{position:relative}
.acct-btn{border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:4px 12px 4px 4px;cursor:pointer;display:flex;gap:8px;align-items:center;font:inherit;color:inherit}
.acct-btn i{width:30px;height:30px;border-radius:50%;background:var(--hero);color:var(--on-hero);display:grid;place-items:center;font-style:normal;font-family:var(--display);font-weight:700;font-size:1rem;background-size:cover;background-position:center}
.acct-caret{font-size:.8rem;color:var(--muted)}
.acct-panel{position:absolute;right:0;top:calc(100% + 8px);z-index:40;width:min(330px,92vw);background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 32px rgba(0,0,0,.14);padding:8px}
.acct-head{padding:10px 12px 12px;border-bottom:1px solid var(--line);margin-bottom:6px}
.acct-head p{margin:2px 0}
.acct-name{font-weight:600}
.acct-id{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px;font-size:.9rem}
.acct-id strong{overflow-wrap:anywhere}
.acct-item{display:block;width:100%;text-align:left;background:none;border:0;border-radius:8px;padding:9px 12px;font:inherit;color:inherit;cursor:pointer}
.acct-item:hover,.acct-item:focus-visible{background:var(--side-pill)}
.who i{width:34px;height:34px;border-radius:50%;background:var(--hero);color:var(--on-hero);display:grid;place-items:center;font-style:normal;font-family:var(--display);font-weight:700;font-size:1.05rem}
.bell-menu{position:relative}
.notes{position:absolute;right:0;top:calc(100% + 8px);z-index:40;width:min(360px,92vw);max-height:70vh;overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:6px 16px;box-shadow:0 10px 30px rgba(0,0,0,.18)}
.notes p{padding-block:10px;border-top:1px solid var(--line);font-size:.94rem}
.notes p:first-child{border-top:0}
/* The team's to-do items: the row opens the page to act on, and Done takes it off the list. */
.notes .nrow{display:flex;gap:8px;align-items:center;border-top:1px solid var(--line);padding:6px 0}
.notes .nrow:first-child{border-top:0}
.notes .nrow-go{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;text-align:left;background:none;border:0;border-radius:8px;padding:6px 6px;font:inherit;color:var(--ink);cursor:pointer}
.notes .nrow-go:hover,.notes .nrow-go:focus-visible{background:var(--bg)}
.notes .nrow-text{font-size:.94rem;font-weight:600}
.notes .nrow-act{font-size:.84rem;color:var(--accent)}
.stage{font-weight:600;color:var(--accent);margin:4px 0}
.notes .nrow-done{flex:none;border:1px solid var(--line);background:transparent;border-radius:999px;padding:4px 12px;font:inherit;font-size:.82rem;color:var(--muted);cursor:pointer}

.page{display:flex;flex-direction:column;gap:26px;max-width:1080px}
.top{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}
.top > div{display:flex;flex-direction:column;gap:8px;min-width:0}
.pill{display:inline-flex;align-items:center;gap:6px;font-size:.8rem;font-weight:600;border:1px solid var(--line);border-radius:999px;padding:3px 11px;white-space:nowrap}
.pill.good{color:var(--good);border-color:var(--good)}
.pill.warn{color:var(--warn);border-color:var(--warn)}
.pill.bad{color:var(--bad);border-color:var(--bad)}

.sec{display:flex;flex-direction:column;gap:14px}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:22px;display:flex;flex-direction:column;gap:10px;min-width:0}
.card .icbox{width:42px;height:42px;border-radius:10px;background:var(--sand);color:var(--on-sand);display:grid;place-items:center;flex:none}
.card .ct{display:flex;align-items:center;gap:12px}
.card p{color:var(--muted)}
.go{align-self:flex-start;border:0;background:transparent;padding:0;color:var(--accent);font-weight:600;cursor:pointer;margin-top:auto}
.go:hover{text-decoration:underline}
.card .v{font-family:var(--display);font-weight:700;font-size:2.4rem;line-height:1;font-variant-numeric:lining-nums tabular-nums;color:var(--ink)}
.card .v .small{font-family:var(--body);font-weight:400;color:var(--muted)}
.card.hero{background:var(--hero);border-color:var(--hero);color:var(--on-hero)}
.card.hero .label,.card.hero p,.card.hero .v{color:var(--on-hero)}
.card.sand{background:var(--sand);border-color:var(--sand);color:var(--on-sand)}
.card.sand .label,.card.sand p,.card.sand .v{color:var(--on-sand)}

.grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px}
.panel{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:24px;display:flex;flex-direction:column;gap:16px;min-width:0}
.c7{grid-column:span 7} .c5{grid-column:span 5} .c6{grid-column:span 6} .c12{grid-column:span 12}
.ph{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}

.chips{display:flex;gap:6px;flex-wrap:wrap}
.chips button{border:1px solid var(--line);background:transparent;border-radius:999px;padding:4px 14px;cursor:pointer;font-size:.9rem}
.chips button[aria-pressed="true"]{background:var(--hero);color:var(--on-hero);border-color:var(--hero)}
.rows{display:flex;flex-direction:column}
.rowi{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;align-items:center;padding-block:16px;border-top:1px solid var(--line)}
.rowi:first-child{border-top:0;padding-top:0}
.rowi:last-child{padding-bottom:0}
.rowi .meta{display:flex;gap:6px 14px;flex-wrap:wrap;font-size:.92rem;color:var(--muted)}
.rowi .act{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.fit{font-size:.88rem;font-variant-numeric:tabular-nums}
button[aria-busy="true"]{cursor:progress}
.btn{border:1px solid var(--accent);background:var(--accent);color:var(--on-accent);border-radius:999px;padding:8px 20px;font-weight:600;cursor:pointer}
.btn:hover{filter:brightness(1.1)}
.btn.line{background:transparent;color:var(--ink);border-color:var(--line)}
.btn.line:hover{border-color:var(--accent);filter:none}
.btn.bad{border-color:var(--bad);background:var(--bad);color:#fff}
.pp-combo{position:relative}
.pp-ids-menu{position:absolute;left:0;right:0;top:100%;margin-top:4px;z-index:5;max-height:260px;overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:4px;box-shadow:0 12px 30px rgba(0,0,0,.18)}
.pp-ids-menu button{display:block;width:100%;text-align:left;background:none;border:0;border-radius:8px;padding:8px 10px;color:var(--ink);font:inherit;cursor:pointer}
.pp-ids-menu button[aria-selected="true"],.pp-ids-menu button:hover{background:var(--bg)}
.pp-chips{display:flex;flex-wrap:wrap;gap:6px}
.pp-chip{border:1px solid var(--accent);background:transparent;color:var(--ink);border-radius:999px;padding:4px 12px;font:inherit;font-size:.85em;cursor:pointer}
/* Pop-up messages: numbered steps, the preview beside the form on wide screens, and a status for each Sent message */
.pp-compose{gap:22px}
.pp-step{display:flex;flex-direction:column;gap:14px}
.pp-compose > .pp-step + .pp-step,.pp-compose > .pp-extra,.pp-send{border-top:1px solid var(--line);padding-top:20px}
.pp-step h3{margin:0;font-size:1.02rem;display:flex;align-items:center;gap:10px}
.pp-num{flex:none;width:26px;height:26px;border-radius:50%;background:var(--accent);color:#fff;display:inline-grid;place-items:center;font-size:.85rem;font-weight:700}
.pp-extra summary{cursor:pointer;font-weight:700;display:flex;align-items:center;gap:10px;list-style:none}
.pp-extra summary::-webkit-details-marker{display:none}
.pp-extra-body{display:flex;flex-direction:column;gap:14px;margin-top:16px}
.pp-count{margin:0;padding:10px 14px;border-radius:10px;background:var(--bg)}
.pp-count:empty{display:none}
.pp-send{display:flex;flex-direction:column;gap:10px}
.pp-sent-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.pp-sent-tools select{width:auto}
.pp-waiting summary{cursor:pointer}
.pp-waiting p{margin:6px 0 0}
@media (min-width:901px){ .pp-side{position:sticky;top:16px;align-self:start} }
@media (max-width:900px){ .pp-page .formgrid{grid-template-columns:minmax(0,1fr)} }
.when{font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}
/* The task clock: large, amber in the last minute, red in the last 15 seconds, and red when the time is up. */
.tk-timer{font-size:2.4rem;font-weight:700;font-variant-numeric:tabular-nums;line-height:1;margin:0;color:var(--ink)}
.tk-timer.warn{color:var(--warn)}
.tk-timer.paused{color:var(--muted)}
.tk-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:space-between;padding:10px 14px;border-radius:12px;background:var(--bg);border:1px solid var(--line)}
.tk-paused-note{margin:0;padding:10px 14px;border-radius:12px;background:#F4ECD9;color:#5C4A1F;font-weight:600}
:root:not([data-theme="light"]) .tk-paused-note{background:#33301A;color:#E9DCA8}
.tk-timer.danger,.tk-timer.out{color:var(--bad)}
/* The review chain: the reviewer's and the lead's boxes, and the stage counts. */
.rv-counts{display:flex;flex-wrap:wrap;gap:8px}
.rv-panel{display:flex;flex-direction:column;gap:12px}
.rv-card{background:var(--raised);border:1px solid var(--line);border-left:6px solid var(--gold-2);border-radius:14px;padding:16px 18px;display:flex;flex-direction:column;gap:10px}
.rv-card.back{border-left-color:var(--bad)}
.rv-kicker{margin:0;font-size:12px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:var(--muted)}
.rv-title{margin:0;font-size:20px;line-height:1.25}
.rv-note{margin:0;padding:10px 12px;border-radius:10px;background:var(--bg)}
/* Spot the AI image: the two pictures sit side by side at a fixed size, so the page never jumps while they load. */
.img-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-height:280px}
.img-frame{margin:0;position:relative;aspect-ratio:4/3;background:var(--bg);border:1px solid var(--line);border-radius:12px;overflow:hidden;min-width:0}
.img-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block}
.img-frame .box-layer{position:absolute;inset:0}
@media (max-width:700px){ .img-compare{grid-template-columns:minmax(0,1fr)} }
/* A compare task: Answer A and Answer B side by side, then the seven choices in a row that wraps on a phone. */
.task-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.task-pair > div{min-width:0}
.task-scale{display:flex;flex-wrap:wrap;gap:8px}
.task-scale[hidden]{display:none}
@media (max-width:700px){ .task-pair{grid-template-columns:minmax(0,1fr)} }
/* The offer letter, read in a pop-up: the page fills the box, scrolls on its own, and fits a phone. */
.offer-letter-frame{display:block;width:100%;height:min(70vh,640px);border:1px solid var(--line);border-radius:12px;background:#fff}
.offer-letter-hold{display:flex;flex-direction:column}
/* Opportunities: a signed offer is green, the project the expert is on now is gold, so the two never look alike. */
.signed-panel{background:#F1F8F3;border-color:#9CCBAE}
.signed-offer{background:#E3F2E8;border:1px solid #7FB896;border-left:6px solid #1E6B47;border-radius:14px;padding:18px 20px;display:flex;flex-direction:column;gap:10px}
.signed-kicker{margin:0;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#1E6B47;font-weight:700}
.signed-title{margin:0;font-size:22px;line-height:1.25}
.current-panel{background:#FBF4E1;border-color:#D9B65C}
.current-project{background:#FFF8E6;border:1px solid #D9B65C;border-left:6px solid #B8912F;border-radius:14px;padding:18px 20px;display:flex;flex-direction:column;gap:8px}
.current-project .signed-kicker{color:#8A6420}
:root:not([data-theme="light"]) .signed-panel{background:#17241E;border-color:#2F5A44}
:root:not([data-theme="light"]) .signed-offer{background:#1A2E24;border-color:#3F7A59;border-left-color:#6CCB9B}
:root:not([data-theme="light"]) .signed-kicker{color:#6CCB9B}
:root:not([data-theme="light"]) .current-panel{background:#24201A;border-color:#6B5526}
:root:not([data-theme="light"]) .current-project{background:#2E2715;border-color:#7A6330;border-left-color:#DDCB6A}
:root:not([data-theme="light"]) .current-project .signed-kicker{color:#DDCB6A}
/* Tasks page: one card per project, coloured by its one state. */
#proj-list{display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
.proj-card{border:1px solid var(--line);border-left:6px solid var(--line);border-radius:14px;padding:16px 18px;display:flex;flex-direction:column;gap:6px;background:var(--surface)}
.proj-card .proj-kicker{margin:0;font-size:12px;color:var(--muted)}
.proj-card .proj-title{margin:0;font-family:var(--display);font-size:22px;line-height:1.15}
.proj-card .proj-state{margin:2px 0 0;font-weight:700}
.proj-card .proj-start{align-self:flex-start;margin-top:6px;background:#FFF8E6;color:#1B2A21;border:1px solid #D9B65C;border-radius:999px;padding:8px 16px;font-weight:700;cursor:pointer}
.proj-card .proj-start:hover{background:#F7EBC8}
:root:not([data-theme="light"]) .proj-card .proj-start{background:#2E2715;color:#F2EBD8;border-color:#7A6330}
:root[data-theme="dark"] .proj-card .proj-start{background:#2E2715;color:#F2EBD8;border-color:#7A6330}
.proj-card .proj-details{align-self:flex-start}
.pj-hero{display:flex;flex-direction:column;gap:14px}
.pj-facts{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.pj-fact{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.pj-fact b{font-size:16px}
.pj-blockers{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px}
.home-note{display:flex;flex-direction:column;gap:8px;border-left:6px solid #3C6BA6}
.home-note h3{margin:0}
.home-note-people{display:flex;flex-direction:column;gap:6px}

.bubble{background:var(--raised);border-radius:10px;padding:14px 16px;overflow-wrap:anywhere;margin-top:6px}
.bubble.ai{box-shadow:inset 3px 0 0 var(--s1)}
.verdicts{display:flex;gap:10px;flex-wrap:wrap}
.verdicts button{flex:1 1 110px;border:1px solid var(--line);background:transparent;border-radius:10px;padding:12px;cursor:pointer;font-weight:600}
.verdicts button:hover:not(:disabled){border-color:var(--accent)}
.verdicts button:disabled{cursor:default}
.verdicts button.picked{border-color:var(--ink);border-width:2px}
.verdicts button.panelv{background:var(--sand);color:var(--on-sand);border-color:var(--good)}
.result{border-top:1px dashed var(--line);padding-top:14px;display:flex;flex-direction:column;gap:10px}

.chart{position:relative;min-width:0}
.chart svg{display:block;width:100%;height:auto;overflow:visible}
.ax{fill:var(--muted);font:12px var(--body);font-variant-numeric:tabular-nums}
.gl{stroke:var(--line);stroke-width:1}
.tip{position:absolute;pointer-events:none;background:var(--ink);color:var(--bg);font-size:.84rem;padding:5px 10px;border-radius:6px;white-space:nowrap;transform:translate(-50%,-120%);font-variant-numeric:tabular-nums;z-index:2}
details.tbl summary{cursor:pointer;color:var(--muted);font-size:.9rem}
.scroll{overflow-x:auto}
table{border-collapse:collapse;width:100%;font-size:.96rem;font-variant-numeric:tabular-nums}
th,td{text-align:left;padding:12px 10px;border-bottom:1px solid var(--line);white-space:nowrap}
tbody tr:last-child td{border-bottom:0}
th{font-size:.72rem;text-transform:uppercase;letter-spacing:.14em;color:var(--muted);font-weight:600}
td.r,th.r{text-align:right}

.meter{display:flex;flex-direction:column;gap:8px}
.meter .mh{display:flex;justify-content:space-between;gap:10px}
.track{height:8px;background:var(--raised);border-radius:4px;position:relative}
.track span{display:block;height:100%;border-radius:4px;background:var(--s1)}
.track b{position:absolute;top:-4px;width:2px;height:16px;background:var(--ink)}
.hb{display:grid;grid-template-columns:minmax(90px,170px) minmax(0,1fr) auto;gap:12px;align-items:center}
.prog{height:6px;background:var(--raised);border-radius:3px;min-width:90px}
.prog span{display:block;height:100%;border-radius:3px;background:var(--s1)}
.split{display:flex;gap:2px;height:24px}
.split span{display:block;height:100%;border-radius:4px}
.legend{display:grid;gap:8px}
.legend div{display:flex;justify-content:space-between;gap:12px}
.legend i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:8px}
.check{display:flex;gap:10px;align-items:center;justify-content:space-between;padding-block:14px;border-top:1px solid var(--line);flex-wrap:wrap}
.check:first-child{border-top:0;padding-top:0}

/* ---------- Language test ---------- */
.exam{min-height:100%;background:var(--bg);display:flex;flex-direction:column;overflow:auto;-webkit-user-select:none;user-select:none}
.x-bar{display:flex;align-items:center;gap:10px 24px;flex-wrap:wrap;padding:14px 24px;border-bottom:1px solid var(--gold-2);background:var(--surface)}
/* The title and the six parts share the top row; the status pills sit on a row of their own, below. */
.x-bar > strong{flex:0 0 auto}
.x-bar .right{order:3;flex-basis:100%;justify-content:flex-start}
.x-bar strong{font-family:var(--display);font-size:1.35rem}
.x-bar .right{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.x-stage{width:100%;max-width:780px;margin-inline:auto;padding:34px 24px 60px;display:flex;flex-direction:column;gap:22px}
.x-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:32px;display:flex;flex-direction:column;gap:18px;box-shadow:0 18px 40px rgba(60,40,0,.10)}
.x-card h1{font-size:clamp(2rem,4vw,2.7rem)}
.x-rules{margin:0;padding-left:20px;display:grid;gap:8px;color:var(--muted)}
.x-rules strong{color:var(--ink)}
.x-prev{display:grid;grid-template-columns:210px minmax(0,1fr);gap:18px;align-items:center}
.x-prev > div:last-child{display:flex;flex-direction:column;gap:10px;align-items:flex-start;min-width:0}
.x-camwrap{aspect-ratio:4 / 3;max-width:100%;background:var(--raised);border:1px solid var(--line);border-radius:12px;overflow:hidden;display:grid;place-items:center;color:var(--muted);font-size:.9rem;text-align:center}
.x-camwrap video{width:100%;height:100%;object-fit:cover;transform:scaleX(-1);display:block}
.x-float{position:fixed;right:16px;bottom:16px;width:150px;z-index:3;border:2px solid var(--gold-2);box-shadow:0 10px 24px rgba(0,0,0,.25)}
.btn:disabled{opacity:.5;cursor:not-allowed;filter:none}
.x-timer{display:flex;align-items:center;gap:16px}
.x-timebar{flex:1;height:12px;background:var(--raised);border-radius:6px;overflow:hidden}
.x-timebar span{display:block;height:100%;width:100%;background:var(--s1);border-radius:6px}
#x-secs{font-family:var(--display);font-weight:700;font-size:2.8rem;line-height:1;width:1.1em;text-align:center;font-variant-numeric:lining-nums tabular-nums}
#x-text{font-size:clamp(1.7rem,3.6vw,2.4rem);min-height:2.2em}
.x-opts{display:grid;gap:12px}
.x-opts button{display:flex;gap:14px;align-items:center;text-align:left;border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:15px 18px;font-size:1.1rem;cursor:pointer;min-width:0}
.x-opts button:hover:not(:disabled){border-color:var(--accent)}
.x-opts button:disabled{cursor:default}
.x-opts .k{width:34px;height:34px;border-radius:50%;background:var(--sand);color:var(--on-sand);display:grid;place-items:center;font-weight:600;flex:none}
.x-opts button.picked{background:var(--hero);border-color:var(--hero);color:var(--on-hero)}
.x-blanks{font-size:1.2rem;line-height:2.2;white-space:pre-wrap;overflow-wrap:anywhere}
.x-blank{display:inline-block;width:9em;max-width:100%;font:inherit;padding:2px 10px;border:0;border-bottom:2px solid var(--accent);background:var(--surface);color:var(--ink);border-radius:6px 6px 0 0}
.x-blank:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.x-next{display:flex;justify-content:flex-end;margin-top:16px}
.x-score{font-family:var(--display);font-weight:700;font-size:clamp(3rem,9vw,4.6rem);line-height:1;font-variant-numeric:lining-nums}
.x-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.x-facts div{background:var(--raised);border-radius:10px;padding:12px 14px;display:flex;flex-direction:column;gap:2px}
.x-facts b{font-size:1.2rem}
.x-over{position:fixed;inset:0;z-index:5;background:var(--hero);color:var(--on-hero);display:grid;place-items:center;padding:24px;text-align:center}
.x-over > div{display:flex;flex-direction:column;gap:16px;align-items:center;max-width:520px}
.x-over h2{font-size:clamp(2rem,5vw,3rem)}
@media (max-width:900px){
  .x-stage{padding:22px 16px 48px}
  .x-card{padding:22px}
  .x-prev{grid-template-columns:minmax(0,1fr)}
  .x-camwrap{max-width:220px}
  .x-float{width:96px;right:10px;bottom:10px}
}

/* ---------- Score and team data ---------- */
.scorebar{background:var(--surface);border:1px solid var(--gold-2);border-radius:14px;padding:18px 22px;display:flex;align-items:center;gap:12px 26px;flex-wrap:wrap}
.scorebar .sb-v{font-family:var(--display);font-weight:700;font-size:2.1rem;line-height:1;font-variant-numeric:lining-nums}
.scorebar > p{flex:1 1 220px;min-width:0}
.inp{background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:10px 14px;min-width:0}
.filters{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.filters input{flex:1 1 220px}
.top .acts{flex-direction:row;gap:10px;flex-wrap:wrap}
table.ttable td{white-space:normal;overflow-wrap:anywhere}
table.ttable .pill,table.ttable td.nw{white-space:nowrap}
/* Team logins: the name keeps a readable width, and the role picker and the buttons stay on one line where there is room. */
@media (min-width:701px){ .tt-panel table.ttable td:first-child{min-width:220px;overflow-wrap:normal} }
.tt-panel table.ttable td:first-child .sub{overflow-wrap:anywhere}
.tt-panel table.ttable select.inp{min-width:190px;width:100%}
.tt-panel table.ttable .acts{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
tr.trow{cursor:pointer}
tr.trow:hover td{background:var(--raised)}
td .sub{display:block;color:var(--muted);font-size:.88rem}
tr.tdetail td{white-space:normal;background:var(--bg)}

/* Shared data table: the search and count above it, sortable headings, and the pages below it */
.dt-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.dt-tools .inp{flex:1 1 240px;max-width:420px}
.dt-pager{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap;margin-top:14px}
.dt-pager span{margin-right:auto}
.dt-sort{border:0;background:none;padding:0;font:inherit;color:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer;text-align:inherit;white-space:nowrap}
.dt-sort:hover{color:var(--ink)}
.dt-sort:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}

/* Roles and fields (team admin): names wrap at spaces, never inside a word, and the buttons wrap instead of pushing the table wide. */
#rl-fields table.ttable td,#rl-roles table.ttable td{overflow-wrap:break-word}
#rl-fields table.ttable td:first-child,#rl-roles table.ttable td:first-child{min-width:180px}
#rl-fields table.ttable td.nw,#rl-roles table.ttable td.nw{white-space:normal}
#rl-fields table.ttable .acts,#rl-roles table.ttable .acts{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.dt-arrow{font-size:.7em;color:var(--accent)}
th[aria-sort="ascending"],th[aria-sort="descending"]{color:var(--ink)}
tr.tdetail td{padding:4px 10px 18px}
/* Platform settings: one tab per group of settings, and a test button inside the tabs that need one */
.ps-tabs{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:18px}
.ps-tab{border:1px solid var(--line);background:transparent;color:var(--muted);border-radius:999px;padding:7px 16px;font-weight:600;cursor:pointer;font-size:.92rem}
.ps-tab:hover{color:var(--ink);border-color:var(--accent)}
.ps-tab.on,.ps-tab[aria-selected="true"]{background:var(--hero);color:var(--on-hero);border-color:var(--hero)}
.ps-tab:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.ps-panel{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:4px 22px}
.ps-panel > p:first-child{grid-column:1 / -1}
.ps-test{grid-column:1 / -1;display:flex;flex-direction:column;gap:8px;align-items:flex-start;border-top:1px dashed var(--line);padding-top:14px;margin-top:6px}
.ps-test .f{width:100%;max-width:360px}
/* Messages between the team and the companies */
/* ---------- Live conversations between the team and the companies ---------- */
.chat-grid{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:20px;align-items:start}
.chat-whoami{display:flex;align-items:center;gap:10px}
.chat-whoami label{color:var(--muted);font-size:.85rem}
.chat-whoami output{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:8px 14px;font-weight:600}

/* The list of companies, with its search box and filters. */
.chat-threads{display:flex;flex-direction:column;gap:12px}
.chat-filters{display:flex;gap:8px;flex-wrap:wrap}
.chat-filters button{border:1px solid var(--line);background:var(--surface);color:inherit;border-radius:999px;padding:6px 16px;font:inherit;cursor:pointer}
.chat-filters button[aria-pressed="true"]{background:var(--hero);border-color:var(--hero);color:var(--on-hero)}
.thread{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:none;border:0;border-radius:14px;padding:10px 12px;font:inherit;color:inherit;cursor:pointer}
.thread:hover{background:var(--raised)}
.thread.on{background:var(--raised);box-shadow:inset 3px 0 0 var(--gold-2)}
.thread-mid{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 auto}
.thread-last{color:var(--muted);font-size:.85rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.thread-right{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.thread-time{color:var(--muted);font-size:.78rem}

/* The avatar shown beside a name, with a dot when that side is signed in. */
.chat-avatar{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;flex:0 0 auto;border-radius:50%;
  background:var(--seal-1);color:var(--gold-1);font-weight:600;letter-spacing:.02em;position:relative;border:2px solid var(--gold-2)}
.chat-avatar.sm{width:38px;height:38px;font-size:.85rem}
.chat-avatar.online::after{content:"";position:absolute;right:-1px;bottom:-1px;width:12px;height:12px;border-radius:50%;background:var(--mint);border:2px solid var(--surface)}
.chat-avatar.seal-avatar{background:var(--seal-1) url("/favicon.svg") center/68% no-repeat}

/* The conversation itself: a card with a dark header, a dotted paper middle and a composer at the foot. */
.chatbox{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:22px;overflow:hidden;min-height:520px}
.chat-head{display:flex;align-items:center;gap:14px;padding:14px 18px;background:var(--hero);color:var(--on-hero);border-bottom:2px dashed var(--gold-2)}
.chat-head > div{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 auto}
.chat-head b{font-size:1.15rem}
.chat-head .chat-avatar{border-color:var(--gold-2)}
.chat-account{flex:0 0 auto;background:transparent;border-color:var(--gold-2);color:var(--on-hero)}
.chat-account:hover{background:var(--gold-2);color:var(--seal-2)}
.chat-presence{display:inline-flex;align-items:center;gap:7px;font-size:.85rem;opacity:.85}
.chat-presence .dot{width:8px;height:8px;border-radius:50%;background:var(--muted);display:inline-block}
.chat-presence.on .dot{background:var(--mint)}
.chat-contact{display:flex;flex-wrap:wrap;gap:4px 18px;margin:0;padding:10px 18px;background:var(--raised);border-bottom:1px solid var(--line);font-size:.86rem}
.chat-contact dt{color:var(--muted)}
.chat-contact dt::after{content:":"}
.chat-contact dd{margin:0 10px 0 0;font-weight:600;overflow-wrap:anywhere}

.chat-log{display:flex;flex-direction:column;gap:6px;flex:1 1 auto;height:clamp(320px,56vh,560px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:18px;
  background-image:radial-gradient(var(--line) 1px,transparent 1px);background-size:18px 18px}
.chat-day{align-self:center;margin:6px 0;padding:3px 16px;color:var(--muted);font-size:.8rem;font-style:italic;position:relative}
.chat-day::before,.chat-day::after{content:"";position:absolute;top:50%;width:46vw;max-width:260px;height:1px;background:var(--line)}
.chat-day::before{right:100%}
.chat-day::after{left:100%}
.chat-none{align-self:center;margin:auto}

.chat-row{display:flex;align-items:flex-end;gap:8px;max-width:78%;min-width:0}
.chat-row.theirs{align-self:flex-start}
.chat-row.mine{align-self:flex-end;flex-direction:column;align-items:flex-end}
.chat-dot{width:30px;height:30px;flex:0 0 auto;border-radius:50%;background:var(--seal-1) url("/favicon.svg") center/74% no-repeat;border:1px solid var(--gold-2)}
.chat-msg{border-radius:16px 16px 16px 4px;padding:8px 12px 6px;background:var(--surface);border:1px solid var(--line);min-width:96px;max-width:100%;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.chat-row.mine .chat-msg{background:var(--hero);color:var(--on-hero);border-color:var(--hero);border-radius:16px 16px 4px 16px}
.chat-who{font-size:.78rem;margin:0 0 3px;color:var(--gold-2);font-weight:600}
.chat-body{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.chat-meta{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin:4px 0 0;font-size:.74rem;opacity:.7}
.chat-ticks{letter-spacing:-2px}
.chat-ticks.seen{color:var(--mint)}
.chat-state{font-size:.72rem;color:var(--muted)}
.chat-file{display:flex;align-items:center;gap:10px;margin:4px 0 2px;padding:9px 12px;border-radius:12px;background:color-mix(in srgb,currentColor 9%,transparent);font-size:.88rem;text-decoration:none;color:inherit;max-width:100%;overflow-wrap:anywhere}
.chat-file::before{content:"";flex:none;width:26px;height:32px;border-radius:4px;background:linear-gradient(135deg,transparent 7px,currentColor 7px);opacity:.35}
.chat-file:hover{background:color-mix(in srgb,currentColor 15%,transparent)}

/* Ready replies and the composer. */
.chat-quick{display:flex;gap:8px;padding:10px 18px 0;overflow-x:auto;scrollbar-width:none;border-top:1px solid var(--line)}
.chat-quick::-webkit-scrollbar{display:none}
.chat-chip{flex:none;white-space:nowrap;border:1px solid var(--line);background:var(--surface);color:inherit;border-radius:999px;padding:6px 14px;font:inherit;font-size:.84rem;cursor:pointer;text-align:left}
.chat-chip:hover{border-color:var(--gold-2);background:var(--raised)}
.chat-form{display:flex;gap:10px;align-items:flex-end;padding:10px 18px 16px;position:relative}
.chat-tool{flex:0 0 auto;width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:var(--surface);color:var(--muted);font:inherit;font-size:1rem;cursor:pointer}
.chat-tool:hover{border-color:var(--gold-2);color:var(--ink)}
.chat-tool .ic{width:20px;height:20px}
.chat-tool{display:inline-flex;align-items:center;justify-content:center}
.chat-input{flex:1 1 auto;min-width:0;height:46px;min-height:46px;max-height:140px;resize:none;overflow-y:hidden;scrollbar-width:thin;background:var(--bg);border:1.5px solid var(--mint);border-radius:24px;padding:12px 18px;font:inherit;color:inherit;line-height:1.4}
.chat-input:focus{outline:none;border-color:var(--seal-1)}
.chat-send{flex:0 0 auto;width:46px;height:46px;border-radius:50%;border:0;background:var(--gold-2);color:var(--on-hero);font-size:1.2rem;cursor:pointer}
.chat-send:hover{background:var(--seal-1);color:var(--gold-1)}
.chat-send:disabled{opacity:.5;cursor:default}
.chat-attached{display:flex;align-items:center;gap:10px;margin:10px 18px 0;padding:8px 12px;border:1px dashed var(--gold-2);border-radius:12px;background:var(--raised);color:var(--ink);font-size:.86rem;overflow-wrap:anywhere}
.chat-err{margin:10px 18px 0}
.chat-unattach{margin-left:auto;flex:none;border:0;background:none;color:var(--seal-1);font:inherit;font-size:.84rem;text-decoration:underline;cursor:pointer;padding:0}
.emoji-pop{position:absolute;bottom:64px;left:62px;z-index:5;display:grid;grid-template-columns:repeat(7,1fr);gap:4px;padding:10px;
  background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:0 10px 30px rgba(0,0,0,.14)}
.emoji-pop button{border:0;background:none;font-size:1.2rem;line-height:1;padding:6px;border-radius:8px;cursor:pointer}
.emoji-pop button:hover{background:var(--raised)}

@media (max-width:900px){
  .chat-grid{grid-template-columns:minmax(0,1fr)}
  .chat-whoami{display:none}
  .chat-row{max-width:92%}
  .chat-day::before,.chat-day::after{width:22vw}
}

.dgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:22px;padding-block:6px}
.dgrid ul{margin:6px 0 0;padding-left:18px;display:grid;gap:4px}
.dgrid p{margin-top:8px}
.empty{padding:34px 16px;text-align:center;color:var(--muted)}

/* ---------- Company enquiry form ---------- */
.l-contact{background:radial-gradient(70% 60% at 105% 105%,var(--seal-1),transparent 70%),var(--hero);color:var(--on-hero);border-radius:24px;padding:48px;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:40px;margin-bottom:60px;scroll-margin-top:16px}
.l-contact h2{font-size:clamp(2rem,3.8vw,2.9rem)}
.l-contact .label{color:var(--gold-1)}
.lc-copy{display:flex;flex-direction:column;gap:16px;min-width:0}
.lc-copy .go{color:var(--gold-1);margin-top:8px}
#enq-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0}
#enq-form .f label{color:var(--gold-1);font-size:.72rem;text-transform:uppercase;letter-spacing:.14em}
#enq-form input,#enq-form textarea{background:var(--hero-2);border:1px solid var(--hero-line);border-radius:10px;padding:12px 14px;width:100%;color:var(--on-hero);font:inherit}
#enq-form textarea{min-height:130px;resize:vertical}
#enq-form ::placeholder{color:var(--side-wash);opacity:.8}
#enq-form :focus-visible{outline-color:var(--gold-1)}
#enq-form .a-err{color:var(--gold-1)}
#enq-done{display:flex;flex-direction:column;gap:14px;align-items:flex-start;justify-content:center;min-width:0}
#enq-done h3{font-family:var(--display);font-size:1.9rem;font-weight:700;line-height:1.1}
/* ---------- Email verification, name check, camera ---------- */
#vf-code{font-size:1.6rem;letter-spacing:.4em;text-align:center;font-variant-numeric:tabular-nums}
.vf-preview{background:var(--sand);color:var(--on-sand);border-radius:10px;padding:10px 14px}
.exam input{-webkit-user-select:text;user-select:text}
.x-camwrap{position:relative}
.x-guide{position:absolute;inset:12% 26%;border:2px dashed var(--gold-1);border-radius:50%;pointer-events:none}
.x-live{position:absolute;left:8px;top:8px;background:var(--hero);color:var(--on-hero);font-size:.72rem;font-weight:600;border-radius:999px;padding:2px 9px}
.x-float .x-guide{display:none}
.x-checks{list-style:none;margin:0;padding:0;display:grid;gap:6px;width:100%}
.x-checks li{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding-bottom:6px}
.x-facelabel{position:absolute;left:50%;bottom:8px;transform:translateX(-50%);max-width:90%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:rgba(10,30,20,.74);color:#F4FFF8;font-size:.78rem;font-weight:600;border-radius:999px;padding:3px 11px}
.x-facelabel.good{background:rgba(20,90,50,.85)}
.x-facelabel.bad{background:rgba(120,30,20,.85)}
.x-gaze{position:fixed;top:14px;left:50%;transform:translateX(-50%);z-index:6;background:var(--bad);color:#fff;font-weight:600;padding:10px 18px;border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,.3)}
.x-checks b{font-weight:600}
.x-checks .ok{color:var(--good)} .x-checks .no{color:var(--bad)} .x-checks .wait{color:var(--muted)}
/* ---------- Welcome celebration ---------- */
.joy{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:20px;background:color-mix(in srgb,var(--seal-2) 82%,transparent);overflow:hidden}
.joy canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.joy-card{position:relative;background:var(--surface);color:var(--ink);border:1px solid var(--gold-2);border-radius:26px;padding:42px 36px;max-width:470px;width:100%;text-align:center;display:flex;flex-direction:column;align-items:center;gap:14px;box-shadow:0 30px 80px rgba(0,0,0,.45),0 0 0 6px color-mix(in srgb,var(--gold-1) 30%,transparent)}
.joy-card .seal{width:104px;height:104px}
.joy-card h2{font-size:clamp(2.1rem,6vw,3rem)}
.joy-card p{color:var(--muted)}
.joy-score{font-family:var(--display);font-weight:700;font-size:1.5rem;color:var(--on-sand);background:var(--sand);border-radius:999px;padding:6px 22px;font-variant-numeric:lining-nums}
@media (prefers-reduced-motion:no-preference){
  .joy-card{animation:joyin .55s cubic-bezier(.2,1.3,.4,1)}
  .joy-card .seal{animation:sealspin 1.1s ease-out}
  @keyframes joyin{from{transform:translateY(26px) scale(.9)}to{transform:none}}
  @keyframes sealspin{from{transform:rotate(-200deg) scale(.4)}to{transform:none}}
}
/* ---------- Enquiries in the team view ---------- */
.enq{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 18px;padding-block:18px;border-top:1px solid var(--line)}
.enq:first-child{border-top:0;padding-top:0}
.enq .msg{color:var(--ink);background:var(--raised);border-radius:10px;padding:12px 14px;margin-top:8px;white-space:pre-wrap;overflow-wrap:anywhere}
.enq .mail{-webkit-user-select:all;user-select:all;font-weight:600}
.enq .act{display:flex;flex-direction:column;gap:8px;align-items:flex-end}
@media (max-width:900px){
  .l-contact{grid-template-columns:minmax(0,1fr);padding:26px}
  #enq-form{grid-template-columns:minmax(0,1fr)}
  .enq{grid-template-columns:minmax(0,1fr)} .enq .act{flex-direction:row;flex-wrap:wrap;align-items:center}
}

/* ---------- Version 4: camera size, photo, documents ---------- */
.x-prev{grid-template-columns:300px minmax(0,1fr)}
.x-float{width:190px}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.who i{background-size:cover;background-position:center}
.avatar{width:96px;height:96px;border-radius:50%;background:var(--hero) center/cover;color:var(--on-hero);display:grid;place-items:center;font-family:var(--display);font-weight:700;font-size:2.6rem;flex:none;border:3px solid var(--gold-2)}
.avatar.sm{width:64px;height:64px;font-size:1.7rem;border-width:2px}
.photo-row{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.photo-row > div{display:flex;flex-direction:column;gap:10px;align-items:flex-start;min-width:0}
label.btn{display:inline-block}
.docrow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;align-items:center;padding-block:14px;border-top:1px solid var(--line)}
.docrow:first-child{border-top:0;padding-top:0}
.docrow .act{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.small.a-err{color:var(--bad);font-weight:500}
.scorebar .btn{margin-left:auto}
@media (max-width:900px){ .x-prev{grid-template-columns:minmax(0,1fr)} .x-camwrap{max-width:300px} .x-float{width:110px} .docrow{grid-template-columns:minmax(0,1fr)} .docrow .act{justify-content:flex-start} }

/* ---------- Version 5: calmer header, live dot, resume summary ---------- */
.l-nav{padding-block:12px;border-bottom-color:var(--line)}
.l-nav .seal{width:34px;height:34px;filter:none}
.l-nav .wm-name{font-size:1.4rem}
.l-nav .wm-ai{font-size:.8rem;padding-left:8px}
.l-nav .brand{gap:9px}
.teamlink{border:0;background:transparent;padding:0;color:var(--muted);font-size:.85rem;cursor:pointer}
.teamlink:hover{color:var(--ink);text-decoration:underline}
/* The corner camera must stay pinned to the screen corner during the test. */
.x-camwrap.x-float{position:fixed;right:16px;bottom:16px;left:auto;top:auto}
.x-live{display:inline-flex;align-items:center;gap:6px;background:rgba(10,30,20,.72);color:#F4FFF8;padding:3px 9px 3px 7px}
.x-live .dot{width:10px;height:10px;border-radius:50%;background:#32E07A;position:relative;flex:none;box-shadow:0 0 0 2px rgba(50,224,122,.25)}
@media (prefers-reduced-motion:no-preference){
  .x-live .dot{animation:dotpulse 1.2s ease-in-out infinite}
  .x-live .dot::after{content:"";position:absolute;inset:0;border-radius:50%;background:#32E07A;animation:dotping 1.2s ease-out infinite}
  @keyframes dotpulse{0%,100%{transform:scale(1)}50%{transform:scale(.72)}}
  @keyframes dotping{from{transform:scale(1);opacity:.75}to{transform:scale(2.8);opacity:0}}
}
.parsed{border:1px solid var(--gold-2);background:var(--raised);border-radius:12px;padding:16px 18px;display:flex;flex-direction:column;gap:10px;margin-top:4px}
.parsed h3{font-family:var(--display);font-size:1.25rem}
.parsed dl{margin:0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 14px}
.parsed dt{color:var(--muted);font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.12em;padding-top:3px}
.parsed dd{margin:0;overflow-wrap:anywhere}
.parsed .tags{display:flex;gap:6px;flex-wrap:wrap}
.parsed .tags span{border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:1px 10px;font-size:.88rem}
@media (max-width:900px){ .parsed dl{grid-template-columns:minmax(0,1fr)} .l-nav .wm-name{font-size:1.3rem} }

/* ---------- Open tasks strip ---------- */
.l-open{padding-block:8px 64px;display:flex;flex-direction:column;gap:22px}
.belt{overflow:hidden;padding-block:14px 22px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.belt-track{display:flex;width:max-content}
.job{width:270px;flex:none;margin-right:18px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:8px;box-shadow:0 12px 26px rgba(60,40,0,.10)}
.job p{color:var(--muted);font-size:.94rem}
.job .rate{font-family:var(--display);font-weight:700;font-size:1.35rem;color:var(--ink);font-variant-numeric:lining-nums}
.job .btn{align-self:flex-start;margin-top:6px;padding:6px 18px}
@media (prefers-reduced-motion:no-preference){
  .belt-track{animation:belt 46s linear infinite}
  .belt:hover .belt-track,.belt:focus-within .belt-track{animation-play-state:paused}
  .job{animation:bob 4.6s ease-in-out infinite alternate}
  .job:nth-child(2n){animation-delay:-1.5s}
  .job:nth-child(3n){animation-delay:-3s}
  @keyframes belt{to{transform:translateX(-50%)}}
  @keyframes bob{from{transform:translateY(0)}to{transform:translateY(-10px)}}
}
@media (prefers-reduced-motion:reduce){ .belt{overflow-x:auto} }

/* ---------- Sign up / sign in ---------- */
.auth{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);min-height:100%}
.a-side{background:radial-gradient(90% 50% at 110% 100%,var(--seal-1),transparent 70%),var(--hero);color:var(--on-hero);padding:44px 40px;display:flex;flex-direction:column;gap:26px}
.a-side .brand{border-bottom:1px solid var(--gold-2)}
.a-side .wm-name{color:var(--on-hero)} .a-side .wm-ai{color:var(--gold-1)}
.a-side h2{font-size:clamp(1.9rem,3.2vw,2.6rem)}
.a-side ul{margin:0;padding:0;list-style:none;display:grid;gap:14px}
.a-side li{display:flex;gap:12px;align-items:flex-start}
.a-side li::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--gold-1);margin-top:9px;flex:none}
.a-side .small{margin-top:auto;color:var(--on-hero)}
.a-main{padding:28px 24px 56px;display:flex;flex-direction:column;gap:18px;align-items:center;background:radial-gradient(55% 380px at 100% 0%,var(--wash),transparent 75%)}
.a-main > .go{align-self:flex-start;margin:0}
.a-box{width:100%;max-width:540px;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:34px;display:flex;flex-direction:column;gap:14px;box-shadow:0 18px 40px rgba(60,40,0,.10)}
.a-box h1{font-size:clamp(2rem,4vw,2.6rem)}
.a-role{background:var(--sand);color:var(--on-sand);border-radius:10px;padding:10px 14px}
#auth-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:6px}
.f{display:flex;flex-direction:column;gap:6px;min-width:0}
.f.full{grid-column:1 / -1}
.f label{font-weight:600;font-size:.93rem}
.f input,.f select{background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:11px 14px;width:100%}
.f input:focus,.f select:focus{border-color:var(--accent)}
.agree{grid-column:1 / -1;display:flex;gap:10px;align-items:flex-start;font-size:.94rem}
.agree input{margin-top:4px;accent-color:var(--accent)}
.a-err{grid-column:1 / -1;color:var(--bad);font-weight:500}
.a-actions{grid-column:1 / -1;display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.a-actions .go{margin:0}
@media (max-width:900px){
  .auth{grid-template-columns:minmax(0,1fr)}
  .a-side{padding:20px 16px;gap:14px}
  .a-side ul,.a-side .small{display:none}
  .a-side h2{font-size:1.6rem}
  .a-main{padding:18px 16px 40px}
  .a-box{padding:22px}
  #auth-form{grid-template-columns:minmax(0,1fr)}
}

/* ---------- Public homepage ---------- */
.site{display:flex;flex-direction:column;background:radial-gradient(50% 460px at 100% 0%,var(--wash),transparent 75%),radial-gradient(36% 420px at 0% 22%,var(--side-wash),transparent 78%)}
.l-wrap{max-width:1140px;margin-inline:auto;padding-inline:24px;width:100%}
.l-nav{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding-block:18px;border-bottom:1px solid var(--gold-2)}
.l-nav .brand{border:0;padding:0}
.l-links{display:flex;gap:24px;margin-left:auto;flex-wrap:wrap;align-items:center}
.l-links a{color:var(--ink);text-decoration:none;font-weight:500}
.l-links a:hover{color:var(--accent);text-decoration:underline}
.l-hero{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:52px;align-items:center;padding-block:68px 76px}
.l-copy{display:flex;flex-direction:column;gap:22px;min-width:0}
.l-hero h1{font-size:clamp(2.6rem,6vw,4.7rem);line-height:1}
.lede{font-size:1.16rem;color:var(--muted);max-width:56ch}
.l-cta{display:flex;gap:12px;flex-wrap:wrap}
.btn.big{padding:12px 28px;font-size:1.05rem}
.btn.gold{background:var(--sand);color:var(--on-sand);border-color:var(--gold-2)}
.l-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}
.l-preview .card{box-shadow:0 18px 40px rgba(60,40,0,.13)}
.l-preview .wide{grid-column:1 / -1}
.l-preview .v{font-size:2rem}
.fake{display:flex;gap:8px;flex-wrap:wrap}
.fake span{flex:1 1 80px;text-align:center;border:1px solid var(--line);border-radius:10px;padding:8px;font-weight:600;font-size:.92rem}
.fake span.on{background:var(--sand);color:var(--on-sand);border-color:var(--good)}
.l-sec{padding-block:68px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:30px;scroll-margin-top:10px}
.l-head{display:flex;flex-direction:column;gap:10px;max-width:62ch}
.l-sec h2{font-size:clamp(1.9rem,3.8vw,2.8rem)}
.doors{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}
.door{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:30px;display:flex;flex-direction:column;gap:14px;min-width:0}
.door .icbox{width:48px;height:48px;border-radius:12px;background:var(--sand);color:var(--on-sand);display:grid;place-items:center}
.door h3{font-family:var(--display);font-size:1.7rem;font-weight:700;line-height:1.1}
.door p,.door ul{color:var(--muted)}
.door ul{margin:0;padding-left:20px;display:grid;gap:6px}
.door .btn{margin-top:auto;align-self:flex-start}
.door.lead{background:var(--hero);border-color:var(--hero);color:var(--on-hero)}
.door.lead p,.door.lead ul,.door.lead .label{color:var(--on-hero)}
.l-steps{counter-reset:st;list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:26px}
.l-steps li{counter-increment:st;display:flex;flex-direction:column;gap:8px}
.l-steps li::before{content:counter(st);font-family:var(--display);font-weight:700;font-size:1.5rem;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--gold-2);background:var(--sand);color:var(--on-sand)}
.l-steps p,.vals p{color:var(--muted)}
.vals{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:26px}
.vals div{display:flex;flex-direction:column;gap:6px;border-top:2px solid var(--gold-2);padding-top:14px}
.fields{display:flex;gap:10px;flex-wrap:wrap}
.fields span{border:1px solid var(--gold-2);background:var(--surface);border-radius:999px;padding:6px 16px;font-weight:500}
.l-band{background:var(--hero);color:var(--on-hero);border-radius:22px;padding:46px;display:flex;justify-content:space-between;align-items:center;gap:22px;flex-wrap:wrap;margin-bottom:60px}
.l-band h2{font-size:clamp(1.8rem,3.4vw,2.5rem)}
.l-foot{border-top:1px solid var(--line);padding-block:26px 40px;color:var(--muted);font-size:.92rem;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
@media (max-width:900px){
  .l-hero{grid-template-columns:minmax(0,1fr);padding-block:40px 48px;gap:34px}
  .l-links a{display:none}
  .l-sec{padding-block:44px}
  .l-band{padding:28px}
}

@media (max-width:900px){
  .shell{grid-template-columns:minmax(0,1fr)}
  aside{gap:12px;padding:16px;border-right:0;border-bottom:1px solid var(--side-line)}
  .brand{padding-bottom:14px}
  .seal{width:44px;height:44px} .wm-name{font-size:1.75rem}
  aside .label,.demo,.rule,.side-copy{display:none}
  .menu{flex-direction:row;overflow-x:auto;gap:6px}
  .menu button{width:auto;white-space:nowrap;padding:8px 12px}
  #roles .me{padding:8px 12px;white-space:nowrap}
  #pages button[aria-current="page"]{box-shadow:inset 0 -3px 0 var(--gold-2)}
  main{padding:14px 16px 40px;gap:20px}
  .c7,.c5,.c6{grid-column:span 12}
  .rowi{grid-template-columns:minmax(0,1fr)}
  .rowi .act{justify-content:flex-start}
  .panel,.card{padding:18px}
  .hb{grid-template-columns:minmax(0,1fr) auto}
  .hb .track{grid-column:1 / -1;order:3}
  .who span{display:none}
  .acct-btn #who-name{display:none}
}


/* ---------- Version 6: one calm front page, role cards, role pages ---------- */
.site{background:radial-gradient(48% 520px at 100% 0%,var(--wash),transparent 75%),radial-gradient(40% 480px at 0% 30%,var(--side-wash),transparent 78%),var(--bg)}
.nav6{position:sticky;top:env(safe-area-inset-top,0px);z-index:10;background:color-mix(in srgb,var(--bg) 86%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.nav6 .l-wrap{display:flex;align-items:center;gap:18px;padding-block:12px;flex-wrap:wrap}
.nav6 .brand{border:0;padding:0;gap:9px;cursor:pointer;background:none;color:inherit;font:inherit}
.nav6 .seal{width:34px;height:34px;filter:none}
.nav6 .wm-name{font-size:1.4rem}
.nav6 .wm-ai{font-size:.8rem;padding-left:8px}
.nav6 .links{display:flex;gap:6px;margin-left:auto;align-items:center;flex-wrap:wrap}
.nav6 .links .nl{border:0;background:transparent;padding:8px 12px;border-radius:999px;font-weight:500;cursor:pointer;color:var(--ink);text-decoration:none}
.nav6 .links .nl:hover{background:var(--raised)}
.nav6 .links .nl[aria-current="page"]{background:var(--raised);font-weight:600}
.nav6 .links .btn{margin-left:6px}
#contact{scroll-margin-top:96px}
.sp{display:flex;flex-direction:column}

.h6{padding-block:76px 36px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:22px}
.kicker{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--gold-2);background:var(--surface);border-radius:999px;padding:5px 15px;font-size:.84rem;font-weight:600;color:var(--on-sand)}
.pdot{width:8px;height:8px;border-radius:50%;background:var(--mint);flex:none;position:relative}
.h6 h1{font-size:clamp(3.1rem,10vw,6.6rem);line-height:.94;letter-spacing:-.012em;max-width:12ch}
.h6 h1 em{font-style:italic;color:var(--accent);position:relative;white-space:nowrap}
.h6 h1 em::after{content:"";position:absolute;left:3%;right:3%;bottom:-.06em;height:.075em;border-radius:99px;background:linear-gradient(90deg,transparent,var(--gold-2) 18%,var(--gold-2) 82%,transparent)}
.h6 h1 + .slogan{margin-top:8px}
.slogan{font-family:var(--display);font-size:clamp(1.35rem,2.8vw,1.8rem);line-height:1.25;max-width:32ch;text-wrap:balance}
.slogan i{color:var(--on-sand);font-weight:700}
.join-xl{display:inline-flex;align-items:center;gap:16px;padding:18px 20px 18px 40px;font:600 1.3rem var(--body);border-radius:999px;cursor:pointer;position:relative;overflow:hidden;
  background:linear-gradient(135deg,var(--seal-1),var(--seal-2));color:var(--gold-1);border:2px solid var(--gold-2);
  box-shadow:0 16px 36px rgba(15,59,42,.32),0 0 0 7px color-mix(in srgb,var(--gold-1) 50%,transparent);transition:transform .2s,box-shadow .2s}
.join-xl:hover{transform:translateY(-2px);box-shadow:0 22px 44px rgba(15,59,42,.38),0 0 0 9px color-mix(in srgb,var(--gold-1) 60%,transparent)}
.join-xl .arr{width:42px;height:42px;border-radius:50%;background:var(--gold-1);color:var(--seal-2);display:grid;place-items:center;font-size:1.3rem;transition:transform .2s}
.join-xl:hover .arr{transform:translateX(3px)}
.join-xl.gold{background:linear-gradient(135deg,var(--gold-1),#E7CF8E);color:var(--seal-2)}
.join-xl.gold .arr{background:var(--seal-2);color:var(--gold-1)}
.reassure{font-size:.93rem;color:var(--muted)}
.stats6{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;max-width:780px;margin-top:20px;background:var(--surface);border:1px solid var(--gold-2);border-radius:22px;box-shadow:0 18px 40px rgba(60,40,0,.08)}
.stats6 > div{padding:22px 12px;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0}
.stats6 > div + div{border-left:1px solid var(--line)}
.stats6 b{font-family:var(--display);font-weight:700;font-size:clamp(2rem,5vw,3rem);line-height:1;color:var(--accent);font-variant-numeric:lining-nums tabular-nums}
.stats6 span{font-size:.88rem;color:var(--muted)}
.stats-note{font-size:.8rem;color:var(--muted)}

.r6{padding-block:40px 60px;display:flex;flex-direction:column;gap:26px;scroll-margin-top:70px}
.r6-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;flex-wrap:wrap}
.r6-head > div:first-child{display:flex;flex-direction:column;gap:8px;max-width:58ch}
.r6 h2,.ph6 h1{font-size:clamp(2rem,4.4vw,3rem)}
.cats{display:flex;gap:4px;flex-wrap:wrap;background:var(--raised);padding:5px;border-radius:999px;border:1px solid var(--line)}
.cats button{border:0;background:transparent;border-radius:999px;padding:9px 16px;font-weight:600;cursor:pointer;display:inline-flex;gap:8px;align-items:center;color:var(--muted)}
.cats button:hover{color:var(--ink)}
.cats button[aria-pressed="true"]{background:var(--surface);color:var(--ink);box-shadow:0 4px 12px rgba(60,40,0,.12)}
.cats .n{font-size:.74rem;background:var(--sand);color:var(--on-sand);border-radius:999px;padding:0 8px;font-variant-numeric:tabular-nums}
.rgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}
.rcard{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:22px;display:flex;flex-direction:column;gap:12px;cursor:pointer;text-align:left;min-width:0;color:inherit;font:inherit;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.rcard:hover,.rcard:focus-visible{transform:translateY(-4px);border-color:var(--gold-2);box-shadow:0 18px 36px rgba(60,40,0,.13)}
.rtop{display:flex;justify-content:space-between;align-items:center;gap:10px}
.ricon{width:46px;height:46px;border-radius:14px;background:var(--sand);color:var(--on-sand);display:grid;place-items:center;flex:none}
.hiring{display:inline-flex;gap:7px;align-items:center;font-size:.78rem;font-weight:600;color:var(--good)}
.rcard h3{font-family:var(--display);font-size:1.6rem;font-weight:700;line-height:1.05}
.rcard p{color:var(--muted);font-size:.94rem}
.rpay{font-weight:600;font-variant-numeric:tabular-nums}
.rpay small{font-weight:400;color:var(--muted)}
.rmeta{display:flex;gap:6px;flex-wrap:wrap}
.rmeta span{font-size:.78rem;border:1px solid var(--line);border-radius:999px;padding:1px 9px;color:var(--muted)}
.rmore{margin-top:auto;color:var(--accent);font-weight:600;display:flex;gap:6px;align-items:center}
.rmore i{font-style:normal;transition:transform .2s}
.rcard:hover .rmore i{transform:translateX(4px)}
.rall{align-self:center}
.rgroup{display:flex;flex-direction:column;gap:14px}
.rgroup h2{font-size:1.7rem}
.rfilter{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.rfilter .inp{flex:1 1 240px}
/* The role search on the home page and on All roles: a clear box with an icon, a hint and a Search button. */
.role-search{display:flex;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:6px 6px 6px 16px;min-width:0;box-shadow:0 6px 18px -14px rgba(0,0,0,.35)}
.role-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 18%,transparent)}
.role-search-ic{width:20px;height:20px;flex:none;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round}
.role-search input{flex:1 1 auto;min-width:0;border:0;background:transparent;font:inherit;color:var(--ink);padding:8px 4px;outline:none}
.role-search input::placeholder{color:var(--muted)}
.role-search-go{flex:none;border:1px solid var(--accent);background:var(--accent);color:var(--on-accent);border-radius:999px;padding:9px 22px;font:600 1rem var(--body);cursor:pointer}
.role-search-go:hover{filter:brightness(1.08)}
.rfilter .role-search{flex:1 1 320px}
/* For AI companies: the two ways to start, and the steps with their usual service time. */
.svc{display:flex;flex-direction:column;gap:18px;padding-block:28px 40px}
.svc-ways{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}
.svc-way{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:24px;display:flex;flex-direction:column;gap:8px}
.svc-way h3,.svc-sub{margin:0}
.svc-way p:last-child{color:var(--muted);margin:0}
.svc-sub{margin-top:14px;font-size:1.25rem}
.svc-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}
.svc-steps li{display:flex;flex-direction:column;gap:6px;border-top:2px solid var(--gold-2);padding-top:14px}
.svc-steps h4{margin:0;font-size:1.1rem}
.svc-steps p{margin:0;color:var(--muted)}
.svc-time{align-self:flex-start;background:var(--sand);color:var(--on-sand);border-radius:999px;padding:4px 12px;font-size:.85rem;font-weight:600}
.about-actions{display:flex;flex-wrap:wrap;gap:14px;justify-content:center}

.band6{background:radial-gradient(60% 90% at 100% 100%,var(--seal-1),transparent 70%),radial-gradient(40% 70% at 0% 0%,var(--hero-2),transparent 70%),var(--hero);color:var(--on-hero);border-radius:28px;padding:56px 24px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:18px;margin-bottom:56px}
.band6 .label{color:var(--gold-1)}
.band6 h2{font-size:clamp(2rem,5vw,3.2rem);max-width:18ch}
.band6 p{max-width:52ch;opacity:.9}

.ph6{padding-block:44px 6px;display:flex;flex-direction:column;gap:10px;max-width:64ch}
/* FAQs: one question per row, opened on a click. They are real <details>, so they work without the script. */
.faq6{display:flex;flex-direction:column;gap:12px;padding-block:24px 48px;max-width:78ch}
.faq-item{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:4px 20px}
.faq-item summary{cursor:pointer;list-style:none;padding:16px 28px 16px 0;position:relative;font-weight:600;font-size:1.06rem}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";position:absolute;right:2px;top:50%;transform:translateY(-50%);font-size:1.5rem;line-height:1;color:var(--seal-1)}
.faq-item[open] summary::after{content:"2"}
.faq-item summary:focus-visible{outline:2px solid var(--gold-2);outline-offset:4px;border-radius:8px}
.faq-item > p{padding-bottom:18px;max-width:68ch;color:var(--muted)}
.faq-item > p a{color:var(--seal-1)}
/* The questions sent with an assessment, on the expert's Campus page. */
.as-questions{margin:8px 0 0;padding-left:20px;display:flex;flex-direction:column;gap:4px;color:var(--muted);font-size:.9rem}
.as-questions li{padding-left:2px}
.crumb{border:0;background:none;padding:0;color:var(--accent);font-weight:600;cursor:pointer;align-self:flex-start}
.crumb:hover{text-decoration:underline}
.rp{padding-block:22px 64px;display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:44px;align-items:start}
.rp-main{display:flex;flex-direction:column;gap:22px;min-width:0}
.rp-main h1{font-size:clamp(2.5rem,6.5vw,4.2rem)}
.rp-main h2{font-size:1.5rem}
.rp-main ul{margin:0;padding-left:20px;display:grid;gap:8px;color:var(--muted)}
.rp-main .lede{color:var(--ink)}
.rp-card{position:sticky;top:84px;background:var(--surface);border:1px solid var(--gold-2);border-radius:22px;padding:26px;display:flex;flex-direction:column;gap:14px;box-shadow:0 18px 40px rgba(60,40,0,.10)}
.rp-card .big{font-family:var(--display);font-weight:700;font-size:2.5rem;line-height:1;font-variant-numeric:lining-nums}
.rp-card .join-xl{font-size:1.1rem;padding:14px 14px 14px 28px;justify-content:space-between}
.rp-card .join-xl .arr{width:36px;height:36px}
.flow{list-style:none;margin:0;padding:0;display:grid;gap:10px;counter-reset:fl}
.flow li{counter-increment:fl;display:flex;gap:12px;align-items:center;font-size:.95rem}
.flow li::before{content:counter(fl);width:28px;height:28px;border-radius:50%;display:grid;place-items:center;flex:none;background:var(--sand);color:var(--on-sand);font-weight:600;font-size:.85rem}
.hw{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:18px;padding-block:20px 40px}
.hw .card{gap:8px}
.l-contact{margin-top:24px}

/* ---------- Sign-up steps ---------- */
.stepper{display:flex;gap:6px;list-style:none;margin:0 0 4px;padding:0}
.stepper li{flex:1;display:flex;flex-direction:column;gap:6px;font-size:.72rem;color:var(--muted);font-weight:600;min-width:0;line-height:1.2}
.stepper li::before{content:"";height:5px;border-radius:3px;background:var(--line)}
.stepper li.done{color:var(--good)}
.stepper li.done::before{background:var(--s1)}
.stepper li.on{color:var(--ink)}
.stepper li.on::before{background:var(--gold-2)}
.ob{display:flex;flex-direction:column;gap:14px}
.notice{border:1px solid var(--gold-2);background:var(--raised);border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:6px}
.notice.bad{border-color:var(--bad)}
.notice h3{font-family:var(--display);font-size:1.3rem}

/* ---------- Dashboards ---------- */
#roles .opp{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;width:100%;cursor:pointer;text-align:left;font:inherit;font-weight:600;
  background:linear-gradient(135deg,var(--seal-1),var(--seal-2));color:var(--gold-1);border:1px solid var(--gold-2);box-shadow:0 8px 18px rgba(15,59,42,.22)}
#roles .opp:hover{filter:brightness(1.1)}
#roles .opp[aria-current="page"]{box-shadow:0 0 0 3px var(--gold-2),0 8px 18px rgba(15,59,42,.22)}
#roles .opp .n{margin-left:auto;background:var(--gold-1);color:var(--seal-2);border-radius:999px;font-size:.76rem;padding:0 8px}
.vbanner{background:var(--sand);color:var(--on-sand);border:1px solid var(--gold-2);border-radius:12px;padding:10px 14px;display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.kv{display:grid;grid-template-columns:minmax(120px,190px) minmax(0,1fr);gap:0;margin:0}
.kv dt,.kv dd{padding-block:12px;border-top:1px solid var(--line);margin:0}
.kv dt:first-of-type,.kv dd:first-of-type{border-top:0}
.kv dt{color:var(--muted);font-size:.9rem}
.kv dd{overflow-wrap:anywhere;font-weight:500}
.danger{border-color:var(--bad)}
.danger h2{color:var(--bad)}
.btn.bad{background:var(--bad);border-color:var(--bad);color:#fff}
.btn.sm{padding:5px 14px;font-size:.9rem}
.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.formgrid .full{grid-column:1 / -1}
.f textarea{background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:11px 14px;width:100%;font:inherit;color:inherit;min-height:110px;resize:vertical}
.okmsg{color:var(--good);font-weight:600}
.paycard{display:flex;gap:16px;align-items:center;flex-wrap:wrap;background:var(--raised);border-radius:12px;padding:16px}
.paycard .pm{width:52px;height:52px;border-radius:12px;background:var(--hero);color:var(--on-hero);display:grid;place-items:center;font-weight:700;flex:none}
.paycard > div{display:flex;flex-direction:column;gap:2px;min-width:0}
.paycard .btn{margin-left:auto}
.ring{width:132px;height:132px;flex:none}
.ring text{font-family:var(--display);font-weight:700;fill:var(--ink)}
.report{display:flex;gap:24px;align-items:center;flex-wrap:wrap}
.report > div{flex:1 1 260px;min-width:0;display:flex;flex-direction:column;gap:10px}
.tl{list-style:none;margin:0;padding:0;display:grid;gap:0}
.tl li{display:grid;grid-template-columns:86px minmax(0,1fr) auto;gap:12px;padding-block:9px;border-top:1px solid var(--line);font-size:.94rem;align-items:center}
.tl li:first-child{border-top:0}
/* The live microphone level on the English test set-up page: dashes that light up with the voice. */
.mic-pill{display:inline-flex;gap:6px;align-items:center;align-self:flex-start;padding:12px 18px;border-radius:999px;background:var(--raised);border:1px solid var(--line)}
.mic-pill i{display:block;width:14px;height:4px;border-radius:2px;background:var(--line)}
.mic-pill i.on{background:var(--s1)}
/* The password strength bar under the sign-up password. */
.pw-meter{height:6px;border-radius:3px;background:var(--line);overflow:hidden;margin-top:8px}
.pw-meter i{display:block;height:100%;width:0;border-radius:3px;transition:width .2s ease,background .2s ease}
.pw-meter[data-level="1"] i{width:25%;background:#B5523B}
.pw-meter[data-level="2"] i{width:50%;background:var(--gold-2)}
.pw-meter[data-level="3"] i{width:75%;background:var(--s3)}
.pw-meter[data-level="4"] i{width:100%;background:var(--s1)}
.tl .t{color:var(--muted);font-variant-numeric:tabular-nums}
.stars{display:inline-flex;gap:2px}
.stars button{border:0;background:none;padding:2px;cursor:pointer;font-size:1.2rem;line-height:1;color:var(--line)}
.stars button.on{color:var(--gold-2)}
.acts-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.subform{display:flex;flex-direction:column;gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:14px;margin-top:10px}
.subform .inp,.subform select,.subform textarea{width:100%;font:inherit;color:inherit}
.subform textarea{background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:10px 14px;min-height:80px}
.board{display:flex;flex-direction:column}
.board .rowi h3{display:flex;gap:10px;align-items:center}
.rank{width:28px;height:28px;border-radius:50%;display:inline-grid;place-items:center;background:var(--sand);color:var(--on-sand);font-size:.85rem;flex:none}
.c4{grid-column:span 4} .c8{grid-column:span 8}
textarea.inp{min-height:150px;resize:vertical;width:100%;font:inherit;color:inherit;line-height:1.5}
.count{font-size:.85rem;color:var(--muted);font-variant-numeric:tabular-nums}
.qreply{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start;padding-block:12px;border-top:1px solid var(--line)}
.qreply:first-child{border-top:0;padding-top:0}
.qreply p{color:var(--muted);font-size:.94rem}
.miss{display:flex;gap:6px;flex-wrap:wrap}
.miss span{font-size:.78rem;border:1px solid var(--warn);color:var(--warn);border-radius:999px;padding:0 9px}
.train{display:grid;grid-template-columns:minmax(0,1fr) 140px auto;gap:14px;align-items:center;padding-block:12px;border-top:1px solid var(--line)}
.train:first-child{border-top:0;padding-top:0}

@media (prefers-reduced-motion:no-preference){
  .pdot::after,.hiring .pdot::after{content:"";position:absolute;inset:0;border-radius:50%;background:var(--mint);animation:dotping 1.6s ease-out infinite}
  .join-xl::before{content:"";position:absolute;top:0;bottom:0;width:40%;left:-60%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.22),transparent);transform:skewX(-18deg);animation:shine 4.5s ease-in-out infinite}
  @keyframes shine{0%,70%{left:-60%}100%{left:130%}}
  .rgrid.anim .rcard{animation:rise .5s cubic-bezier(.2,.8,.3,1) both;animation-delay:calc(var(--i,0) * 60ms)}
  @keyframes rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
  .h6 > *{animation:rise .7s cubic-bezier(.2,.8,.3,1) both}
  .h6 > :nth-child(2){animation-delay:.06s} .h6 > :nth-child(3){animation-delay:.12s} .h6 > :nth-child(4){animation-delay:.18s} .h6 > :nth-child(5){animation-delay:.24s} .h6 > :nth-child(6){animation-delay:.3s}
}
@media (max-width:900px){
  .nav6 .nav-toggle{display:inline-flex;align-items:center;margin-left:auto;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:999px;padding:8px 16px;font:600 .95rem var(--body);cursor:pointer}
  .nav6 .links{display:none;width:100%;flex-direction:column;align-items:stretch;gap:2px;padding-block:6px 10px}
  .nav6.nav-open .links{display:flex}
  .nav6 .links .nl{display:block;padding:12px 8px}
  .nav6 .links .btn{margin:6px 0 0;text-align:center}
  .h6{padding-block:44px 24px}
  .join-xl{font-size:1.12rem;padding:14px 14px 14px 28px}
  .join-xl .arr{width:36px;height:36px}
  .stats6 > div{padding:16px 6px}
  .stats6 span{font-size:.78rem;text-align:center}
  .rp{grid-template-columns:minmax(0,1fr)}
  .rp-card{position:static}
  .band6{padding:36px 18px}
  .cats{border-radius:16px}
  .c4,.c8{grid-column:span 12}
  .formgrid{grid-template-columns:minmax(0,1fr)}
  .kv{grid-template-columns:minmax(0,1fr)}
  .kv dd{border-top:0;padding-top:0}
  .tl li{grid-template-columns:70px minmax(0,1fr)}
  .tl li > :nth-child(3){grid-column:2}
  .train{grid-template-columns:minmax(0,1fr)}
  .paycard .btn{margin-left:0}
}
.dgrid > div{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.dgrid > div > .label{margin-top:12px}
.dgrid > div > .subform{align-self:stretch}
.dgrid a{color:var(--accent);font-weight:600}
@media (min-width:901px){ .tl li{grid-template-columns:100px minmax(0,1fr) auto} }

/* ---------- Version 7: a global, hands-on front page ---------- */
.h7{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:24px;align-items:center;padding-block:40px 6px}
.h7 .h6{align-items:flex-start;text-align:left;padding-block:20px}
.h7 .h6 h1{font-size:clamp(3rem,7.4vw,6rem);max-width:11ch}
.globe-wrap{position:relative;margin:0;width:100%;max-width:560px;aspect-ratio:1;justify-self:center}
#globe{display:block;width:100%;height:100%;cursor:grab;touch-action:pan-y}
#globe.grab{cursor:grabbing}
#globe:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.globe-tip{position:absolute;transform:translate(-50%,-150%);background:var(--ink);color:var(--bg);font-size:.84rem;font-weight:600;padding:4px 10px;border-radius:8px;pointer-events:none;white-space:nowrap}
/* A larger wordmark in the top bar */
.nav6 .seal{width:46px;height:46px}
.nav6 .wm-name{font-size:1.95rem}
.nav6 .wm-ai{font-size:1.05rem;padding-left:10px}
.nav6 .brand{gap:12px}
@media (max-width:900px){ .nav6 .seal{width:40px;height:40px} .nav6 .wm-name{font-size:1.7rem} .nav6 .wm-ai{font-size:.95rem} }
.stats-row{display:flex;flex-direction:column;align-items:center;gap:8px;padding-block:10px 20px}
.stats-row .stats6{margin-top:0}

.try{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:40px;align-items:center;margin-block:40px 10px;padding:44px;border-radius:30px;
  background:radial-gradient(70% 90% at 0% 100%,var(--side-wash),transparent 70%),var(--raised);border:1px solid var(--line)}
.try-head{display:flex;flex-direction:column;gap:12px;min-width:0}
.try-head h2{font-size:clamp(2rem,4vw,2.8rem)}
.try-head .cats{align-self:flex-start;margin-top:6px;border-radius:18px}
.try-card{background:var(--surface);border:1px solid var(--gold-2);border-radius:24px;padding:28px;display:flex;flex-direction:column;gap:18px;box-shadow:0 24px 50px rgba(60,40,0,.14);min-width:0}
.try-q p{font-family:var(--display);font-weight:700;font-size:clamp(1.3rem,2.4vw,1.6rem);line-height:1.2;margin-top:6px}
.try-a p{background:var(--raised);border-radius:12px;padding:14px 16px;margin-top:6px;box-shadow:inset 4px 0 0 var(--s1)}
.try-v{display:flex;gap:10px;flex-wrap:wrap}
.try-v button{flex:1 1 120px;border:1.5px solid var(--line);background:var(--bg);border-radius:14px;padding:13px;font-weight:600;cursor:pointer;transition:transform .15s,border-color .15s,background .15s}
.try-v button:hover:not(:disabled){border-color:var(--accent);transform:translateY(-2px)}
.try-v button:disabled{cursor:default}
.try-v button.truth{background:var(--sand);color:var(--on-sand);border-color:var(--good)}
.try-v button.right{box-shadow:0 0 0 3px var(--good)}
.try-v button.miss{border-color:var(--bad);color:var(--bad)}
.try-res{display:flex;flex-direction:column;gap:10px;border-top:1px dashed var(--line);padding-top:16px}
.try-verdict{font-family:var(--display);font-weight:700;font-size:1.5rem}
.try-verdict.ok{color:var(--good)} .try-verdict.no{color:var(--bad)}
.try-score{font-size:.85rem;color:var(--muted);min-height:1.3em}
.phone{display:flex;gap:8px;min-width:0}
.phone select{flex:0 0 auto;width:auto;max-width:60%;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:11px 8px}
.phone input{flex:1;min-width:0}

.rcard{position:relative;transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(var(--ty,0px));transition:transform .2s ease,box-shadow .25s ease,border-color .25s ease}
.rcard:hover,.rcard:focus-visible{transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(-4px)}
.rcard::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .25s;
  background:radial-gradient(260px circle at var(--mx,50%) var(--my,0%),color-mix(in srgb,var(--gold-1) 60%,transparent),transparent 65%)}
.rcard:hover::before{opacity:1}
.rcard > *{position:relative}
@media (prefers-reduced-motion:no-preference){
  .try-card.swap > *{animation:rise .45s cubic-bezier(.2,.8,.3,1) both}
  .try-card.swap > :nth-child(2){animation-delay:.06s} .try-card.swap > :nth-child(3){animation-delay:.12s}
  .try-res:not([hidden]){animation:rise .35s ease both}
}
.h7 .kicker{color:var(--ink)}
.h7 .slogan i{color:var(--accent)}
@media (max-width:900px){
  .globe-wrap{aspect-ratio:auto}
  #globe{aspect-ratio:1;height:auto}
  .try-head .cats{display:grid;grid-template-columns:1fr 1fr;align-self:stretch}
  .h7{grid-template-columns:minmax(0,1fr);padding-block:14px 0;gap:6px}
  .h7 .h6{align-items:center;text-align:center}
  .globe-wrap{max-width:400px}
  .try{grid-template-columns:minmax(0,1fr);padding:22px 16px;gap:22px;border-radius:22px}
  .try-card{padding:20px}
}

/* ---- Layout (last rules win): wide on desktops, fully usable on phones ---- */
/* Desktop: the public pages use about 90% of the window; the app fills the space beside its sidebar. */
.l-wrap{max-width:1200px;width:100%;margin-inline:auto;padding-inline:40px}
@media (min-width:901px){
.h7{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:48px;padding-block:36px 24px}
.h7 > *{min-width:0}
.h7 .h6 h1{font-size:clamp(3rem,4.6vw,4.9rem);max-width:none}
.h7 .h6 h1 em{white-space:normal}
.h7 .h6 .slogan{max-width:40ch}
.globe-wrap{max-width:560px;justify-self:center}
.rgrid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}
}
.stats-row:has(#stats6:empty){display:none}
.page{max-width:none;width:100%}
.shell{grid-template-columns:clamp(220px,16vw,272px) minmax(0,1fr)}
main{padding:clamp(18px,2.2vw,40px) clamp(16px,2.6vw,52px) 56px}
.topbar .bell{white-space:nowrap}

/* Phones and small tablets (900px and below) */
@media (max-width:900px){

  .l-wrap{width:100%;padding-inline:16px}
  .h7{grid-template-columns:minmax(0,1fr);gap:18px;padding-block:28px 12px;min-height:0}
  .h7 .h6{align-items:center;text-align:center}
  .h7 .h6 h1{font-size:clamp(2.6rem,11vw,3.6rem);max-width:none}
  .h7 .h6 .slogan{max-width:34ch;margin-inline:auto}
  .h7 .h6 .join-xl{align-self:center}
  .globe-wrap{max-width:300px;justify-self:center}
  .shell{grid-template-columns:minmax(0,1fr)}
  aside{padding:14px 16px;gap:12px}
  .menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:4px}
  .menu button{min-width:0}
  .menu button{width:auto;padding:8px 12px;white-space:normal}
  #roles{display:none}
  main{padding:14px 16px 44px;gap:18px;min-width:0}
  .topbar{flex-direction:column;align-items:flex-start;gap:10px}
  .topbar .right{flex-wrap:wrap;gap:8px;width:100%}
  .topbar .bell{padding:6px 12px;font-size:.92rem}
  /* On a phone the top bar stacks, so the bell and account panels open across the full width instead of off the left edge. */
  .bell-menu,.acct-menu{position:static}
  .notes,.acct-panel{left:0;right:0;width:auto;max-width:none}
  .who{min-width:0}
  .top{flex-direction:column;align-items:flex-start;gap:12px}
  .top h1{font-size:clamp(1.75rem,8vw,2.4rem);overflow-wrap:anywhere}
  .cards{grid-template-columns:minmax(0,1fr)}
  .grid{grid-template-columns:minmax(0,1fr)}
  .grid > section,.grid > div{grid-column:1 / -1 !important;min-width:0}
  .panel{padding:18px}
  .panel .ph{flex-wrap:wrap;gap:8px}
  .acts,.acts-row{flex-wrap:wrap}
  .btn{max-width:100%}
  .formgrid{grid-template-columns:minmax(0,1fr)}
  .rowi .act{justify-content:flex-start}
  table{font-size:.9rem}
  .scroll{-webkit-overflow-scrolling:touch}
  .inp{font-size:16px}
  .a-box{padding:20px}
  .a-main{padding:16px}
  .a-actions .btn{width:100%}
  h2{overflow-wrap:anywhere}
}

/* Very small phones (380px and below) */
@media (max-width:380px){
  main{padding-inline:12px}
  .l-wrap{padding-inline:12px}
  .bell .label-long{display:none}
  .panel{padding:14px}
  .a-box{padding:16px}
}

/* Tables become one card per row on phones, each cell labelled with its column */
@media (max-width:700px){
  table.stack thead{display:none}
  table.stack,table.stack tbody,table.stack tr,table.stack td{display:block;width:100%}
  table.stack tr{border-top:1px solid var(--line);padding:12px 0}
  table.stack tr:first-child{border-top:0}
  table.stack td{border:0;padding:4px 0;text-align:left !important}
  table.stack td[data-label]::before{content:attr(data-label);display:block;font-size:.74rem;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin-bottom:2px}
  table.stack td.empty{padding:12px 0}
}

/* Enterprise composition for the public pages: a steady grid, a clear step line, no orphans */
@media (min-width:1100px){
  .l-steps{grid-template-columns:repeat(5,minmax(0,1fr));gap:0;position:relative}
  .l-steps li{padding:0 22px 0 0;position:relative}
  .l-steps li::after{content:"";position:absolute;left:44px;right:0;top:21px;height:1px;background:var(--gold-2);opacity:.55}
  .l-steps li:last-child::after{display:none}
  .l-steps li h3{margin-top:4px}
  .vals{grid-template-columns:repeat(4,minmax(0,1fr));gap:30px}
}
@media (max-width:1099px) and (min-width:701px){
  .l-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .l-steps li:last-child{grid-column:1 / -1}
  .vals{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Sign-in and forms: a calm, consistent look (Chrome's saved-login colour is replaced with the site's) */
input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 1000px var(--raised) inset !important;-webkit-text-fill-color:var(--ink) !important;caret-color:var(--ink);transition:background-color 9999s ease-out 0s}
@media (min-width:901px){
  .auth{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
  .a-side{padding:56px 56px}
  .a-side h2{font-size:clamp(2.4rem,3.4vw,3.2rem);line-height:1.05}
  .a-main{justify-content:center;padding:40px 48px}
  .a-box{max-width:460px;padding:40px}
}

/* On small phones the sign-in brand panel shrinks to the logo, so the form is seen straight away */
@media (max-width:600px){
  .a-side{padding:16px 18px;gap:10px}
  .a-side h2{display:none}
  .a-side .brand{padding-bottom:0}
}

/* Shared public pages: the navigation bar and footer as links, the auth screens, the legal pages and the notice card. */
.nav6 a.brand,.nav6 .nl,.nav6 .links a.btn,.teamlink{text-decoration:none}
.nav6 a.brand{color:inherit}
.foot-links{display:flex;gap:16px;flex-wrap:wrap}
.public-main{min-height:60vh}
.legal-doc{max-width:760px;padding-block:32px 56px;color:var(--ink);font:400 17px/1.6 var(--body)}
.legal-doc h1{font:700 2.2rem/1.15 var(--display);color:var(--accent);margin:0 0 6px}
.legal-doc h2{font:700 1.5rem/1.2 var(--display);color:var(--accent);margin:34px 0 10px}
.legal-doc h3{font-size:1.05rem;margin:20px 0 6px}
.legal-doc p,.legal-doc li{margin:0 0 10px}
.legal-doc ul,.legal-doc ol{padding-left:22px}
.legal-doc .meta{color:var(--muted);font-size:.95rem}
.legal-doc .draft{background:var(--wash);color:var(--ink);border-left:4px solid var(--gold-2);border-radius:10px;padding:14px 16px;margin:18px 0 22px}
.legal-doc .ph{background:var(--wash);color:var(--ink);border-radius:4px;padding:0 4px;box-shadow:inset 0 0 0 1px var(--warn)}
.legal-doc .box{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:18px 20px;margin:16px 0}
.legal-doc table{display:block;max-width:100%;overflow-x:auto;width:100%;border-collapse:collapse;margin:10px 0 6px;font-size:.95rem}
.legal-doc th,.legal-doc td{text-align:left;vertical-align:top;border-top:1px solid var(--line);padding:9px 8px}
.legal-doc th{color:var(--accent)}
.notice-card{max-width:460px;margin:60px auto;padding:28px;background:var(--surface);border:1px solid var(--line);border-radius:16px}
.notice-card h1{font:700 1.8rem/1.2 var(--display);color:var(--accent);margin:0 0 10px}
.notice-card p{margin:0 0 12px}
.notice-card a{color:var(--accent);font-weight:600}
.notice-card .muted{color:var(--muted);font-size:.95rem}

/* Site footer: company columns, the legal line, and the back-to-top link. Shown on every public page and in the workspace. */
.site-foot{margin-top:auto;border-top:1px solid var(--line);padding:48px 0 0;color:var(--muted);font-size:.95rem}
.site-foot a{color:var(--ink);text-decoration:none;border-radius:6px}
.site-foot a:hover{text-decoration:underline;text-underline-offset:3px}
.site-foot a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.site-foot .foot-top{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,2.4fr);gap:40px;align-items:start}
.site-foot .brand{display:inline-flex;align-items:baseline;gap:6px;color:var(--ink)}
.site-foot .wm-name{font-family:var(--display);font-size:1.7rem;font-weight:700;line-height:1}
.site-foot .wm-ai{font-size:.8rem;letter-spacing:.12em;color:var(--accent);font-weight:600}
.site-foot .foot-tagline{margin:14px 0 18px;max-width:34ch;line-height:1.55}
.site-foot .foot-cta{display:inline-flex;align-items:center;padding:11px 18px;border-radius:999px;background:var(--accent);color:var(--on-accent)!important;font-weight:600}
.site-foot .foot-cta:hover{text-decoration:none;filter:brightness(1.06)}
.site-foot .foot-cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
.site-foot .foot-col h2{font:600 .8rem/1.2 var(--body);letter-spacing:.12em;text-transform:uppercase;color:var(--accent);margin:0 0 14px}
.site-foot .foot-col ul{list-style:none;margin:0;padding:0;display:grid;gap:11px}
.site-foot .foot-base{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:14px;margin-top:40px;padding:22px 0 30px;border-top:1px solid var(--line)}
.site-foot .foot-legal{margin:0;display:flex;flex-direction:column;gap:4px;max-width:90ch;line-height:1.5}
.site-foot .foot-legal span{display:block}
.site-foot .foot-to-top{white-space:nowrap;font-weight:600;color:var(--accent)!important}
@media (max-width:900px){
  .site-foot{padding-top:36px}
  .site-foot .foot-top{grid-template-columns:minmax(0,1fr);gap:28px}
  .site-foot .foot-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
}
@media (max-width:520px){
  .site-foot .foot-cols{grid-template-columns:minmax(0,1fr);gap:22px}
  .site-foot .foot-base{flex-direction:column}
}
@media (prefers-reduced-motion:no-preference){ .site-foot a{transition:color .15s ease} }
.site-foot .brand{border-bottom:0;padding-bottom:0}
/* The navigation bar already shows the brand, so the sign-in side panel does not repeat it. */
.a-side > .brand{display:none}
@media (min-width:901px){ .nav6 .nav-toggle{display:none} }

/* Footer: a feature band with the calls to action, four link columns, a brand block, and a legal base line. */
.site-foot.sf{padding:0;margin-top:64px;border:0;color:var(--muted);font-size:.95rem}
.sf-band{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:28px 44px;align-items:center;padding:clamp(30px,4.5vw,56px);border-radius:26px;background:radial-gradient(70% 140% at 100% 0%,var(--seal-1),transparent 70%),radial-gradient(50% 90% at 0% 100%,var(--hero-2),transparent 80%),var(--hero);color:var(--on-hero);box-shadow:0 28px 64px rgba(10,40,25,.28)}
.sf-band::after{content:"";position:absolute;right:-90px;bottom:-140px;width:360px;height:360px;border-radius:50%;border:1px solid rgba(246,231,187,.22);box-shadow:0 0 0 46px rgba(246,231,187,.04),0 0 0 92px rgba(246,231,187,.025);pointer-events:none}
.sf-band-copy{position:relative;z-index:1}
.sf-kicker{margin:0 0 12px;font-size:.74rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--gold-1)}
.sf-band h2{margin:0 0 14px;font:700 clamp(2rem,3.6vw,2.8rem)/1.08 var(--display);color:var(--on-hero)}
.sf-band h2 em{font-style:italic;color:var(--gold-1)}
.sf-band p{margin:0;max-width:50ch;color:rgba(246,238,220,.86);line-height:1.65}
.sf-actions{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:12px}
@media (min-width:900px){ .sf-actions{justify-content:flex-end} }
.sf-btn{display:inline-flex;align-items:center;gap:8px;padding:15px 24px;border-radius:999px;font-weight:600;text-decoration:none;transition:transform .18s ease,background-color .18s ease,border-color .18s ease}
.sf-btn.primary{background:var(--gold-1);color:#12281D}
.sf-btn.primary:hover{background:#fff4d2;transform:translateY(-1px);text-decoration:none}
.sf-btn.ghost{border:1px solid rgba(246,238,220,.4);color:var(--on-hero)}
.sf-btn.ghost:hover{border-color:var(--gold-1);transform:translateY(-1px);text-decoration:none}
/* The sign-in and join pages do not repeat the "Join as an expert" call to action in the navigation bar or the footer. */
.public.on-auth .join-cta{display:none}
/* The cookie notice: a thin bar across the whole bottom of the screen, hidden once OK is pressed. */
.ck{position:fixed;left:0;right:0;bottom:0;z-index:40;width:100%;background:var(--surface);border-top:1px solid var(--gold-2);padding:10px clamp(16px,3vw,40px);display:flex;flex-direction:column;flex-wrap:wrap;align-items:center;justify-content:center;text-align:center;gap:10px;box-shadow:0 -14px 36px -22px rgba(15,59,42,.5);font-size:.9rem}
.ck[hidden]{display:none}
.ck p{margin:0;max-width:72ch;min-width:0;text-align:center}
.ck .acts-row{flex:0 0 auto;justify-content:center;gap:14px;align-items:center}
@media (max-width:620px){ .ck{padding:12px 16px} .ck .acts-row{width:100%;justify-content:center} }
/* While the cookie notice shows, the page keeps room for it at the bottom, so the footer can be read above it. */
body.ck-on #public{padding-bottom:var(--ck-h,72px)}
/* The review page while the team decides: the steps with a tick for each one that is done. */
.rv-steps{list-style:none;margin:20px 0;padding:0;display:grid;gap:14px}
.rv-s{display:flex;gap:12px;align-items:flex-start}
.rv-s > div{min-width:0}
.rv-s b{display:block}
.rv-s small{display:block;color:var(--muted);font-size:.86rem}
/* The under-review page: the seal in the middle, three icons turning around it, the journey and what happens next. */
.rv-page{max-width:980px;margin:0 auto;padding:18px 16px 40px;display:flex;flex-direction:column;gap:0}
.rv-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid var(--line);flex-wrap:wrap}
.rv-brand{display:flex;align-items:center;gap:10px;font-weight:600;color:var(--ink)}
.rv-logo{width:30px;height:30px;border-radius:50%;background:var(--seal-1);display:grid;place-items:center}
.rv-logo svg,.rv-seal svg,.rv-ico svg{width:100%;height:100%;fill:none;stroke-linecap:round;stroke-linejoin:round}
.rv-logo svg{width:70%;height:70%;stroke:var(--gold-1);stroke-width:2}
.rv-who{display:flex;align-items:center;gap:10px;font-size:.92rem;color:var(--muted)}
.rv-hero{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:34px 0 26px}
.rv-orbit{position:relative;width:150px;height:150px;margin-bottom:6px;animation:rv-spin 26s linear infinite}
.rv-ring{position:absolute;inset:0;border:1px dashed var(--line);border-radius:50%}
.rv-seal{position:absolute;inset:34px;border-radius:50%;display:grid;place-items:center;filter:drop-shadow(0 3px 5px rgba(40,30,0,.25))}
.rv-seal svg{width:100%;height:100%}
.rv-ico{position:absolute;width:32px;height:32px;padding:7px;border-radius:50%;background:var(--surface);border:1px solid var(--line);display:grid;place-items:center;animation:rv-spin-rev 26s linear infinite}
.rv-ico svg{stroke:var(--s2);stroke-width:1.8}
.rv-ico1{top:-6px;left:59px}
.rv-ico2{bottom:6px;left:12px}
.rv-ico3{bottom:6px;right:12px}
@keyframes rv-spin{to{transform:rotate(360deg)}}
@keyframes rv-spin-rev{to{transform:rotate(-360deg)}}
.rv-h1{margin:0}
.rv-lede{max-width:560px;color:var(--muted);margin:0}
.rv-status{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:center;font-size:.86rem;color:var(--muted);margin:0}
.rv-dot{width:8px;height:8px;border-radius:50%;background:var(--s1);animation:rv-pulse 1.6s ease-in-out infinite}
@keyframes rv-pulse{50%{opacity:.25}}
.rv-link{background:none;border:0;padding:0;color:var(--s2);text-decoration:underline;cursor:pointer;font:inherit}
.rv-acts{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.rv-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}
.rv-side{display:flex;flex-direction:column;gap:16px;min-width:0}
.rv-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:20px;min-width:0}
.rv-card h2{margin:0 0 10px;font-size:1.1rem}
.rv-card .rv-steps{margin:0}
.rv-next{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.rv-next li{display:flex;gap:12px;align-items:flex-start;font-size:.92rem;color:var(--muted)}
.rv-next b{width:24px;height:24px;border-radius:50%;background:var(--ink);color:var(--surface);display:grid;place-items:center;flex:none;font-size:.8rem}
.rv-next strong{color:var(--ink)}
.rv-tip{background:var(--s2);color:var(--surface);border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.rv-tip-label{margin:0;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;opacity:.8}
.rv-tip-text{margin:0;font-family:inherit;font-size:1.05rem;font-weight:600;line-height:1.35}
.rv-dots{display:flex;gap:6px;margin:4px 0}
.rv-dots i{display:block;width:8px;height:3px;border-radius:2px;background:currentColor;opacity:.35;transition:width .3s ease,opacity .3s ease}
.rv-dots i.on{width:18px;opacity:1}
.rv-faq{display:inline-block;border:1px solid currentColor;border-radius:999px;padding:6px 14px;color:inherit;text-decoration:none;font-size:.85rem}
.rv-foot{text-align:center;font-size:.8rem;color:var(--muted);margin:28px 0 0}
@media (max-width:760px){.rv-grid{grid-template-columns:minmax(0,1fr)}}
@media (prefers-reduced-motion:reduce){.rv-orbit,.rv-ico,.rv-dot{animation:none}}
.rv-page .rv-steps .rv-sd{width:22px;height:22px;border-radius:50%;background:var(--s1);color:var(--surface);display:grid;place-items:center;flex:none;font-size:.8rem}
.rv-page .rv-steps .rv-s.todo .rv-sd,.rv-page .rv-steps .rv-s.skip .rv-sd{background:transparent;border:1px solid var(--line)}
.rv-page .rv-steps .rv-s.now .rv-sd{background:transparent;border:2px solid var(--gold-2)}
.rv-sd{width:24px;height:24px;flex:0 0 24px;border-radius:50%;border:1.5px solid var(--line);display:inline-grid;place-items:center;font-size:.8rem;font-weight:700}
.rv-s.done .rv-sd{background:var(--accent);border-color:var(--accent);color:#fff}
.rv-s.now .rv-sd{border-color:var(--gold-2)}
.sf-btn:focus-visible,.sf-col a:focus-visible,.sf-social a:focus-visible,.sf-top:focus-visible{outline:2px solid var(--gold-1);outline-offset:3px}
.sf-main{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,1fr));gap:40px 30px;padding:56px 4px 8px}
.sf-brand .brand{display:inline-flex;align-items:baseline;gap:6px;color:var(--ink);text-decoration:none}
.sf-brand .wm-name{font-family:var(--display);font-size:1.9rem;font-weight:700;line-height:1}
.sf-brand .wm-ai{font-size:.82rem;letter-spacing:.12em;color:var(--accent);font-weight:600}
.sf-tag{margin:16px 0 20px;max-width:34ch;line-height:1.65}
.sf-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px;padding:0;list-style:none}
.sf-chips li{padding:7px 13px;border:1px solid var(--line);border-radius:999px;font-size:.83rem;color:var(--ink);background:var(--surface)}
.sf-social{display:flex;flex-wrap:wrap;gap:10px}
.sf-social a{padding:9px 16px;border:1px solid var(--line);border-radius:999px;color:var(--ink);font-weight:600;font-size:.88rem;text-decoration:none;transition:border-color .15s ease,color .15s ease}
.sf-social a:hover{border-color:var(--accent);color:var(--accent)}
.sf-col h2{margin:0 0 18px;font:600 .74rem/1.2 var(--body);letter-spacing:.16em;text-transform:uppercase;color:var(--accent)}
.sf-col ul{list-style:none;margin:0;padding:0;display:grid;gap:13px}
.sf-col a{color:var(--ink);text-decoration:none;background-image:linear-gradient(currentColor,currentColor);background-size:0 1px;background-position:0 100%;background-repeat:no-repeat;transition:background-size .22s ease,color .15s ease;padding-bottom:1px}
.sf-col a:hover{background-size:100% 1px;color:var(--accent)}
.sf-base{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:18px 28px;margin-top:44px;padding:26px 4px 34px;border-top:1px solid var(--line)}
.sf-legal{display:flex;flex-direction:column;gap:5px;font-size:.88rem;line-height:1.55}
.sf-top{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:999px;padding:10px 18px;color:var(--ink);font-weight:600;text-decoration:none;transition:border-color .15s ease,color .15s ease}
.sf-top:hover{border-color:var(--accent);color:var(--accent)}
@media (max-width:1000px){ .sf-main{grid-template-columns:repeat(3,minmax(0,1fr))} .sf-brand{grid-column:1 / -1} }
@media (max-width:640px){ .sf-band{grid-template-columns:minmax(0,1fr);border-radius:20px} .sf-main{grid-template-columns:minmax(0,1fr);gap:32px} .sf-actions{flex-direction:column;align-items:stretch} .sf-btn{justify-content:center} }
@media (prefers-reduced-motion:reduce){ .sf-col a,.sf-btn,.sf-top,.sf-social a{transition:none} }

/* Sign-up and sign-in screens: more room for each field and each step. */
.a-main{padding:52px 32px 88px}
.a-box{max-width:660px;padding:50px 56px;gap:28px;border-radius:24px}
.a-box .ob{gap:26px}
.a-box .f{gap:10px}
.a-box .f input,.a-box .f select,.a-box .f textarea{padding:15px 18px;font-size:1.02rem;min-height:56px}
.a-box .a-actions{margin-top:8px;gap:18px}
.a-box .btn.big{padding:16px 34px;font-size:1.08rem}
.a-box .small{line-height:1.65}
.li-join{display:flex;flex-direction:column;gap:18px;padding:26px 28px;border:1px solid var(--line);border-radius:18px;background:var(--bg)}
.li-join p{margin:0;line-height:1.65}
.a-box .muted{line-height:1.65}
@media (max-width:640px){ .a-main{padding:28px 16px 64px} .a-box{padding:32px 24px;gap:24px;border-radius:20px} .li-join{padding:22px 20px} }
#auth-form .li-join,#auth-form #su-li-note{grid-column:1 / -1}

/* Utility classes for layout values that used to be written inline on the elements. The page needs no inline styles,
   so its stylesheet policy has no 'unsafe-inline'. */
.u-stack{display:flex;flex-direction:column;gap:14px}
.u-stack-18{display:flex;flex-direction:column;gap:18px}
.u-stack-wide{display:flex;flex-direction:column;gap:34px;padding-bottom:56px}
.u-row-wrap{display:flex;gap:16px;flex-wrap:wrap}
.u-cards-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.u-start{justify-content:flex-start}
.u-align-start{align-self:flex-start}
.u-absolute{position:absolute}
.u-flush-margin{margin:0}
.u-panel-flush{padding:0;overflow:hidden}
.u-ph-top{padding:20px 24px 0}
.u-pad-summary{padding:8px 24px 0}
.u-pad-block-18{padding-block:18px}
.u-pad-block-26-10{padding-block:26px 10px}
.u-pad-block-20-60{padding-block:20px 60px}
.u-mt-6{margin-top:6px}
.u-mb-18{margin-bottom:18px}
.u-semibold{font-weight:600}
.u-sans-regular{font-family:var(--body);font-weight:400}
.u-gold-text{color:var(--gold-1)}
.u-title-size{font-size:clamp(1.8rem,3.6vw,2.4rem)}
.u-frame-390{width:390px;height:844px}
.u-frame-820{width:820px;height:844px}
.u-frame-1280{width:1280px;height:844px}
/* White behind the code, in both themes, so phone cameras can read it. */
.ta-qr{display:block;width:240px;max-width:100%;height:auto;background:#fff;padding:12px;border-radius:12px;margin:8px 0 12px}
.ta-key{font-family:ui-monospace,Consolas,monospace;font-size:1.05rem;letter-spacing:.06em;word-break:break-all;background:var(--raised);border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin:0 0 14px}
.eq-narrow{max-width:120px}

/* ---------- Pilot projects, work verification and FAQ (ported from the design file) ---------- */
/* ---------- Version 15.2: the live pilot ---------- */
.ps{position:relative;overflow:hidden;margin-block:30px 20px;border-radius:30px;padding:clamp(22px,4vw,46px);color:#F6EEDC;scroll-margin-top:80px;
  background:radial-gradient(70% 90% at 100% 0%,rgba(201,163,95,.22),transparent 60%),radial-gradient(60% 80% at 0% 100%,#1F5E42,transparent 65%),linear-gradient(160deg,#0F3B2A,#0A2E20);
  box-shadow:0 40px 80px -40px rgba(10,46,32,.9),inset 0 0 0 1px rgba(217,184,113,.35);display:flex;flex-direction:column;gap:26px}
.ps::before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(231,201,138,.16) 1px,transparent 1.3px);background-size:24px 24px;-webkit-mask-image:linear-gradient(180deg,#000,transparent 70%);mask-image:linear-gradient(180deg,#000,transparent 70%);pointer-events:none}
.ps-glow{position:absolute;width:420px;height:420px;right:-120px;top:-160px;border-radius:50%;background:radial-gradient(circle,rgba(246,231,187,.25),transparent 65%);filter:blur(10px);pointer-events:none}
@media (prefers-reduced-motion:no-preference){ .ps-glow{animation:psGlow 9s ease-in-out infinite alternate} @keyframes psGlow{to{transform:translate(-80px,60px) scale(1.15)}} }
.ps > *{position:relative}
.ps > .ps-glow{position:absolute}
.ps-top{display:flex;justify-content:space-between;align-items:flex-end;gap:22px;flex-wrap:wrap}
.ps-intro{display:flex;flex-direction:column;gap:12px;max-width:60ch}
.ps-kick{display:flex;align-items:center;gap:12px;font-size:.74rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:#E7C98A}
.ps-live{display:inline-flex;align-items:center;gap:7px;letter-spacing:.08em;background:rgba(220,60,60,.16);border:1px solid rgba(255,120,110,.45);color:#FFB4AB;border-radius:999px;padding:3px 10px}
.ps-live i{width:8px;height:8px;border-radius:50%;background:#FF6B5E;box-shadow:0 0 0 0 rgba(255,107,94,.6)}
@keyframes psRec{to{box-shadow:0 0 0 9px rgba(255,107,94,0)}}
@media (prefers-reduced-motion:no-preference){ .ps-live i{animation:psRec 1.4s ease-out infinite} }
.ps h2{font-size:clamp(2rem,4.4vw,3.2rem);color:#FFFAF0;line-height:1.02}
.ps h2 em{font-style:italic;color:#E7C98A}
.ps-lede{color:rgba(246,238,220,.82);font-size:1.06rem}
.ps-size{display:flex;align-items:center;gap:6px;background:rgba(255,250,240,.06);border:1px solid rgba(217,184,113,.35);border-radius:20px;padding:6px}
.ps-size-l{font-size:.7rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#E7C98A;padding:0 8px 0 10px}
.ps-size button{border:0;background:transparent;color:#F6EEDC;border-radius:14px;padding:8px 14px;cursor:pointer;font:inherit;display:flex;flex-direction:column;align-items:center;line-height:1.1;transition:background .25s,color .25s,transform .2s}
.ps-size button b{font-family:var(--display);font-size:1.45rem}
.ps-size button small{font-size:.7rem;opacity:.75}
.ps-size button:hover{background:rgba(255,250,240,.08)}
.ps-size button[aria-checked="true"]{background:linear-gradient(135deg,#F6E7BB,#C9A35F);color:#0A2E20;box-shadow:0 10px 22px -10px rgba(246,231,187,.7);transform:translateY(-1px)}
.ps-grid{display:grid;grid-template-columns:220px minmax(0,1fr) 260px;gap:22px;align-items:stretch}
.ps-dial{position:relative;display:grid;place-items:center;align-self:center}
.ps-ring{width:100%;max-width:220px;transform:rotate(-90deg)}
.ps-ring-bg{fill:none;stroke:rgba(255,250,240,.1);stroke-width:12}
.ps-ring-fg{fill:none;stroke:url(#psg);stroke-width:12;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100;filter:drop-shadow(0 0 8px rgba(231,201,138,.55))}
.ps-tick{fill:#0A2E20;stroke:rgba(231,201,138,.8);stroke-width:1.4}
.ps-dial-c{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:2px}
.ps-day{font-family:var(--display);font-weight:700;font-size:2.7rem;line-height:1;color:#FFFAF0;font-variant-numeric:lining-nums}
.ps-of{font-size:.78rem;color:rgba(246,238,220,.7)}
.ps-stage{margin-top:8px;font-size:.78rem;font-weight:700;color:#0A2E20;background:#E7C98A;border-radius:999px;padding:3px 11px}
.ps.done .ps-stage{background:#5CCB92}
.ps-board{background:rgba(255,250,240,.05);border:1px solid rgba(217,184,113,.28);border-radius:22px;padding:16px;display:flex;flex-direction:column;gap:6px;min-width:0;--lab:160px}
.ps-head,.ps-row{display:grid;grid-template-columns:var(--lab) minmax(0,1fr);align-items:center}
.ps-head{font-size:.7rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#E7C98A;padding:0 0 6px}
.ps-head .ps-name{color:#E7C98A;font-size:.7rem;padding-left:6px}
.ps-days{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;letter-spacing:.04em;color:rgba(246,238,220,.6)}
.ps-rows{position:relative;display:flex;flex-direction:column;gap:3px}
.ps-row{border:0;background:transparent;color:inherit;font:inherit;text-align:left;border-radius:10px;padding:6px 0;cursor:pointer;transition:background .25s}
.ps-row:hover{background:rgba(255,250,240,.06)}
.ps-name{display:flex;align-items:center;gap:9px;font-size:.86rem;font-weight:600;color:rgba(246,238,220,.72);padding-left:6px;transition:color .25s}
.ps-name i{width:8px;height:8px;border-radius:50%;border:1.5px solid rgba(231,201,138,.7);flex:none;transition:background .25s,transform .25s}
.ps-row.live .ps-name,.ps-row.past .ps-name{color:#FFFAF0}
.ps-row.live .ps-name i{background:#E7C98A;transform:scale(1.4);box-shadow:0 0 10px rgba(231,201,138,.9)}
.ps-row.past .ps-name i{background:#5CCB92;border-color:#5CCB92}
.ps-lane{position:relative;height:24px;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(100%/7 - 1px),rgba(255,250,240,.08) calc(100%/7 - 1px),rgba(255,250,240,.08) calc(100%/7))}
.ps-bar{position:absolute;top:4px;bottom:4px;border-radius:8px;background:rgba(255,250,240,.1);overflow:hidden;transition:left .5s,width .5s}
.ps-bar::after{content:"";position:absolute;left:0;top:0;bottom:0;width:var(--fill,0%);background:linear-gradient(90deg,#2F8F5F,#5CCB92);border-radius:8px}
.ps-row[data-ph="qa"] .ps-bar::after{background:linear-gradient(90deg,#B8935A,#E7C98A)}
.ps-row[data-ph="call"] .ps-bar::after{background:linear-gradient(90deg,#E7C98A,#FFFAF0)}
.ps-row.live .ps-bar{box-shadow:0 0 0 1.5px rgba(231,201,138,.75),0 0 16px rgba(231,201,138,.35)}
.ps-cursor{position:absolute;top:-4px;bottom:-4px;width:2px;margin-left:-1px;background:#E7C98A;box-shadow:0 0 12px rgba(231,201,138,.9);pointer-events:none;left:var(--lab)}
.ps-cursor i{position:absolute;bottom:100%;left:50%;transform:translate(-50%,-4px);font-style:normal;font-size:.6rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;background:#E7C98A;color:#0A2E20;border-radius:999px;padding:2px 7px}
.ps-note{margin-top:8px;border-top:1px solid rgba(217,184,113,.25);padding-top:10px;display:flex;flex-direction:column;gap:3px;min-height:76px}
.ps-note b{font-family:var(--display);font-size:1.15rem;color:#E7C98A}
.ps-note span{font-size:.9rem;color:rgba(246,238,220,.82)}
.ps-report{background:#FFFAF0;color:#1B2A21;border-radius:22px;padding:18px;display:flex;flex-direction:column;gap:12px;box-shadow:0 24px 40px -20px rgba(0,0,0,.6);transform:rotate(1.2deg);transition:transform .4s}
.ps-report:hover{transform:rotate(0)}
.ps-rh{display:flex;justify-content:space-between;align-items:center;font-family:var(--display);font-weight:700;font-size:1.25rem}
.ps-badge{font-family:var(--body);font-size:.7rem;font-weight:700;letter-spacing:.04em;background:#F1DDB6;color:#12382A;border-radius:999px;padding:3px 9px;white-space:nowrap}
.ps-badge.ok{background:#1B7A4B;color:#fff}
.ps-kpi{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;border-bottom:1px dashed #E3D4B6;padding-bottom:10px}
.ps-kpi span{width:100%;font-size:.7rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#6A6552}
.ps-kpi b{font-family:var(--display);font-size:2.4rem;line-height:1;color:#1D6F47;font-variant-numeric:lining-nums tabular-nums}
.ps-kpi small{color:#6A6552}
.ps-meter{display:grid;grid-template-columns:1fr auto;gap:4px 10px;font-size:.84rem}
.ps-meter b{font-variant-numeric:tabular-nums}
.ps-meter i{grid-column:1 / -1;height:7px;border-radius:4px;background:#F1E4CC;overflow:hidden}
.ps-meter em{display:block;height:100%;width:0;border-radius:4px;background:linear-gradient(90deg,#1D6F47,#2F8F5F)}
.ps-meter.warn em{background:linear-gradient(90deg,#B8935A,#E3B45A)}
.ps-foot{display:flex;justify-content:space-between;font-size:.8rem;color:#6A6552;border-top:1px dashed #E3D4B6;padding-top:10px}
.ps-foot b{color:#1B2A21}
.ps-cta{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.ps-fine{font-size:.8rem;color:rgba(246,238,220,.6);flex:1 1 260px}
@media (max-width:1100px){ .ps-grid{grid-template-columns:200px minmax(0,1fr)} .ps-report{grid-column:1 / -1;transform:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:22px} .ps-report:hover{transform:none} .ps-rh,.ps-kpi,.ps-foot{grid-column:1 / -1} }
@media (max-width:720px){ .ps-grid{grid-template-columns:minmax(0,1fr)} .ps-dial{width:190px;justify-self:center} .ps-board{--lab:116px;padding:12px} .ps-name{font-size:.76rem;gap:6px} .ps-report{grid-template-columns:minmax(0,1fr)} .ps-size{width:100%;justify-content:space-between} .ps-size-l{display:none} .ps-size button{flex:1} .ps-days span{font-size:.62rem} }

/* ---------- Version 15.2: the quality chain ---------- */
.qc{padding-block:48px;border-top:1px solid var(--line);scroll-margin-top:80px;display:flex;flex-direction:column;gap:24px}
.qc h2{font-size:clamp(1.9rem,3.8vw,2.7rem)}
.qc-box{background:var(--surface);border:1px solid var(--line);border-radius:26px;padding:20px clamp(16px,3vw,32px) 28px;box-shadow:0 26px 50px -34px rgba(15,59,42,.5);display:flex;flex-direction:column;gap:12px}
.qc-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.qc-ctl{display:flex;align-items:center;gap:12px}
.qc-rec{display:inline-flex;align-items:center;gap:8px;font-size:.84rem;font-weight:600;color:var(--muted)}
.qc-rec i{width:9px;height:9px;border-radius:50%;background:var(--bad)}
@media (prefers-reduced-motion:no-preference){ .qc-rec i{animation:psRec 1.4s ease-out infinite} }
.qc-legend{display:flex;align-items:center;gap:8px;font-size:.84rem;color:var(--muted)}
.qc-legend i{width:22px;height:4px;border-radius:2px;display:inline-block;background:var(--s1);margin-left:6px}
.qc-legend i.bad{background:none;border-top:3px dashed var(--bad);height:0}
.qc-track{position:relative;height:250px;margin-top:64px}
.qc-svg{position:absolute;left:0;right:0;top:0;width:100%;height:150px;overflow:visible}
.qc-loop{fill:none;stroke:var(--bad);stroke-width:2.5;stroke-dasharray:7 7;opacity:.3;vector-effect:non-scaling-stroke;transition:opacity .3s}
.qc-loop-head{fill:none;stroke:var(--bad);stroke-width:2.5;stroke-linecap:round;opacity:.3;vector-effect:non-scaling-stroke}
.qc-track.fail .qc-loop,.qc-track.fail .qc-loop-head{opacity:1}
@keyframes qcDash{to{stroke-dashoffset:28}}
@media (prefers-reduced-motion:no-preference){ .qc-track.fail .qc-loop{animation:qcDash .9s linear infinite} }
.qc-loop-label{position:absolute;left:20%;top:-30px;transform:translateX(-50%);font-size:.76rem;font-weight:600;color:var(--bad);background:var(--surface);padding:2px 10px;border-radius:999px;border:1px solid color-mix(in srgb,var(--bad) 35%,transparent);white-space:nowrap;transition:transform .3s,box-shadow .3s}
.qc-track.fail .qc-loop-label{transform:translateX(-50%) scale(1.08);box-shadow:0 6px 16px -6px color-mix(in srgb,var(--bad) 60%,transparent)}
.qc-line{position:absolute;left:10%;right:10%;top:92px;height:4px;border-radius:2px;background:var(--line);transform:translateY(-50%);overflow:hidden}
.qc-line::after{content:"";position:absolute;inset:0;background-image:radial-gradient(circle,color-mix(in srgb,var(--gold-2) 90%,transparent) 1.6px,transparent 2px);background-size:22px 4px;opacity:.9}
@keyframes qcFlow{to{background-position:22px 0}}
@media (prefers-reduced-motion:no-preference){ .qc-line::after{animation:qcFlow 1.2s linear infinite} }
.qc-fill{position:absolute;left:0;top:0;bottom:0;width:0;border-radius:2px;background:linear-gradient(90deg,var(--s2),var(--s1));transition:width .9s cubic-bezier(.3,.8,.3,1);z-index:1}
.qc-node{position:absolute;left:var(--x);top:60px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:6px;width:19%;border:0;background:none;font:inherit;color:inherit;cursor:pointer;text-align:center;padding:0;z-index:2}
.qc-ring{position:relative;width:64px;height:64px;border-radius:50%;background:var(--surface);border:2px solid var(--line);display:grid;place-items:center;color:var(--muted);transition:transform .25s,border-color .25s,background .25s,color .25s,box-shadow .25s}
.qc-num{position:absolute;right:-4px;top:-4px;width:22px;height:22px;border-radius:50%;background:var(--sand);color:var(--on-sand);font-size:.72rem;font-weight:700;display:grid;place-items:center;border:2px solid var(--surface)}
.qc-node b{font-size:.98rem;margin-top:6px}
.qc-node small{color:var(--muted);font-size:.8rem;line-height:1.3}
.qc-node:hover .qc-ring{transform:translateY(-3px);border-color:var(--gold-2)}
.qc-node.done .qc-ring{background:color-mix(in srgb,var(--s1) 14%,var(--surface));border-color:var(--s1);color:var(--s2)}
.qc-node.on .qc-ring{background:var(--hero);border-color:var(--gold-2);color:var(--gold-1);transform:scale(1.12);box-shadow:0 0 0 7px color-mix(in srgb,var(--gold-1) 40%,transparent),0 14px 26px -12px rgba(15,59,42,.8)}
@keyframes qcPing{to{transform:scale(1.45);opacity:0}}
@media (prefers-reduced-motion:no-preference){ .qc-node.on .qc-ring::after{content:"";position:absolute;inset:-4px;border-radius:50%;border:2px solid var(--gold-2);animation:qcPing 1.6s ease-out infinite} }
.qc-track.fail .qc-node[data-i="1"].on .qc-ring{background:var(--bad);border-color:var(--bad);color:#fff;box-shadow:0 0 0 7px color-mix(in srgb,var(--bad) 22%,transparent)}
.qc-track.fail .qc-node[data-i="1"].on .qc-ring::after{border-color:var(--bad)}
.qc-track.arrived .qc-node[data-i="4"] .qc-ring{background:var(--s1);border-color:var(--s1);color:#fff}
.qc-node:focus-visible{outline:none}.qc-node:focus-visible .qc-ring{outline:2px solid var(--accent);outline-offset:4px}
.qc-token{position:absolute;left:10%;top:30px;transform:translate(-50%,-50%) scale(0);z-index:3;display:inline-flex;align-items:center;gap:6px;padding:4px 11px 4px 7px;border-radius:999px;background:var(--ink);color:var(--bg);font-size:.74rem;font-weight:700;white-space:nowrap;box-shadow:0 8px 18px -6px rgba(15,59,42,.7);transition:left 1s cubic-bezier(.5,0,.3,1),top .5s ease,transform .3s,background .3s,opacity .3s;pointer-events:none}
.qc-token::after{content:"";position:absolute;left:50%;top:100%;width:8px;height:8px;background:inherit;transform:translate(-50%,-50%) rotate(45deg);border-radius:1px}
.qc-tdot{width:10px;height:10px;border-radius:50%;background:var(--gold-1);flex:none;transition:background .3s}
.qc-token.show{transform:translate(-50%,-50%) scale(1)}
.qc-token.reset{transition:none;opacity:0}
.qc-token.bad{background:var(--bad)}.qc-token.bad .qc-tdot{background:#fff}
.qc-token.good .qc-tdot{background:#5CCB92}
.qc-token.arc{left:20%!important;top:-6px}
.qc-pop{position:absolute;right:calc(10% + 52px);top:-62px;background:var(--hero);color:var(--on-hero);border-radius:14px;padding:10px 14px;display:flex;flex-direction:column;gap:2px;font-size:.78rem;box-shadow:0 18px 30px -14px rgba(15,59,42,.8);opacity:0;transform:translateY(8px) scale(.96);transition:opacity .35s,transform .35s;pointer-events:none;z-index:4;min-width:170px}
.qc-pop b{color:var(--gold-1);font-family:var(--display);font-size:1.05rem}
.qc-pop span{display:flex;justify-content:space-between;gap:12px}
.qc-pop em{font-style:normal;font-weight:700;color:#5CCB92}
.qc-track.arrived .qc-pop{opacity:1;transform:none}
.qc-film{height:3px;border-radius:2px;background:var(--raised);overflow:hidden;margin-top:-6px}
.qc-film span{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--gold-2),var(--accent));transition:width .8s ease}
.qc-status{text-align:center;font-weight:600;color:var(--ink);min-height:1.5em}
.qc-panel{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:8px 28px;background:var(--bg);border:1px solid var(--line);border-radius:18px;padding:20px 24px;animation:qcIn .35s ease}
@keyframes qcIn{from{opacity:.4;transform:translateY(6px)}to{opacity:1;transform:none}}
.qc-ph{grid-column:1 / -1;display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.qc-pn{font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-2)}
.qc-ph h3{font-family:var(--display);font-size:1.6rem;font-weight:700}
.qc-panel > p{color:var(--muted)}
.qc-checks{list-style:none;margin:0;padding:0;display:grid;gap:6px;grid-row:span 2}
.qc-checks li{display:flex;gap:9px;align-items:baseline}
.qc-checks li::before{content:"✓";color:var(--s1);font-weight:700}
.qc-out{display:flex;flex-direction:column;gap:2px}
.qc-redo{grid-column:1 / -1;background:color-mix(in srgb,var(--bad) 8%,var(--surface));border:1px solid color-mix(in srgb,var(--bad) 30%,transparent);border-radius:12px;padding:10px 14px;color:var(--ink)}
.qc-redo b{color:var(--bad)}
@media (max-width:760px){
  .qc-track{height:auto;display:flex;flex-direction:column;gap:6px;padding-left:4px;margin-top:6px}
  .qc-svg,.qc-loop-label,.qc-token,.qc-line,.qc-pop{display:none}
  .qc-node{position:relative;left:auto;top:auto;transform:none;width:auto;display:grid;grid-template-columns:64px minmax(0,1fr);grid-template-rows:auto auto;column-gap:14px;align-items:center;text-align:left;padding:8px 0}
  .qc-ring{grid-row:span 2}
  .qc-node b{margin:0;align-self:end}.qc-node small{align-self:start}
  .qc-node[data-i="1"] small::after{content:" · redone if below the bar";color:var(--bad);font-weight:600}
  .qc-node:not(:last-child)::after{content:"";position:absolute;left:31px;top:78px;bottom:-14px;width:2px;background:var(--line)}
  .qc-node.done:not(:last-child)::after{background:var(--s1)}
  .qc-track.fail .qc-node[data-i="0"] .qc-ring{border-color:var(--bad)}
  .qc-panel{grid-template-columns:minmax(0,1fr)}
  .qc-checks{grid-row:auto}
}
@media (prefers-reduced-motion:reduce){ .qc-token,.qc-fill,.ps-bar{transition:none} }
.faq-head{display:flex;flex-direction:column;gap:10px;max-width:62ch}
.faq-head h2{font-size:clamp(2rem,4.4vw,3rem)}
.faq-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.faq-h{font-family:var(--display);font-size:1.5rem;font-weight:700;margin-bottom:10px}
.faq-list{display:flex;flex-direction:column;gap:10px}
.faq details{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:0 20px;transition:border-color .2s,box-shadow .2s}
.faq details[open]{border-color:var(--gold-2);box-shadow:0 14px 30px -22px rgba(15,59,42,.5)}
.faq summary{cursor:pointer;list-style:none;padding:17px 34px 17px 0;font-weight:600;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";position:absolute;right:4px;top:50%;width:10px;height:10px;border-right:2px solid var(--accent);border-bottom:2px solid var(--accent);transform:translateY(-70%) rotate(45deg);transition:transform .2s}
.faq details[open] summary::after{transform:translateY(-30%) rotate(225deg)}
.faq details p{color:var(--muted);padding:0 0 18px}
@media (max-width:900px){ .faq-cols{grid-template-columns:minmax(0,1fr)} }
.co-cta{display:flex;gap:14px;flex-wrap:wrap;align-items:center;padding-block:18px 10px}
.co-sec,.vf{padding-block:44px;display:flex;flex-direction:column;gap:24px;border-top:1px solid var(--line);scroll-margin-top:80px}
.co-sec h2,.vf h2{font-size:clamp(1.9rem,3.8vw,2.7rem)}
.vf-flow{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));counter-reset:vf;position:relative}
.vf-flow li{counter-increment:vf;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;position:relative;font-size:.92rem}
.vf-flow li::before{content:counter(vf);width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--hero);color:var(--gold-1);font-family:var(--display);font-weight:700;font-size:1.2rem;position:relative;z-index:1;box-shadow:0 0 0 5px var(--bg)}
.vf-flow li + li::after{content:"";position:absolute;top:20px;right:50%;width:100%;height:2px;background:linear-gradient(90deg,var(--gold-2),var(--line))}
@media (max-width:760px){ .vf-flow{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:18px} .vf-flow li:nth-child(4)::after{display:none} }
.vf-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:16px}
.vf-card{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:24px;display:flex;flex-direction:column;gap:10px;min-width:0;transition:transform .25s,box-shadow .25s,border-color .25s}
.vf-card:hover{transform:translateY(-3px);border-color:var(--gold-2);box-shadow:0 18px 36px -22px rgba(15,59,42,.45)}
.vf-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.vf-n{font-family:var(--display);font-weight:700;font-size:1.6rem;color:var(--gold-2);line-height:1}
.vf-time{display:inline-flex;align-items:center;gap:7px;font-size:.78rem;font-weight:600;background:var(--sand);color:var(--on-sand);border-radius:999px;padding:4px 11px}
.vf-time i{width:13px;height:13px;border-radius:50%;border:2px solid currentColor;position:relative;flex:none}
.vf-time i::after{content:"";position:absolute;left:4px;top:1px;width:2px;height:4px;background:currentColor;box-shadow:1px 3px 0 -0px transparent}
.vf-card h3{font-family:var(--display);font-size:1.55rem;font-weight:700;line-height:1.1}
.vf-card p{color:var(--muted);font-size:.95rem}
.vf-card .vf-meta{margin-top:auto;display:flex;flex-direction:column;gap:2px;border-top:1px dashed var(--line);padding-top:12px;color:var(--ink)}
.vf-card .vf-meta b{font-size:1.05rem}
.vf-card .vf-scope{font-size:.85rem;color:var(--muted)}

/* ---------- The parts after the grammar part, from the design: reading, AI answer review, typing, writing and speaking ---------- */
.x-partcard{align-items:flex-start}
.x-partico{width:64px;height:64px;border-radius:18px;background:linear-gradient(135deg,var(--seal-1),var(--seal-2));color:var(--gold-1);display:grid;place-items:center;box-shadow:0 12px 26px -12px rgba(15,59,42,.8)}
.x-partico svg.ic{width:30px;height:30px}
.xt-title{font-size:clamp(1.5rem,3vw,2.1rem)}
.x-secs2{font-family:var(--display);font-weight:700;font-size:2rem;line-height:1;min-width:3ch;text-align:right;font-variant-numeric:lining-nums tabular-nums}
.x-secs2.low{color:var(--bad)}
.xt-src{background:var(--surface);border:1px solid var(--gold-2);border-left:5px solid var(--gold-2);border-radius:14px;padding:18px 20px;font-size:1.15rem;line-height:1.7;color:var(--ink)}
#xt-text{width:100%;min-height:170px;resize:vertical;font:inherit;font-size:1.08rem;line-height:1.6;background:var(--surface);color:var(--ink);border:1.5px solid var(--line);border-radius:14px;padding:16px 18px;-webkit-user-select:text;user-select:text}
#xt-text:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 15%,transparent)}
.xt-stats{display:flex;gap:8px;flex-wrap:wrap}
.xt-stats span:not(:empty){font-size:.84rem;font-weight:600;border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:3px 12px;font-variant-numeric:tabular-nums}
.xr-text{margin:0;background:var(--surface);border:1px solid var(--gold-2);border-radius:18px;padding:24px 26px;font-family:var(--display);font-size:clamp(1.35rem,2.6vw,1.75rem);line-height:1.5;color:var(--ink);position:relative}
.xr-text::before{content:"“";position:absolute;left:12px;top:-18px;font-size:4rem;color:var(--gold-2);line-height:1}
.xr-rec{display:flex;align-items:center;gap:16px;background:var(--hero);color:var(--on-hero);border-radius:999px;padding:10px 22px 10px 10px;box-shadow:0 16px 34px -18px rgba(15,59,42,.9)}
.xr-btn{display:inline-flex;align-items:center;gap:10px;border:0;border-radius:999px;padding:12px 22px 12px 14px;font:inherit;font-weight:700;cursor:pointer;background:#FFFAF0;color:#0A2E20;flex:none}
.xr-btn:disabled{opacity:.5;cursor:not-allowed}
.xr-dot{width:16px;height:16px;border-radius:50%;background:var(--bad);box-shadow:0 0 0 4px color-mix(in srgb,var(--bad) 25%,transparent)}
.xr-btn.on .xr-dot{border-radius:3px}
@media (prefers-reduced-motion:no-preference){ .xr-btn.on .xr-dot{animation:xrPulse 1s ease-in-out infinite} @keyframes xrPulse{50%{box-shadow:0 0 0 9px color-mix(in srgb,var(--bad) 10%,transparent)}} }
.xr-wave{flex:1;display:flex;align-items:center;gap:3px;height:44px;min-width:0;overflow:hidden}
.xr-wave i{flex:1;min-width:2px;height:100%;border-radius:2px;background:linear-gradient(180deg,#F6E7BB,#C9A35F);transform:scaleY(.08);transition:transform .07s}
.xr-time{font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}
.xr-state{font-weight:600;min-height:1.4em}
@media (max-width:560px){ .xr-rec{border-radius:20px;flex-wrap:wrap;padding:10px} .xr-wave{flex:1 1 100%;order:3} }
.x-wide{max-width:1100px!important}
.x-rail{display:flex;flex-wrap:nowrap;gap:4px;list-style:none;margin:0 auto;padding:0;align-items:center;min-width:0}
.x-rail li{display:flex;align-items:center;gap:6px;font-size:.78rem;color:var(--muted);padding:4px 8px;border-radius:999px}
.x-rail li i{font-style:normal;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;border:1.5px solid var(--line);font-size:.72rem;font-weight:700}
.x-rail li.on{background:var(--hero);color:var(--on-hero)}
.x-rail li.on i{border-color:var(--gold-1);color:var(--gold-1)}
.x-rail li.done i{background:var(--good);border-color:var(--good);color:#fff}
@media (max-width:1100px){ .x-rail li span{display:none} .x-rail li.on span{display:inline} }
@media (max-width:640px){ .x-rail{display:none} }
.x-timer{display:flex;align-items:center;gap:14px;margin-bottom:10px}
.x-timebar{flex:1;height:6px;border-radius:3px;background:var(--line);overflow:hidden}
.x-timebar span{display:block;height:100%;width:100%;background:linear-gradient(90deg,var(--gold-2),var(--accent));transition:width .25s linear}
/* Reading */
.rc-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:22px;align-items:start;margin-top:8px}
@media (max-width:900px){ .rc-grid{grid-template-columns:minmax(0,1fr)} }
.rc-pass{background:var(--surface);border:1px solid var(--line);border-top:4px solid var(--gold-2);border-radius:14px;padding:22px 26px;max-height:62vh;overflow:auto;font-family:var(--display);font-size:1.06rem;line-height:1.75;color:var(--ink)}
.rc-pass h2{font-size:1.3rem;margin:0 0 12px}
.rc-pass p{margin:0 0 14px}
.rc-n{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--hero);color:var(--gold-1);font:700 .72rem/1 system-ui,sans-serif;margin-right:8px;vertical-align:2px}
.rc-qs{display:flex;flex-direction:column;gap:12px;max-height:62vh;overflow:auto;padding-right:4px}
.rc-q{border:1px solid var(--line);border-radius:14px;padding:14px 16px;margin:0;background:var(--raised)}
.rc-q legend{font-weight:600;padding:0 4px;line-height:1.45}
.rc-q .as-opt{display:flex;gap:10px;align-items:flex-start;padding:7px 8px;border-radius:9px;cursor:pointer}
.rc-q .as-opt:hover{background:var(--surface)}
.rc-q .as-opt input{margin-top:3px;accent-color:var(--accent)}
/* AI answer review */
.rv2-chat{display:flex;flex-direction:column;gap:10px;margin:10px 0}
.rv2-u,.rv2-a,.wr-prompt{border:1px solid var(--line);border-radius:14px;padding:14px 18px;background:var(--surface)}
.rv2-u{background:var(--raised)}
.rv2-who{display:inline-block;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:var(--muted);margin-bottom:4px}
.rv2-u p,.wr-prompt p{margin:0;font-weight:600}
.rv2-a ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.rv2-s{all:unset;box-sizing:border-box;display:flex;gap:10px;align-items:flex-start;width:100%;padding:9px 12px;border-radius:10px;border:1.5px solid transparent;cursor:pointer;line-height:1.55}
.rv2-s:hover{background:var(--raised)}
.rv2-s:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.rv2-n{flex:none;width:24px;height:24px;border-radius:50%;border:1.5px solid var(--line);display:grid;place-items:center;font-size:.76rem;font-weight:700;color:var(--muted)}
.rv2-s > span:nth-child(2){flex:1}
.rv2-flag{flex:none;font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--accent);opacity:0}
.rv2-s[aria-pressed="true"]{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 8%,transparent)}
.rv2-s[aria-pressed="true"] .rv2-n{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.rv2-s[aria-pressed="true"] .rv2-flag{opacity:1}
.rv2-rate{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0}
.rv2-stars{display:flex;gap:2px}
.rv2-star{all:unset;cursor:pointer;font-size:1.7rem;line-height:1;color:var(--line);padding:2px}
.rv2-star.on{color:var(--gold-2)}
.rv2-star:focus-visible{outline:2px solid var(--accent);border-radius:4px}
.hint.ok{color:var(--good)} .hint.bad{color:var(--bad)}
/* Typing */
.tp-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}
.tp-stats div,.tp-result div,.sp-score div{background:var(--raised);border:1px solid var(--line);border-radius:12px;padding:10px 14px;display:flex;flex-direction:column;gap:2px}
.tp-stats b{font-family:var(--display);font-size:1.9rem;line-height:1;font-variant-numeric:tabular-nums lining-nums}
.tp-stats span{font-size:.78rem;color:var(--muted)}
.tp-box{position:relative;background:var(--surface);border:1.5px solid var(--line);border-radius:14px;padding:18px 22px;height:190px;overflow:hidden;cursor:text}
.tp-box:focus-within,.tp-box:focus{border-color:var(--accent)}
.tp-text{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:1.12rem;line-height:1.9;color:var(--muted);white-space:pre-wrap;word-break:break-word;-webkit-user-select:none;user-select:none}
.tp-text span.ok{color:var(--ink)}
.tp-text span.no{color:#fff;background:var(--bad);border-radius:2px}
.tp-text span.cur{box-shadow:inset 2px 0 0 var(--accent);animation:tpBlink 1s steps(1) infinite}
@keyframes tpBlink{50%{box-shadow:none}}
.tp-in{position:absolute;opacity:0;width:1px;height:1px;left:-9999px}
.tp-result{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}
.tp-result b,.sp-score b{font-family:var(--display);font-size:1.4rem}
@media (max-width:640px){ .tp-result{grid-template-columns:repeat(2,minmax(0,1fr))} }
/* Writing */
.wr-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
@media (max-width:760px){ .wr-pair{grid-template-columns:minmax(0,1fr)} }
.wr-resp{border:1px solid var(--line);border-radius:14px;padding:14px 18px;background:var(--surface);line-height:1.6}
.wr-resp p{margin:6px 0 0}
.wr-tag{font-size:.74rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--accent)}
.wr-pick{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:4px 0 12px}
.wr-pick label{display:inline-flex;gap:8px;align-items:center;padding:8px 14px;border:1.5px solid var(--line);border-radius:999px;cursor:pointer}
.wr-pick label:has(input:checked){border-color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,transparent)}
#wr-text,#rv2-why{width:100%;font:inherit;line-height:1.6;background:var(--surface);color:var(--ink);border:1.5px solid var(--line);border-radius:12px;padding:12px 14px;resize:vertical;-webkit-user-select:text;user-select:text}
#wr-text:focus,#rv2-why:focus{outline:none;border-color:var(--accent)}
/* Speaking */
.sp-text{background:var(--surface);border:1px solid var(--line);border-left:5px solid var(--gold-2);border-radius:14px;padding:18px 22px;font-family:var(--display);font-size:1.25rem;line-height:1.85;color:var(--muted);margin:12px 0}
.sp-text.free{color:var(--ink);font-family:inherit;font-size:1.1rem}
.sp-text.free p{margin:0}
.sp-text .w{transition:color .2s,background .2s;border-radius:3px;padding:0 1px}
.sp-text .w.ok{color:var(--good);font-weight:600}
.sp-text .w.miss{color:var(--bad);text-decoration:underline wavy color-mix(in srgb,var(--bad) 60%,transparent);text-underline-offset:4px}
.sp-heard{background:var(--raised);border:1px dashed var(--line);border-radius:12px;padding:10px 14px;margin:10px 0}
.sp-heard p{margin:4px 0 0;font-style:italic;color:var(--muted)}
.sp-score{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 0}
/* Score summary and rings */
.x-sum{display:flex;flex-direction:column;gap:8px;margin:16px 0;text-align:left}
.x-sumr{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,2fr) 76px;gap:12px;align-items:center;font-size:.9rem}
.x-sumr i{display:block;height:8px;border-radius:4px;background:var(--line);overflow:hidden}
.x-sumr em{display:block;height:100%;background:linear-gradient(90deg,var(--seal-1),var(--gold-2));border-radius:4px}
.x-sumr b{text-align:right;font-variant-numeric:tabular-nums}
.ring{position:relative;display:inline-grid;place-items:center;flex:none}
.ring svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.ring .rb{fill:none;stroke:var(--line);stroke-width:4}
.ring .rf{fill:none;stroke-width:4;stroke-linecap:round;stroke:var(--muted)}
.ring.top .rf{stroke:var(--gold-2)} .ring.good .rf{stroke:var(--good)} .ring.mid .rf{stroke:#c98a1b} .ring.low .rf{stroke:var(--bad)}
.ring b{position:relative;font-size:.86rem;font-variant-numeric:tabular-nums}
.tm-card{border:1px solid var(--line);border-radius:14px;padding:14px 16px;background:var(--surface);display:flex;flex-direction:column;gap:8px;margin-bottom:10px}
.tm-ch{display:flex;gap:12px;align-items:center}
.tm-ch > div{display:flex;flex-direction:column}
.tm-tr{margin:4px 0 0}
.tm-card .x-sumr{grid-template-columns:minmax(0,1fr) 52px;row-gap:4px;font-size:.84rem}
.tm-card .x-sumr span{grid-column:1 / -1}
.tm-card .x-sumr i{grid-column:1}

/* ---------- The domain tests, from the design ---------- */
.dt-lead{max-width:80ch;margin:-6px 0 16px}
.dt-ed form{display:flex;flex-direction:column;gap:14px}
.dt-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px}
.dt-wide{grid-column:1 / -1}
.dt-grid textarea,.dt-q textarea,.dq-ta{width:100%;font:inherit;line-height:1.55;background:var(--surface);color:var(--ink);border:1.5px solid var(--line);border-radius:10px;padding:10px 12px;resize:vertical}
.dt-rules{border:1px solid var(--line);border-radius:14px;padding:14px 16px;margin:0;background:var(--raised)}
.dt-rules legend{font-weight:700;padding:0 6px;font-family:var(--display);font-size:1.05rem}
.dt-nums{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.dt-checks{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px 16px;margin-top:6px}
.dt-checks label{display:flex;gap:8px;align-items:center;font-size:.92rem}
.dt-checks input,.ds-p input,.dt-opt input[type=radio],.dt-opt input[type=checkbox]{accent-color:var(--accent);width:17px;height:17px;flex:none}
.dt-qh{margin-top:4px}
.dt-qh h3{display:flex;gap:8px;align-items:center;margin:0}
.dt-up{cursor:pointer}
.dt-qs{display:flex;flex-direction:column;gap:12px}
.dt-q{border:1px solid var(--line);border-left:4px solid var(--gold-2);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:8px;background:var(--surface)}
.dt-qtop{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.dt-qtop select{width:auto}
.dt-sp{flex:1}
.dt-pl{display:inline-flex;gap:6px;align-items:center}
.dt-pts{width:74px!important}
.dt-opts{display:flex;flex-direction:column;gap:6px}
.dt-opt{display:flex;gap:8px;align-items:center}
.dt-opt b{width:18px;text-align:center;color:var(--muted)}
.dt-opt .inp{flex:1}
.dt-lib{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}
.dt-card{border:1px solid var(--line);border-radius:16px;padding:16px 18px;background:var(--surface);display:flex;flex-direction:column;gap:8px;position:relative;overflow:hidden}
.dt-card::before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,var(--seal-1),var(--gold-2))}
.dt-card h3{margin:0;font-family:var(--display);font-size:1.15rem}
.dt-ct{display:flex;justify-content:space-between;gap:8px;align-items:center}
.dt-field{font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:var(--accent)}
.dt-ins{margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dt-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:4px}
.dt-chips span{font-size:.74rem;padding:3px 9px;border-radius:999px;background:var(--raised);border:1px solid var(--line);color:var(--muted)}
.dt-cf{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding-top:8px;border-top:1px solid var(--line)}
.dt-cf .acts{display:flex;gap:6px}
.ds-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:8px;max-height:360px;overflow:auto;margin:10px 0;padding:2px}
.ds-p{display:flex;gap:10px;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);cursor:pointer}
.ds-p:has(input:checked){border-color:var(--accent);background:color-mix(in srgb,var(--accent) 7%,var(--surface))}
.ds-av{width:34px;height:34px;border-radius:50%;background:var(--hero);color:var(--gold-1);display:grid;place-items:center;font-size:.8rem;font-weight:700;flex:none}
.ds-t{display:flex;flex-direction:column;min-width:0;flex:1}
.ds-t b,.ds-t span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dt-send .a-actions{align-items:flex-end}
.dt-res td{vertical-align:middle}
.dt-grade{display:flex;flex-direction:column;gap:10px;padding:6px 4px;white-space:normal}
.dt-gh{display:flex;gap:14px;align-items:center}
.dt-gh > div{display:flex;flex-direction:column}
.dt-ga{border:1px solid var(--line);border-radius:12px;padding:10px 14px;background:var(--surface)}
.dt-ga.ok{border-left:4px solid var(--good)} .dt-ga.no{border-left:4px solid var(--bad)}
.dt-gq{display:flex;gap:8px;align-items:flex-start}
.dt-ans{margin:6px 0;white-space:pre-wrap;background:var(--raised);border-radius:8px;padding:8px 10px}
.dt-gf{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.dt-gf .inp{width:auto;flex:1 1 200px}
.dq-wrap{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:26px;align-items:start;margin-top:10px}
.dq-text{font-size:clamp(1.3rem,2.4vw,1.75rem);line-height:1.35;margin:6px 0 16px;white-space:pre-wrap}
.dq-body{display:flex;flex-direction:column;gap:9px}
.dq-opt{display:flex;gap:14px;align-items:center;text-align:left;border:1.5px solid var(--line);background:var(--surface);border-radius:12px;padding:14px 16px;font:inherit;font-size:1.05rem;cursor:pointer;color:var(--ink)}
.dq-opt:hover{border-color:var(--gold-2)}
.dq-opt[aria-pressed="true"]{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 9%,var(--surface))}
.dq-k{width:30px;height:30px;border-radius:50%;border:1.5px solid var(--line);display:grid;place-items:center;font-weight:700;font-size:.85rem;flex:none}
.dq-opt[aria-pressed="true"] .dq-k{background:var(--accent);border-color:var(--accent);color:#fff}
.dq-nav{margin-top:18px}
.dq-side{position:sticky;top:120px;border:1px solid var(--line);border-radius:14px;padding:14px;background:var(--raised)}
.dq-pal{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:8px 0}
.dq-p{aspect-ratio:1;border-radius:8px;border:1.5px solid var(--line);background:var(--surface);font:inherit;font-weight:600;font-size:.85rem;cursor:pointer;color:var(--ink)}
.dq-p.done{background:var(--seal-1);border-color:var(--seal-1);color:var(--gold-1)}
.dq-p.on{outline:2px solid var(--gold-2);outline-offset:1px}
.dq-p:disabled{cursor:default;opacity:.55}
.dt-res td.r .btn,.dt-res td .pill{white-space:nowrap}
.tm-faces{display:flex;gap:8px;flex-wrap:wrap}
.tm-faces figure{margin:0;display:flex;flex-direction:column;gap:3px;align-items:center}
.tm-faces img{width:84px;height:84px;object-fit:cover;border-radius:12px;border:2px solid var(--gold-2)}
.tm-faces figcaption{font-size:.7rem;color:var(--muted)}
.dt-due{margin:0}
.parsed-flag{border:1px solid var(--warn);background:color-mix(in srgb,var(--warn) 12%,transparent);border-radius:10px;padding:10px 14px;display:flex;flex-direction:column;gap:6px}
.parsed-flag strong{color:var(--warn)}
.parsed-flag ul{margin:0;padding-left:18px}
.parsed-flag p{margin:0}
.parsed dt.diff{color:var(--warn)}
.parsed dd.diff{background:color-mix(in srgb,var(--warn) 18%,transparent);border-left:3px solid var(--warn);border-radius:4px;padding:2px 8px}
.parsed dd.diff .diff-text{background:color-mix(in srgb,var(--warn) 30%,transparent);border-radius:3px;padding:0 3px}
.x-notice{position:fixed;top:66px;left:50%;transform:translateX(-50%);z-index:6;max-width:min(560px,calc(100vw - 32px));display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:center;background:var(--hero-2);color:var(--on-hero);border:1px solid var(--gold-2);font-weight:500;padding:10px 16px;border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,.3);text-align:center}
.x-notice[hidden]{display:none}
.review-flags{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:4px}
.review-flags b{color:var(--warn)}

/* The privacy policy, terms of service and cookies policy pages. */
.lg-page{padding-block:44px 70px}
.lg-head{display:flex;flex-direction:column;gap:10px;max-width:64ch}
.lg-head h1{font:700 clamp(2.2rem,4.6vw,3.2rem)/1.1 var(--display);color:var(--ink);margin:0}
.lg-label{margin:0;font-size:.78rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-2)}
.lg-muted{color:var(--muted);margin:0}
.lg-small{font-size:.92rem}
.lg-grid{display:grid;grid-template-columns:250px minmax(0,1fr);gap:40px;padding-top:24px;align-items:start}
.lg-toc{position:sticky;top:20px;display:flex;flex-direction:column;gap:8px;max-height:calc(100vh - 40px);overflow:auto}
.lg-toc ol{margin:0;padding:0;list-style:none;counter-reset:lt}
.lg-toc li{counter-increment:lt}
.lg-toc a{display:block;text-decoration:none;font-size:.92rem;color:var(--muted);padding:6px 10px;border-radius:10px}
.lg-toc a::before{content:counter(lt) ". ";color:var(--gold-2);font-weight:600}
.lg-toc a:hover{background:var(--raised);color:var(--ink)}
.lg-article{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:clamp(22px,4vw,44px);display:flex;flex-direction:column;gap:26px;max-width:820px;color:var(--ink)}
.lg-article section{display:flex;flex-direction:column;gap:10px;scroll-margin-top:20px}
.lg-article h2{font:700 1.6rem/1.1 var(--display);color:var(--ink);margin:0;padding-bottom:6px;border-bottom:1px solid var(--gold-2)}
.lg-article h3{font-size:1.05rem;font-weight:600;color:var(--accent);margin:8px 0 0}
.lg-article p,.lg-article li{line-height:1.65;margin:0}
.lg-article ul{margin:0;padding-left:20px;display:grid;gap:8px}
.lg-article li::marker{color:var(--gold-2)}
.lg-article a{color:var(--accent);text-underline-offset:2px}
.lg-article strong{font-weight:600}
.lg-summary{background:var(--raised);border-left:4px solid var(--accent);border-radius:14px;padding:16px 20px}
.lg-table{overflow-x:auto;border:1px solid var(--line);border-radius:14px}
.lg-table table{width:100%;border-collapse:collapse;font-size:.94rem;min-width:520px}
.lg-table th{background:var(--hero);color:var(--on-hero);text-align:left;font-weight:600;padding:11px 14px;border-bottom:2px solid var(--gold-2)}
.lg-table td{padding:11px 14px;border-top:1px solid var(--line);vertical-align:top;line-height:1.55}
.lg-table tbody tr:nth-child(even) td{background:var(--raised)}
.lg-contact{background:var(--raised);border-left:4px solid var(--gold-2);border-radius:14px;padding:18px 22px}
.lg-contact-name{font:700 1.4rem/1.2 var(--display);margin:0 0 8px}
.lg-contact dl{display:grid;grid-template-columns:max-content 1fr;gap:6px 16px;margin:0}
.lg-contact dt{font-weight:600;color:var(--muted)}
.lg-contact dd{margin:0}
.lg-agree{font-style:italic;color:var(--muted);text-align:center;border-top:1px solid var(--line);padding-top:16px}
@media (max-width:900px){.lg-grid{grid-template-columns:minmax(0,1fr)}.lg-toc{position:static;max-height:none}}
@media print{.lg-toc{display:none}.lg-grid{display:block}.lg-article{border:0;padding:0}}
.public.on-auth .sf-band{display:none}
.public.on-auth.on-join .site-foot-wrap{display:none}
/* The offer the team sent: a boxed panel at the top of Opportunities, and the same box in the pop-up when the expert comes in. */
.offer-box{position:relative;border:2px solid var(--gold-2);border-radius:18px;padding:clamp(18px,3vw,28px);margin:0 0 22px;background:radial-gradient(70% 140% at 100% 0%,var(--seal-1),transparent 70%),var(--surface);box-shadow:0 18px 40px rgba(10,40,25,.16)}
.offer-kicker{margin:0 0 8px;font-size:.74rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--accent)}
.offer-title{margin:0 0 6px;font:700 clamp(1.7rem,3vw,2.3rem)/1.1 var(--display);color:var(--ink)}
.offer-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px 18px;margin:16px 0}
.offer-fact span{display:block;font-size:.74rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.offer-fact b{display:block;font-size:1.02rem;color:var(--ink)}
.offer-note{margin:12px 0 0;padding:12px 14px;border-left:3px solid var(--gold-2);background:var(--raised);border-radius:10px;line-height:1.6}
.offer-acts{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.offer-pop{max-height:82vh;overflow:auto}
.dt-addtype{width:auto;max-width:100%}
.dt-pic{display:block;max-width:100%;max-height:220px;margin:8px 0;border:1px solid var(--line);border-radius:10px;background:#fff}
.dq-pic{display:block;max-width:100%;max-height:340px;margin:0 auto 14px;border:1px solid var(--line);border-radius:12px;background:#fff}
.ac-row{border:1px solid var(--line);border-radius:12px;padding:12px;display:grid;gap:8px;margin:0 0 10px;background:var(--surface)}
.ac-q{display:grid;gap:8px}
.ac-row .acts-row input.inp{flex:1}
.dq-passage{background:var(--raised);border:1px solid var(--line);border-left:4px solid var(--gold-2);border-radius:12px;padding:16px 20px;margin:0 0 16px;line-height:1.7;white-space:pre-wrap;max-height:45vh;overflow:auto}
.dt-q textarea[hidden]{display:none}
.eq-rules{display:grid;gap:10px;margin:12px 0}

/* Pop-up messages: one card for every look. The frame stays the same; the look sets the colour (--pc, --pt), the icon and the body. */
.pop-card{--pc:#3F5148;--pt:#E4E7DF;max-height:calc(100% - 8px);overflow:auto}
.pop-card.pop-s-assessment{--pc:#2E6A8E;--pt:#DCEAF2}
.pop-card.pop-s-general{--pc:#8A6420;--pt:#F5E8C8}
.pop-card.pop-s-guidelines{--pc:#6B4A8E;--pt:#E9E0F2}
.pop-card.pop-s-conduct{--pc:#8E3B2A;--pt:#F4DDD5}
.pop-card.pop-s-kickoff{--pc:#1D6F47;--pt:#DBEEE2}
.pop-card.pop-s-payout{--pc:#7A6A12;--pt:#F0EBC6}
.pop-card.pop-s-follow{--pc:#0A66C2;--pt:#E7F0FA}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .pop-card.pop-s-assessment{--pc:#8EC3E3;--pt:#1C2C36}
  :root:not([data-theme="light"]) .pop-card.pop-s-general{--pc:#E6C27A;--pt:#352B17}
  :root:not([data-theme="light"]) .pop-card.pop-s-guidelines{--pc:#C4A6E3;--pt:#2C2238}
  :root:not([data-theme="light"]) .pop-card.pop-s-conduct{--pc:#EDA08C;--pt:#3A211B}
  :root:not([data-theme="light"]) .pop-card.pop-s-kickoff{--pc:#6CCB9B;--pt:#1C3326}
  :root:not([data-theme="light"]) .pop-card.pop-s-payout{--pc:#DDCB6A;--pt:#33301A}
  :root:not([data-theme="light"]) .pop-card.pop-s-follow{--pc:#7DB7F0;--pt:#16283A}
}
:root[data-theme="dark"] .pop-card.pop-s-assessment{--pc:#8EC3E3;--pt:#1C2C36}
:root[data-theme="dark"] .pop-card.pop-s-general{--pc:#E6C27A;--pt:#352B17}
:root[data-theme="dark"] .pop-card.pop-s-guidelines{--pc:#C4A6E3;--pt:#2C2238}
:root[data-theme="dark"] .pop-card.pop-s-conduct{--pc:#EDA08C;--pt:#3A211B}
:root[data-theme="dark"] .pop-card.pop-s-kickoff{--pc:#6CCB9B;--pt:#1C3326}
:root[data-theme="dark"] .pop-card.pop-s-payout{--pc:#DDCB6A;--pt:#33301A}
:root[data-theme="dark"] .pop-card.pop-s-follow{--pc:#7DB7F0;--pt:#16283A}
.pop-head{display:flex;gap:16px;align-items:center}
.pop-badge{flex:none;width:56px;height:56px;border-radius:14px;background:var(--pt);color:var(--pc);display:grid;place-items:center}
.pop-badge svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pop-badge svg path[fill]{fill:currentColor;stroke:none}
.pop-head-text{min-width:0}
.pop-head-text .label{color:var(--pc);margin:0}
.pop-head-text h2{margin:2px 0 0;font-size:21px;line-height:1.25}
.pop-queue{margin:0;font-size:13px;color:var(--muted)}
.pop-extra{display:flex;flex-direction:column;gap:12px}
.pop-extra:empty{display:none}
.pop-box{background:var(--pt);border-radius:12px;padding:14px 16px}
.pop-box h4{margin:0 0 8px;color:var(--pc);font-size:14px}
.pop-box ul,.pop-box ol{margin:0;padding-left:20px;line-height:1.5}
.pop-box.checks ul{list-style:none;padding-left:0}
.pop-box.checks li{position:relative;padding-left:26px;margin-bottom:6px}
.pop-box.checks li::before{content:"\2713";position:absolute;left:0;color:var(--pc);font-weight:700}
.pop-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}
.pop-fact small{display:block;color:var(--pc);font-size:12px;text-transform:uppercase;letter-spacing:.06em}
.pop-fact b{font-size:15px;overflow-wrap:anywhere}
.pop-amount b{display:block;font-size:30px;color:var(--pc);line-height:1.1}
.pop-amount span{display:block;margin-top:6px;color:var(--muted);font-size:14px}
.pop-follow{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.pop-follow .pop-av{flex:none;width:44px;height:44px;border-radius:10px;background:var(--pc);color:#fff;display:grid;place-items:center}
.pop-follow .pop-av svg{width:22px;height:22px}
.pop-follow div{flex:1;min-width:0;display:flex;flex-direction:column}
.pop-follow b{overflow-wrap:anywhere}
.pop-follow span{color:var(--muted);font-size:14px}
@media (max-width:480px){ .pop-head-text h2{font-size:19px} }

/* The LinkedIn follow message, as on the design: a dark green banner, one card per person, and a footer. */
.pop-card.pop-follow-card{padding:0;gap:0;max-width:480px;border-radius:20px;overflow:hidden;background:#FBF6EA}
.pop-banner{position:relative;background:linear-gradient(160deg,#1B5E43 0%,#0F3D2E 60%,#0B2A20 100%);color:#fff;padding:26px 24px 24px;border-bottom:4px solid #C9A24A;display:flex;flex-wrap:wrap;gap:14px 18px;align-items:center}
.pop-banner-text{flex:1;min-width:0}
.pop-banner-ic{flex:none;width:62px;height:62px;border-radius:14px;background:rgba(255,255,255,.08);border:1px solid rgba(233,196,106,.45);display:grid;place-items:center;color:#E9C46A}
.pop-banner-ic svg{width:30px;height:30px}
.pop-banner-ic svg path[fill]{fill:currentColor;stroke:none}
.pop-banner-eyebrow{margin:0;color:#E9C46A;font-size:12px;letter-spacing:.14em;text-transform:uppercase;font-weight:700}
.pop-banner h2{margin:0;color:#fff;font-family:inherit;font-size:24px;line-height:1.2;font-weight:700}
.pop-banner-sub{flex-basis:100%;margin:6px 0 0;color:rgba(255,255,255,.9);font-size:15.5px;line-height:1.5}
.pop-x{position:absolute;top:12px;right:12px;width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:#fff;cursor:pointer;display:grid;place-items:center}
.pop-x:hover{background:rgba(255,255,255,.14)}
.pop-x svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.pop-people{display:flex;flex-direction:column;gap:12px;padding:18px 18px 8px;max-height:58vh;overflow-y:auto}
.pop-person{background:#fff;border:1px solid #E6DCC4;border-radius:16px;padding:16px 18px}
.pop-person.is-company{background:#F4ECD9;border-color:#D9C48F}
.pop-person-main{display:flex;align-items:center;gap:14px}
.pop-avatar{flex:none;width:60px;height:60px;border-radius:12px;background:#F0E4C4;color:#0F3D2E;display:grid;place-items:center;font-weight:700;font-size:19px;border:2px solid #D9C48F;overflow:hidden}
.pop-avatar svg{width:44px;height:44px}
.pop-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.pp-photos{display:flex;flex-direction:column;gap:8px;margin-top:10px}
.pp-photo-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:10px;align-items:center}
.pop-person-who{flex:1;min-width:0;display:flex;flex-direction:column}
.pop-person-who b{color:#0F3D2E;font-size:17px;line-height:1.25}
.pop-person-who span{color:#7A6B50;font-size:14.5px;margin-top:2px}
.pop-follow-btn{flex:none;display:inline-flex;align-items:center;gap:8px;background:#0F3D2E;color:#fff;border:2px solid #C9A24A;border-radius:999px;padding:9px 18px;font-weight:700;font-size:15px;text-decoration:none}
.pop-follow-btn:hover{background:#0A2A20}
.pop-follow-ic{display:inline-grid;place-items:center;color:#E9C46A}
.pop-follow-ic svg{width:18px;height:18px}
.pop-follow-ic svg path[fill]{fill:currentColor;stroke:none}
.pop-talks{display:block;margin:12px 0 0;color:#4B4B45;font-size:14.5px;line-height:1.5}
.pop-talks-ic{display:inline-block;vertical-align:-3px;margin-right:8px;color:#B8912F}
.pop-talks-ic svg{display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.pop-talks-label{color:#8A7F66}
.pop-url{display:block;margin:6px 0 0 26px;color:#1E7A46;font-size:13.5px;overflow-wrap:anywhere;text-decoration:none}
.pop-url:hover{text-decoration:underline}
.pop-card.pop-follow-card .pop-foot{display:flex;align-items:center;gap:14px;padding:14px 20px 18px;border-top:1px solid #E6E0D0;background:#fff;margin:0;flex-wrap:wrap;justify-content:flex-end}
.pop-card.pop-follow-card .pop-tagline{margin:0 auto 0 0;color:#8A8270;font-style:italic;font-size:14px}
.pop-card.pop-follow-card .pop-foot .btn{border-radius:999px;padding:12px 26px;font-weight:700}
.pop-card.pop-follow-card #pop-go{background:#C9A24A;color:#1B1606;border:0}
.pop-card.pop-follow-card #pop-go:disabled{opacity:.6}
.pop-card.pop-follow-card #pop-later{border:0;background:transparent;color:#5C5545;font-weight:700}
.pop-card.pop-follow-card #pop-err{padding:0 20px}
@media (max-width:480px){ .pop-banner h2{font-size:21px} .pop-person-main{flex-wrap:wrap} .pop-follow-btn{margin-left:74px} .pop-person-who{flex:1 1 calc(100% - 80px)} }

/* The email preview: the email is shown as the person will receive it. */
.em-preview{width:100%;height:560px;border:1px solid var(--line);border-radius:12px;background:#F6EEDF}

/* Password fields: an eye button shows or hides what was typed. */
.pw-wrap{position:relative;display:block;width:100%}
.pw-wrap>input{padding-right:52px!important}
.pw-eye{position:absolute;right:6px;top:50%;transform:translateY(-50%);background:none;border:0;cursor:pointer;padding:8px;line-height:0;color:var(--muted);border-radius:8px}
.pw-eye:hover{color:var(--ink)}
.pw-eye:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.pw-eye svg{width:20px;height:20px;display:block}

/* Maths: formulas drawn with KaTeX in test questions, and the preview in the test editor. */
.math-display{display:block;overflow-x:auto;text-align:center;margin:.4em 0}
.dt-math{margin:4px 0 10px;padding:8px 12px;border-radius:10px;background:var(--bg);border:1px dashed var(--line);font-size:1.05rem;min-height:2.2em}

/* Tasks page (phase 7): each project card is coloured by its kind of work: image Lily, video deep green, audio a lighter
   green, text warm beige. Kicker and state text follow the card. There is no yellow. */
.proj-card.kind-image{background:#EA9B7A;border-color:#D9826A;color:#032F0C}
.proj-card.kind-video{background:#032F0C;border-color:#032F0C;color:#F6EEDC}
.proj-card.kind-video .proj-title{color:#EA9B7A}
.proj-card.kind-audio{background:#2E5E45;border-color:#2E5E45;color:#F6EEDC}
.proj-card.kind-text{background:#FBF3E2;border-color:#E3D4B6;color:#1B2A21}
.proj-card .proj-kicker{opacity:.85}
.proj-card .proj-state{font-weight:700;color:inherit}
.proj-card.kind-image .proj-start,.proj-card.kind-text .proj-start{background:#FFF8E6;color:#1B2A21;border-color:#D9B65C}
.proj-card.kind-video .proj-start,.proj-card.kind-audio .proj-start{background:#FFF8E6;color:#032F0C;border-color:#D9B65C}
.proj-card.kind-video .proj-details,.proj-card.kind-audio .proj-details{color:#F6EEDC;border-color:#F6EEDC;background:transparent}
.proj-finished{display:flex;flex-direction:column;gap:8px}
.proj-finished-row{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:baseline;padding:10px 14px;border-radius:12px;border-left:6px solid #B9AE94;background:var(--surface)}
.proj-finished-row.kind-image{border-left-color:#EA9B7A}
.proj-finished-row.kind-video{border-left-color:#032F0C}
.proj-finished-row.kind-audio{border-left-color:#2E5E45}
.tg-stats{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:14px}
.tg-stat{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.tg-stat b{font-size:18px}
/* The top bar of every task workspace: deep green, edged in Lily. */
.tk-bar{background:#032F0C;color:#F6EEDC;border:1px solid #032F0C;border-bottom:3px solid #EA9B7A}
.tk-bar .muted{color:#D9CFB8}
.tk-bar .btn.line{color:#F6EEDC;border-color:#F6EEDC;background:transparent}
.rv-fix{display:flex;flex-direction:column;gap:8px;margin-top:8px}
.rv-card.lesson{border-left:6px solid #EA9B7A}
.tl-zoom{width:140px;max-width:100%}
.seg-scroll{overflow-x:auto;width:100%}
.seg-scroll .seg-track{min-width:100%}
.toast{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);z-index:60;display:flex;align-items:center;gap:12px;max-width:calc(100vw - 32px);padding:12px 16px;border-radius:12px;background:#032F0C;color:#F6EEDC;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.toast button{background:#EA9B7A;color:#032F0C;border:0;border-radius:999px;padding:6px 14px;font-weight:700;cursor:pointer;white-space:nowrap}
/* The timer ring in the top bar: green while there is time, Lily in the last 20 seconds, deep red in the last 10. */
.tk-ring{--p:100;--ring:#5CCB92;width:44px;height:44px;border-radius:50%;flex:0 0 auto;background:conic-gradient(var(--ring) calc(var(--p) * 1%), rgba(246,238,220,.22) 0);position:relative}
.tk-ring::after{content:"";position:absolute;inset:6px;border-radius:50%;background:#032F0C}
.tk-ring.warn{--ring:#EA9B7A}
.tk-ring.danger,.tk-ring.out{--ring:#B03A2E}
.tk-ring.paused{--ring:#D9CFB8}
/* On every kind of card the kicker and the secondary button take the card's own text colour. */
.proj-card .proj-kicker{color:inherit;opacity:.75}
.proj-card .proj-details{color:inherit;border-color:currentColor;background:transparent}
/* The video clip keeps a 16:9 box while it loads, is ready, and plays, so nothing below it moves. */
.clip-stage{position:relative;width:100%;aspect-ratio:16/9;background:#1B2A21;border-radius:12px;overflow:hidden}
.clip-stage .task-video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.clip-state{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:16px;text-align:center;color:#F6EEDC;font-weight:700;background:rgba(18,24,20,.55);pointer-events:none}
