
:root{
  --bg:#F5F6F7; --card:#FFFFFF; --line:#E5E7EA; --text:#1C1D1F; --muted:#5E6266; --fill:#ECEEF0;
  --accent:#3D6B54; --on-accent:#FFFFFF; --accent-tint:#E6EFE9; --accent-text:#3D6B54;   /* Design D: sage; the other tones are below */
  --soon:#8F4300; --soon-tint:#FCEAD2; --ok:#17703F; --ok-tint:#DDF3E6; --danger:#B3261E; --danger-tint:#FCE8E6;
  --viewer:#D7D9DD; --scrim:rgba(20,20,20,.4); --on-av:#FFFFFF;
  --qr-ink:#000000; --qr-paper:#FFFFFF;   /* QR sign-in: black on white in every tone and in dark mode, so every camera reads it */
  --c-violet:#5B49D6; --t-violet:#ECE9FF; --f-violet:#3A2D9E; --c-pink:#C2185B; --t-pink:#FDE7F0; --f-pink:#8E0F42; --c-teal:#0F7B6C; --t-teal:#DAF3EE; --f-teal:#0A5A4E; --c-amber:#B45309; --t-amber:#FCEAD2; --f-amber:#86400A; --c-green:#2E7D32; --t-green:#E0F2E1; --f-green:#1B5E20; --c-red:#C62828; --t-red:#FCE4E4; --f-red:#8E1B1B; --c-slate:#546E7A; --t-slate:#E6ECEF; --f-slate:#37474F; --c-brown:#8D5A3B; --t-brown:#F3E6DD; --f-brown:#6B3F24;

  --c-all:#5C5954;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){
  :root[data-theme="system"]{ --bg:#111315; --card:#1C1F22; --line:#2B2F33; --text:#EDEEEF; --muted:#A3A9AE; --fill:#303236;
    --accent:#8FC1A5; --on-accent:#111315; --accent-tint:#1F2D26; --accent-text:#8FC1A5;
    --soon:#FFC070; --soon-tint:#4A3620; --ok:#74D4A0; --ok-tint:#22372C; --danger:#FF9A92; --danger-tint:#442826;
    --viewer:#0F1012; --scrim:rgba(0,0,0,.55); --on-av:#14151A;
    --c-violet:#B5A9FF; --t-violet:#332E55; --f-violet:#D8D2FF; --c-pink:#FF9EC4; --t-pink:#4A2A39; --f-pink:#FFC9DD; --c-teal:#62D6C3; --t-teal:#1F403B; --f-teal:#A6EBDD; --c-amber:#FFC070; --t-amber:#4A3620; --f-amber:#FFD9A8; --c-green:#7BD88A; --t-green:#1F3B22; --f-green:#B7EBBE; --c-red:#FF8F8F; --t-red:#4A2323; --f-red:#FFC4C4; --c-slate:#A9BFC9; --t-slate:#2C393F; --f-slate:#D4E1E8; --c-brown:#E0B596; --t-brown:#3E2E24; --f-brown:#F2D6C0;
    --c-all:#AAA8A2; color-scheme:dark; }
}
:root[data-theme="dark"]{ --bg:#111315; --card:#1C1F22; --line:#2B2F33; --text:#EDEEEF; --muted:#A3A9AE; --fill:#303236;
    --accent:#8FC1A5; --on-accent:#111315; --accent-tint:#1F2D26; --accent-text:#8FC1A5;
    --soon:#FFC070; --soon-tint:#4A3620; --ok:#74D4A0; --ok-tint:#22372C; --danger:#FF9A92; --danger-tint:#442826;
    --viewer:#0F1012; --scrim:rgba(0,0,0,.55); --on-av:#14151A;
    --c-violet:#B5A9FF; --t-violet:#332E55; --f-violet:#D8D2FF; --c-pink:#FF9EC4; --t-pink:#4A2A39; --f-pink:#FFC9DD; --c-teal:#62D6C3; --t-teal:#1F403B; --f-teal:#A6EBDD; --c-amber:#FFC070; --t-amber:#4A3620; --f-amber:#FFD9A8; --c-green:#7BD88A; --t-green:#1F3B22; --f-green:#B7EBBE; --c-red:#FF8F8F; --t-red:#4A2323; --f-red:#FFC4C4; --c-slate:#A9BFC9; --t-slate:#2C393F; --f-slate:#D4E1E8; --c-brown:#E0B596; --t-brown:#3E2E24; --f-brown:#F2D6C0;
    --c-all:#AAA8A2; color-scheme:dark; }
/* Design D colour tones: each person picks one (people.tone); the accent changes. v106 (Chris): Sage, Ocean and Plum also tint the page background, lines and grey fills faintly
   (about 4.5%; mockup docs/mockups/tone-tint.html); Clay, Rose and Graphite keep the plain grey (no beige). Cards, overdue red, sticky notes and person colours never change. */
:root[data-tone="sage"]{--accent:#3D6B54;--on-accent:#FFFFFF;--accent-tint:#E6EFE9;--accent-text:#3D6B54;--bg:#EDF0F0;--line:#DDE1E3;--fill:#E3E7E8;--viewer:#D0D4D7}
:root[data-tone="ocean"]{--accent:#1F5FA8;--on-accent:#FFFFFF;--accent-tint:#E4EDF8;--accent-text:#1F5FA8;--bg:#EBEFF3;--line:#DBE0E7;--fill:#E2E7EC;--viewer:#CFD4DB}
:root[data-tone="clay"]{--accent:#B04A1E;--on-accent:#FFFFFF;--accent-tint:#F8E9E1;--accent-text:#9E421B}
:root[data-tone="plum"]{--accent:#6A4C9C;--on-accent:#FFFFFF;--accent-tint:#EEE8F7;--accent-text:#6A4C9C;--bg:#EFEEF3;--line:#DFDFE6;--fill:#E6E6EC;--viewer:#D2D3DA}
:root[data-tone="rose"]{--accent:#B0325E;--on-accent:#FFFFFF;--accent-tint:#F8E6EC;--accent-text:#B0325E}
:root[data-tone="graphite"]{--accent:#33383D;--on-accent:#FFFFFF;--accent-tint:#ECEDEE;--accent-text:#33383D}
:root[data-theme="dark"][data-tone="sage"]{--accent:#8FC1A5;--on-accent:#111315;--accent-tint:#1F2D26;--accent-text:#8FC1A5;--bg:#15191A;--line:#303639;--fill:#34383A;--viewer:#131617}
:root[data-theme="dark"][data-tone="ocean"]{--accent:#8AB8F0;--on-accent:#111315;--accent-tint:#1C2633;--accent-text:#8AB8F0;--bg:#15191D;--line:#30363C;--fill:#34373D;--viewer:#13161A}
:root[data-theme="dark"][data-tone="clay"]{--accent:#F2A47A;--on-accent:#111315;--accent-tint:#33241C;--accent-text:#F2A47A}
:root[data-theme="dark"][data-tone="plum"]{--accent:#C5B3EE;--on-accent:#111315;--accent-tint:#2A2436;--accent-text:#C5B3EE;--bg:#17191D;--line:#33363C;--fill:#36373D;--viewer:#15161A}
:root[data-theme="dark"][data-tone="rose"]{--accent:#F4A6C1;--on-accent:#111315;--accent-tint:#33212A;--accent-text:#F4A6C1}
:root[data-theme="dark"][data-tone="graphite"]{--accent:#D5DBE0;--on-accent:#111315;--accent-tint:#262A2E;--accent-text:#D5DBE0}
@media (prefers-color-scheme:dark){
  :root[data-theme="system"][data-tone="sage"]{--accent:#8FC1A5;--on-accent:#111315;--accent-tint:#1F2D26;--accent-text:#8FC1A5;--bg:#15191A;--line:#303639;--fill:#34383A;--viewer:#131617}
  :root[data-theme="system"][data-tone="ocean"]{--accent:#8AB8F0;--on-accent:#111315;--accent-tint:#1C2633;--accent-text:#8AB8F0;--bg:#15191D;--line:#30363C;--fill:#34373D;--viewer:#13161A}
  :root[data-theme="system"][data-tone="clay"]{--accent:#F2A47A;--on-accent:#111315;--accent-tint:#33241C;--accent-text:#F2A47A}
  :root[data-theme="system"][data-tone="plum"]{--accent:#C5B3EE;--on-accent:#111315;--accent-tint:#2A2436;--accent-text:#C5B3EE;--bg:#17191D;--line:#33363C;--fill:#36373D;--viewer:#15161A}
  :root[data-theme="system"][data-tone="rose"]{--accent:#F4A6C1;--on-accent:#111315;--accent-tint:#33212A;--accent-text:#F4A6C1}
  :root[data-theme="system"][data-tone="graphite"]{--accent:#D5DBE0;--on-accent:#111315;--accent-tint:#262A2E;--accent-text:#D5DBE0}
}
*{box-sizing:border-box;margin:0;padding:0}
[hidden]{display:none!important}
html,body{height:100%}
body{font:16px/1.4 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,system-ui,sans-serif;background:var(--viewer);color:var(--text);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer;background:none;border:0;text-align:inherit}
button:disabled{cursor:not-allowed}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.i{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.i.sm{width:20px;height:20px}.i.lg{width:32px;height:32px}
.muted{color:var(--muted)}


/* app shell (replaces the mockup's phone frame) */
html,body{height:100%}
body{background:var(--bg);overscroll-behavior:none}
#app{position:relative;width:100%;max-width:520px;margin:0 auto;height:100vh;height:100dvh;display:flex;flex-direction:column;background:var(--bg);overflow:hidden;overflow:clip;padding-top:env(safe-area-inset-top)}
@media (min-width:560px){ body{background:var(--viewer)} #app{box-shadow:0 0 0 1px var(--line)} }
.stage{flex:1;min-height:0;position:relative}
.screen{position:absolute;inset:0;overflow-y:auto;overflow-x:hidden;display:none;-webkit-overflow-scrolling:touch}
.screen.on{display:block}
.pad{padding:8px 16px 176px}
.nochrome .pad{padding-bottom:32px}
.offline-bar{flex:none;display:flex;gap:8px;align-items:center;margin:8px 16px 0;padding:8px 12px;border-radius:12px;background:var(--fill);color:var(--text);font-size:14px;font-weight:600;min-height:36px}
.offline-bar .i{width:16px;height:16px;flex:none}
.offline-bar .odot{width:8px;height:8px;border-radius:50%;background:var(--muted);flex:none}
.offline-bar .otx{flex:1;min-width:0}
.offline-bar .oat{color:var(--muted);font-weight:400;white-space:nowrap}
.offline-bar.sent{background:var(--ok-tint);color:var(--ok)}
.mt8{margin-top:8px}.mt12{margin-top:12px}.mt16{margin-top:16px}.mt24{margin-top:24px}.mt0{margin-top:0}
.eyebrow{font-size:14px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.center{text-align:center}
.err{margin-top:12px;padding:12px;border-radius:12px;background:var(--danger-tint);color:var(--danger);font-size:15px;font-weight:600}
.okmsg{margin-top:12px;padding:12px;border-radius:12px;background:var(--ok-tint);color:var(--ok);font-size:15px;font-weight:600}
.spin{width:32px;height:32px;border-radius:50%;border:4px solid var(--line);border-top-color:var(--accent);animation:spin 1s linear infinite;margin:96px auto 16px}
@keyframes spin{to{transform:rotate(360deg)}}
.dim{opacity:.55}
.codeinput{letter-spacing:.12em;font:700 22px ui-monospace,Menlo,Consolas,monospace;text-transform:uppercase}
.linkbox{word-break:break-all}
.soon{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:var(--fill);color:var(--muted);font-weight:700;font-size:13px}
.card.static{opacity:1}
.navcard.soonwrap{opacity:.85}
.cardsub{font-size:14px;color:var(--muted)}

/* type */
h1{font-size:32px;line-height:1.15;font-weight:700;letter-spacing:-.01em}
h2.sec{font-size:14px;line-height:1.3;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);margin:24px 0 8px}
h2.sec.od{color:var(--danger)}
.lead{font-size:17px;color:var(--muted);margin-top:8px}
.title{font-size:17px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.small{font-size:14px}
.top{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;margin-bottom:8px}
.brand{display:flex;align-items:center;gap:8px;font-weight:700;font-size:15px;color:var(--accent-text)}
.backbtn{display:inline-flex;align-items:center;gap:4px;min-height:44px;min-width:44px;padding:0 12px 0 4px;margin-left:-4px;color:var(--accent-text);font-weight:600;font-size:16px}

/* avatars, pills */
.av{width:40px;height:40px;box-sizing:border-box;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;text-align:center;padding:0;margin:0;border:0;line-height:1;letter-spacing:0;text-indent:0;text-transform:none;white-space:nowrap;font-weight:700;font-size:16px;color:var(--on-av);flex:none;background:var(--c-all)}
/* one shared initial badge for the whole app. Flex centring puts the line box in the middle; app.js (centreBadges)
   then nudges the padding by the few tenths of a pixel that the font's own side bearings and baseline add. */
.av.xs{width:20px;height:20px;font-size:12px}.av.sm{width:28px;height:28px;font-size:14px}.av.lg{width:48px;height:48px;font-size:20px}
.av.hasimg{padding:2px !important;overflow:hidden}.av .avimg{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block;background:#fff}
.a-all{background:var(--c-all)}
.a-violet{background:var(--c-violet)}.a-pink{background:var(--c-pink)}.a-teal{background:var(--c-teal)}.a-amber{background:var(--c-amber)}.a-green{background:var(--c-green)}.a-red{background:var(--c-red)}.a-slate{background:var(--c-slate)}.a-brown{background:var(--c-brown)}

.pill{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:0 10px;border-radius:999px;font-weight:600;font-size:14px;background:var(--fill);color:var(--text)}
.pill:has(.av){padding-left:4px}
.p-violet{background:var(--t-violet);color:var(--f-violet)}.p-pink{background:var(--t-pink);color:var(--f-pink)}.p-teal{background:var(--t-teal);color:var(--f-teal)}.p-amber{background:var(--t-amber);color:var(--f-amber)}.p-green{background:var(--t-green);color:var(--f-green)}.p-red{background:var(--t-red);color:var(--f-red)}.p-slate{background:var(--t-slate);color:var(--f-slate)}.p-brown{background:var(--t-brown);color:var(--f-brown)}

.pill.type{background:var(--accent-tint);color:var(--accent-text)}
.pill.ok{background:var(--ok-tint);color:var(--ok)}
.pill.warn{background:var(--danger-tint);color:var(--danger)}
.tag-ex{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:8px;background:#FFE9A8;color:#4A3600;font-size:13px;font-weight:700;letter-spacing:.03em;text-transform:uppercase}

/* cards */
.card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:16px;margin-bottom:8px;position:relative}
.meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;color:var(--muted);font-size:15px}
.meta .time{display:inline-flex;align-items:center;gap:4px;font-weight:600;color:var(--text)}
.noteline{margin-top:8px;font-size:15px;color:var(--muted)}
.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:44px;padding:0 16px;border-radius:12px;font-weight:600;font-size:16px;border:1.5px solid transparent;text-align:center}
.btn.tonal{background:var(--card);border-color:var(--line);border-width:1px;color:var(--accent-text)}   /* v423 (Chris chose A of docs/mockups/white-buttons/): white with a thin edge, no more light blue */
.btn.outline{border-color:var(--line);background:var(--card)}
.btn.filled{background:var(--accent);color:var(--on-accent);min-height:56px;width:100%;font-size:17px;border-radius:12px}
.btn.filled:disabled{background:var(--fill);color:var(--muted)}
.btn.text{color:var(--accent-text);padding:0 8px}
.btn:disabled:not(.filled){opacity:.5}
.snooze-opts{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.snooze-opts .lbl{width:100%;font-size:14px;color:var(--muted);font-weight:600}
.ticon{width:40px;height:40px;border-radius:12px;display:inline-grid;place-items:center;background:var(--accent-tint);color:var(--accent-text);flex:none}
.up-head{display:flex;gap:12px;align-items:flex-start}
.typelabel{font-size:14px;font-weight:700;color:var(--accent-text);letter-spacing:.02em}
.when-line{margin-top:4px;font-size:16px}
.when-line b{font-weight:700}
.when-line.late{color:var(--danger)}
.when-line.soon{color:var(--soon)}
.burst{position:absolute;inset:0;border-radius:inherit;background:var(--ok-tint);color:var(--ok);display:none;align-items:center;justify-content:center;gap:12px;font-weight:700;font-size:17px}
.card.completing .burst{display:flex}
.burst svg{width:40px;height:40px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.burst path{stroke-dasharray:30;stroke-dashoffset:30;animation:draw .35s ease-out forwards}
@keyframes draw{to{stroke-dashoffset:0}}
.card.leaving{opacity:0;transition:opacity .2s}
.card.fresh{animation:fresh 1.4s ease-out}
@keyframes fresh{0%{box-shadow:0 0 0 3px var(--accent)}100%{box-shadow:0 0 0 0 transparent}}
.empty{text-align:center;padding:32px 16px;color:var(--muted)}
.empty svg{width:96px;height:96px;fill:none;stroke:var(--accent);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;margin-bottom:8px}
.empty .title{color:var(--text);margin-bottom:4px}
.banner{display:flex;gap:8px;align-items:flex-start;background:#FFF3C7;color:#4A3600;border-radius:12px;padding:12px;font-size:14px;margin:8px 0 16px}
.banner .i{width:20px;height:20px;margin-top:1px}
.banner .tag-ex{background:#4A3600;color:#FFF3C7}

/* tab bar, fab */
.tabbar{flex:none;min-height:80px;display:flex;background:var(--card);border-top:1px solid var(--line);padding:4px 8px max(16px,env(safe-area-inset-bottom))}
.tab{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:56px;min-width:44px;border-radius:12px;color:var(--muted);font-size:13px;font-weight:600}
.tab[aria-current="page"]{color:var(--accent-text)}
.tab[aria-current="page"] .i{stroke-width:2.6}
.fab{position:absolute;right:16px;bottom:calc(96px + max(0px,env(safe-area-inset-bottom) - 16px));width:64px;height:64px;border-radius:50%;background:var(--accent);color:var(--on-accent);display:grid;place-items:center;box-shadow:0 0 0 4px var(--bg)}
.fab .i{width:30px;height:30px;stroke-width:2.6}
.nochrome .tabbar,.nofab .fab{display:none}
.typing .tabbar,.typing .fab{display:none}   /* v93: typing in Chat */
.nochrome .tabbar{display:none}

/* sheet */
.scrim{position:absolute;inset:0;background:var(--scrim);opacity:0;pointer-events:none;transition:opacity .2s;z-index:20}
.scrim.on{opacity:1;pointer-events:auto}
.sheet{position:absolute;left:0;right:0;bottom:0;max-height:94%;z-index:30;background:var(--card);border-radius:16px 16px 0 0;display:flex;flex-direction:column;transform:translateY(100%);transition:transform .24s ease}
.sheet.on{transform:none}
.sheet-head{display:flex;align-items:center;justify-content:space-between;padding:12px 8px 0 24px;min-height:60px}
.sheet-head h2{font-size:20px;font-weight:700}
.iconbtn{flex:none;width:44px;height:44px;border-radius:50%;display:inline-grid;place-items:center;color:var(--muted)}
.sheet-body{overflow-y:auto;padding:8px 16px 16px;flex:1;min-height:0}
.sheet-foot{padding:12px 16px 24px;border-top:1px solid var(--line)}
.hint{font-size:14px;color:var(--muted);margin-bottom:8px;min-height:20px}
.grab{width:40px;height:4px;border-radius:2px;background:var(--line);margin:8px auto 0}
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.tile{min-height:96px;border:2px solid var(--line);border-radius:16px;background:var(--card);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px 4px;text-align:center}
.tile b{font-size:16px}
.tile span.s{font-size:13px;color:var(--muted)}
.tile[aria-pressed="true"]{border-color:var(--accent);background:var(--accent-tint);color:var(--accent-text)}
.tile[aria-pressed="true"] span.s{color:var(--accent-text)}
.field{margin-top:20px}
.field>label,.field>.flabel{display:block;font-size:14px;font-weight:700;color:var(--muted);margin-bottom:8px}
.input{width:100%;min-height:52px;border:1.5px solid var(--line);border-radius:12px;background:var(--card);padding:12px 16px;font-size:17px;color-scheme:inherit}
textarea.input{min-height:88px;resize:vertical}
.input:focus{border-color:var(--accent);outline:2px solid var(--accent);outline-offset:0}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{display:inline-flex;align-items:center;gap:8px;min-height:44px;min-width:44px;padding:0 16px;border:1.5px solid var(--line);border-radius:999px;background:var(--card);font-weight:600;font-size:16px}
.chip:has(.av){padding-left:8px}
.chip .tick{display:none;width:18px;height:18px}
.chip[aria-pressed="true"],.chip[aria-checked="true"]{border-color:var(--accent);background:var(--accent-tint);color:var(--accent-text)}
.chip[aria-pressed="true"] .tick,.chip[aria-checked="true"] .tick{display:block}
.chip.def{border-style:dashed}
details.more{margin-top:20px;border-top:1px solid var(--line)}
details.more summary{list-style:none;display:flex;align-items:center;justify-content:space-between;min-height:48px;font-weight:600;color:var(--accent-text);cursor:pointer}
details.more summary::-webkit-details-marker{display:none}
details.more[open] .chev{transform:rotate(90deg)}
.chev{transition:transform .15s}
.sum{margin-top:12px;font-size:15px;color:var(--muted)}
.sum b{color:var(--text)}

/* switch, segmented */
.row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px}
.row+.row{border-top:1px solid var(--line)}
.switch{width:56px;height:44px;display:grid;place-items:center;flex:none}
.switch .track{width:52px;height:32px;border-radius:16px;background:var(--line);position:relative;transition:background .15s}
.switch .knob{position:absolute;top:4px;left:4px;width:24px;height:24px;border-radius:50%;background:#fff;transition:transform .15s}
.switch[aria-checked="true"] .track{background:var(--accent)}
.switch[aria-checked="true"] .knob{transform:translateX(20px)}
.seg{display:flex;gap:4px;background:var(--fill);padding:4px;border-radius:12px}
.seg .chip{flex:1;justify-content:center;border-radius:12px;border-color:transparent;background:transparent;padding:0 8px;font-size:15px}
.seg .chip[aria-checked="true"]{background:var(--card);border-color:var(--accent)}
.timein{min-height:44px;width:120px;border:1.5px solid var(--line);border-radius:12px;background:var(--card);padding:0 12px;font-size:16px;color-scheme:inherit}
.who-row{display:flex;gap:12px;align-items:center}
.tline{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-top:12px}
.tline label{font-size:14px;color:var(--muted);font-weight:600}
.codebox{margin-top:12px;padding:12px;border-radius:12px;background:var(--fill);font-size:14px}
.codebox code{font:700 16px ui-monospace,Menlo,Consolas,monospace;letter-spacing:.06em;color:var(--text)}
.navcard{display:flex;align-items:center;gap:12px;width:100%;min-height:72px;text-align:left}
.navcard .t{flex:1;min-width:0}
.navcard .t div:last-child{font-size:14px;color:var(--muted)}

/* toast */
/* v51: the old black bar is gone; .toast is the same card as the undo card (rules at the end) */


/* v2: swatches, setup, timeline, week, details */
.sw{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:var(--on-av);border:0;flex:none}
.sw .i{display:none;width:22px;height:22px;stroke-width:3}
.sw[aria-checked="true"] .i{display:block}
.sw[aria-checked="true"]{box-shadow:0 0 0 3px var(--card),0 0 0 5px var(--text)}
.sw:disabled{opacity:.3}
.progress{display:flex;gap:8px;margin:8px 0 16px}
.progress i{flex:1;height:6px;border-radius:3px;background:var(--line)}
.progress i.on{background:var(--accent)}
.setup-foot{position:sticky;bottom:0;background:var(--bg);margin:16px -16px 0;padding:12px 16px 24px;display:flex;gap:8px;border-top:1px solid var(--line)}
.setup-foot .btn.filled{flex:1;width:auto}
.admin-note{display:flex;gap:8px;align-items:flex-start;background:var(--accent-tint);color:var(--accent-text);border-radius:12px;padding:12px;font-size:15px;margin:8px 0 16px}
.admin-note .i{width:20px;height:20px;margin-top:1px}
.itembtn{display:block;width:100%;text-align:left}
.itembtn .chev-r{margin-left:auto;color:var(--muted)}
.tl{list-style:none;margin-top:8px}
.tl-item{display:flex;gap:8px;align-items:stretch}
.tl-time{width:56px;flex:none;font-size:15px;font-weight:700;padding-top:16px;text-align:right}
.tl-rail{width:24px;flex:none;position:relative;display:flex;justify-content:center;padding-top:14px}
.tl-rail::before{content:"";position:absolute;top:0;bottom:-8px;left:50%;width:2px;margin-left:-1px;background:var(--line)}
.tl-rail .dot,.tl-rail .nowdot{position:relative;z-index:1}
.tl-body{flex:1;min-width:0}
.nowdot{width:12px;height:12px;border-radius:50%;background:var(--accent);margin-top:4px;box-shadow:0 0 0 4px var(--bg)}
.tl-now .tl-time{color:var(--accent-text);padding-top:10px}
.tl-now .tl-body{padding:8px 0;font-size:14px;font-weight:700;color:var(--accent-text)}
.wk-head{display:flex;align-items:center;gap:8px;width:100%;min-height:48px;margin-top:16px;text-align:left}
.wk-head .d{font-size:18px;font-weight:700}
.wk-head .c{margin-left:auto;font-size:14px;color:var(--muted)}
.wk-empty{font-size:14px;color:var(--muted);padding:0 0 8px}
.cal-top{display:flex;gap:8px;align-items:center}
.cal-top .seg{flex:1}
.filters{margin:12px 0 4px}
.dl{display:grid;grid-template-columns:88px 1fr;gap:12px 8px;margin-top:16px;align-items:start}
.dl dt{font-size:14px;font-weight:700;color:var(--muted);padding-top:2px}
.dl dd{font-size:16px;display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center}
.danger{color:var(--danger)}
.btn.danger{color:var(--danger)}
.pill.admin{background:var(--accent-tint);color:var(--accent-text)}
.mono{font:600 14px ui-monospace,Menlo,Consolas,monospace;overflow-wrap:anywhere}
.confirm{margin-top:12px;padding:12px;border-radius:12px;background:var(--danger-tint);color:var(--danger);font-size:15px}
.confirm .actions{margin-top:12px}
.confirm .btn{background:var(--card);color:var(--text)}
.personhead{display:flex;gap:12px;align-items:center}
.personhead .nm{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}
.rowbtns{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.sechead{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:24px 0 8px}
.sechead h2.sec{margin:0}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-delay:0s!important}
}
.sprite{position:absolute;width:0;height:0}
.row-tight{min-height:48px}
.title.big{font-size:19px}
.guide-list{margin:12px 0 0 24px;font-size:16px;line-height:1.5}
.i.inl{vertical-align:-4px}
.fw{font-weight:700;margin-bottom:8px}
.member-note{background:var(--accent-tint);color:var(--accent-text)}
.sstep[hidden]{display:none}
.personhead .grow{flex:1;min-width:0}
.offscreen{position:fixed;left:-9999px;top:0;opacity:0}
.stage[inert],.tabbar[inert]{pointer-events:none}
.card.compact{padding:12px 16px}
.nm.inline{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center}
.full{width:100%}
.btn.flush{padding-left:0}
.nm{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}
.sheet:not(.on){pointer-events:none}

/* step 2: reminders */
.titlebtn{display:flex;align-items:center;width:100%;min-height:44px;padding:0;text-align:left;background:none;border:0;color:inherit;font:inherit}
.titlebtn .title{display:block;overflow-wrap:anywhere}
.card.rem .meta{margin-top:4px}
.actions.bigact .btn{flex:1;min-height:56px;font-size:18px;border-radius:16px}
.snooze-opts[hidden],.burst[hidden]{display:none}
.quietnote{margin-top:6px;font-size:14px}
.tile.dim{opacity:.6}
.nomt{margin-top:0}
.card.doneitem{opacity:.8}
#push-msg{margin-top:8px;font-size:15px}

/* ---------- step 3: birthdays & renewals ---------- */
.upbody{min-width:0;flex:1}
.card.up .titlebtn{display:block;width:100%;text-align:left}
button.navcard{font:inherit;color:inherit;cursor:pointer}
.seeall{padding-left:0;margin-bottom:8px}
#ren-pre .skipped{color:var(--muted)}
#ren-pre div,#bd-sum{margin-top:4px}
.card.rem .upbody .meta{margin-top:4px}
.card.up .actions{margin-top:12px}
.zoneline{margin-top:2px;font-size:14px;color:var(--muted)}
select.input.place{min-height:48px}
.field.place{margin-top:8px}

.custlist{display:grid;gap:8px;margin-top:12px}
.custrow{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;border:1.5px solid var(--line);border-radius:12px;background:var(--card)}
.custrow .input{width:auto;flex:1 1 150px;min-width:150px}
.custrow .timein{width:112px}
.custrow .rm{margin-left:auto;color:var(--danger)}
.custrow .lab{flex:1 0 100%;font-size:14px;color:var(--muted);font-weight:600}
.custrow.old{opacity:.85}
.sum .skipped{color:var(--muted)}
.sum .bad{color:var(--danger);font-weight:600}
.sum .zl{display:block;color:var(--muted)}

/* ---- step 4: shared calendar ---- */
.cal-nav{display:flex;align-items:center;justify-content:space-between;gap:8px}
.cal-nav .m{font-size:20px;font-weight:700;flex:1;text-align:center}
.legend{display:flex;flex-wrap:wrap;gap:8px 16px;margin:12px 0;font-size:14px}
.legend span{display:inline-flex;align-items:center;gap:6px}
.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px 0}
.cal-grid .dow{text-align:center;font-size:13px;font-weight:700;color:var(--muted);padding:4px 0}
.day{height:72px;border-radius:12px;border:2px solid transparent;display:flex;flex-direction:column;align-items:center;gap:2px;padding:4px 2px;min-width:44px}
.day .n{font-size:16px;font-weight:600;line-height:22px;min-width:28px;text-align:center;border-radius:12px}
.day.out .n{color:var(--muted);font-weight:500}
.day.today .n{background:var(--accent);color:var(--on-accent)}
.day.sel{background:var(--accent-tint);border-color:var(--accent)}
.dots{display:flex;flex-wrap:wrap;justify-content:center;gap:2px;width:42px}
.dayhead{display:flex;align-items:baseline;justify-content:space-between;margin:20px 0 8px}
.dayhead h3{font-size:20px}
.wk-day.today .wk-head .d{color:var(--accent-text)}
.cal-row-line{font-size:14px;color:var(--muted)}
.cal-load{opacity:.6}
/* ---- step 4: header bell ---- */
.topr{display:flex;align-items:center;gap:8px}
.bell-slot{flex:none}
.bell{display:inline-flex;align-items:center;gap:6px;min-height:44px;min-width:44px;padding:0 12px;border-radius:999px;border:1.5px solid var(--line);background:var(--card);color:var(--muted);font-weight:700;font-size:15px;justify-content:center}
.bell .i{width:22px;height:22px}
.bell.today{color:var(--accent-text);background:var(--accent-tint);border-color:var(--accent)}
.bell.overdue{color:var(--danger);background:var(--danger-tint);border-color:var(--danger)}
.bell .cnt{font-size:16px;font-variant-numeric:tabular-nums}
.bellrow{display:flex;align-items:center;gap:12px;padding:12px 0}
.bellrow+.bellrow{border-top:1px solid var(--line)}
.bellrow .t{flex:1;min-width:0}
.bellrow .meta{margin-top:4px}
.bell-empty{display:flex;gap:12px;align-items:center;padding:16px 0;color:var(--muted)}
.bell-empty .i{color:var(--ok);width:28px;height:28px}
.pill.od{background:var(--danger-tint);color:var(--danger)}
.itembtn.bc-violet{border-left:6px solid var(--c-violet)}.itembtn.bc-pink{border-left:6px solid var(--c-pink)}.itembtn.bc-teal{border-left:6px solid var(--c-teal)}.itembtn.bc-amber{border-left:6px solid var(--c-amber)}.itembtn.bc-green{border-left:6px solid var(--c-green)}.itembtn.bc-red{border-left:6px solid var(--c-red)}.itembtn.bc-slate{border-left:6px solid var(--c-slate)}.itembtn.bc-brown{border-left:6px solid var(--c-brown)}.itembtn.bc-all{border-left:6px solid var(--c-all)}
.calbody{min-width:0;flex:1}
.empty.tight{padding:16px}
.bell-empty .title.plain{color:var(--text)}
.btn.wide{width:100%}

/* ---- step 5: Family board ---- */
.shoprow{display:flex;align-items:center;gap:4px}
.shoprow+.shoprow{border-top:1px solid var(--line)}
.shop{display:flex;align-items:center;gap:12px;flex:1;min-width:0;min-height:56px;padding:8px 0;text-align:left}
.shop .box{width:28px;height:28px;border-radius:50%;border:2px solid var(--muted);display:grid;place-items:center;flex:none;color:transparent}
.shop[aria-checked="true"] .box{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.shop .tw{flex:1;min-width:0}
.shop .tx{display:block;font-size:17px;overflow-wrap:anywhere}
.shop[aria-checked="true"] .tx{text-decoration:line-through;color:var(--muted)}
.shop .by{display:block;font-size:14px;color:var(--muted)}
.addrow{display:flex;gap:8px;margin-top:12px}
.addrow .input{flex:1;min-width:0}
.clearbtn{padding-left:0}
.shop-empty,.notes-empty{color:var(--muted);font-size:15px;padding:8px 0}
.homecard{padding-top:8px;padding-bottom:8px}
.homerow{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:8px 0;min-height:64px}
.homerow+.homerow{border-top:1px solid var(--line)}
.homerow .nm{font-weight:600;min-width:56px}
.homerow .st{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.homerow .chips{gap:4px;justify-content:flex-end}
.homerow .chip{padding:0 12px;font-size:15px}
.homerow .upd{flex-basis:100%;font-size:14px;color:var(--muted);padding-left:52px}
.pill.st-home{background:var(--ok-tint);color:var(--ok)}
.pill.st-omw{background:var(--accent-tint);color:var(--accent-text)}
.note{border-radius:12px;padding:12px;margin-bottom:8px;display:flex;gap:8px;align-items:flex-start}
.note .nbody{flex:1;min-width:0}
.note .nt{font-size:16px;overflow-wrap:anywhere}
.note .nb{font-size:14px;margin-top:4px;font-weight:600}
.note .iconbtn{color:inherit}
label.lbl{font-weight:700;display:block;margin-bottom:8px}
#note-hint{margin-top:8px}
.note.pillish{background:var(--fill);color:var(--text)}
/* ---- step 5d: Home menu and its five screens ---- */
.homemenu .navcard{margin-bottom:12px}
.addbtn{width:100%;margin:16px 0 4px;gap:8px}
.postits .note{position:relative;border-radius:4px 4px 4px 16px;padding:18px 12px 14px;margin-bottom:14px;min-height:96px;box-shadow:0 2px 6px rgba(0,0,0,.18)}
.postits .note::before{content:"";position:absolute;top:-6px;left:50%;width:44px;height:12px;margin-left:-22px;background:rgba(255,255,255,.55);border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.06)}
.postits .note .nt{font-size:17px;line-height:1.35}
.postits .note.pillish{background:var(--fill)}
:root[data-theme="dark"] .postits .note{box-shadow:0 2px 6px rgba(0,0,0,.5)}:root[data-theme="dark"] .postits .note::before{background:rgba(255,255,255,.18)}
@media (prefers-color-scheme:dark){:root[data-theme="system"] .postits .note{box-shadow:0 2px 6px rgba(0,0,0,.5)}:root[data-theme="system"] .postits .note::before{background:rgba(255,255,255,.18)}}
/* Screen headings are focused by the app after a tab switch (so screen readers announce them). That must never draw a ring: only buttons, chips and inputs show one. */
h1[tabindex="-1"]:focus,h1[tabindex="-1"]:focus-visible,h2[tabindex="-1"]:focus,h2[tabindex="-1"]:focus-visible,section[tabindex="-1"]:focus,section[tabindex="-1"]:focus-visible,.sheet[tabindex="-1"]:focus,.sheet[tabindex="-1"]:focus-visible{outline:none;box-shadow:none}
/* ---- step 5e: subscriptions ---- */
.totals{margin-top:12px;font-size:17px;font-weight:700}
.totals .tl{display:block}
.totals .tl+.tl{margin-top:2px}
.pricerow{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.pricerow .input{width:140px;flex:none}
.pricerow .chips{flex:1}
.subrow .price{font-weight:700}
.subrow.cancelled{opacity:1}
.subrow.cancelled .title,.subrow.cancelled .price{text-decoration:line-through;color:var(--muted)}
#ch-own .custrow{margin-top:8px}
/* ---- step 5f: bills ---- */
.subrow.overdue{border-color:var(--danger)}
.subrow .actions{margin-top:10px}
.subrow .when-line.late{color:var(--danger);font-weight:700}
/* ---- step 5g: contacts ---- */
input[type=search].input{-webkit-appearance:none;appearance:none}
.links{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.conrow .links .btn{min-height:44px;text-decoration:none}
a.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px}
#s-getapp a.btn{text-decoration:none;color:var(--text)}#s-getapp a.btn.filled{color:var(--on-accent)}#s-getapp a.btn.outline{width:100%;min-height:52px}
#con-cats{margin:10px 0 4px}
/* ---- step 5h: several shopping lists ---- */
.listrow{margin-top:8px}
.listbar{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
#shop-delconfirm .confirm{margin-top:12px}

.homebar{display:flex;justify-content:flex-end;margin-top:4px}
.editrow{display:flex;align-items:center;gap:8px;margin-bottom:8px;min-height:64px;padding-top:8px;padding-bottom:8px}
.editrow .t{flex:1;min-width:0}
.editrow .title{font-weight:600}
.editrow .iconbtn{background:var(--accent-tint);color:var(--accent-text)}
.editrow .iconbtn:disabled{opacity:.35}
#home-editor:focus{outline:none}
#home-editor .actions{flex-direction:column}

.loadfail{text-align:center;margin:56px 16px 16px;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--card,transparent)}.loadfail .title{font-weight:700;margin-bottom:6px}.loadfail .btn{margin-top:12px}
#when-sum:empty{margin-top:0}

/* ---------- step 5k: events ---------- */
.tiles.four{grid-template-columns:repeat(4,1fr);gap:6px}
.tiles.four .tile{min-height:92px;padding:8px 2px}
.tiles.four .tile b{font-size:15px}
.tiles.four .tile span.s{font-size:12px}
.av.sq{border-radius:8px}
.pill .i.sm{width:16px;height:16px}
.pill.rs-going{background:var(--ok-tint);color:var(--ok)}
.pill.rs-cant{background:var(--fill);color:var(--text)}
.pill.rs-none{background:var(--accent-tint);color:var(--accent-text)}
.evdt{margin-top:12px}
.evdt label{display:block;font-size:14px;font-weight:700;color:var(--muted);margin-bottom:8px}
.evdt .dtrow+label{margin-top:12px}
.dtrow{display:flex;flex-wrap:wrap;gap:8px}
.dtrow .input{flex:1 1 150px;min-width:150px;width:auto}
.dtrow .timein{flex:0 0 120px}
.evallday{margin-top:8px;border-top:1px solid var(--line);min-height:48px}
.evrep{border-top:1px solid var(--line);margin-top:8px}
.evphoto .rowbtns{margin-top:8px}
.evprev{display:block;width:100%;max-height:220px;object-fit:cover;border-radius:12px;border:1px solid var(--line);background:var(--fill)}
.evhero{display:block;width:100%;max-height:220px;object-fit:cover;border-radius:12px;margin-bottom:12px;background:var(--fill)}
.evcard .evopen{display:block;width:100%;text-align:left}
.evrow{display:flex;gap:16px;align-items:flex-start;padding:14px 0}
.evrow+.evrow,.evsec{border-top:1px solid var(--line)}
.evrow>.i{color:var(--muted);margin-top:2px;flex:none}
.evrow .c{flex:1;min-width:0}
.evrow .lbl{font-size:14px;color:var(--muted);font-weight:700}
.evrow .val{font-size:17px;overflow-wrap:anywhere}
.evrow .val.big{font-weight:600}
.evrow .btn.text{padding:0;min-height:44px;justify-content:flex-start}
.evrow .btn.tonal{margin-top:8px}
.avrow{display:flex;flex-wrap:wrap;gap:12px;margin:8px 0 4px}
.attn{position:relative;display:inline-block}
.attn .st{position:absolute;right:-5px;bottom:-5px;width:16px;height:16px;border-radius:50%;display:grid;place-items:center;border:2px solid var(--bg);box-sizing:content-box;background:var(--muted);color:var(--bg)}
.attn .st .i{width:12px;height:12px;stroke-width:3.2}
.attn .st.going{background:var(--ok)}.attn .st.cant{background:var(--text)}.attn .st.none{background:var(--muted)}
.rsgroup{margin-top:12px}
.rsgroup h3{font-size:14px;font-weight:700;color:var(--muted);display:flex;align-items:center;gap:6px;margin-bottom:6px}
.rsgroup .pills{display:flex;flex-wrap:wrap;gap:6px}
.rsvpcard{margin-top:12px}
.rsvp{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.rs{display:flex;align-items:center;justify-content:center;gap:8px;min-height:56px;border:2px solid var(--line);border-radius:12px;background:var(--card);font-weight:700;font-size:17px;color:var(--text)}
.rs[aria-checked="true"]{border-color:var(--accent);background:var(--accent-tint);color:var(--accent-text)}
.rsvpcard .state{margin-top:8px;font-size:15px;color:var(--muted)}
.chip[aria-disabled="true"]{opacity:1;cursor:default}

/* ---------- step 5l: four-tab dock, chat, round initials button ---------- */
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.tabic{position:relative;display:inline-flex}
.tbadge{position:absolute;top:-6px;right:-12px;min-width:18px;height:18px;padding:0 5px;box-sizing:border-box;border-radius:8px;background:var(--danger);color:var(--on-av);font-size:12px;font-weight:700;line-height:18px;text-align:center;box-shadow:0 0 0 2px var(--card)}
.tbadge[hidden]{display:none}
/* v90: the active tab gets a soft pill behind its icon (Chris chose A in docs/mockups/active-tab.html); label goes dark */
.tab .tabic{align-items:center;justify-content:center;width:56px;height:30px;border-radius:16px}
.tab[aria-current="page"] .tabic{background:var(--accent-tint)}
.tab[aria-current="page"] > span:last-child{color:var(--text)}
.tab .tabic .tbadge{top:-3px;right:4px}
.mebtn{padding:0}
#s-chat.on{display:flex;flex-direction:column;overflow:hidden}
.chathead{flex:none;padding:8px 16px 4px}
.chatlist{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;padding:4px 12px 8px;display:flex;flex-direction:column;gap:2px;overscroll-behavior:contain}
.chatnote{text-align:center;color:var(--muted);padding:24px 0}
.chatempty{margin:auto;text-align:center;color:var(--muted);padding:24px 16px;max-width:300px}
.chatempty .i{width:40px;height:40px;margin-bottom:8px}
.chatempty .title{color:var(--text);font-weight:700;font-size:18px;margin-bottom:4px}
.earlier{align-self:center;margin:4px 0 8px}
.tsep{text-align:center;font-size:13px;line-height:1.3;color:var(--muted);margin:14px 0 6px;font-variant-numeric:tabular-nums}   /* v291 (Chris chose B of docs/mockups/chat-tighter/): "Today 22:22" when the day changes or 15+ minutes pass */
.tsep b{font-weight:600}
.msg{display:flex;align-items:flex-end;gap:6px;margin-top:2px}
.msg.first{margin-top:8px}
.msg.mine{justify-content:flex-end}
.msg .avwrap{width:28px;flex:none;align-self:flex-start;margin-top:4px}   /* v291: beside the run's last bubble (below the name when that bubble has one) */
.msg:has(.cname) .avwrap{margin-top:23px}
.mcol{display:flex;flex-direction:column;max-width:78%;min-width:0}
.msg.mine .mcol{align-items:flex-end}
.cname{font-size:13px;font-weight:700;color:var(--muted);margin:0 0 2px 4px}
.bubble{display:block;text-align:left;box-sizing:border-box;max-width:100%;padding:7px 12px;border-radius:18px;font-size:16px;line-height:1.3;background:var(--card);color:var(--text);border:1px solid var(--line);position:relative;overflow-wrap:anywhere;word-break:break-word}
.msg.mine .bubble{background:var(--accent);color:var(--on-accent);border-color:transparent;border-bottom-right-radius:6px}
.msg.theirs .bubble{border-bottom-left-radius:6px}
.msg.mine .bubble:not(.first){border-top-right-radius:6px}   /* v291: a run's bubbles join up */
.msg.theirs .bubble:not(.first){border-top-left-radius:6px}
.mwhen{font-size:12px;color:var(--muted);margin:3px 6px 0;font-variant-numeric:tabular-nums}   /* a tapped bubble's own day and time */
button.bubble.sel{outline:3px solid var(--accent-text);outline-offset:2px}
.ctext{white-space:pre-wrap;display:block}
.mtime{display:block;text-align:right;font-size:12px;line-height:1.2;margin-top:2px;font-variant-numeric:tabular-nums}
.msg.theirs .mtime{color:var(--muted)}
.cphoto{display:block;max-width:100%;width:240px;max-height:300px;object-fit:cover;border-radius:12px;margin:0 0 4px}
.cphoto.ph{height:150px;background:var(--fill)}
.remindbtn{align-self:flex-start;margin-top:2px;padding:0 8px;font-size:15px}
.msg.mine .remindbtn{align-self:flex-end}
.remindbtn .det{font-weight:500;color:var(--muted)}
.delrow{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:2px}
.msg.mine .delrow{justify-content:flex-end}
.chatbar{flex:none;border-top:1px solid var(--line);background:var(--bg);padding:8px 12px 8px}
.chatbar .err{margin:0 0 6px}
.composer{display:flex;align-items:flex-end;gap:8px}
.composer textarea.input{flex:1;min-width:0;min-height:44px;max-height:132px;resize:none;padding:10px 14px;border-radius:22px;line-height:1.3;font-size:16px}
.sendbtn{width:48px;height:48px;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:var(--on-accent)}
.sendbtn:disabled{background:var(--fill);color:var(--muted)}
.chatprev{display:flex;align-items:center;gap:8px;margin:0 0 8px}
.chatprev[hidden]{display:none}
.chatprev img{width:64px;height:64px;object-fit:cover;border-radius:12px;border:1px solid var(--line)}
#chat-note-row .row{min-height:56px}

/* ---------- step 5m: address suggestions ---------- */
.sugbox{margin-top:6px;border:1.5px solid var(--line);border-radius:12px;background:var(--card);overflow:hidden}
.sugbox[hidden]{display:none}
.suglist{list-style:none;margin:0;padding:0;max-height:260px;overflow-y:auto;-webkit-overflow-scrolling:touch}
.sugopt{display:flex;flex-direction:column;justify-content:center;gap:2px;min-height:52px;padding:8px 14px;cursor:pointer;color:var(--text)}
.sugopt+.sugopt{border-top:1px solid var(--line)}
.sugopt .st{display:flex;align-items:center;gap:6px;font-size:16px;min-width:0}
.sugopt .st b{font-weight:600;overflow-wrap:anywhere}
.sugopt .st .i{flex:none;color:var(--accent-text)}
.sugopt .tag{margin-left:auto;flex:none;font-size:12px;font-weight:700;color:var(--accent-text);background:var(--accent-tint);border-radius:8px;padding:1px 8px}
.sugopt .ad{font-size:14px;color:var(--muted);overflow-wrap:anywhere}
.sugopt.act,.sugopt:active{background:var(--accent-tint)}
.sugnote{margin:4px 2px 0;font-size:13px;color:var(--muted)}
.sugnote:empty{display:none}

/* ---------- step 5o: conversation list and private chats ---------- */
#chat-convs{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;padding:4px 12px 12px;display:flex;flex-direction:column;gap:8px;overscroll-behavior:contain}
#chat-convs[hidden]{display:none}
.convrow{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:8px 12px;box-sizing:border-box;border-radius:16px;background:var(--card);border:1px solid var(--line);color:var(--text);text-align:left;font:inherit;flex:none}
.convrow.unread{border-color:var(--accent-text)}
.convrow.unread .cpv{color:var(--text);font-weight:600}
.cmid{display:flex;flex-direction:column;min-width:0;flex:1;gap:2px}
.cnm{display:flex;align-items:center;gap:8px;min-width:0}
.cnm .title{font-weight:700;font-size:17px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cpriv{font-size:12px;font-weight:700;color:var(--muted);border:1px solid var(--line);border-radius:12px;padding:1px 8px;white-space:nowrap}
.cpv{color:var(--muted);font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cend{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex:none;min-width:44px}
.ctime{font-size:12px;color:var(--muted)}
.convn{min-width:22px;height:22px;padding:0 6px;box-sizing:border-box;border-radius:12px;background:var(--danger);color:var(--on-av);font-size:13px;font-weight:700;line-height:22px;text-align:center}
.cmuted{font-size:12px;color:var(--muted)}
.famav .i{width:24px;height:24px}
.convview{flex:1;min-height:0;display:flex;flex-direction:column}
.convview[hidden]{display:none}
.convbar{flex:none;display:flex;align-items:center;gap:8px;padding:0 12px 6px}
.convtitle{flex:1;min-width:0;display:flex;align-items:center;gap:8px;font-size:18px}
.convtitle .title{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mutebtn{flex:none}

/* 5p: snooze "Pick a time", calendar link, default warnings */
.snz-pick{width:100%;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.snz-pick[hidden]{display:none}
.snz-pick .snz-dt{flex:1 1 200px;min-width:0}
.snz-pick .err{width:100%}
.snooze-opts .snz-pickbtn[aria-expanded="true"]{border-color:var(--accent);background:var(--accent-tint);color:var(--accent-text)}
#feed-url{font-size:14px;text-overflow:ellipsis}
#feedcard .confirm,#wdef .field:last-child{margin-bottom:0}
.feedadd{display:grid;gap:8px;margin-bottom:8px}.feedadd .btn{width:100%}.feedadd a.btn,#feed-gopen{text-decoration:none}
#adm-body .feedgsteps{margin:16px 0 18px}

/* ---------- step 5q: spaces ---------- */
.spacepill{display:inline-flex;align-items:center;gap:8px;min-height:44px;max-width:60%;padding:0 6px 0 0;border-radius:999px;color:var(--accent-text);font-weight:700;font-size:15px}
.spacepill .sp-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:9.5em}
.spacepill .sp-chev{width:18px;height:18px;opacity:.85}
.sp-dot{min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--accent);color:var(--on-accent);font-size:12px;font-weight:700;line-height:20px;text-align:center}
.sp-row{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:10px 14px;border:1.5px solid var(--line);border-radius:12px;background:var(--card);margin-top:10px}
.sp-row[aria-current="true"]{border-color:var(--accent);background:var(--accent-tint)}
.sp-ic{width:40px;height:40px;border-radius:12px;flex:none;display:grid;place-items:center;background:var(--accent-tint);color:var(--accent-text);font-weight:700;font-size:18px}
.sp-row[aria-current="true"] .sp-ic{background:var(--accent);color:var(--on-accent)}
.sp-mid{flex:1;min-width:0}
.sp-mid .title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sp-end{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex:none}
.sp-cur{display:inline-flex;align-items:center;gap:4px;font-weight:700;font-size:14px;color:var(--accent-text)}
.sp-cur .i{width:18px;height:18px}
.sp-pick{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.spacecard-btns{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.btn.filled.danger-fill{background:var(--danger);color:var(--card)}
.sp-sub{display:block}

/* ---------- step 6a: private vault ---------- */
.vcode{display:grid;grid-template-columns:repeat(4,1fr);gap:10px 8px;margin:12px 0;padding:14px;border:1.5px solid var(--line);border-radius:12px;background:var(--fill);font:700 20px/1.2 ui-monospace,Menlo,monospace;letter-spacing:.06em;text-align:center;user-select:text;-webkit-user-select:text}
.vcode span{padding:6px 0;display:flex;flex-direction:column;align-items:center;gap:2px}
.vcode span::before{content:attr(data-n);font:600 11px/1 -apple-system,system-ui,sans-serif;letter-spacing:0;color:var(--muted,#6b6f74)}
.vitem{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:10px 14px;margin-top:10px;border:1.5px solid var(--line);border-radius:12px;background:var(--card)}
.vitem .vt{flex:1;min-width:0}
.vitem .vt .title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vval{margin-top:6px;padding:14px;border-radius:12px;background:var(--fill);font:600 18px/1.35 ui-monospace,Menlo,monospace;white-space:pre-wrap;word-break:break-all;min-height:52px}
.vnote{margin-top:10px;padding:12px 14px;border-radius:12px;background:var(--fill);white-space:pre-wrap;word-break:break-word}
.vhold{touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
.vsecret{-webkit-text-security:disc}
.vacts{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.vpk{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid var(--line)}
.vpk .vt{flex:1;min-width:0}
.vwarn{margin-top:10px;padding:10px 12px;border-radius:12px;background:var(--danger-tint);color:var(--danger);font-weight:600}
.vsteps{margin:8px 0 0 20px}
.vsteps li{margin-top:6px}
/* step 6b: documents */
.vbadge{display:inline-block;margin-left:8px;padding:1px 8px;border-radius:999px;font-size:12px;font-weight:700;background:var(--fill);color:var(--text)}
.vbadge.soon{background:var(--danger-tint);color:var(--danger)}
.vbadge.bad{background:var(--danger);color:var(--card)}
.vdimg{display:block;max-width:100%;max-height:60vh;margin:12px auto 0;border-radius:12px}
.vdpdf{display:block;width:100%;height:60vh;margin-top:12px;border:1.5px solid var(--line);border-radius:12px;background:#fff}
.vdthumb{display:block;max-width:100%;max-height:160px;margin-top:10px;border-radius:12px}
.check{display:flex;align-items:center;gap:10px;min-height:44px;margin-top:12px;font-weight:600}
.check input{width:44px;height:44px;margin:0;flex:none}
#vault-print{display:none}
@media print{
  body>*:not(#vault-print){display:none!important}
  #vault-print:not([hidden]){display:block!important;position:static;padding:28px;color:#000;background:#fff;font:16px/1.5 -apple-system,Helvetica,Arial,sans-serif}
  #vault-print h1{font-size:26px;margin-bottom:6px}
  #vault-print .pcode{margin:22px 0;padding:18px;border:2px solid #000;border-radius:12px;font:700 26px/1.6 ui-monospace,Menlo,Courier,monospace;letter-spacing:.08em;text-align:center;display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
  #vault-print .pcode span{display:flex;flex-direction:column;align-items:center}
  #vault-print .pcode span::before{content:attr(data-n);font:600 12px/1.2 -apple-system,Helvetica,Arial,sans-serif;letter-spacing:0}
  #vault-print p{margin:8px 0}
}

/* Step 7a: Recently deleted and History */
.trcard .rowbtns{margin-top:10px}
.trcard .title{overflow-wrap:anywhere}
.histrow{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;text-align:left}
.histrow .t{flex:1;min-width:0}
.histrow .blk{display:block}
.pill.hi-done{background:var(--ok-tint,var(--fill));color:var(--ok,var(--text))}
.pill.hi-missed{background:var(--danger-tint);color:var(--danger)}
.pill.hi-open{background:var(--fill);color:var(--text)}
.hline{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--line,var(--fill))}
.hline>span:last-child{text-align:right;overflow-wrap:anywhere}

/* Design D: colour tone picker (Settings). Swatches keep their own colour; the preview follows the chosen tone. */
.tones{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.tone{border:1px solid var(--line);border-radius:12px;padding:12px 8px;display:flex;flex-direction:column;align-items:center;gap:8px;min-height:92px;font-size:15px;font-weight:600;background:var(--card)}
.tone[aria-checked="true"]{border:2px solid var(--accent);background:var(--accent-tint);padding:11px 7px}
.tone .sw{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:#FFFFFF}
.tone .sw .i{opacity:0;stroke-width:3}
.tone[aria-checked="true"] .sw .i{opacity:1}
.sw-sage{background:#3D6B54}.sw-ocean{background:#1F5FA8}.sw-clay{background:#B04A1E}.sw-plum{background:#6A4C9C}.sw-rose{background:#B0325E}.sw-graphite{background:#33383D}
:root[data-theme="dark"] .tone .sw{color:#111315}
:root[data-theme="dark"] .sw-sage{background:#8FC1A5}:root[data-theme="dark"] .sw-ocean{background:#8AB8F0}:root[data-theme="dark"] .sw-clay{background:#F2A47A}:root[data-theme="dark"] .sw-plum{background:#C5B3EE}:root[data-theme="dark"] .sw-rose{background:#F4A6C1}:root[data-theme="dark"] .sw-graphite{background:#D5DBE0}
@media (prefers-color-scheme:dark){
  :root[data-theme="system"] .tone .sw{color:#111315}
  :root[data-theme="system"] .sw-sage{background:#8FC1A5}:root[data-theme="system"] .sw-ocean{background:#8AB8F0}:root[data-theme="system"] .sw-clay{background:#F2A47A}:root[data-theme="system"] .sw-plum{background:#C5B3EE}:root[data-theme="system"] .sw-rose{background:#F4A6C1}:root[data-theme="system"] .sw-graphite{background:#D5DBE0}
}
.toneprev{display:flex;align-items:center;gap:12px;margin-top:12px;padding:12px;border-radius:12px;background:var(--bg)}
.toneprev .ticon{width:36px;height:36px;border-radius:12px;background:var(--accent-tint);color:var(--accent-text);display:grid;place-items:center;flex:none}
.toneprev .t{flex:1;display:flex;flex-direction:column}
.toneprev .title{font-weight:600;font-size:15px}
.toneprev .sub{font-size:13px;color:var(--muted)}
.tonechip{min-height:32px;padding:0 14px;border-radius:16px;background:var(--accent);color:var(--on-accent);font-size:15px;font-weight:600;display:inline-flex;align-items:center}
@media (prefers-reduced-motion:no-preference){.tone{transition:border-color .15s,background-color .15s}}

/* ---------- Design D step 2: layout (Today, header, tab bar). Same elements and classes as before; only the layout changes. ---------- */
h2.sec{font-size:15px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--muted);margin:26px 4px 8px}
h2.sec.od{color:var(--danger)}
h1{font-size:34px;letter-spacing:-.02em}
#today-hello{font-size:16px;margin-top:4px}
.now{display:flex;flex-wrap:wrap;gap:4px 16px;margin-top:8px;color:var(--muted);font-size:15px}
.now b{color:var(--text);font-weight:600}
/* header: space switcher with a tone-tinted letter badge */
.spacepill{color:var(--muted);font-weight:600}
.sp-badge{width:24px;height:24px;border-radius:8px;background:var(--accent-tint);color:var(--accent-text);display:grid;place-items:center;font-size:12px;font-weight:700;flex:none}
/* iOS inset-grouped lists: one rounded box per section, rows separated by hairlines */
.group{background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden}
.group.od{border-color:color-mix(in srgb,var(--danger) 35%,var(--line))}
.group > .card{border:0;border-radius:0;margin:0;background:transparent;padding:14px 14px 14px 16px;box-shadow:none}
.group > .card + .card{border-top:1px solid var(--line)}
.group .typelabel{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.group .ticon{width:36px;height:36px;border-radius:12px}
.group .ticon .i{width:20px;height:20px}
.av.rav{width:36px;height:36px;font-size:15px;flex:none;margin-top:1px}
.group .meta .time .i{display:none}
/* reminder rows: round check at the right (the label stays for screen readers), Snooze as a chip under the text */
.btn.ck .ring{display:contents}
.group .card.rem .up-head{padding-right:40px}
.group .card.rem .btn.ck{position:absolute;top:6px;right:4px;width:44px;height:44px;min-width:44px;padding:0;border:0;background:none;border-radius:50%}
.group .card.rem .btn.ck .ring{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;border:2px solid var(--muted);color:var(--accent-text)}
.group.od .card.rem .btn.ck .ring{border-color:var(--danger)}
.group .card.rem .btn.ck .ring .i{opacity:0;stroke-width:3;width:16px;height:16px}
.group .card.rem .btn.ck:hover .ring .i,.group .card.rem .btn.ck:focus-visible .ring .i{opacity:.55}
.group .card.rem .btn.ck .cklabel{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.group .card .actions{margin-top:8px;padding-left:48px}
.group .card.rem .actions .btn.outline{border-radius:12px;padding:0 14px;font-size:15px;border-width:1px}
.group .card.rem .actions .btn.outline .i{display:none}
.group .card.rem .snooze-opts{margin-left:48px}
/* tab bar: Today · Calendar · (+) · Chat · Home - the + is the same #fab, docked into the gap in the middle */
.tabbar{display:grid;grid-template-columns:1fr 1fr 72px 1fr 1fr;align-items:start}
.tabgap{display:block}
.fab{left:50%;right:auto;transform:translateX(-50%);bottom:calc(max(16px,env(safe-area-inset-bottom)) + 4px);width:52px;height:52px;box-shadow:none;z-index:3}   /* v162: 52px, centred on the tabs' middle, clear of the line above (it touched it at 56px) */
.fab .i{width:28px;height:28px}
.now .zday{flex-basis:100%}
/* calendar: whose items, as a row of avatars (Design D); still radio buttons with names */
#cal-filter{flex-wrap:nowrap;overflow-x:auto;gap:10px;padding:4px 4px 2px;scrollbar-width:none}
#cal-filter::-webkit-scrollbar{display:none}
#cal-filter .chip{flex:none;flex-direction:column;gap:4px;min-width:56px;padding:0 2px;border:0;background:none;font-size:13px;font-weight:500;color:var(--muted)}
#cal-filter .chip .tick{display:none !important}
#cal-filter .chip .av{width:40px;height:40px;font-size:16px;outline:2px solid transparent;outline-offset:2px}
#cal-filter .chip[aria-checked="true"]{background:none;color:var(--text);font-weight:600}
#cal-filter .chip[aria-checked="true"] .av{outline-color:var(--accent)}
#cal-filter .fall{background:var(--accent-tint);color:var(--accent-text)}
#cal-filter .fall .i{width:20px;height:20px}
/* Design D rows: plain-text details, other-zone time, chips on the right */
.meta .who{color:var(--muted);font-weight:400}
.tz{color:var(--muted);font-size:13px;margin-top:2px}
.group .when-line{color:var(--muted);font-size:15px;margin-top:2px}
.group .when-line b{color:var(--text);font-weight:600}
.group .when-line.soon{display:block;min-height:0;padding:0;border-radius:0;background:none;font-size:15px;font-weight:400;color:var(--muted)}
.group .when-line.late,.group .when-line.late b{color:var(--danger)}
.group .card.up[data-type="renewal"] .up-head{padding-right:132px}
.group .card.up[data-type="renewal"] .actions{position:absolute;right:14px;top:50%;transform:translateY(-50%);margin:0;padding:0}
.group .card.up[data-type="renewal"] .actions .btn.tonal{background:none;border:1px solid var(--line);color:var(--text);border-radius:12px;padding:0 14px;font-size:15px}
.group .card.up[data-type="renewal"] .actions .btn .i{display:none}
.group .evcard .actions .btn{border-radius:12px;padding:0 14px;font-size:15px}
.group .evcard .actions .btn.tonal{background:var(--accent);color:var(--on-accent)}
.group .evcard .actions .btn.outline{border-width:1px}
.group .evcard .actions .btn.outline .i{display:none}
/* calendar: month title left, Today + arrows right; selected day is a soft tint; the day's items as a grouped box */
.cal-nav .m{text-align:left}
.cal-nav #cal-today{min-height:44px;padding:0 8px;font-size:15px}
.day.sel{border-color:transparent}
#cal-day .dayhead h3{font-size:15px;font-weight:600;color:var(--muted)}
#cal-day .group{margin-top:8px}
#cal-day .group > *{border-radius:0;margin:0}
/* Home (Design D): who's home chips, then the menu as one grouped list of rows with arrows */
.whostrip .sec{margin-top:18px}
.whochips{display:flex;flex-wrap:wrap;gap:8px;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:12px 14px}
.chip.who{border-width:1px;font-size:15px;padding:0 14px 0 6px;gap:8px}
.chip.who.me{border-color:var(--accent);background:var(--accent-tint);color:var(--accent-text)}
#home-menu.group{display:block}
#home-menu.group > .navcard{display:flex;align-items:center;width:100%;padding:13px 14px;min-height:60px;text-align:left}
#home-menu.group > .navcard .ticon{width:36px;height:36px;border-radius:12px}
#home-menu.group > .navcard .ticon .i{width:20px;height:20px}
/* Design D detail sheets: type line, big title, grouped rows with icons, big buttons */
.kind{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:15px;font-weight:600;color:var(--accent-text)}
.kind .typelabel{position:static;width:auto;height:auto;clip:auto;clip-path:none;font-size:15px;letter-spacing:0}
.dtitle{font-size:28px;line-height:1.15;font-weight:700;letter-spacing:-.02em;margin:6px 0 14px;overflow-wrap:anywhere}
.group.dlist{margin:0 0 12px}
.dli,.group.dlist > .evrow{display:flex;gap:12px;padding:14px;align-items:flex-start}
.dli + .dli,.group.dlist > .evrow + .evrow{border-top:1px solid var(--line)}
.dli > .i{width:22px;height:22px;color:var(--muted);flex:none;margin-top:1px}
.dli .c{flex:1;min-width:0}
.dli .t{font-size:17px;font-weight:600}
.dli .t.od{color:var(--danger)}
.dli .meta.wrap{margin-top:8px}
.dnote{font-size:16px;overflow-wrap:anywhere}
.btns2{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:4px 0 8px}
.btns2 .btn{min-height:50px;border-radius:12px;font-size:17px;width:100%}
.btns2 .btn.filled{min-height:50px}
#det-body dl.dl{display:grid;grid-template-columns:minmax(84px,auto) 1fr;gap:0;background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden;margin-bottom:12px}
#det-body dl.dl > dt,#det-body dl.dl > dd{padding:13px 14px;margin:0;border-top:1px solid var(--line)}
#det-body dl.dl > dt:first-of-type,#det-body dl.dl > dd:first-of-type{border-top:0}
#det-body dl.dl > dt{color:var(--muted);font-size:15px;font-weight:600;padding-right:4px}
#det-body dl.dl > dd{font-size:16px;min-width:0;overflow-wrap:anywhere}
/* Add sheet + chips (Design D): compact type tiles, sub-labels kept for screen readers only; 1px chip borders everywhere */
.tiles.four .tile{min-height:76px;border-width:1px;border-radius:12px;gap:6px}
.tiles.four .tile[aria-pressed="true"]{border-width:2px}
.tiles.four .tile .i.lg{width:24px;height:24px}
.tiles.four .tile b{font-size:13px;font-weight:600}
.tiles.four .tile span.s{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.chip{border-width:1px}
.chip[aria-pressed="true"],.chip[aria-checked="true"]{border-width:1px}
.tiles.four .tile{position:relative}
/* bell sheet (Design D "Due for you"): rows in one box, chip-style buttons */
.group.dlist > .bellrow{padding:12px 12px 12px 14px;margin:0;border:0}
.group.dlist > .bellrow + .bellrow{border-top:1px solid var(--line)}
.group.dlist > .bellrow .btn{border-radius:12px;padding:0 14px;font-size:15px}
.group.dlist > .bellrow .time .i{display:none}
/* start screen (Design D welcome) */
.welcome{display:grid;gap:12px;padding-top:28px;margin-bottom:8px}
.welcome .wlogo{width:84px;height:84px;border-radius:19px;display:block}
.welcome h1{font-size:40px;margin-top:4px}
.welcome .wtag{font-size:19px;color:var(--text)}
.welcome .lead{margin-top:0}
.noteline.center{text-align:center}
.sihead{display:grid;gap:4px;padding-top:28px}   /* v417 Sign in / Welcome back (C of docs/mockups/sign-in-area/) */
.sihead .silogo{width:56px;height:56px;border-radius:12px;display:block;margin-bottom:12px}
.sihead h1{font-size:34px;margin:0}
.sihead .lead{margin-top:0}
.siout{margin-top:16px;padding:12px 14px;border-radius:12px;background:var(--soon-tint);color:var(--soon);font-size:15px}
.siout b{font-weight:600}
.siwho{display:flex;align-items:center;gap:14px}
.siwho .siav{width:52px;height:52px;font-size:22px}
.siwt{display:grid;min-width:0}.siwt b{font-size:20px;font-weight:600;overflow-wrap:anywhere}.siwt .muted{font-size:15px;overflow-wrap:anywhere}
.silinks{display:flex;flex-direction:column;align-items:center;margin-top:8px}
.silinks .btn.text{min-height:44px}
.sbask{color:var(--accent-text);font-weight:600;text-decoration:none;white-space:nowrap;display:inline-block;padding:13px 6px;margin:-13px -6px}   /* v405: sign-in "Ask for one" (3A) */
/* 094 the first screen's three doors (D1 of docs/mockups/start-a-new-fridge/): a card per door, the button with its grey line */
.sidoors{display:flex;flex-direction:column;gap:12px;min-height:calc(100dvh - 120px)}
.sidoors .sihead{text-align:center;justify-items:center;padding-top:40px;margin-bottom:auto}
.sidoors .sihead .lead{max-width:22em}
.sidoor{display:grid;gap:8px;padding:14px 16px}
.sidoor .btn{width:100%}
.sidl{margin:0;text-align:center;color:var(--muted);font-size:14px}
.siback{align-self:flex-start;min-height:44px;padding:0 4px;gap:4px;margin-top:8px}
#start-new .steps{display:flex;gap:6px;margin:16px 0 4px}
#start-new .steps i{flex:1;height:4px;border-radius:999px;background:var(--line)}
#start-new .steps i.on{background:var(--accent)}
#start-new h1,.sijt{font-size:34px;margin:8px 0 0}
.sncheck{display:flex;align-items:center;gap:10px;min-height:44px;font-size:17px;margin-top:8px}
.sncheck input{width:22px;height:22px;accent-color:var(--accent)}
.snwarn{margin-top:16px;padding:12px 14px;border-radius:12px;background:var(--soon-tint);color:var(--soon);font-size:15px}
/* event hearts (Design D) */
.evby{display:flex;align-items:center;justify-content:space-between;gap:8px}
.heart{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:44px;padding:0 8px;border-radius:22px;color:var(--muted);font-weight:600;font-size:15px}
.heart .i{width:22px;height:22px;stroke-width:1.8}
.heart.on{color:var(--danger)}
.heart.on .i{fill:currentColor}
/* What's for dinner card (Design D) */
.dinslot:empty{display:none}
.dinner{display:flex;align-items:center;gap:12px;width:100%;margin-top:16px;padding:14px;border-radius:16px;background:var(--accent-tint);color:var(--text);text-align:left;min-height:64px}
.dinner .ticon{width:36px;height:36px;border-radius:12px;background:var(--card);color:var(--accent-text);flex:none}
.dinner .ticon .i{width:20px;height:20px}
.dinner .dbody{flex:1;min-width:0;display:flex;flex-direction:column}
.dinner .k{font-size:13px;font-weight:600;color:var(--accent-text)}
.dinner .v{font-weight:600;overflow-wrap:anywhere}
.dinner > .i{color:var(--muted)}
#home-dinner .dinner{margin-top:8px}
.dinner.dempty{min-height:44px;padding:8px 14px;border-radius:12px;background:var(--card);border:1px dashed var(--line);font-weight:400;color:var(--muted)}
.dinner.dempty > .i{width:18px;height:18px;color:var(--accent-text)}
.dinner.dempty .dadd{font-weight:600;color:var(--accent-text)}
.dtitle.title.big{font-size:28px;line-height:1.15;font-weight:700}
/* "All my spaces" (Design D) */
.pill.sppill{font-size:12px;font-weight:600;padding:2px 8px;border-radius:12px;background:var(--fill);color:var(--muted);vertical-align:2px;white-space:nowrap}
.group .card.allrow .titlebtn{text-align:left}
.group .card.allrow.rem .up-head{padding-right:40px}
/* Today: "Nothing due today" card and the empty state button (Design D) */
.clearcard{display:flex;gap:12px;align-items:center;margin-top:24px}
.clearcard .okav{width:36px;height:36px;border-radius:50%;background:var(--ok-tint);color:var(--ok);display:grid;place-items:center;flex:none}
.clearcard .okav .i{width:20px;height:20px;stroke-width:3}
.clearcard .title{font-weight:600}
.btn.filled.emptyadd{width:auto;min-height:48px;padding:0 20px;margin-top:10px;font-size:16px}
/* calendar week + day views as Design D grouped lists */
#cal-v-week .wk-day{border:0;padding:0;margin-top:18px;background:none}
#cal-v-week .wk-head{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;padding:0 4px;font-size:15px;font-weight:600;color:var(--muted);background:none;border:0}
#cal-v-week .wk-head .d{color:var(--muted);font-weight:600}
#cal-v-week .wk-day.today .wk-head .d{color:var(--accent-text)}
#cal-v-week .wk-head .c{margin-left:auto;font-weight:500;font-size:14px}
#cal-v-week .wk-empty{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:14px;color:var(--muted);font-size:15px}
#cal-v-week .group > *{border-radius:0;margin:0}
#cal-v-week .group > * + *{border-top:1px solid var(--line)}
#cal-v-day ol.tl{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:6px 12px;margin-top:12px}
/* tone chips during setup and joining (Design D) */
.tonechips .chip .sw{width:18px;height:18px;border-radius:50%;display:inline-block;flex:none}
/* toast action button ("Deleted · Undo") */
/* v36: Recently deleted / History line at the bottom of Today */
.todayfoot{display:flex;align-items:center;justify-content:center;gap:4px;margin:24px 0 8px;color:var(--muted)}
.todayfoot .btn.text{color:var(--muted);font-weight:600;font-size:15px;min-height:44px;gap:6px}
.todayfoot .dot{color:var(--muted)}
#home-deleted,#home-you{margin-top:0}
/* v456 (Chris chose D of docs/mockups/footer-small-icons/, 12 Nov 2026): Settings, History and Trash as three light grey pills in one row at the
   bottom of Today and Apps, phones and tablets; a computer has them in its own bars. 44px to tap; they wrap at Extra large text. --fill, not --sys-tile: that one is for squares on a white card and vanishes on the page. */
.pagefoot{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}
.pfbtn{flex:1 1 0;min-width:max-content;display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 12px;border:0;border-radius:999px;background:var(--fill);background:color-mix(in srgb,var(--fill),#000 3%);color:var(--sys-sym);font:inherit;font-size:13px;font-weight:600;line-height:1.2;cursor:pointer;-webkit-tap-highlight-color:transparent}
.pfbtn .i{width:18px;height:18px;flex:none}
.pfbtn:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.pfbtn:active{opacity:.7}
@media (hover:hover){.pfbtn:hover{opacity:.85}}
/* Light mode: the pills are --fill made 3% darker (Chris, 12 Nov 2026: "the middle of now and A" of docs/mockups/footer-grey-darker/);
   dark mode keeps --fill. A phone without color-mix keeps --fill (the line before it). */
:root[data-theme="dark"] .pfbtn, :root[data-theme="dark"] #home-foot .homefoot > .navcard{background:var(--fill)}
@media (prefers-color-scheme:dark){:root[data-theme="system"] .pfbtn, :root[data-theme="system"] #home-foot .homefoot > .navcard{background:var(--fill)}}
@media (max-width:1023px){   /* Apps: the same three buttons the computer shows as two cards (#home-you, #home-deleted) */
  #home-foot{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}
  #home-foot > .homefoot{display:contents}
  #home-foot .homefoot > .navcard{flex:1 1 0;width:auto;min-width:max-content;justify-content:center;gap:6px;min-height:44px;padding:0 12px;border:0;border-radius:999px;box-shadow:none;background:var(--fill);background:color-mix(in srgb,var(--fill),#000 3%);color:var(--sys-sym);text-align:center}
  #home-foot .homefoot > .navcard .ticon{width:auto;height:auto;border-radius:0;background:none;color:inherit}
  #home-foot .homefoot > .navcard .ticon .i{width:18px;height:18px}
  #home-foot .homefoot > .navcard .t{flex:none}
  #home-foot .homefoot > .navcard .t .title{font-size:13px;font-weight:600;line-height:1.2}
  #home-foot .homefoot > .navcard .t .muted, #home-foot .homefoot > .navcard > .i{display:none}
  #home-foot .homefoot > .navcard:focus-visible{outline-offset:2px}
  #home-foot .homefoot > .navcard:active{opacity:.7}
}
@media (min-width:1024px){ #today-you{display:none} }
/* v38 space pill: one tappable control for the space on Today, Calendar, Home and Chat */
.top .spacepill{flex:0 1 auto;min-width:0;max-width:none;border:1px solid var(--line);background:var(--card);border-radius:22px;padding:0 10px 0 6px;gap:6px;min-height:44px;color:var(--text)}
.top .topr{flex:none}
.spacepill .sp-name{flex:1 1 auto;min-width:0;max-width:none}
.spacepill .sp-chev{flex:none}
.sp-badge{box-shadow:0 0 0 2px var(--card)}
.sp-badge.sp-badge2{margin-left:-12px}
.sp-count{flex:none;min-width:26px;height:22px;padding:0 6px;border-radius:12px;background:var(--danger);color:var(--card);font-size:12px;font-weight:700;display:inline-grid;place-items:center;line-height:1}
/* the "Show" sheet */
.sp-row[aria-current="true"]{border-width:2px;padding:9px 13px}
.sp-due{color:var(--muted);font-weight:600}   /* v396: due is not overdue; red only means overdue or delete (design system 2) */
.sp-ic.sp-ic2{display:flex;align-items:center;justify-content:center;gap:0;font-size:13px}
.sp-ic.sp-ic2 span{width:22px;height:22px;border-radius:8px;background:var(--card);color:var(--accent-text);display:grid;place-items:center;box-shadow:0 0 0 2px var(--accent-tint)}
.sp-ic.sp-ic2 span + span{margin-left:-6px}
.sp-row[aria-current="true"] .sp-ic.sp-ic2 span{box-shadow:0 0 0 2px var(--accent)}
.sp-newbtn{margin-top:14px;width:auto;align-self:flex-start}
/* ---------- Sticky Notes (wall) ---------- */
#note-filter{margin-top:14px}
#note-filter .chip{flex:1}
.wall{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}   /* a grid, not CSS columns: reading order = pinned first, then newest, row by row */
.wallcell{min-width:0}
.snote{display:flex;flex-direction:column;gap:6px;width:100%;text-align:left;border-radius:16px;padding:14px;min-height:96px;background:var(--np);color:var(--nt);box-shadow:0 1px 2px rgba(0,0,0,.06);overflow-wrap:anywhere}
.snote .npin{display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:700}
.snote .npin .i,.snote .ntag .i,.snote .nclaim .i{width:14px;height:14px}
.snote .ntext{font-size:17px;line-height:1.3}
.snote .ntag{align-self:flex-start;display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:600;padding:2px 10px;border-radius:12px;border:1px solid currentColor}
.snote .nclaim{display:inline-flex;align-items:center;gap:4px;font-size:14px;font-weight:700}
.snote .nby{display:flex;align-items:center;gap:6px;font-weight:600;font-size:15px;margin-top:4px}
.snote .nwhen{font-size:13px}
.c-yellow{--np:#FCE9A4;--nt:#5A4200}.c-pink{--np:#F9D4E1;--nt:#7A1F45}.c-blue{--np:#D6E4FA;--nt:#1E4A86}.c-green{--np:#D5F0DD;--nt:#1E5A33}.c-orange{--np:#FBD9C3;--nt:#7A3410}.c-lilac{--np:#E6DDF6;--nt:#4B2F80}
:root[data-theme="dark"] .c-yellow{--np:#3A3216;--nt:#F5DE8A}:root[data-theme="dark"] .c-pink{--np:#3D2130;--nt:#F6B9CF}:root[data-theme="dark"] .c-blue{--np:#1E2B40;--nt:#B4CDF5}:root[data-theme="dark"] .c-green{--np:#1C3325;--nt:#A9E2BC}:root[data-theme="dark"] .c-orange{--np:#3D2617;--nt:#F6C2A0}:root[data-theme="dark"] .c-lilac{--np:#2C2440;--nt:#D3C3F2}
@media (prefers-color-scheme:dark){
  :root[data-theme="system"] .c-yellow{--np:#3A3216;--nt:#F5DE8A}:root[data-theme="system"] .c-pink{--np:#3D2130;--nt:#F6B9CF}:root[data-theme="system"] .c-blue{--np:#1E2B40;--nt:#B4CDF5}:root[data-theme="system"] .c-green{--np:#1C3325;--nt:#A9E2BC}:root[data-theme="system"] .c-orange{--np:#3D2617;--nt:#F6C2A0}:root[data-theme="system"] .c-lilac{--np:#2C2440;--nt:#D3C3F2}
}
.wall .notes-empty{grid-column:1 / -1;display:grid;justify-items:center;gap:10px;padding:28px 12px;text-align:center;background:var(--card);border:1px solid var(--line);border-radius:16px}
.wall .notes-empty .title{font-weight:600;color:var(--text)}
/* "+ New note" stays at the bottom while the wall scrolls (sticky inside the screen's scroll area); the screen's bottom padding keeps the last note clear of it */
/* Sticky Notes: New note sheet */
.nnhead{display:flex;align-items:center;gap:8px}
#nn-pin{min-height:44px}
#nn-pin[aria-pressed="true"]{border-color:var(--accent);background:var(--accent-tint);color:var(--accent-text)}
.nntext{min-height:110px;font-size:18px;line-height:1.4;background:var(--np);color:var(--nt);border-color:transparent;resize:vertical}
.nntext::placeholder{color:var(--nt);opacity:.75}
.nncount{margin:6px 2px 0;font-size:13px;color:var(--muted);text-align:right}
.nnchips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.nnchips:empty{display:none}
.nnchip{min-height:44px}
.nncolours{display:grid;grid-template-columns:repeat(6,1fr);gap:4px}
.nnsw{display:flex;flex-direction:column;align-items:center;gap:4px;min-height:64px;padding:4px 0;background:none;border:0;color:var(--text);font:inherit;cursor:pointer}
.nnsw .dot{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--np);color:var(--nt);box-shadow:inset 0 0 0 1px rgba(0,0,0,.12)}
.nnsw .dot .i{opacity:0}
.nnsw[aria-checked="true"] .dot{box-shadow:0 0 0 2px var(--bg),0 0 0 4px var(--accent)}
.nnsw[aria-checked="true"] .dot .i{opacity:1}
.nnsw .nm{font-size:12px;color:var(--muted)}
.nnsw[aria-checked="true"] .nm{color:var(--text);font-weight:600}
#sheet-note{bottom:var(--kb,0px)}
#sheet-note{max-height:calc(94% - var(--kb,0px))}
/* Sticky Notes: one note (detail) */
#sheet-notedet .sheet-head{position:relative}
.ndmenu{position:absolute;right:16px;top:64px;z-index:5;min-width:200px;background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.18);padding:6px;display:flex;flex-direction:column}
.ndmenu[hidden]{display:none}
.ndmi{display:flex;align-items:center;gap:10px;min-height:48px;padding:0 12px;border:0;border-radius:12px;background:none;color:var(--text);font:inherit;font-size:17px;text-align:left;cursor:pointer}
.ndmi:hover,.ndmi:focus-visible{background:var(--accent-tint)}
.ndmi.danger{color:var(--danger,#B3261E)}
.ndnote{min-height:160px;padding:20px;gap:10px;box-shadow:none}
.ndnote .ndtext{margin:0;font-size:22px;line-height:1.35;white-space:pre-wrap}
.ndclaim{display:flex;align-items:center;gap:6px;margin:14px 2px 0;font-size:17px;font-weight:600;color:var(--text)}
.ndclaim .ndundo{margin-left:auto;min-height:44px}
.ndchips{margin:14px 0 0}
.ndgroup{margin-top:16px}
.ndrow{padding:12px 16px;border-top:1px solid var(--line)}
.ndrow:first-child{border-top:0}
.ndlab{font-size:13px;font-weight:600;color:var(--muted);margin-bottom:6px}
.ndval{font-size:16px;color:var(--text)}
.ndseen{display:flex;flex-wrap:wrap;gap:6px 14px}
.ndwho{display:inline-flex;align-items:center;gap:6px;font-size:16px;color:var(--text)}
#nd-foot[hidden]{display:none}
/* Today: shortcuts row (v40) - one swipeable row; the last pill is cut by the edge so it reads as "more this way" */
.scrow{display:flex;gap:8px;overflow-x:auto;margin:14px -16px 4px;padding:2px 16px 4px;scroll-padding-inline:16px;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.scrow::-webkit-scrollbar{display:none}
.scrow[hidden]{display:none}
.scpill{flex:0 0 auto;scroll-snap-align:start;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px 0 12px;border-radius:22px;border:1px solid var(--line);background:var(--card);color:var(--text);font:inherit;font-size:15px;font-weight:600;white-space:nowrap;cursor:pointer}
.scpill .i{color:var(--accent-text);width:18px;height:18px}
.scpill .scn{min-width:22px;height:22px;padding:0 6px;box-sizing:border-box;display:inline-grid;place-items:center;border-radius:12px;background:var(--accent);color:var(--on-accent);font-size:13px;font-weight:700}
.scpill:active{background:var(--accent-tint)}
/* Today header (v41): "Today" + greeting on the left, date + time on the right, each pair on one baseline */
#today-date{margin-top:6px}
#today-date[hidden]{display:none}
/* v43: dinner time - usual times as chips, any time in the box below */
.dintimes{margin-bottom:8px}
#din-time{margin-top:4px;min-width:160px}
/* v44 (Chris): one top bar for every tab - a full-width 1px line under the space pill, bell and avatar; not sticky; 12px to the title */
.top{border-bottom:1px solid var(--line);margin:0 -16px 12px;padding:0 16px 8px}
.chathead .top{margin-bottom:8px}
/* v44: Home - the space name with "Edit order" on the same line, right-aligned */
.homebar{display:flex;align-items:center;justify-content:space-between;gap:12px}
.homebar #fam-name{margin:0;min-width:0}
.homebar #home-edit{flex:none}
/* v45 Today header (notes 15): "Today" + date / the other city's time on the right; greeting on its own line; wraps instead of cutting text */
.todayhead{display:flex;flex-wrap:wrap;align-items:center;column-gap:12px;row-gap:2px}
.todayhead h1{flex:1 1 auto;min-width:0}
.todayhead .thr{flex:none;margin-left:auto;text-align:right}
.todayhead .thdate{margin:0;font-size:15px;color:var(--muted);white-space:nowrap}
.todayhead .thtime{margin:2px 0 0;font-size:15px;font-weight:700;color:var(--text)}
.todayhead #today-hello{flex-basis:100%;margin-top:4px}
/* v45 grouped rows (Today, Calendar): avatar or icon, title, one meta line, chevron; the whole row is the button */
.tgroup{padding:0}
.trow{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:10px 12px 10px 14px;margin:0;background:none;border:0;border-top:1px solid var(--line);border-radius:0;text-align:left;color:var(--text);font:inherit;cursor:pointer}
.tgroup>.trow:first-child{border-top:0}
.trow:active{background:var(--accent-tint)}
.trow .av,.trow .tri{flex:none;width:32px;height:32px;margin:0;font-size:14px}
.tri{display:inline-grid;place-items:center;border-radius:12px;background:var(--accent-tint);color:var(--accent-text)}
.tri .i{width:18px;height:18px}
.trb{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.trt{font-size:16px;font-weight:600;line-height:1.25;overflow-wrap:anywhere}
.trm{font-size:14px;color:var(--muted);line-height:1.35}
.trm b{color:var(--text);font-weight:600}
.trm b.od{color:var(--danger)}
.trow .pill{flex:none;min-height:24px;font-size:13px}
.trc{flex:none;display:inline-flex;color:var(--muted)}
.trc .i{width:18px;height:18px}
.group.tgroup.od{border-color:color-mix(in srgb,var(--danger) 45%,var(--line))}
/* v111: Today-style section titles on other pages (the Chores page, Medicines, the Freezer): bigger, the count as plain grey words */
h2.sec.tsec{display:flex;align-items:center;gap:10px;font-size:18px;line-height:1.3;margin:24px 4px 10px}
/* v253: the count is plain grey words after the title ("Tomorrow · 3"), in the title's own colour (red for Overdue) */
.secc{margin-left:-5px;font-weight:600;font-variant-numeric:tabular-nums}
/* Today's sections (Chris approved docs/mockups/today-plain-headings-for-claude/, 18 Oct 2026; replaces the v254 tinted bars that
   folded): a plain grey heading on the page, 9 px above ONE grouped card, 25 px between sections; no count, no arrow, no bar.
   Overdue's heading is red. Under the card, centred: "Show 5 more" (accent) and "Show fewer" (grey), 44 px to tap. */
.tsg{margin-top:25px}
.tsg>h2.sec.tshead{display:block;margin:0 4px 9px;font-size:17px;font-weight:600;line-height:1.4;color:var(--muted)}
.tsg.od>h2.sec.tshead{color:var(--danger)}
.tsg>.group.tgroup{margin:0}
.tmorebar{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:0 8px;margin:4px 0 -10px}
.tmore,.tfewer{min-height:44px;min-width:44px;padding:10px 16px;margin:0;background:none;border:0;border-radius:12px;font:inherit;font-size:16px;line-height:1.4;cursor:pointer}
.tmore{font-weight:600;color:var(--accent-text)}
.tfewer{font-weight:400;color:var(--muted)}
.tmore:active,.tfewer:active{background:var(--fill)}
@media (min-width:1024px){ .tmore:hover,.tfewer:hover{background:var(--fill)} }
.tl-body .trow{background:var(--card);border:1px solid var(--line);border-radius:12px}
/* v45 actions sheet */
.acthead{display:flex;gap:12px;align-items:flex-start;margin:4px 0 18px}
.acthead .av,.acthead .tri{width:36px;height:36px;flex:none}
.acth{flex:1;min-width:0}
.acth h2{margin:0;font-size:20px;line-height:1.25;overflow-wrap:anywhere}
.actmeta{font-size:14px;color:var(--muted);margin-top:3px;line-height:1.35}
.actmeta b{color:var(--text)} .actmeta b.od{color:var(--danger)}
.actnote2{font-size:15px;color:var(--text);margin-top:6px;white-space:pre-wrap}
.actpills{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.actpills .pill .i{width:14px;height:14px}
.btn.actmain{width:100%;min-height:52px;font-size:17px;gap:8px}
.btn.actmain + .btn.actmain{margin-top:12px}   /* v98: Call and Mark done no longer touch */
.btn.danger.filled{background:var(--danger);color:var(--on-accent);border-color:var(--danger)}
.actnote{font-size:13px;color:var(--muted);text-align:center;margin:6px 0 0}
.actpair{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.actpair .btn{min-height:52px;width:100%}
.actpair .btn.sel{border:1.5px solid var(--accent);color:var(--accent-text)}
.actlist{margin-top:18px}
.actrow{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:4px 14px;border:0;border-top:1px solid var(--line);background:none;color:var(--text);font:inherit;font-size:17px;font-weight:600;text-align:left;cursor:pointer}
.actlist>.actrow:first-child{border-top:0}
.actrow .i{flex:none;width:20px;height:20px;color:var(--muted)}
.actrow.danger,.actrow.danger .i{color:var(--danger)}
.snzrow{flex-wrap:wrap;cursor:default;padding-top:6px;padding-bottom:6px}
.snzc{margin-left:auto;display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}
.snzc .chip{min-height:44px;padding:0 10px;font-size:14px;font-weight:600}
.actmore{padding:0 14px 12px;border-top:1px solid var(--line)}
.actmore .snooze-opts{margin-top:10px}
.btn.actcancel{width:100%;margin-top:8px;min-height:48px;color:var(--accent-text);font-weight:600}
.actconfirm{text-align:center;padding:4px 4px 0}
.actconfirm h2{margin:0 0 8px;font-size:20px;overflow-wrap:anywhere}
.actconfirm p{margin:0 0 16px;color:var(--muted);font-size:15px;line-height:1.4}
/* snooze choices: light links on their own line under "Snooze" ("1 hour · Tonight · Tomorrow · More") */
.snzrow{flex-wrap:wrap;row-gap:0}
.snzc{flex-basis:100%;margin-left:26px;justify-content:flex-start;flex-wrap:wrap;gap:0}
.snzc .chip{border:0;background:none;color:var(--accent-text);padding:0 6px;min-width:44px;white-space:nowrap}
.snzc .chip+.chip::before{content:"·";color:var(--muted);margin:0 8px 0 -4px}
/* ===== v46 the one Add sheet (notes 19-20) ===== */
#sheet-add{bottom:var(--kb,0px);max-height:calc(94% - var(--kb,0px))}
#sheet-add .addpage{display:flex;flex-direction:column;min-height:0;flex:1 1 auto}
#sheet-add .addpage[hidden]{display:none}
.addhead{gap:8px}
.addhead h2{flex:1}
.addheadr{display:flex;align-items:center;gap:6px}
.addsp{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 10px 0 6px;border:1px solid var(--line);border-radius:22px;background:var(--card);color:var(--text);font:inherit;font-size:15px;font-weight:600;cursor:pointer;max-width:150px}
.addsp .sp-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.addsp .sp-badge,.plist .sp-badge{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:8px;background:var(--accent-tint);color:var(--accent-text);font-size:13px;font-weight:700;flex:none}
.addsp.static{cursor:default;padding-right:12px}
.addsp .i{width:16px;height:16px}
#add-pin-slot:empty,#add-sp-slot:empty{display:none}
#add-pin-slot #nn-pin{min-height:44px}
.atiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:2px 0 12px}
.atile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:60px;padding:6px 2px;border:1px solid var(--line);border-radius:12px;background:var(--card);color:var(--text);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.atile .i{width:22px;height:22px}
.atile .atl{display:inline-flex;align-items:center;gap:2px;line-height:1.15;text-align:center;max-width:100%;font-size:clamp(12px,3.1vw,13px);letter-spacing:-.02em;-webkit-hyphens:auto;hyphens:auto;overflow-wrap:anywhere}
.atile .atl .i{width:12px;height:12px}
.atile{padding-left:0;padding-right:0}
@media (max-width:359px){.atiles{gap:4px}}
.atile[aria-checked="true"]{border-color:var(--accent);background:var(--accent-tint);color:var(--accent-text)}
.atile:disabled{opacity:.45;cursor:default}
#add-title-f[hidden]{display:none}
#sheet-add .addhide{display:none}
.frows{margin-top:12px;padding:0}
.frow{display:flex;align-items:center;gap:10px;width:100%;min-height:54px;padding:8px 12px 8px 14px;border:0;border-top:1px solid var(--line);background:none;color:var(--text);font:inherit;text-align:left;cursor:pointer}
.frows>.frow:first-child{border-top:0}
.frow .frl{flex:0 0 96px;font-size:15px;color:var(--muted)}
.frow .frv{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.frow .frm{display:inline-flex;align-items:center;gap:8px;font-size:16px;font-weight:600;overflow-wrap:anywhere}
.frow .frv.ph .frm{font-weight:400;color:var(--muted)}
.frow .frs{font-size:13px;color:var(--muted)}
.frow .av{width:26px;height:26px;font-size:12px;flex:none}
.cturns{border-top:1px solid var(--line);padding:4px 12px 12px 14px}
.frows>.cturns:first-child{border-top:0}
.cturns-hd{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:46px}
.cturns-hd .frl{font-size:15px;color:var(--muted)}
.cturns-ch{min-height:44px;min-width:44px;padding:0 4px;border:0;background:none;color:var(--accent-text);font:inherit;font-size:16px;font-weight:600;cursor:pointer}
.cturns-ol{list-style:none;margin:0;padding:0}
.cturns-ol li{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 0}
.cturns-ol li+li{border-top:1px solid var(--line)}
.cturns-ol .cnum{flex:none;width:20px;text-align:right;font-size:14px;font-weight:600;color:var(--muted)}
.cturns-ol .av{width:28px;height:28px;font-size:13px;flex:none}
.cturns-nm{flex:1;min-width:0;font-size:16px;font-weight:600;overflow-wrap:anywhere}
.cturns-mk{flex:none;font-size:13px;font-weight:700;color:var(--accent-text)}
.cturns-ph{margin:0 0 4px;color:var(--muted)}
.cturns-back{margin:6px 0 0;font-size:14px;color:var(--muted)}
.allic{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--fill);color:var(--text);flex:none}
.allic .i{width:15px;height:15px}
.cdot{display:inline-block;width:22px;height:22px;border-radius:50%;background:var(--np);box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);flex:none}
.fsum{margin-top:12px;padding:12px 14px;border-radius:12px;background:var(--accent-tint);color:var(--text);font-size:15px;line-height:1.4}
.fsum[hidden]{display:none}
.fsum b{color:var(--accent-text)}
.fsum .sum,.fsum p{margin:0}
.fsum .linkbtn,.linkbtn{padding:0;min-height:44px;color:var(--accent-text);text-decoration:underline;font-weight:600;justify-content:flex-start}
.fsum .vline{display:flex;align-items:center;gap:6px;margin-bottom:4px}
#add-chips .flabel{margin-top:4px}
#add-form #ch-body,#add-form #ct-body{padding:0;overflow:visible}
#add-form .field:first-child{margin-top:0}
/* picker pages */
.pickhead{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:4px 8px 0;min-height:52px}
.pickhead h2{margin:0;font-size:18px;text-align:center}
.pickhead .pickback{justify-self:start;gap:2px;min-height:44px;color:var(--accent-text);font-weight:600}
.pickhead .pickdone{justify-self:end;min-height:44px;color:var(--accent-text);font-weight:700}
.picksub{margin:0 16px 8px;text-align:center;font-size:14px;color:var(--muted);overflow-wrap:anywhere}
.picksub[hidden]{display:none}
#pick-body{padding-bottom:24px}
.plist{padding:0;margin-top:4px}
.prow{display:flex;align-items:center;gap:12px;width:100%;min-height:54px;padding:8px 14px;border:0;border-top:1px solid var(--line);background:none;color:var(--text);font:inherit;text-align:left;cursor:pointer}
.plist>.prow:first-child{border-top:0}
.prow:disabled{cursor:default;opacity:.75}
.prow .prb{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.prow .prt{font-size:17px}
.prow .prs{font-size:13px;color:var(--muted)}
.prow .prc{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;border:2px solid var(--line)}
.prow .prc.on{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.prow .prc .i{width:15px;height:15px}
.prow .av{width:36px;height:36px}
.prow .allic{width:36px;height:36px}
.prow .tri{width:36px;height:36px}
.ptime{flex:none;padding:3px 8px;border-radius:8px;background:var(--fill);font-size:14px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--text)}
.plabel{margin:16px 4px 6px;font-size:14px;font-weight:700;color:var(--muted)}
.pnote{margin:8px 4px 0;font-size:13px;color:var(--muted);line-height:1.4}
.pnote.top{margin:0 4px 10px}
.pwarn{margin-top:12px;padding:12px 14px;border-radius:12px;background:color-mix(in srgb,var(--soon) 14%,var(--card));color:var(--soon);font-size:14px;font-weight:600;line-height:1.4}
.pquick{margin-bottom:10px}
.pown{margin-top:4px}
.mrow .tri{width:36px;height:36px}
.seeall2{display:flex;align-items:center;gap:10px;width:100%;min-height:56px;margin-top:14px;padding:0 14px;border:1px solid var(--line);border-radius:12px;background:var(--card);color:var(--accent-text);font:inherit;font-size:17px;font-weight:700;text-align:left;cursor:pointer}
.seeall2 span:first-of-type{flex:1}
.byear{display:flex;align-items:flex-end;gap:10px;margin-top:10px}
.byear .field{flex:1;margin:0}
.byear #add-noyear{flex:none;min-height:44px}
/* event When page: the month and wheels replace the chips and the phone's own date fields */
.pickev #ev-when,.pickev .evdt{display:none}
.evpick{margin-top:10px}
/* a month to pick a day from */
.apcal{margin-top:8px;padding:8px 6px 6px;border:1px solid var(--line);border-radius:16px;background:var(--card)}
.apch{display:flex;align-items:center;justify-content:space-between;padding:0 2px}
.apch b{font-size:17px}
.apch .iconbtn{color:var(--accent-text)}
/* v313 (Chris chose A of docs/mockups/year-month-pick/): the month title is a button; the year with its 12 months */
.apcmt{min-height:44px;display:inline-flex;align-items:center;gap:4px;padding:0 10px;border:0;border-radius:12px;background:none;color:var(--accent-text);font:inherit;cursor:pointer}
.apcmt b{font-size:17px}
.apcmt .i{width:16px;height:16px}
.apcmt:focus-visible{outline:3px solid var(--accent);outline-offset:1px}
.apcmg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:6px 4px 2px}
.apcm{min-height:48px;border:0;border-radius:12px;background:var(--cool);color:var(--text);font:inherit;font-size:16px;font-weight:600;cursor:pointer}
.apcm.now{color:var(--accent-text);box-shadow:inset 0 0 0 1.5px var(--accent)}
.apcm.sel{background:var(--accent);color:var(--on-accent);box-shadow:none}
.apcm:disabled{color:var(--muted);opacity:.5;cursor:default}
.apcm:focus-visible{outline:3px solid var(--accent);outline-offset:1px}
.apccap{margin:6px 4px 0;font-size:13px;color:var(--muted);text-align:center}
.apcw,.apcg{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));justify-items:center}
.apcw span{font-size:12px;font-weight:700;color:var(--muted);padding:4px 0}
.apc{width:44px;height:44px;border-radius:50%;border:0;background:none;color:var(--text);font:inherit;font-size:16px;cursor:pointer}
.apc.blank{cursor:default}
.apc.today{color:var(--accent-text);font-weight:700}
.apc.sel{background:var(--accent);color:var(--on-accent);font-weight:700}
.apc.mark:not(.sel){outline:2px dashed var(--accent);outline-offset:-4px}
.apc:disabled{color:var(--muted);opacity:.55;cursor:default}
.apcl{margin:2px 6px 2px;font-size:12px;color:var(--muted)}
/* a scrolling wheel */
.apwbox{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding:6px 14px;border:1px solid var(--line);border-radius:16px;background:var(--card)}
.apwl{font-size:17px;font-weight:700}
.apwrow{display:flex;align-items:center;gap:4px}
.apwc{font-size:22px}
.apw{height:132px;width:64px;overflow-y:auto;scroll-snap-type:y mandatory;scrollbar-width:none;-webkit-mask-image:linear-gradient(transparent,#000 30%,#000 70%,transparent);mask-image:linear-gradient(transparent,#000 30%,#000 70%,transparent);border-radius:12px}
.apw.wide{width:150px}
.apw::-webkit-scrollbar{display:none}
.apw:focus-visible{outline:3px solid var(--accent)}
.apwpad{height:44px}
.apwi{height:44px;display:grid;place-items:center;scroll-snap-align:center;font-size:20px;color:var(--muted);cursor:pointer;font-variant-numeric:tabular-nums}
.apwi[aria-selected="true"]{color:var(--text);font-weight:700;font-size:22px;background:var(--fill);border-radius:12px}
.apc{display:grid;place-items:center;padding:0;text-align:center}
.pickev #ev-when-l{display:none}
.pickev .evallday{border-top:0}
#add-chips .flabel{display:block;margin:14px 2px 8px;font-size:15px;font-weight:600;color:var(--muted)}

/* v47: the vault as one list (notes/codes and documents), kinds, filter chips, the two-step add */
#vault-body > #vt-bar{margin-top:4px}
.vgroup{margin-top:14px}
.vgroup > .vitem{margin:0;border:0;border-radius:0;background:transparent;min-height:64px}
.vgroup > .vitem + .vitem{border-top:1px solid var(--line)}
.vgroup .ticon{width:36px;height:36px;border-radius:12px}
.vgroup .ticon .i{width:20px;height:20px}
.vgroup .vitem > .i{color:var(--muted);flex:none}
.vfilter{display:flex;gap:8px;overflow-x:auto;margin:14px -16px 0;padding:2px 16px;scrollbar-width:none}
.vfilter::-webkit-scrollbar{display:none}
.vfilter .chip{flex:none;white-space:nowrap;gap:6px}
.vcount{font-size:13px;font-weight:700;opacity:.7}
#vt-usage{margin-top:12px}
.vchoices{display:flex;flex-direction:column;gap:10px;margin-top:8px}
.vchoice{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:var(--card);color:var(--text);text-align:left;font:inherit}
.vchoice .vt{flex:1;min-width:0}
.vchoice > .i{color:var(--muted);flex:none}
.vkind{min-height:56px}
#vt-kindv{margin-bottom:8px}

/* v48: sticky notes packed with an even gap (see notesPack): 2px rows, the 12px gap is part of each note's span */
.wall.mas{grid-auto-rows:2px;row-gap:0;column-gap:12px}
.wall.mas > .wallcell{align-self:start}

/* v49: Today's "Done today" rows and the done-item sheet */
.trdone .trt{text-decoration:line-through;color:var(--muted)}
.tri.okic{background:var(--ok-tint);color:var(--ok)}

/* v49: shopping list by aisle */
#shop-list .aisle{font-size:14px;font-weight:600;color:var(--muted);margin:14px 0 2px}
#shop-list .aisle:first-child{margin-top:2px}
#shop-list .aisle + .shoprow{border-top:0}
#shop-list .shoprow[data-aisle="got"] .tx{text-decoration:line-through;color:var(--muted)}

/* v49 (Chris): History filter chips had no gap under the Person box */
#hi-chips{margin-top:16px}

/* v50 (Chris, "Option A"): the undo card above the tab bar (showUndoToast). Accent colours follow each person's tone. */
.toast{position:fixed;left:16px;right:16px;z-index:60;display:flex;align-items:center;gap:12px;padding:12px 12px 12px 14px;background:var(--card);
  border:1px solid var(--accent-tint);border:1px solid color-mix(in srgb,var(--accent) 24%,transparent);border-radius:16px;
  box-shadow:0 10px 28px rgba(0,0,0,.12);box-shadow:0 10px 28px color-mix(in srgb,var(--accent) 16%,transparent);overflow:hidden;
  opacity:0;transform:translateY(14px);transition:opacity .2s ease-out,transform .2s ease-out;touch-action:none;-webkit-user-select:none;user-select:none}
.toast.on{opacity:1;transform:none}
.toast:not(.utoast){pointer-events:none}   /* a plain message: taps go through it */
.toast:not(.on){pointer-events:none}   /* a fading Undo card never catches a tap meant for what is under it */
.uticon{flex:none;width:38px;height:38px;border-radius:50%;background:var(--accent-tint);color:var(--accent-text);display:grid;place-items:center}
.uticon .i{width:20px;height:20px}
.uttext{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.ut1{font-size:16px;font-weight:600;line-height:1.3;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ut2{font-size:14px;line-height:1.3;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.utundo{flex:none;height:44px;margin:-2px 0;padding:0;border:0;background:none;color:var(--accent-text);font:inherit;font-size:16px;font-weight:700}   /* 44px to tap, a 40px pill to see */
.utundo > span{display:flex;align-items:center;height:40px;padding:0 16px;border-radius:12px;background:var(--accent-tint)}
.utbar{position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--accent-tint);background:color-mix(in srgb,var(--accent) 12%,transparent)}
.utfill{display:block;height:100%;background:var(--accent);transform-origin:left center;animation:utrun 4s linear forwards}
.utoast.held .utfill{animation-play-state:paused}
@keyframes utrun{from{transform:scaleX(1)}to{transform:scaleX(0)}}
@media (prefers-reduced-motion:reduce){.toast,.toast.on{transform:none;transition:opacity .2s}}
body.ut-on .screen.on::after{content:"";display:block;height:96px}
.ut1.wrap{white-space:normal;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}
.ut2.wrap{white-space:normal;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}   /* v334: the card after Save wraps, never cuts the words */
#join-eyebrow{text-transform:none;letter-spacing:0}   /* v334 Join A: "You’re invited" in sentence case */
.toast:not(.utoast){padding:12px 14px}

/* v52: reminder types (Medicine) */
#add-kinds{margin:2px 0 12px}
#add-kinds .flabel{margin-bottom:6px}
.chips.kinds{flex-wrap:nowrap;overflow-x:auto;margin:0 -16px;padding:2px 16px;scrollbar-width:none}
.chips.kinds::-webkit-scrollbar{display:none}
.kchip{flex:none;gap:6px}
.kchip .i{width:18px;height:18px}
.kchip[aria-checked="true"]{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.kchip:disabled{opacity:.45}
#add-medsum p{margin:0}
#add-medsum p + p{margin-top:6px}
#add-medsum .medq,#add-medsum .medpriv{font-size:14px;color:var(--muted)}
#add-medsum .medpriv{display:flex;align-items:center;gap:6px}
#add-medsum .medpriv .i{width:16px;height:16px;flex:none}
/* v135: a medicine's name hidden on screens */
#add-medsum .medhide{margin-top:12px;display:flex;flex-direction:column;gap:12px}
#add-medsum .medhide .prs{white-space:normal}
#add-medsum .mhas{display:flex;flex-direction:column;gap:8px;padding:0 4px}
#add-medsum .mhas label{font-size:14px;color:var(--muted)}
#add-medsum .mhas .chips{flex-wrap:wrap}
.trlock{display:inline-flex;vertical-align:-2px;margin-left:5px;color:var(--muted)}
.trlock .i{width:15px;height:15px}
.medreveal{display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--fill);border-radius:12px;padding:6px 6px 6px 14px;margin-top:10px;min-height:48px}
.medreveal span{display:inline-flex;align-items:center;gap:6px;font-size:15px;color:var(--muted)}
.medreveal span .i{width:16px;height:16px}
.medreveal b{font-size:17px;overflow-wrap:anywhere;min-width:0}
.medreveal .btn{flex:none}
.medtime{display:flex;align-items:center;gap:8px;margin-top:8px}
.medtime .apwbox{flex:1}
#med-addtime{margin-top:12px}
/* v52 step 2: chores that take turns */
.frm .tarrow{color:var(--muted);margin:0 2px}
.chips.wdays .chip{min-width:52px;justify-content:center}
.corder .crow{display:flex;align-items:center;gap:10px;min-height:56px;padding:6px 6px 6px 14px}
.corder .crow + .crow{border-top:1px solid var(--line)}
.corder .cnum{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:700;background:var(--accent-tint);color:var(--accent-text);flex:none}
.corder .iconbtn:disabled{opacity:.3}
/* v52 step 3: appointment details in the actions sheet */
.apptinfo{flex-basis:100%;margin-left:44px}
.apptinfo .actmeta{display:flex;align-items:center;gap:6px}
.apptinfo .actmeta .i{width:16px;height:16px;flex:none}
#act-call,.callbtn{text-decoration:none}
.actions .btn.callbtn{flex:1 1 100%;min-height:52px}
.acthead:has(.apptinfo){flex-wrap:wrap}
/* v53 (Chris, notes 22): compact Calendar - month title with arrows, a small Day/Week/Month segment + Today, the people row as the legend,
   compact month grid in one card with marks (dot = reminder, bar = event, person colours), a tight day list */
#s-calendar .cal-ctl{display:flex;align-items:center;gap:8px;margin-top:6px}
#s-calendar .cal-ctl .seg{flex:1;position:relative;background:none;padding:0;gap:0;isolation:isolate}
#s-calendar .cal-ctl .seg::before{content:"";position:absolute;left:0;right:0;top:6px;bottom:6px;border-radius:12px;background:var(--fill);z-index:-2}
#s-calendar .cal-ctl .seg .chip{position:relative;min-height:44px;height:44px;border:0;background:none;font-size:15px;font-weight:600;color:var(--muted)}
#s-calendar .cal-ctl .seg .chip[aria-checked="true"]{color:var(--accent-text);background:none;box-shadow:none}   /* the pill is drawn by ::before; the generic .seg rule's full-height shadow showed as a pale box around it */
#s-calendar .cal-ctl .seg .chip[aria-checked="true"]::before{content:"";position:absolute;left:3px;right:3px;top:9px;bottom:9px;border-radius:8px;background:var(--card);box-shadow:0 1px 2px rgba(0,0,0,.1);z-index:-1}
#s-calendar .cal-ctl #cal-today{flex:none;min-height:44px;padding:0 6px;font-size:16px;font-weight:700;color:var(--accent-text)}
#s-calendar .cal-people{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:2px;margin:4px -4px 0;padding:2px 4px;scrollbar-width:none}
#s-calendar .cal-people::-webkit-scrollbar{display:none}
#s-calendar .cp{flex:1 0 56px;display:flex;flex-direction:column;align-items:center;gap:3px;min-height:52px;padding:2px 0;border:0;background:none;color:var(--muted)}
#s-calendar .cp .av{width:30px;height:30px;font-size:13px;font-weight:700;box-shadow:0 0 0 2px transparent}
#s-calendar .cp .fall{display:grid;place-items:center;border-radius:50%;background:var(--card);border:1.5px solid var(--line);color:var(--muted);font-size:12px}
#s-calendar .cp .cpn{font-size:12px;font-weight:500;line-height:1.2;white-space:nowrap}
#s-calendar .cp[aria-checked="true"]{color:var(--accent-text)}
#s-calendar .cp[aria-checked="true"] .cpn{font-weight:700}
#s-calendar .cp[aria-checked="true"] .av{box-shadow:0 0 0 2px var(--bg),0 0 0 4px var(--accent)}
#s-calendar .cp[aria-checked="true"] .fall{color:var(--accent-text);border-color:var(--accent)}
#s-calendar .cal-card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:6px 2px 8px;margin-top:6px}
#s-calendar .cal-grid{gap:2px 2px}
#s-calendar .cal-grid .dow{font-size:12px;font-weight:700;padding:2px 0 4px}
#s-calendar .cal-grid .day{height:44px;min-width:0;padding:4px 0 0;gap:3px;border:0;border-radius:12px;background:none;justify-content:flex-start;margin:0}
#s-calendar .cal-grid .day .n{font-size:15px;font-weight:500;line-height:19px;min-width:0;background:none;color:var(--text);border-radius:0}
#s-calendar .cal-grid .day.past .n{color:var(--muted)}
#s-calendar .cal-grid .day.today{box-shadow:inset 0 0 0 1.5px var(--accent)}
#s-calendar .cal-grid .day.today .n{color:var(--accent-text);font-weight:700;background:none}
#s-calendar .cal-grid .day.sel{background:var(--accent);box-shadow:none}
#s-calendar .cal-grid .day.sel .n{color:var(--on-accent);font-weight:700}
#s-calendar .marks{display:flex;gap:3px;align-items:center;height:5px}
#s-calendar .mk{display:inline-block;width:5px;height:5px;border-radius:50%;flex:none}
#s-calendar .mk.bar{width:10px;height:4px;border-radius:2px}
#s-calendar .day.sel .mk{box-shadow:0 0 0 1.5px var(--on-accent)}
#s-calendar .mk.a-all,#s-calendar .clbar.a-all{background:var(--muted)}
#s-calendar .cal-key{margin:6px 0 0;text-align:center;font-size:12px;color:var(--muted)}
#s-calendar .cal-key .mk{background:var(--muted);margin:0 4px 1px 8px;vertical-align:middle}
#s-calendar .cal-key .mk:first-child{margin-left:0}
#s-calendar #cal-day .dayhead{margin:12px 4px 6px;align-items:baseline}
#s-calendar #cal-day .dayhead h2{font-size:17px;font-weight:700;color:var(--text);margin:0}
#s-calendar .cllist{margin-top:0}
#s-calendar .clrow{display:flex;align-items:center;gap:10px;width:100%;min-height:56px;padding:8px 12px;border:0;background:none;text-align:left;color:var(--text)}
#s-calendar .clrow + .clrow{border-top:1px solid var(--line)}
#s-calendar .clt{flex:none;width:52px;font-weight:700;font-size:15px;font-variant-numeric:tabular-nums}
#s-calendar .clt.od{color:var(--danger)}
#s-calendar .clbar{flex:none;width:4px;align-self:stretch;min-height:32px;border-radius:2px}
#s-calendar .clrow .trb{flex:1;min-width:0;display:flex;flex-direction:column}
#s-calendar .clrow .trt{font-weight:600;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#s-calendar .clrow .trm{font-size:14px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#s-calendar .clrow .trc{color:var(--muted);flex:none}
#s-calendar .cal-empty{padding:16px 4px;color:var(--muted)}

/* v54 (Chris, notes 23): dates and times picked right in the row */
.frows .irow{display:flex;align-items:center;gap:10px;min-height:56px;padding:6px 12px 6px 14px;border-top:1px solid var(--line)}
.frows > .irow:first-child{border-top:0}
.irow .frl{flex:none;width:92px;color:var(--muted)}
.irow .ibtns{display:flex;gap:8px;flex-wrap:wrap;flex:1;min-width:0}
.ibtn{min-height:44px;padding:0 14px;border-radius:12px;border:1.5px solid transparent;background:var(--fill);color:var(--text);font:inherit;font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}
.ibtn.ph{color:var(--muted);font-weight:500}
.ibtn.on{border-color:var(--accent);background:var(--accent-tint);color:var(--accent-text)}
.iswrow{justify-content:space-between}
.ipanel{padding:6px 10px 10px;background:var(--bg);border-top:1px solid var(--line)}
.ipanel .apcal{margin:0}
.ipanel .apwbox{margin:0 auto;max-width:280px}
.ipanel .ihint{margin:4px 0 0;text-align:center;font-size:13px;color:var(--muted)}
.frows .ichips{display:flex;flex-wrap:wrap;gap:8px;padding:2px 12px 10px 14px;overflow-x:visible}   /* v263 (scroll-cues package): every form's quick picks wrap, none hides off the edge */
.frows .ichips::-webkit-scrollbar{display:none}
.frows .ichips .chip{flex:none;padding:0 14px}
.ipanel .apwl{display:none}
.ipanel .apwbox{border:0;background:none;padding:0;display:flex;justify-content:center}
.ipanel .apwrow{justify-content:center}
.frows .ipanel + .ichips{padding-top:8px}

/* v55: snooze choices as pills in one wrapping row; Pick a time inline; Done on inline panels; sticky note actions at the bottom */
.snzc{gap:8px !important;margin-top:4px}
.snzc .chip{border:1px solid var(--line) !important;background:var(--card) !important;color:var(--text) !important;padding:0 14px !important;border-radius:22px}
.snzc .chip+.chip::before{content:none !important}
.snzc #act-snz-pick[aria-expanded="true"]{border-color:var(--accent) !important;background:var(--accent-tint) !important;color:var(--accent-text) !important}
.snzpick{padding:4px 12px 12px 14px;display:flex;flex-direction:column;gap:8px}
.snzpick .ibtns{display:flex;gap:8px}
.snzpick #snz-go{align-self:stretch}
.ipfoot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:4px}
.ipfoot .ihint{margin:0}
.ipdone{margin-left:auto;min-height:44px;padding:0 14px;font-weight:700;color:var(--accent-text)}
.ndacts{margin-top:14px}
#nd-cancel{display:block;margin:6px auto 0}

/* v56 (Chris, option B): kinds in a tray under the Reminder tile; the title inside the card */
#add-kinds.ktray{position:relative;margin:4px 0 12px;padding:10px;border-radius:12px;background:var(--accent-tint)}
#add-kinds.ktray::before{content:"";position:absolute;top:-7px;left:calc((100% - 18px) / 8 - 9px);width:18px;height:18px;border-radius:3px;background:var(--accent-tint);transform:rotate(45deg)}
#add-kinds.ktray .kinds{position:relative;margin:0;padding:0;border-radius:22px}
#add-kinds.ktray .kchip{background:var(--card);border-color:transparent}
#add-kinds.ktray .kchip[aria-checked="true"]{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.addcard{margin-top:12px}
.addcard #add-title-f{margin:0}
.addcard #f-text{display:block;width:100%;min-height:56px;margin:0;padding:0 14px;border:0;border-radius:0;background:none;box-shadow:none;font-size:17px;color:var(--text)}
.addcard #f-text:focus{outline:none;box-shadow:inset 0 0 0 2px var(--accent);border-radius:16px 16px 0 0}
.addcard .frows{margin:0}
.addcard #add-title-f{border-bottom:1px solid var(--line)}   /* the line sits under the title, so the rows keep whole-pixel positions */
/* date and time side by side on one line (they stacked with 12-hour times) */
.frow .frl{flex-basis:80px}
.irow .frl{width:80px}
.ibtn{padding:0 12px;white-space:nowrap}

/* v57: Edit chip at the end of the kinds tray; the Reminder kinds page */
#add-kinds.ktray .kedit{background:none;border:1.5px dashed var(--accent);color:var(--accent-text)}
.kolist{margin-top:4px}
.korow{display:flex;align-items:center;gap:6px;min-height:60px;padding:6px 8px 6px 14px;border-top:1px solid var(--line)}
.korow:first-child{border-top:0}
.korow .ticon{flex:none}
.korow .kot{flex:1;min-width:0;display:flex;flex-direction:column}
.korow .kon{font-weight:600;font-size:16px}
.korow .kos{font-size:13px;color:var(--muted)}
.korow.off .kon,.korow.off .ticon{opacity:.55}
.korow .komv{background:var(--accent-tint);color:var(--accent-text)}
.korow .komv:disabled{opacity:.35}
#ko-reset{display:block;margin:6px auto 0;min-height:44px}

/* v58 (Chris chose C1): cool grey date/time buttons, the open one in your colour; the panel is white like the card and the wheel's chosen time sits on the same grey */
:root{--cool:#EFF0F2}
@media (prefers-color-scheme:dark){:root[data-theme="system"]{--cool:#2A2D31}}
:root[data-theme="dark"]{--cool:#2A2D31}
.ibtn{background:var(--cool);border-color:transparent}
.ibtn.on{background:var(--cool);border-color:transparent;color:var(--accent-text)}
.ipanel{background:var(--card)}
.apwi[aria-selected="true"]{background:var(--cool)}
/* v58: the next 14 days, two rows of seven */
.dstrip{padding:4px 0 0}
.dsg{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));row-gap:5px}
.dsd{min-height:52px;min-width:44px;padding:0 2px;border:0;background:none;color:var(--text);font:inherit;cursor:pointer;display:flex}
.dsv{position:relative;flex:1;border-radius:12px;background:var(--cool);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4px 0 6px}
.dsd small{font-size:12px;font-weight:600;line-height:1.1;color:var(--muted)}
.dsd .dsv > span{font-size:17px;font-weight:700;line-height:1.25;font-variant-numeric:tabular-nums}
.dsd.we small{color:var(--accent-text)}
.dsd.today .dsv::after{content:"";position:absolute;bottom:4px;width:4px;height:4px;border-radius:50%;background:var(--accent)}
.dsd.sel .dsv{background:var(--accent);color:var(--on-accent)}
.dsd.sel small{color:var(--on-accent)}
.dsd.sel.today .dsv::after{background:var(--on-accent)}
.dsd:disabled{opacity:.4;cursor:default}
.dsd:focus-visible{outline:none}
.dsd:focus-visible .dsv{outline:3px solid var(--accent);outline-offset:1px}
.ipanel:has(.dstrip){padding-inline:4px}
.snzpick .ipanel{margin-inline:-8px}
.dsmore{display:inline-flex;align-items:center;gap:2px;min-height:44px;margin-top:4px;padding:0 4px;color:var(--accent-text);font-weight:600}
.ipanel .dstrip + .ipfoot{margin-top:-44px;pointer-events:none}
.ipanel .dstrip + .ipfoot > *{pointer-events:auto}
/* v58 (Chris chose A): the card is inverted - your colour, white text, a white Undo */
.toast{background:var(--accent);border-color:transparent;box-shadow:0 10px 28px rgba(0,0,0,.18)}
.ut1{color:var(--on-accent)}
.ut2{color:var(--on-accent);opacity:.88}
.uticon{background:color-mix(in srgb,var(--on-accent) 20%,transparent);color:var(--on-accent)}
.utundo{color:var(--accent-text)}
.utundo > span{background:var(--on-accent)}
.utbar{background:color-mix(in srgb,var(--on-accent) 22%,transparent)}
.utfill{background:var(--on-accent);opacity:.75}
.toast.utcall{flex-wrap:wrap;row-gap:8px}
.toast.utcall .uttext{flex:1 1 calc(100% - 60px)}
.toast.utcall .ut1,.toast.utcall .ut2{white-space:normal}
.toast.utcall .utquiet{margin-left:auto}
.utundo.utquiet{color:var(--on-accent)}   /* v98: "Not yet" on the Back-from-the-call card: an outline next to the white Done */
.utundo.utquiet > span{background:none;box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--on-accent) 60%,transparent)}

/* v59: "snoozed from 3:26 PM" in your colour */
.snzf{color:var(--accent-text);font-weight:600}
/* v60: the meta line may wrap instead of cutting off "snoozed from 12:00 PM"; the note itself never splits */
#s-calendar .clrow .trm{white-space:normal;overflow:visible;text-overflow:clip}
.snzf{white-space:nowrap}

/* v61: All my spaces uses the Today rows; the space is a small letter badge + name in the meta line */
.allsp{white-space:nowrap}
.sp-badge.spmini{display:inline-grid;width:20px;height:20px;border-radius:8px;font-size:12px;font-weight:700;vertical-align:baseline;margin-right:4px;box-shadow:none}

/* v64: admin (test sign-ups) and device sign-in */
.sucount{margin-left:auto;min-width:24px;height:24px;padding:0 7px;border-radius:12px;background:var(--accent);color:var(--on-accent);font-size:13px;font-weight:700;display:inline-grid;place-items:center}
.devcode{font:800 36px/1.1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.12em;text-align:center;padding:18px;border-radius:16px;background:var(--accent-tint);color:var(--accent-text);margin:14px 0}
/* v323 the computer welcome after signing in (docs/mockups/computer-welcome/, B) */
.pcw{max-width:520px;margin:48px auto 0;background:var(--card);border-radius:16px;padding:24px}
.pcwok{width:56px;height:56px;border-radius:50%;background:var(--ok-tint);color:var(--ok);display:grid;place-items:center;margin-bottom:12px}
.pcwok .i{width:30px;height:30px}
.pcw h1{font-size:28px;margin:0 0 6px}
.pcw .lead{margin:0}
.pcwstep{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin:18px 0 6px}
.pcwsq{flex:none;width:36px;height:36px;border-radius:8px;background:var(--accent-tint);color:var(--accent-text);display:grid;place-items:center}
.pcwtx{flex:1;min-width:0}.pcwtx .title{margin:0 0 4px}.pcwtx .title .muted{font-weight:400;font-size:14px}
.pcwtx .btn{margin-top:10px}
#pcw-go{width:100%;margin-top:12px}
/* QR sign-in (069, Chris chose A of docs/mockups/qr-sign-in/): the computer's card and the phone's scan, confirm and camera */
.qrrow{display:flex;gap:20px;align-items:center;margin-top:12px}
.qrbox{flex:none;width:184px;height:184px;border-radius:12px;background:var(--qr-paper);border:1px solid var(--line);overflow:hidden;position:relative}
.qrbox svg{display:block;width:100%;height:100%}
.qrbox .qrbg{fill:var(--qr-paper)}.qrbox .qrfg{fill:var(--qr-ink)}
.qrbox.used svg{opacity:.12}
.qrside{flex:1;min-width:0}
.qrsteps{margin:0;padding-left:20px;display:grid;gap:8px;font-size:16px}
.qrtime{display:flex;align-items:center;gap:6px;margin-top:12px}
.qrwait{display:flex;gap:14px;align-items:center;background:var(--accent-tint);border-radius:12px;padding:14px 16px}
.qrwait b{display:block}.qrwait small{display:block;color:var(--muted);font-size:15px}
.qrspin{flex:none;width:26px;height:26px;border-radius:50%;border:3px solid var(--line);border-top-color:var(--accent);animation:spin 1s linear infinite}
.qrside #qr-cancel{margin-top:6px}
@media (max-width:560px){.qrrow{flex-direction:column;align-items:flex-start}}
.qrbig{width:64px;height:64px;border-radius:16px;background:var(--accent-tint);color:var(--accent-text);display:grid;place-items:center;margin:4px auto 12px}
.qrbig .i{width:34px;height:34px}
.qrok{width:64px;height:64px;border-radius:50%;background:var(--ok-tint);color:var(--ok);display:grid;place-items:center;margin:16px auto 12px}
.qrok .i{width:32px;height:32px}
.qrlead{text-align:center;color:var(--muted);font-size:15px;margin:0 0 14px}
/* QR invite (070, Chris chose A of docs/mockups/qr-invite/): the invite card's Show QR code and the Admin's QR sheet */
.qinvhint{margin:12px 0 10px;color:var(--muted);font-size:15px}
.qinvor{margin:12px 0 8px;text-align:center;color:var(--muted);font-size:14px}
.qinvh{text-align:center;font-size:20px;margin:4px 0 6px}
.lookfam{margin:0 0 12px}   /* v339: Use the family's colour, above the colour circles */
.qrbox.qinvbox{width:min(260px,72vw);height:min(260px,72vw);margin:6px auto 10px}
.qrq{text-align:center;font-size:19px;font-weight:700;margin:0 0 10px}
.qrfacts{background:var(--fill);border-radius:12px;padding:10px 14px;margin:0 0 10px;font-size:15px}
.qrfacts div{display:flex;justify-content:space-between;gap:10px;padding:3px 0}.qrfacts span{color:var(--muted)}
.qrwarn{background:var(--fill);color:var(--soon);border-radius:12px;padding:10px 14px;font-size:14px;margin:0 0 6px}
.qrcam{position:fixed;inset:0;z-index:2000;background:var(--qr-ink);display:flex;flex-direction:column;align-items:center;justify-content:flex-end}
.qrcam-v{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.qrcam-f{position:absolute;left:50%;top:45%;width:66vmin;height:66vmin;transform:translate(-50%,-50%);border:4px solid var(--qr-paper);border-radius:16px}
.qrcam-t{position:relative;color:var(--qr-paper);text-align:center;font-size:17px;font-weight:600;padding:0 24px calc(40px + env(safe-area-inset-bottom));margin:0}
.qrcam-t small{display:block;font-weight:400;font-size:14px;opacity:.8;margin-top:6px}
.qrcam-x{position:absolute;left:16px;top:calc(12px + env(safe-area-inset-top));min-height:44px;padding:0 12px;border:0;background:transparent;color:var(--qr-paper);font-family:inherit;font-size:17px;font-weight:600}
.sulist{margin-bottom:8px}
.surow{display:flex;align-items:center;gap:10px;padding:10px 12px;min-height:60px}
.surow+.surow{border-top:1px solid var(--line)}
.sulaunch{padding:0;margin-bottom:16px}.sulaunch .susure{padding:0 12px 12px}   /* 094 the launch switch */
.surow .sum{flex:1;min-width:0;display:flex;flex-direction:column}
.surow .sum small{color:var(--muted);font-size:13px;overflow-wrap:anywhere}
.surow .suact{display:flex;gap:6px;align-items:center}
.surow .suact .btn{min-height:44px;padding:0 14px}
.surow .sustate{font-size:13px;color:var(--muted);white-space:nowrap}
.sutitle{font-size:20px;margin:4px 0 12px}
.suopts{display:grid;gap:8px;margin-bottom:12px}
.suopt{display:flex;gap:10px;align-items:flex-start;text-align:left;padding:12px;border:1.5px solid var(--line);border-radius:12px;background:var(--card);color:var(--text);font:inherit;min-height:44px}
.suopt small{display:block;color:var(--muted);font-size:13px;margin-top:2px}
.suopt .rd{width:20px;height:20px;border-radius:50%;border:2px solid var(--muted);flex:none;margin-top:1px}
.suopt.on{border-color:var(--accent);background:var(--accent-tint)}
.suopt.on .rd{border-color:var(--accent);background:radial-gradient(circle,var(--on-accent) 30%,var(--accent) 34%)}
.row2{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
/* v66: space invites - a card at the top of Today (Join / No thanks), the Invited list under People, people you stopped inviting you */
.invslot{display:flex;flex-direction:column;gap:10px;margin:8px 0 12px}
.invcard{background:var(--card);border:1px solid color-mix(in srgb,var(--accent) 45%,var(--line));border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:10px}
.invhd{display:flex;gap:10px;align-items:flex-start}
.invtx{flex:1;min-width:0;display:flex;flex-direction:column}
.invtx b{font-size:16px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.invtx small{font-size:14px;color:var(--muted)}
.invwho{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px}
.invstack{display:flex}.invstack .av{box-shadow:0 0 0 2px var(--card)}.invstack .av+.av{margin-left:-6px}
.invbtns{display:flex;gap:8px}
.invbtns .btn{flex:1;min-height:44px}
.invchk{position:relative;display:flex;align-items:center;gap:10px;min-height:44px;font-size:14px;cursor:pointer}
.invchk input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}   /* the whole line is the 44px tap target */
.invbox{width:22px;height:22px;border:2px solid var(--muted);border-radius:8px;flex:none;display:grid;place-items:center;background:var(--card)}
.invchk input:checked + .invbox{background:var(--accent);border-color:var(--accent)}
.invchk input:checked + .invbox::after{content:"";width:10px;height:5px;border-left:2.5px solid var(--on-accent);border-bottom:2.5px solid var(--on-accent);transform:rotate(-45deg) translate(1px,-1px)}
.invchk input:focus-visible + .invbox{outline:3px solid var(--accent);outline-offset:2px}
.invlist{padding:0}
.invrow{display:flex;align-items:center;gap:12px;min-height:56px;padding:6px 8px 6px 14px}
.invlist .invrow+.invrow{border-top:1px solid var(--line)}
.invtag{font-size:12px;font-weight:700;padding:3px 8px;border-radius:12px;background:var(--accent-tint);color:var(--accent-text);white-space:nowrap}
.invrow .btn.text{min-height:44px}
.invblocks{margin-top:12px;display:flex;flex-direction:column}
/* v67: on narrow phones (360px) "Tomorrow" + a 12-hour time ("10:30 PM") needed 210.4px of a 210px row and wrapped */
@media (max-width: 370px){ .irow .ibtns{gap:6px} .irow .ibtn{padding:0 10px} }
/* v68: Your data - the privacy link looks like the other rows; the delete sheet's list */
a.actrow{text-decoration:none}
.actrow.two{min-height:64px;padding-top:8px;padding-bottom:8px}.actrow .al{display:flex;flex-direction:column;gap:2px;min-width:0}.actrow .al small{font-size:14px;font-weight:400;color:var(--muted)}   /* v234: an action row with a grey line (Tour of the app) */
.acctlist{margin:8px 0 14px 20px;display:flex;flex-direction:column;gap:6px;color:var(--text)}
.plink{display:inline-flex;align-items:center;min-height:44px;color:var(--accent-text);font-weight:600}
/* v69: Send feedback */
.fbctx{margin:12px 0 4px;font-size:13px;color:var(--muted);background:var(--fill);border-radius:12px;padding:10px 12px}
.fbctx b{color:var(--text);font-weight:600}
#fb-shot{margin-top:12px}
.fbshot{display:flex;align-items:center;gap:12px;min-height:56px;border:1.5px dashed var(--line);border-radius:12px;padding:6px 6px 6px 10px}
.fbshot span{flex:1;font-weight:600;color:var(--accent-text)}
.fbthumb{width:40px;height:56px;object-fit:cover;border-radius:8px;border:1px solid var(--line)}
.fbthanks{font-size:17px;margin:4px 0 16px}
.fblist{padding:0}
.fbrow{display:flex;align-items:center;gap:12px;min-height:56px;padding:6px 12px 6px 14px}
.fblist .fbrow+.fbrow{border-top:1px solid var(--line)}
.fbtx{flex:1;min-width:0;display:flex;flex-direction:column}
.fbtx b{font-weight:600;overflow-wrap:anywhere}
.fbtx small{color:var(--muted);font-size:14px}
.invtag.fbst-done{background:var(--ok-tint);color:var(--ok)}
/* v70: our own date/time picker everywhere (the phone's input stays hidden and keeps the value) */
input.dtnative{display:none!important}
.dtw{display:inline-flex;gap:8px;flex-wrap:wrap;vertical-align:middle}
.dtpanel{grid-column:1/-1;margin:8px 0}
/* v71: bills and subscriptions as rows; the amount row (currency button + amount); the space's currency in Settings */
.irow.chamt .chamtbox{display:flex;align-items:center;flex:1;min-width:0;background:var(--cool);border-radius:12px;overflow:hidden;min-height:44px}
.chamt .chcur{min-width:48px;min-height:44px;border:0;border-right:1px solid var(--line);background:transparent;color:var(--accent-text);font:inherit;font-weight:700;font-size:16px;padding:0 10px;cursor:pointer}
.chamt .chcur:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
.chamt #ch-price{flex:1;min-width:0;border:0;background:transparent;min-height:44px;font-size:17px;font-weight:600;font-variant-numeric:tabular-nums;padding:0 12px;box-shadow:none}
.chamt #ch-price:focus{outline:none}
.chamt .chamtbox:focus-within{box-shadow:inset 0 0 0 2px var(--accent)}
.frow.sccur{border-top:1px solid var(--line);margin-top:12px;padding-left:0;padding-right:0}
.sccur-ro{margin-top:10px}
/* v72: settings as rows (Default warnings, Snooze) inside their card; Appearance / Time format as an iOS-style segmented switch */
.setrows{margin:4px -16px 0}
.setrows .setrow{border-top:1px solid var(--line)}
.setrows .setrow:first-child{border-top:0}
.setrow .frl{width:132px;flex:none}
#seg-theme .chip[aria-checked="true"], #seg-clock .chip[aria-checked="true"]{background:var(--card);border-color:transparent;box-shadow:0 1px 3px rgba(0,0,0,.16);color:var(--text)}
#seg-theme .chip, #seg-clock .chip{color:var(--muted);font-weight:600}
/* v72: who has done a shared reminder - one line in the sheet (A), a small list on the card (B) */
.wholine{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;font-size:15px;margin-top:8px}
.whostk{display:flex}.whostk .whoav+.whoav{margin-left:-6px}
.whoav{position:relative;display:inline-grid}.whoav .av{box-shadow:0 0 0 2px var(--card)}
.whobdg{position:absolute;right:-4px;bottom:-4px;width:14px;height:14px;border-radius:50%;display:grid;place-items:center;font-size:10px;font-weight:900;line-height:1;box-shadow:0 0 0 2px var(--card)}
.whobdg .i{width:10px;height:10px}
.whobdg.ok{background:var(--ok);color:var(--card)}.whobdg.wt{background:var(--fill);color:var(--muted)}
.whodone{color:var(--ok);font-weight:700}.whowait{color:var(--muted)}.whosep{color:var(--muted)}
.wholist{display:flex;flex-direction:column;margin-top:8px;border-top:1px solid var(--line)}
.whorow{display:flex;align-items:center;gap:10px;min-height:44px;border-bottom:1px solid var(--line)}
.whonm{flex:1;font-weight:600}
.whost{display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-size:14px;font-weight:600}
.whost.ok{color:var(--ok)}.whost .i{width:16px;height:16px}
/* v72 "one rule for pills" (docs/mockups/pills-rule.html): every segmented switch looks the same - the chosen one raised, no coloured border */
.seg .chip[aria-checked="true"], .seg .chip[aria-pressed="true"]{background:var(--card);border-color:transparent;box-shadow:0 1px 3px rgba(0,0,0,.16);color:var(--text)}
.seg .chip{color:var(--muted);font-weight:600}
.seg .chip .tick{display:none}
.seg.segw .chip{white-space:normal;line-height:1.15;font-size:14px;padding:0 4px;min-height:44px;text-align:center}
/* v72 "one rule for pills": a group of choices shown as a short tick list (same buttons, row look). Multi = square box, single = round. */
.chips.chiplist{display:flex;flex-direction:column;flex-wrap:nowrap;gap:0;background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden;padding:0}
.chips.chiplist .chip{width:100%;min-height:52px;margin:0;border:0;border-radius:0;background:none;justify-content:flex-start;gap:10px;padding:4px 14px;font-size:17px;font-weight:600;color:var(--text)}
.chips.chiplist .chip + .chip{border-top:1px solid var(--line)}
.chips.chiplist .chip .tick{display:none !important}
.chips.chiplist .chip::after{content:"";margin-left:auto;flex:none;width:22px;height:22px;border:2px solid var(--muted);border-radius:8px;box-sizing:border-box}
.chips.chiplist.single .chip::after{border-radius:50%}
.chips.chiplist .chip[aria-pressed="true"]::after, .chips.chiplist .chip[aria-checked="true"]::after{border-color:var(--accent);background:var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat}
.chips.chiplist.single .chip[aria-pressed="true"]::after, .chips.chiplist.single .chip[aria-checked="true"]::after{background:var(--card);box-shadow:inset 0 0 0 4px var(--card);background-color:var(--accent)}
.chips.chiplist .chip[aria-pressed="true"], .chips.chiplist .chip[aria-checked="true"]{background:none;color:var(--text)}
.chips.chiplist .chip:disabled{opacity:.55}
/* v74: Who to call - the phone's contacts / Someone new rows on top, the Someone new page */
.xc-ways .prow .xc-ic{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;flex:none;background:var(--accent-tint);color:var(--accent-text)}
.xc-ways .prow .prt{color:var(--accent-text);font-weight:600}
.xc-ways .prow>.i{color:var(--muted)}
.xc-save{margin:14px 0 4px}
#xc-save .prc{border-radius:8px}   /* v104: a tick box, not a round choice */
.ap-ev{margin:8px 0 4px}   /* v104: Appointment's Who → "Doing something together?" → Event */
#xc-use{width:100%;margin-top:12px}
#xc-err:empty{display:none}
/* v76: the Sunday check - Next week, All set, the "from Next week" tag, Settings › Sunday check */
.wksub{margin:4px 0 12px;color:var(--muted);font-size:16px;font-variant-numeric:tabular-nums}
.wkchips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.wkchip{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:3px 12px 3px 4px;border-radius:16px;border:1px solid var(--line);background:var(--card);font-size:14px;color:var(--muted)}
.wkchip b{color:var(--text);font-weight:600}
.wkchip.done,.wkchip.added{color:var(--ok)}
.wkmiss{display:flex;flex-direction:column;gap:2px;background:var(--accent-tint);border-radius:12px;padding:12px 14px;margin:0 0 12px}
.wkmiss b{color:var(--text)}.wkmiss span{color:var(--text);font-size:15px}
.wkopen{display:flex;flex-direction:column;gap:2px;border:1.5px solid color-mix(in srgb,var(--danger) 45%,var(--line));background:var(--card);border-radius:12px;padding:10px 12px;margin:0 0 6px}
.wkopen>b{font-size:14px;color:var(--danger)}
.wkorow{display:flex;align-items:center;gap:8px;min-height:44px;border:0;background:none;padding:0;color:var(--text);font:inherit;font-weight:600;text-align:left;cursor:pointer}
.wkdot{width:8px;height:8px;border-radius:50%;background:var(--danger);flex:none}
.wkday{margin-top:6px}
.wkdh{margin-top:14px}
.wkempty{margin:0 4px 6px;font-size:15px}
.wkadd{display:flex;align-items:center;gap:6px;width:100%;min-height:44px;margin:6px 0 0;padding:0 14px;border:1.5px dashed color-mix(in srgb,var(--accent) 45%,var(--line));border-radius:12px;background:transparent;color:var(--accent-text);font:inherit;font-weight:600;font-size:15px;cursor:pointer}
.wkadd:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.wkdone{width:100%;margin-top:22px}
.wkback2{width:100%;margin-top:6px}
.trow.wkhl{box-shadow:inset 0 0 0 2px var(--accent);border-radius:12px;background:var(--accent-tint)}
.wkok{width:76px;height:76px;border-radius:50%;margin:28px auto 14px;display:grid;place-items:center;background:var(--ok-tint);color:var(--ok)}
.wkok .i{width:38px;height:38px}
.wkokh{text-align:center;text-wrap:balance}
.wkoks{text-align:center}
.wkcheckin{margin-top:6px}
.wkcrow{display:flex;align-items:center;gap:12px;min-height:52px;padding:6px 14px;border-top:1px solid var(--line)}
.wkcrow:first-child{border-top:0}
.wkcn{flex:1;min-width:0;font-weight:600}
.wkcs{font-size:15px;color:var(--muted)}.wkcs.done,.wkcs.added{color:var(--ok);font-weight:600}
.wknote{text-align:center;margin-top:12px}
.wkfrom{flex-basis:100%;font-size:13px;font-weight:600;color:var(--accent-text);padding-left:2px}
.irow:has(.wkfrom){flex-wrap:wrap}
.wcsub{font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin:14px 0 4px}
#wc-space .wcsub:first-child{margin-top:2px}
.wcrows{margin:6px 0}
.wctime .frv{display:flex;justify-content:flex-end}
.wcaudw{display:flex;flex-direction:column;gap:6px;margin:10px 0 4px}
.wcaudw .frl{font-weight:600}
.wcaud{align-self:stretch}
.wcnote{margin:4px 0 8px}

/* v77: on screens other than Today, while All my spaces is on: which one space this screen shows */
.sp-only{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:-4px 0 10px;padding:4px 4px 4px 12px;border-radius:12px;background:var(--accent-tint);color:var(--text);font-size:14px;line-height:1.3}
.sp-only .btn.text{min-height:44px;padding:0 10px;flex:none}
/* v79: Settings as tap-to-open sections. The heading is a card; the open section's own cards sit below it as before. */
/* v115: Settings as a plain grouped list (docs/mockups/settings-simple.html). Screen 1 = the list; a tap opens one section as its own page. */
.setacc{display:flex;flex-direction:column}
h2.seth{margin:0;font:inherit;letter-spacing:0;text-transform:none;color:inherit}
.setsec.gs{margin-top:24px}
#setacc .setsec.gs:first-child{margin-top:12px}
.sethb{position:relative;display:flex;align-items:center;gap:14px;width:100%;min-height:52px;padding:10px 14px 10px 16px;text-align:left;background:var(--card);border:0;border-radius:0;color:var(--text);font:inherit;cursor:pointer}
.setsec.gs .sethb{border-top-left-radius:14px;border-top-right-radius:14px}
.setsec.ge .sethb{border-bottom-left-radius:14px;border-bottom-right-radius:14px}
.setsec:not(.gs) .sethb::before{content:"";position:absolute;top:0;right:0;left:52px;border-top:1px solid var(--line)}
.sethb:active{background:var(--fill)}
.sethb .ticon{width:24px;height:24px;border-radius:0;background:none;color:var(--muted)}
.sethb .ticon .i{width:22px;height:22px}
.sethb .t{flex:1;min-width:0;display:flex;align-items:center;gap:10px}
.sethb .nm{flex:none;font-size:17px;font-weight:400}
.sethb .sum{flex:1;min-width:0;text-align:right;font-size:15px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sethb .sum{margin:0}
.sethb .sum:empty{display:none}
.sethb .chev{color:var(--muted);flex:none;width:16px;height:16px}
.sethme{min-height:76px}
.sethme .av{width:52px;height:52px;font-size:20px}
.sethme .t{flex-direction:column;align-items:flex-start;gap:2px}
.sethme .nm{font-size:19px;font-weight:600}
.sethme .sum{text-align:left;flex:none;max-width:100%}
/* screen 2: only the open section, its name as the page title; Back (top left) says Settings */
#s-settings.setopen .setsec:not(.open){display:none}
#s-settings.setopen .seth{display:none}
#s-settings.setopen .setsec{margin-top:0}
.setb{padding:4px 0 12px}
/* inside a section: plain white lists, small grey headings and notes */
.setb h3.sec{font-size:13px;line-height:1.3;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin:24px 16px 7px}
.setb > h3.sec:first-child,.setb > div:first-child > h3.sec:first-child{margin-top:12px}
.setb .sechead{margin:24px 0 7px 16px}
.setb .sechead h3.sec{margin:0}
.setb .card,.setb .group{border:0;border-radius:12px;box-shadow:none;background:var(--card)}
.setb .card{padding:6px 16px;margin-bottom:0}
.setb .card > .noteline:first-child,.setb .card > p.mt0:first-child{margin-top:8px}
.setb .noteline{font-size:13px;line-height:1.4;color:var(--muted)}
.setb > .noteline,.setb > div > .noteline{margin:8px 16px 0}
.setb .card .noteline{margin:8px 0 10px}
.setb .row{min-height:52px;padding:4px 0}
.setb .evrep{margin-top:0}
.setb .row .title{font-weight:400}
.setb .field{margin-top:12px;padding-bottom:10px}
.setb .flabel{font-size:15px;color:var(--text);font-weight:400}
.setb .sum{font-size:13px;margin-top:8px}
.setb .tline{margin:4px 0 10px}
.setb .card > .seg,.setb .card > .tones{margin:10px 0}
.setb .tone{border:0;background:none;min-height:80px;padding:8px 4px;font-weight:400}
.setb .tone[aria-checked="true"]{font-weight:600}
.setb .group.actlist + .group.actlist{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}
.setb .homemenu .navcard{margin-bottom:0;border-radius:0;min-height:52px}
.setb .homemenu .navcard + .navcard{border-top:1px solid var(--line)}
.setb .homemenu .navcard:first-child{border-radius:12px 12px 0 0}
.setb .homemenu .navcard:last-child{border-radius:0 0 12px 12px}
.setb .homemenu .navcard .ticon{background:none;width:24px;height:24px;color:var(--muted)}
.setb .card.setlist{padding:0 0 0 16px}
.setb .setlist > * + *{border-top:1px solid var(--line)}
.setrowb{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:8px 16px 8px 0;background:none;border:0;border-radius:0;color:var(--text);font:inherit;text-align:left;cursor:pointer}
.setrowb .sp-ic{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:var(--fill);color:var(--text);font-weight:600;flex:none}
.setrowb .srt{flex:1;min-width:0;display:flex;flex-direction:column}
.setrowb .srn{font-size:17px}
.srs{font-size:13px;color:var(--muted)}
.setrowb .srv{color:var(--muted);font-size:17px;flex:none}   /* v226: Look and feel › Fridge colours */
.setrowb .srck{color:var(--accent-text);width:22px;height:22px;flex:none}
.setact{display:flex;align-items:center;width:100%;min-height:50px;padding:8px 16px 8px 0;background:none;border:0;border-radius:0;color:var(--accent-text);font:inherit;font-size:17px;text-align:left;cursor:pointer}
.setact.danger{color:var(--danger)}
.setb .card.mt12{margin-top:12px}
.frow.setfr{padding:8px 16px 8px 0;min-height:52px;border-top:0}
.setlist > .frow.setfr + .frow.setfr{border-top:1px solid var(--line)}
.frow.setfr .frl{flex:1;font-size:17px;color:var(--text)}
.frow.setfr .frv{flex:0 1 auto;align-items:flex-end;text-align:right}
.frow.setfr .frm{font-weight:400;color:var(--muted)}
.frow.setfr .trc,.frow.setfr > .i{color:var(--muted);flex:none;width:16px;height:16px}
.setsel{font:inherit;font-size:16px;color:var(--muted);background:none;border:0;text-align:right;text-align-last:right;max-width:200px;min-height:44px;cursor:pointer}
.setb .invblocks .invrow{padding:6px 16px 6px 0}
/* people: one plain list, a row per person; quiet hours and Manage inside the row */
#people{display:flex;flex-direction:column}
#people > article.card{border-radius:0;margin:0;padding:12px 16px}
#people > article.card + article.card{border-top:1px solid var(--line)}
#people > article.card:first-child{border-radius:12px 12px 0 0}
#people > article.card:last-of-type{border-radius:0 0 12px 12px}
#people > article.card:only-of-type{border-radius:12px}
#people .personhead .av.lg{width:40px;height:40px;font-size:16px}
#people .tline{margin:8px 0 0}
#people details.more{margin-top:6px;border-top:0}
#people #invited-h{margin-top:24px}
/* buttons inside Settings read as plain blue (or red) words, like the iPhone's Settings */
.setb .btn.outline{border-color:transparent;background:none;color:var(--accent-text);padding-left:0;padding-right:12px;font-weight:600}
.setb .btn.outline.danger{color:var(--danger)}
.setb .btn.outline .i{display:none}
.wdrow{padding:10px 0}
.setb .setrows > .wdrow + .wdrow{border-top:1px solid var(--line)}
.wdl{font-size:16px;margin-bottom:8px}
.wdl .wds{color:var(--muted);font-size:14px}
.wdchips{display:flex;flex-wrap:wrap;gap:6px}
.wdchips .chip{min-height:44px;padding:0 14px;font-size:15px}
.wdchips .chip[aria-pressed="true"],.wdchips .chip[aria-checked="true"]{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
#people details.more summary{font-weight:400;font-size:inherit;color:inherit;justify-content:flex-start;min-height:44px}
#people details.more summary .chev{color:var(--muted)}
#people details.more{margin-top:0}
#people details.more[open] > summary{margin-bottom:8px}
.setb .setrows{margin:0}
.setb .row .pill{white-space:nowrap}
.setb .actrow{font-weight:400}
#me-info{padding:0 16px}
#me-info .frow{padding:8px 0;cursor:default}
#me-info .frow:first-child{border-top:0}
#me-info .frow .frl{flex:1;font-size:16px;color:var(--text)}
#me-info .frow .frv{flex:none;align-items:flex-end}
#me-info .frow .frm{font-weight:400;color:var(--muted)}
/* v80: welcome tour (Chris chose the tour mockup) */
#s-tour .tourpad{display:flex;flex-direction:column;min-height:100%;padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))}
.tourbar{display:flex;justify-content:space-between;align-items:center;min-height:44px}
.tourbar .btn.text{min-height:44px;font-weight:600}
.tourtrack{flex:1;display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin:0 -16px}
.tourtrack::-webkit-scrollbar{display:none}
.tslide{flex:0 0 100%;scroll-snap-align:center;padding:0 16px;display:flex;flex-direction:column;gap:18px}
.tslide h2{font-size:28px;line-height:1.15;font-weight:700;letter-spacing:-.01em;text-wrap:balance}
.tslide p{font-size:17px;color:var(--muted);margin-top:6px;max-width:34ch}
.tpic{flex:1;min-height:250px;max-height:380px;background:var(--accent-tint);border-radius:16px;display:grid;place-items:center;padding:18px;overflow:hidden;position:relative}
.tmini{width:100%;max-width:300px;background:var(--bg);border-radius:16px;padding:12px;box-shadow:0 8px 24px rgba(0,0,0,.10);display:flex;flex-direction:column;gap:8px}
.tmh{font-weight:700;font-size:19px}
.tml{font-size:12px;font-weight:600;color:var(--muted)}
.tpic .trow{display:flex;align-items:center;gap:10px;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:9px 10px}
.tt{flex:1;min-width:0;font-size:14px;font-weight:600;line-height:1.25}
.tt small{display:block;font-weight:400;color:var(--muted);font-size:12px}
.tpic .trow.od small{color:var(--danger);font-weight:600}
.ttic{width:28px;height:28px;border-radius:8px;background:var(--accent-tint);color:var(--accent-text);display:grid;place-items:center;flex:none}
.tring{width:24px;height:24px;border-radius:50%;border:2px solid var(--muted);display:grid;place-items:center;color:var(--on-accent);flex:none;transition:background .25s,border-color .25s}
.tring .i{width:14px;height:14px;stroke-width:3;opacity:0;transition:opacity .25s}
.tring.on{background:var(--accent);border-color:var(--accent)}.tring.on .i{opacity:1}
.tpic .trow.done .tt{opacity:.5;text-decoration:line-through}
.tfab{position:absolute;right:26px;bottom:26px;width:54px;height:54px;border-radius:16px;background:var(--accent);color:var(--on-accent);display:grid;place-items:center;box-shadow:0 6px 16px rgba(0,0,0,.18)}
.tkinds{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.tkind{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:10px 4px;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px;font-weight:600}
.tkind.sel{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.tfor{display:flex;gap:6px;flex-wrap:wrap;font-size:13px}
.tchip{display:inline-flex;align-items:center;gap:5px;padding:3px 8px 3px 3px;border-radius:999px;background:var(--card);border:1px solid var(--line);font-weight:600}
.tchip.sel{border-color:var(--accent);background:var(--accent-tint);color:var(--accent-text)}
.tphones{display:flex;gap:10px;align-items:center;justify-content:center;width:100%;max-width:320px}
.tph{flex:1;max-width:140px;min-height:190px;background:var(--bg);border-radius:16px;padding:10px 8px;box-shadow:0 8px 24px rgba(0,0,0,.10);display:flex;flex-direction:column;gap:6px}
.twho{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700}
.tnote{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:8px;font-size:12px;line-height:1.3}
.tnote b{display:block;font-size:11px;color:var(--muted);font-weight:600;margin-bottom:2px}
.tbtn{background:var(--accent);color:var(--on-accent);border-radius:999px;font-size:12px;font-weight:700;text-align:center;padding:6px}
.tdone{font-size:11px;font-weight:700;color:var(--accent-text);background:var(--accent-tint);border-radius:999px;padding:3px 8px;align-self:flex-start}
.tarrow{color:var(--accent-text)}
.tseg{display:flex;gap:3px;background:var(--fill);padding:3px;border-radius:12px;font-size:12px;font-weight:600}
.tseg span{flex:1;text-align:center;padding:5px 0;border-radius:8px}.tseg span.on{background:var(--card);color:var(--accent-text)}
.tweek{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;text-align:center;font-size:11px}
.tweek .d{background:var(--card);border:1px solid var(--line);border-radius:8px;padding:5px 0 6px;display:flex;flex-direction:column;align-items:center;gap:3px}
.tweek .d.now{border-color:var(--accent);color:var(--accent-text);font-weight:700}
.tweek i{display:flex;gap:2px;height:6px}.tweek u{width:6px;height:6px;border-radius:50%;display:block}
.tboard{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;max-width:300px}
.ttile{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:10px;font-size:12px;display:flex;flex-direction:column;gap:5px;min-height:96px;color:var(--muted)}
.ttile .th{display:flex;align-items:center;gap:6px;font-weight:700;font-size:13px;color:var(--text)}
.tsticky{background:#FCE79A;color:#4A3B0B;border-color:transparent;transform:rotate(-2deg);font-size:13px;font-weight:600}
.thome{display:flex;align-items:center;gap:6px;color:var(--text)}.thome em{font-style:normal;color:var(--muted);margin-left:auto}
.tbub{background:var(--accent-tint);color:var(--text);border-radius:12px 12px 12px 2px;padding:5px 8px;align-self:flex-start}
.tbub.me{background:var(--accent);color:var(--on-accent);border-radius:12px 12px 2px 12px;align-self:flex-end}
.tourfoot{display:flex;flex-direction:column;gap:14px;padding-top:16px}
.tourfoot .btn.filled{width:100%;min-height:52px;font-size:17px}
.tourdots{display:flex;justify-content:center;gap:4px}
.tourdots button{width:24px;height:24px;display:grid;place-items:center;padding:0}
.tourdots button::after{content:"";width:8px;height:8px;border-radius:999px;background:var(--line);transition:width .2s,background .2s}
.tourdots button[aria-current="true"]::after{width:22px;background:var(--accent)}
@media (prefers-reduced-motion: reduce){.tring,.tring .i,.tourdots button::after{transition:none}}
/* v80: "Who's in your family?" (guide step 3, the Today card and its sheet) */
.famlist{display:flex;flex-direction:column;gap:8px;margin-top:12px}
.famp{background:var(--bg)}
.famform{margin-top:8px}
.famcard{background:var(--accent-tint);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:12px;margin:8px 0 4px}
.famcard .fctop{display:flex;gap:12px;align-items:flex-start}
.famcard .ticon{background:var(--card)}
.famcard .fcx{margin:-10px -10px 0 auto;width:44px;height:44px;display:grid;place-items:center;color:var(--muted);flex:none}
.famcard .fcacts{display:flex;align-items:center;gap:8px}
.famcard .fcacts .btn{margin-left:auto}
/* v114: Face ID lock: the question (Today card and the last setup step) has two buttons of the same size; Settings › Privacy › Lock */
.lockbtns{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.lockbtns .btn{width:100%;min-height:48px;margin:0}
.lockcard .fctop>div{flex:1;min-width:0}
.lockcard .title.big{font-size:17px}
.lockask{margin-top:48px;text-align:center}
.lockask .lockicon{display:inline-grid;place-items:center;width:72px;height:72px;border-radius:22px;background:var(--accent-tint);color:var(--accent-text);margin-bottom:16px}
.lockask .lockicon .i{width:34px;height:34px}
.lockask .title.big{font-size:24px;line-height:1.25}
.lockask .lockbtns{margin-top:24px}
.lockafter{border-top:1px solid var(--line);padding-top:12px;margin-top:4px}
.lockafter .chips{margin-top:8px}
.errline{color:var(--danger)}
.famfaces{display:flex}.famfaces .av{box-shadow:0 0 0 2px var(--accent-tint)}.famfaces .av+.av{margin-left:-6px}.famfaces .av.wait{opacity:.45}
.whoadd{margin-top:12px}
.tslide{justify-content:center}.tpic{flex:0 0 auto;min-height:300px}

/* v82: How to use The Fridge (Settings › Help and feedback) */
.hsearch{display:flex;align-items:center;gap:8px;margin:12px 0 4px;padding-left:12px;background:var(--card);border:1px solid var(--line);border-radius:12px;color:var(--muted)}
.hsearch .input{border:0;background:none;flex:1;min-width:0;padding-left:0}
.hlist .hrow{min-height:60px;font-size:16px}
.hrow .tri{flex:none;width:34px;height:34px}
.hrt{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.3}
.hrt b{font-weight:600}.hrt small{font-size:14px;font-weight:400;color:var(--muted)}
.hchev{color:var(--muted)}.hseen{color:var(--accent-text)}
.hgrp{font-size:13px;font-weight:600;color:var(--muted);margin:4px 0 2px}
.hpic{flex:none;min-height:0;max-height:none;margin:14px 0 18px}
.hpic .tmini{gap:8px}
.hpic .tchip.hc{padding:4px 9px;font-size:12px}
.hpic .tsticky{transform:none}
.hhl{box-shadow:0 0 0 3px var(--accent)}
.hcode{justify-content:center;font-size:26px;font-weight:700;letter-spacing:.2em;font-variant-numeric:tabular-nums}
.hsteps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px;counter-reset:hs}
.hsteps li{display:grid;grid-template-columns:30px 1fr;gap:12px;align-items:start;counter-increment:hs;font-size:17px}
.hsteps li::before{content:counter(hs);width:30px;height:30px;border-radius:50%;background:var(--accent);color:var(--on-accent);font-weight:700;font-size:14px;display:grid;place-items:center}
.hsteps li span{padding-top:3px;min-width:0}
.htip{margin-top:16px;background:var(--accent-tint);border-radius:12px;padding:12px 14px;font-size:15px}
.htip b{display:block;margin-bottom:2px}
.hpager{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:20px 0 calc(16px + env(safe-area-inset-bottom,0px))}
.hpg{display:flex;flex-direction:column;align-items:flex-start;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:10px 12px;min-height:56px;font:inherit;font-size:13px;color:var(--muted);text-align:left;cursor:pointer}
.hpg b{color:var(--text);font-size:15px;font-weight:600}
.hpg.nx{align-items:flex-end;text-align:right}
#s-settings:not(.setopen) #setacc .setsec.nolist{display:none}   /* v120: Questions and answers has no row in the list; it opens from Help and feedback */
/* v120: Help = questions and answers (Settings › Help and feedback › Questions and answers). Groups are the usual white lists; a question opens its answer in place */
.setb #hq .hqsearch{margin:12px 0 0}
#hq [hidden]{display:none}
.setb .group.hqlist{padding:0}
.hqi{scroll-margin-top:72px}
.hqi + .hqi{border-top:1px solid var(--line)}
.hqh{margin:0;font:inherit}
.hqb{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:10px 14px 10px 16px;border:0;background:none;color:var(--text);font:inherit;font-size:16px;line-height:1.35;text-align:left;cursor:pointer}
.hqb .hqt{flex:1;min-width:0}
.hqb .hqchev{width:18px;height:18px;color:var(--muted);transition:transform .2s}
.hqi.open .hqb{font-weight:600}
.hqi.open .hqchev{transform:rotate(180deg)}
.hqa{padding:0 16px 12px;font-size:15px;line-height:1.5}
.hqa p{margin:0 0 8px}
.hqa ol,.hqa ul{margin:0 0 8px;padding-left:24px}
.hqa li{margin:0 0 4px;padding-left:2px}
.hqa ol li::marker{color:var(--accent-text);font-weight:700}
.hqa b{font-weight:600}
.hqshot{display:block;width:100%;max-width:280px;height:auto;margin:10px auto 12px;border:1px solid var(--line);border-radius:12px;background:var(--fill)}
.hqrel{margin-top:4px;padding-top:6px;border-top:1px solid var(--line)}
.hqrl{margin:4px 0 0;font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.hqrb{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;padding:6px 0;border:0;background:none;color:var(--accent-text);font:inherit;font-size:15px;font-weight:600;line-height:1.35;text-align:left;cursor:pointer}
.hqrb .i{width:16px;height:16px}
.hqnone{margin:16px 16px 0;font-size:15px;color:var(--muted)}
.setb .sechead.hqhead{margin:4px 0 0 16px}
.helpi .i{width:22px;height:22px}
.setb .btn.text.helpline{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0;margin-bottom:4px;font-weight:600}
@media (prefers-reduced-motion:reduce){.hqb .hqchev{transition:none}}
/* v85: Devices (Settings → Devices) and the "New sign-in" card on Today */
.dvcount{font-size:16px;font-weight:500;font-variant-numeric:tabular-nums}
#devices-go .grow{flex:1;min-width:0}
.dvlist .dvrow+.dvrow,.dvlist .dvwrap+.dvrow,.dvlist .dvrow+.dvwrap,.dvlist .dvwrap+.dvwrap{border-top:1px solid var(--line)}
.dvrow{display:flex;align-items:center;gap:12px;min-height:60px;padding:8px 8px 8px 14px}
.dvwrap{padding-bottom:12px}
.dvwrap .confirm{margin:0 12px}
.dvic{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;flex:none;background:var(--accent-tint);color:var(--accent-text)}
.dvic.warn{background:var(--danger-tint);color:var(--danger)}
.dvtx{flex:1;min-width:0;display:flex;flex-direction:column}
.dvtx b{font-size:16px;font-weight:600;overflow-wrap:anywhere}
.dvtx small{font-size:14px;color:var(--muted)}
.dvhere{margin-left:8px;font-size:12px;font-weight:700;color:var(--ok);background:var(--ok-tint);border-radius:12px;padding:2px 8px;vertical-align:1px;white-space:nowrap}
.dvout{flex:none;min-height:44px;font-weight:600}
.dvall{width:100%;margin-top:12px}

/* v87: live tiles on Home (Chris's mockup docs/mockups/fridge-home-tiles.html; layout and behaviour only, the app's own colours) */
.htile{background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden}
.htile[hidden]{display:none}
.htile > .navcard .ticon{width:36px;height:36px;border-radius:12px}
.htile > .navcard .ticon .i{width:20px;height:20px}
.htile.tsmall > .navcard .t div:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tbody{display:flex;flex-direction:column;gap:6px;padding:0 14px 14px 62px}
.tbody[hidden]{display:none}
.tlrow{display:flex;align-items:center;gap:10px;min-height:44px;width:100%;text-align:left;font:inherit;color:inherit;background:none;border:0;padding:0}
.tlrow + .tlrow{border-top:1px solid var(--line)}
.tlt{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.3}
.tlt b{font-weight:600;font-size:16px;overflow-wrap:anywhere}
.tlt small{font-size:14px;color:var(--muted)}
.tlt small.late,.tlrow.late .tlt small{color:var(--danger);font-weight:600}
.tltick{cursor:pointer}
.tlring{flex:none;width:24px;height:24px;border-radius:50%;border:2px solid var(--muted)}
.tltick:active .tlring{background:var(--accent);border-color:var(--accent)}
.tlmore{font-size:14px;color:var(--muted);margin:0;text-align:left}
.tladd{display:flex;gap:8px;margin-top:4px}
.tladd .input{flex:1;min-width:0;min-height:44px}
.tladd .btn{min-height:44px;flex:none}
.tlact{align-self:flex-start;min-height:44px;margin-top:4px}
.tlnote{margin:0;color:var(--muted);font-size:15px}
.snote.tlnote2{min-height:0;cursor:pointer;font:inherit;border:0}
.tlnb{font-size:16px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.tlnm{font-size:13px;opacity:.8}
.tlpay{display:flex;flex-wrap:wrap;gap:4px;flex:none;max-width:45%;justify-content:flex-end}
.tltotal{display:flex;justify-content:space-between;align-items:center;margin:0;padding-top:8px;border-top:1px solid var(--line);font-size:15px}
.tlcall{background:var(--accent-tint);color:var(--accent-text)}
.tlme{flex-wrap:wrap;padding:4px 0}
.tlseg{flex:1 1 100%}
.tlseg .chip{min-height:44px;font-size:14px}
.editrow.tlhid .ticon,.editrow.tlhid .title{opacity:.5}
.editrow .tlshow{min-height:44px;flex:none}
a.btn.tlact{text-decoration:none}
.tlseg .chip{white-space:nowrap;font-size:13px;padding:0 6px}
/* v87 step 2: My fridge on Today (mockup docs/mockups/fridge-today-builder.html) */
.myfridge{margin-top:24px}
.tfhead{display:flex;align-items:center;gap:8px;margin:0 0 8px}
.tfhead h2.sec{margin:0}
.tfn{font-size:14px;color:var(--muted);font-variant-numeric:tabular-nums}
.tfhead .btn.text{margin-left:auto;min-height:44px;font-weight:600}
.htile .tsub:empty{display:none}
.htile .tsub .allsp{margin-right:6px}
.tfadd{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:52px;margin-top:10px;border:2px dashed var(--line);border-radius:16px;background:transparent;color:var(--accent-text);font:inherit;font-weight:600;cursor:pointer}
.tfpick .editrow{margin-bottom:8px}
.tfpb{background:var(--fill);color:var(--text)}
.tfpb.on{background:var(--accent);color:var(--on-accent)}
.tfpb:disabled{opacity:.4}
.tfull{margin:8px 0;padding:10px 12px;border-radius:12px;background:var(--danger-tint);color:var(--danger);font-weight:600}
/* v87 step 3: Two cities (Today only) */
.tfnolink{cursor:default}
.tcities{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.tcity{display:flex;flex-direction:column;align-items:flex-start;padding:10px 12px;border-radius:12px;background:var(--fill)}
.tcn{font-size:14px;color:var(--muted);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tct{font-size:28px;font-weight:700;line-height:1.15;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.tcd{font-size:13px;color:var(--muted);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* v119 World clocks: your own cities are outlined (only you see them); a city where it is night (22:00-07:00) has a grey time */
.tcity.mine{background:transparent;box-shadow:inset 0 0 0 1.5px var(--line)}
.tcity.night .tct{color:var(--muted)}
.tfnolink .tcedit{margin-left:auto;flex:none;min-height:44px;padding:0 6px}
.wclist{display:flex;flex-direction:column;padding:0;overflow:hidden}
.wcrow{display:flex;align-items:center;gap:12px;min-height:56px;padding:10px 14px;border:0;border-top:1px solid var(--line);background:none;color:var(--text);font:inherit;text-align:left;width:100%}
.wclist > :first-child{border-top:0}
.wcrow .t{flex:1;min-width:0;display:flex;flex-direction:column}
.wcrow .t b{font-weight:500}
.wcrow .t small{font-size:13px;color:var(--muted)}
.wct{font-variant-numeric:tabular-nums;color:var(--muted)}
.wcpick{cursor:pointer}
.wcpick:hover:not([disabled]){background:var(--bg)}
.wcpick[disabled]{cursor:default;opacity:.55}
.wcadd{display:flex;align-items:center;gap:8px;min-height:52px;padding:10px 14px;border:0;border-top:1px solid var(--line);background:none;color:var(--accent-text);font:inherit;text-align:left;width:100%;cursor:pointer}
.wcadd[disabled]{color:var(--muted);cursor:default}
#wc-back{margin:-4px 0 8px -6px}
#wc-q{margin-bottom:12px}

/* v88: tiles in a 2-column grid, three sizes (Chris chose docs/mockups/tile-sizes.html): Small = 1 square (half width),
   Medium = 2 (a full row), Large = 4 (a full row with more inside). Small tiles pair up; dense fills the gaps. */
.htiles{display:grid;grid-template-columns:1fr 1fr;gap:10px;grid-auto-flow:row dense}
.htile.s1{grid-column:span 1;min-width:0}
.htile.s2,.htile.s4{grid-column:1 / -1}
.htiles .htile > .navcard,.tghost > .navcard{display:flex;align-items:center;width:100%;padding:13px 14px;min-height:60px;margin:0;text-align:left;border:0;border-radius:0;background:transparent;box-shadow:none}
.htiles .htile.s1 > .navcard,.tghost.s1 > .navcard{padding:12px 10px 6px 12px;min-height:52px;gap:8px}
.htile.s1 > .navcard .ticon{width:30px;height:30px;border-radius:8px}
.htile.s1 > .navcard .ticon .i{width:17px;height:17px}
.htile.s1 > .navcard .t .title{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.htile.s1 > .navcard .t div:last-child:empty,.htile.s1 > .navcard > .i:last-child{display:none}
.htiles .htile.s1.tplain > .navcard,.tghost.s1.tplain > .navcard{min-height:72px;padding-bottom:12px}
.htile.s1 .tbody{padding:0 12px 12px}
.tlsmall{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;min-height:44px;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.tlbig{font-size:28px;font-weight:700;line-height:1.1;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.tlbig .i{width:26px;height:26px}
.tlbig.late,.tlsm.late{color:var(--danger)}
.tlsm{font-size:13px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.snote.tln1{padding:10px}
.snote.tln1 .tlnb{font-size:14px;-webkit-line-clamp:4}
.snote.tln4 .tlnb{-webkit-line-clamp:8}
/* Edit: the tiles wiggle a little (like the iPhone Home Screen); hold to drag; a tap opens the panel (Home) or the ⋯ menu (Today, v119) */
.htile{position:relative}
/* v231 (Chris chose A of docs/mockups/home-hold-edit.html): a real iPhone shake; small (half-width) tiles rock, full-width rows only
   bob (a rotated row looks broken); three timings so they don't move in step. Reduced motion: no shake, a dashed edge. */
.htile.editing{cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;animation:tjig .26s ease-in-out infinite alternate}
.htile.editing:nth-child(3n+2){animation-delay:-.09s;animation-duration:.24s}
.htile.editing:nth-child(3n){animation-delay:-.17s;animation-duration:.28s}
.htile.editing.s2,.htile.editing.s4{animation-name:tbob}
@keyframes tjig{from{transform:rotate(-1.5deg) translateY(.5px)}to{transform:rotate(1.5deg) translateY(-.5px)}}
@keyframes tbob{from{transform:translateX(-1px) rotate(-.25deg)}to{transform:translateX(1px) rotate(.25deg)}}
@media (prefers-reduced-motion: reduce){.htile.editing,.htile.editing.s2,.htile.editing.s4{animation:none;outline:2px dashed var(--accent);outline-offset:2px}}
#home-menu > .htile,#today-fridge .tflist > .htile{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}   /* a hold starts Edit, never a text callout */
#home-menu.hgrid > .htile.editing{overflow:visible}   /* room for the − on the corner */
.tminus{position:absolute;left:-12px;top:-12px;width:44px;height:44px;border:0;background:none;padding:0;display:grid;place-items:center;z-index:3;cursor:pointer;color:var(--text)}
.tminus span{width:24px;height:24px;border-radius:50%;background:var(--fill);display:grid;place-items:center;box-shadow:0 1px 3px rgba(0,0,0,.25)}
.tminus span::before{content:"";width:10px;height:2.5px;border-radius:2px;background:currentColor}
#home-menu:not(.hgrid) .tminus{left:auto;right:6px;top:50%;margin-top:-22px}
#home-menu:not(.hgrid) .tminus span{background:var(--danger);color:var(--card)}
.tminus:focus-visible{outline:none}
.tminus:focus-visible span{outline:3px solid var(--accent);outline-offset:2px}
.homebar .hedone,.homebar-in .hedone{flex:none;min-height:44px;padding:0 20px;border:0;border-radius:999px;background:var(--accent);color:var(--on-accent);font:inherit;font-size:16px;font-weight:600;cursor:pointer}
.homebar .hedone:focus-visible,.homebar-in .hedone:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
#home-edit-foot{margin-top:12px}
#home-edit-foot #home-reset{display:flex;margin:4px auto 0}
.htile.editing:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.htile.editing > .navcard > .i:last-child{visibility:hidden}
.htile.tdragging{opacity:.35}
/* v231 fix (Chris: "lines show up on the buttons" while dragging): the copy sits on <body>, so the list's rules above also name .tghost (and .tgg for the Home grid) */
.tghost{position:fixed;z-index:200;pointer-events:none;margin:0;box-shadow:0 16px 40px rgba(0,0,0,.25);transform:scale(1.04) rotate(1.5deg);opacity:.96;animation:none}
.tfhint{margin:-2px 4px 10px}
/* the tile panel (#sheet-admin): preview, Size, Show what's inside, Position, Remove / Hide */
.tpvbox{background:var(--bg);border-radius:16px;padding:10px}
.tpvgrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tpvgrid .htile > .navcard{display:flex;align-items:center;width:100%;padding:12px;min-height:52px;margin:0;text-align:left;border:0;border-radius:0;background:transparent;box-shadow:none}
.tpsizes{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.tpsz{display:flex;flex-direction:column;align-items:center;gap:6px;min-height:44px;padding:10px 6px;border:2px solid var(--line);border-radius:16px;background:var(--bg);color:var(--text);font:inherit;cursor:pointer}
.tpsz[aria-checked="true"]{border-color:var(--accent);background:var(--accent-tint)}
.tpsz small{font-size:12px;color:var(--muted);text-align:center}
.tpmini{display:grid;grid-template-columns:repeat(2,14px);grid-auto-rows:14px;gap:3px}
.tpmini i{border-radius:3px;background:var(--line)}
.tpmini i.f{background:var(--accent)}
.tpsw{display:flex;align-items:center;gap:12px;background:var(--bg);border-radius:12px;padding:12px}
.tpsw > div{flex:1;min-width:0}
.tpmv{display:flex;gap:8px}
.tpmv .btn{flex:1;min-height:48px}

/* v119 (Chris's docs/mockups/tile-menu.html): one round ⋯ on each My fridge tile in Edit opens a small menu (it replaced the v90 eye
   and the v88 resize corner); Large is clearly bigger (about 2 x 2) */
.tdots{position:absolute;right:2px;top:2px;width:44px;height:44px;border:0;background:none;padding:4px;display:grid;place-items:center;cursor:pointer;z-index:2;color:var(--text)}
.tdots span{width:34px;height:34px;border-radius:50%;background:var(--fill);display:grid;place-items:center}
.tdots[aria-expanded="true"] span{background:var(--accent);color:var(--on-accent)}
.tdots .i{width:20px;height:20px;fill:currentColor}
.tdots:focus-visible{outline:none}
.tdots:focus-visible span{outline:3px solid var(--accent);outline-offset:2px}
.tmenu{position:fixed;z-index:150;width:250px;max-width:calc(100vw - 16px);background:var(--card);color:var(--text);border:1px solid var(--line);border-radius:16px;box-shadow:0 12px 34px rgba(0,0,0,.2);padding:6px}
.tmlbl{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;padding:8px 10px 4px}
.tmseg{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:0 4px 6px}
.tmseg button{min-height:44px;padding:0 2px;text-align:center;border:1px solid var(--line);background:var(--bg);color:var(--text);border-radius:12px;font:inherit;font-size:14px;cursor:pointer}
.tmseg button[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);color:var(--on-accent);font-weight:600}
.tmi{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:46px;border:0;border-top:1px solid var(--line);background:none;color:var(--text);font:inherit;font-size:16px;text-align:left;padding:10px;cursor:pointer}
.tmi:hover:not([disabled]){background:var(--bg);border-radius:12px}
.tmi[disabled]{opacity:.4;cursor:default}
.tmi.danger{color:var(--danger)}
.tmi .i{color:var(--muted)}
.tmsw{width:44px;height:26px;border-radius:12px;background:var(--line);position:relative;flex:none;transition:background .15s}
.tmsw::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .15s}
.tmsw.on{background:var(--accent)}
.tmsw.on::after{transform:translateX(18px)}
@media (prefers-reduced-motion: reduce){.tmsw,.tmsw::after{transition:none}}
.htile.editing > .navcard .t{padding-right:34px}
.htile.s4{min-height:330px}
.htile.s4 > .tbody{flex:1}

/* ===== v101 desktop (Chris, 10 Oct 2026): from 1024px wide the bottom bar becomes a left sidebar (Today, Calendar, Chat, Home,
   the Home pages, Settings), + is "Add" at its top, pages sit in a centred column, sheets open as centred dialogs.
   Phones, the iPhone app and tablets in portrait keep the phone layout. .dsk parts exist only here. ===== */
.tabbar .dsk,.fab .fablab{display:none}
@media (min-width:1024px){
  body{background:var(--bg)}
  #app{max-width:none;display:grid;grid-template-columns:256px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);box-shadow:none}
  .offline-bar{grid-column:2;grid-row:1}
  .stage{grid-column:2;grid-row:2}
  #app.nochrome{grid-template-columns:minmax(0,1fr)}
  .nochrome .stage,.nochrome .offline-bar{grid-column:1}
  .tabbar{grid-column:1;grid-row:1/-1;display:flex;flex-direction:column;align-items:stretch;gap:2px;min-height:0;overflow-y:auto;
    border-top:0;border-right:1px solid var(--line);padding:16px 12px 16px;grid-template-columns:none}
  .tabbar .dsk{display:flex}
  .tabgap{display:none}
  .dskbrand{align-items:center;gap:10px;padding:4px 8px 0;min-height:44px;font-size:18px;font-weight:700;letter-spacing:-.01em;color:var(--text)}
  .dskbrand img{width:32px;height:32px;border-radius:8px}
  .tabbar::before{content:none}   /* v265: the logo block below makes the room for the Add button */
  .dskbrand{order:0}
  /* v265 (Chris: "the logo should always be on the screen with the + Add button, the rest should scroll under it"): the logo block is
     sticky at the top of the sidebar and tall enough to sit behind the Add button (top 68 + 48), so the pages scroll under both */
  .dskbrand{position:sticky;top:-16px;z-index:3;flex:none;align-items:flex-start;box-sizing:border-box;height:128px;margin:-16px -12px 0;padding:24px 20px 0;background:var(--card)}
  .tabbar > .tab,.dsknav,.dskset{order:2}
  .tab{flex:none;flex-direction:row;justify-content:flex-start;gap:12px;min-height:44px;padding:0 12px;border-radius:12px;font-size:15px;color:var(--text)}
  .tab:hover{background:var(--fill)}
  .tab .tabic{width:auto;height:auto;border-radius:0;background:none}
  .tab .i{width:22px;height:22px}
  .tab[aria-current="page"]{background:var(--accent-tint);color:var(--accent-text)}
  .tab[aria-current="page"] .tabic{background:none}
  .tab[aria-current="page"] > span:last-child{color:var(--accent-text)}
  .tab .tabic .tbadge{top:-6px;right:-8px}
  .dsknav{flex-direction:column;gap:2px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
  .dskset{margin-top:auto}
  .fab{position:absolute;left:12px;right:auto;top:68px;bottom:auto;transform:none;width:232px;height:48px;border-radius:12px;
    display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:none;font-size:16px;font-weight:700}
  .fab .i{width:22px;height:22px}
  .fab .fablab{display:inline}
  /* v204 (Chris, screenshot: "the scrolling line and the spacing with the add button"): when the window is too short for the sidebar it
     still scrolls (wheel, trackpad, keyboard) but shows no grey scroll bar, which squeezed the items and ran into the Add button;
     a soft shadow at the bottom says there is more below and goes away once you reach the end (covers scroll with the list). */
  .tabbar{scrollbar-width:none;
    background:linear-gradient(to top,var(--card) 40%,transparent) center bottom/100% 32px no-repeat local,
      radial-gradient(farthest-side at 50% 100%,var(--sbsh,rgba(0,0,0,.14)),transparent) center bottom/100% 14px no-repeat scroll,var(--card)}
  .tabbar::-webkit-scrollbar{display:none}
  :root[data-theme="dark"]{--sbsh:rgba(0,0,0,.75)}
  @media (prefers-color-scheme:dark){:root[data-theme="system"]{--sbsh:rgba(0,0,0,.75)}}
  .pad{max-width:760px;margin:0 auto;padding:16px 32px 64px}
  .nochrome .pad{padding-bottom:48px}
  #s-chat .chathead,#s-chat .convs,#s-chat .convview{width:100%;max-width:760px;margin-left:auto;margin-right:auto;box-sizing:border-box}
  .sheet,#sheet-add,#sheet-note{position:fixed;left:50%;right:auto;top:50%;bottom:auto;width:min(560px,calc(100vw - 48px));max-height:min(88vh,880px);
    border-radius:16px;transform:translate(-50%,-47%);opacity:0;transition:transform .2s ease,opacity .2s ease;box-shadow:0 24px 64px rgba(0,0,0,.22)}
  .sheet.on,#sheet-add.on,#sheet-note.on{transform:translate(-50%,-50%);opacity:1}
  .sheet .grab{display:none}
  .scrim{position:fixed}
  .toast{left:calc(50vw + 128px - 260px);right:auto;width:520px}
}
@media (min-width:1024px) and (prefers-reduced-motion:reduce){.sheet,#sheet-add,#sheet-note{transition:opacity .2s}}
@media (min-width:1024px){
  .backbtn.subtop{visibility:hidden}   /* Back to Today/Home on a page the sidebar opens: the sidebar is the way back (the button keeps its room so the bar does not jump) */
  #s-settings.setopen #set-back{visibility:visible}   /* v115: on a Settings section page, Back returns to the Settings list */
  .top{margin:0 -32px 12px;padding:0 32px 8px}
}

/* ===== v102 desktop step 2: Today. Done/Snooze on my due rows (from 1024px); two columns from 1280px (#today-side) ===== */
.todayside{display:none}
.trwrap{display:flex;align-items:center;border-top:1px solid var(--line)}
.tgroup>.trwrap:first-child{border-top:0}
.trwrap>.trow{flex:1;min-width:0;border-top:0}
.tracts{flex:none;display:flex;gap:8px;padding:0 12px 0 4px}
/* v253 (Chris chose B of docs/mockups/today-new-design.html): one button on the right of a row, the chat (outline = nobody wrote yet,
   filled = read, tinted + number = new) or, on something only you are on, its Note (outline = none, filled = there is one); then the chevron */
.group>.trwrap:first-child{border-top:0}
.trx>.trow{padding-right:4px}
.trx>.tract:last-child{margin-right:6px}
.trx>.trow>.trc{display:none}
.trx>.tracts{padding:0 4px 0 0}
.tract{flex:none;position:relative;display:grid;place-items:center;width:48px;height:48px;margin:0;padding:0;border:0;border-radius:12px;background:none;color:var(--muted);cursor:pointer}
.tract .i{width:22px;height:22px;stroke-width:1.9}
.tract:active{background:var(--fill)}
.tract.has .i{fill:currentColor}
.nbtn.has{color:var(--accent-text)}
.thb.new{background:var(--accent-tint);color:var(--accent-text)}
.thbn{position:absolute;top:1px;right:0;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--accent);color:var(--on-accent);font-size:12px;font-weight:700;line-height:20px;text-align:center;font-variant-numeric:tabular-nums}
@media (min-width:1024px){ .tract:hover{background:var(--fill)} .thb.new:hover{background:var(--accent-tint)} }
/* v253: Today's summary line under the title */
.tsum{margin:2px 0 10px;font-size:15px;color:var(--muted)}
.tsum b{color:var(--text);font-weight:700}
.tsum .od,.tsum .od b{color:var(--danger)}
.tnwhat{margin:0 0 12px;color:var(--muted);font-size:15px}
.tntext{min-height:110px;resize:vertical;font:inherit;line-height:1.4}
#today-setslot{margin-top:16px}
.todayside>.dinslot{margin:0}
.todayside>.dinslot>.dinner{margin:0}
.tracts .btn{min-height:40px;padding:0 14px;font-size:15px}
@media (min-width:1024px){ .tracts .btn{min-height:44px} .trow:hover{background:var(--fill)} }
@media (min-width:1280px){
  #s-today .pad{max-width:1200px}
  .todaycols{display:flex;gap:32px;align-items:flex-start}
  .todaymain{flex:1;min-width:0}
  .todayside{display:flex;flex:0 0 344px;flex-direction:column;gap:20px;padding-top:8px}
  .todayside .myfridge{margin-top:0}
  .sidecard{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:12px 12px 14px}
  .sidehead{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-left:4px}
  .sidehead h2{font-size:17px;font-weight:700;display:flex;align-items:center;gap:8px}
  .sidehead .btn.text{min-height:44px;padding:0 8px}
  .wstrip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));margin-top:4px}
  .wsday{display:flex;flex-direction:column;align-items:center;gap:2px;min-height:64px;min-width:0;padding:6px 0;border-radius:12px;color:var(--text)}
  .wsday:hover{background:var(--fill)}
  .wsl{font-size:12px;font-weight:700;color:var(--muted)}
  .wsn{font-size:17px;font-weight:700;width:32px;height:32px;border-radius:50%;display:grid;place-items:center}
  .wsday.past .wsn{color:var(--muted);font-weight:600}
  .wsday.today .wsn{background:var(--accent);color:var(--on-accent)}
  .wsdot{width:6px;height:6px;border-radius:50%;background:transparent}
  .wsdot.on{background:var(--accent)}
  .wstom{margin:8px 4px 0;font-size:14px;color:var(--muted);line-height:1.4}
  .wstom b{color:var(--text);font-weight:600}
  .sconvs{display:flex;flex-direction:column;margin-top:4px}
  .sconv{display:flex;align-items:center;gap:10px;min-height:56px;padding:6px 4px;border-radius:12px;text-align:left;color:var(--text)}
  .sconv:hover{background:var(--fill)}
  .sconv .av{flex:none;width:36px;height:36px}
  .scmid{flex:1;min-width:0;display:flex;flex-direction:column}
  .scnm{font-size:15px;font-weight:600}
  .scpv{font-size:14px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .sconv.unread .scpv{color:var(--text);font-weight:600}
  .scend{flex:none;display:flex;align-items:center;gap:8px}
  .screp{font-size:14px;font-weight:600;color:var(--accent-text)}
  .scnone{padding:8px 4px;font-size:14px}
}

/* ===== v103 desktop step 3: Calendar week grid (from 1024px; the phone keeps the day-by-day list) ===== */
@media (min-width:1024px){
  #s-calendar.calwide .pad{max-width:1200px}
  .wg{background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden;margin-top:12px}
  .wg-row{display:grid;grid-template-columns:60px repeat(7,minmax(0,1fr))}
  .wg-head{border-bottom:1px solid var(--line)}
  .wg-dh{display:flex;flex-direction:column;align-items:center;gap:2px;min-height:64px;padding:8px 0;border-left:1px solid var(--line);color:var(--text)}
  .wg-dh:hover{background:var(--fill)}
  .wg-dw{font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
  .wg-dn{font-size:20px;font-weight:700;width:36px;height:36px;border-radius:50%;display:grid;place-items:center}
  .wg-dh.past .wg-dn{color:var(--muted);font-weight:600}
  .wg-dh.today .wg-dn{background:var(--accent);color:var(--on-accent)}
  .wg-dh.today .wg-dw{color:var(--accent-text)}
  .wg-all{border-bottom:1px solid var(--line)}
  .wg-alll{font-size:12px;color:var(--muted);text-align:right;padding:14px 8px 0 0}
  .wg-ac{display:flex;flex-direction:column;gap:4px;padding:4px;border-left:1px solid var(--line);min-width:0}
  .wg-chip,.wg-more{display:flex;align-items:center;min-height:44px;padding:4px 8px;border-radius:8px;font-size:13px;font-weight:600;text-align:left;min-width:0}
  .wg-chip{background:var(--evt);color:var(--evf);box-shadow:inset 3px 0 0 var(--evc)}
  .wg-more{color:var(--accent-text);background:none}
  .wg-more:hover{background:var(--fill)}
  .wg-t{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .wg-hours .wg-h{height:48px;box-sizing:border-box;font-size:12px;color:var(--muted);text-align:right;padding:2px 8px 0 0}
  .wg-col{position:relative;border-left:1px solid var(--line);background-image:repeating-linear-gradient(to bottom,var(--line) 0,var(--line) 1px,transparent 1px,transparent 48px)}
  .wg-col.today{background-color:color-mix(in srgb,var(--accent-tint) 45%,transparent)}
  .wg-ev{position:absolute;box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-start;gap:0;padding:4px 6px 4px 9px;border-radius:8px;overflow:hidden;text-align:left;
    background:var(--evt);color:var(--evf);box-shadow:inset 3px 0 0 var(--evc);min-width:0;z-index:1}
  .wg-ev:hover,.wg-chip:hover{filter:brightness(.97)}
  .wg-ev .wg-t{font-size:13px;font-weight:700;line-height:1.25}
  .wg-ev .wg-m{font-size:12px;line-height:1.25;opacity:.9}
  .wg-ev.od .wg-m,.wg-chip.od{color:var(--danger)}
  .wg-ev.done .wg-t,.wg-chip.done .wg-t{text-decoration:line-through;opacity:.7}
  .wg-now{position:absolute;left:0;right:0;height:2px;background:var(--danger);z-index:2;pointer-events:none}
  .wg-now::before{content:"";position:absolute;left:-5px;top:-4px;width:10px;height:10px;border-radius:50%;background:var(--danger)}
}
@media (min-width:1024px){ .wg-ev>span{flex:none;max-width:100%} .wg-ev .wg-m{white-space:nowrap;overflow:hidden;text-overflow:ellipsis} }

/* v107: Settings › Location */
.locrow{align-items:center;gap:12px;min-height:60px;padding:4px 0}
.locrow + .locrow{border-top:1px solid var(--line)}
.loct{min-width:0}
.locbtns{display:flex;gap:2px;align-items:center;flex-shrink:0}
.locbtns .locset{border-radius:12px;font-size:15px;padding:0 14px;color:var(--accent-text);border-color:var(--accent-tint);background:var(--card)}
.locerr{color:var(--danger);font-weight:600}
#loc-inuse .btn{margin-top:8px}
.locsoon{color:var(--soon);font-weight:600}   /* v229: Location access is While Using */
#place-inuse{margin:0 0 12px}#place-inuse .btn{margin-top:8px;background:transparent;border-color:#4A3600;color:#4A3600}   /* v227: the banner stays light yellow in dark mode, so its button keeps the dark text */
/* v107: five statuses (Home, Work, School, Out, On my way) wrap onto a second line in a narrow tile instead of running out */
.tlseg{flex-wrap:wrap}
.tlseg .chip{flex:1 1 auto}
/* v108: status set by the iPhone (Location): a small pin in the pill; "Changes by itself" under your own buttons in the tile */
.pill.stauto{display:inline-flex;align-items:center;gap:4px}
.pill.stauto .i{width:14px;height:14px}
.tlauto{display:flex;align-items:center;gap:6px;flex:1 1 100%;margin:4px 0 0;font-size:13px;color:var(--muted)}
.tlauto .i{width:14px;height:14px}
/* v109: Who's home pills: a place (accent), Home (green), Out, Location off; Settings › Location: Add a place */
.pill.st-place{background:var(--accent-tint);color:var(--accent-text)}
.locadd{display:flex;flex-direction:column;gap:10px;padding:12px 0 4px;border-top:1px solid var(--line)}
.locadd .noteline{margin:0}
.locaddbtn{align-self:flex-start;margin-top:4px;padding-left:0}
#loc-places .locrow:first-child{border-top:0}
/* v112 (#296): Text size buttons (Settings › Look and feel, setup, joining): a bigger A on each, label under it */
.seg.txtseg .chip{flex-direction:column;justify-content:flex-start;gap:0;min-height:60px;padding:6px 4px;line-height:1.15;white-space:normal;text-align:center;font-size:14px}
.txtseg .ta{display:block;font-weight:700;line-height:1;margin-bottom:4px;color:var(--text)}
.txtseg .i.tl{display:block;width:22px;height:22px;margin:2px auto 4px;color:var(--text)}
.txtseg .ta100{font-size:15px}.txtseg .ta115{font-size:18px}.txtseg .ta130{font-size:22px}
.dtprobe{position:absolute;visibility:hidden;font:-apple-system-body}
/* v112: narrow pages (Large / Extra large text, or a small phone): the bottom bar labels and the Calendar header fit */
@media (max-width:340px){
  .tabbar{grid-template-columns:1fr 1fr 64px 1fr 1fr;padding-left:2px;padding-right:2px}
  .tab{font-size:12px;letter-spacing:-.01em;min-width:0}
  .tab .tabic{width:48px}
  #s-calendar .cal-ctl{gap:2px}
  #s-calendar .cal-ctl .seg .chip{padding:0 4px;font-size:14px}
  #s-calendar .cal-ctl #cal-today,#s-calendar .cal-ctl #cal-week{padding:0 4px;font-size:15px;white-space:nowrap;min-width:0}
}
/* v112: a day's count ("3 items") never breaks onto two lines; the day name wraps instead */
.wk-head .c,.dayhead>.muted{white-space:nowrap;flex:none}
.dayhead{gap:8px}

/* v116 (List #287): add from the Calendar - "+ Add" by the day's heading / above the Day view (v123: phones too), and "+ 14:30" on an empty half hour in the Week grid (computer) */
.caladd{display:inline-flex;align-items:center;gap:4px;min-height:44px;padding:0 16px;border-radius:12px;border:0;background:var(--accent);color:var(--on-accent);font-size:15px;font-weight:600;flex:none}   /* v117 (Chris): filled in the tone's colour, like the sidebar Add */
.caladd:hover{filter:brightness(1.08)}
#s-calendar #cal-day .dayhead h2{flex:1 1 auto;min-width:0}
#s-calendar #cal-day .dayhead{align-items:center}
.calday-top{display:flex;justify-content:flex-end;margin:0 0 10px}
@media (min-width:1024px){
  .wg-col.wg-pt{cursor:pointer}
  .wg-ghost{position:absolute;left:2px;right:2px;height:22px;border-radius:8px;background:var(--accent-tint);color:var(--accent-text);font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;pointer-events:none;z-index:0}
  .wg-ghost[hidden]{display:none}
}
/* v118: Home as a grid of big buttons (people.home_layout = grid, the default): two in a row, three on a computer; icon on top,
   the name, then up to two grey lines; no chevron. Same .htile.s1 tiles, so Edit (drag, tap) works unchanged. */
#home-menu.hgrid .htile > .navcard,.tghost.tgg > .navcard{flex-direction:column;align-items:flex-start;justify-content:space-between;gap:12px;height:100%;min-height:118px;padding:14px}
#home-menu.hgrid .htile > .navcard > .i:last-child,.tghost.tgg > .navcard > .i:last-child{display:none}
#home-menu.hgrid .htile > .navcard .ticon,.tghost.tgg > .navcard .ticon{width:42px;height:42px;border-radius:12px}
#home-menu.hgrid .htile > .navcard .ticon .i,.tghost.tgg > .navcard .ticon .i{width:23px;height:23px}
#home-menu.hgrid .htile > .navcard .t,.tghost.tgg > .navcard .t{width:100%}
#home-menu.hgrid .htile > .navcard .t .title,.tghost.tgg > .navcard .t .title{font-size:16px;white-space:normal;overflow-wrap:anywhere}
#home-menu.hgrid .htile > .navcard .t div:last-child,.tghost.tgg > .navcard .t div:last-child{font-size:13px;line-height:1.3;margin-top:2px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal}
@media (min-width:1024px){#home-menu.hgrid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* v119/v123 (Chris): Month - the selected day (today or later) shows a small + (bottom right on phones, top right from 1024px); selecting it again opens Add on it */
#s-calendar .cal-grid .day{position:relative}
.dplus{position:absolute;bottom:3px;right:3px;width:16px;height:16px;border-radius:50%;display:grid;place-items:center;background:var(--on-accent);color:var(--accent);pointer-events:none}
.dplus .i{width:12px;height:12px}
@media (min-width:1024px){
  #s-calendar .cal-grid .day.canadd{cursor:copy}
  .dplus{top:4px;right:6px;bottom:auto;width:20px;height:20px}
  .dplus .i{width:14px;height:14px}
}

/* v122 (Chris): Calendar - only the arrows top right ("Today" only when away from today); "Plan next week" is a card under the people row */
.calplan{display:flex;align-items:center;gap:12px;margin:4px 0 12px;padding:8px 8px 8px 12px;border-radius:12px;background:var(--card);border:1px solid var(--line)}
.calplan[hidden]{display:none}
.calplan .cpic{flex:none;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--accent-tint);color:var(--accent-text)}
.calplan .cpic .i{width:18px;height:18px}
.calplan .cpt{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
.calplan .cpt b{font-size:15px;font-weight:700;color:var(--text)}
.calplan .cpt span{font-size:13px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.calplan .cpbtn{flex:none;width:auto;min-height:44px;padding:0 16px;border-radius:12px;background:var(--accent);color:var(--on-accent);font-size:15px;font-weight:600;border:0}
.calplan.big{padding:12px 12px 12px 14px;background:var(--accent-tint);border-color:color-mix(in srgb,var(--accent) 35%,transparent)}
.calplan.big .cpic{width:40px;height:40px;background:var(--accent);color:var(--on-accent)}
.calplan.big .cpic .i{width:22px;height:22px}
.calplan.big .cpt b{color:var(--accent-text)}
.calplan.big .cpt span{white-space:normal;color:var(--text)}
.calplan.done .cpic{background:var(--fill);color:var(--muted)}
.calplan.done .cpbtn{background:var(--fill);color:var(--text)}
.calplan .cpt b .cpr{white-space:nowrap;font-size:inherit;color:inherit;overflow:visible}
@media (max-width:1023.98px){#s-calendar .calplan{margin:16px 0 4px}}
@media (max-width:1023.98px){#s-calendar #cal-day .dayhead .caladd{margin:-8px 0;width:44px;padding:0;justify-content:center}#s-calendar #cal-day .dayhead .caladd span{display:none}}   /* v123: on phones a round + (the day's name stays on one line, so the month + 3 items still fit); 44px to tap */

/* v125 (#352): getting back in after a lost phone - welcome screen "Been here before?", Settings › If you lose your phone, Today cards */
.sbacts{flex-direction:column}
.sbacts .btn{width:100%;min-height:50px;justify-content:center}
.rcslot{display:flex;flex-direction:column;gap:10px;margin:8px 0 12px}
.rcslot[hidden]{display:none}
.rcslot .famcard{margin:0}
.rcslot .fctop>div{flex:1;min-width:0}
.rcok{color:var(--ok);font-weight:600;white-space:nowrap}
.rcwait{color:var(--soon);font-weight:600;white-space:nowrap}
.rcslot .invbtns .btn.tonal{background:var(--card)}
/* v126: a long name ("Make Cynthia Admin") wraps inside its half of the card instead of running past the edge */
.rcslot .invbtns .rcbtn{flex:1 1 0;min-width:0;white-space:normal;line-height:1.25;padding:6px 12px}
.rcbtn{flex:none;min-height:44px;font-weight:600;white-space:nowrap}
.rckey{min-height:52px;padding-left:58px}
.rckey .dvtx b{font-size:15px;font-weight:500}
.rccard{margin-top:12px}
.rccard .title{margin:0 0 4px}
.rccard .actions .btn{flex:1}
.rccode{letter-spacing:.35em;text-align:center;font-size:24px;margin-top:8px}

/* v130: If you lose your phone, layout A (Chris chose docs/mockups/recover-clean.html) */
.rcstatus{display:flex;gap:12px;align-items:center;border-radius:16px;padding:14px 16px;margin:4px 0 18px}
.rcstatus.good{background:var(--ok-tint)}
.rcstatus.part{background:color-mix(in srgb,var(--soon) 14%,var(--card))}
.rcstatus .rcsi{flex:none;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--card)}
.rcstatus.good .rcsi{color:var(--ok)}
.rcstatus.part .rcsi{color:var(--soon)}
.rcstatus b{display:block;font-size:17px;color:var(--text)}
.rcstatus span span{font-size:15px;color:var(--text);line-height:1.35}
.rcways{display:flex;flex-direction:column;gap:12px}
.rcway{width:100%;text-align:left;display:flex;gap:14px;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:16px;min-height:80px;color:var(--text)}
.rcway:active{background:var(--fill)}
.rcwi{flex:none;width:44px;height:44px;border-radius:12px;background:var(--accent-tint);color:var(--accent-text);display:grid;place-items:center}
.rcwt{flex:1;min-width:0;display:flex;flex-direction:column}
.rcwt b{font-size:17px;font-weight:600}
.rcwt small{font-size:15px;color:var(--muted);line-height:1.35;margin-top:2px;overflow-wrap:anywhere}
.rcpill{flex:none;font-size:14px;font-weight:700;border-radius:999px;padding:5px 11px;white-space:nowrap}
.rcpill.on{background:var(--ok-tint);color:var(--ok)}
.rcpill.add{background:var(--accent);color:var(--on-accent)}
.rcpill.wait{background:color-mix(in srgb,var(--soon) 14%,var(--card));color:var(--soon)}
.rcfoot{display:flex;gap:8px;align-items:flex-start;color:var(--muted);font-size:15px;line-height:1.4;margin:20px 4px 0}
.rcfoot .i{flex:none;margin-top:2px}
.rclead{color:var(--muted);font-size:16px;line-height:1.4;margin:0 0 14px}
.rcbig{font-size:17px;font-weight:600;background:var(--fill);border-radius:12px;padding:12px 14px;margin-bottom:14px;overflow-wrap:anywhere}
.btn.rcwide{width:100%;min-height:50px;margin-top:8px}
.rcdevs{margin-bottom:14px}
.rcdevs .rckey{padding-left:14px}

/* v134 (Chris chose A4 of docs/mockups/today-header.html): the space switcher is the space's own coloured letter square + its name + an arrow, no pill;
   Today shows "Today" and the date on one line (no greeting, no other-city time, no bell) */
.spc0{--spc:#2D64A8}.spc1{--spc:#2C7048}.spc2{--spc:#7B3F99}.spc3{--spc:#A34E12}.spc4{--spc:#1C6F75}.spc5{--spc:#A83457}
.top .spacepill{border:0;background:none;border-radius:12px;padding:0 6px 0 0;gap:10px;color:var(--text);font-size:17px;font-weight:600}
.top .spacepill .sp-badge{width:32px;height:32px;border-radius:8px;font-size:15px;font-weight:700;background:var(--spc,var(--accent));color:#fff;box-shadow:none}
.top .spacepill .sp-badge.sp-badge2{margin-left:-14px;box-shadow:0 0 0 2px var(--bg)}
.top .spacepill .sp-chev{color:var(--muted)}
.sp-ic[class*="spc"],.sp-ic.sp-ic2 .spsq{background:var(--spc);color:#fff}
.sp-row[aria-current="true"] .sp-ic[class*="spc"]{background:var(--spc);color:#fff}
.sp-ic.sp-ic2:has(.spsq){background:none;gap:2px}
.todayhead{flex-wrap:nowrap;align-items:center}
.todayhead .thdate{flex:none;margin:0 0 0 auto;font-size:15px;color:var(--muted);white-space:nowrap}
/* v139: the Add screen's sentence line ("Use: “Doctor” · Me + Annita · Tomorrow, 11:00 AM  Fill in  Not right?") between the title and the rows */
.smartline { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 6px; padding: 6px 8px 6px 14px; background: var(--accent-tint); border-top: 1px solid var(--line); font-size: 15px; line-height: 1.35; }
.smartline[hidden] { display: none; }
.smartline .smi { display: inline-flex; color: var(--accent-text); flex: none; }
.smartline .smt { flex: 1 1 calc(100% - 40px); order: 0; min-width: 0; color: var(--text); overflow-wrap: anywhere; padding-top: 6px; }
.smartline .smi { padding-top: 7px; align-self: flex-start; }
.smartline #smart-wrong, .smartline #smart-send { margin-left: auto; }
.smartline .smbtn { min-height: 44px; min-width: 44px; padding: 0 10px; font-weight: 700; color: var(--accent-text); flex: none; }
.smartline .smbtn.sm2 { font-weight: 600; color: var(--muted); }
/* v140: the quick add line on Today (under "Today · date") and the line under it */
.quickadd { display: flex; align-items: center; gap: 10px; margin: 4px 0 6px; padding: 0 14px; min-height: 48px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.quickadd:focus-within { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.quickadd .qai { display: inline-flex; color: var(--accent-text); flex: none; }
.quickadd .qainput { flex: 1; min-width: 0; min-height: 46px; border: 0; background: none; font: inherit; font-size: 16px; color: var(--text); padding: 0; }
.quickadd .qainput:focus { outline: none; }
.quickadd .qainput::placeholder { color: var(--muted); }
.qaline { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; margin: 0 0 10px; padding: 6px 8px 6px 14px; background: var(--accent-tint); border-radius: 12px; font-size: 15px; line-height: 1.35; }
.qaline[hidden] { display: none; }
.qaline .qat { flex: 1 1 100%; min-width: 0; color: var(--text); overflow-wrap: anywhere; padding-top: 6px; }
.qaline .qabtn { min-height: 44px; min-width: 44px; width: auto; padding: 0 14px; font-weight: 700; flex: none; margin-top: 0; }
.qaline #qa-save { padding: 0 26px; border-radius: 12px; }
.qaline .qabtn.text { color: var(--accent-text); }
.qaline .qabtn.sm2 { color: var(--muted); font-weight: 600; margin-left: auto; }
.qaline #qa-more:only-of-type, .qaline #qa-more:last-child { margin-left: auto; }
/* v142: the 🎤 in the quick add box (iPhone app only) */
.quickadd .qamic { flex: none; width: 44px; height: 44px; margin-right: -8px; display: grid; place-items: center; border: 0; background: none; color: var(--accent-text); border-radius: 22px; cursor: pointer; }
.quickadd .qamic[hidden] { display: none; }
/* v160: the one-time note before a browser on a computer sends the voice away to be turned into words */
.vnote { margin: 0 0 10px; padding: 12px 14px; background: var(--accent-tint); border-radius: 12px; font-size: 15px; line-height: 1.4; color: var(--text); }
.vnote p { margin: 0 0 10px; }
.vnote .vbtns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vnote .btn { min-height: 44px; width: auto; margin-top: 0; padding: 0 18px; }
.quickadd .qamic.on { background: var(--accent); color: var(--on-accent); animation: qamic 1.2s ease-in-out infinite; }
@keyframes qamic { 50% { box-shadow: 0 0 0 6px var(--accent-tint); } }
@media (prefers-reduced-motion: reduce) { .quickadd .qamic.on { animation: none; } }
/* v147: the quick add line reads back what it understood (A with taps) */
.qaline { display: block; padding: 12px 14px 8px; }
.qaline .qah { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.qaline .qabig { font-size: 21px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin: 4px 0 4px; overflow-wrap: anywhere; }
.qaline .qaline2 { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; font-size: 16px; line-height: 1.4; color: var(--text); }
.qaline .qatap { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 2px; font: inherit; font-weight: 700; color: var(--accent-text); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 4px; background: none; border: 0; cursor: pointer; }
.qaline .qatap .av { text-decoration: none; }
.qaline .qadtrow { height: 0; overflow: hidden; }
.qaline .qadtrow .dtw { display: none; }   /* the picker's own buttons: the words in the sentence open it instead */   /* the app's picker input and its buttons stay hidden; its panel opens under this row */
.qaline .qatap:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.qaline .qawhorow { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 2px; }
.qaline .qabtns { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 4px; }
.qaline .qabtns .qabtn.sm2, .qaline #qa-more:only-child { margin-left: 0; }
.qaline .qaai { letter-spacing: 0; }   /* v149: ✨ = read by Apple Intelligence on this iPhone */
/* v156: "Say it" - the + sheet (Chris chose docs/mockups/say-it.html) and the card's type and words you can change (card-edit.html A) */
#sheet-say .quickadd { margin: 0 0 10px; }
#sheet-say #qa-mic:not([data-web]) { display: none; }   /* the big mic below does it; v161: on a computer the small one stays in the box */
.saymic { display: grid; justify-items: center; gap: 8px; margin: 18px 0 2px; text-align: center; }
.saymic[hidden] { display: none; }
.bigmic { position: relative; width: 88px; height: 88px; border-radius: 50%; border: 0; padding: 0; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 24px -12px rgba(31, 95, 168, .9); transition: width .2s, height .2s; }
.bigmic > .i { width: 36px; height: 36px; position: relative; z-index: 1; }
.bigmic::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; background: conic-gradient(from 210deg, #3B82F6, #7C5CE0, #D0559F, #F2A33A, #3B82F6); -webkit-mask: radial-gradient(circle closest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); mask: radial-gradient(circle closest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); }
.bigmic .spk { position: absolute; top: -6px; right: -9px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; background: var(--card); display: grid; place-items: center; font-size: 17px; line-height: 1; box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .35); }
.saymic.on .bigmic { box-shadow: 0 0 0 16px rgba(124, 92, 224, .12), 0 0 0 32px rgba(59, 130, 246, .07); }
.saymic.on .bigmic::before { inset: -9px; animation: sayspin 2.2s linear infinite; }
@keyframes sayspin { to { transform: rotate(1turn); } }
.saymic.small .bigmic { width: 56px; height: 56px; }
.saymic.small .bigmic > .i { width: 24px; height: 24px; }
.saymic.small .bigmic::before { inset: -4px; }
.saymic.small .bigmic .spk { width: 24px; height: 24px; font-size: 13px; top: -6px; right: -8px; }
.saymic.small .saypriv { display: none; }
.sayhint { margin: 0; font-size: 16px; color: var(--muted); }
.sayhint b { color: var(--text); }
.saypriv { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.saypriv .i { width: 14px; height: 14px; }
.sayor { margin: 18px 2px 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
#say-tiles { grid-template-columns: repeat(4, 1fr); }
@media (prefers-reduced-motion: reduce) { .saymic.on .bigmic::before { animation: none; } .bigmic { transition: none; } }
.qaline { position: relative; }
.qaline .qah { display: flex; align-items: center; gap: 2px; }
.qaline .qatype { min-height: 44px; margin: -10px 0 -8px -2px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; gap: 4px; }
.qaline .qatype .i { width: 14px; height: 14px; }
.qaline .qatapw { display: block; max-width: 100%; min-height: 44px; padding: 0; margin: 0 0 2px; border: 0; background: none; color: var(--text); font: inherit; font-size: 21px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; text-align: left; cursor: pointer; text-decoration: underline dotted 2px; text-decoration-color: color-mix(in srgb, var(--accent-text) 60%, transparent); text-underline-offset: 6px; overflow-wrap: anywhere; }
.qaline .qatypes { position: absolute; left: 8px; top: 38px; z-index: 5; width: 240px; max-width: calc(100% - 16px); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 6px; box-shadow: 0 16px 36px -10px rgba(0, 0, 0, .35); }
.qaline .qatypeopt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 0 10px; border: 0; border-radius: 12px; background: none; color: var(--text); font: inherit; font-size: 16px; font-weight: 600; text-align: left; cursor: pointer; }
.qaline .qatypeopt[aria-pressed="true"] { background: var(--accent-tint); color: var(--accent-text); }
.qaline .qatypeopt .sm { margin-left: auto; }
.qaline .qawordsrow { display: flex; align-items: center; gap: 8px; margin: 4px 0; }
.qaline .qawordsin { flex: 1; min-width: 0; min-height: 44px; font-size: 19px; font-weight: 700; }
.saymic.on { gap: 22px; }   /* the glow does not touch the words */
.qaline .qaplace { flex: 1 1 100%; display: flex; align-items: center; gap: 4px; }   /* v157: the event's place on its own line */
.qaline .qaaddplace { font-weight: 600; }
.qaline .qaplacerow { flex: 1 1 100%; }
.qaline .qaplacein { font-size: 17px; font-weight: 600; }
/* v159: a small chat about one reminder or event (docs/mockups/reminder-chat.html): the bubble on a row, the row in its sheet, the chat sheet */
.thbub{flex:none;display:inline-flex;align-items:center;gap:4px;min-height:26px;padding:0 9px;border-radius:999px;background:var(--fill);color:var(--muted);font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.thbub .i{width:15px;height:15px}
.thbub.new{background:var(--accent);color:var(--on-accent)}
/* v162: reminder and event chats on the Chat page (layout B of docs/mockups/chat-threads-list.html) */
.thsec{display:flex;align-items:center;gap:10px;margin:16px 4px 0;font-size:14px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);flex:none}
.thsecn{font-size:13px;letter-spacing:0;text-transform:none;color:var(--accent-text)}
.thgrp{flex:none;background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden}
.thcrow{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:9px 12px;box-sizing:border-box;border:0;border-top:1px solid var(--line);background:none;color:var(--text);text-align:left;font:inherit}
.thcrow:first-child{border-top:0}
.thcrow .tri{flex:none;width:32px;height:32px}
.thcrow .tri.ev{background:var(--fill);color:var(--text)}
.thcrow .thct{font-weight:700;font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.thcrow.unread .cpv{color:var(--text);font-weight:600}
.thcrow.ending .thct{text-decoration:line-through;text-decoration-color:var(--muted)}
.thwhen{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.thgoes{font-style:italic}
.thact .thbub{margin-left:auto}
.thsheet{height:88%}
.thsheet .sheet-body{display:flex;flex-direction:column;padding-bottom:calc(12px + env(safe-area-inset-bottom))}
.thtop{display:flex;align-items:center;gap:8px;margin:0 -6px 6px 0}
.thtop h2{flex:1;min-width:0;margin:0;font-size:22px;line-height:1.25;overflow-wrap:anywhere}
.thcard{flex:none;display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:8px 12px;border:0;border-radius:12px;background:var(--accent-tint);color:var(--text);font:inherit;text-align:left;cursor:pointer}
.thcard .tri{flex:none;width:32px;height:32px;background:var(--card)}
.thct{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.thct b{font-size:16px;font-weight:600;overflow-wrap:anywhere}
.thct small{font-size:14px;color:var(--muted)}
.thgo{flex:none;display:inline-flex;align-items:center;gap:2px;color:var(--accent-text);font-size:14px;font-weight:700}
.thgo .i{width:16px;height:16px}
.thonly{flex:none;margin:8px 0 0;text-align:center;font-size:13px;color:var(--muted)}
.thlist{flex:1;min-height:120px;overflow-y:auto;padding:6px 2px 10px;overscroll-behavior:contain}
.thempty{margin:32px 12px;text-align:center;color:var(--muted);font-size:15px}
.thform{flex:none;display:flex;align-items:flex-end;gap:8px;padding-top:8px;border-top:1px solid var(--line)}
.thform textarea{flex:1;min-width:0;min-height:44px;max-height:120px;resize:none;padding:10px 14px;border:1px solid var(--line);border-radius:22px;background:var(--bg);color:var(--text);font:inherit;font-size:16px;line-height:1.35}
.thform .btn{flex:none;width:auto;min-height:44px;padding:0 18px}
/* v163 (Chris chose A of docs/mockups/bottom-quickadd.html, #372): on phones the box (with its card above it) sits above the bottom bar, colour ring and ✦ as on a computer */
.qadock{flex:none;display:flex;flex-direction:column;gap:8px;padding:8px 12px 6px;background:var(--card);border-top:1px solid var(--line);max-height:72%;overflow-y:auto;overscroll-behavior:contain}
.qadock[hidden]{display:none}
.qadock .quickadd{margin:0;min-height:50px;border:2px solid transparent;background:linear-gradient(var(--card),var(--card)) padding-box,conic-gradient(from 210deg,#3B82F6,#7C5CE0,#D0559F,#F2A33A,#3B82F6) border-box;box-shadow:0 6px 18px -10px rgba(124,92,224,.55)}
.qadock .quickadd:focus-within{border-color:transparent;box-shadow:0 0 0 4px rgba(124,92,224,.14),0 6px 18px -10px rgba(124,92,224,.55)}
.qadock .quickadd .qai>svg{display:none}
.qadock .quickadd .qai::before{content:"\2726";font-size:19px;line-height:1;font-weight:700;background:linear-gradient(135deg,#3B82F6,#7C5CE0 45%,#D0559F 75%,#F2A33A);-webkit-background-clip:text;background-clip:text;color:transparent}
.qadock .qaline{margin:0}
.qatyping .tabbar,.qatyping .fab{display:none}
.qatyping .qadock{padding-bottom:max(8px,env(safe-area-inset-bottom))}
@media (min-width:1024px){.qadock{display:none}}
/* v164 (Chris chose 2+3 of docs/mockups/nav-break.html, #373): on phones the bottom (AI box + bar, or the bar alone on Chat/Settings) is one tray:
   rounded top corners, a soft shadow, a small handle, and the page fades out just above it so no row looks cut in half */
/* v165 (Chris): square corners, no handle (it did nothing), the tray no longer overlaps the page; v166: a smaller, lighter shadow and a 14px fade (was 36px) so it does not reach as high */
@media (max-width:1023px){
  .qadock{position:relative;z-index:2;border-top:1px solid var(--line);box-shadow:0 -2px 8px -2px rgba(0,0,0,.06);overflow:visible;max-height:none;padding-top:10px}
  .qadock::after{content:"";position:absolute;left:0;right:0;top:-14px;height:14px;pointer-events:none;background:linear-gradient(to bottom,transparent,var(--bg))}
  .hasdock .tabbar{border-top:0}
  #app:not(.hasdock) .tabbar{position:relative;z-index:2;box-shadow:0 -2px 8px -2px rgba(0,0,0,.06)}   /* Chat, Settings, the Vault: no overlap or fade (their own boxes sit at the bottom), no handle (the + is there) */
  #qa-dock .qaline{max-height:46vh;overflow-y:auto}
}
/* v161 (Chris chose A of docs/mockups/desktop-type-first.html): on a computer the quick add box is the star: a still colour ring
   (the iPhone big mic's colours), ✦ instead of the pencil, bigger words; the + sheet has no big mic there (the small 🎤 stays in the box) */
@media (min-width: 1024px) {
  .quickadd { min-height: 56px; border: 2px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, conic-gradient(from 210deg, #3B82F6, #7C5CE0, #D0559F, #F2A33A, #3B82F6) border-box; box-shadow: 0 8px 24px -12px rgba(124, 92, 224, .55); }
  .quickadd:focus-within { border-color: transparent; box-shadow: 0 0 0 4px rgba(124, 92, 224, .14), 0 8px 24px -12px rgba(124, 92, 224, .55); }
  .quickadd .qai > svg { display: none; }
  .quickadd .qai::before { content: "\2726"; font-size: 20px; line-height: 1; font-weight: 700; background: linear-gradient(135deg, #3B82F6, #7C5CE0 45%, #D0559F 75%, #F2A33A); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .quickadd .qainput { font-size: 18px; min-height: 52px; }
  .qaline .qabig { font-size: 24px; }
}
/* v167 (Chris): an X top right on the quick add card closes it (and clears the box) */
.qaline { position: relative; }
.qaline .qax { position: absolute; top: 2px; right: 2px; width: 44px; height: 44px; color: var(--muted); }
.qaline .qah, .qaline .qat { padding-right: 40px; }
/* v170 (Chris chose A of docs/mockups/location-compact.html): the Location tile, two people in a row, the place in a small coloured word */
.tlocgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; padding: 4px 0 2px; }
.tloc { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tlocn { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.tlocn .nm { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tlocs { font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tlocd { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: 1px; background: var(--muted); opacity: .45; }
.tloc.st-home .tlocs { color: var(--ok); font-weight: 600; } .tloc.st-home .tlocd { background: var(--ok); opacity: 1; }
.tloc.st-place .tlocs { color: var(--accent-text); font-weight: 600; } .tloc.st-place .tlocd { background: var(--accent-text); opacity: 1; }
.tloc.st-out .tlocs { color: var(--text); } .tloc.st-out .tlocd { background: var(--muted); opacity: 1; }
/* v171 (Chris chose A of docs/mockups/thread-people.html): who is in a chat about one thing, one line under the card */
.thppl { flex: none; display: flex; align-items: flex-start; gap: 10px; margin: 10px 2px 0; font-size: 14px; line-height: 1.3; color: var(--muted); }
.thstack { display: flex; flex: none; }
.thstack .av { box-shadow: 0 0 0 2px var(--card); }
.thstack .av + .av { margin-left: -8px; }
.thwho { min-width: 0; padding-top: 4px; }
.thwho b { color: var(--text); font-weight: 600; }
.thwho small { display: block; font-size: 12px; margin-top: 2px; }
.thmore { font: inherit; font-weight: 600; color: var(--accent-text); background: none; border: 0; padding: 10px 0; margin: -10px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
/* v172 (Chris chose A+C of docs/mockups/chat-entry.html): the chat as a big button in the sheet, and "Chat"/"Ask" on rows nobody has written in yet */
.thbig { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; margin: 12px 0 0; padding: 12px 16px; border: 0; border-radius: 16px; background: var(--accent); color: var(--on-accent); font: inherit; text-align: left; cursor: pointer; }
.thbig .thstack .av { box-shadow: 0 0 0 2px var(--accent); }
.thbig .thstack > .i { width: 24px; height: 24px; }
.thbig .tbt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.thbig .tbt b { font-size: 17px; font-weight: 700; }
.thbig .tbt small { font-size: 14px; opacity: .85; }
.thbig > .i { flex: none; }
.thbig .thbub.new { background: var(--on-accent); color: var(--accent-text); }
.thbig:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
/* v198 (Chris chose docs/mockups/row-chat-word.html): the row's chat is the last item of its grey line; the invisible ::after makes it ~44px to tap */
.thw { position: relative; white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }
.thw .i { width: 15px; height: 15px; vertical-align: -2px; margin-right: 3px; }
.thw.new { color: var(--accent-text); font-weight: 600; }
.thw::after { content: ''; position: absolute; inset: -8px -14px -10px; }   /* up only 8px so the title above stays the title's; down 10px = the row's own padding, never into the next row */
.okt { display: inline-flex; align-items: center; gap: 2px; color: var(--ok); font-weight: 600; }
.okt .i { width: 14px; height: 14px; }
/* v175 (#382): photo of a bill or receipt */
.billbtns{display:flex;gap:10px}.billbtns .addbtn{flex:1;min-width:0}
.scanph{position:relative;width:100%;max-height:170px;border-radius:12px;overflow:hidden;background:var(--fill)}
.scanph img{display:block;width:100%;height:100%;object-fit:cover;object-position:top}
.scanhl{position:absolute;border:2px solid #E3A21A;border-radius:8px;background:rgba(227,162,26,.18)}
.scanread{margin-top:12px;font-weight:600;font-size:14px;color:var(--muted)}
.scankind{margin-top:8px}
.scanask{background:var(--accent-tint);border-radius:12px;padding:10px 12px}
.scanamt{display:flex;align-items:center;gap:8px}.scanamt .cur{font-weight:700;font-size:18px;min-width:20px}
.scanpriv{margin-top:4px}
.scanbtns{display:flex;gap:10px}.scanbtns .btn{min-height:52px}.scanbtns .filled{flex:1}
.docphw{margin-top:14px}.docph{display:block;width:100%;border-radius:12px;background:var(--fill)}
/* v178 (Chris chose A of qa-mic-ring.html + 1 "Breathe" of docs/mockups/qa-mic-pulse.html): the mic in the quick add box is the big mic, small:
   a 38px accent disc (::after) with the colour ring (::before) and a ✨ badge, inside the same 44px tap target. While it listens the disc
   breathes and flows blue -> purple -> pink -> orange with a glow of the same colour, the ring turns, the ✨ steps aside */
.quickadd .qamic { position: relative; background: none; color: var(--on-accent); margin-right: -2px; }
.quickadd .qamic::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent); box-shadow: 0 6px 12px -8px rgba(31, 95, 168, .9); }
.quickadd .qamic::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; background: conic-gradient(from 210deg, #3B82F6, #7C5CE0, #D0559F, #F2A33A, #3B82F6); -webkit-mask: radial-gradient(circle closest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(circle closest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); }
.quickadd .qamic > .i { position: relative; z-index: 1; width: 20px; height: 20px; }
.quickadd .qamic .spk { position: absolute; top: -4px; right: -5px; z-index: 2; width: 18px; height: 18px; border-radius: 50%; background: var(--card); display: grid; place-items: center; font-size: 10px; line-height: 1; box-shadow: 0 2px 6px -2px rgba(0, 0, 0, .35); }
.quickadd .qamic.on { background: none; color: #fff; animation: qabreathe 1.4s ease-in-out infinite; }
.quickadd .qamic.on::after { animation: qahue 4s linear infinite; }
.quickadd .qamic.on::before { animation: sayspin 2.2s linear infinite; }
.quickadd .qamic.on .spk { display: none; }
@keyframes qabreathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@keyframes qahue { 0%, 100% { background: #3B82F6; box-shadow: 0 0 14px 2px rgba(59, 130, 246, .55); } 25% { background: #7C5CE0; box-shadow: 0 0 14px 2px rgba(124, 92, 224, .55); } 50% { background: #D0559F; box-shadow: 0 0 14px 2px rgba(208, 85, 159, .55); } 75% { background: #F2A33A; box-shadow: 0 0 14px 2px rgba(242, 163, 58, .55); } }
@media (prefers-reduced-motion: reduce) { .quickadd .qamic.on, .quickadd .qamic.on::after, .quickadd .qamic.on::before { animation: none; } .quickadd .qamic.on::after { background: #7C5CE0; box-shadow: 0 0 0 4px rgba(124, 92, 224, .3); } }
/* v179 (Chris): the big mic in the + sheet listens like the small one (v178): it breathes, the disc flows blue -> purple -> pink -> orange
   with a glow of the same colour, the ring turns, the ✨ steps aside; Reduce Motion: still, purple with a soft ring */
.saymic.on .bigmic { animation: qabreathe 1.4s ease-in-out infinite, saybighue 4s linear infinite; color: #fff; }
.saymic.on .bigmic .spk { display: none; }
.saymic.on .bigmic:focus-visible, .quickadd .qamic.on:focus-visible { outline-color: transparent; }   /* the accent focus ring would clash with the flowing colours; the breathing mic shows it is the one in use */
@keyframes saybighue { 0%, 100% { background: #3B82F6; box-shadow: 0 0 28px 6px rgba(59, 130, 246, .5); } 25% { background: #7C5CE0; box-shadow: 0 0 28px 6px rgba(124, 92, 224, .5); } 50% { background: #D0559F; box-shadow: 0 0 28px 6px rgba(208, 85, 159, .5); } 75% { background: #F2A33A; box-shadow: 0 0 28px 6px rgba(242, 163, 58, .5); } }
@media (prefers-reduced-motion: reduce) { .saymic.on .bigmic { animation: none; background: #7C5CE0; box-shadow: 0 0 0 8px rgba(124, 92, 224, .25); } }
/* v180 (Chris chose A of docs/mockups/bills-tabs.html, List #385): Bills page = Bills / Receipts / Warranties, short rows, the photo full screen */
.billhd { display: flex; align-items: center; gap: 8px; }
.billhd h1 { flex: 1; min-width: 0; }
.bhbtn { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--accent-text); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.bhbtn.ic { width: 44px; padding: 0; justify-content: center; font-size: 18px; }
.bhbtn[hidden] { display: none; }
.bseg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 3px; margin: 4px 0 6px; background: var(--fill); border-radius: 12px; }
.bseg button { min-height: 44px; border: 0; border-radius: 8px; background: none; color: var(--muted); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.bseg button.on { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.blist { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.brow { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 6px 6px 6px 10px; border-top: 1px solid var(--line); }
.brow:first-child { border-top: 0; }
.brow .blead, .bthumb { flex: none; width: 42px; height: 42px; border-radius: 12px; }
.brow .blead { display: grid; place-items: center; }
.bthumb { position: relative; padding: 0; border: 1px solid var(--line); background: var(--fill); overflow: hidden; cursor: zoom-in; }
.bthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bthumb .bcam { position: absolute; right: -1px; bottom: -1px; width: 17px; height: 17px; border-radius: 8px 0 8px 0; background: var(--accent); display: grid; place-items: center; font-size: 9px; line-height: 1; }
.bmid { flex: 1; min-width: 0; min-height: 52px; display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 0; border: 0; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.bl1 { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.bl1 .title { flex: 1; min-width: 0; font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bamt { flex: none; font-weight: 700; font-size: 16px; }
.bl2 { display: block; font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bl2 .blate { color: var(--danger); font-weight: 600; } .bl2 .bsoon { color: var(--soon); font-weight: 600; }
.bwho { display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; }
.bpay { flex: none; width: 44px; height: 44px; border-radius: 22px; border: 2px solid var(--line); background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.bpay:hover, .bpay:focus-visible { border-color: var(--accent); color: var(--accent-text); }
.bchev { flex: none; color: var(--muted); padding: 0 6px; display: grid; place-items: center; }
.bpill { flex: none; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-text); white-space: nowrap; margin-right: 4px; }
.bpill.warn { background: var(--danger-tint); color: var(--soon); }
.bpill.gone { background: var(--fill); color: var(--muted); }
.rnwarr { margin: 10px 0 0; }
.docphb { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; }
.docphw .small { margin-top: 6px; }
.phview { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; background: rgba(0, 0, 0, .94); color: #fff; padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); }
.phview[hidden] { display: none; }
.phvtop { display: flex; align-items: center; gap: 12px; padding: 12px 12px 8px 16px; }
.phvh { flex: 1; min-width: 0; }
.phvh b { display: block; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phvh small { display: block; font-size: 13px; color: #C4C8CD; }
.phvx { flex: none; width: 44px; height: 44px; border: 0; border-radius: 22px; background: rgba(255, 255, 255, .16); color: #fff; display: grid; place-items: center; cursor: pointer; }
.phvimg { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 8px 12px; }
.phvimg img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; -webkit-touch-callout: none; }
.phvbar { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 10px 16px 18px; }
.phvbar:empty { display: none; }
.phvb { min-height: 44px; padding: 0 18px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .16); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.phvx:focus-visible, .phvb:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
html.phvon, html.phvon body { overflow: hidden; }
.brow .bmid.titlebtn { align-items: stretch; text-align: left; justify-content: center; width: auto; }
.brow .bl1, .brow .bl2 { text-align: left; justify-content: flex-start; }
.bseg button { display: flex; align-items: center; justify-content: center; text-align: center; }
.quickadd .qamic .spk { font-size: 12px; color: var(--text); }   /* v180: the readability check (12px, a text colour) for the v178 badge */
/* v181 Wind down (List #383): Settings › Reminders and alerts, under Quiet hours */
#wd-card .wdlab{font-weight:600;margin:14px 0 6px}
#wd-card #wd-days{flex-wrap:wrap}
#wd-card.wdoff .row .title,#wd-card.wdoff .row .muted{opacity:.55}
#wd-card #wd-next:empty{display:none}
.bthumb .bcam .i { width: 11px; height: 11px; color: #fff; stroke-width: 2.4; }   /* v184: line icon, not the 📷 emoji */

/* v185: "Reading the photo…" (Chris chose D of docs/mockups/scan-reading.html): the bottom card with the colour ring for a border */
.toast.scanrd{background:linear-gradient(var(--card),var(--card)) padding-box,conic-gradient(from 210deg,#3B82F6,#7C5CE0,#D0559F,#F2A33A,#3B82F6) border-box;
  border:2px solid transparent;border-radius:16px;box-shadow:0 14px 30px -12px rgba(0,0,0,.35);padding:12px 14px}
.toast.scanrd .srtitle{background:linear-gradient(90deg,#3B82F6,#7C5CE0,#D0559F,#F2A33A,#3B82F6);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;font-weight:700;animation:srflow 2.4s linear infinite}
.toast.scanrd .srsub{color:var(--muted);opacity:1;font-weight:500}
.srmini{position:relative;flex:none;width:30px;height:40px;border-radius:4px;background:#FAFAFA;overflow:hidden;box-shadow:0 0 0 1px rgba(0,0,0,.08)}
.srmini i{position:absolute;left:5px;height:2px;border-radius:1px;background:#9A9A9A}
.srmini i:nth-child(1){top:6px;width:20px}.srmini i:nth-child(2){top:12px;width:14px}.srmini i:nth-child(3){top:18px;width:18px}.srmini i:nth-child(4){top:24px;width:12px}.srmini i:nth-child(5){top:31px;width:20px;background:#555}
.srmini b{position:absolute;left:0;right:0;top:2px;height:3px;background:linear-gradient(90deg,#3B82F6,#D0559F,#F2A33A);box-shadow:0 0 6px #D0559F;animation:srbeam 1.2s ease-in-out infinite alternate}
.srglint{position:absolute;inset:0;pointer-events:none;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.10) 50%,transparent 70%);background-size:250% 100%;animation:srglint 1.8s linear infinite}
@keyframes srflow{to{background-position:200% 0}}
@keyframes srbeam{from{top:2px}to{top:35px}}
@keyframes srglint{from{background-position:150% 0}to{background-position:-100% 0}}
@media (prefers-reduced-motion:reduce){.toast.scanrd .srtitle,.srmini b,.srglint{animation:none}.srglint{display:none}}

/* v186: Apple's time wheel in the iPhone app: the clock is a time button (the sheet itself is native) */
.apnbox{min-height:52px}
.apnat{min-height:44px;min-width:96px;padding:6px 16px;border:0;border-radius:12px;background:var(--fill);color:var(--text);font:inherit;font-size:20px;font-weight:600;font-variant-numeric:tabular-nums;cursor:pointer}
.apnat:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.ipanel .apnbox{min-height:0}
.ipanel.ipnat{display:none}

/* v187 (Chris chose A of docs/mockups/say-tiles.html): the four choices under the mic in the + sheet are filled in the tone's light tint
   with icons in the tone's colour, so they read as buttons on the white sheet; the mic stays the strongest thing. The Add sheet's tiles keep their look. */
#say-tiles .atile{background:var(--accent-tint);border-color:transparent}
#say-tiles .atile .i{color:var(--accent-text)}
#say-tiles .atile:focus-visible{outline:3px solid var(--accent);outline-offset:2px}

/* v188 house rules (batch 1 of docs/design-review-13oct.md, Chris 13 Oct 2026): corners are 8 / 12 / 16 px or round, every button is a 12 px
   rounded rectangle, weights stop at 700, section headings are grey sentence case everywhere, status tags share one size,
   the Add form's kinds are ordinary choice chips (outlined; tinted with an accent edge when picked) */
.setb h3.sec{font-size:15px;font-weight:600;letter-spacing:0;text-transform:none}
.hqrl,.wcsub{font-size:15px;font-weight:600;letter-spacing:0;text-transform:none}
.thsec{font-size:15px;font-weight:600;letter-spacing:0;text-transform:none}
.sayor{font-size:15px;font-weight:600;letter-spacing:0;text-transform:none}
.tmlbl{font-size:13px;font-weight:600;letter-spacing:0;text-transform:none}
.pill,.soon,.vbadge,.rcpill,.thbub{font-size:13px;font-weight:600;min-height:26px;border-radius:999px}
.rcpill{display:inline-flex;align-items:center;padding:0 10px}
.rcpill.add{border-radius:12px;min-height:36px;padding:0 14px}
#add-kinds.ktray{padding:0;background:none}
#add-kinds.ktray::before{content:none}
#add-kinds.ktray .kchip{background:var(--card);border-color:var(--line)}
#add-kinds.ktray .kchip[aria-checked="true"]{background:var(--accent-tint);border-color:var(--accent);color:var(--accent-text)}
#add-tiles .atile{background:var(--accent-tint);border-color:transparent}
#add-tiles .atile .i{color:var(--accent-text)}
#add-tiles .atile[aria-checked="true"]{border:2px solid var(--accent)}
@media (max-width:1023.98px){#s-calendar #cal-day .dayhead .caladd{border-radius:50%}}   /* v188: the icon-only + stays round */

/* v189, batch 2 (design review: one row style): the Calendar's Month list, Week, Day and Plan next week use Today's row (calRow) */
.tl-rail .tldot{position:relative;z-index:1;width:12px;height:12px;border-radius:50%;margin-top:6px;box-shadow:0 0 0 3px var(--card)}
.tl-body .trow{background:none;border:0;border-radius:0}
.tl-item + .tl-item .tl-body .trow{border-top:1px solid var(--line)}
.tl-now + .tl-item .tl-body .trow{border-top:0}
.wkdhrow{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:14px}
.wkdhrow .wkdh{margin:0 4px}
.wkdhrow .wkempty{font-weight:400}
.wkadd{flex:none;width:44px;min-height:44px;margin:0;padding:0;justify-content:center;border:0;border-radius:50%;background:var(--accent-tint)}
.wkchips{gap:18px;margin:4px 0 14px}
.wkchip{flex-direction:column;gap:2px;min-height:0;padding:0;border:0;border-radius:0;background:none;font-size:12px;text-align:center}
.wkchip b{font-size:14px}

/* v190, batch 3 (design review: short rows): Subscriptions, Renewals, Birthdays, Phonebook and History use the Bills row (.blist / .brow) */
.blist{border-radius:16px}
.bl2{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}   /* the grey line may take two lines instead of being cut off */
.bcall{flex:none;width:44px;height:44px;border-radius:50%;background:var(--accent-tint);color:var(--accent-text);display:grid;place-items:center;text-decoration:none}
.bcall:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.brow > .av.rav{flex:none;margin:0 3px}
.brow.cancelled .title{color:var(--muted)}

/* v191, batch 4 (design review: one Add style, same bars, Today starts with today) */
.billhd + .err + .totals, .billhd + .lead{margin-top:2px}
#s-postits .billhd + .lead{margin-top:4px}
.setrow{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:10px 14px;border:0;border-radius:16px;background:var(--accent-tint);color:var(--text);text-align:left;font:inherit;cursor:pointer}
.setrow .ticon{background:var(--card);color:var(--accent-text)}
.setrow .setrt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.setrow .setrt .title{font-weight:600;font-size:16px}
.setrow .setrt .muted{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.setrow > .i{color:var(--muted)}
.setrow:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.setuplist{display:flex;flex-direction:column;gap:10px;margin-top:10px}
#today-recover{margin-bottom:10px}

/* v192, batch 5 (design review: names, icons, lists, empty pages) */
/* Settings rows: icons in tinted squares like every other list */
.sethb .ticon{width:34px;height:34px;border-radius:8px;background:var(--accent-tint);color:var(--accent-text);display:grid;place-items:center;flex:none}
.sethb .ticon .i{width:20px;height:20px}
/* Chat list: one grouped list; unread = bold + the number (no green edge) */
#chat-convs{gap:0}
.convrow{border-radius:0;border-bottom-width:0}
.convrow:not(.convrow + .convrow){border-top-left-radius:16px;border-top-right-radius:16px}
.convrow:not(:has(+ .convrow)){border-bottom-left-radius:16px;border-bottom-right-radius:16px;border-bottom-width:1px}
.convrow.unread{border-color:var(--line)}
.convrow.unread .title{font-weight:700}
.convrow .famav.spsq{border-radius:12px;background:var(--spc);color:#fff;font-weight:700}
/* the fridge switcher: one grouped list with a tick on the one showing */
.sp-row{margin-top:0;border-radius:0;border-width:1px;border-top-width:0}
.sp-row:not(.sp-row + .sp-row){margin-top:8px;border-top-width:1px;border-top-left-radius:16px;border-top-right-radius:16px}
.sp-row:not(:has(+ .sp-row)){border-bottom-left-radius:16px;border-bottom-right-radius:16px}
.sp-row[aria-current="true"]{border-width:1px;border-top-width:0;padding:10px 14px;border-color:var(--line);background:var(--card)}
.sp-row[aria-current="true"]:not(.sp-row + .sp-row){border-top-width:1px}
.sp-row[aria-current="true"] .sp-ic:not([class*="spc"]){background:var(--accent-tint);color:var(--accent-text)}
.sp-newbtn{margin-top:12px;width:auto;align-self:flex-start}
.sp-ic[class*="spc"]{background:var(--spc);color:#fff}
/* Who's home: the place tags line up on the right */
#home-card .homerow > .pill{margin-left:auto}
/* empty pages: icon, title, one sentence, one button */
.emptyb{display:flex;flex-direction:column;align-items:center;gap:6px}
.emptyb .eic{width:56px;height:56px;border-radius:16px;background:var(--accent-tint);color:var(--accent-text);display:grid;place-items:center;margin-bottom:4px}
.emptyb .eic .i{width:28px;height:28px}
.emptyb .emptybtn{margin-top:10px}

/* v193 (Chris's screenshot, 13 Oct 2026): on Who's home / Vault / Recently deleted the back button, the ⓘ and a red "1 Overdue" bell did not
   fit, so "Home" ran into the ⓘ. The back button keeps its size; where an ⓘ shares the bar on a phone, the overdue bell shows just the count */
.top .backbtn{flex:none}
@media (max-width:480px){.top:has(.helpi) .bell.overdue > span:not(.cnt){display:none}}

/* v194 (final design check after the 5 batches) */
.quickadd .qai > svg{display:none}   /* every type-a-sentence box has the ✦ (the + sheet showed a pencil) */
.quickadd .qai::before{content:"\2726";font-size:19px;line-height:1;font-weight:700;background:linear-gradient(135deg,#3B82F6,#7C5CE0 45%,#D0559F 75%,#F2A33A);-webkit-background-clip:text;background-clip:text;color:transparent}
#sub-totals{font-size:16px;font-weight:400;color:var(--muted)}   /* the line under a page title is grey everywhere (Sticky Notes, History, Next week) */
#sub-totals .tl{font-weight:400}
#vault-body .btn.filled{margin-top:12px}   /* the vault's Set up button no longer touches the text above */
.setb .homemenu .navcard .ticon{width:34px;height:34px;border-radius:8px;background:var(--accent-tint);color:var(--accent-text);display:grid;place-items:center}   /* pages open from tinted squares; actions (Privacy policy, Download) keep plain icons */
.setb .homemenu .navcard .ticon .i{width:20px;height:20px}
#sub-totals{margin-top:2px}
.addsp .sp-badge[class*="spc"]{background:var(--spc);color:#fff}   /* v194: the fridge in the + and Add sheets in its own colour, like the top bar */
/* v195 "When I leave here" (docs/mockups/leave-here.html 1A): its row in At a place leads with a pin in a tinted square */
.herepin{width:28px;height:28px;border-radius:8px;background:var(--accent-tint);color:var(--accent-text);display:grid;place-items:center;flex:none}
.herepin .i{width:16px;height:16px}
/* v196 (Chris's screenshot): the kinds row scrolls sideways, so its padding:0 cut off the picked chip's outline; room for it */
#add-kinds.ktray .kinds{padding:3px}
.ichips .chip .i{width:16px;height:16px;margin-right:2px}   /* the pin on "At a place" */
.frows .ichips .chip{padding:0 12px}
/* v200 (Chris chose docs/mockups/add-working.html: C + Polished + T1 + card B): no box above the bottom bar on phones (the + opens it);
   the + sheet without the ✦ in the box; the card's parts are pills, a missing part a dashed "Add …" pill; each pill opens its chooser
   (type tiles, 2-week calendar, quick times, people) under the pills; while one is open the big mic and the tiles step aside. */
@media (max-width:1023px){
  #s-today .todaymain > .quickadd, #s-today .todaymain > .qaline{display:none !important}
  #sheet-say .quickadd .qai{display:none}
}
.qaline .qatapw{text-decoration:none;max-width:calc(100% - 40px);margin:0 0 6px}
.qaline .qapen{width:16px;height:16px;color:var(--muted);margin-left:8px;vertical-align:-1px}
.qaline .qapills{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 4px}
.qaline .qapill{display:inline-flex;align-items:center;gap:6px;min-height:44px;max-width:100%;padding:0 10px 0 11px;border:1px solid var(--line);border-radius:22px;background:var(--card);color:var(--text);font:inherit;font-size:16px;font-weight:600;cursor:pointer}
.qaline .qapill>.i{width:19px;height:19px;color:var(--accent-text)}
.qaline .qapill .qachev{width:14px;height:14px;color:var(--muted);transition:transform .15s}
.qaline .qapill .qapl{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.qaline .qapill[aria-expanded="true"]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.qaline .qapill[aria-expanded="true"] .qachev{transform:rotate(180deg)}
.qaline .qapill.qaadd{border:1.5px dashed color-mix(in srgb,var(--accent) 45%,var(--line));background:none;color:var(--accent-text)}
.qaline .qapill:focus-visible,.qaline .qattile:focus-visible,.qaline .qacday:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.qaline .qaavs{display:inline-flex}
.qaline .qaavs .av+.av{margin-left:-8px}
.qaline .qagrey{margin:2px 2px 4px;font-size:15px;color:var(--muted)}
/* v212 Smart reading (docs/mockups/ai-reading.html A): "Reading it…" while Claude reads; the other things in the same sentence under the card */
.qaline.qaread .qatapw,.qaline.qaread .qapills,.qaline.qaread .qagrey{opacity:.55;transition:opacity .3s}
.qaline.qaread #qa-more{display:none}
.qaline.qaread .qabtns{justify-content:center}   /* v214 (Chris): the reading button sits in the middle */   /* v214: the wide reading button needs the row (and More options can't help while Claude reads) */
/* v214 (Chris chose A of docs/mockups/ai-reading-visible.html): while Claude reads, Save is a moving bar in the mic ring's colours (the same deliberate hexes as .bigmic) and can't be tapped; one soft pulse when the card is ready */
.qaline .qaaibtn{background:linear-gradient(90deg,#3B82F6,#7C5CE0,#D0559F,#F2A33A,#3B82F6);background-size:200% 100%;color:#fff;cursor:default;animation:qaflow 1.6s linear infinite}
@keyframes qaflow{to{background-position:-200% 0}}
.qaline .qapulse{animation:qapulse .9s ease-out 1}
@keyframes qapulse{0%{box-shadow:0 0 0 0 rgba(124,92,224,.55)}100%{box-shadow:0 0 0 14px rgba(124,92,224,0)}}
.saybyc{color:var(--accent-text);font-weight:600}
@media (prefers-reduced-motion:reduce){.qaline .qaaibtn,.qaline .qapulse{animation:none}}
.qaline .qamore{margin:6px 0 2px;background:var(--card);border-radius:12px;padding:2px 0}
.qaline .qamoreh{margin:8px 12px 2px;font-size:13px;font-weight:600;color:var(--muted)}
.qaline .qamorerow{display:flex;align-items:center;border-top:1px solid var(--line)}
.qaline .qamorerow:first-of-type{border-top:0}
.qaline .qamoret{flex:1;min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;min-height:48px;padding:6px 4px 6px 12px;border:0;background:none;color:var(--text);font:inherit;font-size:15px;text-align:left;cursor:pointer}
.qaline .qamoret .i{color:var(--accent-text);flex:none}
.qaline .qamoret span:first-of-type{flex:1;min-width:0;overflow-wrap:anywhere}
.qaline .qamoreneed{font-size:13px;font-weight:600;color:var(--soon)}
.qaline .qamorex{flex:none;width:44px;height:44px;color:var(--muted)}
.qaline .qapick{margin:8px 0 2px;padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--card)}
.qaline .qawhorow.qapick{align-items:center}
.qaline .qapickdone{margin-left:auto}
.qaline .qacalt{margin:0 2px 6px;font-size:15px;font-weight:700}
.qaline .qacdow,.qaline .qacgrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;text-align:center}
.qaline .qacdow span{padding-bottom:4px;font-size:12px;font-weight:700;color:var(--muted)}
.qaline .qacday{position:relative;height:44px;border:0;border-radius:22px;background:none;color:var(--text);font:inherit;font-size:16px;font-weight:600;cursor:pointer;padding:0}
.qaline .qacday:disabled{opacity:.35;cursor:default}
.qaline .qacday.tdy{box-shadow:inset 0 0 0 1.5px var(--accent);color:var(--accent-text)}
.qaline .qacday.sel{background:var(--accent);color:var(--on-accent);box-shadow:none}
.qaline .qadot{position:absolute;left:50%;bottom:5px;width:5px;height:5px;margin-left:-2.5px;border-radius:50%;background:var(--accent-text)}
.qaline .qacday.sel .qadot{background:var(--on-accent)}
.qaline .qalater{display:block;width:100%;min-height:44px;margin-top:4px;color:var(--accent-text);font-weight:700}
.qaline .qatimes{display:flex;flex-wrap:wrap;gap:6px}
.qaline .qatimes .chip{min-height:40px}
.qaline .qaother{color:var(--accent-text)}
.qaline .qatgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.qaline .qattile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:64px;padding:6px 2px;border:1px solid transparent;border-radius:12px;background:var(--accent-tint);color:var(--text);font:inherit;font-size:13px;font-weight:600;text-align:center;cursor:pointer}
.qaline .qattile .i{width:22px;height:22px;color:var(--accent-text)}
.qaline .qattile[aria-pressed="true"]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.qaline .qatmore{margin:10px 2px 6px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.qaline .qaamtrow .qacur{font-size:18px;font-weight:700}
#sheet-say.qapicking #say-micw,#sheet-say.qapicking .sayor,#sheet-say.qapicking #say-tiles{display:none !important}
.holdtip{display:flex;align-items:center;gap:10px;width:100%;margin:4px 0 0;padding:4px 2px 4px 10px;border-radius:12px;background:var(--accent-tint);font-size:14px;line-height:1.3;color:var(--muted);text-align:left}
.holdtip[hidden],.saypriv[hidden]{display:none}
.holdtip .htfab{flex:none;width:26px;height:26px;border-radius:50%;background:var(--accent);color:var(--on-accent);display:grid;place-items:center}
.holdtip .htfab .i{width:16px;height:16px;stroke-width:2.6}
.holdtip .htx{flex:1}
.holdtip .htx b{color:var(--text)}
/* v205 (Chris chose C of docs/mockups/qa-box-colours.html): the "Type anything" box in the person's own colour tone with a soft glow,
   not the v161/v178 rainbow ring; the ✦ in the tone too; the mic is a plain tone disc (no ring, no ✨ badge) until it listens -
   then the rainbow ring turns and the disc breathes and flows as before (v178). Computers and the phone dock alike. */
@media (min-width: 1024px) {
  .quickadd { border: 2px solid var(--accent); background: var(--card); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent), 0 8px 24px -12px color-mix(in srgb, var(--accent) 60%, transparent); }
  .quickadd:focus-within { border-color: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 20%, transparent), 0 8px 24px -12px color-mix(in srgb, var(--accent) 60%, transparent); }
  .quickadd .qai::before { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--accent); }
}
.qadock .quickadd { border: 2px solid var(--accent); background: var(--card); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent), 0 6px 18px -10px color-mix(in srgb, var(--accent) 60%, transparent); }
.qadock .quickadd:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent), 0 6px 18px -10px color-mix(in srgb, var(--accent) 60%, transparent); }
.qadock .quickadd .qai::before { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--accent); }
.quickadd .qamic:not(.on)::before { display: none; }
.quickadd .qamic .spk { display: none; }
.quickadd .qamic:not(.on)::after { box-shadow: 0 6px 12px -8px color-mix(in srgb, var(--accent) 90%, transparent); }

/* v206 (Chris chose B of docs/mockups/reminder-sheet.html, "Other…" instead of "Pick a time", everywhere): the snooze choices are
   buttons (they act at once), not chips: tinted, 12px corners, equal width, one row; when they do not fit, the last ones take a row of
   their own at full width (never squashed). Same in the reminder sheet, the All-my-fridges sheet and the Snooze box. */
.snzc{display:flex !important;flex-wrap:wrap;gap:6px !important;flex-basis:100%;margin:8px 0 4px 0 !important;justify-content:stretch}
.snooze-opts{gap:6px}
.chip.snzb{flex:1 1 0;min-width:max-content;min-height:44px;padding:0 10px !important;border:1px solid var(--line) !important;border-radius:12px !important;background:var(--card) !important;color:var(--accent-text) !important;font-size:14px;font-weight:600;justify-content:center}
.chip.snzb + .chip::before{content:none !important}
.chip.snzb[aria-expanded="true"]{background:var(--accent) !important;color:var(--on-accent) !important}
.chip.snzb.def{box-shadow:inset 0 0 0 1.5px var(--accent)}   /* your usual snooze (Settings) */
.group .card.rem .snooze-opts{margin-left:0}

/* v207 (Chris chose B of docs/mockups/fridge-colour.html): a fridge's look = colour (.spc0-.spc7) + a picture or its letter */
.spc6{--spc:#4A5A6A}.spc7{--spc:#8A6410}
.sp-badge[class*="spc"],.spsq[class*="spc"]{background:var(--spc);color:#fff}
.sp-badge .i,.sp-ic .i,.spsq .i{width:62%;height:62%;color:inherit}
.sp-badge.splook{width:26px;height:26px}
.lookprev{display:flex;align-items:center;gap:14px;padding:4px 0 14px;border-bottom:1px solid var(--line)}
.lookprev .lookbig{width:56px;height:56px;border-radius:12px;font-size:24px}
.lookcols{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.lookcol{position:relative;min-height:44px;border:0;border-radius:12px;background:var(--spc);color:#fff;display:grid;place-items:center;cursor:pointer}
.lookcol[aria-checked="true"]{box-shadow:0 0 0 3px var(--card),0 0 0 5px var(--text)}
.lookcol.used::after{content:"";position:absolute;right:6px;top:6px;width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.9)}
.lookcol:focus-visible,.lookic:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.lookdot{margin:8px 0 0}
.lookics{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.lookic{min-height:44px;border:0;border-radius:12px;background:var(--accent-tint);color:var(--accent-text);display:grid;place-items:center;font:inherit;font-weight:700;font-size:17px;cursor:pointer}
.lookic[aria-checked="true"]{background:var(--accent);color:var(--on-accent)}
#sc-look .frv{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:8px}
#sc-look .frv .frm{white-space:nowrap}
h3.sec.lookh{font-size:15px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--muted);margin:16px 2px 8px}

/* v208 (Chris 14 Oct 2026, "both personal"): each person gives each fridge a colour (and picture); the app takes that tone in it.
   The 8 fridge colours ARE the tones: .spc0-.spc7 = Ocean, Sage, Plum, Clay, Teal, Rose, Graphite, Gold. Teal and Gold are new tones
   (plain grey page like Clay/Rose/Graphite: the faint page tint stays only Sage, Ocean and Plum, section 14). */
.spc0{--spc:#1F5FA8}.spc1{--spc:#3D6B54}.spc2{--spc:#6A4C9C}.spc3{--spc:#B04A1E}.spc4{--spc:#1C6F75}.spc5{--spc:#B0325E}.spc6{--spc:#33383D}.spc7{--spc:#8A6410}
:root[data-tone="teal"]{--accent:#1C6F75;--on-accent:#FFFFFF;--accent-tint:#E0F0EF;--accent-text:#1C6F75}
:root[data-tone="gold"]{--accent:#8A6410;--on-accent:#FFFFFF;--accent-tint:#F5EDDB;--accent-text:#7A580C}
:root[data-theme="dark"][data-tone="teal"]{--accent:#79D3CB;--on-accent:#111315;--accent-tint:#1B2E2D;--accent-text:#79D3CB}
:root[data-theme="dark"][data-tone="gold"]{--accent:#E8C470;--on-accent:#111315;--accent-tint:#2F2818;--accent-text:#E8C470}
@media (prefers-color-scheme:dark){
  :root[data-theme="system"][data-tone="teal"]{--accent:#79D3CB;--on-accent:#111315;--accent-tint:#1B2E2D;--accent-text:#79D3CB}
  :root[data-theme="system"][data-tone="gold"]{--accent:#E8C470;--on-accent:#111315;--accent-tint:#2F2818;--accent-text:#E8C470}
}
/* v218 Get set up (docs/mockups/setup-guide.html, option A) */
.gsbar{height:8px;border-radius:999px;background:var(--fill);overflow:hidden;margin:12px 0 4px}
.gsbar i{display:block;height:100%;width:0;background:var(--accent);border-radius:999px;transition:width .35s}
.gslist .bl2{white-space:normal}
.ticon.gsdone{background:var(--ok-tint);color:var(--ok)}
.gstick{flex:none;width:28px;height:28px;margin:0 6px;border-radius:50%;background:var(--ok);color:var(--card);display:grid;place-items:center}
.gswhy{margin:0 0 14px;font-size:17px}
.gssteps{margin:0;padding:0;list-style:none;display:grid;gap:10px;counter-reset:gs}
.gssteps li{display:flex;gap:12px;font-size:16px;counter-increment:gs}
.gssteps li::before{content:counter(gs);width:26px;height:26px;border-radius:50%;background:var(--accent-tint);color:var(--accent-text);font-size:14px;font-weight:700;display:grid;place-items:center;flex:none}
.gsacts{display:grid;gap:8px}
.gsacts .btn{width:100%}
.gsapps{display:grid;gap:8px}   /* v306: a computer offers both apps */

/* v219: vault sharing (docs/mockups/vault-sharing.html A) */
.vfrom{color:var(--accent-text);font-weight:600}
.vspl{margin-top:4px}
.vsp{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:10px 14px;background:transparent;border:0;text-align:left;color:var(--text);font:inherit}
.vsp + .vsp{border-top:1px solid var(--line)}
.vsp .vt{flex:1;min-width:0}
.vsp.off .av,.vsp.off .vt{opacity:.6}
.vsp > .btn{min-height:36px;padding:0 14px;font-size:15px;flex:none}
.vtick{width:26px;height:26px;border-radius:50%;border:2px solid var(--line);display:grid;place-items:center;flex:none;color:var(--on-accent)}
.vtick .i{visibility:hidden;width:16px;height:16px}
.vsp[aria-checked="true"] .vtick{background:var(--accent);border-color:var(--accent)}
.vsp[aria-checked="true"] .vtick .i{visibility:visible}

/* v220: In the aisle (supermarket mode, Chris chose A of docs/mockups/supermarket-mode.html). Bigger than the usual sizes on
   purpose (22px item words, 76px rows, 56px buttons): design-system section 8. */
.aisle-mode{position:fixed;inset:0;z-index:50;display:flex;flex-direction:column;background:var(--bg);color:var(--text);padding-top:env(safe-area-inset-top)}
.aisle-mode[hidden]{display:none}
body.am-on{overflow:hidden}
.amtop{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:52px;padding:8px 16px 0}
.amname{display:flex;align-items:center;gap:6px;min-width:0;font-size:15px;font-weight:600;color:var(--muted);overflow-wrap:anywhere}
.amwake{flex:none;display:inline-flex;align-items:center;gap:5px;min-height:44px;padding:0 12px;border:0;border-radius:999px;background:var(--fill);color:var(--muted);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.amwake[aria-pressed="true"]{background:var(--ok-tint);color:var(--ok)}
.amleft{font-size:34px;font-weight:700;letter-spacing:-.02em;padding:0 16px;margin:2px 0 8px}
.amleft small{font-size:17px;font-weight:400;letter-spacing:0;color:var(--muted)}
.amprog{height:8px;border-radius:999px;background:var(--fill);overflow:hidden;margin:0 16px 6px;flex:none}
.amprog i{display:block;height:100%;background:var(--accent);border-radius:999px;transition:width .35s}
.amscroll{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:0 16px 24px}
.amsec{display:flex;justify-content:space-between;gap:8px;font-size:18px;font-weight:700;color:var(--text);margin:18px 4px 8px}
.amsec span{font-size:15px;font-weight:600;color:var(--muted)}
.amsec.got{color:var(--muted)}
.amgroup{background:var(--card);border-radius:16px;overflow:hidden}
.amrow{display:flex;align-items:center;gap:16px;width:100%;min-height:76px;padding:12px 16px;background:none;border:0;border-top:1px solid var(--line);color:inherit;font:inherit;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
.amrow:first-child{border-top:0}
.amrow:active{background:var(--fill)}
.ambox{width:40px;height:40px;border-radius:50%;border:2.5px solid var(--muted);display:grid;place-items:center;flex:none;color:transparent}
.ambox .i{width:22px;height:22px;stroke-width:2.8}
.amrow[aria-checked="true"] .ambox{background:var(--ok);border-color:var(--ok);color:var(--card)}
.amw{flex:1;min-width:0}
.amtx{display:block;font-size:22px;font-weight:600;line-height:1.25;overflow-wrap:anywhere}
.amrow[aria-checked="true"] .amtx{font-weight:400;color:var(--muted);text-decoration:line-through}
.amnew{display:block;font-size:15px;font-weight:600;color:var(--accent-text)}
.amrow.flash{animation:amflash 1.2s ease-out}
@keyframes amflash{from{background:var(--accent-tint)}to{background:transparent}}
@media (prefers-reduced-motion:reduce){.amrow.flash{animation:none}}
.amdone{display:grid;justify-items:center;gap:10px;padding:40px 20px;text-align:center}
.amdone .sq{width:64px;height:64px;border-radius:16px;background:var(--ok-tint);color:var(--ok);display:grid;place-items:center}
.amdone .sq .i{width:34px;height:34px}
.amdone b{font-size:22px}
.amdone p{margin:0;font-size:16px;color:var(--muted)}
.amadd{display:flex;gap:8px;padding:10px 16px 0;background:var(--card);border-top:1px solid var(--line)}
.amadd .input{flex:1;min-width:0}
.amadd + .amthumb{border-top:0}
.amthumb{display:flex;gap:10px;padding:10px 16px calc(max(12px,env(safe-area-inset-bottom)) + 8px);background:var(--card);border-top:1px solid var(--line)}
.amthumb .btn{min-height:56px;font-size:17px}
.amthumb .btn.tonal{flex:none}
.amthumb .btn.filled{flex:1;width:auto}
.amthumb .amplus{width:56px;padding:0;border-radius:50%}
.amthumb .amplus .i{width:24px;height:24px}

/* v221: offline (docs/mockups/offline-mode.html A): a change that has not reached the server yet */
.shop .by.pend,.amnew.pend{color:var(--soon);display:inline-flex;align-items:center;gap:4px}
.shop .by.pend .i,.amnew.pend .i{width:14px;height:14px}
.trm .pend,.nwhen.pend,.mtime.pend{color:var(--soon);display:inline-flex;align-items:center;gap:3px}
.mtime.pend{color:inherit;opacity:.85}   /* on a coloured chat bubble the bubble's own text colour stays readable */
.trm .pend .i,.nwhen.pend .i,.mtime.pend .i{width:13px;height:13px}
.offwarn{display:flex;gap:8px;align-items:flex-start;margin:8px 0 0;padding:10px 12px;border-radius:12px;background:var(--fill);color:var(--text);font-size:14px}
.offwarn .i{width:16px;height:16px;flex:none;margin-top:2px;color:var(--soon)}
/* v224 Chores page (docs/mockups/chores-page.html, A): the quiet "Last 30 days" count */
.chofair{display:grid;gap:10px;padding:14px}
.chofl{display:grid;grid-template-columns:minmax(84px,auto) 1fr 28px;align-items:center;gap:10px;font-size:15px}
.chofn{display:inline-flex;align-items:center;gap:6px;min-width:0;overflow-wrap:anywhere}
.chotr{height:10px;border-radius:999px;background:var(--fill);overflow:hidden}
.chotr i{display:block;height:100%;border-radius:999px;min-width:4px}
.chofc{text-align:right;font-weight:600}
.chofair p{margin:0}
.chodn .trt{color:var(--muted)}
/* v230 (docs/mockups/freezer.html): the Freezer. The + sheet's day chooser ends with Later date… and a Freezer chip; Take it out in the sheet */
.qaline .qacalfoot{display:flex;align-items:center;gap:8px;margin-top:4px}
.qaline .qacalfoot .qalater{flex:1;width:auto;margin-top:0}
.qaline .qafrz{flex:none;display:inline-flex;align-items:center;gap:6px}
.frzpick{padding:4px 14px 12px;display:flex;flex-direction:column;gap:8px;border-top:0}
.frzpick .frzl{margin:6px 0 0;font-size:15px;font-weight:600;color:var(--muted)}
.frzpick .chips{display:flex;flex-wrap:wrap;gap:8px}
.frzpick #frz-note{margin:0}
.frzpick #frz-go{align-self:stretch;margin-top:4px}
.frzpick .ipanel,.frzpick .dstrip{margin-inline:-8px}
.frows .ichips.iwrap{flex-wrap:wrap;overflow-x:visible}   /* v230: When has 5 quick picks (Any time, Freezer): they wrap, none hides off the edge */
/* Android 3: the Android app's lock covers everything until the fingerprint / face / PIN (app.js alCover) */
.alock{position:fixed;inset:0;z-index:2000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px;text-align:center;background:var(--bg)}
.alock[hidden]{display:none}
.alock-ic{width:88px;height:88px;border-radius:22px}
.alock-t{margin:10px 0 0;font-size:22px}
.alock-s{margin:0 0 10px;max-width:280px}
.alock .btn{min-width:160px}
html.alocked body{overflow:hidden}
/* v237 live location: the Map button in Who's home, the line under it on the web, My children rows */
.homerow .livebtn{margin-left:auto}
.liveinl{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.livekid+.livekid{border-top:1px solid var(--line);margin-top:6px;padding-top:6px}
#live-who .loct,#live-kids .loct,#live-parents .loct,#help-to .loct{flex:1}
#live-who .loct .pill{margin-left:8px;vertical-align:middle}
/* v240: on Android every sheet sits on the keyboard (app.js sets --kbr from visualViewport; 0 when Chrome already shrinks the page) */
html.andr .sheet{bottom:var(--kbr,0px);max-height:calc(94% - var(--kbr,0px))}
/* v246: in the Android app the page is exactly the part on screen (app.js --apph), so the bottom bar never sits under the edge */
html.andrapp #app{height:var(--apph,100dvh)}
/* v251 The Fridge in 1995 (Chris chose docs/mockups/fridge-door.html): drawn paper on a drawn steel door. A drawing, so its paper,
   ink and steel colours stay the same in every tone and in dark mode (design-system 8). Sizes in cqw = % of the door's width. */
.f95link{display:flex;align-items:center;justify-content:center;gap:8px;margin:20px auto 8px;min-height:44px;padding:0 12px;border:0;background:none;color:var(--muted);font:inherit;font-size:14px;cursor:pointer}
.f95link:hover span:first-child{text-decoration:underline}
.f95sq{width:16px;height:16px;background:#FCEE8C;transform:rotate(-8deg);box-shadow:1px 2px 2px rgba(0,0,0,.2);flex:none}
.f95door{position:relative;width:100%;max-width:560px;margin:4px auto 0;aspect-ratio:100/158;container-type:inline-size;border-radius:2.6cqw;
  background:repeating-linear-gradient(90deg,rgba(255,255,255,.07) 0 .4cqw,rgba(0,0,0,.025) .4cqw .8cqw),linear-gradient(100deg,#B9BDC1,#E3E5E7 38%,#CDD0D3 62%,#AEB2B6);
  box-shadow:inset 0 0 0 .4cqw rgba(0,0,0,.08),0 2cqw 4cqw rgba(0,0,0,.18)}
.f95door::after{content:"";position:absolute;right:2.2cqw;top:16%;height:30%;width:2.2cqw;border-radius:2cqw;background:linear-gradient(90deg,#8E9398,#F4F5F6 45%,#A3A8AD);box-shadow:0 .6cqw 1.2cqw rgba(0,0,0,.25)}
.f95p{position:absolute;left:var(--x);top:var(--y);width:var(--w);transform:rotate(var(--r));color:#2B2B2B;line-height:1.12;overflow-wrap:anywhere;
  filter:drop-shadow(.4cqw .6cqw .6cqw rgba(30,30,30,.26)) drop-shadow(.1cqw .1cqw .1cqw rgba(0,0,0,.2));transition:transform .7s cubic-bezier(.5,0,.75,0),opacity .7s ease-in}
.f95ink{display:block;font-family:"Marker Felt","Chalkboard SE","Segoe Print","Bradley Hand",cursive;color:var(--ic,#1E2A6E)}
.f95ink small{display:block;font-size:.72em;margin-top:.35em;opacity:.85}
.f95st{aspect-ratio:1;font-size:3.5cqw;display:flex;align-items:center;justify-content:center;text-align:center;padding:1.4cqw;overflow:hidden;
  background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,0) 20%),linear-gradient(170deg,rgba(255,255,255,0) 55%,rgba(255,255,255,.3) 82%,rgba(0,0,0,.08)),var(--c,#FCEE8C);border-bottom-right-radius:40% 6%}
.f95st.k2{border-bottom-right-radius:.2cqw;border-bottom-left-radius:40% 6%}
.f95list{font-size:2.9cqw;font-family:"Marker Felt","Chalkboard SE","Segoe Print","Bradley Hand",cursive;color:#1E2A6E;padding:.3em .55em .5em;line-height:1.15em;border-top:.35em solid #E7A1A1;
  background:linear-gradient(170deg,rgba(255,255,255,0) 60%,rgba(0,0,0,.07)),repeating-linear-gradient(180deg,#FDFDFB 0 1.15em,#BFD6EE 1.15em calc(1.15em + 1px));border-bottom-right-radius:50% 5%}
.f95list b{font-size:1.12em;font-weight:400;color:#1D1D1D}
.f95bill,.f95cal{font-family:var(--font,-apple-system,BlinkMacSystemFont,system-ui,sans-serif);background:#FBFBF7}
.f95bill{font-size:2.5cqw;padding:1.1em .7em .7em;display:flex;flex-direction:column;gap:.15em}
.f95bill::before,.f95cal::before{content:"";position:absolute;left:50%;top:-.6em;width:1.4em;height:1.4em;margin-left:-.7em;border-radius:50%;background:#D9433A;box-shadow:inset -.15em -.2em .3em rgba(0,0,0,.3),0 .1em .2em rgba(0,0,0,.3)}
.f95cal::before{background:#4C9B6F}
.f95bill .bh{font-weight:800;color:#1F3A5F;border-bottom:1px solid #C9CED4;padding-bottom:.25em}
.f95bill .bl{font-size:.85em;color:#6B6F73}
.f95bill .ba{font-size:1.8em;font-weight:800;letter-spacing:-.02em;line-height:1.05}
.f95bill .stamp{align-self:flex-start;font-weight:700;color:#B3261E;border:.16em solid rgba(205,38,28,.85);border-radius:50% 46% 52% 44%;padding:.1em .45em;transform:rotate(-4deg)}
.f95bill .stamp.fn{color:#fff;background:#C0261C;border-color:#C0261C;border-radius:.2em;transform:rotate(-8deg)}
.f95cal{font-size:2.3cqw;padding:.5em .5em .6em}
.f95cal .ch{display:block;text-align:center;font-weight:800;letter-spacing:.08em;color:#B3261E;margin-bottom:.2em}
.f95cal .cg{display:grid;grid-template-columns:repeat(7,1fr);gap:.1em;font-size:.9em;line-height:1.35em;text-align:center;color:#555}
.f95cal .cg .c{color:#B3261E;font-weight:800;box-shadow:0 0 0 .13em #D9433A;border-radius:50%}
.f95cal .cg .xd{color:#999;text-decoration:line-through}
.f95inv{font-size:2.7cqw;padding:.7em .5em;text-align:center;font-family:Georgia,"Times New Roman",serif;display:flex;flex-direction:column;gap:.15em;border:.14em solid #D8C79E;background:linear-gradient(160deg,rgba(255,255,255,.4),rgba(0,0,0,.04)),#FBF5E6;color:#2B2B2B}
.f95inv i{font-size:.9em;color:#8A6D2F}.f95inv b{font-size:1.25em;font-weight:400}
.f95clean{position:absolute;left:30%;top:38%;width:40%;aspect-ratio:1;font-size:6cqw;display:flex;align-items:center;justify-content:center;text-align:center;padding:3cqw;background:#FCEE8C;
  transform:rotate(-3deg) scale(.8);opacity:0;filter:drop-shadow(.4cqw .8cqw .8cqw rgba(30,30,30,.3));transition:opacity .5s .9s,transform .5s .9s;pointer-events:none}
.f95clean .f95ink{color:#222}
.f95clean.on{opacity:1;transform:rotate(-3deg) scale(1)}
.f95floor{text-align:center;color:var(--muted);font-size:14px;margin:12px 0 0}
.f95btns{display:flex;gap:10px;max-width:560px;margin:16px auto 0}
.f95btns .btn.filled{flex:1}
#f95-counts{max-width:560px;margin:8px auto 0}
.f95row{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:8px 14px;border:0;border-top:1px solid var(--line);background:none;color:var(--text);font:inherit;text-align:left;cursor:pointer}
.f95row:first-child{border-top:0}
.f95rt{flex:1;font-size:16px;font-weight:600}
.f95rn{color:var(--muted);font-variant-numeric:tabular-nums}
.f95row>.i:last-child{color:var(--muted)}
.f95pulse{animation:f95pulse .5s ease 2}
@keyframes f95pulse{50%{transform:scale(1.2)}}
.f95seg{grid-template-columns:1fr 1fr}
.f95pic{margin:12px 0;min-height:200px;display:grid;place-items:center}
.f95img{display:block;width:100%;border-radius:16px;box-shadow:0 6px 18px -10px rgba(0,0,0,.4)}
.f95hide{margin-top:4px}
.f95warn{margin:8px 4px 0;font-size:14px;color:var(--danger)}
@media (prefers-reduced-motion:reduce){.f95p,.f95clean{transition:none}.f95pulse{animation:none}}

/* v256 Calendar redesign (Chris, 17 Oct 2026, the calendar-redesign package: docs/mockups/calendar-redesign/): "Calendar" title with
   "+ Add", a plain segmented Day / Week / Month with Today beside it, the people row as round chips (badge + name), the month in one
   card with ‹ October 2026 › on top, lettered badges in the cells, the chosen day tinted with an accent edge, today underlined, and
   the chosen day's list beside the month on a computer. Every feature stays (Day timeline, Week grid, filters, Add on a day/time). */
#s-calendar .cal-hd{margin-top:4px}
#s-calendar .cal-hd h1{margin:0}
#s-calendar .cal-ctl{display:flex;align-items:center;gap:8px;margin-top:12px}
#s-calendar .cal-ctl .seg{flex:1;display:flex;gap:4px;padding:4px;background:var(--fill);border-radius:12px;position:static;isolation:auto}
#s-calendar .cal-ctl .seg::before{content:none}
#s-calendar .cal-ctl .seg .chip{flex:1;min-height:44px;height:44px;padding:0 8px;border:0;border-radius:8px;background:none;color:var(--muted);font-size:15px;font-weight:600;box-shadow:none}
#s-calendar .cal-ctl .seg .chip[aria-checked="true"]{background:var(--card);color:var(--text);box-shadow:0 1px 3px rgba(0,0,0,.14)}
#s-calendar .cal-ctl .seg .chip[aria-checked="true"]::before{content:none}
#s-calendar .calbtn{flex:none;min-height:52px;padding:0 16px;border:0;border-radius:12px;background:var(--fill);color:var(--text);font:inherit;font-size:15px;font-weight:600;cursor:pointer}
#s-calendar .calbtn[hidden]{display:none}
#s-calendar .cal-people{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;margin:12px 0 0;padding:2px 0;scrollbar-width:none}
#s-calendar .cp{flex:none;display:inline-flex;flex-direction:row;align-items:center;gap:8px;min-height:44px;padding:0 14px 0 6px;border:1px solid var(--line);border-radius:999px;background:var(--card);color:var(--text);font:inherit;cursor:pointer}
#s-calendar .cp.cpall{padding:0 16px}
#s-calendar .cp .av{width:30px;height:30px;font-size:13px;box-shadow:none}
#s-calendar .cp .cpn{font-size:15px;font-weight:500;line-height:1.2;white-space:nowrap}
#s-calendar .cp[aria-checked="true"]{background:var(--accent-tint);border-color:var(--accent);color:var(--accent-text)}
#s-calendar .cp[aria-checked="true"] .cpn{font-weight:600}
#s-calendar .cp[aria-checked="true"] .av{box-shadow:none}
#s-calendar .cal-nav{display:flex;align-items:center;gap:4px;min-height:48px}
#s-calendar .cal-nav h2{flex:1;min-width:0;margin:0;text-align:center;font-size:18px;font-weight:700;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#s-calendar .cal-nav .iconbtn{flex:none;color:var(--text)}
#s-calendar #cal-body > .cal-nav{margin-top:8px;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:2px}
#s-calendar .cal-card{padding:2px 2px 10px;margin-top:12px}
#s-calendar .cal-grid{gap:2px 0}
#s-calendar .cal-grid .dow{font-size:12px;font-weight:600;color:var(--muted);padding:2px 0 6px}
#s-calendar .cal-grid .day{height:auto;min-height:48px;padding:5px 0 4px;gap:3px;border-radius:12px;background:none;box-shadow:none}
#s-calendar .cal-grid .day .n{font-size:16px;font-weight:600;line-height:20px;padding:0 2px 1px;border-bottom:2px solid transparent;border-radius:0}
#s-calendar .cal-grid .day.past .n{color:var(--muted);font-weight:500}
#s-calendar .cal-grid .day.today{box-shadow:none}
#s-calendar .cal-grid .day.today .n{color:var(--accent-text);font-weight:700;border-bottom-color:var(--accent)}
#s-calendar .cal-grid .day.sel{background:var(--accent-tint);box-shadow:inset 0 0 0 1.5px var(--accent)}
#s-calendar .cal-grid .day.sel .n{color:var(--accent-text);font-weight:700}
@media (hover:hover){#s-calendar .cal-grid .day:not(.sel):hover{background:var(--fill)}}
#s-calendar .marks{display:flex;gap:1px;align-items:center;justify-content:center;height:16px}
#s-calendar .mk{display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;flex:none;font-size:12px;font-weight:700;font-style:normal;line-height:1;color:var(--on-av)}
#s-calendar .mk.bar{width:16px;height:16px;border-radius:4px}
#s-calendar .mk.a-all{background:var(--muted)}
#s-calendar .day.sel .mk{box-shadow:none}
/* v459 (Chris chose B of docs/mockups/month-calm/, 12 Nov 2026): a phone's month day: every badge round (no reminder/event shapes), at most 2,
   a busier day = 1 badge + a grey "+N"; no key line (the people row above already says who is who). A computer keeps its lines and key. */
#s-calendar .marks .mk.bar{border-radius:50%}
#s-calendar .marks{gap:2px}
#s-calendar .mmore{font-size:12px;font-weight:600;line-height:16px;color:var(--muted);margin-left:1px}
@media (max-width:1023px){#s-calendar .cal-key{display:none}}
/* v460 (Chris, 13 Nov 2026): the day area under the phone's month keeps at least a heading + two rows (155 px measured), so an empty day never makes the page shorter and jump */
@media (max-width:1023px){#s-calendar #cal-day{min-height:160px}}
#s-calendar .cal-key{margin:8px 4px 0;line-height:1.5}
#s-calendar .cal-key i.mk{display:inline-grid;width:16px;height:16px;background:var(--muted);vertical-align:-3px;margin:0 4px 0 6px;font-size:12px;border-radius:50%}
#s-calendar .cal-key i.mk:first-child{margin-left:0}
#s-calendar .cal-key i.mk.bar{border-radius:4px}
#s-calendar .cal-key .ckall{white-space:nowrap}
#s-calendar .dplus{background:var(--accent);color:var(--on-accent);top:2px;right:2px;bottom:auto;width:14px;height:14px}
#s-calendar .dplus .i{width:10px;height:10px}
#s-calendar #cal-day .dayhead{margin:16px 4px 8px;align-items:center}
#s-calendar #cal-day .dayhead h2{font-size:15px;font-weight:600;color:var(--muted)}
#s-calendar #cal-day .dayhead > .muted{font-size:15px}
#s-calendar .caladd{min-height:44px;padding:0 10px;border-radius:12px;background:none;color:var(--accent-text);font-size:15px;font-weight:600}
#s-calendar .caladd:hover{background:var(--accent-tint);filter:none}
#s-calendar #cal-day .dayhead .caladd{width:auto;margin:-8px -6px -8px 0;padding:0 10px;border-radius:12px;justify-content:center}
#s-calendar #cal-day .dayhead .caladd span{display:inline}
#s-calendar .calday-top{margin:4px 0 -4px}
#s-calendar .calplan{border-radius:16px}
#s-calendar .wg-dw{text-transform:none;letter-spacing:0}
.tl-body>.trwrap{border-top:0}
.tl-item+.tl-item .tl-body>.trwrap{border-top:1px solid var(--line)}
.tl-now+.tl-item .tl-body>.trwrap{border-top:0}
.tl-item .tl-body .trwrap>.trow{border-top:0}
@media (min-width:1024px){
  #s-calendar #cal-v-month:not([hidden]){display:grid;grid-template-columns:minmax(0,1.25fr) minmax(340px,1fr);gap:24px;align-items:start}
  #s-calendar #cal-v-month .cal-card{padding:4px 10px 12px}
  #s-calendar #cal-day .dayhead{margin-top:12px}
  #s-calendar .cal-grid .day{min-height:64px;padding-top:8px;gap:6px}
  #s-calendar .marks{height:20px;gap:3px}
  #s-calendar .mk,#s-calendar .mk.bar{width:20px;height:20px;font-size:12px}
  #s-calendar .cal-key i.mk{width:16px;height:16px}
  #s-calendar .mk.bar{border-radius:5px}
  #s-calendar .dplus{top:5px;right:6px;width:20px;height:20px}
  #s-calendar .dplus .i{width:14px;height:14px}
  #s-calendar .cal-ctl .seg{flex:none}
  #s-calendar .cal-ctl .seg .chip{flex:none;padding:0 22px}
  #s-calendar .cal-ctl{justify-content:space-between}
}
/* phones: the month and the chosen day's first rows fit on one screen (v53 GOAL) */
@media (max-width:1023.98px){
  #s-calendar .cal-ctl,#s-calendar .cal-people,#s-calendar .cal-card{margin-top:8px}
  #s-calendar .cal-ctl .seg{padding:3px}
  #s-calendar .calbtn{min-height:50px}
  #s-calendar .cal-nav{min-height:44px}
  #s-calendar .cal-grid .day{min-height:44px;padding:3px 0 2px;gap:2px}
  #s-calendar .cal-grid .dow{padding:0 0 4px}
  #s-calendar #cal-day .dayhead{margin:10px 4px 4px}
}
/* v257 (Chris chose B of docs/mockups/alert-glow.html, "add 2 more seconds"): the reminder whose alert was tapped glows on Today
   (three pulses, then holds the tint and fades, 7 s). Reduce Motion: no pulsing, only the tint for the same time. */
.tfocus{animation:tfocus 7s ease-out}
@keyframes tfocus{0%,5%{background:var(--accent-tint);box-shadow:inset 0 0 0 2px var(--accent),0 0 22px 4px color-mix(in srgb,var(--accent) 40%,transparent)}
  12%{box-shadow:inset 0 0 0 2px var(--accent),0 0 10px 0 color-mix(in srgb,var(--accent) 30%,transparent)}
  20%{box-shadow:inset 0 0 0 2px var(--accent),0 0 22px 4px color-mix(in srgb,var(--accent) 40%,transparent)}
  28%{box-shadow:inset 0 0 0 2px var(--accent),0 0 10px 0 color-mix(in srgb,var(--accent) 30%,transparent)}
  36%{box-shadow:inset 0 0 0 2px var(--accent),0 0 22px 4px color-mix(in srgb,var(--accent) 40%,transparent)}
  70%{background:var(--accent-tint);box-shadow:inset 0 0 0 2px var(--accent)}100%{background:transparent;box-shadow:inset 0 0 0 2px transparent}}
@media (prefers-reduced-motion:reduce){.tfocus{animation:none!important;background:var(--accent-tint)}}
/* v336: a row just added from the + sheet slides into its place on Today before it glows (.tfocus) */
.tland{animation:tland .3s ease-out}
.tfocus.tland{animation:tland .3s ease-out,tfocus 7s ease-out}
@keyframes tland{from{transform:translateX(28px);opacity:.4}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.tland{animation:none}}
/* v336: the + sheet's quiet link to every form */
.sayforml{display:block;margin:14px auto 0;color:var(--muted);font-weight:600}
/* v258 (Chris's chat-redesign package, docs/mockups/chat-redesign/): the Chat list. All chats / Unread, then two grouped cards
   with a count each; every row fills its card (divider, hover and tap area the full width) as three columns:
   the face / fridge letter / item icon, the title and a 2-line preview, then the time with the unread number under it. */
.convfilter{width:fit-content;max-width:100%;margin:4px 0 4px;flex-wrap:wrap}
.convfilter[hidden]{display:none}
.convfilter .chip{flex:none;min-height:44px;padding:0 18px}
#chat-convs{gap:0}
#chat-convs .thsec{margin:18px 4px 8px;font-size:15px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--muted)}
#chat-convs .thsec:first-child{margin-top:8px}
#chat-convs .thsecn{color:var(--muted);font-size:inherit;font-weight:inherit}
#chat-convs .thsec{display:block}
.convgrp{flex:none;background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden}
#chat-convs .convrow,#chat-convs .thcrow{display:grid;grid-template-columns:40px minmax(0,1fr) 64px;gap:12px;align-items:start;width:100%;min-width:0;min-height:72px;margin:0;padding:14px 16px;box-sizing:border-box;border:0;border-top:1px solid var(--line);border-radius:0;background:none;color:var(--text);text-align:left;font:inherit}
#chat-convs .convgrp > :first-child,#chat-convs .thgrp > :first-child{border-top:0}
/* v341: the family chats' card (docs/mockups/chat-family-split/ A): accent border, tinted rows, " · everyone" after the name, Show N more fridges */
#chat-convs .famgrp{border-color:var(--accent);margin-top:8px}
#chat-convs .thsec + .famgrp{margin-top:0}
#chat-convs .famrow{background:var(--accent-tint)}
#chat-convs .famrow .cnm .title{display:inline}
#chat-convs .cpv2 .cevery,#chat-convs .cpv2 .cpvt{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#chat-convs .unread .cpv2 .cevery{color:var(--muted);font-weight:400}
#chat-convs .clead .famfaces{position:relative;width:40px;height:40px;flex:none}
#chat-convs .clead .famfaces .av{position:absolute;width:22px;height:22px;margin:0;font-size:12px;box-shadow:0 0 0 2px var(--accent-tint)}
#chat-convs .famfaces .av:nth-child(1){left:0;top:0}#chat-convs .famfaces .av:nth-child(2){right:0;top:0}
#chat-convs .famfaces .av:nth-child(3){left:0;bottom:0}#chat-convs .famfaces .av:nth-child(4){right:0;bottom:0}
#chat-convs .famfaces.n1 .av{left:9px;top:9px}
#chat-convs .famfaces.n2 .av:nth-child(1){left:0;top:4px}#chat-convs .famfaces.n2 .av:nth-child(2){right:0;top:12px}
#chat-convs .famfaces.n3 .av:nth-child(3){left:9px}
#chat-convs .famfaces .famplus{background:var(--card);color:var(--text);font-size:12px;letter-spacing:-.5px}
#chat-convs .convmore{display:block;width:100%;min-height:48px;padding:0 16px;border:0;border-top:1px solid var(--line);background:none;color:var(--accent-text);font:inherit;font-size:15px;font-weight:600;text-align:left}
#chat-convs .convmore:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
#chat-convs .convrow:focus-visible,#chat-convs .thcrow:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
@media (hover:hover){#chat-convs .convrow:hover,#chat-convs .thcrow:hover{background:var(--fill)}}
.clead{display:flex;justify-content:center}
#chat-convs .clead .av,#chat-convs .clead .tri{width:40px;height:40px;margin:0;font-size:17px;flex:none}
#chat-convs .clead .tri{border-radius:12px;background:var(--accent-tint);color:var(--accent-text)}
#chat-convs .clead .tri .i,#chat-convs .clead .famav .i{width:22px;height:22px}
#chat-convs .cmid{display:block;min-width:0;overflow-wrap:anywhere}
#chat-convs .cnm .title,#chat-convs .thct{display:block;font-size:17px;font-weight:600;line-height:1.35;white-space:normal;overflow:visible}
#chat-convs .unread .cnm .title,#chat-convs .unread .thct{font-weight:700}
#chat-convs .cpv{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;margin-top:3px;font-size:15px;line-height:1.4;color:var(--muted)}
#chat-convs .unread .cpv{color:var(--text);font-weight:600}
#chat-convs .thwhen{display:block;margin-top:5px;font-size:13px;line-height:1.4;color:var(--muted);white-space:normal}
#chat-convs .cend{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:0;padding-top:2px}
#chat-convs .ctime{font-size:13px;line-height:1.35;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
#chat-convs .convn{flex:none;background:var(--accent);color:var(--on-accent);font-variant-numeric:tabular-nums}
#chat-convs .cmuted{font-size:12px;color:var(--muted)}
.convnone{margin:32px auto 0}
@media (max-width:600px){
  #chat-convs .convrow,#chat-convs .thcrow{grid-template-columns:36px minmax(0,1fr) 52px;gap:10px;padding:13px 12px}
  #chat-convs .clead .av,#chat-convs .clead .tri{width:36px;height:36px;font-size:16px}
}
@media (max-width:360px){
  #chat-convs .convrow,#chat-convs .thcrow{grid-template-columns:32px minmax(0,1fr) 46px;gap:8px;padding:12px 10px}
  #chat-convs .clead .av,#chat-convs .clead .tri{width:32px;height:32px}
  #chat-convs .ctime{font-size:12px}
}
/* v258b (Chris's home-footer package, docs/mockups/home-footer/): the bottom of Home with no headings: Settings in its own card,
   then History and Recently deleted in one card; full-width rows, the tagline wraps, tinted icon left, chevron right. */
#home-you{margin-top:28px} #home-deleted{margin-top:20px}
.homefoot > .navcard{display:flex;align-items:center;gap:14px;width:100%;min-height:76px;padding:18px 18px 18px 16px;text-align:left}
:root{--sys-tile:#E9ECEF;--sys-sym:#4E565E}:root[data-theme="dark"]{--sys-tile:#2C3136;--sys-sym:#C3C9CF}
@media (prefers-color-scheme:dark){:root[data-theme="system"]{--sys-tile:#2C3136;--sys-sym:#C3C9CF}}
/* v372 (Chris chose A of docs/mockups/footer-icons-grey/): Settings / History / Recently deleted = a pale grey square, dark grey symbol, the same on every tone */
.homefoot > .navcard .ticon{flex:none;width:40px;height:40px;border-radius:12px;background:var(--sys-tile);color:var(--sys-sym);display:grid;place-items:center}
.homefoot > .navcard .ticon .i{width:22px;height:22px}
.homefoot > .navcard .t{flex:1;min-width:0;overflow-wrap:anywhere}
.homefoot > .navcard .t .title{font-size:17px;font-weight:600;line-height:1.35}
.homefoot > .navcard .t .muted{margin-top:3px;line-height:1.4;white-space:normal}
.homefoot > .navcard > .i{flex:none;color:var(--muted)}
.homefoot > .navcard:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
.homever{margin:14px 0 28px;text-align:center;color:var(--muted);font-size:13px;line-height:1.4}   /* the version line: The Fridge · version N · Android app 1.5 */
.dskver{margin:10px 14px 6px;color:var(--muted);font-size:12px;line-height:1.4;overflow-wrap:anywhere}
@media (hover:hover){.homefoot > .navcard:hover{background:var(--fill)}}
@media (max-width:600px){.homefoot > .navcard{padding:16px 14px;gap:12px}}
/* v260 (Chris's add-sheet note, docs/mockups/add-sheet-more/): the + sheet. The typing box under the big mic is easier to see (a faint
   tint of the tone, a 2 px edge in the tone, 54 px; focused: the full tone edge and a soft ring). Only Reminder · Event · Appointment,
   then "More options" folds out the other 16 (same tinted tiles). While the card is showing (words in the box) the choices step aside. */
#sheet-say .quickadd{min-height:54px;padding:0 16px;border:2px solid color-mix(in srgb,var(--accent) 58%,var(--card));background:color-mix(in srgb,var(--accent) 7%,var(--card))}
#sheet-say .quickadd:focus-within{border-color:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 22%,transparent)}
#sheet-say .quickadd .qainput{min-height:50px;font-size:17px}
#sheet-say .quickadd .qainput::placeholder{color:var(--muted);opacity:1}
#say-tiles{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:4px}
#say-more{grid-template-columns:repeat(3,minmax(0,1fr));margin:4px 0 8px}
#say-more[hidden]{display:none}
#say-more .atile{background:var(--accent-tint);border-color:transparent}
#say-more .atile .i{color:var(--accent-text)}
#say-more .atile:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.saymoreb{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:44px;margin:2px 0 0;color:var(--accent-text);font-weight:600;font-size:16px}
.saymoreb .i{width:18px;height:18px}
.saymoreb:focus-visible{outline:3px solid var(--accent);outline-offset:-3px;border-radius:12px}
#sheet-say.qapicking #say-moreb,#sheet-say.qapicking #say-more,
#sheet-say.qacard .sayor,#sheet-say.qacard #say-tiles,#sheet-say.qacard #say-moreb,#sheet-say.qacard #say-more{display:none !important}
/* v261 (Chris: "move the typing box below the big mic like the mockup"): the box sits under the mic and its privacy line */
#say-micw:not([hidden]) + #say-host{margin-top:16px}

/* ================= V2 design (branch v2-test, docs/mockups/v2-rev7/): html.v2 only, never on the live app ================= */
.v2inbox,.v2for{display:none}
html.v2 .v2inbox{display:inline-grid;position:relative;place-items:center;flex:none;width:52px;height:44px;margin-left:8px;border:1px solid var(--line);border-radius:14px;background:var(--card);color:var(--text);cursor:pointer}
html.v2 .v2inbox .i{width:22px;height:22px}
html.v2 .v2inbox.new{background:var(--accent-tint);border-color:transparent;color:var(--accent-text)}
html.v2 .v2inn{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--accent);color:var(--on-accent);font-size:12px;font-weight:700;line-height:20px;text-align:center}
html.v2 .v2for{display:flex;align-items:center;gap:12px;margin:10px 0 4px}
html.v2 .v2for[hidden]{display:none}
html.v2 .v2for .seg{display:inline-flex;gap:4px;padding:4px;border-radius:14px;background:var(--fill)}
html.v2 .v2for .seg button{min-height:44px;padding:0 16px;border:0;border-radius:10px;background:none;color:var(--muted);font:inherit;font-size:15px;font-weight:600;cursor:pointer}
html.v2 .v2for .seg button[aria-pressed="true"],html.v2 #s-today .v2for .seg button[aria-pressed="true"]{background:var(--accent);color:var(--on-accent);box-shadow:none}   /* v284 (Chris, settings-review-all package): the chosen one solid in the fridge's colour */
html.v2 .v2for .seg button{min-width:86px;text-align:center}   /* v286 (Chris): All sat at the left of its wider box (buttons inherit text-align) */
html.v2 .v2for .seg button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
html.v2 .v2tick{width:44px;height:44px;margin:2px 4px 2px 0;border:1.5px solid var(--line);border-radius:50%;color:var(--muted)}
html.v2 .v2tick .i{width:20px;height:20px}
html.v2 .v2tick:active{background:var(--ok-tint);color:var(--ok);border-color:transparent}
@media (min-width:1024px){ html.v2 .v2tick:hover{background:var(--ok-tint);color:var(--ok);border-color:transparent} }
/* the V2 design label: always on screen, so the test app is never mistaken for the real one */
.v2label{display:none}
html.v2 .v2label{display:block;position:fixed;z-index:9999;top:calc(env(safe-area-inset-top) + 2px);left:50%;transform:translateX(-50%);padding:2px 10px;border-radius:0 0 8px 8px;background:#B3261E;color:#fff;font:700 12px/17px system-ui,sans-serif;letter-spacing:.06em;pointer-events:none}
/* V2 Home: favourites, All household tools (folds), tonight's dinner */
html.v2 #home-favs .myfridge{margin-top:16px}
.v2tools > summary{display:none}
html.v2 .v2tools{margin-top:16px}
html.v2 .v2tools > summary{display:flex;align-items:center;gap:8px;min-height:56px;padding:0 16px;border:1px solid var(--line);border-radius:16px;background:var(--card);font-size:17px;font-weight:700;list-style:none;cursor:pointer}
html.v2 .v2tools > summary::-webkit-details-marker{display:none}
html.v2 .v2tools .v2tn{color:var(--muted);font-weight:500}
html.v2 .v2tools .v2tc{margin-left:auto;width:20px;height:20px;transition:transform .15s}
html.v2 .v2tools[open] .v2tc{transform:rotate(180deg)}
html.v2 .v2tools[open] > .homemenu{margin-top:12px}
html.v2 #home-dinner:not(:empty){margin-top:16px}
/* V2 Calendar on phones: folding month + week strip */
.v2mfold{display:flex;align-items:center;gap:8px;width:100%;min-height:48px;margin:0 0 8px;padding:0 16px;border:1px solid var(--line);border-radius:16px;background:var(--card);color:var(--text);font:inherit;cursor:pointer}
.v2mfold[hidden],.v2wstrip[hidden]{display:none}
.v2mft{font-weight:700;font-size:16px}
.v2mfs{margin-left:auto;color:var(--accent-text);font-size:14px}
.v2mfc{width:18px;height:18px;color:var(--accent-text);transition:transform .15s}
.v2mfold[aria-expanded="true"] .v2mfc{transform:rotate(180deg)}
.v2wnav{display:flex;align-items:center;justify-content:space-between;margin:2px 0 6px}
.v2wt{color:var(--muted);font-size:14px}
.v2wdays{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;padding:6px;border:1px solid var(--line);border-radius:16px;background:var(--card);margin-bottom:14px}
.v2wd{display:flex;flex-direction:column;align-items:center;gap:2px;min-height:58px;padding:6px 0;border:0;border-radius:12px;background:none;color:var(--text);font:inherit;cursor:pointer}
.v2wdn{font-size:12px;color:var(--muted)}
.v2wd b{font-size:18px}
.v2wd.today b{color:var(--accent-text)}
.v2wd.sel{background:var(--accent);color:var(--on-accent)}
.v2wd.sel .v2wdn,.v2wd.sel.today b{color:var(--on-accent)}
.v2wdot{width:5px;height:5px;border-radius:50%;background:currentColor;opacity:.7}
.v2wdot[hidden]{visibility:hidden;display:block}
html.v2 .v2tools .homebar-in{display:flex;justify-content:flex-end;margin:8px 0 -4px}
html.v2 .v2total{margin:4px 2px 12px;font-size:15px;line-height:1.35;color:var(--muted)}   /* v396: the grey line under the title (design system 5.1), was a tinted box with a 26 px 800 amount */
html.v2 .v2tv{font-weight:600}
html.v2 .sethb .t{flex-wrap:wrap}
html.v2 .v2desc{order:3;flex-basis:100%;margin-top:2px;font-size:13px;font-weight:400;line-height:1.3;color:var(--muted)}
/* V2: Teal and Gold swatches where the set-up / join screens offer every tone */
.sw-teal{background:#1C6F75}.sw-gold{background:#8A6410}
:root[data-theme="dark"] .sw-teal{background:#79D3CB}:root[data-theme="dark"] .sw-gold{background:#E8C470}
@media (prefers-color-scheme:dark){ :root[data-theme="system"] .sw-teal{background:#79D3CB}:root[data-theme="system"] .sw-gold{background:#E8C470} }
/* V2 History: how far back */
html:not(.v2) .v2days{display:none}
html.v2 #hi-days{margin-top:8px}
/* V2: Close at the top of the reminder actions popup too */
.v2close{display:none}
/* v296: no position:relative here: it put the popup in the page's flow and pushed the Today/Calendar/Chat/Home bar up on top of it; .sheet is already absolute, so Close still sits at its top */
html.v2 #sheet-act .v2close{display:grid;position:absolute;top:14px;right:12px;z-index:2}
html.v2 #act-body > :first-child{padding-right:52px}
/* V2 Home favourites (Chris, 17 Oct 2026, two screenshots): ONE card for every favourite, whatever size it was given (the size
   only matters on V1's Today): a full-width row with the icon, the name and one grey line centred together vertically, then the
   arrow; the same font size, weight, line height, padding, icon size and gap; the same minimum height; names wrap between
   words, never shrink or break inside a word. Sizes are px, so they follow the person's text size (fridgeTextSize). */
html.v2 #home-favs .tflist{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:stretch}
html.v2 #home-favs .htile{grid-column:1 / -1;display:flex;flex-direction:column}
html.v2 #home-favs .htile.s1{grid-column:span 1}   /* Small = half width (two in a row); Medium (and an old Large) = full width */
html.v2 #home-favs .htile.s1 > .navcard{flex:1}
html.v2 #home-favs .htile > .navcard{flex:none;flex-direction:row;align-items:center;justify-content:flex-start;gap:14px;min-height:72px;padding:12px 16px}
html.v2 #home-favs .htile > .navcard .ticon{flex:none;width:44px;height:44px;border-radius:12px}
html.v2 #home-favs .htile > .navcard .ticon .i{width:24px;height:24px}
html.v2 #home-favs .htile > .navcard .t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
html.v2 #home-favs .htile > .navcard .t .title{font-size:17px;font-weight:700;line-height:1.25;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:normal;word-break:normal}
html.v2 #home-favs .htile > .navcard .tsub{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;font-weight:400;line-height:1.3;color:var(--muted)}
html.v2 #home-favs .htile.s1 > .navcard .tsub{display:none}   /* Chris: Small = just the name; Medium has room for the grey line */
html.v2 #home-favs .htile > .navcard .tsub:empty{display:none}
html.v2 #home-favs .htile > .navcard > .i:last-child{display:block;flex:none;width:20px;height:20px;color:var(--muted)}
html.v2 #home-favs .htile > .tbody{display:none}
html.v2 #home-favs .htile.s1 > .navcard > .i:last-child{display:none}   /* no arrow on a half-width card: room for the name */
@media (max-width:359px){ html.v2 #home-favs .htile.s1{grid-column:1 / -1} }   /* large text: every card a full row */

/* V2 design: tinted section title bars (Chris's v2-header-colours package, mockup v8, 17 Oct 2026). The exact rounded colours of
   EXACT-COLOURS.md per tone, light (20% light accent + 80% white) and dark (27.46% dark accent + 72.54% #1A201C), as tokens on the
   page, used by the one shared section bar (.tsg: Today, Tomorrow, Later, Waiting, Location, Bills and dates, Done today and every
   page that uses the same folding sections). Same surface open or folded. Overdue keeps its red (semantic). Text, counts and
   chevrons keep their own opaque colours; the line under the bar is the accent mixed into the card (24% light, 30% dark). */
html.v2{--v2-sec:#D6E0DB;--v2-sec-edge:color-mix(in srgb,var(--accent) 24%,var(--card))}
html.v2[data-tone="sage"]{--v2-sec:#D6E0DB}
html.v2[data-tone="ocean"]{--v2-sec:#D4DEE8}
html.v2[data-tone="plum"]{--v2-sec:#E2DCE8}
html.v2[data-tone="clay"]{--v2-sec:#EADFD9}
html.v2[data-tone="rose"]{--v2-sec:#EADBE1}
html.v2[data-tone="graphite"]{--v2-sec:#DDDFE1}
html.v2[data-tone="teal"]{--v2-sec:#D4E1E2}
html.v2[data-tone="gold"]{--v2-sec:#E6E0D1}
html.v2[data-theme="dark"][data-tone="sage"]{--v2-sec:#3F5145}
html.v2[data-theme="dark"][data-tone="ocean"]{--v2-sec:#414F5A}
html.v2[data-theme="dark"][data-tone="plum"]{--v2-sec:#4D4A56}
html.v2[data-theme="dark"][data-tone="clay"]{--v2-sec:#544A3F}
html.v2[data-theme="dark"][data-tone="rose"]{--v2-sec:#54484C}
html.v2[data-theme="dark"][data-tone="graphite"]{--v2-sec:#48504F}
html.v2[data-theme="dark"][data-tone="teal"]{--v2-sec:#3F514E}
html.v2[data-theme="dark"][data-tone="gold"]{--v2-sec:#53503A}
html.v2[data-theme="dark"]{--v2-sec-edge:color-mix(in srgb,var(--accent) 30%,var(--card))}
html.v2[data-theme="dark"]:not([data-tone]){--v2-sec:#3F5145}
@media (prefers-color-scheme:dark){
  html.v2[data-theme="system"][data-tone="sage"]{--v2-sec:#3F5145}
  html.v2[data-theme="system"][data-tone="ocean"]{--v2-sec:#414F5A}
  html.v2[data-theme="system"][data-tone="plum"]{--v2-sec:#4D4A56}
  html.v2[data-theme="system"][data-tone="clay"]{--v2-sec:#544A3F}
  html.v2[data-theme="system"][data-tone="rose"]{--v2-sec:#54484C}
  html.v2[data-theme="system"][data-tone="graphite"]{--v2-sec:#48504F}
  html.v2[data-theme="system"][data-tone="teal"]{--v2-sec:#3F514E}
  html.v2[data-theme="system"][data-tone="gold"]{--v2-sec:#53503A}
  html.v2[data-theme="system"]:not([data-tone]){--v2-sec:#3F5145}
  html.v2[data-theme="system"]{--v2-sec-edge:color-mix(in srgb,var(--accent) 30%,var(--card))}
}
/* V2 compact Today header (Chris's v2-today-header package): the date small above Today, the chat button on the right of that
   block, then For me / Everyone with "N items today" on the same row (it wraps under the switch only when there is no room) */
html.v2 #s-today .todayhead{flex-wrap:nowrap;align-items:center;column-gap:12px;margin-top:2px}
html.v2 #s-today .v2thb{flex:1;min-width:0}
html.v2 #s-today .v2thb .thdate{margin:0 0 2px;font-size:15px;color:var(--muted);white-space:normal}
html.v2 #s-today .v2thb h1{margin:0;line-height:1.1}
html.v2 #s-today .v2inbox{margin-left:auto;align-self:center}
html.v2 .v2for{flex-wrap:wrap;column-gap:12px;row-gap:6px;margin:10px 0 2px}
html.v2 .v2cnt{margin-left:auto;font-size:15px;color:var(--muted);white-space:nowrap}
html.v2 .v2cnt[hidden]{display:none}
html.v2 #today-body > .tsg:first-child,html.v2 #today-body > :first-child{margin-top:12px}
/* the V2 design label never covers the fridge selector or the profile: on narrow phones the top row steps down under it */
@media (max-width:379px){ html.v2 .screen .top{margin-top:16px} }
/* V2 design: the realistic 1995 fridge (Chris's fridge-1995 package). The photo keeps its own shape (1086 x 1448); the notes live in
   the door's safe zone (14-77% across, 8-93% down), 3 across, in the handwriting stack; paper, ink and the white fridge stay the
   same in dark mode (a picture, not app chrome). Magnets: one transparent PNG, hue-shifted; decorative, never hit. */
.f95view{position:relative;margin:4px -16px 0;overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.f95scene{position:relative;width:100%;aspect-ratio:1086/1448;background:#d8d4cc;overflow:hidden}
.f95view.zoom .f95scene{width:160%}
.f95scene.noimg{background:linear-gradient(90deg,#c9c2b6 0 11%,#f4f5f3 11% 80%,#c9c2b6 80%)}
.f95bg{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;user-select:none;-webkit-user-select:none;pointer-events:none}
.f95grid{position:absolute;left:14%;top:8%;width:63%;max-height:85%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5.5% 5%;align-content:start}
.f95n{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:3px;min-width:0;aspect-ratio:.88;padding:22% 6% 8%;border:0;border-radius:1px 1px 10px 2px;background:linear-gradient(160deg,var(--paper),var(--paper) 82%,rgba(255,255,255,.55));box-shadow:1px 6px 9px rgba(0,0,0,.24);transform:rotate(var(--rot));color:#1B2B45;font-family:"Marker Felt","Chalkboard SE","Segoe Print","Bradley Hand",cursive;text-align:center;cursor:pointer;overflow:hidden;-webkit-tap-highlight-color:transparent}
.f95n:focus-visible{outline:3px solid #225FA0;outline-offset:4px}
.f95n:active{filter:brightness(.96)}
.f95mag{position:absolute;width:40%;top:-12%;left:30%;filter:hue-rotate(var(--hue)) drop-shadow(0 2px 2px rgba(0,0,0,.25));pointer-events:none;user-select:none}
.f95nt{font-size:13px;line-height:1.4;font-weight:700;padding:1px 0;overflow-wrap:break-word;word-break:normal;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;max-width:100%}
.f95ns{font-size:12px;line-height:1.4;color:#2B3A55}
.f95ns.late{color:#A3241A;font-weight:700}
.f95nl{align-items:flex-start;text-align:left;gap:0;padding-top:24%;background:#FFFDF4 repeating-linear-gradient(transparent 0 18px,#C9D8EE 18px 19px) 0 calc(24% + 20px) / 100% 100% no-repeat}
.f95nl .f95nt{margin-bottom:1px;-webkit-line-clamp:1}
.f95nl .f95nt{align-self:center}
.f95nli{font-size:12px;line-height:19px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 1px}
.f95nb{background:linear-gradient(#FFFFFF,#F4F1EA)}
.f95scene .f95clean{position:absolute;left:24%;top:30%;width:42%}
.f95pager{display:flex;align-items:center;justify-content:center;gap:12px;margin:10px 0 0}
.f95pg{font-weight:600}
.f95tools{display:flex;gap:8px;justify-content:center;margin:12px 0 0}
.f95list2{margin-top:8px}
.f95lrow{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:8px 16px;border:0;border-top:1px solid var(--line);background:none;color:var(--text);font:inherit;text-align:left;cursor:pointer}
.f95list2 > .f95lrow:first-child{border-top:0}
.f95lt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
@media (max-width:359px){ .f95grid{grid-template-columns:repeat(2,minmax(0,1fr));left:16%;width:58%} }   /* large text: 2 across, still readable */
.f95scene{container-type:inline-size}
/* novelty magnets (Chris's pack): their own colours and shading (no hue filter, no extra shadow); sized so the visible shape is
   about 28px on a phone (the fish a little wider), centred over the paper's top edge; the note's words start below it */
.f95mag.f95nov{filter:none;left:50%;transform:translateX(-50%)}
.f95mag.f95-smiley{width:72%;top:-20.5%}
.f95mag.f95-heart{width:72%;top:-22.7%}
.f95mag.f95-football{width:56%;top:-13.2%}
.f95mag.f95-fish{width:56%;top:-15.2%}
.f95n.nov{padding-top:32%}
.f95n.nov.f95nl{padding-top:32%;background-position:0 calc(32% + 20px)}
/* the iPhone handwriting font (Marker Felt) is tall: give every line room so no letter is cut (Chris's iPhone screenshot) */
.f95n{gap:2px}
.f95nl .f95nt{line-height:1.45}
.f95n{overflow:visible}   /* the paper shape is the minimum: a note with more words grows, nothing is cut */
.f95n > .f95nt,.f95n > .f95ns,.f95n > .f95nli{flex-shrink:0}
.f95grid{max-height:none}
/* Chris chose C of docs/mockups/fridge-1995-messy.html: 4 across (3 with large text), up to 20 on one door, same size writing */
.f95grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px 7px;left:13%;width:65%;top:7%}
.f95n{padding:24% 4% 6%}
.f95n.nov{padding-top:34%}
.f95nt{font-size:12.5px;line-height:1.35}
.f95ns{line-height:1.3}
@media (max-width:359px){ .f95grid{grid-template-columns:repeat(3,minmax(0,1fr));left:14%;width:63%} }
.f95n{aspect-ratio:1}
.f95nt{overflow-wrap:normal;word-break:normal;-webkit-hyphens:auto;hyphens:auto;font-size:12px}
.f95nt{-webkit-line-clamp:2}   /* 4 across: two lines of title (Chris: reading every word doesn't matter), so 5 rows fit */
/* Chris chose C of docs/mockups/section-bar-strength.html (17 Oct 2026, "too dark, should be very close to the background"):
   the bar is the page colour with 4% of the fridge colour; the thin line under it stays tinted so the bar and its list separate.
   (Replaces the mockup-v8 table colours above.) */
html.v2{--v2-sec:color-mix(in srgb,var(--accent) 4%,var(--bg)) !important;--v2-sec-edge:color-mix(in srgb,var(--accent) 14%,var(--line)) !important}
html.v2[data-theme="dark"]{--v2-sec-edge:color-mix(in srgb,var(--accent) 18%,var(--line)) !important}
@media (prefers-color-scheme:dark){ html.v2[data-theme="system"]{--v2-sec-edge:color-mix(in srgb,var(--accent) 18%,var(--line)) !important} }
html.v2 .fsum.v2empty{display:none}
/* V2 design: Home "All household tools" is ONE connected card (Chris's household-tools package, 17 Oct 2026): the header is its
   top (the same soft surface as Today's section bars), the tools are full-width rows under it with thin lines between them, no
   gap, no double border; folded, the header alone is the whole rounded card. Edit / Done sit in a slim row at the bottom. */
html.v2 .v2tools{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--card)}
html.v2 .v2tools > summary{min-height:56px;padding:14px 16px;border:0;border-radius:0;background:var(--v2-sec);color:var(--text)}
html.v2 .v2tools > summary .v2tc{color:var(--text)}
html.v2 .v2tools > summary:focus-visible{outline:2px solid var(--accent);outline-offset:-4px}
html.v2 .v2tools[open] > summary{border-bottom:1px solid var(--v2-sec-edge)}
html.v2 .v2tools[open] > .homemenu{margin:0;display:block}
html.v2 .v2tools .homemenu > .htile{border:0;border-radius:0;background:none;margin:0}
html.v2 .v2tools .homemenu > .htile + .htile{border-top:1px solid var(--line)}
html.v2 .v2tools .homemenu > .htile[hidden]{display:none}
html.v2 .v2tools .homemenu .navcard{margin:0;border:0;border-radius:0;background:none;box-shadow:none;min-height:64px;padding:10px 16px;display:flex;align-items:center;gap:12px;text-align:left}
html.v2 .v2tools .homemenu .navcard .t{flex:1;min-width:0}
html.v2 .v2tools .homemenu .navcard .t .title{font-size:17px;font-weight:600}
html.v2 .v2tools .homemenu .navcard .t > div:last-child{font-size:14px;color:var(--muted)}
html.v2 .v2tools .homebar-in{margin:0;padding:4px 8px;border-top:1px solid var(--line)}
html.v2 .v2no{display:none !important}   /* V2 design: settings that no longer change anything in V2 */
/* ===== V2 design: final Home (Chris's v2-home-final package, v13): supersedes the favourites, the folding tools header and its tint ===== */
html.v2 #home-favs,html.v2 #home-dinner,html.v2 .v2tools > summary,html.v2 #home-edit,html.v2 #home-done,html.v2 .homebar-in,html.v2 #home-editor,html.v2 #home-edit-foot{display:none !important}
html.v2 .v2tools > :not(summary){display:block}
html.v2 .v2hh{display:flex;align-items:center;justify-content:space-between;gap:16px}
html.v2 .v2hh h1{margin:0}
html.v2 .v2reo{min-height:48px;padding:8px 12px;border:0;border-radius:12px;background:none;color:var(--accent-text);font:inherit;font-size:17px;font-weight:600;cursor:pointer}
html.v2 .v2reo:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
html.v2 #s-home .homebar{margin:8px 0 20px}
html.v2 #s-home .homebar #fam-name{color:var(--muted)}
html.v2 .v2tools{margin:0 0 24px;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--card)}
html.v2 .v2tools .homemenu{margin:0;display:block}
html.v2 .v2tools .homemenu > .htile{position:relative;display:flex;align-items:center;border:0;border-radius:0;background:var(--card);margin:0}
html.v2 .v2tools .homemenu > .htile + .htile{border-top:1px solid var(--line)}
html.v2 .v2tools .homemenu > .htile > .navcard{flex:1;min-height:76px;padding:12px 16px}
html.v2 .v2tools .homemenu .navcard .t > div:last-child{white-space:normal}
html.v2 .v2hint{margin:0;padding:12px 16px;border-bottom:1px solid var(--line);font-size:14px;color:var(--muted)}
html.v2 .v2reordering .homemenu .navcard .t > div:last-child,html.v2 .v2reordering .homemenu .navcard > .i:last-child{display:none}
html.v2 .v2reordering .homemenu > .htile > .navcard{min-height:64px;cursor:default}
html.v2 .v2handle{flex:none;display:grid;place-items:center;width:48px;height:48px;margin-right:8px;border:0;border-radius:12px;background:none;color:var(--muted);cursor:grab;touch-action:none}
html.v2 .v2handle .i{width:24px;height:24px}
html.v2 .v2handle:focus-visible{outline:2px solid var(--accent);outline-offset:-2px;color:var(--accent-text)}
html.v2 .v2handle:active{color:var(--accent-text);cursor:grabbing}
html.v2 .htile.v2place{background:color-mix(in srgb,var(--accent) 7%,var(--card)) !important;box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--accent) 35%,transparent);outline:1.5px dashed color-mix(in srgb,var(--accent) 45%,var(--line));outline-offset:-6px}
html.v2 .htile.v2place > *{visibility:hidden}
.v2ghost{z-index:9000;display:flex;align-items:center;transform:scale(1.025);border-radius:14px;background:var(--card);border:1px solid color-mix(in srgb,var(--accent) 30%,var(--line));box-shadow:0 14px 32px rgba(0,0,0,.27),0 3px 8px rgba(0,0,0,.13);pointer-events:none;overflow:hidden}
.v2ghost .navcard{flex:1;border:0;background:none;min-height:64px;padding:12px 16px;display:flex;align-items:center;gap:12px}
.v2ghost .navcard .t > div:last-child,.v2ghost .navcard > .i:last-child,.v2ghost .v2mv{display:none}
.v2ghost .v2handle{color:var(--accent-text)}
.v2ghost.v2settle{transform:scale(1)}
html.v2 .v2handle,.v2ghost,#home-tools.v2reordering #home-menu > *,#today-qa.qaediting .qarow,html.v2dragging body{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}   /* v280: a held handle never selects text or opens Chrome's menu / Touch to Search (List #731) */
/* v268 (Chris's home-categories package): four always-open categories, a small grey heading above each, each drawn as its own card by
   its rows (the rows stay direct children of #home-menu: first row after a heading = top corners, last before one = bottom corners) */
html.v2 .v2tools{border:0;border-radius:0;overflow:visible;background:none}
html.v2 .v2tools .homemenu > .hcat{margin:24px 2px 8px;font-size:15px;font-weight:600;line-height:1.3;color:var(--muted)}
html.v2 .v2tools .homemenu > .hcat:first-child{margin-top:0}
html.v2 .v2tools .homemenu > .htile{border-left:1px solid var(--line);border-right:1px solid var(--line)}
html.v2 .v2tools .homemenu > .hcat + .htile{border-top:1px solid var(--line);border-top-left-radius:16px;border-top-right-radius:16px}
html.v2 .v2tools .homemenu > .htile:has(+ .hcat),html.v2 .v2tools .homemenu > .htile:last-child{border-bottom:1px solid var(--line);border-bottom-left-radius:16px;border-bottom-right-radius:16px}
html.v2 .v2tools .homemenu > .htile > .navcard{border-radius:inherit}
html.v2 .v2tools > .v2hint{padding:0 2px 16px;border:0}
html.v2 .v2tools .homemenu > .htile.v2other{opacity:.45;transition:opacity .15s}
/* v287 (Chris's settings-review-all package, home-edit-full-list.html): Edit Home = a red round − at the start of each row, the handle at
   the end; Hidden modules under all the categories (only while editing), each with its category and a round + */
html.v2 .v2tools > [hidden],html.v2 #home-hidden[hidden]{display:none !important}
html.v2 .v2reo[aria-pressed="true"]{background:var(--accent);color:var(--on-accent,#fff)}
html.v2 .v2minus,html.v2 .v2plus{flex:none;display:grid;place-items:center;width:44px;height:44px;margin-left:6px;padding:0;border:0;border-radius:12px;background:none;color:var(--danger);cursor:pointer}
html.v2 .v2plus{margin:0 6px 0 0;color:var(--accent-text)}
html.v2 .v2minus .i,html.v2 .v2plus .i{width:24px;height:24px}
html.v2 .v2minus:focus-visible,html.v2 .v2plus:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
html.v2 .v2reordering .homemenu > .htile > .v2minus + .navcard{padding-left:8px}
html.v2 .v2tools .homemenu > .hcatnone{margin:0;padding:20px 16px;border:1px solid var(--line);border-radius:16px;background:var(--card);font-size:15px;color:var(--muted)}
html.v2 .v2tools .homemenu > .hclear{margin:0;padding:24px 16px;border:1px solid var(--line);border-radius:16px;background:var(--card);font-size:16px;color:var(--muted);text-align:center}
html.v2 #home-hidden{margin-top:24px}
html.v2 #home-hidden > .hcat{margin:0 2px 8px;font-size:15px;font-weight:600;line-height:1.3;color:var(--muted)}
html.v2 #home-hidden .hhlist{border:1px solid var(--line);border-radius:16px;background:var(--card);overflow:hidden}
html.v2 #home-hidden .hhrow{display:flex;align-items:center;gap:12px;min-height:64px;padding:8px 0 8px 16px}
html.v2 #home-hidden .hhrow + .hhrow{border-top:1px solid var(--line)}
html.v2 #home-hidden .hhrow .ticon{width:36px;height:36px}
html.v2 #home-hidden .hhrow .t{flex:1;min-width:0;display:flex;flex-direction:column}
html.v2 #home-hidden .hhname{font-size:17px;font-weight:600;line-height:1.35}
html.v2 #home-hidden .hhcat{font-size:13px;color:var(--muted);margin-top:2px}
html.v2 #home-hidden .hhnote{margin:12px 2px 0;font-size:14px;line-height:1.5;color:var(--muted)}
@media (prefers-reduced-motion:reduce){html.v2 .v2tools .homemenu > .htile.v2other{transition:none}}
/* V2 design (Chris's today-quick-access package): Today's Quick access, under the reminders */
html.v2 #today-1995{display:none}
/* v457 (Chris chose A of docs/mockups/today-1995-link/, 12 Nov 2026): on a phone, a small grey "Your fridge in 1995 ›" link under the
   three footer pills replaces the big dashed card; a computer keeps the card */
@media (max-width:1023px){
  html.v2 #qa-1995{display:none}
  html.v2 #today-1995{display:flex;margin:12px auto 0;font-size:13px;gap:4px}
}
.v2qa{margin:28px 0 8px}
.v2qa .qahead{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
/* Chris chose C of docs/mockups/quick-access-sizes/ (18 Oct 2026): the heading like Today's section headings, the two wide rows like
   reminder rows (17 px title, 15 px grey line), the shortcut tiles 16 px */
.v2qa .qahead h2{margin:0;padding-left:4px;font-size:17px;font-weight:600;line-height:1.4;color:var(--muted)}
.v2qa .qaedit{min-height:48px;min-width:48px;margin-right:-12px;padding:10px 12px;border:0;border-radius:12px;background:none;color:var(--accent-text);font:inherit;font-weight:600;cursor:pointer}
.v2qa .qaic{display:grid;place-items:center;flex:none;color:var(--accent-text)}
.v2qa .qaic .i{width:22px;height:22px}
.v2qa .qawide{display:flex;align-items:center;gap:12px;width:100%;min-height:76px;padding:14px 16px;border-radius:14px;font:inherit;color:var(--text);text-align:left;cursor:pointer}
.v2qa .qat{flex:1;min-width:0}
.v2qa .qat strong{display:block;font-size:17px;font-weight:600}
.v2qa .qat small{display:block;margin-top:3px;font-size:15px;color:var(--muted)}
.v2qa .qachev{flex:none;width:18px;height:18px;color:var(--accent-text)}
.v2qa .qasetup{margin-bottom:12px;background:var(--accent-tint);border:1px solid var(--line)}
.v2qa .qaretro{margin-top:16px;background:transparent;border:1.5px dashed var(--accent)}
.v2qa .qawide:hover,.v2qa .qago:hover{background:color-mix(in srgb,var(--accent) 8%,var(--card))}
.v2qa .qagrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.v2qa .qagrid > div{display:flex;min-width:0}
.v2qa .qago{display:flex;align-items:center;gap:10px;width:100%;min-height:64px;padding:14px 12px;border:1px solid var(--line);border-radius:14px;background:var(--card);color:var(--text);font:inherit;font-size:16px;font-weight:600;text-align:left;cursor:pointer}
.v2qa .qaname{flex:1;min-width:0;overflow-wrap:break-word;hyphens:none}
.v2qa .qahelp{margin:0 0 14px;font-size:.8rem;color:var(--muted)}
.v2qa .qasort{margin-bottom:20px}
.v2qa .qarow{display:flex;align-items:center;gap:12px;min-height:64px;padding:8px 0 8px 16px;background:var(--card);border-top:1px solid var(--line);font-weight:600;font-size:.9rem}
.v2qa .qarow:first-child{border-top:0}
.v2qa .qarow .v2handle{margin-right:4px}
.v2qa .qarow.v2place{background:color-mix(in srgb,var(--accent) 7%,var(--card));outline:1.5px dashed color-mix(in srgb,var(--accent) 45%,var(--line));outline-offset:-6px}
.v2qa .qarow.v2place > *{visibility:hidden}
.v2ghost.qarow{gap:12px;padding:8px 0 8px 16px;font-weight:600;font-size:.9rem;color:var(--text)}
.v2ghost.qarow .qaic{display:grid;place-items:center;color:var(--accent-text)} .v2ghost.qarow .qaname{flex:1} .v2ghost.qarow .v2handle{display:grid;place-items:center;width:48px;height:48px;border:0;background:none;color:var(--accent-text)} .v2ghost .v2mv{display:none}
.v2qa .qapick{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:10px 16px;border:0;border-top:1px solid var(--line);background:var(--card);color:var(--text);font:inherit;font-size:.9rem;text-align:left;cursor:pointer}
.v2qa .qapick:first-child{border-top:0}
.v2qa .qabox{display:grid;place-items:center;flex:none;width:24px;height:24px;border:1.5px solid var(--muted);border-radius:6px}
.v2qa .qabox.on{background:var(--accent);border-color:var(--accent);color:var(--on-accent,#fff)}
.v2qa .qabox .i{width:18px;height:18px}
.v2qa :is(.qaedit,.qawide,.qago,.qapick):focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
@media (max-width:359px){ .v2qa .qagrid{grid-template-columns:1fr} }
/* V2 design (Chris chose B of docs/mockups/fridge-1995-share.html, one door): Share sits on the picture, bottom right; the top Share icon goes */
html.v2 #f95-share-top{display:none}
.f95sharep{position:absolute;right:14px;bottom:14px;z-index:3;display:flex;align-items:center;gap:8px;min-height:48px;padding:0 18px 0 14px;border:0;border-radius:999px;background:var(--accent);color:var(--on-accent);font:inherit;font-size:16px;font-weight:600;box-shadow:0 4px 14px rgba(0,0,0,.3);cursor:pointer}
.f95sharep .i{width:20px;height:20px}
.f95sharep:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 6px var(--accent)}
.f95more .f95nt{font-size:1.3em}

/* v263 (Chris's scroll-cues package, docs/mockups/scroll-cues/): ‹ › and a faint fade on a sideways row only where more choices are hidden (scrollCues in app.js) */
.scue{position:relative;--scue-bg:var(--bg)}
.scue > :first-child{scroll-padding-inline:52px}
.scedge{position:absolute;top:0;bottom:0;z-index:2;display:flex;align-items:center;width:60px;pointer-events:none}
.scedge[hidden]{display:none}
.scl{left:0;justify-content:flex-start;background:linear-gradient(to right,var(--scue-bg) 62%,transparent)}
.scr{right:0;justify-content:flex-end;background:linear-gradient(to left,var(--scue-bg) 62%,transparent)}
.scbtn{pointer-events:auto;display:grid;place-items:center;width:44px;height:100%;min-height:44px;padding:0;border:0;border-radius:12px;background:none;color:var(--accent-text);cursor:pointer}
.scbtn .i{width:24px;height:24px}
.scbtn:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
#add-kinds .scue{border-radius:22px}

/* v264 (Chris chose docs/mockups/dinner-line.html): tonight's dinner on Today, only when filled in; a slim card above the first section */
html.v2 #today-dinner:not(:empty){margin:4px 0 12px}
.v2din{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:10px 14px;border:1px solid var(--line);border-radius:14px;background:var(--card);color:var(--text);font:inherit;text-align:left;cursor:pointer}
.v2din:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.v2dini{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--accent-tint);color:var(--accent-text)}
.v2dini .i{width:20px;height:20px}
.v2dint{flex:1;min-width:0}
.v2dint b{display:block;font-size:15px;font-weight:600;overflow-wrap:anywhere}
.v2dint small{display:block;margin-top:1px;font-size:13px;color:var(--muted)}
.v2dinc{flex:none;width:18px;height:18px;color:var(--muted)}
html.v2 #hm-dinner.v2set{color:var(--text)}

/* Compact B (Chris chose B of the Add redesign, docs/mockups/add-b-compact/): one editable sentence; its parts open a page in the same sheet */
#sheet-say.qbpaging #say-micw,#sheet-say.qbpaging #qa-form,#sheet-say.qbpaging .sayor,#sheet-say.qbpaging #say-tiles,#sheet-say.qbpaging #say-moreb,#sheet-say.qbpaging #say-more{display:none !important}
.qbbox{display:flex;flex-direction:column;gap:10px}
.qbbox > .qax{align-self:flex-end;margin-bottom:-8px}
.qbhelp{margin:0;font-size:14px;color:var(--muted)}
.qbsent{margin:0;font-size:22px;line-height:1.75;color:var(--text);overflow-wrap:anywhere}
.qbt{display:inline;min-height:44px;margin:0 1px;padding:4px 10px;border:0;border-radius:10px;background:var(--accent-tint);color:var(--accent-text);font:inherit;line-height:1.55;cursor:pointer;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.qbt.qbmiss{background:transparent;outline:1.5px dashed var(--accent);outline-offset:-2px}
.qbt.qbon{outline:2px solid var(--accent);outline-offset:-2px}
.qbt:focus-visible{outline:3px solid var(--accent);outline-offset:1px}
.qbedit{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid var(--accent);border-radius:14px;background:var(--accent-tint)}
.qbel{font-size:14px;color:var(--muted)}
.qbeb{display:flex;justify-content:flex-end;gap:8px}
.qbrow{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:8px 16px;border:1px solid var(--line);border-radius:14px;background:var(--card);color:var(--text);font:inherit;text-align:left;cursor:pointer}
.qbrl{color:var(--muted);font-size:15px;min-width:64px}
.qbrv{flex:1;font-weight:600}
.qbmore{align-self:flex-start;min-height:44px;padding:0 4px}
.qbsaid{font-size:15px;color:var(--muted)}
.qbsaid summary{min-height:44px;display:flex;align-items:center;cursor:pointer}
.qbsaidt{margin:0 0 4px;color:var(--text);overflow-wrap:anywhere}
.qbpriv{margin:4px 0 0;font-size:14px;color:var(--muted)}
.qbsave{width:100%;min-height:52px;font-size:17px}
.qbpage{display:flex;flex-direction:column;gap:10px}
.qbph{display:flex;align-items:center;gap:4px;margin:-4px 0 2px -8px}
.qbph h3{margin:0;font-size:19px;font-weight:700}
.qbsub{margin:0;font-size:17px;font-weight:700;color:var(--text)}
.qbnote{margin:0;font-size:14px;color:var(--muted)}
.qbfoot{display:flex;flex-direction:column;gap:8px;margin-top:6px;padding-top:12px;border-top:1px solid var(--line)}
.qbcancel{min-height:44px}
.qbgrid .qbgap{display:block}
.qbgrid .qacday small{display:block;font-size:10px;line-height:1;font-weight:600}
.qbfrz{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.qbprow{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:8px 14px;border:0;border-top:1px solid var(--line);background:var(--card);color:var(--text);font:inherit;text-align:left;cursor:pointer}
.qbprow:first-child{border-top:0}
.qbprow[aria-checked="true"]{background:color-mix(in srgb,var(--accent) 8%,var(--card))}
.qbpt{flex:1;min-width:0;display:flex;flex-direction:column}
.qbpt small{font-size:13px;color:var(--muted)}
.qbck{display:grid;place-items:center;flex:none;width:26px;height:26px;border:1.5px solid var(--muted);border-radius:7px}
.qbck.rd{border-radius:50%}
.qbck.on{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.qbck .i{width:16px;height:16px}
.qaline.qbbox{display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:4px 0 8px;background:transparent;border-radius:0;text-align:left}
.qaline.qbbox .qbsent{font-size:22px;line-height:1.75}
.qaline.qbbox .qbsave{margin:0;padding:0 16px;border-radius:14px}
.qaline.qbbox #qa-more{margin-left:0}
#qb-ph:focus{outline:none}
.qbgrid{width:100%}
.qbsaid summary{justify-content:flex-start}
.qaline.qaread .qbsent,.qaline.qaread .qbrow{opacity:.55}   /* v214: the words fade while Claude reads, the sentence too */

/* compact B, two lines (Chris, after trying it on the TEST server; docs/mockups/add-b-two-lines/) */
#sheet-say.qbreview #say-micw,#sheet-say.qbreview #qa-form,#sheet-say.qbreview .sayor,#sheet-say.qbreview #say-tiles,#sheet-say.qbreview #say-moreb,#sheet-say.qbreview #say-more{display:none !important}
#sheet-say.qacard #say-micw{display:none !important}   /* the big mic never sits over a read card; Say it again brings it back */
.qbsent .qbl1,.qbsent .qbl2{display:block}
.qbsent .qbat{white-space:nowrap}
.qaline.qbbox{gap:6px}
.qaline.qbbox .qbmore{min-height:44px}
.qbsaidt{font-style:normal}
/* Homework (v2-homework-and-search): its details in the reminder popup, the grey chat lines */
.hwinfo{padding:12px 16px;border-bottom:1px solid var(--line)}
.hwinfo > .actmeta{margin:0}
.hwinstr{white-space:pre-wrap}
.hwkids{display:flex;flex-direction:column;gap:6px;margin-top:10px}
.hwkid{display:flex;align-items:center;gap:8px;min-height:32px;font-size:15px}
.hwkn{flex:1;min-width:0}
.hwst{font-size:13px;font-weight:600;color:var(--muted)}
.hwst.ok{color:var(--accent-text)}
.thsys{align-self:center;max-width:90%;margin:6px auto;padding:4px 12px;border-radius:999px;background:color-mix(in srgb,var(--text) 6%,transparent);color:var(--muted);font-size:13px;text-align:center}

/* Search (v2-homework-and-search) */
.srbox{display:flex;align-items:center;gap:8px;min-height:52px;padding:0 6px 0 14px;margin:8px 0 12px;border:2px solid var(--accent);border-radius:14px;background:var(--card)}
.srbox > .i{flex:none;width:20px;height:20px;color:var(--muted)}
.srbox input{flex:1;min-width:0;min-height:48px;border:0;background:none;color:var(--text);font:inherit;font-size:17px;outline:none}
.srbox input::-webkit-search-cancel-button{display:none}
.srrow{flex-wrap:wrap;gap:8px;margin:0 0 10px}
.srchip{min-height:44px}
.srchip.on{background:var(--accent-tint);border-color:var(--accent);color:var(--accent-text);font-weight:600}
.srdel{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 12px;margin:0 0 10px;border-radius:12px;background:color-mix(in srgb,var(--danger,#B3261E) 10%,var(--card));color:var(--text)}
.srdel .btn{margin-left:auto}
.srlist{margin-top:4px}
.srrow2{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:10px 14px;border:0;border-top:1px solid var(--line);background:var(--card);color:var(--text);font:inherit;text-align:left;cursor:pointer}
.srrow2:first-child{border-top:0}
.srrow2 .srt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.srrow2 .srt b{font-size:16px;font-weight:600;overflow-wrap:anywhere}
.srrow2 .srt small{font-size:13px;color:var(--muted)}
.srrow2 .srsn{font-size:14px;color:var(--text);overflow-wrap:anywhere}
.srrow2 .srmore{font-size:13px;color:var(--accent-text)}
.srrow2.done .srt b{text-decoration:line-through;text-decoration-color:var(--muted)}
.srrow2 mark{background:color-mix(in srgb,var(--accent) 22%,transparent);color:inherit;border-radius:3px;padding:0 1px}
.srsp{font-weight:600;color:var(--text)}
.srhint{margin:16px 2px;color:var(--muted);font-size:15px}
.srnone{margin:20px 2px}
.srsugg{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.srrec .srrech{display:flex;align-items:center;justify-content:space-between}
.srrecrow{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:8px 14px;border:0;border-top:1px solid var(--line);background:var(--card);color:var(--text);font:inherit;text-align:left;cursor:pointer}
.srrecrow:first-child{border-top:0}
.srrecrow .i{color:var(--muted)}
.srglow{animation:srglow 4s ease-out}
@keyframes srglow{0%,40%{box-shadow:0 0 0 3px var(--accent)}100%{box-shadow:0 0 0 0 transparent}}
@media (prefers-reduced-motion:reduce){.srglow{animation:none;outline:3px solid var(--accent)}}
.topr .srchbtn{margin-right:2px}
/* v267 (Chris chose B of docs/mockups/reminder-details-options/): the reminder's popup = a sentence, who can see it, Mark done, Chat on one line, Snooze with its times */
.rdhead{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.acthead:has(.rdhead){margin-bottom:6px}
.rdbadge{display:inline-block;border-radius:999px;font-size:13px;font-weight:600;padding:4px 10px;background:var(--accent-tint);color:var(--accent-text)}
.rdsent{font-size:22px;line-height:1.4;color:var(--text);overflow-wrap:anywhere}
.rdsent h2{display:inline;margin:0;font-size:inherit;line-height:inherit;font-weight:700}
.rdsent .rdwhen{color:var(--accent-text);font-weight:600}
.rdsent .rdwhen.od{color:var(--danger)}
.rdhead .actmeta:empty{display:none}
.rdhead .wholine{margin-top:2px}
.rdi{gap:8px;width:100%}
html.v2 #act-body > .acthead:has(.rdi){padding-right:0}   /* v295: only the top line makes room for Close; the words and the time use the full width */
.rdi .rdtop{display:flex;align-items:center;gap:10px;width:100%;padding-right:44px}
.rdsaved{display:inline-flex;align-items:center;gap:4px;font-size:14px;font-weight:600;color:var(--ok)}
.rdsaved[hidden]{display:none}
.rdsaved .i{width:16px;height:16px}
.rdfrom{display:flex;align-items:center;gap:8px;margin:2px 0 0;font-size:15px;color:var(--muted)}
.rdfrom b{color:var(--text);font-weight:600}
.rdfrom .i{width:18px;height:18px}
.rdtro{margin:0;font-size:22px;line-height:1.35;font-weight:700;overflow-wrap:anywhere}
.rdtwrap{width:100%}
.rdtitle{display:block;width:100%;min-height:52px;margin:0;padding:10px 12px;border:1px solid transparent;border-radius:12px;background:var(--fill);color:var(--text);font:inherit;font-size:22px;line-height:1.35;font-weight:700;resize:none;overflow:hidden;overflow-wrap:anywhere}
.rdtitle:focus{outline:none;border-color:var(--accent);background:var(--card);box-shadow:0 0 0 3px var(--accent-tint)}
.rdterr{margin:6px 2px 0;font-size:14px;color:var(--danger)}
.rdterr[hidden]{display:none}
.rdwhen2{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:8px 14px;border:0;border-radius:12px;background:var(--accent-tint);color:var(--accent-text);font:inherit;font-size:17px;text-align:left;cursor:pointer}
.rdwhen2 .rdwt{flex:1;min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px}
.rdwhen2 .rdwt span{color:var(--muted);font-size:15px}
.rdwhen2 > .i{flex:none;width:20px;height:20px}
.rdwhen2.od{background:var(--danger-tint);color:var(--danger)}
.rdwhen2.ro{cursor:default;background:none;padding:4px 0;min-height:44px}
.rdwhen2:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.rdpick{width:100%;padding:4px 0 2px}
.rdquick{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 2px}
.rdwheels{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:8px}
.rdwheels .apwbox{margin-top:8px;padding:6px 10px;flex-direction:column;align-items:stretch;gap:2px}
.rdwheels .apwl{font-size:14px;font-weight:600;color:var(--muted)}
.rdwheels .apwrow{justify-content:center}
.rdwheels .apw.wide{width:100%}
.rdpickfoot{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:var(--muted)}
.rdnbox{margin-top:12px;border-radius:16px;box-shadow:inset 0 0 0 1px var(--line);background:var(--card)}
.rdnrow{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:8px 14px;border:0;background:none;color:var(--text);font:inherit;font-size:17px;text-align:left;cursor:pointer;border-radius:16px}
.rdnrow .rdl{flex:1}
.rdnrow > .i{flex:none;color:var(--muted)}
.rdnrow:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
.rdhint{margin-left:auto;font-size:14px;color:var(--muted)}
.rdnotein{display:block;width:calc(100% - 28px);margin:0 14px 14px;min-height:88px;font-size:17px}
.rdnotein[hidden]{display:none}
.rdilist{margin-top:12px;border-radius:16px}
.rdbottom{margin-top:18px;gap:10px}
/* v296 (Chris chose the blue editing card, docs/mockups/reminder-blue-for-claude/) */
.rdwcard{width:100%;padding:12px 14px;border-radius:16px;background:var(--accent-tint)}
.rdwcard:focus-within{box-shadow:inset 0 0 0 2px var(--accent)}
.rdwlab{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:28px;margin:0 0 4px;font-size:14px;font-weight:600;color:var(--accent-text);cursor:text}
.rdwcue{display:inline-flex;align-items:center;gap:6px}
.rdwcue .i{width:16px;height:16px}
.rdwcard .rdtitle{padding:2px 0;min-height:44px;border:0;border-radius:0;background:none;color:var(--text)}
.rdwcard .rdtitle:focus{border:0;background:none;box-shadow:none}
.rdwstat{margin:6px 0 0;min-height:18px;font-size:13px;color:var(--muted)}
.rdwstat [hidden]{display:none}
.rdwstat .rdsaved{color:var(--ok)}
.rdwcard .rdterr{margin:6px 0 0}
.rdilist .rdnbox{margin:0;border-radius:0;box-shadow:none;background:none}
.rdilist .rdnrow{border-radius:0}
.rdpair{display:flex;gap:10px}
/* v296 (Chris chose docs/mockups/reminder-all-inline.html): When / For / Repeats, one tinted card under the words */
.rdset{width:100%;margin-top:2px;border-radius:14px;background:var(--accent-tint);overflow:hidden}
.rdsrow{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:6px 14px;border:0;background:none;color:var(--accent-text);font:inherit;font-size:17px;text-align:left;cursor:pointer}
.rdsrow + .rdsrow,.rdspanel + .rdsrow,.rdpick + .rdsrow{border-top:1px solid color-mix(in srgb,var(--accent-text) 18%,transparent)}
.rdsrow > .i{flex:none;width:20px;height:20px}
.rdsrow .rdsl{flex:none;width:80px;font-size:15px;color:var(--muted)}
.rdsrow .rdwt,.rdsrow .rdsv{flex:1;min-width:0}
.rdsrow .rdsv{font-weight:600}
.rdsrow .rdwt{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 6px}
.rdsrow .rdwt b{font-weight:600}
.rdsrow .rdwt span{font-size:14px;color:var(--muted)}
.rdsrow.od .rdwt span{color:var(--danger)}
.rdsrow.open{background:color-mix(in srgb,var(--accent-text) 8%,transparent)}
.rdsrow.od{color:var(--danger)}
.rdsrow.ro{cursor:default}
.rdsrow:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
.rdset .rdpick,.rdspanel{padding:4px 14px 12px}
/* v311 (Chris chose A of docs/mockups/popup-when-grid/): When = two buttons like Add (white on the tinted card), the grid or the wheel opens under them */
.rdwrow{cursor:default;flex-wrap:wrap}
/* the day and time stay side by side ("Thu 29 Oct" stacked them, Chris on TEST 2073); with no room the pair moves under When together */
.rdwbs{flex:1 0 auto;display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.rdwbb{display:flex;flex-wrap:nowrap;gap:8px}
.rdwb{min-height:44px;padding:0 14px;border-radius:12px;border:1.5px solid transparent;background:var(--card);color:var(--text);font:inherit;font-size:16px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap;cursor:pointer}
.rdwb.on{border-color:var(--accent);color:var(--accent-text)}
.rdwb.ghost,html.v2 .sheet .rdwb.ghost{border:1.5px dashed var(--accent);color:var(--accent-text);background:var(--card)}   /* v347: + Add time / + Add a day */
.wqp{margin-bottom:10px}
.rdwb:focus-visible{outline:3px solid var(--accent);outline-offset:1px}
.rdwrel{font-size:14px;color:var(--muted)}
.rdsrow.od .rdwrel{color:var(--danger)}
.rdwpanel{padding:4px 10px 8px;background:color-mix(in srgb,var(--card) 55%,transparent)}
.rdwpanel .dstrip + .rdpickfoot{margin-top:-44px;pointer-events:none}
.rdwpanel .dstrip + .rdpickfoot > *{pointer-events:auto}
.rdwpanel .rdpickfoot{min-height:44px;padding:0 4px}
.rdwpanel .apcal{margin:0}
.rdwpanel .apwl{display:none}
.rdwpanel .apwbox{border:0;background:none;padding:0;margin:4px auto 0;justify-content:center}
.rdwpanel .apwrow{justify-content:center}
.rdwpanel .apwi[aria-selected="true"]{background:var(--card)}
.rdwpanel .rdterr,.rdwpanel .qbnote{margin:4px 4px 0}
.rdwalt{margin:6px -10px -8px;padding:0 4px 0 14px;border-top:1px solid color-mix(in srgb,var(--accent-text) 12%,transparent)}
.rdppl{display:flex;flex-wrap:wrap;gap:6px}
.rdp{display:flex;flex-direction:column;align-items:center;gap:4px;width:68px;min-height:72px;padding:4px 0;border:0;border-radius:12px;background:none;color:var(--text);font:inherit;font-size:13px;cursor:pointer}
.rdp:not(.on) .rdpav .av{opacity:.4}
.rdpav{position:relative;display:inline-flex}
.rdptk{position:absolute;right:-4px;bottom:-4px;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:var(--on-accent);box-shadow:0 0 0 2px var(--accent-tint)}
.rdptk .i{width:12px;height:12px}
.rdpn{max-width:68px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rdp:focus-visible{outline:3px solid var(--accent);outline-offset:0}
.rdspanel .chip.on{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.rdspanel .qbnote{margin:8px 0 0}
/* v297: the chore's popup (When: how often + days + time; Turns: the order in place) */
.rddays{display:grid;grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:4px;margin-top:8px}
.rddays .chip{min-width:0;min-height:44px;padding:0;justify-content:center;font-size:14px}
.rdstep{display:flex;align-items:center;gap:10px;margin-top:8px;font-size:16px;color:var(--text)}
.rdstep .btn{min-width:44px;min-height:44px;padding:0;font-size:20px}
.rdstep b{min-width:28px;text-align:center;font-size:18px}
.rdturns{display:flex;flex-direction:column;gap:6px}
.rdtrow{display:flex;align-items:center;gap:10px;min-height:52px;padding:4px 6px 4px 10px;border-radius:12px;background:var(--card);color:var(--text)}
.rdtn{flex:1;min-width:0;display:flex;flex-direction:column;font-size:16px}
.rdtn small{font-size:13px;color:var(--muted)}
.rdtmv{display:flex;gap:0}
.rdtmv .iconbtn{width:44px;height:44px}
.rdtmv .iconbtn:disabled{opacity:.3}
.rdadd{margin-top:8px}
.rdchact{margin-top:10px}
.rdchact .btn{flex:1;min-height:48px}
#act-chofacts{margin:2px 2px 0}
/* v298: the medicine's popup */
.rdaddtime{margin-top:6px}
.rdaddtime .apwbox{margin-top:4px}
.rdaddtime .rdpair{margin-top:8px}
.rdaddtime .rdpair .btn{flex:1;min-height:48px}
.rdspanel .chip .i{width:16px;height:16px}
.rdmhide{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:4px;font-size:15px;color:var(--muted)}
.rdmhide b{color:var(--text)}
.rdmhide .btn{min-height:44px;color:var(--accent-text)}
.rdmsnz{display:flex;align-items:center;gap:8px;margin-top:2px}
.rdmsnz > span{flex:none;font-size:15px;color:var(--muted)}
.rdmsnz .chip{flex:1;min-height:48px;justify-content:center}
/* v299: the appointment's popup */
.rdfields{display:flex;flex-direction:column;gap:8px}
.rdfields .input{min-height:48px}
.rdsub{margin:8px 0 6px;font-size:14px;font-weight:600;color:var(--muted)}
.rdsub:first-child{margin-top:2px}
.rdbringin{display:block;width:calc(100% - 28px);margin:0 14px 14px;min-height:48px}
.rdbringin[hidden]{display:none}
.actrow.rdro{cursor:default}
/* v301: the event's popup */
.rdrsvp .actmain{flex:1}
.rdpair.solo.wide .rdmorebtn{flex:1}
.rdphoto{width:100%;max-height:200px;object-fit:cover;border-radius:16px;margin:2px 0}
#act-like[aria-pressed="true"] > .i:first-child{color:var(--danger)}
/* v302: the bill's popup */
.rdmoney{display:flex;align-items:center;gap:8px}
.rdmoney > span{flex:none;min-width:24px;font-size:18px;font-weight:600;color:var(--text)}
.rdmoney .input{flex:1}
/* v300: the homework's popup */
.rdwheels.one{grid-template-columns:1fr}
.rdspanel .hwkid{justify-content:flex-start}
.rdspanel .hwkid .rdtn{flex:1}
#act-hwfiles .hwfrow{border-top:1px solid var(--line)}
#act-hwfiles > :first-child{border-top:0}
.rdnrow .rdl small{display:block;font-size:14px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rdilist > * + .rdnbox{border-top:1px solid var(--line);border-radius:0}
.rdbadge:has(.i){display:inline-flex;align-items:center;gap:6px}
.rdbadge .i{width:16px;height:16px}
.actrow.rdedit{display:grid;grid-template-columns:22px minmax(0,1fr) 16px;column-gap:12px;row-gap:0;padding-top:8px;padding-bottom:8px;text-align:left}
.rdedit > .i:first-child{grid-row:1 / 3;align-self:center}
.rdedit > small{grid-column:2;font-size:14px;color:var(--muted)}
.rdedit > .i:last-child{grid-column:3;grid-row:1 / 3;align-self:center;color:var(--muted)}
.rdpair .actmain{flex:1;margin:0}
.rdmorebtn{flex:none;min-width:100px;min-height:52px}
.rdpair.solo{justify-content:flex-end}
.rdmoremenu{margin:0}
#sheet-act .sheet-body:has(.rdbottom){padding-bottom:calc(16px + env(safe-area-inset-bottom))}
.rdvis{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;margin:0 0 10px;padding:4px 0;border:0;background:none;color:var(--muted);font:inherit;font-size:15px;text-align:left;cursor:pointer}
.rdvis span{flex:1;min-width:0}
.rdvis .i{flex:none;width:18px;height:18px}
.rdvis > .i:last-child{color:var(--accent-text)}
.rdvis.solo{cursor:default}
.rdvis:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:8px}
.rdmain{display:flex;flex-direction:column}
.rdrow{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;margin-top:12px;padding:8px 14px;border:0;border-radius:16px;background:var(--card);box-shadow:inset 0 0 0 1px var(--line);color:var(--text);font:inherit;font-size:17px;font-weight:600;text-align:left;cursor:pointer}
.rdrow > .i:first-child{flex:none;width:22px;height:22px;color:var(--muted)}
.rdrow > .i:last-child{flex:none;color:var(--muted)}
.rdrow .rdl{flex:1;min-width:0;display:flex;flex-direction:column}
.rdrow .rdl small{font-size:14px;font-weight:400;color:var(--muted)}
.rdchat.new > .i:first-child,.rdnote.has > .i:first-child{color:var(--accent-text)}
.rdbub{flex:none;border-radius:999px;padding:4px 10px;font-size:13px;font-weight:700;background:var(--accent-tint);color:var(--accent-text);white-space:nowrap}
.rdrow:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.rdwait{display:flex;align-items:center;gap:8px;margin:0;min-height:44px;font-size:15px;font-weight:600;color:var(--accent-text)}
.rdsnz{margin-top:16px}
.rdsh{margin:0 0 2px;font-size:15px;color:var(--muted)}
.rdsnzc.snzc{margin:6px 0 0 !important}
.rdsnzc .chip.snzb{min-height:48px;font-size:15px;white-space:normal;text-align:center}
.rdsnzc .chip.snzb{flex:1 1 40%;min-width:0}
.rdsnzc #act-snz-pick{flex-basis:100%}
.rddisc{margin-top:14px;border-radius:16px;box-shadow:inset 0 0 0 1px var(--line);padding:0 14px}
.rddisc summary{min-height:48px;display:flex;align-items:center;font-size:16px;font-weight:600;cursor:pointer}
.rddisc .actnote2{margin:0 0 14px}
.rdfacts{display:grid;gap:8px;padding-bottom:14px;font-size:15px;color:var(--muted)}
.rdfacts b{color:var(--text);font-weight:600}
.rddisc + .rddisc{margin-top:8px}
.rdpage{display:flex;flex-direction:column;gap:10px}
.rdph h2.rdpt{margin:0;font-size:19px;font-weight:700}
html.v2 #act-body > .rdpage:first-child{padding-right:0}
html.v2 #act-body > .rdpage .rdph{padding-right:52px}
.rdprow{display:flex;align-items:center;gap:12px;min-height:56px;padding:8px 14px;border-top:1px solid var(--line)}
.rdprow:first-child{border-top:0}
.rdpage .qacdow,.rdpage .qacgrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;text-align:center}
.rdpage .qacdow span{padding-bottom:4px;font-size:12px;font-weight:700;color:var(--muted)}
.rdpage .qacday{position:relative;height:44px;border:0;border-radius:22px;background:none;color:var(--text);font:inherit;font-size:16px;font-weight:600;cursor:pointer;padding:0}
.rdpage .qacday.tdy{box-shadow:inset 0 0 0 1.5px var(--accent);color:var(--accent-text)}
.rdpage .qacday.sel{background:var(--accent);color:var(--on-accent);box-shadow:none}
.rdpage .qacday:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.rdpage .qadot{position:absolute;left:50%;bottom:5px;width:5px;height:5px;margin-left:-2.5px;border-radius:50%;background:var(--accent-text)}
.rdpage .qacday.sel .qadot{background:var(--on-accent)}
.rdpage .qbgrid .qacday small{display:none}   /* the ring says today (and its label); "Today" at 10 px did not fit the 12 px rule */

/* v271 (Chris's contacts-shopping package, docs/mockups/contacts-shopping/): the Contact form = Name, Phone, who sees it, More details */
#sheet-add.ctmode #add-tiles{display:none}
.ctvis{display:flex;align-items:center;gap:8px;margin:16px 0 0;padding:12px;border-radius:12px;background:var(--accent-tint);color:var(--accent-text);font-size:15px;font-weight:600}
.ctvis .i{width:20px;height:20px;flex:none}
.ctmore{margin-top:16px}
.ctmore > summary{font-size:17px;min-height:56px;justify-content:space-between;list-style:none}
.ctmore > summary::-webkit-details-marker{display:none}
.ctmore > summary::after{content:'';width:9px;height:9px;margin-right:6px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:translateY(-3px) rotate(45deg);flex:none}
.ctmore[open] > summary::after{transform:translateY(2px) rotate(-135deg)}
.ctmore[open] > summary{border-bottom:1px solid var(--line)}
.ctmore > .field:first-of-type{margin-top:12px}
.ctmore .ctrows{margin-top:16px}
.ctmore .ctforhelp{margin:8px 0 0}
/* the Shopping List: Manage, the add box at the bottom */
.shopsub{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:2px 0 12px}
.shopsub p{margin:0;font-size:15px;color:var(--muted);min-width:0}
.shopsub .btn.text{min-height:44px;flex:none;font-weight:600}
#shop-list .shoprm{min-height:44px;padding:0 8px;gap:4px;font-size:15px;font-weight:600;flex:none}
#shop-list .shoprow.shopnew{animation:shopnew 2.4s ease-out}
@keyframes shopnew{0%,40%{background:var(--accent-tint);box-shadow:-16px 0 0 var(--accent-tint),16px 0 0 var(--accent-tint)}100%{background:transparent;box-shadow:none}}
@media (prefers-reduced-motion:reduce){#shop-list .shoprow.shopnew{animation:none;background:var(--accent-tint)}}
#s-shopping .pad:has(#shop-list-view:not([hidden])){padding-bottom:0}
.shopentry{position:sticky;bottom:0;z-index:2;margin:16px -16px 0;padding:8px 16px 12px;background:var(--card);border-top:1px solid var(--line)}
.shopentry .addrow{margin-top:0;align-items:center}
.shopentry .input{background:var(--fill)}
.shopentry .btn.filled{width:auto;min-height:50px;padding:0 22px;flex:none}
.shopsay{display:none;align-items:center;justify-content:space-between;gap:8px;min-height:44px;margin-bottom:4px;font-size:15px;font-weight:600;color:var(--accent-text)}
.shopsay.on{display:flex}
.shopsay .sst{min-width:0;overflow-wrap:anywhere}
.shopsay .btn.text{min-height:44px;flex:none}
@media (min-width:1024px){ .shopentry{margin:16px -32px 0;padding:12px 32px 16px} }
.ctmore[open]{padding-bottom:14px}
.ctpick{width:100%;min-height:48px;margin-bottom:12px;gap:8px}   /* v271: Choose from my contacts, above Name */
/* v408 (Chris chose A of docs/mockups/phonebook-suggestions/): a new contact's suggestions as chips under headings, and the empty Phonebook's 8 */
.ctsug-wrap{display:flex;flex-direction:column;gap:12px;padding-bottom:8px}
.ctq{font-size:22px;font-weight:700;margin:4px 0 0}
.ctqh{font-size:14px;color:var(--muted);margin:-6px 0 0}
.ctsgrp{display:flex;flex-direction:column;gap:8px}
.ctsh{font-size:15px;font-weight:600;color:var(--muted);margin:4px 0 0}
.ctsugs{display:flex;flex-wrap:wrap;gap:8px}
.chip.ctsug{min-height:44px;font-size:16px;font-weight:400;gap:6px}
.chip.ctsug.have{color:var(--muted)}
.chip.ctsug.have .i{color:var(--ok);width:15px;height:15px}
.ctjust{align-self:flex-start;min-height:44px;padding-left:0;padding-right:0}
.ctkind{display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin:0 0 12px}
.ctkind .ctkchip{cursor:default}
.ctkind .ctkch{min-height:44px}
.ctempty{display:flex;flex-direction:column;gap:12px;padding:18px 16px}
.ctet{font-size:20px;font-weight:700;margin:0}
.ctes{color:var(--muted);font-size:15px;margin:-6px 0 0}
.ctelse{min-height:48px;width:100%}
/* v272 (Chris chose A of docs/mockups/shopping-mic/): the Shopping List's mic and its listening panel */
.shopmic{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;flex:none;background:var(--accent-tint);color:var(--accent-text)}
.shopmic:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.shoplistening .tabbar,.shoplistening .fab{display:none}
.shoplisten{position:fixed;left:0;right:0;bottom:0;z-index:70;max-width:520px;margin:0 auto;display:flex;flex-direction:column;gap:10px;padding:16px 16px calc(max(12px,env(safe-area-inset-bottom)) + 8px);background:var(--card);border-top:1px solid var(--line);border-radius:16px 16px 0 0;box-shadow:0 -10px 28px rgba(0,0,0,.12)}
.shoplisten[hidden]{display:none}
.slhead{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:600;color:var(--accent-text)}
.sldot{width:12px;height:12px;border-radius:50%;background:var(--accent);flex:none;animation:sldot 1.1s ease-in-out infinite}
.shoplisten.asking .sldot{display:none}
@keyframes sldot{0%,100%{transform:scale(.8);opacity:.6}50%{transform:scale(1.25);opacity:1}}
@media (prefers-reduced-motion:reduce){.sldot{animation:none}}
.slask{margin:0;font-size:15px;color:var(--text)}
.slheard{min-height:52px;border-radius:12px;background:var(--fill);padding:12px 14px;font-size:18px;overflow-wrap:anywhere}
.slheard[hidden],.slitems[hidden],.slpow[hidden]{display:none}
.slhint{color:var(--muted);font-size:16px}
.slitems{font-size:15px;font-weight:600;color:var(--accent-text);overflow-wrap:anywhere}
.slbtns{display:flex;gap:8px}
.slbtns .btn{flex:1;width:auto;min-height:52px}
.slpow{margin:0;font-size:13px;color:var(--muted);text-align:center}
.amthumb .amsay{flex:none;gap:6px;padding:0 16px}
@media (min-width:1024px){ .shoplisten{left:calc(50vw + 128px - 280px);right:auto;width:560px;margin:0;bottom:24px;border:1px solid var(--line);border-radius:16px} }

/* v274 (built as v270): Chat stays beside every desktop page until closed. The existing mobile Chat is unchanged. */
#desktop-chat[hidden]{display:none}
@media (min-width:1024px){
  #app.chat-docked{grid-template-columns:256px minmax(0,1fr) 380px}
  #desktop-chat{grid-column:3;grid-row:1/-1;display:flex;flex-direction:column;min-height:0;min-width:0;margin:16px 16px 16px 0;border:1px solid var(--line);border-radius:16px;background:var(--card);overflow:hidden}
  .desktop-chat-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 16px;border-bottom:1px solid var(--line);flex:none}
  .desktop-chat-head h2{margin:0;font-size:18px;font-weight:700}
  .desktop-chat-head .btn{display:flex;align-items:center;gap:8px;min-height:44px}
  #desktop-chat #s-chat{position:relative;inset:auto;display:flex;flex:1;min-height:0;flex-direction:column;overflow:hidden}
  #desktop-chat .chathead{padding:12px 16px 8px}
  #desktop-chat .chathead .top,#desktop-chat #chat-h{display:none}
  #desktop-chat #chat-convs{padding:0 12px 16px}
  #desktop-chat #chat-convs .convrow,#desktop-chat #chat-convs .thcrow{grid-template-columns:32px minmax(0,1fr) 46px;gap:8px;padding:12px 10px}
  #desktop-chat .convtitle{flex-wrap:wrap;font-size:16px}
  #desktop-chat .convtitle .title{white-space:normal;overflow-wrap:anywhere}
  #desktop-chat .convbar{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:8px 12px;gap:4px 8px}
  #desktop-chat .convbar .backbtn{min-height:44px;grid-column:1/-1;justify-self:start}
  #desktop-chat .convbar .convtitle{grid-column:1;grid-row:2}
  #desktop-chat .convbar .mutebtn{grid-column:2;grid-row:2}
  #desktop-chat .chatbar{padding-bottom:12px}
  .chat-docked .stage{min-width:0}
  .chat-docked .pad{padding-left:24px;padding-right:24px}
  .chat-docked .todaycols{display:block}
  .chat-docked #today-side{display:none}
  .chat-docked #s-calendar #cal-v-month:not([hidden]){display:block}
  .chat-docked #s-calendar #cal-v-week{overflow-x:auto}
  .chat-docked #s-calendar .wg{min-width:680px}
  .tab[data-tab="chat"][aria-expanded="true"]{background:var(--accent-tint);color:var(--accent-text)}
}
@media (min-width:1024px) and (max-width:1199px){
  #app.chat-docked{grid-template-columns:220px minmax(0,1fr) 340px}
  .chat-docked .fab{width:196px}
  .chat-docked .pad{padding-left:16px;padding-right:16px}
  .chat-docked .tracts{flex-wrap:wrap}
}
@media (min-width:1024px){ .chat-docked .shopentry{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px} }   /* v271 + v274: the docked Chat narrows the page's sides to 16 px */

/* Medicines (Chris's medicines package, docs/mockups/medicines-for-claude/): Home › Medicines and its sheet */
.medseg{margin-top:16px}
.meddate{margin-top:18px;font-size:15px;color:var(--muted)}
.medwarn{color:var(--soon);font-weight:600}
.medok{color:var(--ok);font-weight:600}
.medclear{padding:16px;font-size:16px;color:var(--muted);border-radius:16px}
.medgroup .trm{white-space:normal}
.medrow .trt{overflow-wrap:anywhere}
.medtick:disabled{opacity:.4}
.medpriv2{display:flex;align-items:flex-start;gap:8px;margin-top:20px;font-size:15px;color:var(--muted)}
.medpriv2 .i{flex:none;margin-top:2px}
.medhd{display:grid;gap:6px}
.medhd .medbig{width:56px;height:56px;border-radius:12px}
.medhd .medbig .i{width:26px;height:26px}
.medname{font-size:24px;font-weight:700;line-height:1.2;overflow-wrap:anywhere;margin-top:6px}
.medwhen{font-size:17px;color:var(--muted)}
.medacts{display:grid;gap:10px;margin-top:16px}
.medacts .btn,.medfull{width:100%;min-height:52px}
.medfull{margin-top:16px}
.medstate{font-size:16px;color:var(--muted);margin-top:8px}
.medkvs{display:grid;margin-top:4px}
.medkv{display:flex;justify-content:space-between;gap:16px;min-height:52px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line);font-size:16px}
.medkv span{color:var(--muted);flex:none}
.medkv b{font-weight:500;text-align:right;overflow-wrap:anywhere;min-width:0;white-space:pre-line}
.medcount{display:grid;gap:2px;padding:18px;margin-top:14px;border-radius:16px}
.medcount b{font-size:40px;line-height:1.1}
.medcu{font-size:18px}
.medcount .muted{font-size:15px}
.medback{min-height:44px;padding-left:0;margin-bottom:4px}
.medsubhd{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:20px;margin:4px 0 8px}
.medsubhd b{overflow-wrap:anywhere;min-width:0}
.meddisc{padding-bottom:14px}
.meddisc .field:first-of-type{margin-top:4px}
.medphotos{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.medphotos .pnote{flex-basis:100%;margin:0}
.medphoto{display:block;width:100%;max-height:420px;object-fit:contain;border-radius:12px;background:var(--fill)}
#sheet-med .check{font-weight:600}
#sheet-med .sec{margin-top:24px}
.medseg .chip{flex:1 1 auto;white-space:nowrap;padding:0 10px}
#sheet-med .check input{accent-color:var(--accent)}
@media (max-width:359px){.medseg .chip{white-space:normal;line-height:1.15;font-size:14px;min-height:44px}}

/* The Homework module (Chris's homework-module package, docs/mockups/homework-module-for-claude/): Home › Homework, its form and attachments */
.hwkwho{margin-top:16px}
.hwkseg{margin-top:12px}
.hwkseg .chip{flex:1 1 auto;white-space:nowrap;padding:0 10px}
#s-homework .sec{margin-top:22px}
#s-homework .sec.od{color:var(--danger)}
#s-homework .trm{white-space:normal}
#s-homework .trt{overflow-wrap:anywhere}
.hwkcalm{display:flex;align-items:center;gap:8px;margin-top:20px;padding:16px;border-radius:16px;background:var(--card);border:1px solid var(--line);font-size:16px;color:var(--muted)}
.hwkfoot{display:grid;gap:16px;margin-top:24px}
.hwkfoot .setgroup .row{padding:14px 16px;gap:12px;border-top:0;margin-top:0}   /* the only row in its card: no line above it (Chris, 18 Oct) */
.hwx{display:grid;gap:4px;margin-top:4px}
.hwatt .flabel,.hwx label{font-size:15px;font-weight:600;color:var(--muted)}
.hwflist{margin:6px 0 10px}
.hwfitem{display:flex;align-items:center;min-height:56px;border-bottom:1px solid var(--line)}
.hwfitem:last-child{border-bottom:0}
.hwfopen,.hwfrow{flex:1;min-width:0;display:flex;align-items:center;gap:12px;min-height:56px;padding:8px 12px 8px 16px;background:none;border:0;color:var(--accent-text);font:inherit;font-size:16px;font-weight:600;text-align:left;cursor:pointer}
.hwfn{display:grid;min-width:0;overflow-wrap:anywhere}
.hwfn small{font-size:14px;font-weight:400;color:var(--muted)}
.hwfx{flex:none;width:44px;height:44px;margin-right:6px;color:var(--muted)}
.hwattach{justify-self:start;min-height:44px}
.hwvis{margin-top:12px}
.hwfacts{display:grid;gap:2px;margin:8px 0 4px}
.hwfacts>div{display:flex;justify-content:space-between;gap:16px;min-height:40px;align-items:center;border-bottom:1px solid var(--line);font-size:16px}
.hwfacts dt{color:var(--muted)}
.hwfacts dd{margin:0;font-weight:600;text-align:right}
.hwfiles{margin-top:10px}
.hwfrow{width:100%;border-bottom:1px solid var(--line)}
.hwfrow:last-child{border-bottom:0}
.hwfrow .i:last-child{margin-left:auto;color:var(--muted)}
.hwfpage .rdph h2{overflow-wrap:anywhere;min-width:0}
.hwfdoc{display:grid;justify-items:center;gap:6px;margin-top:16px;padding:24px 16px;border-radius:16px;background:var(--fill);text-align:center;overflow-wrap:anywhere}
.hwfdoc b{font-size:17px}
.hwfbtns .btn{width:100%;min-height:52px;margin-top:14px}
.hwrq{margin:4px 0 10px}
.hwdone{color:var(--ok)}
.hwrpage .btn{width:100%;min-height:52px}
.hwrpage .qbcancel{min-height:44px}
.hwrpage .hwrq{margin:0}
.addhead h2{min-width:0;overflow-wrap:anywhere}
.addheadr{flex:none}

/* ===== v282 Settings in one design language (Chris's settings-review-all package, docs/mockups/settings-review-all/, 18 Oct 2026) =====
   The list since v331: Settings the Apple way (below): no headings, one grey line per row, no values.
   Every section page: grey sentence-case headings (15 px, 600) over 16 px cards of rows at least 60 px tall (17 px names, one
   wrapping grey 14 px line, grey values on the right, a chevron), notes in 14 px grey under the card. Choices from a list are
   rows that open the short list (setList / setSheet); actions are rows with a plain icon, red only when they delete or sign out. */
/* v331 Settings the Apple way, step 1 (Chris chose C of docs/mockups/settings-apple/, 23 Oct 2026): no group headings; four groups 20 px apart;
   a row = tinted icon, name, ONE grey 13 px line saying what the page holds (never a value); a warning is an amber tag on the right (.settag). */
#s-settings .setsec.gs{margin-top:20px}
#s-settings .sethb .settag{flex:none;align-self:center;font-size:13px;font-weight:600;line-height:1.2;padding:6px 10px;border-radius:999px;background:var(--soon-tint);color:var(--soon);white-space:nowrap}
#s-settings .sethb{min-height:64px;padding:12px 14px 12px 16px;gap:12px}
#s-settings .setsec.gs .sethb{border-top-left-radius:16px;border-top-right-radius:16px}
#s-settings .setsec.ge .sethb{border-bottom-left-radius:16px;border-bottom-right-radius:16px}
#s-settings .setsec:not(.gs) .sethb::before{left:62px}
#s-settings .sethb .ticon{width:34px;height:34px;border-radius:8px;background:var(--accent-tint);color:var(--accent-text);display:grid;place-items:center;flex:none}
#s-settings .sethb .ticon .i{width:20px;height:20px}
#s-settings .sethb .t{flex-direction:column;align-items:flex-start;gap:3px}
#s-settings .sethb .nm{font-size:17px;font-weight:400;line-height:1.3}
#s-settings .sethb .sum{order:2;text-align:left;flex:none;max-width:100%;white-space:normal;overflow:visible;font-size:13px;line-height:1.35;color:var(--muted)}
#s-settings .sethme .sum{font-size:14px}
#s-settings .sethme .settag{order:3;margin-top:6px}
#s-settings .sethb .v2desc{display:none}
#s-settings .sethme{min-height:80px}
#s-settings .sethme .nm{font-size:17px;font-weight:600}
#s-settings .sethme .av{width:48px;height:48px;font-size:20px}
/* section pages */
#s-settings .setb h3.sec{font-size:15px;line-height:1.35;font-weight:600;letter-spacing:0;text-transform:none;color:var(--muted);margin:26px 16px 8px}
#s-settings .setb > h3.sec:first-child,#s-settings .setb > div:first-child > h3.sec:first-child,#s-settings .setb > div:first-child > div:first-child > h3.sec:first-child{margin-top:8px}
#s-settings .setb .sechead{margin:26px 0 8px 16px}
#s-settings .setb .card,#s-settings .setb .group{border-radius:16px}
#s-settings .setb .card{padding:0 16px}
#s-settings .setb .card.setlist{padding:0 0 0 16px}
#s-settings .setb > .noteline,#s-settings .setb > div > .noteline,#s-settings .setb .noteline{font-size:14px;line-height:1.5;color:var(--muted);margin:9px 16px 0}
#s-settings .setb .card .noteline{margin:10px 0 12px}
#s-settings .setb .noteline:empty{display:none}
#s-settings .setb .row{min-height:64px;padding:12px 0;gap:12px}
#s-settings .setb .row .title{font-size:17px;font-weight:400;line-height:1.3}
#s-settings .setb .row .muted.small{font-size:14px;line-height:1.4;margin-top:3px}
#s-settings .setb .card.setlist > .row{padding-right:16px}
#s-settings .setb .setlist > * + *,#s-settings .setb .card.setlist > .setrows .setrow + .setrow{border-top:1px solid var(--line)}
#s-settings .setb .card > .row + .row,#s-settings .setb .card > .row + .frow,#s-settings .setb .card > .frow + .row{border-top:1px solid var(--line)}
#s-settings .setb [hidden]{display:none !important}
#s-settings .frow.setfr{min-height:60px;padding:10px 16px 10px 0;gap:12px}
#s-settings .frow.setfr .frl{font-size:17px;line-height:1.3;color:var(--text)}
#s-settings .frow.setfr .frl small{display:block;font-size:14px;line-height:1.4;color:var(--muted);margin-top:3px}
/* Your account › Signing in (23 Oct 2026, docs/mockups/your-account/): rows named by what you want to do, a grey line each; the right value may be green (covered) or amber (nothing set up) */
#me-signin .frow.setfr{min-height:64px}#me-signin .frow.setfr .frl{flex:1 1 auto;font-size:17px;color:var(--text)}#me-signin .frow.setfr .frv{flex:none}
#s-settings #me-signin .frm.ok{color:var(--ok);font-weight:600}#s-settings #me-signin .frm.todo{color:var(--soon);font-weight:600}

#s-settings .frow.setfr .frm{font-size:15px;color:var(--muted);font-weight:400;text-align:right;display:inline-flex;align-items:center;gap:8px;justify-content:flex-end}
#s-settings .frow.setfr .frv{max-width:48%}
#s-settings .frow.setfr .trc{width:16px;height:16px;color:var(--muted);flex:none}
#s-settings .setrows{margin:0}
#s-settings .setrows .setrow{padding-left:0}
#s-settings .tinrow .frv{max-width:none;align-items:flex-end}
#s-settings .tinrow .timein{font-size:16px;min-height:44px;border:0;border-radius:12px;background:var(--fill);color:var(--text);padding:0 12px}
#s-settings .actrow{min-height:56px;padding:8px 16px 8px 0;font-size:17px;font-weight:400;color:var(--text);gap:14px}
#s-settings .card.setlist > .actrow,#s-settings .card.setlist > .setact{border-top:1px solid var(--line)}
#s-settings .card.setlist > .actrow:first-child{border-top:0}
#s-settings .group.actlist{padding-left:16px;margin-top:0}
#s-settings .group.actlist .actrow{padding-left:0}
#s-settings .actrow .i{width:22px;height:22px;color:var(--muted)}
#s-settings .actrow.danger,#s-settings .actrow.danger .i{color:var(--danger)}
#s-settings .setact{min-height:56px;font-size:17px}
#s-settings .setrowb{min-height:60px}
#s-settings .setrowb .srs{font-size:14px;line-height:1.4}
#s-settings .setrowb .srv{font-size:15px}
#s-settings .pushrow .pill{flex:none}
#s-settings #wd-card.wdoff .title{color:var(--muted)}
/* v333 Settings the Apple way, step 3 (Chris chose C of docs/mockups/settings-apple/): switches on one line with ONE note under the group,
   red rows alone at the bottom (Sign out, Delete my account), plain icons with chevrons on Your data */
#s-settings .setb .card.alone{margin-top:28px}
#s-settings .actrow.center{justify-content:center;text-align:center;font-weight:600;padding:8px 16px 8px 0}
#s-settings .card.setlist > .actrow.center:first-child{border-top:0}
#s-settings .frow.setfr.pic > .i.sm{width:22px;height:22px;color:var(--muted);flex:none}
#s-settings a.frow.setfr{text-decoration:none;color:var(--text)}
.cdot.a-violet{background:var(--c-violet)}.cdot.a-pink{background:var(--c-pink)}.cdot.a-teal{background:var(--c-teal)}.cdot.a-amber{background:var(--c-amber)}.cdot.a-green{background:var(--c-green)}.cdot.a-red{background:var(--c-red)}.cdot.a-slate{background:var(--c-slate)}.cdot.a-brown{background:var(--c-brown)}
#s-settings .frm .cdot{width:18px;height:18px}
.avsheet{display:flex;align-items:center;gap:14px;margin:4px 0 16px}
#adm-body h3.sec{font-size:15px;font-weight:600;color:var(--muted);text-transform:none;letter-spacing:0;margin:18px 16px 8px}
#adm-body h3.sec:first-child{margin-top:4px}
#adm-body .plist + h3.sec{margin-top:22px}
#s-settings .card > .row:first-child,#s-settings .card > .evrep:first-child{border-top:0}
#s-settings .setb .evrep{margin-top:0}
#s-settings .setrows > .frow.setfr + .frow.setfr,#s-settings .card.setlist > .setrows + .frow,#s-settings .card.setlist > .frow + .setrows{border-top:1px solid var(--line)}
/* v282: Sign-in and recovery's ways are rows in one card */
#s-settings .rcways{gap:0;background:var(--card);border-radius:16px;padding-left:16px}
#s-settings .rcway{border:0;border-radius:0;background:none;min-height:64px;padding:12px 16px 12px 0;gap:12px}
#s-settings .rcway + .rcway{border-top:1px solid var(--line)}
#s-settings .rcwi{width:34px;height:34px;border-radius:8px}
#s-settings .rcwi .i{width:20px;height:20px}
#s-settings .rcwt b{font-size:17px;font-weight:400}
#s-settings .rcwt small{font-size:14px;line-height:1.4;margin-top:3px}
#s-settings .rcstatus{margin:8px 0 0}
#s-settings .rcstatus b{font-size:17px}
#s-settings .rcstatus span span{font-size:14px}
#s-settings .rcfoot{display:block}
.setnotice{background:var(--accent-tint);color:var(--text);border-radius:12px;padding:16px;font-size:15px;line-height:1.5;margin:8px 0 0}
#s-settings .locaddbtn{border-top:1px solid var(--line)}
#s-settings .pplacts{margin-top:12px}
#s-settings .pplacts:not(:has(.actrow:not([hidden]))){display:none}
#s-settings #ppl-invite:not(:empty) .actrow{border-top:1px solid var(--line)}
#s-settings #ppl-invite .actrow{padding-left:0}
#s-settings #add-person-btn[hidden] + #ppl-invite .actrow{border-top:0}
#s-settings .frow.setfr.sic{text-decoration:none}
#s-settings .frow.setfr.sic .frl,#s-settings .frow.setfr.two .frl{flex:1;min-width:0}
#s-settings .frow .ticon{width:34px;height:34px;border-radius:8px;background:var(--accent-tint);color:var(--accent-text);display:grid;place-items:center;flex:none}
#s-settings .frow .ticon .i{width:20px;height:20px}
#s-settings #admin-rows{padding-left:16px}
#s-settings #people > article.card{border-radius:0;padding:10px 16px;min-height:64px;display:flex;flex-direction:column;justify-content:center}
#s-settings #people > article.card:first-child{border-radius:16px 16px 0 0}
#s-settings #people > article.card:last-of-type{border-radius:0 0 16px 16px}
#s-settings #people > article.card:only-of-type{border-radius:16px}
#s-settings #people .personhead .title{font-size:17px;font-weight:400}
#s-settings #people .personhead .muted.small{font-size:14px}
#s-settings #people .personhead .av.lg{width:36px;height:36px;font-size:15px}
/* v283: the Week ahead sheet and the action lists in Settings sheets */
#adm-body .wcrows{border:0;border-radius:16px;padding-left:16px;margin-bottom:4px}
#adm-body .wcrows > .row{min-height:64px;padding:10px 16px 10px 0;margin:0}
#adm-body .wcrows > * + *{border-top:1px solid var(--line)}
#adm-body .wcrows .frow{min-height:60px;padding:8px 16px 8px 0}
#adm-body .wcrows .frow .frl{flex:1;font-size:17px;color:var(--text)}
#adm-body .wcrows .row .title{font-size:17px;font-weight:400}
#adm-body .wcaud{margin:0}
#adm-body #wc-time{font-size:16px;min-height:44px;border:0;border-radius:12px;background:var(--fill);color:var(--text);padding:0 12px}
#adm-body #feed-mlist,#adm-body .avsheet + .actlist{padding-left:16px}
#adm-body #feed-mlist .actrow,#adm-body .avsheet + .actlist .actrow{font-weight:400;padding-left:0;min-height:56px}
.locmiss{margin:10px 0;padding:10px 12px;border-radius:12px;background:var(--danger-tint)}   /* v307 (List #365): a place this phone has not saved */
.locmiss .btn{width:100%;margin-top:8px}
/* v309 the one-popup Add (Chris, docs/mockups/add-one-popup/): one row of types, rows open in place, More options, Save says when */
#add-tiles{display:block;margin:2px 0 10px}
#add-tiles #add-kinds.ktray{margin:0}
#sheet-add #add-card{overflow:clip}
#add-pick.inline{display:flex;flex-direction:column;flex:none;min-height:0;background:var(--accent-tint);padding:2px 0 12px;border-top:1px solid var(--line)}
#add-pick.inline .pickhead{order:3;display:block;min-height:0;padding:10px 14px 0}
#add-pick.inline #pick-back,#add-pick.inline #pick-sub{display:none}
#add-pick.inline #pick-h{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip:rect(0 0 0 0)}
#add-pick.inline #pick-done{display:flex;width:100%;min-height:44px;justify-content:center;border:1.5px solid var(--accent);border-radius:12px;background:var(--card);color:var(--accent-text);font-weight:600}
#add-pick.inline #pick-body{flex:none;overflow:visible;padding:6px 12px 0}
#add-form .frow.open{position:sticky;top:0;z-index:3;background:var(--accent-tint)}
#add-form .frow.open .frl{color:var(--accent-text);font-weight:600}
#add-form .frow .trc{transition:transform .2s}
#add-form .frow.open .trc{transform:rotate(90deg)}
#add-form.rowopen .frow:not(.open),#add-form.rowopen .irow,#add-form.rowopen .walt{opacity:.45;transition:opacity .2s}
#add-form .fmore .frl{flex:0 0 auto;color:var(--accent-text);font-weight:600}
#add-form .fmore .frv.chg .frm{font-size:14px;font-weight:400;color:var(--text)}
#add-form .fmore .trc.up{transform:rotate(180deg)}
.walt{display:flex;flex-wrap:wrap;align-items:center;gap:0;padding:0 6px 8px 14px;font-size:15px;color:var(--muted)}
.walt-l{margin-right:2px}
.waltb{min-height:44px;padding:0 7px;border:0;border-radius:999px;background:none;color:var(--accent-text);font:inherit;font-weight:600;cursor:pointer}
.waltb[aria-pressed="true"]{background:var(--accent);color:var(--on-accent)}
/* v366 (Chris chose A of docs/mockups/add-when-simple/): When = Date & time | Someday | At a place; the panels hold only the calendar and the wheel */
.wsw{padding:10px 12px 6px 14px;border-top:1px solid var(--line)}
.frows > .wsw:first-child{border-top:0}
.wsw-l{padding:0 2px 6px;color:var(--muted);font-size:15px;font-weight:600}
.wseg .chip{min-height:44px;padding:0 4px;white-space:normal;line-height:1.15;text-align:center;font-size:15px}
.frows .irow.bare{padding-left:14px;border-top:0}
.frows .irow.wnote{min-height:56px;padding:6px 12px 6px 14px;gap:10px}
.irow.wnote .pnote{margin:0;font-size:15px;color:var(--muted);flex:1;min-width:0}
.wpic{flex:none;display:inline-flex;align-items:center;justify-content:center;width:24px;color:var(--accent-text)}
.irow .frl.wpic,.frow .frl.wpic{width:24px;margin-right:2px}
.frows .frow[data-row="place"]{min-height:56px}
.ibtn.ibx{min-width:44px;padding:0;color:var(--muted);font-size:20px;font-weight:400}
#add-form.rowopen .wsw{opacity:.45;transition:opacity .2s}
#save[data-sum]:not([data-sum=""]):not(:disabled){flex-direction:column;gap:0;min-height:56px;padding-top:6px;padding-bottom:6px;line-height:1.2}
#save[data-sum]:not([data-sum=""]):not(:disabled)::after{content:attr(data-sum);display:block;max-width:100%;overflow:hidden;font-size:14px;font-weight:500;opacity:.9;white-space:nowrap;text-overflow:ellipsis}
@media (prefers-reduced-motion:reduce){#add-form .frow .trc,#add-form.rowopen .frow{transition:none}}
/* v310: while editing in a popup the bottom buttons make way for one Done (rdEditMode) */
.rdpair .rdeditdone{flex:1;margin:0}
.rdpair:not(.editing) .rdeditdone{display:none}
.rdpair.editing > :not(.rdeditdone){display:none}
/* My notes (068, Chris chose docs/mockups/quick-notes/): rows of your own notes, a writing bar at the bottom like Chat's that grows to
   6 lines, and while you talk a card above it with your words (Done / Cancel in tap mode). */
.mnlead{display:flex;align-items:center;gap:6px;font-size:15px}
.mnlist .mnrow1{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:12px 16px;text-align:left;border-top:1px solid var(--line)}
.mnlist .mnrow1:first-child{border-top:0}
.mnrow1 .mnt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.mnrow1 .mnb{font-size:16px;font-weight:600;white-space:pre-line;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.mnrow1 .mnm{font-size:14px;color:var(--muted)}
.mnrow1 > .i{color:var(--muted);flex:none}
.mnrow1.fresh{animation:mnfresh 1.6s ease}
.mnrow1.pending .mnm::after{content:" · waiting to send"}
@keyframes mnfresh{from{background:var(--accent-tint)}to{background:transparent}}
.mnempty{color:var(--muted);text-align:center;padding:32px 16px}
#s-mynotes .pad{padding-bottom:0;min-height:100%;display:flex;flex-direction:column}
#mn-body{flex:1}
.mnaddbar{position:sticky;bottom:0;z-index:2;margin:16px 0 0;padding:8px 0 12px}   /* My notes: Add note (Chris chose B of docs/mockups/notes-add-button/): one big full-width button where the writing bar was */
.mnaddbar .mnadd{width:100%;height:56px;min-height:56px;border-radius:12px;font-size:17px;font-weight:600;gap:8px}
.mndock{position:sticky;bottom:0;z-index:2;margin:16px -16px 0;padding:8px 16px 6px;background:var(--card);border-top:1px solid var(--line)}
@media (min-width:1024px){ .mndock{margin:16px -32px 0;padding:12px 32px 10px} .chat-docked .mndock{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px} }
.mnrow{display:flex;align-items:flex-end;gap:8px}
.mnrow textarea.input{flex:1;min-width:0;min-height:48px;max-height:148px;resize:none;padding:12px 16px;border-radius:24px;line-height:22px;font-size:16px;background:var(--fill);overflow-y:hidden}
.mnbtn{position:relative;width:48px;height:48px;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:var(--on-accent);touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.mnbtn .i{position:relative;z-index:1}
.mnbtn .mnic-save,.mndock.hastext .mnbtn .mnic-mic{display:none}
.mndock.hastext .mnbtn .mnic-save{display:block}
.mnbtn::before{content:"";position:absolute;inset:-4px;border-radius:50%;opacity:0;background:conic-gradient(from 210deg,#3B82F6,#7C5CE0,#D0559F,#F2A33A,#3B82F6);-webkit-mask:radial-gradient(circle closest-side,transparent calc(100% - 3px),#000 calc(100% - 2px));mask:radial-gradient(circle closest-side,transparent calc(100% - 3px),#000 calc(100% - 2px))}
.mndock.on .mnbtn::before{opacity:1;animation:sayspin 2.2s linear infinite}
.mndock.on textarea.input{opacity:.45}
.mnbtn:disabled{background:var(--fill);color:var(--muted)}
.mnhint{margin:4px 0 0;font-size:13px;color:var(--muted);text-align:center;min-height:18px}
.mnhint:empty{display:none}
.mndock.on .mnhint,.mndock.hastext .mnhint{visibility:hidden}
.mnlive{position:absolute;left:12px;right:12px;bottom:calc(100% + 10px);background:var(--card);border:2px solid color-mix(in srgb,var(--accent) 58%,transparent);border-radius:16px;padding:12px 16px;box-shadow:0 10px 28px -8px rgba(0,0,0,.25)}
.mnlive[hidden]{display:none}
@media (min-width:1024px){ .mnlive{left:32px;right:32px} }
.mnlh{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--accent-text);margin-bottom:6px}
.mndot{width:8px;height:8px;border-radius:50%;background:var(--danger);animation:mnblink 1s ease-in-out infinite}
@keyframes mnblink{50%{opacity:.25}}
.mnwords{font-size:20px;font-weight:600;line-height:1.35;min-height:27px;overflow-wrap:anywhere;max-height:40vh;overflow-y:auto}
.mnwords .mnwait{color:var(--muted);font-weight:400}
.mnlf{margin:8px 0 0;font-size:13px;color:var(--muted)}
.mnlf:empty{display:none}
.mnacts{display:flex;gap:8px;margin-top:12px}
.mnacts[hidden]{display:none}
.mnacts .btn{min-height:48px;margin:0}
.mnacts .btn:not(.filled){flex:none;padding:0 18px;background:var(--fill);color:var(--text)}
.mnacts .btn.filled{flex:1}
@media (prefers-reduced-motion:reduce){.mndock.on .mnbtn::before,.mndot{animation:none}.mnrow1.fresh{animation:none}}
/* My notes: the note's popup (Chris chose A of docs/mockups/quick-notes-edit/): the note ready to type in, Checklist / Bullet list / Bold /
   Undo in a row at the bottom (right above the keyboard in the apps), ⋯ for the rest; tall, so the words have room */
.mnprog{display:inline-block;margin-left:8px;padding:1px 8px;border-radius:999px;background:var(--accent-tint);color:var(--accent-text);font-size:13px;font-weight:600}
.sheet.mnsheet{height:calc(94% - var(--kbr,0px));padding:0 16px}
.mnshead{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 0 4px;flex:none}
.mnswhen{margin:0;font-size:14px;color:var(--muted);min-width:0}
.mnsst:not(:empty)::before{content:"· "}
.mnshbtns{display:flex;align-items:center;gap:8px;flex:none}
.mnsok{width:auto;min-height:44px;padding:0 18px;margin:0}
.mnsmenu{border:1px solid var(--line);border-radius:16px;padding:4px 0;margin:4px 0 8px;background:var(--card);flex:none}
.mnsmenu[hidden]{display:none}
.mnsed{flex:1;min-height:120px;overflow-y:auto;outline:0;font-size:18px;line-height:1.45;padding:4px 2px 16px;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text}
.mnsed div{min-height:26px;padding:2px 0}
.mnsed .bl{position:relative;padding-left:24px}
.mnsed .bl::before{content:"";position:absolute;left:7px;top:13px;width:7px;height:7px;border-radius:50%;background:var(--text)}
.mnsed .ck{position:relative;padding-left:36px}
.mnsed .ck::before{content:"";position:absolute;left:0;top:3px;width:24px;height:24px;border-radius:50%;border:2px solid var(--muted);box-sizing:border-box;cursor:pointer}
.mnsed .ck.done{color:var(--muted);text-decoration:line-through}
.mnsed .ck.done::before{background:var(--accent);border-color:var(--accent)}
.mnsed .ck.done::after{content:"";position:absolute;left:8.5px;top:8px;width:6px;height:11px;border:solid var(--on-accent);border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}
.mnslive{flex:none;border:2px solid color-mix(in srgb,var(--accent) 58%,transparent);border-radius:16px;padding:12px 16px;margin:0 0 8px;background:var(--card)}
.mnslive[hidden]{display:none}
.mnstools{flex:none;display:flex;gap:6px;margin:0 -16px;padding:6px 12px calc(6px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--card)}
.mnstb{min-width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:6px;padding:0 12px;color:var(--text);font-size:15px;font-weight:600}
.mnstb b{font-size:19px}
.mnstb[aria-pressed="true"]{background:var(--accent-tint);color:var(--accent-text)}
.mnstb:disabled{color:var(--muted);opacity:.5}
.mnstmic{position:relative;margin-left:auto;width:48px;height:48px;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:var(--on-accent);touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.mnstmic[hidden]{display:none}
.mnstmic .i{position:relative;z-index:1}
.mnstmic::before{content:"";position:absolute;inset:-4px;border-radius:50%;opacity:0;background:conic-gradient(from 210deg,#3B82F6,#7C5CE0,#D0559F,#F2A33A,#3B82F6);-webkit-mask:radial-gradient(circle closest-side,transparent calc(100% - 3px),#000 calc(100% - 2px));mask:radial-gradient(circle closest-side,transparent calc(100% - 3px),#000 calc(100% - 2px))}
.mnsheet.listening .mnstmic::before{opacity:1;animation:sayspin 2.2s linear infinite}
@media (min-width:1024px){ .sheet.mnsheet{height:min(80vh,720px)} }
/* Home as apps (Chris chose A of docs/mockups/home-apps/): outside Edit Home each category is one card of app icons (homeApps() in app.js
   sets --hc and the edge classes: the tiles draw their category's card); the grey line stays for screen readers, a count sits on the icon */
html.v2 #home-tools.v2apps #home-menu{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;grid-auto-flow:row}
html.v2 #home-tools.v2apps #home-menu.hc3{grid-template-columns:repeat(3,minmax(0,1fr))}
html.v2 #home-tools.v2apps #home-menu.hc5{grid-template-columns:repeat(5,minmax(0,1fr))}
html.v2 #home-tools.v2apps #home-menu.hc6{grid-template-columns:repeat(6,minmax(0,1fr))}
html.v2 #home-tools.v2apps #home-menu > .hcat,html.v2 #home-tools.v2apps #home-menu > .hclear{grid-column:1/-1}
html.v2 #home-tools.v2apps #home-menu > .htile{display:block;grid-column:auto;margin:0;border:0;border-radius:0;background:var(--card);min-width:0}
html.v2 #home-tools.v2apps #home-menu > .htile + .htile{border-top:0}
html.v2 #home-tools.v2apps #home-menu > .htile.hc-t{border-top:1px solid var(--line)}
html.v2 #home-tools.v2apps #home-menu > .htile.hc-b{border-bottom:1px solid var(--line)}
html.v2 #home-tools.v2apps #home-menu > .htile.hc-l{border-left:1px solid var(--line)}
html.v2 #home-tools.v2apps #home-menu > .htile.hc-r{border-right:1px solid var(--line)}
html.v2 #home-tools.v2apps #home-menu > .hc-tl{border-top-left-radius:16px}
html.v2 #home-tools.v2apps #home-menu > .hc-tr{border-top-right-radius:16px}
html.v2 #home-tools.v2apps #home-menu > .hc-bl{border-bottom-left-radius:16px}
html.v2 #home-tools.v2apps #home-menu > .hc-br{border-bottom-right-radius:16px}
html.v2 #home-tools.v2apps #home-menu > .hsp2{grid-column:span 2}html.v2 #home-tools.v2apps #home-menu > .hsp3{grid-column:span 3}html.v2 #home-tools.v2apps #home-menu > .hsp4{grid-column:span 4}html.v2 #home-tools.v2apps #home-menu > .hsp5{grid-column:span 5}html.v2 #home-tools.v2apps #home-menu > .hsp6{grid-column:span 6}
html.v2 #home-tools.v2apps #home-menu > .htile > .navcard{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;width:100%;height:100%;min-height:112px;padding:16px 4px 14px;border:0;border-radius:inherit;background:none;text-align:center}
html.v2 #home-tools.v2apps #home-menu > .hsp2 > .navcard{width:50%}html.v2 #home-tools.v2apps #home-menu > .hsp3 > .navcard{width:33.333%}html.v2 #home-tools.v2apps #home-menu > .hsp4 > .navcard{width:25%}html.v2 #home-tools.v2apps #home-menu > .hsp5 > .navcard{width:20%}html.v2 #home-tools.v2apps #home-menu > .hsp6 > .navcard{width:16.666%}
html.v2 #home-tools.v2apps #home-menu .navcard > .i:last-child{display:none}
html.v2 #home-tools.v2apps #home-menu .navcard .ticon{position:relative;width:60px;height:60px;border-radius:16px;margin:0}
html.v2 #home-tools.v2apps #home-menu .navcard .ticon .i{width:28px;height:28px}
html.v2 #home-tools.v2apps #home-menu .navcard .t{width:100%;min-width:0}
html.v2 #home-tools.v2apps #home-menu .navcard .t .title{font-size:13px;font-weight:600;line-height:1.25;white-space:normal;overflow-wrap:break-word;hyphens:auto}
html.v2 #home-tools.v2apps #home-menu .navcard .t > div:last-child{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
html.v2 .hbdg{display:none}
html.v2 #home-tools.v2apps .hbdg{position:absolute;top:-6px;right:-6px;display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border:2px solid var(--card);border-radius:999px;background:var(--accent);color:var(--on-accent);font-size:12px;font-weight:700;line-height:1}
/* Edit Home on the icon grid: the icons wiggle (not with Reduce Motion), a round − on each icon's corner hides it, the whole icon is its
   drag handle (the six dots hidden; on a spanning last icon only its own cell); the lifted icon is a bigger copy that follows the finger */
html.v2 #home-tools.v2apps #home-menu > .hcatnone{grid-column:1/-1;margin:0 0 4px}
html.v2 #home-tools.v2apps.v2reordering .hbdg{display:none}
html.v2 #home-tools.v2apps.v2reordering #home-menu > .htile > .navcard{padding:16px 4px 14px;cursor:grab}
html.v2 #home-tools.v2apps.v2reordering #home-menu > .htile > .v2minus{position:absolute;left:0;top:0;z-index:2;width:44px;height:44px;margin:0;border-radius:50%}
html.v2 #home-tools.v2apps.v2reordering #home-menu > .htile > .v2minus .i{width:26px;height:26px;border-radius:50%;background:var(--card)}
html.v2 #home-tools.v2apps.v2reordering #home-menu > .htile > .v2handle{position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;width:auto;height:auto;margin:0;border-radius:inherit;background:none}
html.v2 #home-tools.v2apps.v2reordering #home-menu > .hsp2 > .v2handle{right:50%}html.v2 #home-tools.v2apps.v2reordering #home-menu > .hsp3 > .v2handle{right:66.667%}html.v2 #home-tools.v2apps.v2reordering #home-menu > .hsp4 > .v2handle{right:75%}html.v2 #home-tools.v2apps.v2reordering #home-menu > .hsp5 > .v2handle{right:80%}html.v2 #home-tools.v2apps.v2reordering #home-menu > .hsp6 > .v2handle{right:83.333%}
html.v2 #home-tools.v2apps.v2reordering #home-menu > .htile > .v2handle > .i{display:none}
html.v2 #home-tools.v2apps.v2reordering #home-menu > .htile > .v2handle:focus-visible{outline:2px solid var(--accent);outline-offset:-4px}
@keyframes hwig{0%{transform:rotate(-1.6deg)}50%{transform:rotate(1.6deg)}100%{transform:rotate(-1.6deg)}}
@media (prefers-reduced-motion:no-preference){
  html.v2 #home-tools.v2apps.v2reordering #home-menu > .htile:not(.v2place) .ticon{animation:hwig .32s ease-in-out infinite}
  html.v2 #home-tools.v2apps.v2reordering #home-menu > .htile:nth-child(even) .ticon{animation-delay:-.16s}
}
.v2ghost.v2gg{display:block;transform:scale(1.08);border-radius:16px}
.v2ghost.v2gg .navcard{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;width:100%;height:100%;min-height:0;padding:16px 4px 14px;text-align:center}
.v2ghost.v2gg .ticon{width:60px;height:60px;border-radius:16px}
.v2ghost.v2gg .ticon .i{width:28px;height:28px}
.v2ghost.v2gg .t .title{font-size:13px;font-weight:600;line-height:1.25;white-space:normal}
.v2ghost.v2gg .v2minus,.v2ghost.v2gg .v2handle,.v2ghost.v2gg .hbdg,.v2ghost.v2gg .t > div:last-child{display:none}
.v2ghost.v2gg.v2settle{transform:scale(1)}
/* Home as apps: the app's icon before its page title (same tinted square as on Home, 44 px) */
.billhd > .pgicon{width:44px;height:44px;border-radius:12px;margin-right:4px}
.billhd > .pgicon .i{width:24px;height:24px}
#s-vault .billhd,#s-location .billhd,#s-mynotes .billhd{margin-bottom:16px}   /* their titles sat on their own before the icon */
/* Today's Quick access as app icons (Chris chose A of docs/mockups/today-quick-apps/, up to 8; then A of docs/mockups/quick-access-icons.html,
   22 Oct 2026, its layout; the icons keep the website's own app-icon look, the same as Home): one card, 4 across (3 only under 340 px),
   the name under each (wraps, never cut off), a red badge when something waits for you (qaBadges); Edit = the same icons wiggling, a − on each corner, the whole icon is
   the handle, then Choose up to eight shortcuts and the tick list */
.v2qa .qagrid.qaapps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 0;padding:8px 6px;border:1px solid var(--line);border-radius:16px;background:var(--card)}
.v2qa .qaapps > .qacell{display:block;min-width:0;position:relative}
.v2qa .qaapps .qago{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;width:100%;min-height:104px;padding:10px 2px 8px;border:0;border-radius:12px;background:none;text-align:center;font-size:13px}
.v2qa .qaapps .qago:hover{background:color-mix(in srgb,var(--accent) 6%,var(--card))}
.v2qa .qaapps .qaic{position:relative;display:grid;place-items:center;width:60px;height:60px;border-radius:16px;background:var(--accent-tint);color:var(--accent-text);flex:none}
.v2qa .qaapps .qaic .i{width:28px;height:28px}
.v2qa .qaapps .qaname{font-size:13px;font-weight:600;line-height:1.25;white-space:normal;overflow-wrap:anywhere;hyphens:none;color:var(--text)}
.v2qa .qaapps .hbdg{position:absolute;top:-7px;right:-7px;display:grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border:2px solid var(--card);border-radius:999px;background:var(--danger);color:var(--card);font-size:13px;font-weight:700;line-height:1}
@media (max-width:339px){ .v2qa .qagrid.qaapps{grid-template-columns:repeat(3,minmax(0,1fr))} }
.v2qa .qasort.qaapps > .qarow{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;min-height:104px;padding:10px 2px 8px;border:0;background:none;text-align:center;font-weight:600}
.v2qa .qasort.qaapps > .qarow > .v2minus{position:absolute;left:0;top:0;z-index:2;width:44px;height:44px;margin:0;border-radius:50%}
.v2qa .qasort.qaapps > .qarow > .v2minus .i{width:26px;height:26px;border-radius:50%;background:var(--card)}
.v2qa .qasort.qaapps > .qarow > .v2handle{position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;width:auto;height:auto;margin:0;border-radius:12px;background:none}
.v2qa .qasort.qaapps > .qarow > .v2handle > .i{display:none}
.v2qa .qasort.qaapps > .qarow > .v2handle:focus-visible{outline:2px solid var(--accent);outline-offset:-4px}
.v2qa .qasort.qaapps > .qarow.v2place{outline-offset:-2px;border-radius:12px}
@media (prefers-reduced-motion:no-preference){
  .v2qa .qasort.qaapps > .qarow:not(.v2place) .qaic{animation:hwig .32s ease-in-out infinite}
  .v2qa .qasort.qaapps > .qarow:nth-child(even) .qaic{animation-delay:-.16s}
}
.v2ghost.qarow.v2gg{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;padding:10px 2px 8px;text-align:center;font-size:13px;transform:scale(1.08)}
.v2ghost.qarow.v2gg.v2settle{transform:scale(1)}
.v2ghost.qarow.v2gg .qaic{width:60px;height:60px;border-radius:16px;background:var(--accent-tint)}
.v2ghost.qarow.v2gg .qaic .i{width:28px;height:28px}
.v2ghost.qarow.v2gg .qaname{flex:none;font-size:13px;line-height:1.25}
.v2ghost.qarow.v2gg .v2minus,.v2ghost.qarow.v2gg .v2handle{display:none}
/* ---------- Liquid Glass (Chris: "Do it all!" on docs/mockups/ios-liquid-glass/, 21 Oct 2026) ----------
   Apple's iOS 26 design language on the V2 design: controls float on glass over the content (the bottom bar, the +, the buttons at the
   top, sheets, menus); rows and cards stay solid so words stay easy to read; only the main action wears the fridge's colour.
   Glass = a see-through fill + blur + a bright 1 px edge. No backdrop-filter or Reduce Transparency: the same shapes, solid. */
:root{--glass:rgba(255,255,255,.58);--glass-strong:rgba(255,255,255,.84);--glass-edge:rgba(255,255,255,.8);--glass-hi:rgba(255,255,255,.65);
  --glass-shadow:0 8px 28px rgba(0,0,0,.12),0 1px 4px rgba(0,0,0,.06);--glass-blur:blur(22px) saturate(180%);--glass-press:rgba(0,0,0,.06);
  --navh:64px;--navb:max(10px,calc(env(safe-area-inset-bottom) - 12px));
  --ap-green:#2E9E57;--ap-yellow:#E9A10E;--ap-orange:#EE6A1F;--ap-pink:#E0457A;--ap-blue:#1F74E0;--ap-red:#DF3B32;--ap-indigo:#4B4FD6;
  --ap-purple:#7C4DDB;--ap-teal:#14A1A3;--ap-ice:#4FA8DE;--ap-gray:#767C86;--ap-graphite:#4A4E55;--ap-brown:#9A6A43;--ap-slate:#5E6B7D;--ap-on:#fff}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--glass:rgba(44,44,48,.55);--glass-strong:rgba(40,40,44,.86);--glass-edge:rgba(255,255,255,.14);
  --glass-hi:rgba(255,255,255,.14);--glass-shadow:0 8px 28px rgba(0,0,0,.45),0 1px 4px rgba(0,0,0,.3);--glass-press:rgba(255,255,255,.09)}}
:root[data-theme="dark"]{--glass:rgba(44,44,48,.55);--glass-strong:rgba(40,40,44,.86);--glass-edge:rgba(255,255,255,.14);
  --glass-hi:rgba(255,255,255,.14);--glass-shadow:0 8px 28px rgba(0,0,0,.45),0 1px 4px rgba(0,0,0,.3);--glass-press:rgba(255,255,255,.09)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){:root{--glass:var(--card);--glass-strong:var(--card)}}
@media (prefers-reduced-transparency:reduce){:root{--glass:var(--card);--glass-strong:var(--card);--glass-blur:none}}

/* the glass material */
html.v2 .top .spacepill,html.v2 .top .iconbtn,html.v2 .top .bell-slot > button,html.v2 .v2inbox,html.v2 .v2for .seg,html.v2 .sheet .iconbtn[data-close],
html.v2 #sheet-act .v2close,html.v2 .rdmorebtn,html.v2 .rdmoremenu,html.v2 .top .backbtn{
  background:var(--glass);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);
  border:1px solid var(--glass-edge);box-shadow:inset 0 1px 0 var(--glass-hi),var(--glass-shadow);color:var(--text)}

/* the top: the buttons float and stay while the page scrolls under them (the line under them goes) */
html.v2 .screen .top{position:sticky;top:0;z-index:6;border-bottom:0;padding-top:6px;padding-bottom:10px;
  background:linear-gradient(to bottom,var(--bg) 55%,color-mix(in srgb,var(--bg) 0%,transparent))}
html.v2 .top .spacepill{min-height:44px;padding:0 12px 0 6px;border-radius:22px;font-size:16px}
html.v2 .top .iconbtn,html.v2 .top .bell-slot > button{width:44px;height:44px;border-radius:50%}
html.v2 .top .bell-slot > button{width:auto;min-width:44px;padding:0 12px;border-radius:22px}
html.v2 .top .mebtn{padding:5px}
html.v2 .v2inbox{width:44px;height:44px;border-radius:50%}
html.v2 .top .backbtn{min-height:44px;padding:0 16px 0 8px;border-radius:22px;color:var(--text);font-weight:600}
html.v2 .btn.filled:disabled{background-image:none}
html.v2 .todayhead h1{font-size:34px;letter-spacing:-.025em}

/* For me / All: a glass track, the chosen one a bright lens (was solid in the fridge colour, v284) */
html.v2 .v2for .seg{border-radius:24px;padding:3px;gap:0}
html.v2 .v2for .seg button{border-radius:20px;min-height:44px}
html.v2 .v2for .seg button[aria-pressed="true"]{background:var(--card);color:var(--text);box-shadow:0 2px 8px rgba(0,0,0,.12),inset 0 1px 0 var(--glass-hi)}
html.v2 .seg{border-radius:22px}
html.v2 .seg .chip{border-radius:18px}

/* cards: bigger, matching corners */
html.v2 .group,html.v2 .group > .card:only-child{border-radius:22px}
html.v2 .group > .card:first-child{border-top-left-radius:22px;border-top-right-radius:22px}
html.v2 .group > .card:last-child{border-bottom-left-radius:22px;border-bottom-right-radius:22px}
html.v2 #home-tools.v2apps #home-menu > .hc-tl{border-top-left-radius:22px}
html.v2 #home-tools.v2apps #home-menu > .hc-tr{border-top-right-radius:22px}
html.v2 #home-tools.v2apps #home-menu > .hc-bl{border-bottom-left-radius:22px}
html.v2 #home-tools.v2apps #home-menu > .hc-br{border-bottom-right-radius:22px}
html.v2 .v2qa .qagrid.qaapps{border-radius:22px}

/* buttons are capsules */
html.v2 .btn.filled,html.v2 .btn.outline,html.v2 .btn.tonal,html.v2 .rdmorebtn{border-radius:999px}
html.v2 .mnaddbar .btn.filled.mnadd{border-radius:12px}
html.v2 .btn.filled{background-color:var(--accent);background-image:linear-gradient(to bottom,color-mix(in srgb,var(--accent) 84%,white),var(--accent));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 6px 18px color-mix(in srgb,var(--accent) 35%,transparent)}
html.v2 .btn.filled:disabled{box-shadow:none}

/* app icons: Apple's new look, every app its own character (Chris chose E of docs/mockups/home-icon-colours/): its own top (--ap-hi) and bottom (--ap-lo) colour, picked for what it does, a dark or coloured symbol (--ap-sym) on the light tiles; no red, lit from above with a glossy edge (Home, Quick access, each app's page title) */
html.v2 #home-tools.v2apps #home-menu .navcard .ticon,html.v2 .v2qa .qaapps .qaic,html.v2 .billhd > .pgicon,html.v2 .v2ghost.v2gg .ticon,html.v2 .v2ghost.qarow.v2gg .qaic{
  background:linear-gradient(165deg,color-mix(in srgb,var(--ap,var(--accent)) 86%,white),var(--ap,var(--accent)) 70%);color:var(--ap-on);overflow:visible;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 -2px 4px rgba(0,0,0,.08),0 4px 10px color-mix(in srgb,var(--ap,var(--accent)) 28%,transparent)}
html.v2 #home-tools.v2apps #home-menu .navcard .ticon::after,html.v2 .v2qa .qaapps .qaic::after,html.v2 .billhd > .pgicon::after{content:"";position:absolute;inset:0;border-radius:inherit;
  background:linear-gradient(to bottom,rgba(255,255,255,.14),rgba(255,255,255,0) 45%);pointer-events:none}
html.v2 .billhd > .pgicon{position:relative}
html.v2 #home-tools.v2apps #home-menu .navcard .ticon .i,html.v2 .v2qa .qaapps .qaic .i,html.v2 .billhd > .pgicon .i{stroke-width:2.1}
#go-shopping,#qa-go-shopping,.pgicon[data-k="shopping"],.dskic[data-k="shopping"]{--ap:#1F9E46;--ap-hi:#5DD16E;--ap-lo:#1F9E46}
#go-postits,#qa-go-postits,.pgicon[data-k="postits"],.dskic[data-k="postits"]{--ap:#F2B705;--ap-hi:#FFE36E;--ap-lo:#F2B705;--ap-sym:#7A5600}
#go-chores,#qa-go-chores,.pgicon[data-k="chores"],.dskic[data-k="chores"]{--ap:#1393C6;--ap-hi:#52CDEB;--ap-lo:#1393C6}
#go-medicines,#qa-go-medicines,.pgicon[data-k="medicines"],.dskic[data-k="medicines"]{--ap:#13A487;--ap-hi:#5CDCC0;--ap-lo:#13A487}
#go-location,#qa-go-location,.pgicon[data-k="location"],.dskic[data-k="location"]{--ap:#E3E6EC;--ap-hi:#FFFFFF;--ap-lo:#E3E6EC;--ap-sym:#1F74E0}
#go-dinner,#qa-go-dinner,.pgicon[data-k="dinner"],.dskic[data-k="dinner"]{--ap:#E5531C;--ap-hi:#FF9F5E;--ap-lo:#E5531C}
#go-mynotes,#qa-go-mynotes,.pgicon[data-k="mynotes"],.dskic[data-k="mynotes"]{--ap:#E4E1D9;--ap-hi:#FFFFFF;--ap-lo:#E4E1D9;--ap-sym:#E59A0B}
#go-week,#qa-go-week,.pgicon[data-k="week"],.dskic[data-k="week"]{--ap:#1E61DE;--ap-hi:#5C9DFF;--ap-lo:#1E61DE}
#go-homework,#qa-go-homework,.pgicon[data-k="homework"],.dskic[data-k="homework"]{--ap:#4A42CF;--ap-hi:#8584F7;--ap-lo:#4A42CF}
#go-freezer,#qa-go-freezer,.pgicon[data-k="freezer"],.dskic[data-k="freezer"]{--ap:#4C9FE6;--ap-hi:#A6DCFF;--ap-lo:#4C9FE6}
#go-trips,#qa-go-trips,.pgicon[data-k="trips"],.dskic[data-k="trips"]{--ap:#0F8C8C;--ap-hi:#5FD0C8;--ap-lo:#0F8C8C}   /* Trips (076): teal suitcase */
#go-pets,#qa-go-pets,.pgicon[data-k="pets"],.dskic[data-k="pets"]{--ap:#C9781D;--ap-hi:#F0B45C;--ap-lo:#C9781D}   /* Pets (v527): amber paw */
#go-cars,#qa-go-cars,.pgicon[data-k="cars"],.dskic[data-k="cars"]{--ap:#3F5870;--ap-hi:#86A3BF;--ap-lo:#3F5870}   /* Cars (095): slate blue car */
#go-birthdays,#qa-go-birthdays,.pgicon[data-k="birthdays"],.dskic[data-k="birthdays"]{--ap:#D2368E;--ap-hi:#FF7DC9;--ap-lo:#D2368E}
#go-bills,#qa-go-bills,.pgicon[data-k="bills"],.dskic[data-k="bills"]{--ap:#126B3A;--ap-hi:#3FA866;--ap-lo:#126B3A}   /* v448: Money is green with a dollar coin (Chris chose B; A the bill was dropped) */
#go-subscriptions,#qa-go-subscriptions,.pgicon[data-k="subscriptions"],.dskic[data-k="subscriptions"]{--ap:#6A3ED2;--ap-hi:#AA82F6;--ap-lo:#6A3ED2}
#go-renewals,#qa-go-renewals,.pgicon[data-k="renewals"],.dskic[data-k="renewals"]{--ap:#9A5C30;--ap-hi:#D9A070;--ap-lo:#9A5C30}
#go-contacts,#qa-go-contacts,.pgicon[data-k="contacts"],.dskic[data-k="contacts"]{--ap:#5F6874;--ap-hi:#A2AAB4;--ap-lo:#5F6874}
#go-vault,#qa-go-vault,.pgicon[data-k="vault"],.dskic[data-k="vault"]{--ap:#1B1D22;--ap-hi:#4D515B;--ap-lo:#1B1D22}
#go-clock,#qa-go-clock,.pgicon[data-k="clock"],.dskic[data-k="clock"]{--ap:#1B1D22;--ap-hi:#4D515B;--ap-lo:#1B1D22}

/* phones and tablets: the bottom bar floats as a capsule, the + is its own round button beside it.
   v360 (Chris chose C of docs/mockups/solid-nav/, 26 Oct 2026: "solid bar with the strip behind it"): the capsule is SOLID (card colour,
   a hairline, a soft shadow, no blur, nothing see-through in any look), and a strip in the page colour (.navstrip) fills the whole
   bottom zone from 12 px above the capsule to the screen's edge, so no row ever shows behind, around or under the bar; the page's last
   row ends above the strip, a 16 px fade on the strip's top edge. */
.navstrip{display:none}
:root{--navshadow:0 4px 14px rgba(0,0,0,.10),0 1px 3px rgba(0,0,0,.06)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--navshadow:0 4px 14px rgba(0,0,0,.45),0 1px 3px rgba(0,0,0,.3)}}
:root[data-theme="dark"]{--navshadow:0 4px 14px rgba(0,0,0,.45),0 1px 3px rgba(0,0,0,.3)}
@media (max-width:1023px){
  html.v2{--strip:calc(var(--navh) + var(--navb) + 12px)}
  html.v2 .navstrip{display:block;position:absolute;left:0;right:0;bottom:0;height:var(--strip);z-index:7;background:var(--bg)}   /* takes the taps too: nothing hidden under it can be pressed */
  html.v2 .navstrip::before{content:"";position:absolute;left:0;right:0;top:-16px;height:16px;pointer-events:none;background:linear-gradient(to bottom,color-mix(in srgb,var(--bg) 0%,transparent),var(--bg))}
  html.v2 .nochrome .navstrip,html.v2 .typing .navstrip,html.v2 .qatyping .navstrip,html.v2 .shoplistening .navstrip,html.v2 .hasdock .navstrip{display:none}
  html.v2 #app:has(#s-chat.on) .navstrip::before{display:none}   /* Chat's message box sits right on the strip: no fade over it */
  @media (prefers-contrast:more){html.v2 .tabbar,html.v2 .shopentry,html.v2 .mndock{border-color:var(--text)}}
}
@media (max-width:1023px){
  html.v2 .tabbar{position:absolute;left:12px;right:calc(12px + var(--navh) + 10px);bottom:var(--navb);z-index:8;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
    align-items:stretch;min-height:0;height:var(--navh);padding:4px;border-radius:calc(var(--navh) / 2);
    background:var(--card);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);
    box-shadow:var(--navshadow)}
  html.v2 #app:not(.hasdock) .tabbar,html.v2 .hasdock .tabbar{position:absolute;z-index:8;box-shadow:var(--navshadow);border-top:1px solid var(--line)}
  html.v2 .tabgap{display:none}
  html.v2 .nochrome .tabbar,html.v2 .typing .tabbar,html.v2 .qatyping .tabbar,html.v2 .shoplistening .tabbar{display:none}
  html.v2 .tab{min-height:0;height:100%;gap:1px;border-radius:calc(var(--navh) / 2 - 4px);font-size:12px;color:var(--text)}
  html.v2 .tab .tabic{width:auto;height:26px;background:none}
  html.v2 .tab[aria-current="page"]{background:var(--accent-tint);color:var(--accent-text)}
  html.v2 .tab[aria-current="page"] .tabic{background:none}
  html.v2 .tab[aria-current="page"] > span:last-child{color:var(--accent-text)}
  html.v2 .tab .tabic .tbadge{top:-4px;right:-12px;box-shadow:none}
  html.v2 .fab{left:auto;right:12px;bottom:var(--navb);transform:none;z-index:8;width:var(--navh);height:var(--navh);
    background-color:var(--accent);background-image:linear-gradient(to bottom,color-mix(in srgb,var(--accent) 80%,white),var(--accent));color:var(--on-accent);border:1px solid rgba(255,255,255,.35);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 8px 22px color-mix(in srgb,var(--accent) 42%,transparent)}
  html.v2 .fab .i{width:30px;height:30px}
  html.v2 .hasdock .qadock{padding-bottom:calc(var(--navh) + var(--navb) + 10px)}
  html.v2 .pad{padding-bottom:calc(var(--strip) + 28px)}
  html.v2 #s-chat.on{padding-bottom:var(--strip)}
  html.v2 .typing #s-chat.on,html.v2 .nochrome #s-chat.on{padding-bottom:0}
  /* the Shopping List's add box and My notes' writing bar float just above the bottom bar, as glass (no bar while typing: back down) */
  html.v2 .shopentry,html.v2 .mndock{bottom:calc(var(--navh) + var(--navb) + 8px);z-index:9;margin:16px -8px 0;padding:8px 12px;border:1px solid var(--line);border-radius:28px;
    background:var(--card);-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:var(--navshadow)}   /* solid too (Chris chose C of docs/mockups/solid-nav/), on top of the strip */
  html.v2 #s-mynotes .pad,html.v2 #s-shopping .pad:has(#shop-list-view:not([hidden])){padding-bottom:calc(var(--navh) + var(--navb) + 8px)}
  html.v2 .mnaddbar{bottom:calc(var(--navh) + var(--navb) + 8px);z-index:9;margin:16px 0 0;padding:0}
  html.v2 .typing .shopentry,html.v2 .typing .mndock,html.v2 .nochrome .shopentry,html.v2 .nochrome .mndock{bottom:8px}

  /* sheets float inside the screen's edges, their corners following the phone's own */
  html.v2 .sheet{left:8px;right:8px;bottom:8px;max-height:calc(100% - 52px);border-radius:38px;
    background:var(--glass-strong);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);
    border:1px solid var(--glass-edge);box-shadow:inset 0 1px 0 var(--glass-hi),0 18px 50px rgba(0,0,0,.22);transform:translateY(calc(100% + 16px))}
  html.v2 .sheet.on{transform:none}
  @media (max-width:339px){html.v2{--navh:56px}html.v2 .tabbar{left:6px;right:calc(6px + var(--navh) + 6px);padding:3px}html.v2 .fab{right:6px}}   /* Large / Extra large text: the tabs stay 44 px wide */
  @media (max-width:379px){html.v2 .sheet{left:4px;right:4px;bottom:4px;border-radius:34px}}
  @media (max-width:339px){html.v2 .sheet,html.v2 #sheet-add{left:0;right:0;bottom:0;border-radius:30px 30px 0 0}}   /* Large / Extra large text: every pixel for the day buttons */
  html.v2 #sheet-add{bottom:calc(8px + var(--kb,0px));max-height:calc(100% - 52px - var(--kb,0px))}
  html.v2.andr .sheet{bottom:calc(8px + var(--kbr,0px));max-height:calc(100% - 52px - var(--kbr,0px))}
  html.v2 .sheet.mnsheet{height:calc(100% - 52px - var(--kbr,0px))}
  html.v2 .sheet .grab{width:38px;height:5px;border-radius:3px;margin-top:8px;background:color-mix(in srgb,var(--muted) 45%,transparent)}
  html.v2 .sheet-foot{border-top:0;background:none}
}
html.v2 .sheet .iconbtn[data-close],html.v2 #sheet-act .v2close{width:44px;height:44px;border-radius:50%;color:var(--text)}

/* menus (the reminder's More) are glass too */
html.v2 .rdmorebtn{min-height:52px}
html.v2 .rdmoremenu{border-radius:26px;background:var(--glass-strong);overflow:hidden}
/* Liquid Glass, the inside of the + popup (Chris on v318: "when i click the + button, it still have old view"; docs/mockups/ios-liquid-glass/ phone 3):
   the round glass ✕ on the left and the title in the middle (the fridge pill stays right), the big mic a tinted orb with a soft glow
   (the colour ring only while it listens), the typing box a glass capsule, Reminder · Event · Appointment and the other choices as
   glass capsules (icon + word), More options a glass capsule too */
html.v2 #sheet-say .addhead,html.v2 #sheet-add .addhead{padding:10px 12px 0;gap:8px}
html.v2 #sheet-say .addheadr,html.v2 #sheet-add #add-main > .addhead .addheadr{display:contents}
html.v2 #sheet-say .addhead [data-close],html.v2 #sheet-add #add-main > .addhead [data-close]{order:-1}
html.v2 #sheet-say .addhead h2,html.v2 #sheet-add #add-main > .addhead h2{flex:1;min-width:0;text-align:center;font-size:17px}
html.v2 #sheet-say .addhead h2{padding-right:0}
html.v2 .bigmic{width:96px;height:96px;background-color:var(--accent);background-image:linear-gradient(to bottom,color-mix(in srgb,var(--accent) 78%,white),var(--accent));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 10px 28px color-mix(in srgb,var(--accent) 45%,transparent),0 0 0 16px color-mix(in srgb,var(--accent) 10%,transparent)}
html.v2 .bigmic > .i{width:40px;height:40px}
html.v2 .saymic:not(.on) .bigmic::before{opacity:0}
html.v2 .saymic.small .bigmic{width:60px;height:60px;box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 6px 16px color-mix(in srgb,var(--accent) 40%,transparent)}
html.v2 #sheet-say .quickadd{min-height:52px;border:1px solid var(--glass-edge);border-radius:26px;background:var(--glass);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);
  box-shadow:inset 0 1px 0 var(--glass-hi),var(--glass-shadow)}
html.v2 #sheet-say .quickadd:focus-within{border-color:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 22%,transparent)}
html.v2 #sheet-say .sayor{margin:16px 4px 8px}
html.v2 #say-tiles,html.v2 #say-more{display:flex;flex-wrap:wrap;gap:8px}
html.v2 #say-more[hidden]{display:none}
html.v2 #say-tiles .atile,html.v2 #say-more .atile{flex-direction:row;gap:6px;min-height:44px;padding:0 16px;border:1px solid var(--glass-edge);border-radius:22px;
  background:var(--glass);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);box-shadow:inset 0 1px 0 var(--glass-hi),var(--glass-shadow);color:var(--text)}
html.v2 #say-tiles .atile .i,html.v2 #say-more .atile .i{width:19px;height:19px;color:var(--accent-text)}
html.v2 #say-tiles .atile .atl,html.v2 #say-more .atile .atl{font-size:15px;font-weight:600;letter-spacing:0;white-space:nowrap}
html.v2 #sheet-say .saymoreb{display:inline-flex;width:auto;min-height:44px;margin:8px 0 0;padding:0 16px;border:1px solid var(--glass-edge);border-radius:22px;
  background:var(--glass);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);box-shadow:inset 0 1px 0 var(--glass-hi),var(--glass-shadow);color:var(--text);font-size:15px}
/* Liquid Glass, the writing bars (Chris on TEST, My notes: "the microphone here does not look liquid glass type"): the round main button
   (My notes' mic / save, Chat's send) a tinted glass orb like the +; the Shopping List's mic a clear glass circle with the icon in the tone;
   the typing boxes (My notes, Shopping List, Chat) glass capsules */
html.v2 .mnbtn,html.v2 .sendbtn:not(:disabled){background-color:var(--accent);background-image:linear-gradient(to bottom,color-mix(in srgb,var(--accent) 80%,white),var(--accent));
  color:var(--on-accent);border:1px solid rgba(255,255,255,.35);box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 6px 16px color-mix(in srgb,var(--accent) 40%,transparent)}
html.v2 .mnbtn:disabled,html.v2 .sendbtn:disabled,html.v2 .shopmic{background:var(--glass);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);border:1px solid var(--glass-edge);
  box-shadow:inset 0 1px 0 var(--glass-hi),var(--glass-shadow);color:var(--accent-text)}
html.v2 .mnbtn:disabled,html.v2 .sendbtn:disabled{color:var(--muted)}
html.v2 #mn-in,html.v2 #shop-in,html.v2 #chat-input{border:1px solid var(--glass-edge);border-radius:24px;background:var(--glass);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);
  box-shadow:inset 0 1px 0 var(--glass-hi),inset 0 1px 3px rgba(0,0,0,.06)}
html.v2 #mn-in:focus,html.v2 #shop-in:focus,html.v2 #chat-input:focus{border-color:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 22%,transparent)}

/* Liquid Glass app icons, the iPhone look (Chris chose C of docs/mockups/ios-icons/: "the remind me more of android and less of iphone"):
   Apple's squircle (a superellipse mask, not plain rounded corners), no coloured glow, a fine bright rim along the top edge and a slightly
   darker bottom, filled symbols (#i-a-* in index.html, appIc) at 57 % with a soft shadow. The squircle and rim are drawn by ::before /
   ::after so the count badge on the icon is not clipped. Replaces the v318 gradient, gloss and glow. */
html.v2 #dsk-nav .tabic.dskic,html.v2 .dskrow .tabic.dskic,html.v2 #home-tools:not(.v2apps) #home-menu .navcard .ticon,html.v2 #home-tools.v2apps #home-menu .navcard .ticon,html.v2 .v2qa .qaapps .qaic,html.v2 .billhd > .pgicon,html.v2 .v2ghost.v2gg .ticon,html.v2 .v2ghost.qarow.v2gg .qaic{
  position:relative;isolation:isolate;background:none;box-shadow:none;color:var(--ap-sym,var(--ap-on))}
html.v2 #dsk-nav .tabic.dskic::before,html.v2 .dskrow .tabic.dskic::before,html.v2 #home-tools:not(.v2apps) #home-menu .navcard .ticon::before,html.v2 #home-tools.v2apps #home-menu .navcard .ticon::before,html.v2 .v2qa .qaapps .qaic::before,html.v2 .billhd > .pgicon::before,html.v2 .v2ghost.v2gg .ticon::before,html.v2 .v2ghost.qarow.v2gg .qaic::before{
  content:"";position:absolute;inset:0;z-index:-1;border-radius:23%;
  background:linear-gradient(to bottom,var(--ap-hi,color-mix(in srgb,var(--ap,var(--accent)) 92%,white)),var(--ap-lo,color-mix(in srgb,var(--ap,var(--accent)) 90%,black)));
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath d='M60.0 30.0L60.0 40.1L59.9 43.3L59.8 45.6L59.6 47.5L59.4 49.1L59.1 50.4L58.7 51.6L58.3 52.7L57.9 53.7L57.3 54.6L56.8 55.4L56.1 56.1L55.4 56.8L54.6 57.3L53.7 57.9L52.7 58.3L51.6 58.7L50.4 59.1L49.1 59.4L47.5 59.6L45.6 59.8L43.3 59.9L40.1 60.0L30.0 60.0L19.9 60.0L16.7 59.9L14.4 59.8L12.5 59.6L10.9 59.4L9.6 59.1L8.4 58.7L7.3 58.3L6.3 57.9L5.4 57.3L4.6 56.8L3.9 56.1L3.2 55.4L2.7 54.6L2.1 53.7L1.7 52.7L1.3 51.6L0.9 50.4L0.6 49.1L0.4 47.5L0.2 45.6L0.1 43.3L0.0 40.1L0.0 30.0L0.0 19.9L0.1 16.7L0.2 14.4L0.4 12.5L0.6 10.9L0.9 9.6L1.3 8.4L1.7 7.3L2.1 6.3L2.7 5.4L3.2 4.6L3.9 3.9L4.6 3.2L5.4 2.7L6.3 2.1L7.3 1.7L8.4 1.3L9.6 0.9L10.9 0.6L12.5 0.4L14.4 0.2L16.7 0.1L19.9 0.0L30.0 0.0L40.1 0.0L43.3 0.1L45.6 0.2L47.5 0.4L49.1 0.6L50.4 0.9L51.6 1.3L52.7 1.7L53.7 2.1L54.6 2.7L55.4 3.2L56.1 3.9L56.8 4.6L57.3 5.4L57.9 6.3L58.3 7.3L58.7 8.4L59.1 9.6L59.4 10.9L59.6 12.5L59.8 14.4L59.9 16.7L60.0 19.9Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath d='M60.0 30.0L60.0 40.1L59.9 43.3L59.8 45.6L59.6 47.5L59.4 49.1L59.1 50.4L58.7 51.6L58.3 52.7L57.9 53.7L57.3 54.6L56.8 55.4L56.1 56.1L55.4 56.8L54.6 57.3L53.7 57.9L52.7 58.3L51.6 58.7L50.4 59.1L49.1 59.4L47.5 59.6L45.6 59.8L43.3 59.9L40.1 60.0L30.0 60.0L19.9 60.0L16.7 59.9L14.4 59.8L12.5 59.6L10.9 59.4L9.6 59.1L8.4 58.7L7.3 58.3L6.3 57.9L5.4 57.3L4.6 56.8L3.9 56.1L3.2 55.4L2.7 54.6L2.1 53.7L1.7 52.7L1.3 51.6L0.9 50.4L0.6 49.1L0.4 47.5L0.2 45.6L0.1 43.3L0.0 40.1L0.0 30.0L0.0 19.9L0.1 16.7L0.2 14.4L0.4 12.5L0.6 10.9L0.9 9.6L1.3 8.4L1.7 7.3L2.1 6.3L2.7 5.4L3.2 4.6L3.9 3.9L4.6 3.2L5.4 2.7L6.3 2.1L7.3 1.7L8.4 1.3L9.6 0.9L10.9 0.6L12.5 0.4L14.4 0.2L16.7 0.1L19.9 0.0L30.0 0.0L40.1 0.0L43.3 0.1L45.6 0.2L47.5 0.4L49.1 0.6L50.4 0.9L51.6 1.3L52.7 1.7L53.7 2.1L54.6 2.7L55.4 3.2L56.1 3.9L56.8 4.6L57.3 5.4L57.9 6.3L58.3 7.3L58.7 8.4L59.1 9.6L59.4 10.9L59.6 12.5L59.8 14.4L59.9 16.7L60.0 19.9Z'/%3E%3C/svg%3E") center/100% 100% no-repeat}
html.v2 #dsk-nav .tabic.dskic::after,html.v2 .dskrow .tabic.dskic::after,html.v2 #home-tools:not(.v2apps) #home-menu .navcard .ticon::after,html.v2 #home-tools.v2apps #home-menu .navcard .ticon::after,html.v2 .v2qa .qaapps .qaic::after,html.v2 .billhd > .pgicon::after,html.v2 .v2ghost.v2gg .ticon::after,html.v2 .v2ghost.qarow.v2gg .qaic::after{
  content:"";position:absolute;inset:0;z-index:-1;border-radius:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3ClinearGradient id='r' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='.7'/%3E%3Cstop offset='.35' stop-color='%23fff' stop-opacity='.12'/%3E%3Cstop offset='.7' stop-color='%23fff' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23000' stop-opacity='.12'/%3E%3C/linearGradient%3E%3Cpath d='M60.0 30.0L60.0 40.1L59.9 43.3L59.8 45.6L59.6 47.5L59.4 49.1L59.1 50.4L58.7 51.6L58.3 52.7L57.9 53.7L57.3 54.6L56.8 55.4L56.1 56.1L55.4 56.8L54.6 57.3L53.7 57.9L52.7 58.3L51.6 58.7L50.4 59.1L49.1 59.4L47.5 59.6L45.6 59.8L43.3 59.9L40.1 60.0L30.0 60.0L19.9 60.0L16.7 59.9L14.4 59.8L12.5 59.6L10.9 59.4L9.6 59.1L8.4 58.7L7.3 58.3L6.3 57.9L5.4 57.3L4.6 56.8L3.9 56.1L3.2 55.4L2.7 54.6L2.1 53.7L1.7 52.7L1.3 51.6L0.9 50.4L0.6 49.1L0.4 47.5L0.2 45.6L0.1 43.3L0.0 40.1L0.0 30.0L0.0 19.9L0.1 16.7L0.2 14.4L0.4 12.5L0.6 10.9L0.9 9.6L1.3 8.4L1.7 7.3L2.1 6.3L2.7 5.4L3.2 4.6L3.9 3.9L4.6 3.2L5.4 2.7L6.3 2.1L7.3 1.7L8.4 1.3L9.6 0.9L10.9 0.6L12.5 0.4L14.4 0.2L16.7 0.1L19.9 0.0L30.0 0.0L40.1 0.0L43.3 0.1L45.6 0.2L47.5 0.4L49.1 0.6L50.4 0.9L51.6 1.3L52.7 1.7L53.7 2.1L54.6 2.7L55.4 3.2L56.1 3.9L56.8 4.6L57.3 5.4L57.9 6.3L58.3 7.3L58.7 8.4L59.1 9.6L59.4 10.9L59.6 12.5L59.8 14.4L59.9 16.7L60.0 19.9Z' fill='none' stroke='url(%23r)' stroke-width='1.2' transform='translate(.6 .6) scale(.98)'/%3E%3C/svg%3E") center/100% 100% no-repeat;pointer-events:none}
html.v2 #home-tools.v2apps #home-menu .navcard .ticon .i,html.v2 .v2qa .qaapps .qaic .i,html.v2 .v2ghost.v2gg .ticon .i,html.v2 .v2ghost.qarow.v2gg .qaic .i{width:34px;height:34px}
html.v2 .billhd > .pgicon .i{width:25px;height:25px}
html.v2 #dsk-nav .tabic.dskic .i,html.v2 .dskrow .tabic.dskic .i,html.v2 #home-tools:not(.v2apps) #home-menu .navcard .ticon .i,html.v2 #home-tools.v2apps #home-menu .navcard .ticon .i,html.v2 .v2qa .qaapps .qaic .i,html.v2 .billhd > .pgicon .i,html.v2 .v2ghost.v2gg .ticon .i,html.v2 .v2ghost.qarow.v2gg .qaic .i{
  filter:drop-shadow(0 1px 1px rgba(0,0,0,.22))}
html.v2 #home-tools.v2apps .hbdg,html.v2 .v2qa .qaapps .hbdg{z-index:2}
/* The coloured list (Chris chose F of docs/mockups/quick-access-desktop/, 22 Oct 2026): on a computer the sidebar's Your apps keep their names,
   each with the app's small coloured icon (the same colours and squircle as Home), and Quick access's red number on the right of the row;
   Today shows no app icons there (Finish setting up and Your fridge in 1995 stay). Phones keep Quick access as icons. */
@media (min-width:1024px){
  html.v2 #dsk-nav .tab .tabic.dskic,html.v2 .dskrow .tabic.dskic{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:0}
  html.v2 #dsk-nav .tab .tabic.dskic .i,html.v2 .dskrow .tabic.dskic .i{width:17px;height:17px}
  html.v2 #dsk-nav .dskbdg{margin-left:auto;min-width:22px;height:22px;padding:0 7px;border-radius:11px;background:var(--danger);color:var(--card);font-size:12px;font-weight:700;line-height:22px;text-align:center}
  html.v2 .v2qa .qahead,html.v2 .v2qa #qa-body{display:none}
}
/* Home on a phone = the coloured list (Chris chose 2 of docs/mockups/phone-home/, 22 Oct 2026; the computer keeps Home as apps): the rows of
   v262 with the app's coloured squircle instead of the tinted square, the grey line, and Quick access's red number before the chevron */
html.v2 #home-tools:not(.v2apps) #home-menu .navcard .ticon{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:0}
html.v2 #home-tools:not(.v2apps) #home-menu .navcard .ticon .i{width:21px;height:21px}
html.v2 #home-menu .hrbdg{flex:none;margin-left:auto;min-width:22px;height:22px;padding:0 7px;border-radius:11px;background:var(--danger);color:var(--card);font-size:12px;font-weight:700;line-height:22px;text-align:center}
html.v2 #home-tools.v2apps .hrbdg,html.v2 #home-tools.v2reordering .hrbdg{display:none}
/* No Home page on a computer (Chris chose docs/mockups/desktop-no-home/, 22 Oct 2026): three tabs (Today, Calendar, Chat), "Your apps" + Edit
   in the sidebar, History and Recently deleted under a line at the end of the list; Edit = − / drag dots / Hidden, the category names show */
@media (min-width:1024px){
  html.v2 .tabbar > .tab[data-tab="home"]{display:none}
  html.v2 #app:not(.nohome-x){--capw:calc(3 * var(--tabw) + 2 * 2px + 10px)}   /* :not() only outranks the 4-tab width further down */
  html.v2 #dsk-nav.dsknav::before{content:none}
  html.v2 #dsk-nav.dsknav{margin-top:0;padding-top:0;border-top:0}
  html.v2 .dskappshd{order:2;flex:none;align-items:center;justify-content:space-between;gap:8px;padding:8px 0 2px 12px}
  html.v2.capside .dskappshd{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
  html.v2 .dskappshd h2{margin:0;font-size:13px;font-weight:600;color:var(--muted)}
  html.v2 .dskedit{min-height:44px;min-width:44px;padding:0 12px;border:0;border-radius:12px;background:none;color:var(--accent-text);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
  html.v2 .dskedit:hover{background:var(--fill)}
  html.v2 .dskline{height:1px;margin:10px 12px;background:var(--line)}
  html.v2 #dsk-nav .tab.dskmore{min-height:44px;font-size:14px;color:var(--muted)}
  html.v2 #dsk-nav .tab.dskmore .i{width:20px;height:20px}
  html.v2 #dsk-nav .tab.dskmore[aria-current="page"],html.v2 #dsk-nav .tab.dskmore[aria-current="page"] > span:last-child{color:var(--accent-text)}
  html.v2 .dskhint{margin:0 12px 4px;font-size:12px;line-height:1.35;color:var(--muted)}
  html.v2 .dskcat{margin:10px 12px 2px;font-size:12px;font-weight:600;color:var(--muted)}
  html.v2 .dskrow{display:flex;align-items:center;gap:8px;min-height:44px;padding:0;border-radius:12px;background:var(--card);font-size:14px;color:var(--text)}
  html.v2 .dskrow .dskname{flex:1;min-width:0;overflow-wrap:anywhere}
  html.v2 .dskrow .v2handle{width:40px;height:44px;margin:0}
  html.v2 .dskrow .v2handle .i{width:20px;height:20px}
  html.v2 .dskrow.dskhid .dskname,html.v2 .dskrow.dskhid .dskic{opacity:.55}
  html.v2 .dskminus,html.v2 .dskplus{flex:none;display:grid;place-items:center;width:44px;height:44px;margin-right:-8px;padding:0;border:0;border-radius:10px;background:none;color:var(--danger);cursor:pointer}
  html.v2 .dskplus{color:var(--ok)}
  html.v2 .dskminus .i,html.v2 .dskplus .i{width:22px;height:22px}
  html.v2 :is(.dskedit,.dskminus,.dskplus):focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
  html.v2 .dskrow.v2place{background:color-mix(in srgb,var(--accent) 7%,var(--card));outline:1.5px dashed color-mix(in srgb,var(--accent) 45%,var(--line));outline-offset:-4px}
  html.v2 .dskrow.v2place > *{visibility:hidden}
  html.v2 .dskrow.v2other{opacity:.45}
  .v2ghost.dskrow{box-shadow:0 8px 24px rgba(0,0,0,.18);transform:scale(1.02)}
}
html.v2 #home-tools:not(.v2apps) .homemenu > .hcat + .htile{border-top-left-radius:22px;border-top-right-radius:22px}   /* the same corners as every V2 card */
html.v2 #home-tools:not(.v2apps) .homemenu > .htile:has(+ .hcat),html.v2 #home-tools:not(.v2apps) .homemenu > .htile:last-child{border-bottom-left-radius:22px;border-bottom-right-radius:22px}
/* Liquid Glass, every switch like Today's For me / All (Chris on TEST: Calendar's Day / Week / Month "is not the liquid glass like on today,
   ... I am guessing everywhere"): a glass track, capsule ends, the chosen one a bright lens. Calendar, Chat's All chats / Unread, Bills /
   Receipts / Warranties, Medicines, Homework, History, My notes' filter and the switches in Settings and popups (not the big text-size
   tiles). Also glass: the "+ Add" by a page title, Calendar's date bar and its people chips (the chosen person keeps the tint). */
html.v2 .seg:not(.txtseg),html.v2 .bseg,html.v2 #s-calendar .cal-ctl .seg{gap:2px;padding:3px;border:1px solid var(--glass-edge);border-radius:24px;
  background:var(--glass);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);box-shadow:inset 0 1px 0 var(--glass-hi),var(--glass-shadow)}
html.v2 .seg:not(.txtseg) .chip,html.v2 .seg:not(.txtseg) > button,html.v2 .bseg button,html.v2 #s-calendar .cal-ctl .seg .chip{
  border-color:transparent;border-radius:20px;background:none;box-shadow:none;color:var(--muted)}
html.v2 .seg:not(.txtseg) .chip[aria-checked="true"],html.v2 .seg:not(.txtseg) .chip[aria-pressed="true"],html.v2 .seg:not(.txtseg) > button[aria-pressed="true"],
html.v2 .bseg button.on,html.v2 #s-calendar .cal-ctl .seg .chip[aria-checked="true"]{
  background:var(--card);color:var(--text);box-shadow:0 2px 8px rgba(0,0,0,.12),inset 0 1px 0 var(--glass-hi)}
html.v2 .bhbtn{border:1px solid var(--glass-edge);border-radius:22px;background:var(--glass);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);
  box-shadow:inset 0 1px 0 var(--glass-hi),var(--glass-shadow);color:var(--accent-text)}
html.v2 #s-calendar #cal-body > .cal-nav{border:1px solid var(--glass-edge);border-radius:26px;background:var(--glass);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);
  box-shadow:inset 0 1px 0 var(--glass-hi),var(--glass-shadow)}
html.v2 #s-calendar .cp{border:1px solid var(--glass-edge);background:var(--glass);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);box-shadow:inset 0 1px 0 var(--glass-hi),var(--glass-shadow)}
html.v2 #s-calendar .cp[aria-checked="true"]{background:var(--accent-tint);border-color:var(--accent)}
/* Liquid Glass inside popups (Chris on TEST: "should the time and date buttons be liquid glass, these seem flat... or is this the way to
   go?"): no glass inside a popup (Apple keeps glass for the floating layer; glass on glass turns muddy), but the shapes follow: the day
   and time buttons are capsules like Apple's date pickers. Calendar: the month bar ("October 2026 · Full month") glass, Plan it a capsule. */
html.v2 .rdwb{border-radius:22px;padding:0 18px}
html.v2 #s-calendar #cal-mfold{border:1px solid var(--glass-edge);border-radius:24px;background:var(--glass);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);
  box-shadow:inset 0 1px 0 var(--glass-hi),var(--glass-shadow)}
html.v2 .cpbtn{border-radius:22px}
html.v2 .ibtn{border-radius:22px;padding-left:12px;padding-right:12px}   /* 12 px: wider made "Tomorrow" + "10:30 PM" wrap at 390 px (v321 full regression) */   /* the Add popup's day and time buttons: capsules like the reminder popup's */
/* Chris chose B of docs/mockups/ios-date-buttons/ (capsules, no glass) "and make the change everywhere we have these": every day and time
   button and time box is a capsule (the popups' day/time, the iPhone time button, the time boxes in forms) and the snooze times too */
html.v2 .apnat,html.v2 .timein{border-radius:22px}
html.v2 .chip.snzb{border-radius:22px !important}   /* the old rule says 12px !important */
/* Liquid Glass, Apple's rules (Chris, 21 Oct 2026: "fix items 1, 3 and 4"):
   1. No glass on glass: inside a glass popup or a glass writing bar the controls are a plain grey fill (Apple's "fill" buttons), never
      glass again: the + popup's typing box, Reminder · Event · Appointment, More options, the switches and More in popups, the boxes and
      the Shopping mic in the writing bars. The popup's own ✕ stays glass (it is the popup's top bar). */
:root{--fill-edge:transparent}   /* the grey is the app's own --fill (per tone) */
html.v2 .sheet #sheet-say .quickadd,html.v2 #sheet-say .quickadd,html.v2 #say-tiles .atile,html.v2 #say-more .atile,html.v2 #sheet-say .saymoreb,
html.v2 .sheet .seg:not(.txtseg),html.v2 .sheet .bseg,html.v2 .sheet .rdmorebtn,html.v2 .sheet .bhbtn,
html.v2 .shopentry #shop-in,html.v2 .mndock #mn-in,html.v2 .shopentry .shopmic,html.v2 .mndock .mnbtn:disabled{
  background:var(--fill);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--fill-edge);box-shadow:none}
html.v2 .sheet .seg:not(.txtseg) .chip[aria-checked="true"],html.v2 .sheet .seg:not(.txtseg) .chip[aria-pressed="true"],
html.v2 .sheet .seg:not(.txtseg) > button[aria-pressed="true"],html.v2 .sheet .bseg button.on{background:var(--card);box-shadow:0 1px 4px rgba(0,0,0,.12)}
html.v2 #sheet-say .quickadd:focus-within,html.v2 .shopentry #shop-in:focus,html.v2 .mndock #mn-in:focus{border-color:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 22%,transparent)}
/* 3. Phones: the bottom bar gets smaller while you scroll down a page (only the icons, a shorter, narrower capsule; the + shrinks with it)
      and comes back when you scroll up, reach the top or change page, like iOS 26 (html.navmin, navMin in app.js). */
@media (max-width:1023px){
  /* only the bar and the + change size (54 keeps the tabs 44 px tall): --navh stays, so the page's own spacing and scroll positions never move (Back put pages 10 px off) */
  html.v2.navmin .tabbar{height:54px;right:max(calc(12px + 54px + 10px),calc(100% - 244px))}
  html.v2.navmin .fab{width:54px;height:54px}
  html.v2.navmin .tab > span:not(.tabic){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}   /* hidden, still read out */
  html.v2.navmin .fab .i{width:26px;height:26px}
}
@media (max-width:1023px) and (prefers-reduced-motion:no-preference){
  html.v2 .tabbar{transition:height .25s ease,right .25s ease}
  html.v2 .fab{transition:width .25s ease,height .25s ease}
}
/* 4. Increase Contrast (iPhone Settings › Accessibility › Display & Text Size): glass turns solid with a clear edge, the grey fills get an
      edge, the chosen tab a stronger lens, like Apple's own glass does. */
@media (prefers-contrast:more){
  :root{--glass:var(--card);--glass-strong:var(--card);--glass-blur:none;--glass-hi:transparent;
    --glass-edge:color-mix(in srgb,var(--text) 45%,transparent);--glass-press:color-mix(in srgb,var(--text) 14%,transparent);
    --fill-edge:color-mix(in srgb,var(--text) 45%,transparent)}
  html.v2 .fab,html.v2 .btn.filled,html.v2 .bigmic,html.v2 .mnbtn,html.v2 .sendbtn:not(:disabled){background-image:none;border-color:var(--text)}
}
/* Liquid Glass on a computer (Chris, 21 Oct 2026: "do the computer fixes 1, 2 and 3"), like macOS 26:
   1. the sidebar floats as a glass panel 10 px inside the window with 22 px corners (it shows the page's own background, so it is drawn
      as that glass colour, solid, which also lets the logo block stay on top while the list scrolls under it);
   2. the Add button is a capsule in the fridge's colour, lit from the top like the phone's + and the filled buttons;
   3. the page top fades AND blurs what scrolls under the floating buttons (Apple's scroll edge effect), and the Week grid's day names
      stay at the top while the hours scroll. */
@media (min-width:1024px){
  html.v2{--side:color-mix(in srgb,var(--card) 72%,var(--bg))}
  html.v2 .tabbar{margin:10px 0 10px 10px;border:1px solid var(--glass-edge);border-radius:22px;
    box-shadow:inset 0 1px 0 var(--glass-hi),var(--glass-shadow);
    background:linear-gradient(to top,var(--side) 40%,transparent) center bottom/100% 32px no-repeat local,
      radial-gradient(farthest-side at 50% 100%,var(--sbsh,rgba(0,0,0,.14)),transparent) center bottom/100% 14px no-repeat scroll,var(--side)}
  html.v2 .dskbrand{background:var(--side)}
  html.v2 .tab:hover{background:var(--glass-press)}
  html.v2 .fab{left:22px;top:78px;width:222px;border-radius:999px;border:1px solid rgba(255,255,255,.35);
    background-color:var(--accent);background-image:linear-gradient(to bottom,color-mix(in srgb,var(--accent) 84%,white),var(--accent));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 6px 18px color-mix(in srgb,var(--accent) 30%,transparent)}
  html.v2 .wg{overflow:clip}   /* hidden would stop the day names from sticking */
  html.v2 .wg-head{position:sticky;top:var(--toph,58px);z-index:4;background:var(--card)}
}
html.v2 .screen .top::before{content:"";position:absolute;inset:0 0 -14px;z-index:-1;pointer-events:none;
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);-webkit-mask-image:linear-gradient(to bottom,#000 50%,transparent);mask-image:linear-gradient(to bottom,#000 50%,transparent)}
@media (prefers-reduced-transparency:reduce){html.v2 .screen .top::before{display:none}}
@media (prefers-contrast:more){html.v2{--side:var(--card)} html.v2 .fab{background-image:none;border-color:var(--text)}}
/* A filled button that cannot be tapped yet (Continue before a code is typed; Chris on TEST: "look at the text on the bottom button"):
   the glass rule above put the fridge colour back under the grey words; it is the grey fill with grey words, no shine, no shadow. */
html.v2 .btn.filled:disabled{background-color:var(--fill);background-image:none;color:var(--muted);border-color:transparent;box-shadow:none}
/* On a computer, Today · Calendar · Chat · Home float as a glass capsule at the top, in the middle of the page (Chris chose B of
   docs/mockups/desktop-top-tabs/, 21 Oct 2026; Apple's iPad tab bar). The sidebar keeps Add, "Your apps" and Settings. The tabs stay
   direct children of the bar (the phone's layout and the tests rely on it): each is placed by itself (position fixed) over one capsule
   drawn by .tabbar::after. --sbw / --dkw are the sidebar's and the docked Chat's widths, so the capsule centres on the page between them.
   Room: words + icons when the page is 860 px or wider, icons only (names kept for screen readers and as a tooltip) down to 600 px,
   below that (a small window with Chat docked) the tabs go back into the sidebar as before. */
@media (min-width:1024px){
  html.v2 #app{--sbw:256px;--dkw:0px;--tabw:112px;--capy:17px}   /* the tabs centre on the Family pill (top 22 + 22) */
  html.v2 #app.chat-docked{--dkw:380px}
  html.v2 #app{--capw:calc(4 * var(--tabw) + 3 * 2px + 10px);--capx:calc((var(--sbw) + 100vw - var(--dkw)) / 2 - var(--capw) / 2)}
  html.v2 .tabbar::after{content:"";position:fixed;z-index:15;top:var(--capy);left:var(--capx);width:var(--capw);height:54px;border-radius:27px;pointer-events:none;
    background:var(--glass);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);border:1px solid var(--glass-edge);box-shadow:inset 0 1px 0 var(--glass-hi),var(--glass-shadow)}
  html.v2 .tabbar > .tab:not(.dsk){position:fixed;z-index:16;top:calc(var(--capy) + 5px);width:var(--tabw);height:44px;min-height:44px;padding:0 12px;
    justify-content:center;gap:8px;border-radius:22px;font-weight:600;color:var(--text)}
  html.v2 .tabbar > .tab[data-tab="today"]{left:calc(var(--capx) + 5px)}
  html.v2 .tabbar > .tab[data-tab="calendar"]{left:calc(var(--capx) + 5px + var(--tabw) + 2px)}
  html.v2 .tabbar > .tab[data-tab="chat"]{left:calc(var(--capx) + 5px + 2 * (var(--tabw) + 2px))}
  html.v2 .tabbar > .tab[data-tab="home"]{left:calc(var(--capx) + 5px + 3 * (var(--tabw) + 2px))}
  html.v2 .tabbar > .tab:not(.dsk):hover{background:var(--glass-press)}
  html.v2 .tabbar > .tab:not(.dsk)[aria-current="page"]{background:var(--card);color:var(--accent-text);box-shadow:0 2px 8px rgba(0,0,0,.12),inset 0 1px 0 var(--glass-hi)}
  html.v2 .tabbar > .tab:not(.dsk) .tbadge{top:-7px;right:auto;left:-9px}   /* on the icon's left corner: on the right it covered the word */
  /* the sidebar: Add, then "Your apps" (no line), Settings at the bottom */
  html.v2 .dsknav{margin-top:4px;padding-top:0;border-top:0}
  html.v2 .dsknav::before{content:"Your apps";display:block;padding:8px 12px 4px;font-size:13px;font-weight:600;color:var(--muted)}
  /* the page's top row leaves the middle to the capsule */
  html.v2 .nochrome .tabbar::after{display:none}
  html.v2 .wg-head{top:var(--toph,74px)}   /* the Week grid's day names stop under the capsule, not behind it */
}
/* How much the capsule shows is measured, not guessed (Chris's screen, Chat docked + browser zoom: it ran into the Family pill and the bell):
   capFit() in app.js tries words + icons, then icons only (html.capicons: names as tooltips and for screen readers), then puts the four
   back into the sidebar (html.capside), whichever first leaves 12 px beside the page's own top buttons. */
@media (min-width:1024px){
  html.v2.capicons #app{--tabw:56px}
  html.capmeasure .tabbar > .tab,html.capmeasure .tabbar > .tab *{transition:none !important}
  html.v2.capicons .tabbar > .tab:not(.dsk) > span:not(.tabic){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  html.v2.capicons .tabbar > .tab:not(.dsk){padding:0}
  html.v2.capside .tabbar::after{display:none}
  html.v2.capside .tabbar > .tab:not(.dsk){position:static;width:auto;height:auto;min-height:44px;padding:0 12px;justify-content:flex-start;gap:12px;border-radius:12px;font-weight:400;box-shadow:none}
  html.v2.capside .tabbar > .tab:not(.dsk)[aria-current="page"]{background:var(--accent-tint)}
  html.v2.capside .tabbar > .tab:not(.dsk) > span:not(.tabic){position:static;width:auto;height:auto;clip:auto}
  html.v2.capside .tabbar > .tab:not(.dsk) .tbadge{top:-6px;left:auto;right:-8px}
  html.v2.capside .dsknav{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
  html.v2.capside .dsknav::before{content:none}
  html.v2.capside .wg-head{top:var(--toph,58px)}   /* no capsule here */
}
@media (min-width:1024px) and (max-width:1199px){ html.v2 #app.chat-docked{--sbw:220px;--dkw:340px} html.v2 .chat-docked .fab{width:186px} }   /* the 220 px sidebar */
/* On a computer (Chris, 22 Oct 2026): the top row is a toolbar across the whole page (the fridge pill at its left, Search and the bell at
   its right), the same on every page, so the tab capsule always has the same room in the middle; .screen is the container (cqw) the
   .pad's top row reaches out to. Your face moves to the bottom of the sidebar: your face + name and a ⚙ Settings button, pinned there
   while the apps scroll behind (like the logo + Add at the top). */
@media (min-width:1024px){
  html.v2 .stage .screen{container-type:inline-size}
  html.v2 .stage .screen .pad > .top{margin-left:calc(50% - 50cqw);margin-right:calc(50% - 50cqw)}   /* its own 32 px padding lines the pill up with a wide page */
  html.v2 .stage .top .mebtn{display:none}
  html.v2 .dskfoot{order:3;position:sticky;bottom:-16px;z-index:3;flex:none;display:flex;align-items:center;gap:4px;margin:auto -12px -16px;padding:8px 12px 12px;
    background:var(--side);border-top:1px solid var(--line)}
  html.v2 .dskme{flex:1;min-width:0;display:flex;align-items:center;gap:10px;min-height:48px;padding:0 8px;border:0;border-radius:12px;background:none;
    font:inherit;font-size:15px;font-weight:600;color:var(--text);text-align:left;cursor:pointer}
  html.v2 .dskme:hover{background:var(--glass-press)}
  html.v2 .dskme .nm{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  html.v2 .dskfoot .dskset{flex:none;width:44px;min-height:44px;margin:0;padding:0;justify-content:center;border-radius:50%}
  html.v2 .dskfoot .dskset > span:not(.tabic){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}
/* Scrolling something into view (a click, the keyboard, a jump) keeps it clear of what floats over the list: on a computer the sidebar's
   logo + Add at the top and your face + Settings at the bottom; on a phone the floating bottom bar (tests clicked "Location" through it). */
@media (min-width:1024px){ html.v2 .tabbar{scroll-padding-top:136px;scroll-padding-bottom:84px} }
@media (max-width:1023px){ html.v2 .screen:not(#s-shopping):not(#s-mynotes):not(#s-chat){scroll-padding-top:72px;scroll-padding-bottom:calc(var(--navh) + var(--navb) + 16px)} }   /* not on pages with their own box at the bottom: tapping the box scrolled the list (contactshop "no jump") */
/* The Calendar on a computer (Chris chose B of docs/mockups/calendar-calm/, 22 Oct 2026): one title row (calDraw moves ‹ title › and the
   Day / Week / Month switch into .cal-hd): "19–25 Oct" big with ‹ › and Today beside it, the switch and + Add on the right; the people
   as small flat filters in one row; "Plan next week" only Friday to Sunday, as one slim line; nothing in the page is glass (glass is the
   top bar's). "Calendar" stays as the page's heading for screen readers. */
@media (min-width:1024px){
  html.v2 #s-calendar .cal-hd{display:flex;align-items:center;gap:6px;margin:4px 0 10px}
  html.v2 #s-calendar .cal-hd > h1{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  html.v2 #s-calendar .cal-hd .cal-ctl{display:contents}
  html.v2 #s-calendar .cal-hd .cal-nav{order:1;flex:none;display:flex;align-items:center;gap:2px;margin:0;min-height:44px;padding:0;border:0;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
  html.v2 #s-calendar .cal-hd .cal-nav h2{order:-1;flex:none;margin-right:8px;text-align:left;font-size:30px;line-height:1.15;letter-spacing:-.02em}
  html.v2 #s-calendar .cal-hd .cal-nav .iconbtn{width:44px;height:44px;border:0;border-radius:50%;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
  html.v2 #s-calendar .cal-hd .cal-nav .iconbtn:hover{background:var(--fill)}
  html.v2 #s-calendar .cal-hd #cal-today{order:2;min-height:44px;padding:0 14px;border:0;border-radius:22px;background:var(--fill);color:var(--text);font-weight:600;font-size:14px}
  html.v2 #s-calendar .cal-hd .seg{order:3;margin-left:auto;gap:2px;padding:2px;border:0;border-radius:12px;background:var(--fill);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
  html.v2 #s-calendar .cal-hd .seg .chip{min-height:44px;padding:0 18px;border:0;border-radius:10px;background:none;box-shadow:none;color:var(--muted);font-size:14px}
  html.v2 #s-calendar .cal-hd .seg .chip[aria-checked="true"]{background:var(--card);color:var(--text);box-shadow:0 1px 3px rgba(0,0,0,.12)}
  html.v2 #s-calendar .cal-hd #cal-hadd{order:4;margin-left:6px;min-height:44px;border:0;border-radius:22px;background:var(--accent-tint);color:var(--accent-text);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
  /* the people: small flat filters */
  html.v2 #s-calendar #cal-filter{gap:4px;padding:0 0 4px}
  html.v2 #s-calendar .cp{flex:none;flex-direction:row;gap:6px;min-height:44px;padding:0 12px 0 6px;border:0;border-radius:22px;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--text)}
  html.v2 #s-calendar .cp:hover{background:var(--fill)}
  html.v2 #s-calendar .cp .av{width:28px;height:28px;font-size:12px}   /* 12 px: the smallest letters allowed */
  html.v2 #s-calendar .cp .cpn{font-size:14px}
  html.v2 #s-calendar .cp[aria-checked="true"]{background:var(--accent-tint);color:var(--accent-text);border:0}
  /* "Plan next week" at the right end of the people row (Chris: "save one more row"): every day a quiet line, Friday to Sunday tinted */
  html.v2 #s-calendar #cal-prow{display:flex;align-items:center;gap:12px;margin-bottom:10px}
  html.v2 #s-calendar #cal-prow > .scue,html.v2 #s-calendar #cal-prow > #cal-filter{flex:1 1 auto;min-width:0}
  html.v2 #s-calendar #cal-prow #cal-filter{padding:0}
  html.v2 #s-calendar .calplan{flex:none;gap:8px;min-height:44px;margin:0;padding:0 0 0 14px;border:0;border-radius:22px;background:none;box-shadow:none}
  html.v2 #s-calendar .calplan.big{background:var(--accent-tint)}
  html.v2 #s-calendar .calplan:not(.big) .cpt b{color:var(--muted)}
  html.v2 #s-calendar .calplan:not(.big) .cpbtn{background:var(--accent-tint);color:var(--accent-text);box-shadow:none;background-image:none}   /* filled only when it is time to plan */
  html.v2 #s-calendar .calplan .cpic,html.v2 #s-calendar .calplan #cal-plan-s{display:none}
  html.v2 #s-calendar .calplan .cpt b{font-size:14px;font-weight:600;color:var(--accent-text)}
  html.v2 #s-calendar .calplan .cpbtn{min-height:44px;border-radius:22px}
  html.v2 #s-calendar #cal-mfold{background:var(--card);border:1px solid var(--line);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
}
/* With Chat docked the Week grid scrolls sideways in its own box (#cal-v-week overflow-x), so the day names stick inside that box:
   at 74 px they left an empty band above them (Chris's screenshot on TEST 2094). */
@media (min-width:1024px){ html.v2 .chat-docked #cal-v-week .wg-head{top:0} }
/* Popups in the Liquid Glass template (Chris on TEST, What's for dinner: "we forgot to redesign this pop up"): on a computer the centred
   popup is a glass panel with 28 px corners (phones already float as glass); inside every popup the controls are plain grey fills, never
   glass and never heavy outlines: the typing boxes and time boxes (focus = the tone's edge + a soft ring), the quick picks as grey
   capsules (picked = the tint), the people list one rounded card; no line above the bottom button. */
@media (min-width:1024px){
  html.v2 .sheet,html.v2 #sheet-add,html.v2 #sheet-note{border-radius:28px;background:var(--glass-strong);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);
    border:1px solid var(--glass-edge);box-shadow:inset 0 1px 0 var(--glass-hi),0 24px 64px rgba(0,0,0,.22)}
  html.v2 .sheet .sheet-head{border-bottom:0}
}
html.v2 .sheet .input,html.v2 .sheet textarea,html.v2 .sheet .timein{border:1.5px solid transparent;border-radius:14px;background:var(--fill);box-shadow:none}
html.v2 .sheet .timein{border-radius:22px}
html.v2 .sheet .input:focus,html.v2 .sheet textarea:focus,html.v2 .sheet .timein:focus{border-color:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 20%,transparent);outline:0}
html.v2 .sheet .chips:not(.chiplist) > .chip{border-color:transparent;background:var(--fill);border-radius:22px;box-shadow:none}
html.v2 .sheet .chips:not(.chiplist) > .chip[aria-checked="true"],html.v2 .sheet .chips:not(.chiplist) > .chip[aria-pressed="true"]{background:var(--accent-tint);border-color:var(--accent);color:var(--accent-text)}
html.v2 .sheet .chiplist{border-radius:16px;overflow:hidden}
html.v2 .sheet .sheet-foot{border-top:0;background:none}
/* The Add popup's row of types (Reminder · Medicine · Chore …) in the popup template (Chris on TEST, New chore): grey capsules, the
   picked one tinted with the tone's edge; the "more this way" fade melts into the popup's glass instead of a white block. */
html.v2 #add-kinds .chip{border-color:transparent;background:var(--fill);box-shadow:none}
html.v2 #add-kinds .chip[aria-checked="true"],html.v2 #add-kinds .chip[aria-pressed="true"]{background:var(--accent-tint);border-color:var(--accent);color:var(--accent-text)}
html.v2 .sheet .scedge{background:none}   /* on glass a coloured fade is a block: the row itself fades out instead */
html.v2 .sheet .scue:has(.scr:not([hidden])) > :first-child{-webkit-mask-image:linear-gradient(to left,transparent 0,#000 64px);mask-image:linear-gradient(to left,transparent 0,#000 64px)}
html.v2 .sheet .scue:has(.scl:not([hidden])) > :first-child{-webkit-mask-image:linear-gradient(to right,transparent 0,#000 64px);mask-image:linear-gradient(to right,transparent 0,#000 64px)}
html.v2 .sheet .scue:has(.scl:not([hidden])):has(.scr:not([hidden])) > :first-child{-webkit-mask-image:linear-gradient(to right,transparent 0,#000 64px,#000 calc(100% - 64px),transparent);mask-image:linear-gradient(to right,transparent 0,#000 64px,#000 calc(100% - 64px),transparent)}
/* Design round 1 (Chris, 22 Oct 2026: "go", after the review of every screen) */
/* one filled button per screen: Sign-in and recovery's Set up / Pick and the phone Calendar's Plan it (not Friday-Sunday) are tinted capsules */
html.v2 .rcpill.add{background:var(--accent-tint);color:var(--accent-text)}
html.v2 #s-calendar .calplan:not(.big) .cpbtn{background:var(--accent-tint);color:var(--accent-text);box-shadow:none;background-image:none}
/* Home's icon names never break inside a word ("Subscription/s"): whole words only, the name may use the gap beside its icon */
html.v2 #home-tools.v2apps #home-menu .navcard .t .title{overflow-wrap:normal;word-break:normal;hyphens:manual;letter-spacing:-.01em}
/* the one long single-word name (Subscriptions) is 12 px; where it still does not fit (large text, a small phone) the browser hyphenates it
   properly ("Sub-scriptions", lang="en"), never a cut word or "…" (Home colours session, homecats 360 px 130 %) */
html.v2 #home-tools.v2apps #home-menu #go-subscriptions .t .title{font-size:12px;letter-spacing:-.02em;-webkit-hyphens:auto;hyphens:auto;overflow-wrap:break-word}   /* break-word: the safety net where a browser cannot hyphenate */
/* on a phone a page's "+ Add" / "+ New list" by the title is a round 44 px + (its words stay for screen readers), so long titles keep one line */
@media (max-width:1023px){
  html.v2 .billhd{gap:10px}
  html.v2 .billhd .bhbtn{flex:none;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;justify-content:center;border-radius:50%}
  html.v2 .billhd .bhbtn > span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  html.v2 .billhd .bhbtn .i{width:22px;height:22px}
  html.v2 #chat-convs{padding-left:16px;padding-right:16px}   /* the same 16 px edges as every other page */
}
/* dark mode: the chosen part of a glass switch is a lighter lens (dark card on dark glass was almost invisible) */
:root[data-theme="dark"] html.v2,html.v2[data-theme="dark"]{--lens:color-mix(in srgb,var(--text) 18%,var(--card))}
@media (prefers-color-scheme:dark){html.v2:not([data-theme="light"]){--lens:color-mix(in srgb,var(--text) 18%,var(--card))}}
html.v2[data-theme="dark"] .v2for .seg button[aria-pressed="true"],html.v2[data-theme="dark"] .seg:not(.txtseg) .chip[aria-checked="true"],html.v2[data-theme="dark"] .seg:not(.txtseg) .chip[aria-pressed="true"],
html.v2[data-theme="dark"] .seg:not(.txtseg) > button[aria-pressed="true"],html.v2[data-theme="dark"] .bseg button.on{background:var(--lens)}
@media (prefers-color-scheme:dark){html.v2:not([data-theme="light"]) .v2for .seg button[aria-pressed="true"],html.v2:not([data-theme="light"]) .seg:not(.txtseg) .chip[aria-checked="true"],
  html.v2:not([data-theme="light"]) .seg:not(.txtseg) .chip[aria-pressed="true"],html.v2:not([data-theme="light"]) .seg:not(.txtseg) > button[aria-pressed="true"],html.v2:not([data-theme="light"]) .bseg button.on{background:var(--lens)}}
/* Settings pages: the same gap under the big title on every page (Look and feel, Alerts, Fridge and people had the first heading tight under it) */
html.v2 #s-settings .setb > .sec:first-child,html.v2 #s-settings .setb > h3:first-child{margin-top:20px}
html.v2 .rcpill{border-radius:999px}
/* Design round 2 (Chris: "all" for docs/mockups/glass-round2/, 22 Oct 2026) */
/* the same top bar on every page: Today gets the bell; its extra round chat button goes (Chat is a tab; on a computer it repeated it) */
html.v2 #today-inbox{display:none}
/* the phone's Calendar, calm (section 1): the period ("October 2026") with ‹ › is the title, a round + on its right; the glass Day / Week / Month
   switch under it; the people as small flat filters; "Plan next week" below the calendar, Friday to Sunday only, one slim line; the month
   bar only says "Full month ⌄" (the title already names the month); no second + Add above the Day view. */
@media (max-width:1023px){
  html.v2 #s-calendar .cal-hd{display:flex;align-items:center;gap:4px;margin:0 0 10px}
  html.v2 #s-calendar .cal-hd > h1{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  html.v2 #s-calendar .cal-hd .cal-nav{order:1;flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:0;margin:0;min-height:44px;padding:0;border:0;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
  html.v2 #s-calendar .cal-hd .cal-nav h2{order:-1;flex:0 1 auto;min-width:0;margin-right:2px;text-align:left;font-size:28px;line-height:1.15;letter-spacing:-.02em}
  html.v2 #s-calendar .cal-hd .cal-nav .iconbtn{flex:none;width:44px;height:44px;border:0;border-radius:50%;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
  html.v2 #s-calendar .cal-hd #cal-hadd{order:2}
  html.v2 #s-calendar #cal-filter{gap:4px}
  html.v2 #s-calendar .cp{flex:none;flex-direction:row;gap:6px;min-height:44px;padding:0 12px 0 6px;border:0;border-radius:22px;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--text)}
  html.v2 #s-calendar .cp .av{width:28px;height:28px;font-size:12px}
  html.v2 #s-calendar .cp .cpn{font-size:14px}
  html.v2 #s-calendar .cp[aria-checked="true"]{background:var(--accent-tint);color:var(--accent-text);border:0}
  html.v2 #s-calendar .calplan:not(.big){display:none}
  html.v2 #s-calendar .calplan{gap:8px;min-height:44px;margin:12px 0;padding:0 0 0 14px;border:0;border-radius:22px;background:var(--accent-tint);box-shadow:none}
  html.v2 #s-calendar .calplan .cpic,html.v2 #s-calendar .calplan #cal-plan-s{display:none}
  html.v2 #s-calendar .calplan .cpt b{font-size:14px;font-weight:600;color:var(--accent-text)}
  html.v2 #s-calendar .calplan .cpbtn{min-height:44px;border-radius:22px}
  html.v2 #s-calendar #cal-mfold .v2mft{display:none}
  html.v2 #s-calendar .calday-top{display:none}   /* the round + in the title adds on the chosen day already */
  html.v2 #s-calendar #cal-mfold{justify-content:flex-end;width:auto;margin-left:auto;background:none;border:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
}
/* History (section 3): one row with a search capsule (grey fill, magnifier) and a Filter capsule that says "Everyone · 30 days" and folds
   out Person and how far back; the list starts higher */
html.v2 .hifrow{display:flex;align-items:center;gap:8px;margin:12px 0}
html.v2 .hiq{position:relative;flex:1 1 auto;min-width:0}
html.v2 .hiq > .i{position:absolute;left:14px;top:50%;width:20px;height:20px;transform:translateY(-50%);color:var(--muted);pointer-events:none}
html.v2 .hiq .input{width:100%;min-height:44px;padding-left:42px;border:1.5px solid transparent;border-radius:22px;background:var(--fill)}
html.v2 .hiq .input:focus{border-color:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 20%,transparent);outline:0}
html.v2 .hifbtn{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:44px;max-width:60%;padding:0 12px;border:0;border-radius:22px;background:var(--accent-tint);color:var(--accent-text);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
html.v2 .hifbtn > span{white-space:normal;line-height:1.2;text-align:left}   /* v396: the words wrap, never cut (section 3) */
html.v2 .hifbtn .i{width:18px;height:18px;flex:none}
html.v2 .hifbtn[aria-expanded="true"]{background:var(--accent);color:var(--on-accent)}
html.v2 .hifpanel{margin:0 0 12px;padding:12px;border-radius:22px;background:var(--card);border:1px solid var(--line)}
html.v2 .hifpanel .field{margin-bottom:12px}
html.v2 .hifpanel .seg{margin:0}
/* Phonebook (section 3): the search capsule, then the categories as chips in one sideways row (no "Showing" row) */
html.v2 #con-searchwrap{margin:8px 0 10px}
html.v2 #con-cats .concats{display:flex;flex-wrap:nowrap;gap:6px;overflow-x:auto;scrollbar-width:none;padding:2px 0 10px}
html.v2 #con-cats .concats::-webkit-scrollbar{display:none}
html.v2 #con-cats .concats .chip{flex:none;min-height:44px;padding:0 14px;border:1.5px solid transparent;border-radius:22px;background:var(--fill);color:var(--text);font-size:14px;font-weight:600}
html.v2 #con-cats .concats .chip[aria-pressed="true"]{background:var(--accent-tint);border-color:var(--accent);color:var(--accent-text)}
/* Fridge settings (section 3): Currency and City look like every settings row: the label left, the value grey on the right with a chevron,
   "Not set yet" on the same line. They stay real drop-downs underneath (the phone opens its own wheel), only the box is gone. */
html.v2 .setfr .frv:has(> select){display:flex;align-items:center;justify-content:flex-end;gap:8px;position:relative;min-width:0}
html.v2 .setfr .frv > select.setsel,html.v2 .setfr .frv > select#usual-tz{-webkit-appearance:none;appearance:none;max-width:100%;min-height:44px;padding:0 22px 0 4px;border:0;border-radius:10px;
  background:none;color:var(--muted);font:inherit;font-size:16px;text-align:right;text-align-last:right;cursor:pointer}
html.v2 .setfr .frv > select:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
html.v2 .setfr .frv:has(> select)::after{content:"";position:absolute;right:4px;top:50%;width:8px;height:8px;border-right:2px solid var(--muted);border-top:2px solid var(--muted);transform:translateY(-50%) rotate(45deg);pointer-events:none}
html.v2 .setfr .frv > .frs{order:-1;white-space:nowrap}
/* An empty page's one button is the page's main action (Chris on TEST, Homework: the pale tint barely read as a button): a filled capsule in
   the tone, lit from the top like the other filled buttons, sized to its words (Apple's empty screens). */
html.v2 .emptyb .emptybtn{min-height:48px;padding:0 22px;border:0;border-radius:999px;background-color:var(--accent);color:var(--on-accent);
  background-image:linear-gradient(to bottom,color-mix(in srgb,var(--accent) 84%,white),var(--accent));box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 6px 18px color-mix(in srgb,var(--accent) 30%,transparent)}
@media (prefers-contrast:more){html.v2 .emptyb .emptybtn{background-image:none;border:1px solid var(--text)}}
html.v2 .hifbtn{max-width:56%}
html.v2 .setfr .frv:has(> select){flex-direction:row;flex-wrap:nowrap}
/* not set yet: the row just says "Not set yet ›"; the drop-down covers the whole value, unseen, so a tap still opens it */
html.v2 .setfr .frv:has(> .frs) > select{position:absolute;inset:0;width:100%;opacity:0}
html.v2 .setfr .frv:has(> .frs){min-height:44px;padding-right:22px}
/* the fridge pill never gets narrower than 44 px (Today's bell squeezed it to 36 px on a folding phone's cover screen); its name shortens with "…" */
html.v2 .top .spacepill{min-width:44px;flex-shrink:1}
html.v2 .top .spacepill .sp-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Popups like the native iPhone app (Chris chose docs/mockups/popup-chips/, 22 Oct 2026, after the dinner popup's grey times vanished on
   the white glass on a computer): the popup is the page grey, solid, not glass; every choice, day/time button and typing box is white with
   a thin line; the picked choice is solid in the tone with white words. Glass stays on the ✕ and the floating bars. */
html.v2 .sheet,html.v2 #sheet-add,html.v2 #sheet-note{background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line)}
html.v2 .sheet .input,html.v2 .sheet textarea,html.v2 .sheet .timein,html.v2 .sheet .apnat{border:1px solid var(--line);background:var(--card)}
html.v2 .sheet .input:focus,html.v2 .sheet textarea:focus,html.v2 .sheet .timein:focus{border-color:var(--accent)}
html.v2 .sheet .chips:not(.chiplist) > .chip,html.v2 #add-kinds .chip{border:1px solid var(--line);background:var(--card);color:var(--text)}
html.v2 .sheet .chips:not(.chiplist) > .chip[aria-checked="true"],html.v2 .sheet .chips:not(.chiplist) > .chip[aria-pressed="true"],
html.v2 #add-kinds .chip[aria-checked="true"],html.v2 #add-kinds .chip[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
html.v2 .sheet .chips:not(.chiplist) > .chip[aria-checked="true"] .i,html.v2 .sheet .chips:not(.chiplist) > .chip[aria-pressed="true"] .i,
html.v2 #add-kinds .chip[aria-checked="true"] .i,html.v2 #add-kinds .chip[aria-pressed="true"] .i{color:inherit}
html.v2 .sheet .ibtn,html.v2 .sheet .rdwb{border:1px solid var(--line);background:var(--card);color:var(--text)}
html.v2 .sheet .ibtn.on,html.v2 .sheet .rdwb.on{border-color:var(--accent);color:var(--accent-text);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 18%,transparent)}   /* the open one: its panel is below */
html.v2 .sheet .chip.snzb{border:1px solid var(--line) !important;background:var(--card) !important;color:var(--text) !important}
html.v2 .sheet .chip.snzb[aria-expanded="true"]{background:var(--accent) !important;border-color:var(--accent) !important;color:var(--on-accent) !important}
html.v2 #say-tiles .atile,html.v2 #say-more .atile,html.v2 #sheet-say .saymoreb,html.v2 #sheet-say .quickadd{border:1px solid var(--line);background:var(--card);-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}
html.v2 #sheet-say .quickadd:focus-within{border-color:var(--accent)}
html.v2 .sheet .rdwcard .rdtitle{border:0;background:none;box-shadow:none}   /* the reminder's words sit in the blue card itself (v296), never in a box */
html.v2 .sheet .nntext{border-color:transparent;background:var(--np)}   /* a sticky note is written on the note's own colour */
html.v2 .sheet .chamtbox{border:1px solid var(--line);background:var(--card)}   /* a bill's amount box, like the day button next to it */
html.v2 .addcard #f-text:focus{border-radius:22px 22px 0 0}   /* the focus ring follows the card's 22 px corners (it had 16 px, Chris on TEST 2105) */

/* Chris chose C of docs/mockups/popup-colours/ (24 Oct 2026): every reminder-kind popup = the grey popup, the light-blue header, ONE white
   card (When, For, Repeats, each kind's rows, the Note) and a small grey "Only you can see this" line under it */
#sheet-act:has(#act-card){background:var(--bg)}
.rdcardc{margin:10px 0 0;border-radius:16px;background:var(--card);box-shadow:inset 0 0 0 1px var(--line);overflow:hidden}
.rdcardc .rdset{margin:0;border-radius:0;background:none}
.rdcardc .rdsrow + .rdsrow,.rdcardc .rdspanel + .rdsrow,.rdcardc .rdpick + .rdsrow{border-top-color:var(--line)}
.rdcardc .rdnbox{margin:0;border-radius:0;box-shadow:none;background:none;border-top:1px solid var(--line)}
.rdvis.rdfoot{min-height:32px;margin:4px 0 8px;padding:0 4px;font-size:14px}
button.rdvis.rdfoot{min-height:44px}   /* tappable: Who can see this */
/* v344 (Chris chose D of docs/mockups/reminder-tap-edit/): the reminder popup. The words on top (tap to type), ••• at the top left,
   Mark done (solid) + Update (outline, grey until something changed) under the card, "Save your changes?" before closing. */
.rdid{position:static}
.rddots{position:absolute;top:14px;left:12px;z-index:2;width:44px;height:44px;border-radius:50%;color:var(--accent-text)}
.rdid .rdtop{padding-left:44px}
.rddmenu{position:absolute;top:60px;left:12px;z-index:3;width:min(280px,calc(100% - 24px));margin:0;box-shadow:0 8px 30px rgba(0,0,0,.2)}
.rdttl{margin:8px 0 0;font-size:22px;line-height:1.35;font-weight:700;overflow-wrap:anywhere}
.rdttlb{display:block;width:100%;min-height:44px;margin:0;padding:0;border:0;background:none;color:var(--text);font:inherit;text-align:left;cursor:text;text-decoration:underline dashed;text-decoration-color:var(--accent);text-underline-offset:5px;text-decoration-thickness:1.5px}
.rdtitled{margin-top:8px}
.rdtwrap{width:100%}
.rdfromd{margin:4px 0 0;font-size:14px;color:var(--muted, #5d6876)}
.rdacts{margin:12px 0 4px}
.rdacts .actmain{flex:1.4;margin:0}
.rdacts .rdupd{flex:1;min-height:48px;margin:0}
.rdskipfor{display:flex;width:100%;justify-content:center;min-height:44px;margin:6px 0 0}   /* v371 Skip Annita's turn under Done for Annita */
.rdacts.solo .rdupd{flex:1}
.rdupd:disabled{border-color:var(--line);color:var(--muted, #8a94a0);opacity:1;cursor:default}
.rdupd.on{border-color:var(--accent);color:var(--accent-text);background:var(--card)}
.rdask{margin:0 0 12px;padding:14px 16px;border-radius:14px;background:var(--card);box-shadow:0 6px 24px rgba(0,0,0,.18)}
.rdask h3{margin:0 0 10px;font-size:18px}
.rdask .rdpair .btn{flex:1;min-height:48px}
.rdactsw{gap:10px;margin:12px 0 4px}
.rdactsw .rdacts{margin:0}
/* v343 Repeat on certain days (docs/mockups/repeat-certain-days/, B): seven round day buttons under Every week; small day letters on Today */
.wdays7{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px;padding:8px 16px 14px}
.wd7{flex:none;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-size:15px;font-weight:600;background:var(--fill);color:var(--text);border:0;padding:0;cursor:pointer;font-family:inherit}
.wd7.on{background:var(--accent);color:var(--on-accent)}
.rdspanel .wdays7{padding:8px 0 4px}
.wdrep{display:inline-flex;align-items:center;gap:4px}
.mini{display:inline-flex;gap:2px;vertical-align:middle}
.mini i{font-style:normal;font-size:12px;width:16px;height:16px;border-radius:50%;display:grid;place-items:center;background:var(--fill);color:var(--muted)}
.mini i.on{background:var(--accent-tint);color:var(--accent-text);font-weight:600}
/* v351 Take back a reminder you sent (docs/mockups/take-back/): the red row's grey line under it, the who-from choice, the recipient's quiet line on Today */
.btn.tbbtn{display:flex;width:100%;min-height:52px;margin:12px 0 0;padding:10px 16px;background:transparent;border:1.75px solid var(--danger);color:var(--danger);font-weight:600;font-size:17px;gap:8px}   /* v353 outlined red Take back (design-system: outlined danger) */
.btn.tbbtn .i{width:20px;height:20px}
.actrow.tbrow{flex-wrap:wrap}.actrow.tbrow .rdhint{flex-basis:100%;margin-left:0;padding-left:30px;font-weight:400}
.tbask .tbcap{margin:0 0 4px;font-size:15px;font-weight:600;color:var(--muted)}
.tbpick{margin:6px 0 14px}
.tbopt{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:12px 14px;border:0;border-top:1px solid var(--line);background:none;color:var(--text);font:inherit;font-size:17px;text-align:left;cursor:pointer}
.tbopt:first-child{border-top:0}.tbopt:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
.tbrad{flex:none;width:22px;height:22px;border-radius:999px;border:2px solid var(--line)}.tbrad.on{border:7px solid var(--accent)}
.tbslot{display:flex;flex-direction:column;gap:8px;margin:0 0 12px}.tbslot[hidden]{display:none}
.tbline{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 14px;border-radius:12px;background:var(--fill);color:var(--muted);font-size:15px}
.tbline .tbok{flex:none;min-height:44px;color:var(--accent-text);font-weight:600}

.tbask #act-tb-yes{background:var(--danger);border-color:var(--danger);color:var(--on-accent);box-shadow:none}   /* the mockup: Take back is red and filled */

/* v353: Today on desktop follows the native phone's grouped lists and controls (Chris's approved desktop-native-today mockup).
   All colours come from the existing tone tokens; other pages and phone layouts retain their own rules. */
@media (min-width:1024px){
  html.v2 #s-today .todayhead{margin:12px 0 22px}
  html.v2 #s-today .v2thb h1{font-size:34px;font-weight:700}
  html.v2 #s-today .v2thb .thdate{font-size:16px;margin-bottom:4px}
  html.v2 #s-today .v2for{justify-content:flex-start;gap:20px;margin:0 0 24px}
  html.v2 #s-today .v2cnt{margin-left:0;font-size:15px}
  html.v2 #s-today .v2for .seg{padding:4px;border:0;border-radius:12px;background:var(--fill);box-shadow:none;backdrop-filter:none}
  html.v2 #s-today .v2for .seg button{min-height:44px;padding:0 20px;border:0;border-radius:8px;color:var(--muted);background:none;box-shadow:none}
  html.v2 #s-today .v2for .seg button[aria-pressed="true"]{background:var(--card);color:var(--text);box-shadow:0 1px 4px color-mix(in srgb,var(--text) 10%,transparent)}
  html.v2 #today-body>.native-section{margin:0 0 20px;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--card)}
  html.v2 #today-body>.native-section.od{border-color:color-mix(in srgb,var(--danger) 45%,var(--line))}
  html.v2 .native-section>h2{margin:0;font-size:17px}
  html.v2 .native-section-bar{display:flex;align-items:center;gap:12px;width:100%;min-height:54px;padding:12px 18px;border:0;background:var(--accent-tint);color:var(--text);font:inherit;text-align:left;cursor:pointer}
  html.v2 .native-section-title{flex:1;min-width:0;font-weight:600;overflow-wrap:anywhere}
  html.v2 .native-section-count{color:var(--muted);font-size:14px;font-weight:400;white-space:nowrap}
  html.v2 .native-section-chevron{width:18px;height:18px;color:var(--muted)}
  html.v2 .native-section-bar[aria-expanded="false"] .native-section-chevron{transform:rotate(-90deg)}
  html.v2 .native-section.od .native-section-bar{background:var(--danger-tint);color:var(--danger)}
  html.v2 .native-section.od .native-section-count,html.v2 .native-section.od .native-section-chevron{color:var(--danger)}
  html.v2 .native-section .group.tgroup{margin:0;border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:none;background:var(--card)}
  html.v2 #s-today .trow{min-height:80px;padding:16px;gap:14px}
  html.v2 #s-today .trow .tri,html.v2 #s-today .trow .av{width:36px;height:36px}
  html.v2 #s-today .trb{gap:5px}
  html.v2 #s-today .trt{font-size:17px;font-weight:600}
  html.v2 #s-today .trm{font-size:15px;line-height:1.4}
  html.v2 #s-today .v2tick{width:44px;height:44px;margin:0 12px 0 4px;background:none;box-shadow:none}
  html.v2 #s-today .v2tick:hover{background:var(--ok-tint);color:var(--ok)}
  html.v2 #s-today .native-section-bar:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
  html.v2 #s-today .v2qa .qago{border-radius:12px;background:var(--card);border:1px solid var(--line);box-shadow:none;min-height:84px;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;padding:16px}
  html.v2 #s-today .v2qa .qago .qaic{width:26px;height:26px;border-radius:0;background:none;box-shadow:none}
  html.v2 #s-today .v2qa .qago .qaic>.i{width:24px;height:24px;color:var(--accent-text);filter:none}   /* no coloured squircle on a computer's Quick access (docs/mockups/desktop-native-today), so the symbol is the accent: the white symbols vanished on the white card */
  html.v2 #s-today .v2qa .qaname{font-size:14px;flex:none;line-height:1.4}
  html.v2 .native-capture{padding:22px;background:var(--card);border:1px solid var(--line);border-radius:16px}
  html.v2 .native-capture>.tri{width:38px;height:38px;margin-bottom:16px}
  html.v2 .native-capture h2{margin:0;font-size:18px;line-height:1.35;font-weight:600}
  html.v2 .native-capture>p{margin:6px 0 18px;color:var(--muted);font-size:14px;line-height:1.5}
  html.v2 #s-today .quickadd{border:1px solid var(--line);border-radius:12px;background:var(--card);box-shadow:none;min-height:54px}
  html.v2 #s-today .quickadd:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 20%,transparent)}
  html.v2 .native-capture .quickadd{margin:0;background:var(--bg);padding:4px 8px}
  html.v2 .native-capture .qai{display:none}
  html.v2 .native-capture .qainput{width:100%;min-width:0;font-size:16px}
  html.v2 .native-capture .qaline{margin-top:12px}
  html.v2 #s-today .v2qa .qahead h2{font-size:17px;font-weight:600}
}
@media (min-width:1280px){
  html.v2 #s-today .todaycols{gap:28px}
  html.v2 #s-today .todayside{flex-basis:292px;gap:24px;padding-top:0}
  html.v2 #today-side>.v2qa{margin:0;width:100%}
}

@media (min-width:1024px){
  html.v2 #s-today .v2qa .qahead{display:flex}
  html.v2 #s-today .v2qa #qa-body{display:block}
  html.v2 #s-today .v2qa .qagrid.qaapps{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0;border:0;border-radius:0;background:none}
  html.v2 #s-today .v2qa .qaapps .qaic::before,html.v2 #s-today .v2qa .qaapps .qaic::after{display:none}
}
/* Approved desktop native designs: a quiet sidebar and the phone's grouped controls.
   Scope everything to desktop so the native-size web presentation stays intact. */
.nd-detail-placeholder{display:none}
@media(min-width:1024px){
 html.v2.native-desktop #app{--sbw:248px;--dkw:0px;grid-template-columns:248px minmax(0,1fr)}
 html.v2.native-desktop #app.nochrome{grid-template-columns:minmax(0,1fr)}
 html.v2.native-desktop .tabbar{background:var(--card);backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none;padding:16px 12px;gap:3px}
 html.v2.native-desktop .tabbar::after{display:none}
 html.v2.native-desktop .dskbrand{position:static;height:52px;margin:0;padding:0 8px;align-items:center;background:none}
 html.v2.native-desktop .nd-household{order:0;display:flex;align-items:center;gap:10px;width:100%;min-height:48px;margin:8px 0 76px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--text);font:inherit;text-align:left;cursor:pointer}
 html.v2.native-desktop .nd-household .sp-name{flex:1;overflow:hidden;text-overflow:ellipsis}
 html.v2.native-desktop .fab{position:absolute;top:144px;left:12px;width:224px;height:46px;border-radius:12px;background:var(--accent);background-image:none;color:var(--on-accent);border:0;box-shadow:none}
 html.v2.native-desktop .tabbar>.tab:not(.dsk){position:static;inset:auto;width:100%;height:auto;min-height:44px;padding:0 12px;justify-content:flex-start;gap:12px;border-radius:10px;box-shadow:none;font-weight:500}
 html.v2.native-desktop .tabbar>.tab:not(.dsk)>span:not(.tabic){position:static;width:auto;height:auto;clip:auto;overflow:visible}
 html.v2.native-desktop .tabbar>.tab[aria-current=page]{background:var(--accent-tint);color:var(--accent-text);box-shadow:none}
 html.v2.native-desktop .tabbar>.tab .tbadge{left:auto;right:-8px;top:-6px}
 html.v2.native-desktop .dskappshd{margin-top:18px;order:2}
 html.v2.native-desktop .dsknav{margin-top:0;padding-top:0;border:0;gap:1px}
 html.v2.native-desktop .dsknav::before{content:none}
 html.v2.native-desktop .dskrow .tab{min-height:40px}
 html.v2.native-desktop .dskrow .tabic{background:none;box-shadow:none;border-radius:0}
 html.v2.native-desktop .dskrow .tabic::before,html.v2.native-desktop .dskrow .tabic::after{display:none}
 html.v2.native-desktop .nd-search{order:2;margin-top:12px;border-top:1px solid var(--line);border-radius:0;padding-top:10px}
 html.v2.native-desktop .dskfoot{order:3;background:var(--card);backdrop-filter:none;-webkit-backdrop-filter:none;border-top:1px solid var(--line);box-shadow:none}
 html.v2.native-desktop .screen .top::before{display:none}
 html.v2.native-desktop .screen .top{background:var(--bg);box-shadow:none;border-bottom:1px solid var(--line);backdrop-filter:none;-webkit-backdrop-filter:none}
 html.v2.native-desktop .pad{max-width:1160px;padding:0 32px 40px}
 html.v2.native-desktop .sheet{background:var(--card);border:1px solid var(--line);border-radius:16px;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:0 20px 64px #0003}
 html.v2.native-desktop .group,html.v2.native-desktop .card{background:var(--card);border-color:var(--line);box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
 html.v2.native-desktop .btn,html.v2.native-desktop .iconbtn,html.v2.native-desktop .seg,html.v2.native-desktop .chip{background-image:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
 html.v2.native-desktop .btn.filled{background:var(--accent);color:var(--on-accent)}
 html.v2.native-desktop .btn.filled:disabled{background:var(--fill);color:var(--muted)}
 html.v2.native-desktop .seg{background:var(--fill);border:0;border-radius:10px;padding:3px}
 html.v2.native-desktop .seg .chip[aria-checked=true],html.v2.native-desktop .seg button[aria-pressed=true]{background:var(--card);color:var(--text);border-radius:8px}
 html.v2.native-desktop .billhd{margin:22px 0 8px}
 html.v2.native-desktop .billhd h1,html.v2.native-desktop .v2hh h1{font-size:32px;font-weight:700}
 html.v2.native-desktop .pgicon,html.v2.native-desktop .navcard .ticon{box-shadow:none;background:none!important}
 html.v2.native-desktop .pgicon::before,html.v2.native-desktop .pgicon::after,html.v2.native-desktop .navcard .ticon::before,html.v2.native-desktop .navcard .ticon::after{display:none}
 html.v2.native-desktop #home-tools{display:block;border:0;background:none;box-shadow:none;margin-top:24px}
 html.v2.native-desktop #home-tools>summary,html.v2.native-desktop #home-favs{display:none}
 html.v2.native-desktop #home-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;row-gap:0;align-items:stretch;margin:0}
 html.v2.native-desktop #home-menu>.hcat{margin:18px 0 8px;padding:0 4px;font-size:14px;color:var(--muted)}
 html.v2.native-desktop #home-menu>.navcard,html.v2.native-desktop #home-menu>.htile{min-width:0;min-height:76px;margin:0;border:1px solid var(--line);border-bottom:0;border-radius:0;background:var(--card);box-shadow:none}
 html.v2.native-desktop #home-menu>.hc-first{border-radius:14px 14px 0 0}
 html.v2.native-desktop #home-menu>.hc-last{border-bottom:1px solid var(--line);border-radius:0 0 14px 14px}
 html.v2.native-desktop #home-menu .navcard{display:flex;align-items:center;gap:12px;padding:14px;min-height:76px;box-shadow:none}
 html.v2.native-desktop #home-menu .navcard .t{min-width:0;flex:1}
 html.v2.native-desktop #home-menu .navcard .t>div:not(.title){font-size:14px;color:var(--muted);line-height:1.4}
 html.v2.native-desktop #home-menu .navcard .title{font-size:17px;font-weight:600}
 /* Apps on a computer: tiles (Chris chose A of docs/mockups/desktop-apps/, 10 Nov 2026) */
 html.v2.native-desktop #home-menu.ndtiles{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:12px;row-gap:12px}
 html.v2.native-desktop #home-menu.ndtiles.nt3{grid-template-columns:repeat(3,minmax(0,1fr))}
 html.v2.native-desktop #home-menu.ndtiles>.hclear{grid-column:1/-1}
 html.v2.native-desktop #home-menu.ndtiles{margin-top:8px}
 html.v2.native-desktop #home-menu.ndtiles>.navcard,html.v2.native-desktop #home-menu.ndtiles>.htile{border:1px solid var(--line);border-radius:16px;min-height:132px}
 html.v2.native-desktop #home-menu.ndtiles .navcard{position:relative;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:10px;padding:16px;height:100%;transition:border-color .15s,box-shadow .15s}
 html.v2.native-desktop #home-menu.ndtiles .navcard>svg.i:last-child{display:none}
 html.v2.native-desktop #home-menu.ndtiles .navcard:hover{border-color:var(--accent);box-shadow:0 4px 16px #00000014}
 html.v2.native-desktop #home-menu.ndtiles .navcard:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
 html.v2.native-desktop #home-menu.ndtiles .navcard .t{width:100%}
 html.v2.native-desktop #home-menu.ndtiles .navcard .title{font-size:16px}
 html.v2.native-desktop #home-menu.ndtiles .hrbdg{position:absolute;top:14px;right:14px;margin:0}
/* Reorder on the tiles (Chris: "same old style of reorder"): the whole tile is the drag handle (six dots on its corner), a round − on its top-left corner hides it */
 html.v2.native-desktop #home-tools.v2reordering #home-menu.ndtiles>.htile{overflow:visible}
 html.v2.native-desktop #home-tools.v2reordering #home-menu.ndtiles .hrbdg{display:none}
 html.v2.native-desktop #home-tools.v2reordering #home-menu.ndtiles>.htile>.navcard, html.v2.native-desktop #home-tools.v2reordering #home-menu.ndtiles>.htile>.v2minus+.navcard{padding:16px;min-height:0;cursor:grab}
 html.v2.native-desktop #home-tools.v2reordering #home-menu.ndtiles>.htile>.v2minus{position:absolute;left:-16px;top:-16px;z-index:2;width:44px;height:44px;margin:0;border-radius:50%}
 html.v2.native-desktop #home-tools.v2reordering #home-menu.ndtiles>.htile>.v2minus .i{width:26px;height:26px;border-radius:50%;background:var(--card)}
 html.v2.native-desktop #home-tools.v2reordering #home-menu.ndtiles>.htile>.v2handle{position:absolute;inset:0;z-index:1;display:flex;align-items:flex-start;justify-content:flex-end;width:auto;height:auto;margin:0;padding:12px;border-radius:16px;background:none;color:var(--muted)}
 html.v2.native-desktop #home-tools.v2reordering #home-menu.ndtiles>.htile>.v2handle:hover{color:var(--accent-text)}
 html.v2.native-desktop #home-tools.v2reordering #home-menu.ndtiles>.htile:hover{border-color:var(--accent)}
 html.v2.native-desktop #home-tools.v2reordering #home-menu.ndtiles>.htile>.v2handle:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
 html.v2.native-desktop #home-tools.v2reordering #home-menu.ndtiles>.htile.v2place{border-style:dashed}
.v2ghost.ndgg{display:block;border-radius:16px;transform:scale(1.04)}
.v2ghost.ndgg .navcard{display:flex;flex-direction:column;align-items:flex-start;gap:10px;width:100%;height:100%;padding:16px;border:0;background:none}
.v2ghost.ndgg .navcard .title{font-size:16px;font-weight:600}
.v2ghost.ndgg .navcard>svg.i:last-child,.v2ghost.ndgg .v2minus,.v2ghost.ndgg .hrbdg,.v2ghost.ndgg .t>div:last-child{display:none}
.v2ghost.ndgg .v2handle{position:absolute;top:12px;right:12px;width:auto;height:auto;margin:0}
.v2ghost.ndgg.v2settle{transform:scale(1)}
 html.v2.native-desktop #s-home .pad{padding-bottom:120px}
 html.v2.native-desktop #s-home .nd-home-search{width:100%}
 html.v2.native-desktop #s-chat.on{display:grid;grid-template-columns:300px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);overflow:hidden;height:100%}
 html.v2.native-desktop #s-chat .chathead{grid-column:1;grid-row:1;max-width:none;width:100%;padding:22px 18px 14px;border-right:1px solid var(--line);background:var(--card)}
 html.v2.native-desktop #s-chat .chathead>.top{display:none}
 html.v2.native-desktop #s-chat #chat-h{font-size:30px;margin:0 0 18px}
 html.v2.native-desktop #s-chat .convs{grid-column:1;grid-row:2;max-width:none;width:100%;padding:0 10px 20px;overflow:auto;border-right:1px solid var(--line);background:var(--card)}
 html.v2.native-desktop #s-chat .convview{grid-column:2;grid-row:1/-1;max-width:none;min-width:0;height:100%;width:100%;margin:0;overflow:hidden}
 html.v2.native-desktop #s-chat .convbar{min-height:76px;background:var(--card);border-bottom:1px solid var(--line);padding:14px 24px;backdrop-filter:none}
 html.v2.native-desktop #s-chat #conv-back{display:none}
 html.v2.native-desktop #s-chat .chatlist{padding:24px;min-height:0;flex:1;overflow:auto}
 html.v2.native-desktop #s-chat .chatbar{background:var(--card);border-top:1px solid var(--line);padding:14px 24px}
 html.v2.native-desktop #s-chat .composer{background:var(--bg);border:1px solid var(--line);border-radius:14px;box-shadow:none}
 html.v2.native-desktop .nd-mn-list{display:flex;flex-direction:column;gap:16px}
 html.v2.native-desktop .nd-mn-note{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:18px;overflow-wrap:anywhere}
 html.v2.native-desktop .nd-mn-line{display:block;width:100%;min-height:30px;padding:3px 0;border:0;background:none;color:var(--text);font:inherit;text-align:left;white-space:pre-wrap;cursor:pointer}
 html.v2.native-desktop .nd-mn-check{display:flex;align-items:center;gap:10px;min-height:38px}
 html.v2.native-desktop .nd-mn-check input{width:22px;height:22px;accent-color:var(--accent)}
 html.v2.native-desktop .nd-mn-meta{display:flex;align-items:center;justify-content:space-between;margin-top:12px;color:var(--muted);font-size:13px}
 html.v2.native-desktop .nd-dinner-layout,html.v2.native-desktop .nd-week-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr);gap:28px;align-items:start}
 html.v2.native-desktop #nd-dinner-editor,html.v2.native-desktop .nd-dinner-card{border:1px solid var(--line);border-radius:16px;background:var(--card);padding:20px}
 html.v2.native-desktop #nd-dinner-editor .sheet-body{padding:0;overflow:visible}
 html.v2.native-desktop #nd-dinner-editor .sheet-foot{padding:20px 0 0}
 html.v2.native-desktop #s-dinner .billhd{margin-top:28px}
 html.v2.native-desktop .nd-week-review{position:sticky;top:20px}
 html.v2.native-desktop #hi-fbtn{display:none}
}
@media(min-width:1280px){
 html.v2.native-desktop .nd-details>.pad{position:relative;min-height:100%;padding-right:calc(36% + 42px)}
 html.v2.native-desktop .nd-detail-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;position:absolute;right:32px;top:110px;bottom:32px;width:calc(36% - 8px);min-height:360px;max-height:650px;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:28px;color:var(--muted)}
 html.v2.native-desktop .nd-detail-placeholder[hidden]{display:none}
 html.v2.native-desktop .nd-detail-placeholder h2{font-size:20px;color:var(--text);margin:16px 0 4px}
 html.v2.native-desktop .native-detail-sheet.on{left:auto;right:32px;top:110px;bottom:32px;transform:none;width:calc((100vw - 248px - 96px)*.36);max-height:calc(100vh - 142px);min-height:300px;border-radius:16px;box-shadow:none;opacity:1;z-index:12}
 html.v2.native-desktop .native-detail-sheet .sheet-head{border-bottom:1px solid var(--line)}
 html.v2.native-desktop .native-detail-sheet .sheet-body{min-height:0;overflow:auto}
}
@media(min-width:1024px){
 html.v2.native-desktop .tabbar{margin:0;border:0;border-right:1px solid var(--line);border-radius:0}
 html.v2.native-desktop .tabbar>.tab[data-tab=home]{display:flex}
 html.v2.native-desktop #dsk-nav .tab .tabic.dskic::before,html.v2.native-desktop #dsk-nav .tab .tabic.dskic::after{display:none}
 html.v2.native-desktop #dsk-nav .tab .tabic.dskic .i,html.v2.native-desktop #home-tools:not(.v2apps) #home-menu .navcard .ticon .i,html.v2.native-desktop .v2qa .qaapps .qaic .i,html.v2.native-desktop .billhd>.pgicon .i{color:var(--ap,var(--accent-text));filter:none}
 html.v2.native-desktop .bhbtn,html.v2.native-desktop .spacepill,html.v2.native-desktop .bellbtn{background:var(--card);border:1px solid var(--line);border-radius:10px;box-shadow:none;background-image:none;backdrop-filter:none;-webkit-backdrop-filter:none}
 html.v2.native-desktop .bseg{background:var(--fill);border:0;border-radius:10px;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;padding:3px}
 html.v2.native-desktop .bseg button[aria-selected=true]{border-radius:8px;background:var(--card);box-shadow:none}
 html.v2.native-desktop #chat-convs .convrow,html.v2.native-desktop #chat-convs .thcrow{grid-template-columns:36px minmax(0,1fr) 32px;gap:10px;padding:14px 10px}
 html.v2.native-desktop #chat-convs .convgrp{border:1px solid var(--line);border-radius:12px;box-shadow:none}
 html.v2.native-desktop #home-menu>.hc-first.hc-last{border-radius:14px}
 html.v2.native-desktop #s-dinner .input,html.v2.native-desktop #s-dinner .timein{background:var(--fill);border:1px solid var(--line);box-shadow:none;border-radius:10px}
}
/* v400: Settings' list and the chosen part no longer sit side by side from 1280 px (Chris: only Chat on the right); see the v400 block at the end */
@media(min-width:1024px){
 html.v2.native-desktop .dskrow .tab{min-height:44px}
 html.v2.native-desktop #shop-list-view{display:grid;grid-template-columns:minmax(0,1fr) 280px;column-gap:28px;align-items:start}
 html.v2.native-desktop #shop-list-view[hidden]{display:none}
 html.v2.native-desktop #shop-list-view>.shopsub{grid-column:1/-1}
 html.v2.native-desktop #shop-card,html.v2.native-desktop #shop-form,html.v2.native-desktop #shop-listbar,html.v2.native-desktop #shop-delconfirm{grid-column:1}
 html.v2.native-desktop #nd-shop-got{grid-column:2;grid-row:2/span 4;padding:0 16px 16px;border:1px solid var(--line);border-radius:14px;background:var(--card);min-width:0}
 html.v2.native-desktop #shop-card{padding:4px 16px 8px;border-radius:14px}
 html.v2.native-desktop .shopentry,html.v2.native-desktop .mndock{background:var(--bg);border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;margin:16px 0 0;padding:14px 0}
 html.v2.native-desktop .shopentry .input,html.v2.native-desktop .mndock #mn-in,html.v2.native-desktop #chat-input{border:1px solid var(--line);border-radius:12px;background:var(--card);box-shadow:none}
 html.v2.native-desktop #s-vault .pad{max-width:1100px}
 html.v2.native-desktop #vt-intro,html.v2.native-desktop #vt-locked,html.v2.native-desktop #vt-unsupported{max-width:680px;margin:32px auto;padding:28px;border-radius:16px}
 html.v2.native-desktop #s-location #home-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:none}
 html.v2.native-desktop #sub-totals,html.v2.native-desktop #bill-totals{background:var(--accent-tint);border:1px solid var(--line);border-radius:12px;padding:16px;color:var(--accent-text);box-shadow:none}
}
.nd-home-search{display:none}
@media(min-width:1024px){
 html.v2.native-desktop .nd-home-search{display:flex;align-items:center;gap:12px;width:min(100%,640px);min-height:56px;padding:14px 18px;margin-top:24px;border:1px solid var(--line);border-radius:14px;background:var(--card);color:var(--muted);font:inherit;text-align:left;cursor:pointer}
 html.v2.native-desktop .nd-home-footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start;margin-top:26px}
 html.v2.native-desktop .nd-home-footer>.homefoot{margin:0}
 /* Keep the native app's coloured tool tiles; only the surrounding cards are flat. */
 html.v2.native-desktop #home-tools:not(.v2apps) #home-menu .navcard .ticon::before,html.v2.native-desktop #home-tools:not(.v2apps) #home-menu .navcard .ticon::after,html.v2.native-desktop .billhd>.pgicon::before,html.v2.native-desktop .billhd>.pgicon::after,html.v2.native-desktop .v2qa .qaapps .qaic::before,html.v2.native-desktop .v2qa .qaapps .qaic::after{display:block}
 html.v2.native-desktop #home-tools:not(.v2apps) #home-menu .navcard .ticon .i,html.v2.native-desktop .billhd>.pgicon .i,html.v2.native-desktop .v2qa .qaapps .qaic .i{color:var(--ap-sym,#fff)}
 html.v2.native-desktop #home-tools:not(.v2apps) #go-mynotes .ticon .i,html.v2.native-desktop #home-tools:not(.v2apps) #go-location .ticon .i{color:var(--ap-sym)}
 html.v2.native-desktop #home-tools:not(.v2apps) #go-postits .ticon .i{color:#805d00}
}
@media(min-width:1024px){
 html.v2.native-desktop .nd-mn-line{min-height:44px}
 html.v2.native-desktop .nd-mn-check{min-height:44px}
 html.v2.native-desktop .nd-mn-check input{position:relative;appearance:none;width:44px;height:44px;flex:none;margin:0;background:none;border:0;border-radius:10px;cursor:pointer}
 html.v2.native-desktop .nd-mn-check input::before{content:"";position:absolute;inset:10px;border:1.5px solid var(--muted);border-radius:5px}
 html.v2.native-desktop .nd-mn-check input:checked::before{background:var(--accent);border-color:var(--accent)}
 html.v2.native-desktop .nd-mn-check input:checked::after{content:"";position:absolute;left:19px;top:14px;width:6px;height:11px;border:solid var(--on-accent);border-width:0 2px 2px 0;transform:rotate(45deg)}
 html.v2.native-desktop .nd-mn-check input:focus-visible{outline:3px solid var(--accent);outline-offset:1px}
}

@media(min-width:1024px){
 html.v2.native-desktop #chat-convs .famgrp{background:var(--card);border-color:var(--line)}
 html.v2.native-desktop #chat-convs [data-conv][aria-current=true]{background:var(--accent-tint);box-shadow:inset 3px 0 var(--accent)}
}

@media(min-width:1024px){
 html.v2.native-desktop #app:not(.nochrome) .stage .screen .pad>.top{width:calc(100vw - 248px);margin-left:calc((min(var(--nd-pad-max,1160px),100vw - 248px) - (100vw - 248px))/2 - 32px);margin-right:0}
 html.v2.native-desktop .stage .top .mebtn{display:grid}
}

@media(min-width:1024px){html.v2.native-desktop #s-vault .pad{--nd-pad-max:1100px}}

@media(min-width:1280px){
 html.v2.native-desktop .native-detail-active .screen.on .nd-detail-placeholder{visibility:hidden}
 html.v2.native-desktop .native-detail-sheet.on{--nd-detail-max:1160px;right:calc(32px + max(0px,(100vw - 248px - var(--nd-detail-max))/2));width:calc(min(var(--nd-detail-max),100vw - 248px)*.36 - 8px)}
 html.v2.native-desktop .native-detail-sheet.on[data-native-screen=vault]{--nd-detail-max:1100px}
 html.v2.native-desktop .native-detail-sheet .iconbtn{box-shadow:none;background:var(--card);border:1px solid var(--line)}
}

.sayhelp{display:none}
/* v2149 (Chris, 25 Oct 2026: "the website's phone look, so it matches the app"): under 1024 px the web app draws items 1-6 the way
   Fridge Native (build 34) does: src/pages.tsx FloatingNav, src/topbar.tsx TopBar, src/Today.tsx sections + For me / Everyone,
   src/QuickAdd.tsx, src/Details.tsx (popup D). Tokens only; the computer layout (1024 px and wider) is untouched. */
@media (max-width:1023px){
  /* 1. the bottom bar: a 64 px capsule 12 px from the edges, the round + 8 px beside it; tabs grey, the chosen one in a tinted lens */
  html.v2{--navb:max(12px,calc(env(safe-area-inset-bottom) - 4px))}
  html.v2 .tabbar,html.v2.navmin .tabbar{right:calc(12px + var(--navh) + 8px);height:var(--navh);padding:0 4px;align-items:center}
  html.v2 .tab,html.v2.navmin .tab{height:calc(var(--navh) - 10px);min-height:44px;margin:0;border-radius:calc((var(--navh) - 10px) / 2);font-size:12px;color:var(--muted);font-weight:400}   /* native 11; the design system's 12 px floor */
  html.v2 .tab .tabic .i{width:22px;height:22px}
  html.v2 .tab .tabic{height:24px}
  html.v2 .tab[aria-current="page"]{background:var(--accent-tint);color:var(--accent-text)}
  html.v2 .tab[aria-current="page"] > span:last-child{color:var(--accent-text);font-weight:600}
  html.v2 .tab[aria-current="page"] .tabic .i{color:var(--accent-text)}
  html.v2 .tabbar .tbadge{background:var(--accent);color:var(--on-accent);border-radius:9px;font-size:12px}
  html.v2.navmin .tab > span:not(.tabic){position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}
  html.v2 .fab,html.v2.navmin .fab{width:var(--navh);height:var(--navh);background-image:none;background-color:var(--accent);border:0;
    box-shadow:0 4px 10px rgba(0,0,0,.2)}
  html.v2 .fab .i,html.v2.navmin .fab .i{width:28px;height:28px}
  @media (max-width:339px){html.v2{--navh:52px}html.v2 .tabbar,html.v2.navmin .tabbar{left:4px;right:calc(4px + var(--navh) + 4px);padding:0 2px}html.v2 .fab{right:4px}}   /* Large / Extra large text: the tabs stay 44 px wide */

  /* 3. the top bar of the four tab pages: the fridge's letter square + name + ⌄ (no pill) and your picture; no search, no bell
        (Home has Search everything; Today itself lists what the bell listed) */
  html.v2 :is(#s-today,#s-calendar,#s-chat,#s-home) .top .srchbtn,
  html.v2 :is(#s-today,#s-calendar,#s-chat,#s-home) .top .bell-slot{display:none}
  html.v2 :is(#s-today,#s-calendar,#s-chat,#s-home) .top .spacepill{background:none;border:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;
    padding:0 8px 0 0;gap:8px;font-size:16px;font-weight:600;color:var(--text)}
  html.v2 :is(#s-today,#s-calendar,#s-chat,#s-home) .top .spacepill .sp-badge{width:26px;height:26px;font-size:13px;border-radius:8px}
  html.v2 :is(#s-today,#s-calendar,#s-chat,#s-home) .top .spacepill .sp-chev{width:14px;height:14px;color:var(--muted)}
  html.v2 :is(#s-today,#s-calendar,#s-chat,#s-home) .top .mebtn{width:44px;height:44px;padding:5px;background:none;border:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
  html.v2 .nd-home-search{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;margin:12px 0 0;padding:12px 14px;border:1px solid var(--line);
    border-radius:16px;background:var(--card);color:var(--muted);font:inherit;font-size:17px;text-align:left;cursor:pointer}
  html.v2 .nd-home-search .i{width:20px;height:20px;color:var(--muted)}

  /* 4. For me / Everyone: a compact grey segmented control, "N items today" beside it */
  html.v2 #s-today .v2for{justify-content:flex-start;flex-wrap:wrap;gap:12px;margin:12px 0 0}
  html.v2 #s-today .v2cnt{margin-left:0;font-size:15px}
  html.v2 #s-today .v2for .seg{padding:4px;border:0;border-radius:12px;background:var(--fill);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
  html.v2 #s-today .v2for .seg button{min-height:44px;padding:0 16px;border:0;border-radius:8px;color:var(--muted);background:none;box-shadow:none;font-size:15px;font-weight:600}
  html.v2 #s-today .v2for .seg button[aria-pressed="true"]{background:var(--card);color:var(--text);box-shadow:0 1px 2px rgba(0,0,0,.08)}

  /* 2. Today's sections: one rounded box each, a 48 px tinted title bar with "N items" and the fold arrow; Overdue pale red */
  html.v2 #today-body>.native-section{margin:16px 0 0;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--card)}
  html.v2 #today-body>.native-section:first-child{margin-top:12px}
  html.v2 #today-body>.native-section.od{border-color:color-mix(in srgb,var(--danger) 45%,var(--line))}
  html.v2 .native-section>h2{margin:0;font-size:16px}
  html.v2 .native-section-bar{display:flex;align-items:center;gap:8px;width:100%;min-height:48px;padding:10px 16px;border:0;background:var(--accent-tint);color:var(--text);
    font:inherit;font-size:16px;text-align:left;cursor:pointer}
  html.v2 .native-section-title{flex:1;min-width:0;font-weight:600;overflow-wrap:anywhere}
  html.v2 .native-section-count{color:var(--muted);font-size:13px;font-weight:400;white-space:nowrap}
  html.v2 .native-section-chevron{width:18px;height:18px;color:var(--muted);flex:none}
  html.v2 .native-section-bar[aria-expanded="false"] .native-section-chevron{transform:rotate(-90deg)}
  html.v2 .native-section.od .native-section-bar{background:var(--danger-tint);color:var(--danger)}
  html.v2 .native-section.od .native-section-count,html.v2 .native-section.od .native-section-chevron{color:var(--danger)}
  html.v2 .native-section .group.tgroup{margin:0;border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:none;background:var(--card);-webkit-backdrop-filter:none;backdrop-filter:none}
  html.v2 .native-section.od .group.tgroup{border-top-color:color-mix(in srgb,var(--danger) 45%,var(--line))}
  html.v2 #s-today .native-section-bar:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
  html.v2 .native-section .tmorebar{border-top:1px solid var(--line)}

  /* 5. the + sheet: "Add something" as the big heading, the tinted typing box (16 px corners, 96 px tall), one quiet grey link */
  html.v2 #sheet-say .addhead h2{text-align:left;font-size:26px;font-weight:700;letter-spacing:-.01em}
  html.v2 #sheet-say .addhead [data-close]{order:2}
  html.v2 #sheet-say .sayhelp{display:block;margin:4px 4px 12px;color:var(--muted);font-size:15px;line-height:1.4}
  html.v2 #say-micw:not([hidden]) ~ .sayhelp,html.v2 #sheet-say:is(.qacard,.qbreview,.qbpaging,.qapicking) .sayhelp{display:none}
  html.v2 #sheet-say .quickadd{align-items:flex-start;min-height:96px;padding:12px 14px;border:1.5px solid var(--accent);border-radius:16px;background:var(--accent-tint);
    box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
  html.v2 #sheet-say .quickadd .qainput{min-height:44px;font-size:18px;background:none}
  html.v2 #sheet-say .saymoreb{display:inline-flex;width:auto;min-height:44px;margin:8px 0 0;padding:0 4px;border:0;border-radius:12px;background:none;box-shadow:none;
    -webkit-backdrop-filter:none;backdrop-filter:none;color:var(--muted);font-size:15px;font-weight:600}

  /* 6. the reminder popup (D): the kind and the words in a tinted box (pale red when overdue), Mark done + Update with 12 px corners */
  html.v2 #sheet-act .acthead{margin-bottom:4px}
  html.v2 #sheet-act .rdhead.rdid{margin-top:44px;padding:16px;border-radius:16px;background:var(--accent-tint)}   /* under the ••• and Close row, like Details' top bar */
  html.v2 #sheet-act .rdid .rdtop{padding-left:0}
  html.v2 #sheet-act .rdhead.rdid:has(.rdbadge.od){background:var(--danger-tint)}
  html.v2 #sheet-act .rdid .rdbadge.od{color:var(--danger)}
  html.v2 #sheet-act .rdid .rdbadge{padding:0;background:none;color:var(--accent-text);font-size:13px;font-weight:600}
  html.v2 #sheet-act .rdid .rdttl{font-size:22px;line-height:1.32;font-weight:700}
  html.v2 #sheet-act .rdpair .btn{min-height:50px;padding:0 12px;white-space:nowrap;border-radius:12px;background-image:none;box-shadow:none}
  html.v2 #sheet-act .rdpair .btn.filled{flex:1.4;background:var(--accent);color:var(--on-accent);border:0}
  html.v2 #sheet-act .rdpair .btn.rdupd{flex:1;border:2px solid var(--line);background:none}
  html.v2 #sheet-act .rdpair .btn.rdupd.on{border-color:var(--accent);color:var(--accent-text);background:var(--card)}
  html.v2 #sheet-act .rdsnz .snzb{min-height:44px;border-radius:999px}
}
/* v2150 (Chris, 25 Oct 2026: "sidebar like the app, one clean top bar"): the computer layout follows Fridge Native's wide side column
   (src/SideApps.tsx): your picture + the fridge switcher at the top (the only switcher), the apps under their four categories with the
   coloured square icons, no account footer; the pages' top bars keep only a Back button where a page needs one. */
@media (min-width:1024px){
  html.v2.native-desktop .dskbrand,html.v2.native-desktop .dskfoot{display:none}
  html.v2.native-desktop .nd-top{order:0;display:flex;align-items:center;gap:4px;width:100%;min-height:52px;margin:4px 0 72px}
  html.v2.native-desktop .nd-top .nd-me{flex:none;width:44px;height:44px;padding:4px;border:0;border-radius:50%;background:none;box-shadow:none;cursor:pointer}
  html.v2.native-desktop .nd-top .nd-household{flex:1;min-width:0;margin:0;border:0;background:none;box-shadow:none;font-size:16px;font-weight:600;color:var(--text)}
  html.v2.native-desktop .nd-top .nd-household .sp-badge{width:26px;height:26px;border-radius:8px;background:var(--accent);color:var(--on-accent);font-size:13px}
  html.v2.native-desktop .nd-top .nd-household .i{color:var(--muted)}
  html.v2.native-desktop .fab{top:80px}
  html.v2.native-desktop #dsk-nav .ndcat{margin:14px 12px 4px;font-size:13px;font-weight:600;color:var(--muted)}
  html.v2.native-desktop #dsk-nav .ndcat:first-child{margin-top:2px}
  html.v2.native-desktop #dsk-nav .tab{min-height:44px;gap:12px}
  html.v2.native-desktop #dsk-nav .tab .tabic.dskic{flex:none;width:28px;height:28px;border-radius:8px;display:grid;place-items:center;
    background:linear-gradient(to bottom,var(--ap-hi,var(--ap)),var(--ap-lo,var(--ap)))!important;box-shadow:none}
  html.v2.native-desktop #dsk-nav .tab .tabic.dskic .i{width:17px;height:17px;color:var(--ap-sym,#fff);filter:none}
  /* one clean top bar: no second switcher, no search (the sidebar's Search, Home's Search everything), no bell (Today lists it), no picture
     (the sidebar has it); a bar with nothing left (no Back) goes away */
  html.v2.native-desktop .screen .top .spacepill,html.v2.native-desktop .screen .top .srchbtn,
  html.v2.native-desktop .screen .top .bell-slot,html.v2.native-desktop .screen .top .mebtn{display:none}
  html.v2.native-desktop .screen .top:not(:has(.backbtn:not(.subtop):not([hidden]),.topr > button:not(.mebtn):not(.srchbtn):not([hidden]))){display:none}
  html.v2.native-desktop #s-settings.setopen .top{display:flex}
}
.medcdoses{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.medcdose{padding:3px 8px;border-radius:999px;background:var(--fill);color:var(--muted);font-size:13px;font-weight:600}
.medcdose.ok{background:var(--ok-tint);color:var(--ok)}
.medcdose.bad{color:var(--danger)}
.medcedit{min-height:44px;margin-right:8px;color:var(--accent-text);font-weight:600}

/* Pets on the website (v527, Chris chose A of docs/mockups/web-pets/, 22 Nov 2026): a card per pet with today's care, a pet's page like a car's */
.petcard{background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden;margin:0 0 12px}
.pethead{display:flex;align-items:center;gap:12px;width:100%;min-height:68px;padding:12px 16px;text-align:left;background:none;border:0;color:inherit;font:inherit}
.pethead:active{background:var(--fill)}
.petav{position:relative;flex:none;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-size:24px;line-height:1;overflow:hidden;background:var(--fill)}
.petav.big{width:60px;height:60px;font-size:32px}
.petav img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.pc-amber{background:#F8E9D2}.pc-violet{background:#E9E6F7}.pc-teal{background:#DCEFEC}.pc-pink{background:#F9E1EB}.pc-blue{background:#E0ECF8}.pc-green{background:#E1F0E2}.pc-red{background:#FBE3E3}.pc-slate{background:#E6EBEE}
:root[data-theme="dark"] .petav{background:#3A3F44}
@media (prefers-color-scheme:dark){:root[data-theme="system"] .petav{background:#3A3F44}}
.petcares{border-top:1px solid var(--line)}
.group.petcares{border-top:1px solid var(--line)}
.petcare{display:flex;align-items:center;gap:12px;min-height:60px;padding:8px 12px 8px 16px}
.petcare + .petcare{border-top:1px solid var(--line)}
.petcb{flex:1;min-width:0;display:block}
.petct{display:block;font-weight:600;font-size:16px;overflow-wrap:anywhere}
.petcm{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;font-size:14px;color:var(--muted);margin-top:2px}
.petcm .blate{color:var(--danger);font-weight:600}
.petcare.done .petct{color:var(--muted);font-weight:500}
.petck.on{background:var(--ok-tint);border-color:var(--ok);color:var(--ok);opacity:1}
.petck:disabled{cursor:default}
.petaddcare{display:flex;width:100%;min-height:48px;justify-content:flex-start;padding:0 16px;border-top:1px solid var(--line);border-radius:0}
.petnext{margin:0;padding:10px 16px 12px}
.petheadrow{display:flex;align-items:center;gap:14px}
.petnote{margin:10px 0 0;color:var(--muted);font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere}
.petcarebtns{margin:4px 0 0}
.pethn{display:block;flex-basis:100%;color:var(--muted);font-size:14px;overflow-wrap:anywhere}
.petoffer{background:var(--accent-tint);border-radius:16px;padding:14px 16px;margin-top:12px}
.petot{font-weight:700;font-size:16px}
.petos{font-size:14px;color:var(--muted);margin:2px 0 10px}
#petf-err,#petc-err,#petp-err{margin:0 0 10px}
#petf-body .carf-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#petf-body .carf-two .field{min-width:0;margin-top:8px}
@media (max-width:359px){#petf-body .carf-two{grid-template-columns:1fr}}

/* Cars, step 1 (095, Chris chose A and 1 of docs/mockups/cars-app/, 21 Nov 2026): a card per car, a car's page with its papers */
.carcard{display:block;width:100%;padding:0;margin:0 0 12px;text-align:left;background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden;color:inherit;font:inherit}
.carcard:active{background:var(--fill)}
.carphoto{display:block;width:100%;height:150px;object-fit:cover;background:var(--fill)}
.carbody{display:block;padding:12px 16px 14px}
.carl1{display:flex;align-items:center;gap:12px}
.cart{flex:1;min-width:0;display:block}
.carname{display:block;font-size:18px;font-weight:700;overflow-wrap:anywhere}
.carmeta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:4px;font-size:14px;color:var(--muted)}
.carplate{border:1.5px solid var(--line);border-radius:6px;padding:0 6px;font-weight:600;font-size:13px;letter-spacing:.6px;color:var(--text);background:var(--card)}
.carwho{display:inline-flex;align-items:center;gap:6px}
.carnext{display:block;margin-top:10px;padding-top:10px;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}
.carhead{background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden;margin-bottom:4px}
.carh1{font-size:24px;line-height:1.2;margin:0;overflow-wrap:anywhere}
.caredit{min-height:44px;margin:6px 0 -8px -12px}
.carpapers{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.carpaper{display:flex;flex-direction:column;gap:2px;min-width:0;padding:10px;text-align:left;background:var(--card);border:1px solid var(--line);border-radius:16px;color:inherit;font:inherit}
.carpaper:active{background:var(--fill)}
.carpdoc{display:flex;align-items:center;justify-content:center;gap:6px;height:96px;margin-bottom:6px;border-radius:10px;background:var(--fill);overflow:hidden}
.carpdoc img{width:100%;height:100%;object-fit:cover}
.carpadd{border:1.5px dashed var(--line);color:var(--accent-text);font-weight:600;font-size:14px}
.carpn{font-weight:600;font-size:15px}
.carpm{font-size:14px;color:var(--muted)}
.carnone{margin:4px 4px 0}
.carnext .bsoon,.carpm .bsoon{color:var(--soon);font-weight:600}
.carnext .blate,.carpm .blate{color:var(--danger);font-weight:600}
.carhint{margin:12px 4px 0;line-height:1.5}
.cardate{display:none;margin-top:12px}
.carp-ideas{margin-top:8px}
.carsvth{pointer-events:none}
@media (min-width:1024px){.cardate{display:inline-flex}}   /* a computer: the page's Add is small, in the typing bar */
#carf-body .carf-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#carf-body .carf-two .field{min-width:0}
.carf-prev{max-height:220px;object-fit:contain;margin-bottom:8px}
.carf-del{min-height:44px;margin-top:20px}
#carf-err,#carp-err{margin:0 0 10px}
@media (max-width:359px){.carpapers,#carf-body .carf-two{grid-template-columns:1fr}}

/* Trips (076, Chris picked docs/mockups/trips/ on 26 Oct 2026, without attachments) */
.trphint{margin:20px 4px 8px;line-height:1.5}
.trpaway{margin:0 0 12px}
.trpaway .trow .trt{white-space:normal}
.trd-place{font-size:22px;font-weight:700;margin:4px 0 8px;overflow-wrap:anywhere}
.trd-line{margin:6px 0;line-height:1.45}
.trd-note{margin:12px 0;padding:12px;border-radius:12px;background:var(--fill);white-space:pre-wrap;overflow-wrap:anywhere}
.trd-ask{margin:0 0 10px;font-weight:600}
.trd-foot{display:flex;flex-direction:column;gap:8px}
#trf-body .field{margin-bottom:16px}
#trf-body .trf-dates{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#trf-body .trf-dates .field{margin-bottom:4px;min-width:0}
#trf-body .trf-time{display:flex;align-items:center;gap:6px;margin-top:6px}
#trf-body .trf-time .input{flex:1;min-width:0}
#trf-body .trf-addt{min-height:44px;margin-top:4px}
#trf-err{margin:0 0 10px}
@media (max-width:359px){#trf-body .trf-dates{grid-template-columns:1fr}}

/* ===== v364 (Chris chose D of docs/mockups/accordion-close/, 28 Oct 2026, "do D everywhere"): an OPEN accordion row is obvious and closable =====
   One rule set for every inline expand/collapse row: the open bar turns solid accent (on-accent text, the arrow points UP), the choices below sit on
   an accent-tint panel with white chips, tapping the bar closes it. Closed rows stay as they were. Not Today's section bars (.tfb / .native-section-bar)
   and not the Home rows. Tokens only, so every tone, dark mode and 130% text follow. */
:root{--acc-open-bg:var(--accent);--acc-open-fg:var(--on-accent)}
/* the bar */
.rdsrow[aria-expanded="true"],.rdnrow[aria-expanded="true"],#add-form .frow.open,.frow.fmore[aria-expanded="true"],.hqb[aria-expanded="true"],
html:not(.native-desktop) .sethb[aria-expanded="true"]{background:var(--acc-open-bg);color:var(--acc-open-fg)}
.rdsrow[aria-expanded="true"] :is(.rdsl,.rdsv,.rdwt,.rdwt b,.rdwt span,.i),.rdnrow[aria-expanded="true"] :is(.rdl,.rdl small,.i),
#add-form .frow.open :is(.frl,.frm,.frs,.frv,.trc,.i),.frow.fmore[aria-expanded="true"] :is(.frl,.frm,.frs,.frv,.trc,.i),
.hqb[aria-expanded="true"] :is(.hqt,.hqchev,.i),
html:not(.native-desktop) .sethb[aria-expanded="true"] :is(.nm,.sum,.chev,.i){color:var(--acc-open-fg)}
.rdsrow[aria-expanded="true"].od{color:var(--acc-open-fg)}
.rdsrow.open[aria-expanded="true"]{background:var(--acc-open-bg)}
#add-form .frow.open .trc{transform:rotate(-90deg)}   /* the right arrow turns UP (it turned down before) */
html:not(.native-desktop) .sethb[aria-expanded="true"] .chev{transform:rotate(-90deg)}
html:not(.native-desktop) .sethb[aria-expanded="true"] .ticon{background:var(--acc-open-fg);color:var(--accent)}
html:not(.native-desktop) .sethb[aria-expanded="true"] .ticon .i{color:var(--accent)}
#add-form .fmore[aria-expanded="true"] :is(.frl,.frm,.frs,.frv,.trc,.i){color:var(--acc-open-fg)}   /* #add-form .fmore .frl has its own accent colour */
.sethb:active[aria-expanded="true"],.rdsrow[aria-expanded="true"]:active,.hqb[aria-expanded="true"]:active{filter:brightness(.94)}
/* the panel under an open bar */
.rdsrow[aria-expanded="true"] + :is(.rdspanel,.rdpick),.hqi.open .hqa,.qaline .qapick{background:var(--accent-tint)}
.hqi.open .hqa{padding-top:12px}
.rdspanel .chip:not(.on):not([aria-checked="true"]):not([aria-pressed="true"]),#add-pick.inline .chip:not(.on):not([aria-checked="true"]):not([aria-pressed="true"]),
.qaline .qapick .chip:not(.on):not([aria-checked="true"]):not([aria-pressed="true"]){background:var(--card);border-color:var(--line)}
/* the day / time buttons and the Snooze pick button: solid while their picker is open */
html.v2 .ibtn.on[aria-expanded="true"],html.v2 .sheet .ibtn.on[aria-expanded="true"],html.v2 .sheet .rdwb.on[aria-expanded="true"],.rdwb.on[aria-expanded="true"],.ibtn.on[aria-expanded="true"]{background:var(--acc-open-bg);border-color:var(--acc-open-bg);color:var(--acc-open-fg);box-shadow:none}
html.v2 .sheet .chip.snzb[aria-expanded="true"]{background:var(--acc-open-bg) !important;border-color:var(--acc-open-bg) !important;color:var(--acc-open-fg) !important}
/* the Add sheet's pills (Repeats, For, When ...) */
.qaline .qapill[aria-expanded="true"]{background:var(--acc-open-bg);border-color:var(--acc-open-bg);color:var(--acc-open-fg);box-shadow:none}
.qaline .qapill[aria-expanded="true"] :is(.i,.qachev,.qapl){color:var(--acc-open-fg)}
@media (prefers-reduced-motion:reduce){.sethb .chev,#add-form .frow .trc{transition:none}}

/* v364 fix (Chris on TEST 2160, medicine Note row): the open Note bar is square inside its box (the box's own corners clip it), not a pill */
.rdnbox{overflow:hidden}
.rdnrow[aria-expanded="true"]{border-radius:0}

/* v366 (Chris on the native app: the name box is the most important part of the + sheet): a light outline in the theme colour, soft while resting, full accent when focused. Tokens only. */
html.v2 .sheet #sheet-say .quickadd,html.v2 #sheet-say .quickadd{border:2.5px solid color-mix(in srgb,var(--accent) 45%,transparent)}
html.v2 .sheet #sheet-say .quickadd:focus-within,html.v2 #sheet-say .quickadd:focus-within{border-color:var(--accent)}
html.v2 .addcard #f-text{box-shadow:inset 0 0 0 2.5px color-mix(in srgb,var(--accent) 45%,transparent);border-radius:16px 16px 0 0}
html.v2 .addcard #f-text:focus{outline:none;box-shadow:inset 0 0 0 2.5px var(--accent)}
/* v366 (Chris: the placeholder looked like normal text): the name boxes' placeholder is a clearly lighter grey than typed text and the row labels (muted toward the card; light and dark follow the tokens, ~4:1 or better) */
html.v2 .addcard #f-text::placeholder,html.v2 #sheet-say .quickadd .qainput::placeholder,html.v2 #sheet-say #qa-text::placeholder{color:color-mix(in srgb,var(--muted) 78%,var(--card));opacity:1}
/* v366 (Chris chose A of docs/mockups/add-place-short/): At a place = Place row, a When switch row (Leaves | Gets there), Repeat, one grey line */
.frows .irow.wev{gap:10px}
.irow.wev .seg{flex:1;min-width:0}
.wplnote{margin:8px 4px 0;font-size:14px;color:var(--muted)}
/* v: Snooze is one accordion row (Chris chose A of docs/mockups/snooze-menu/, 28 Oct 2026) */
.rdsnzbar.on{background:var(--accent);color:var(--on-accent)}
.rdsnzbar.on .rdl,.rdsnzbar.on svg{color:var(--on-accent)}
.rdsnz .rdsnzc.snzc{margin:0 !important;padding:12px;background:var(--accent-tint)}
.rdsnz .rdsnzc[hidden]{display:none !important}
.rdsnzc .chip.snzb{background:var(--card) !important}

/* v369 (Chris chose B of docs/mockups/value-buttons/, 28 Oct 2026): the day and time buttons (popup When row, the Add form, Calendar, Snooze)
   are a pale tint of the person's colour instead of grey, the day turns pale red when the reminder is late; the popup's ✕ is plain, no circle */
.ibtn,.rdwb,html.v2 .sheet .ibtn,html.v2 .sheet .rdwb{background:var(--accent-tint);border-color:transparent;color:var(--accent-text)}
.ibtn.on,.rdwb.on,html.v2 .sheet .ibtn.on,html.v2 .sheet .rdwb.on{border-color:var(--accent)}
.ibtn.ph,html.v2 .sheet .ibtn.ph{color:var(--accent-text)}
.ibtn.ibx,html.v2 .sheet .ibtn.ibx{background:none;color:var(--muted)}
.rdwrow.od #act-wd:not(.on),html.v2 .sheet .rdwrow.od #act-wd:not(.on){background:var(--danger-tint);color:var(--danger)}
html.v2 #sheet-act .v2close{background:none;border:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--accent-text);width:auto;min-width:44px;padding:0 8px;border-radius:12px;font:inherit;font-size:17px;font-weight:600}   /* Close as a word (Chris, on TEST 2168: 'here needs the close button') */
html.v2 #sheet-act .v2close:focus-visible{outline:3px solid var(--accent);outline-offset:1px}

/* v374 (Chris chose A of docs/mockups/calendar-view-switch/, 30 Oct 2026: "I don't like the grey background of the day week month and it
   should be front and center"): every switch between views (Day / Week / Month, For me / Everyone, Bills / Receipts / Warranties, the
   popups' and Settings' choices) is white with a thin border; the chosen one pale in the fridge's colour (--accent-tint) with --accent-text words (v425, Chris chose D of docs/mockups/today-for-switch/softer.html, 10 Nov 2026: solid was "very harsh"); no grey track, no glass (`:not(.x374)` only matches the older rules' `:not(.txtseg)` weight). On a
   computer the Calendar's sits in the middle, its own row between the people and the list (#cal-segrow), the day list's second + Add is gone. */
html.v2 .seg:not(.x374),html.v2 .bseg,html.v2 .sheet .seg:not(.x374),html.v2 .sheet .bseg,html.v2 #s-calendar .seg:not(.x374),html.v2 #s-calendar .cal-ctl .seg:not(.x374),html.v2 .v2for .seg:not(.x374),html.v2 #s-today .v2for .seg:not(.x374),
html.v2.native-desktop .seg:not(.x374),html.v2.native-desktop .bseg{background:var(--card);border:1.5px solid var(--line);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
html.v2 #s-calendar .cal-ctl .seg::before{content:none}
html.v2 .seg:not(.x374) .chip[aria-checked="true"],html.v2 .seg:not(.x374) .chip[aria-pressed="true"],html.v2 .seg:not(.x374) > button[aria-pressed="true"],html.v2 .bseg button.on,html.v2 .bseg button[aria-selected=true],
html.v2 .sheet .seg:not(.x374) .chip[aria-checked="true"],html.v2 .sheet .seg:not(.x374) .chip[aria-pressed="true"],html.v2 .sheet .seg:not(.x374) > button[aria-pressed="true"],html.v2 .sheet .bseg button.on,
html.v2 #s-calendar .seg:not(.x374) .chip[aria-checked="true"],html.v2 #s-calendar .cal-ctl .seg:not(.x374) .chip[aria-checked="true"],html.v2 .v2for .seg:not(.x374) button[aria-pressed="true"],html.v2 #s-today .v2for .seg:not(.x374) button[aria-pressed="true"],
html.v2.native-desktop .seg:not(.x374) .chip[aria-checked=true],html.v2.native-desktop .seg:not(.x374) button[aria-pressed=true],html.v2.native-desktop .bseg button[aria-selected=true]{background:var(--accent-tint);color:var(--accent-text);box-shadow:none}
html.v2 #s-calendar .seg:not(.x374) .chip[aria-checked="true"]::before,html.v2 #s-calendar .cal-ctl .seg:not(.x374) .chip[aria-checked="true"]::before{content:none}
html.v2[data-theme="dark"] .v2for .seg:not(.x374) button[aria-pressed="true"],html.v2[data-theme="dark"] .seg:not(.x374) .chip[aria-checked="true"],html.v2[data-theme="dark"] .seg:not(.x374) .chip[aria-pressed="true"],
html.v2[data-theme="dark"] .seg:not(.x374) > button[aria-pressed="true"],html.v2[data-theme="dark"] .bseg button.on{background:var(--accent-tint);color:var(--accent-text)}   /* dark: was the glass lens */
@media (prefers-color-scheme:dark){html.v2:not([data-theme="light"]) .v2for .seg:not(.x374) button[aria-pressed="true"],html.v2:not([data-theme="light"]) .seg:not(.x374) .chip[aria-checked="true"],
  html.v2:not([data-theme="light"]) .seg:not(.x374) .chip[aria-pressed="true"],html.v2:not([data-theme="light"]) .seg:not(.x374) > button[aria-pressed="true"],html.v2:not([data-theme="light"]) .bseg button.on{background:var(--accent-tint);color:var(--accent-text)}}
#cal-segrow{display:none}
@media (min-width:1024px){
  html.v2 #s-calendar #cal-segrow{display:flex;justify-content:center;margin:4px 0 16px}
  html.v2 #s-calendar #cal-segrow .seg{flex:none;gap:4px;padding:4px;border-radius:14px}
  html.v2 #s-calendar #cal-segrow .seg .chip{flex:none;min-width:112px;min-height:44px;height:44px;padding:0 18px;border:0;border-radius:10px;font-size:16px;font-weight:600}
  html.v2 #s-calendar .calday-top{display:none}
  html.v2 #s-calendar .cal-hd #cal-hadd{margin-left:auto}   /* Add stays at the right end of the title row */
}

/* ===== v375 (Chris chose B of docs/mockups/month-full-width/, 30 Oct 2026): on a computer the month is full width with thin lines
   between the days and up to 3 short titles per day ("badge 15:00 Gym", "+N more"); the chosen day's list sits below it (a click
   glides down to it); only the top-right Add. The Week grid's blocks lose the coloured line on the left and get the person's letter badge. ===== */
@media (min-width:1024px){
  #s-calendar #cal-v-month:not([hidden]){display:block}
  #s-calendar #cal-v-month .cal-card{padding:6px 14px 12px}
  #s-calendar .cal-grid{gap:0;border-top:1px solid var(--line);border-left:1px solid var(--line);border-radius:10px;overflow:hidden}
  #s-calendar #cal-grid>*{border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}   /* v377: two ids, so the older `#s-calendar .cal-grid .day{border:0}` can't hide the lines */
  #s-calendar .cal-grid .dow{padding:6px 0;background:var(--bg);font-size:13px}
  #s-calendar .cal-grid .blank{background:color-mix(in srgb,var(--bg) 60%,var(--card))}
  #s-calendar .cal-grid .day{min-height:96px;height:auto;padding:6px 7px;gap:3px;border-radius:0;align-items:stretch;justify-content:flex-start;text-align:left;margin:0}
  #s-calendar .cal-grid .day .n{align-self:flex-start;font-size:14px}
  #s-calendar .cal-grid .day.today{box-shadow:none}
  #s-calendar .cal-grid .day.sel{background:var(--accent-tint);box-shadow:inset 0 0 0 2px var(--accent)}
  #s-calendar .mlines{display:flex;flex-direction:column;gap:2px;min-width:0}
  #s-calendar .ml{display:flex;align-items:center;gap:5px;min-width:0;font-size:12.5px;line-height:18px;color:var(--text);font-weight:500}
  #s-calendar .ml .mk{width:18px;height:18px;font-size:12px}
  #s-calendar .ml .mk.bar{border-radius:4px}
  #s-calendar .mlt{flex:none;color:var(--muted);font-variant-numeric:tabular-nums}
  #s-calendar .mlx{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  #s-calendar .ml.done .mlx{text-decoration:line-through;color:var(--muted)}
  #s-calendar .ml.od .mlt{color:var(--danger)}
  #s-calendar .day.past .ml{opacity:.75}
  #s-calendar .mlmore{font-size:12px;font-weight:600;color:var(--accent-text);padding-left:23px}
  #s-calendar #cal-day{scroll-margin-bottom:16px}
  #s-calendar #cal-day .dayhead{margin:20px 4px 8px}
  #s-calendar #cal-day .dayhead h2{font-size:19px;color:var(--text);flex:0 1 auto}
  #s-calendar #cal-day .dayhead .caladd{display:none}
  /* Week grid: no line on the left, a letter badge before the title */
  #s-calendar .wg-ev,#s-calendar .wg-chip{box-shadow:none;padding-left:6px}
  #s-calendar .wg-chip{gap:6px}
  #s-calendar .wg-tr{display:flex;align-items:center;gap:5px;min-width:0}
  #s-calendar .wg-ev .mk,#s-calendar .wg-chip .mk{width:18px;height:18px;font-size:12px;flex:none}
  #s-calendar .wg-ev .mk.bar,#s-calendar .wg-chip .mk.bar{border-radius:4px}
}

/* ===== v376 (Chris chose docs/mockups/week-drag/, 30 Oct 2026): drag a block in the computer's Week grid to move it ===== */
@media (min-width:1024px){
  #s-calendar .wg-ev.wg-mv{cursor:grab}
  #s-calendar .wg-ev.wg-from{opacity:.35;outline:2px dashed var(--evc);outline-offset:-2px;filter:none}
  #s-calendar .wg-ev.wg-lift{z-index:3;box-shadow:0 10px 24px rgba(0,0,0,.22);transform:rotate(-1deg) scale(1.03);cursor:grabbing;pointer-events:none}
  #s-calendar .wg-col.wg-drop{background-color:color-mix(in srgb,var(--accent-tint) 60%,transparent)}
  #s-calendar .wg-pill{position:absolute;left:4px;z-index:4;pointer-events:none;background:var(--text);color:var(--bg);font-size:12px;font-weight:600;border-radius:8px;padding:3px 8px;white-space:nowrap}
  #s-calendar .wg-pill.no{background:var(--danger);color:#fff}
}
#sheet-wgmove .wgmp{margin:0 0 16px;color:var(--muted)}
#sheet-wgmove .btn{width:100%;margin-top:8px}

/* ===== v378 (Chris chose A of docs/mockups/editable-title/, 30 Oct 2026): a title you can change has a pencil after it (no dashed
   line), a soft tint under the mouse, and a clear typing box when clicked ("Enter when done · Esc to undo"); the ••• sits beside Close
   on the right, so nothing touches the kind or the title. ===== */
.rdttl>.rdttlb{text-decoration:none;border-radius:10px;padding:2px 6px;margin-left:-6px;width:calc(100% + 12px)}
.rdpen{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--card);border:1px solid var(--line);color:var(--accent-text);vertical-align:-5px;margin-left:8px}
.rdpen .i{width:15px;height:15px}
@media (hover:hover){.rdttl>.rdttlb:hover{background:color-mix(in srgb,var(--accent) 10%,transparent)}}
#sheet-act textarea.rdtitle.rdtitled{border:2px solid var(--accent);border-radius:12px;padding:8px 12px;background:var(--card);color:var(--text)}
.rdthint{display:none;margin:6px 2px 0;font-size:13px;color:var(--muted)}
@media (hover:hover){.rdthint{display:block}}
html.v2 #sheet-act .rddots{left:auto;right:84px}
html.v2 #sheet-act .rddmenu{left:auto;right:12px}
html.v2 #sheet-act .rdhead.rdid .rdtop{padding-left:0;padding-right:150px}   /* the kind starts at the left edge; the ••• and Close sit to its right */
.rdttlb.ndtextb{text-decoration:none}
.ndtextb .rdpen{margin-top:6px}
/* v379 My notes on a computer: a row = the heading + the next two lines + when (like the phone app), not the whole note */
html.v2.native-desktop .nd-mn-list{display:block;gap:0;background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden}
html.v2.native-desktop .nd-mn-row{display:flex;align-items:center;gap:12px;width:100%;padding:14px 16px;border:0;border-top:1px solid var(--line);background:none;color:var(--text);font:inherit;text-align:left;cursor:pointer}
html.v2.native-desktop .nd-mn-row:first-child{border-top:0}
html.v2.native-desktop .nd-mn-row:hover,html.v2.native-desktop .nd-mn-row.on{background:var(--fill)}
html.v2.native-desktop .nd-mn-row.pending{opacity:.7}
html.v2.native-desktop .nd-mn-row>.ic{flex:none;color:var(--muted)}
html.v2.native-desktop .nd-mn-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
html.v2.native-desktop .nd-mn-head{font-size:17px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.v2.native-desktop .nd-mn-prev{font-size:15px;line-height:20px;color:var(--muted);white-space:pre-line;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html.v2.native-desktop .nd-mn-txt .nd-mn-meta{display:block;margin:0;font-size:13px;color:var(--muted)}
/* v380 My notes on a computer: one column of rows in the middle (Chris chose A of docs/mockups/notes-popup/); a note opens as a popup */
html.v2.native-desktop #s-mynotes .pad{max-width:720px;margin-left:auto;margin-right:auto}
/* v381 Add buttons (Chris chose A of docs/mockups/notes-add-pill/, then "lets do it your way"): the button on an empty page shows its +
   (it was drawn in the accent on the accent); a phone has one big Add at the bottom of each page, a computer the + Add pill at the top */
html.v2 .emptyb .emptybtn .i{color:var(--on-accent);stroke:var(--on-accent);margin:0}   /* and centred: the empty page's 8px icon gap pushed it up (Chris's Someday screenshot) */
.pgaddbar{display:none}
@media (max-width:1023px){
  .pgaddbar{display:block}
  html.v2 .pghadd{display:none}
  html.v2 .pad:has(.pgaddbar){padding-bottom:calc(var(--navh) + var(--navb) + 88px)}
  html.v2 .screen.on .pgaddbar{position:fixed;left:16px;right:16px;margin:0}
  html.v2 .typing .screen.on .pgaddbar,html.v2 .nochrome .screen.on .pgaddbar{display:none}
}
/* v382 (Chris chose A of docs/mockups/desktop-add-button/: "the add button on the top right is hard to find"): on a computer too,
   Add is a green pill floating at the bottom, in the middle of the page (between the sidebar and a docked Chat); no + Add at the top */
html.v2 .pghadd{display:none}
@media (min-width:1024px){
  .pgaddbar{display:block}
  html.v2 .screen.on .mnaddbar{position:fixed;visibility:hidden}   /* v398: the white bar shows its words and clicks it (dkSync) */
}
.pad:has(.emptyb)>.mnaddbar,.pad:has(.notes-empty)>.mnaddbar{display:none}
/* v384: the Calendar's Add is the bottom button (it says the chosen day), so the day list's own + Add goes */
html.v2 #s-calendar #cal-day .caladd{display:none}
/* v398 (Chris chose B of docs/mockups/desktop-ask-bar/, 7 Nov 2026): on a computer one white bar at the bottom of the page: mic, typing box, the page's Add.
   What it understood and the answers rise above it. So Ask's own box at the top of Today goes on a computer. */
.dkbar{display:none}
@media (min-width:1024px){
  html.v2 #ask-form,html.v2 #ask-answer{display:none!important}
  html.v2 #app.dkon{--dkww:min(720px,calc(100vw - var(--sbw) - var(--dkw) - 64px))}
  html.v2 #app.dkon .dkbar{display:flex;flex-direction:column;gap:8px;position:fixed;bottom:16px;left:calc((var(--sbw) + 100vw - var(--dkw) - var(--dkww)) / 2);width:var(--dkww);z-index:9}
  html.v2 #app.dkon .screen.on .pad{padding-bottom:104px}
  .dkline{display:flex;align-items:center;gap:8px;min-height:56px;padding:5px;background:var(--card);border:1px solid var(--line);border-radius:999px;box-shadow:0 8px 22px rgba(0,0,0,.22)}
  .dkline:focus-within{border-color:var(--accent)}
  #dk-bar .quickadd{display:flex!important;flex:1;min-width:0;min-height:44px;margin:0;padding:0 8px 0 0;gap:8px;background:none;border:0;border-radius:0;box-shadow:none}
  #dk-bar .quickadd .qainput{min-height:44px;font-size:16px}
  #dk-bar .quickadd .qamic{order:-1;width:44px;height:44px;margin:0}
  #dk-bar .quickadd .qamic::after{inset:0}
  #dk-bar .quickadd .qamic .spk{display:none}
  #dk-bar .quickadd .qamic.on{background:none;color:var(--card);animation:none}
  #dk-bar .quickadd .qamic.on::after{background:var(--danger);border-radius:50%;box-shadow:0 0 0 5px color-mix(in srgb,var(--danger) 28%,transparent);animation:dkpulse 1.2s ease-in-out infinite}
  .dkadd{flex:none;width:auto;max-width:45%;min-height:44px;height:44px;margin:0;padding:0 16px;gap:6px;border-radius:999px;font-size:15px;font-weight:600;display:inline-flex;align-items:center;white-space:nowrap}
  .dkadd[hidden]{display:none}
  .dkadd>span{overflow:hidden;text-overflow:ellipsis}
  .dkadd>.i{width:18px;height:18px;stroke-width:2.6}
  .dkadd.forms>.i{display:none}
  #dk-bar>.qaline:not([hidden]),#dk-bar>#say-ask:not([hidden]),#dk-bar>.vnote{position:relative;margin:0;padding:12px 14px;max-height:calc(100vh - 140px);overflow-y:auto;background:var(--card);border:1px solid var(--line);border-radius:16px;box-shadow:0 8px 22px rgba(0,0,0,.18)}
  #dk-bar>#say-ask>.qax{position:absolute;top:2px;right:2px;width:44px;height:44px;color:var(--muted)}
  #dk-bar>#say-ask>.sayasked{padding-right:36px}
}
@keyframes dkpulse{50%{box-shadow:0 0 0 12px color-mix(in srgb,var(--danger) 14%,transparent)}}
@media (prefers-reduced-motion:reduce){#dk-bar .quickadd .qamic.on::after{animation:none}}
/* v386 (Chris chose A2 of docs/mockups/sidebar-frozen/): on a computer the sidebar no longer scrolls as a whole (Add slid over Calendar).
   Frozen at the top: the fridge switcher, Add, Today · Calendar · Chat · Apps and "Your apps"; only the apps list scrolls (#dsk-nav, with
   History and Recently deleted at its end), with a soft shadow at an edge where more is hidden; frozen at the bottom: Search, then your
   picture + name and the ⚙, both opening Settings (the picture left the top line). */
@media (min-width:1024px){
  html.v2.native-desktop .tabbar{overflow:hidden;background:var(--card)}
  html.v2.native-desktop .tabbar > .tab,html.v2.native-desktop .dskappshd,html.v2.native-desktop .nd-search,html.v2.native-desktop .nd-top{flex:none}
  html.v2.native-desktop .nd-top .nd-me{display:none}
  html.v2.native-desktop #dsk-nav{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;margin:0 -12px;padding:0 12px 8px;
    background:linear-gradient(var(--card) 30%,transparent) center top/100% 24px no-repeat local,linear-gradient(transparent,var(--card) 70%) center bottom/100% 24px no-repeat local,
      radial-gradient(farthest-side at 50% 0,var(--sbsh,rgba(0,0,0,.14)),transparent) center top/100% 10px no-repeat scroll,
      radial-gradient(farthest-side at 50% 100%,var(--sbsh,rgba(0,0,0,.14)),transparent) center bottom/100% 10px no-repeat scroll,var(--card)}
  html.v2.native-desktop .nd-search{margin-top:0}
  html.v2.native-desktop .dskfoot{display:flex;position:static;order:3;margin:0 -12px -16px;padding:8px 12px 12px}
}
/* v386: a window too short to leave the apps any room (under 560 px) scrolls the whole sidebar again, so nothing is cut off */
@media (min-width:1024px) and (max-height:559px){
  html.v2.native-desktop .tabbar{overflow-y:auto}
  html.v2.native-desktop #dsk-nav{flex:none;overflow:visible;background:none}
}
/* v387 (List #1473): the big "A" (and the layout icon) on the chosen text-size button takes the button's own text colour; it kept the
   page's text colour, nearly invisible on the green (dark mode 1.75:1) */
.txtseg .chip[aria-checked="true"] .ta,.txtseg .chip[aria-checked="true"] .i.tl,.txtseg .chip[aria-pressed="true"] .ta,.txtseg .chip[aria-pressed="true"] .i.tl{color:inherit}
/* v388 (Chris, TEST desktop app 30 Oct 2026: "the mouseover grey is a bad color, should go with the theme, also the full row including
   notes or chat"): on a computer a row lights up in the tone's own tint, and a row with a Note/Chat button lights up as one, button too. */
@media (min-width:1024px){
  .trow:hover,.trwrap:has(>.trow):hover{background:var(--accent-tint)}
  .trwrap:hover>.trow{background:none}
}
/* v388 (Chris, same day: "the text box should be at the bottom of the page so easy to get to"): on a computer an open Shopping List
   fills the page and its typing box sits at the bottom of it, even when the list is short (sticky, as before, when the list is long). */
@media (min-width:1024px){
  html.v2.native-desktop #s-shopping .pad:has(#shop-list-view:not([hidden])){min-height:100%;display:flex;flex-direction:column;padding-bottom:0}
  html.v2.native-desktop #shop-list-view:not([hidden]){flex:1 0 auto;grid-template-rows:auto auto auto auto 1fr}
  html.v2.native-desktop #shop-form{grid-row:5;align-self:end;margin-top:16px}
}
/* v389 (Chris, TEST 2189 screenshot): no Got it column (ticked items stay at the bottom of the list), and the typing box gets a solid
   card around it like the phone's (it looked too plain on the page colour). */
@media (min-width:1024px){
  html.v2.native-desktop #shop-list-view:not([hidden]){grid-template-columns:minmax(0,1fr);max-width:900px}
  html.v2.native-desktop #shop-form.shopentry{background:var(--card);border:1px solid var(--line);border-radius:22px;box-shadow:var(--navshadow);padding:10px 12px;margin-bottom:12px;bottom:12px}
  html.v2.native-desktop #shop-form .input{background:var(--fill)}
}
/* v391 (Chris chose A of docs/mockups/today-bar-colour/, 30 Oct 2026: "the white background gets lost"): on a computer Today's typing bar
   and the Shopping List's are a pale wash of the person's tone with a thin tone edge and a soft tone glow; the white typing box inside. */
@media (min-width:1024px){
  html.v2.native-desktop #shop-form.shopentry{background:var(--accent-tint);border:1.5px solid color-mix(in srgb,var(--accent) 45%,transparent);
    box-shadow:0 8px 24px -8px color-mix(in srgb,var(--accent) 45%,transparent)}
  html.v2.native-desktop #shop-form .input{background:var(--card);border-color:color-mix(in srgb,var(--accent) 35%,transparent)}
}
/* v392 (Chris on the live app, 30 Oct 2026: "i think it needs the dark purple ... or theme color" = C of docs/mockups/today-bar-colour/):
   the two computer typing bars are solid in the person's tone; the white typing box, the understood card and the messages stay readable. */
@media (min-width:1024px){
  html.v2.native-desktop #shop-form.shopentry{background:var(--accent);border:1px solid var(--accent);box-shadow:0 10px 26px -8px color-mix(in srgb,var(--accent) 60%,transparent)}
  html.v2.native-desktop #shop-form .input{background:var(--card);border-color:transparent}
  html.v2.native-desktop #shop-form .shopsay,html.v2.native-desktop #shop-form .shopsay .btn.text{color:var(--on-accent)}
  html.v2.native-desktop #shop-form .shopmic{background:var(--card)}
  html.v2.native-desktop #shop-form .btn.filled{background:var(--card);color:var(--accent-text)}
}
/* v393 (Chris chose A of docs/mockups/med-popup-fixes/, 30 Oct 2026: "color of this? In other places? Change all?"): "Name hidden on
   screens" is a white box with a hairline everywhere (the reminder popup's blue card and the Medicines popup), no grey on blue. */
.medreveal,.medreveal.rdmhide{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:4px 6px 4px 14px;min-height:48px}
/* v393: a medicine's dose choices under Taken, like the phone app (I took it at another time · I skipped it… with its reasons · See how I'm doing) */
.rddose{margin-top:12px;background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden}
.rddrow{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:8px 16px;border:0;border-top:1px solid var(--line);background:none;color:var(--text);font:inherit;font-size:16px;text-align:left;cursor:pointer}
.rddrow:first-child{border-top:0}
.rddrow>.i:first-child{color:var(--accent-text)}
.rddrow>span{flex:1;min-width:0}
.rddrow>.i:last-child{color:var(--muted);width:14px;height:14px}
.rddrow:hover{background:var(--accent-tint)}
.rddrow.on{background:var(--accent);color:var(--on-accent);font-weight:600}
.rddrow.on>.i{color:var(--on-accent)!important}
.rdwhy{display:flex;flex-wrap:wrap;gap:8px;padding:12px;background:var(--accent-tint)}
.rdwhy .chip{min-height:44px;padding:0 16px;border-radius:999px;background:var(--card);border:0;color:var(--accent-text);font-weight:600}

/* v395 (Chris, 30 Oct 2026: "On mobile we use the theme color, should on desktop too"): Today's section title bars take the tone's
   pale colour (--accent-tint, as the row hover and the chosen sidebar item) on computers and phones, not grey. Overdue keeps its red. */

/* Ask the Fridge (Chris chose B of docs/mockups/ask-the-fridge/): the box under Today's title and the answer right under it */
.askform { display: flex; align-items: center; gap: 8px; margin: 10px 0 8px; }
.askform[hidden] { display: none; }
.askbar { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; min-height: 54px; padding: 2px 4px 2px 14px; border: 2px solid color-mix(in srgb, var(--accent) 58%, transparent); border-radius: 12px; background: color-mix(in srgb, var(--accent) 7%, var(--card)); }
.askbar:focus-within { border-color: var(--accent); }
.askic { display: inline-flex; color: var(--accent-text); flex: none; }
.askinput { flex: 1; min-width: 0; display: block; height: 46px; border: 0; background: none; font: inherit; font-size: 16px; line-height: 22px; color: var(--text); padding: 12px 0; resize: none; overflow: hidden; }
.askinput.two { height: 56px; padding: 6px 0; overflow-y: auto; }   /* a long sentence: two lines, then it scrolls inside */
.askinput:focus { outline: none; }
.askinput::placeholder { color: var(--muted); }
.askbtn { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--accent-text); }
.askbtn[hidden] { display: none; }
.askmic { flex: none; width: 54px; height: 54px; border: 0; padding: 0; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; }   /* Chris chose B of docs/mockups/ask-mic-left/ */
.askmic[hidden] { display: none; }
.askmic > .i { width: 28px; height: 28px; }
.askmic.on { background: var(--danger); box-shadow: 0 0 0 5px color-mix(in srgb, var(--danger) 28%, transparent); animation: askpulse 1.2s ease-in-out infinite; }   /* red and moving while it listens (Chris, 7 Nov 2026) */
@keyframes askpulse { 50% { box-shadow: 0 0 0 12px color-mix(in srgb, var(--danger) 14%, transparent); } }
@media (prefers-reduced-motion: reduce) { .askmic.on { animation: none; } }
/* the + sheet answers questions, and says it is powered by AI */
.saypow { display: inline-flex; align-items: center; justify-content: center; gap: 5px; margin: 0; font-size: 13px; font-weight: 600; color: var(--accent-text); }
.saypow[hidden] { display: none; }
.saypow .i { width: 16px; height: 16px; }
#say-ask[hidden] { display: none; }
#sheet-say.sayasking #say-host, #sheet-say.sayasking #say-moreb, #sheet-say.sayasking #say-forms, #sheet-say.sayasking #say-help, #sheet-say.sayasking .saypriv, #sheet-say.sayasking .holdtip { display: none; }
.sayasked { margin: 0 0 6px; font-size: 15px; color: var(--muted); overflow-wrap: anywhere; }
.sayyesh { margin: 0 0 8px; font-size: 22px; font-weight: 700; }
.sayinstead { margin-top: 4px; }
.askanswer { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin-bottom: 12px; }
.askanswer[hidden] { display: none; }
.askwords { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.askbusy { margin: 0; font-size: 16px; color: var(--muted); }
.askrows { margin-top: 8px; }
.askrow { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 8px 0; border-top: 1px solid var(--line); }
.askrow:first-child { border-top: 0; }
.askrowi { width: 36px; height: 36px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-text); display: grid; place-items: center; flex: none; }
.askrowm { flex: 1; min-width: 0; }
.askrowt { display: block; font-size: 16px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.askrowg { display: block; font-size: 15px; color: var(--muted); line-height: 1.3; }
.askrowg b { color: var(--text); font-weight: 600; }
.askacts { margin-top: 8px; }
.askwho { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.askwho .i { width: 16px; height: 16px; color: var(--accent-text); }
.askyeslead { margin: 0 0 4px; color: var(--muted); font-size: 16px; }
.askyes { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.askyeslead + .askyes { border-top: 0; }
.askyes b { display: block; color: var(--text); font-size: 16px; font-weight: 600; }
.askyesi { width: 36px; height: 36px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-text); display: grid; place-items: center; flex: none; }
#sheet-askyes .btn.filled { width: 100%; margin-top: 6px; }
#sheet-askyes .btn.text { width: 100%; margin-top: 4px; }

/* v400 (Chris chose A2 of docs/mockups/desktop-main-nav/, 8 Nov 2026): on a computer
   1. one white bar across the top of the window: The Fridge logo at the left (in the fridge's colour, it opens Today), Today · Calendar ·
      Chat · Apps in the middle of the page you can see (they slide to the new middle when Chat opens or closes), then Search, + Add and
      your photo (Settings) at the right. The four stay direct children of .tabbar, each placed by itself (position fixed), as before.
   2. the sidebar is only your apps: the fridge switcher (a grey box) at its top, then Your apps; no Search, Add, picture or ⚙ there.
   3. every page is one column in the middle (Calendar keeps its width); nothing opens on the right except Chat, which is hidden until
      Chat (or a chat alert) opens it, and Close or Chat again hides it. Popups open in the middle, as they did. */
@media (min-width:1024px){
  html.v2.native-desktop{--dtop:64px}
  html.v2.native-desktop #app:not(.nochrome){padding-top:var(--dtop);--tabw:124px;--tgap:4px;--addw:96px;
    --tx:calc(var(--sbw) + (100vw - var(--sbw) - var(--dkw)) / 2 - (4 * var(--tabw) + 3 * var(--tgap)) / 2)}
  html.v2.native-desktop #app.chat-docked{--dkw:380px;grid-template-columns:248px minmax(0,1fr) 380px}
  /* the bar */
  html.v2.native-desktop .tabbar::after{content:"";display:block;position:fixed;z-index:15;top:0;left:0;right:0;width:auto;height:var(--dtop);border:0;border-bottom:1px solid var(--line);border-radius:0;
    background:var(--card);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;pointer-events:none}
  html.v2.native-desktop .nochrome .tabbar::after{display:none}
  /* the logo */
  html.v2.native-desktop .dskbrand{display:flex;position:fixed;z-index:16;top:0;left:0;width:var(--sbw);height:var(--dtop);margin:0;padding:0 20px;gap:10px;align-items:center;
    border:0;border-radius:0;background:none;font:inherit;font-size:18px;font-weight:800;letter-spacing:-.01em;color:var(--text);cursor:pointer;text-align:left}
  html.v2.native-desktop .dskbrand:focus-visible{outline:3px solid var(--accent);outline-offset:-6px;border-radius:14px}
  .dsklogo{width:34px;height:34px;flex:none;border-radius:8px}
  .dsklogo .lga{fill:var(--accent)} .dsklogo .lgw{fill:#fff} .dsklogo .lgn{fill:#F7D154} .dsklogo .lgl{fill:#B48A22} .dsklogo .lgp{fill:#D9483B}
  /* the four, in the middle of the page you can see */
  html.v2.native-desktop .tabbar > .tab:not(.dsk){position:fixed;z-index:16;top:calc((var(--dtop) - 44px) / 2);width:var(--tabw);height:44px;min-height:44px;margin:0;padding:0 12px;
    justify-content:center;gap:8px;border-radius:22px;font-size:15px;font-weight:600;color:var(--text);box-shadow:none;background:none;transition:left .25s ease}
  html.v2.native-desktop .tabbar > .tab:not(.dsk) > span:not(.tabic){position:static;width:auto;height:auto;clip:auto;overflow:visible;white-space:nowrap}
  html.v2.native-desktop .tabbar > .tab[data-tab="today"]{left:var(--tx)}
  html.v2.native-desktop .tabbar > .tab[data-tab="calendar"]{left:calc(var(--tx) + var(--tabw) + var(--tgap))}
  html.v2.native-desktop .tabbar > .tab[data-tab="chat"]{left:calc(var(--tx) + 2 * (var(--tabw) + var(--tgap)))}
  html.v2.native-desktop .tabbar > .tab[data-tab="home"]{left:calc(var(--tx) + 3 * (var(--tabw) + var(--tgap)))}
  html.v2.native-desktop .tabbar > .tab:not(.dsk):hover{background:var(--fill)}
  html.v2.native-desktop .tabbar > .tab:not(.dsk)[aria-current="page"],html.v2.native-desktop .tabbar > .tab[data-tab="chat"][aria-expanded="true"]{background:var(--accent-tint);color:var(--accent-text)}
  html.v2.native-desktop .tabbar > .tab:not(.dsk) .tbadge{top:-7px;right:auto;left:-9px}
  /* Search, + Add and your photo at the right */
  html.v2.native-desktop .tabbar > .nd-search{position:fixed;z-index:16;top:calc((var(--dtop) - 44px) / 2);right:calc(16px + 44px + 8px + var(--addw) + 8px);width:44px;height:44px;min-height:44px;
    margin:0;padding:0;border:0;border-radius:50%;justify-content:center;background:var(--fill);color:var(--text)}
  html.v2.native-desktop .tabbar > .nd-search > span:not(.tabic){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  html.v2.native-desktop .tabbar > .nd-search:hover{background:var(--accent-tint)}
  html.v2.native-desktop .tabbar > .nd-search[aria-current="page"]{background:var(--accent-tint);color:var(--accent-text)}
  html.v2.native-desktop .fab{position:fixed;z-index:16;top:calc((var(--dtop) - 44px) / 2);right:calc(16px + 44px + 8px);left:auto;bottom:auto;width:var(--addw);height:44px;min-height:44px;
    padding:0 14px 0 10px;gap:6px;border-radius:999px;font-size:15px;transform:none}
  html.v2.native-desktop .fab .i{width:18px;height:18px}
  html.v2.native-desktop .nd-top .nd-me{display:grid;place-items:center;position:fixed;z-index:16;top:calc((var(--dtop) - 44px) / 2);right:16px;width:44px;height:44px;padding:0}
  html.v2.native-desktop .dskfoot{display:none}
  /* the sidebar: the fridge switcher, then your apps */
  html.v2.native-desktop .nd-top{margin:0 0 6px;min-height:0}
  html.v2.native-desktop .nd-top .nd-household{min-height:48px;padding:0 12px;border-radius:12px;background:var(--bg)}
  html.v2.native-desktop .nd-top .nd-household:hover{background:var(--accent-tint)}
  html.v2.native-desktop .dskappshd{margin-top:8px}
  /* one column on every page; the Calendar keeps its width */
  html.v2.native-desktop .pad,html.v2.native-desktop #s-vault .pad,html.v2.native-desktop #s-today .pad{max-width:760px;--nd-pad-max:760px}
  /* v401 (Chris: nothing stretches on a big screen): the page's top strip (‹ Back) is as wide as the page column, its Back over the page's left edge */
  html.v2.native-desktop #app:not(.nochrome) .stage .screen .pad>.top{width:auto;margin-left:0;margin-right:0}
  html.v2.native-desktop #s-calendar .pad{max-width:1160px;--nd-pad-max:1160px}
  /* Apps tiles (Chris chose A, 10 Nov 2026): room for 4 tiles across */
  html.v2.native-desktop #s-home .pad{max-width:1000px;--nd-pad-max:1000px}
  html.v2.native-desktop #s-today .todaycols{display:block}
  html.v2.native-desktop #today-side{display:none}
  html.v2.native-desktop .wg-head{top:var(--toph,0px)}
  /* Chat on the right, under the bar (the v274 panel) */
  html.v2.native-desktop #desktop-chat{grid-column:3;grid-row:1/-1}
  html.v2.native-desktop #desktop-chat #s-chat{display:flex;flex-direction:column;grid-template-columns:none;height:auto}
  html.v2.native-desktop #desktop-chat #s-chat .chathead{grid-column:auto;grid-row:auto;padding:12px 16px 8px;border-right:0;background:none}
  html.v2.native-desktop #desktop-chat #s-chat .convs{grid-column:auto;grid-row:auto;flex:1;min-height:0;padding:0 12px 16px;overflow:auto;border-right:0;background:none}
  html.v2.native-desktop #desktop-chat #s-chat .convs[hidden],html.v2.native-desktop #desktop-chat #s-chat .convview[hidden]{display:none}
  html.v2.native-desktop #desktop-chat #s-chat .convview{grid-column:auto;grid-row:auto;flex:1;min-height:0;height:auto}
  html.v2.native-desktop #desktop-chat #s-chat .convbar{min-height:0;padding:8px 12px}
  html.v2.native-desktop #desktop-chat #s-chat #conv-back{display:inline-flex}
  html.v2.native-desktop #desktop-chat #s-chat .chatlist{padding:12px 16px}
  html.v2.native-desktop #desktop-chat #s-chat .chatbar{padding:8px 12px 12px}
}
/* a smaller window: the four show only their icons (their names stay for screen readers and as a tooltip), so they never touch the logo or Search */
@media (min-width:1024px) and (max-width:1203px){
  html.v2.native-desktop #app:not(.nochrome){--tabw:52px}
  html.v2.native-desktop #app.chat-docked{--dkw:340px;grid-template-columns:248px minmax(0,1fr) 340px}
  html.v2.native-desktop .tabbar > .tab:not(.dsk){padding:0}
  html.v2.native-desktop .tabbar > .tab:not(.dsk) > span:not(.tabic){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
}
@media (min-width:1024px) and (prefers-reduced-motion:reduce){ html.v2.native-desktop .tabbar > .tab:not(.dsk){transition:none} }

/* v401 (Chris, TEST 2206, 8 Nov 2026) on a computer:
   1. "+ Add" is only in the white bar at the bottom (no + Add in the top bar); on a page without its own Add it opens a bubble of the nine forms.
   2. the white bar shows its AI signs like the phone: the colourful ✦ in the box and the ✨ on the mic.
   3. Search is a popup in the middle of the window over your page (the page stays under it, unclickable); Search again, Escape or a click outside closes it.
   4. on a very wide screen the white bars and pages never stretch: the page column stays 760px, the top bar's middle stays over it. */
@media (min-width:1024px){
  html.v2.native-desktop .fab{display:none}
  html.v2.native-desktop .tabbar > .nd-search{right:calc(16px + 44px + 8px)}
  /* the AI signs */
  html.v2 #dk-bar .quickadd .qai{display:inline-flex}
  html.v2 #dk-bar .quickadd .qai>svg{display:none}
  html.v2 #dk-bar .quickadd .qai::before{content:"\2726";font-size:20px;line-height:1;font-weight:700;background:linear-gradient(135deg,#3B82F6,#7C5CE0 45%,#D0559F 75%,#F2A33A);-webkit-background-clip:text;background-clip:text;color:transparent}
  html.v2 #dk-bar .quickadd .qamic{position:relative;overflow:visible}
  html.v2 #dk-bar .quickadd .qamic:not(.on) .spk{display:grid;position:absolute;top:-5px;right:-6px;z-index:2;width:20px;height:20px;border-radius:50%;background:var(--card);place-items:center;font-size:12px;line-height:1;color:var(--text);box-shadow:0 2px 6px -2px rgba(0,0,0,.35)}
  /* + Add's bubble */
  .dkadd.forms>.i{display:inline-block}
  .dkforms{position:absolute;right:0;bottom:calc(100% + 12px);z-index:3;display:grid;grid-template-columns:repeat(3,112px);gap:8px;padding:12px;margin:0;background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:0 14px 36px rgba(0,0,0,.24)}
  .dkforms[hidden]{display:none}
  .dkforms::after{content:"";position:absolute;right:44px;bottom:-7px;width:14px;height:14px;background:var(--card);border-right:1px solid var(--line);border-bottom:1px solid var(--line);transform:rotate(45deg)}
  .dkforms .atile{min-height:76px;gap:6px;background:var(--accent-tint);border-color:transparent;font-size:14px}
  .dkforms .atile:hover{border-color:var(--accent)}
  .dkforms .atile .i{width:24px;height:24px;color:var(--accent-text)}
  /* Search in the middle */
  html.v2.native-desktop .stage .screen.under{display:block;pointer-events:none}
  html.v2.native-desktop .stage .screen.under .mnaddbar{display:none}
  html.v2.native-desktop #app:not(.nochrome) #s-search.on{position:fixed;top:var(--dtop);left:0;right:0;bottom:0;z-index:14;overflow:hidden;padding:0;background:rgba(10,20,16,.38)}
  html.v2.native-desktop #app:not(.nochrome) #s-search.on>.pad{position:absolute;top:calc(30vh - var(--dtop));left:calc(var(--sbw) + (100vw - var(--sbw) - var(--dkw)) / 2);transform:translateX(-50%);
    width:min(680px,calc(100vw - var(--sbw) - var(--dkw) - 48px));max-width:none;max-height:calc(70vh - 24px);overflow-y:auto;margin:0;padding:14px 20px 16px;background:var(--card);border:1px solid var(--line);border-radius:20px;box-shadow:0 24px 60px rgba(0,0,0,.32)}
  html.dark.v2.native-desktop #app:not(.nochrome) #s-search.on,html[data-theme=dark].v2.native-desktop #app:not(.nochrome) #s-search.on{background:rgba(0,0,0,.6)}
  html.v2.native-desktop #app #s-search.on .pad>.top{display:none}
  html.v2.native-desktop #s-search .srbox{margin:0 0 10px}
}

/* v411 (Chris chose B of docs/mockups/reminder-forms-one-look/, 9 Nov 2026): every "New …" form of a reminder kind or an event = a title card
   (the type as a tag that opens the types, the words 20 px under it) and ONE card of rows with a grey 22 px icon and words that explain themselves.
   Four text sizes: 20 title, 17 rows, 15 tag and chips, 14 grey second lines. Same as Fridge Native (src/AccRow.tsx). */
#sheet-add.bform .tcard{padding-top:5px}
#sheet-add.bform .ktag{position:relative;isolation:isolate;display:inline-flex;align-items:center;gap:6px;min-height:44px;margin:0 12px;padding:0 12px 0 10px;border:0;border-radius:999px;background:none;color:var(--accent-text);font:inherit;font-size:15px;font-weight:600;cursor:pointer}
#sheet-add.bform span.ktag{cursor:default}
#sheet-add.bform .ktag::before{content:'';position:absolute;inset:5px 0;z-index:-1;border-radius:999px;background:var(--accent-tint)}   /* the 34 px pill inside a 44 px tap area */
#sheet-add.bform .ktag .i{width:17px;height:17px}
#sheet-add.bform .ktag .ktdn{width:13px;height:13px;margin-left:2px}
#sheet-add.bform .tcard #add-tiles{margin:10px 12px 2px;padding:0}
#sheet-add.bform .tcard #add-tiles .chips.kinds{flex-wrap:wrap;overflow:visible;gap:8px}
#sheet-add.bform .tcard #add-title-f{border-bottom:0}
#sheet-add.bform .tcard #f-text,html.v2 #sheet-add.bform .tcard #f-text,html.v2 #sheet-add.bform .tcard #f-text:focus{min-height:52px;padding:4px 16px 10px;font-size:20px;font-weight:600;box-shadow:none;border-radius:0}
#sheet-add.bform .tcard:focus-within{box-shadow:0 0 0 2px var(--accent)}
#sheet-add.bform .bfrow{gap:14px}
#sheet-add.bform .frow.bfrow{min-height:56px;padding-left:14px}
#sheet-add.bform .bfrow .fric{flex:none;display:inline-flex;align-items:center;justify-content:center;width:24px;color:var(--muted)}
#sheet-add.bform .bfrow .fric .i{width:22px;height:22px}
#sheet-add.bform .bfrow .frm{font-size:17px;font-weight:400}
#sheet-add.bform .bfrow .frs{font-size:14px}
#sheet-add.bform .bfrow:not(.open) .frv.ph .frm{color:var(--muted)}
#sheet-add.bform .irow.bfrow .ilead{flex:none;font-size:17px;color:var(--text)}
#sheet-add.bform .wsw{padding-top:12px}
/* #1912 Your keys: a row per device with small tags for what its keys open */
.keyrow .frl{display:flex;flex-direction:column;gap:4px}
.keytags{display:flex;flex-wrap:wrap;gap:6px}
.keytag{font-size:13px;font-weight:700;padding:2px 9px;border-radius:999px;background:var(--accent-tint);color:var(--accent-text)}
.keytag.admin{background:var(--fill);color:var(--text)}
.keyone{align-items:center}
.keyone .btn{margin-left:auto;flex:none}
.keyone .frl small,#keys-rec .frl small{display:block;margin-top:2px}
.keyone .frl,#keys-rec .frl{display:block}
.keyone .btn.dng,#keys-all{color:var(--danger)}
/* #1910 Use my other phone: the QR code and the 4 digits */
#vt-pairqr{width:240px;height:240px;margin:8px auto}
.vdigits{text-align:center;font-size:40px;font-weight:800;letter-spacing:.2em;margin:0;color:var(--text)}
/* v418: family places on Location (List #1964) */
.plrow{flex-wrap:nowrap}
.plrow .pltx{min-width:0}
.plrow .pltx .small{overflow-wrap:anywhere}
.plpin{flex:none;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--accent-tint);color:var(--accent-text)}
/* v419: the live map on top of Location (4A of docs/mockups/location-plus/). The pictures are OpenStreetMap's, through our server. */
.livemap .lmmap{position:relative;height:clamp(240px,40vh,420px);border-radius:16px;overflow:hidden;border:1px solid var(--line);background:var(--fill);touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}
.livemap .lmmap:active{cursor:grabbing}
.livemap .lmmap:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.lmtiles,.lmtiles img{position:absolute;left:0;top:0}
.lmtiles img{width:256px;height:256px;max-width:none;pointer-events:none}
.lmplace{position:absolute;border-radius:50%;background:rgba(61,107,84,.14);border:1px solid rgba(61,107,84,.55);display:grid;place-items:center;pointer-events:none}
.lmplace span{font-size:12px;font-weight:600;color:#2f5443;background:rgba(255,255,255,.8);padding:1px 6px;border-radius:8px;white-space:nowrap}
.lmpin{position:absolute;left:0;top:0;margin:-22px 0 0 -22px;width:44px;height:44px;padding:0;border:0;background:none;display:grid;place-items:center;cursor:pointer;z-index:2}
.lmpin .av{width:34px;height:34px;font-size:15px;box-shadow:0 0 0 3px #fff,0 2px 6px rgba(0,0,0,.3)}
.lmpin.on{z-index:3}.lmpin.on .av{box-shadow:0 0 0 3px #fff,0 0 0 6px var(--accent),0 2px 6px rgba(0,0,0,.3)}
.lmago{position:absolute;top:40px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:12px;font-weight:600;color:#333;background:rgba(255,255,255,.92);padding:1px 6px;border-radius:8px}
.lmtools{position:absolute;right:10px;top:10px;display:flex;flex-direction:column;gap:8px;z-index:4}
.lmtool{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:var(--card);color:var(--accent-text);display:grid;place-items:center;font-size:22px;font-weight:600;line-height:1;cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,.12)}
.lmtool:disabled{opacity:.45;cursor:default}
.lmattr{position:absolute;right:0;bottom:0;font-size:12px;color:#333;background:rgba(255,255,255,.85);padding:1px 6px;border-top-left-radius:6px;z-index:4;pointer-events:none}
.lmcard{position:absolute;left:10px;right:10px;bottom:22px;z-index:5;background:var(--card);color:var(--text);border:1px solid var(--line);border-radius:14px;padding:12px;display:grid;gap:10px;box-shadow:0 3px 12px rgba(0,0,0,.18);cursor:auto}
.lmctop{display:flex;align-items:center;gap:10px}.lmctx{flex:1;min-width:0}
.lmctx .title,.lmctx .small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lmcbtns{display:flex;gap:8px}.lmcbtns .btn{flex:1;justify-content:center;min-height:44px;color:var(--accent-text);text-decoration:none}
.homerow.lmfind{cursor:pointer}
.livemap.lmfull{position:fixed;inset:0;z-index:1000;margin:0;background:var(--bg)}
.livemap.lmfull .lmmap{height:100%;border-radius:0;border:0}
.livemap.lmfull .lmtools{top:calc(10px + env(safe-area-inset-top))}
.livemap.lmfull .lmcard{bottom:calc(22px + env(safe-area-inset-bottom))}
body.lmopen{overflow:hidden}
@media (min-width:700px){.livemap .lmcard{left:auto;width:340px}}
/* v420 (3A of docs/mockups/location-plus/): the Help alert card on Today and Location, the I'm here line on a person's row */
.helpcard{border:2px solid var(--danger);background:var(--danger-tint);margin-bottom:16px}
.helpcard .helptop{display:flex;gap:12px;align-items:flex-start}
.helpcard .title{color:var(--danger)}
.helpcard .helpsub{margin:4px 0 0;color:var(--text)}
.helpcard .helpon{margin:6px 0 0;font-weight:600;color:var(--text)}
.helpic{flex:none;width:40px;height:40px;border-radius:50%;background:var(--danger);color:var(--bg);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:22px}

.helpcard .btn.filled.helpgo,.helpcard .btn.filled{background:var(--danger);border-color:var(--danger);color:var(--bg)}
.helpcard .btn.outline{background:var(--card)}
.ciline{display:flex;flex-wrap:wrap;align-items:center;gap:4px}
.cipill{display:inline-flex;align-items:center;gap:4px;padding:2px 10px;border-radius:999px;background:var(--accent-tint);color:var(--accent-text);font-weight:600}

/* v423 (Chris, 10 Nov 2026): Location on the website like Fridge Native's Location D. Two lines per person, then one card with
   Saved places (folds open) and Location settings. */
#home-card .lrow{flex-wrap:nowrap;align-items:center}
.lrow .lmid{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:4px}
.lrow .ll1{display:flex;align-items:baseline;gap:8px}
.lrow .ll1 .nm{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lrow .lwhen{flex:none;font-size:14px;color:var(--muted)}
.lrow .ll2{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:15px}
.lrow .ll2 .pill{margin-left:0}
.lrow .lwords{color:var(--muted);font-size:14px}
.lrow .livebtn{flex:none}
.lscard{padding:0;overflow:hidden}
.lscard .lsrow{border-top:0;min-height:56px;font-weight:600}
.lscard .lsrow + .lsrow,.lscard .lplist + .lsrow{border-top:1px solid var(--line)}
.lscard .lsrow .lst{flex:1 1 auto;text-align:left}
.lscard .lsrow .plpin{flex:none;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:var(--accent-tint);color:var(--accent-text)}
.lscard .lsrow .plpin .i{color:var(--accent-text)}
.lscard .lcount{font-size:15px;font-weight:400;color:var(--muted)}
.lscard .lchev .i{color:var(--muted)}
.lscard .lplist{padding:0 14px 12px 62px;display:flex;flex-direction:column;gap:8px}
.lscard .lplist .plrow{padding:6px 0;border-top:1px solid var(--line)}
.lscard .lplist .plrow .nm{font-weight:600}
/* 084 (Chris, A of docs/mockups/today-outside-calendar/): your own Google / Outlook / Yahoo events on Today: a grey calendar icon, a small
   source tag where the chat button would be (show only: no tick, no chat), and the Settings list of those calendars */
.trow .tri.troci{background:var(--fill);color:var(--muted)}
/* v433 (Chris chose A2 of docs/mockups/today-calendar-color/): a light line in the calendar's color on the left edge, the icon in that color */
.trow.occ{position:relative}
.trow.occ::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--occl)}
.trow.occ .tri.troci{background:var(--occt);color:var(--occ)}
/* 086: the calendar's dot in Settings › Calendar link, and the Color row of its sheet (44 px targets, the picked one ringed) */
.ocdot{flex:none;width:12px;height:12px;border-radius:50%;background:var(--occ);margin-inline-end:12px}
.ocsws{display:flex;gap:2px;flex-wrap:wrap;justify-content:flex-end}
.ocsw{width:44px;height:44px;border:0;background:none;padding:0;margin:0;display:grid;place-items:center;cursor:pointer;border-radius:50%}
.ocsw::after{content:"";width:26px;height:26px;border-radius:50%;background:var(--occ)}
.ocsw[aria-checked="true"]::after{box-shadow:0 0 0 3px var(--card),0 0 0 5px var(--occ)}
.ocsw:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.occ-plum{--occ:#7B4FB0;--occt:#F0E9F8;--occl:#C4AEE0}
.occ-teal{--occ:#0F7C80;--occt:#DEF2F1;--occl:#93CBCD}
.occ-rose{--occ:#B0325E;--occt:#F8E6EC;--occl:#E4A6BC}
.occ-clay{--occ:#A9471D;--occt:#F8E9E1;--occl:#E2AE94}
.occ-graphite{--occ:#55595F;--occt:#E8E9EB;--occl:#B7BABE}
:root[data-theme="dark"] .occ-plum{--occ:#C9B3EA;--occt:#2B2438;--occl:#7E62AE}
:root[data-theme="dark"] .occ-teal{--occ:#8ED3D5;--occt:#1A3132;--occl:#3F8F92}
:root[data-theme="dark"] .occ-rose{--occ:#EBA9C0;--occt:#3A1F29;--occl:#A3536F}
:root[data-theme="dark"] .occ-clay{--occ:#EDB59B;--occt:#3A261D;--occl:#A6674A}
:root[data-theme="dark"] .occ-graphite{--occ:#C5C8CC;--occt:#2C2F33;--occl:#6E7278}
@media (prefers-color-scheme:dark){:root[data-theme="system"] .occ-plum{--occ:#C9B3EA;--occt:#2B2438;--occl:#7E62AE}:root[data-theme="system"] .occ-teal{--occ:#8ED3D5;--occt:#1A3132;--occl:#3F8F92}:root[data-theme="system"] .occ-rose{--occ:#EBA9C0;--occt:#3A1F29;--occl:#A3536F}:root[data-theme="system"] .occ-clay{--occ:#EDB59B;--occt:#3A261D;--occl:#A6674A}:root[data-theme="system"] .occ-graphite{--occ:#C5C8CC;--occt:#2C2F33;--occl:#6E7278}}
.ocsrc{flex:none;display:inline-flex;align-items:center;min-height:24px;padding:2px 9px;border-radius:999px;background:var(--fill);color:var(--muted);font-size:13px;font-weight:600;margin-inline-start:8px}
.frm.od,.ocsub.od{color:var(--danger)}
.frl.ocfrl{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0}
.ocsub{font-size:14px;color:var(--muted);font-weight:400}
.gsacts.ocgo{margin-top:14px}
#oc-adderr{margin-top:10px}
.ochowd>summary{list-style:none;cursor:pointer}
.ochowd>summary::-webkit-details-marker{display:none}
.ochowd[open]>summary .trc{transform:rotate(180deg)}
.ochowd .gssteps{padding:4px 16px 16px}
.ochowd+.ochowd{border-top:1px solid var(--line)}
/* v430: a meeting with a Remind me: a small bell and the reminder's time in its gray line (Chris chose B of docs/mockups/today-calendar-rows/) */
.ocbell{display:inline-flex;align-items:center;gap:3px;white-space:nowrap}.ocbell .i{width:14px;height:14px}

/* v435 (Chris, 11 Nov 2026: plain headings like the phone app, "should we put the arrow on the right back on it?"): Today's section
   headings sit above their card with no pale bar: the name (gray; Overdue red) on the left, "N items" and the fold arrow on the right.
   The card under it keeps the rows; Overdue never folds (no arrow). Same on a computer and a phone. */
html.v2 #today-body>.native-section,html.v2 #today-body>.native-section.od{margin:16px 0 0;border:0;border-radius:0;overflow:visible;background:none}
html.v2 #today-body>.native-section:first-child{margin-top:8px}
html.v2 .native-section>h2{margin:0}
html.v2 .native-section-bar,html.v2 .native-section.od .native-section-bar{min-height:44px;padding:6px 4px;gap:6px;background:none;color:var(--muted);border-radius:10px;font-size:15px}
html.v2 .native-section-title{font-weight:600}
html.v2 .native-section.od .native-section-bar,html.v2 .native-section.od .native-section-count{color:var(--danger)}
html.v2 button.native-section-bar:hover .native-section-title{color:var(--text)}
html.v2 .native-section .group.tgroup,html.v2 .native-section.od .group.tgroup{border:1px solid var(--line);border-radius:16px;overflow:hidden}
html.v2 .native-section .group.tgroup:has(+ .tmorebar:not([hidden])){border-bottom-left-radius:0;border-bottom-right-radius:0}
html.v2 .native-section .tmorebar{background:var(--card);border:1px solid var(--line);border-top:0;border-radius:0 0 16px 16px}
/* ===== v436 (Chris chose A of docs/mockups/item-title-edit/, 11 Nov 2026): a title you can change sits in a white field with the pencil
   inside on the right, so it reads as "a box I can type in". Clicking it opens the typing box in the same place and size. Notes keep v378. ===== */
.rdttl>.rdttlb{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:52px;margin:0;padding:8px 12px;border:2px solid var(--line);border-radius:12px;background:var(--card);color:var(--text);cursor:text}
.rdttl>.rdttlb .rdpen{flex:none;width:auto;height:auto;margin:0;border:0;border-radius:0;background:none;color:var(--accent-text);vertical-align:0}
.rdttl>.rdttlb .rdpen .i{width:18px;height:18px}
@media (hover:hover){.rdttl>.rdttlb:hover{background:var(--card);border-color:var(--accent)}}
.rdttl>.rdttlb:focus-visible{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-tint)}
#sheet-act textarea.rdtitle.rdtitled{box-shadow:0 0 0 3px var(--accent-tint)}
.rdhead .rdttl:has(>.rdttlb),.rdhead .rdtitled{align-self:stretch;width:100%}   /* the field fills the card's width (the head lines its parts up on the left) */
/* ===== v437 (Chris chose "A, no line" of docs/mockups/today-cal-icon/, 11 Nov 2026): your own calendar's rows have no line on the left and
   no tile behind the icon: just the calendar icon in the calendar's color, a little bigger, in the same spot (the words still line up). ===== */
.trow.occ::before{content:none}
.trow.occ .tri.troci{background:none;color:var(--occ)}
.trow.occ .tri.troci .i{width:24px;height:24px}
/* v438 (Chris chose 1A of docs/mockups/someday-prominent/): the Someday chip under a reminder's day and time */
.rdwb.rdsd,html.v2 .sheet .rdwb.rdsd{display:inline-flex;align-items:center;gap:6px;padding:0 13px 0 11px;background:var(--card);border:1.5px solid var(--accent);color:var(--accent-text)}
/* v438 (Chris chose 3A of docs/mockups/someday-prominent/): Idea next to the type tag; picked = filled */
#sheet-add.bform .ktag.kidea{margin-left:-4px}
#sheet-add.bform .ktag.kidea.on{color:var(--on-accent)}
#sheet-add.bform .ktag.kidea.on::before{background:var(--accent)}
.rdwbs.rdwbsw{max-width:100%;min-width:0}
.rdwbb.rdwbbw{flex-wrap:wrap;row-gap:8px;align-self:stretch}   /* day + time stay together; Someday wraps under them only when it has to */
/* v439 (List #1997, USA first): on a narrow phone the Calendar's period title ("September 2026", the longest) gets a little smaller so it fits
   beside ‹ › instead of ending in "…" (at 320 px wide 28 px cut it off); 375 px and wider keep 28 px */
@media (max-width:1023px){html.v2 #s-calendar .cal-hd .cal-nav h2{font-size:clamp(23px,7.5vw,28px)}}

/* ===== v441 (Chris chose A of docs/mockups/week-grid-crowded/, List #1999): a crowded hour in the computer's Week grid. From 3 things at once
   the longest keeps most of the room and a dashed "+N more" block (46 px) sits beside it; it opens a small list (.wg-pop) of them all. ===== */
#s-calendar .wg-fold{position:absolute;right:2px;width:46px;z-index:1;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:1px;
  padding:6px 0 0;border-radius:8px;border:1.5px dashed color-mix(in srgb,var(--accent) 45%,transparent);background:var(--card);color:var(--accent-text);
  font-size:13px;font-weight:700;line-height:1.15;white-space:nowrap;cursor:pointer}
#s-calendar .wg-fold small{font-size:12px;font-weight:600}
#s-calendar .wg-fold:hover,#s-calendar .wg-fold.on{background:var(--accent-tint);border-style:solid}
#s-calendar .wg-fold:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
#s-calendar .wg-pop{position:absolute;z-index:6;width:280px;box-sizing:border-box;padding:8px;border-radius:14px;background:var(--card);color:var(--text);
  box-shadow:0 12px 32px rgba(0,0,0,.18),0 0 0 1px var(--line);cursor:default}
#s-calendar .wg-poph{margin:4px 8px 6px;font-size:14px;font-weight:600;line-height:1.3;color:var(--muted)}
#s-calendar .wg-popr{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:4px 8px;border:0;border-radius:10px;background:none;color:var(--text);text-align:left;font:inherit;cursor:pointer}
#s-calendar .wg-popr:hover{background:var(--fill)}
#s-calendar .wg-popr:focus-visible,#s-calendar .wg-popday:focus-visible{outline:3px solid var(--accent);outline-offset:-1px}
#s-calendar .wg-pop .mk{width:22px;height:22px;font-size:13px}
#s-calendar .wg-pop .mk.bar{border-radius:5px}
#s-calendar .wg-popt{display:flex;flex-direction:column;min-width:0}
#s-calendar .wg-popn{font-size:15px;font-weight:600;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#s-calendar .wg-popr.done .wg-popn{text-decoration:line-through;opacity:.7}
#s-calendar .wg-popm{font-size:13px;line-height:1.3;color:var(--muted)}
#s-calendar .wg-popday{display:flex;align-items:center;width:100%;min-height:44px;padding:0 8px;border:0;border-radius:10px;background:none;color:var(--accent-text);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
#s-calendar .wg-popday:hover{background:var(--fill)}
/* v443: "Outlook didn't open? Open Outlook on the web" under Edit in Outlook on a computer */
.hint.ocweb{margin:8px 0 0;text-align:center}
.hint.ocweb a{color:var(--accent-text);font-weight:600}
/* v444 (Chris chose A of docs/mockups/outcal-read-only/): "Read only here" with an eye, above Edit in Outlook */
.ocro{display:flex;align-items:center;justify-content:center;gap:6px;margin:12px 0 8px;color:var(--muted);font-size:14px}
.ocro .i{width:16px;height:16px;flex:none}

/* v445 Money (docs/mockups/bills-money/, Chris chose A + D): two tabs, this month's total card, the Paid tick, Show N more */
#bill-seg { grid-template-columns: repeat(2, 1fr); }
.mtot { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin: 4px 0 2px; }
.mtot .mtl { font-size: 15px; font-weight: 600; color: var(--muted); }
.mtot .mtb { font-size: 34px; font-weight: 700; margin: 2px 0 10px; font-variant-numeric: tabular-nums; }
.mtbar { height: 10px; border-radius: 999px; background: var(--fill); overflow: hidden; }
.mtbar i { display: block; height: 100%; background: var(--ok); border-radius: 999px; }
.mtleg { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; margin-top: 10px; font-size: 14px; color: var(--muted); }
.mtleg b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.mtleg .ok b { color: var(--ok); }
.mtot .mtx { margin-top: 6px; font-size: 13px; color: var(--muted); }
.bpaid { flex: none; width: 44px; height: 44px; display: grid; place-items: center; }
.bpaid svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--ok); color: var(--card); stroke-width: 3; }
.brow.paid .bl1 { color: var(--muted); }
.ticon.blead.sub { background: var(--t-violet); color: var(--c-violet); }
.mbmore { display: block; margin: 2px auto 0; min-height: 44px; }
.mbnone { padding: 4px 4px 0; }
/* v446 (Money step 2): "Who paid Electric?" - two full-width buttons with the person's face */
.pbh { font-size: 1.15rem; margin: 4px 0 14px; }
.pbbody { display: grid; gap: 10px; padding-bottom: 8px; }
.pbbtn { justify-content: flex-start; gap: 10px; min-height: 52px; }
/* v449 (Money step 3): the alerts card (free trial ends, price went up) and the free-trial popup */
.malerts { background: var(--soon-tint); border-radius: 16px; margin: 10px 0 2px; overflow: hidden; }
.malrow { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px 14px; background: none; border: 0; color: var(--text); text-align: left; font: inherit; cursor: pointer; }
.malrow + .malrow { border-top: 1px solid color-mix(in srgb, var(--soon) 20%, transparent); }
.malrow > .i { color: var(--muted); flex: none; }
.malic { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--card); color: var(--soon); }
.malt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.malt1 { font-weight: 600; }
.malt2 { font-size: 14px; color: var(--muted); }
.trl { font-weight: 600; }
.trbadge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--soon-tint); color: var(--soon); font-size: 14px; font-weight: 600; margin-top: 4px; }
.trbadge:empty { display: none; }
#sheet-trial .pbh { margin: 10px 0 4px; }
.trsub { margin: 0 0 8px; color: var(--muted); }
.trbtn { justify-content: center; }
.trfacts { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; margin: 8px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--fill); }
.trfacts dt { color: var(--muted); }
.trfacts dd { margin: 0; font-weight: 600; text-align: right; }
.trnote { margin: 4px 0 0; }
.trpick { display: grid; gap: 6px; margin: 12px 0 4px; }
/* v450 (Money step 4): a receipt's Add a warranty / Add a return date (docs/mockups/bills-money/ "An old receipt") */
.rcdates { margin: 12px 0 4px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.rcadd { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 10px 14px; background: none; border: 0; color: var(--accent-text); font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.rcadd > span { flex: 1; }
.rcadd > .i:last-child { color: var(--muted); transition: transform .15s; }
.rcadd[aria-expanded="true"] > .i:last-child { transform: rotate(90deg); }
.rcadd + .rcadd, .rcpanel + .rcadd { border-top: 1px solid var(--line); }
.rcpanel { padding: 0 14px 12px; display: grid; gap: 8px; }
.rcpanel p { margin: 0; }
.rcchips { flex-wrap: wrap; }
.rcother { grid-template-columns: 1fr auto; align-items: center; margin: 0; }
@media (prefers-reduced-motion: reduce) { .rcadd > .i:last-child { transition: none; } }
/* v451 (Money step 5): Export to a spreadsheet: a quiet line at the very bottom of Money, and its sheet */
.mxq { display: grid; justify-items: center; gap: 2px; margin: 18px 0 6px; text-align: center; }
.mxlnk { gap: 6px; min-height: 44px; }
.mxq small { font-size: 13px; }
.mxl { font-size: 14px; font-weight: 600; color: var(--muted); margin: 6px 0 -2px; }
.mxseg .chip { min-height: 44px; }
.mxgo { flex-direction: column; justify-content: center; align-items: center; gap: 2px; min-height: 60px; margin-top: 4px; }
.mxgo1 { display: inline-flex; align-items: center; gap: 8px; }
.mxgo small { font-weight: 400; font-size: 13px; opacity: .85; }
/* 091 (A of docs/mockups/birthdays-types/): the Type row of a birthday (Add popup) and its four choices */
.ibtn.occbtn{display:inline-flex;align-items:center;gap:6px}
.occchips{padding-top:4px}
.occchips .chip,.rdquick .chip[data-occ]{display:inline-flex;align-items:center;gap:6px}


/* v461 Daily summary (docs/mockups/today-your-day-morning/): the row that waits at the top of Today, its sheet, and the quiet way back */
.dsumslot:empty{display:none}
.dsumslot{margin:0 0 12px}
.dsumrow{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:10px 14px;border:1.5px solid var(--accent);border-radius:16px;background:var(--accent-tint);color:var(--text);font:inherit;text-align:left;cursor:pointer}
.dsumrow:focus-visible,.dsw:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.dsumi{position:relative;flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:var(--card);color:var(--accent-text)}
.dsumi .i{width:20px;height:20px}
.dsumi::after{content:"";position:absolute;top:-5px;right:-5px;width:13px;height:13px;border-radius:50%;background:var(--accent);border:2px solid var(--accent-tint)}
.dsumt{flex:1;min-width:0}
.dsumt b{display:block;font-size:16px;font-weight:600}
.dsumt span{display:block;font-size:15px;overflow-wrap:anywhere}
.dsum-date{margin:0 0 4px;color:var(--muted);font-size:15px}
.dsum-note{margin:0 0 18px;font-size:22px;line-height:1.5;overflow-wrap:anywhere}
.dsw{display:inline-flex;align-items:center;vertical-align:middle;min-height:44px;margin:3px 2px;padding:4px 10px;border:0;border-radius:12px;background:var(--accent-tint);color:var(--accent-text);font:inherit;font-weight:600;line-height:1.25;text-align:left;cursor:pointer}
.dsw.od{background:var(--danger-tint);color:var(--danger)}
.dsw.dswn{cursor:default}
.dsum-also{margin:0 2px 8px;font-size:15px;font-weight:600;color:var(--muted)}
.dsum-body .group{margin:0 0 12px}
.dsumagain{display:flex;margin:14px auto 0;min-height:44px;color:var(--muted);font-size:14px}

/* v462 SIMPLE VIEW on Today and the short list on the left, computers only (Chris, 13 Nov 2026, docs/mockups/desktop-short-sidebar-kid-view/).
   The gray view button sits at the right of Today's title: two 44px icons in one --fill capsule, the chosen one on a white chip.
   Simple view: a greeting, at most one red Overdue line, then the blocks two across (one across while Chat is docked or the page is
   narrow). A block is a card with its app's colored icon and name as one button, then Today's own rows with a bigger check. */
.vsw{display:inline-flex;flex:none;gap:2px;padding:2px;border-radius:12px;background:var(--fill)}
.vsw[hidden]{display:none}
.vsw button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:10px;background:none;color:var(--muted);cursor:pointer;-webkit-tap-highlight-color:transparent}
.vsw button .i{width:20px;height:20px}
.vsw button[aria-pressed="true"]{background:var(--card);color:var(--text);box-shadow:0 1px 2px rgba(20,30,40,.16)}
.vsw button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
@media (hover:hover){.vsw button[aria-pressed="false"]:hover{color:var(--text)}}
#s-today.simon #today-for,#s-today.simon #today-sum,#s-today.simon #today-dsum,#s-today.simon #today-dinner,#s-today.simon #today-shortcuts,#s-today.simon #today-qa,#s-today.simon #today-side{display:none!important}
#s-today.simon .todaycols{display:block}
html.v2 #s-today.simon .pad{max-width:920px;--nd-pad-max:920px}
.simtop{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 10px}
.simhello{margin:0;min-width:0;font-size:18px;line-height:1.35;color:var(--muted)}
.simeditb{flex:none;min-height:44px;min-width:44px;margin-right:-6px;padding:0 14px;border:0;border-radius:12px;background:none;color:var(--accent-text);font:inherit;font-size:16px;font-weight:600;cursor:pointer}
.simeditb:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
@media (hover:hover){.simeditb:hover{background:var(--fill)}}
.simhello b{font-weight:600;color:var(--text)}
.simod{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;margin:0 0 16px;padding:6px 14px;border:0;border-radius:12px;background:var(--danger-tint);color:var(--danger);font:inherit;font-size:16px;font-weight:600;line-height:1.3;text-align:left;cursor:pointer}
.simod .i{flex:none;width:20px;height:20px}
.simod span{flex:1;min-width:0;overflow-wrap:anywhere}
.simod:focus-visible,.simh:focus-visible,.simbig:focus-visible,.simmore:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
.simgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.chat-docked .simgrid{grid-template-columns:minmax(0,1fr)}
@media (max-width:1180px){.simgrid{grid-template-columns:minmax(0,1fr)}}
.simcard{margin:0;padding:0;overflow:hidden;border-radius:16px}
.simh{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;margin:0;padding:12px 16px;border:0;border-radius:0;background:none;color:var(--text);font:inherit;font-size:18px;font-weight:700;line-height:1.25;text-align:left;cursor:pointer}
.simh .simn{flex:1;min-width:0;overflow-wrap:anywhere}
.simh .simc{flex:none;font-size:15px;font-weight:600;color:var(--muted)}
@media (hover:hover){.simh:hover,.simbig:hover,.simmore:hover{background:color-mix(in srgb,var(--fill) 55%,transparent)}}
.simic{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:10px}
.simic .i{width:20px;height:20px}
.simic.dskic{background:linear-gradient(to bottom,var(--ap-hi,var(--ap,var(--accent))),var(--ap-lo,var(--ap,var(--accent))));color:var(--ap-sym,#fff)}
.simic.simnext{background:var(--accent-tint);color:var(--accent-text)}
html.v2 .simcard>.simrows{border:0!important;border-top:1px solid var(--line)!important;border-radius:0!important;background:none;box-shadow:none;margin:0}
.simcard .simrows>.trow:first-child,.simcard .simrows>.trwrap:first-child,.simcard .simrows>.simlab:first-child+*{border-top:0}
.simcard .trow{min-height:64px}
.simcard .trow .trt{font-size:17px}
html.v2 #today-simple .simcard .v2tick{width:48px;height:48px;margin-right:12px;border:2px solid var(--accent);border-radius:50%;color:var(--accent-text);background:var(--card)}
html.v2 #today-simple .simcard .v2tick .i{width:24px;height:24px}
.simlab{margin:0;padding:10px 16px 0;font-size:14px;font-weight:600;color:var(--muted)}
.simnone{margin:0;padding:14px 16px 16px;border-top:1px solid var(--line);font-size:16px;color:var(--muted)}
.simbig{display:flex;flex-direction:column;gap:2px;width:100%;min-height:72px;margin:0;padding:14px 16px 16px;border:0;border-top:1px solid var(--line);border-radius:0;background:none;color:var(--text);font:inherit;text-align:left;cursor:pointer}
.simbig .simbt{font-size:22px;font-weight:700;line-height:1.2;overflow-wrap:anywhere}
.simbig .simbm{font-size:16px;color:var(--muted)}
.simbig.simbige .simbt{font-size:16px;font-weight:400;color:var(--muted)}
.simbig.simbige .simbm{font-weight:600;color:var(--accent-text)}
.simshop{min-height:52px!important}
.simtick{flex:none;width:24px;height:24px;border:2px solid var(--muted);border-radius:50%;opacity:.55}
.simmore{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:48px;margin:0;padding:0 16px;border:0;border-top:1px solid var(--line);border-radius:0;background:none;color:var(--muted);font:inherit;font-size:15px;text-align:left;cursor:pointer}
.simmore .i{width:18px;height:18px}
/* the sheet "Blocks on Today" */
.simhint{margin:0 2px 12px;font-size:14px;line-height:1.4;color:var(--muted)}
.simsec{margin:16px 2px 8px;font-size:15px;font-weight:600;color:var(--muted)}
.simlist{margin:0}
.simrow{display:flex;align-items:center;gap:12px;min-height:56px;padding:0 4px 0 6px;border-top:1px solid var(--line);background:var(--card);font-size:16px;font-weight:600;color:var(--text)}
.simrow:first-child{border-top:0}
.simrow .simrn{flex:1;min-width:0;overflow-wrap:anywhere}
.simpm{flex:none;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:10px;background:none;cursor:pointer}
.simpm .i{width:24px;height:24px}
.simminus{color:var(--danger)} .simplus{color:var(--ok)}
.simpm:disabled{color:var(--muted);opacity:.45;cursor:default}
.simpm:focus-visible{outline:3px solid var(--accent);outline-offset:-2px}
.simrow .v2handle{display:grid;place-items:center;flex:none;width:44px;height:44px;margin:0;padding:0;border:0;background:none;color:var(--muted);cursor:grab;touch-action:none}
.simrow .v2handle .i{width:22px;height:22px}
.v2ghost.simrow{padding:0 4px 0 6px;gap:12px}
.simrow.v2place{opacity:.35}
/* the short list on the left: All apps, and the line in Edit */
html.v2 #dsk-nav .tab.dskall .dskallic{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:8px;background:var(--accent-tint);color:var(--accent-text)}
html.v2 #dsk-nav .tab.dskall .dskallic .i{width:17px;height:17px}
html.v2 #dsk-nav .tab.dskall .dskallc{margin-left:auto;display:grid;place-items:center;color:var(--muted)}
html.v2 #dsk-nav .tab.dskall .dskallc .i{width:18px;height:18px}
html.v2 .dskcat.dskbelow{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
/* v462: while editing the list, an app keeps its colored icon (the native-desktop rows had lost it: white symbols on a white row) */
@media (min-width:1024px){
  html.v2.native-desktop #dsk-nav .dskrow .tabic.dskic{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:linear-gradient(to bottom,var(--ap-hi,var(--ap)),var(--ap-lo,var(--ap)))!important;box-shadow:none}
  html.v2.native-desktop #dsk-nav .dskrow .tabic.dskic .i{width:17px;height:17px;color:var(--ap-sym,#fff);filter:none}
}
/* v465 (Chris chose A of docs/mockups/today-plus-ring/ "with the hold to talk", 13 Nov 2026; "Yes, website too"): below 1024 px Today has no
   Ask the Fridge box and no mic at the top any more (a computer lost them in v398); the + is the one place to add or ask and wears the AI ring:
   the four AI colors, 3 px, a 3 px gap in the page color, the accent + inside. The ring never moves. Holding the + talks since v158. */
@media (max-width:1023px){
  html.v2 #ask-form,html.v2 #ask-answer{display:none!important}
  html.v2 .fab,html.v2.navmin .fab{background-color:transparent;box-shadow:none;
    background-image:radial-gradient(circle closest-side,var(--accent) calc(100% - 6.4px),var(--bg) calc(100% - 5.7px) calc(100% - 3.4px),transparent calc(100% - 2.7px)),conic-gradient(from 210deg,#3B82F6,#7C5CE0,#D0559F,#F2A33A,#3B82F6)}
  html.v2 .fab .i,html.v2.navmin .fab .i{width:26px;height:26px}
}
@media (max-width:1023px) and (prefers-contrast:more){html.v2 .fab,html.v2.navmin .fab{background-image:none;background-color:var(--accent)}}   /* More contrast: the plain + */
/* v466 (Chris, 13 Nov 2026: "none should be red, red should only be for overdue on the app or a persons color"): the number on an app is the
   fridge's color everywhere (Today's shortcuts, the Apps page, a computer's list); .late = it counts something overdue (today only Chores), red. */
.v2qa .qaapps .hbdg,html.v2 #dsk-nav .dskbdg,html.v2 #home-menu .hrbdg{background:var(--accent);color:var(--on-accent)}
.v2qa .qaapps .hbdg.late,html.v2 #dsk-nav .dskbdg.late,html.v2 #home-menu .hrbdg.late,html.v2 #home-tools.v2apps .hbdg.late{background:var(--danger);color:var(--card)}

/* v468 Today's new look (Chris chose docs/mockups/today-phone-new-look/, 14 Nov 2026; the same in Fridge Native): the fridge's color fades down from
   the top of Today, the Daily summary row is a slim banner in that color, white cards have a soft shadow and no thin edge, headings are 18 bold,
   Today's Settings / History / Trash pills are white. Rows, sections and the bottom bar are unchanged. All colors are worked out from the tone's
   tokens: --tb1/--tb2 = the banner's two ends, never lighter than the tone's own color, so white words pass 4.5:1 on every tone in light and dark
   (--tbb = the plain color under the fade, the one the tests' contrast check reads), --tsh = the shadow. */
:root{--tsh:0 1px 2px rgba(20,30,25,.05),0 8px 24px rgba(20,30,25,.06);--tb1:color-mix(in srgb,var(--accent),#000 22%);--tb2:var(--accent);--tbb:var(--accent);--twash:14%;--tglow:21%}
:root[data-theme="dark"]{--tsh:0 1px 2px rgba(0,0,0,.35);--tb1:color-mix(in srgb,var(--accent) 32%,#000);--tb2:color-mix(in srgb,var(--accent) 50%,#000);--tbb:var(--accent-tint);--twash:9%;--tglow:15%}
@media (prefers-color-scheme:dark){:root[data-theme="system"]{--tsh:0 1px 2px rgba(0,0,0,.35);--tb1:color-mix(in srgb,var(--accent) 32%,#000);--tb2:color-mix(in srgb,var(--accent) 50%,#000);--tbb:var(--accent-tint);--twash:9%;--tglow:15%}}
html.v2 #s-today{background-image:radial-gradient(circle at 100% 130px,color-mix(in srgb,var(--accent) var(--tglow),transparent),transparent 260px),linear-gradient(color-mix(in srgb,var(--accent) var(--twash),var(--bg)),var(--bg) 400px);background-repeat:no-repeat}
html.v2 #today-for .seg{border-color:transparent;box-shadow:var(--tsh)}
html.v2 #today-for:has(~ .todaycols #dsum-row) #today-cnt{visibility:hidden}   /* the banner says it; it keeps its place for when the banner has been read */
html.v2 #dsum-row.dsumrow{border:0;padding:10px 14px 10px 16px;color:#fff;background:var(--tbb) linear-gradient(110deg,var(--tb1),var(--tb2));box-shadow:var(--tsh)}
html.v2 #dsum-row .dsumi{width:24px;height:24px;background:none;color:#fff}
html.v2 #dsum-row .dsumi .i{width:24px;height:24px}
html.v2 #dsum-row .dsumi::after{display:none}
html.v2 #dsum-row .dsumt span{opacity:.92}
html.v2 #dsum-row .trc{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#fff;color:var(--tb1)}
html.v2 #dsum-row:focus-visible{outline-color:var(--text)}
html.v2 #today-din.v2din,html.v2 #today-body .group.tgroup,html.v2 #today-qa .qagrid.qaapps,html.v2 #today-setup.qasetup{border-color:transparent;box-shadow:var(--tsh)}
html.v2 #today-setup.qasetup{background:var(--card)}
html.v2 #today-body .native-section-title,html.v2 #today-qa #qa-h{font-size:18px;font-weight:700;color:var(--text)}
html.v2 #today-body .tsg.od .native-section-title{color:var(--danger)}
html.v2 #today-you .pfbtn{background:var(--card);box-shadow:var(--tsh)}
@media (prefers-contrast:more){html.v2 #dsum-row.dsumrow{background-image:none}html.v2 #s-today{background-image:none}}

/* v489 THE + FORM ON THE FORM TEMPLATE (Chris chose docs/mockups/website-forms/, 14 Nov 2026; the phone has it since v470). The type is a
   pale pill ABOVE the title, the title is its own white card, "when" and the details are two cards, soft shadows and no thin edges, and
   the sheet closes with the word Cancel (top left), not an X. Only the B form (#sheet-add.bform); the markup did not move: the cards are
   drawn by these rules, so the tests that look for #add-tcard, #add-ktag-b and #add-rows still find them. */
html.v2 #sheet-add #add-main > .addhead .addcancel{width:auto;min-width:44px;min-height:44px;padding:0 8px;border:0;border-radius:12px;background:none;box-shadow:none;color:var(--accent);font:inherit;font-size:17px;font-weight:600}
html.v2 #sheet-add #add-main > .addhead .addcancel:hover{background:var(--accent-tint)}
html.v2 #sheet-add.bform .tcard{background:none;border:0;border-radius:0;padding:0;overflow:visible;box-shadow:none}
html.v2 #sheet-add.bform .tcard:focus-within{box-shadow:none}
html.v2 #sheet-add.bform .tcard .ktag{margin:0}
html.v2 #sheet-add.bform .tcard #add-tiles{margin:6px 0 4px}
html.v2 #sheet-add.bform .tcard #add-title-f{margin-top:6px;border:0;border-radius:16px;background:var(--card);box-shadow:var(--tsh)}
html.v2 #sheet-add.bform .tcard #add-title-f:focus-within{box-shadow:0 0 0 2px var(--accent)}
html.v2 #sheet-add.bform .tcard #f-text,html.v2 #sheet-add.bform .tcard #f-text:focus{min-height:58px;padding:10px 16px;border-radius:16px;box-shadow:none}
html.v2 #sheet-add.bform .bcard{background:none;border:0;border-radius:0;overflow:visible;box-shadow:none}
html.v2 #sheet-add.bform .bcard .frows{filter:drop-shadow(0 1px 2px rgba(20,30,25,.05)) drop-shadow(0 8px 24px rgba(20,30,25,.06))}
html.v2 #sheet-add.bform .bcard .frows > *{background-color:var(--card)}
html.v2 #sheet-add.bform .bcard .frows > :first-child{border-top-left-radius:16px;border-top-right-radius:16px}
html.v2 #sheet-add.bform .bcard .frows > :last-child{border-bottom-left-radius:16px;border-bottom-right-radius:16px}
html.v2 #sheet-add.bform .bcard .frows > .wsw ~ [data-row="when"]:not(:last-child){border-bottom-left-radius:16px;border-bottom-right-radius:16px;margin-bottom:12px}
html.v2 #sheet-add.bform .bcard .frows > .wsw ~ [data-row="when"] + *{border-top:0;border-top-left-radius:16px;border-top-right-radius:16px}
/* the open day / time list (#inl-panel) sits right under the When row and belongs to the "when" card: the card ends after it */
html.v2 #sheet-add.bform .bcard .frows > .wsw ~ [data-row="when"]:has(+ #inl-panel){border-bottom-left-radius:0;border-bottom-right-radius:0;margin-bottom:0}
html.v2 #sheet-add.bform .bcard .frows > .wsw ~ [data-row="when"] + #inl-panel{border-top-left-radius:0;border-top-right-radius:0}
html.v2 #sheet-add.bform .bcard .frows > .wsw ~ [data-row="when"] + #inl-panel:not(:last-child){border-bottom-left-radius:16px;border-bottom-right-radius:16px;margin-bottom:12px}
html.v2 #sheet-add.bform .bcard .frows > .wsw ~ [data-row="when"] + #inl-panel + *{border-top:0;border-top-left-radius:16px;border-top-right-radius:16px}
/* v489 fix (Chris on TEST 2283, with a picture of the open For row: "it doesn't make sense ... no way to know how to make the accordion go
   up"): the rule above painted the OPEN row and its panel white too, under their white words. An open row on the + form is now the
   phone's pale block (v484, B of docs/mockups/open-row/): pale bar, bold words in the fridge color, the arrow up, joined to its pale panel. */
html.v2 #sheet-add.bform .bcard .frows > .frow.open{background-color:var(--accent-tint);--acc-open-fg:var(--accent-text,var(--accent));border-bottom:0}
html.v2 #sheet-add.bform .bcard .frows > .frow.open :is(.frl,.frm,.frv){font-weight:700}
/* the same for "More options / Fewer options" (.fmore): open, its words were white on the white row (found by the medicine and appointment contrast checks) */
html.v2 #sheet-add.bform .bcard .frows > .frow.fmore[aria-expanded="true"]{background-color:var(--accent-tint);--acc-open-fg:var(--accent-text,var(--accent))}
html.v2 #sheet-add.bform .bcard .frows > .frow.fmore[aria-expanded="true"] :is(.frl,.frm,.frs,.frv,.trc,.i){color:var(--accent-text,var(--accent))}
html.v2 #sheet-add.bform .bcard .frows > #add-pick.inline{background-color:var(--accent-tint);border-top:0}
/* v489 A ROW'S CHOICES LIKE THE PHONE'S (Chris, 14 Nov 2026, after trying a floating menu on TEST 2285: "why don't we just do the menus
   from mobile? They are made to be clicked quickly"; asked, "Yes, like the phone"). On the B form the choices open under the row in the
   pale block, as before, but drawn for one tap: Repeat is a row of buttons (a tap picks and closes), For is faces with a check. No Done
   button on those two: tap the row's bar, another row or Save. The list rows (.prow) keep their markup and roles; only their look changes.
   Chris accepted that the per-person time and "Add a person" leave this list. Other kinds' choices (medicine, chore ...) keep their lists. */
html.v2 #sheet-add.bform #add-pick.inline:has(.plist[aria-label="Repeat"]) .pickhead,html.v2 #sheet-add.bform #add-pick.inline:has(.plist[aria-label="People"]) .pickhead{display:none}
html.v2 #sheet-add.bform #add-pick.inline #pick-body{padding:10px 14px 2px}
/* Repeat: buttons */
html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Repeat"]{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible}
html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Repeat"] > .prow{width:auto;min-height:44px;padding:0 14px;gap:6px;border:1px solid var(--line);border-radius:999px;background:var(--card)}
html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Repeat"] > .prow .prb{flex:none}
html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Repeat"] > .prow .prt{font-size:15px;font-weight:600}
html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Repeat"] > .prow .prs,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Repeat"] > .prow .prc:not(.on){display:none}
html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Repeat"] > .prow[aria-checked="true"]{border:2px solid var(--accent);padding:0 13px}
html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Repeat"] > .prow .prc.on{order:-1;width:auto;height:auto;border:0;background:none;color:var(--accent-text,var(--accent))}
/* For: faces with a check */
html.v2 #sheet-add.bform #add-pick.inline #pick-body:has(.plist[aria-label="People"]){display:flex;flex-wrap:wrap;align-items:flex-start;gap:4px 2px}
html.v2 #sheet-add.bform #add-pick.inline #pick-body:has(.plist[aria-label="People"]) > .group.plist:not(.xc-ways){display:contents}
html.v2 #sheet-add.bform #add-pick.inline #pick-body:has(.plist[aria-label="People"]) > :is(.plabel,.whoadd){display:none}
html.v2 #sheet-add.bform #add-pick.inline #pick-body:has(.plist[aria-label="People"]) > :is(.pnote,.pwarn,.xc-ways){flex:0 0 100%}
html.v2 #sheet-add.bform #add-pick.inline #pick-body:has(.plist[aria-label="People"]) .plist:not(.xc-ways) > .prow{position:relative;flex-direction:column;justify-content:flex-start;gap:6px;width:84px;min-height:92px;padding:8px 2px 4px;border:0;background:none;text-align:center}
html.v2 #sheet-add.bform #add-pick.inline #pick-body:has(.plist[aria-label="People"]) .plist:not(.xc-ways) > .prow :is(.av,.allic){width:52px;height:52px;flex:none}
html.v2 #sheet-add.bform #add-pick.inline #pick-body:has(.plist[aria-label="People"]) .plist:not(.xc-ways) > .prow[aria-checked="false"] :is(.av,.allic){opacity:.55}
html.v2 #sheet-add.bform #add-pick.inline #pick-body:has(.plist[aria-label="People"]) .plist:not(.xc-ways) > .prow[aria-checked="true"] :is(.av,.allic){box-shadow:0 0 0 2px var(--accent-tint),0 0 0 4px var(--accent)}
html.v2 #sheet-add.bform #add-pick.inline #pick-body:has(.plist[aria-label="People"]) .plist:not(.xc-ways) > .prow .prb{flex:none;align-items:center;max-width:100%}
html.v2 #sheet-add.bform #add-pick.inline #pick-body:has(.plist[aria-label="People"]) .plist:not(.xc-ways) > .prow .prt{font-size:14px;font-weight:600;line-height:1.2;overflow-wrap:anywhere}
html.v2 #sheet-add.bform #add-pick.inline #pick-body:has(.plist[aria-label="People"]) .plist:not(.xc-ways) > .prow[aria-checked="false"] .prt{color:var(--muted);font-weight:400}
html.v2 #sheet-add.bform #add-pick.inline #pick-body:has(.plist[aria-label="People"]) .plist:not(.xc-ways) > .prow :is(.prs,.ptime),html.v2 #sheet-add.bform #add-pick.inline #pick-body:has(.plist[aria-label="People"]) .plist:not(.xc-ways) > .prow .prc:not(.on){display:none}
html.v2 #sheet-add.bform #add-pick.inline #pick-body:has(.plist[aria-label="People"]) .plist:not(.xc-ways) > .prow .prc.on{position:absolute;top:42px;left:calc(50% + 8px);width:22px;height:22px;border:2px solid var(--accent-tint)}
/* v489, the other kinds (medicine, chore, appointment, home upkeep, homework), the same look: short single choices are buttons, people are faces */
html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="How long"],html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="How often"],html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Travel time"],html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Earlier reminder"],html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Subject"]{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible}
html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="How long"] > .prow,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="How often"] > .prow,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Travel time"] > .prow,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Earlier reminder"] > .prow,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Subject"] > .prow{width:auto;min-height:44px;padding:0 14px;gap:6px;border:1px solid var(--line);border-radius:999px;background:var(--card)}
html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="How long"] > .prow .prb,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="How often"] > .prow .prb,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Travel time"] > .prow .prb,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Earlier reminder"] > .prow .prb,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Subject"] > .prow .prb{flex:none}
html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="How long"] > .prow .prt,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="How often"] > .prow .prt,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Travel time"] > .prow .prt,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Earlier reminder"] > .prow .prt,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Subject"] > .prow .prt{font-size:15px;font-weight:600}
html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="How long"] > .prow .prs,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="How often"] > .prow .prs,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Travel time"] > .prow .prs,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Earlier reminder"] > .prow .prs,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Subject"] > .prow .prs,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="How long"] > .prow .prc:not(.on),html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="How often"] > .prow .prc:not(.on),html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Travel time"] > .prow .prc:not(.on),html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Earlier reminder"] > .prow .prc:not(.on),html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Subject"] > .prow .prc:not(.on){display:none}
html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="How long"] > .prow[aria-checked="true"],html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="How often"] > .prow[aria-checked="true"],html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Travel time"] > .prow[aria-checked="true"],html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Earlier reminder"] > .prow[aria-checked="true"],html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Subject"] > .prow[aria-checked="true"]{border:2px solid var(--accent);padding:0 13px}
html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="How long"] > .prow .prc.on,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="How often"] > .prow .prc.on,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Travel time"] > .prow .prc.on,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Earlier reminder"] > .prow .prc.on,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Subject"] > .prow .prc.on{order:-1;width:auto;height:auto;border:0;background:none;color:var(--accent-text,var(--accent))}
html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who is taking them"],html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who is doing it"],html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Parents who see it"],html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who to tell"]{display:flex;flex-wrap:wrap;align-items:flex-start;gap:4px 2px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible}
html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who is taking them"] > .prow,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who is doing it"] > .prow,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Parents who see it"] > .prow,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who to tell"] > .prow{position:relative;flex-direction:column;justify-content:flex-start;gap:6px;width:84px;min-height:92px;padding:8px 2px 4px;border:0;background:none;text-align:center}
html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who is taking them"] > .prow .av,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who is doing it"] > .prow .av,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Parents who see it"] > .prow .av,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who to tell"] > .prow .av{width:52px;height:52px;flex:none}
html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who is taking them"] > .prow:not(:has(.av))::before,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who is doing it"] > .prow:not(:has(.av))::before,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Parents who see it"] > .prow:not(:has(.av))::before,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who to tell"] > .prow:not(:has(.av))::before{content:'';flex:none;width:52px;height:52px;border-radius:50%;border:2px dashed var(--muted);box-sizing:border-box}
html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who is taking them"] > .prow[aria-checked="false"] .av,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who is doing it"] > .prow[aria-checked="false"] .av,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Parents who see it"] > .prow[aria-checked="false"] .av,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who to tell"] > .prow[aria-checked="false"] .av{opacity:.55}
html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who is taking them"] > .prow[aria-checked="true"] .av,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who is doing it"] > .prow[aria-checked="true"] .av,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Parents who see it"] > .prow[aria-checked="true"] .av,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who to tell"] > .prow[aria-checked="true"] .av,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who is taking them"] > .prow[aria-checked="true"]:not(:has(.av))::before,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who is doing it"] > .prow[aria-checked="true"]:not(:has(.av))::before,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Parents who see it"] > .prow[aria-checked="true"]:not(:has(.av))::before,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who to tell"] > .prow[aria-checked="true"]:not(:has(.av))::before{box-shadow:0 0 0 2px var(--accent-tint),0 0 0 4px var(--accent)}
html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who is taking them"] > .prow .prb,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who is doing it"] > .prow .prb,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Parents who see it"] > .prow .prb,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who to tell"] > .prow .prb{flex:none;align-items:center;max-width:100%}
html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who is taking them"] > .prow .prt,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who is doing it"] > .prow .prt,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Parents who see it"] > .prow .prt,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who to tell"] > .prow .prt{font-size:14px;font-weight:600;line-height:1.2;overflow-wrap:anywhere}
html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who is taking them"] > .prow[aria-checked="false"] .prt,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who is doing it"] > .prow[aria-checked="false"] .prt,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Parents who see it"] > .prow[aria-checked="false"] .prt,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who to tell"] > .prow[aria-checked="false"] .prt{color:var(--muted);font-weight:400}
html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who is taking them"] > .prow .prs,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who is doing it"] > .prow .prs,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Parents who see it"] > .prow .prs,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who to tell"] > .prow .prs,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who is taking them"] > .prow .prc:not(.on),html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who is doing it"] > .prow .prc:not(.on),html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Parents who see it"] > .prow .prc:not(.on),html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who to tell"] > .prow .prc:not(.on){display:none}
html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who is taking them"] > .prow .prc.on,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who is doing it"] > .prow .prc.on,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Parents who see it"] > .prow .prc.on,html.v2 #sheet-add.bform #add-pick.inline .plist[aria-label="Who to tell"] > .prow .prc.on{position:absolute;top:42px;left:calc(50% + 8px);width:22px;height:22px;border:2px solid var(--accent-tint)}
/* no Done where one tap closes the row (Travel, Also remind, Taking them) or where it is faces (tap the row's bar, another row or Save) */
html.v2 #sheet-add.bform #add-pick.inline:has(.plist[aria-label="Travel time"]) .pickhead,html.v2 #sheet-add.bform #add-pick.inline:has(.plist[aria-label="Earlier reminder"]) .pickhead,html.v2 #sheet-add.bform #add-pick.inline:has(.plist[aria-label="Who is taking them"]) .pickhead,html.v2 #sheet-add.bform #add-pick.inline:has(.plist[aria-label="Who is doing it"]) .pickhead,html.v2 #sheet-add.bform #add-pick.inline:has(.plist[aria-label="Parents who see it"]) .pickhead{display:none}

/* v490 (Chris, 14 Nov): on a computer the open time button is a box to type in, with the nearby half hours to click under it */
html.v2 .sheet input.ibtn.tin{width:104px;min-height:44px;text-align:center;border:2px solid var(--accent);background:var(--card);color:var(--text);box-shadow:none;outline:0;font-weight:700;cursor:text}
html.v2 .sheet input.ibtn.tin:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 22%,transparent)}
html.v2 .sheet input.ibtn.tin.bad{border-color:var(--danger)}
.tgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.tgb{min-height:44px;border-radius:12px;border:1px solid var(--line);background:var(--card);color:var(--text);font:inherit;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums;cursor:pointer;white-space:nowrap;padding:0 4px}
.tgb:hover{border-color:var(--accent)}
.tgb[aria-pressed="true"]{border:2px solid var(--accent);background:var(--accent-tint);color:var(--accent-text,var(--accent))}
.ipanel.tpanel .ihint{margin:10px 0 0;text-align:left}

/* v491 THE BILL, SUBSCRIPTION, BIRTHDAY AND RENEWAL FORMS ON THE FORM TEMPLATE (Chris, 14 Nov 2026, docs/mockups/website-forms-2/: "Yes, build it").
   They are the B form now (#sheet-add.bform.bmore): the v489 rules above draw the pill, the title card and the soft rows. Here: the two
   cards ("when and how much", then "who and reminders": the second starts at Who pays / Remind / For) and a birthday's Type under its pill. */
html.v2 #sheet-add.bform.bmore .bcard .frows > :has(+ :is([data-row="cwho"],[data-row="who"])){border-bottom-left-radius:16px;border-bottom-right-radius:16px;margin-bottom:12px;border-bottom:0}
html.v2 #sheet-add.bform.bmore .bcard .frows > :is([data-row="cwho"],[data-row="who"]){border-top:0;border-top-left-radius:16px;border-top-right-radius:16px}
html.v2 #sheet-add.bform.bmore .tcard .occpanel{margin:6px 0 4px;padding:0;border:0;background:none}

/* v492 QUICK CHOICES ON THE BILL, SUBSCRIPTION, BIRTHDAY AND RENEWAL FORMS (Chris, 14 Nov 2026: "Yes, build them"). Their choices open under
   the row like the + form's (app.js INL_T). The lists carry a class: .qbtn = buttons, .qface = faces, .qclose = one tap closes (no title, no Done).
   The rules below are the v489 ones for "How long" (buttons) and "Who is taking them" (faces), by class instead of by name. */
html.v2 #sheet-add.bform #add-pick.inline .plist.qbtn{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible}
html.v2 #sheet-add.bform #add-pick.inline .plist.qbtn > .prow{width:auto;min-height:44px;padding:0 14px;gap:6px;border:1px solid var(--line);border-radius:999px;background:var(--card)}
html.v2 #sheet-add.bform #add-pick.inline .plist.qbtn > .prow .prb{flex:none}
html.v2 #sheet-add.bform #add-pick.inline .plist.qbtn > .prow .prt{font-size:15px;font-weight:600}
html.v2 #sheet-add.bform #add-pick.inline .plist.qbtn > .prow .prs{display:none}
html.v2 #sheet-add.bform #add-pick.inline .plist.qbtn > .prow[aria-checked="true"]{border:2px solid var(--accent);padding:0 13px}
html.v2 #sheet-add.bform #add-pick.inline .plist.qbtn > .prow .prc.on{order:-1;width:auto;height:auto;border:0;background:none;color:var(--accent-text,var(--accent))}
html.v2 #sheet-add.bform #add-pick.inline .plist.qface{display:flex;flex-wrap:wrap;align-items:flex-start;gap:4px 2px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible}
html.v2 #sheet-add.bform #add-pick.inline .plist.qface > .prow{position:relative;flex-direction:column;justify-content:flex-start;gap:6px;width:84px;min-height:92px;padding:8px 2px 4px;border:0;background:none;text-align:center}
html.v2 #sheet-add.bform #add-pick.inline .plist.qface > .prow .av{width:52px;height:52px;flex:none}
html.v2 #sheet-add.bform #add-pick.inline .plist.qface > .prow:not(:has(.av))::before{content:'';flex:none;width:52px;height:52px;border-radius:50%;border:2px dashed var(--muted);box-sizing:border-box}
html.v2 #sheet-add.bform #add-pick.inline .plist.qface > .prow[aria-checked="false"] .av{opacity:.55}
html.v2 #sheet-add.bform #add-pick.inline .plist.qface > .prow[aria-checked="true"] .av{box-shadow:0 0 0 2px var(--accent-tint),0 0 0 4px var(--accent)}
html.v2 #sheet-add.bform #add-pick.inline .plist.qface > .prow .prb{flex:none;align-items:center;max-width:100%}
html.v2 #sheet-add.bform #add-pick.inline .plist.qface > .prow .prt{font-size:14px;font-weight:600;line-height:1.2;overflow-wrap:anywhere}
html.v2 #sheet-add.bform #add-pick.inline .plist.qface > .prow[aria-checked="false"] .prt{color:var(--muted);font-weight:400}
html.v2 #sheet-add.bform #add-pick.inline .plist.qface > .prow .prs{display:none}
html.v2 #sheet-add.bform #add-pick.inline .plist.qface > .prow .prc.on{position:absolute;top:42px;left:calc(50% + 8px);width:22px;height:22px;border:2px solid var(--accent-tint)}
html.v2 #sheet-add.bform #add-pick.inline .plist.qface > .prow:has(.allic)::before{content:none}
html.v2 #sheet-add.bform #add-pick.inline .plist.qface > .prow .allic{width:52px;height:52px;flex:none;border-radius:50%}
html.v2 #sheet-add.bform #add-pick.inline .plist.qface > .prow[aria-checked="false"] .allic{opacity:.55}
html.v2 #sheet-add.bform #add-pick.inline .plist.qface > .prow[aria-checked="true"] .allic{box-shadow:0 0 0 2px var(--accent-tint),0 0 0 4px var(--accent)}
html.v2 #sheet-add.bform #add-pick.inline:has(.plist.qclose) .pickhead{display:none}
html.v2 #sheet-add.bform #add-pick.inline .plist.qbtn > .prow:disabled{opacity:1}
html.v2 #sheet-add.bform #add-pick.inline .plist:is(.qface,.qbtn) > .prow .prc:not(.on){display:none}
html.v2 #sheet-add.bform #add-pick.inline .plist.qface > .prow .allic{display:grid;place-items:center;background:var(--fill)}
html.v2 #sheet-add.bform #add-pick.inline .plist.qface > .prow .allic .i{width:24px;height:24px}

/* v493 THE CONTACT FORM ON THE FORM TEMPLATE (Chris, 14 Nov 2026, docs/mockups/website-contact-form/: "Yes, build it"). Step 2 only (the
   page of kinds stays): the kind is one pill above the name, the name is its own white card, the phone is a row with an icon, and
   More details is a card whose boxes are rows with icons. The fields and their labels did not move (labels stay for screen readers). */
.ctic{display:inline-flex;flex:none;color:var(--muted)}
.ctic .i{width:22px;height:22px}
html.v2 #sheet-add.ctmode .ctkind{margin:0 0 6px}
.ctkpill{position:relative;isolation:isolate;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 12px 0 10px;border:0;border-radius:999px;background:none;color:var(--accent-text,var(--accent));font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.ctkpill::before{content:'';position:absolute;inset:5px 0;z-index:-1;border-radius:999px;background:var(--accent-tint)}
.ctkpill .i{width:17px;height:17px}
.ctkpill .ktdn{width:13px;height:13px;margin-left:2px}
html.v2 #sheet-add.ctmode #add-title-f{border:0;border-radius:16px;background:var(--card);box-shadow:var(--tsh,0 1px 2px rgba(20,30,25,.05),0 8px 24px rgba(20,30,25,.06))}
html.v2 #sheet-add.ctmode #add-title-f:focus-within{box-shadow:0 0 0 2px var(--accent)}
html.v2 #sheet-add.ctmode #f-text,html.v2 #sheet-add.ctmode #f-text:focus{min-height:58px;padding:10px 16px;border:0;border-radius:16px;background:transparent;box-shadow:none;font-size:19px;font-weight:700}
html.v2 #sheet-add.ctmode #ct-body{display:flex;flex-direction:column;gap:12px;padding-top:12px}
html.v2 #sheet-add.ctmode #ct-body .field:has(> .ctic){display:flex;flex-wrap:wrap;align-items:center;column-gap:12px;min-height:52px;margin:0;padding:0 14px;background:var(--card)}
html.v2 #sheet-add.ctmode #ct-body > .field:has(> .ctic){border-radius:16px;box-shadow:var(--tsh,0 1px 2px rgba(20,30,25,.05),0 8px 24px rgba(20,30,25,.06))}
html.v2 #sheet-add.ctmode #ct-body > .field:has(> .ctic):focus-within{box-shadow:0 0 0 2px var(--accent)}
html.v2 #sheet-add.ctmode #ct-body .field:has(> .ctic) > label{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
html.v2 #sheet-add.ctmode #ct-body .field:has(> .ctic) > .input,html.v2 #sheet-add.ctmode #ct-body .field:has(> .ctic) > .input:focus{flex:1;min-width:0;width:auto;min-height:52px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;outline:0;font-size:16px}
html.v2 #sheet-add.ctmode #ct-body .field:has(> .ctic) > textarea.input{padding:15px 0;line-height:22px;resize:none;field-sizing:content;max-height:140px}
html.v2 #sheet-add.ctmode #ct-body .field:has(> .ctic) > .sum{flex:0 0 100%;margin:-6px 0 10px 34px;font-size:13px}
html.v2 #sheet-add.ctmode #ct-more{order:2;margin:0;padding:0;border:0;border-radius:16px;background:var(--card);box-shadow:var(--tsh,0 1px 2px rgba(20,30,25,.05),0 8px 24px rgba(20,30,25,.06));overflow:hidden}
html.v2 #sheet-add.ctmode #ct-more > summary{display:flex;align-items:center;gap:12px;min-height:52px;padding:0 14px;font-size:16px;font-weight:400;cursor:pointer;border-bottom:0}
html.v2 #sheet-add.ctmode #ct-more > summary::after{margin-left:auto}
html.v2 #sheet-add.ctmode #ct-more[open] > summary{background:var(--accent-tint);color:var(--accent-text,var(--accent));font-weight:700}
html.v2 #sheet-add.ctmode #ct-more[open] > summary .ctic{color:inherit}
html.v2 #sheet-add.ctmode #ct-more > .field{border-top:1px solid var(--line)}
html.v2 #sheet-add.ctmode #ct-more > .field:focus-within{box-shadow:inset 0 0 0 2px var(--accent)}
html.v2 #sheet-add.ctmode #ct-more .ctrows{margin:0;border:0;border-radius:0;background:none;box-shadow:none}
html.v2 #sheet-add.ctmode #ct-more .ctrows > .frow{gap:12px;min-height:52px;padding:0 14px;border-top:1px solid var(--line);border-bottom:0;background:var(--card)}
html.v2 #sheet-add.ctmode #ct-more .ctforhelp{margin:0;padding:8px 14px 12px;font-size:13px;border-top:1px solid var(--line)}
html.v2 #sheet-add.ctmode #ct-vis{order:3;margin:0}
html.v2 #sheet-add.ctmode #ct-err{order:4}
html.v2 #sheet-add.ctmode #ct-more .ctrows > .frow .frm{font-weight:400}

/* v516 invite by email (docs/mockups/invite-by-email/): Add person ends on "Invite sent"; Manage <name> › Email the invite; the
   newsletter switch on Your email; Join a fridge with an invite code in the Show sheet */
.perssent{text-align:center;padding:20px 8px 8px;display:flex;flex-direction:column;align-items:center;gap:8px}
.perssent[hidden]{display:none}
.perssent h3{margin:0;font-size:22px}
.perssent p{margin:0;max-width:34ch}
.sentok{width:56px;height:56px;border-radius:50%;background:var(--ok-tint);color:var(--ok);display:grid;place-items:center}
.sentok .i{width:28px;height:28px}
.pmmail{margin-top:8px}
.pmmailrow{display:flex;flex-direction:column;gap:8px}
.pmmailrow .btn{align-self:flex-start;min-height:44px;min-width:120px}
.jenews{margin-top:12px}
.sp-codebtn{align-self:flex-start;min-height:44px}
/* v517 CALMER APPS on Today (Chris chose docs/mockups/today-apps-soft-icons/, 19 Nov 2026: "build it for B", then "Yes, add all"; the same in
   Fridge Native). Below 1024 px Today's Quick access icons are SOFT: a flat pale square with the symbol in the app's own color, no gradient,
   no rim, no shadow. They already sit together on one white card. --sf-<app> = the square, --sfs-<app> = the symbol, their own values in
   light and dark (each symbol at least 3:1 on its square); they do not change with the fridge's tone. An app with no entry gets the
   fridge's --accent-tint square and --accent-text symbol. Everywhere else (the Apps page, an app's own title, a computer's list) the icons
   keep their full color. Not changed, because the website differs from the phone there: the Apps page (a list on phones and tablets, tiles
   with a description on a computer) and the Add sheet's "Choose a form" pills. */
:root{--sf-shopping:#DAEBDF;--sfs-shopping:#17803A;--sf-postits:#FDF3D7;--sfs-postits:#8A6200;--sf-chores:#D8EAF1;--sfs-chores:#0E7AA6;--sf-location:#DBE9FA;--sfs-location:#1F74E0;--sf-dinner:#F6E1D9;--sfs-dinner:#C8440F;--sf-week:#DBE6FA;--sfs-week:#1E61DE;--sf-homework:#E2E1F7;--sfs-homework:#4A42CF;--sf-medicines:#D8ECE8;--sfs-medicines:#0E8870;--sf-mynotes:#FBEFD8;--sfs-mynotes:#A86E00;--sf-freezer:#DDEBF7;--sfs-freezer:#2B7FCB;--sf-trips:#D8EDED;--sfs-trips:#0E8C8C;--sf-cars:#DFE6EE;--sfs-cars:#3F5870;--sf-pets:#F8E9D2;--sfs-pets:#96560B;--sf-birthdays:#F5DDEB;--sfs-birthdays:#C02A80;--sf-bills:#D9E7DF;--sfs-bills:#126B3A;--sf-subscriptions:#E7E0F8;--sfs-subscriptions:#6A3ED2;--sf-renewals:#ECE3DC;--sfs-renewals:#8A4F26;--sf-contacts:#E5E7E9;--sfs-contacts:#5F6874;--sf-vault:#C8C9CA;--sfs-vault:#1B1D22}
:root[data-theme="dark"]{--sf-shopping:#294331;--sfs-shopping:#5DD16E;--sf-postits:#49442B;--sfs-postits:#FFD84D;--sf-chores:#27424A;--sfs-chores:#52CDEB;--sf-location:#2D3A4E;--sfs-location:#6FA8FF;--sf-dinner:#49392E;--sfs-dinner:#FF9F5E;--sf-week:#303C4E;--sfs-week:#7FB0FF;--sf-homework:#36394D;--sfs-homework:#A09FFA;--sf-medicines:#294542;--sfs-medicines:#5CDCC0;--sf-mynotes:#473E2A;--sfs-mynotes:#F2B94A;--sf-freezer:#32414E;--sfs-freezer:#8CCBFF;--sf-trips:#264142;--sfs-trips:#4FC9C4;--sf-cars:#2F3944;--sfs-cars:#A9C2DB;--sf-pets:#46381F;--sfs-pets:#F0B45C;--sf-birthdays:#493243;--sfs-birthdays:#FF7DC9;--sf-bills:#284035;--sfs-bills:#58C283;--sf-subscriptions:#3B384D;--sfs-subscriptions:#B79AF8;--sf-renewals:#423932;--sfs-renewals:#D9A070;--sf-contacts:#3A3E42;--sfs-contacts:#B4BBC4;--sf-vault:#414448;--sfs-vault:#D5D9DE}
@media (prefers-color-scheme:dark){:root[data-theme="system"]{--sf-shopping:#294331;--sfs-shopping:#5DD16E;--sf-postits:#49442B;--sfs-postits:#FFD84D;--sf-chores:#27424A;--sfs-chores:#52CDEB;--sf-location:#2D3A4E;--sfs-location:#6FA8FF;--sf-dinner:#49392E;--sfs-dinner:#FF9F5E;--sf-week:#303C4E;--sfs-week:#7FB0FF;--sf-homework:#36394D;--sfs-homework:#A09FFA;--sf-medicines:#294542;--sfs-medicines:#5CDCC0;--sf-mynotes:#473E2A;--sfs-mynotes:#F2B94A;--sf-freezer:#32414E;--sfs-freezer:#8CCBFF;--sf-trips:#264142;--sfs-trips:#4FC9C4;--sf-cars:#2F3944;--sfs-cars:#A9C2DB;--sf-pets:#46381F;--sfs-pets:#F0B45C;--sf-birthdays:#493243;--sfs-birthdays:#FF7DC9;--sf-bills:#284035;--sfs-bills:#58C283;--sf-subscriptions:#3B384D;--sfs-subscriptions:#B79AF8;--sf-renewals:#423932;--sfs-renewals:#D9A070;--sf-contacts:#3A3E42;--sfs-contacts:#B4BBC4;--sf-vault:#414448;--sfs-vault:#D5D9DE}}
#qa-go-shopping,.qarow[data-k="shopping"]{--sf:var(--sf-shopping);--sf-sym:var(--sfs-shopping)}
#qa-go-postits,.qarow[data-k="postits"]{--sf:var(--sf-postits);--sf-sym:var(--sfs-postits)}
#qa-go-chores,.qarow[data-k="chores"]{--sf:var(--sf-chores);--sf-sym:var(--sfs-chores)}
#qa-go-location,.qarow[data-k="location"]{--sf:var(--sf-location);--sf-sym:var(--sfs-location)}
#qa-go-dinner,.qarow[data-k="dinner"]{--sf:var(--sf-dinner);--sf-sym:var(--sfs-dinner)}
#qa-go-week,.qarow[data-k="week"]{--sf:var(--sf-week);--sf-sym:var(--sfs-week)}
#qa-go-homework,.qarow[data-k="homework"]{--sf:var(--sf-homework);--sf-sym:var(--sfs-homework)}
#qa-go-medicines,.qarow[data-k="medicines"]{--sf:var(--sf-medicines);--sf-sym:var(--sfs-medicines)}
#qa-go-mynotes,.qarow[data-k="mynotes"]{--sf:var(--sf-mynotes);--sf-sym:var(--sfs-mynotes)}
#qa-go-freezer,.qarow[data-k="freezer"]{--sf:var(--sf-freezer);--sf-sym:var(--sfs-freezer)}
#qa-go-trips,.qarow[data-k="trips"]{--sf:var(--sf-trips);--sf-sym:var(--sfs-trips)}
#qa-go-pets,.qarow[data-k="pets"]{--sf:var(--sf-pets);--sf-sym:var(--sfs-pets)}
#qa-go-cars,.qarow[data-k="cars"]{--sf:var(--sf-cars);--sf-sym:var(--sfs-cars)}
#qa-go-birthdays,.qarow[data-k="birthdays"]{--sf:var(--sf-birthdays);--sf-sym:var(--sfs-birthdays)}
#qa-go-bills,.qarow[data-k="bills"]{--sf:var(--sf-bills);--sf-sym:var(--sfs-bills)}
#qa-go-subscriptions,.qarow[data-k="subscriptions"]{--sf:var(--sf-subscriptions);--sf-sym:var(--sfs-subscriptions)}
#qa-go-renewals,.qarow[data-k="renewals"]{--sf:var(--sf-renewals);--sf-sym:var(--sfs-renewals)}
#qa-go-contacts,.qarow[data-k="contacts"]{--sf:var(--sf-contacts);--sf-sym:var(--sfs-contacts)}
#qa-go-vault,.qarow[data-k="vault"]{--sf:var(--sf-vault);--sf-sym:var(--sfs-vault)}
@media (max-width:1023px){
  html.v2 .v2qa .qaapps .qaic,html.v2 .v2ghost.qarow.v2gg .qaic{background:var(--sf,var(--accent-tint));border-radius:25%;color:var(--sf-sym,var(--accent-text))}
  html.v2 .v2qa .qaapps .qaic::before,html.v2 .v2qa .qaapps .qaic::after,html.v2 .v2ghost.qarow.v2gg .qaic::before,html.v2 .v2ghost.qarow.v2gg .qaic::after{display:none}
  html.v2 .v2qa .qaapps .qaic .i,html.v2 .v2ghost.qarow.v2gg .qaic .i{color:var(--sf-sym,var(--accent-text));filter:none}
}

/* v519 ONE LOOK FOR EVERY EMPTY APP (Chris, 19 Nov 2026, docs/mockups/empty-pages-one-look/; the phone app's EmptyApp): an empty app's icon
   square takes that app's soft color (the v517 tokens above) instead of the fridge's tint; emptyBox() sets data-k. History, Trash and
   "Nothing recorded yet" have no app key and keep the fridge's tint. The words follow the phone's table; a computer keeps its button. */
.emptyb .eic[data-k]{background:var(--sf,var(--accent-tint));color:var(--sf-sym,var(--accent-text))}
.emptyb .eic[data-k] .i{color:var(--sf-sym,var(--accent-text))}
.emptyb .eic[data-k="shopping"]{--sf:var(--sf-shopping);--sf-sym:var(--sfs-shopping)}
.emptyb .eic[data-k="postits"]{--sf:var(--sf-postits);--sf-sym:var(--sfs-postits)}
.emptyb .eic[data-k="chores"]{--sf:var(--sf-chores);--sf-sym:var(--sfs-chores)}
.emptyb .eic[data-k="location"]{--sf:var(--sf-location);--sf-sym:var(--sfs-location)}
.emptyb .eic[data-k="dinner"]{--sf:var(--sf-dinner);--sf-sym:var(--sfs-dinner)}
.emptyb .eic[data-k="week"]{--sf:var(--sf-week);--sf-sym:var(--sfs-week)}
.emptyb .eic[data-k="homework"]{--sf:var(--sf-homework);--sf-sym:var(--sfs-homework)}
.emptyb .eic[data-k="medicines"]{--sf:var(--sf-medicines);--sf-sym:var(--sfs-medicines)}
.emptyb .eic[data-k="mynotes"]{--sf:var(--sf-mynotes);--sf-sym:var(--sfs-mynotes)}
.emptyb .eic[data-k="freezer"]{--sf:var(--sf-freezer);--sf-sym:var(--sfs-freezer)}
.emptyb .eic[data-k="trips"]{--sf:var(--sf-trips);--sf-sym:var(--sfs-trips)}
.emptyb .eic[data-k="pets"]{--sf:var(--sf-pets);--sf-sym:var(--sfs-pets)}
.emptyb .eic[data-k="cars"]{--sf:var(--sf-cars);--sf-sym:var(--sfs-cars)}
.emptyb .eic[data-k="birthdays"]{--sf:var(--sf-birthdays);--sf-sym:var(--sfs-birthdays)}
.emptyb .eic[data-k="bills"]{--sf:var(--sf-bills);--sf-sym:var(--sfs-bills)}
.emptyb .eic[data-k="subscriptions"]{--sf:var(--sf-subscriptions);--sf-sym:var(--sfs-subscriptions)}
.emptyb .eic[data-k="renewals"]{--sf:var(--sf-renewals);--sf-sym:var(--sfs-renewals)}
.emptyb .eic[data-k="contacts"]{--sf:var(--sf-contacts);--sf-sym:var(--sfs-contacts)}
.emptyb .eic[data-k="vault"]{--sf:var(--sf-vault);--sf-sym:var(--sfs-vault)}
