/* SLHBA feature checklist. Chrome follows the Kairos Design System v4 (kaizn/brand/2026-10-31-kaizn-design-system-v04.md sections 1 to 3), light and dark.
   Started from clients/roxy-cross/site/assets/picker.css. The three buttons are green with a check mark, yellow with a star and gray with an X, so color is never the only signal. */
/* Fonts are served from this site (assets/fonts, license in OFL.txt): no request goes to a font company. */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/PlusJakartaSans-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/PlusJakartaSans-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/PlusJakartaSans-ExtraBold.woff2') format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/SourceSerif4-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/SourceSerif4-SemiBold.woff2') format('woff2'); }
:root {
  --white: #FFFFFF; --mist: #F3F5F8; --navy: #022448; --graphite: #243447; --pewter: #55647A;
  --accent: #B0370F; --line: #7D8CA3; --bar: #F5F7FB; --gl: rgba(2, 36, 72, 0.16); --focus: #1F5FBF;
  --cta-a: #912A00; --cta-b: #C44F0F;
  --h: var(--navy); --tx: var(--graphite); --mu: var(--pewter); --card: #FFFFFF; --sel: #022448; --onsel: #fff;
  --g1: #02542A; --g2: #1C8449; --y1: #FFB81F; --y2: #FFB81F; --yt: #14192E; --n1: #55647A; --n2: #55647A;
  --pg: #E4F2EA; --pgi: #02542A; --py: #FFF1CC; --pyi: #6B4700; --pn: #ECEFF4; --pni: #3E4C61;
  --bevel-ctl: 3px; --bevel-md: 5px; --bevel-lg: 9px;
  --fd: 'Plus Jakarta Sans', system-ui, sans-serif; --fb: 'Source Serif 4', Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --white: #0B0D12; --mist: #161A22; --graphite: #CFD9E6; --pewter: #9DAEC4; --accent: #FF6933; --line: #4A5A74;
    --bar: #141A23; --gl: rgba(255, 255, 255, 0.12); --focus: #86B6F7;
    --h: #F1F5FA; --tx: #CFD9E6; --mu: #9DAEC4; --card: #1F232C; --sel: #F1F5FA; --onsel: #0B1018;
    --g1: #004521; --g2: #17703F; --n1: #4A5A74; --n2: #4A5A74;
    --pg: #12281C; --pgi: #7FD6A1; --py: #2B2410; --pyi: #FFD374; --pn: #232A36; --pni: #B4C2D6;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--tx); font: 400 1.0625rem/1.55 var(--fb); min-height: 100vh; display: flex; flex-direction: column; }
h1, h2, h3 { font-family: var(--fd); font-weight: 800; letter-spacing: -0.02em; margin: 0; color: var(--h); }
h1 { font-size: clamp(1.9rem, 7vw, 2.5rem); line-height: 1.1; margin-bottom: 14px; }
h2 { font-size: clamp(1.3rem, 1.5vw + 1.1rem, 1.6rem); line-height: 1.15; margin: 32px 0 6px; }
h3 { font-size: 1.1rem; line-height: 1.2; margin: 22px 0 6px; }
h2.secname { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); }
p { margin: 0 0 14px; }
.lede { max-width: 34em; margin-bottom: 22px; }
.note { color: var(--mu); font-size: 15px; }
.help a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; color: var(--h); font-weight: 700; text-decoration: underline; }
.wrap, .bar-in { max-width: 720px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
main { flex: 1; padding-top: 24px; padding-bottom: 32px; width: 100%; }
main:focus { outline: 0; }

/* The bevel recipe, kaizn/brand/2026-10-19-beveled-corners-spec-v01.md, copied as is. */
:where(.bevel) { --cut: var(--bevel-md); --band: 1px; --band-color: currentColor; position: relative; }
.bevel {
  --ring: var(--band); --cut-in: calc(var(--cut) + var(--ring) * .414);
  border: var(--band) solid var(--band-color); outline: 0;
  border-radius: var(--cut); corner-shape: bevel;
  box-shadow: inset 0 0 0 calc(var(--ring) - var(--band)) var(--band-color);
}
.bevel:hover { --band-color: var(--accent); }
.bevel:focus-visible, .bevel:has(:focus-visible) { --band-color: var(--focus); --ring: calc(var(--band) + 2px); }
@supports not (corner-shape: bevel) {
  .bevel {
    border: var(--band) solid transparent; border-radius: 0; box-shadow: none;
    clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)),
      calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
  }
  .bevel::after {
    content: ""; position: absolute; inset: calc(-1 * var(--band)); pointer-events: none; background: var(--band-color);
    clip-path: polygon(evenodd,
      var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)),
      calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut), var(--cut) 0,
      var(--cut-in) var(--ring), var(--ring) var(--cut-in), var(--ring) calc(100% - var(--cut-in)),
      var(--cut-in) calc(100% - var(--ring)), calc(100% - var(--cut-in)) calc(100% - var(--ring)),
      calc(100% - var(--ring)) calc(100% - var(--cut-in)), calc(100% - var(--ring)) var(--cut-in),
      calc(100% - var(--cut-in)) var(--ring), var(--cut-in) var(--ring), var(--cut) 0);
  }
}

/* top bar */
.bar { position: sticky; top: 0; z-index: 5; background: var(--white); border-bottom: 1px solid var(--gl); }
.bar-in { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 52px; }
.made { display: inline-flex; align-items: center; gap: 8px; font: 600 13px var(--fd); color: var(--mu); }
.made img { display: block; width: 84px; height: 28px; }
.lg-d { display: none !important; }
@media (prefers-color-scheme: dark) { .lg-l { display: none !important; } .lg-d { display: block !important; } }
.step { font: 700 14px var(--fd); color: var(--mu); text-align: right; }
/* On the narrowest phones the top line fits on one line: "Made for SLHBA by" and "149 picked so far" no longer wrap. */
@media (max-width: 400px) { .made { font-size: 12px; gap: 6px; white-space: nowrap; } .step { font-size: 13px; white-space: nowrap; } }
@media (max-width: 339px) { .made, .step { white-space: normal; } }

/* back and next */
.pager { position: sticky; bottom: 0; background: var(--white); border-top: 1px solid var(--gl); z-index: 5; }
.pager .wrap { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
.sync { margin: 0; font: 600 13px var(--fd); color: var(--mu); text-align: center; flex: 1; }
.back { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--h); font: 800 1rem var(--fd);
  text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.btn { --cut: var(--bevel-ctl); --band: 1px; --band-color: transparent; display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; min-width: 96px; padding: 0 22px; color: #fff; cursor: pointer; background: linear-gradient(135deg, var(--cta-a), var(--cta-b));
  font: 800 16px var(--fd); text-decoration: none; }
.btn[hidden], .back[hidden] { display: none; }
a:focus-visible, button:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.bevel:focus-visible { outline: 0; }

/* the key on the first page */
.key { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.key li { display: flex; align-items: center; gap: 12px; background: var(--card); padding: 12px; }
.key b { font: 800 1rem var(--fd); color: var(--h); display: block; }
.key div span { font-size: 15px; color: var(--mu); }
.chip { --cut: var(--bevel-ctl); --band-color: transparent; flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.c-need { background: var(--g2); color: #fff; }
.c-nice { background: var(--y1); color: var(--yt); }
.c-dont_need { background: var(--n1); color: #fff; }
.sub { font: 700 15px var(--fd); color: var(--mu); margin: -2px 0 12px; }

/* one feature and its three buttons */
.opt, .key li, .empty { --cut: var(--bevel-lg); --band-color: var(--gl); }
.opt:hover, .key li:hover, .empty:hover { --band-color: var(--gl); }
.opt { background: var(--card); padding: 12px; margin: 0 0 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.say { margin: 0; flex: 1 1 0; min-width: 0; overflow-wrap: break-word; color: var(--h); font: 400 1.1875rem/1.45 var(--fb); }
.opt .space-full { flex: 0 0 100%; }
.choose { display: flex; flex-wrap: nowrap; flex: none; gap: 6px; margin: 0; }
.pick { --cut: var(--bevel-ctl); --band: 2px; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 46px; height: 46px; min-width: 44px; min-height: 44px; padding: 0; cursor: pointer; }
.pick svg { display: block; pointer-events: none; }
.pick[data-v="need"] { --band-color: var(--g2); background: var(--pg); color: var(--pgi); }
.pick[data-v="nice"] { --band-color: var(--y1); background: var(--py); color: var(--pyi); }
.pick[data-v="dont_need"] { --band-color: var(--n2); background: var(--pn); color: var(--pni); }
.pick[aria-pressed="true"] { --band: 4px; }
.pick[aria-pressed="true"][data-v="need"] { background: var(--g2); color: #fff; --band-color: var(--g1); }
.pick[aria-pressed="true"][data-v="nice"] { background: var(--y1); color: var(--yt); --band-color: var(--yt); }
.pick[aria-pressed="true"][data-v="dont_need"] { background: var(--n1); color: #fff; --band-color: var(--h); }
.pick:focus-visible { --band-color: var(--focus) !important; }
@media (hover: hover) { .pick:hover { --band-color: var(--h); } }
@media (max-width: 420px) { .opt { gap: 10px; padding: 10px; } .say { font-size: 1.0625rem; } .pick { width: 44px; height: 44px; } .choose { gap: 4px; } }

/* already in the plan */
.plan { margin: 22px 0 0; background: var(--bar); --band: 2px; --band-color: var(--line); }
.plan summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 14px; font: 800 1rem var(--fd); color: var(--h); cursor: pointer; list-style: none; }
.plan summary::-webkit-details-marker { display: none; }
.plan-show { display: inline-flex; align-items: center; gap: 6px; font: 700 14px var(--fd); color: var(--mu); white-space: nowrap; }
.plan-show .chev { transition: transform .15s; }
.plan[open] .plan-show .chev { transform: rotate(180deg); }
.plan:not([open]) .w-hide, .plan[open] .w-show { display: none; }
.local { padding: 10px 14px; background: var(--bar); --band-color: var(--line); color: var(--tx); }
.local[hidden] { display: none; }
.plan ul { margin: 0; padding: 0 14px 6px 34px; }
.plan li { padding: 4px 0; }
.plan p { padding: 0 14px; }

/* notes and the microphone */
.notes { margin-top: 28px; }
.nl { display: block; font: 800 1.125rem/1.3 var(--fd); color: var(--h); margin-bottom: 8px; }
.field { display: block; --band: 2px; --band-color: var(--line); background: var(--card); }
.field:hover { --band-color: var(--line); }
.field textarea { display: block; width: 100%; min-height: 112px; resize: vertical; border: 0; background: none; color: var(--tx); font: 400 1.0625rem/1.55 var(--fb); padding: 12px; }
.field textarea:focus-visible { outline: 0; }
/* space meter: shows only past 80 percent of the 16 KB save limit */
.space { margin-top: 10px; }
.space[hidden] { display: none; }
.space-t { margin: 0 0 6px; font: 600 14px/1.4 var(--fd); color: var(--mu); }
.space-bar { height: 6px; background: var(--gl); }
.space-bar i { display: block; height: 100%; width: 0; background: var(--mu); }
.space-full { margin: 8px 0 0; font: 800 15px/1.4 var(--fd); color: var(--accent); }
.space-full:empty { display: none; }
.opt .space-full { padding: 0; }
.mic-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.mic { --cut: var(--bevel-ctl); --band: 2px; --band-color: var(--line); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; background: var(--bar); color: var(--h); font: 800 15px var(--fd); cursor: pointer; }
.mic[aria-pressed="true"] { background: var(--sel); color: var(--onsel); --band-color: var(--sel); }
.mic svg { flex: none; fill: currentColor; }
.mic-state { font: 600 14px var(--fd); color: var(--mu); }
.tip { margin: 10px 0 0; }

/* last page: topic list */
.topics { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.topics a { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 48px; padding: 6px 14px; background: var(--card); --band: 1px; --band-color: var(--gl); color: var(--h); font: 700 1rem var(--fd); text-decoration: none; }
.topics small { font: 600 14px var(--fd); color: var(--mu); white-space: nowrap; }
.empty { color: var(--mu); background: var(--card); padding: 16px; }
.thanks { font: 800 1.25rem/1.3 var(--fd); color: var(--h); margin-top: 24px; }
.banner { --band-color: var(--line); --band: 2px; margin: 12px 16px 0; padding: 10px 16px; background: var(--bar); color: var(--h); font-size: 15px; }
.banner:hover { --band-color: var(--line); }
.chip:hover { --band-color: transparent; }
