:root,:root[data-season=autumn]{--bg: #11140f;--s1: #1a1f17;--s2: #252c21;--tx: #ece8dc;--mu: #a4a690;--fa: #666c59;--ln: #2b3427;--ac: #d9a441;--acs: #33291a;--gr: #8fb58a;--grs: #1d2a1c;--sl: #cf7a4d}:root[data-season=winter]{--bg: #0e1316;--s1: #151c20;--s2: #1e272c;--tx: #e6edf0;--mu: #9aa9b0;--fa: #5d6b72;--ln: #263137;--ac: #a8cbe0;--acs: #1c2a33;--gr: #86b39a;--grs: #182922;--sl: #d99a8a}:root[data-season=spring]{--bg: #0f1510;--s1: #162017;--s2: #1f2b20;--tx: #e8f0e6;--mu: #9fb29e;--fa: #5f7160;--ln: #273427;--ac: #a3d487;--acs: #1f331c;--gr: #e3a6b8;--grs: #3a2630;--sl: #e39a7a}:root[data-season=summer]{--bg: #12140e;--s1: #1b1e15;--s2: #262b1e;--tx: #efeddf;--mu: #aeb095;--fa: #6c6f58;--ln: #2d3222;--ac: #e6c35c;--acs: #373019;--gr: #6fb7a8;--grs: #183029;--sl: #e08a5a}:root{color-scheme:dark;--serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;--sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--tap: 48px}*{box-sizing:border-box}html,body,#app{height:100%;margin:0;overflow:hidden}body{background:var(--bg);color:var(--tx);font:16px/1.45 var(--sans);-webkit-tap-highlight-color:transparent}h1{font:500 1.6rem/1.2 var(--serif);margin:0;text-wrap:balance}p{margin:0}.muted{color:var(--mu)}.error{color:var(--sl)}button{font:inherit;color:inherit;background:var(--s1);border:0;border-radius:12px;min-height:var(--tap);padding:0 18px;cursor:pointer}button:focus-visible,input:focus-visible{outline:2px solid var(--ac);outline-offset:2px}button:disabled{opacity:.6;cursor:default}button.primary{background:var(--ac);color:var(--bg);font-weight:600;width:100%}button.quiet{background:transparent;color:var(--mu);min-height:40px;padding:0 8px}.center{height:100%;max-width:420px;margin:0 auto;padding:calc(24px + env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom));display:flex;flex-direction:column;justify-content:center}.stack{gap:16px}.field{display:flex;flex-direction:column;gap:6px}.field span{font-size:.9rem;color:var(--mu)}.field input{font:inherit;color:var(--tx);background:var(--s1);border:1px solid var(--ln);border-radius:12px;min-height:var(--tap);padding:0 14px}.shell{height:100%;display:flex;flex-direction:column}.top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:12px;padding:calc(14px + env(safe-area-inset-top)) 16px 8px}.top .sub{grid-column:1 / -1}.banner{margin:0 16px;padding:10px 12px;border-radius:12px;background:var(--acs);color:var(--ac);font-size:.9rem}.content{flex:1;min-height:0;overflow:hidden;padding:16px;display:flex;flex-direction:column;gap:10px}.hello{font:500 1.25rem/1.3 var(--serif)}.tabs{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--ln);background:var(--s1);padding-bottom:env(safe-area-inset-bottom)}.tabs button{background:transparent;border-radius:0;color:var(--fa);font-size:.8rem;min-height:56px;padding:0 4px}.tabs button.on{color:var(--ac)}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.shell{position:relative}.top .sub{display:flex;align-items:center;gap:4px;flex-wrap:wrap;font-size:.85rem;margin-top:2px}.top .sub svg{flex:none}.row-card{display:flex;align-items:center;gap:12px;min-height:56px;padding:0 14px;border-radius:14px;background:var(--s1);color:var(--mu)}.row-card b{display:block;font-weight:500;color:var(--tx)}.row-card small{font-size:.8rem}.block-head{display:flex;justify-content:space-between;align-items:center;font-size:.9rem;color:var(--mu)}button.link{background:transparent;color:var(--ac);padding:0 4px}.empty{display:flex;flex-direction:column;gap:10px;align-items:flex-start}.empty .primary{width:auto}.later{font-size:.8rem;margin-top:auto}.paged{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.paged-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;align-content:start}.paged-list{display:flex;flex-direction:column;gap:6px}.paged-item{min-width:0}.pager{margin-top:auto;height:52px;display:flex;justify-content:center;align-items:center;gap:12px;color:var(--mu);font-size:.85rem}.pager button{background:transparent;width:48px;padding:0;display:grid;place-items:center}.chip{position:relative;width:100%;height:48px;padding:0 34px 0 12px;border-radius:12px;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;text-align:left}.chip .n{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.95rem}.chip em{font-style:normal;font-size:.75rem;color:var(--mu)}.chip.on{background:var(--grs)}.chip.on .n{color:var(--gr)}.chip .ok{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:var(--gr);display:flex}.screen-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.screen-head h2{font:500 1.3rem/1.2 var(--serif);margin:0}.screen-head small{font-size:.8rem}.screen-head button{display:flex;align-items:center;gap:6px;flex:none}.week-head,.hrow{display:grid;grid-template-columns:minmax(0,1fr) 128px 44px;gap:4px;align-items:center}.wk{display:grid;grid-template-columns:repeat(7,14px);gap:5px;justify-content:center;align-items:center}.week-head{font-size:.75rem;color:var(--fa);text-align:center}.week-head .t{color:var(--ac)}.hweek{background:transparent;padding:0;min-height:50px;border-radius:10px}.hrow{min-height:50px;border-radius:12px;background:var(--s1)}.hmain{background:transparent;min-width:0;min-height:50px;padding:4px 4px 4px 12px;text-align:left;display:flex;flex-direction:column;justify-content:center}.hmain b,.hmain small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hmain b{font-weight:500;font-size:.95rem}.hmain small{color:var(--mu);font-size:.75rem}.grow{color:var(--gr);display:inline-flex;align-items:center;gap:2px;vertical-align:-2px}.q{width:14px;height:14px;border-radius:4px}.q.done{background:var(--gr)}.q.missed{background:var(--s2);box-shadow:inset 0 0 0 1px var(--fa)}.q.today{box-shadow:inset 0 0 0 1.5px var(--ac)}.q.today-done{background:var(--gr);box-shadow:0 0 0 1.5px var(--ac)}.q.future{background:var(--s2)}.hedit{background:transparent;color:var(--mu);width:44px;padding:0;display:grid;place-items:center}.toast{position:absolute;left:12px;right:12px;bottom:calc(68px + env(safe-area-inset-bottom));z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 4px 4px 16px;border-radius:14px;background:var(--s2);box-shadow:0 8px 24px #00000059;font-size:.9rem}.toast button{background:transparent;color:var(--ac);font-weight:600;flex:none}.sheet-backdrop{position:absolute;inset:0;z-index:10;background:#00000080;display:flex;align-items:flex-end}.sheet{width:100%;max-width:520px;margin:0 auto;background:var(--s1);border-radius:18px 18px 0 0;padding:18px 16px calc(16px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:12px}.sheet h2{font:500 1.2rem var(--serif);margin:0}.input{font:inherit;color:var(--tx);background:var(--bg);border:1px solid var(--ln);border-radius:12px;min-height:var(--tap);padding:0 14px;width:100%}.days{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.days button{padding:0;font-size:.8rem;background:var(--bg)}.days button.on{background:var(--acs);color:var(--ac)}.time{display:flex;flex-direction:column;gap:6px}.time>span:first-child{font-size:.85rem;color:var(--mu)}.time-row{display:flex;gap:8px;align-items:center}.sheet-actions{display:flex;gap:8px;justify-content:flex-end}.sheet-actions .primary{width:auto}.sheet-actions .quiet{margin-right:auto}.recent{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;margin:0 -6px}.recent button{padding:0;min-height:58px;border-radius:12px;background:var(--bg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.recent button span{font-size:.7rem;color:var(--mu)}.recent button b{font-weight:500;min-height:18px;display:flex;align-items:center}.recent button.on{background:var(--grs);color:var(--gr)}.recent button:disabled{opacity:.35}.sheet-actions .grow{margin-right:auto;align-self:center;gap:4px}:root{--sls: rgb(207 122 77 / .16)}button.row-card{width:100%;text-align:left;border:0;font:inherit}.row-card.mind .go{margin-left:auto;color:var(--ac);font-size:.85rem;display:inline-flex;align-items:center;gap:2px}.mind-screen{position:absolute;inset:0;z-index:8;background:var(--bg);display:flex;flex-direction:column;gap:10px;padding:calc(14px + env(safe-area-inset-top)) 16px calc(14px + env(safe-area-inset-bottom))}.mind-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.mind-head h2{font:500 1.3rem/1.2 var(--serif);margin:0;display:flex;align-items:center;gap:8px;color:var(--tx)}.mind-head h2 svg{color:var(--ac)}.mind-head small{font-size:.8rem}.mind-tools{display:flex;align-items:center;gap:2px}button.icon{width:48px;padding:0;display:grid;place-items:center}.days-pick button.on{background:var(--acs);color:var(--ac)}.days-pick button.on span{color:var(--ac)}.precept{font:italic 400 .95rem/1.35 var(--serif);color:var(--mu)}.vrow{width:100%;height:48px;padding:0 12px;border-radius:12px;background:var(--s1);display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left}.vrow.x{background:var(--sls);color:var(--sl)}.vname{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex;align-items:center;gap:8px}.vname em{font-style:normal;font-size:.7rem;color:var(--ac);background:var(--acs);border-radius:8px;padding:2px 6px}.vdots{display:grid;grid-template-columns:repeat(7,12px);gap:4px;flex:none}.d{width:12px;height:12px;display:grid;place-items:center}.d:after{content:"";border-radius:50%}.d.clean:after{width:4px;height:4px;background:var(--fa)}.d.slip:after{width:9px;height:9px;background:var(--sl)}.d.today{box-shadow:inset 0 0 0 1.5px var(--mu);border-radius:50%}.d.today-slip{box-shadow:inset 0 0 0 1.5px var(--sl);border-radius:50%}.d.today-slip:after{width:6px;height:6px;background:var(--sl)}.d.future:after{width:4px;height:4px;background:var(--s2)}.res{display:flex;flex-direction:column;gap:4px}.res-head{display:flex;align-items:center;gap:10px;font-size:.9rem;color:var(--mu)}.res-head b{color:var(--tx);font-weight:500}.res-head .link{margin-left:auto;min-height:40px}.res input[type=range]{width:100%;height:40px;margin:0;accent-color:var(--ac);background:transparent}.res input[type=range].unset{opacity:.45}.pressure,.toolbox-btn{width:100%}.pressure{background:var(--sls);color:var(--sl);font-weight:500}.sheet.toolbox,.sheet.editor{max-height:calc(100% - 16px)}.sheet.toolbox{height:calc(100% - 16px)}.sheet-top{display:flex;justify-content:space-between;align-items:center}.anchor{font-size:.85rem;color:var(--mu);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.seg{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:4px;background:var(--bg);border-radius:12px;padding:3px}.seg button{background:transparent;min-height:42px;padding:0 6px;font-size:.85rem;color:var(--mu)}.seg button.on{background:var(--s2);color:var(--tx)}.seg.small button{min-height:40px}.vtitle{font:500 1.05rem var(--serif);margin:0}.cards{flex:1;min-height:0;display:flex;flex-direction:column;gap:6px}.card{flex:1;min-height:0;overflow-y:auto;background:var(--bg);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:6px}.card b{font-weight:500}.card p{line-height:1.5;white-space:pre-wrap}.sheet.toolbox .paged{min-height:120px}.field-label{display:flex;flex-direction:column;gap:4px;font-size:.85rem;color:var(--mu)}.input.area{padding:10px 14px;resize:none;line-height:1.4;min-height:64px}.grow-area .area{min-height:110px}.top-actions{display:flex;align-items:center;gap:4px;flex:none}.round{width:var(--tap);height:var(--tap);min-height:var(--tap);padding:0;border-radius:50%;display:grid;place-items:center;color:var(--ac)}.sheet a.primary{display:flex;align-items:center;justify-content:center;min-height:var(--tap);border-radius:12px;background:var(--ac);color:var(--bg);font-weight:600;text-decoration:none}.claude-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.claude-row>span{display:flex;flex-direction:column;min-width:0}.claude-row small{font-size:.8rem}.claude-row code{font-size:.85rem;overflow-wrap:anywhere;color:var(--tx)}.claude-row button{flex:none}.connect ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px}.connect .primary{display:flex;align-items:center;justify-content:center;gap:8px}.connect .small{font-size:.85rem;text-align:center}.connect .quiet{min-height:var(--tap)}.small{font-size:.85rem}.head-actions{display:flex;align-items:center;gap:6px}.icon-btn{width:var(--tap);padding:0;display:grid;place-items:center;background:transparent;color:var(--mu)}.field-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:8px;align-items:end}.input.area{padding:10px 14px;line-height:1.4;resize:none;font:inherit}.sheet.tall{height:calc(100% - 48px)}.sheet.tall .paged{flex:1}.grow-area{flex:1;min-height:120px}.choice{display:flex;flex-direction:column;gap:6px}.choice>span{font-size:.85rem;color:var(--mu)}.choice>div{display:grid;gap:4px}.choice button{padding:0 6px;font-size:.9rem;background:var(--bg);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.choice button.on,.seg button.on{background:var(--acs);color:var(--ac)}.seg{display:inline-grid;grid-auto-flow:column;gap:2px;padding:3px;border-radius:14px;background:var(--s1)}.seg button{min-height:42px;padding:0 14px;background:transparent;font-size:.9rem}.seg.wide{display:grid;grid-auto-columns:1fr}.reset-card{width:100%;text-align:left;color:var(--ac)}.reset-card span{display:flex;flex-direction:column;min-width:0}.reset-card small{color:var(--mu);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crow{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;min-height:52px;border-radius:12px;background:var(--s1);padding-right:12px;gap:4px}.crow>button:last-child:not(.cmain){min-height:40px;padding:0 12px;background:var(--bg)}.ctick{background:transparent;padding:0;display:grid;place-items:center}.circle{width:22px;height:22px;border-radius:50%;box-shadow:inset 0 0 0 2px var(--fa)}.ctick:active .circle{background:var(--gr)}.cmain{background:transparent;min-width:0;padding:4px 0;text-align:left;display:flex;flex-direction:column;min-height:50px;justify-content:center}.cmain b,.cmain small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cmain b{font-weight:500;font-size:.95rem}.cmain small{color:var(--mu);font-size:.75rem}.cdue{font-size:.8rem;color:var(--mu)}.crow.overdue .cdue{color:var(--sl);font-weight:600}.crow.today .cdue{color:var(--ac);font-weight:600}.hist-row{display:flex;justify-content:space-between;gap:12px;min-height:40px;align-items:center;border-bottom:1px solid var(--ln)}.sheet.reset{gap:14px}.reset-clock{display:flex;align-items:center;justify-content:space-between;gap:12px}.reset-clock .big{font:500 2.6rem/1 var(--serif);font-variant-numeric:tabular-nums}.reset-clock .big.done{font-size:1.4rem;color:var(--gr)}.reset-items{display:grid;grid-template-columns:1fr 1fr;gap:6px}.reset-items .chip{background:var(--bg)}.reset-items .chip.on{background:var(--grs)}.cal-nav{display:grid;grid-template-columns:48px 1fr 48px;align-items:center;text-align:center}.cal-nav button{background:transparent;padding:0;display:grid;place-items:center}.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.cal-head{text-align:center;font-size:.7rem;color:var(--fa)}.cal-day{position:relative;padding:0;min-height:44px;border-radius:10px;background:var(--s1);font-size:.9rem;display:grid;place-items:center}.cal-grid.month .cal-day{min-height:38px}.cal-day.out{opacity:.4}.cal-day.today{box-shadow:inset 0 0 0 1.5px var(--ac)}.cal-day.on{background:var(--acs);color:var(--ac);font-weight:600}.cal-day .dot{position:absolute;bottom:5px;width:5px;height:5px;border-radius:50%;background:var(--gr)}.erow,.nrow{width:100%;min-height:50px;border-radius:12px;background:var(--s1);text-align:left;display:flex;align-items:center;gap:12px;padding:4px 12px}.etime{flex:none;width:52px;font-size:.8rem;color:var(--ac)}.emain{min-width:0;display:flex;flex-direction:column}.emain b,.emain small,.nrow b,.nrow small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.emain b,.nrow b{font-weight:500}.emain small,.nrow small{color:var(--mu);font-size:.75rem}.nrow{flex-direction:column;align-items:flex-start;justify-content:center;gap:0;min-height:56px;position:relative}.nrow b,.nrow small{max-width:100%}.nrow em{position:absolute;right:12px;top:8px;font-style:normal;font-size:.7rem;color:var(--fa)}.news{display:flex;align-items:center;gap:4px;border-radius:12px;background:var(--grs);padding-left:4px}.news-text{flex:1;min-width:0;background:transparent;text-align:left;color:var(--gr);font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sum-rows{display:flex;flex-direction:column;gap:4px;margin-top:auto}.sum-row{display:grid;grid-template-columns:64px minmax(0,1fr) 16px;gap:8px;align-items:center;min-height:48px;padding:0 12px;text-align:left}.sum-label{font-size:.75rem;color:var(--fa);text-transform:uppercase;letter-spacing:.04em}.sum-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}.input.code{font:600 1.8rem/1 var(--sans);letter-spacing:.3em;text-align:center;min-height:64px}.code-box{display:flex;flex-direction:column;gap:10px;align-items:center;text-align:center;padding:8px 0}.code-digits{font:600 2.6rem/1.1 var(--sans);letter-spacing:.12em;color:var(--ac);font-variant-numeric:tabular-nums}.sheet.people p{overflow-wrap:anywhere}@media(min-width:900px){.top,.content,.banner{width:100%;max-width:760px;margin-left:auto;margin-right:auto}}.money-card{width:100%;text-align:left;min-height:64px}.money-card span{display:flex;flex-direction:column;min-width:0}.money-card b,.money-card small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.money-strip{display:flex;flex-direction:column;gap:4px}.bill-line{justify-content:space-between;color:var(--tx)}.bill-line span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem}.bill-line button,.crow>button:last-child{flex:none;min-height:40px;padding:0 12px;background:var(--acs);color:var(--ac)}.mrow{width:100%;min-height:50px;border-radius:12px;background:var(--s1);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 12px;text-align:left}.mmain{min-width:0;display:flex;flex-direction:column}.mmain b,.mmain small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mmain b{font-weight:500;font-size:.95rem}.mmain small{color:var(--mu);font-size:.75rem}.amt{flex:none;font-variant-numeric:tabular-nums}.amt.out{color:var(--tx)}.amt.in{color:var(--gr)}.add-money{flex:none}.sheet.money{gap:10px}.input.amount{font:600 1.6rem/1 var(--sans);text-align:center;min-height:56px;font-variant-numeric:tabular-nums}.cat-chips{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.cat-chips button{padding:0 4px;min-height:44px;font-size:.8rem;background:var(--bg);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cat-chips button.on{background:var(--acs);color:var(--ac)}.cat-chips button.add{color:var(--ac)}.cat-chips .input{grid-column:span 2;min-height:44px}.cat-chips.sort{grid-template-columns:repeat(3,minmax(0,1fr))}.cat-chips.sort button{min-height:52px;font-size:.9rem}.sheet.menu{gap:2px}.sheet.menu button{display:flex;justify-content:space-between;align-items:center;text-align:left;background:transparent;border-bottom:1px solid var(--ln);border-radius:0}.page-head{align-items:center;justify-content:flex-start}.page-head h2{flex:1}.block-head b{color:var(--tx);font-variant-numeric:tabular-nums}.brow{width:100%;min-height:56px;border-radius:12px;background:var(--s1);display:flex;flex-direction:column;justify-content:center;gap:6px;padding:6px 12px;text-align:left}.bline{display:flex;justify-content:space-between;gap:12px}.bline small{color:var(--mu);font-variant-numeric:tabular-nums}.bar{height:6px;border-radius:3px;background:var(--bg);overflow:hidden}.bar i{display:block;height:100%;background:var(--gr)}.bar i.over{background:var(--sl)}.sort-card{justify-content:space-between;color:var(--tx)}.sort-card span:first-child{display:flex;flex-direction:column;min-width:0}.import-cols{display:flex;flex-direction:column;gap:8px}.import-cols .field span{font-size:.8rem}.checks{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:.85rem;color:var(--mu)}.checks label{display:flex;align-items:center;gap:6px;min-height:36px}.file-btn{position:relative;display:grid;place-items:center;min-height:var(--tap);border-radius:12px;background:var(--acs);color:var(--ac);font-weight:600;cursor:pointer}.file-btn input{position:absolute;inset:0;opacity:0;cursor:pointer}.preview{display:flex;flex-direction:column;gap:2px;font-size:.8rem}.preview div{display:grid;grid-template-columns:70px minmax(0,1fr) auto;gap:8px;color:var(--mu)}.preview span:nth-child(2){white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--tx)}.chart{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border-radius:14px;background:var(--s1)}.chart svg{width:100%;height:auto;max-height:30vh}.chart text{fill:var(--fa);font-size:10px}.bar-in{fill:var(--gr)}.bar-out{fill:var(--ac)}.worth-line{stroke:var(--ac);stroke-width:2}.pt{fill:var(--ac)}.pt.partial{opacity:.35}
