
/* Layout: one calm column, shelf-label type, bottom tab bar for the thumb. Today hands out quick wins and one thing at a time. */
@font-face{font-family:"Bricolage Grotesque";src:url(fonts/bricolage.woff2) format("woff2");font-weight:200 800;font-display:swap}
@font-face{font-family:"Instrument Sans";src:url(fonts/instrument-sans.woff2) format("woff2");font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:"Instrument Sans";src:url(fonts/instrument-sans-italic.woff2) format("woff2");font-weight:400 700;font-style:italic;font-display:swap}
/* Home Base: same family as The Happy Hanger and Planned & Plated. White, near-black ink, sunshine yellow for today and the active tab. Gender-neutral teal stands in for the sister apps' pink. */
:root{
  --bg:#FFFFFF; --card:#FFFFFF; --sunk:#F4F2EE; --ink:#1E1C1A; --body-ink:#3F3B37; --muted:#6B655E; --line:#ECE8E2;
  --accent:#1E1C1A; --accent-ink:#FFFFFF; --accent-soft:#FFF1C7; --pink:#0F7B7B; --label:#0B6464; --pink-soft:#DDF0EF;
  --sun:#FFD45C; --sun-soft:#FFF1C7;
  --low:#C2410C; --low-soft:#FDE7DC; --buy:#9C5A00; --buy-soft:#FFF1C7; --ok:#2C8A5C; --ok-soft:#DDF3E7; --none:#8C867F; --none-soft:#F4F2EE;
  --display:"Bricolage Grotesque","Avenir Next",system-ui,sans-serif;
  --body:"Instrument Sans","Helvetica Neue",Arial,sans-serif;
  --r:20px;
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --bg:#161412; --card:#201D1A; --sunk:#2A2622; --ink:#F6F2EC; --body-ink:#DCD5CC; --muted:#B3ABA2; --line:#36312C;
  --accent:#F6F2EC; --accent-ink:#161412; --accent-soft:#3A3220; --pink:#4FC2C0; --label:#7AD4D2; --pink-soft:#17302F;
  --sun:#E8BC3E; --sun-soft:#3A3220;
  --low:#F08A5D; --low-soft:#3A2318; --buy:#E3A55A; --buy-soft:#3B2C17; --ok:#6CC79E; --ok-soft:#173A2E; --none:#958D84; --none-soft:#2A2622; color-scheme:dark}}
:root[data-theme="dark"]{
  --bg:#161412; --card:#201D1A; --sunk:#2A2622; --ink:#F6F2EC; --body-ink:#DCD5CC; --muted:#B3ABA2; --line:#36312C;
  --accent:#F6F2EC; --accent-ink:#161412; --accent-soft:#3A3220; --pink:#4FC2C0; --label:#7AD4D2; --pink-soft:#17302F;
  --sun:#E8BC3E; --sun-soft:#3A3220;
  --low:#F08A5D; --low-soft:#3A2318; --buy:#E3A55A; --buy-soft:#3B2C17; --ok:#6CC79E; --ok-soft:#173A2E; --none:#958D84; --none-soft:#2A2622; color-scheme:dark}
*{box-sizing:border-box}
body{background:var(--bg);color:var(--ink);font-family:var(--body);font-size:16px;line-height:1.4;-webkit-tap-highlight-color:transparent}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:10;background:var(--bg)}
.wrap{max-width:640px;margin:0 auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));padding-block:0 calc(110px + env(safe-area-inset-bottom,0px))}
header{position:sticky;top:env(safe-area-inset-top,0px);z-index:5;background:var(--bg);padding-block:14px 10px;border-bottom:1px solid var(--line)}
.hrow{display:flex;align-items:center;justify-content:space-between;gap:10px}
h1{font-family:var(--display);font-weight:700;font-size:30px;letter-spacing:.01em;margin:0;line-height:1}
.gear{border:1px solid var(--line);background:var(--card);color:var(--ink);width:40px;height:40px;border-radius:12px;display:grid;place-items:center;cursor:pointer;flex:none}
.gear svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.gear[aria-pressed="true"]{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.sub{color:var(--muted);font-size:13px;margin-top:2px}
.chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
.chips:empty{display:none}
.chip{border:0;font:inherit;font-size:13px;font-weight:700;padding:5px 10px;border-radius:999px;background:var(--none-soft);color:var(--ink);font-variant-numeric:tabular-nums;cursor:pointer}
.chip.low{background:var(--low-soft);color:var(--low)} .chip.buy{background:var(--buy-soft);color:var(--buy)} .chip.none{color:var(--muted)}
.chip[aria-pressed="true"]{outline:2px solid currentColor;outline-offset:-2px}
nav.tabs{position:fixed;left:0;right:0;bottom:0;z-index:8;background:var(--card);border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(6,1fr);padding:6px max(8px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px))}
nav.tabs button{font:inherit;border:0;background:transparent;color:var(--muted);padding:6px 0 4px;border-radius:10px;cursor:pointer;display:grid;justify-items:center;gap:2px;position:relative}
nav.tabs svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
nav.tabs span{font-family:var(--display);font-weight:600;font-size:14px;letter-spacing:.06em;text-transform:uppercase}
nav.tabs button[aria-selected="true"]{color:var(--accent);background:var(--accent-soft)}
.badge{position:absolute;top:2px;left:calc(50% + 6px);min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--buy);color:var(--card);font-size:11px;font-weight:700;line-height:18px;font-variant-numeric:tabular-nums}
.badge.low{background:var(--low)}
button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.search{margin-top:14px;display:flex;gap:8px}
.search input{flex:1;min-width:0;font:inherit;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink)}
.cat{margin-top:18px}
.cat h2,.h2{font-family:var(--display);font-weight:700;font-size:15px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:0 0 6px;display:flex;justify-content:space-between;gap:8px}
.list{background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.row{display:flex;align-items:center;gap:10px;padding:10px 10px 10px 0;border-top:1px solid var(--line)}
.list>.row:first-child{border-top:0}
.row::before{content:"";align-self:stretch;width:5px;border-radius:0 3px 3px 0;background:var(--none);flex:none}
.row.low::before,.row.late::before{background:var(--low)} .row.buy::before,.row.today::before{background:var(--buy)} .row.ok::before,.row.later::before,.row.donetoday::before{background:var(--ok)} .row.week::before{background:var(--accent)}
.row.off{opacity:.6}
.name{flex:1;min-width:0;background:none;border:0;font:inherit;color:inherit;text-align:left;padding:2px 0;cursor:pointer}
.name b{display:block;font-weight:700;overflow-wrap:anywhere}
.name small{display:block;color:var(--muted);font-size:13px}
.tag{font-size:12px;font-weight:700;padding:1px 7px;border-radius:999px;margin-left:4px;white-space:nowrap}
.tag.low{background:var(--low-soft);color:var(--low)} .tag.buy{background:var(--buy-soft);color:var(--buy)}
.step{display:flex;align-items:center;gap:2px;flex:none}
.step button{width:40px;height:40px;border-radius:10px;border:1px solid var(--line);background:var(--bg);color:var(--ink);font-size:22px;line-height:1;cursor:pointer;font-family:var(--body)}
.step button:active{background:var(--accent-soft)}
.step output{min-width:34px;text-align:center;font-family:var(--display);font-weight:700;font-size:24px;font-variant-numeric:tabular-nums}
.step output.empty{color:var(--none);font-size:20px}
.detail{padding:6px 14px 14px 19px;border-top:1px dashed var(--line);display:grid;gap:12px;background:var(--card)}
.drow{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.drow label{font-size:14px;color:var(--muted);flex:1;min-width:0}
.drow label strong{display:block;color:var(--ink);font-size:15px}
.drow input[type=text]{flex:1;min-width:0;font:inherit;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--ink)}
.math{font-size:14px;color:var(--muted);background:var(--bg);border-radius:8px;padding:8px 10px;font-variant-numeric:tabular-nums}
.how{font-size:15px;margin:0}
.linkbtn{font:inherit;font-size:14px;border:0;background:none;color:var(--low);padding:4px 0;cursor:pointer;justify-self:start;text-decoration:underline}
.linkbtn.quiet{color:var(--muted)}
.pills{display:flex;flex-wrap:wrap;gap:6px}
.pill{font:inherit;font-size:14px;font-weight:700;border:1px solid var(--line);background:var(--bg);color:var(--ink);padding:7px 11px;border-radius:999px;cursor:pointer}
.pill[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.check{flex:none;width:44px;height:44px;border-radius:12px;border:2px solid var(--ok);background:transparent;color:var(--ok);cursor:pointer;display:grid;place-items:center}
.check svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.check[aria-pressed="true"]{background:var(--ok);color:var(--card)}
.check:active{background:var(--ok-soft)}
.shoprow{display:flex;align-items:center;gap:10px;padding:12px 12px 12px 0;border-top:1px solid var(--line)}
.list>.shoprow:first-child{border-top:0}
.shoprow::before{content:"";align-self:stretch;width:5px;border-radius:0 3px 3px 0;background:var(--buy)}
.shoprow.low::before{background:var(--low)}
.qty{font-family:var(--display);font-weight:700;font-size:26px;min-width:44px;text-align:right;font-variant-numeric:tabular-nums}
.got{font:inherit;font-weight:700;font-size:14px;border:1px solid var(--accent);color:var(--accent);background:transparent;border-radius:10px;padding:9px 12px;cursor:pointer;flex:none}
.got:active{background:var(--accent-soft)}
.note{color:var(--muted);font-size:14px;margin-top:14px}
.panel{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:16px;margin-top:16px}
.panel h3{font-family:var(--display);font-size:22px;margin:0 0 4px}
.seg{display:inline-flex;border:1px solid var(--line);border-radius:10px;overflow:hidden;max-width:100%}
.seg button{font:inherit;font-weight:700;border:0;background:var(--card);color:var(--muted);padding:9px 14px;cursor:pointer}
.seg button[aria-pressed="true"]{background:var(--accent);color:var(--accent-ink)}
.addbtn{width:100%;font:inherit;font-weight:700;padding:12px;border-radius:12px;border:1px dashed var(--accent);background:transparent;color:var(--accent);cursor:pointer;margin-top:18px}
.form{display:grid;gap:10px}
.form label{font-size:13px;color:var(--muted);display:grid;gap:4px}
.form input,.form select{font:inherit;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);width:100%;min-width:0}
.form .two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.primary{font:inherit;font-weight:700;padding:12px;border-radius:12px;border:0;background:var(--accent);color:var(--accent-ink);cursor:pointer}
.empty-state{text-align:center;padding:40px 12px;color:var(--muted)}
.empty-state strong{display:block;font-family:var(--display);font-size:24px;color:var(--ink);margin-bottom:6px}
/* Today */
.date{font-family:var(--display);font-weight:600;font-size:15px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-top:16px}
.score{display:flex;align-items:center;gap:12px;margin-top:10px;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:12px 14px}
.lvl{flex:none;width:52px;height:52px;border-radius:14px;background:var(--accent);color:var(--accent-ink);display:grid;place-items:center;text-align:center;line-height:1}
.lvl b{font-family:var(--display);font-size:26px;display:block}
.lvl small{font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.scoremain{flex:1;min-width:0}
.scoremain .pts{font-weight:700;font-variant-numeric:tabular-nums}
.bar{height:8px;border-radius:4px;background:var(--none-soft);overflow:hidden;margin:6px 0}
.bar i{display:block;height:100%;background:var(--ok);border-radius:4px}
.dots{display:flex;gap:6px;align-items:center}
.dot{display:grid;justify-items:center;gap:2px;font-size:11px;color:var(--muted);font-weight:700}
.dot i{width:16px;height:16px;border-radius:50%;border:2px solid var(--line);display:block}
.dot.hit i{background:var(--ok);border-color:var(--ok)}
.dot.today i{border-color:var(--accent)}
.tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:8px}
.tier{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:8px 10px;min-width:0}
.tier b{display:block;font-family:var(--display);font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.tier span{display:block;font-weight:700;font-size:15px}
.tier.hit{border-color:var(--ok);background:var(--ok-soft)}
.tier.hit b{color:var(--ok)}
.wins{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.win{font:inherit;text-align:left;border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:14px;padding:10px 12px;cursor:pointer;display:flex;gap:10px;align-items:center;min-width:0}
.win .box{flex:none;width:26px;height:26px;border-radius:8px;border:2px solid var(--ok);display:grid;place-items:center;color:var(--card)}
.win .box svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round;opacity:0}
.win span{min-width:0}
.win b{display:block;font-size:14px;line-height:1.25;overflow-wrap:anywhere}
.win small{color:var(--muted);font-size:12px}
.win[aria-pressed="true"]{background:var(--ok-soft);border-color:var(--ok)}
.win[aria-pressed="true"] .box{background:var(--ok)}
.win[aria-pressed="true"] .box svg{opacity:1}
.win[aria-pressed="true"] b{text-decoration:line-through;text-decoration-thickness:2px;color:var(--muted)}
.one{background:var(--card);border:2px solid var(--accent);border-radius:18px;padding:18px;display:grid;gap:12px}
.eyebrow{font-family:var(--display);font-weight:700;font-size:14px;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}
.one h2{font-family:var(--display);font-weight:700;font-size:32px;line-height:1.05;margin:0;text-wrap:balance}
.meta{color:var(--muted);font-size:14px}
.bigdone{font:inherit;font-weight:700;font-size:18px;padding:14px;border:0;border-radius:14px;background:var(--ok);color:var(--card);cursor:pointer}
.row3{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.ghost{font:inherit;font-size:14px;font-weight:700;padding:10px 6px;border-radius:12px;border:1px solid var(--line);background:var(--bg);color:var(--ink);cursor:pointer}
.bite{background:var(--card);border:1px dashed var(--accent);border-radius:16px;padding:14px;display:grid;gap:10px}
.bite h3{font-family:var(--display);font-size:24px;margin:0;line-height:1.1}
.timer{font-family:var(--display);font-weight:700;font-size:44px;text-align:center;font-variant-numeric:tabular-nums;color:var(--accent);line-height:1}
.sec{margin-top:18px}
.capture{display:flex;gap:8px;margin-top:18px}
.capture input{flex:1;min-width:0;font:inherit;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--card);color:var(--ink)}
.capture button{font:inherit;font-weight:700;padding:0 16px;border:0;border-radius:12px;background:var(--accent);color:var(--accent-ink);cursor:pointer}
.mini{display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:12px 14px;margin-top:10px;width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer}
.mini b{display:block}
.mini small{color:var(--muted);font-size:13px}
.mini .arrow{color:var(--muted);font-size:20px}
.filters{display:flex;gap:6px;overflow-x:auto;margin-top:14px;padding-bottom:2px}
.filters .pill{white-space:nowrap}
.progress{margin-top:14px}
.toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--line)}
.toggle:first-of-type{border-top:0}
.toggle span{flex:1;min-width:0}
.toggle b{display:block}
.toggle small{color:var(--muted);font-size:13px}
.sw{flex:none;width:52px;height:32px;border-radius:16px;border:0;background:var(--none-soft);position:relative;cursor:pointer}
.sw::after{content:"";position:absolute;top:3px;left:3px;width:26px;height:26px;border-radius:50%;background:var(--card);box-shadow:0 1px 3px rgba(0,0,0,.25)}
.sw[aria-checked="true"]{background:var(--ok)}
.sw[aria-checked="true"]::after{left:23px}
.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(84px + env(safe-area-inset-bottom,0px));background:var(--ink);color:var(--bg);padding:10px 8px 10px 16px;border-radius:999px;font-size:14px;font-weight:700;z-index:20;max-width:calc(100% - 32px);display:flex;align-items:center;gap:8px}
.toast button{font:inherit;font-weight:700;border:0;background:transparent;color:var(--accent-soft);text-decoration:underline;cursor:pointer;padding:2px 8px}
.burst{position:fixed;left:50%;top:40%;width:0;height:0;z-index:30;pointer-events:none}
.burst i{position:absolute;width:9px;height:9px;border-radius:2px;animation:pop .9s ease-out forwards}
@keyframes pop{from{transform:translate(0,0) rotate(0);opacity:1}to{transform:translate(var(--x),var(--y)) rotate(320deg);opacity:0}}
@media (prefers-reduced-motion:reduce){.burst{display:none}}
@media (prefers-reduced-motion:no-preference){.step button,.got,.check,.bigdone,.win,.sw::after{transition:background .15s, transform .1s, left .15s}.bigdone:active,.check:active,.win:active{transform:scale(.97)}}

/* ---------- family look (matches Planned & Plated and The Happy Hanger) ---------- */
html,body{margin:0}
body{font-size:15px;line-height:1.45}
h1{font-family:var(--display);font-weight:400;font-size:28px;letter-spacing:.2px}
.brandmark{width:34px;height:34px;border-radius:10px;flex:none}
.hrow h1{display:flex;align-items:center;gap:10px}
header{border-bottom:1px solid var(--line)}
.sub{font-size:13px}
.gear{border:0;background:var(--sunk);border-radius:999px}
.gear[aria-pressed="true"]{background:var(--sun);color:#1E1C1A}
/* section labels: small caps in the body font */
.cat h2,.h2,.date,.tier b,.eyebrow{font-family:var(--body);font-weight:700;font-size:12px;letter-spacing:.8px;text-transform:uppercase}
.eyebrow{color:var(--label)}
.date{color:var(--muted);margin-top:18px}
/* cards */
.list,.panel,.score,.tier,.mini,.win,.bite,.one{border-radius:var(--r);border:1px solid var(--line);box-shadow:none}
.one{border:0;background:var(--sunk)}
.one h2,.bite h3,.panel h3{font-family:var(--display);font-weight:400}
.one h2{font-size:28px}
.bite{border:1px dashed var(--line);background:var(--card)}
.bite h3{font-size:22px}
.panel h3{font-size:20px}
/* buttons: pills, ink primary, sunk secondary */
.primary,.capture button{border-radius:999px;background:var(--ink);color:var(--bg);font-weight:600;min-height:44px}
.bigdone{border-radius:999px;background:var(--ok);color:#fff;font-weight:700;min-height:52px}
.ghost{border:0;border-radius:999px;background:var(--bg);font-weight:600;min-height:44px}
.one .ghost{background:var(--card)}
.got{border-radius:999px;border:0;background:var(--sunk);color:var(--ink)}
.addbtn{border-radius:999px;border:1.5px dashed var(--line);color:var(--label)}
.linkbtn{color:var(--label)}
.linkbtn.quiet{color:var(--muted)}
.pill{border:0;background:var(--sunk);color:var(--muted);font-weight:600;font-size:13px}
.pill[aria-pressed="true"]{background:var(--ink);color:var(--bg)}
.seg{border:0;background:var(--sunk);border-radius:999px;padding:3px}
.seg button{border-radius:999px;background:transparent;font-weight:600}
.seg button[aria-pressed="true"]{background:var(--ink);color:var(--bg)}
.chip{font-weight:600}
.capture input,.search input,.form input,.form select,.drow input[type=text]{border-radius:999px;border:1px solid var(--line);background:var(--card);padding-inline:16px}
.step button{border:0;background:var(--sunk);border-radius:999px}
.step output{font-family:var(--body);font-weight:700;font-size:20px}
.qty,.timer{font-family:var(--body);font-weight:700}
.check{border-radius:999px}
/* score */
.lvl{background:var(--sun);color:#1E1C1A;border-radius:16px}
.lvl b{font-family:var(--display);font-weight:500}
.dot.hit i{background:var(--sun);border-color:var(--sun)}
.dot.today i{border-color:var(--ink)}
.bar i{background:var(--sun)}
.tier.hit{background:var(--sun-soft);border-color:var(--sun)}
.tier.hit b{color:var(--ink)}
.win{border-radius:16px}
.win[aria-pressed="true"]{background:var(--sun-soft);border-color:var(--sun)}
.win .box{border-color:var(--ink);border-radius:999px}
.win[aria-pressed="true"] .box{background:var(--ink);color:var(--bg)}
/* bottom tabs: yellow pill behind the active icon */
nav.tabs{background:var(--card)}
nav.tabs button{color:var(--muted);background:none}
nav.tabs span{font-family:var(--body);font-weight:500;font-size:12px;letter-spacing:0;text-transform:none}
nav.tabs svg{padding:3px 12px;border-radius:999px;box-sizing:content-box;stroke-width:1.6}
nav.tabs button[aria-selected="true"]{background:none;color:var(--ink)}
nav.tabs button[aria-selected="true"] span{font-weight:700}
nav.tabs button[aria-selected="true"] svg{background:var(--sun);color:#1E1C1A}
.badge{background:var(--pink);color:#fff;left:calc(50% + 10px)}
.badge.low{background:var(--pink)}
.toast{background:var(--ink);color:var(--bg);border-radius:12px}
.toast button{color:var(--sun)}
.sw[aria-checked="true"]{background:var(--ok)}
.empty-state strong{font-family:var(--display);font-weight:400}
/* sign-in screen */
#auth h1{font-family:var(--display);font-weight:400}

/* Renew */
.drow input[type=date]{flex:1;min-width:0;max-width:200px;font:inherit;padding:8px 14px;border:1px solid var(--line);border-radius:999px;background:var(--card);color:var(--ink)}
.capture input[type=date]{min-height:46px}
.form label{display:grid;gap:4px;font-size:13px;color:var(--muted);font-weight:600}
@media (max-width:380px){ nav.tabs span{font-size:12px;letter-spacing:.03em} }

/* Plus, reminders, feedback */
.perks{margin:4px 0 12px;padding-left:18px;display:grid;gap:6px;font-size:15px}
.form textarea{font:inherit;padding:12px 16px;border:1px solid var(--line);border-radius:18px;background:var(--card);color:var(--ink);width:100%;min-width:0;resize:vertical}
.hoursel{font:inherit;padding:8px 14px;border:1px solid var(--line);border-radius:999px;background:var(--card);color:var(--ink)}
.note a,.meta a{color:var(--accent)}

/* House info and rewards */
.infofield{display:grid;gap:4px;margin-top:10px;font-size:13px;color:var(--muted);font-weight:600}
.infofield input,.infofield textarea{font:inherit;font-weight:400;font-size:16px;color:var(--ink);padding:10px 16px;border:1px solid var(--line);border-radius:999px;background:var(--card);width:100%;min-width:0}
.infofield textarea{border-radius:18px;resize:vertical}
.shoprow a{color:var(--accent);font-weight:600}

/* Landing page */
.landing{padding-bottom:40px}
.lhead{display:flex;align-items:center;justify-content:space-between;padding-top:16px}
.lbrand{display:flex;align-items:center;gap:10px;font-family:var(--display);font-weight:700;font-size:20px}
.lbrand img{width:36px;height:36px;border-radius:10px}
.lsign{width:auto;padding:8px 18px}
.lhero{text-align:center;padding-top:36px}
.lhero h1{font-size:clamp(36px,9vw,58px);line-height:1.05;margin:0 0 14px}
.lsub{font-size:18px;line-height:1.5;max-width:560px;margin:0 auto 22px;color:var(--muted)}
.lcta{width:100%;max-width:340px;font-size:18px;min-height:54px}
.lshots{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:26px 2px 8px;margin:0 -16px;padding-inline:16px}
.lshots img{flex:none;width:min(62vw,250px);border-radius:22px;border:1px solid var(--line);box-shadow:0 10px 30px rgba(0,0,0,.08);scroll-snap-align:center}
.lgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-top:26px}
.lcard{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:18px}
.lcard h3{font-family:var(--display);font-size:19px;margin:0 0 6px}
.lcard p{margin:0;line-height:1.5}
.lprice{text-align:center;margin-top:40px}
.lprice h2,.lfaq h2{font-family:var(--display);font-size:26px;margin:0 0 16px}
.lplans{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;text-align:left;margin-bottom:20px}
.lplus{border:2px solid var(--accent)}
.lbig{font-family:var(--display);font-size:34px;font-weight:700;margin:4px 0 0!important}
.lbig small{font-size:15px;font-weight:500;color:var(--muted)}
.lcard ul{margin:10px 0 0;padding-left:18px;display:grid;gap:4px}
.lfaq{margin-top:40px}
.lfaq details{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:14px 16px;margin-bottom:8px}
.lfaq summary{font-weight:700;cursor:pointer}
.lfaq p{margin:8px 0 0;line-height:1.5}
.lfoot{text-align:center;margin-top:36px;color:var(--muted);font-size:14px}
.lfoot a{color:var(--accent)}

/* ---------- To-do, brain dump and dates (Nov 2026) ----------
   Same family as The Happy Invite's brain dump and task list, with a Hive twist:
   hexagon checkboxes, honey-colored cells, and the dump sorted into to-dos, things to buy and dates. */
nav.tabs span{font-size:12px;letter-spacing:.03em}
.hex{flex:none;width:40px;height:44px;border:0;padding:0;cursor:pointer;display:grid;place-items:center;background:var(--sun);clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);position:relative;color:transparent}
.hex::after{content:"";position:absolute;inset:3px;background:var(--card);clip-path:inherit}
.hex svg{position:relative;z-index:1;width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.hex.on{color:var(--ink)} .hex.on::after{background:var(--sun)}
.row.todo{padding-left:0}
.row.todo .hex{margin-left:4px}
.bump{flex:none;font:inherit;font-size:13px;font-weight:700;border:0;border-radius:999px;background:var(--sunk);color:var(--muted);padding:8px 12px;cursor:pointer;min-height:36px}
.bump[aria-expanded="true"]{background:var(--ink);color:var(--bg)}
.tdin{font:inherit;width:100%;min-width:0;padding:10px 14px;border:1px solid var(--line);border-radius:14px;background:var(--bg);color:var(--ink);resize:vertical}
.pilldate{font:inherit;font-size:13px;border:0;border-radius:999px;background:var(--sunk);color:var(--muted);padding:6px 10px;min-height:34px}
.dumpbtn{width:100%;font:inherit;font-weight:700;text-align:left;padding:12px 16px;margin-top:10px;border-radius:999px;border:1.5px dashed var(--sun);background:var(--sun-soft);color:var(--ink);cursor:pointer}
.dumpbtn.big{border-radius:var(--r);padding:16px 18px;margin-top:16px;font-family:var(--display);font-size:22px;font-weight:400;display:grid;gap:2px}
.dumpbtn.big small{font-family:var(--body);font-size:13px;color:var(--muted)}
.panel.dump{display:grid;gap:10px;border:2px solid var(--sun);background:var(--card)}
.panel.dump textarea,.dcard input,.dcard select{font:inherit;width:100%;min-width:0;padding:10px 14px;border:1px solid var(--line);border-radius:14px;background:var(--bg);color:var(--ink)}
.panel.dump .primary{flex:1}
.cell{margin-top:6px}
.dcard{display:grid;gap:8px;padding:10px;margin-top:8px;border-radius:16px;background:var(--sun-soft)}
.dcard.skip{opacity:.45}
.drow1{display:flex;gap:8px;align-items:center}
.dcard .two{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.dcard .pills{gap:6px}
.dcard .pill{background:var(--card)}
.dcard .pill[aria-pressed="true"]{background:var(--ink);color:var(--bg)}
.one.honey{background:var(--sun-soft)}
.one.honey .eyebrow{color:var(--buy)}
.tag.ok{background:var(--ok-soft);color:var(--ok)}

/* Coming up, week view, Dates segments (Nov 10) */
.row.cu{padding-left:0}
.cuicon{flex:none;width:40px;text-align:center;font-size:20px;margin-left:4px}
a.bump{text-decoration:none;display:inline-flex;align-items:center}
.dseg{margin-top:14px}
.pdot{font-style:normal;display:inline-block;min-width:18px;padding:0 5px;margin-left:4px;border-radius:9px;background:var(--buy);color:var(--card);font-size:11px;line-height:18px;text-align:center}
.wkday{display:flex;gap:12px;padding:10px 0;border-top:1px solid var(--line)}
.wkday:first-of-type{border-top:0}
.wkd{flex:none;width:76px}
.wkd b{display:block;font-family:var(--display);font-weight:400;font-size:18px}
.wkd small{color:var(--muted);font-size:12px}
.wkl{flex:1;display:grid;gap:6px;min-width:0}
.wki{display:flex;gap:8px;font-size:15px;line-height:1.3}
.wki small{color:var(--muted)}
.wktext{white-space:pre-wrap;font:inherit;font-size:13px;background:var(--sunk);border-radius:14px;padding:12px;margin:0 0 10px;max-height:240px;overflow:auto}
.one .tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}

/* profile button and menu, matching the other Happy apps */
.hbtns{display:flex;gap:8px;align-items:center}
.mebtn{width:40px;height:40px;border-radius:50%;border:0;background:var(--sun);color:var(--ink);font:inherit;font-weight:700;font-size:17px;cursor:pointer}
#meMenu{position:absolute;right:max(16px,env(safe-area-inset-right,0px));top:calc(100% - 4px);z-index:20}
header{position:sticky}
.mebox{background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:0 10px 30px rgba(0,0,0,.14);padding:8px;min-width:240px;display:grid}
.mebox button,.mebox a{font:inherit;text-align:left;background:none;border:0;color:var(--ink);padding:12px;border-radius:12px;cursor:pointer;text-decoration:none;font-weight:600}
.mebox button:hover,.mebox a:hover{background:var(--sunk)}
.mebox .medel{color:var(--low)}
.mehead{display:flex;gap:10px;align-items:center;padding:8px 12px 12px;border-bottom:1px solid var(--line);margin-bottom:4px}
.mehead small{display:block;color:var(--muted);font-size:13px}
.mecircle{width:36px;height:36px;border-radius:50%;background:var(--sun);display:grid;place-items:center;font-weight:700}
.medelbtn{color:var(--low)!important}
[hidden]{display:none!important}
/* Today head, focus, new for you, custody days, kid view, bigger text (Nov 10) */
.todayhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}
.todayhead .date{margin:0}
.bump[aria-pressed="true"]{background:var(--ink);color:var(--bg)}
.panel.newfor{border:2px solid var(--sun)}
.cudays{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.cuday{font:inherit;border:0;border-radius:12px;padding:6px 0;display:grid;justify-items:center;gap:1px;cursor:pointer;background:var(--sunk);color:var(--muted)}
.cuday b{font-size:16px;color:var(--ink)} .cuday small,.cuday i{font-size:11px;font-style:normal}
.cuday.home{background:var(--sun-soft)} .cuday.home i{color:var(--buy);font-weight:700}
.cuday.swapped{outline:2px dashed var(--ink);outline-offset:-2px}
html.bigtext{font-size:112%} html.bigtext body{font-size:18px}
html.bigtext .meta,html.bigtext small{font-size:15px!important}
html.kidview .win{min-height:72px} html.kidview .win b{font-size:18px}
html.kidview .bigdone{min-height:72px;font-size:24px}
html.kidview .hex{width:52px;height:58px}
@media (prefers-reduced-motion: reduce){.burst{display:none!important}}

/* household store: bottom sheet, scanner, receipts, printable labels (Nov 11) */
.sheet{position:fixed;inset:0;z-index:60;background:rgba(20,18,16,.45);display:flex;align-items:flex-end;justify-content:center}
.sheetbox{background:var(--bg);width:100%;max-width:560px;max-height:88vh;overflow:auto;border-radius:24px 24px 0 0;padding:16px 16px calc(20px + env(safe-area-inset-bottom,0px));box-shadow:0 -10px 40px rgba(0,0,0,.2);display:grid;gap:8px}
.sheethead{display:flex;align-items:center;justify-content:space-between;gap:10px}
.sheethead h3{margin:0;font-family:var(--display);font-weight:400;font-size:24px}
body.sheetopen{overflow:hidden}
.sheetlist{max-height:46vh;overflow:auto}
.scanbox{width:100%;min-height:240px;border-radius:18px;overflow:hidden;background:#111}
.scanbox video{width:100%!important;height:auto!important;display:block}
.receipt{background:var(--card);border:1px dashed var(--line);border-radius:14px;padding:10px 12px;margin-top:8px;font-size:14px}
.rhead{display:flex;justify-content:space-between;gap:8px;margin-bottom:6px}
.rhead span{color:var(--muted)}
.rline{display:flex;justify-content:space-between;gap:8px;color:var(--muted);padding:2px 0}
#printArea{display:none}
@media print{
  body.printing>*:not(#printArea){display:none!important}
  body.printing #printArea{display:block!important}
  .labhead{font:600 12px sans-serif;margin-bottom:8px}
  .labs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
  .lab{border:1px dashed #999;border-radius:8px;padding:10px;text-align:center;break-inside:avoid;font-family:sans-serif}
  .lab svg{width:1.3in;height:1.3in;display:block;margin:0 auto 6px}
  .lab b{display:block;font-size:12px}.lab small{font-size:10px;color:#555}
}

/* Scan first, then a clear choice */
.bigseg{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 10px}
.bigseg button{font:inherit;font-weight:800;font-size:1rem;border:2px solid var(--line);border-radius:14px;background:var(--card);color:var(--ink);padding:12px 8px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:2px;min-height:64px}
.bigseg button span,.askbtn span{font-size:1.3rem;line-height:1}
.bigseg button[aria-pressed="true"]{border-color:var(--accent);background:var(--accent);color:var(--accent-ink)}
.askbox{border:2px solid var(--accent);border-radius:16px;padding:14px;margin:0 0 10px;background:var(--card);display:grid;gap:8px}
.askbox>b{font-size:1.15rem}.askbox>small{color:var(--muted);margin-top:-6px}
.askbtn{font:inherit;font-weight:800;font-size:1.05rem;border:0;border-radius:14px;padding:14px;min-height:56px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px}
.askbtn.take{background:var(--accent);color:var(--accent-ink)}
.askbtn.put{background:var(--pink-soft);color:var(--ink);border:2px solid var(--pink)}
.asksame{display:flex;gap:8px;align-items:center}
.lockline{font-size:.92rem;margin:0 0 8px;padding:8px 10px;border-radius:10px;background:var(--accent-soft)}
.sheetbox .row2 .ghost,.sheetbox label.ghost{border:2px solid var(--line);border-radius:14px;min-height:52px;display:flex;align-items:center;justify-content:center;background:var(--card);font-weight:700}
#storeBar .row3 .ghost,#storeBar>.ghost,.row2 .ghost[data-act="grabopen"],.row2 .ghost[data-act="scanopen"]{border:2px solid var(--line);border-radius:14px;min-height:52px;background:var(--card);font-weight:700}
#scanBox{position:relative;overflow:hidden;background:#111;border-radius:16px;min-height:220px}
#scanBox video{display:block;width:100%;height:auto;max-height:46vh;object-fit:cover}
#scanBox .scanframe{position:absolute;left:10%;right:10%;top:28%;bottom:28%;border:3px solid #7CC36B;border-radius:12px;box-shadow:0 0 0 999px rgba(0,0,0,.25);pointer-events:none}

/* Stock: folding categories, 5-minute count, pick what to track */
.cathead{all:unset;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;width:100%;padding:12px 4px;cursor:pointer;font-family:var(--display);font-size:1.05rem;font-weight:800;border-bottom:1px solid var(--line)}
.cathead .catsum{display:flex;gap:8px;align-items:center;font-family:inherit;font-size:.9rem;font-weight:600;color:var(--muted)}
.cathead .arrow{font-size:1.2rem;color:var(--ink);width:18px;text-align:center}
.cathead:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.countstart{border:2px solid var(--accent)!important;margin:8px 0 12px}
.numgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.numgrid button{font:inherit;font-size:1.4rem;font-weight:800;min-height:58px;border-radius:14px;border:2px solid var(--line);background:var(--card);color:var(--ink);cursor:pointer}
.numgrid button:active{background:var(--accent);color:var(--accent-ink)}
.pill[aria-pressed="true"]{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}

.wizard h2{font-family:var(--display);font-size:1.7rem;margin:6px 0 6px}
.wizhead{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-weight:700;font-size:.9rem;margin-bottom:6px}
.wizhead .dots{display:flex;gap:6px}.wizhead .dots i{width:9px;height:9px;border-radius:50%;background:var(--line);display:block}.wizhead .dots i.on{background:var(--accent)}

/* iOS zooms into any text box under 16px; keep them at 16 so tapping one never zooms the page */
input,select,textarea{font-size:16px!important}
html.native{overflow-x:hidden;max-width:100%}

/* Dark mode: the off switch track matched the card, so it disappeared. Give it a visible track, an outline and a light knob. */
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .sw{background:#4A443E;box-shadow:inset 0 0 0 1px #6B635A}:root:not([data-theme="light"]) .sw::after{background:#F6F2EC}}
:root[data-theme="dark"] .sw{background:#4A443E;box-shadow:inset 0 0 0 1px #6B635A}:root[data-theme="dark"] .sw::after{background:#F6F2EC}
.sw[aria-checked="true"]{box-shadow:none}

/* Phone app: a strip behind the clock that stays put when the keyboard slides the page */
#safeTop{position:fixed;left:0;right:0;top:0;height:env(safe-area-inset-top,0px);background:var(--bg);z-index:50;pointer-events:none;will-change:transform}

/* The header sticks just below the clock. Start the page there too, or the header covers the top of the first box. */
.wrap{padding-top:env(safe-area-inset-top,0px)}

/* Quick win tile: the circle checks it off, the name opens details */
.win{padding:0;gap:0}
.win .wincheck{font:inherit;background:none;border:0;color:inherit;padding:10px 4px 10px 12px;cursor:pointer;align-self:stretch;display:flex;align-items:center}
.win .wininfo{font:inherit;text-align:left;background:none;border:0;color:inherit;padding:10px 12px 10px 8px;cursor:pointer;flex:1;min-width:0}
.win .wininfo b{display:block;font-size:14px;line-height:1.25;overflow-wrap:anywhere}
.win .wininfo small{color:var(--muted);font-size:12px}
.win .wininfo small u{text-decoration-color:var(--line)}

/* Slide a job left to delete */
[data-swipe]{position:relative;overflow:hidden}
[data-swipe] .swdel{position:absolute;top:0;right:0;bottom:0;width:96px;border:0;background:var(--low);color:#fff;font:inherit;font-weight:700;cursor:pointer;z-index:0}
[data-swipe] > :not(.swdel){position:relative;z-index:1;background:var(--card);transition:transform .18s}
[data-swipe]:not(.swiped):not(.swiping) .swdel{visibility:hidden}
[data-swipe].swiped > :not(.swdel){transform:translateX(-96px)}
[data-swipe].swiping > :not(.swdel){transform:translateX(var(--sx,0));transition:none}

.rwgoal{display:flex;gap:12px;align-items:center;padding:10px 0;border-top:1px solid var(--line)}
.rwgoal:first-child{border-top:0}
.rwgoal img{width:52px;height:52px;object-fit:contain;border-radius:10px;background:#fff;flex:none}
.rwgoal .got{padding:6px 12px;font-size:14px}

.cal{border:1px solid var(--line);border-radius:16px;padding:10px}
.cal .drow{align-items:center}.cal .drow .linkbtn{font-size:26px;line-height:1;padding:2px 12px}
.cal .linkbtn:disabled{opacity:.25}
.calgrid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;text-align:center}
.calhead span{font-size:12px;font-weight:700;opacity:.55;padding:6px 0 2px}
.calday{all:unset;box-sizing:border-box;height:40px;line-height:40px;border-radius:20px;font-size:16px;cursor:pointer;text-align:center;color:inherit}
.calday:disabled{opacity:.25;cursor:default}
.calday.today{font-weight:800;text-decoration:underline}
.calday.mid{background:var(--sun-soft);border-radius:4px}
.calday.end{background:var(--sun);color:#1b1b1b;font-weight:800}
.cal .drow .linkbtn{text-decoration:none}
