/* Your calls and tick lists (SPEC.md 54), in the approved minimal look (Geeno, 22 Oct 2026: "all the
   advantages of both and no negatives ... change that brown theming. Keep it all simple and
   minimalist"; memory office-records/ui-merged-minimal-2026-10-22). System font, hairlines not
   boxes, one accent, no shadows, no gradients. Every colour is one of app.css's own variables
   (SPEC.md 51): the palettes and their dark sets are set there once, so the one switch
   (src/web/palette.js, html[data-palette]) and dark (the phone, or Settings) turn these cards with
   the rest. This sheet chooses no colour of its own. */

:root{--ui-font:var(--sans)}

/* ---------- shared ---------- */
.yc,.tl,.dk-list,.yc-head,.yc-page,.sit-top,.sit-end,.yc-new{font-family:var(--ui-font)}
.yc summary,.tl summary{list-style:none}
.yc summary::-webkit-details-marker,.tl summary::-webkit-details-marker{display:none}
.yc-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:14px;color:var(--muted);font-weight:500}
.yc-by{text-align:right}
.yc-by.near{color:var(--ink);font-weight:600}
.yc-q{font-size:22px;line-height:1.25;font-weight:650;letter-spacing:-.01em;margin-top:6px;color:var(--ink)}
/* A title that opens the call's page answers a tap over 48px: its own padding, with nothing laid over it. */
.yc-q.yc-qa{margin-top:0}
.yc-qa a{display:block;padding:11px 0;color:inherit}
.yc-qa+.yc-why,.yc-qa+.yc-lock{margin-top:0}
h1.yc-q{font-size:28px;line-height:1.15;font-weight:700;letter-spacing:-.015em}
.yc-why{font-size:16px;color:var(--muted);margin-top:6px;line-height:1.45}
.yc-fine{font-size:14px;color:var(--muted);margin-top:8px;line-height:1.45}
.yc-pad{padding:4px 0}
.yc-note{display:flex;align-items:center;gap:8px;font-size:15px;color:var(--muted);margin-top:10px}
.yc-lock{display:inline-flex;align-items:center;gap:5px;font-size:14px;color:var(--muted);margin-top:6px}
.yc-link{display:inline-flex;align-items:center;gap:6px;min-height:48px;color:var(--atext);font-weight:600;font-size:16px}
.yc-ql:focus-visible,.tl-hit:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.yc-quiet{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:0 4px;margin-top:6px}
.yc-qf{margin:0}
.yc-ql{display:inline-flex;align-items:center;gap:6px;min-height:48px;padding:4px 6px;color:var(--muted);font-weight:500;font-size:16px;background:none;border:0;cursor:pointer;font-family:var(--ui-font);text-align:left;line-height:1.3}
.yc-quiet>:first-child .yc-ql,.yc-quiet>.yc-ql:first-child{margin-left:-6px}
.yc-else[open]{flex-basis:100%}
.yc-ownf{margin-top:4px}
.yc-fl{display:block;font-size:15px;font-weight:600;color:var(--ink);margin:6px 0 6px}
.yc-box,.tl-field{width:100%;border-radius:12px;background:var(--surface);color:var(--ink);font:inherit;font-size:16px;font-family:var(--ui-font)}
.yc-box{border:1px solid var(--line);padding:12px 14px;min-height:96px;resize:vertical}
.yc-box:focus,.tl-field:focus{outline:none;border-color:var(--accent)}

/* ---------- a call's card ---------- */
.yc{padding:20px 0 14px;border-top:1px solid var(--line);margin-top:18px}
/* Under Next's heading on the Desk the card opens the list, with no line of its own (shots/P1-1-desk.png). */
.sh+.yc{border-top:0;margin-top:0;padding-top:4px}
.yc-page>.yc:first-child,.yc-sit{border-top:0;margin-top:0;padding-top:6px}
.yc-opts{border:0;margin:14px -12px 0;padding:0;min-width:0}
.yc-opt{display:flex;gap:14px;align-items:flex-start;padding:13px 12px;border-radius:12px;min-height:52px;cursor:pointer;color:var(--ink)}
.yc-opt+.yc-opt{margin-top:2px}
.yc-rad{appearance:none;-webkit-appearance:none;width:22px;height:22px;border-radius:50%;border:2px solid var(--ring);margin:1px 0 0;flex:none;display:grid;place-items:center;background:transparent;cursor:pointer}
.yc-rad:checked{border-color:var(--accent)}
.yc-rad:checked::before{content:"";width:10px;height:10px;border-radius:50%;background:var(--accent)}
.yc-rad:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.yc-ot{flex:1;min-width:0}
.yc-ot b{display:block;font-weight:600;font-size:17px;line-height:1.3}
.yc-sug{font-size:14px;color:var(--atext);font-weight:600;display:flex;align-items:center;gap:5px;margin-top:3px}
.yc-mean{display:none;font-size:15px;color:var(--muted);margin-top:5px;line-height:1.45}
.yc-cost{flex:none;font-weight:600;font-variant-numeric:tabular-nums;text-align:right;font-size:17px;line-height:1.3;max-width:40%}
.yc-cost small{display:block;font-size:13px;color:var(--muted);font-weight:500}
.yc-whyc{display:flex;gap:6px;align-items:flex-start;font-size:15px;color:var(--muted);margin-top:10px;line-height:1.45}
.yc-whyc .i{color:var(--atext);margin-top:3px}
/* The pick, and the main button that follows it. Without :has, the office's own pick (and the
   script's, which moves .sel and .on as he taps); with :has, the radio button checked now. */
.btn .yc-l{display:none}
.yc-opt.sel{background:var(--soft)}
.yc-opt.sel .yc-mean{display:block}
.btn .yc-l.on{display:inline}
@supports selector(:has(*)){
  .yc-opt.sel{background:transparent}
  .yc-opt.sel .yc-mean{display:none}
  .yc-opt:has(.yc-rad:checked){background:var(--soft)}
  .yc-opt:has(.yc-rad:checked) .yc-mean{display:block}
  .btn .yc-l.on{display:none}
  .yc-form:not(:has(.yc-rad:checked)) .btn .yc-l0,
  .yc-form:has(.yc-rad[value="1"]:checked) .btn .yc-l1,
  .yc-form:has(.yc-rad[value="2"]:checked) .btn .yc-l2,
  .yc-form:has(.yc-rad[value="3"]:checked) .btn .yc-l3,
  .yc-form:has(.yc-rad[value="4"]:checked) .btn .yc-l4{display:inline}
}
/* A decided call on its page. */
.yc-state{margin-top:14px;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.yc-stk{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--atext);margin-bottom:4px}
.yc-state b{display:block;font-size:18px;font-weight:600}
.yc-hist{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.yc-hist li{padding:10px 0;border-bottom:1px solid var(--line);font-size:16px;line-height:1.4}
.yc-hist small{display:block;font-size:14px;color:var(--muted)}
.yc-sh{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:26px 0 8px}
.yc-sh h2{font-size:19px;font-weight:650;letter-spacing:-.005em}
.yc-head{padding:0 0 4px}
.yc-tline{display:flex;align-items:center;justify-content:space-between;gap:12px}
.yc-sub{font-size:17px;color:var(--muted);margin-top:8px}
.yc-optset{border:0;border-top:1px solid var(--line);margin:18px 0 0;padding:12px 0 0;min-width:0}
.yc-optset legend{font-weight:650;font-size:17px;padding:0}
.yc-new .btn{margin-top:20px}

/* ---------- the list of calls ---------- */
.dk-list{border-top:1px solid var(--line);margin-top:10px}
.dk-tx{flex:1;min-width:0}
.dk-tx b{display:block;font-weight:600;font-size:17px;line-height:1.3;color:var(--ink)}
.dk-tx small{display:block;font-size:15px;color:var(--muted);line-height:1.35;margin-top:2px}
.dk-chev{color:var(--muted);flex:none}
.dk-row1{display:flex;align-items:center;gap:12px;min-height:64px;padding:10px 0;border-bottom:1px solid var(--line);color:var(--ink)}

/* ---------- a tick list ---------- */
.tl{margin-top:14px}
.tl-prog{appearance:none;-webkit-appearance:none;display:block;width:100%;height:4px;border:0;border-radius:2px;background:var(--line);margin-top:12px;overflow:hidden;color:var(--accent)}
.tl-prog::-webkit-progress-bar{background:var(--line);border-radius:2px}
.tl-prog::-webkit-progress-value{background:var(--accent);border-radius:2px}
.tl-prog::-moz-progress-bar{background:var(--accent);border-radius:2px}
.tl-steps{list-style:none;margin:8px 0 0;padding:0}
.tl-step{display:flex;flex-wrap:wrap;gap:0 14px;align-items:flex-start;min-height:56px;border-bottom:1px solid var(--line)}
.tl-step:last-child{border-bottom:0}
.tl-f{flex:none;margin:0}
.tl-hit{width:48px;height:48px;display:grid;place-items:center;flex:none;margin:4px -11px 0;background:none;border:0;padding:0;cursor:pointer}
.tl-tick{width:26px;height:26px;border-radius:50%;border:2px solid var(--ring);display:grid;place-items:center;color:var(--on);flex:none}
.tl-tick.on{background:var(--accent);border-color:var(--accent)}
.tl-st{flex:1;min-width:0;font-size:17px;line-height:1.4;padding:15px 0 12px;color:var(--ink)}
.tl-step.done .tl-tx{color:var(--muted);text-decoration:line-through;text-decoration-thickness:1px}
.tl-st small{display:flex;align-items:center;gap:6px;font-size:14px;color:var(--muted);margin-top:3px}
.tl-step.proof{display:block}
.tl-head{display:flex;gap:14px;align-items:flex-start;cursor:pointer;min-height:56px}
.tl-head .tl-hit{cursor:pointer}
.tl-proof{margin:2px 0 12px 40px}
.tl-field{min-height:52px;padding:0 14px;border:2px solid var(--accent)}
.tl-q{display:inline-flex;align-items:center;gap:8px;min-height:48px;color:var(--muted);font-size:15px;font-weight:500;cursor:pointer}
.tl-q .i{color:var(--atext)}
.tl-show{color:var(--atext);font-weight:600;margin-left:4px}
.tl-more{flex-basis:100%;margin:-6px 0 4px 40px}
.tl-before{margin-top:2px}
.tl-before .tl-steps{margin-top:0}
.tl-all{display:flex;align-items:center;gap:8px;font-size:15px;color:var(--muted);margin-top:8px}
.tl-all .i{color:var(--atext)}
.tl-skipf{margin-top:6px}
.tl-plain{list-style:none;margin:10px 0 0;padding:0;border-top:1px solid var(--line)}
.tl-plain li{display:flex;gap:14px;align-items:flex-start;padding:8px 0;border-bottom:1px solid var(--line)}
.tl-plain .tl-tick{margin-top:12px}
.tl-plain .tl-st{padding:12px 0 6px}

/* ---------- the sitting ---------- */
.sit-top{display:flex;align-items:center;gap:10px;min-height:60px}
.sit-x{width:48px;height:48px;display:grid;place-items:center;color:var(--muted);margin-left:-12px;flex:none}
.sit-prog{flex:1;margin:0}
.sit-cnt{font-size:15px;color:var(--muted);font-variant-numeric:tabular-nums;font-weight:500;white-space:nowrap}
.sit-body{padding:8px 0 24px}
.yc-sit .yc-q{font-size:26px;line-height:1.15;font-weight:700}
.sit-h{margin-top:8px}
.sit-grp{padding-top:20px}
.sit-grp h3{font-size:15px;font-weight:600;color:var(--muted);display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding-bottom:6px;border-bottom:1px solid var(--line)}
.sit-grp h3 small{font-weight:400;font-size:14px}
.sit-row{display:flex;align-items:center;gap:12px;min-height:52px;border-bottom:1px solid var(--line)}
.sit-tx{flex:1;min-width:0;font-size:16px;line-height:1.35;color:var(--ink);padding:8px 0;min-height:48px}
.sit-tx b{font-weight:600;display:block}
.sit-tx small{display:block;font-size:14px;color:var(--muted);margin-top:1px}
.sit-u{min-height:48px;display:inline-flex;align-items:center;padding:0 2px 0 16px;color:var(--atext);font-weight:600;font-size:15px;background:none;border:0;cursor:pointer;font-family:var(--ui-font)}
.sit-foot{margin-top:18px}
.sit-foot .btn{text-decoration:none}

/* ---------- on a laptop, the same, a little wider apart ---------- */
@media (min-width:1024px){
  .yc-opts{margin-left:-12px;margin-right:-12px}
  .sit-body{max-width:640px}
}
.tl-skipd{margin:6px 0 0}
.yc-day{min-height:52px}

/* When a call came through, under its question (10 Nov). */
.yc-came{margin:6px 0 0;font-size:14px;color:var(--muted);font-weight:500}
