.module-home{--home-lead:46px;--home-bleed-top:calc(18px + env(safe-area-inset-top,0px));--home-bleed-x:18px;padding-top:var(--home-lead);color:var(--text);flex-direction:column;display:flex;position:relative}.module-home-decor{z-index:0;top:calc(-1 * var(--home-bleed-top));left:calc(-1 * var(--home-bleed-x));right:calc(-1 * var(--home-bleed-x));height:calc(var(--home-lead) + var(--home-bleed-top));pointer-events:none;position:absolute;overflow:hidden}.decor-sky{background:linear-gradient(#d9e1ef 0%,#e3e9f29e 45%,#edeff300 100%);position:absolute;inset:0}.decor-arc{border-style:solid;border-width:1px;border-radius:50%;position:absolute}.decor-arc-wide{border-width:1.2px;border-color:#c4d0e1;width:340px;height:340px;bottom:10px;right:-123px}.decor-arc-tight{border-color:#d0dbe9;width:262px;height:262px;bottom:42px;left:-86px}.decor-orbit{width:340px;height:340px;animation:4s cubic-bezier(.22,.61,.36,1) both home-orbit-once;position:absolute;bottom:10px;right:-123px;transform:rotate(180deg)}.decor-dot{background:#b9c7d9;border-radius:50%;width:8px;height:8px;position:absolute;top:-4px;left:calc(50% - 4px)}@keyframes home-orbit-once{0%{transform:rotate(270deg)}to{transform:rotate(180deg)}}@media (prefers-reduced-motion:reduce){.decor-orbit{animation:none}}.module-home-summary{z-index:1;background:var(--hero-gradient);height:168px;box-shadow:var(--shadow-hero);border-radius:22px;flex-direction:column;gap:6px;padding:16px;display:flex;position:relative;overflow:hidden}.module-home-summary:before{content:"";background:#ffffff12;border-radius:50%;width:152px;height:152px;position:absolute;top:-62px;right:-27px}.summary-kicker{color:var(--hero-muted);font-size:11px;font-weight:500;line-height:16px}.summary-value{color:var(--hero-text);font-variant-numeric:tabular-nums;font-size:36px;font-weight:700;line-height:46px}.summary-sub{color:var(--hero-sub);font-size:var(--font-size-label);font-weight:500;line-height:17px}.summary-track{background:var(--hero-line);border-radius:3px;height:5px;margin-top:auto;overflow:hidden}.summary-track i{background:var(--accent-light);border-radius:3px;height:100%;display:block}.summary-note{color:var(--hero-sub);font-size:11px;line-height:16px}.module-home-section{flex-direction:column;gap:8px;min-width:0;display:flex}.module-home-summary+.module-home-section{margin-top:18px}.module-home-section+.module-home-section{margin-top:16px}.module-section-heading{align-items:center;gap:8px;padding-left:1px;display:flex}.module-section-heading h2{color:var(--text);letter-spacing:.01em;margin:0;font-size:13px;font-weight:600}.module-home-featured{overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;background:0 0;grid-auto-columns:160px;grid-auto-flow:column;gap:10px;margin:0 -18px;padding:2px 18px 12px;scroll-padding-inline:18px;display:grid;overflow:auto hidden}.module-home-featured::-webkit-scrollbar{display:none}.module-home-featured .module-entry{box-shadow:var(--shadow-sm)}.module-home-featured:focus-visible{outline:2px solid var(--accent);outline-offset:-16px}.module-entry{border:1px solid var(--border);background:var(--surface-gradient);min-height:148px;box-shadow:var(--shadow);color:var(--text);scroll-snap-align:start;border-radius:22px;flex-direction:column;padding:14px;text-decoration:none;transition:transform .18s,border-color .18s;display:flex;position:relative}.module-entry:hover{border-color:var(--accent-border);transform:translateY(-2px)}.module-entry-top{justify-content:space-between;align-items:center;display:flex}.module-entry-icon{width:22px;height:22px;color:var(--text-muted);flex:none;place-items:center;display:grid}.module-entry-icon svg{width:22px;height:22px}.module-entry h2{color:var(--text);font-size:var(--font-size-body);margin:auto 0 4px;font-weight:500;line-height:20px}.module-entry-status{min-height:16px;color:var(--text-muted);font-variant-numeric:tabular-nums;font-size:11px;line-height:16px;display:block}.module-entry-status.is-alert{color:var(--warning)}.module-entry.featured{background:var(--hero-gradient);color:var(--hero-text);border-color:#0000}.module-entry.featured:before{content:"";pointer-events:none;background:#ffffff12;border-radius:50%;width:108px;height:108px;position:absolute;top:-36px;right:-40px}.module-entry.featured h2{color:var(--hero-text)}.module-entry.featured .module-entry-status{color:var(--hero-muted)}.module-entry.featured .module-entry-status.is-alert{color:var(--warning)}.module-entry.featured .module-entry-icon{color:#ffffff9e}.module-home-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;display:grid}.module-home-grid .module-entry{min-height:96px;box-shadow:var(--shadow-sm);border-radius:16px;padding:12px}.module-home-grid .module-entry h2{margin-bottom:2px;font-size:11.5px;line-height:16px}.module-home-grid .module-entry-status{white-space:nowrap;text-overflow:ellipsis;min-height:14px;font-size:10px;line-height:14px;overflow:hidden}.module-home-grid .module-entry-icon,.module-home-grid .module-entry-icon svg{width:20px;height:20px}.module-home-footer{min-height:44px}.module-home-settings{right:max(18px, env(safe-area-inset-right,0px));bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:35;width:44px;height:44px;color:var(--text-muted);background:var(--surface);box-shadow:var(--shadow-sm);border-radius:12px;place-items:center;display:grid;position:fixed}.module-home-settings:active{background:var(--accent-soft);color:var(--accent)}.module-home-settings svg{width:18px;height:18px}@media (width>=768px){.module-home{--home-bleed-top:24px;--home-bleed-x:28px}}@media (prefers-reduced-motion:reduce){.module-entry{transition:none}.module-entry:hover{transform:none}}[data-theme=dark] .decor-sky{background:linear-gradient(#242c3b 0%,#1f263099 45%,#171d2800 100%)}[data-theme=dark] .decor-arc-wide{border-color:#ffffff17}[data-theme=dark] .decor-arc-tight{border-color:#ffffff0f}[data-theme=dark] .decor-dot{background:#ffffff38}.privacy-home{min-height:100dvh}.privacy-home .module-home{-webkit-user-select:none;user-select:none}.privacy-home .module-entry{touch-action:manipulation}.privacy-settings{touch-action:manipulation;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;border:0}.privacy-sequence-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.privacy-sequence-grid button{min-height:44px}.privacy-overlay{z-index:100;background:#0000006b;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.privacy-dialog{background:var(--surface);width:min(100%,360px);max-height:calc(100dvh - 40px);color:var(--text);box-shadow:var(--shadow);border-radius:18px;gap:16px;padding:20px;display:grid;overflow-y:auto}.privacy-dialog h2{margin:0;font-size:18px}.privacy-dialog label{gap:8px;display:grid}.privacy-dialog input{border:1px solid var(--border);background:var(--surface);width:100%;min-height:44px;color:var(--text);border-radius:10px;padding:8px 12px}.privacy-actions{justify-content:flex-end;gap:12px;display:flex}.privacy-actions button{min-height:44px;padding:0 16px}.privacy-write-warning{z-index:110;top:env(safe-area-inset-top,0px);background:var(--surface);color:var(--danger);box-shadow:var(--shadow);align-items:center;gap:12px;padding:12px 18px;display:flex;position:fixed;left:0;right:0}.privacy-write-warning button{flex:none;min-height:44px}.pwa-banner{justify-content:center;align-items:center;gap:var(--space-3);padding:var(--space-2) var(--space-4);font-size:var(--text-xs);text-align:center;animation:.2s pwa-slide-down;display:flex}.pwa-banner.is-offline{background:var(--surface-sunken);color:var(--text-muted);border-bottom:1px solid var(--border)}.pwa-banner.is-update{background:var(--accent-soft);color:var(--accent);border-bottom:1px solid var(--accent-border)}.pwa-banner-action{padding:2px var(--space-3);border-radius:var(--radius-full);background:var(--accent);color:var(--text-inverse);font-size:var(--text-xs);font-weight:500}@keyframes pwa-slide-down{0%{opacity:0;transform:translateY(-100%)}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#edeff3;--surface:#fff;--surface-raised:#f9fbfd;--surface-sunken:#e2e5ea;--field-bg:#f4f5f7;--field-border:#d8e4ee;--segment-bg:#edf2f8;--segment-border:#d8e4ee;--segment-selected:#fff;--segment-selected-text:#141a22;--sheet-mask:#141a226b;--surface-gradient:linear-gradient(180deg, #fff, #fff);--border:#e4eaf2;--border-soft:#eef1f5;--border-strong:#c6d0dc;--text:#141a22;--text-secondary:#5a6472;--text-muted:#8a94a3;--text-faint:#a8b0bb;--text-inverse:#fff;--accent:#4a6b8a;--accent-hover:#3b5873;--accent-soft:#e1e8f1;--accent-border:#c9d6e4;--accent-contrast:#fff;--accent-strong:#4a6b8a;--accent-light:#8fb0c9;--chart-bar:#8fb0c9;--chart-bar-active:#4a6b8a;--accent-gradient:linear-gradient(135deg, #5c7fa1, #3b5873);--series-1:#3e5c7e;--series-2:#c0765e;--series-3:#7fa8ce;--series-4:#6f8f84;--series-5:#8b84a8;--series-6:#b39b6f;--hero-bg:#31405c;--hero-gradient:linear-gradient(135deg, #31405c, #1a2233);--hero-text:#dce7f1;--hero-muted:#8fa5ba;--hero-sub:#8fa5ba;--hero-line:#ffffff38;--success:var(--accent);--success-soft:var(--accent-soft);--warning:#c0765e;--warning-soft:var(--surface-sunken);--danger:#c0765e;--danger-soft:var(--surface-sunken);--gold:var(--accent);--gold-soft:var(--accent-soft);--attr-vit:var(--accent);--attr-mind:var(--accent);--attr-int:var(--accent-light);--attr-life:var(--accent);--hp:var(--accent);--mp:var(--accent-light);--radius-sm:11px;--radius:14px;--radius-lg:20px;--radius-full:999px;--radius-card:22px;--radius-hero:22px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--space-10:40px;--font-sans:-apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;--font-mono:ui-monospace, "SF Mono", Consolas, monospace;--font-size-body:14px;--font-size-control:14px;--font-size-filter:14px;--font-size-label:12px;--text-xs:11px;--text-sm:12px;--text-base:var(--font-size-body);--text-lg:18px;--text-xl:20px;--text-2xl:24px;--text-3xl:36px;--leading-tight:1.25;--leading:1.6;--motion-fast:.12s;--motion-base:.24s;--motion-slow:.42s;--motion-ease-out:cubic-bezier(.22, .8, .24, 1);--motion-ease-in-out:cubic-bezier(.45, .05, .25, 1);--shadow-sm:0 1px 2px #0f172a0d;--shadow:0 1px 2px #0f172a0d, 0 4px 10px #0f172a0f;--shadow-lg:0 2px 4px #0f172a0f, 0 8px 20px #0f172a14;--shadow-hero:0 3px 8px #0a122129, 0 10px 24px #0a12212e;--shadow-button:0 4px 10px #4a6b8a42;--shadow-fab:0 2px 5px #0a122133, 0 8px 16px #0a122138, 0 16px 28px #0a122142;--shell-max-width:720px;--nav-height:calc(26px + 16px + 2px + 16px + 1px)}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#171d28;--surface:#222b3a;--surface-raised:#293548;--surface-sunken:#1c2533;--field-bg:#293548;--field-border:#ffffff24;--segment-bg:#ffffff14;--segment-border:#ffffff24;--segment-selected:#edf2f8;--segment-selected-text:#141a22;--sheet-mask:#0000009e;--surface-gradient:linear-gradient(180deg, #222b3a, #293548);--border:#ffffff24;--border-soft:#ffffff14;--border-strong:#ffffff38;--text:#edf2f8;--text-secondary:#c0cad7;--text-muted:#9aa8b9;--text-faint:#78879a;--text-inverse:#141a22;--accent:#9db8d2;--accent-hover:#496885;--accent-soft:#34445a;--accent-border:#536a84;--accent-contrast:#fff;--accent-strong:#b5cbe0;--accent-light:#89a8c6;--chart-bar:#536a84;--chart-bar-active:#9db8d2;--accent-gradient:linear-gradient(135deg, #567795, #354d68);--series-1:#a9c6e0;--series-2:#e2a88f;--series-3:#7e9cc9;--series-4:#8fb5a6;--series-5:#b0a9d6;--series-6:#d9c39b;--hero-bg:#2a3548;--hero-gradient:linear-gradient(135deg, #2a3548, #171d28);--hero-text:#edf2f8;--hero-muted:#b1c0d0;--hero-sub:#b1c0d0;--hero-line:#ffffff24;--success:#8fc5a2;--success-soft:#263d35;--warning:#e0b17c;--warning-soft:#44382b;--danger:#e39589;--danger-soft:#452f35;--gold:#e0c17c;--gold-soft:#443b2c;--shadow-sm:0 1px 2px #0000003d;--shadow:0 1px 2px #0000003d, 0 4px 10px #0003;--shadow-lg:0 2px 4px #00000042, 0 8px 20px #00000038;--shadow-hero:0 3px 8px #0000003d, 0 10px 24px #00000040;--shadow-button:0 4px 10px #00000042}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{min-height:100dvh;font-family:var(--font-sans);font-size:var(--text-base);line-height:var(--leading);color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0}h1,h2,h3,h4,p,figure,blockquote{margin:0}ul,ol{margin:0;padding:0;list-style:none}button,input,select,textarea{font:inherit;color:inherit}input,select,textarea{font-size:var(--font-size-control)}input:is([type=date],[type=time],[type=datetime-local]){appearance:none;width:100%;min-width:0;max-width:100%;min-height:46px;display:block}input[type=checkbox]{appearance:none;border:1.5px solid var(--border-strong);cursor:pointer;background:0 0;border-radius:5px;flex:none;width:18px;min-width:18px;height:18px;min-height:18px;padding:0;transition:background-color .12s,border-color .12s;position:relative}input[type=checkbox]:after{content:"";border:solid var(--text-inverse);opacity:0;border-width:0 2px 2px 0;width:4px;height:8px;position:absolute;top:1.5px;left:5px;transform:rotate(45deg)}input[type=checkbox]:checked{border-color:var(--accent);background:var(--accent)}input[type=checkbox]:checked:after{opacity:1}input[type=checkbox]:disabled{opacity:.45;cursor:default}input[type=checkbox]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}input::-webkit-datetime-edit{min-width:0;padding:0}input::-webkit-date-and-time-value{text-align:left;min-width:0}button,a,input,select,textarea,[role=button]{touch-action:manipulation}button{cursor:pointer;background:0 0;border:none;padding:0}a{color:var(--accent);text-decoration:none}.text-secondary{color:var(--text-secondary)}.text-muted{color:var(--text-muted)}.text-sm{font-size:var(--text-sm)}.text-xs{font-size:var(--text-xs)}.mono{font-family:var(--font-mono);font-variant-numeric:tabular-nums}.card{background:var(--surface-gradient);border:1px solid var(--border);border-radius:var(--radius-card);box-shadow:var(--shadow);padding:var(--space-4)}.card+.card{margin-top:var(--space-3)}.card-title{font-size:var(--text-sm);color:var(--text-secondary);margin-bottom:var(--space-3);font-weight:600}.badge{align-items:center;gap:var(--space-1);padding:2px var(--space-2);border-radius:var(--radius-full);font-size:var(--text-xs);background:var(--surface-sunken);color:var(--text-secondary);font-weight:500;display:inline-flex}.badge-success{background:var(--success-soft);color:var(--success)}.badge-warning{background:var(--warning-soft);color:var(--warning)}.badge-danger{background:var(--danger-soft);color:var(--danger)}.badge-accent{background:var(--accent-soft);color:var(--accent)}.progress{border-radius:var(--radius-full);background:var(--surface-sunken);height:6px;overflow:hidden}.progress-fill{border-radius:var(--radius-full);background:var(--accent);height:100%;transition:width .3s}.btn{justify-content:center;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-4);border-radius:var(--radius);font-size:var(--text-sm);border:1px solid var(--border);background:var(--surface);color:var(--text);font-weight:500;transition:background .15s,border-color .15s;display:inline-flex}.btn:hover{border-color:var(--border-strong)}.btn-primary{background:var(--accent-gradient);box-shadow:var(--shadow-button);border-color:var(--accent);color:var(--accent-contrast);font-weight:700}.btn-primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}.btn-ghost{color:var(--text-secondary);background:0 0;border-color:#0000}.btn-ghost:hover{background:var(--surface-sunken)}.btn:disabled{opacity:.5;cursor:not-allowed}.empty{padding:var(--space-8) var(--space-4);text-align:center;color:var(--text-muted);font-size:var(--text-sm)}.row{justify-content:space-between;align-items:center;gap:var(--space-3);display:flex}.stack{gap:var(--space-3);flex-direction:column;display:flex}.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}@keyframes enter-rise{0%{opacity:0;transform:translateY(10px)}}@keyframes enter-rise-b{0%{opacity:0;transform:translateY(10px)}}.shell-main>*>:not(.bottom-nav):not(.sheet-layer){animation:enter-rise var(--motion-base) var(--motion-ease-out) backwards}.shell-main[data-enter=b]>*>:not(.bottom-nav):not(.sheet-layer){animation-name:enter-rise-b}.shell-main>*>:first-child{animation-delay:0s}.shell-main>*>:nth-child(2){animation-delay:28ms}.shell-main>*>:nth-child(3){animation-delay:56ms}.shell-main>*>:nth-child(4){animation-delay:84ms}.shell-main>*>:nth-child(5),.shell-main>*>:nth-child(n+6){animation-delay:.112s}.shell-main[data-nav=pop]>*>*{animation:none}@media (hover:none){.btn,.header-action,button[data-icon-action],.module-entry{transition:transform var(--motion-fast) var(--motion-ease-out), opacity var(--motion-fast) linear}.btn:active,.header-action:active,button[data-icon-action]:active{transform:scale(.96)}.module-entry:active{transform:translateY(-2px)scale(.985)}.bottom-nav-item:active{opacity:.55}}.bottom-nav-icon{transition:background-color var(--motion-base) var(--motion-ease-out), transform var(--motion-base) var(--motion-ease-out)}.bottom-nav-item.is-active .bottom-nav-icon{animation:nav-pop var(--motion-base) var(--motion-ease-out)}@keyframes nav-pop{45%{transform:scale(1.1)}}input[type=checkbox]:after{opacity:0;transition:opacity var(--motion-fast) linear, transform .16s var(--motion-ease-out);transform:rotate(45deg)scale(.4)}input[type=checkbox]:checked:after{opacity:1;transform:rotate(45deg)scale(1)}input:not([type=checkbox]):not([type=radio]),textarea,select{transition:border-color var(--motion-fast) var(--motion-ease-out), background-color var(--motion-fast) var(--motion-ease-out), box-shadow var(--motion-fast) var(--motion-ease-out)}.classes-type-seg>*,.settings-segment>*,.rm-segment>*{transition:background-color var(--motion-fast) var(--motion-ease-out), color var(--motion-fast) var(--motion-ease-out)}@keyframes bar-grow{0%{transform:scaleY(0)}}.column-svg .column-bar{transform-box:fill-box;transform-origin:bottom;animation:bar-grow var(--motion-slow) var(--motion-ease-out) backwards}@keyframes line-draw{0%{stroke-dashoffset:1px}}.trend-canvas .trend-line{stroke-dasharray:1;animation:line-draw var(--motion-slow) var(--motion-ease-in-out) backwards}@keyframes area-fade{0%{opacity:0}}.trend-canvas .trend-area{animation:area-fade var(--motion-slow) var(--motion-ease-out) backwards}@media (prefers-reduced-motion:reduce){.shell-main>*>*,.column-svg .column-bar,.trend-canvas .trend-line,.trend-canvas .trend-area,.bottom-nav-item.is-active .bottom-nav-icon{animation:none!important}input[type=checkbox]:after,.bottom-nav-icon,input:not([type=checkbox]):not([type=radio]),textarea,select,.classes-type-seg>*,.settings-segment>*,.rm-segment>*{transition:none!important}}
