/* The office's design system: the minimal look Geeno approved on 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: tools/base.css, the
   palettes and shots/*.png). The system's own font, a near-white page, hairlines instead of
   boxes, one accent colour, no shadows and no gradients. Phone first (412 px), a side rail
   from 1024 px. Every colour is a variable: html[data-palette] picks the palette (p1 ink and
   green, the default; p2 charcoal and blue: src/web/palette.js is the one switch), and
   html[data-theme] picks light or dark (it follows Settings, Look; auto follows the phone).
   No inline styles anywhere (the content security policy refuses them): every look is a
   class here. Pages not yet rebuilt keep their old markup; old.css styles that. */

/* ---------- tokens: light (P1, ink and green) ----------
   The design's own: bg, surface (a filled box), line (a hairline), hair (a control's outline),
   ink, muted, ring (a tick or radio ring), accent (fills), on (words on the accent), soft (a
   tint of the accent), atext (the accent as words), tbg, tink and tacc (the toast). The older
   names the pages still use are kept and set from the same few colours, so a colour is never
   chosen twice. */
:root{
  color-scheme:light;
  --bg:#FBFBFA; --surface:#F2F1EE; --line:#E3E1DC; --hair:#8A918C; --ink:#121413; --muted:#565C58; --ring:#8A918C;
  --st-now:#ECE8DF; --raise-now:#FBFAF7; --line-now:#DAD5C9; --st-place:#E6E8EA; --raise-place:#F8F9FA; --line-place:#D5D9DD; --raise-plain:#FFFFFF; --st-claude:#F2F1EE; --raise-claude:#FFFFFF; --line-claude:#E3E1DC; --st-done:#F2F1EE; --line-done:#E3E1DC; --cl-ink:#5B3FB0; --cl-soft:#E0D8F2; --accent:#17663F; --on:#FFFFFF; --soft:#E6E3DC; --atext:#121413; --tbg:#1B1F1D; --tink:#F3F5F4; --tacc:#8FD9AE;
  --card:#FBFBFA; --card2:#F2F1EE; --ink2:#565C58; --ink3:#565C58; --wash:#F2F1EE;
  --focus:#17663F; --badge-bg:#17663F;
  --red:#C2362B; --red-ink:#B3261E; --red-soft:#FBEAE8; --amber:#121413; --amber-ink:#121413; --amber-soft:#F2F1EE;
  --green:#17663F; --green-ink:#17663F; --green-soft:#E6F1EA; --grey-soft:#F2F1EE; --slate:#565C58; --slate-soft:#F2F1EE;
  --coral-ink:#B3261E; --coral-soft:#FBEAE8; --lock-ink:#121413; --lock-soft:#F2F1EE; --blue-ink:#121413; --blue-soft:#E9E8E4; --blue-dot:#565C58;
  --violet-ink:#121413; --violet-soft:#F2F1EE; --sun-ink:#121413; --sun-soft:#F2F1EE;
  --strip-bg:#F2F1EE; --strip-ink:#121413; --ppill-bg:#F2F1EE; --ppill-ink:#121413; --paper-bg:#F2F1EE; --paper-ink:#565C58;
  --rail-bg:#FBFBFA; --bar-solid:#FBFBFA;
  --scrim:rgba(0,0,0,.36);
  --mk-chase:#1F5FD0; --mk-chase-ink:#1A4FB0; --mk-chase-soft:#E8EFFC;
  --sans:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --bar:72px;
}

/* ---------- tokens: dark (auto follows the phone; Settings can force it) ---------- */
@media (prefers-color-scheme:dark){
  html[data-theme="auto"]{
    color-scheme:dark;
    --bg:#0F1110; --surface:#1D1E1D; --line:#2D2F2D; --hair:#6E7772; --ink:#EBEEEC; --muted:#A0A8A3; --ring:#6E7772;
    --st-now:#2B2A27; --raise-now:#3B3A36; --line-now:#403F3A; --st-place:#22262A; --raise-place:#30353B; --line-place:#343A40; --raise-plain:#2B2C2B; --st-claude:#1D1E1D; --raise-claude:#2B2C2B; --line-claude:#2D2F2D; --st-done:#1D1E1D; --line-done:#2D2F2D; --cl-ink:#C5B3FF; --cl-soft:#352C4C; --accent:#6CCB95; --on:#06130B; --soft:#2A2B29; --atext:#EBEEEC; --tbg:#E9EDEA; --tink:#121413; --tacc:#17663F;
    --card:#0F1110; --card2:#1D1E1D; --ink2:#A0A8A3; --ink3:#A0A8A3; --wash:#1D1E1D;
    --focus:#7DD3A3; --badge-bg:#17663F;
    --red:#F2766B; --red-ink:#FF8A80; --red-soft:#3A1916; --amber:#EBEEEC; --amber-ink:#EBEEEC; --amber-soft:#1D1E1D;
    --green:#7DD3A3; --green-ink:#7DD3A3; --green-soft:#17291F; --grey-soft:#1D1E1D; --slate:#A0A8A3; --slate-soft:#1D1E1D;
    --coral-ink:#FF8A80; --coral-soft:#3A1916; --lock-ink:#EBEEEC; --lock-soft:#1D1E1D; --blue-ink:#EBEEEC; --blue-soft:#292826; --blue-dot:#A0A8A3;
    --violet-ink:#EBEEEC; --violet-soft:#1D1E1D; --sun-ink:#EBEEEC; --sun-soft:#1D1E1D;
    --strip-bg:#1D1E1D; --strip-ink:#EBEEEC; --ppill-bg:#1D1E1D; --ppill-ink:#EBEEEC; --paper-bg:#1D1E1D; --paper-ink:#A0A8A3;
    --rail-bg:#0F1110; --bar-solid:#0F1110;
    --scrim:rgba(0,0,0,.6);
    --mk-chase:#7FB0FF; --mk-chase-ink:#A9C8FF; --mk-chase-soft:#17233A;
  }
}
html[data-theme="dark"]{
  color-scheme:dark;
  --bg:#0F1110; --surface:#1D1E1D; --line:#2D2F2D; --hair:#6E7772; --ink:#EBEEEC; --muted:#A0A8A3; --ring:#6E7772;
  --st-now:#2B2A27; --raise-now:#3B3A36; --line-now:#403F3A; --st-place:#22262A; --raise-place:#30353B; --line-place:#343A40; --raise-plain:#2B2C2B; --st-claude:#1D1E1D; --raise-claude:#2B2C2B; --line-claude:#2D2F2D; --st-done:#1D1E1D; --line-done:#2D2F2D; --cl-ink:#C5B3FF; --cl-soft:#352C4C; --accent:#6CCB95; --on:#06130B; --soft:#2A2B29; --atext:#EBEEEC; --tbg:#E9EDEA; --tink:#121413; --tacc:#17663F;
  --card:#0F1110; --card2:#1D1E1D; --ink2:#A0A8A3; --ink3:#A0A8A3; --wash:#1D1E1D;
  --focus:#7DD3A3; --badge-bg:#17663F;
  --red:#F2766B; --red-ink:#FF8A80; --red-soft:#3A1916; --amber:#EBEEEC; --amber-ink:#EBEEEC; --amber-soft:#1D1E1D;
  --green:#7DD3A3; --green-ink:#7DD3A3; --green-soft:#17291F; --grey-soft:#1D1E1D; --slate:#A0A8A3; --slate-soft:#1D1E1D;
  --coral-ink:#FF8A80; --coral-soft:#3A1916; --lock-ink:#EBEEEC; --lock-soft:#1D1E1D; --blue-ink:#EBEEEC; --blue-soft:#292826; --blue-dot:#A0A8A3;
  --violet-ink:#EBEEEC; --violet-soft:#1D1E1D; --sun-ink:#EBEEEC; --sun-soft:#1D1E1D;
  --strip-bg:#1D1E1D; --strip-ink:#EBEEEC; --ppill-bg:#1D1E1D; --ppill-ink:#EBEEEC; --paper-bg:#1D1E1D; --paper-ink:#A0A8A3;
  --rail-bg:#0F1110; --bar-solid:#0F1110;
  --scrim:rgba(0,0,0,.6);
  --mk-chase:#7FB0FF; --mk-chase-ink:#A9C8FF; --mk-chase-soft:#17233A;
}

/* ---------- the second palette (P2, charcoal and blue): the same design, other colours ---------- */
html[data-palette="p2"]{
  --bg:#FAFAFB; --surface:#F0F2F5; --line:#E1E4E9; --hair:#8A919C; --ink:#1E2227; --muted:#545B66; --ring:#8A919C;
  --accent:#1F4FB8; --on:#FFFFFF; --soft:#E8EEFA; --atext:#1F4FB8; --tbg:#1E2227; --tink:#F3F5F8; --tacc:#9FBCFF;
  --card:#FAFAFB; --card2:#F0F2F5; --ink2:#545B66; --ink3:#545B66; --wash:#F0F2F5;
  --focus:#1F4FB8; --badge-bg:#1F4FB8;
  --amber:#1E2227; --amber-ink:#1E2227; --amber-soft:#F0F2F5;
  --green:#1F4FB8; --green-ink:#1F4FB8; --green-soft:#E8EEFA; --grey-soft:#F0F2F5; --slate:#545B66; --slate-soft:#F0F2F5;
  --lock-ink:#1E2227; --lock-soft:#F0F2F5; --blue-ink:#1F4FB8; --blue-soft:#E8EEFA; --blue-dot:#1F4FB8;
  --violet-ink:#1E2227; --violet-soft:#F0F2F5; --sun-ink:#1E2227; --sun-soft:#F0F2F5;
  --strip-bg:#F0F2F5; --strip-ink:#1E2227; --ppill-bg:#F0F2F5; --ppill-ink:#1E2227; --paper-bg:#F0F2F5; --paper-ink:#545B66;
  --rail-bg:#FAFAFB; --bar-solid:#FAFAFB;
}
@media (prefers-color-scheme:dark){
  html[data-palette="p2"][data-theme="auto"]{
    --bg:#101216; --surface:#1A1D23; --line:#2A2F38; --hair:#6D7480; --ink:#E7EAEE; --muted:#A0A7B3; --ring:#6D7480;
    --accent:#8DB0FF; --on:#0A1633; --soft:#18223A; --atext:#9DBBFF; --tbg:#E7EAEE; --tink:#1E2227; --tacc:#1F4FB8;
    --card:#101216; --card2:#1A1D23; --ink2:#A0A7B3; --ink3:#A0A7B3; --wash:#1A1D23;
    --focus:#9DBBFF; --badge-bg:#1F4FB8;
    --amber:#E7EAEE; --amber-ink:#E7EAEE; --amber-soft:#1A1D23;
    --green:#9DBBFF; --green-ink:#9DBBFF; --green-soft:#18223A; --grey-soft:#1A1D23; --slate:#A0A7B3; --slate-soft:#1A1D23;
    --lock-ink:#E7EAEE; --lock-soft:#1A1D23; --blue-ink:#9DBBFF; --blue-soft:#18223A; --blue-dot:#8DB0FF;
    --violet-ink:#E7EAEE; --violet-soft:#1A1D23; --sun-ink:#E7EAEE; --sun-soft:#1A1D23;
    --strip-bg:#1A1D23; --strip-ink:#E7EAEE; --ppill-bg:#1A1D23; --ppill-ink:#E7EAEE; --paper-bg:#1A1D23; --paper-ink:#A0A7B3;
    --rail-bg:#101216; --bar-solid:#101216;
    --mk-chase:#7FB0FF; --mk-chase-ink:#A9C8FF; --mk-chase-soft:#17233A;
  }
}
html[data-palette="p2"][data-theme="dark"]{
  --bg:#101216; --surface:#1A1D23; --line:#2A2F38; --hair:#6D7480; --ink:#E7EAEE; --muted:#A0A7B3; --ring:#6D7480;
  --accent:#8DB0FF; --on:#0A1633; --soft:#18223A; --atext:#9DBBFF; --tbg:#E7EAEE; --tink:#1E2227; --tacc:#1F4FB8;
  --card:#101216; --card2:#1A1D23; --ink2:#A0A7B3; --ink3:#A0A7B3; --wash:#1A1D23;
  --focus:#9DBBFF; --badge-bg:#1F4FB8;
  --amber:#E7EAEE; --amber-ink:#E7EAEE; --amber-soft:#1A1D23;
  --green:#9DBBFF; --green-ink:#9DBBFF; --green-soft:#18223A; --grey-soft:#1A1D23; --slate:#A0A7B3; --slate-soft:#1A1D23;
  --lock-ink:#E7EAEE; --lock-soft:#1A1D23; --blue-ink:#9DBBFF; --blue-soft:#18223A; --blue-dot:#8DB0FF;
  --violet-ink:#E7EAEE; --violet-soft:#1A1D23; --sun-ink:#E7EAEE; --sun-soft:#1A1D23;
  --strip-bg:#1A1D23; --strip-ink:#E7EAEE; --ppill-bg:#1A1D23; --ppill-ink:#E7EAEE; --paper-bg:#1A1D23; --paper-ink:#A0A7B3;
  --rail-bg:#101216; --bar-solid:#101216;
  --mk-chase:#7FB0FF; --mk-chase-ink:#A9C8FF; --mk-chase-soft:#17233A;
}

/* ---------- room colours: identity only, never a state (IA 6.3). Keys stay the office's own.
   A small dot and the room's name; never a filled block. --c2 is the deep tone for words on a
   light page, --c the lighter one for a dark page and the dots. ---------- */
.room-ginger{--c:#5DBB86;--c2:#1E6B43}
.room-money{--c:#62A0E6;--c2:#1D5A9E}
.room-server{--c:#3DB3B0;--c2:#11676A}
.room-deadline-diary{--c:#B593F2;--c2:#6236B8}
.room-cosy-casa{--c:#E58BD6;--c2:#9C2F8A}
.room-amit{--c:#6CC3E8;--c2:#1C7196}
.room-any{--c:#A9B5AE;--c2:#56635C}
.room-selling{--c:#EE85B8;--c2:#A62865}
.room-laptop{--c:#98A8BC;--c2:#4A596B}
.room-legal{--c:#959CF5;--c2:#3F48B8}
.room-private{--c:#A3AAA5;--c2:#565C58}
/* Tones for a group heading or a segment (bill states): words carry the meaning, so the tones
   are the page's own few colours (--c words, --s a segment, --tc a tint, --lc unused now). */
.tone-red{--c:var(--red-ink);--s:var(--red);--tc:var(--red-soft)}
.tone-amber{--c:var(--ink);--s:var(--ink);--tc:var(--surface)}
.tone-gold{--c:var(--ink);--s:var(--ink);--tc:var(--surface)}
.tone-green{--c:var(--atext);--s:var(--accent);--tc:var(--soft)}
.tone-slate{--c:var(--muted);--s:var(--ring);--tc:var(--surface)}
.tone-grey{--c:var(--muted);--s:var(--line);--tc:var(--surface)}
.tone-plum{--c:var(--muted);--s:var(--ring);--tc:var(--surface)}
.tone-blue{--c:var(--muted);--s:var(--ring);--tc:var(--surface)}
.tone-rose{--c:var(--red-ink);--s:var(--red);--tc:var(--red-soft)}

/* ---------- base ---------- */
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:64px;background:var(--bg)}
body{font-family:var(--sans);color:var(--ink);font-size:17px;line-height:1.45;-webkit-font-smoothing:antialiased;min-height:100vh;font-variant-numeric:lining-nums;
  background:var(--bg);overflow-x:hidden;overflow-wrap:anywhere}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit;color:inherit;border:0;background:none}
button{cursor:pointer}
[hidden]{display:none!important}
.i{flex:none;display:block}
.page{position:relative;max-width:560px;margin:0 auto;padding:0 20px calc(var(--bar) + 56px + env(safe-area-inset-bottom))}
.page.nobar,body.signed-out .page{padding-bottom:40px}
.lap-only{display:none!important}
.sr,.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.skip{position:absolute;left:-10000px;top:0;z-index:300}
.skip:focus{left:12px;top:12px;display:inline-flex;align-items:center;min-height:48px;padding:0 16px;border-radius:12px;background:var(--surface);color:var(--ink);font-weight:600}
.press{transition:opacity .16s,background-color .16s;-webkit-tap-highlight-color:transparent}
.press:active{opacity:.72}
/* A checkbox's or radio button's label never moves when pressed: a touch at its very edge must
   still land on it (lane B step B3, measured). */
label.press:active{transform:none}
:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:10px}
main:focus{outline:none}
/* Very large text (mobile-13): headings, the bar's labels and buttons break between words, never
   mid-letter, as the page's own overflow-wrap:anywhere would let them. */
.hello,.greet-date,.ptitle,.tab span,.btn{overflow-wrap:break-word}

/* ---------- small shared parts ---------- */
.kicker{font-size:15px;font-weight:500;color:var(--muted)}
.muted{color:var(--muted)}
.small{font-size:15px;color:var(--muted);line-height:1.45}
.fine{font-size:14px;color:var(--muted);line-height:1.45}
.ib{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;flex:none;color:var(--muted)}
.avatar{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;font-weight:600;font-size:15px;color:var(--ink);flex:none;position:relative}
.avatar .rd{position:absolute;right:5px;top:5px;width:11px;height:11px;border-radius:50%;background:var(--red);border:2px solid var(--bg)}
.hbtns{display:flex;gap:4px;align-items:center;flex:none}
.rt{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--c2,var(--muted));white-space:nowrap}
.rt i{width:7px;height:7px;border-radius:50%;background:var(--c2,var(--muted));flex:none}
.rt .sf{color:var(--muted);font-weight:500}
.ch{display:inline-flex;align-items:center;gap:5px;min-height:26px;font-size:13.5px;font-weight:600;padding:3px 10px;border-radius:999px;white-space:nowrap;line-height:1.2;background:var(--surface);color:var(--ink)}
.ch .i{width:14px;height:14px}
.ch.red{background:var(--red-soft);color:var(--red-ink)}
.ch.amber{background:var(--surface);color:var(--ink)}
.ch.coral{background:var(--red-soft);color:var(--red-ink)}
.ch.fixed{background:transparent;box-shadow:inset 0 0 0 1px var(--hair);color:var(--ink)}
.ch.green{background:var(--soft);color:var(--atext)}
.ch.grey{background:var(--surface);color:var(--muted)}
.ch.spark{background:var(--soft);color:var(--atext)}
.ch.sugg{background:transparent;box-shadow:inset 0 0 0 1px var(--atext);color:var(--atext)}
.ch.lock{background:var(--surface);color:var(--ink)}
.ch.nn{background:var(--soft);color:var(--atext)}
.ch.nn::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--blue-dot)}
.ch.slate{background:var(--surface);color:var(--muted)}
/* "What's this" taps (IA 3.17): a chip or number that explains itself keeps its small look
   and answers over a 48 px tall band. Without the page's script it is plain text. */
[data-tip]{cursor:help}
.hit,.ch[data-tip],.bstate[data-tip]{position:relative}
.hit::after,.ch[data-tip]::after,.bstate[data-tip]::after{content:"";position:absolute;left:-4px;right:-4px;top:50%;height:48px;transform:translateY(-50%)}
.rm .ch[data-tip]::after,.dm .ch[data-tip]::after,.itop .ch[data-tip]::after{left:0;right:0}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 18px;border-radius:12px;font-size:17px;font-weight:600;white-space:nowrap;text-align:center;cursor:pointer}
/* One set of buttons (specs/one-system.md section 4): primary, the one main thing on a screen, the accent, filled. */
.btn.primary{background:var(--accent);color:var(--on)}
/* secondary: any other button, a quiet grey fill; on a filled box it takes the page's colour instead. */
.btn.secondary{background:var(--surface);color:var(--ink)}
.btn.wide{width:100%}
.btn.sm{min-height:48px;font-size:16px;padding:0 14px}
.btn.wrap{white-space:normal;line-height:1.2}
.btn .ext{opacity:.8}
.btn[disabled]{opacity:.6;cursor:default}
/* A card is words between hairlines (a row's round icon called card is not one). */
.card:not(.ic){border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.link{display:inline-flex;align-items:center;gap:4px;color:var(--atext);font-weight:600;font-size:16px;min-height:48px}
.link.inl{min-height:48px;vertical-align:middle;padding:0 2px}
.linkrow{display:flex;flex-wrap:wrap;gap:8px 18px;padding:4px 0 8px}
.banner{display:flex;gap:10px;align-items:center;margin:14px 0 0;padding:12px 14px;border-radius:12px;background:var(--surface);color:var(--ink);font-size:15px;line-height:1.4;font-weight:500}
.banner .i{margin-top:1px;color:var(--atext)}
.banner a{font-weight:600;color:var(--atext);text-decoration:underline;text-underline-offset:3px;display:inline-flex;align-items:center;min-height:48px;vertical-align:middle}
.banner.sun{background:var(--surface);color:var(--ink)}

/* ---------- headers ---------- */
.phead{max-width:560px;margin:0 auto;padding:0 20px}
.top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding-top:12px;margin-right:-14px}
.ptitle{font-weight:700;font-size:30px;line-height:1.15;letter-spacing:-.015em;min-width:0;padding-top:4px}
.plede{font-size:17px;line-height:1.45;color:var(--muted);margin-top:8px}
.plede b{color:var(--ink);font-weight:600}
.nav{display:flex;justify-content:space-between;align-items:center;gap:8px;padding-top:4px;margin:0 -14px 0 -12px}
.back{display:inline-flex;align-items:center;gap:2px;min-height:48px;flex:0 1 auto;min-width:0;padding:0 10px 0 6px;font-weight:500;font-size:16px;color:var(--muted);max-width:62vw;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.back span{overflow:hidden;text-overflow:ellipsis}
.ppill{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:48px;min-width:48px;padding:0 14px;flex:none;color:var(--ppill-ink);font-size:14px;font-weight:600}
.slim{position:fixed;left:0;right:0;top:0;z-index:45;height:56px;padding:0 6px env(safe-area-inset-top) 8px;display:flex;align-items:center;gap:4px;
  background:var(--bg);border-bottom:1px solid var(--line);transform:translateY(-110%);transition:transform .22s ease;visibility:hidden}
.slim.on{transform:none;visibility:visible}
.slim b{flex:1;min-width:0;font-size:16px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.slim b span{color:var(--muted);font-weight:400}
.slim .ib{width:48px;height:48px}
.strip{display:flex;align-items:center;gap:10px;margin:0 -20px;width:calc(100% + 40px);text-align:left;min-height:48px;padding:8px 20px;background:var(--strip-bg);color:var(--strip-ink);font-size:15px;font-weight:500;line-height:1.3}
.strip b{margin-left:auto;font-weight:600;color:var(--atext);white-space:nowrap;display:flex;align-items:center;gap:2px}
.sh{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 12px;margin:30px 0 8px}
.sh h2{font-size:19px;font-weight:650;letter-spacing:-.005em;line-height:1.25}
.sh h2 .n{font-weight:400;color:var(--muted);margin-left:4px}
.sh p{font-size:15px;color:var(--muted);margin-top:2px}
.sh .link{min-height:48px;font-size:15px}
.grp{display:flex;align-items:center;gap:10px;margin:26px 0 8px;font-size:15px;font-weight:600;color:var(--c,var(--muted))}
.grp .ln{flex:1;height:1px;background:var(--line)}
.grp em{font-style:normal;color:var(--muted);font-weight:400}
.grp .glock{display:inline-flex;align-items:center;gap:4px;font-weight:600;color:var(--ink)}

/* ---------- rows (Needs you, lists): hairlines, never cards ---------- */
.list{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.row{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;column-gap:6px;padding:10px 0;position:relative;min-height:64px}
.row+.row::before,.lrow+.lrow::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--line)}
.slot{width:48px;height:48px;display:grid;place-items:center;flex:none}
.tk{width:26px;height:26px;border-radius:50%;border:2px solid var(--ring);display:grid;place-items:center;color:transparent;transition:all .18s}
.slot:hover .tk{border-color:var(--accent);color:var(--accent)}
.done .tk,.tk.on{background:var(--accent);border-color:var(--accent);color:var(--on)}
.ic{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;color:var(--muted)}
.ic .i{width:20px;height:20px}
.ic.wait{color:var(--muted)}
.ic.wait.red{color:var(--red-ink)}
.ic.wait.grey{color:var(--muted)}
.ic.spark{color:var(--atext)}
.ic.card{color:var(--muted)}
.ic.lock{color:var(--ink)}
.ic.hid{color:var(--muted)}
.rb{min-width:0;padding:2px 0}
.rt-t{display:block;font-size:17px;line-height:1.3;font-weight:600}
.row[data-href]{cursor:pointer}
.rm{display:flex;flex-wrap:wrap;gap:6px 8px;margin-top:6px;align-items:center}
.row .chev{color:var(--muted);margin-right:2px}
.rm .rp{margin-left:auto}
.rp{display:inline-flex;align-items:center;gap:4px;height:48px;padding:0 14px;font-size:15px;font-weight:600;white-space:nowrap;color:var(--ink);margin-left:6px}
.row.hidrow .rt-t{color:var(--muted);font-weight:500;font-style:italic}
.row.done .rt-t{color:var(--muted);text-decoration:line-through;text-decoration-thickness:1px}
.row.done .rm,.row.done .rp{opacity:.45}
.row.gone{display:none}
.lfoot{display:flex;align-items:center;justify-content:center;gap:6px;min-height:52px;border-top:1px solid var(--line);font-size:16px;font-weight:600;color:var(--atext);width:100%}
.lrow{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:14px;align-items:center;padding:10px 0;position:relative;min-height:60px;width:100%;text-align:left}
.lrow .li{width:24px;height:40px;display:grid;place-items:center;color:var(--muted)}
.lrow b{display:block;font-size:17px;font-weight:600;line-height:1.3}
.lrow small{display:block;font-size:15px;color:var(--muted);line-height:1.35;margin-top:2px}
.lrow .rv{font-size:15px;font-weight:500;color:var(--muted);display:flex;align-items:center;gap:4px;white-space:nowrap}
.lrow .rv.red{color:var(--red-ink);font-weight:600}
.lrow .rvn{font-size:17px;font-weight:700;color:var(--atext)}
.lrow small.warm{color:var(--ink);font-weight:600}
.lrow small.red{color:var(--red-ink);font-weight:600}
.lrow+.lrow::before{left:0}
.dotted{position:relative}
.dotted::after{content:"";position:absolute;right:-6px;top:-5px;width:10px;height:10px;border-radius:50%;background:var(--red)}
/* A line that shows only when true (waits with no name, Claude finished): a hairline row. */
.nudge,.cfin{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:14px;align-items:center;min-height:60px;padding:10px 0;border-bottom:1px solid var(--line);color:var(--ink)}
.nudge .li,.cfin .li{width:24px;height:40px;display:grid;place-items:center;color:var(--muted)}
.cfin .li{color:var(--atext)}
.nudge b,.cfin b{display:block;font-size:16px;font-weight:600;line-height:1.35}
.cfin small{display:block;font-size:15px;color:var(--muted);margin-top:2px}
.nudge .go,.cfin .go{font-weight:600;font-size:16px;color:var(--atext);display:flex;align-items:center;gap:2px;white-space:nowrap}
.nudge.red{color:var(--red-ink)}
.nudge.red .li{color:var(--red-ink)}
.lrow.red b,.lrow.red .li{color:var(--red-ink)}

/* ---------- the Desk (the approved minimal look: shots/P1-1-desk.png) ----------
   The date with ? and G, the big number and its line, then plain rows: Send it and Your calls
   (each with Start), each add-on's door (Dates), Bills; the money line under them while a bill
   is failing; then Next, most urgent first. */
.practice-strip{background:var(--red);color:var(--bg);font-size:14px;font-weight:600;line-height:1.3;text-align:center;padding:6px 12px;position:relative;z-index:50}
.dhero{position:relative}
.greet{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:56px;margin-right:-14px}
.greet>div:first-child{min-width:0}
.dhero .greet .hello{font-size:15px;line-height:1.3;font-weight:500;color:var(--muted);letter-spacing:0}
.greet .date,.greet-date{font-size:15px;font-weight:500;color:var(--muted);margin-top:2px}
.greet.plain .greet-date{color:var(--muted)}
.bignum{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:12px;margin-top:6px;max-width:100%}
.bignum .bw{display:contents}
.bignum .n{font-size:46px;line-height:1.05;font-weight:700;letter-spacing:-.025em;color:var(--ink)}
.bignum .w{font-size:46px;line-height:1.05;font-weight:400;letter-spacing:-.025em;color:var(--ink)}
.bignum .nl{flex-basis:100%;font-size:17px;line-height:1.4;color:var(--muted);margin-top:10px}
.bignum .nl b{color:var(--ink);font-weight:600}
.nline{margin-top:10px;font-size:17px;color:var(--muted)}
.nline b{color:var(--ink);font-weight:600}
/* The rows under the number. Each is an <a class="dd"> (an add-on draws its own door the same
   way, MODULES.md): its icon, its title over one line of words, and a chevron or a Start pill. */
.doors2{margin-top:22px;border-top:1px solid var(--line)}
.dd{display:grid;grid-template-columns:24px minmax(0,1fr) auto;column-gap:16px;align-items:center;min-height:68px;padding:10px 0;border-bottom:1px solid var(--line);color:var(--ink)}
.dd .dt{display:contents;font-size:17px;font-weight:600;line-height:1.3}
.dd .dt .di{grid-column:1;grid-row:1 / span 2;display:grid;place-items:center;color:var(--ink)}
.dd .dt .di .i{width:24px;height:24px}
.dd .dt .chev{grid-column:3;grid-row:1 / span 2;color:var(--muted)}
.dd .dt .chev .i{width:20px;height:20px}
.dd .dt .pill{grid-column:3;grid-row:1 / span 2}
.dd small{grid-column:2;grid-row:2;font-size:15px;line-height:1.35;color:var(--muted);font-weight:400;margin-top:2px}
.dd small.hot{color:var(--ink);font-weight:600}
.dd small.warm{color:var(--ink)}
/* Start: a run of one kind of thing, one at a time. */
.pill{flex:none;display:inline-flex;align-items:center;gap:2px;min-height:40px;padding:0 12px 0 16px;border-radius:20px;background:var(--soft);color:var(--atext);font-weight:600;font-size:16px}
.pill .i{width:18px;height:18px}
.dd.go{min-height:72px}
/* The money line, only while a bill is failing: one row, in red words, with Pay now. */
.alarm{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:16px;min-height:68px;padding:10px 0;border-bottom:1px solid var(--line);color:var(--red-ink)}
.alarm .ai{display:grid;place-items:center;color:var(--red-ink)}
.alarm .ai .i{width:22px;height:22px}
.alarm .at b{display:block;font-size:16px;font-weight:600;line-height:1.3}
.alarm .at small{display:block;font-size:15px;color:var(--muted);margin-top:2px;line-height:1.35}
.alarm .ago{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:20px;background:var(--red-soft);color:var(--red-ink);font-size:16px;font-weight:600;white-space:nowrap}
/* Start here: the top task, as a card of words between hairlines, never a box. */
.start{position:relative;padding:4px 0 16px}
.start .sk{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:30px}
.start .sk>span:first-child{display:flex;align-items:center;gap:7px;font-size:15px;font-weight:500;color:var(--muted)}
.pulse{display:none}
.start .pl{margin-top:4px}
.start h3{font-size:22px;line-height:1.25;font-weight:650;letter-spacing:-.01em;margin:4px 0 2px}
.start p{font-size:16px;color:var(--muted);line-height:1.45}
.start .sa{display:grid;grid-template-columns:1fr 1.45fr;gap:10px;margin-top:14px}
.start .sa .btn,.start .sa form .btn{min-height:52px;width:100%}
/* Done beside a main button is the quiet one; alone it is the main one. */
.start .sa:not(.one) .btn.primary{background:var(--surface);color:var(--ink)}
.start .sanote{margin-top:10px;font-size:14px;color:var(--muted);line-height:1.4}
.lines{margin-top:28px}
.lines .lrow b{font-weight:500;font-size:16px}
.lines .lrow b em{font-style:normal;color:var(--atext);font-weight:600;white-space:nowrap}
.hscard{margin-top:16px;padding:16px;border-radius:12px;background:var(--surface)}
.hscard b{display:block;font-size:17px;font-weight:600}
.hscard ol{margin:8px 0 0 20px;font-size:16px;color:var(--muted);line-height:1.5}
.hscard ol b{display:inline;color:var(--ink)}
.hscard .ha{display:flex;gap:8px;margin-top:12px}
.hscard .btn.secondary{background:var(--bg)}
.is-desk .start+.nudge{border-top:1px solid var(--line)}
.is-desk .nudge+.list{border-top:0}

/* ---------- the Desk, Needs you and Find, built (SPEC.md 46) ----------
   A Needs-you or Find row: its title is a link over the whole row (the rest of the row opens the
   task, without the script); the tick, the pill and the chips sit above it. The title's 48 px
   tap band ends before the chips' line starts, and the chips' line is 48 px tall, so every
   target answers over 48 px (tools/taps.js measures it at 412 by 915). */
.nrow,.frow{padding:14px 0 6px;align-items:start}
.nrow>.slot,.frow>.slot{margin-top:2px}
.nrow .rt-t::after,.frow .rt-t::after{content:"";position:absolute;inset:0;border-radius:inherit}
/* The title's own box is 48 px tall at least (it reaches into the row's padding above and the
   gap below without moving anything), as the tap rule asks of every link's box. */
.nrow .rt-t,.frow .rt-t{padding:14px 0 13px;margin:-14px 0 -13px}
.nrow .rm,.frow .rm{margin-top:13px;min-height:48px}
/* A row with nothing to say under its title (Everything, under its room's own heading) keeps no empty line. */
.nrow .rm:empty,.frow .rm:empty{display:none}
.nrow:has(.rm:empty){padding-bottom:14px}
.nrow .rp,.frow .rp,.nrow .ch[data-tip],.frow .ch[data-tip]{z-index:1}
/* A chip line that wraps above a pill stays 48 px tall, so a chip's tap area never reaches up over the title. */
.nrow .rm>.ch{margin:11px 0}
form.slot{margin:0;position:relative;z-index:1}
.slotb{width:48px;height:48px;display:grid;place-items:center;cursor:pointer}
.slotb:hover .tk{border-color:var(--accent);color:var(--accent)}
.frow{padding-bottom:12px;align-items:center}
.frow .rm{margin-top:4px;min-height:0}
.frow .where{margin-top:4px}
.frow .where+.rm{margin-top:6px}
.frow .rm .kind{margin-right:auto}
.grp.rg{color:var(--c2)}
.start h3{margin:0}
.start h3 a{display:block;padding:11px 0}
.start .pl{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}
/* A chip that explains itself answers over a 48 px band: its line is that tall, so the band
   never reaches the title link under it. */
.start .pl:has(.ch[data-tip]){min-height:48px}
.start .sa.one{grid-template-columns:1fr}
.start .sa form{display:grid}
.start .link{margin-top:2px}
.start .ntf .link{gap:7px}
.start-empty{text-align:center;padding:26px 0}
.start-empty .ei{width:48px;height:48px;border-radius:50%;margin:0 auto 12px;display:grid;place-items:center;background:var(--soft);color:var(--atext)}
.start-empty b{display:block;font-size:22px;font-weight:650;line-height:1.25}
.start-empty p{margin-top:6px}
.bignum[role="button"]{cursor:help}
.bignum .n{flex:none;white-space:nowrap;overflow-wrap:normal}
.mini-idea .yn form{display:grid}
.lines .lrow .li .t-ink2{color:var(--muted)}
.findform{margin:0}
.findbox input::-webkit-search-cancel-button{-webkit-appearance:none}
.rgroup .grp{margin-top:22px}
.wcl{display:block;font-size:15px;color:var(--muted);line-height:1.35;margin-top:4px}

/* ---------- Rooms: one row per room (its icon in the room's colour, its name, one line, and how
   many need you), and the drawers across the office as rows under them ---------- */
.doors{margin-top:16px;border-top:1px solid var(--line)}
.door{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:16px;align-items:center;min-height:72px;padding:10px 0;border-bottom:1px solid var(--line);color:var(--ink);text-align:left}
.knob{display:none}
.door-ico{grid-column:1;grid-row:1 / span 2;display:grid;place-items:center;color:var(--c2)}
.door-name{grid-column:2;grid-row:1;font-size:17px;line-height:1.3;font-weight:600}
.door-line{grid-column:2;grid-row:2;font-size:15px;line-height:1.35;margin-top:2px;color:var(--muted)}
.door-line .i{display:inline-block;vertical-align:-1px;margin-right:4px}
.door-pill{grid-column:3;grid-row:1 / span 2}
.door-pill span{display:inline-flex;align-items:center;gap:5px;min-height:36px;padding:0 14px;border-radius:18px;background:var(--soft);color:var(--atext);font-size:15px;font-weight:600;white-space:nowrap}
.door-pill span.calm{background:none;padding:0;color:var(--muted);font-weight:500}
.door-pill{font-size:15px;color:var(--muted);white-space:nowrap}
.door-pill b{font-size:20px;font-weight:600;color:var(--ink)}
.door-line.hot{color:var(--ink);font-weight:500}
.drawers{border-top:1px solid var(--line)}
.drawer{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:16px;align-items:center;min-height:64px;padding:10px 0;border-bottom:1px solid var(--line);color:var(--ink)}
.drawer .dri{grid-column:1;grid-row:1 / span 2;display:grid;place-items:center;color:var(--ink)}
.drawer b{grid-column:2;grid-row:1;font-size:17px;font-weight:600;line-height:1.3}
.drawer small{grid-column:2;grid-row:2;font-size:15px;color:var(--muted);margin-top:2px;line-height:1.35}
.drawer small.red{color:var(--red-ink);font-weight:600}
.drawer small.warm{color:var(--ink);font-weight:600}
.drawer .addon{grid-column:3;grid-row:1 / span 2;font-size:13px;font-weight:600;color:var(--muted);background:var(--surface);padding:3px 9px;border-radius:999px}

/* ---------- a room: its name, a line about it, three numbers, then its lists ---------- */
.rhero{position:relative;padding:0 0 6px}
.rhero .arch{display:none}
.rh-ico{width:24px;height:24px;display:grid;place-items:center;color:var(--c2);margin:14px 0 8px}
.rhero h1{font-size:30px;line-height:1.15;font-weight:700;letter-spacing:-.015em}
.rh-sub{font-size:17px;color:var(--muted);margin-top:6px;font-weight:400;max-width:30em}
.rh-priv{display:flex;gap:8px;align-items:center;margin-top:12px;font-size:15px;font-weight:500;background:var(--surface);padding:10px 12px;border-radius:12px}
.stats3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 16px;margin-top:18px}
.stat{display:block;text-align:left;padding:10px 0 4px;border-top:2px solid var(--line);color:var(--ink)}
.stat.hot{border-top-color:var(--accent)}
.stat.zero{color:var(--muted);cursor:default}
.stat b{display:block;font-size:30px;line-height:1.05;font-weight:700;letter-spacing:-.02em}
.stat span{display:block;font-size:14px;font-weight:500;margin-top:4px;line-height:1.3;color:var(--muted)}
.alsoin .lrow .li{color:var(--c2)}
.alsoin .lrow.hot .li{color:var(--atext)}
.alsoin .lrow.hot b{color:var(--atext)}
.addhere{display:flex;flex-wrap:wrap;gap:8px}
.addhere .btn{min-height:48px;font-size:16px;padding:0 14px}
.shelfline{margin:26px 0 0;font-size:15px;color:var(--muted);line-height:1.5}
.shelfline a{color:var(--atext);font-weight:600;display:inline-flex;align-items:center;min-height:48px;padding:0 4px;vertical-align:middle}
.more-rows{display:none}
.more-rows.on{display:block}
/* A room's header sits above its name (layout.heroNav). */
.rhero .phead.in-hero{max-width:none;margin:0;padding:0}
/* "5 more need you here" and "See all 23": a fold that works without the script. */
.morefold>summary{list-style:none;cursor:pointer}
.morefold>summary::-webkit-details-marker{display:none}
.morefold>summary .l{display:none}
.morefold[open]>summary .m{display:none}
.morefold[open]>summary .l{display:inline}
.morefold>summary .i{transition:transform .2s}
.morefold[open]>summary .i{transform:rotate(180deg)}
.morefold[open]>summary{border-bottom:1px solid var(--line)}
.morefold>.lfoot{border-top:1px solid var(--line)}
/* Also in: Papers and Parked open in place. */
.afold>summary{list-style:none;cursor:pointer}
.afold>summary::-webkit-details-marker{display:none}
.afold>summary .rv .i{transition:transform .2s}
.afold[open]>summary .rv .i{transform:rotate(90deg)}
.afold .afb{padding:0 0 4px 10px;border-top:1px solid var(--line)}
.alsoin>.lrow+.afold>summary::before,.alsoin>.afold+.lrow::before,.alsoin>.afold+.afold>summary::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--line)}
.rm .rpf{display:contents}
.afold .afline{padding:12px 0 2px 2px}
/* An add-on's door at the top of the room it names (panels.room_door). */
.block.rdoor{display:flex;align-items:center;gap:14px;margin-top:16px}
.rdoor .bi{color:var(--c2)}
.rdoor .bt{flex:1;min-width:0}
.rdoor .chev{color:var(--muted);flex:none}
/* A bill of the room's that is not paid, inline (IA 3.3 item 5). */
.billin{margin-top:16px}
.billin .bi{color:var(--red-ink)}
.billin .bt{flex:1;min-width:0}
.billin small .ch{margin-right:4px}
/* Sorting shelves into rooms. */
.sortcard{margin-top:14px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.sortcard+.sortcard{margin-top:-1px}
.sortcard>b{display:block;font-size:17px;font-weight:600;line-height:1.3}
.sortcard label{display:block;font-size:15px;font-weight:600;color:var(--ink);margin:14px 0 8px}
.sortcard select{display:block;width:100%;min-height:52px;padding:12px 14px;border-radius:12px;background:var(--card);box-shadow:inset 0 0 0 1px var(--hair);font-size:17px;color:var(--ink)}
.sortcard .btn{width:100%;margin-top:12px}
.sortcard .link{margin-top:6px}
.modparts{margin-top:18px}

/* ---------- a task ---------- */
.place{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:22px;font-size:15px;font-weight:600}
.place .sfb{color:var(--muted);font-weight:500;text-decoration:underline dotted var(--hair);text-underline-offset:4px}
.task h1{font-size:30px;line-height:1.15;font-weight:700;letter-spacing:-.015em;margin-top:8px}
/* Where a task stands: a filled box of words, the one box the design keeps (the message words). */
.state{margin-top:18px;padding:16px 18px;border-radius:12px;background:var(--surface);position:relative;overflow:hidden}
.state .stk .i{display:inline-block;vertical-align:-2px;margin-right:3px}
.state .stk{font-size:15px;font-weight:500;color:var(--muted)}
.state .stt{display:block;font-size:18px;font-weight:600;line-height:1.3;margin-top:4px}
.state p{font-size:16px;color:var(--muted);margin-top:5px;line-height:1.45}
.state .sb{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.state .sb .btn{min-height:48px;font-size:16px}
.state .sb .btn.secondary,.state .sb .btn.secondary{background:var(--bg)}
.state.due{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;align-items:center}
.state.wait.red .stk{color:var(--red-ink);font-weight:600}
.state.claude{background:var(--surface)}
.state.review{background:var(--soft)}
.state.closed{background:var(--surface)}
.state .who{display:flex;align-items:center;gap:8px}
.ring{position:relative;width:88px;height:88px}
.ring svg{position:absolute;inset:0;transform:rotate(-90deg)}
.ring .rn{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.ring .rn b{font-size:32px;line-height:.95;font-weight:700;letter-spacing:-.03em}
.ring .rn span{font-size:13px;font-weight:500;color:var(--muted);margin-top:3px}
.tlinks{display:flex;flex-direction:column;gap:2px;margin:10px 0 0}
.tlinks a,.tlinks button{display:flex;align-items:center;gap:8px;min-height:48px;font-size:16px;font-weight:600;color:var(--atext);text-align:left}
.mainb{margin-top:16px;min-height:56px;font-size:17px}
.doneb{margin-top:10px;min-height:52px}
.ntb{margin-top:10px;min-height:52px}
.tiles3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}
.tile{display:flex;flex-direction:column;align-items:center;gap:6px;padding:14px 4px 12px;border-radius:12px;background:var(--surface);font-size:15px;font-weight:600;text-align:center;line-height:1.2}
.tile small{font-size:13px;font-weight:400;color:var(--muted);line-height:1.25;padding:0 4px}
.tile .ti{width:40px;height:40px;display:grid;place-items:center;color:var(--ink)}
.block{margin-top:12px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.block+.block{margin-top:-1px}
.block .bh{display:flex;align-items:center;gap:14px}
.block .bi{width:24px;height:24px;display:grid;place-items:center;flex:none;color:var(--ink)}
.block b{display:block;font-size:17px;font-weight:600;line-height:1.3}
.block small{display:block;font-size:15px;color:var(--muted);line-height:1.4;margin-top:2px}
.block .bb{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.block .bb .btn{min-height:48px;font-size:16px}
.block.claude .bi{color:var(--atext)}
.block.locked .bi{color:var(--ink)}
.stepbar{display:flex;gap:4px;margin-top:12px}
.stepbar i{flex:1;height:4px;border-radius:2px;background:var(--line)}
.stepbar i.on{background:var(--accent)}
ul.steps{list-style:none;margin-top:6px}
.step{display:grid;grid-template-columns:48px 1fr;align-items:center;gap:4px;padding:6px 0;position:relative}
.step b{font-size:17px;font-weight:500;line-height:1.4}
.step.on b{color:var(--muted);text-decoration:line-through;text-decoration-thickness:1px}
div.note{display:grid;grid-template-columns:32px 1fr;gap:12px;padding:14px 0;position:relative}
div.note+div.note::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--line)}
.note .nw{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--atext)}
.note .nw.me{background:var(--surface);color:var(--ink);font-weight:600;font-size:14px}
div.note small{display:block;font-size:14px;color:var(--muted);font-weight:500;margin-bottom:2px}
div.note p{font-size:16px;line-height:1.45}
.addnote{display:flex;align-items:center;gap:10px;margin:0 0 14px;padding:0 14px;min-height:50px;border-radius:12px;background:var(--surface);color:var(--muted);font-size:16px;width:100%}
.paper{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px 0;position:relative}
.paper+.paper::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--line)}
.paper .pi{width:24px;height:40px;display:grid;place-items:center;color:var(--muted)}
.paper b{display:block;font-size:16px;font-weight:600;line-height:1.3}
.paper small{display:block;font-size:14px;color:var(--muted);margin-top:2px}
.where{display:flex;align-items:center;gap:5px;font-size:14px;color:var(--muted);margin-top:3px;line-height:1.3}
.fold{margin-top:12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.fold+.fold{margin-top:-1px}
.fold>summary{list-style:none;display:flex;align-items:center;gap:10px;min-height:56px;padding:0;font-weight:600;font-size:17px;cursor:pointer}
.fold>summary::-webkit-details-marker{display:none}
.fold>summary .chev{margin-left:auto;color:var(--muted);transition:transform .2s}
.fold[open]>summary .chev{transform:rotate(90deg)}
.fold .fb{padding:0 0 16px;font-size:16px;color:var(--muted);line-height:1.5}
.facts{display:grid;grid-template-columns:auto 1fr;gap:8px 16px;font-size:16px}
.facts dt{color:var(--muted);font-weight:500}
.facts dd{font-weight:600;color:var(--ink)}
.hist{list-style:none;padding:4px 0}
.hist li{display:grid;grid-template-columns:14px 1fr;gap:12px;padding:9px 0;font-size:16px;color:var(--muted);position:relative}
.hist li::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--ring);margin-top:7px}
.hist li:not(:last-child)::after{content:"";position:absolute;left:4px;top:24px;bottom:-6px;width:1px;background:var(--line)}
.hist small{display:block;font-size:14px;color:var(--muted);font-weight:500}

/* ---------- a task, the parts the prototype drew with inline styles (SPEC.md 48) ---------- */
.state .stk.green{color:var(--atext)}.state .stk.clay{color:var(--atext)}
.stt.mt-0{margin-top:0}
.text{white-space:pre-wrap;overflow-wrap:anywhere}
.ring svg{display:block}
.ring .trk{stroke:var(--line)}
.ring .arc{stroke:var(--accent)}
.callout.warn{margin-top:14px;padding:12px 14px;border-radius:12px;background:var(--surface);color:var(--ink);font-size:16px;line-height:1.45}
.callout.warn ul{margin:6px 0 0 18px}
.tilef{display:contents}
button.tile{width:100%}
.tiles3.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.dosheet{margin-top:18px;padding-top:8px;border-top:1px solid var(--line)}
.dosheet .shb{overflow:visible;padding-left:0;padding-right:0}
.dosheet .shh,.dosheet .shf{padding-left:0;padding-right:0}
.pickdet{margin-top:8px}
.pickdet>summary,.anotherday>summary,.addline>summary,.tiedet>summary{list-style:none;cursor:pointer}
.pickdet>summary::-webkit-details-marker,.anotherday>summary::-webkit-details-marker,.addline>summary::-webkit-details-marker,.tiedet>summary::-webkit-details-marker{display:none}
.pickdet[open]>summary{background:var(--ink);color:var(--bg)}
.pickrow{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px}
.pickrow .in-field{flex:1 1 180px;min-width:0}
.pickrow .btn{flex:none}
.anotherday{justify-self:start;width:100%}
.cball{position:relative}
.cball input,.bigc input,.toggle-row .swin{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.cball:has(input:checked) .tk{background:var(--accent);border-color:var(--accent);color:var(--on)}
.cball:has(input:focus-visible),.bigc:has(input:focus-visible),.toggle-row:has(.swin:focus-visible){outline:3px solid var(--focus);outline-offset:2px}
.bigc{position:relative;cursor:pointer}
.toggle-row{position:relative;cursor:pointer}
.toggle-row:has(.swin:checked) .sw{background:var(--accent)}
.toggle-row:has(.swin:checked) .sw::after{transform:translateX(20px)}
.check-row{display:flex;align-items:center;gap:12px;min-height:48px;margin-top:10px;font-size:16px;color:var(--ink);cursor:pointer}
.check-row input{width:22px;height:22px;flex:none;accent-color:var(--accent)}
.tarea.tall{min-height:110px}
div.note .qk{display:block;font-size:14px;font-weight:600;color:var(--atext);margin:2px 0}
.paper>a{min-width:0;min-height:48px;display:flex;flex-direction:column;justify-content:center}
.paper .pbtn{display:flex;align-items:center;gap:6px}
.tlinks a .i{flex:none}
.tdet p+p{margin-top:8px}
.tmore .old.tparts{margin-top:18px}
.addline{margin-top:6px}
.place .rt.hit,.place .sfb.hit{min-height:48px}
.place{margin-top:8px}
.place .ch.lock{margin-left:4px}
.cball input,.bigc input,.toggle-row .swin{left:50%;top:50%}
.state .stk.red{color:var(--red-ink);font-weight:600}
.nowrap{white-space:nowrap}
/* A fixed deadline on its own line under the due day, free to wrap (mobile-08). */
.fixline{display:block}
.tlinks .tpill{margin-left:6px;display:inline-flex;align-items:center;height:30px;padding:0 12px;border-radius:999px;background:var(--soft);color:var(--atext);font-size:14px;font-weight:600}
.anotherday[open]>summary .i{transform:rotate(180deg)}
/* The name box shows once Someone else is chosen, a day box once Pick a date is; a browser that
   cannot tell shows both (the forms work either way). */
.whobox,.pickbox{display:none}
fieldset:has(input[name="who"][value="other"]:checked) .whobox,fieldset:has(input[value="pick"]:checked) .pickbox{display:block}
@supports not selector(:has(*)){.whobox,.pickbox{display:block}}
/* The full Add page (lane A fix round): Someone else asks a name and a day, Claude a day. */
.doerbox{display:none}
fieldset:has(input[name="doer"][value="someone"]:checked) .doerbox.someone,fieldset:has(input[name="doer"][value="claude"]:checked) .doerbox.claude{display:block}
@supports not selector(:has(*)){.doerbox{display:block}}
.addpage .words textarea{min-height:64px}
/* A full-width button is a block of its own, not a link in a line of words. */
.btn.wide{display:flex}
/* Round rows that hold a box keep a square box and draw their shape underneath, as the round
   controls do (SPEC.md 41): a browser does not count a rounded corner as part of the box. */
.toggle-row,.cball,.bigc{isolation:isolate;border-radius:0!important;background:none!important;box-shadow:none!important}
.toggle-row::before,.cball::before,.bigc::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--r,0);background:var(--b,none);box-shadow:var(--s2,none);pointer-events:none}
.toggle-row{--r:12px;--b:var(--surface)}
.cball{--r:12px;--b:var(--surface)}
.cball:has(input:checked){--b:var(--soft)}
.bigc{--r:12px;--b:var(--card);--s2:inset 0 0 0 1px var(--line)}
.bigc:has(input:checked),.bigc.on{--b:var(--soft);--s2:inset 0 0 0 2px var(--accent)}
.cball.on{--b:var(--soft)}
.tlink{display:flex;min-height:50px;width:max-content;max-width:100%}

/* ---------- Claude ---------- */
.ihero{margin-top:14px;position:relative}
.ihero .kick{font-size:15px;font-weight:500;color:var(--muted);margin-bottom:6px}
.ihero .big{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:10px}
.ihero .big b{font-size:46px;line-height:1.05;font-weight:700;letter-spacing:-.025em}
.ihero .big span{font-size:30px;line-height:1.1;font-weight:400;letter-spacing:-.015em}
.ihero .ihl{font-size:17px;line-height:1.4;color:var(--muted);margin-top:10px}
.ihero .ia{display:grid;grid-template-columns:1.2fr 1fr;gap:10px;margin-top:18px}
.wrows{margin-top:18px;border-top:1px solid var(--line)}
.wrow{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:14px;align-items:center;min-height:64px;padding:10px 0;border-bottom:1px solid var(--line);color:var(--ink)}
.wrow .wi{display:grid;place-items:center;color:var(--atext)}
.wrow b{display:block;font-size:16px;font-weight:600;line-height:1.3}
.wrow small{display:block;font-size:15px;color:var(--muted);margin-top:2px;line-height:1.35}
.wrow .go{display:flex;align-items:center;gap:2px;font-size:15px;font-weight:600;color:var(--atext);white-space:nowrap}
.allideas{margin-top:14px;padding:16px 0}
.allideas .aih{display:grid;grid-template-columns:24px minmax(0,1fr);gap:14px;align-items:center}
.allideas .li{width:24px;height:40px;display:grid;place-items:center;color:var(--atext)}
.allideas b{display:block;font-size:17px;font-weight:600;line-height:1.3}
.allideas small{display:block;font-size:15px;color:var(--muted);margin-top:2px;line-height:1.35}
.allideas .ia{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.allideas .ia .btn{white-space:normal;line-height:1.2;padding:0 12px}
.newtag{display:inline-block;font-weight:600;color:var(--atext);background:var(--soft);padding:0 7px;border-radius:999px;font-size:12.5px;line-height:19px}
/* Nothing here yet: a calm block between hairlines. One that carries a first-time hint (an empty
   Bills) keeps a section's space above it, so the hint sits there over plain text, clear of the
   buttons under it (tests/browser/hints-place.test.js). */
.empty{padding:26px 0;text-align:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.empty[data-hint]{margin-top:32px}
.empty .ei{width:48px;height:48px;border-radius:50%;margin:0 auto 12px;display:grid;place-items:center;background:var(--surface);color:var(--muted)}
.empty b{display:block;font-size:17px;font-weight:600;line-height:1.35}
.empty p{font-size:15px;color:var(--muted);margin-top:4px;line-height:1.45}
.legend-mini{display:flex;flex-wrap:wrap;gap:8px}

/* ---------- the run-through: a bar of progress, one card of words, the buttons at the foot ---------- */
body.run{background:var(--bg)}
.runtop{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:10px;padding:8px 0;background:var(--bg);margin-left:-12px}
/* The run in the build (lane B): the line of progress is a <progress>, so it needs no style
   attribute; every button is a form of its own; the why is whole without the script. */
progress.prog{-webkit-appearance:none;appearance:none;display:block;border:0;flex:1;min-width:0;height:4px;border-radius:2px;background:var(--line);overflow:hidden;color:var(--accent)}
progress.prog::-webkit-progress-bar{background:var(--line);border-radius:2px}
progress.prog::-webkit-progress-value{background:var(--accent);border-radius:2px;transition:width .3s ease}
progress.prog::-moz-progress-bar{background:var(--accent);border-radius:2px}
body.has-runbar .page{padding-bottom:calc(230px + env(safe-area-inset-bottom))}
.runbar .yn>form,.mini-idea .yn>form{display:grid}
.runbar .yn.one{grid-template-columns:1fr}
.runbar .later a{display:inline-flex;align-items:center;font-size:16px;font-weight:500;color:var(--muted);min-height:48px;padding:0 16px}
html:not(.js) .clamp{display:block;overflow:visible}
.why ul.plain,.fold .fb ul.plain{list-style:none;margin:0;display:grid;gap:4px;font-size:16px}
.fold.flat{border-top:0;border-bottom:0;margin-top:10px}
.fold.flat>summary{min-height:48px;padding:0;color:var(--atext);font-size:16px}
.fold.flat .fb{padding:0 0 4px}
.lrow .li.spark{color:var(--atext)}
.grp.rc{color:var(--c2,var(--muted))}
.mini-idea .itop{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.mini-idea .of{margin-left:auto;font-size:14px;font-weight:500;color:var(--muted)}
.endcard .okcircle+p{margin-top:0}
.ch.wrap{white-space:normal}
.state a.stt{min-height:48px}
.rm form.inline{margin-left:auto}
.rm form.inline .rp{margin-left:0}
.prog{flex:1;height:4px;border-radius:2px;background:var(--line);overflow:hidden}
.prog i{display:block;height:100%;border-radius:2px;background:var(--accent);transition:width .3s ease}
.runtop .cnt{font-size:15px;font-weight:500;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}
.icard{padding:14px 0 8px;margin-top:4px;animation:rise .3s cubic-bezier(.2,.8,.3,1)}
.icard .itop{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px}
.icard h2{font-size:28px;line-height:1.15;font-weight:700;letter-spacing:-.015em;margin:10px 0 4px}
.icard .about{display:flex;gap:8px;align-items:flex-start;margin-top:10px;padding:12px 14px;border-radius:12px;background:var(--surface);font-size:15px;line-height:1.4;color:var(--muted)}
.icard .about a{color:var(--atext);font-weight:600}
.why{border-radius:12px;background:var(--surface);padding:14px 16px;margin-top:12px}
.why small{display:block;font-size:14px;font-weight:600;color:var(--muted);margin-bottom:5px}
.why p{font-size:16px;line-height:1.5;color:var(--ink)}
.why ul{margin:2px 0 0 18px;font-size:16px;line-height:1.5}
.why ol{margin:2px 0 0 20px;font-size:16px;line-height:1.5;color:var(--muted)}
.why.yes{background:var(--soft)}
.why.yes small{color:var(--atext)}
.clamp{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.clamp.open{display:block}
.readmore{font-size:15px;font-weight:600;color:var(--atext);margin-top:2px;min-height:48px;padding:0 2px}
.words2{display:grid;gap:8px;margin-top:10px}
.words2 .was,.words2 .will{border-radius:12px;padding:12px 14px}
.words2 small{display:block;font-size:14px;font-weight:600;margin-bottom:4px}
.words2 .was{background:var(--surface)}
.words2 .was small{color:var(--muted)}
.words2 .was p{font-size:15px;color:var(--muted);line-height:1.45}
.words2 .will{background:var(--soft)}
.words2 .will small{color:var(--atext)}
.words2 .will p{font-size:16px;line-height:1.5;color:var(--ink)}
.after{margin-top:12px}
.after .aft{display:grid;gap:10px;margin-top:16px}
.runbar{position:fixed;left:0;right:0;bottom:0;z-index:30;padding:12px 20px calc(14px + env(safe-area-inset-bottom));background:var(--bg);border-top:1px solid var(--line)}
.runbar .in{max-width:560px;margin:0 auto}
.runbar .later{display:flex;justify-content:center;margin-bottom:8px}
.runbar .later button{font-size:16px;font-weight:500;color:var(--muted);min-height:48px;padding:0 16px}
.runbar .yn{display:grid;grid-template-columns:1fr 1.5fr;gap:10px}
.runbar .yn .btn{min-height:52px;font-size:17px;white-space:normal;line-height:1.15}
.runbar .y2{margin-top:8px}
.endcard{text-align:center;padding:34px 0}
.endcard .big{font-size:30px;font-weight:700;line-height:1.15;letter-spacing:-.015em}
.endcard p{font-size:17px;color:var(--muted);margin-top:10px}
.endbtns{display:grid;gap:10px;margin-top:22px}
/* The one quiet way to what is left at the end of a run (Geeno, 23 Oct: a stack of equal buttons was
   "Confusing"): words in the accent with a chevron under the one way on, never a second button. */
.endleft{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:48px;padding:0 8px;color:var(--atext);font-weight:600;font-size:16px;line-height:1.3;text-align:center}
.endleft .i{flex:none}
.namechips{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
@keyframes rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* ---------- Bills ---------- */
.bhero{margin-top:14px;position:relative}
.bhero .big{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:10px}
.bhero .big b{font-size:46px;line-height:1.05;font-weight:700;letter-spacing:-.025em;color:var(--ink)}
.bhero .big span{font-size:30px;line-height:1.1;font-weight:400;letter-spacing:-.015em}
.bhero .big small{display:block;font-size:17px;font-weight:400;color:var(--muted);margin-top:8px;letter-spacing:0}
.segs{display:flex;gap:3px;margin-top:16px}
.segs i{flex:1;height:6px;border-radius:3px;background:var(--s)}
.blegend{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:12px;font-size:15px;color:var(--muted)}
.blegend span{display:flex;align-items:center;gap:7px}
.blegend i{width:9px;height:9px;border-radius:50%;background:var(--s)}
.blegend b{color:var(--ink);font-weight:600}
.bsec{display:flex;align-items:center;gap:10px;margin:28px 0 8px;font-size:15px;font-weight:600;color:var(--c)}
.bsec .ln{flex:1;height:1px;background:var(--line)}
.bsec em{font-style:normal;color:var(--muted);font-weight:400}
.bill{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:4px 14px;align-items:center;padding:12px 0;position:relative}
.bill+.bill::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--line)}
.logo{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-weight:600;font-size:17px;color:var(--ink);background:var(--surface)}
.bill b{display:block;font-size:17px;font-weight:600;line-height:1.3}
.bill small{display:block;font-size:15px;color:var(--muted);margin-top:2px;line-height:1.3}
.bill .bs{font-size:14px;font-weight:600;margin-top:4px}
.bill .bs.red{color:var(--red-ink)}.bill .bs.amber{color:var(--ink)}.bill .bs.grey{color:var(--muted)}.bill .bs.green{color:var(--atext)}
.bill .ba{grid-column:2/-1;display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.bill .ba .link{min-height:48px;font-size:15px;padding:0 6px}
.bill .ba .btn{min-height:48px;font-size:15px;padding:0 13px}
.bill .chev{color:var(--muted)}
.bill.sel{background:var(--surface);box-shadow:inset 3px 0 0 var(--accent)}
.bstate{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;padding:5px 12px;border-radius:999px}
.bstate.red{background:var(--red-soft);color:var(--red-ink)}.bstate.amber{background:var(--surface);color:var(--ink)}
.bstate.grey{background:var(--surface);color:var(--muted)}.bstate.green{background:var(--soft);color:var(--atext)}.bstate.soon{background:var(--surface);color:var(--muted)}
.bstate.off{background:var(--surface);color:var(--muted)}
.billhead{display:flex;gap:14px;align-items:center;margin-top:18px}
.billhead .logo{width:52px;height:52px;border-radius:14px;font-size:22px}
.billhead h1{font-size:30px;line-height:1.15;font-weight:700;letter-spacing:-.015em}
.keepline{display:flex;align-items:center;gap:6px;width:100%;font-size:14px;font-weight:600;color:var(--red-ink);margin-top:2px}
.panel-detail{display:none}
/* Lane B step B2 (SPEC.md 43): the bill page and its sheets, the laptop's panel, and the
   office's own labelled fields (src/web/forms.js) inside .cform. */
.billhead h2.bh{font-size:26px;line-height:1.15;font-weight:700}
.billhead .rt{display:flex}
.pdc{padding:4px 20px 20px}
.bill .ba form.inline{display:flex}
.bill>a,.paper>a{display:block;min-height:48px}
/* A paper's Open it pill: its words sit in the middle of its 48 px (they sat at its top). */
.paper>a.rp{display:inline-flex;flex-direction:row;align-items:center;justify-content:center}
/* A chip's hidden box sits inside the chip, so the chip is all a tap or a measurement finds. */
.opt input,.lockchip input{left:0;top:0}
@media (max-width:1023px){.bill.sel{background:transparent;box-shadow:none}}
.state .sb.stack{display:grid;gap:8px}
.state .sb.stack .btn,.state .sb.stack form.inline,.state .sb.stack form.inline .btn{width:100%}
.pre{white-space:pre-wrap}
.split.first{border-top:0}
/* The one add-on shape (src/web/addon.js): the head of an add-on page. */
.addonhero .kick{font-size:15px;font-weight:500;color:var(--muted);margin-bottom:6px}
.addonhero .big{font-size:30px;line-height:1.15}
.addonhero.st-red .big{color:var(--red-ink)}
.addonhero p{font-size:17px}
.state.late .stk{color:var(--red-ink);font-weight:600}
.jobrow .li{color:var(--c2)}
.jobrow small.red{color:var(--red-ink);font-weight:600}
.sheetcard{padding:6px 0 4px;overflow:hidden;border-top:1px solid var(--line)}
.sheetcard .shh{padding-top:12px;padding-left:0;padding-right:0}
.sheetcard .shb{padding-left:0;padding-right:0}
.sheetcard .shf{border-top:1px solid var(--line);background:transparent;padding:10px 0 16px}
/* A card's own Not now, below its form, with room for a whole tap (flows-17). */
.sheetcard .notnow{padding:0 0 12px}
.tickline{cursor:pointer;min-height:48px}
.tickline input{width:24px;height:24px;flex:none;margin:0;accent-color:var(--accent)}
.bigc{cursor:pointer}
.cform .field{margin:0 0 16px}
.cform label,.cform legend{display:block;font-size:15px;font-weight:600;color:var(--ink);margin:0 0 8px}
.cform .help{font-size:15px;color:var(--muted);margin:-2px 0 8px;line-height:1.4}
.cform .field-error{margin-top:8px;padding:8px 12px;border-radius:12px;background:var(--red-soft);color:var(--red-ink);font-weight:600;font-size:15px}
.cform input[type="text"],.cform input[type="date"],.cform input[type="time"],.cform input[type="url"],.cform input[type="number"],.cform input:not([type]),.cform select,.cform textarea{
  display:block;width:100%;min-height:52px;padding:12px 14px;border-radius:12px;background:var(--card);box-shadow:inset 0 0 0 1px var(--hair);font-size:17px;color:var(--ink)}
.cform select{appearance:auto}
.cform textarea{min-height:5.5em;resize:vertical;line-height:1.45}
.cform input:focus,.cform select:focus,.cform textarea:focus{outline:none;box-shadow:inset 0 0 0 2px var(--ink)}
.cform [aria-invalid="true"]{box-shadow:inset 0 0 0 2px var(--red)}
.cform fieldset.field{padding:12px 14px;border-radius:12px;box-shadow:inset 0 0 0 1px var(--line)}
.cform .check{display:flex;align-items:center;gap:12px;min-height:48px;margin:4px 0;cursor:pointer;font-size:16px;font-weight:500;color:var(--ink)}
.cform .check input{width:24px;height:24px;flex:none;margin:0;accent-color:var(--accent)}
.cform .pair{display:flex;flex-wrap:wrap;gap:0 12px}
.cform .pair>.field{flex:1 1 12rem}
.cform .days{display:flex;flex-wrap:wrap;gap:0 14px}
.cform .rule-choice{border-top:1px solid var(--line);padding:4px 0}
.cform .rule-choice:first-of-type{border-top:0}
.cform .rule-sub{padding:4px 0 8px 36px}
.cform .rule-sub label{margin-top:6px}

/* ---------- Dates ---------- */
/* An add-on page's head (Dates): a section's space under the page's line, so its first-time hint
   has room above the big words, over plain text (tests/browser/hints-place.test.js). */
.dthero{margin-top:24px}
.dthero .big{font-size:30px;line-height:1.15;font-weight:700;letter-spacing:-.015em}
.dthero p{font-size:17px;color:var(--muted);margin-top:8px;line-height:1.45}
.filters{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.fchip{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:48px;min-width:48px;padding:0 14px;font-size:15px;font-weight:600;color:var(--ink)}
.fchip.on{color:var(--bg)}
.fchip b{font-weight:700;margin-left:2px}
.drow{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px 0;position:relative}
.drow+.drow::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--line)}
.dblk{width:48px;height:52px;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--surface)}
.dblk b{font-size:20px;line-height:1;font-weight:700}
.dblk small{font-size:12px;font-weight:500;color:var(--muted);margin-top:3px}
.drow .dt-t{font-size:16px;font-weight:600;line-height:1.3}
.drow .dm{display:flex;flex-wrap:wrap;gap:6px 8px;margin-top:6px;align-items:center}
.drow .in{font-size:14px;font-weight:500;color:var(--muted);white-space:nowrap}
.drow.sugg .dblk{background:transparent;box-shadow:inset 0 0 0 1px var(--atext)}
/* A date he can finish here: its link and its Done pill side by side (lane B fix round 1). */
.drow.act{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:0}
.drow.act>a{display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px;align-items:center;padding:12px 0;min-width:0}
.drow.act>form{margin:0}
.drow .rp{margin-left:0}
.drow .in.late{color:var(--red-ink);font-weight:600}
.drow .dsub{display:block;font-size:14px;line-height:1.35;color:var(--muted);margin-top:5px}
.dthero a.link{color:var(--atext)}
/* Dates' one line at the top (Geeno, 23 Oct): a fixed deadline gone by says so in red. */
.dthead.st-red b{color:var(--red-ink)}

/* ---------- Everything, Find, Papers ---------- */
.tabs{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.tabpanel{display:none}
.tabpanel.on{display:block}
.findbox{display:flex;align-items:center;gap:10px;margin-top:16px;padding:0 14px;min-height:56px;border-radius:12px;background:var(--surface);box-shadow:inset 0 0 0 2px var(--accent);color:var(--muted)}
.findbox input{flex:1;min-width:0;font-size:18px;outline:none;height:54px;color:var(--ink)}
.findbox input::placeholder{color:var(--muted)}
.shortcuts{margin-top:16px;border-top:1px solid var(--line)}
.shortcuts a{display:flex;align-items:center;gap:14px;min-height:56px;padding:0;border-bottom:1px solid var(--line);font-weight:600;font-size:17px}
.shortcuts .li{width:24px;height:24px;display:grid;place-items:center;color:var(--ink)}
.kind{font-size:14px;font-weight:500;color:var(--muted);display:inline-flex;align-items:center;gap:5px}
.rfbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;min-height:52px;padding:0 4px 0 14px;border-radius:12px;background:var(--surface);color:var(--ink);font-size:16px;font-weight:500}
.rfbar a{display:inline-flex;align-items:center;gap:2px;min-height:48px;padding:0 10px;font-weight:600;color:var(--atext);white-space:nowrap}
/* Everything on your list in the build (the fix round after the merge, IA 3.11): the tabs are
   links, More is a fold that holds four more, rows come room by room and shelf by shelf. */
.evtabs{align-items:flex-start}
.moretabs>summary{list-style:none;cursor:pointer}
.moretabs>summary::-webkit-details-marker{display:none}
.moretabs>summary .i{transition:transform .2s}
.moretabs[open]{flex-basis:100%}
.moretabs[open]>summary .i{transform:rotate(180deg)}
.moretabs .tabs{margin-top:8px}
.shelfh{margin:4px 0 6px;font-size:14px;font-weight:500;color:var(--muted);line-height:1.45}
.evlist .list{margin-bottom:10px}
.evlist .grp{margin-top:22px}
.row.closed .rt-t{color:var(--muted)}
.narrowfold>summary{gap:10px}
.narrowfold .fb{padding-top:4px}
.ch.wrap{max-width:100%;text-align:left}
/* Do it step by step (the fix round after the merge): one step on a card, then the list. */
.steptext{font-size:24px;line-height:1.25;font-weight:650;margin-top:6px;overflow-wrap:anywhere}
.stepbtns{display:grid;gap:8px;margin-top:16px}
.steplist{list-style:none;padding:0;margin:0}
.steplist .row{min-height:56px}
/* Sorting the old To-Do list, one at a time (IA 3.11). */
.sortone h2 a{display:flex;align-items:center;min-height:48px;color:inherit}
/* A shelf's sorting: each task's title is a link of its own, a 48 px target. */
.sortcard>b a{display:flex;align-items:center;min-height:48px;color:inherit}
.sortans{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.sortans .btn:first-child,.sortans .btn:last-child{grid-column:1 / -1}

/* ---------- the guide ---------- */
.gtop{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
.gtop .btn{white-space:normal;line-height:1.2;font-size:16px;padding:0 12px}
.gk{margin-top:26px}
.gpart{border-top:1px solid var(--line);scroll-margin-top:70px}
.gpart:last-of-type{border-bottom:1px solid var(--line)}
.gpart>summary{list-style:none;display:grid;grid-template-columns:32px 1fr 20px;gap:14px;align-items:center;min-height:64px;padding:8px 0;cursor:pointer}
.gpart>summary::-webkit-details-marker{display:none}
.gpart>summary .gn{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--surface);font-size:15px;font-weight:600;color:var(--atext)}
.gpart>summary b{font-size:17px;font-weight:600;line-height:1.3}
.gpart>summary .chev{color:var(--muted);transition:transform .2s}
.gpart[open]>summary .chev{transform:rotate(90deg)}
.gb{padding:0 0 18px}
.gb p{font-size:17px;color:var(--muted);line-height:1.5;margin-top:8px}
.gb p:first-child{margin-top:0}
.gb b{color:var(--ink)}
/* A small picture of a screen, drawn with the screen's own classes, inside a hairline frame. */
.pic{margin-top:12px;padding:14px 16px;border-radius:12px;box-shadow:inset 0 0 0 1px var(--line);pointer-events:none}
.pic .dhero.mini{margin:0;padding:0}
.pic .bignum{margin-top:0}
.pic .bignum .n,.pic .bignum .w{font-size:30px}
.pic .nline{font-size:15px}
.pic .start{margin:10px 0 0;padding:10px 0 0;border-top:1px solid var(--line)}
.pic .start h3{font-size:18px}
.pic .doors{margin:0}
.pic .door{min-height:56px}
.pic .words{margin:0}
.pic .ihero{margin:0}
.pic .ihero .big b{font-size:34px}
.pic .ihero .big span{font-size:22px}
.pic .findbox{margin:0}
.pic .tabs{margin:0}
.pic .strip{margin:0;border-radius:10px;width:100%}
.pic .runbar{position:static;background:none;padding:12px 0 0;border-top:0}
.pic .list,.pic .card{border-color:var(--line)}
.leg{display:grid;grid-template-columns:auto 1fr;gap:10px 12px;align-items:center;margin-top:10px;font-size:16px;color:var(--muted)}
.leg>span:nth-child(odd){justify-self:start}
.badge-sample{display:inline-grid;place-items:center;min-width:22px;height:20px;padding:0 6px;border-radius:10px;background:var(--badge-bg);color:#fff;font-size:11.5px;font-weight:700}

/* ---------- settings, health ---------- */
.set .lrow .li{color:var(--ink)}
.hl{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:14px 0;position:relative}
.hl+.hl::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--line)}
.hl b{display:block;font-size:17px;font-weight:600}
.hl small{display:block;font-size:15px;color:var(--muted);margin-top:2px}
.fakein{display:flex;align-items:center;min-height:52px;padding:0 14px;border-radius:12px;background:var(--card);box-shadow:inset 0 0 0 1px var(--hair);font-size:17px;color:var(--muted);margin-top:8px}
.codebox{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-top:10px}
.codebox span{height:56px;border-radius:12px;background:var(--card);box-shadow:inset 0 0 0 1px var(--hair);display:grid;place-items:center;font-size:26px;font-weight:600;font-variant-numeric:tabular-nums}
.sw{width:52px;height:32px;border-radius:16px;background:var(--ring);position:relative;flex:none;transition:background .2s}
.sw::after{content:"";position:absolute;left:3px;top:3px;width:26px;height:26px;border-radius:50%;background:#fff;transition:transform .2s}
.sw.on{background:var(--accent)}
.sw.on::after{transform:translateX(20px)}

/* ---------- fields ---------- */
.in-field{display:block;width:100%;min-height:52px;padding:12px 14px;border-radius:12px;background:var(--card);box-shadow:inset 0 0 0 1px var(--hair);font-size:17px;color:var(--ink)}
.in-field:focus{outline:none;box-shadow:inset 0 0 0 2px var(--ink)}
.in-label{display:block;font-size:15px;font-weight:600;color:var(--ink);margin:16px 0 8px}
.codeinput{font-size:26px;letter-spacing:.3em;text-align:center;font-variant-numeric:tabular-nums}

/* ---------- the bottom bar (phone) ---------- */
.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:50;display:grid;grid-template-columns:repeat(5,1fr);align-items:end;height:calc(var(--bar) + env(safe-area-inset-bottom));padding:6px 6px calc(10px + env(safe-area-inset-bottom));
  background:var(--bg);border-top:1px solid var(--line)}
.tab{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:3px;height:56px;font-size:12.5px;font-weight:500;color:var(--muted)}
.tab.on{color:var(--atext);font-weight:600}
.tab .badge{position:absolute;top:0;left:calc(50% + 5px);min-width:22px;height:20px;padding:0 6px;border-radius:10px;background:var(--badge-bg);color:#fff;font-size:11.5px;font-weight:700;display:grid;place-items:center;border:2px solid var(--bar-solid)}
.tab .badge.dot{min-width:12px;width:12px;height:12px;padding:0}
.tab.add .ab{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:var(--ink);position:relative;background:var(--surface)}
.tab.add .ab .i{width:24px;height:24px}
.tab.add{color:var(--muted);justify-content:flex-end}
.tab.add .ab .draft{position:absolute;right:-2px;top:-2px;width:12px;height:12px;border-radius:50%;background:var(--accent);border:2px solid var(--bar-solid)}
.rail,.lapbar{display:none}

/* ---------- sheets ---------- */
.scrim{position:fixed;inset:0;z-index:80;background:var(--scrim);opacity:0;transition:opacity .22s}
.scrim.on{opacity:1}
.sheet{position:fixed;left:0;right:0;bottom:0;z-index:90;max-width:560px;margin:0 auto;max-height:85vh;max-height:85dvh;display:flex;flex-direction:column;background:var(--bg);border-radius:20px 20px 0 0;transform:translateY(105%);transition:transform .3s cubic-bezier(.2,.8,.25,1)}
.sheet.on{transform:none}
.sheet>form{display:flex;flex-direction:column;min-height:0;flex:1}
.sheet .grab{width:36px;height:4px;border-radius:2px;background:var(--line);margin:10px auto 4px;flex:none}
.sheet .grab{touch-action:none;cursor:grab;position:relative}
.sheet .grab::before{content:"";position:absolute;left:-40px;right:-40px;top:-12px;bottom:-12px}
html:has(body.sheet-on),body.sheet-on{overscroll-behavior-y:contain}
.shh{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;padding:8px 6px 4px 20px;flex:none}
.shh h2{font-size:22px;line-height:1.2;font-weight:700;letter-spacing:-.01em;padding-top:10px}
.shh .x{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;color:var(--muted);flex:none}
.shb{padding:8px 20px 12px;overflow-y:auto;overscroll-behavior:contain;flex:1}
.shf{padding:10px 20px calc(16px + env(safe-area-inset-bottom));flex:none;border-top:1px solid var(--line);background:var(--bg)}
.shf .btn{width:100%;min-height:52px;font-size:17px}
.shf .two{display:grid;grid-template-columns:1fr 1.4fr;gap:10px}
.shf .note2{text-align:center;font-size:14px;color:var(--muted);margin-top:8px;line-height:1.4}
.q{margin-top:16px}
.ql{font-size:15px;font-weight:600;color:var(--ink);margin-bottom:10px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ql .guess{font-weight:500;color:var(--atext)}
.opts{display:flex;flex-wrap:wrap;gap:8px}
.opt{display:inline-flex;align-items:center;gap:7px;min-height:48px;padding:0 15px;font-size:16px;font-weight:500;color:var(--ink);cursor:pointer;position:relative}
.opt.on,.opt:has(input:checked){color:var(--on);font-weight:600}
.opt input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.opt:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:2px}
.opt .rd{width:8px;height:8px;border-radius:50%;background:var(--c2)}
.opt.room.on,.opt.room:has(input:checked){color:var(--on)}
.opt.room.on .rd,.opt.room:has(input:checked) .rd{background:var(--on)}
.compact .opt{min-height:48px;padding:0 12px;font-size:15px}
.compact .opt .i{display:none}
.compact .opts{gap:6px}
.rgrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.rgrid .opt{justify-content:flex-start}
/* Move: the room the task is already in says so, in words on the lit chip (IA 3.4). */
.opt.room.on:has(.ain){flex-wrap:wrap;row-gap:0;padding-top:6px;padding-bottom:6px}
.opt .ain{flex-basis:100%;padding-left:16px;font-size:13px;font-weight:500;line-height:1.3;opacity:.92}
.words{margin-top:8px;border-radius:12px;background:var(--surface);padding:14px 16px 10px;box-shadow:inset 0 0 0 2px var(--accent)}
.words textarea{width:100%;min-height:50px;resize:none;font-size:19px;line-height:1.35;font-weight:500;outline:none;background:transparent}
.words textarea::placeholder{color:var(--muted);font-weight:400}
.words .ex{font-size:17px;font-weight:500}
.goesto{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-top:14px;font-size:16px;color:var(--muted);min-height:48px}
.goesto b{color:var(--ink)}
.goesto .chg{display:inline-flex;align-items:center;color:var(--atext);font-weight:600;min-height:48px;padding:0 6px}
.roomdet>summary{list-style:none;cursor:pointer}
.roomdet>summary::-webkit-details-marker{display:none}
fieldset{border:0;min-width:0}
legend.ql{width:100%}
.wf{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:4px;font-size:14px;color:var(--muted)}
.lockchip{display:inline-flex;align-items:center;gap:6px;min-height:48px;padding:0 14px;font-size:15px;font-weight:500;color:var(--ink);cursor:pointer;position:relative}
.lockchip.on,.lockchip:has(input:checked){color:var(--bg);font-weight:600}
.lockchip input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.lockchip:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:2px}
.bigc{display:grid;grid-template-columns:24px 1fr;gap:14px;align-items:center;width:100%;text-align:left;padding:14px;margin-top:10px}
.bigc .li{width:24px;height:40px;display:grid;place-items:center;color:var(--ink)}
.bigc b{display:block;font-size:17px;font-weight:600}
.bigc small{display:block;font-size:15px;color:var(--muted);margin-top:2px}
.tickline{display:flex;gap:10px;align-items:center;margin-top:14px;padding:12px 14px;color:var(--atext);font-weight:600;font-size:16px}
.menu .lrow{width:100%;text-align:left}
.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding:14px 16px;width:100%;text-align:left}
.toggle-row b{font-size:17px;font-weight:600;display:block}
.toggle-row small{font-size:15px;color:var(--muted)}
.tarea{width:100%;min-height:84px;border-radius:12px;background:var(--surface);padding:12px 14px;font-size:17px;outline:none;resize:vertical;margin-top:8px}
/* ---------- Settings and the rest (lane B step B3, IA 3.15 and 3.16) ---------- */
.fold.sf>summary,.fold.shv>summary,.fold.big>summary{gap:14px;padding:10px 0;min-height:64px}
.fold>summary .ft{display:block;min-width:0}
.fold>summary .ft b{display:block;font-size:17px;font-weight:600;line-height:1.3}
.fold>summary .ft small{display:block;font-weight:400;color:var(--muted);font-size:15px;line-height:1.35;margin-top:2px}
.fold>summary .li{width:24px;height:36px;display:grid;place-items:center;flex:none;color:var(--ink)}
.fold>summary .sic{display:grid;place-items:center;flex:none;color:var(--ink)}
.fold .fb>p:first-child,.fold .fb>form:first-child{margin-top:2px}
.fold.flat>summary{min-height:48px}
.fh{font-size:16px;font-weight:600;color:var(--ink);margin:18px 0 4px}
.dvs{display:grid}
.dv{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--line)}
.dv:first-child{border-top:0}
.dv p{min-width:0}
.dv b{display:block;color:var(--ink);font-weight:600;font-size:16px}
.dv small{display:block;font-size:14px;color:var(--muted);line-height:1.4;margin-top:2px}
.dv form{flex:none}
.list>.fold.shv{margin:0;border-top:1px solid var(--line);border-bottom:0}
.list>.fold.shv:first-child{border-top:0}
.fold.shv>summary .ch.lock{flex:none}
.shv .rgrid .opt .rn{display:flex;flex-direction:column;line-height:1.15;min-width:0}
.shv .rgrid .opt .rn small{font-size:12.5px;font-weight:500;opacity:.85}
.shv .opt.room.on{cursor:default}
.shvb{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.toggle-row{position:relative;cursor:pointer}
.toggle-row.still{cursor:default}
.toggle-row .swin{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.toggle-row .swin:checked+.sw{background:var(--accent)}
.toggle-row .swin:checked+.sw::after{transform:translateX(20px)}
.toggle-row:has(.swin:focus-visible){outline:3px solid var(--focus);outline-offset:2px}
.pdsends{font-size:17px;line-height:1.5;color:var(--ink);font-weight:500}
.pdpage .list{margin-top:6px}
.codewrap{position:relative;margin-top:10px}
.codewrap .codebox{display:none;margin-top:0}
.js .codewrap .codebox{display:grid;pointer-events:none}
.js .codewrap .codeinput{position:absolute;left:0;top:0;width:100%;height:100%;min-height:0;z-index:1;opacity:0;caret-color:transparent}
.codebox span.on{box-shadow:inset 0 0 0 1px var(--ink)}
.codewrap:focus-within .codebox span.cur{box-shadow:inset 0 0 0 2px var(--accent)}
.codewrap .codeinput[aria-invalid="true"]+.codebox span{box-shadow:inset 0 0 0 2px var(--red)}
.sbrand{display:flex;align-items:center;gap:12px;padding-top:40px;font-size:20px;font-weight:700;letter-spacing:-.01em}
.sbrand .bm{width:40px;height:40px;display:grid;place-items:center;color:var(--logo)}
.codes{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:18px}
.codes li{padding:12px 8px;border-radius:12px;background:var(--surface);text-align:center}
.key{font-family:ui-monospace,Menlo,Consolas,monospace;overflow-wrap:anywhere}
.qr svg{display:block;width:220px;height:220px;background:#ffffff;border-radius:12px;margin-top:8px}
.steps-setup{margin:18px 0 0 22px;display:grid;gap:22px;font-size:17px}
/* A link drawn as a button is a block, so it is never taken for a link inside a line of words. */
.btn.blk{display:flex;width:max-content;max-width:100%}
.btn.blk.wide{width:100%}
.cfsheet{margin-top:16px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.cfsheet .two{display:grid;grid-template-columns:1fr 1.4fr;gap:10px}
.cfsheet .why ul.plain{list-style:none;display:grid;gap:4px;font-size:16px;line-height:1.45;color:var(--ink)}
.vitals .hl{grid-template-columns:92px minmax(0,1fr) auto}
.vitals .hl .bstate{justify-self:start}
.vitals .hl .link{font-size:15px}
.cform input[type="password"]{display:block;width:100%;min-height:52px;padding:12px 14px;border-radius:12px;background:var(--card);box-shadow:inset 0 0 0 1px var(--hair);font-size:17px;color:var(--ink)}
.sheet .moredet,.addpage .moredet,.sheetcard .moredet{margin-top:14px}
.sheet .moredet>summary,.addpage .moredet>summary,.sheetcard .moredet>summary{list-style:none;display:flex;align-items:center;gap:8px;min-height:48px;font-weight:600;color:var(--atext);font-size:16px;cursor:pointer}
.sheet .moredet>summary::-webkit-details-marker,.addpage .moredet>summary::-webkit-details-marker,.sheetcard .moredet>summary::-webkit-details-marker{display:none}
.cbq{font-size:22px;line-height:1.25;font-weight:650}
.cball{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;align-items:center;width:100%;text-align:left;margin-top:16px;min-height:58px;padding:8px 12px}
.cball b{display:block;font-size:16px;font-weight:600}
.cball small{display:block;font-size:14px;color:var(--muted);line-height:1.35;margin-top:1px}
.cball.on .tk{background:var(--accent);border-color:var(--accent);color:var(--on)}
.cbans{display:grid;gap:10px;margin-top:10px}
.cbans .link{justify-self:start;padding:0 4px}
.cbmsg{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.cbmsg .fine{margin-top:6px}
.errline{margin-top:10px;padding:10px 12px;border-radius:12px;background:var(--red-soft);color:var(--red-ink);font-weight:600;font-size:15px}

/* ---------- toast, tour, hints, tips ---------- */
/* The flash after an action, drawn as a toast just above the bar. It is in the page as sent,
   so it shows without the script; with it, an Undo-only toast goes after 8 seconds and one
   that offers somewhere to go stays until it is tapped or closed (IA 6.6). */
.toast{position:fixed;left:12px;right:12px;bottom:calc(var(--bar) + 12px + env(safe-area-inset-bottom));z-index:120;max-width:536px;margin:0 auto;display:flex;align-items:center;gap:8px;padding:6px 6px 6px 16px;min-height:56px;border-radius:12px;
  background:var(--tbg);color:var(--tink);transform:translateY(16px);opacity:0;pointer-events:none;transition:all .25s}
.toast.on{transform:none;opacity:1;pointer-events:auto}
.toast{flex-wrap:wrap}
.toast .tt{flex:1 1 200px;font-size:16px;line-height:1.35;font-weight:400;min-width:0}
.toast .tt small{display:flex;align-items:center;gap:5px;font-size:14px;opacity:.78;margin-top:2px}
.toast .ta{display:flex;gap:2px;flex-wrap:wrap;justify-content:flex-end;margin-left:auto}
.toast .ta form{display:inline-flex}
.toast .ta .tb{min-height:48px;margin:0;padding:0 12px;font-size:16px;font-weight:700;color:var(--tacc);display:inline-flex;align-items:center;gap:6px;background:none;box-shadow:none;text-decoration:none}
.toast .ta .tx{min-width:48px;justify-content:center;font-size:24px;font-weight:400;color:var(--tink);opacity:.78}
/* Without the script the toast is a line at the top of the page, as the old flash was. */
html:not(.js) .toast{position:static;margin:12px 0 0;max-width:none;transform:none;opacity:1;pointer-events:auto}
html:not(.js) .toast .tx{display:none}
body.run .toast,body.nobar .toast,body.signed-out .toast{bottom:calc(24px + env(safe-area-inset-bottom))}
body.run.has-runbar .toast{bottom:calc(150px + env(safe-area-inset-bottom))}
/* An open sheet sits above any toast: the toast waits under the scrim (its Undo is back when the
   sheet closes), and one made while the sheet is open sits at the top, clear of its buttons. */
body.sheet-on .toast{z-index:70}
body.sheet-on .toast.over{z-index:130;top:calc(12px + env(safe-area-inset-top));bottom:auto}
/* An action on its way to being drawn in place (static/swap.js): a thin line along the top, shown by
   the script only once it has taken a moment (a quick answer shows none). Still, with less motion. */
html.swapping body::after{content:"";position:fixed;left:0;top:0;width:100%;height:3px;z-index:300;pointer-events:none;background:var(--accent);transform-origin:0 50%;animation:swapping 1.4s cubic-bezier(.4,0,.2,1) infinite}
@keyframes swapping{from{transform:scaleX(.08)}to{transform:scaleX(1)}}
.tour{position:fixed;inset:0;z-index:200}
/* The tour's spotlight: a ring round the part it names, the rest of the page dimmed. */
.tspot{position:fixed;border-radius:14px;box-shadow:0 0 0 3px var(--accent),0 0 0 200vmax rgba(0,0,0,.62);transition:all .35s cubic-bezier(.2,.8,.25,1);pointer-events:none}
.tspot.none{box-shadow:0 0 0 200vmax rgba(0,0,0,.62);width:0!important;height:0!important;left:50%;top:40%}
.tcard{position:fixed;left:16px;right:16px;max-width:380px;margin:0 auto;background:var(--bg);color:var(--ink);border-radius:16px;padding:18px 18px 14px;transition:top .35s cubic-bezier(.2,.8,.25,1),bottom .35s}
.tcard.mid{top:30%}
.tcard .tn{font-size:14px;font-weight:600;color:var(--atext)}
.tcard p{font-size:17px;line-height:1.45;margin-top:6px}
.tcard p+p{margin-top:10px}
.tcard .tb{display:flex;justify-content:space-between;align-items:center;margin-top:14px;gap:8px}
.tcard .tb .tskip{font-weight:500;color:var(--muted);min-height:48px;padding:0 8px}
.tcard .dots{display:flex;gap:5px}
.tcard .dots i{width:6px;height:6px;border-radius:50%;background:var(--line)}
.tcard .dots i.on{background:var(--accent);width:16px;border-radius:3px}
.hint{pointer-events:none}
.hint,.tip{position:absolute;z-index:150;max-width:300px;padding:12px 14px;border-radius:12px;background:var(--tbg);color:var(--tink);font-size:16px;line-height:1.4;animation:pop .25s ease}
.hint.fixed,.tip.fixed{position:fixed}
.hint::before,.tip::before{content:"";position:absolute;left:var(--ax,24px);width:12px;height:12px;background:var(--tbg);transform:rotate(45deg);border-radius:2px}
.hint.below::before,.tip.below::before{top:-5px}
.hint.above::before,.tip.above::before{bottom:-5px}
.hint .hk{display:block;font-size:14px;font-weight:600;color:var(--tacc);margin-bottom:3px}
.tip a{display:inline-flex;align-items:center;gap:3px;min-height:48px;color:var(--tacc);font-weight:600;font-size:15px}
@keyframes pop{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}

/* ---------- round shapes, square targets ----------
   A finger near the corner of a round button still means that button, and the office's tap
   measurement (tools/taps.js) asks the browser what a tap there lands on, corners included
   (a browser does not count a rounded corner as part of the box). So these controls keep a
   square box that answers over all of it, and draw their shape and fill on a layer
   underneath it (::before): --r the corners, --b the fill, --s2 an outline. */
.ib,.avatar,.ppill,.back,.rp,.fchip,.lockchip,.opt,.btn,.shh .x,.tickline{position:relative;isolation:isolate;border-radius:0!important;background:none!important;box-shadow:none!important}
.ib::before,.avatar::before,.ppill::before,.back::before,.rp::before,.fchip::before,.lockchip::before,.opt::before,.btn::before,.shh .x::before,.tickline::before{
  content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--r,0);background:var(--b,none);box-shadow:var(--s2,none);pointer-events:none}
.ib{--r:50%;--b:transparent}
/* G: a small grey circle with his letter, inside a whole 48 px target. */
.avatar{--r:50%;--b:var(--surface)}
.avatar::before{inset:7px}
.ppill{--r:999px;--b:var(--ppill-bg)}
.back{--r:999px;--b:transparent}
.rp{--r:999px;--b:var(--surface)}
.rp::before,.fchip::before,.lockchip::before{inset:4px 0}
/* The tick line on I paid it (the bill problem it clears): its whole band answers a touch. */
.tickline{--r:12px;--b:var(--soft)}
.rp.clay{--b:var(--soft);color:var(--atext)}
.rp.pay{--b:var(--accent);color:var(--on)}
.fchip{--r:999px;--b:var(--surface)}
.fchip.on{--b:var(--ink)}
.lockchip{--r:999px;--b:var(--surface)}
.lockchip.on,.lockchip:has(input:checked){--b:var(--ink)}
.opt{--r:12px;--b:var(--surface)}
.opt.on,.opt:has(input:checked){--b:var(--ink)}
.opt.room.on,.opt.room:has(input:checked){--b:var(--ink)}
.btn{--r:12px}
/* quiet: words only, for a small way on under something else. danger: removes, stops or cancels. */
.btn.quiet{--b:transparent;color:var(--atext)}
.btn.danger{--b:var(--surface);color:var(--red-ink)}
/* Top right of a list (Add) and beside a title (Start): one look each, on every page. */
.addpill,.startpill{position:relative;isolation:isolate;flex:none;display:inline-flex;align-items:center;gap:4px;min-height:48px;padding:0 14px;font-weight:600;font-size:16px;white-space:nowrap}
.addpill::before,.startpill::before{content:"";position:absolute;left:0;right:0;top:4px;bottom:4px;border-radius:20px;z-index:-1;pointer-events:none}
.addpill{color:var(--ink)}
.addpill::before{background:var(--surface)}
.startpill{color:var(--atext)}
.startpill::before{background:var(--soft)}
.btn.primary{--b:var(--accent)}
.btn.secondary{--b:var(--surface)}
/* Done beside the Start here card's main button: the quiet grey (above). */
.start .sa:not(.one) .btn.primary{--b:var(--surface)}
/* A second button on a grey box takes the page's colour, so it still shows. */
.state .sb .btn.secondary,.state .sb .btn.secondary,.hscard .btn.secondary,.why .btn.secondary,.callout .btn.secondary,.mk .box .btn.secondary,.mk .note .btn.secondary{--b:var(--bg)}
.shh .x{--r:50%;--b:transparent}
.toast .ta .tb{border-radius:0}

/* ---------- the office's plain markup inside rebuilt pages (.mk) ----------
   An add-on draws its own parts with the office's plain markup (rows, a bare button and a
   "secondary" one, labelled fields, folds, a More menu: MODULES.md 11). Inside .mk that markup
   takes the design's colours, type and 48 px targets, so an add-on looks like the rest of the
   office without its own classes (SPEC.md 43). The same rules old.css gives a page not yet
   rebuilt; these stay once old.css goes. */
.mk{font-size:17px}
.mk h1{font-weight:700;font-size:30px;line-height:1.15;letter-spacing:-.015em;margin:18px 0 8px}
.mk h2{font-size:19px;font-weight:650;letter-spacing:-.005em;line-height:1.25;margin:30px 0 10px}
.mk h3{font-size:17px;font-weight:600;margin:20px 0 6px}
.mk p{margin:8px 0}
.mk ul.plain{padding-left:22px;margin:6px 0}
.mk ul.plain li{margin:4px 0}
.mk ol{padding-left:24px}
.mk .muted{color:var(--muted)}
.mk .asof{margin:8px 0 0;font-size:15px}
.mk .red{color:var(--red-ink)}
.mk .amber{color:var(--ink);font-weight:600}
.mk .green,.mk .fine{color:var(--atext)}
.mk .error,.mk .field-error{color:var(--red-ink);font-weight:600}
.mk p.error{margin:12px 0;padding:10px 12px;border-radius:12px;background:var(--red-soft)}
.mk .note{margin:12px 0;padding:12px 14px;border-radius:12px;background:var(--surface);color:var(--ink);display:block}
.mk div.note{grid-template-columns:none}
.mk .text{white-space:pre-wrap}
.mk .label{font-size:14px;font-weight:500;color:var(--muted);white-space:nowrap}
.mk strong{font-weight:600}

/* Every link in the page answers a tap over 48 px, centred on its words: a link is its own
   small inline block whose padding makes its line 50 px tall (SPEC.md 17.1; design C raised
   44 to 48). */
.mk :where(a:not(.button):not(.menu)){display:inline-block;padding:13px 0;padding:calc((50px - 1lh) / 2) 0;color:var(--atext);font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}

/* Boxes for things that need a decision: came back, Claude says done, a suggestion. */
.mk .box{margin:14px 0;padding:14px 16px;border-radius:12px;background:var(--surface)}
.mk .box.warn{background:var(--surface)}

/* Forms */
.mk .field{margin:14px 0}
.mk fieldset.field{border:0;border-radius:12px;padding:10px 14px;box-shadow:inset 0 0 0 1px var(--line)}
.mk legend{padding:0 4px;font-weight:600;margin-bottom:4px}
.mk label{display:block;margin:0 0 6px;font-weight:600}
.mk .help{color:var(--muted);font-size:15px;margin:2px 0 8px}
.mk input[type="text"],.mk input[type="password"],.mk input[type="date"],.mk input[type="time"],.mk input[type="number"],.mk input[type="url"],
.mk input[type="search"],.mk input:not([type]),.mk select,.mk textarea{
  display:block;width:100%;min-height:52px;font-size:17px;font-family:inherit;padding:12px 14px;border-radius:12px;background:var(--card);color:var(--ink);box-shadow:inset 0 0 0 1px var(--hair)}
.mk select{appearance:auto}
.mk textarea{min-height:6em;resize:vertical}
.mk input:focus,.mk select:focus,.mk textarea:focus{outline:none;box-shadow:inset 0 0 0 2px var(--ink)}
.mk input[aria-invalid="true"],.mk textarea[aria-invalid="true"],.mk select[aria-invalid="true"]{box-shadow:inset 0 0 0 2px var(--red)}
/* A checkbox or radio button and its words are one label, all of it 48 px tall, so a tap
   anywhere on the row ticks it; it sits 12 px from the next thing that answers a tap and 16 px
   under a field (a phone moves a touch about 10 px: foundations round, SPEC.md 32). */
.mk .check{display:flex;align-items:center;gap:12px;margin:12px 0;min-height:48px;cursor:pointer;font-weight:500}
.mk .check input{width:24px;height:24px;flex:none;margin:0;accent-color:var(--accent)}
.mk input+.check,.mk select+.check,.mk textarea+.check{margin-top:16px}
.mk .days{display:flex;flex-wrap:wrap;gap:0 14px}
.mk .rule-choice{border-top:1px solid var(--line);padding:4px 0}
.mk .rule-choice:first-of-type{border-top:0}
.mk .rule-sub{padding-left:36px}
.mk .pair{display:flex;flex-wrap:wrap;gap:0 12px}
.mk .pair>.field{flex:1 1 12rem}

/* Buttons: a bare button is the main one (the accent), "secondary" the grey one. Their corners
   are small (12px): the tap measurement counts a rounded corner as outside the button. */
.mk button:not([class]),.mk button[class=""],.mk .button,.mk button.secondary{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 18px;margin:8px 8px 0 0;font-size:17px;font-weight:600;line-height:1.2;
  border-radius:12px;text-decoration:none;cursor:pointer;background:var(--accent);color:var(--on)}
.mk button.secondary,.mk .button.secondary{background:var(--surface);color:var(--ink)}
/* On a grey box a second button takes the page's colour, so it still shows. */
.mk :is(.box,.note,.step-now) :is(button.secondary,.button.secondary),.mk :is(.box,.note,.step-now) details.more>summary{background:var(--bg)}
.mk button.link{display:inline-flex;align-items:center;min-height:48px;margin:0;padding:0 4px;background:none;color:var(--atext);font-weight:600;text-decoration:underline}
.mk button[disabled]{opacity:.6;cursor:default}
.mk form.inline{display:inline}
.mk .cancel{display:inline-block;padding:13px 4px}
.mk .when{display:flex;flex-wrap:wrap}
.mk .when button{flex:1 1 auto}

.mk .heading-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0 12px}
.mk .heading-row h1,.mk .heading-row h2{margin-right:auto}
.mk .heading-row .jump{margin:0}

/* Rows: the old Needs-you list and every other plain list, drawn between hairlines. */
.mk ul.rows{list-style:none;padding:0;margin:10px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.mk ul.rows>li{display:block;padding:12px 0;position:relative;min-height:0}
.mk ul.rows>li+li::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--line)}
.mk ul.rows>li:has(> .row-title:first-child > a){padding-top:2px}
.mk .row-title{font-weight:600;font-size:17px;margin:0 0 2px;line-height:1.3}
.mk .row-title a{color:var(--ink);font-weight:600}
.mk .row-words{margin:2px 0;font-size:15px;color:var(--muted)}
.mk .row-actions,.mk .item-actions{display:flex;flex-wrap:wrap;align-items:flex-start}
.mk .more-links a{display:inline-block;padding:13px 8px 13px 0}

/* The More menu: a summary drawn as a quiet button, opening into a list. */
.mk details.more{display:inline-block;vertical-align:top;margin:8px 8px 0 0}
.mk details.more>summary{list-style:none;display:inline-flex;align-items:center;min-height:52px;padding:0 16px;border-radius:12px;color:var(--ink);font-weight:600;cursor:pointer;background:var(--surface)}
.mk details.more>summary::-webkit-details-marker{display:none}
.mk details.more[open]>summary{box-shadow:inset 0 0 0 2px var(--ink)}
.mk .more-list{display:flex;flex-direction:column;align-items:flex-start;padding:4px 0 0}
.mk .more-list .menu,.mk .more-list form.inline button.menu{display:inline-flex;align-items:center;min-height:48px;margin:0;padding:0 4px;background:none;color:var(--atext);font-weight:600;text-decoration:underline;font-size:16px;box-shadow:none}
.mk .more-list form{margin:0}
.mk details.fold{margin:12px 0;padding:0 0 4px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.mk details.fold>summary{list-style:none;min-height:52px;display:flex;align-items:center;font-weight:600;cursor:pointer;color:var(--ink)}
.mk details.fold>summary::-webkit-details-marker{display:none}
.mk details.fold>summary::after{content:"";margin-left:auto;width:9px;height:9px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(-45deg);transition:transform .2s}
.mk details.fold[open]>summary::after{transform:rotate(45deg)}
.mk .row-actions>details.fold{margin:0}
/* A fold whose summary is a button ("Not sending this one", "Stop this income", "Write my own
   steps") is drawn as that button, in line with its partners, never as a box inside the list
   (lane B fix round 1); open, its form takes the full width under them. */
.mk details.fold:has(>summary.button){display:inline-block;vertical-align:top;margin:0;padding:0;border:0}
.mk details.fold:has(>summary.button)[open]{display:block;flex:1 1 100%;margin-top:4px}
.mk details.fold>summary.button{display:inline-flex;width:auto}
.mk details.fold>summary.button::after{content:none}

/* Tabs on the list */
.mk .tabs{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.mk .tabs a{display:inline-flex;align-items:center;min-height:52px;padding:0 14px;border-radius:12px;background:var(--surface);color:var(--ink);font-weight:600;font-size:15px;text-decoration:none}
.mk .tabs a.current{background:var(--ink);color:var(--bg)}
.mk .filters{display:flex;flex-wrap:wrap;align-items:flex-start;gap:0 12px}
.mk .filters>.field{flex:1 1 15rem;margin:6px 0}
.mk .pager a{margin-right:16px;display:inline-block;padding:13px 0}

/* Steps */
.mk .step-now{margin:12px 0;padding:16px;border-radius:12px;background:var(--surface)}
.mk .step-text{font-size:22px;font-weight:650;line-height:1.25}
.mk ol.steps{padding-left:24px;list-style:decimal}
.mk ol.steps li{margin:6px 0}
.mk ol.steps li.ticked{color:var(--muted);text-decoration:line-through}
.mk .tick{color:var(--atext);font-weight:600}

/* Facts on a bill */
.mk dl.facts{display:grid;grid-template-columns:auto 1fr;gap:8px 16px;margin:12px 0;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:16px}
.mk dl.facts dt{color:var(--muted);font-weight:500}
.mk dl.facts dd{margin:0;font-weight:600}
.mk .state{display:inline;margin:0;padding:0;background:none;box-shadow:none;border-radius:0;overflow:visible}
.mk .state strong{margin-right:4px}

.mk .notes li{margin:10px 0}
.mk .notes .muted{margin:0;font-size:15px}
.mk li.pasted{padding-left:10px;border-left:2px solid var(--ring)}
.mk .sort-item{margin:12px 0}
.mk .park-rest{margin-top:28px;padding-top:8px;border-top:1px solid var(--line)}
.mk .vitals-line{margin-top:20px}
.mk .codes{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:18px}
.mk .key{font-family:ui-monospace,Menlo,Consolas,monospace}
.mk .qr svg{width:220px;height:220px;background:#ffffff;border-radius:12px}
.mk .refresh-note{padding:8px 0}
.mk form.place{display:block;margin:0;font-size:inherit;font-weight:inherit}
.mk>h2:first-child{margin-top:26px}
.place .rt.hit{min-height:48px}

/* ---------- utilities: every inline style of the prototype has a class here ---------- */
.mt-0{margin-top:0}.mt-4{margin-top:4px}.mt-6{margin-top:6px}.mt-8{margin-top:8px}.mt-10{margin-top:10px}.mt-12{margin-top:12px}.mt-14{margin-top:14px}
.mt-16{margin-top:16px}.mt-18{margin-top:18px}.mt-20{margin-top:20px}.mt-22{margin-top:22px}.mt-28{margin-top:28px}.mb-10{margin-bottom:10px}
.subtabs .st b{margin-left:5px;font-weight:600}
.mx-4{margin-left:4px;margin-right:4px}.ml-4{margin-left:4px}.ml-auto{margin-left:auto}.m-0{margin:0}
.sec{margin:14px 0 0}.sec-head{margin:4px 0 6px;font-weight:600}
.pad{padding:14px 0}.pad-t{padding:14px 0 4px}.pad-b{padding:4px 0}
.fs-13{font-size:13px}.fs-14{font-size:14px}.fs-15{font-size:15.5px}.fs-16{font-size:16px}.fs-17{font-size:17px}.fs-18{font-size:18px}.fs-19{font-size:19px}.fs-20{font-size:20px}
.fw-550{font-weight:500}.fw-650{font-weight:600}.fw-700{font-weight:700}
.t-clay{color:var(--atext)}.t-ink2{color:var(--muted)}.t-ink3{color:var(--muted)}.t-green{color:var(--atext)}.t-red{color:var(--red-ink)}.t-amber{color:var(--ink)}.t-gold{color:var(--ink)}.t-room{color:var(--c2)}
.d-block{display:block}.rel{position:relative}.center{text-align:center}.grow{flex:1}
.row-gap{display:flex;flex-wrap:wrap;gap:8px}.stack{display:grid;gap:8px}.stack-10{display:grid;gap:10px}
.split{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line)}
.flat{margin:0;border-radius:0;box-shadow:none;border-top:1px solid var(--line)}
.minh-48{min-height:48px}.minh-70{min-height:70px}.minh-110{min-height:110px}
.sqi{width:24px;height:36px;display:grid;place-items:center;color:var(--ink)}
.serif-big{font-size:30px;line-height:1.15;margin-top:8px;font-weight:700;letter-spacing:-.015em}
.okcircle{width:56px;height:56px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--atext)}
.inline-form{display:inline}
/* Parts that need the script hide without it, and the line saying so hides with it. */
html:not(.js) [data-needs-script]{display:none!important}
html.js [data-noscript]{display:none!important}

.shot *,.shot *::before,.shot *::after{transition:none!important;animation:none!important}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* ---------- on the home screen: the header clears the phone's own top bar (IA 8) ---------- */
@media (display-mode:standalone){.phead{padding-top:env(safe-area-inset-top)}}

/* ---------- small phones ---------- */
@media (max-width:399px){.ppill{padding:0}.ppill span{display:none}.hbtns{gap:2px}.ptitle{font-size:28px}}

/* ---------- dark: room words take each room's lighter tone, which reads at 4.5:1 on a dark page ---------- */
@media (prefers-color-scheme:dark){
  html[data-theme="auto"] .grp.rg,html[data-theme="auto"] .grp.rc,html[data-theme="auto"] .rt{color:var(--ct,var(--c))}
  html[data-theme="auto"] .rt i,html[data-theme="auto"] .opt .rd{background:var(--c)}
  html[data-theme="auto"] .door-ico,html[data-theme="auto"] .rh-ico,html[data-theme="auto"] .alsoin .lrow:not(.hot) .li,html[data-theme="auto"] .rdoor .bi,html[data-theme="auto"] .jobrow .li{color:var(--c)}
}
/* Room headings and tags in dark (mobile-11): each room's light tone, so the words are at least
   4.5:1 on the page and on a grey box. */
html[data-theme="dark"] .grp.rg,html[data-theme="dark"] .grp.rc,html[data-theme="dark"] .rt{color:var(--ct,var(--c))}
html[data-theme="dark"] .rt i,html[data-theme="dark"] .opt .rd{background:var(--c)}
html[data-theme="dark"] .door-ico,html[data-theme="dark"] .rh-ico,html[data-theme="dark"] .alsoin .lrow:not(.hot) .li,html[data-theme="dark"] .rdoor .bi,html[data-theme="dark"] .jobrow .li{color:var(--c)}
html[data-theme="light"] .sw::after,html[data-theme="dark"] .sw::after{background:#fff}

/* ================= laptop: 1024 px and wider ================= */
@media (min-width:1024px){
  :root{--bar:0px}
  .tabbar,.phone-only{display:none!important}
  .lap-only{display:revert!important}
  body.signed-in{padding-left:256px}
  .rail{display:flex;flex-direction:column;position:fixed;left:0;top:0;bottom:0;width:256px;z-index:40;padding:18px 14px 10px;overflow:hidden;background:var(--rail-bg);border-right:1px solid var(--line)}
  .brand{display:flex;align-items:center;gap:11px;padding:2px 6px 14px;font-size:19px;font-weight:700;letter-spacing:-.01em;min-height:48px}
  .brand .bm{width:34px;height:34px;display:grid;place-items:center;color:var(--logo)}
  .rail .addb{margin:2px 0 14px;min-height:48px;font-size:16px}
  .rl{display:flex;align-items:center;gap:11px;min-height:40px;padding:0 10px;border-radius:10px;font-size:15.5px;font-weight:500;color:var(--muted)}
  .rl:hover{background:var(--surface)}
  .rl.on{background:var(--surface);color:var(--ink);font-weight:600}
  .rl .cnt{margin-left:auto;font-size:13px;font-weight:500;color:var(--muted)}
  .rl .bdg{margin-left:auto;min-width:22px;height:20px;padding:0 6px;border-radius:10px;background:var(--badge-bg);color:#fff;font-size:11.5px;font-weight:700;display:grid;place-items:center}
  .rl .bdg.dot{min-width:10px;width:10px;height:10px;padding:0}
  .rl.sub{min-height:34px;padding-left:20px;font-size:15px;font-weight:500}
  .rl.sub i.d{width:7px;height:7px;border-radius:50%;background:var(--c2);flex:none;margin-left:2px}
  .rl.sub.on{background:var(--surface)}
  .rk{margin:16px 10px 6px;font-size:13px;font-weight:600;color:var(--muted)}
  .rail .rscroll{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;margin:0 -8px;padding:0 8px 8px}
  .rail .rfoot{flex:none;padding-top:8px;display:flex;flex-direction:column;gap:2px;border-top:1px solid var(--line)}
  .rail .you{display:flex;align-items:center;gap:10px;min-height:52px;padding:0 8px;border-radius:10px;font-weight:600;font-size:15.5px}
  .rail .you.on{background:var(--surface)}
  .rail .you .avatar{width:36px;height:36px;font-size:14px}
  .rail .you .avatar::before{inset:0}
  .rail .you .avatar .rd{border-color:var(--rail-bg);right:0;top:0}
  .rail .you .cnt{margin-left:auto;font-size:13px;color:var(--muted);font-weight:500}
  .lapbar{display:flex;align-items:center;gap:12px;max-width:1200px;margin:0 auto;padding:16px 40px 0}
  .lapfind{flex:1;max-width:460px;display:flex;align-items:center;gap:10px;height:48px;padding:0 14px;border-radius:12px;background:var(--surface);color:var(--muted);font-size:16px}
  .lapfind kbd{margin-left:auto;font-family:var(--sans);font-size:12px;font-weight:600;padding:3px 7px;border-radius:6px;background:var(--bg);color:var(--muted)}
  .lapbar .pstrip{display:flex;align-items:center;gap:8px;height:48px;padding:0 16px;border-radius:12px;background:var(--strip-bg);color:var(--strip-ink);font-weight:500;font-size:15px;margin-left:auto}
  .lapbar .pstrip b{font-weight:600;color:var(--atext)}
  .lapbar .lapq{flex:none;margin-left:auto}
  .lapbar .pstrip+.lapq{margin-left:0}
  .page,.phead{max-width:1200px;padding-left:40px;padding-right:40px}
  .page{padding-bottom:64px}
  .page.narrow,.phead.narrow{max-width:860px}
  .twocols{columns:2;column-gap:28px}
  .twocols .grp{break-after:avoid}
  .twocols .list{break-inside:avoid}
  .twocols .shelfh{break-after:avoid}
  .list.twocol{columns:2;column-gap:28px}
  .list.twocol .row{break-inside:avoid}
  .top .hbtns,.nav .hbtns .avatar,.greet .hbtns,.nav .hbtns .ppill,.nav .hbtns .qlink{display:none}
  .slim{left:256px}
  .strip.desk-strip{display:none}
  .toast{left:280px;right:auto;bottom:24px;width:460px;margin:0}
  body.run .toast,body.nobar .toast,body.signed-out .toast{bottom:24px}
  /* Above the run's bar, which on a laptop also names the keys (the laptop check, SPEC.md 43). */
  body.run.has-runbar .toast{bottom:200px}
  .ptitle{font-size:40px}
  .sheet{left:50%;right:auto;bottom:auto;top:50%;width:540px;max-height:86vh;border-radius:16px;box-shadow:0 0 0 1px var(--line);transform:translate(-50%,-46%) scale(.98);opacity:0;pointer-events:none;transition:transform .22s,opacity .22s;margin-left:128px}
  .sheet.on{transform:translate(-50%,-50%);opacity:1;pointer-events:auto}
  .sheet .grab{display:none}
  .shh{padding-top:14px}
  .tcard{left:auto;right:auto}
  .cols{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:40px;align-items:start}
  .cols>*{min-width:0}
  .cols .colb{position:sticky;top:20px}
  .cols.even{grid-template-columns:1fr 1fr}
  .greet-l{display:flex;align-items:flex-end;justify-content:space-between;padding-top:22px}
  .greet-l .hello{font-size:40px;font-weight:700;letter-spacing:-.02em;line-height:1.1}
  .greet-l .date{font-size:16px;font-weight:500;color:var(--muted);margin-top:6px}
  .dhero{margin:12px 0 0}
  /* The greeting is the page's heading on a laptop, drawn above the columns; the date row in
     the hero stays for a screen reader only. */
  .dhero .greet{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .bignum .n,.bignum .w{font-size:56px}
  .start h3{font-size:26px}
  .start .sa{grid-template-columns:auto auto;justify-content:start}
  .start .sa .btn{padding:0 26px}
  .start .sa.one{grid-template-columns:auto}
  .colb .sh:first-child{margin-top:22px}
  .upnext .drow{padding:10px 0}
  .mini-idea{padding:16px 0;border-top:1px solid var(--line)}
  .mini-idea>b{display:block;font-size:19px;line-height:1.25;font-weight:650;margin-top:8px}
  .mini-idea p{font-size:15px;color:var(--muted);margin-top:6px;line-height:1.4}
  .mini-idea .yn{display:grid;grid-template-columns:1fr 1.4fr;gap:8px;margin-top:12px}
  .mini-idea .yn .btn{min-height:48px;font-size:15px}
  .doors{display:grid;grid-template-columns:1fr 1fr;column-gap:32px}
  .drawers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:32px}
  .rhero{margin:12px 0 0;padding:0 0 10px}
  .rhero .rhg{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:end}
  .rhero h1{font-size:40px}
  .stat b{font-size:36px}
  .task.cols{grid-template-columns:minmax(0,1fr) 380px;column-gap:40px}
  .task.cols>*{grid-column:1}
  .task.cols>.tside{grid-column:2;grid-row:1 / span 4;align-self:start}
  .task h1{font-size:40px}
  .tside{position:sticky;top:20px;margin-top:62px;padding:18px;border-radius:12px;background:var(--surface)}
  .tside .mainb{margin-top:0}
  /* The laptop's side box is grey, so a second button in it takes the page's colour. */
  .tside .btn.secondary,.tside .btn.secondary{--b:var(--bg)}
  .tside .tile{background:var(--bg)}
  body.run{padding-left:0}
  body.run .page{max-width:680px}
  body.run .rail{display:none}
  .runbar .in{max-width:560px}
  .bills.cols{grid-template-columns:minmax(0,6fr) minmax(0,5fr)}
  .panel-detail{display:block}
}
/* The rail on a 900 px laptop screen, once Windows' taskbar and the browser's bars are taken off
   (mobile-16): the room lines go compact, and a fade at the rail's foot shows that it scrolls. */
@media (min-width:1024px) and (max-height:900px){.rail .rl.sub{min-height:30px}}
@media (min-width:1024px){.rail .rscroll::after{content:"";position:sticky;bottom:-8px;display:block;flex:none;min-height:22px;margin-top:auto;background:linear-gradient(transparent,var(--rail-bg));pointer-events:none}}
/* The full Add page (lane A fix round): its boxes sit on the page, not on a sheet, so they
   take the page's colour and an outline to be seen. */
.addpage .tarea{background:var(--card);box-shadow:inset 0 0 0 1px var(--hair)}
.addpage .tarea:focus{box-shadow:inset 0 0 0 2px var(--ink)}
/* A box in a sheet shows that it has focus (mobile-12), as the page's boxes do. */
.tarea:focus{box-shadow:inset 0 0 0 2px var(--ink)}
.words:focus-within{box-shadow:inset 0 0 0 3px var(--focus)}
/* Long words in Add (mobile-05): the box grows with them, up to about six lines. */
.words textarea{field-sizing:content;max-height:9.6em;overflow-y:auto}
/* A short page: the keyboard is up, or the phone is held sideways (mobile-06, mobile-17). */
@media (max-height:500px){.shf .note2{display:none}.sheet{max-height:95vh;max-height:95dvh}.shh{padding-top:4px;padding-bottom:2px}.shh h2{font-size:20px}}
/* Very large text (mobile-13): the bar keeps its icons, each still named for a screen reader; the
   Desk's number sits above its words; the run's two buttons stack. At 200 percent text his phone is
   206 px wide (the follow-up to the sweep: the Desk cut off its G button and its doors, and the task
   page scrolled sideways): the date row and its buttons share the line only when they fit, the rows
   keep inside the screen, and the words on buttons, chips and links wrap instead of pushing the page wider. */
@media (max-width:300px){.tab>span:not(.ab){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.bignum{flex-direction:column;align-items:flex-start;gap:6px;width:auto}.bignum .n,.bignum .w{font-size:34px}.runbar .yn{grid-template-columns:1fr}.back{max-width:76vw}.hello,.greet .hello{font-size:15px}
.greet{flex-wrap:wrap}.greet>div:first-child{min-width:0}.hello,.greet .hello{overflow-wrap:anywhere}.doors{grid-template-columns:1fr}
.dd{grid-template-columns:24px minmax(0,1fr)}.dd .dt .chev,.dd .dt .pill{grid-column:2;grid-row:3;justify-self:start}.dd .dt .chev{display:none}
.btn,.ch,.rp,.rt,.pill,.nudge .go,.cfin .go,.wrow .go,.alarm .ago,.runtop .cnt,.lrow .rv,.drow .in,.rfbar a,.mk .label,.lines .lrow b em{white-space:normal;min-width:0;max-width:100%;overflow-wrap:anywhere}
.alarm{grid-template-columns:24px minmax(0,1fr)}.alarm .ago{grid-column:2}
.btn{height:auto;padding-top:10px;padding-bottom:10px}.rp{height:auto;min-height:48px}
.inline-form,.inline-form>*{max-width:100%}.pair>.field{flex-basis:100%;min-width:0}.field input,.field select,.field textarea{max-width:100%}}
.addpage .toggle-row{--b:var(--card);--s2:inset 0 0 0 1px var(--line)}

/* ---------- an invoice's document (the Money add-on, office/specs/money.md section 22) ----------
   The look of the invoices Geeno made before the office: his green, the INVOICE heading, From and
   Bill to, the lines, the payment details and the line at the foot. Paper is always white, in
   either theme. "Print or save as PDF" gives one A4 page: everything but the document is left
   out and the line at the foot sits at the bottom of the page. Fonts are the device's own. */
.page.docmain{max-width:900px}
.ivbar .ivstate{font-weight:650;margin-top:14px}
.ivdoc{--ivg:#2A8159;--ivd:#1B5E43;--ivi:#111111;--ivm:#6B6B6B;--ivl:#F1F7F3;--ivb:#DCDCDC;
  display:flex;flex-direction:column;margin:16px 0 0;padding:28px 24px 20px;background:#FFFFFF;color:var(--ivi);border-radius:6px;border:1px solid var(--ivb);
  font-family:var(--sans);font-size:13.5px;line-height:1.4;overflow-wrap:normal;
  -webkit-print-color-adjust:exact;print-color-adjust:exact}
.ivdoc p{margin:0}
.ivdoc b{font-weight:700}
.iv-top{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap}
.iv-brand{font-size:24px;font-weight:700;color:var(--ivd);letter-spacing:-.01em;line-height:1.1}
.iv-title{font-family:inherit;font-size:30px;font-weight:700;color:var(--ivg);letter-spacing:.12em;text-transform:uppercase;line-height:1}
.iv-sub{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;margin-top:22px}
.iv-co p{font-size:13px}
.iv-grey{color:var(--ivm)}
.iv-small{font-size:12px;color:var(--ivm);margin-top:2px!important}
.iv-meta{display:grid;grid-template-columns:auto auto;gap:3px 16px;margin:0;font-size:13px}
.iv-mrow{display:contents}
.iv-meta dt{color:var(--ivm);text-align:right}
.iv-meta dd{margin:0;text-align:right}
.iv-meta .iv-no{font-weight:700;color:var(--ivg)}
.iv-meta .iv-paid{font-weight:700;color:var(--ivd)}
.iv-rule{border:0;border-top:1.5px solid var(--ivg);margin:16px 0 18px}
.iv-parties{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.iv-parties p{overflow-wrap:anywhere}
.iv-label{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ivg);margin:0 0 4px}
.iv-wrap{margin-top:20px;overflow-x:auto}
.iv-lines{width:100%;border-collapse:collapse;font-size:13.5px}
.iv-lines th,.iv-lines td{border:1px solid var(--ivb);padding:7px 10px;vertical-align:top;text-align:left}
.iv-lines thead th{background:var(--ivg);color:#FFFFFF;font-weight:700}
.iv-lines .num{text-align:right;white-space:nowrap}
.iv-group td{background:var(--ivl);color:var(--ivd);font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.iv-desc,.iv-detail{display:block}
.iv-detail{font-size:12px;color:var(--ivm);margin-top:1px}
.iv-total td{background:var(--ivl);color:var(--ivg);font-weight:700;text-align:right}
.iv-total td.num{font-size:15px}
.iv-note{margin-top:14px!important;font-size:12.5px;color:var(--ivm);white-space:pre-wrap}
.iv-pay{margin-top:20px}
.iv-pay dl{display:grid;grid-template-columns:max-content 1fr;gap:3px 28px;margin:6px 0 0;font-size:13px}
.iv-prow{display:contents}
.iv-pay dt{color:var(--ivm)}
.iv-pay dd{margin:0}
.iv-pay .iv-strong{font-weight:700}
.iv-nb{white-space:nowrap}
.iv-banner{margin-top:20px;padding:11px 14px;background:var(--ivl);border-left:4px solid var(--ivg)}
.iv-banner.iv-off{border-left-color:#8A8A8A;background:#F3F3F3}
.iv-bhead{font-size:15px;font-weight:700;letter-spacing:.1em;color:var(--ivd);margin-bottom:4px!important}
.iv-off .iv-bhead{color:#3A3A3A}
.iv-thanks{margin-top:18px!important;font-style:italic;color:var(--ivd)}
.iv-foot{margin-top:auto;padding-top:28px;font-size:11px;color:var(--ivm);line-height:1.35}
@media (max-width:560px){
  .ivdoc{padding:20px 14px 16px;font-size:12.5px}
  .iv-brand{font-size:19px}
  .iv-title{font-size:22px}
  .iv-parties{grid-template-columns:1fr}
  .iv-meta{grid-template-columns:auto 1fr}
  .iv-meta dt,.iv-meta dd{text-align:left}
  .iv-lines th,.iv-lines td{padding:6px 7px}
  .iv-lines td{overflow-wrap:anywhere}
  .iv-lines.iv-qty{font-size:11.5px}
  .iv-pay dl{gap:3px 14px}
}
/* The invoice's own page, named so no other office page is printed by it. No page margin at all,
   so the browser has nowhere to print its own header and footer (the page's title and address, the
   date and time), which Edge and Chrome tick by default: the document's own padding is the margin,
   repeated on a second page (box-decoration-break). */
@page invoice{size:A4;margin:0}
@media print{
  body.printdoc .ivdoc{page:invoice}
  html:has(body.printdoc),body.printdoc{background:#FFFFFF!important;padding:0!important;margin:0!important;min-height:0!important}
  body.printdoc>*:not(main){display:none!important}
  body.printdoc main.page{max-width:none!important;padding:0!important;margin:0!important}
  body.printdoc main.page>*:not(.ivdoc){display:none!important}
  .ivdoc{margin:0;padding:13mm 16mm 12mm;box-sizing:border-box;-webkit-box-decoration-break:clone;box-decoration-break:clone;border-radius:0;box-shadow:none;min-height:291mm;font-size:9.5pt;line-height:1.35}
  .iv-brand{font-size:20pt}
  .iv-title{font-size:22pt}
  .iv-sub{margin-top:9mm}
  .iv-co p,.iv-meta,.iv-pay dl{font-size:9pt}
  .iv-small{font-size:8pt}
  .iv-label{font-size:8pt}
  .iv-rule{margin:5mm 0 6mm}
  .iv-wrap{margin-top:6mm;overflow:visible}
  .iv-lines{font-size:9.5pt}
  .iv-lines th,.iv-lines td{padding:2.2mm 2.6mm}
  .iv-many .iv-sub{margin-top:5mm}
  .iv-many .iv-rule{margin:4mm 0 4mm}
  .iv-many .iv-wrap{margin-top:4mm}
  .iv-many .iv-lines{font-size:8.5pt}
  .iv-many .iv-lines th,.iv-many .iv-lines td{padding:1.1mm 2.2mm}
  .iv-many .iv-detail{font-size:7.5pt;margin-top:0}
  .iv-many .iv-pay,.iv-many .iv-banner{margin-top:4mm}
  .iv-many .iv-thanks{margin-top:4mm!important}
  .iv-detail{font-size:8pt}
  .iv-group td{font-size:7.5pt}
  .iv-total td.num{font-size:11pt}
  .iv-note{font-size:8.5pt}
  .iv-pay,.iv-banner{margin-top:6mm}
  .iv-bhead{font-size:11pt}
  .iv-thanks{margin-top:6mm!important}
  .iv-foot{font-size:7.5pt}
  .iv-lines tr,.iv-pay,.iv-banner{break-inside:avoid}
  .iv-lines tfoot{display:table-row-group}
}

/* ---------- One system (specs/one-system.md, Geeno, 8 Nov 2026: "It needs to feel sturdy"). ----------
   Last in the file so that it is the final word. Nothing here adds a colour. */

/* The logo's own green, whatever the palette (Geeno, 8 Nov 2026). On a dark page a lighter green, so it can be seen. */
:root{--logo:#1C4F4E}
@media (prefers-color-scheme:dark){html[data-theme="auto"]{--logo:#1C4F4E}}
html[data-theme="dark"]{--logo:#1C4F4E}

/* The logo, inline in the top row of every page, and in the slim row once that scrolls away (Geeno, 9 Nov: "Make logo inline and persistent"). */
.plogo{flex:none;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;color:var(--logo)}
.navl{display:flex;align-items:center;flex:0 1 auto;min-width:0;margin-left:-5px}
.navl .back{min-width:0}
.tlogo{display:flex;align-items:center;gap:2px;min-width:0;margin-left:-16px}
.slim .slogo{flex:none;display:grid;place-items:center;width:32px;color:var(--logo)}
.sit-top{position:sticky;top:0;z-index:20;background:var(--bg)}
/* A laptop has it at the top of the left-hand list; a one-at-a-time run has no list, so it keeps it. */
@media (min-width:1024px){body:not(.run) .plogo,body:not(.run) .slim .slogo{display:none}.navl{margin-left:0}.tlogo{margin-left:0}}

/* One title: the same size, the same distance from the top row, on every page. */
body.signed-in .page h1.ptitle,body.signed-in .page h1.serif-big{font-size:30px;line-height:1.15;font-weight:700;letter-spacing:-.015em;margin-top:14px}
body.signed-in .page .place+h1.ptitle,body.signed-in .page .place+h1.serif-big{margin-top:6px}
.tline{display:flex;align-items:center;justify-content:space-between;gap:12px}
.tline h1.ptitle{margin-top:14px;min-width:0;overflow-wrap:anywhere}
.tline .startpill{margin-top:14px}

/* The extra control at the top right of a page. */
.hbtns .addpill{margin-right:2px}
.moremenu{position:relative}
.moremenu>summary{list-style:none;cursor:pointer}
.moremenu>summary::-webkit-details-marker{display:none}
.moremenu[open]>summary::before{background:var(--surface)}
.moremenu .mm{position:absolute;right:0;top:calc(100% + 2px);z-index:60;width:280px;max-width:calc(100vw - 32px);padding:6px;display:flex;flex-direction:column;gap:2px;background:var(--bg);border:1px solid var(--hair);border-radius:14px}
.mm form,.mm form.inline{display:block}
.mml{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:0 12px;border-radius:10px;font-size:16px;font-weight:500;color:var(--ink);text-align:left}
.mml:hover{background:var(--surface)}
.mml.danger{color:var(--red-ink)}
.mml .i{color:var(--muted)}
.mml.danger .i{color:inherit}

/* The tabs along the top of a place with places inside it. */
.subtabs{display:flex;gap:18px;margin-top:10px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none}
.subtabs::-webkit-scrollbar{display:none}
.subtabs .st{flex:none;display:inline-flex;align-items:center;min-height:48px;font-size:16px;font-weight:500;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap}
.subtabs .st.on{color:var(--ink);font-weight:600;border-bottom-color:var(--ink)}

/* A second level inside More (a thing that says what it does before it does it). */
.mm-sub>summary{list-style:none;cursor:pointer}
.mm-sub>summary::-webkit-details-marker{display:none}
.mm-sub .help{padding:6px 12px;font-size:14px;color:var(--muted)}

/* Every end of a run: a tick, the words, one way back. */
.sit-end .sit-h,.sit-end>.yc-why,.sx-endh,.ws-end{text-align:center}
.sx-ok,.ws-end .ei{width:56px;height:56px;margin:0 auto 14px}
.sx-runfoot.endbtns{position:static;max-width:none;padding:0;margin-top:22px;background:none}
.sx-runfoot.endbtns.line{border-top:0}


@media (min-width:1024px){
  /* Every page starts at the same left edge. narrow limits how far the words run; it never moves the page. */
  .page.narrow,.phead.narrow{max-width:1200px}
  .page.narrow>*:not(.sheet):not(.toast),.phead.narrow>*{max-width:780px}
  body.signed-in .page h1.ptitle,body.signed-in .page h1.serif-big,body.signed-in .page h1[data-slim]:not(.hello){font-size:34px}
  .ptitle{font-size:34px}
  .rail .addb{--b:var(--surface);color:var(--ink)}
  .rrooms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}
  .rr{display:flex;align-items:center;gap:6px;min-width:0;min-height:32px;padding:0 8px;border-radius:8px;font-size:14px;font-weight:500;color:var(--muted)}
  .rr>span:first-of-type{min-width:0;line-height:1.15;padding:3px 0}
  .rr i.d{width:7px;height:7px;border-radius:50%;background:var(--c2);flex:none}
  .rr .cnt{margin-left:auto;font-size:12.5px}
  .rr:hover{background:var(--surface)}
  .rr.on{background:var(--surface);color:var(--ink);font-weight:600}
  .lapfind.on{color:var(--ink)}
  .rail .rtop{flex:none}
  .rl{min-height:32px}
  .rtop .rl{min-height:38px}
  .rk{margin:12px 10px 4px}
}

/* Past their day (specs/areas-and-dates.md 5). */
.pdbtns{display:grid;gap:8px;margin-top:8px}
.pdbtns .btn{min-height:48px}
.pdbtns details>summary{list-style:none;cursor:pointer}
.pdbtns details>summary::-webkit-details-marker{display:none}
.pdbtns .pickrow{margin-top:8px}

/* Not sorted, and the links down an area's page (specs/areas-and-dates.md). */
.sortrows{display:grid;gap:10px}
.sortrow{display:grid;gap:6px;padding:14px 16px;border-radius:12px;background:var(--surface)}
.sortrow .sr-t{display:flex;align-items:center;min-height:48px;font-size:17px;font-weight:600;line-height:1.3;color:inherit;text-decoration:none}
.mb-10{margin-bottom:10px}
@media (min-width:700px){.sortrow{grid-template-columns:minmax(0,1fr) 220px;align-items:center}}

/* Depth (Geeno, 9 Nov: "shading differences between areas so my eyes can navigate different aspects and
   the aspects within the aspects"). Three steps, built only from the palette's own tokens: the page; a
   panel for each group of rows; and anything inside a panel, one step on. Inside a panel the surface
   token itself moves a step, so every chip, button and hairline in it follows without its own rule. */
:root{--level1:var(--surface);--level2:color-mix(in srgb,var(--surface) 90%,var(--ink))}
.list,.drawers,.doors,.doors2,.sortrow,.dvs{--surface:var(--level2);--grey-soft:var(--level2);--slate-soft:var(--level2);--lock-soft:var(--level2);--wash:var(--level2);--card2:var(--level2);--line:var(--level2);--amber-soft:var(--level2);background:var(--level1);border:0;border-radius:14px;padding:0 14px}
.list .list,.fb .list,.list.flat,.list.lines .list,.fold .dvs{background:none;padding:0;border-radius:0}
.doors,.doors2{margin-top:12px}
.doors{padding:0;overflow:hidden}
.door{padding:10px 14px;background:color-mix(in srgb,var(--c,transparent) 7%,transparent)}
.door:last-child,.drawer:last-child,.dd:last-child,.list>.row:last-child,.list>.lrow:last-child{border-bottom:0}
.sortrow{padding:14px 16px}
.dvs{padding:2px 14px}
@media (min-width:1024px){
  .rail{--rail-bg:var(--level1);background:var(--level1);--surface:var(--level2);--line:var(--level2)}
  .doors{display:grid;grid-template-columns:1fr 1fr;column-gap:0}
}
@media (max-width:330px){.list,.drawers,.dvs,.sortrow{padding-left:6px;padding-right:6px}}
.addpages{margin:12px 0 8px}
.addpages label{position:relative;overflow:hidden}
.addpages label:focus-within{outline:2px solid var(--ink);outline-offset:2px}
.addpages input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.addor{margin:16px 0 0;font-size:14px;font-weight:600;color:var(--muted)}
.fndrow .check-row{align-items:flex-start;margin-top:0}
.fndrow .check-row b{font-size:17px;font-weight:600;line-height:1.3}
/* The Timeline: one line through time. Solid is done, the band is now, hollow is coming. */
.tl-link{margin:14px 0 12px}
.tl-jump{display:flex;gap:8px;margin:14px 0 18px}
.tl-jump .tab{flex:1;display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:12px;background:var(--level1);color:var(--ink);font-weight:600;text-decoration:none}
#done,#now,#ahead{scroll-margin-top:76px}
#now,#ahead{margin-top:22px}
.tl-month{border-radius:14px;background:var(--level1);padding:0 14px;margin-bottom:8px}
.tl-month summary{display:flex;align-items:center;gap:10px;min-height:52px;cursor:pointer;list-style:none}
.tl-month summary::-webkit-details-marker{display:none}
.tl-month summary b{font-size:17px}
.tl-month summary .tl-n{margin-left:auto;color:var(--muted);font-size:15px}
.tl-month summary svg{flex:none;color:var(--muted)}
.tl-month[open]>summary svg{transform:rotate(180deg)}
.tl-month[open]{padding-bottom:10px}
.tl-day{margin:14px 0 4px;font-size:14px;font-weight:600;color:var(--muted)}
.tl-rows{list-style:none;margin:0 0 0 5px;padding:0 0 0 16px;border-left:2px solid var(--line)}
.tl-row{position:relative}
.tl-row::before{content:"";position:absolute;left:-22px;top:17px;width:10px;height:10px;border-radius:50%;box-sizing:border-box}
.tl-past::before{background:var(--accent)}
.tl-past.quiet::before{background:var(--bg);border:2px dashed var(--hair)}
.tl-past.quiet .tl-b b{font-weight:500;color:var(--muted)}
.tl-next::before{background:var(--bg);border:2px solid var(--hair)}
.tl-next.hard::before{border-color:var(--red)}
.tl-a{display:block;min-height:48px;padding:9px 0;color:inherit;text-decoration:none}
.tl-b b{display:block;font-size:16px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.tl-b b em{font-style:normal;font-weight:500;color:var(--muted)}
.tl-b small{display:block;margin-top:2px;font-size:14px;color:var(--muted)}
.tl-lock{display:inline-flex;vertical-align:-2px;margin-left:4px}
.tl-now{padding:14px;border-radius:14px;background:var(--soft)}
.tl-now h2{display:flex;align-items:baseline;justify-content:space-between;margin:0 0 10px;font-size:20px}
.tl-now h2 small{font-size:14px;font-weight:500;color:var(--muted)}
.tl-cells{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.tl-cell{display:flex;flex-direction:column;justify-content:center;min-height:72px;padding:8px 10px;border-radius:10px;background:var(--bg);color:inherit;text-decoration:none}
.tl-cell b{font-size:24px;line-height:1.1}
.tl-cell span{font-size:13px;line-height:1.25;color:var(--muted)}
.tl-cell.red b{color:var(--red-ink)}
.tl-est{padding:14px;border-radius:14px;border:2px dashed var(--hair)}
.tl-est h3{display:flex;align-items:center;gap:6px;margin:0;font-size:17px}
.tl-estl{margin:8px 0 0;padding-left:18px}
.tl-estl li{margin-top:6px;font-size:16px;line-height:1.35}
@media (max-width:330px){.tl-cells{grid-template-columns:repeat(2,minmax(0,1fr))}}
.tl-tag{display:inline-block;padding:1px 7px;border-radius:999px;background:var(--level2);font-size:12px;font-weight:500;color:var(--muted);margin-right:4px}
.tl-b small.tl-why{color:var(--ink);opacity:.8}
/* Colour by purpose (Geeno, 9 Nov: "varying colours of stone, depending on what it is ... not too
   many, just not consistently green"). Backgrounds are stone tints: sand for what needs you now, cool
   stone for places to go, lilac stone for Claude, sage stone for what is done. Inks: slate blue is what
   you can press or have selected, purple is Claude's, green is done or paid, red is late or stopping.
   Areas have no colour of their own. */
:root{--stone:#A8A49B;--fade:var(--level1);--shade2:color-mix(in srgb,var(--stone) 11%,var(--level1));--fade-strong:color-mix(in srgb,var(--stone) 24%,var(--level1))}
/* Solid shades in steps: the deepest for what matters most, each level below one step lighter. */
.dhero .doors2,.doors{background:var(--shade2)}
.fchip.on{color:var(--ink);--b:var(--soft);--s2:inset 0 0 0 1.5px var(--ink)}
.list,.drawers,.doors2,.dvs,.tl-month{background:var(--fade)}
.list .list,.fb .list,.list.flat,.list.lines .list,.fold .dvs{background:none}
.door{background:none}
.tl-now{background:var(--fade-strong)}
.tone-green{--c:var(--green-ink);--s:var(--green);--tc:var(--green-soft)}
.ch.green,.bstate.green,.start-empty .ei{background:var(--green-soft);color:var(--green-ink)}
.state .stk.green,.bill .bs.green{color:var(--green-ink)}
.done .tk,.tk.on,.cball:has(input:checked) .tk{background:var(--green);border-color:var(--green);color:var(--bg)}
.slot:hover .tk,.slotb:hover .tk{border-color:var(--green);color:var(--green)}
.tl-past::before{background:var(--green)}
/* Text: titles in ink, what describes them in grey, and a link in a sentence is underlined, so colour is never the only clue. */
.link.inl,.banner a,.shelfline a,.icard .about a{text-decoration:underline;text-underline-offset:3px}
.cfin small,.dd small{color:var(--muted)}
.tl-day,.sh p{color:var(--muted)}
.dhero .start{margin-top:16px;padding:12px 14px 16px;border-radius:14px;background:var(--fade-strong)}
.start .sa{grid-template-columns:minmax(0,1fr) minmax(0,1.45fr)}
.start .sa .btn{white-space:normal;min-width:0;line-height:1.2}
.start .sa.one{grid-template-columns:minmax(0,1fr)}
.dhero{margin-bottom:18px}
.dhero .doors2{margin-top:18px}
.dhero .cfin{margin-top:14px}
.dd{padding-top:12px;padding-bottom:12px}
.list+.list,.list+section,section+.list{margin-top:16px}
.sh{margin-top:22px;margin-bottom:8px}
@media (min-width:1024px){.start .sa{grid-template-columns:auto minmax(0,auto)}.start .sa.one{grid-template-columns:auto}}
/* Stone by purpose: each panel has its own tint, and what sits on it is raised, never sunk. */
:root{--level2:var(--raise-plain)}
.dhero .start,.tl-now,.cfin[data-row="selling"]{background:var(--st-now);--surface:var(--raise-now);--line:var(--line-now)}
.dhero .doors2,.doors{background:var(--st-place);--surface:var(--raise-place);--line:var(--line-place)}
.doors~.doors{background:var(--level1);--surface:var(--raise-plain);--line:var(--level2)}
.tl-month{background:var(--st-done);--line:var(--line-done);--level2:var(--line-done)}
.allideas,.dhero .cfin:not([data-row="selling"]),.sx-asked{background:var(--st-claude);--surface:var(--raise-claude);--line:var(--line-claude)}
.dd .di{color:var(--atext)}
.cfin[data-row="selling"],.dhero .cfin{padding:10px 14px;border-radius:14px;border-bottom:0}
.ch.spark,.ch.nn{background:var(--cl-soft);color:var(--cl-ink)}
.ch.sugg{box-shadow:inset 0 0 0 1px var(--cl-ink);color:var(--cl-ink)}
.ic.spark,.lrow .li.spark,.allideas .li,.cfin .li,.block.claude .bi{color:var(--cl-ink)}
.cfin[data-row="selling"] .li{color:var(--ink)}
.tl-tag{background:var(--cl-soft);color:var(--cl-ink)}
.allideas{padding:14px 16px 16px;border:0;border-radius:14px}
.allideas .ia{margin-top:12px}

/* ---------- showing the change (Geeno, 10 Nov 2026) ----------
   static/swap.js moves what changed; this is only the card that has gone, shown where it stood
   while it fades (its place and size come from the movement itself, never a style attribute). */
.gone{position:fixed!important;margin:0!important;z-index:0;pointer-events:none;box-sizing:border-box}
.gone-flex{display:flex!important}.gone-grid{display:grid!important}.gone-block{display:block!important}
/* ---------- the colour pass (Geeno, 10 Nov 2026) ----------
   The look of 9 Nov before the stone rounds, with what he asked for after it. Stone is stone: three
   quiet greys that differ a little in warmth and depth (warm and lightest for what needs him now,
   cool slate for places to go, plain granite for lists), never a tint you would call a colour. Three
   colours, one job each: green is the one main button and what is done or paid, red is late or
   stopping, purple is Claude. An area keeps its own colour on its dot and icon only. Everything else
   is ink on stone. (No amber for dates: his rule is no brown or gold anywhere.) The values are in
   the three blocks at the top of this file. */
/* A press gives a little under the finger, so a tap is felt before the office answers. */
.btn.press,.lrow.press,.dd.press,.door.press{transition:opacity .16s,background-color .16s,transform .12s cubic-bezier(.2,.8,.2,1)}
.btn.press:active,.lrow.press:active,.dd.press:active,.door.press:active{transform:scale(.98)}
.slotb.press:active .tk{transform:scale(.86)}

/* A task's page as one question (SPEC.md 72): where it stands, what Claude found, the question, its
   answers one under another, then "Or just say it". An answer is a full-width row; one that needs a
   day or a name opens under itself. */
.ask-what{font-size:17px;line-height:1.45;color:var(--muted);margin-top:8px}
.ask-lbl{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:700;line-height:1.3;color:var(--muted);margin:20px 0 6px}
.ask-box{padding:14px 16px;border-radius:12px;background:var(--surface);font-size:17px;line-height:1.45}
.ask-box p+p{margin-top:6px}
.ask-box p.late{color:var(--red-ink);font-weight:600}
.ask-box .ask-from{font-size:14.5px;color:var(--muted)}
.ask-box.cl{background:var(--cl-soft)}
.ask-claude .ask-lbl{color:var(--cl-ink)}
.ask-box .link{display:inline-flex;align-items:center;min-height:48px}
.ask-q{font-size:23px;font-weight:700;line-height:1.25;margin:26px 0 12px}
.ask-list{display:grid;gap:8px}
.ask-row{display:flex;align-items:center;gap:12px;width:100%;min-height:58px;padding:9px 16px;border:0;border-radius:12px;background:var(--surface);color:var(--ink);font:inherit;font-size:17px;font-weight:600;line-height:1.3;text-align:left;cursor:pointer}
summary.ask-row{list-style:none}
summary.ask-row::-webkit-details-marker{display:none}
.ask-row .ai{flex:none;width:24px;display:grid;place-items:center;color:var(--muted)}
.ask-row .at{flex:1;min-width:0}
.ask-row small{display:block;font-size:14.5px;font-weight:400;color:var(--muted);line-height:1.35;margin-top:2px}
.ask-row .ch{flex:none;color:var(--muted);transition:transform .2s}
.ask-row.pick{background:var(--accent);color:var(--on)}
.ask-row.pick .ai,.ask-row.pick small,.ask-row.pick .ch{color:var(--on)}
.ask-more{border-radius:12px;outline:1px solid transparent}
.ask-more[open]{outline-color:var(--hair)}
.ask-more[open]>summary{background:none}
.ask-more[open]>summary .ch{transform:rotate(180deg)}
/* His own tags (SPEC.md 73): a small outlined pill, the same wherever a tag is drawn. */
.tg{display:inline-flex;align-items:center;padding:1px 9px;border-radius:999px;border:1.5px solid var(--hair);font-size:13px;font-weight:600;line-height:1.5;color:var(--ink);max-width:100%;overflow-wrap:anywhere}
.tgline{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:2px}
.tgline .tg{font-size:14px;padding:2px 10px}
.tg-add{display:inline-flex;align-items:center;gap:4px;min-height:48px;padding:0 8px;font-size:15px;font-weight:600;color:var(--muted)}
.tgline .tg+.tg-add{margin-left:2px;text-decoration:underline dotted var(--hair);text-underline-offset:4px}
.tgpick{display:flex;flex-wrap:wrap;gap:8px}
.ask-in{padding:2px 16px 16px}
.ask-in .aif{margin-top:14px}
.ask-in .aif .btn{width:100%;min-height:52px;font-size:17px}
.ask-in .aif .note2{font-size:14px;color:var(--muted);margin-top:8px;line-height:1.4}
.ask-priv{display:flex;align-items:center;gap:6px;margin-top:12px}
.ask-say .tarea{width:100%}
.ask-sayf{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-top:10px}
.ask-sayf .btn{min-height:48px}
.ask-sayf .fine{flex:1 1 200px;margin:0}
.ask-rest{margin-top:26px}
.ask-rest>summary small{font-weight:400;font-size:14.5px;color:var(--muted);margin-left:8px}
.ask-nt .ntf{display:block}
.ask-nt .ask-row .i{flex:none;width:24px;color:var(--muted)}
.ask-in2{padding-top:0}
.ask-noday .opt{background:var(--surface);border:0;border-radius:999px}
.ask-list:has(.ask-more[open]) .ask-row.pick,.task.ask:has(.dosheet) .ask-row.pick{background:var(--surface);color:var(--ink)}
.ask-list:has(.ask-more[open]) .ask-row.pick .ai,.ask-list:has(.ask-more[open]) .ask-row.pick small,.ask-list:has(.ask-more[open]) .ask-row.pick .ch,.task.ask:has(.dosheet) .ask-row.pick .ai,.task.ask:has(.dosheet) .ask-row.pick small,.task.ask:has(.dosheet) .ask-row.pick .ch{color:var(--muted)}
.task.ask:has(.dosheet) .ask-in .btn.primary{--b:var(--surface);background:var(--surface);color:var(--ink)}
.ask-in .pickrow .in-field{flex:1 1 0;width:0;min-width:0}
.ask-in .pickbox .in-field,.ask-in input[type="date"]{max-width:100%;min-width:0}
