@font-face{font-family:Space Grotesk;font-style:normal;font-display:swap;font-weight:500;src:url(./space-grotesk-vietnamese-500-normal-BmEvtly_.woff2)format("woff2"),url(./space-grotesk-vietnamese-500-normal-BTqKIpxg.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Space Grotesk;font-style:normal;font-display:swap;font-weight:500;src:url(./space-grotesk-latin-ext-500-normal-DUe3BAxM.woff2)format("woff2"),url(./space-grotesk-latin-ext-500-normal-3dgZTiw9.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Space Grotesk;font-style:normal;font-display:swap;font-weight:500;src:url(./space-grotesk-latin-500-normal-lFbtlQH6.woff2)format("woff2"),url(./space-grotesk-latin-500-normal-CNSSEhBt.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Space Grotesk;font-style:normal;font-display:swap;font-weight:700;src:url(./space-grotesk-vietnamese-700-normal-DMty7AZE.woff2)format("woff2"),url(./space-grotesk-vietnamese-700-normal-Duxec5Rn.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Space Grotesk;font-style:normal;font-display:swap;font-weight:700;src:url(./space-grotesk-latin-ext-700-normal-BQnZhY3m.woff2)format("woff2"),url(./space-grotesk-latin-ext-700-normal-HVCqSBdx.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Space Grotesk;font-style:normal;font-display:swap;font-weight:700;src:url(./space-grotesk-latin-700-normal-RjhwGPKo.woff2)format("woff2"),url(./space-grotesk-latin-700-normal-CwsQ-cCU.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0e100f;--surface:#171a18;--raised:#20241f;--nav-bg:#121513;--border:#2c312c;--divider:#242823;--line:#3a403a;--line-strong:#4a514a;--text:#eef0ea;--text-2:#d9ddd5;--muted:#a3aaa2;--accent:#e5a73b;--accent-hover:#f2c46e;--accent-text:#1a1408;--danger:#ff8466;--danger-text:#1e0c06;--overdue-bg:#2a1a15;--overdue-border:#4a2a20;--overdue-line:#5a3a2e;--overdue-soft:#f3c2b3;--soon-bg:#2a2112;--soon-border:#4a3a1c;--soon-line:#6b5220;--soon-soft:#ebd3a4;--soon-muted:#d6c7a6;--ok:#8bc48a;--ok-bg:#1c2a1e;--ok-border:#2e4431;--ok-soft:#cfe3ce;--warn:var(--accent);--font:"Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;--font-num:"Space Grotesk", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;--nav-h:84px;--gutter:20px}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;font-size:16px}body{background:var(--bg);color:var(--text);font-family:var(--font);-webkit-tap-highlight-color:transparent;margin:0;line-height:1.5}a{color:var(--accent)}a:hover{color:var(--accent-hover)}h1{letter-spacing:.02em;margin:0;font-size:26px;font-weight:700;line-height:1.25}h2{margin:0;font-size:17px;font-weight:700}h3{margin:0;font-size:15px;font-weight:700}p{margin:0}.num{font-family:var(--font-num)}.muted{color:var(--muted)}.error{color:var(--danger);margin:8px 0;font-size:14px}.warn-text{color:var(--warn);margin:8px 0;font-size:13px}.ok-text{color:var(--ok)}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.shell{min-height:100vh;padding-bottom:calc(var(--nav-h) + env(safe-area-inset-bottom))}.content{max-width:720px;padding:0 var(--gutter) 32px;margin:0 auto}.brand,.sync-foot{display:none}.sync-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.sync-text{flex-direction:column;gap:2px;display:flex}.tabbar{z-index:10;min-height:var(--nav-h);padding:8px 12px calc(12px + env(safe-area-inset-bottom));background:var(--nav-bg);border-top:1px solid var(--divider);grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;display:grid;position:fixed;bottom:0;left:0;right:0}.tab{min-height:52px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:11px;text-decoration:none;display:flex}.tab:hover{color:var(--text)}.tab.active{color:var(--accent);font-weight:700}.tab svg{flex-shrink:0}.tab{white-space:nowrap;min-width:0}.tab-long{display:none}.tab-add{background:var(--accent);width:52px;height:52px;min-height:0;color:var(--accent-text);border-radius:26px;justify-self:center}.tab-add:hover,.tab-add.active{color:var(--accent-text);background:var(--accent-hover)}.tab-add-text{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (width>=900px){.shell{padding-bottom:0;padding-left:240px}.content{max-width:880px;padding:0 clamp(16px,3vw,40px) 48px}.tabbar{border-top:0;border-right:1px solid var(--divider);flex-direction:column;align-items:stretch;gap:4px;width:240px;min-height:0;padding:24px 16px;display:flex;top:0;bottom:0;right:auto}.sync-foot{background:var(--surface);border:1px solid var(--divider);border-radius:14px;flex-direction:column;order:20;gap:6px;margin-top:auto;padding:12px;font-size:13px;display:flex}.sync-foot-status{color:var(--muted)}.sync-foot-email{color:var(--text-2);overflow-wrap:anywhere}.brand{color:var(--text);align-items:center;gap:10px;padding:0 8px 20px;font-size:18px;font-weight:700;display:flex}.tab{min-height:44px;color:var(--text-2);border-radius:12px;flex-direction:row;justify-content:flex-start;gap:12px;padding:0 12px;font-size:15px}.tab svg{width:20px;height:20px}.tab-short{display:none}.tab-long{display:inline}.tab.active{background:var(--soon-bg);color:var(--accent)}.tab-add{background:var(--accent);width:auto;height:44px;color:var(--accent-text);order:10;justify-content:center;gap:8px;margin-top:16px;font-weight:700}.tab-add.active{background:var(--accent-hover);color:var(--accent-text)}.tab-add-text{clip:auto;width:auto;height:auto;position:static;overflow:visible}}.page-head{justify-content:space-between;align-items:flex-end;gap:12px;padding:28px 0 16px;display:flex}.page-head .sub{color:var(--muted);font-size:13px}.page-head .titles{flex-direction:column;gap:4px;min-width:0;display:flex}.page-head h1{font-size:30px}.topbar{justify-content:space-between;align-items:center;gap:4px;margin:0 -8px;padding:16px 0 4px;display:flex}.topbar h1{font-size:17px}.icon-btn{width:44px;height:44px;color:var(--text);background:0 0;border:0;border-radius:12px;justify-content:center;align-items:center;padding:0;display:inline-flex}.text-btn{min-height:44px;color:var(--accent);background:0 0;border:0;border-radius:12px;align-items:center;padding:0 12px;font-size:15px;font-weight:500;text-decoration:none;display:inline-flex}.text-btn.plain{color:var(--text)}.stack{flex-direction:column;gap:16px;display:flex}.card{background:var(--surface);border:1px solid var(--border);border-radius:20px;flex-direction:column;gap:12px;padding:16px;display:flex}.card.flush{gap:0;padding:0;overflow:hidden}.card-head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.card-head h2{font-size:15px}.card-head .meta{color:var(--muted);text-align:right;font-size:12px}.block-title{justify-content:space-between;align-items:baseline;gap:8px;margin:8px 0 -4px;display:flex}.block-title h2{font-size:17px}.block-title .meta{color:var(--muted);font-size:13px}.panel{background:var(--bg);border:1px solid var(--border);border-radius:16px;flex-direction:column;gap:12px;padding:14px;display:flex}.empty{color:var(--muted);padding:8px 0;font-size:14px}label{color:var(--muted);flex-direction:column;gap:8px;font-size:13px;display:flex}label.inline{color:var(--text);flex-direction:row;align-items:center;gap:10px;min-height:44px;font-size:15px}input,select,textarea,button{font:inherit}input,select,textarea{width:100%;min-height:48px;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:0 14px;font-size:16px}textarea{resize:vertical;min-height:72px;padding:12px 14px}input:focus,select:focus,textarea:focus{border-color:var(--accent);outline:none}input[type=checkbox]{width:22px;height:22px;min-height:0;accent-color:var(--accent);flex-shrink:0;margin:0;padding:0}input[type=date],input[type=number]{font-family:var(--font-num)}input.big{font-family:var(--font-num);font-size:18px;font-weight:700}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23A3AAA2' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat;padding-right:36px}option,optgroup{background-color:var(--surface);color:var(--text);font-weight:400}.sheet input,.sheet select,.sheet textarea,.panel input,.panel select{background-color:var(--bg)}.form{flex-direction:column;gap:18px;display:flex}.grid2{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.row{flex-wrap:wrap;align-items:flex-end;gap:8px;display:flex}.row.center{align-items:center}.row.end{justify-content:flex-end;align-items:center}.row.between{justify-content:space-between;align-items:center}.grow{flex:1;min-width:0}.hint{color:var(--muted);font-size:12px}.req{color:var(--danger)}.unit-input{border:1px solid var(--border);background:var(--surface);border-radius:14px;align-items:center;gap:8px;min-height:48px;padding:0 14px;display:flex}.unit-input:focus-within{border-color:var(--accent)}.unit-input input{min-width:0;min-height:46px;font-family:var(--font-num);background:0 0;border:0;flex:1;padding:0;font-size:18px;font-weight:700}.unit-input .unit{color:var(--muted);font-size:15px}.sheet .unit-input{background:var(--bg)}.seg{background:var(--bg);border-radius:14px;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;padding:4px;display:grid}.form .seg{background:var(--surface)}.seg.inline{gap:4px;display:inline-flex}.seg button{height:40px;min-height:40px;color:var(--muted);background:0 0;border:0;border-radius:10px;padding:0 6px;font-size:14px}.seg.inline button{width:52px;height:auto;min-height:40px}.seg button[aria-pressed=true]{background:var(--border);color:var(--text);font-weight:700}fieldset{border:0;flex-direction:column;gap:8px;min-width:0;margin:0;padding:0;display:flex}legend{color:var(--muted);margin-bottom:8px;padding:0;font-size:13px}.stepper{border:1px solid var(--border);background:var(--surface);border-radius:14px;align-items:center;min-height:48px;display:flex}.stepper:focus-within{border-color:var(--accent)}.stepper button{width:44px;min-height:46px;color:var(--text);background:0 0;border:0;border-radius:14px;padding:0;font-size:20px}.stepper input{text-align:center;min-height:46px;font-family:var(--font-num);-moz-appearance:textfield;background:0 0;border:0;flex:1;min-width:0;padding:0;font-size:18px;font-weight:700}.stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.preview{background:var(--raised);border-radius:14px;justify-content:space-between;align-items:center;gap:8px;padding:12px 14px;display:flex}.preview .k{color:var(--muted);font-size:13px}.preview .v{text-align:right;font-size:15px}.preview .v .num{font-weight:700}details.more{background:var(--surface);border:1px solid var(--border);border-radius:16px}details.more>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:8px;min-height:48px;padding:0 16px;font-size:15px;list-style:none;display:flex}details.more>summary::-webkit-details-marker{display:none}details.more>summary .hint{text-align:right}details.more[open]>summary{border-bottom:1px solid var(--divider)}details.more>.more-body{flex-direction:column;gap:16px;padding:16px;display:flex}button,.button{border:1px solid var(--line);min-height:44px;color:var(--text);cursor:pointer;background:0 0;border-radius:12px;justify-content:center;align-items:center;gap:6px;padding:0 16px;font-size:15px;line-height:1.2;text-decoration:none;display:inline-flex}.button:hover{color:var(--text)}button:hover:not(:disabled){border-color:var(--line-strong)}button:disabled{opacity:.45;cursor:not-allowed}button.primary,.button.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-text);font-weight:700}button.primary:hover:not(:disabled),.button.primary:hover{background:var(--accent-hover);border-color:var(--accent-hover);color:var(--accent-text)}button.danger,.button.danger{color:var(--danger);border-color:var(--overdue-border)}button.ghost,.button.ghost{color:var(--accent);border-color:#0000;min-height:36px;padding:0 4px}button.ghost:hover:not(:disabled){color:var(--accent-hover);border-color:#0000}button.dashed{border-style:dashed;border-color:var(--line-strong);color:var(--accent);border-radius:14px;width:100%;min-height:48px}button.small,.button.small{border-radius:10px;min-height:36px;padding:0 12px;font-size:14px}.lg{border-radius:14px;min-height:52px;font-size:16px}.block{width:100%}.actions{flex-wrap:wrap;gap:8px;display:flex}.actions>*{flex:auto}.chips{flex-wrap:wrap;gap:6px;display:flex}.chip{color:var(--text-2);background:var(--raised);border-radius:9px;padding:3px 10px;font-size:13px;line-height:1.4}.chip.ok{color:var(--ok-soft);background:var(--ok-bg);border:1px solid var(--ok-border);padding:2px 9px}.chip.off{color:var(--muted);border:1px solid var(--line);background:0 0;padding:2px 9px}.badge{white-space:nowrap;border-radius:10px;flex-shrink:0;padding:3px 9px;font-size:12px;font-weight:700;line-height:1.4}.badge.overdue{background:var(--danger);color:var(--danger-text)}.badge.today{background:var(--accent);color:var(--accent-text)}.badge.soon{background:var(--soon-bg);color:var(--accent);border:1px solid var(--soon-line);padding:2px 8px}.badge.later{background:var(--raised);color:var(--text-2);font-weight:500}.badge.plain{color:var(--muted);border:1px solid var(--line);background:0 0;padding:2px 8px;font-weight:500}.due-text{white-space:nowrap;text-align:right;color:var(--muted);font-size:12px}.due-text.overdue{color:var(--danger);font-weight:700}.due-text.today{color:var(--accent);font-weight:700}.due-text.soon{color:var(--soon-muted)}.tags{flex-wrap:wrap;gap:6px;display:flex}.tag{color:var(--text-2);background:var(--raised);border-radius:8px;padding:4px 8px;font-size:12px}.kind-tag{color:var(--muted);border:1px solid var(--line);white-space:nowrap;border-radius:8px;padding:2px 8px;font-size:12px}.tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.tile{background:var(--surface);border:1px solid var(--border);border-radius:16px;flex-direction:column;gap:2px;padding:12px 14px;display:flex}.tile .n{font-family:var(--font-num);font-size:30px;font-weight:700;line-height:1.1}.tile .l{color:var(--muted);font-size:13px}.tile.overdue{background:var(--overdue-bg);border-color:var(--overdue-border)}.tile.overdue .n{color:var(--danger)}.tile.overdue .l{color:var(--overdue-soft)}.tile.today{background:var(--soon-bg);border-color:var(--soon-border)}.tile.today .n{color:var(--accent)}.tile.today .l{color:var(--soon-soft)}.due-cards{flex-direction:column;gap:10px;display:flex}.due-card{background:var(--surface);border:1px solid var(--border);border-radius:18px;flex-direction:column;gap:10px;padding:14px 16px;display:flex}.due-card-head{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.due-card-title{flex-direction:column;gap:3px;min-width:0;display:flex}.due-card-title .name{color:var(--text);flex-wrap:wrap;align-items:baseline;gap:8px;text-decoration:none;display:flex}.code{font-family:var(--font-num);font-weight:700}.due-card .code{font-size:17px}.due-card .species{font-size:15px;font-weight:500}.due-card .meta{color:var(--muted);font-size:13px}.due-card-actions{gap:8px;display:flex}.due-card-actions .primary{flex:1}.due-card-actions>:not(.primary){width:96px}.rows{background:var(--surface);border:1px solid var(--border);border-radius:18px;flex-direction:column;margin:0;padding:0;list-style:none;display:flex;overflow:hidden}.rows>li+li,.rows>a+a{border-top:1px solid var(--divider)}.row-link{color:var(--text);align-items:center;gap:12px;min-height:56px;padding:12px 16px;text-decoration:none;display:flex}.row-link:hover{color:var(--text);background:#ffffff05}.date-col{flex-direction:column;flex-shrink:0;align-items:center;width:56px;display:flex}.date-col .d{font-family:var(--font-num);font-size:15px;font-weight:700}.date-col .r{color:var(--muted);font-size:11px}.two-line{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.two-line .t{font-size:15px}.two-line .s{color:var(--muted);font-size:12px}.search{background:var(--surface);border:1px solid var(--border);min-height:44px;color:var(--muted);border-radius:12px;flex-direction:row;align-items:center;gap:8px;padding:0 12px}.search:focus-within{border-color:var(--accent)}.search input{background:0 0;border:0;flex:1;min-width:0;min-height:42px;padding:0;font-size:15px}.filters{margin:0 calc(-1 * var(--gutter));padding:2px 0 4px;padding-left:var(--gutter);padding-right:var(--gutter);scrollbar-width:none;gap:8px;display:flex;overflow-x:auto}.filters::-webkit-scrollbar{display:none}.filters label{flex-shrink:0;gap:0}select.pill{border:1px solid var(--line);width:auto;height:36px;min-height:36px;color:var(--text-2);background-color:#0000;background-position:right 12px center;border-radius:18px;padding:0 30px 0 14px;font-size:13px}select.pill.on{background-color:var(--text);color:var(--bg);border-color:var(--text);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230E100F' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");font-weight:700}.list-controls{flex-direction:column;gap:10px;margin-bottom:14px;display:flex}.c-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.c-row{background:var(--surface);border:1px solid var(--border);border-radius:16px;align-items:center;gap:12px;min-height:60px;padding:8px 14px;display:flex}.c-row.selected{background:var(--soon-bg);border-color:var(--soon-line)}.c-row.selected .two-line .s,.c-row.selected .due-text:not(.overdue):not(.today){color:var(--soon-muted)}.c-row.ended .code,.c-row.ended .two-line .t{color:var(--muted)}.c-row .two-line{color:var(--text);padding:4px 0;text-decoration:none}.c-row .two-line:hover{color:var(--text)}.c-row .end{flex-direction:column;align-items:flex-end;gap:4px;display:flex}.c-row .end .badge{font-size:11px}.selecting{padding-bottom:96px}.selbar{left:12px;right:12px;bottom:calc(var(--nav-h) + env(safe-area-inset-bottom) + 12px);z-index:15;background:var(--raised);border:1px solid var(--line);border-radius:22px;gap:8px;max-width:696px;margin:0 auto;padding:10px;display:flex;position:fixed;box-shadow:0 12px 32px #00000080}.selbar button{border-color:var(--line-strong);border-radius:14px;min-height:50px}.selbar .primary{flex:1.4}.selbar>:not(.primary){flex:1}@media (width>=900px){.filters{flex-wrap:wrap;margin:0;padding:2px 0 4px;overflow:visible}.selecting{padding-bottom:0}.selbar{background:var(--soon-bg);border-color:var(--soon-line);max-width:none;box-shadow:none;border-radius:16px;justify-content:flex-end;margin:0 0 14px;padding:10px 12px;position:sticky;inset:12px auto auto}.selbar button{border-color:var(--soon-line);border-radius:10px;min-height:40px}.selbar .primary,.selbar>:not(.primary){flex:none}.list-head-sel{display:none}}.detail-title{flex-direction:column;gap:8px;padding:4px 0 16px;display:flex}.detail-title .name{flex-wrap:wrap;align-items:baseline;gap:10px;display:flex}.detail-title h1{font-family:var(--font-num);font-size:32px}.detail-title .species{font-size:20px;font-weight:500}.hero{background:var(--surface);border:1px solid var(--border);--hero-soft:var(--muted);--hero-line:var(--line);border-radius:20px;flex-direction:column;gap:12px;padding:16px;display:flex}.hero.overdue{background:var(--overdue-bg);border-color:var(--overdue-border);--hero-soft:var(--overdue-soft);--hero-line:var(--overdue-line)}.hero.today,.hero.soon{background:var(--soon-bg);border-color:var(--soon-border);--hero-soft:var(--soon-soft);--hero-line:var(--soon-line)}.hero-top{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.hero-top .info{flex-direction:column;gap:4px;min-width:0;display:flex}.hero h2{color:var(--hero-soft);font-size:13px;font-weight:500}.hero .date{font-family:var(--font-num);font-size:26px;font-weight:700;line-height:1.2}.hero .src{color:var(--hero-soft);font-size:13px}.hero .lg{width:100%}.snooze-row{align-items:center;gap:8px;display:flex}.snooze-row .lbl{color:var(--hero-soft);flex-shrink:0;font-size:13px}.snooze-row button{border-color:var(--hero-line);flex:1;min-width:0;padding:0 8px;font-size:14px}.stack-bar{background:var(--raised);border-radius:7px;gap:2px;height:14px;display:flex;overflow:hidden}.stack-bar.thin{border-radius:4px;height:8px}.legend{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin:0;padding:0;list-style:none;display:grid}.legend li{align-items:center;gap:8px;min-width:0;font-size:14px;display:flex}.legend .amt{font-family:var(--font-num);white-space:nowrap;margin-left:auto;font-weight:700}.swatch{border-radius:3px;flex-shrink:0;width:10px;height:10px;display:inline-block}.swatch.lg{width:12px;height:12px;min-height:0}.swatch.round{border-radius:6px}.weight-latest{color:var(--muted);font-size:13px}.weight-latest .num{color:var(--text);font-size:18px;font-weight:700}.chart{width:100%;max-width:520px;height:auto;margin:0 auto;display:block}.history{margin:0;padding:0;list-style:none}.history li{padding:0;display:block}.history .history-row{width:100%;min-height:44px;color:inherit;font:inherit;text-align:left;background:0 0;border:0;border-radius:0;align-items:flex-start;gap:12px;margin:0;padding:12px 16px;display:flex}.history button.history-row{cursor:pointer}.history li+li{border-top:1px solid var(--divider)}.history .when{width:48px;font-family:var(--font-num);color:var(--muted);flex-shrink:0;font-size:14px;font-weight:700}.history .when.long{width:86px}.info-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;margin:0;display:grid}.info-grid dt{color:var(--muted);font-size:12px}.info-grid dd{overflow-wrap:anywhere;margin:2px 0 0;font-size:14px}.info-grid .wide{grid-column:1/-1}.data-table{border-collapse:collapse;width:100%;font-size:14px}.data-table th,.data-table td{text-align:left;border-bottom:1px solid var(--divider);padding:8px;font-weight:500}.data-table th{color:var(--muted);font-size:12px}.data-table td{font-family:var(--font-num)}.sys-default{background:var(--surface);border:1px solid var(--border);border-radius:16px;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.sys-default .v{font-family:var(--font-num);white-space:nowrap;font-size:20px;font-weight:700}.sys-default .v small{font-family:var(--font);color:var(--muted);font-size:13px;font-weight:500}.preset-head{justify-content:space-between;align-items:center;padding:14px 16px 10px;display:flex}.preset-cols,.preset-row{grid-template-columns:48px 64px minmax(0,1fr);align-items:center;gap:0 10px;display:grid}.preset-cols{color:var(--muted);padding:0 16px 4px;font-size:11px}button.preset-row{border:0;border-top:1px solid var(--divider);text-align:left;justify-content:initial;background:0 0;border-radius:0;width:100%;min-height:52px;padding:12px 16px;font-size:15px}button.preset-row:hover:not(:disabled){background:#ffffff08}button.preset-row[aria-expanded=true]{background:var(--raised)}.preset-row .st{font-weight:700}.preset-row .days{font-family:var(--font-num)}.preset-row .days.default{color:var(--muted)}.preset-row .mix{min-width:0;color:var(--text-2);flex-direction:column;gap:5px;font-size:12px;display:flex}.preset-row .mix .none{color:var(--muted)}.preset-edit{border-top:1px solid var(--divider);background:var(--raised);flex-direction:column;gap:14px;padding:14px 16px 16px;display:flex}.preset-edit input,.preset-edit select{background-color:var(--bg)}.item-list{margin:0;padding:0;list-style:none}.item-list li{align-items:center;gap:10px;min-height:56px;padding:8px 8px 8px 16px;display:flex}.item-list li+li{border-top:1px solid var(--divider)}.item-list .name{flex:1;min-width:0;font-size:15px}.item-list input{min-height:40px}.inline-form{flex-wrap:wrap;align-items:flex-end;gap:8px;display:flex}.inline-form>label{flex:180px}.recipe{flex-direction:column;gap:8px;display:flex}.recipe-row{background:var(--bg);border:1px solid var(--border);min-height:48px;color:var(--text);border-radius:14px;flex-direction:row;align-items:center;gap:10px;padding:0 6px 0 14px;font-size:15px;display:flex}.recipe-row:focus-within{border-color:var(--accent)}.recipe-row .nm{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.recipe-row input{text-align:right;width:72px;min-height:44px;font-family:var(--font-num);-moz-appearance:textfield;background:0 0;border:0;padding:0;font-size:17px;font-weight:700}.recipe-row input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.recipe-row input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.recipe-row .u{color:var(--muted);min-width:28px;font-size:13px}.recipe-row .rm{width:36px;min-height:36px;color:var(--muted);border:0;padding:0;font-size:16px}.recipe-add{align-items:center;gap:8px;display:flex}.recipe-add select{flex:1;min-width:0;min-height:44px;font-size:15px}.card .recipe-row,.card .recipe-add select{background-color:var(--bg)}.overlay{z-index:30;background:#0000009e;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.overlay.sheet-overlay{align-items:flex-end;padding:0}.dialog{background:var(--surface);border:1px solid var(--border);border-radius:20px;flex-direction:column;gap:16px;width:100%;max-width:400px;max-height:calc(100dvh - 32px);padding:20px;display:flex;overflow:auto;box-shadow:0 16px 48px #00000080}.dialog:focus{outline:none}.dialog-msg{flex-direction:column;gap:12px;font-size:16px;line-height:1.6;display:flex}.dialog-foot{justify-content:flex-end;gap:10px;display:flex}.dialog-foot>button{min-width:96px}.sheet{width:100%;max-width:none;max-height:92dvh;padding:10px var(--gutter) calc(20px + env(safe-area-inset-bottom));border-width:1px 0 0;border-radius:26px 26px 0 0;gap:16px}.sheet-handle{background:var(--line);border-radius:3px;flex-shrink:0;align-self:center;width:40px;height:5px}.sheet-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.sheet-head .titles{flex-direction:column;gap:2px;min-width:0;display:flex}.sheet-head h2{font-size:22px}.sheet-head .sub{color:var(--muted);font-size:13px}.sheet-head label{flex-shrink:0}.sheet-head input[type=date]{background:var(--raised);border-color:var(--line);border-radius:12px;width:auto;height:40px;min-height:40px;padding:0 10px;font-size:14px}.sheet-foot{bottom:calc(-20px - env(safe-area-inset-bottom));background:var(--surface);flex-direction:column;gap:12px;margin-top:auto;padding:8px 0 0;display:flex;position:sticky}.sheet-foot .btns{gap:10px;display:flex}.sheet-foot .btns>:first-child:not(.primary){flex-shrink:0;width:108px}.sheet-foot .btns .primary{flex:1}.snooze-opts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.snooze-opts button{min-height:52px;font-size:16px}.diff{font-size:12px}.diff.up{color:var(--ok)}.diff.down{color:var(--muted)}.split-part{flex-direction:column;gap:12px;display:flex}.split-part .grid3{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 96px;align-items:end;gap:10px;display:grid}.remaining{font-size:15px}@media (width>=900px){.overlay.sheet-overlay{align-items:center;padding:16px}.sheet{border-width:1px;border-radius:20px;max-width:480px;max-height:calc(100dvh - 32px);padding:20px}.sheet.wide{max-width:600px}.sheet-handle{display:none}.sheet-foot{bottom:-20px}}.chart text{font-family:var(--font-num)}@media (width>=900px){.today-page .due-cards{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}}
