:root{--bg:#f4f6fa;--surface:#ffffffd6;--surface-strong:#fff;--surface-muted:#f2f6fb;--text:#1f2937;--text-soft:#64748b;--border:#94a3b838;--accent:#1fc8d4;--accent-soft:#1fc8d41f;--success:#16a34a;--warning:#f59e0b;--danger:#ef4444;--info:#0ea5e9;--shadow:0 18px 38px #0f172a14;--shadow-soft:0 10px 22px #0f172a0f;--radius-xl:24px;--radius-lg:18px;--radius-md:14px;--radius-sm:10px;--font-sans:"Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:var(--font-sans);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:root[data-theme=dark]{--bg:#02060c;--surface:#080c12d6;--surface-strong:#0a0f16;--surface-muted:#10161fe6;--text:#f1f5f9;--text-soft:#8ea0b5;--border:#94a3b829;--accent:#6ce6ee;--accent-soft:#6ce6ee29;--shadow:0 26px 72px #00000080;--shadow-soft:0 14px 30px #00000052;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-theme=ocean]{--bg:#eef6fb;--surface:#ffffffd6;--surface-strong:#fff;--surface-muted:#e8f3ff;--text:#14344e;--text-soft:#5f7a94;--border:#4a90c438;--accent:#1f78d1;--accent-soft:#1f78d11f;--shadow:0 18px 38px #14344e1a;--shadow-soft:0 10px 22px #14344e14;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=forest]{--bg:#eef5ef;--surface:#ffffffd6;--surface-strong:#fff;--surface-muted:#edf7f0;--text:#183428;--text-soft:#658072;--border:#447d5c38;--accent:#2f9d62;--accent-soft:#2f9d621f;--shadow:0 18px 38px #1834281a;--shadow-soft:0 10px 22px #18342814;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dawn]{--bg:#fbf4eb;--surface:#ffffffd6;--surface-strong:#fffdf9;--surface-muted:#fff1df;--text:#4c2d1b;--text-soft:#8b6c59;--border:#c98a5a3d;--accent:#db8b38;--accent-soft:#db8b3824;--shadow:0 18px 38px #4c2d1b1a;--shadow-soft:0 10px 22px #4c2d1b14;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html,body,#root{min-height:100%}body{background:radial-gradient(circle at top left, #1fc8d424, transparent 32%), radial-gradient(circle at bottom right, #13aee61f, transparent 28%), var(--bg);color:var(--text);margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}img{max-width:100%;display:block}audio{width:100%}a{color:inherit;text-decoration:none}h1,h2,h3,h4,p{margin:0}#root{min-height:100vh}.splash-screen{text-align:center;place-items:center;gap:16px;min-height:100vh;padding:24px;display:grid}.pulse-dot{background:#fffffff2;border-radius:30px;place-items:center;width:96px;height:96px;padding:10px;display:grid;box-shadow:0 16px 36px #0f172a1f,0 0 0 14px #1fc8d41f}.splash-logo{object-fit:contain;width:100%;height:100%}.error-screen{color:var(--danger)}.welcome-layout{grid-template-columns:1.1fr .9fr;gap:28px;min-height:100vh;padding:40px;display:grid}.welcome-hero,.welcome-form-card,.section-card,.stat-card,.summary-pill,.sidebar,.topbar,.budget-shell,.inline-form-card,.modal-panel{background:var(--surface);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid var(--border);box-shadow:var(--shadow-soft)}.welcome-hero,.welcome-form-card{border-radius:var(--radius-xl);padding:32px}.welcome-hero{flex-direction:column;justify-content:center;gap:20px;display:flex}.welcome-brand{align-items:center;gap:18px;display:flex}.welcome-brand-mark{width:84px;height:84px;box-shadow:var(--shadow-soft);background:#ffffffeb;border:1px solid #13aee629;border-radius:28px;padding:8px}.welcome-brand strong{letter-spacing:-.04em;font-size:28px;display:block}.welcome-brand span{color:var(--text-soft);font-weight:600}.welcome-brand-logo,.brand-logo-image{object-fit:contain;width:100%;height:100%}.welcome-hero h1{letter-spacing:-.06em;font-size:72px}.welcome-hero p{color:var(--text-soft);font-size:18px;line-height:1.7}.welcome-points{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.welcome-points>div{border-radius:var(--radius-md);background:var(--surface-muted);align-items:flex-start;gap:14px;padding:16px 18px;display:flex}.feature-panel-icon,.section-card-icon,.stat-card-icon,.list-leading-icon,.capture-mode-icon,.status-item-icon,.icon-picker-symbol{background:var(--accent-soft);width:42px;height:42px;color:var(--accent);border-radius:14px;flex-shrink:0;place-items:center;display:grid}.feature-panel-icon{border-radius:16px;width:48px;height:48px}.welcome-points span{color:var(--text-soft);line-height:1.6}.welcome-badges{flex-wrap:wrap;gap:10px;display:flex}.welcome-mobile-intro-actions{display:none}.welcome-entry-preview-copy{gap:8px;display:grid}.welcome-entry-actions{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:12px;display:grid}.welcome-entry-actions .primary-button,.welcome-entry-actions .ghost-button,.welcome-mobile-intro-actions .primary-button,.welcome-mobile-intro-actions .ghost-button{min-height:52px}.feature-chip{color:var(--text);background:#94a3b81a;border-radius:999px;align-items:center;gap:8px;padding:10px 14px;font-size:14px;font-weight:600;display:inline-flex}.welcome-form-card{flex-direction:column;gap:20px;display:flex}.welcome-step-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.welcome-step-chip{border:1px solid var(--border);background:var(--surface-strong);width:100%;color:var(--text-soft);border-radius:16px;justify-content:center;align-items:center;gap:8px;padding:12px 16px;transition:transform .15s,border-color .15s,background .15s;display:inline-flex}.welcome-step-chip.is-active,.welcome-step-chip:hover{color:var(--text);background:linear-gradient(135deg, #1fc8d429, #13aee614), var(--surface-strong);border-color:#1fc8d46b}.welcome-auth-tabs{width:100%}.welcome-form-stack{gap:16px;display:grid}.welcome-action-row{justify-content:space-between}.welcome-submit-row{margin-top:8px}.welcome-inline-back{display:none}.welcome-auth-note{background:#94a3b814}.welcome-identity-card{border-radius:var(--radius-md);border:1px solid var(--border);background:#94a3b80f;justify-content:space-between;align-items:flex-start;gap:16px;padding:16px 18px;display:flex}.welcome-identity-card p{color:var(--text-soft);margin-top:6px}.welcome-summary-grid{min-width:min(260px,100%)}.wide-button{justify-content:center;width:100%}.app-shell{grid-template-columns:300px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{border-radius:var(--radius-xl);flex-direction:column;gap:24px;margin:20px 0 20px 20px;padding:24px;display:flex}.brand-mark{align-items:center;gap:14px;display:flex}.brand-mark strong{font-size:24px;display:block}.brand-mark span,.workspace-chip span,.topbar span,.field-hint,.muted-text,.simple-list-item p,.simple-list-item small,.transaction-row p,.transaction-row small,.summary-pill span,.stat-card-label,.stat-card small,.progress-foot,.profile-card p,.profile-card small{color:var(--text-soft)}.brand-icon{background:#ffffffeb;border:1px solid #13aee629;border-radius:20px;place-items:center;width:52px;height:52px;padding:6px;display:grid;box-shadow:0 10px 24px #0f172a14}.workspace-chip{border-radius:var(--radius-md);background:var(--surface-muted);flex-direction:column;gap:6px;padding:16px 18px;display:flex}.side-nav{gap:10px;display:grid}.nav-link{border-radius:var(--radius-sm);color:var(--text-soft);align-items:center;gap:12px;padding:14px 16px;transition:transform .15s,background .15s,color .15s;display:flex}.nav-link:hover,.nav-link.is-active{background:var(--accent-soft);color:var(--text);transform:translate(2px)}.sidebar-foot{gap:12px;margin-top:auto;display:grid}.sidebar-metric,.sidebar-budget-mini{border-radius:var(--radius-sm);background:#94a3b814;align-items:center;gap:10px;padding:12px 14px;display:flex}.sidebar-budget-mini{justify-content:space-between}.content-shell{flex-direction:column;gap:14px;padding:20px 20px 20px 24px;display:flex}.mobile-tabbar{display:none}.shell-footer{margin-top:auto}.topbar{border-radius:var(--radius-lg);flex-wrap:wrap;justify-content:space-between;align-items:stretch;gap:16px;padding:18px 24px;display:flex}.topbar strong{margin-bottom:4px;display:block}.topbar span{color:var(--text-soft)}.topbar-pills{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.topbar-identity{gap:4px;min-width:0;display:grid}.topbar-budget-wrap{flex:360px;min-width:min(360px,100%)}.topbar-budget-card{border-radius:var(--radius-md);border:1px solid var(--border);background:#94a3b814;gap:10px;padding:14px 16px;display:grid}.topbar-budget-card.is-empty{gap:8px}.topbar-budget-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.topbar-budget-label{color:var(--text-soft);margin-bottom:4px;font-size:12px;font-weight:600;display:block}.topbar-budget-ratio{color:var(--accent);white-space:nowrap;font-size:14px;font-weight:700}.topbar-budget-meter{height:8px}.topbar-budget-foot{color:var(--text-soft);justify-content:space-between;gap:12px;font-size:13px;display:flex}.page-shell{flex:1}.details-toolbar{justify-items:end;gap:12px;display:grid}.details-sort-field{gap:6px;min-width:144px;display:grid}.details-sort-field span{color:var(--text-soft);font-size:12px;font-weight:600}.details-sort-field select{border:1px solid var(--border);background:var(--surface-strong);min-height:42px;color:var(--text);border-radius:12px;padding:0 12px}.page-layout{flex-direction:column;gap:16px;display:flex}.page-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.page-header-copy,.section-card-copy{gap:8px;display:grid}.page-eyebrow{background:var(--accent-soft);width:fit-content;color:var(--accent);border-radius:999px;align-items:center;gap:8px;padding:6px 10px;font-size:12px;font-weight:700;display:inline-flex}.page-header h2{margin-bottom:6px;font-size:28px}.page-header p{color:var(--text-soft);line-height:1.6}.page-actions{flex-wrap:wrap;gap:10px;display:flex}.stats-grid,.stats-inline-grid,.two-pane-grid,.reports-grid,.capture-grid,.field-grid,.insight-grid{gap:12px;display:grid}.stats-grid,.stats-inline-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.two-pane-grid,.reports-grid,.capture-grid,.insight-grid,.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.four-columns{grid-template-columns:repeat(4,minmax(0,1fr))}.section-card,.stat-card,.summary-pill,.inline-form-card,.budget-shell,.draft-panel{border-radius:var(--radius-lg);padding:18px}.section-card{flex-direction:column;gap:14px;display:flex}.section-card-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.section-card-title-row{align-items:flex-start;gap:12px;display:flex}.section-card-description{color:var(--text-soft);line-height:1.6}.section-card h3,.transaction-editor h3{font-size:20px}.stat-card{flex-direction:column;gap:12px;display:flex}.stat-card-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.stat-card strong{font-size:28px}.stat-tone-accent{background:linear-gradient(135deg, #1fc8d429, #13aee614), var(--surface)}.stat-tone-success{background:linear-gradient(135deg, #22c55e24, #10b9810f), var(--surface)}.stat-tone-warning{background:linear-gradient(135deg, #f59e0b24, #fbbf240f), var(--surface)}.stat-tone-danger{background:linear-gradient(135deg, #ef444424, #f871710f), var(--surface)}.stat-tone-neutral{background:linear-gradient(135deg, #94a3b829, #94a3b80f), var(--surface)}.summary-pill{flex-direction:column;gap:8px;display:flex}.summary-pill span{align-items:center;gap:8px;display:inline-flex}.summary-pill strong{font-size:24px}.budget-shell{gap:12px;display:grid}.budget-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.budget-head p{color:var(--text-soft);margin-top:6px}.muted-shell{background:#94a3b814}.progress-meter{background:#94a3b829;border:none;border-radius:999px;width:100%;height:12px;overflow:hidden}.progress-meter::-webkit-progress-bar{background:#94a3b829;border-radius:999px}.progress-meter::-webkit-progress-value{border-radius:999px}.progress-meter::-moz-progress-bar{border-radius:999px}.progress-healthy::-webkit-progress-value{background:var(--success)}.progress-healthy::-moz-progress-bar{background:var(--success)}.progress-warning::-webkit-progress-value{background:var(--warning)}.progress-warning::-moz-progress-bar{background:var(--warning)}.progress-exceeded::-webkit-progress-value{background:var(--danger)}.progress-exceeded::-moz-progress-bar{background:var(--danger)}.progress-inactive::-webkit-progress-value{background:#9ca3af}.progress-inactive::-moz-progress-bar{background:#9ca3af}.progress-foot{justify-content:space-between;gap:12px;font-size:14px;display:flex}.tone-badge{border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:8px 12px;font-size:13px;font-weight:600;display:inline-flex}.tone-neutral{color:var(--text);background:#94a3b824}.tone-success{color:var(--success);background:#22c55e1f}.tone-warning{color:#b45309;background:#f59e0b24}.tone-danger{color:var(--danger);background:#ef444424}.tone-info{color:var(--info);background:#0ea5e924}.field-grid{align-items:start}.field{flex-direction:column;gap:8px;display:flex}.field span{color:var(--text-soft);font-size:14px}.field input,.field select,.field textarea{border:1px solid var(--border);background:var(--surface-strong);width:100%;color:var(--text);border-radius:14px;outline:none;padding:12px 14px;transition:border-color .15s,box-shadow .15s}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--accent);box-shadow:0 0 0 4px #1fc8d429}.field-inline{flex-direction:row;align-items:center;gap:10px}.field-inline input{width:auto}.primary-button,.ghost-button,.danger-button{border:none;border-radius:14px;justify-content:center;align-items:center;gap:8px;padding:12px 16px;transition:transform .15s,opacity .15s;display:inline-flex}.primary-button:hover,.ghost-button:hover,.danger-button:hover{transform:translateY(-1px)}.primary-button{color:#fff;background:linear-gradient(135deg,#36d8d0,#13aee6)}.ghost-button{color:var(--text);background:#94a3b81f}.danger-button{color:var(--danger);background:#ef44441f}.segmented-control{flex-wrap:wrap;gap:8px;display:inline-flex}.segment{border:1px solid var(--border);background:var(--surface-strong);color:var(--text-soft);border-radius:999px;padding:10px 14px}.segment.is-active{background:var(--accent-soft);color:var(--text);border-color:#1fc8d447}.segment{align-items:center;gap:8px;display:inline-flex}.theme-mode-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;display:grid}.theme-mode-card{border:1px solid var(--border);background:var(--surface-strong);width:100%;color:var(--text);border-radius:var(--radius-md);text-align:left;align-items:center;gap:12px;padding:14px;transition:transform .15s,border-color .15s,background .15s,box-shadow .15s;display:flex}.theme-mode-card:hover,.theme-mode-card.is-active{background:linear-gradient(135deg, #1fc8d414, #13aee60d), var(--surface-strong);box-shadow:var(--shadow-soft);border-color:#1fc8d457;transform:translateY(-1px)}.theme-mode-preview{flex:none;gap:6px;width:52px;display:grid}.theme-mode-preview span{border-radius:999px;height:8px}.theme-preview-system span:first-child{background:linear-gradient(90deg,#f8fafc,#dbeafe)}.theme-preview-system span:nth-child(2){background:linear-gradient(90deg,#cbd5e1,#93c5fd)}.theme-preview-system span:nth-child(3){background:linear-gradient(90deg,#0f172a,#1e293b)}.theme-preview-light span:first-child{background:#fff}.theme-preview-light span:nth-child(2){background:#dff7fb}.theme-preview-light span:nth-child(3){background:#1fc8d4}.theme-preview-dark span:first-child{background:#02060c}.theme-preview-dark span:nth-child(2){background:#0a0f16}.theme-preview-dark span:nth-child(3){background:#6ce6ee}.theme-preview-ocean span:first-child{background:#eff7ff}.theme-preview-ocean span:nth-child(2){background:#c8e4ff}.theme-preview-ocean span:nth-child(3){background:#1f78d1}.theme-preview-forest span:first-child{background:#eef7f0}.theme-preview-forest span:nth-child(2){background:#cfe7d7}.theme-preview-forest span:nth-child(3){background:#2f9d62}.theme-preview-dawn span:first-child{background:#fff7ef}.theme-preview-dawn span:nth-child(2){background:#ffe3bf}.theme-preview-dawn span:nth-child(3){background:#db8b38}.theme-mode-card-copy{gap:4px;min-width:0;display:grid}.theme-mode-card-copy strong{align-items:center;gap:8px;display:inline-flex}.theme-mode-card-copy small{color:var(--text-soft);line-height:1.5}.mode-selector{margin-bottom:8px}.capture-compact-shell{gap:14px;display:grid}.capture-compact-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.capture-selector{width:min(100%,420px);position:relative}.capture-selector-button,.capture-selector-option{border:1px solid var(--border);background:var(--surface-strong);width:100%;color:var(--text);border-radius:var(--radius-md);text-align:left;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.capture-selector-button:hover,.capture-selector-button.is-open,.capture-selector-option:hover,.capture-selector-option.is-active{background:linear-gradient(135deg, #1fc8d414, #13aee60d), var(--surface-strong);border-color:#1fc8d457}.capture-selector-current,.capture-selector-option{min-width:0}.capture-selector-current{align-items:center;gap:12px;display:flex}.capture-selector-copy{gap:4px;min-width:0;display:grid}.capture-selector-copy small,.capture-preference-hint,.ledger-draft-hint p{color:var(--text-soft);line-height:1.5}.capture-selector-arrow{color:var(--accent);white-space:nowrap;font-size:13px;font-weight:700}.capture-selector-menu{z-index:8;border:1px solid var(--border);background:var(--surface);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:var(--shadow-soft);border-radius:16px;gap:8px;padding:10px;display:grid;position:absolute;top:calc(100% + 8px);left:0;right:0}.capture-selector-option{justify-content:flex-start}.capture-grid-compact{align-items:start}.capture-hint-panel{border:1px solid var(--border);border-radius:var(--radius-md);background:#94a3b80f;padding:14px 16px}.capture-hint-head{align-items:center;gap:12px;display:flex}.ledger-draft-hint{gap:6px;padding:4px 2px 0;display:grid}.capture-mode-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.capture-mode-card{border:1px solid var(--border);background:var(--surface-strong);border-radius:var(--radius-md);text-align:left;color:var(--text);flex-direction:column;align-items:flex-start;gap:12px;padding:18px;transition:transform .15s,border-color .15s,box-shadow .15s;display:flex}.capture-mode-card p{color:var(--text-soft);line-height:1.6}.capture-mode-card.is-active,.capture-mode-card:hover{background:linear-gradient(135deg, #1fc8d429, #13aee614), var(--surface-strong);box-shadow:var(--shadow-soft);border-color:#1fc8d46b;transform:translateY(-1px)}.empty-state{border:1px dashed var(--border);border-radius:var(--radius-md);text-align:center;background:#94a3b80f;gap:10px;padding:28px 20px;display:grid}.empty-state-icon{background:var(--accent-soft);width:52px;height:52px;color:var(--accent);border-radius:16px;place-items:center;margin:0 auto;display:grid}.empty-state h3{font-size:20px}.empty-state p{color:var(--text-soft);line-height:1.6}.simple-list,.transaction-list,.attachment-list,.tag-matrix,.bullet-list,.source-breakdown-list,.welcome-security-strip,.status-list{gap:12px;display:grid}.status-list{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.status-item{border:1px solid var(--border);border-radius:var(--radius-md);background:#94a3b80f;align-items:flex-start;gap:12px;padding:14px 16px;display:flex}.status-item p,.bullet-list-item p,.security-item span{color:var(--text-soft);line-height:1.6}.status-item-icon.success{color:var(--success);background:#22c55e1f}.status-item-icon.warning{color:#b45309;background:#f59e0b24}.status-item-icon.info{color:var(--info);background:#0ea5e924}.bullet-list-item{align-items:flex-start;gap:12px;display:flex}.bullet-dot{background:var(--accent-soft);width:28px;height:28px;color:var(--accent);border-radius:999px;flex-shrink:0;place-items:center;display:grid}.security-item,.source-breakdown-item{border-radius:var(--radius-md);border:1px solid var(--border);background:#94a3b80f;padding:14px 16px}.security-item{align-items:flex-start;gap:12px;display:flex}.section-inline-head,.source-breakdown-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.simple-list-item,.transaction-row,.attachment-chip,.tag-row{border:1px solid var(--border);border-radius:var(--radius-md);background:#94a3b80f;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.simple-list-item strong,.transaction-row strong,.tag-row strong{display:block}.tag-row strong{text-align:right;word-break:break-word}.stack-row{align-items:flex-start}.list-leading-block{align-items:flex-start;gap:12px;display:flex}.category-inline-label{vertical-align:middle;align-items:center;gap:8px;display:inline-flex}.category-inline-icon{width:28px;height:28px;color:var(--accent);background:#94a3b81f;border-radius:10px;flex-shrink:0;place-items:center;display:grid}.row-actions,.editor-actions,.transaction-actions-panel,.page-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.grow-actions select{min-width:120px}.tag-row{background:0 0}.color-dot{border-radius:999px;width:12px;height:12px}.transaction-row{align-items:flex-start}.transaction-main{gap:6px;display:grid}.transaction-title-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.transaction-meta,.transaction-actions-panel{justify-items:end;gap:10px;display:grid}.amount-positive{color:var(--success)}.amount-negative{color:var(--danger)}.compact-fields .field input,.compact-fields .field select{min-height:48px}.draft-panel{background:#1fc8d414}.transaction-editor{flex-direction:column;gap:18px;display:flex}.editor-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.editor-head p{color:var(--text-soft);margin-top:8px}.attachment-chip{align-items:stretch}.attachment-picker{border-radius:var(--radius-md);background:linear-gradient(135deg, #1fc8d41f, #13aee60f), var(--surface-strong);border:1.5px dashed #1fc8d452;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:14px;padding:18px;transition:transform .15s,border-color .15s,box-shadow .15s;display:grid;position:relative}.attachment-picker:hover{box-shadow:var(--shadow-soft);border-color:#1fc8d485;transform:translateY(-1px)}.attachment-picker.is-static{background:#94a3b80f;border-style:solid}.attachment-picker.is-static:hover{border-color:var(--border);box-shadow:none;transform:none}.attachment-picker.is-uploading{opacity:.78}.attachment-picker input[type=file]{opacity:0;cursor:pointer;position:absolute;inset:0}.attachment-picker-icon{background:var(--accent-soft);width:52px;height:52px;color:var(--accent);border-radius:16px;place-items:center;display:grid}.attachment-picker-copy{gap:6px;min-width:0;display:grid}.attachment-picker-copy span{color:var(--text-soft);font-size:14px;line-height:1.6}.attachment-chip>div{gap:6px;display:grid}.attachment-remove-button{align-self:flex-start}.attachment-meta{align-items:center;gap:8px;display:inline-flex}.attachment-storage-note{color:var(--text-soft);line-height:1.5}.attachment-chip img{object-fit:cover;border-radius:12px;width:84px;height:84px}.sticky-actions{justify-content:flex-end}.chart-card{gap:18px;display:grid}.pie-card{grid-template-columns:minmax(0,1fr)}.profile-card{justify-content:space-between;align-items:center;gap:16px;padding:16px 0;display:flex}.settings-profile-card{padding:0 0 8px}.settings-entry-list{gap:12px;display:grid}.settings-entry-list-native{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface-strong);gap:0;overflow:hidden}.settings-entry-button{border:1px solid var(--border);background:var(--surface-strong);border-radius:var(--radius-md);text-align:left;width:100%;color:var(--text);align-items:center;gap:14px;padding:16px;transition:transform .15s,border-color .15s,background .15s;display:flex}.settings-entry-list-native .settings-entry-button{border:none;border-bottom:1px solid var(--border);background:0 0;border-radius:0;padding:14px 16px}.settings-entry-list-native .settings-entry-button:last-child{border-bottom:none}.settings-entry-button:hover{background:linear-gradient(135deg, #1fc8d41a, #13aee60f), var(--surface-strong);border-color:#1fc8d46b;transform:translateY(-1px)}.settings-entry-list-native .settings-entry-button:hover{background:#94a3b814;border-color:#0000;transform:none}.settings-entry-icon{background:var(--accent-soft);width:44px;height:44px;color:var(--accent);border-radius:14px;flex:none;place-items:center;display:grid}.settings-entry-copy{flex:1;gap:4px;min-width:0;display:grid}.settings-entry-copy span{color:var(--text-soft);font-size:13px;line-height:1.5}.settings-entry-meta{color:var(--text-soft);text-align:right;justify-items:end;gap:4px;font-size:13px;display:grid}.settings-entry-action{color:var(--accent);font-weight:700}.settings-toggle-row{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-strong);justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.settings-toggle-copy{gap:4px;display:grid}.settings-toggle-copy small,.settings-page-note{color:var(--text-soft);line-height:1.6}.settings-switch{appearance:none;cursor:pointer;background:#94a3b85c;border:none;border-radius:999px;flex:none;width:52px;height:32px;transition:background .18s;position:relative}.settings-switch:after{content:"";background:#fff;border-radius:999px;width:24px;height:24px;transition:transform .18s;position:absolute;top:4px;left:4px;box-shadow:0 2px 6px #0f172a29}.settings-switch:checked{background:linear-gradient(135deg,#36d8d0,#13aee6)}.settings-switch:checked:after{transform:translate(20px)}.settings-switch:disabled{opacity:.56;cursor:not-allowed}.about-panel,.about-copy,.about-library-list,.about-link-list{gap:16px;display:grid}.about-hero{text-align:center;justify-items:center;gap:16px;padding:8px 0 4px;display:grid}.about-logo-wrap{width:112px;height:112px;box-shadow:var(--shadow-soft);background:#fffffff0;border:1px solid #13aee629;border-radius:32px;padding:12px}.about-logo{object-fit:contain;width:100%;height:100%}.about-copy{gap:8px;max-width:720px}.about-copy strong{letter-spacing:-.04em;font-size:30px}.about-copy p,.about-section-head p,.about-library-item p,.about-link-card p{color:var(--text-soft);line-height:1.7}.about-section{border-radius:var(--radius-lg);border:1px solid var(--border);background:#94a3b80f;gap:16px;padding:20px;display:grid}.about-section-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.about-section h4{margin-bottom:6px}.about-library-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.about-library-item{border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface-strong);gap:6px;padding:16px;display:grid}.about-link-list{gap:12px}.about-link-card{border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface-strong);justify-content:space-between;align-items:center;gap:14px;padding:16px;transition:transform .15s,border-color .15s,background .15s;display:flex}.about-link-card:hover{background:linear-gradient(135deg, #1fc8d41a, #13aee60f), var(--surface-strong);border-color:#1fc8d46b;transform:translateY(-1px)}.about-link-card>div{gap:4px;min-width:0;display:grid}.about-link-card p{word-break:break-word}.about-link-action{color:var(--accent);white-space:nowrap;font-weight:700}.inline-progress-meter{background:#94a3b829;border:none;border-radius:999px;width:100%;height:10px;overflow:hidden}.inline-progress-meter::-webkit-progress-bar{background:#94a3b829}.inline-progress-meter::-webkit-progress-value{background:linear-gradient(90deg,#5ce3b8,#13aee6);border-radius:999px}.inline-progress-meter::-moz-progress-bar{background:linear-gradient(90deg,#5ce3b8,#13aee6);border-radius:999px}.icon-picker{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;display:grid}.icon-picker-item{border:1px solid var(--border);background:var(--surface-strong);border-radius:var(--radius-md);text-align:left;color:var(--text);align-items:center;gap:12px;padding:14px;transition:transform .15s,border-color .15s,background .15s;display:flex}.icon-picker-item:hover,.icon-picker-item.is-active{background:linear-gradient(135deg, #1fc8d429, #13aee614), var(--surface-strong);border-color:#1fc8d46b;transform:translateY(-1px)}.icon-picker-copy{gap:4px;display:grid}.icon-picker-copy small{color:var(--text-soft)}.inline-form-card{gap:16px;display:grid}.details-timeline,.details-group-items,.details-item-meta{gap:12px;display:grid}.details-group{gap:14px;display:grid}.details-group+.details-group{border-top:1px dashed var(--border);padding-top:8px}.details-group-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.details-group-header>div{gap:4px;display:grid}.details-group-header span{color:var(--text-soft)}.details-item{border:1px solid var(--border);border-radius:var(--radius-md);background:#94a3b80f;padding:16px}.details-item-main{gap:12px;display:grid}.details-item-head p,.details-item-foot{color:var(--text-soft)}.details-item-amount-block{text-align:right;justify-items:end;gap:4px;display:grid}.details-item-meta{grid-template-columns:repeat(auto-fit,minmax(160px,max-content))}.details-chip{border:1px solid var(--border);background:var(--surface-strong);min-height:36px;color:var(--text-soft);border-radius:999px;align-items:center;gap:8px;padding:8px 12px;display:inline-flex}.details-item-foot{justify-content:space-between;align-items:center;gap:12px;font-size:13px;display:flex}.legal-footer{color:var(--text-soft);flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;font-size:13px;line-height:1.6;display:flex}.legal-footer a{color:var(--accent);font-weight:600}.welcome-footer{grid-column:1/-1;padding-bottom:4px}.welcome-inline-card{gap:18px}.modal-backdrop{z-index:1000;background:#0f172a7a;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.modal-panel{border-radius:var(--radius-xl);width:min(880px,100%);max-height:min(88vh,100%);padding:24px;overflow:auto}.modal-backdrop.is-page{background:var(--bg);padding:0}.modal-panel.is-page{width:100%;min-height:100dvh;max-height:100dvh;padding:16px 16px calc(32px + env(safe-area-inset-bottom));box-shadow:none;border-radius:0}.modal-panel.is-page .modal-header{z-index:2;background:var(--bg);border-bottom:1px solid var(--border);margin:-16px -16px 20px;padding:16px;position:sticky;top:0}.modal-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.modal-title-wrap{align-items:center;gap:12px;min-width:0;display:flex}.modal-title-wrap h3{margin:0}.modal-title-icon{flex:none}.full-width{width:100%}.welcome-stage{grid-template-columns:minmax(360px,1.08fr) minmax(320px,.92fr);align-items:stretch;gap:24px;min-height:100vh;padding:24px;transition:grid-template-columns .35s,padding .35s;display:grid}.welcome-stage.is-expanded{grid-template-columns:96px minmax(0,1fr)}.welcome-showcase,.welcome-entry-shell,.toast-card{animation:.35s soft-fade-up}.welcome-showcase{border-radius:var(--radius-xl);background:var(--surface);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid var(--border);box-shadow:var(--shadow-soft);grid-template-columns:72px minmax(0,1fr);gap:12px;padding:24px;transition:grid-template-columns .35s,padding .35s;display:grid}.welcome-stage.is-expanded .welcome-showcase{grid-template-columns:1fr;padding:18px 12px}.welcome-showcase-rail{justify-content:flex-start;display:flex}.welcome-rail-button{width:56px;min-height:56px;color:var(--text-soft);opacity:0;pointer-events:none;background:#94a3b814;border:1px solid #0000;border-radius:18px;justify-content:center;align-items:center;gap:8px;transition:opacity .25s,transform .25s,border-color .25s,background .25s;display:inline-flex}.welcome-rail-button span{display:none}.welcome-rail-button.is-visible{opacity:1;pointer-events:auto}.welcome-rail-button:hover:not(:disabled){color:var(--text);background:#1fc8d41f;border-color:#1fc8d447;transform:translateY(-1px)}.welcome-showcase-shell{flex-direction:column;justify-content:center;gap:20px;min-width:0;transition:opacity .3s,transform .3s;display:flex}.welcome-stage.is-expanded .welcome-showcase-shell{opacity:0;pointer-events:none;transform:translate(-12px)}.welcome-entry{min-width:0}.welcome-entry-cta{text-align:left;background:0 0;border:none;width:100%;min-height:100%;padding:0}.welcome-entry-shell{border-radius:var(--radius-xl);background:var(--surface);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid var(--border);min-height:100%;box-shadow:var(--shadow-soft);flex-direction:column;gap:20px;padding:28px;transition:transform .28s,box-shadow .28s,border-color .28s;display:flex}.welcome-entry-preview-card{justify-content:center}.welcome-shell-head{align-items:flex-start}.welcome-entry-shell-clickable:hover{box-shadow:var(--shadow);border-color:#1fc8d457;transform:translateY(-2px)scale(1.005)}.welcome-entry-preview-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.welcome-entry-shell h2{letter-spacing:-.04em;font-size:32px}.welcome-entry-shell p{color:var(--text-soft);line-height:1.7}.welcome-account-chip{border-radius:var(--radius-md);border:1px solid var(--border);background:#1fc8d414;flex-wrap:wrap;align-items:center;gap:10px 14px;padding:14px 16px;display:flex}.welcome-account-chip span{color:var(--text-soft)}.status-list-three{grid-template-columns:repeat(3,minmax(0,1fr))}.toast-viewport{z-index:1200;gap:12px;width:min(420px,100vw - 24px);display:grid;position:fixed;top:18px;right:18px}.toast-card{background:var(--surface-strong);border:1px solid var(--border);box-shadow:var(--shadow-soft);border-radius:18px;grid-template-columns:44px minmax(0,1fr) 36px;align-items:start;gap:12px;padding:14px 16px;display:grid}.toast-icon-wrap{background:var(--accent-soft);width:44px;height:44px;color:var(--accent);border-radius:14px;place-items:center;display:grid}.toast-success .toast-icon-wrap{color:var(--success);background:#22c55e1f}.toast-danger .toast-icon-wrap{color:var(--danger);background:#ef44441f}.toast-warning .toast-icon-wrap{color:#b45309;background:#f59e0b24}.toast-copy{gap:6px;display:grid}.toast-copy p{color:var(--text-soft);line-height:1.6}.toast-close-button{color:var(--text-soft);background:0 0;border:none;border-radius:12px;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex}.toast-close-button:hover{color:var(--text);background:#94a3b81f}@keyframes soft-fade-up{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media (width<=1280px){.stats-grid,.stats-inline-grid,.four-columns,.status-list-three{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=1024px){.welcome-stage,.welcome-layout,.app-shell,.two-pane-grid,.reports-grid,.capture-grid,.insight-grid,.welcome-points,.capture-mode-grid,.welcome-stage.is-expanded{grid-template-columns:1fr}.welcome-showcase,.welcome-stage.is-expanded .welcome-showcase{grid-template-columns:1fr;padding:20px}.welcome-showcase-shell,.welcome-stage.is-expanded .welcome-showcase-shell{opacity:1;pointer-events:auto;transform:none}.welcome-showcase-rail{justify-content:flex-start}.welcome-rail-button span{display:inline}.sidebar{margin:16px 16px 0}.content-shell{padding:16px}.topbar,.page-header,.section-inline-head,.details-group-header,.profile-card,.welcome-identity-card,.simple-list-item,.transaction-row,.attachment-chip,.tag-row,.editor-head,.budget-head{flex-direction:column;align-items:stretch}.transaction-actions-panel,.transaction-meta,.details-item-amount-block{justify-items:start}.toast-viewport{width:auto;left:12px;right:12px}}@media (width<=820px){.app-shell{grid-template-columns:1fr}.sidebar{display:none}.content-shell{padding:0 0 calc(84px + env(safe-area-inset-bottom));gap:0;min-height:100vh}.topbar{z-index:20;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-radius:0 0 22px 22px;margin:0;padding:16px;position:sticky;top:0}.topbar-pills{flex-wrap:nowrap;justify-content:flex-start;padding-bottom:2px;overflow-x:auto}.topbar-budget-wrap{min-width:100%}.details-toolbar{justify-items:stretch;width:100%}.topbar-pills::-webkit-scrollbar{display:none}.topbar-pills>*{flex:none}.page-shell{padding:16px 16px 0}.shell-footer{padding:0 16px 12px}.mobile-tabbar{left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:30;border:1px solid var(--border);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffeb;border-radius:24px;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:8px;display:grid;position:fixed;box-shadow:0 18px 38px #0f172a24}:root[data-theme=dark] .mobile-tabbar{background:#0f172aeb;box-shadow:0 18px 38px #0206176b}.mobile-tabbar-link{min-height:58px;color:var(--text-soft);border-radius:18px;place-items:center;gap:4px;padding:8px 6px;font-size:12px;font-weight:600;display:grid}.mobile-tabbar-link.is-active{color:var(--text);background:linear-gradient(135deg,#1fc8d429,#13aee614)}}@media (width<=720px){.welcome-stage,.welcome-layout,.content-shell,.modal-backdrop{padding:12px}.welcome-hero h1{font-size:52px}.sidebar,.topbar,.section-card,.stat-card,.summary-pill,.welcome-entry-shell,.welcome-hero,.welcome-form-card,.modal-panel{padding:18px}.modal-backdrop.is-page{padding:0}.modal-panel.is-page{padding:16px 16px calc(32px + env(safe-area-inset-bottom))}.modal-panel.is-page .modal-header{margin:-16px -16px 20px;padding:16px}.stats-grid,.stats-inline-grid,.welcome-step-row,.two-columns,.four-columns,.icon-picker,.status-list-three,.about-library-list,.details-item-meta{grid-template-columns:1fr}.topbar-budget-foot,.settings-entry-button,.settings-entry-meta,.about-link-card,.details-item-foot{align-items:flex-start}.topbar-budget-foot,.settings-entry-button,.about-link-card,.details-item-foot{flex-direction:column}.settings-entry-meta{text-align:left;justify-items:start}.about-copy strong{font-size:26px}.about-section-head{flex-direction:column}.toast-card{grid-template-columns:40px minmax(0,1fr) 32px;padding:12px 14px}}@media (width<=820px){.welcome-stage{grid-template-columns:1fr;align-items:stretch;gap:0;min-height:100dvh;padding:0}.welcome-stage:not(.is-expanded) .welcome-entry{display:none}.welcome-stage.is-expanded{grid-template-columns:1fr}.welcome-stage.is-expanded .welcome-showcase{display:none}.welcome-showcase,.welcome-entry-shell{min-height:calc(100dvh - 68px);box-shadow:none;border-left:none;border-right:none;border-radius:0}.welcome-showcase{grid-template-columns:1fr;padding:20px 16px 24px}.welcome-showcase-rail{display:none}.welcome-showcase-shell{justify-content:space-between;gap:18px;min-height:calc(100dvh - 112px)}.welcome-showcase-shell h1{letter-spacing:-.05em;font-size:42px}.welcome-mobile-intro-actions{gap:10px;margin-top:auto;padding-top:12px;display:grid}.welcome-entry{min-height:100dvh}.welcome-entry-cta{min-height:unset}.welcome-entry-shell{min-height:100dvh;padding:20px 16px calc(28px + env(safe-area-inset-bottom));gap:16px;overflow:auto}.welcome-entry-shell h2{font-size:28px}.welcome-entry-actions,.welcome-auth-shell .two-columns,.welcome-preferences-shell .two-columns{grid-template-columns:1fr}.welcome-auth-tabs{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.welcome-inline-back{white-space:nowrap;min-height:44px;display:inline-flex}.welcome-step-row{z-index:4;background:linear-gradient(180deg, var(--surface-strong) 0%, #ffffffd9 100%);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:4px 0 10px;position:sticky;top:0}:root[data-theme=dark] .welcome-step-row{background:linear-gradient(180deg, var(--surface-strong) 0%, #0f172ae0 100%)}.welcome-form-stack{gap:14px;padding-bottom:8px}.welcome-submit-row,.welcome-preferences-actions{bottom:calc(-20px - env(safe-area-inset-bottom));padding:14px 0 calc(8px + env(safe-area-inset-bottom));background:linear-gradient(180deg, #f5f7fb00 0%, var(--surface-strong) 28%);margin-top:auto;position:sticky}:root[data-theme=dark] .welcome-submit-row,:root[data-theme=dark] .welcome-preferences-actions{background:linear-gradient(180deg, #09111f00 0%, var(--surface-strong) 28%)}.welcome-submit-row>.ghost-button,.welcome-submit-row>.primary-button,.welcome-preferences-actions>.primary-button{flex:1 1 0;min-height:52px}.welcome-account-chip,.welcome-identity-card{padding:14px}.welcome-footer{padding:10px 16px calc(10px + env(safe-area-inset-bottom))}}:root{--motion-spring:cubic-bezier(.22, 1, .36, 1);--content-max-width:1120px;--stack-max-width:840px;--glass-shadow:0 28px 72px #0f172a1f;--glass-shadow-soft:0 18px 40px #0f172a14}body{background:radial-gradient(circle at top left, #1fc8d42e, transparent 34%), radial-gradient(circle at top right, #13aee61f, transparent 28%), radial-gradient(circle at bottom center, #6366f114, transparent 26%), var(--bg);background-attachment:fixed}:root[data-theme=dark] body{background:radial-gradient(circle at top left, #6ce6ee1f, transparent 34%), radial-gradient(circle at top right, #2563eb14, transparent 28%), radial-gradient(circle at bottom center, #1e293b2e, transparent 26%), var(--bg)}:root[data-theme=ocean] body{background:radial-gradient(circle at top left, #1f78d129, transparent 34%), radial-gradient(circle at bottom center, #60a5fa1f, transparent 28%), var(--bg)}:root[data-theme=forest] body{background:radial-gradient(circle at top left, #2f9d6229, transparent 34%), radial-gradient(circle at bottom center, #6ee7b71a, transparent 28%), var(--bg)}:root[data-theme=dawn] body{background:radial-gradient(circle at top left, #db8b3829, transparent 34%), radial-gradient(circle at bottom center, #fbbf241f, transparent 28%), var(--bg)}button,.nav-link,.mobile-tabbar-link,.section-card,.stat-card,.summary-pill,.settings-entry-button,.about-link-card,.simple-list-item{transition:transform .24s var(--motion-spring), border-color .24s ease, background .24s ease, box-shadow .24s ease, opacity .2s ease}.app-shell{background:0 0}.sidebar,.topbar,.section-card,.stat-card,.summary-pill,.inline-form-card,.budget-shell,.draft-panel,.profile-hero-card{box-shadow:var(--glass-shadow-soft)}.topbar{z-index:16;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);background:#ffffffc7;position:sticky;top:0}:root[data-theme=dark] .topbar{background:#09111fc2}.content-shell{gap:18px}.page-shell{justify-content:center;display:flex}.route-scene{will-change:transform, opacity;width:100%}.route-scene-tab{animation:scene-tab-enter .34s var(--motion-spring)}.route-scene-stack{animation:scene-stack-enter .42s var(--motion-spring)}.page-layout{width:min(var(--content-max-width), 100%);margin:0 auto;padding-bottom:20px}.page-layout-me{gap:18px}.page-layout-me .page-header{align-items:flex-end}.page-layout-me .stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.section-card,.stat-card,.summary-pill,.inline-form-card,.budget-shell,.draft-panel{border-radius:20px}.section-card:hover,.stat-card:hover,.summary-pill:hover{box-shadow:var(--glass-shadow);transform:translateY(-2px)}.profile-hero-card{background:linear-gradient(145deg,#ffffffe0,#ffffff9e),linear-gradient(135deg,#1fc8d42e,#13aee614);border:1px solid #1fc8d42e;border-radius:24px;justify-content:space-between;align-items:flex-end;gap:18px;padding:22px 24px;display:flex;position:relative;overflow:hidden}.profile-hero-card:after{content:"";pointer-events:none;background:radial-gradient(circle,#1fc8d42e,#0000 68%);border-radius:999px;width:280px;height:280px;position:absolute;bottom:-46%;right:-12%}:root[data-theme=dark] .profile-hero-card{background:linear-gradient(145deg,#0f172ad6,#0f172aa3),linear-gradient(135deg,#58dce129,#38bdf814)}.profile-hero-main{z-index:1;align-items:center;gap:18px;display:flex;position:relative}.profile-hero-avatar{width:64px;height:64px;color:var(--accent);background:#ffffffe6;border:1px solid #1fc8d429;border-radius:20px;flex:none;place-items:center;font-size:28px;display:grid;box-shadow:0 16px 32px #0f172a14}:root[data-theme=dark] .profile-hero-avatar{background:#0f172ae0}.profile-hero-copy{gap:6px;display:grid}.profile-hero-copy strong{letter-spacing:-.05em;font-size:clamp(24px,3.4vw,32px);line-height:1.02}.profile-hero-copy p,.profile-hero-copy small{color:var(--text-soft);line-height:1.6}.profile-hero-side{z-index:1;flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex;position:relative}.stack-page{width:min(var(--stack-max-width), 100%);min-height:100%;padding-bottom:calc(24px + env(safe-area-inset-bottom));flex-direction:column;gap:14px;margin:0 auto;display:flex}.stack-page-header{z-index:22;padding-top:max(14px, env(safe-area-inset-top));background:linear-gradient(#f5f7fbf5 0%,#f5f7fbd6 72%,#f5f7fb00 100%);position:sticky;top:0}:root[data-theme=dark] .stack-page-header{background:linear-gradient(#09111ff5 0%,#09111fd6 72%,#09111f00 100%)}.stack-page-header-bar{justify-content:space-between;align-items:center;gap:12px;display:flex}.stack-page-back-button{min-height:46px;color:var(--text);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#94a3b824;border:none;border-radius:16px;align-items:center;gap:8px;padding:0 14px;font-weight:700;display:inline-flex}.stack-page-back-button:hover{background:#1fc8d424;transform:translate(-2px)}.stack-page-back-icon{font-size:18px;line-height:1}.stack-page-header-actions{justify-content:flex-end;min-width:44px;display:flex}.stack-page-title-block{gap:6px;padding:10px 4px 4px;display:grid}.stack-page-title-block h1{letter-spacing:-.055em;font-size:clamp(28px,3.8vw,36px);line-height:1.02}.stack-page-title-block p{color:var(--text-soft);line-height:1.6}.stack-page-content{gap:14px;display:grid}.content-shell.is-stack-route{padding:0 28px calc(24px + env(safe-area-inset-bottom));gap:0}.content-shell.is-stack-route .page-shell{padding:0}.stack-page .section-card{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#ffffffb8;border-color:#94a3b82e}:root[data-theme=dark] .stack-page .section-card{background:#0f172abd}.stack-page .simple-list-item,.stack-page .tag-row,.stack-page .inline-form-card{border-radius:20px}.stack-page .simple-list-item{padding:13px 14px}.settings-page-actions{justify-content:flex-end}.settings-entry-list{gap:10px}.settings-entry-button{background:linear-gradient(160deg, #ffffffe6, #ffffffb8), var(--surface-strong);border-radius:18px;padding:14px;position:relative;overflow:hidden}:root[data-theme=dark] .settings-entry-button{background:linear-gradient(160deg, #0f172ae0, #0f172ac2), var(--surface-strong)}.settings-entry-button:after{content:"";opacity:0;background:linear-gradient(120deg,#ffffff1f,#0000 26% 72%,#ffffff0f);transition:opacity .24s;position:absolute;inset:0}.settings-entry-button:hover{border-color:#1fc8d457;transform:translateY(-2px);box-shadow:0 16px 32px #0f172a14}.settings-entry-button:hover:after{opacity:1}.settings-entry-button:active{transform:scale(.988)}.settings-entry-icon{border-radius:14px;width:40px;height:40px}.settings-entry-copy strong{font-size:15px}.settings-entry-meta{gap:6px}.settings-entry-meta strong{color:var(--text-soft);font-size:13px;font-weight:600}.settings-entry-action{font-size:22px;line-height:1}.native-settings-card{align-items:flex-start}.stack-page .ghost-button,.stack-page .danger-button,.stack-page .primary-button{border-radius:16px;min-height:48px}.stack-page .section-card:hover{box-shadow:var(--glass-shadow-soft);transform:none}@keyframes scene-tab-enter{0%{opacity:0;transform:translateY(12px)scale(.995)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes scene-stack-enter{0%{opacity:0;transform:translate(18px)scale(.992)}to{opacity:1;transform:translate(0)scale(1)}}@media (prefers-reduced-motion:reduce){.route-scene-tab,.route-scene-stack,.section-card,.stat-card,.summary-pill,.settings-entry-button,.about-link-card,.simple-list-item,button,.nav-link,.mobile-tabbar-link{transition:none!important;animation:none!important}}@media (width<=1280px){.page-layout-me .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=1024px){.content-shell.is-stack-route{padding-inline:20px}.profile-hero-card{padding:24px}}@media (width<=820px){.content-shell.is-stack-route{min-height:100dvh;padding:0 16px calc(18px + env(safe-area-inset-bottom))}.stack-page{width:100%;padding-bottom:calc(20px + env(safe-area-inset-bottom))}.stack-page-header{margin:0 -16px;padding-left:16px;padding-right:16px}.profile-hero-card{border-radius:28px;flex-direction:column;align-items:stretch;gap:18px;padding:22px 20px}.profile-hero-main{align-items:flex-start}.profile-hero-side,.settings-page-actions{justify-content:flex-start}.stack-page .section-card{border-radius:24px;padding:20px}.route-scene-stack{animation-duration:.34s}}@media (width<=720px){.page-layout{padding-bottom:18px}.page-layout-me .page-header{align-items:stretch}.profile-hero-main{flex-direction:column}.profile-hero-avatar{border-radius:22px;width:66px;height:66px}.settings-entry-button{border-radius:20px;padding:16px}.settings-entry-meta{text-align:left;justify-items:start}}@media (width<=560px){.page-layout-me .stats-grid{grid-template-columns:1fr 1fr}.stack-page-title-block h1{font-size:32px}.stack-page-back-button{min-height:42px;padding:0 12px}.settings-page-actions>*{flex:100%}}
