/* CUE phone system in code. The law is redesign/SYSTEM.md; the components are documented in fe/REDESIGN.md.
   Loaded last (after base/public, the page CSS and app.css) so it wins. Two layers:
   1. tokens and the restyle of the shared shells and base classes every page already uses (.app, .tabs, .btn, .card ...),
      so untouched pages read as the same product while they wait to be redone;
   2. the .x- components the redone pages are built from. */

/* ================================================================== 1. tokens */
:root,.cue{
  --cream:#F5F1EB;--paper:#FFFFFF;--sand:#E4DACB;--ink:#141312;--ink2:#2A2825;--soft:#2A2825;--red:#E7352A;--r:#E7352A;
  --stone:#5B5B56;--line:#E0D9CD;--onk:#C9C4BA;
  --m:24px;--s1:4px;--s2:8px;--s3:16px;--s4:24px;--s5:32px;--s6:48px;--s7:64px;
  --r1:8px;--r2:16px;--r3:24px;--pill:999px;--top:64px;--tab:64px;
  --fd:"Red Hat Display","Helvetica Neue",Arial,sans-serif;--ft:"Red Hat Text","Helvetica Neue",Arial,sans-serif;
}
.cue{font-family:var(--ft);text-rendering:optimizeLegibility}
/* The element reset (it used to be ".cue p{margin:0}" in base.css/public.css, which beat every single-class margin such as
   .x-gap16 or .hm-lead). :where() gives it zero specificity: elements without a margin rule keep 0, any class margin wins. */
:where(.cue) :where(h1,h2,h3,p,ul,ol,figure){margin:0;padding:0}
:where(.cue) :where(ul,ol){list-style:none}
.cue h1,.cue h2,.cue h3{text-wrap:balance}
.cue p{text-wrap:pretty}
.cue img{max-width:100%}
.cue .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.cue a:focus-visible,.cue summary:focus-visible,.cue button:focus-visible,.cue input:focus-visible,.cue textarea:focus-visible,.cue select:focus-visible{outline:2px solid var(--ink);outline-offset:3px}

/* the one side margin on phones; section spacing on the 8 px grid */
@container (max-width:560px){
.cue>*{--pad:24px;--sec:48px}
}

/* ------------------------------------------------------------------ shared type (base classes on untouched pages) */
.cue .d{font-family:var(--fd);font-weight:800;letter-spacing:-.03em}
.cue .h1p{font-size:clamp(32px,3.4cqw,48px);line-height:1.1;letter-spacing:-.03em}
.cue .h2{font-size:clamp(26px,2.6cqw,36px);line-height:1.1;letter-spacing:-.03em}
.cue .h3{font-size:22px;line-height:28px;font-weight:750;letter-spacing:-.02em}
.cue .t1{font-family:var(--ft);font-weight:600;font-size:17px;line-height:24px;letter-spacing:0}
.cue .t2{font-size:15px;line-height:20px;color:var(--stone)}
.cue .lead{font-size:17px;line-height:26px;color:var(--stone)}
.cue .note,.cue .hint{font-size:15px;line-height:20px;color:var(--stone)}
.cue .stat{font-size:15px;line-height:20px;font-weight:600;gap:8px}
.cue .stat::before{width:8px;height:8px}
.cue .tag{height:28px;padding:0 10px;font-size:13px;font-weight:600;background:var(--sand)}
.cue .cr .meta{font-size:15px;line-height:20px}
.cue .cr .nm{font-family:var(--ft);font-weight:600;font-size:17px;letter-spacing:0;line-height:24px}
.cue .back{min-height:44px;font:600 17px/24px var(--ft);color:var(--ink);gap:8px;margin-left:-5px}
.cue .hand{display:none}
@container (max-width:560px){
.cue .h1p{font-size:32px;line-height:36px}
.cue .h2{font-size:22px;line-height:28px;font-weight:750;letter-spacing:-.02em}
.cue .h3{font-size:22px;line-height:28px}
.cue .t1{font-size:17px}
.cue .t2{font-size:15px}
.cue .lead{font-size:17px;line-height:26px}
.cue .note,.cue .hint{font-size:15px}
.cue .stat{font-size:15px}
.cue .tag{height:28px;padding:0 10px;font-size:13px}
.cue .cr .meta{font-size:15px}
.cue .cr .nm{font-size:17px}
.cue .back{min-height:44px;font-size:17px}
.cue .phead{padding-top:16px;padding-bottom:24px}
.cue .rowline{font-size:15px;line-height:20px;padding:12px 0}
}

/* ------------------------------------------------------------------ buttons: pills, no outlines, 44 px hit areas */
.cue .btn{min-height:56px;padding:0 24px;border:0;border-radius:var(--pill);font-family:var(--ft);font-weight:600;font-size:17px;line-height:1;gap:8px;background:var(--ink);color:#fff;letter-spacing:0}
.cue .btn.o{background:var(--sand);color:var(--ink)}
.cue .btn.c{background:var(--cream);color:var(--ink)}
.cue .btn.oc{background:var(--ink2);color:#fff}
.cue .btn.r{background:var(--red);color:#fff}
.cue .btn.sm{min-height:44px;padding:0 20px;font-size:17px}
.cue .btn svg{width:20px;height:20px}
.cue .btn.sm svg{width:18px;height:18px}
@media (hover:hover){
.cue .btn:hover{color:#fff;transform:translateY(-1px)}
.cue .btn.o:hover,.cue .btn.c:hover{background:var(--sand);color:var(--ink)}
.cue .btn.c:hover{background:var(--cream)}
.cue .btn.r:hover{color:#fff}
}
@container (max-width:560px){
.cue .btn{min-height:56px;padding:0 24px;font-size:17px;gap:8px}
.cue .btn.sm{min-height:44px;padding:0 20px;font-size:17px}
.cue .btn svg{width:20px;height:20px}
.cue .btn.sm svg{width:18px;height:18px}
}
.cue .ib,.cue .go{width:44px;height:44px;border:0;background:transparent;color:var(--ink)}
.cue .ib svg{width:24px;height:24px}
.cue .go svg{color:var(--stone)}
@container (max-width:560px){.cue .ib,.cue .go{width:44px;height:44px}.cue .ib svg{width:24px;height:24px}}
.cue .fl{display:inline-flex;align-items:center;min-height:44px;min-width:44px;padding:0;font-size:15px;line-height:20px;color:var(--stone)}
@container (max-width:560px){.cue .fl{font-size:15px;padding:0;min-height:44px}}

/* ------------------------------------------------------------------ cards, lists, panels: no borders */
.cue .card{border:0;border-radius:var(--r3);padding:24px}
.cue .card.k{border:0}
.cue .list{border:0;border-radius:var(--r3)}
.cue .row{border-top:1px solid var(--line);padding:12px 24px;min-height:72px;gap:16px}
.cue .row:first-child{border-top:0}
.cue .empty{border:0;padding:8px 0 0;align-items:flex-start;text-align:left;gap:8px}
.cue .em-ic{display:none}
.cue .em-t{font-size:17px;line-height:26px;max-width:36ch}
.cue .empty .btn{margin-top:16px}
.cue details.acc{border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;overflow:visible}
.cue details.acc>summary{min-height:56px;padding:12px 0;font:600 17px/24px var(--ft)}
.cue details.acc>summary::after{width:8px;height:8px;border-width:2px;color:var(--stone)}
.cue .acc .accb{padding:0 0 24px}
.cue .cfm-p{border-radius:var(--r3);padding:24px;gap:16px}
.cue .cfm-t{font:600 17px/24px var(--ft)}
.cue .cfm-x{font:400 17px/26px var(--ft);color:var(--stone)}
.cue .ecard{border-radius:var(--r3)}
.cue .ecard b{font:600 17px/24px var(--ft)}
.cue .iss-q{border-radius:var(--r2);background:var(--sand)}
.cue .wk .ic,.cue .todo .bh-ti{border:0;background:var(--sand)}
@container (max-width:560px){
.cue .card{padding:24px;border-radius:var(--r3)}
.cue .list{border-radius:var(--r3)}
.cue .row{padding:12px 16px;gap:16px}
.cue .empty{padding:8px 0 0;border-radius:0}
}

/* ------------------------------------------------------------------ fields and controls */
.cue .field{gap:8px}
.cue .field label,.cue .lab{font:600 17px/24px var(--ft)}
.cue .field input,.cue .field textarea,.cue .field select,.cue .inp{min-height:56px;padding:14px 20px;border-radius:var(--r3);border:0;background:var(--paper);font-size:17px;line-height:24px;box-shadow:inset 0 0 0 1.5px transparent;transition:box-shadow .15s}
.cue .field input:focus,.cue .field textarea:focus,.cue .field select:focus,.cue .inp:focus{box-shadow:inset 0 0 0 1.5px var(--ink)}
.cue .field input::placeholder,.cue .field textarea::placeholder{color:var(--stone)}
.cue [aria-invalid="true"]{border-color:transparent !important;box-shadow:inset 0 0 0 2px var(--red) !important}
.cue .opt{border:0;border-radius:var(--r3);min-height:56px;padding:14px 20px;font:400 17px/24px var(--ft)}
.cue .opt.on{box-shadow:inset 0 0 0 2px var(--ink);font-weight:600}
.cue .srch{border:0;height:56px;padding:0 6px 0 20px;border-radius:var(--pill)}
.cue .srch input{font-size:17px}
.cue .chip{border:0;background:var(--sand);height:44px;padding:0 16px;font:500 15px/20px var(--ft);color:var(--ink)}
.cue .chip.on{background:var(--ink);color:#fff}
.cue .seg{border:0;background:var(--sand);padding:4px}
.cue .seg a{height:44px;padding:0 16px;font:600 17px/24px var(--ft)}
.cue .seg a.on{background:var(--ink);color:#fff}
.cue .ferr{font:600 15px/20px var(--ft)}
.cue .cnt{font-size:13px}
.cue .cnt.up{border:0;background:var(--sand)}
.cue .bar{height:8px;background:var(--sand)}
.cue .upn{font:600 15px/20px var(--ft)}
@container (max-width:560px){
.cue .field label,.cue .lab{font-size:17px}
.cue .field input,.cue .field textarea,.cue .field select,.cue .inp{min-height:56px;padding:14px 20px;border-radius:var(--r3);font-size:17px}
.cue .opt{min-height:56px;padding:14px 20px;border-radius:var(--r3);font-size:17px}
.cue .srch{height:56px;padding:0 6px 0 20px}
.cue .srch input{font-size:17px}
.cue .srch .btn{min-height:44px}
.cue .chip{height:44px;padding:0 16px;font-size:15px}
.cue .seg a{height:44px;padding:0 16px;font-size:17px}
.cue .ferr{font-size:15px}
}

/* ================================================================== 2. the shells */
/* ------------------------------------------------------------------ app top bar (brand, creator, admin) */
.cue .app{background:var(--cream);border-bottom:0;-webkit-backdrop-filter:none;backdrop-filter:none}
.cue .app .in{min-height:var(--top);padding-top:0;padding-bottom:0;gap:16px}
.cue .logo,.cue .app .logo{font:800 26px/1 var(--fd);letter-spacing:-.05em;color:var(--ink);display:inline-flex;align-items:center;min-height:44px}
.cue .anav{gap:4px}
.cue .an{font:500 17px/24px var(--ft);color:var(--stone);padding:10px 12px;border-radius:0;background:transparent}
.cue .an.on{background:transparent;color:var(--ink);font-weight:600}
.cue .app .r,.cue .app .x-r{display:flex;align-items:center;gap:8px}
.cue .ib.edge-r{margin-right:-10px}
.cue .ib.edge-l{margin-left:-10px}
/* detail screens: on phones the top bar is just the way back */
.cue .app .app-back{display:none}
@container (max-width:860px){
.cue .app.detail .logo,.cue .app.detail .anav,.cue .app.detail .x-r{display:none}
.cue .app.detail .app-back{display:inline-flex}
.cue .app.detail .in>div:first-of-type{display:none !important}
}
/* the unread badge: a small ink dot, never a number pill */
.cue .nb{top:8px;right:8px;width:10px;height:10px;min-width:0;padding:0;border-radius:50%;background:var(--ink);color:transparent;font-size:0;line-height:0;box-shadow:0 0 0 2px var(--cream)}
.cue .an .nb{position:static;display:inline-block;width:8px;height:8px;margin-left:8px;vertical-align:2px;box-shadow:none}
.cue .an.on .nb{background:var(--ink)}
.cue .tbi .nb{top:-2px;right:-6px;box-shadow:0 0 0 2px var(--paper)}
@container (max-width:560px){.cue .ib .nb{top:8px;right:8px}}
/* account menu */
.cue details.acct>summary{height:44px;min-width:44px;padding:0 4px 0 0;border:0;background:transparent;gap:10px;font:600 17px/24px var(--ft);color:var(--ink)}
.cue details.acct>summary .av,.cue .app .av{width:36px;height:36px;background:var(--ink);color:#fff;font:750 15px/1 var(--fd);letter-spacing:-.01em}
.cue details.acct>summary .chev{color:var(--stone)}
.cue .apanel{top:calc(100% + 4px);width:320px;border:0;border-radius:var(--r3);padding:8px;box-shadow:0 24px 48px -24px rgba(20,19,18,.4)}
.cue .ap-who{display:flex;align-items:center;gap:16px;padding:12px 16px 16px;border-bottom:1px solid var(--line);margin-bottom:8px}
.cue .ap-who .av{width:48px;height:48px;font-size:17px}
.cue .ap-nm{display:block;font:600 17px/24px var(--ft)}
.cue .ap-sub{display:block;font:400 15px/20px var(--ft);color:var(--stone)}
.cue .ai{min-height:48px;padding:0 16px;border-radius:var(--r2);font:600 17px/24px var(--ft);color:var(--ink)}
.cue .ai.ai-out{border-top:1px solid var(--line);border-radius:0;margin-top:8px;color:var(--stone)}
.cue .ai.ai-only{border-radius:var(--r2);color:var(--stone)}
@container (max-width:860px){
.cue details.acct>summary{width:44px;height:44px;padding:0;justify-content:center;margin-right:-4px}
.cue details.acct>summary .av,.cue .app .av{width:36px;height:36px;font-size:15px}
.cue .apanel{left:var(--pad);right:var(--pad);width:auto}
}
@container (max-width:560px){
.cue .app .in{padding-top:0;padding-bottom:0;gap:8px}
.cue .app .logo{font-size:26px}
}

/* ------------------------------------------------------------------ phone tab bar */
.cue .tabs{display:none;position:sticky;bottom:0;z-index:40;background:var(--paper);-webkit-backdrop-filter:none;backdrop-filter:none;border-top:1px solid var(--line);padding:0 0 env(safe-area-inset-bottom,0px);height:calc(var(--tab) + env(safe-area-inset-bottom,0px));grid-template-columns:repeat(5,1fr);align-items:stretch;justify-content:stretch}
.cue .tb{min-width:0;min-height:0;height:var(--tab);gap:4px;font:600 13px/16px var(--ft);color:var(--stone);justify-content:center;letter-spacing:0}
.cue .tb.on{color:var(--ink);font-weight:600}
.cue .tb svg{width:24px;height:24px}
.cue .tb.on svg{stroke-width:2.2}
.cue .tb .c{width:48px;height:48px;background:var(--ink);color:#fff;border-radius:50%}
.cue .tb .c svg{width:24px;height:24px;stroke-width:2.4}
.cue>*{--tabh:0px}
@container (max-width:1180px){
.cue .tabs{display:grid}
.cue:has(.tabs)>*{--tabh:calc(64px + env(safe-area-inset-bottom,0px))}
}
@container (max-width:560px){
.cue .tabs{padding:0 0 env(safe-area-inset-bottom,0px)}
.cue .tb{min-height:0;min-width:0;font-size:13px;gap:4px}
.cue .tb svg{width:24px;height:24px}
.cue .tb .c{width:48px;height:48px}
.cue .tb .c svg{width:24px;height:24px}
.cue:has(.tabs)>*{--tabh:calc(64px + env(safe-area-inset-bottom,0px))}
}
/* the old sticky bar untouched pages still use (hidden on laptop as before) */
@container (max-width:560px){
.cue .cta-bar{padding:16px var(--pad) 16px;gap:8px;background:var(--cream);-webkit-backdrop-filter:none;backdrop-filter:none;border-top:1px solid var(--line)}
}

/* ------------------------------------------------------------------ signed-in footer: quiet, no boxes */
.cue .af{border-top:0;margin-top:auto}
.cue .af-in{padding-top:32px;padding-bottom:32px;flex-direction:column;align-items:flex-start;gap:4px}
.cue .af-t{font:400 13px/20px var(--ft);color:var(--stone);max-width:60ch}
.cue .af-n{gap:0 24px}
@container (max-width:560px){
.cue .af-in{padding-top:32px;padding-bottom:32px;gap:4px}
.cue .af-t{font-size:13px;line-height:20px}
.cue .af-n{gap:0 24px}
}

/* ------------------------------------------------------------------ public header, menu and footer */
.cue .ea{display:none}
.cue .hdr{background:var(--cream);-webkit-backdrop-filter:none;backdrop-filter:none}
.cue .hdr header{min-height:var(--top);padding-top:0;padding-bottom:0;gap:16px}
.cue .hdr .logo{font-size:26px}
.cue .nl{font:500 17px/24px var(--ft);color:var(--ink);display:inline-flex;align-items:center;min-height:44px}
.cue .hdr .x-r{display:flex;align-items:center;gap:16px}
.cue details.mnav>summary{width:44px;height:44px;border:0;background:transparent;color:var(--ink);margin-right:-10px}
.cue details.mnav[open]>summary{background:transparent;color:var(--ink)}
.cue .mpanel{background:var(--cream);border-bottom:0;padding:0 var(--pad) 32px;box-shadow:0 32px 40px -32px rgba(20,19,18,.35)}
.cue .ml{font:600 17px/24px var(--ft);min-height:56px;padding:0;border-bottom:1px solid var(--line);color:var(--ink)}
.cue .ml svg{color:var(--stone);width:20px;height:20px}
.cue .mp-cta{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-top:24px}
@container (max-width:860px){.cue .hdr header{padding-top:0;padding-bottom:0;gap:8px}}
@container (max-width:560px){.cue .hdr .logo{font-size:26px}}
/* laptop: the header keeps its links and the Get started button */
@container (min-width:861px){.cue .hdr .logo{font-size:30px}}

.cue .x-end{background:var(--ink);color:#fff;padding-top:var(--s7);padding-bottom:var(--s6)}
.cue .x-end .x-display{color:#fff}
.cue .x-end .x-pair{margin-top:var(--s5)}
.cue .x-fcols{display:grid;grid-template-columns:1fr 1fr;gap:var(--s4);margin-top:var(--s7);padding-top:var(--s5);border-top:1px solid var(--ink2)}
.cue .x-fcols ul{list-style:none;margin-top:var(--s2);padding:0}
.cue .x-fcols a,.cue .x-flegal a{display:flex;align-items:center;min-height:44px;min-width:44px;color:var(--onk);font:400 15px/20px var(--ft)}
.cue .x-flegal{display:flex;flex-wrap:wrap;gap:0 var(--s4);margin-top:var(--s4)}
.cue .x-fsmall{color:#8E8A83;font:400 13px/20px var(--ft);padding-top:var(--s4);max-width:60ch}
@container (min-width:861px){
.cue .x-end{padding-top:96px;padding-bottom:64px}
.cue .x-end .x-endin{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:48px 64px;align-items:start}
.cue .x-end .x-pair{max-width:520px}
.cue .x-fcols{margin-top:0;padding-top:0;border-top:0;grid-column:2;grid-row:1}
.cue .x-flegal{grid-column:1/-1;margin-top:48px;padding-top:24px;border-top:1px solid var(--ink2)}
.cue .x-fsmall{grid-column:1/-1}
}

/* ================================================================== 3. the .x- components */
/* ------------------------------------------------------------------ type: six sizes */
.cue .x-display{font:800 clamp(43px,12cqw,52px)/0.98 var(--fd);letter-spacing:-.045em}
.cue .x-title{font:800 32px/36px var(--fd);letter-spacing:-.03em}
.cue .x-heading{font:750 22px/28px var(--fd);letter-spacing:-.02em}
.cue .x-body{font:400 17px/26px var(--ft)}
.cue .x-strong{font:600 17px/24px var(--ft)}
.cue .x-label{font:400 15px/20px var(--ft);color:var(--stone)}
.cue .x-caption{font:600 13px/16px var(--ft)}
.cue .x-stone{color:var(--stone)}
.cue .x-red{color:var(--red)}
.cue .x-num{font-variant-numeric:tabular-nums}
.cue .x-ink .x-label,.cue .x-ink .x-stone,.cue .x-ink .x-body.x-stone{color:var(--onk)}
@container (min-width:861px){
.cue .x-display{font-size:clamp(56px,5.4cqw,76px)}
.cue .x-title{font-size:clamp(36px,3cqw,44px);line-height:1.08}
}

/* ------------------------------------------------------------------ layout */
.cue .x-wrap{max-width:1320px;margin:0 auto;padding-left:var(--pad);padding-right:var(--pad)}
.cue .x-col{max-width:720px}
.cue .x-blk{margin-top:var(--s6)}
.cue .x-sec{padding-top:var(--s7)}
.cue .x-gap8{margin-top:var(--s2)}.cue .x-gap16{margin-top:var(--s3)}.cue .x-gap24{margin-top:var(--s4)}.cue .x-gap32{margin-top:var(--s5)}.cue .x-gap48{margin-top:var(--s6)}.cue .x-gap64{margin-top:var(--s7)}
.cue .x-stack>*+*{margin-top:var(--s2)}
.cue .x-shead{display:flex;align-items:center;justify-content:space-between;gap:var(--s3);min-height:44px}
.cue .x-shead .x-link{margin-right:-2px}
.cue .x-sand{background:var(--sand)}
.cue .x-ink{background:var(--ink);color:#fff}
.cue .x-field-sec{padding-top:var(--s6);padding-bottom:var(--s6)}
.cue .x-pad{padding-top:var(--s3)}
.cue .x-foot{padding:var(--s5) 0;color:var(--stone)}
.cue .x-hr{border:0;border-top:1px solid var(--line)}
:where(.cue .x-hr){margin:0}

/* ------------------------------------------------------------------ buttons and links */
.cue .x-btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--s2);height:56px;min-height:56px;padding:0 var(--s4);border:0;border-radius:var(--pill);font:600 17px/1 var(--ft);background:var(--ink);color:#fff;white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none;letter-spacing:0;text-decoration:none;transition:transform .18s cubic-bezier(.2,.7,.2,1),opacity .15s}
.cue .x-btn.sand{background:var(--sand);color:var(--ink)}
.cue .x-btn.red{background:var(--red);color:#fff}
.cue .x-btn.cream{background:var(--cream);color:var(--ink)}
.cue .x-btn.ink2{background:var(--ink2);color:#fff}
.cue .x-btn.block{display:flex;width:100%}
/* a form's button can carry a name ("Send to <brand>", "Suspend <name>"): a long one wraps inside the pill instead of running off the screen */
.cue .x-form .x-btn{white-space:normal;height:auto;max-width:100%;line-height:1.2;text-align:center;padding-top:8px;padding-bottom:8px}
.cue .x-btn svg{width:20px;height:20px;flex:none}
.cue .x-btn:active{transform:scale(.98)}
.cue .x-btn[disabled],.cue .x-btn.is-busy{opacity:.55;cursor:progress;pointer-events:none}
.cue .x-btn.is-busy svg{animation:cueBusy .9s ease-in-out infinite}
@media (hover:hover){.cue .x-btn:hover{transform:translateY(-1px)}}
@media (prefers-reduced-motion:reduce){.cue .x-btn:hover,.cue .x-btn:active{transform:none}}
.cue .x-pair{display:grid;grid-template-columns:1fr 1fr;gap:var(--s2)}
.cue .x-pair .x-btn{padding:0 var(--s3)}
.cue .x-link{display:inline-flex;align-items:center;gap:var(--s2);min-height:44px;font:600 17px/24px var(--ft);color:inherit;background:none;border:0;padding:0;cursor:pointer}
.cue .x-link svg{width:20px;height:20px;flex:none}
.cue .x-ib{width:44px;height:44px;display:inline-grid;place-items:center;border-radius:50%;border:0;background:transparent;color:var(--ink);cursor:pointer;flex:none;position:relative}
.cue .x-ib svg{width:24px;height:24px}
.cue .x-ib.edge-r{margin-right:-10px}
.cue .x-ib.edge-l{margin-left:-10px}
.cue .x-back{display:inline-flex;align-items:center;gap:var(--s2);min-height:44px;font:600 17px/24px var(--ft);color:var(--ink);margin-left:-5px}
.cue .x-back svg{width:24px;height:24px}
@container (min-width:861px){.cue .x-pair{max-width:440px}.cue .x-btn.block{max-width:440px}}
.cue .x-pair.full{max-width:none}.cue .x-btn.block.full{max-width:none}

/* ------------------------------------------------------------------ avatars, thumbnails */
.cue .x-av{width:48px;height:48px;border-radius:50%;background:var(--sand);color:var(--ink);display:inline-grid;place-items:center;flex:none;font:750 15px/1 var(--fd);letter-spacing:-.01em}
.cue .x-av.ink{background:var(--ink);color:#fff}
.cue .x-av.sm{width:32px;height:32px;font-size:13px}
.cue .x-av.lg{width:64px;height:64px;font-size:20px}
.cue .x-me{width:36px;height:36px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font:750 15px/1 var(--fd)}
.cue .x-thumb{width:48px;height:48px;border-radius:var(--r2);overflow:hidden;flex:none;position:relative;background:var(--sand)}
.cue .x-thumb img,.cue .x-thumb video{width:100%;height:100%;object-fit:cover;display:block}
.cue .x-thumb .x-mini{position:absolute;inset:0;display:grid;place-items:center;color:#fff}
.cue .x-thumb .x-mini svg{width:16px;height:16px;fill:currentColor;stroke:none;margin-left:2px;filter:drop-shadow(0 0 6px rgba(0,0,0,.35))}
.cue .x-tick{width:48px;height:48px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;flex:none}
.cue .x-tick svg{width:22px;height:22px;stroke-width:2.4}

/* ------------------------------------------------------------------ rows: 72 px, one text column, chevron, whole row a link */
/* zero margins on lists are defaults only (:where), so a spacing class on the list (.x-blk, .x-gapN, a page class) wins */
:where(.cue .x-rows){list-style:none;margin:0;padding:0}
.cue .x-row{display:flex;align-items:center;gap:var(--s3);min-height:72px;padding:12px 0;color:inherit;width:100%;text-align:left;background:none;border:0;font:inherit;cursor:pointer}
.cue .x-rows>li+li,.cue .x-row+.x-row{border-top:1px solid var(--line)}
.cue .x-row.row{padding:12px 0;min-height:72px;gap:var(--s3);color:inherit}
.cue .x-rows .x-row.row,.cue .x-row.row:first-child{border-top:0}
.cue .x-row .x-tx{flex:1;min-width:0}
.cue .x-row .x-tx>*{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cue .x-row .x-tx>.wrap2{white-space:normal}
.cue .x-row .x-chev{color:var(--stone);width:20px;height:20px;flex:none;stroke-width:2.2}
.cue details.x-rowd{border:0}
.cue details.x-rowd>summary{list-style:none}
.cue details.x-rowd>summary::-webkit-details-marker{display:none}
.cue details.x-rowd[open]>summary .x-chev{transform:rotate(90deg)}
.cue .x-rowd .x-panel{padding:var(--s2) 0 var(--s4)}
.cue .x-rowd[open]{padding-bottom:0}

/* ------------------------------------------------------------------ the one white card; the sand note; the sideways strip */
.cue .x-card{background:var(--paper);border:0;border-radius:var(--r3);padding:var(--s4);box-shadow:none}
.cue .x-card.sand{background:var(--sand)}
.cue .x-note{background:var(--sand);border-radius:var(--r1) var(--r3) var(--r3) var(--r3);padding:var(--s3) var(--s4) var(--s3) var(--s3);display:flex;gap:12px;align-items:flex-start}
.cue .x-note .x-av{width:32px;height:32px;font-size:13px;background:var(--cream);margin-top:-3px}
.cue .x-note .x-label{margin-top:var(--s1)}
.cue .x-note.mine{background:var(--paper)}
.cue .x-strip{display:flex;gap:var(--s3);overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-left:var(--pad);padding:0 var(--pad);scrollbar-width:none;-webkit-overflow-scrolling:touch}
:where(.cue .x-strip){margin:0}
.cue .x-strip::-webkit-scrollbar{display:none}
.cue .x-strip>*{scroll-snap-align:start;flex:none;margin:0}
.cue .x-strip::after{content:"";flex:0 0 8px}
.cue .x-strip.inwrap{margin-left:calc(var(--pad) * -1);margin-right:calc(var(--pad) * -1)}

/* ------------------------------------------------------------------ fields: pill search, inputs 56 tall, 17 px text */
.cue .x-search{display:flex;align-items:center;gap:12px;height:56px;border-radius:var(--pill);background:var(--paper);padding:0 6px 0 20px;font:400 17px/24px var(--ft);color:var(--stone)}
.cue .x-search svg{color:var(--stone);width:24px;height:24px;flex:none}
.cue .x-search input{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;font:400 17px/24px var(--ft);color:var(--ink);padding:0}
.cue .x-search input::placeholder{color:var(--stone);opacity:1}
.cue .x-form{display:flex;flex-direction:column;gap:var(--s3)}
.cue .x-fld{display:flex;flex-direction:column;gap:var(--s2)}
.cue .x-fld label,.cue .x-lab{font:600 17px/24px var(--ft)}
.cue .x-fld label i,.cue .x-lab i{font-style:normal;font-weight:400;color:var(--stone);margin-left:6px}
.cue .x-input,.cue .x-fld input:not([type=radio]):not([type=checkbox]):not([type=file]),.cue .x-fld textarea,.cue .x-fld select{width:100%;min-height:56px;padding:14px 20px;border:0;border-radius:var(--r3);background:var(--paper);font:400 17px/24px var(--ft);color:var(--ink);outline:0;-webkit-appearance:none;appearance:none;box-shadow:inset 0 0 0 1.5px transparent;transition:box-shadow .15s}
.cue .x-fld textarea{min-height:112px;resize:vertical}
.cue .x-input:focus,.cue .x-fld input:focus,.cue .x-fld textarea:focus,.cue .x-fld select:focus{box-shadow:inset 0 0 0 1.5px var(--ink)}
.cue .x-fld input::placeholder,.cue .x-fld textarea::placeholder{color:var(--stone);opacity:1}
.cue .x-fld .x-hint{font:400 15px/20px var(--ft);color:var(--stone)}
.cue .x-sel{position:relative}
.cue .x-sel svg{position:absolute;right:18px;top:50%;transform:translateY(-50%);pointer-events:none;color:var(--stone)}
/* the chosen option's text stops before the chevron (a long option ran under it) */
.cue .x-sel>select,.cue .x-fld .x-sel>select{padding-right:48px}
/* A field with a fixed prefix drawn inside it ("AED", or "@" with .at): the text starts after the prefix.
   The selectors match the weight of the .x-fld input rule above, or its padding wins and the text runs under the prefix. */
.cue .x-pre{position:relative}
.cue .x-pre>span{position:absolute;left:20px;top:50%;transform:translateY(-50%);color:var(--stone);font:400 17px/24px var(--ft);pointer-events:none}
.cue .x-pre>input,.cue .x-fld .x-pre>input:not([type=radio]):not([type=checkbox]):not([type=file]){padding-left:64px}
.cue .x-pre.at>input,.cue .x-fld .x-pre.at>input:not([type=radio]):not([type=checkbox]):not([type=file]){padding-left:40px}
.cue .x-compose{display:flex;align-items:center;gap:12px;height:56px;border-radius:var(--pill);background:var(--paper);padding:0 6px 0 var(--s4);color:var(--stone)}
.cue .x-compose input{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;font:400 17px/24px var(--ft);color:var(--ink);padding:0}
.cue .x-compose input::placeholder{color:var(--stone);opacity:1}
.cue .x-send{width:44px;height:44px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;border:0;cursor:pointer;flex:none}
.cue .x-send svg{width:20px;height:20px;stroke-width:2}
/* pick one of a few (radios as pills) */
.cue .x-pick{display:flex;flex-wrap:wrap;gap:var(--s2)}
.cue .x-pick label{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 20px;border-radius:var(--pill);background:var(--paper);font:600 17px/24px var(--ft);cursor:pointer}
.cue .x-pick label:has(input:checked){background:var(--ink);color:#fff}
.cue .x-pick input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.cue .x-pick label:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:2px}

/* ------------------------------------------------------------------ segmented control */
.cue .x-seg{display:inline-grid;grid-auto-flow:column;grid-auto-columns:auto;gap:4px;padding:4px;border-radius:var(--pill);background:var(--sand);max-width:100%;overflow-x:auto;scrollbar-width:none}
.cue .x-seg::-webkit-scrollbar{display:none}
.cue .x-sand .x-seg,.cue .x-seg.oncream{background:var(--cream)}
.cue .x-seg>a,.cue .x-seg>label,.cue .x-seg>button{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 var(--s3);border-radius:var(--pill);font:600 17px/1 var(--ft);color:var(--stone);white-space:nowrap;cursor:pointer;border:0;background:transparent}
.cue .x-seg>.on,.cue .x-seg>label:has(input:checked){background:var(--ink);color:#fff}
.cue .x-seg input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
/* a rating from 1 to 5: the sand segmented control, five equal parts (one control, not five boxes) */
.cue .x-seg.rate{display:flex;width:100%;max-width:440px}
.cue .x-seg.rate>label{flex:1 1 0;padding:0;min-width:0}
.cue .x-seg.rate>label.ro{cursor:default}
.cue .x-seg>label:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:2px}

/* ------------------------------------------------------------------ photos and video posters */
.cue .x-photo{display:block;border-radius:var(--r3);overflow:hidden;aspect-ratio:4/3;background:var(--sand)}
.cue .x-photo.p45{aspect-ratio:4/5}
.cue .x-photo.p916{aspect-ratio:9/16}
.cue .x-photo img{width:100%;height:100%;object-fit:cover;display:block}
.cue .x-poster{position:relative;display:block;aspect-ratio:9/16;border-radius:var(--r3);overflow:hidden;background:#2a2826;color:inherit}
.cue .x-poster.still{aspect-ratio:4/5}
.cue .x-poster img,.cue .x-poster video{width:100%;height:100%;object-fit:cover;display:block}
.cue .x-poster .x-play{position:absolute;left:50%;top:50%;width:56px;height:56px;margin:-28px 0 0 -28px;border-radius:50%;background:rgba(255,255,255,.94);display:grid;place-items:center;color:var(--ink)}
.cue .x-poster .x-play svg{width:22px;height:22px;fill:currentColor;stroke:none;margin-left:3px}
.cue .x-poster .x-dur{position:absolute;left:12px;bottom:12px;padding:4px 8px;border-radius:var(--r1);background:rgba(255,255,255,.94);color:var(--ink);font:600 13px/16px var(--ft)}
.cue .x-poster .x-ver{position:absolute;right:12px;top:12px;padding:4px 8px;border-radius:var(--r1);background:rgba(255,255,255,.94);color:var(--ink);font:600 13px/16px var(--ft)}
.cue .x-poster .x-file{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:16px;color:#fff;text-align:center;font:600 13px/16px var(--ft);word-break:break-word}
.cue .x-vids{display:grid;grid-template-columns:1fr 1fr;gap:var(--s3)}
.cue .x-vids.one{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.cue .x-figs figcaption{margin-top:var(--s2)}

/* ------------------------------------------------------------------ states, pairs, timeline */
.cue .x-state{display:flex;align-items:flex-start;gap:var(--s2);font:600 17px/24px var(--ft)}
.cue .x-state .x-dot{width:8px;height:8px;margin-top:8px;border-radius:50%;background:var(--ink);flex:none}
.cue .x-state.now .x-dot{background:var(--red)}
.cue .x-state.quiet .x-dot{background:var(--onk)}
:where(.cue .x-pairs){margin:0}
.cue .x-pairs>div+div{margin-top:var(--s3)}
.cue .x-pairs dt{font:400 15px/20px var(--ft);color:var(--stone)}
.cue .x-pairs dd{margin:0;font:400 17px/26px var(--ft)}
.cue .x-kv{display:flex;align-items:baseline;justify-content:space-between;gap:var(--s3);padding:var(--s3) 0}
.cue .x-kv+.x-kv{border-top:1px solid var(--line)}
.cue .x-kv .v{text-align:right}
.cue .x-kv.total{border-top:1px solid var(--ink);align-items:center}
.cue .x-tl{position:relative}
:where(.cue .x-tl){list-style:none;margin:0;padding:0}
.cue .x-tl li{display:flex;align-items:baseline;justify-content:space-between;gap:var(--s3);padding:12px 0 12px 24px;position:relative;font:400 17px/26px var(--ft)}
.cue .x-tl li::before{content:"";position:absolute;left:0;top:19px;width:10px;height:10px;border-radius:50%;background:var(--ink)}
.cue .x-tl li::after{content:"";position:absolute;left:4.5px;top:31px;bottom:-19px;width:1px;background:var(--ink)}
.cue .x-tl li:last-child::after{display:none}
.cue .x-tl li.next::before{background:var(--cream);box-shadow:inset 0 0 0 2px var(--ink)}
.cue .x-tl li.next{font-weight:600}
.cue .x-tl li:nth-last-child(2)::after{background:var(--line)}
.cue .x-tl li:has(+ li.next)::after{background:var(--line)}
.cue .x-tl .d{color:var(--stone);font:400 15px/20px var(--ft);flex:none}
.cue .x-tl li.next .d{color:var(--ink);font-weight:600}
.cue .x-paid{display:flex;align-items:center;gap:var(--s3);margin-top:var(--s4);padding-top:var(--s4);border-top:1px solid var(--line)}
.cue .x-paid .x-tx{flex:1;min-width:0}
.cue .x-paid .x-tx>*{display:block}

/* ------------------------------------------------------------------ empty state (no box), error line, action bar */
.cue .x-empty{display:flex;flex-direction:column;align-items:flex-start;gap:var(--s2);padding:var(--s2) 0 0}
.cue .x-empty .x-btn,.cue .x-empty .x-link{margin-top:var(--s3)}
.cue .x-err{display:flex;align-items:baseline;gap:9px;font:600 15px/20px var(--ft);color:var(--ink)}
.cue .x-err::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--red);flex:none;transform:translateY(-1px)}
.cue .x-err[hidden]{display:none}
/* one red per screen: when the engine's error marks a field (red ring), the message's dot is ink, not a second red */
.cue:has([aria-invalid="true"]) :is(.x-err,.ferr)::before{background:var(--ink)}
.cue .x-actbar{position:sticky;bottom:0;z-index:40;background:var(--cream);border-top:1px solid var(--line);padding:var(--s3) var(--pad) calc(var(--s3) + env(safe-area-inset-bottom,0px))}
.cue .x-actbar .x-in{display:flex;flex-direction:column-reverse;gap:var(--s3);max-width:1320px;margin:0 auto}
.cue .x-actbar details{border:0;display:flex;flex-direction:column-reverse}
.cue .x-actbar details[open]>.x-sheet{margin-bottom:var(--s3)}
.cue .x-actbar details>summary{list-style:none}
.cue .x-actbar details>summary::-webkit-details-marker{display:none}
.cue .x-actbar .x-sheet{display:flex;flex-direction:column;gap:var(--s3);padding-bottom:var(--s2)}
.cue:has(.x-actbar)>*{--tabh:calc(88px + env(safe-area-inset-bottom,0px))}
@container (min-width:861px){
.cue .x-actbar{padding-left:0;padding-right:0}
.cue .x-actbar .x-in{flex-direction:column-reverse;align-items:flex-start;max-width:720px;padding-left:var(--pad);padding-right:var(--pad)}
.cue .x-actbar .x-btn.block{width:auto;min-width:320px;max-width:440px}
.cue .x-actbar .x-sheet{max-width:560px}
}
/* in-place sheet that opens under a button (details) */
.cue details.x-open{border:0}
.cue details.x-open>summary{list-style:none;cursor:pointer}
.cue details.x-open>summary::-webkit-details-marker{display:none}
.cue details.x-open>summary .b{display:none}
.cue details.x-open[open]>summary .a{display:none}
.cue details.x-open[open]>summary .b{display:inline}
.cue details.x-open>.x-sheet{display:flex;flex-direction:column;gap:var(--s3);margin-top:var(--s3)}
.cue .x-sheet .x-sh{display:flex;flex-direction:column;gap:var(--s1)}
.cue .x-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s3)}
/* a date field needs about 180px for "27 Sept 2026" and its picker button: on a phone the pair stacks (it took the
   neighbour's room, leaving an "AED" field too narrow to show its amount) */
@container (max-width:600px){.cue .x-two:has(input[type=date]){grid-template-columns:minmax(0,1fr)}}
/* on the narrowest phones a half-width "AED" field leaves room for about four digits: the pair stacks there too */
@container (max-width:370px){.cue .x-two:has(.x-pre){grid-template-columns:minmax(0,1fr)}}
.cue .x-acts{display:flex;flex-wrap:wrap;gap:var(--s2)}
/* a file picker that looks like a link */
.cue .x-filepick{display:inline-flex;align-items:center;gap:var(--s2);min-height:44px;font:600 17px/24px var(--ft);cursor:pointer}
.cue .x-filepick input{position:absolute;opacity:0;width:1px;height:1px}
.cue .x-filepick span.n{font-weight:400;color:var(--stone)}

/* ------------------------------------------------------------------ laptop: one product on wide screens */
@container (min-width:861px){
.cue .x-app{max-width:720px;margin:0 auto}
.cue .x-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,400px);gap:64px;align-items:start}
.cue .x-side{position:sticky;top:calc(var(--top) + 24px)}
.cue .x-row{min-height:72px}
.cue .x-strip{padding:0 var(--pad)}
}
@container (max-width:860px){.cue .x-app{max-width:none}}

/* rows that name who is behind them (a brand's brief): who in strong ink, then what it is about in plain ink, then the detail */
.cue .x-row .x-who{color:var(--ink)}
.cue .x-row .x-what{font:400 17px/24px var(--ft);color:var(--ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cue .x-row .x-what+.x-label{margin-top:2px}

/* ================================================================== 4. the signed-in app on laptops (20 Oct 2026)
   Scoped to the signed-in shells (.cue with the .app top bar), so public pages are untouched. Phones keep their layout.
   Page widths (content, the --pad margin is added on each side):
     .x-app           720  forms, reading pages, single-column detail pages
     .x-app.x-list    960  list pages (briefs, projects, applications, messages, notifications, payments)
     .x-app.x-wide   1120  dashboards (the homes), browse pages (find creators, find work, library), detail pages with a side panel
   Two columns: .x-cols (a list and its one card at the side, from 1000), .x-detail (a job: main column, the agreement and
   timeline at the side, from 1000); the homes pair their first blocks from 861. Grids step up to four columns from 1100. */

/* The shell fills the window: the footer sits at the bottom of short pages at every width. */
.cue:has(>.app){min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
.cue:has(>.app)>*{flex:none;width:100%}
.cue:has(>.app)>footer{margin-top:auto}

@container (min-width:861px){
.cue:has(>.app) .x-app:not(.xa-wide){max-width:calc(720px + 2 * var(--pad))}
.cue:has(>.app) .x-app.x-list{max-width:calc(960px + 2 * var(--pad))}
.cue:has(>.app) .x-app.x-wide{max-width:1320px}
.cue:has(>.app) .x-actbar .x-in{max-width:calc(720px + 2 * var(--pad))}
.cue:has(>.app):has(.x-app.x-wide) .x-actbar .x-in{max-width:1320px}
.cue:has(>.app) .x-empty{padding-top:var(--s3)}
}

/* a list and its one card side by side */
@container (min-width:1000px){
.cue .x-cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,360px);column-gap:var(--s7);align-items:start;margin-top:var(--s5)}
.cue .x-cols>.x-aside{grid-column:2;grid-row:1;position:sticky;top:calc(var(--top) + 24px)}
.cue .x-cols>.x-main{grid-column:1;grid-row:1;min-width:0}
.cue .x-cols>.x-aside,.cue .x-cols>.x-main{margin-top:0}
.cue .x-cols>.x-main>:first-child{margin-top:0}
}

/* a job: the main column, then the agreement, timeline and message box at the side */
@container (min-width:1000px){
.cue .x-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,380px);grid-template-areas:"main side" "more side";column-gap:var(--s7);align-items:start}
.cue .x-detail>.x-dmain{grid-area:main;min-width:0}
.cue .x-detail>.x-dside{grid-area:side;min-width:0}
.cue .x-detail>.x-dmore{grid-area:more;min-width:0}
.cue .x-detail>.x-dside>:first-child{margin-top:60px}
}

/* "Get set up": an icon per step, a tick once done, "1 of 3 done" and a thin progress line */
.cue .x-step{width:48px;height:48px;border-radius:var(--r2);background:var(--sand);color:var(--ink);display:grid;place-items:center;flex:none}
.cue .x-step svg{width:24px;height:24px}
.cue .x-step.done{background:var(--tk,var(--ink));color:var(--acc,#fff)}
.cue .x-step.done svg{width:22px;height:22px}
.cue .x-row.is-done .x-strong{color:var(--stone)}
.cue .x-setup .x-shead .x-label{white-space:nowrap}
.cue .x-meter{height:4px;border-radius:var(--pill);background:var(--sand);overflow:hidden;margin-top:var(--s2)}
.cue .x-meter>i{display:block;height:100%;border-radius:inherit;background:var(--ink)}
.cue .x-setup-rows{margin-top:var(--s2)}

/* empty states: a small icon tile above the heading, the line reads at a comfortable measure */
.cue .x-empty .x-eic{width:48px;height:48px;border-radius:var(--r2);background:var(--sand);color:var(--ink);display:grid;place-items:center;flex:none;margin-bottom:var(--s2)}
.cue .x-empty .x-eic svg{width:24px;height:24px}
.cue .x-empty .em-t{max-width:52ch}

/* one top space for page titles on laptop list and browse pages; job pages keep their videos at a calm size */
@container (min-width:861px){
.cue:has(>.app) :is(.bf-head,.ms-head,.fc-head),.cue:has(>.app) :is(.x-list,.x-wide)>.pr-head{padding-top:var(--s5)}
.cue .x-detail .x-vids{grid-template-columns:repeat(2,minmax(0,300px))}
}

/* ------------------------------------------------------------------ reviewed by CUE (Terms 4.6, 21.2, 24.7) */
/* A quiet line with a tick next to a name: CUE looked at the licence the member supplied. Never "verified". */
/* the Verified mark (ui.js verifiedTick): a 16 px round tick right after a name; ink in the day look, the red accent at night */
.cue .x-vf{display:inline-flex;align-items:center;justify-content:center;flex:none;width:24px;height:24px;margin:-4px -4px -4px 0;padding:0;border:0;border-radius:50%;background:none;cursor:pointer;vertical-align:middle;-webkit-tap-highlight-color:transparent}
.cue .x-vf svg{width:16px;height:16px;display:block}
.cue .x-vf .vf-c{fill:var(--acc,var(--ink))}
.cue .x-vf .vf-k{fill:none;stroke:#fff;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.cue .x-vf:focus-visible{outline:2px solid var(--ink);outline-offset:0}
.cue .x-row .x-tx>.x-nm{display:flex;align-items:center;gap:2px;min-width:0}
.cue .x-nm>.x-nmt{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.x-vftip{position:fixed;z-index:1000;left:16px;top:0;max-width:min(320px,calc(100vw - 32px));padding:12px 16px;border-radius:16px;background:#141312;color:#F5F1EB;box-shadow:0 0 0 1px rgba(245,241,235,.14),0 20px 40px -20px rgba(20,19,18,.55);font:400 15px/20px "Red Hat Text","Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s}
.x-vftip.on{opacity:1;visibility:visible;pointer-events:auto}
.x-vftip strong{display:block;font-weight:600;overflow-wrap:anywhere}
.x-vftip span{display:block;margin-top:4px;color:#C9C4BA}
.cue .x-vfhead{margin-top:var(--s3)}
.cue .x-vfhead .x-nm{display:flex;align-items:center;gap:2px;min-width:0}
.cue .x-vfhead .x-vfst{display:inline-block;margin-top:2px;color:var(--stone);text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:3px}
.cue .x-vfcode{display:flex;align-items:center;justify-content:space-between;gap:var(--s3);padding:var(--s3) 20px;border-radius:var(--r2);background:var(--paper)}
.cue .x-vfcode .x-heading{letter-spacing:.04em;overflow-wrap:anywhere}
.cue .x-vfcode .x-link{flex:none}
.cue .x-title .x-vf{width:28px;height:28px;margin:0 0 0 6px;vertical-align:0}
.cue .x-title .x-vf svg{width:22px;height:22px}
.cue .x-row .x-tx>.x-rvrow{margin-top:2px}
/* the account button and row avatars with a picture (a brand's logo, a creator's photo); initials when there is none */
/* Every avatar is a fixed circle that never stretches (equal sides, no shrinking, no growing), and a picture fills it
   centred and cropped, as on Instagram: square, tall and wide pictures alike. A white ground sits behind pictures, so a
   logo with transparency shows on white, never on a dark box. */
.cue .av,.cue .x-av,.cue .avt{aspect-ratio:1/1;flex:none;flex-shrink:0;border-radius:50%;overflow:hidden;min-height:0;box-sizing:border-box}
.cue .av.pic,.cue .x-av.pic,.cue .app .av.pic,.cue details.acct>summary .av.pic,.cue .ap-who .av.pic{background:#fff;overflow:hidden;padding:0;min-height:0;box-shadow:inset 0 0 0 1px var(--line);position:relative}
.cue .av.pic>img,.cue .x-av.pic>img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;border-radius:50%;padding:0;max-width:none}
/* a wide wordmark or tall logo would lose its edges in a cover crop: show it whole, centred inside the circle (app.js marks it) */
.cue .av.pic>img.fit,.cue .x-av.pic>img.fit{object-fit:contain;padding:14%;box-sizing:border-box;border-radius:0}
html[data-look="night"] .cue .av.pic,html[data-look="night"] .cue details.acct>summary .av.pic,html[data-look="night"] .cue .app .av.pic{background:#fff}
