/* Client portal: the client screens (step 4), from the walk 4 mock-up (artifacts/portal-mockup.src.html).
   Brand tokens and the red three-square detail follow the LinkedIn banner of 08/10/2026. Mobile first:
   checked at 390 px and 1440 px with no sideways scroll. */
@font-face{font-family:"Poppins";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/poppins-400.woff2) format("woff2")}
@font-face{font-family:"Poppins";font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/poppins-500.woff2) format("woff2")}
@font-face{font-family:"Poppins";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/poppins-600.woff2) format("woff2")}
@font-face{font-family:"Poppins";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/poppins-700.woff2) format("woff2")}
/* Atkinson Hyperlegible Next (SIL OFL, fonts/OFL-atkinson-hyperlegible-next.txt): the reading face since step 6d */
@font-face{font-family:"Atkinson Hyperlegible Next";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/atkinson-next-400.woff2) format("woff2")}
@font-face{font-family:"Atkinson Hyperlegible Next";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/atkinson-next-700.woff2) format("woff2")}
:root{
  color-scheme:light;
  --ink:#152A43;--ink-soft:#33475C;--muted:#5E7183;--faint:#5E7183;  /* step 6d: faint text failed contrast, so it is the muted grey now */
  --ground:#EEF1F4;--surface:#FFFFFF;--surface-2:#F1F4F7;
  --border:#D7E2E6;--border-strong:#7D8F9C;--border-mid:#BFD3E6;  /* strong: inputs, radios, ticks (3.3:1); mid: decoration */
  --placeholder:#647684;--coral-text:#B5483F;--step-now:#3D6894;--soft:#F4F7F8;--hair:#DCE5E9;
  --blue:#3D6894;--blue-dark:#24476E;--blue-tint:#E6EEF7;--blue-mid:#3D6894;--blue-pale:#A9C1DA;
  --coral:#E26F66;--coral-light:#E8A397;--red:#C93939;--pink:#FCEEEC;--pink-border:#F5D9D4;
  --band:#F3F4F6;--band-line:#E2E5E9;
  --green:#1F7A55;--green-bg:#E7F6EE;--green-line:#BFE6D1;--green-ink:#1F5E43;
  --amber-bg:#FFF7EC;--amber-line:#F3DFBF;--amber-ink:#6B4E1E;
  --shadow:0 1px 2px rgba(21,42,67,.05),0 8px 24px rgba(21,42,67,.07);
  --shadow-lg:0 12px 40px rgba(21,42,67,.16);
  --r:12px;--r-sm:9px;
  --sans:"Poppins","Segoe UI",system-ui,-apple-system,Arial,sans-serif;
  --read:"Atkinson Hyperlegible Next","Segoe UI",system-ui,-apple-system,Arial,sans-serif;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:var(--read);color:var(--ink);background:var(--ground);line-height:1.5;-webkit-font-smoothing:antialiased;font-size:16px;overflow-x:hidden}
/* Poppins stays on headings, the top bar and buttons (step 6d) */
h1,h2,h3,h4,h5,.btn,.cta,.topbar,.tbtn,.signout,.sw,.staff-badge{font-family:var(--sans)}
body.modal-open{overflow:hidden}
button{font:inherit;color:inherit}
a{color:var(--blue)}
[hidden]{display:none!important}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.loading{max-width:1140px;margin:0 auto;padding:60px 16px;color:var(--muted)}

/* the three-square mark: dark red, coral, pale coral */
.sq3{display:inline-flex;gap:3px;vertical-align:middle;flex:none}
.sq3 i{width:9px;height:9px;border-radius:2px;display:block;background:#C93939}
.sq3 i:nth-child(2){background:#E26F66}
.sq3 i:nth-child(3){background:#E8A397}

/* top bar */
.topbar{position:sticky;top:0;z-index:30;background:var(--ink)}
.topbar-in{max-width:1140px;margin:0 auto;padding:12px 24px;display:flex;align-items:center;gap:16px}
.wordmark{height:26px;width:auto;display:block;flex:none}
.tb-space{flex:1;min-width:0}
.who{display:flex;align-items:center;gap:10px;flex:none;min-width:0}
.who .nm{display:flex;flex-direction:column;line-height:1.2;text-align:right;min-width:0}
.who .nm small{color:var(--blue-pale);font-size:11px;font-weight:500}
.who .nm b{color:#fff;font-size:13px;font-weight:600}
.cmark{width:36px;height:36px;border-radius:50%;display:block;flex:none;background:#fff;box-shadow:0 0 0 2px rgba(255,255,255,.18);object-fit:contain}
.avatar{width:34px;height:34px;border-radius:50%;background:linear-gradient(150deg,var(--blue-mid),var(--blue));color:#fff;display:grid;place-items:center;font-weight:700;font-size:14px;flex:none}
.akmark{width:30px;height:31px;display:block;flex:none}
.staff-badge{background:var(--coral);color:#fff;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;border-radius:6px;padding:4px 9px;white-space:nowrap;flex:none}

.wrap{max-width:1140px;margin:0 auto;padding:28px 24px 40px}
.eyebrow{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--coral-text);font-weight:700;margin:0 0 8px;display:flex;align-items:center;gap:10px}
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r);box-shadow:var(--shadow);padding:22px 24px;min-width:0}
.card h2{font-size:16px;margin:0 0 4px;font-weight:600;letter-spacing:-.01em}
.card .sub{color:var(--muted);font-size:15px;margin:0 0 14px}
.card-h{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap;margin-bottom:14px}
.card-h h2{display:flex;align-items:center;gap:10px}
.lbl{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--faint);font-weight:600}
.btn{font-weight:600;font-size:14.5px;border-radius:10px;padding:11px 20px;cursor:pointer;border:1.5px solid transparent;transition:.15s;display:inline-flex;align-items:center;gap:8px;justify-content:center;text-decoration:none}
.btn-primary{background:var(--ink);color:#fff;border-color:var(--ink);box-shadow:0 5px 14px rgba(21,42,67,.25)}
.btn-primary:hover{background:var(--blue);border-color:var(--blue)}
.btn-primary[disabled]{opacity:.5;cursor:default}
.btn-ghost{background:var(--surface);color:var(--ink-soft);border-color:var(--border-strong)}
.btn-ghost:hover{background:var(--surface-2)}
.linkbtn{background:none;border:0;color:var(--blue);font-weight:700;font-size:14px;cursor:pointer;padding:4px 0}
.linkbtn:hover{text-decoration:underline}
.saves{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--muted);margin:0}
.saves svg{flex:none;width:16px;height:16px;color:var(--blue)}
.stack{display:flex;flex-direction:column;gap:20px;margin-top:20px}
.duo{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:20px}
.privacy{max-width:1140px;margin:0 auto;padding:6px 24px 30px;font-size:14px;color:var(--ink-soft);text-align:center}
.privacy a{color:var(--blue-dark)}

/* welcome */
.hero{background:linear-gradient(158deg,#1E3A5A,#132539);border-radius:var(--r);color:#fff;padding:30px 32px;position:relative;overflow:hidden;box-shadow:var(--shadow);display:flex;gap:28px;align-items:center}
.hero::after{content:"";position:absolute;right:-60px;top:-70px;width:280px;height:280px;border-radius:48px;background:var(--blue-pale);opacity:.09;transform:rotate(16deg);pointer-events:none}
.hero .hero-txt{flex:1;min-width:0;position:relative;z-index:1}
.hero .eyebrow{color:var(--blue-pale)}
.hero h1{margin:0 0 10px;font-size:27px;letter-spacing:-.02em;line-height:1.2;text-wrap:balance}
.hero p.wel{margin:0;color:rgba(255,255,255,.9);font-size:16px;max-width:60ch}
.hero .clogo{flex:none;position:relative;z-index:1;width:300px;max-width:38%;background:#fff;border-radius:12px;padding:14px 18px;box-shadow:0 6px 20px rgba(0,0,0,.18)}
.hero .clogo img{width:100%;height:auto;display:block}

/* the six phases, each opening to its detail (walk 4 point 1) */
.phases{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}
.phases li{min-width:0;position:relative}
.phases li::before{content:"";position:absolute;top:13px;left:-50%;right:50%;height:3px;background:var(--border)}
.phases li:first-child::before{display:none}
.ph{display:flex;flex-direction:column;align-items:center;gap:6px;width:100%;background:none;border:0;padding:0 4px 8px;cursor:pointer;text-align:center;border-radius:10px;position:relative}
.ph .d{width:29px;height:29px;border-radius:50%;background:var(--surface);border:2px solid var(--border-mid);display:grid;place-items:center;font-size:12px;font-weight:700;color:var(--faint);z-index:1;flex:none}
.ph .d svg{width:13px;height:13px}
.ph .pn{font-size:14px;font-weight:500;color:var(--ink-soft);line-height:1.3}
.ph .ps{font-size:14px;color:var(--muted);line-height:1.35}
/* the "you are here" pointer, brand red so it is clearly visible (Jordan 08/10/2026) */
.ph:hover .pn{color:var(--ink)}
.ph:focus-visible{outline:2px solid var(--blue-mid);outline-offset:2px}
.phases li.done .d{background:var(--ink);border-color:var(--ink);color:#fff}
.phases li.done::before,.phases li.now::before{background:var(--ink)}
.phases li.now .d{border-color:var(--step-now);background:var(--step-now);color:#fff;box-shadow:0 0 0 4px rgba(61,104,148,.2)}  /* secondary blue, used sparingly (Jordan 08/10/2026: less red) */
.phases li.now .pn{color:var(--ink);font-weight:700}
/* a small soft notch joining the open phase to its detail: panel colour, rounded tip (Jordan 08/10/2026: the red square was too loud) */
.ph[aria-expanded="true"]::after{content:"";position:absolute;left:50%;bottom:-16px;width:11px;height:11px;background:var(--surface-2);border-left:1px solid var(--border);border-top:1px solid var(--border);border-top-left-radius:3px;transform:translateX(-50%) rotate(45deg);z-index:2}
.phase-detail{margin-top:10px;background:var(--surface-2);border:1px solid var(--border);border-radius:12px;padding:16px 18px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 28px}
.phase-detail h3{grid-column:1/-1;margin:0;font-size:16px;font-weight:600;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.phase-detail .pdx{font-size:15px;color:var(--ink-soft)}
.phase-detail .pdx p{margin:0 0 8px}
.phase-detail h4{font-size:14px;color:var(--muted);font-weight:600;margin:4px 0 8px}
/* the steps as a timeline: one line joins the circles; a done step is a green tick, the current one red */
ol.steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
ol.steps li{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:10px;align-items:center;font-size:14.5px;color:var(--ink-soft);position:relative;min-height:22px}
ol.steps li:not(:last-child)::before{content:"";position:absolute;left:10px;top:50%;width:2px;height:calc(100% + 10px);background:var(--border-mid)}
ol.steps li.done:not(:last-child)::before{background:var(--green-line)}
ol.steps .sd{width:20px;height:20px;border-radius:50%;border:2px solid var(--border-mid);background:#fff;justify-self:center;display:grid;place-items:center;position:relative;z-index:1;box-sizing:border-box;color:#fff}
ol.steps .sd svg{width:11px;height:11px;display:block}
ol.steps li.done .sd{background:var(--green);border-color:var(--green)}
ol.steps li.done{color:var(--muted)}
ol.steps li.now{color:var(--ink);font-weight:600}
ol.steps li.now .sd{background:var(--step-now);border-color:var(--step-now);box-shadow:0 0 0 3px rgba(61,104,148,.2)}
ol.steps .dt{font-size:14px;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:400}
/* the launch line */
.due{display:flex;align-items:flex-start;gap:12px;margin:18px 0 0;padding:12px 16px;border-radius:10px;background:rgba(21,42,67,.04);border:1px solid rgba(21,42,67,.10);font-size:14.5px;color:var(--ink);line-height:1.5}
.due svg{width:22px;height:22px;color:var(--ink-soft);flex:none;margin-top:1px}
.due b{color:var(--ink);font-weight:600}

/* progress */
.progress{display:flex;flex-direction:column;gap:7px;width:280px;max-width:100%}
.progress b{font-size:15px}
.bar{height:8px;border-radius:99px;background:var(--surface-2);border:1px solid var(--border);overflow:hidden;width:100%}
.bar i{display:block;height:100%;background:var(--blue);border-radius:99px;transition:width .3s}


/* Drive card, on a neutral background (walk 4 point 2) */
.drive-big{display:flex;align-items:center;gap:16px;width:100%;height:100%;text-align:left;background:linear-gradient(135deg,rgba(232,163,151,.18),rgba(244,201,195,.10)),var(--surface);color:var(--ink);border:1px solid rgba(226,111,102,.22);border-radius:var(--r);padding:20px 22px;cursor:pointer;box-shadow:var(--shadow);transition:.15s;text-decoration:none}
.drive-big:hover{border-color:rgba(226,111,102,.45)}
.drive-big .ic{width:48px;height:48px;border-radius:12px;background:#fff;border:1px solid rgba(226,111,102,.25);color:var(--red);display:grid;place-items:center;flex:none}
.drive-big .ic svg{width:26px;height:26px}
.drive-big b{display:block;font-size:16.5px;font-weight:600;line-height:1.3;color:var(--ink)}
.drive-big span{font-size:14.5px;color:var(--muted)}
.drive-big .arr{margin-left:auto;font-size:20px;flex:none;color:var(--red)}
.devsite{display:flex;gap:14px;align-items:flex-start;padding:16px;border:1.5px dashed var(--border-mid);border-radius:var(--r-sm);background:var(--surface-2);color:var(--muted);font-size:14.5px}
.devsite svg{width:26px;height:26px;color:var(--faint);flex:none}
.help-in{display:flex;gap:24px;flex-wrap:wrap;justify-content:space-between;align-items:center}
.help{display:flex;flex-direction:column;gap:9px;font-size:15px;min-width:0;flex:1 1 280px;max-width:520px}
.help .row{display:flex;gap:10px;align-items:flex-start}
.help .row svg{width:18px;height:18px;color:var(--blue);flex:none;margin-top:1px}
.help a{word-break:break-all;color:var(--ink);font-weight:600;text-decoration:none}
.help a:hover{text-decoration:underline}
.help a b{font-weight:inherit}
.help .hrs{display:block;font-size:14px;color:var(--muted);margin:-6px 0 0 28px}

/* status marks: a tick once checked (the coral dot became words on the cards, step 6d) */
.mk{width:20px;height:20px;flex:none;display:grid;place-items:center}
.mk.done{border-radius:50%;background:var(--green);color:#fff}
.mk.done svg{width:12px;height:12px}

/* the project brief: cards three to a row (two on a tablet, one on a phone) */
.group{margin-top:18px}
.group-h{display:flex;align-items:baseline;gap:10px;margin:0 0 10px;flex-wrap:wrap}
.group-h h3{font-size:15px;margin:0;font-weight:600}
.group-h span{color:var(--muted);font-size:15px}
.sgrid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.sgrid>li{min-width:0;display:flex}
.scard{display:flex;align-items:flex-start;gap:12px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r);padding:14px;min-width:0;width:100%;text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.scard:hover{border-color:var(--blue-pale);box-shadow:var(--shadow)}
.scard:focus-visible{outline:2px solid var(--blue-mid);outline-offset:2px}
.ti{width:44px;height:44px;border-radius:12px;background:var(--surface-2);border:1px solid var(--border);display:grid;place-items:center;flex:none;color:var(--ink)}
.ti svg{width:26px;height:26px}
.scard .tt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;padding-top:1px}
.scard .tt b{font-size:16px;font-family:var(--sans);font-weight:600;line-height:1.3}
.scard .tt .sm{color:var(--muted);font-size:14.5px;line-height:1.4}
.scard.is-done{background:#FBFDFD}
.scard.is-hidden{opacity:.65;background:repeating-linear-gradient(135deg,#fff,#fff 10px,#F6F8F9 10px,#F6F8F9 20px)}
.hidtag{align-self:flex-start;font-size:12px;font-weight:600;color:var(--muted);background:#fff;border:1px solid var(--border);border-radius:6px;padding:1px 7px;margin-top:4px}
.brief-foot{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-top:16px;padding-top:14px;border-top:1px solid var(--border)}

/* the pop-up (a tile). Step 6d, 09/10/2026 (artifacts/tile-redesign.html): the gist and key points
   first, then the asks, then the folded detail; red only for the needs-you dot and count; the reading
   face is Atkinson Hyperlegible Next, Poppins on headings and buttons. Phone first; from 1024 px the
   pop-up widens and splits: reading on the left, "Over to you" on the right, each scrolling on its own. */
.ov{position:fixed;inset:0;z-index:80;background:rgba(14,29,48,.55);display:flex;align-items:flex-start;justify-content:center;padding:40px 24px;overflow:auto;animation:fadeIn .15s ease-out}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes rise{from{transform:translateY(14px);opacity:.4}to{transform:none;opacity:1}}
.pop{background:var(--surface);border-radius:16px;box-shadow:0 24px 70px rgba(14,29,48,.35);width:100%;max-width:720px;display:flex;flex-direction:column;max-height:calc(100vh - 80px);overflow:hidden;animation:rise .18s ease-out;font-size:17px;line-height:1.5}
.pop:focus{outline:none}
.pop-hd{display:flex;align-items:center;gap:14px;padding:16px 20px 14px 22px;border-bottom:1px solid var(--hair);flex:none}
.pop-hd .ti{width:46px;height:46px;background:var(--soft);border:0}
.pop-hd .ti svg{width:26px;height:26px}
.pop-hd .tt{flex:1;min-width:0}
.pop-hd h2{margin:0;font-size:21px;font-weight:600;letter-spacing:-.015em;line-height:1.2}
.pop-need{display:flex;align-items:center;gap:8px;font-size:15px;color:var(--ink-soft);margin:3px 0 0}
.pop-need i{width:9px;height:9px;border-radius:50%;background:var(--red);flex:none}
.pop-need.ok i{background:var(--green)}
.pop-need.look i{background:var(--blue)}
.pop-step{font-size:14px;color:var(--muted);white-space:nowrap;flex:none}
.x{width:44px;height:44px;border-radius:10px;border:1px solid var(--hair);background:var(--surface);cursor:pointer;display:grid;place-items:center;flex:none;color:var(--ink-soft)}
.x:hover{background:var(--surface-2)}
.x:focus-visible{outline:3px solid var(--step-now);outline-offset:2px}
.x svg{width:18px;height:18px}
.pop-bd{overflow:auto;flex:1;overscroll-behavior:contain}
.pop-read{padding:18px 22px 6px}
.pop-ask{padding:6px 22px 18px}
.staffnote{font-size:14px;color:var(--amber-ink);background:var(--amber-bg);border:1px solid var(--amber-line);border-radius:9px;padding:8px 12px;margin:0 0 14px}
/* the gist, key points and folds */
.gist{font-size:1.06em;line-height:1.5;margin:0 0 14px;color:var(--ink)}
.found{color:var(--ink);line-height:1.55}
.found p{margin:0 0 12px}
.found h5{font-size:16px;margin:14px 0 6px;font-weight:600}
ul.plist{margin:0 0 14px;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
ul.plist li{color:var(--ink-soft);line-height:1.5;padding-left:22px;position:relative}
ul.plist li::before{content:"";position:absolute;left:4px;top:.55em;width:8px;height:8px;border-radius:50%;background:var(--blue)}
ul.plist li b{color:var(--ink);font-weight:700}
ul.plist ul.plist{margin:8px 0 0}
ul.plist ul.plist li::before{background:none;border:1.5px solid var(--blue);width:7px;height:7px}
/* a sitemap: a plain indented list */
ul.tree{list-style:none;margin:4px 0 12px;padding:0}
ul.tree li{padding:3px 0}
ul.tree li b{font-weight:700;color:var(--ink)}
ul.tree ul{list-style:none;margin:4px 0 2px 7px;padding:0 0 0 18px;border-left:2px solid var(--border)}
ul.tree ul li{position:relative}
ul.tree ul li::before{content:"";position:absolute;left:-18px;top:16px;width:12px;border-top:2px solid var(--border)}
.tblwrap{overflow-x:auto;margin:6px 0 12px;-webkit-overflow-scrolling:touch;max-width:100%}
table.kwt{width:100%;border-collapse:collapse;font-size:15px}
.kwt th{text-align:left;font-size:14px;color:var(--muted);font-weight:700;padding:6px 8px;border-bottom:2px solid var(--border)}
.kwt td{padding:7px 8px;border-bottom:1px solid var(--border);color:var(--ink-soft)}
.folds{margin:4px 0 8px}
/* a fold at the end of the research runs straight on into the Why row: one rule between them, not two */
.found>.folds:last-child{margin-bottom:0}
.found>.folds:last-child>.fold:last-child{border-bottom:0}
.found:has(>.folds:last-child)+.folds{margin-top:0}
.fold.more{border-top:0}
.fold.more>summary{color:var(--blue);min-height:44px;padding-top:2px}
.fold{border-top:1px solid var(--hair)}
.folds>.fold:last-child{border-bottom:1px solid var(--hair)}
.fold>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;min-height:48px;font-weight:700;color:var(--ink)}
.fold>summary::-webkit-details-marker{display:none}
.fold>summary:focus-visible{outline:3px solid var(--step-now);outline-offset:2px;border-radius:4px}
.fold-t{min-width:0}
.fold-n{font-weight:400;color:var(--muted)}
.fold .chev{width:20px;height:20px;flex:none;color:var(--blue);transition:transform .15s}
.fold[open]>summary .chev{transform:rotate(180deg)}
.fold-b{padding:0 0 14px}
.fold-b>:last-child,.fold-b>.found>:last-child{margin-bottom:0}
.fold.why .fold-b p{color:var(--ink-soft)}
.fold.why .fold-b p b{color:var(--ink)}
/* Over to you */
.over{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:22px 0 12px;flex-wrap:wrap}
.over h3{font-size:18px;font-weight:600;margin:0;letter-spacing:-.01em}
.over .cnt{font-size:14px;color:var(--muted)}
.recnote{font-size:15px;color:var(--ink-soft);margin:-4px 0 12px}
.need{margin:0 0 14px;color:var(--ink-soft)}
.need p{margin:0 0 8px}
.note-flag{padding:10px 12px;border-radius:10px;background:var(--soft);border-left:4px solid var(--blue);color:var(--ink-soft);font-size:15px;margin:0 0 14px;line-height:1.55}
.ask{background:var(--soft);border-radius:14px;padding:16px;margin:0 0 12px}
.ask .qn{font-size:14px;color:var(--muted);margin:0 0 4px}
.ask .q{font-weight:700;margin:0 0 4px;line-height:1.35;color:var(--ink)}
.ask .qsub{font-size:15px;color:var(--ink-soft);margin:0 0 10px}
input[type=text],input[type=email],textarea{width:100%;font:inherit;font-size:16px;color:var(--ink);border:1.5px solid var(--border-strong);border-radius:10px;padding:11px 12px;background:var(--surface);transition:.15s}
textarea{min-height:84px;resize:vertical;line-height:1.5}
input:focus,textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(61,104,148,.25)}
::placeholder{color:var(--placeholder)}
.choices{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}
.choices.stacked{flex-direction:column;align-items:stretch}
.choice{font-size:16px;border:1.5px solid var(--border-strong);background:var(--surface);color:var(--ink);border-radius:10px;padding:11px 14px;min-height:48px;cursor:pointer;transition:.15s;display:inline-flex;align-items:center;gap:12px;text-align:left;min-width:0;max-width:100%}
.choice:hover{border-color:var(--blue)}
.choice:focus-visible{outline:3px solid var(--step-now);outline-offset:2px}
.choice.on{border-color:var(--blue);background:var(--blue-tint);font-weight:700}
.choice .bx{width:20px;height:20px;border-radius:5px;border:2px solid var(--border-strong);display:grid;place-items:center;flex:none;color:transparent;background:#fff}
.choice .bx svg{width:12px;height:12px}
.choice.radio .bx{border-radius:50%}
.choice.radio .bx svg{display:none}
.choice.radio.on .bx{background:#fff;border-color:var(--blue)}
.choice.radio.on .bx::after{content:"";width:10px;height:10px;border-radius:50%;background:var(--blue)}
.choice.on:not(.radio) .bx{background:var(--blue);border-color:var(--blue);color:#fff}
.choice .cl{min-width:0;overflow-wrap:anywhere}
/* the Recommended tag drops under a long choice instead of squeezing it */
.choice:has(.rec){flex-wrap:wrap;row-gap:6px}
.choice:has(.rec) .cl{flex:1 1 9em}
.rec{display:inline-flex;align-items:center;font-size:14px;font-weight:700;color:var(--blue-dark);border:1px solid var(--blue);border-radius:6px;padding:0 6px;white-space:nowrap;line-height:1.6;margin-left:auto}
.addlbl{font-size:15px;font-weight:700;color:var(--ink-soft);margin:12px 0 5px}
.addrow{display:flex;gap:8px;align-items:center}
.addrow input{flex:1;min-width:0;margin:0}
.addplus{width:46px;height:46px;border-radius:10px;border:1.5px solid var(--blue);background:var(--blue-tint);color:var(--blue-dark);font-size:22px;font-weight:500;cursor:pointer;display:grid;place-items:center;flex:none;padding:0;line-height:1;font-family:inherit}
.addplus:hover{background:var(--blue);color:#fff}
ul.listed{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}
ul.listed li{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--border);border-radius:9px;padding:7px 8px 7px 12px;font-size:16px;min-width:0}
ul.listed li span{flex:1;min-width:0;overflow-wrap:anywhere}
.rm{width:36px;height:36px;border-radius:7px;border:1px solid transparent;background:none;color:var(--muted);cursor:pointer;display:grid;place-items:center;padding:0;flex:none}
.rm:hover{color:var(--ink);border-color:var(--border);background:var(--surface-2)}
.rm svg{width:16px;height:16px}
.drivebtn{display:flex;align-items:center;gap:10px;font-weight:700;color:var(--blue-dark);background:#fff;border:1.5px solid var(--blue);border-radius:10px;padding:11px 14px;min-height:48px;cursor:pointer;text-decoration:none;max-width:100%}
.drivebtn:hover{background:var(--blue-tint)}
.drivebtn svg{width:20px;height:20px;flex:none}
.drivebtns{display:flex;flex-direction:column;gap:8px;margin:4px 0 6px}
.securenote{font-size:14px;color:var(--muted);margin:0 0 14px}
/* "Saved" against each answer */
.stamp{display:flex;align-items:center;gap:7px;font-size:14px;color:var(--muted);margin-top:8px;min-height:20px}
.stamp:empty{display:none}
.stamp .tk{width:16px;height:16px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;flex:none}
.stamp .tk svg{width:10px;height:10px}
.stamp.saving .tk{background:var(--border-mid)}
.stamp.err{color:var(--red);align-items:flex-start}
.stamp.err .tk{background:var(--red);margin-top:2px}
/* the character counter near the 20,000 limit (risk analysis R13) */
.count{font-size:14px;color:var(--muted);margin:6px 0 0;text-align:right}
.count.over{color:var(--red);font-weight:700;text-align:left}
/* someone else changed this answer meanwhile: the choice (R9, R10) */
.clash{margin:10px 0 0;padding:12px 14px;border:1.5px solid var(--amber-line);background:var(--amber-bg);border-radius:var(--r-sm);font-size:15px;color:var(--amber-ink)}
.clash-h{margin:0 0 8px}
.clash-h b{font-weight:700;color:var(--ink)}
.clash-v{background:#fff;border:1px solid var(--amber-line);border-radius:7px;padding:8px 10px}
.clash-v small{display:block;font-size:14px;font-weight:700;color:var(--amber-ink);margin-bottom:2px}
.clash-t{white-space:pre-wrap;word-break:break-word;color:var(--ink);max-height:9.5em;overflow:auto}
.clash-y{margin:8px 0 10px}
.clash-b{display:flex;flex-wrap:wrap;gap:8px}
.clash-b .btn{padding:8px 16px;font-size:14px}
/* an answer akoca typed in for the client: shown to staff and client alike */
.byak{display:inline-block;font-size:14px;font-weight:700;color:var(--blue-dark);background:var(--blue-tint);border-radius:5px;padding:0 6px;margin-left:4px;white-space:nowrap;vertical-align:1px}
.history{margin:6px 0 0;padding:6px 10px;border-left:3px solid var(--amber-line);background:#fff;font-size:14px;color:var(--muted);border-radius:0 6px 6px 0}
.history b{color:var(--amber-ink);font-weight:700}
.history ol{margin:4px 0 0;padding-left:18px}
.history s{color:var(--muted)}
/* the notes: one line until opened, and open when there is a note */
.fb{margin:6px 0 4px}
.addnote{display:flex;align-items:center;gap:8px;min-height:48px;padding:10px 0;background:none;border:0;color:var(--blue);font-weight:700;font-size:16px;cursor:pointer;text-align:left}
.addnote:hover{text-decoration:underline}
.addnote:focus-visible{outline:3px solid var(--step-now);outline-offset:2px;border-radius:4px}
.nbox{background:var(--soft);border-radius:14px;padding:16px;margin:6px 0 0}
.nbox label{display:block;font-weight:700;margin:0 0 4px}
.nbox .qsub{font-size:15px;color:var(--ink-soft);margin:0 0 10px}
/* the footer: the confirm button ("Looks right, mark as checked") and the next-section link */
.pop-ft{display:flex;flex-direction:column;gap:6px;padding:12px 16px 12px;border-top:1px solid var(--hair);background:var(--surface);flex:none}
.cta{font-size:16px;font-weight:600;border-radius:12px;border:0;padding:13px 18px;min-height:50px;background:var(--ink);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;box-shadow:0 5px 14px rgba(21,42,67,.22)}
.cta:hover{background:var(--blue)}
.cta:focus-visible{outline:3px solid var(--step-now);outline-offset:3px}
.cta[disabled]{opacity:.55;cursor:default}
.ft-row{display:flex;justify-content:space-between;align-items:center;gap:12px;min-width:0}
.pop-hint{margin:0;font-size:14px;color:var(--muted);min-width:0}
.pop-hint .hint-d{display:none}
.nextlink{font-size:15px;padding:6px 0;white-space:nowrap;flex:none;max-width:60%;overflow:hidden;text-overflow:ellipsis}
.nextlink .sk-d{display:none}
.nextlink:focus-visible{outline:3px solid var(--step-now);outline-offset:2px;border-radius:4px}
.confirmed{display:flex;gap:12px;align-items:center;color:var(--green-ink);background:var(--green-bg);border:1px solid var(--green-line);border-radius:12px;padding:8px 14px;min-height:50px}
.confirmed .tk{width:28px;height:28px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;flex:none}
.confirmed .tk svg{width:15px;height:15px}
.confirmed .cf-t{flex:1;min-width:0}
.confirmed b{display:block;font-size:16px;font-weight:700}
.confirmed small{display:block;font-size:14px;color:var(--green-ink)}
.confirmed .linkbtn{color:var(--green-ink);font-size:15px;padding:6px 2px;flex:none;text-decoration:underline}
.confirmed .linkbtn:focus-visible{outline:3px solid var(--step-now);outline-offset:2px}
/* the brief's cards say the state in words (step 6d point 10) */
.st-chip{align-self:flex-start;display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:700;border-radius:99px;padding:3px 11px;margin-top:8px;white-space:nowrap}
.st-chip i{width:8px;height:8px;border-radius:50%;background:var(--red);flex:none}
.st-chip.need{background:var(--pink);color:#A3302A}
.st-chip.look{background:var(--surface-2);color:var(--ink-soft)}
.st-chip.ok{background:var(--green-bg);color:var(--green-ink)}
.st-chip svg{width:13px;height:13px}
@media (min-width:1024px){
  .ov{padding:28px 24px}
  .pop{max-width:1040px;width:min(1040px,100%);height:min(860px,calc(100vh - 56px));max-height:none}
  .pop-hd{padding:16px 22px}
  .pop-hd .tt{display:flex;align-items:baseline;gap:4px 16px;flex-wrap:wrap}
  .pop-hd h2{font-size:22px}
  .pop-need{margin:0}
  .pop-bd{display:grid;grid-template-columns:minmax(0,1fr) 400px;overflow:hidden}
  .pop-read{overflow-y:auto;overscroll-behavior:contain;padding:24px 32px 24px 26px}
  .pop-read>*{max-width:65ch}
  .pop-ask{overflow-y:auto;overscroll-behavior:contain;background:var(--soft);border-left:1px solid var(--hair);padding:6px 22px 20px}
  .pop-ask .over{margin-top:18px}
  .pop-ask .ask,.pop-ask .nbox{background:#fff;border:1px solid var(--hair)}
  .pop-ask .note-flag{background:#fff}
  .pop-ft{flex-direction:row;align-items:center;gap:16px;padding:12px 22px}
  .pop-ft .ft-row{flex:1;min-width:0;gap:16px}
  .pop-ft .nextlink{order:-1;max-width:50%}
  .nextlink .sk-d{display:inline}
  .nextlink .sk-m{display:none}
  .pop-hint{flex:1;text-align:right}
  .pop-hint .hint-d{display:inline}
  .pop-ft .cta,.pop-ft .confirmed{width:auto;min-width:300px;flex:none;order:2}
}
@media (prefers-reduced-motion:reduce){
  .ov,.pop{animation:none}
  .fold .chev,.toast,.bar i,.choice,.scard{transition:none}
}

/* sign-in (step 4b), the walk 4 mock-up's login stop */
.login{min-height:100vh;display:grid;place-items:center;padding:32px 16px;background:linear-gradient(158deg,#1E3A5A,#132539);position:relative;overflow:hidden}
.login::after{content:"";position:absolute;right:-90px;bottom:-110px;width:420px;height:420px;border-radius:64px;background:var(--blue-pale);opacity:.08;transform:rotate(14deg);pointer-events:none}
.login::before{content:"";position:absolute;right:120px;bottom:-40px;width:260px;height:260px;border-radius:44px;background:var(--coral);opacity:.08;transform:rotate(-8deg);pointer-events:none}
.login-in{width:100%;max-width:420px;position:relative;z-index:1}
.login .wordmark{height:30px;margin:0 auto 14px}
.addr{display:flex;align-items:center;gap:7px;justify-content:center;color:rgba(255,255,255,.75);font-size:12.5px;margin:0 0 18px;word-break:break-all;text-align:center}
.addr svg{width:14px;height:14px;flex:none}
.login-card{background:var(--surface);border-radius:16px;box-shadow:var(--shadow-lg);padding:30px 30px 26px}
.login-card h1{font-size:22px;margin:0 0 6px;letter-spacing:-.02em;line-height:1.25}
.login-card p{color:var(--muted);margin:0 0 18px;font-size:14px}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.field label,.login-card .clbl{font-size:12.5px;font-weight:600;color:var(--ink-soft)}
.login-card .clbl{display:block;margin-bottom:6px}
.code{display:flex;gap:8px;justify-content:space-between;margin:4px 0 16px}
.code input{width:100%;min-width:0;text-align:center;font-size:22px;font-weight:600;padding:10px 0;border:1.5px solid var(--border-strong);border-radius:10px;font-family:inherit;color:var(--ink)}
.code input:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(61,104,148,.18)}
.login-card .btn{width:100%}
.login-card .more{margin:14px 0 0;font-size:13px;text-align:center;color:var(--muted)}
.login-card .spamtip{margin:-4px 0 14px;font-size:13px}
.sentto{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--r-sm);padding:10px 13px;font-size:13px;color:var(--ink-soft);margin-bottom:14px;word-break:break-word}
.signerr{background:var(--pink);border:1px solid var(--pink-border);color:#8A2424;border-radius:var(--r-sm);padding:9px 12px;font-size:13px;margin:0 0 14px}
.tostaff h1{margin:0 0 8px}
.tostaff p{margin:0 0 18px;color:var(--muted)}
.tostaff .btn{width:100%;justify-content:center;text-decoration:none}
.login-foot{color:rgba(255,255,255,.62);font-size:12px;text-align:center;margin:18px 6px 0;line-height:1.55}
.login-foot a{color:rgba(255,255,255,.75)}
.signout{background:none;border:1px solid rgba(255,255,255,.28);color:#fff;border-radius:8px;font-size:12px;font-weight:500;padding:5px 10px;cursor:pointer;flex:none}
.signout:hover{background:rgba(255,255,255,.1)}

/* the name step (walk 2 point 4) */
.namestep{min-height:100vh;display:grid;place-items:center;padding:32px 16px;background:linear-gradient(158deg,#1E3A5A,#132539)}
.namestep-in{width:100%;max-width:420px}
.namestep .wordmark{height:30px;margin:0 auto 22px}
.namecard{background:var(--surface);border-radius:16px;box-shadow:var(--shadow-lg);padding:30px 30px 26px}
.namecard h1{font-size:22px;margin:0 0 6px;letter-spacing:-.02em;line-height:1.25}
.namecard p{color:var(--muted);margin:0 0 18px;font-size:14px}
.namecard label{display:block;font-size:12.5px;font-weight:600;color:var(--ink-soft);margin:0 0 6px}
.namecard input{margin-bottom:14px}
.namecard .btn{width:100%}
.namefoot{color:rgba(255,255,255,.62);font-size:12px;text-align:center;margin:18px 6px 0;line-height:1.55}

/* toast */
.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(20px);opacity:0;pointer-events:none;background:var(--ink);color:#fff;padding:11px 18px;border-radius:12px;font-size:13.5px;font-weight:500;box-shadow:var(--shadow-lg);transition:.3s;z-index:120;max-width:calc(100vw - 32px);text-align:center}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}

@media (max-width:1023.98px){
  .sgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  .duo{grid-template-columns:1fr}
  /* the phases become a list: dot, phase, line */
  .phases{grid-template-columns:1fr}
  .phases li::before,.phases li:first-child::before{display:block;top:30px;bottom:-4px;left:14px;right:auto;width:3px;height:auto}
  .phases li:last-child::before{display:none}
  .phases li.now::before{background:var(--border)}
  .ph{flex-direction:row;align-items:center;text-align:left;gap:12px;padding:3px 6px 9px 0}
  .ph .tx{display:flex;flex-direction:column;min-width:0}
  .ph[aria-expanded="true"]{background:linear-gradient(90deg,var(--blue-tint),rgba(230,238,247,0))}
  .ph[aria-expanded="true"]::after{display:none}
  .phase-detail{grid-template-columns:1fr;margin:2px 0 12px 0}
}
@media (min-width:901px){
  .ph .tx{display:flex;flex-direction:column;align-items:center;gap:2px}
}
@media (max-width:640px){
  .topbar-in{padding:10px 16px;gap:10px}
  .wordmark{height:22px}
  .who .nm{display:none}
  .cmark{width:32px;height:32px}
  .wrap{padding:18px 16px 32px}
  .hero{padding:22px 20px;flex-direction:column-reverse;align-items:flex-start;gap:16px}
  .hero h1{font-size:23px}
  .hero .clogo{width:230px;max-width:80%;padding:10px 14px}
  .card{padding:18px 16px}
  .card-h .progress{width:100%}
  .due{font-size:13.5px;padding:10px 12px}
  .sgrid{grid-template-columns:1fr;gap:8px}
  .scard{padding:12px}
  .scard .ti{width:40px;height:40px}
  .scard .ti svg{width:23px;height:23px}
  .drive-big{padding:16px}
  .drive-big b{font-size:15px}
  .namecard{padding:24px 20px 22px}
  .login-card{padding:24px 20px 22px}
  .code{gap:6px}
  .code input{font-size:20px}
  .privacy{padding:6px 16px 30px}
  /* the pop-up becomes a full-screen sheet: 17 px reading text, the step count above the title */
  body{font-size:17px}
  .due{font-size:15px}
  .ov{padding:0;align-items:stretch;background:var(--surface)}
  .pop{max-width:none;border-radius:0;max-height:none;height:100%;box-shadow:none;animation:none}
  .pop-hd{padding:10px 12px 12px 16px;gap:12px;flex-wrap:wrap;position:relative}
  .pop-hd .ti{width:42px;height:42px}
  .pop-hd .ti svg{width:24px;height:24px}
  .pop-hd .tt{padding-right:40px}
  .pop-hd h2{font-size:20px}
  .pop-step{order:-1;flex:0 0 100%;padding:2px 56px 0 0;margin-bottom:-4px}
  .pop-hd .x{position:absolute;top:8px;right:10px}
  .pop-read{padding:16px 16px 4px}
  .pop-ask{padding:4px 16px 16px}
  .ask,.nbox{padding:14px}
}

/* ===================== akoca staff only (step 6): public/staff.js =====================
   None of this applies to a client: the classes only appear in a staff session. */
.stools{display:flex;align-items:center;gap:8px;flex:none;flex-wrap:wrap}
.tbtn{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.28);color:#fff;border-radius:8px;font-size:12.5px;font-weight:600;padding:6px 11px;cursor:pointer;white-space:nowrap}
.tbtn:hover{background:rgba(255,255,255,.16)}
.sw{display:inline-flex;align-items:center;gap:8px;background:none;border:1px solid rgba(255,255,255,.28);color:#fff;border-radius:999px;font-size:12.5px;font-weight:600;padding:4px 11px 4px 5px;cursor:pointer}
.sw .knob{width:30px;height:18px;border-radius:999px;background:rgba(255,255,255,.25);position:relative;transition:.15s;flex:none}
.sw .knob::after{content:"";position:absolute;left:2px;top:2px;width:14px;height:14px;border-radius:50%;background:#fff;transition:.15s}
.sw[aria-checked="true"]{border-color:var(--coral);background:rgba(226,111,102,.15)}
.sw[aria-checked="true"] .knob{background:var(--coral)}
.sw[aria-checked="true"] .knob::after{left:14px}
.pv-strip{background:var(--amber-bg);border-bottom:1px solid var(--amber-line);color:var(--amber-ink);font-size:13px;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:8px 16px;text-align:center}
.pv-strip .tbtn{background:var(--ink);border-color:var(--ink)}

/* edit mode: every piece of text is outlined faintly; template wording amber, this client's old blue-green */
.editing [data-ed]{outline:1px dashed #A9C1DA;outline-offset:2px;border-radius:3px;cursor:text}
.editing [data-ed^="template."],.editing [data-ed^="settings.copy."],.editing [data-ed^="phase."]{outline-color:#E9CF86}
.editing [data-ed]:hover,.editing [data-ed]:focus-visible{outline:2px solid #A9C1DA;background:rgba(230,238,247,.45)}
.editing [data-ed^="template."]:hover,.editing [data-ed^="settings.copy."]:hover,.editing [data-ed^="phase."]:hover,
.editing [data-ed^="template."]:focus-visible,.editing [data-ed^="settings.copy."]:focus-visible,.editing [data-ed^="phase."]:focus-visible{outline-color:#E0B94F;background:rgba(255,244,214,.45)}
.editing .hero [data-ed]:hover{background:rgba(255,255,255,.1)}
.editing [data-ed]:empty::before{content:"Empty: click to write";color:var(--faint);font-style:italic;font-weight:400;font-size:13px}
.ed-pen{position:fixed;z-index:200;pointer-events:none;display:flex;align-items:center;gap:5px;background:#3D6894;color:#fff;border-radius:7px;padding:3px 7px;font-size:11px;font-weight:700;box-shadow:0 3px 10px rgba(14,29,48,.2)}
.ed-pen svg{width:13px;height:13px}
.ed-pen.tpl{background:#B7862A}
.ed-box{position:fixed;z-index:210;background:#fff;border:2px solid var(--blue);border-radius:10px;box-shadow:0 14px 40px rgba(14,29,48,.25);padding:8px;display:flex;flex-direction:column;gap:6px}
.ed-box.tpl{border-color:#D9A54A}
.ed-box textarea{width:100%;min-height:38px;resize:vertical;border:1px solid var(--border);border-radius:7px;padding:6px 8px;font-family:var(--sans);color:var(--ink);background:#fff;margin:0}
.ed-box textarea:focus{outline:none;border-color:var(--blue)}
.ed-box.saving textarea{opacity:.7}
.ed-fail{margin:0;font-size:12px;font-weight:600;color:var(--red)}
.ed-warn{margin:0;font-size:12px;line-height:1.4;color:var(--amber-ink);background:var(--amber-bg);border:1px solid var(--amber-line);border-radius:7px;padding:6px 8px}
.ed-tag{display:inline-block;font-size:10.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;background:#F6E4B5;color:#6B4E1E;border-radius:5px;padding:1px 6px;margin-right:4px}
.ed-ft{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;font-size:11.5px;color:var(--muted)}
.ed-ft .linkbtn{font-size:12px;padding:0}
/* template wording in a section: change it in every section, or just this one (template-exceptions-2026-10-09.md) */
.ed-pick{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.ed-pick .btn{font-size:13.5px;padding:8px 12px;min-height:40px;border-radius:8px;flex:1 1 auto}
.ed-pick .linkbtn{font-size:13px;flex:1 0 100%;text-align:left;min-height:32px}
.t-own{display:inline-block;vertical-align:middle;font-size:10.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;background:#F6E4B5;color:#6B4E1E;border-radius:5px;padding:1px 6px;margin:0 6px;line-height:1.5;white-space:nowrap}
.over .t-own{margin-right:auto}
.cta+.t-own,.nbox>.t-own{margin:6px 0 0}
.ed-stamp{position:fixed;z-index:205;display:flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--green-line);color:var(--green-ink);border-radius:9px;padding:5px 10px;font-size:12px;font-weight:600;box-shadow:var(--shadow)}
.ed-stamp .tk{width:15px;height:15px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;flex:none}
.ed-stamp .tk svg{width:9px;height:9px}
.ed-stamp .linkbtn{font-size:12px;padding:0}
.ed-stamp-fixed{left:50%;bottom:74px;transform:translateX(-50%)}

/* cards in edit mode */
.editing .sgrid>li{flex-direction:column;gap:6px}
.sgrid>li.dragging{opacity:.4}
.sgrid>li.dropto .scard{border-color:var(--blue);box-shadow:0 0 0 2px var(--blue-tint)}
.cctl{display:flex;gap:4px;flex-wrap:wrap;align-items:center}
.cb{display:inline-flex;align-items:center;gap:4px;height:30px;min-width:30px;justify-content:center;border:1px solid var(--border-mid);background:#fff;color:var(--ink-soft);border-radius:7px;font-size:12px;font-weight:600;padding:0 7px;cursor:pointer}
.cb svg{width:15px;height:15px}
.cb:hover:not([disabled]){border-color:var(--blue);color:var(--blue-dark)}
.cb[disabled]{opacity:.35;cursor:default}
.cb.on{background:var(--pink);border-color:var(--pink-border);color:var(--red)}
.cb.ci svg{width:18px;height:18px}
/* Visible to client: one switch per card, its state in words as well as the knob */
.vsw{display:inline-flex;align-items:center;gap:7px;height:30px;border:1px solid var(--border-mid);background:#fff;color:var(--ink-soft);border-radius:999px;font-size:12px;font-weight:600;padding:0 10px 0 5px;cursor:pointer}
.vsw .knob{width:30px;height:18px;border-radius:999px;background:#C9D2D8;position:relative;transition:.15s;flex:none}
.vsw .knob::after{content:"";position:absolute;left:2px;top:2px;width:14px;height:14px;border-radius:50%;background:#fff;transition:.15s;box-shadow:0 1px 2px rgba(14,29,48,.25)}
.vsw b{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.vsw[aria-checked="true"]{border-color:var(--green-line);background:#F1FAF4;color:var(--green-ink)}
.vsw[aria-checked="true"] .knob{background:var(--green)}
.vsw[aria-checked="true"] .knob::after{left:14px}
.vsw[aria-checked="true"] b{color:var(--green-ink)}
.vsw:hover{border-color:var(--blue)}
.ed-hint{margin:0;font-size:12px;line-height:1.4;color:var(--ink-soft);background:var(--surface-2);border:1px solid var(--border);border-radius:7px;padding:6px 8px}
/* edit mode: the client's answers are read only for staff */
.editing .pop .choice[aria-disabled="true"],.editing .pop .confirm-btn[aria-disabled="true"]{cursor:default}
.editing .pop .choice[aria-disabled="true"]:hover{border-color:var(--border-mid)}
.editing .pop .choice.on[aria-disabled="true"]:hover{border-color:var(--blue)}
.editing .pop .confirm-btn[aria-disabled="true"]:hover{background:#fff}
.editing .pop .ask textarea[readonly],.editing .pop .fb textarea[readonly]{background:var(--surface-2);cursor:default}
.editing .pop .addrow input:disabled{background:var(--surface-2)}
.ipick{display:grid;grid-template-columns:repeat(auto-fill,minmax(38px,1fr));gap:4px;background:#fff;border:1px solid var(--border);border-radius:9px;padding:6px;max-width:100%}
.ipk{height:38px;border:1px solid transparent;background:none;border-radius:7px;cursor:pointer;display:grid;place-items:center;color:var(--ink)}
.ipk svg{width:22px;height:22px}
.ipk:hover{background:var(--surface-2)}
.ipk.on{border-color:var(--blue);background:var(--blue-tint)}
.add-row{width:100%;border:1.5px dashed var(--border-mid);background:none;border-radius:var(--r);padding:12px;color:var(--blue-dark);font-weight:600;font-size:13.5px;cursor:pointer}
.add-row:hover{background:var(--surface-2);border-color:var(--blue)}
.addsec-w{margin-top:14px}
.addsec{border:1px solid var(--border);border-radius:var(--r);padding:12px;background:var(--surface-2);display:flex;flex-direction:column;gap:8px}
.addsec .r{display:flex;gap:8px;flex-wrap:wrap}
.addsec input[type=text]{flex:1 1 220px;min-width:0;font-size:14px;padding:8px 11px;margin:0}
.addsec select,.qctl select,.afilt select{font:inherit;font-size:13px;border:1px solid var(--border-mid);border-radius:8px;padding:6px 8px;background:#fff;color:var(--ink)}
.addsec .qsub{margin:0}
.sbtn{padding:8px 14px;font-size:13px}

/* settings card */
.akonly{font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#fff;background:var(--coral);border-radius:5px;padding:2px 7px}
.sh3{font-size:14px;margin:18px 0 8px}
.sf{display:flex;flex-direction:column;gap:4px;min-width:0}
.sf label{font-size:12.5px;font-weight:600;color:var(--ink-soft)}
.sf input{font:inherit;font-size:13.5px;border:1px solid var(--border-mid);border-radius:8px;padding:7px 9px;min-width:0;width:100%;color:var(--ink);background:#fff;margin:0}
.sf .r{display:flex;gap:6px;flex-wrap:wrap}
.sf .r input{flex:1 1 130px}
.fstamp{min-height:16px;font-size:12px}
.fstamp .linkbtn{font-size:12px;padding:0}
.dtin{font:inherit;font-size:12.5px;border:1px solid var(--border-mid);border-radius:7px;padding:2px 5px;color:var(--ink);background:#fff;max-width:140px}
.editing ol.steps li{grid-template-columns:22px minmax(0,1fr) 140px 58px 78px}
.stdone{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:600;color:var(--ink-soft);white-space:nowrap;cursor:pointer}
.stdone input{width:auto;margin:0}
.sethere{font-size:11.5px;padding:0;white-space:nowrap}

/* inside a section, edit mode */
.qctl{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:0 0 8px;padding:6px 8px;background:#fff;border:1px dashed var(--border-mid);border-radius:8px}
.qlbl{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-right:auto}
.chctl{margin:8px 0 0;padding:8px;background:#fff;border:1px dashed var(--border-mid);border-radius:8px}
.chctl .addlbl{margin-top:0}
.chctl ol{list-style:none;margin:0 0 8px;padding:0;display:flex;flex-direction:column;gap:4px}
.chctl li{display:flex;align-items:center;gap:4px}
.chctl .cn{flex:1;min-width:0;font-size:13px;overflow-wrap:anywhere}
.addq{margin:0 0 18px}

/* akoca's view: the Answers screen */
.answers{display:flex;flex-direction:column;gap:16px}
.ahead h1{margin:0 0 4px;font-size:24px;letter-spacing:-.015em;overflow-wrap:anywhere}
.ahead .sub{margin:0 0 10px;color:var(--muted)}
.asum{margin:0 0 6px;font-size:13.5px;color:var(--ink-soft)}
.afilt{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:12px}
.afilt label{font-size:13px;font-weight:600}
.afilt input[type=search]{flex:1 1 220px;min-width:0;font:inherit;font-size:14px;border:1px solid var(--border-mid);border-radius:8px;padding:7px 10px;margin:0}
.alist{display:flex;flex-direction:column;gap:12px}
.asec-h{display:flex;align-items:flex-start;gap:12px;margin-bottom:10px;flex-wrap:wrap}
.asec-h .ti{width:40px;height:40px;border-radius:10px;background:var(--surface-2);display:grid;place-items:center;flex:none}
.asec-h .ti svg{width:23px;height:23px}
.asec-h .tt{flex:1 1 200px;min-width:0}
.asec-h h2{margin:0;font-size:17px}
.asec-h .sub{margin:2px 0 0;font-size:12.5px;color:var(--muted)}
.chip{font-size:11.5px;font-weight:700;border-radius:999px;padding:3px 10px;background:var(--amber-bg);color:var(--amber-ink);border:1px solid var(--amber-line);white-space:nowrap}
.chip.ok{background:var(--green-bg);color:var(--green-ink);border-color:var(--green-line)}
.chip.fb{background:var(--pink);color:var(--red);border-color:var(--pink-border)}
.chip.quiet{background:var(--surface-2);color:var(--muted);border-color:var(--border)}
.arow{padding:10px 0;border-top:1px solid var(--border)}
.aq{margin:0 0 3px;font-size:13px;font-weight:600;color:var(--ink-soft)}
.av{margin:0;font-size:14.5px;white-space:pre-wrap;overflow-wrap:anywhere}
.av.none,.none{color:var(--faint);font-style:italic;font-size:13px}
.am{margin:2px 0 0;font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.aprev{margin:6px 0 0;padding:0 0 0 12px;list-style:none;border-left:2px solid var(--border);font-size:12px;color:var(--faint)}
.aprev li{margin:2px 0;overflow-wrap:anywhere}
.aprev .pv{color:var(--muted)}
.aconf{margin:0;font-size:13.5px;display:flex;align-items:center;gap:6px;color:var(--muted)}
.aconf.yes{color:var(--green-ink);font-weight:600}
.aconf svg{width:14px;height:14px}
.aopen{margin:8px 0 0}
.aempty{color:var(--muted);text-align:center;padding:20px}

@media (max-width:900px){
  .is-staff .topbar-in{flex-wrap:wrap;row-gap:8px}
  .is-staff .stools{order:5;flex-basis:100%}
}
@media (max-width:640px){
  .is-staff .who{order:2}
  /* edit mode steps: the name on its own line, the date, Done and Set as now beneath it */
  .editing ol.steps li{grid-template-columns:22px auto auto minmax(0,1fr);row-gap:4px}
  .editing ol.steps li>.sd{grid-row:1/span 2}
  .editing ol.steps li>span:nth-child(2){grid-column:2/-1}
  .editing ol.steps .sethere{justify-self:end}
  .editing ol.steps li{column-gap:8px}
  .editing ol.steps .dtin{max-width:122px;font-size:12px}
  .tbtn{padding:6px 9px;font-size:12px}
}

/* ===================== answers as a thread (09/10/2026, thread-and-drive-2026-10-09.md) ===================== */
/* "What's been said so far" and comments (09/10/2026, comments-2026-10-09.md): a white box only once
 * there is something in it; the newest two show, older ones fold; long words clamp to four lines */
.said{margin:6px 0 0}
.said.has{margin-top:12px;padding:10px 12px;background:#fff;border:1px solid var(--hair);border-radius:var(--r-sm)}
.said-h{font-size:14px;font-weight:700;color:var(--ink-soft);margin:0 0 6px}
.said-none{font-size:14px;color:var(--muted);margin:0}
.said-l{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.said-i{border-left:3px solid var(--blue-pale);padding:2px 0 2px 10px}
.said-m{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;margin:0 0 2px;font-size:14px;color:var(--muted);min-height:32px;min-width:0}
.said-m b{font-size:15px;font-weight:700;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.said-m>span{white-space:nowrap}
.said-m b{flex:0 0 auto;max-width:60%}
.said-m .said-e{flex:1 1 0;overflow:hidden;text-overflow:ellipsis;min-width:0}
.said-edited{font-style:italic}
.ctools{margin-left:auto;display:flex;gap:2px;flex:none}
.cbtn{width:32px;height:32px;border-radius:7px;border:1px solid transparent;background:none;color:var(--muted);cursor:pointer;display:grid;place-items:center;padding:0}
.cbtn:hover{color:var(--ink);border-color:var(--border);background:var(--surface-2)}
.cbtn:focus-visible{outline:3px solid var(--step-now);outline-offset:1px}
.cbtn svg{width:16px;height:16px}
.said-t.clamp{display:-webkit-box;-webkit-line-clamp:4;line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.said-more{font-size:14px;padding:2px 0;min-height:24px}
.said-fold{border-left:0;padding:0}
.said-fold>.fold{border-top:0}
.said-fold>.fold>summary{min-height:48px;padding:8px 0}
.said-fold .said-l{margin:2px 0 10px}
.cadd{min-height:44px;font-size:15px;padding:8px 0}
.cadd:focus-visible,.said-more:focus-visible{outline:3px solid var(--step-now);outline-offset:2px;border-radius:4px}
.cbox{margin-top:8px}
.cbox label{display:block;font-size:14px;font-weight:700;color:var(--ink-soft);margin:0 0 4px}
.cbox textarea{min-height:72px}
.cbtns{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;margin-top:8px}
.cpost{padding:9px 20px;min-height:44px}
.cmsg{color:var(--red);font-size:14px;margin:6px 0 0}
.cdel{margin-top:8px;padding:10px 12px;border:1px solid var(--pink-border);background:var(--pink);border-radius:10px}
.cdel p{margin:0;font-size:15px;color:var(--ink)}
.cdanger{background:var(--red);color:#fff;border-color:var(--red);min-height:44px}
.cdanger:hover{background:#A92F2F;border-color:#A92F2F}
.cdel .btn-ghost{min-height:44px}
.listmore>summary{min-height:48px}
.listmore ul.listed{margin:2px 0 8px}
.said-ak{font-weight:400;color:var(--blue-dark)}
.said-e{font-size:14px}
.said-t{font-size:16px;color:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}
.stamp.wait{color:var(--amber-ink);align-items:flex-start}
.stamp.wait .tk{background:var(--amber-ink);margin-top:1px}
/* staff: a card's Drive folder buttons, and the folder list */
.drivectl{margin:0 0 16px;padding:10px 12px;background:#fff;border:1px dashed var(--border-mid);border-radius:8px}
.drivectl .addlbl{margin:4px 0 6px}
.dfl{list-style:none;margin:0 0 6px;padding:0;display:flex;flex-direction:column;gap:4px}
.dfl label{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;cursor:pointer}
.dfl svg{width:16px;height:16px;color:var(--blue-dark);flex:none}
.dmiss{color:var(--muted)}
.dnew{display:flex;flex-wrap:wrap;gap:6px}
.dnew input{flex:1 1 220px;min-width:0;width:100%;font:inherit;font-size:13.5px;padding:7px 9px;margin:0;color:var(--ink);background:#fff;border:1.5px solid var(--border-strong);border-radius:var(--r-sm)}
/* the staff Answers screen: each question's comments, deleted ones greyed and marked (09/10/2026) */
.acomments{margin:8px 0 0;padding:8px 0 0 12px;border-left:3px solid var(--blue-pale)}
.acm-h{font-size:14px;font-weight:700;color:var(--ink-soft);margin:0 0 4px}
.acm-l{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.acm.gone .av{color:var(--muted);text-decoration:line-through}
.acm .adel{color:var(--red);font-weight:700}

/* comments first (09/10/2026, comments-first-2026-10-09.md): every question is a prompt with a reply box */
.suggest{margin:6px 0 4px;font-size:16px;color:var(--ink);line-height:1.5}
.suggest .sg-l{font-weight:700;color:var(--blue-dark);margin-right:2px}
.suggest .sg-dot{color:var(--muted)}
.suggest.plain .sg-l{color:var(--ink-soft)}
.opts{margin:0 0 4px;border-top:0}
.opts>summary{min-height:40px;padding:6px 0;font-size:15px}
.optl{margin:2px 0 8px;padding-left:20px;font-size:15px;color:var(--ink-soft)}
.optl li{margin:2px 0}
.cnew textarea{min-height:64px}
.chint{font-size:14px;color:var(--muted);margin:4px 0 0}
.ask .said{margin-top:8px}
/* akoca's sign-off (Elle's status flow) */
.signed{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;font-size:15px;font-weight:700;color:var(--green-ink);background:var(--green-bg);border:1px solid var(--green-line);border-radius:10px;padding:6px 12px}
.signed .tk{width:22px;height:22px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;flex:none}
.signed .tk svg{width:12px;height:12px}
.signed .linkbtn{color:var(--green-ink);text-decoration:underline;font-size:14px;min-height:32px}
.sobtn{min-height:44px;align-self:flex-start}
.soask{margin-top:0}
.st-chip.sochip{white-space:normal;text-align:left;border:0;padding:3px 11px;font-size:14px}
@media (min-width:900px){.pop-ft .signed,.pop-ft .sobtn,.pop-ft .soask{order:1}}
.cbox .btn:focus-visible,.cdel .btn:focus-visible,.sobtn:focus-visible,.signed .linkbtn:focus-visible{outline:3px solid var(--step-now);outline-offset:2px}

/* ---------- the Feedback tab (feedback/run-sheet.md step 5, 20/10/2026), from the signed-off mock-up
   feedback/mockups/portal.html. Everything is prefixed fb- (or sits under .fbtab) so nothing on the home
   page changes. The tab bar shows only on a portal with feedback switched on. ---------- */
.sf select{font:inherit;font-size:13.5px;border:1px solid var(--border-mid);border-radius:8px;padding:7px 9px;min-width:0;width:100%;color:var(--ink);background:#fff;margin:0}
.navtabs{max-width:1140px;margin:0 auto;padding:0 24px;display:flex;gap:6px;overflow-x:auto}
.navtabs a{color:#BFD3E6;text-decoration:none;font:600 14.5px var(--sans);padding:10px 14px 9px;border-bottom:3px solid transparent;white-space:nowrap}
.navtabs a:hover{color:#fff}
.navtabs a.on{color:#fff;border-bottom-color:var(--coral)}
.navtabs a:focus-visible{outline:3px solid var(--blue-pale);outline-offset:-3px;border-radius:6px}
.on-feedback #editSw{display:none}
.fbtab{display:grid;gap:16px}
.fbtab .btn-sm{padding:7px 12px;font-size:13.5px}
.fbtab .btn-primary{box-shadow:none}
.fbtab .btn-primary:hover{background:#1E3A5A;border-color:#1E3A5A}
.fbtab .btn-light{background:#fff;color:var(--ink);border-color:#fff}
.fbtab .btn-light:hover{background:var(--blue-tint)}
.fbtab .btn-ghostd{background:transparent;color:#fff;border-color:rgba(255,255,255,.5)}
.fbtab .btn-ghostd:hover{background:rgba(255,255,255,.12)}
.fbtab .btn{white-space:nowrap}
.fb-sp{flex:1}
.fb-sum{background:linear-gradient(158deg,#1E3A5A,#132539);color:#fff;border-radius:var(--r);padding:18px 22px;display:flex;gap:18px;align-items:center;flex-wrap:wrap;box-shadow:var(--shadow)}
.fb-sum .t{flex:1;min-width:240px}
.fb-sum .eyebrow{color:var(--blue-pale);margin:0 0 4px}
.fb-sum h1{margin:0;font-size:21px;letter-spacing:-.01em;line-height:1.3}
.fb-prog{width:240px;max-width:100%;display:grid;gap:6px;font:600 14px var(--sans)}
.fb-bar{height:8px;border-radius:99px;background:rgba(255,255,255,.18);overflow:hidden}
.fb-bar i{display:block;height:100%;background:var(--blue-pale);border-radius:99px}
.fb-sumb{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.fb-rfin{display:flex;gap:8px;align-items:center;margin:0;font:600 14px var(--sans);color:#9FE0BF}
.fb-rfin svg{width:16px;height:16px;flex:none}
.fb-rask{display:grid;gap:8px;max-width:420px}
.fb-rask p{margin:0;font-size:14.5px}
.fb-rbtns{display:flex;gap:8px;flex-wrap:wrap}
.fb-qbox{background:#fff;border:1.5px solid var(--blue);border-radius:var(--r);padding:14px 18px;box-shadow:var(--shadow)}
.fb-qbox h2{margin:0 0 8px;font-size:16px;color:var(--blue-dark);display:flex;align-items:center;gap:8px}
.fb-qn{background:var(--blue);color:#fff;border-radius:99px;min-width:22px;height:22px;display:grid;place-items:center;font-size:12px;padding:0 6px}
.fb-qrow{display:flex;gap:12px;align-items:center;width:100%;text-align:left;background:var(--blue-tint);border:0;border-radius:10px;padding:10px 12px;margin-top:6px;font:inherit;color:var(--ink);cursor:pointer}
.fb-qrow:hover{background:#E6EEF7}
.fb-qrow span{flex:1;min-width:0;overflow-wrap:anywhere}
.fb-qrow small{display:block;color:var(--blue-dark);font:600 12.5px var(--sans)}
.fb-qrow b{font:600 13.5px var(--sans);color:var(--blue-dark);white-space:nowrap}
.fb-ptabs{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 6px;scrollbar-width:thin}
.fb-ptab{flex:none;display:flex;align-items:center;gap:8px;border:1.5px solid var(--border);background:#fff;border-radius:999px;padding:8px 14px;font:600 14px var(--sans);color:var(--ink-soft);cursor:pointer}
.fb-ptab:hover{border-color:var(--border-strong)}
/* the page you are on in akoca coral with navy words (Jordan's pick 30/10; white on coral is about 3:1, navy passes) */
.fb-ptab.on{background:#E26F66;border-color:#E26F66;color:#152A43}
.fb-ptab .b{min-width:22px;height:22px;border-radius:99px;display:grid;place-items:center;font-size:12px;background:var(--pink);color:#8E3029;padding:0 6px}
.fb-ptab.on .b{background:#fff;color:var(--ink)}
.fb-ptab .ok{color:var(--green);font-size:15px}
.fb-ptab.on .ok{color:#152A43}
.fb-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r);box-shadow:var(--shadow);min-width:0;overflow:hidden}
.fb-ph{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:18px 20px;border-bottom:1px solid var(--border)}
.fb-ph h2{margin:0;font-size:19px}
.fb-ph .fb-renb{margin-left:-6px}
.fb-ren{display:flex;gap:8px;align-items:center;flex-wrap:wrap;flex:1 1 320px}
.fb-ren input{flex:1 1 220px;min-width:0;font:inherit;font-size:17px;font-weight:600;padding:7px 10px;border:1px solid var(--border);border-radius:8px}
.fb-state{font-size:14px;color:var(--muted)}
.fb-state.fin{color:var(--green-ink);font-weight:700}
.fb-bar2{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 20px;border-bottom:1px solid var(--border);background:#FBFDFD}
.fb-hint{font-size:13.5px;color:var(--muted)}
.fb-seg{display:inline-flex;background:var(--surface-2);border:1px solid var(--border);border-radius:10px;padding:3px;gap:2px}
.fb-seg button{border:0;background:none;border-radius:8px;padding:6px 12px;font:600 13.5px var(--sans);color:var(--ink-soft);cursor:pointer}
.fb-seg button.on{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(21,42,67,.15)}
.fb-rows{list-style:none;margin:0;padding:0}
.fb-row{display:flex;align-items:center;gap:12px;padding:12px 20px;border-bottom:1px solid var(--surface-2);cursor:pointer;background:#fff}
.fb-row:hover{background:var(--surface-2)}
.fb-row:focus-visible{outline:3px solid var(--blue-pale);outline-offset:-3px}
.fb-num{width:26px;height:26px;border-radius:50% 50% 50% 4px;color:#fff;font:700 12px/26px var(--sans);text-align:center;flex:none}
.fb-txt{flex:1;min-width:0}
.fb-txt p{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fb-txt small{color:var(--muted);font-size:13px}
.fb-ans{color:var(--blue-dark)}
.fbtab .pill,.fb-menu .pill,.fb-modal .pill{font:700 12px var(--sans);border-radius:999px;padding:4px 10px;border:1px solid;white-space:nowrap;flex:none;display:inline-block}
.s-prog{background:var(--amber-bg);color:var(--amber-ink);border-color:var(--amber-line)}
.s-done{background:var(--green-bg);color:var(--green-ink);border-color:var(--green-line)}
.s-q{background:var(--blue-tint);color:var(--blue-dark);border-color:var(--border-mid)}
.fbtab button.pill{cursor:pointer}
.fbtab button.pill::after{content:" \25BE";font-size:10px}
.fb-pinbtn{width:34px;height:34px;flex:none;border:1px solid var(--border);background:#fff;border-radius:8px;display:grid;place-items:center;color:var(--ink-soft);cursor:pointer;padding:0}
.fb-pinbtn:hover{background:var(--blue-tint);color:var(--ink)}
.fb-pinbtn svg{width:17px;height:17px}
.fb-chev{color:var(--muted);flex:none}
.fb-empty{padding:28px 20px;color:var(--muted);text-align:center}
.fb-empty p{margin:0 0 10px}
.fb-foot{padding:14px 20px;color:var(--muted);font-size:14px}
.fb-menu{position:absolute;z-index:60;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-lg);padding:6px;width:min(300px,calc(100vw - 32px))}
.fb-menu button{display:flex;width:100%;align-items:center;gap:10px;border:0;background:none;padding:8px 10px;border-radius:8px;text-align:left;font:600 14px var(--sans);cursor:pointer;flex-wrap:wrap}
.fb-menu button:hover,.fb-menu button:focus-visible{background:var(--surface-2)}
.fb-menu button[aria-current]{background:var(--surface-2)}
.fb-menu small{font:400 12.5px var(--read);color:var(--muted);flex:1 1 140px}
.fb-modal{position:fixed;inset:0;z-index:80;background:rgba(10,20,32,.55);display:flex;justify-content:flex-end}
.fb-sheet{background:#fff;width:min(620px,100vw);height:100%;overflow:auto;box-shadow:var(--shadow-lg);display:flex;flex-direction:column;outline:none;overscroll-behavior:contain}
.fb-sh{position:sticky;top:0;background:#fff;border-bottom:1px solid var(--border);padding:12px 18px;display:flex;align-items:center;gap:10px;z-index:2}
.fb-sh h3{margin:0;font-size:16px;flex:1;min-width:0}
.fb-sb{padding:18px;display:grid;gap:18px}
.fb-sb>div{min-width:0}
.fb-label{font:700 12px var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--coral-text);margin:0 0 8px}
.fb-status{display:flex;flex-wrap:wrap;gap:6px}
.fb-status button{border:1.5px solid var(--border);background:#fff;border-radius:99px;padding:6px 12px;font:600 13px var(--sans);color:var(--ink-soft);cursor:pointer}
.fb-status button.on{border-color:var(--ink);background:var(--ink);color:#fff}
.fb-sees{margin:6px 0 0;font-size:13px;color:var(--muted)}
.fb-cb .fb-sees{flex-basis:100%;margin:0;order:1}
.fb-pinline{margin:6px 0 0}
.fb-pinline .linkbtn{display:inline-flex;gap:6px;align-items:center}
.fb-pinline svg{width:16px;height:16px}
.fb-shots{display:flex;gap:8px;flex-wrap:wrap;align-items:flex-start;margin-top:4px}
.fb-zoom{border:0;padding:0;background:none;cursor:zoom-in;border-radius:8px}
.fb-zoom img{width:150px;height:96px;object-fit:cover;object-position:center;border-radius:8px;border:1px solid var(--border);display:block;background:var(--surface-2)}
.fb-file{font-size:14px;color:var(--ink-soft);background:var(--surface-2);border:1px solid var(--border);border-radius:8px;padding:8px 10px;display:inline-flex;gap:6px;align-items:center;max-width:100%;overflow-wrap:anywhere;text-decoration:none}
a.fb-file:hover{background:var(--blue-tint)}
.fb-file svg{width:15px;height:15px;flex:none}
.fb-thread{display:grid;gap:12px}
.fb-msg{display:flex;gap:10px;align-items:flex-start}
.fb-msg .avatar{width:30px;height:30px;font-size:12px}
.fb-msg .av-ak{background:var(--ink)}
.fb-bubble{flex:1;min-width:0;background:var(--surface-2);border-radius:4px 12px 12px 12px;padding:10px 12px}
.fb-msg.ak .fb-bubble{background:var(--blue-tint)}
.fb-msg.int .fb-bubble{background:var(--band);border:1px dashed #BCC5CE}
.fb-meta{font:600 13px var(--sans);display:flex;gap:8px;flex-wrap:wrap;align-items:baseline}
.fb-meta span{font:400 12.5px var(--read);color:var(--muted)}
.fb-meta .fb-tag{font:600 11.5px var(--sans);color:var(--blue-dark);background:#fff;border-radius:99px;padding:1px 8px}
.fb-bubble p{margin:4px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.fb-quick{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.fb-or{color:var(--muted);font-size:13.5px}
.fb-composer{border:1.5px solid var(--border-strong);border-radius:12px;background:#fff;transition:border-color .15s,box-shadow .15s}
/* 6h: the reply box stays at the foot of the conversation while it scrolls; feedback switched off says so at the top; who
   else is writing shows under the conversation, the brand's three squares one after another */
.fb-sheet .fb-composer{position:sticky;bottom:12px;z-index:2;box-shadow:0 -8px 24px rgba(255,255,255,.95)}
.fb-closed{margin:0 0 16px;padding:12px 16px;border-radius:12px;background:#F4C9C3;color:var(--ink);font-size:15px}
.fb-typing{display:flex;align-items:center;gap:8px;margin:10px 0 0;font-size:13.5px;color:var(--muted)}
.fb-dots{display:inline-flex;gap:3px}.fb-dots i{width:8px;height:8px;border-radius:2px;background:#C93939;animation:fbdots 1.2s infinite ease-in-out}
.fb-dots i:nth-child(2){background:#E26F66;animation-delay:.2s}.fb-dots i:nth-child(3){background:#E8A397;animation-delay:.4s}
@keyframes fbdots{0%,60%,100%{transform:translateY(0);opacity:.55}30%{transform:translateY(-3px);opacity:1}}
@media (prefers-reduced-motion:reduce){.fb-dots i{animation:none}}
.fb-composer:focus-within{border-color:var(--ink);box-shadow:0 0 0 3px rgba(169,193,218,.55)}
.fb-composer.is-int{background:var(--band);border-style:dashed}
.fb-composer textarea{display:block;width:100%;min-height:76px;border:0;border-radius:12px 12px 0 0;padding:10px 12px;font:16px/1.45 var(--read);color:var(--ink);resize:vertical;background:transparent;margin:0}
.fb-composer textarea:focus{outline:none}
.fb-cb{display:flex;align-items:center;gap:10px;padding:8px 10px;border-top:1px solid var(--surface-2);flex-wrap:wrap}
.fb-err{margin:0;padding:8px 12px;font-size:13.5px;color:#8E3029;background:var(--pink);border-top:1px solid var(--pink-border)}
.fb-toggle{display:flex;align-items:center;gap:8px;font:600 13px var(--sans);color:var(--ink-soft)}
.fb-toggle input{width:18px;height:18px;accent-color:var(--ink);margin:0}
/* the two choice buttons' words, staff only, under "Give them a choice" (6g, rehearsal 3 E2) */
.fb-labels{flex-basis:100%;order:1;display:grid;grid-template-columns:1fr 1fr;gap:8px 10px}
.fb-labels label{display:flex;flex-direction:column;gap:4px;font:600 12.5px var(--sans);color:var(--ink-soft)}
.fb-labels input{font:15px var(--read);padding:8px 10px;border:1.5px solid var(--border-strong);border-radius:9px;min-width:0}
.fb-labels .fb-sees{grid-column:1/-1;margin:0}
@media (max-width:600px){.fb-labels{grid-template-columns:1fr}}
.fb-lightbox{position:fixed;inset:0;z-index:95;background:rgba(10,20,32,.8);display:grid;place-items:center;padding:16px;cursor:zoom-out;outline:none}
.fb-lightbox img{max-width:min(1100px,100%);max-height:calc(100vh - 136px);max-height:calc(100dvh - 136px);object-fit:contain;border-radius:10px;display:block;background:#fff}
.fb-lbx{position:absolute;top:12px;right:12px;width:44px;height:44px;border-radius:10px;border:0;background:rgba(255,255,255,.9);display:grid;place-items:center;cursor:pointer}
.fb-lbx svg{width:18px;height:18px}
@media (max-width:640px){
  .navtabs{padding:0 16px}
  .fb-sum{padding:16px}
  .fb-sum .t{min-width:0;flex-basis:100%}
  .fb-prog{width:100%}
  .fb-row{padding:12px 14px;flex-wrap:wrap}
  .fb-row .fb-txt{flex-basis:calc(100% - 64px)}
  .fb-row .pill{margin-left:38px}
  .fb-row .fb-chev{margin-left:auto}
  .fb-ph,.fb-bar2{padding-left:14px;padding-right:14px}
  .fb-ph .btn{white-space:normal;text-align:left}
  .fb-sb{padding:14px}
  .fb-sh{padding:10px 14px}
}

/* ---------- the Feedback tab, step 6c (20/10/2026: Jordan's 6b answers and the copy pass). Brand-led status colours:
   navy for "with us", coral for "your input" (6b answer 5); the "Needs your input" filter in the brand's soft light
   red (6b answer 8); the conversation as chat bubbles (6b answer 10); revision rounds as a step line (6b answer 3). */
.s-with{background:#E6EEF7;color:#1E3A5A;border-color:#BFD3E6}
.s-q{background:#FCEEEC;color:#8E3029;border-color:#F5D9D4}
.fbtab .pill .ps,.fb-modal .pill .ps,.fb-seg .ps{display:none}
.fb-qbox{border-color:#C93939}
.fb-qbox h2{color:#8E3029}
.fb-qn{background:#C93939}
.fb-qx{margin:0 0 4px;font-size:14px;color:var(--ink-soft)}
.fb-qrow{background:#FCEEEC;border:1px solid #F5D9D4;margin-top:10px}
.fb-qrow:hover{background:#F9E1DD}
.fb-qrow small,.fb-qrow b{color:#8E3029}
.fb-qrow .fb-num{flex:none;border-radius:99px;width:auto;min-width:26px;padding:0 6px}
.fb-seg .fb-fin{color:#8E3029;background:#FCEEEC}
.fb-seg .fb-fin.on{background:#C93939;color:#fff;box-shadow:none}
.fb-num{width:auto;min-width:26px;padding:0 4px}
.fb-stepw{padding:12px 20px;border-bottom:1px solid var(--border)}
.fb-steps{display:flex;gap:6px;list-style:none;margin:0;padding:0}
.fb-steps li{flex:1;min-width:0;border-top:4px solid var(--border);padding-top:6px}
.fb-steps li b{display:block;font:600 13px var(--sans);color:var(--muted)}
.fb-steps li small{display:block;font-size:12.5px;color:var(--muted);margin-top:2px}
.fb-steps li.done{border-color:var(--green)}.fb-steps li.done b{color:var(--green-ink)}
.fb-steps li.now{border-color:#C93939}.fb-steps li.now b{color:var(--ink)}
.fb-steps li.later{opacity:.7}
.fb-steps .ss{display:none}
.fb-first{padding:22px}
.fb-first h2{margin:0 0 14px;font-size:20px}
.fb-steps3{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.fb-steps3 li{display:flex;gap:12px;align-items:flex-start}
.fb-steps3 li span{flex:none;width:30px;height:30px;border-radius:8px;display:grid;place-items:center;color:#fff;font:700 14px var(--sans);background:#C93939}
.fb-steps3 li:nth-child(2) span{background:#E26F66}.fb-steps3 li:nth-child(3) span{background:#24476B}
.fb-steps3 p{margin:4px 0 0}
.fb-msg{max-width:88%}
.fb-msg.me{align-self:flex-end;margin-left:auto}
/* 6j (rehearsal 6 B3): the client's bubbles blue and akoca's the brand's very light red with a pale pink edge, in both
   views; .me is the reader's side (the right), so the two sides alternate for the client and for us */
.fb-msg .fb-bubble{background:#E6EEF7;border:1px solid #BFD3E6}
.fb-msg.me .fb-bubble{border-radius:12px 12px 4px 12px}
.fb-msg.ak .fb-bubble{background:#FCEEEC;border:1px solid #F4C9C3}
.fb-msg.ak .fb-meta{color:var(--ink)} /* "Comment by akoca" in navy (rehearsal 7 A2) */
.fb-msg.int .fb-bubble{background:var(--band);border:1px dashed #BCC5CE}.fb-msg.int .fb-meta{color:inherit}
.fb-msg.orig{max-width:100%}
.fb-msg.orig .fb-bubble{background:#fff;border:1.5px solid var(--ink);border-radius:12px}
.fb-orig{margin:0 0 4px!important;font:700 11px var(--sans)!important;letter-spacing:.08em;text-transform:uppercase;color:var(--coral-text)}
.fb-thread{display:flex;flex-direction:column}
.fb-wtabs{display:flex;border-bottom:1px solid var(--surface-2)}
.fb-wtabs button{flex:1;border:0;background:none;padding:10px 12px;font:600 13.5px var(--sans);color:var(--muted);cursor:pointer;border-bottom:3px solid transparent}
.fb-wtabs button.on{color:var(--ink);border-bottom-color:var(--coral)}
.fb-clabel{display:block;padding:10px 12px 0;font:600 13px var(--sans);color:var(--ink-soft)}
.fb-set{background:var(--surface);border:1.5px dashed var(--border-strong);border-radius:var(--r);padding:14px 18px}
.fb-set h2{margin:0 0 10px;font-size:16px;display:flex;gap:8px;align-items:center}
/* 6e (Jordan's rehearsal 2, B1): one grid of two columns. Each field is three rows (label, control, note) on the grid's
   own rows (subgrid), so labels, controls and notes sit on the same lines across the columns; every control is 40 px */
.fb-setg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;row-gap:4px}
.fb-set .sf{display:grid;grid-template-rows:subgrid;grid-row:span 3;align-items:start;min-width:0;margin-bottom:10px}
.fb-set label{font:600 13px var(--sans);align-self:end}
.fb-set small{color:var(--muted);font-size:12.5px;line-height:1.4}
.fb-set input,.fb-set select,.fb-addrow select{font:inherit;font-size:14px;color:var(--ink);background-color:#fff;border:1px solid var(--border-strong);border-radius:8px;height:40px;padding:0 10px;min-width:0;width:100%;margin:0}
/* the dropdown's arrow drawn by us, 12 px in from the edge, with room for it (6e, rehearsal 2 F3) */
.fb-set select,.fb-addrow select{-webkit-appearance:none;appearance:none;padding-right:38px;cursor:pointer;text-overflow:ellipsis;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23152A43' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;background-size:12px 8px}
.fb-set select:disabled,.fb-addrow select:disabled{color:var(--muted);cursor:default;background-color:var(--surface-2)}
.fb-set .btn-sm{height:40px;padding-top:0;padding-bottom:0;flex:none}
.fb-inl{display:flex;gap:6px;min-width:0}
.fb-inl input,.fb-inl select{flex:1}
/* opening a revision round: the brand's deep blue, apart from the navy ink (6e, Jordan's rehearsal 2 F3) */
.btn-round{background:#152A43;color:#fff;border-color:#152A43} /* navy, not old blue-green (Jordan, 05/11/2026) */
.btn-round:hover{background:#24476B;border-color:#24476B}
.btn-round[disabled]{opacity:.5;cursor:default}
/* staff: the confirm before a third or later revision round (6d): may be chargeable */
.fb-extra{margin:10px 18px 0;background:#FFF7EC;border:1px solid #F3DFBF;border-left:4px solid var(--coral);border-radius:10px;padding:10px 14px;color:#33475C}
.fb-extra p{margin:0 0 8px}.fb-extra b{color:#152A43}
.fb-extra .fb-inl{flex-wrap:wrap}
@media (max-width:640px){
  .fbtab .pill .pl,.fb-modal .pill .pl,.fb-seg .pl{display:none}
  .fbtab .pill .ps,.fb-modal .pill .ps,.fb-seg .ps{display:inline}
  .fb-steps .sl{display:none}.fb-steps .ss{display:inline}
  .fb-stepw{padding:10px 14px}
  .fb-seg{flex-wrap:wrap}
  .fb-inl{flex-wrap:wrap}
  .fb-setg{grid-template-columns:minmax(0,1fr)}
  .fb-set .fb-inl{flex-wrap:nowrap}
}
/* Step 6f (Jordan's decision page, rehearsal 2). The client's banner: the eyebrow and the revision-round line only (3: A) */
.fb-sum.slim{padding:14px 22px;gap:10px 18px}
.fb-sum.slim .t{flex:1 1 auto;min-width:0}
.fb-sum.slim .eyebrow{margin:0}
.fb-none p{margin:0 0 14px;color:var(--ink-soft)}
/* the shared folder, read from the Your project tab's Drive link: shown, not typed (B1) */
.fb-set .lbl{font:600 13px var(--sans);align-self:end}
.fb-ro{display:flex;align-items:center;height:40px;padding:0 10px;border:1px dashed var(--border-strong);border-radius:8px;font-size:14px;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--muted)}
.fb-ro a{color:var(--ink);overflow:hidden;text-overflow:ellipsis}
/* "Internal note", with "akoca only, not visible to the client" beside it (D1) */
.fb-wtabs .fb-wnote{align-self:center;flex:none;padding:0 10px;font-size:12px;color:var(--muted)}
@media (max-width:640px){.fb-sum.slim{padding:12px 16px}.fb-wtabs{flex-wrap:wrap}.fb-wtabs .fb-wnote{flex-basis:100%;padding:4px 12px 8px}}

/* ---------- Settings, akoca's own tab (settings/run-sheet.md, artifacts/portal-settings-mockup.html) ----------
 * One column of cards, labels above the boxes, a side menu to jump between them (a strip across the top on a phone),
 * on or off as a switch, the steps and subfolders as lists with a ⋯ menu, and one "Saved · Undo" message. */
.navtabs .akonly{margin-left:7px;vertical-align:1px;font-size:10px;padding:2px 6px;background:rgba(255,255,255,.16)}
.navtabs a.on .akonly{background:var(--coral)}
.stab{display:grid;grid-template-columns:200px minmax(0,1fr);gap:28px;align-items:start}
.pnav{position:sticky;top:16px;display:flex;flex-direction:column;gap:2px;min-width:0}
.pnav button{background:none;border:0;text-align:left;padding:8px 10px;border-radius:8px;color:var(--ink-soft);font:500 14px var(--sans);cursor:pointer}
.pnav button:hover{background:rgba(255,255,255,.6)}
.pnav button.on{background:var(--surface);color:var(--ink);font-weight:600;box-shadow:0 1px 2px rgba(21,42,67,.06)}
.pcol{display:grid;gap:18px;max-width:640px;min-width:0}
.pcard{display:grid;gap:18px;scroll-margin-top:16px}
.pcard h2{font-size:17px;margin:0;outline:0}
.pcard .what{margin:-12px 0 0;color:var(--muted);font-size:14.5px}
.pf{display:grid;gap:6px;min-width:0}
.pf label,.pf .lab{font:600 14.5px var(--sans);color:var(--ink)}
.phint{font-size:14px;color:var(--muted);margin:-2px 0 2px}
.pf input,.pf select,.pinl input{width:100%;box-sizing:border-box;border:1.5px solid var(--border-strong);border-radius:var(--r-sm);padding:10px 12px;font:inherit;font-size:16px;color:var(--ink);background:#fff;margin:0;min-width:0}
.pf input::placeholder{color:var(--placeholder)}
.pf select{padding-right:34px}
.pf .short{max-width:220px}
.ppic{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.ppic .prev{border:1.5px solid var(--border);border-radius:10px;background:#fff;padding:10px 14px;display:flex;align-items:center;min-height:52px;max-width:100%;box-sizing:border-box}
.ppic .prev img{display:block;height:48px;width:auto;max-width:min(260px,100%);object-fit:contain}
.ppic .prev.round{border-radius:50%;padding:8px;min-height:0;width:54px;height:54px;justify-content:center}
.ppic .prev.round img{height:36px;width:36px;border-radius:50%}
.ppic .none,.prow .none{color:var(--muted);font-size:14px}
.pswrow{display:flex;align-items:flex-start;gap:14px;background:var(--surface-2);border-radius:10px;padding:12px 14px}
.pswrow .t{flex:1;min-width:0}
.pswrow .t b{display:block;font:600 14.5px var(--sans)}
.pswrow .t span{font-size:14px;color:var(--muted)}
.pswitch{flex:none;width:46px;height:26px;border-radius:99px;background:#8E9FAB;border:0;position:relative;margin-top:2px;cursor:pointer;padding:0}
.pswitch .knob{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:left .15s;box-shadow:0 1px 2px rgba(14,29,48,.25)}
.pswitch[aria-checked="true"]{background:var(--green)}
.pswitch[aria-checked="true"] .knob{left:23px}
.pswitch:focus-visible,.pmore:focus-visible,.pnav button:focus-visible,.pmenu button:focus-visible,details.rare summary:focus-visible{outline:3px solid var(--blue-pale);outline-offset:2px}
.prows{display:grid;border:1.5px solid var(--border);border-radius:10px;background:#fff}
.prow{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:6px 12px;padding:8px 8px 8px 12px;border-top:1px solid var(--border);font-size:15px}
.prow:first-child{border-top:0;border-radius:9px 9px 0 0}
.prow:last-child{border-radius:0 0 9px 9px}
.prow:only-child{border-radius:9px}
.prow .n{min-width:0;overflow-wrap:anywhere;display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.prow .n svg{width:18px;height:18px;flex:none;color:var(--blue)}
.prow .d{color:var(--ink-soft);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:14.5px}
.prow.now{background:var(--blue-tint)}
.nowchip{font:600 11px var(--sans);letter-spacing:.05em;text-transform:uppercase;background:var(--blue);color:#fff;border-radius:99px;padding:2px 8px}
.pdone{width:18px;height:18px;border-radius:50%;background:var(--green);color:#fff;display:inline-grid;place-items:center;flex:none}
.pdone svg{width:11px;height:11px;color:#fff}
.pmore{border:0;background:none;width:40px;height:40px;border-radius:8px;color:var(--ink-soft);font-size:20px;line-height:1;cursor:pointer;display:grid;place-items:center}
.pmore:hover,.pmore[aria-expanded="true"]{background:var(--surface-2)}
.popen{color:var(--blue);font:600 14px var(--sans);padding:8px 2px}
.pmenu{position:absolute;right:8px;top:calc(100% - 6px);z-index:30;background:#fff;border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow-lg,0 12px 32px rgba(14,29,48,.2));padding:6px;display:grid;min-width:190px}
.pmenu button{background:none;border:0;text-align:left;padding:10px 12px;border-radius:7px;font:500 15px var(--sans);color:var(--ink);cursor:pointer}
.pmenu button:hover{background:var(--surface-2)}
.pinl{grid-column:1/-1;display:grid;gap:6px;padding:4px 0 6px}
.pinl label{font:600 14px var(--sans)}
.pinl .r,.pnew .r{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.pinl .r input{flex:1 1 180px;width:auto}
.pempty{margin:0;padding:12px;color:var(--muted);font-size:14.5px}
.pnew{display:grid;gap:12px;background:var(--surface-2);border-radius:10px;padding:14px}
details.rare summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:10px;border-radius:6px}
details.rare summary::-webkit-details-marker{display:none}
details.rare summary h2{font-size:17px;margin:0}
details.rare summary::after{content:"Show";font:600 14px var(--sans);color:var(--blue);text-decoration:underline;flex:none}
details.rare[open] summary::after{content:"Hide"}
details.rare > .phint{margin-top:12px}
.wgroup{margin-top:14px;display:grid;gap:6px}
.wgroup h4{font:600 13px var(--sans);letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin:6px 0 0}
.wl{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--border);border-radius:8px;font-size:14.5px}
.wl span{min-width:0;overflow-wrap:anywhere}
.wl .linkbtn{flex:none}
.set-saved{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);z-index:130;background:var(--ink);color:#fff;border-radius:10px;padding:9px 14px;font-size:14.5px;display:flex;gap:14px;align-items:center;box-shadow:0 8px 24px rgba(0,0,0,.25);max-width:calc(100vw - 32px);box-sizing:border-box}
.set-saved > span{min-width:0;overflow-wrap:anywhere}
.set-saved .tk{display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;background:var(--green);margin-right:8px;vertical-align:-2px}
.set-saved .tk svg{width:10px;height:10px;color:#fff}
.set-saved .linkbtn{color:#A9C1DA;text-decoration:underline;padding:0;font-size:14.5px;flex:none}
@media (max-width:760px){
  .stab{grid-template-columns:minmax(0,1fr);gap:14px;padding-left:12px;padding-right:12px}
  .pnav{position:static;flex-direction:row;overflow-x:auto;gap:6px;padding-bottom:4px}
  .pnav button{white-space:nowrap;background:var(--surface);font-size:13.5px;flex:none}
  .pcard{padding:16px}
  .pf .short{max-width:none}
  .navtabs .akonly{display:none}
}
@media (prefers-reduced-motion:reduce){.pswitch .knob{transition:none}}
/* archived pages, staff only (05/11/2026): the tab dashed and muted, after the others; a line under the heading */
.fb-ptab.arch{border-style:dashed;color:var(--muted)}
.fb-ptab.arch.on{background:#E9EEF2;border-color:#9AA9B5;color:#152A43}
.fb-ptab .ar{font-weight:500;font-size:12px;text-transform:lowercase}
.fb-archived{margin:10px 18px 0;background:#F1F4F7;border:1px solid #D7E0E7;border-left:4px solid #7D8F9C;border-radius:10px;padding:10px 14px;color:#33475C}
.fb-archived b{color:#152A43}
/* comment rows: more room between the number, the words and the author line (Jordan, 05/11/2026: they sat too tight) */
.fb-row{gap:14px}
.fb-txt small{display:block;margin-top:3px}
@media (max-width:640px){.fb-row{row-gap:8px}.fb-row .pill{margin-left:40px}}
/* files chosen for a reply (05/11/2026): each with × to take it off, Add a file under them */
.fb-pick{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:4px 12px}
.fb-rfiles{display:contents}
.fb-rfile{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--border);border-radius:8px;padding:4px 4px 4px 8px;font-size:13.5px;background:#fff;max-width:100%}
.fb-rfile svg{width:15px;height:15px;flex:none}
.fb-rfile span{overflow-wrap:anywhere;min-width:0}
.fb-rfile button{border:0;background:none;font-size:18px;line-height:1;width:32px;height:32px;cursor:pointer;color:var(--muted)}

/* ---------- Feedback tab polish, step 2 (06/11/2026, feedback-tab-polish/run-sheet.md "Decided") ----------
   C1/C2: a row is at most two lines at a reading width, opening with a bold label from the pin's spot and ending in a bold
   "Open"; the status and who-and-when in their own column, under the words on a phone. D1: "Your input is needed" in navy,
   one line per row, the first two then "Show N more"; the red stays for the count and the pin numbers; "Answer" a link.
   E: "Info only", grey. */
.fb-row{align-items:center}
.fb-row .fb-txt{flex:1 1 auto;min-width:0;max-width:36em}
.fb-txt p{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.45;text-overflow:clip}
.fb-lab{font-weight:700;color:#152A43;margin-right:2px}
.fb-side{flex:0 0 210px;display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin-left:auto;min-width:0}
.fb-side small{color:var(--muted);font-size:13px;line-height:1.4}
.fb-open{flex:none;font:700 14px var(--sans);color:#152A43;padding-left:2px}
.fb-row:hover .fb-open{text-decoration:underline}
.s-info{background:#EEF1F4;color:#3E4C59;border-color:#CDD5DC}
.fb-seg .fb-finfo{color:#3E4C59}
.fb-qbox h2{color:#152A43}
.fb-qrow small{color:#152A43}
.fb-qrow .t{min-width:0}
.fb-qrow .l{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* a one-line row must not set the column's width: the tab's grid items may shrink below their longest line */
.fbtab>*{min-width:0}.fb-qrow{min-width:0;max-width:100%}
.fb-qrow b{color:#152A43;text-decoration:underline;font-weight:700} /* navy, never old blue-green (Jordan, 06/11/2026) */
.fb-qmore{display:block;margin-top:8px;color:#152A43;text-decoration:underline}
.fb-sum.slim .fb-sumb{margin-left:auto}
@media (max-width:640px){
  .fb-row .fb-txt{flex:1 1 0;max-width:none}
  .fb-row .fb-open{order:2}
  .fb-row .fb-side{order:3;flex:1 1 calc(100% - 90px);flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px 10px;margin-left:40px}
  .fb-row .fb-side .pill{margin-left:0}
  .fb-row .fb-pinbtn{order:4}
  .fb-sum.slim .fb-sumb{margin-left:0;flex-basis:100%}
}
/* Settings tab, Feedback card: the page button wording's Save confirmation (feedback-tab-polish, Jordan's step 3 note) */
.fbb-ok{margin:0;display:flex;gap:6px;align-items:center;font-size:13.5px;color:var(--green-ink)}
.fbb-ok:empty{display:none}
.fbb-ok svg{width:15px;height:15px;flex:none}
/* D2 (Jordan, 06/11/2026): no old blue-green text links on the Feedback tab or in its pop-up: navy, bold, underlined */
.fbtab .linkbtn,.fb-modal .linkbtn,.fbtab a:not(.btn):not(.fb-file),.fb-modal a:not(.btn):not(.fb-file){color:#152A43;font-weight:700;text-decoration:underline;text-underline-offset:3px}

/* ---------- No old blue-green on a control or a text link (Jordan, 06/11/2026 16:17: "navy save buttons"; he dislikes old blue-green) ----------
   Every control and link below was old blue-green; each is now navy #152A43 (white text where filled, 15.6:1), hover #24476B (white
   text 9.6:1), a navy focus ring. Selected states use the navy tint #E6EEF7 (navy text on it 13.6:1). old blue-green stays only where
   it is decoration, never pressed: the avatar circle, small icons beside text (.saves, .help, .dfl, .prow), the progress
   bar fill, list bullets, the "Have a look" dot, the note-flag edge, and the labels .rec, .byak, .said-ak, .suggest .sg-l,
   .nowchip, .fb-ans, .fb-tag. Listed in client-portal/log.md 06/11/2026. */
a{color:#152A43}
.privacy a{color:#152A43}
.btn-primary:hover,.cta:hover,.fbtab .btn-primary:hover{background:#24476B;border-color:#24476B;color:#fff}
.btn-primary:focus-visible,.cta:focus-visible,.btn-round:focus-visible{outline:3px solid #152A43;outline-offset:2px}
.linkbtn{color:#152A43}
.fold.more>summary,.fold .chev{color:#152A43}
details.rare summary::after{color:#152A43}
.popen{color:#152A43;text-decoration:underline}
.addnote{color:#152A43}
.drivebtn{color:#152A43;border-color:#152A43}
.addplus{border-color:#152A43;background:#E6EEF7;color:#152A43}
.addplus:hover{background:#152A43;color:#fff}
.add-row{color:#152A43}
.add-row:hover{border-color:#152A43}
input:focus,textarea:focus,.code input:focus,.ed-box textarea:focus{border-color:#152A43;box-shadow:0 0 0 3px rgba(21,42,67,.18)}
.choice:hover,.editing .pop .choice.on[aria-disabled="true"]:hover{border-color:#152A43}
.choice.on{border-color:#152A43;background:#E6EEF7}
.choice.radio.on .bx{border-color:#152A43}
.choice.radio.on .bx::after{background:#152A43}
.choice.on:not(.radio) .bx{background:#152A43;border-color:#152A43}
.ed-box{border-color:#152A43}
.sgrid>li.dropto .scard{border-color:#152A43;box-shadow:0 0 0 2px #E6EEF7}
.cb:hover:not([disabled]){border-color:#152A43;color:#152A43}
.vsw:hover{border-color:#152A43}
.ipk.on{border-color:#152A43;background:#E6EEF7}
/* Earlier-round pictures (06/11/2026): the picture of a comment's spot from an earlier round, and its tag in the list */
.fb-before .fb-zoom img{width:100%;height:auto;max-height:260px;object-fit:cover;object-position:top;border:0;border-radius:0}
.fb-before .fb-zoom{display:block;width:100%;border:1px solid var(--border);border-radius:10px;overflow:hidden;padding:0;background:#fff;cursor:zoom-in}
.fb-before img{display:block;width:100%;height:auto}
.fb-rtag{font:600 11.5px var(--sans);color:#33475C;background:#F1F4F7;border:1px solid #D7E2E6;border-radius:99px;padding:1px 8px;white-space:nowrap}

/* ---------- Batch F (Jordan's test, 07/11/2026) ---------- */
/* 2: the "Now" step label is navy, as the portal's other filled chips */
.nowchip{background:#152A43;color:#fff}
/* 3: the portal's own "are you sure?" (app.js ask()), never the browser's box */
.akask-back{position:fixed;inset:0;z-index:120;background:rgba(10,20,32,.55);display:grid;place-items:center;padding:16px}
.akask{background:#fff;border-radius:14px;box-shadow:var(--shadow-lg);width:min(460px,100%);padding:20px 20px 16px;border-top:4px solid var(--coral)}
.akask-t{margin:0 0 6px;font:600 16px/1.4 var(--sans);color:#152A43}
.akask-d{margin:0 0 14px;font:400 14.5px/1.5 var(--read);color:#33475C}
.akask-b{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}
.akask-b .btn{min-height:44px}
.btn-danger{background:#C93939;color:#fff;border-color:#C93939}
.btn-danger:hover{background:#A82F2F;border-color:#A82F2F}
.btn-danger:focus-visible{outline:3px solid #152A43;outline-offset:2px}
/* 4: the reply box: its own field with room inside, a light grey fill (white and a navy edge while typing), a gap
   above the row below, and "Add a file" as a text link */
.fb-composer:focus-within{border-color:var(--border-strong);box-shadow:none}
.fb-composer textarea{margin:10px 12px 0;width:calc(100% - 24px);border:1px solid #D7E2E6;border-radius:10px;background:#F4F7F9;padding:10px 12px}
.fb-composer textarea:focus{background:#fff;border-color:#152A43;box-shadow:0 0 0 3px rgba(21,42,67,.12)}
.fb-composer.is-int textarea{background:#fff}
.fb-pick{padding:10px 12px 4px}
.fb-addf.linkbtn{min-height:44px;padding:0 2px;font:600 14px var(--sans);color:#152A43;text-decoration:underline;text-underline-offset:3px}
/* 6: "+ Open a page" beside the page tabs, and its row */
.fb-ptab.fb-addp{border-style:dashed;color:#152A43}
.fb-ptab.fb-addp[aria-expanded="true"]{background:#E6EEF7;border-style:solid;border-color:#152A43}
.fb-addrow{display:grid;gap:6px;margin:4px 0 14px;padding:12px 14px;background:#fff;border:1px solid var(--border);border-radius:12px}
.fb-card .fb-addrow{margin:0 18px 18px}
.fb-addrow label{font:600 14px var(--sans);color:#152A43}
.fb-addrow small{color:var(--muted);font-size:12.5px}
.fb-addrow .fb-inl{flex-wrap:wrap;align-items:center}
.fb-addrow select{width:auto;flex:1 1 220px;max-width:100%}
.fb-digest{margin-top:14px}

/* ---------- UX pass M1 to M6 (Jordan's yes 07/11/2026, ux-pass/run-sheet.md) ---------- */
/* ONE PILL PER CARD OR ROW (Jordan 07/11/2026; feedback/build-notes.md): the status is the pill; everything else on a
   card is plain text. */
/* M1: the "Needs your input" pill keeps its red, its words are navy */
.pill.s-q,.fb-menu .pill.s-q{color:#152A43}
.fb-ans{color:inherit;font-weight:600}
/* M2: each comment a card: the part on its own line, one line of comment, who and when, "View comment and reply";
   the status top right, small on a phone */
.fbtab .fb-rows{display:grid;gap:10px;padding:14px 18px 18px;margin:0;list-style:none}
.fbtab .fb-rows>li{border:0;min-width:0}
.fbtab .fb-rows>li[hidden]{display:none}
.fbtab .fb-rows .fb-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:4px 12px;padding:12px 14px;border:1px solid #D7E2E6;border-bottom:1px solid #D7E2E6;border-radius:12px;background:#fff;box-shadow:0 1px 2px rgba(21,42,67,.05);flex-wrap:nowrap}
.fbtab .fb-rows .fb-row.has-pin{grid-template-columns:auto minmax(0,1fr) auto auto}
/* batch G (Jordan's T5): on hover the card lifts a little, never a border; the link's underline stays as it is */
.fbtab .fb-rows .fb-row{transition:transform .15s ease,box-shadow .15s ease}
.fbtab .fb-rows .fb-row:hover{background:#fff;border-color:#D7E2E6}
@media (hover:hover){.fbtab .fb-rows .fb-row:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(21,42,67,.10)}}
@media (prefers-reduced-motion:reduce){.fbtab .fb-rows .fb-row{transition:none}.fbtab .fb-rows .fb-row:hover{transform:none}}
.fbtab .fb-rows .fb-row:focus-visible{outline:3px solid #152A43;outline-offset:2px}
.fbtab .fb-rows .fb-row .fb-num{margin-top:1px}
.fbtab .fb-rows .fb-row .fb-txt{display:grid;gap:2px;min-width:0;max-width:none;flex:none}
.fbtab .fb-rows .fb-lab{font:600 13px var(--sans);color:#152A43;margin:0}
.fbtab .fb-rows .fb-one{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;color:#33475C;font:400 15px/1.45 var(--read)}
.fbtab .fb-rows .fb-meta2{display:block;margin:0;font:400 12.5px/1.45 var(--sans);color:var(--muted)}
.fbtab .fb-rows .fb-view{justify-self:start;margin-top:4px;font:600 13.5px var(--sans);color:#152A43;text-decoration:underline;text-underline-offset:3px}
.fbtab .fb-rows .fb-row:hover .fb-view{text-decoration-thickness:auto}
.fbtab .fb-rows .fb-side{display:flex;flex:none;margin:0;align-items:flex-start;gap:0;min-width:0;order:0}
.fbtab .fb-rows .fb-side .pill{margin:0;white-space:nowrap}
.fbtab .fb-rows .fb-pinbtn{order:0}
@media (max-width:640px){
  .fbtab .fb-rows{padding:12px}
  .fbtab .fb-rows .fb-row{column-gap:10px;padding:12px}
  .fbtab .fb-rows .fb-side .pill{font-size:11.5px;padding:3px 9px;min-height:0}
  .fbtab .fb-rows .fb-pinbtn{width:32px;height:32px}
  /* the pill (and the pin) sit top right beside the part's name, so the comment, who and when, and "View comment and
     reply" have the card's whole width (a column for them squeezed the words to one or two a line) */
  .fbtab .fb-rows .fb-row,.fbtab .fb-rows .fb-row.has-pin{grid-template-columns:auto minmax(0,1fr);position:relative}
  .fbtab .fb-rows .fb-lab{min-height:32px;display:flex;align-items:center;padding-right:min(52%,200px)}
  .fbtab .fb-rows .fb-row.has-pin .fb-lab{padding-right:min(62%,240px)}
  .fbtab .fb-rows .fb-row .fb-num{margin-top:4px}
  .fbtab .fb-rows .fb-side{position:absolute;top:12px;right:12px;height:32px;align-items:center}
  .fbtab .fb-rows .fb-row.has-pin .fb-side{right:52px}
  .fbtab .fb-rows .fb-pinbtn{position:absolute;top:12px;right:12px}
}
/* M4: the opened comment: one line on top (the status, "Go to its pin"), the comment, its picture small */
.fb-top{display:flex;align-items:center;gap:6px 14px;flex-wrap:wrap}
.fb-spw{position:relative}
.fb-spill{cursor:pointer;font:600 13px var(--sans)}
.fb-spill:focus-visible{outline:3px solid #152A43;outline-offset:2px}
.fb-smenu{position:absolute;left:0;top:calc(100% + 6px);z-index:5;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-lg);padding:6px;width:min(300px,calc(100vw - 48px))}
.fb-smenu[hidden]{display:none}
.fb-smenu button{display:flex;width:100%;align-items:center;gap:10px;flex-wrap:wrap;border:0;background:none;padding:8px 10px;border-radius:8px;text-align:left;cursor:pointer;min-height:44px}
.fb-smenu button:hover,.fb-smenu button:focus-visible,.fb-smenu button.on{background:var(--surface-2)}
.fb-smenu small{font:400 12.5px var(--read);color:var(--muted);flex:1 1 140px}
.fb-pinl{display:inline-flex;align-items:center;gap:6px;min-height:44px;font:600 14px var(--sans);color:#152A43;text-decoration:underline;text-underline-offset:3px}
.fb-pinl svg{width:16px;height:16px;flex:none}
.fb-top+.fb-sees{margin:-10px 0 0}
.fb-shot{display:flex;align-items:center;gap:12px}
.fb-shot .fb-zoom{flex:none;border:1px solid var(--border);border-radius:10px;overflow:hidden;padding:0;background:#fff;cursor:zoom-in}
.fb-shot .fb-zoom img{display:block;width:150px;height:84px;object-fit:cover;object-position:left top;border:0;border-radius:0}
.fb-shot>span{display:grid;gap:2px;min-width:0}
.fb-shot .fb-see{justify-self:start;font:600 14px var(--sans);color:#152A43;text-decoration:underline;text-underline-offset:3px;min-height:32px;padding:0}
.fb-shot small{font:400 12.5px/1.4 var(--sans);color:var(--muted)}
.fb-thread .fb-shot{margin:2px 0 4px}
.fb-thread .fb-replab{margin:10px 0 0}
/* M5: a small label over each strip; the page tabs */
.fb-slab{margin:0 0 6px;font:700 11.5px var(--sans);letter-spacing:.06em;text-transform:uppercase;color:#4F6275} /* 21/11/2026: #5E7183 was 4.4:1 on the page ground, under AA */
.fbtab>.fb-slab{margin:6px 2px 6px}
.fb-stepw>.fb-slab{margin:0 0 8px}
.fb-bar2>.fb-slab{flex-basis:100%;margin:0}
.fb-bar2{flex-wrap:wrap;row-gap:6px}
/* the page tabs (design pass, Jordan's M5 note: obvious, not off): the page you are on in pale navy with a navy edge and
   navy words, the others white; the number still open in the brand's coral, the one warm colour on the strip */
.fb-ptab{border-color:#D7E2E6;color:#33475C;white-space:nowrap}
.fb-ptab:hover{border-color:#152A43}
.fb-ptab.on{background:#E6EEF7;border-color:#152A43;box-shadow:inset 0 0 0 1px #152A43;color:#152A43}
.fb-ptab .b{background:#E26F66;color:#152A43;font-weight:700}
.fb-ptab.on .b{background:#E26F66;color:#152A43}
.fb-ptab.on .ok{color:#2E7D4F}
/* M6 and the page tabs: a thin scroll bar matching the Hub's (R76.2): a quiet thumb on no track, never the browser's */
.fb-ptabs::-webkit-scrollbar,.pnav::-webkit-scrollbar{height:8px;width:8px;background:transparent}
.fb-ptabs::-webkit-scrollbar-track,.pnav::-webkit-scrollbar-track{background:transparent}
.fb-ptabs::-webkit-scrollbar-thumb,.pnav::-webkit-scrollbar-thumb{background:#C4D0DC;border-radius:10px;border:2px solid transparent;background-clip:padding-box}
.fb-ptabs::-webkit-scrollbar-thumb:hover,.pnav::-webkit-scrollbar-thumb:hover{background:#56687B;background-clip:padding-box}
@supports not selector(::-webkit-scrollbar){.fb-ptabs,.pnav{scrollbar-width:thin;scrollbar-color:#C4D0DC transparent}}
@supports selector(::-webkit-scrollbar){.fb-ptabs,.pnav{scrollbar-width:auto}} /* scrollbar-width would switch the pair off (the Hub's R76.2 note) */
/* M6: the Settings tab shows one section at a time */
.stab .pcard[hidden]{display:none}
/* batch G (Jordan's T5): each choice stacked, the pill on its own line and what the client reads under it */
.fb-menu button,.fb-smenu button,.fbtab .fb-smenu button{display:grid;justify-items:start;gap:4px;flex-wrap:nowrap}
.fb-menu small,.fb-smenu small{font:400 12.5px/1.4 var(--read);color:var(--muted);flex:none}
.fb-menu small .fb-sw,.fb-smenu small .fb-sw{font-weight:600;color:#33475C}
.fb-menu,.fb-smenu{width:min(340px,calc(100vw - 32px))}

/* ---------- batch H (Jordan's picks 07/11/2026) ---------- */
/* A1: the page tabs as tabs, not buttons: a line under the row, the chosen page navy with a navy bar, the count quiet */
.fb-ptabs{gap:2px;border-bottom:1px solid #D7E2E6;padding:0 2px}
.fb-ptab,.fb-ptab.on,.fb-ptab.arch.on{border:0;background:transparent;border-radius:0;box-shadow:none;padding:10px 12px 12px;color:#5E7183}
.fb-ptab:hover{color:#152A43}
.fb-ptab.on,.fb-ptab.arch.on{color:#152A43;box-shadow:inset 0 -3px 0 #152A43}
.fb-ptab .b,.fb-ptab.on .b{background:transparent;color:inherit;min-width:0;height:auto;padding:0;font:600 13px var(--sans);display:inline}
.fb-ptab .b::before{content:"\00B7\00A0"}
.fb-ptab.fb-addp,.fb-ptab.fb-addp[aria-expanded="true"]{color:#152A43;text-decoration:underline;text-underline-offset:3px;background:transparent;box-shadow:none}
.fb-ptab:focus-visible{outline:3px solid #152A43;outline-offset:-3px}
/* B2: one main button, "Open the page" a link, the rest under ⋯ (Archive in red) */
.fb-pact{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.fb-openp{font:600 14px var(--sans);color:#152A43;text-decoration:underline;text-underline-offset:3px;min-height:44px}
.fb-pmw{position:relative;display:inline-flex}
.fb-pmore{min-width:44px;font-weight:700;letter-spacing:1px}
.fb-pmenu{position:absolute;right:0;top:calc(100% + 6px);z-index:20;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-lg);padding:6px;min-width:220px;display:grid}
.fb-pmenu[hidden]{display:none}
.fb-mi{display:block;width:100%;text-align:left;border:0;background:none;padding:10px 12px;border-radius:8px;font:600 14px var(--sans);color:#152A43;cursor:pointer;min-height:44px}
.fb-mi:hover,.fb-mi:focus-visible{background:var(--surface-2)}
.fb-mi-red{color:#8E3029}
/* C1: "Client input needed" / "Needs your input" a little deeper: the pink line's colour as the fill, a coral edge, navy words */
.pill.s-q,.fb-menu .pill.s-q,.fb-smenu .pill.s-q{background:#F5D9D4;border-color:#E8A397;color:#152A43}
.fb-seg .fb-fin:not(.on){background:#F5D9D4;color:#152A43;box-shadow:inset 0 0 0 1px #E8A397}
/* Elle's previous / next in the opened comment: one line at 390 px, 44 px to press */
.fb-pn{display:flex;align-items:center;gap:8px;margin:0 0 12px;flex-wrap:nowrap}
.fb-pn .btn{min-height:44px;white-space:nowrap;flex:none}
.fb-pn .btn[disabled]{opacity:.45;cursor:default}
.fb-pnc{flex:1;text-align:center;font:600 14px var(--sans);color:#33475C;white-space:nowrap}
/* the cards a little further apart, as on the page tool (Jordan's round 2) */
.fbtab .fb-rows{gap:12px}

/* ---------- batch I (Jordan's yes 09/11/2026): client replies come back to us ---------- */
.fb-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#C93939;flex:none;vertical-align:middle}
.fb-nr{display:inline-flex;align-items:center;gap:6px;color:#152A43;font-weight:600}
.fb-newall{display:inline-flex;align-items:center;gap:8px}
.fb-seg .fb-fnew{display:inline-flex;align-items:center;gap:6px}
.fb-ptab .fb-dot{margin-left:6px;position:relative;top:-1px}

/* ---------- batch J, L1 (Jordan 10/11/2026: "the dropdown icon needs a little margin or padding to the right"): every
   select in the portal draws the same arrow, 16 px in from its right edge, with room for it, whichever box it sits in.
   !important because several older rules set the background shorthand, which would wipe the arrow out ---------- */
select:not([multiple]){-webkit-appearance:none!important;appearance:none!important;padding-right:44px!important;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23152A43' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;background-position:right 16px center!important;background-size:12px 8px!important}
select:not([multiple]):disabled{cursor:default}

/* batch J, L4: Previous / Next as low-emphasis text links with chevrons, each still 44 px to press (the one main button
   in an opened comment is Send) */
.fb-pn .fb-pnl{min-height:44px;min-width:44px;padding:0 8px;white-space:nowrap;flex:none;font-weight:600;font-size:15px;color:#152A43;text-decoration:underline;text-underline-offset:4px;border-radius:8px}
.fb-pn .fb-pnl:first-child{margin-left:-8px}.fb-pn .fb-pnl:last-child{margin-right:-8px}
.fb-pn .fb-pnl[disabled]{color:#8A99A8;text-decoration:none;cursor:default;opacity:1}

/* ---------- batch K (Jordan's batch J check, 10/11/2026; ux-pass/test-answers.md "Round 5") ---------- */
/* M1: the "Your input is needed" box is gone; its line shows under the filters while "Needs your input" is chosen */
.fb-qline{margin:12px 20px 0;font-size:13.5px;line-height:1.45;color:#33475C;max-width:62ch}
/* M1: Ctrl+Enter (Cmd+Enter on a Mac) sends; the hint under a comment box, laptops only */
.fb-kbd{margin:4px 2px 0;font-size:12.5px;color:#5E7183;text-align:right}
.fb-composer .fb-kbd{margin:4px 14px 0}
/* M3: one colour for every tertiary link, the portal's navy, underlined (red only for something destructive: Archive) */
.linkbtn,.addnote,.help a,.fb-ro a,.confirmed .linkbtn,.signed .linkbtn,.popen{color:#152A43;text-decoration:underline;text-underline-offset:3px}
.linkbtn:hover,.addnote:hover,.help a:hover{color:#24476B;text-decoration-thickness:2px}
/* M3 (Jordan: "make sure that they are clickable and there's enough space between them"): every text link underlined, a
   pointer, a visible hover and focus, a press area of at least 44 px, and at least 8 px to the next link */
.linkbtn{display:inline-flex;align-items:center;min-height:44px;cursor:pointer}
.help a,.privacy a{display:inline-flex;align-items:center;min-height:44px;cursor:pointer;color:#152A43;text-decoration:underline;text-underline-offset:3px}
.help .row{align-items:center}
.help .hrs{margin-top:-12px}
.privacy a:hover{color:#24476B;text-decoration-thickness:2px}
.linkbtn:focus-visible,.addnote:focus-visible,.help a:focus-visible,.privacy a:focus-visible,.popen:focus-visible{outline:3px solid #152A43;outline-offset:2px;border-radius:4px}
.fb-ptab.fb-addp{min-height:44px;cursor:pointer}
@media (max-width:600px){.fb-qline{margin:10px 14px 0}}

/* batch L, E2 A (Jordan 10/11/2026): outside Design, one short panel in place of the round steps */
.fb-plain{background:#F4F7F9;border:1px solid #D7E2E6;border-radius:12px;padding:12px 16px;color:var(--ink,#152A43)}
.fb-plain h3{margin:0 0 4px;font:600 16px var(--sans,Poppins,sans-serif)}
.fb-plain p{margin:0;font-size:15px;line-height:1.5;color:#33475C}

/* ---------- batch N (Jordan's picks on the batch M mock-ups, 11/11/2026; ux-pass/test-answers.md "Round 8") ---------- */
/* MP B and C: "Go to its pin" in the opened comment's heading, beside the close button (at least 10 px from it, a 44 px
   target), and on every row beside "View comment and reply". The icon is the non-colour cue, so no underline at rest;
   underlined on hover and on keyboard focus */
.fbtab .fb-pinl,.fb-modal .fb-pinl{display:inline-flex;align-items:center;gap:6px;color:#152A43;text-decoration:none;font:600 14px var(--sans);cursor:pointer}
.fbtab .fb-pinl:hover,.fb-modal .fb-pinl:hover,.fbtab .fb-pinl:focus-visible,.fb-modal .fb-pinl:focus-visible{text-decoration:underline;text-underline-offset:3px}
.fb-pinl:focus-visible{outline:3px solid #152A43;outline-offset:2px;border-radius:4px}
.fb-sh .fb-pinh{flex:none;min-height:44px;padding:0 6px;white-space:nowrap}
.fbtab .fb-rows .fb-acts{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:4px;min-width:0}
.fbtab .fb-rows .fb-acts .fb-view{margin-top:0}
.fbtab .fb-rows .fb-pinr{background:none;border:0;padding:0 4px;margin:-10px -4px;min-height:44px;font-size:13.5px}
@media (max-width:640px){.fbtab .fb-rows .fb-lab{padding-right:min(52%,200px)}}
/* MC A: one field style for a comment or reply box: no box round it, the label above, a clear edge (3.3:1), today's grey
   fill, Send below */
.fb-composer,.fb-composer:focus-within{border:0;border-radius:0;box-shadow:none;background:#fff}
.fb-sheet .fb-composer{padding:8px 0 0;box-shadow:0 -10px 14px #fff}
.fb-composer .fb-clabel{padding:0 0 6px;font:600 14px var(--sans);color:#152A43}
.fb-composer textarea{margin:0;width:100%;border:1.5px solid #7D8F9C;border-radius:10px;background:#F4F7F9;padding:10px 12px}
.fb-composer.is-int{background:#fff;border:0}
.fb-composer.is-int textarea{border-style:dashed;background:var(--band)}
.fb-composer .fb-kbd{margin:4px 2px 0}
.fb-composer .fb-pick{padding:10px 0 4px}
.fb-composer .fb-cb{border-top:0;padding:8px 0 0}
.fb-composer .fb-err{margin-top:6px;border-radius:8px}
.fb-composer .fb-wtabs{margin:0 0 10px}
/* MC focus: every text field in the portal, Settings and every stage included. The fill turns white, the edge turns
   navy, and a soft 3 px navy ring sits outside it. A transparent outline keeps a ring in Windows' high-contrast mode.
   Buttons keep their own :focus-visible ring */
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not([type=button]):not([type=submit]):not([type=reset]):not([type=hidden]):focus,textarea:focus{background:#fff!important;border-color:#152A43!important;box-shadow:0 0 0 3px rgba(21,42,67,.28)!important;outline:2px solid transparent!important}


/* ---------- Care-plan requests: the Requests tab and the pop-up (care-plan-requests/build-spec.md section 2; the round 11
   walk's pop-up and switch; handbook design/ux-laws-sop.md section 6 item 5). 4-point spacing; no red, no warning icons ---------- */
.cp-text{margin:0;font-size:16px;line-height:1.6;color:var(--ink)}
.cp-lead{margin:0;font-size:15px;line-height:1.6;color:var(--ink-soft)}
.cp-note{margin:0;font-size:14px;color:var(--muted)}
.cp-here,.cp-lead .linkbtn{font-size:inherit;padding:0;color:#152A43;text-decoration:underline;min-height:0;line-height:inherit;vertical-align:baseline;display:inline}
.cp-btns{display:flex;flex-wrap:wrap;align-items:center;gap:16px}
.cp-btns .btn-primary,.cp-bar .btn-primary{background:#152A43;border-color:#152A43;color:#fff;min-height:44px}
.cp-btns .btn-primary:hover,.cp-bar .btn-primary:hover{background:#24476E;border-color:#24476E}
.cp-btns .linkbtn{font-size:15px;min-height:44px;color:#152A43;text-decoration:underline}
.cp-iw{position:relative;display:inline-block;vertical-align:baseline}
.cp-i{appearance:none;display:inline-grid;place-items:center;width:1.15em;height:1.15em;border-radius:50%;border:1.5px solid #5E7183;background:#fff;color:#33475C;font:700 .75em/1 var(--sans);cursor:pointer;padding:0;vertical-align:-.1em;position:relative}
.cp-i::after{content:"";position:absolute;inset:-12px}
.cp-tip{position:absolute;z-index:30;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%);width:min(300px,80vw);background:#152A43;color:#fff;border-radius:8px;padding:12px;font-size:14px;line-height:1.5;font-weight:400;box-shadow:0 8px 24px rgba(21,42,67,.25)}
@media (max-width:600px){.cp-tip{position:fixed;left:16px;right:16px;bottom:auto;top:30%;transform:none;width:auto}}
.cp-page{font-size:13px;color:var(--muted)}
.cp-project{margin:4px 0 0;font-size:14px;line-height:1.5;color:var(--ink-soft)}
.cp-file{font-size:14px;color:#152A43}
html.cp-held,html.cp-held body{overflow:hidden}
.cp-mo{position:fixed;inset:0;z-index:300;background:rgba(21,42,67,.45);display:flex;align-items:center;justify-content:center;padding:24px}
.cp-md{background:#fff;border-radius:12px;width:min(560px,100%);max-height:min(680px,100%);display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 48px rgba(21,42,67,.35)}
.cp-mh{flex:none;padding:16px 20px 12px;border-bottom:1px solid #D7E2E6}
.cp-mht{display:flex;align-items:center;gap:12px}
.cp-mh h3{margin:0;flex:1;font:600 18px/1.3 Poppins,system-ui,sans-serif;color:#152A43}
.cp-ins{margin:4px 0 0;font-size:15px;line-height:1.5;color:#33475C}
.cp-x{appearance:none;border:0;background:none;width:44px;height:44px;margin:-8px -12px -8px 0;font-size:24px;line-height:1;color:#33475C;cursor:pointer;border-radius:8px}
.cp-mbody{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px 20px 12px}
.cp-list{list-style:none;margin:0;padding:0}
.cp-tr{display:flex;align-items:flex-start;gap:12px;padding:12px 0;border-bottom:1px solid #E6EEF7}
.cp-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.cp-t1{font-size:15px;color:#152A43;overflow-wrap:anywhere}
.cp-det{display:flex;flex-direction:column;gap:4px}
.cp-det[hidden]{display:none}
.cp-det .cp-rt{margin:0;font-size:14px}
.cp-bar{flex:none;position:relative;z-index:2;display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 20px;background:#fff;box-shadow:0 -8px 16px rgba(21,42,67,.08)}
.cp-bt{flex:1 1 auto;display:flex;flex-direction:column}
.cp-bt small{font-size:13px;color:#5E7183}
.cp-bt b{font:700 17px/1.3 var(--sans);color:#152A43}
.cp-how{flex:1 1 100%;border:0;margin:0;padding:0;display:flex;gap:16px;align-items:center;font-size:14px}
.cp-how legend{font-weight:700;float:left;margin-right:8px}
.cp-how label{display:flex;align-items:center;gap:4px;min-height:44px}
@media (max-width:600px){.cp-mo{padding:0;align-items:stretch}.cp-md{border-radius:0;width:100%;max-height:none;height:100%}.cp-bar .btn{flex:1 1 100%}}
.cp-sw{flex:none;display:inline-grid;place-items:center;width:52px;height:44px;cursor:pointer;border-radius:999px}
.cp-sw:focus-visible{outline:3px solid #152A43;outline-offset:2px}
.cp-sw .tr{position:relative;display:block;width:40px;height:24px;border-radius:999px;background:#C4D0DC;transition:background-color 150ms ease-out}
.cp-sw[aria-checked="true"] .tr{background:#5E7183}
.cp-sw .kn{position:absolute;top:4px;left:4px;width:16px;height:16px;border-radius:999px;background:#fff;display:grid;place-items:center;font:700 11px/1 system-ui,sans-serif}
.cp-sw[aria-checked="true"] .kn{left:20px}
.cp-sw .kn::before{content:"\2713";color:#5E7183;opacity:0;transition:opacity 120ms ease-out}
.cp-sw[aria-checked="true"] .kn::before{opacity:1}
.cp-sw .kn.go-on{animation:cpon 240ms ease-out}
.cp-sw .kn.go-off{animation:cpoff 240ms ease-out}
@keyframes cpon{0%{left:4px;width:16px}30%{left:6px;width:22px}70%{left:22px;width:16px}100%{left:20px;width:16px}}
@keyframes cpoff{0%{left:20px;width:16px}30%{left:14px;width:22px}70%{left:2px;width:16px}100%{left:4px;width:16px}}
@media (prefers-reduced-motion:reduce){.cp-sw .tr,.cp-sw .kn::before{transition:none}.cp-sw .kn.go-on,.cp-sw .kn.go-off{animation:none}}
.cp-blabel{margin:0;color:#33475C}
.cp-addfor{display:flex;flex-direction:column;gap:8px;margin-top:8px}
.cp-addfor fieldset{border:0;padding:0;margin:0;display:flex;gap:16px;flex-wrap:wrap}
.cp-addfor textarea{width:100%;box-sizing:border-box;font:inherit;border:1px solid var(--border-strong);border-radius:8px;padding:8px}
.cp-arow{display:flex;flex-direction:column;gap:4px}
.cp-ellebox{padding:12px;border:1px solid #BFD3E6;border-radius:8px;background:#fff}
.cp-ellebox[hidden]{display:none}
.cp-lk{align-self:flex-start;font-size:14px;color:#152A43;text-decoration:underline;min-height:44px}
.cp-det img{display:block;max-width:160px;max-height:120px;border-radius:6px;border:1px solid var(--border)}
.cp-radio{display:flex;align-items:center;gap:8px;min-height:44px}
.cp-addfor input[type=text]{flex:1;min-height:44px;font:inherit;border:1px solid var(--border-strong);border-radius:8px;padding:4px 8px}
/* care-plan mode of the Feedback tab (run-sheet step 5, design round 21/11/2026). R1 A: ONE slim card above the page tabs,
   the .fb-plain box with a coral left edge */
.fb-plain.cp-card{margin:0 0 16px;background:#fff;border-left:4px solid #E26F66;display:flex;flex-direction:column;gap:8px;padding:16px 20px}
.cp-card h3{margin:0}
.cp-sec{display:flex;flex-direction:column;gap:12px}
.cp-sec+.cp-sec{border-top:1px solid #D7E2E6;padding-top:12px}
.cp-card .cp-text{font-size:15px;line-height:1.6;color:#33475C}
.cp-btns .btn-primary{min-height:40px}
/* R3 A: a pin that goes with another, indented under its main request, grey ↳ marker, no status of its own */
.fb-rows li.fb-goes{margin-left:44px}
@media (max-width:600px){.fb-rows li.fb-goes{margin-left:24px}}
/* R4 A: akoca's side only, a dashed strip (in the conversation under the status, and on akoca's side of the card) */
.fb-ak{margin:8px 0 12px;padding:10px 12px;border:1px dashed #7D8F9C;border-radius:10px;background:#F4F7F9;display:flex;gap:8px 14px;flex-wrap:wrap;align-items:center;font:500 14px var(--sans);color:#152A43}
.fb-akh{flex-basis:100%;font-size:12px;color:#5E7183}
.fb-akn{margin:0;flex-basis:100%;font:400 13px/1.5 var(--body,inherit);color:#33475C}
.fb-akrow{flex-basis:100%}
.fb-akf{display:inline-flex;align-items:center;gap:6px;min-height:44px}
.fb-akf input[type=checkbox],.fb-akf input[type=radio]{width:18px;height:18px;accent-color:#152A43;margin:0}
fieldset.fb-akf{border:0;margin:0;padding:0;flex-wrap:wrap}
fieldset.fb-akf legend{padding:0;margin-right:8px}
.fb-ak select,.fb-ak input[type=url]{min-height:40px;padding:6px 8px;border:1px solid #7D8F9C;border-radius:8px;font:inherit;background:#fff;max-width:100%}
.fb-ak input[type=url]{flex:1 1 220px}
.fb-akf:has(#fbAkGoes){flex:1 1 260px;min-width:0;max-width:100%}
#fbAkGoes{flex:1 1 auto;min-width:0;width:100%;text-overflow:ellipsis}
.fb-akb{flex-basis:100%;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.fb-akb .btn{min-height:40px}
.cp-staffcard .cp-sec .cp-text{font-size:14px}
.cp-akt{margin-top:4px}
/* R5: the add pop-up's one tick box */
.fb-urgent{display:flex;align-items:center;gap:8px;min-height:44px;margin:8px 0 0;font:500 15px var(--sans);color:#152A43}
.fb-urgent input{width:18px;height:18px;accent-color:#152A43;margin:0}
.fb-okq{margin:0 0 8px;font:600 15px var(--sans)}
.fb-okq a{color:#152A43}
.psum{margin:0 0 12px;padding:12px 16px;border-radius:8px;background:#E6EEF7;color:#152A43;font-size:15px}
.prad{border:0;padding:0;margin:0 0 8px;display:flex;flex-direction:column;gap:4px}
.prow{display:flex;align-items:center;gap:12px;min-height:44px;padding:0 12px;border:1px solid var(--border);border-radius:8px;cursor:pointer;font-size:15px}
.prow:has(input:checked){border-color:#152A43;background:#E6EEF7}
.prow input{width:20px;height:20px;accent-color:#152A43}
.tsum{font-size:12px;color:#BFD3E6;white-space:nowrap;align-self:center}
@media (max-width:640px){.tsum{display:none}}
