/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:var(--font-sans);--font-mono:var(--font-mono);--spacing:.25rem;--radius-sm:var(--radius-sm);--radius-lg:var(--radius-lg);--radius-xl:var(--radius-xl);--shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--radius:var(--radius)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.fixed{position:fixed}.sticky{position:sticky}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.flex-shrink{flex-shrink:1}.border-collapse{border-collapse:collapse}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.border{border-style:var(--tw-border-style);border-width:1px}.uppercase{text-transform:uppercase}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}:root,[data-theme=classic-light]{color-scheme:light;--primary:#6366f1;--primary-dark:#4f46e5;--primary-soft:#eef2ff;--danger:#ef4444;--warning:#f59e0b;--success:#10b981;--income:#10b981;--expense:#ef4444;--bg:#f8fafc;--surface:#fff;--surface-2:#f1f5f9;--surface-hover:#f8fafc;--border:#e2e8f0;--border-strong:#cbd5e1;--text:#0f172a;--text-muted:#64748b;--text-subtle:#94a3b8;--cat-food:#f59e0b;--cat-transit:#3b82f6;--cat-goods:#6366f1;--cat-animal:#eab308;--cat-fun:#a855f7;--cat-health:#ef4444;--cat-duty:#92400e;--cat-invest:#0d9488;--cat-income:#10b981;--cat-other:#6b7280;--radius-sm:6px;--radius:10px;--radius-lg:14px;--radius-xl:20px;--shadow-sm:0 1px 2px #0f172a0a;--shadow:0 1px 3px #0f172a0f, 0 1px 2px #0f172a0a;--shadow-lg:0 10px 24px #0f172a14, 0 2px 6px #0f172a0a;--font-sans:-apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", sans-serif;--font-mono:ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace}[data-theme=classic-dark],.dark{color-scheme:dark;--primary:#818cf8;--primary-dark:#6366f1;--primary-soft:#1e1b4b;--danger:#f87171;--warning:#fbbf24;--success:#34d399;--income:#34d399;--expense:#f87171;--bg:#0b1020;--surface:#131a2e;--surface-2:#1a2238;--surface-hover:#1f2940;--border:#2a3348;--border-strong:#3a4666;--text:#e2e8f0;--text-muted:#94a3b8;--text-subtle:#64748b;--cat-food:#fbbf24;--cat-transit:#60a5fa;--cat-goods:#818cf8;--cat-animal:#facc15;--cat-fun:#c084fc;--cat-health:#f87171;--cat-duty:#d97706;--cat-invest:#2dd4bf;--cat-income:#34d399;--cat-other:#94a3b8;--shadow-sm:0 1px 2px #0000004d;--shadow:0 1px 3px #0006, 0 1px 2px #00000040;--shadow-lg:0 10px 24px #00000073, 0 2px 6px #00000040}[data-theme=light-luxury-light]{color-scheme:light;--primary:#1f2a56;--primary-dark:#131a3b;--primary-soft:#e7dcbe;--danger:#a6432f;--warning:#d4a039;--success:#5e7548;--income:#5e7548;--expense:#a6432f;--bg:#f0e8da;--surface:#f8f2e7;--surface-2:#e5daca;--surface-hover:#ede4d3;--border:#d4c5ac;--border-strong:#b6a28c;--text:#1f2a56;--text-muted:#4f587a;--text-subtle:#8b92ae;--cat-food:#d4a039;--cat-transit:#1f2a56;--cat-goods:#6b5e8c;--cat-animal:#b68a30;--cat-fun:#8b6f4e;--cat-health:#a6432f;--cat-duty:#5c3f22;--cat-invest:#496e5b;--cat-income:#5e7548;--cat-other:#8c857c;--shadow-sm:0 1px 2px #1f2a560d;--shadow:0 1px 3px #1f2a5612, 0 1px 2px #1f2a560a;--shadow-lg:0 10px 24px #1f2a561a, 0 2px 6px #1f2a560d}[data-theme=light-luxury-dark]{color-scheme:dark;--primary:#d4a039;--primary-dark:#b0851d;--primary-soft:#3a2f18;--danger:#e07a66;--warning:#e4b453;--success:#8aa070;--income:#8aa070;--expense:#e07a66;--bg:#043168;--surface:#0f3a78;--surface-2:#0a3270;--surface-hover:#154080;--border:#1f4885;--border-strong:#2d5da8;--text:#ede2c8;--text-muted:#b3a88f;--text-subtle:#8c8270;--input-bg:#c19e88;--input-text:#043168;--input-border:#0000001f;--cat-food:#e4b453;--cat-transit:#7b92d4;--cat-goods:#9a8cc5;--cat-animal:#e4b045;--cat-fun:#b89580;--cat-health:#e07a66;--cat-duty:#9a7c5c;--cat-invest:#6e907f;--cat-income:#8aa070;--cat-other:#a8a29c;--shadow-sm:0 1px 2px #00000059;--shadow:0 1px 3px #00000073, 0 1px 2px #0000004d;--shadow-lg:0 10px 24px #00000080, 0 2px 6px #0000004d}[data-theme=senior-ash-light]{color-scheme:light;--primary:#456f97;--primary-dark:#345a7f;--primary-soft:#d7e1ea;--accent-gold:#b88a3b;--danger:#b76158;--warning:#b88a3b;--success:#6f956f;--income:#6f956f;--expense:#b76158;--bg:#e8e2d4;--surface:#f5f0e6;--surface-2:#ded6c7;--surface-hover:#ece5d8;--border:#cfc3af;--border-strong:#afa18d;--text:#172333;--text-muted:#526170;--text-subtle:#7c8790;--cat-food:#b88a3b;--cat-transit:#456f97;--cat-goods:#5c6f8f;--cat-animal:#a98b3d;--cat-fun:#7a688a;--cat-health:#b76158;--cat-duty:#735538;--cat-invest:#557f78;--cat-income:#6f956f;--cat-other:#7b7d7a;--shadow-sm:0 1px 2px #1723330d;--shadow:0 1px 3px #17233314, 0 1px 2px #1723330a;--shadow-lg:0 12px 28px #1723331f, 0 2px 6px #1723330f}[data-theme=senior-ash-dark]{color-scheme:dark;--primary:#6f93b8;--primary-dark:#55799f;--primary-soft:#1b3045;--accent-gold:#c9a45c;--danger:#c8756c;--warning:#c9a45c;--success:#7fae8b;--income:#7fae8b;--expense:#c8756c;--bg:#0b1118;--surface:#111a24;--surface-2:#172333;--surface-hover:#1d2b3b;--border:#263545;--border-strong:#38506a;--text:#ece7da;--text-muted:#a9b2b8;--text-subtle:#6f7e89;--cat-food:#c9a45c;--cat-transit:#6f93b8;--cat-goods:#7f8eaa;--cat-animal:#b9a05c;--cat-fun:#9a86a8;--cat-health:#c8756c;--cat-duty:#a07b59;--cat-invest:#75a69b;--cat-income:#7fae8b;--cat-other:#a9b2b8;--shadow-sm:0 1px 2px #00000047;--shadow:0 1px 3px #0000005c, 0 1px 2px #00000038;--shadow-lg:0 12px 28px #0000006b, 0 2px 6px #0000003d}*,:before,:after{box-sizing:border-box}html,body{margin:0;padding:0}body{font-family:var(--font-sans);background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-height:100vh;transition:background-color .25s,color .25s}a{color:inherit;text-decoration:none}button{cursor:pointer;font-family:inherit}input,select,textarea{font-family:inherit}.card{background:var(--surface);border-radius:var(--radius-lg);box-shadow:var(--shadow);border:1px solid var(--border);transition:background-color .2s,border-color .2s}.btn{border-radius:var(--radius);border:1px solid #0000;justify-content:center;align-items:center;gap:6px;padding:10px 18px;font-size:14px;font-weight:500;transition:background-color .15s,border-color .15s,color .15s,opacity .15s,transform 50ms;display:inline-flex}.btn:active:not(:disabled){transform:translateY(1px)}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover:not(:disabled){background:var(--primary-dark)}.btn-ghost{color:var(--text-muted);border-color:var(--border);background:0 0}.btn-ghost:hover:not(:disabled){background:var(--surface-hover);color:var(--text)}.btn-danger{background:var(--danger);color:#fff}.btn-danger:hover:not(:disabled){opacity:.9}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-full{width:100%}.btn-sm{padding:6px 12px;font-size:13px}.btn-icon{gap:0;padding:8px}.form-group{flex-direction:column;gap:6px;display:flex}.form-label{color:var(--text-muted);font-size:13px;font-weight:500}.form-control{border:1px solid var(--input-border,var(--border));border-radius:var(--radius);color:var(--input-text,var(--text));background:var(--input-bg,var(--surface));outline:none;width:100%;padding:10px 12px;font-size:14px;transition:border-color .15s,box-shadow .15s,background-color .2s}.form-control:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary)}@supports (color:color-mix(in lab,red,red)){.form-control:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 15%,transparent)}}.form-control::placeholder{color:var(--input-text,var(--text))}@supports (color:color-mix(in lab,red,red)){.form-control::placeholder{color:color-mix(in srgb,var(--input-text,var(--text)) 50%,transparent)}}.amount-positive{color:var(--income);font-weight:600}.amount-negative{color:var(--expense);font-weight:600}.badge{border-radius:99px;padding:2px 8px;font-size:11px;font-weight:500;display:inline-block}.badge-income{background:var(--income)}@supports (color:color-mix(in lab,red,red)){.badge-income{background:color-mix(in srgb,var(--income) 18%,transparent)}}.badge-income{color:var(--income)}.badge-expense{background:var(--expense)}@supports (color:color-mix(in lab,red,red)){.badge-expense{background:color-mix(in srgb,var(--expense) 18%,transparent)}}.badge-expense{color:var(--expense)}.empty-state{color:var(--text-muted);flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:60px 20px;font-size:14px;display:flex}.skeleton{background:linear-gradient(90deg,var(--surface-2) 0%,var(--surface-hover) 50%,var(--surface-2) 100%);border-radius:var(--radius-sm);background-size:200% 100%;animation:1.4s ease-in-out infinite skeleton-shimmer}@keyframes skeleton-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.scroll-x{scrollbar-width:thin;overflow-x:auto}.scroll-x::-webkit-scrollbar{height:6px}.scroll-x::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:3px}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}.login-wrap.svelte-12qhfyh{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px;background:radial-gradient(circle at 20% 20%,color-mix(in srgb,var(--primary) 12%,transparent),transparent 50%),radial-gradient(circle at 80% 80%,color-mix(in srgb,var(--cat-fun) 10%,transparent),transparent 50%),var(--bg);position:relative}.login-theme-toggle.svelte-12qhfyh{position:absolute;top:16px;right:16px}.login-card.svelte-12qhfyh{width:100%;max-width:420px;padding:36px 32px;display:flex;flex-direction:column;gap:18px}.login-header.svelte-12qhfyh{display:flex;align-items:center;gap:12px}.logo.svelte-12qhfyh{width:40px;height:40px;border-radius:var(--radius);object-fit:contain;display:block}h1.svelte-12qhfyh{font-size:22px;font-weight:700;color:var(--text);margin:0}.subtitle.svelte-12qhfyh{font-size:14px;color:var(--text-muted);margin-top:-8px}.error-msg.svelte-12qhfyh{font-size:13px;color:var(--danger)}.app-layout.svelte-12qhfyh{display:flex;flex-direction:column;min-height:100vh}.topnav.svelte-12qhfyh{display:flex;align-items:center;gap:20px;padding:0 28px;height:68px;background:linear-gradient(90deg,color-mix(in srgb,var(--surface) 92%,var(--primary)),color-mix(in srgb,var(--surface) 90%,var(--bg)));border-bottom:1px solid color-mix(in srgb,var(--primary) 16%,var(--border));position:sticky;top:0;z-index:100;transition:background-color .2s,border-color .2s}.brand.svelte-12qhfyh{display:inline-flex;align-items:center;gap:10px;font-size:17px;font-weight:800;color:var(--primary);white-space:nowrap}.brand-logo.svelte-12qhfyh{width:34px;height:34px;border-radius:10px;object-fit:contain;flex-shrink:0;box-shadow:0 8px 18px color-mix(in srgb,#000 18%,transparent)}.nav-links.svelte-12qhfyh{display:flex;gap:2px}.nav-links.svelte-12qhfyh a:where(.svelte-12qhfyh){position:relative;display:inline-flex;align-items:center;gap:6px;min-height:68px;padding:0 16px;border-radius:0;font-size:14px;font-weight:650;color:var(--text-muted);transition:background-color .15s,color .15s}.nav-links.svelte-12qhfyh a:where(.svelte-12qhfyh):hover{background:transparent;color:var(--text)}.nav-links.svelte-12qhfyh a.active:where(.svelte-12qhfyh){background:transparent;color:var(--accent-gold, var(--warning));box-shadow:none}.nav-links.svelte-12qhfyh a.active:where(.svelte-12qhfyh):after{content:"";position:absolute;left:12px;right:12px;bottom:8px;height:3px;border-radius:99px;background:var(--accent-gold, var(--warning))}.nav-spacer.svelte-12qhfyh{flex:1}.app-body.svelte-12qhfyh{display:grid;grid-template-columns:220px minmax(0,1fr);flex:1;min-height:0}.side-nav.svelte-12qhfyh{position:sticky;top:68px;height:calc(100vh - 68px);display:flex;flex-direction:column;justify-content:space-between;padding:20px 12px 16px;border-right:1px solid color-mix(in srgb,var(--primary) 15%,var(--border));background:linear-gradient(180deg,color-mix(in srgb,var(--surface) 88%,var(--primary)),color-mix(in srgb,var(--bg) 90%,var(--surface)))}.side-links.svelte-12qhfyh{display:flex;flex-direction:column;gap:8px}.side-links.svelte-12qhfyh a:where(.svelte-12qhfyh){display:flex;align-items:center;gap:12px;width:100%;min-height:42px;padding:0 14px;border-radius:var(--radius);border:1px solid transparent;color:var(--text-muted);font-size:14px;font-weight:650;background:transparent;transition:background-color .15s,border-color .15s,color .15s}.side-links.svelte-12qhfyh a:where(.svelte-12qhfyh):hover{color:var(--text);background:color-mix(in srgb,var(--surface-hover) 82%,var(--primary))}.side-links.svelte-12qhfyh a.active:where(.svelte-12qhfyh){color:var(--text);border-color:color-mix(in srgb,var(--primary) 34%,var(--border));background:linear-gradient(135deg,color-mix(in srgb,var(--primary) 42%,var(--surface)),color-mix(in srgb,var(--primary) 18%,var(--surface)));box-shadow:inset 0 1px color-mix(in srgb,#fff 12%,transparent),var(--shadow-sm)}.side-logo.svelte-12qhfyh{display:flex;justify-content:center;padding-top:14px;border-top:1px solid var(--border)}.side-logo.svelte-12qhfyh img:where(.svelte-12qhfyh){width:100px;height:100px;object-fit:contain;opacity:.6}.main-content.svelte-12qhfyh{flex:1;padding:28px;max-width:1120px;width:100%;margin:0 auto}.main-content.full-width.svelte-12qhfyh{max-width:min(1440px,calc(100vw - 56px))}@media(max-width:640px){.topnav.svelte-12qhfyh{gap:8px;padding:0 12px}.brand.svelte-12qhfyh{font-size:14px}.brand-logo.svelte-12qhfyh{width:24px;height:24px}.nav-links.svelte-12qhfyh a:where(.svelte-12qhfyh){padding:6px 8px;font-size:13px}.nav-label.svelte-12qhfyh{display:none}.nav-links.svelte-12qhfyh a.active:where(.svelte-12qhfyh) .nav-label:where(.svelte-12qhfyh){display:inline}.app-body.svelte-12qhfyh{display:block}.side-nav.svelte-12qhfyh{display:none}.main-content.svelte-12qhfyh{padding:16px}}@media(max-width:1040px){.app-body.svelte-12qhfyh{display:block}.side-nav.svelte-12qhfyh{display:none}}
