@font-face{font-family:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(./bricolage-grotesque-vietnamese-wght-normal-BUzh504Q.woff2)format("woff2-variations");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:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(./bricolage-grotesque-latin-ext-wght-normal-CcLUaPy7.woff2)format("woff2-variations");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:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(./bricolage-grotesque-latin-wght-normal-DLoelf7F.woff2)format("woff2-variations");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:Fraunces Variable;font-style:italic;font-display:swap;font-weight:100 900;src:url(./fraunces-vietnamese-opsz-italic-DxWqP7Ku.woff2)format("woff2-variations");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:Fraunces Variable;font-style:italic;font-display:swap;font-weight:100 900;src:url(./fraunces-latin-ext-opsz-italic-CGbN9UgK.woff2)format("woff2-variations");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:Fraunces Variable;font-style:italic;font-display:swap;font-weight:100 900;src:url(./fraunces-latin-opsz-italic-lSdLDfvT.woff2)format("woff2-variations");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:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-vietnamese-wght-normal-CBcvBZtf.woff2)format("woff2-variations");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:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");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:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");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{--bg:#f3f0e6;--bg-2:#e9e5d6;--sheet:#fffdf7;--ink:#1d2b24;--ink-2:#3c4b43;--muted:#66746b;--faint:#9aa59d;--line:#e4e0d1;--line-2:#d3cebb;--accent:#245640;--accent-hover:#1a4231;--accent-ink:#fffdf7;--accent-soft:#e2ebe2;--gold:#d99a2b;--gold-soft:#f8ebcf;--rose:#b4553f;--rose-soft:#f6e2da;--danger:#a9402c;--shadow:0 1px 1px #1e281e0a, 0 6px 20px #1e322314;--brand-deep:#245640;--brand-cream:#fbf6e8;--brand-gold:#e8ab3a;--brand-leaf:#9cc48b;--c0:#3f8a5f;--c0-soft:#dcefe2;--c1:#d9932a;--c1-soft:#f8e9cc;--c2:#c4623f;--c2-soft:#f6e0d6;--c3:#3b7ea8;--c3-soft:#dbe9f3;--c4:#8a5a9e;--c4-soft:#ece1f1;--c5:#2e8f8a;--c5-soft:#d6efed;--c6:#c25478;--c6-soft:#f5dde6;--c7:#5e6b7d;--c7-soft:#e2e6ec;--display:"Bricolage Grotesque Variable", "Avenir Next", system-ui, sans-serif;--serif:"Fraunces Variable", Georgia, serif;--sans:"Inter Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--tabbar:66px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}[data-theme=dark]{--bg:#111a16;--bg-2:#18231e;--sheet:#1b2721;--ink:#e9efe6;--ink-2:#c9d3c8;--muted:#98a79c;--faint:#66756b;--line:#27352e;--line-2:#354539;--accent:#8fd1a6;--accent-hover:#a7ddb9;--accent-ink:#10201a;--accent-soft:#223a2d;--gold:#f0bd5c;--gold-soft:#3a3020;--rose:#ec9a82;--rose-soft:#3d2620;--danger:#f09a86;--shadow:0 1px 1px #00000040, 0 8px 26px #00000047;--brand-deep:#2b6a4e;--c0:#6cc08d;--c0-soft:#1f3a2a;--c1:#f0b453;--c1-soft:#3a3020;--c2:#e98a68;--c2-soft:#3d2620;--c3:#6eb1dc;--c3-soft:#1d3140;--c4:#b78fd0;--c4-soft:#33263b;--c5:#5cc6bf;--c5-soft:#193532;--c6:#ea86a8;--c6-soft:#3b2230;--c7:#9aa8bb;--c7-soft:#2a313b;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--bg);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;background-image:radial-gradient(900px 420px at 85% -160px, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%), radial-gradient(700px 380px at -10% 10%, color-mix(in srgb, var(--gold) 9%, transparent), transparent 70%);background-attachment:fixed;margin:0;font-size:16px;line-height:1.5}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}a{color:var(--accent)}:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:10px}.loading{min-height:100dvh;font-family:var(--display);color:var(--muted);text-align:center;place-items:center;padding:24px;font-size:30px;font-weight:700;display:grid}.muted{color:var(--muted)}.small{font-size:.88rem}.app{min-height:100dvh;padding-bottom:calc(var(--tabbar) + env(safe-area-inset-bottom) + 18px)}.topbar{z-index:20;padding:calc(env(safe-area-inset-top) + 10px) 18px 10px;background:color-mix(in srgb, var(--bg) 86%, transparent);-webkit-backdrop-filter:blur(12px);justify-content:space-between;align-items:center;gap:12px;display:flex;position:sticky;top:0}.brand{background:0 0;border:0;align-items:center;gap:10px;padding:4px 0;display:flex}.logo{border-radius:9px}.brand-name{font-family:var(--display);letter-spacing:-.01em;color:var(--ink);font-size:22px;font-weight:700}.topnav{gap:4px;display:none}.topnav button{color:var(--muted);background:0 0;border:0;border-radius:999px;padding:8px 15px;font-size:15px;font-weight:600}.topnav button:hover{color:var(--ink);background:var(--accent-soft)}.topnav button.on{color:var(--accent-ink);background:var(--accent)}.tabbar{z-index:20;height:calc(var(--tabbar) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:color-mix(in srgb, var(--sheet) 92%, transparent);-webkit-backdrop-filter:blur(14px);border-top:1px solid var(--line);grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.tabbar button{color:var(--faint);background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:11.5px;font-weight:600;display:flex}.tabbar button.on{color:var(--accent)}.tabbar button.on .icon{stroke-width:2.2px}.main{max-width:640px;margin:0 auto;padding:4px 16px 24px;animation:.25s fade}@keyframes fade{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}.update-bar{text-align:center;background:var(--gold-soft);padding:8px;font-size:14px}.page-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.page-title{font-family:var(--display);letter-spacing:-.02em;margin:10px 0 14px;font-size:34px;font-weight:750;line-height:1.1}.section-title{font-family:var(--display);letter-spacing:-.01em;margin:22px 2px 10px;font-size:19px;font-weight:700}.section-title.quiet{color:var(--muted);font-size:16px}.soft-note{font-family:var(--serif);color:var(--muted);text-align:center;padding:14px 8px;font-style:italic}.back{margin:8px 0 4px;font-size:14.5px;font-weight:600;text-decoration:none;display:inline-block}.btn{border:1px solid var(--line-2);background:var(--sheet);min-height:44px;color:var(--ink);border-radius:14px;justify-content:center;align-items:center;gap:8px;padding:9px 18px;font-size:15px;font-weight:600;text-decoration:none;display:inline-flex}.btn:hover{border-color:var(--accent)}.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.btn.primary:hover{background:var(--accent-hover)}.btn.ghost{background:0 0}.btn.danger{color:var(--danger);border-color:color-mix(in srgb, var(--danger) 40%, transparent)}.btn.danger:not(.ghost){background:var(--danger);color:#fff}.btn.small{border-radius:12px;min-height:36px;padding:6px 13px;font-size:14px}.btn:disabled{opacity:.45;cursor:default}.btn-row{flex-wrap:wrap;gap:10px;display:flex}.link{color:var(--accent);text-underline-offset:3px;text-decoration:underline;-webkit-text-decoration-color:color-mix(in srgb, var(--accent) 35%, transparent);text-decoration-color:color-mix(in srgb, var(--accent) 35%, transparent);font-size:inherit;background:0 0;border:0;padding:0}.icon-btn{width:42px;height:42px;color:var(--muted);background:0 0;border:0;border-radius:12px;flex:none;place-items:center;font-size:20px;display:grid}.icon-btn:hover:not(:disabled){background:var(--accent-soft);color:var(--ink)}.icon-btn:disabled{opacity:.3;cursor:default}.select,.date-input{border:1px solid var(--line-2);background:var(--sheet);border-radius:12px;min-height:42px;padding:8px 10px}.segmented{background:var(--bg-2);border-radius:14px;flex-wrap:nowrap;gap:2px;padding:3px;display:inline-flex}.segmented.wrap{flex-wrap:wrap}.segmented button{color:var(--muted);background:0 0;border:0;border-radius:11px;padding:7px 13px;font-size:14px;font-weight:600}.segmented button.on{background:var(--sheet);color:var(--ink);box-shadow:0 1px 3px #0000001f}.card{background:var(--sheet);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:22px;padding:16px 18px}.card.soft{box-shadow:none;background:var(--bg-2)}.card.empty{text-align:center;flex-direction:column;align-items:center;gap:4px;margin-top:8px;display:flex}.card.empty h2{font-family:var(--display);letter-spacing:-.01em;margin:4px 0 0;font-size:24px;font-weight:750}.card.empty p{margin:4px 0 8px}.card.empty>.icon{color:var(--accent)}.today-head{justify-content:space-between;align-items:flex-end;gap:12px;margin:8px 2px 2px;display:flex}.t-weekday{letter-spacing:.14em;text-transform:uppercase;color:var(--gold);font-size:12.5px;font-weight:700}.t-date{font-family:var(--display);letter-spacing:-.03em;margin:2px 0 0;font-size:42px;font-weight:750;line-height:1}.t-progress{flex:none;place-items:center;width:64px;height:64px;display:grid;position:relative}.t-progress span{font-family:var(--display);font-size:16px;font-weight:700;position:absolute}.ring{width:64px;height:64px}.ring circle{fill:none;stroke-width:7px}.ring-bg{stroke:var(--line)}.ring-fg{stroke:var(--accent);stroke-linecap:round;transition:stroke-dasharray .4s}.encourage{font-family:var(--serif);color:var(--ink-2);text-wrap:pretty;margin:10px 2px 4px;font-size:18px;font-style:italic;line-height:1.4}.encourage.small{margin:12px 2px 0;font-size:16px}.habit-list{flex-direction:column;gap:10px;display:flex}.habit-list.quiet .habit-row{opacity:.86}.habit-row{background:var(--sheet);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:22px;align-items:center;gap:6px;padding:10px 12px 10px 10px;transition:background .25s;display:flex;position:relative;overflow:hidden}.habit-row.is-done{background:linear-gradient(100deg, var(--hc-soft), var(--sheet) 75%);border-color:color-mix(in srgb, var(--hc) 30%, var(--line))}.habit-main,.manage-main{text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:12px;min-width:0;padding:2px;display:flex}.habit-icon{background:var(--hc-soft,var(--bg-2));border-radius:15px;flex:none;place-items:center;width:46px;height:46px;font-size:24px;display:grid}.habit-text{flex-direction:column;gap:1px;min-width:0;display:flex}.habit-name{font-size:16.5px;font-weight:650;line-height:1.25}.habit-row.is-done .habit-name{color:var(--ink-2)}.habit-sub{color:var(--muted);flex-wrap:wrap;align-items:center;gap:4px 10px;font-size:13.5px;display:flex}.habit-note{font-family:var(--serif);color:var(--ink-2);white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-style:italic;overflow:hidden}.streak-chip{color:var(--gold);align-items:center;gap:3px;font-size:13px;font-weight:650;display:inline-flex}.note-btn{color:var(--hc)}.check{border:2.5px solid color-mix(in srgb, var(--hc) 55%, var(--line-2));background:var(--sheet);color:#0000;border-radius:50%;flex:none;place-items:center;transition:transform .12s,background .2s,color .2s;display:grid}.check.lg{width:54px;height:54px}.check.sm{width:38px;height:38px}.check:hover{color:color-mix(in srgb, var(--hc) 45%, transparent)}.check:active{transform:scale(.92)}.check.done{background:var(--hc);border-color:var(--hc);color:#fff;animation:.35s pop}[data-theme=dark] .check.done{color:#10201a}.check .icon{stroke-width:2.6px}@keyframes pop{0%{transform:scale(.85)}60%{transform:scale(1.1)}to{transform:scale(1)}}.add-habit{background:0 0;border-style:dashed;margin:16px auto 0;display:flex}.starters{flex-wrap:wrap;justify-content:center;gap:8px;margin:4px 0 14px;display:flex}.starter{border:1px solid var(--line-2);background:var(--bg);border-radius:999px;padding:8px 14px;font-size:14.5px;font-weight:550}.starter:hover{border-color:var(--accent);background:var(--accent-soft)}.meaning{font-family:var(--serif);color:var(--ink-2);text-wrap:pretty;font-size:17px;font-style:italic;line-height:1.5}.reminder,.nudge{color:var(--ink-2);gap:12px;margin-top:18px;font-size:14.5px;display:flex}.reminder .icon{color:var(--accent);flex:none;margin-top:2px}.reminder-text{flex-direction:column;gap:4px;display:flex}.reminder-actions{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.nudge{background:linear-gradient(135deg, var(--gold-soft), var(--sheet) 70%);flex-direction:column;gap:0}.nudge p{margin:0}.stat-tiles{grid-template-columns:1fr 1fr;gap:10px;margin:6px 0 4px;display:grid}.tile{background:var(--sheet);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:18px;flex-direction:column;padding:12px 14px;display:flex}.tile strong{font-family:var(--display);letter-spacing:-.02em;font-size:30px;font-weight:750;line-height:1.05}.tile span{color:var(--muted);align-items:center;gap:4px;font-size:12.5px;display:flex}.tile.accent{background:linear-gradient(140deg, var(--hc-soft,var(--accent-soft)), var(--sheet) 85%)}.tile.accent strong{color:var(--hc,var(--accent))}.manage-list{flex-direction:column;gap:8px;margin:14px 0 0;padding:0;list-style:none;display:flex}.manage-item{background:var(--sheet);border:1px solid var(--line);border-radius:20px;align-items:center;gap:4px;padding:8px 8px 8px 10px;display:flex}.manage-list.quiet .manage-item{background:0 0}.manage-actions{display:flex}.week-dots{gap:4px;margin-top:5px;display:flex}.week-dots i{background:var(--line);border-radius:3px;width:9px;height:9px}.week-dots i.on{background:var(--hc)}.archived{margin-top:10px}.detail-head{align-items:center;gap:14px;margin:6px 0 4px;display:flex}.detail-icon{background:var(--hc-soft,var(--accent-soft));width:60px;height:60px;color:var(--accent);border-radius:20px;flex:none;place-items:center;font-size:32px;display:grid}.detail-title{flex:1;min-width:0}.detail-title h1{font-family:var(--display);letter-spacing:-.02em;margin:0;font-size:28px;font-weight:750;line-height:1.1}.detail-title p{margin:2px 0 0;font-size:14px}.why{font-family:var(--serif);color:var(--ink-2);margin:6px 2px 10px;font-size:17px;font-style:italic}.today-check{justify-content:space-between;align-items:center;gap:12px;margin:10px 0 12px;display:flex}.today-check>div{flex-direction:column;display:flex}.today-check .muted{font-size:14px}.heat{margin-top:14px;padding:12px 12px 10px}.cal-nav{justify-content:space-between;align-items:center;margin-bottom:6px;display:flex}.month-title{font-family:var(--display);margin:0;font-size:21px;font-weight:700}.grid{grid-template-columns:repeat(7,1fr);gap:5px;display:grid}.grid.wd span{text-align:center;color:var(--faint);padding:2px 0 4px;font-size:11.5px;font-weight:700}.hday{aspect-ratio:1;color:var(--faint);font-variant-numeric:tabular-nums;background:0 0;border:0;border-radius:10px;place-items:center;padding:0;font-size:13.5px;font-weight:600;display:grid;position:relative}.hday.sched{background:color-mix(in srgb, var(--hc) 8%, var(--bg));color:var(--muted)}.hday.done{background:var(--hc);color:#fff}[data-theme=dark] .hday.done{color:#10201a}.hday.before{opacity:.5;background:0 0}.hday.future{opacity:.35;cursor:default;background:0 0}.hday.today{box-shadow:inset 0 0 0 2px var(--ink)}.hday:not(:disabled):hover{filter:brightness(.95)}.note-dot{opacity:.8;background:currentColor;border-radius:50%;width:5px;height:5px;position:absolute;bottom:4px}.heat-foot{margin:10px 4px 2px}.notes-list{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.notes-list button{text-align:left;border:0;border-bottom:1px solid var(--line);background:0 0;align-items:baseline;gap:14px;width:100%;padding:11px 4px;display:flex}.n-date{color:var(--hc);min-width:92px;font-size:13px;font-weight:650}.n-text{font-family:var(--serif);font-size:16px;line-height:1.5}.goal-list{flex-direction:column;gap:10px;display:flex}.goal-card{text-align:left;width:100%;color:inherit;flex-direction:column;gap:6px;display:flex}.goal-card.complete{background:linear-gradient(130deg, var(--gold-soft), var(--sheet) 70%)}.goal-top{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.goal-title{font-family:var(--display);letter-spacing:-.01em;font-size:19px;font-weight:700}.goal-meta{color:var(--muted);font-size:13.5px}.badge{letter-spacing:.08em;text-transform:uppercase;color:var(--gold);font-size:11.5px;font-weight:700}.bar{background:var(--bg-2);border-radius:99px;height:8px;display:block;overflow:hidden}.bar.big{height:12px;margin:2px 0 8px}.bar i{background:linear-gradient(90deg, var(--accent), var(--gold));border-radius:99px;height:100%;transition:width .4s;display:block}.detail-icon.goal{background:var(--gold-soft);color:var(--gold)}.ms-list{margin:8px 0 0;padding:0;list-style:none}.ms-list li{border-top:1px solid var(--line);align-items:center;gap:12px;padding:9px 0;display:flex}.ms-list li.done .ms-text>span:first-child{text-decoration:line-through;-webkit-text-decoration-color:color-mix(in srgb, var(--ink) 35%, transparent);text-decoration-color:color-mix(in srgb, var(--ink) 35%, transparent);color:var(--muted)}.ms-check{border:2px solid var(--line-2);background:var(--sheet);color:#fff;border-radius:9px;flex:none;place-items:center;width:28px;height:28px;padding:0;display:grid}.ms-list li.done .ms-check{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.ms-text{flex-direction:column;display:flex}.chip-row{flex-wrap:wrap;gap:8px;display:flex}.hchip{border:1.5px solid var(--line-2);background:0 0;border-radius:999px;align-items:center;gap:6px;padding:6px 12px;font-size:14px;font-weight:600;display:inline-flex}.hchip.on{border-color:var(--hc);background:var(--hc-soft)}.goal-actions{margin-top:22px}.letters{margin-top:10px}.letter-list{flex-direction:column;gap:10px;margin-bottom:12px;display:flex}.suggest{font-family:var(--serif);font-size:17.5px;line-height:1.5}.letter-card{border:1px solid var(--line);border-radius:20px;padding:14px 16px}.letter-card.sealed{background:repeating-linear-gradient(-45deg, var(--sheet), var(--sheet) 10px, var(--bg-2) 10px, var(--bg-2) 11px);align-items:center;gap:14px;display:flex}.letter-card.sealed strong{font-family:var(--display);font-size:18px;font-weight:700;display:block}.letter-card.sealed span{color:var(--muted);font-size:13.5px}.env{flex:none;width:52px;height:38px}.env rect{fill:var(--brand-cream);stroke:var(--line-2);stroke-width:1.5px}.env path{fill:none;stroke:var(--line-2);stroke-width:1.5px}.env .seal{fill:var(--rose)}.letter-card.opened{background:linear-gradient(180deg, var(--rose-soft), var(--sheet) 130px);border-color:color-mix(in srgb, var(--rose) 30%, var(--line));box-shadow:var(--shadow)}.letter-card.featured{margin:14px 0 6px}.letter-from{font-family:var(--serif);color:var(--rose);margin:0 0 4px;font-size:19px;font-style:italic;font-weight:500}.letter-goal{color:var(--muted);margin:0 0 8px;font-size:13px;font-weight:600}.letter-text{font-family:var(--serif);white-space:pre-wrap;margin:0;font-size:17px;line-height:1.65}.letter-actions{justify-content:flex-end;align-items:center;gap:8px;margin-top:10px;font-size:13.5px;display:flex}.sealed-summary{color:var(--muted);justify-content:center;align-items:center;gap:8px;margin:22px 0 0;font-size:13.5px;display:flex}.env-dot{background:var(--rose);border-radius:50%;width:9px;height:9px}.opens-on{font-family:var(--serif);color:var(--rose);margin:10px 0 8px;font-size:18px;font-style:italic}.letter-input{border:1px solid var(--line-2);background:var(--bg);width:100%;font-family:var(--serif);resize:vertical;border-radius:14px;padding:12px 14px;font-size:17px;line-height:1.6}.date-input{margin-top:10px;display:block}.form{flex-direction:column;gap:14px;display:flex}.field{flex-direction:column;gap:6px;display:flex}.field>span{color:var(--muted);letter-spacing:.02em;font-size:13px;font-weight:700}.field input:not([type=date]):not([type=number]),.ms-edit>input{border:1px solid var(--line-2);background:var(--bg);border-radius:12px;width:100%;padding:10px 12px;font-size:16px}.icon-grid{grid-template-columns:repeat(8,1fr);gap:4px;display:grid}.icon-grid button{aspect-ratio:1;background:0 0;border:0;border-radius:10px;padding:0;font-size:20px}.icon-grid button.on{background:var(--accent-soft);box-shadow:inset 0 0 0 2px var(--accent)}.color-row{flex-wrap:wrap;gap:8px;display:flex}.swatch{background:var(--c);border:0;border-radius:50%;width:32px;height:32px;padding:0}.swatch.on{box-shadow:0 0 0 3px var(--sheet), 0 0 0 5px var(--c)}.hc-0{--c:var(--c0)}.hc-1{--c:var(--c1)}.hc-2{--c:var(--c2)}.hc-3{--c:var(--c3)}.hc-4{--c:var(--c4)}.hc-5{--c:var(--c5)}.hc-6{--c:var(--c6)}.hc-7{--c:var(--c7)}.wd-row{gap:6px;margin-top:8px;display:flex}.wd-row button{border:1.5px solid var(--line-2);background:0 0;border-radius:12px;flex:1;min-height:40px;padding:0;font-size:14px;font-weight:650}.wd-row button.on{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.times-row{align-items:center;gap:8px;margin-top:8px;display:flex}.times-row strong{font-family:var(--display);text-align:center;min-width:22px;font-size:26px}.times-row .icon-btn{border:1.5px solid var(--line-2);font-size:22px}.ms-edit{background:var(--bg-2);border-radius:14px;flex-direction:column;gap:6px;padding:10px;display:flex}.ms-link{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.ms-link .select{flex:1;min-width:160px}.ms-target{color:var(--muted);align-items:center;gap:6px;font-size:14px;display:flex}.ms-target input{border:1px solid var(--line-2);background:var(--sheet);border-radius:10px;width:72px;padding:8px}.editor-danger{border-top:1px solid var(--line);justify-content:flex-start;gap:8px;margin-top:16px;padding-top:12px;display:flex}.settings-view{flex-direction:column;gap:14px;display:flex}.settings-view .page-title{margin-bottom:2px}.privacy-card{background:linear-gradient(135deg, var(--accent-soft), var(--sheet) 70%);align-items:flex-start;gap:12px;display:flex}.privacy-card p{color:var(--ink-2);margin:0;font-size:15px}.privacy-card .icon{color:var(--accent);flex:none}.group h2{font-family:var(--display);letter-spacing:-.01em;margin:0 0 10px;font-size:21px;font-weight:700}.group .sub{margin:18px 0 4px;font-size:14px;font-weight:700}.group>p{margin:0 0 12px;font-size:14.5px}.row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;padding:10px 0;display:flex}.group h2+.row{border-top:0}.row-text{flex-direction:column;display:flex}.row-label{font-size:15px;font-weight:600}.row-hint{color:var(--muted);font-size:13px}.seg-row{flex-wrap:wrap}.switch{appearance:none;background:var(--line-2);cursor:pointer;border-radius:999px;flex:none;width:46px;height:28px;margin:0;transition:background .2s;position:relative}.switch:after{content:"";background:#fff;border-radius:50%;width:22px;height:22px;transition:transform .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0003}.switch:checked{background:var(--accent)}.switch:checked:after{transform:translate(18px)}.snaps{margin:6px 0 0;padding:0;list-style:none}.snaps li{border-top:1px solid var(--line);color:var(--ink-2);justify-content:space-between;align-items:center;gap:8px;padding:6px 0;font-size:14px;display:flex}.about{margin-top:14px;line-height:1.6}.group .btn.danger{margin-top:6px}.name-note{border-top:1px solid var(--line);margin:16px 0 4px;padding:12px 0 2px}.name-note-title{letter-spacing:.12em;text-transform:uppercase;color:var(--gold);font-size:12px;font-weight:700}.sales-section h2{font-family:var(--display);margin:0 0 10px;font-size:21px;font-weight:700}.modal-back{z-index:100;background:#0f191473;justify-content:center;align-items:flex-end;padding:12px;animation:.2s fade;display:flex;position:fixed;inset:0}.modal{background:var(--sheet);border-radius:24px;width:min(520px,100%);max-height:calc(100dvh - 24px);padding:22px 20px 18px;overflow:auto;box-shadow:0 20px 60px #0000004d}.modal h2{font-family:var(--display);letter-spacing:-.01em;margin:0 0 10px;font-size:24px;font-weight:750}.modal-body p{margin:0 0 10px}.modal-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:16px;display:flex}.toast-wrap{left:0;right:0;bottom:calc(var(--tabbar) + env(safe-area-inset-bottom) + 14px);pointer-events:none;z-index:200;justify-content:center;display:flex;position:fixed}.toast{background:var(--ink);color:var(--bg);box-shadow:var(--shadow);border-radius:999px;align-items:center;gap:8px;padding:10px 18px;font-size:14.5px;font-weight:550;animation:.2s fade;display:flex}.toast .icon{color:var(--brand-gold)}@media (width>=760px){.app{padding-bottom:40px}.tabbar{display:none}.topnav{display:flex}.topbar{padding:14px 28px}.main{max-width:720px;padding-top:14px}.t-date{font-size:54px}.stat-tiles{grid-template-columns:repeat(4,1fr)}.card{padding:20px 22px}.modal-back{align-items:center}.toast-wrap{bottom:28px}.goal-list{grid-template-columns:1fr 1fr;display:grid}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.sales-back{z-index:1000;background:#14100c73;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.sales-modal{background:var(--sheet,var(--surface,#fffdf8));width:min(460px,100%);max-height:calc(100dvh - 32px);color:var(--ink,#2a2520);font-family:var(--sans,system-ui, sans-serif);border-radius:16px;padding:26px 22px 20px;font-size:16px;line-height:1.5;position:relative;overflow:auto;box-shadow:0 20px 60px #00000040}.sales-modal h2{font-family:var(--display,var(--serif,Georgia, serif));margin:0 28px 10px 0;font-size:1.45rem;font-weight:600;line-height:1.25}.sales-modal p{margin:0 0 12px}.sales-x{width:36px;height:36px;color:var(--muted,#888);cursor:pointer;background:0 0;border:0;border-radius:50%;font-size:26px;line-height:1;position:absolute;top:10px;right:10px}.sales-x:hover{background:var(--accent-soft,#eee)}.sales-muted{color:var(--muted,#776);font-size:.94rem}.sales-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:6px;display:flex}.sales-actions.stack{flex-direction:column;align-items:stretch}.sales-btn{border:1px solid var(--line-2,#d4c8b5);min-height:44px;color:var(--ink,#2a2520);font:inherit;cursor:pointer;text-align:center;background:0 0;border-radius:999px;justify-content:center;align-items:center;gap:6px;padding:10px 18px;font-size:.97rem;font-weight:600;text-decoration:none;display:inline-flex}.sales-btn:hover{background:var(--accent-soft,#eee)}.sales-btn.primary{background:var(--accent,#46654a);border-color:var(--accent,#46654a);color:var(--accent-ink,#fff)}.sales-btn.primary:hover{filter:brightness(.94);background:var(--accent,#46654a)}.sales-btn:disabled{opacity:.5;cursor:default}.sales-btn.small{min-height:36px;padding:6px 14px;font-size:.9rem}.sales-form label{margin-bottom:6px;font-weight:600;display:block}.sales-form textarea{box-sizing:border-box;border:1px solid var(--line-2,#d4c8b5);background:var(--bg,var(--paper,#fff));width:100%;color:inherit;resize:vertical;word-break:break-all;border-radius:10px;padding:10px 12px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:14px;line-height:1.45}.sales-error{color:var(--danger,#b33a2b);font-size:.94rem;margin:8px 0 0!important}.sales-section p{margin:0 0 10px}.sales-banner{background:var(--accent-soft,#eee);color:var(--ink,#222);font-family:var(--sans,system-ui, sans-serif);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;margin:0 0 14px;padding:10px 14px;font-size:.95rem;line-height:1.4;display:flex}.sales-banner.soft{border:1px dashed var(--line-2,#ccc);background:0 0}
