*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}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;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.fixed{position:fixed}.block{display:block}.table{display:table}.border{border-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)}:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1d2437;background:#f5f7fc;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;overflow-x:hidden;background:radial-gradient(circle at 8% -10%,#dfe2ff 0,transparent 32rem),radial-gradient(circle at 100% 0%,#d9f5f2 0,transparent 28rem),#f5f7fc}button,input,select{font:inherit}button{cursor:pointer}input::-moz-placeholder{color:#a0a8b9}input::placeholder{color:#a0a8b9}.topbar{min-height:72px;display:flex;align-items:center;gap:1.4rem;padding:.75rem max(1rem,5vw);background:#ffffffd1;border-bottom:1px solid rgba(221,225,237,.9);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.brand{flex:none;color:#25206a;text-decoration:none;font-size:1.15rem;font-weight:850;letter-spacing:-.05em}.primary-nav{display:flex;align-items:center;gap:.2rem;min-width:0}.primary-nav a{color:#687187;text-decoration:none;white-space:nowrap;font-size:.875rem;font-weight:700;padding:.55rem .7rem;border-radius:.6rem}.primary-nav a:hover,.primary-nav a.active{color:#4338ca;background:#eeefff}.account-controls{display:flex;align-items:center;gap:.45rem;margin-left:auto;flex:none}.space-switcher{max-width:12rem;border:1px solid #dfe3ee;border-radius:.65rem;padding:.52rem .65rem;color:#3c465d;background:#fff}.sign-out{border:0;background:transparent;color:#737b8e;font-size:.875rem;font-weight:700;padding:.55rem}.sign-out:hover{color:#c2410c}.page{width:min(1180px,calc(100% - 2rem));margin:0 auto;padding:3.25rem 0 5rem}.page-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:2rem}.eyebrow{margin:0 0 .42rem;color:#6366d9;text-transform:uppercase;letter-spacing:.11em;font-size:.72rem;font-weight:800}h1,h2,h3,p{margin-top:0}h1{color:#18213a;font-size:clamp(2rem,4vw,3.1rem);line-height:1;letter-spacing:-.06em;margin-bottom:0}h2{color:#222b43;font-size:1.08rem;letter-spacing:-.025em;margin-bottom:.5rem}h3{font-size:1rem;margin-top:2rem}.health-card,.progress-section,.chart-card,.page>form,.page>ul{background:#ffffffe0;border:1px solid #e4e7f0;box-shadow:0 14px 38px #222a4611;border-radius:1.1rem}.page>form{padding:1.4rem}.health-card{position:relative;overflow:hidden;padding:1.55rem 1.65rem;margin-bottom:1.25rem;background:linear-gradient(125deg,#29266e,#5651ca 57%,#7370e5);color:#fff;border:0}.health-card:after{content:"";position:absolute;width:16rem;height:16rem;border-radius:50%;right:-5rem;top:-11rem;background:#ffffff1a}.health-card h2{color:#fff;font-size:1.25rem}.health-card .eyebrow{color:#d9d6ff}.health-value{position:relative;z-index:1;margin:0;font-size:1.05rem;color:#f3f2ff;font-variant-numeric:tabular-nums}.health-card .over-budget{color:#ffd4d4}.progress-section{padding:1.45rem;margin-bottom:1.25rem}.section-heading{display:flex;justify-content:space-between;gap:1rem;align-items:baseline}.section-heading p{color:#788197;font-size:.9rem}.progress-card{padding:1.05rem 0;border-top:1px solid #eef0f5}.progress-card:first-of-type{border-top:0}.progress-heading{display:flex;justify-content:space-between;gap:1rem;margin-bottom:.6rem;font-size:.9rem;font-weight:700;color:#384158}.progress-heading span:last-child{color:#737b8e;font-weight:600;font-variant-numeric:tabular-nums}.progress-track{height:.6rem;overflow:hidden;border-radius:999px;background:#eaecf3}.progress-fill{height:100%;border-radius:inherit;transition:width .3s ease}.over-budget{color:#dc2626}.chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}.chart-card{min-width:0;padding:1.45rem;overflow:hidden}.chart-heading{display:flex;align-items:flex-start;justify-content:space-between;min-height:2.9rem}.chart-heading .eyebrow{margin-bottom:.25rem}.chart-card .recharts-responsive-container{min-width:0}.empty-state{color:#8790a3;padding:5rem 0;text-align:center}form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;align-items:end;margin:1.25rem 0 2rem}label,.color-picker{min-width:0;display:grid;gap:.4rem;color:#4c556a;font-size:.8rem;font-weight:750}input,select{width:100%;min-height:2.8rem;border:1px solid #dce0eb;border-radius:.68rem;padding:.58rem .72rem;color:#202940;background:#fff;outline:none}input:focus,select:focus{border-color:#7068e8;box-shadow:0 0 0 3px #e9e8ff}button[type=submit]{min-height:2.8rem;align-self:end;border:0;border-radius:.68rem;padding:.55rem .95rem;color:#fff;background:#4f46e5;font-weight:750;box-shadow:0 6px 14px #d7d4ff}button[type=submit]:hover{background:#4338ca}button:disabled{opacity:.55;cursor:wait}[role=alert]{color:#b42318;font-size:.85rem}.form-title{grid-column:1 / -1;margin:0}.currency-hint{color:#788197;font-size:.8rem;font-weight:650}.color-picker{grid-column:span 2;margin:0;padding:0;border:0}.color-picker legend{padding:0}.color-swatches{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem;min-height:2.8rem}.color-swatch{width:1.55rem;height:1.55rem;padding:0;border:2px solid transparent;border-radius:50%;box-shadow:0 0 0 1px #1c233621;transition:transform .15s ease,box-shadow .15s ease}.color-swatch:hover{transform:scale(1.1)}.color-swatch:focus-visible{outline:3px solid #b6b3ff;outline-offset:3px}.color-swatch.selected{border-color:#fff;box-shadow:0 0 0 2px #4f46e5}.design-heading{align-items:end;gap:2rem}.design-heading>p{width:min(31rem,48%);margin:0;color:#697287;line-height:1.55}.theme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}.theme-option{min-width:0;overflow:hidden;border:1px solid #e1e4ee;border-radius:1.25rem;background:#fff;box-shadow:0 12px 34px #222a4612;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.theme-option:hover{transform:translateY(-3px);box-shadow:0 18px 42px #222a461c}.theme-option.selected{border-color:#6d66e6;box-shadow:0 0 0 3px #635bdb24,0 18px 42px #222a461c}.theme-preview{min-height:19rem;padding:.75rem;font-size:.65rem}.theme-preview-bar{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:.65rem .7rem;border-radius:.65rem}.theme-preview-bar strong{font-size:.78rem;letter-spacing:-.03em}.theme-preview-bar span{opacity:.7}.theme-preview-body{padding:1.1rem .55rem .45rem}.theme-preview-title{display:grid;gap:.2rem;margin-bottom:.7rem}.theme-preview-title span,.theme-preview-metrics small{font-size:.5rem;font-weight:800;letter-spacing:.12em}.theme-preview-title strong{font-size:1.15rem;letter-spacing:-.05em}.theme-preview-metrics{display:grid;grid-template-columns:1fr 1.25fr;gap:.55rem;margin-bottom:1rem}.theme-preview-metrics>div{min-width:0;min-height:6rem;border-radius:.75rem;padding:.7rem}.theme-preview-metrics>div:first-child{display:flex;flex-direction:column;justify-content:center;gap:.3rem}.theme-preview-metrics strong{font-size:1rem}.theme-preview-metrics span{opacity:.65}.mini-chart{display:flex;align-items:end;gap:.24rem}.mini-chart i{flex:1;min-width:0;height:34%;border-radius:.15rem .15rem 0 0}.mini-chart i:nth-child(2){height:55%}.mini-chart i:nth-child(3){height:43%}.mini-chart i:nth-child(4){height:78%}.mini-chart i:nth-child(5){height:62%}.mini-chart i:nth-child(6){height:92%}.theme-preview-row{display:flex;justify-content:space-between;gap:.5rem;margin-bottom:.4rem}.theme-preview-progress{height:.4rem;overflow:hidden;border-radius:10rem}.theme-preview-progress span{display:block;width:69%;height:100%;border-radius:inherit}.theme-preview-controls{display:grid;grid-template-columns:1fr auto;gap:.5rem;margin-top:1rem}.theme-preview-controls div,.theme-preview-controls button{border:0;border-radius:.55rem;padding:.6rem;font:inherit}.theme-option-copy{display:grid;gap:1rem;padding:1.25rem}.theme-number{margin-bottom:.25rem;font-size:.7rem;font-weight:850;letter-spacing:.12em;opacity:.5}.theme-option-copy h2{margin-bottom:.35rem;font-size:1.15rem}.theme-option-copy p:not(.theme-number){min-height:3.9rem;margin:0;color:#70798d;font-size:.86rem;line-height:1.5}.theme-palette{display:flex;gap:.35rem}.theme-palette span{width:1.55rem;height:1.55rem;border:1px solid rgba(31,38,55,.12);border-radius:50%}.theme-select{width:100%;min-height:2.75rem;border:1px solid #d9ddea;border-radius:.7rem;color:#30394e;background:#fff;font-size:.85rem;font-weight:750}.theme-select:hover{border-color:#716be1;color:#4338ca}.theme-option.selected .theme-select{color:#fff;background:#4f46e5;border-color:#4f46e5}.theme-selection{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:.65rem 1rem;margin-top:1.25rem;padding:1.05rem 1.2rem;border:1px solid #dfe2ec;border-radius:1rem;background:#ffffffc7}.theme-selection span{color:#7a8294;font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.theme-selection strong{color:#2c3260}.theme-selection p{justify-self:end;margin:0;color:#727b8e;font-size:.82rem}.theme-clear-ledger .theme-preview{color:#18213a;background:#f4f6fb}.theme-clear-ledger .theme-preview-bar,.theme-clear-ledger .theme-preview-metrics>div{background:#fff;box-shadow:0 5px 15px #232a460f}.theme-clear-ledger .theme-preview-title span,.theme-clear-ledger .theme-preview-metrics small{color:#5c57d9}.theme-clear-ledger .mini-chart i,.theme-clear-ledger .theme-preview-progress span,.theme-clear-ledger .theme-preview-controls button{color:#fff;background:#5650dd}.theme-clear-ledger .theme-preview-progress{background:#dfe2ee}.theme-clear-ledger .theme-preview-controls div{background:#fff}.theme-midnight .theme-preview{color:#f7f8ff;background:#0b1020}.theme-midnight .theme-preview-bar{color:#d9dcff;background:#151c30}.theme-midnight .theme-preview-metrics>div{background:#151c30;border:1px solid #26304a}.theme-midnight .theme-preview-title span,.theme-midnight .theme-preview-metrics small{color:#9b8cff}.theme-midnight .mini-chart i{background:#8b7cff}.theme-midnight .mini-chart i:nth-child(odd){background:#34d399}.theme-midnight .theme-preview-progress{background:#26304a}.theme-midnight .theme-preview-progress span,.theme-midnight .theme-preview-controls button{color:#0b1020;background:#34d399}.theme-midnight .theme-preview-controls div{background:#151c30;border:1px solid #26304a}.theme-signal .theme-preview{color:#171717;background:#f2f0eb}.theme-signal .theme-preview-bar{border-bottom:2px solid #171717;border-radius:0}.theme-signal .theme-preview-title span,.theme-signal .theme-preview-metrics small{color:#e23d32}.theme-signal .theme-preview-metrics{grid-template-columns:.9fr 1.35fr}.theme-signal .theme-preview-metrics>div{border:1.5px solid #171717;border-radius:0;background:#fffefa;box-shadow:4px 4px #171717}.theme-signal .mini-chart i{border-radius:0;background:#176b5b}.theme-signal .mini-chart i:nth-child(5),.theme-signal .mini-chart i:nth-child(6){background:#e23d32}.theme-signal .theme-preview-progress{border-radius:0;background:#d6d1c8}.theme-signal .theme-preview-progress span,.theme-signal .theme-preview-controls button{border-radius:0;color:#fff;background:#e23d32}.theme-signal .theme-preview-controls div{border:1.5px solid #171717;border-radius:0;background:#fffefa}.page>ul{list-style:none;padding:.2rem 1.25rem}.page li{display:flex;align-items:center;gap:.4rem;padding:1rem 0;border-bottom:1px solid #eef0f5;color:#4d566a}.page li:last-child{border-bottom:0}.page li button{margin-left:auto;border:0;color:#c2410c;background:#fff4ed;border-radius:.45rem;padding:.35rem .55rem;font-size:.8rem;font-weight:700}.login-page{display:grid;min-height:100vh;place-items:center;padding:1.25rem}.login-card{width:min(100%,440px);padding:2.4rem;border:1px solid rgba(255,255,255,.7);border-radius:1.25rem;background:#ffffffe6;box-shadow:0 24px 70px #231f6429}.login-card h1{font-size:2.5rem}.login-copy{color:#687187;margin:1rem 0 1.6rem;line-height:1.55}.login-card form{grid-template-columns:1fr;margin:0}.login-card button{margin-top:.5rem}@media (max-width: 940px){.topbar{gap:.75rem;flex-wrap:wrap}.primary-nav{order:3;width:100%;overflow-x:auto;padding-bottom:.1rem}.primary-nav::-webkit-scrollbar{height:0}.account-controls{margin-left:auto}.page{padding-top:2.5rem}.theme-grid{grid-template-columns:1fr}.theme-option{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(15rem,.7fr)}.theme-selection{grid-template-columns:auto 1fr}.theme-selection p{grid-column:1 / -1;justify-self:start}}@media (max-width: 720px){.topbar{align-items:center;padding:.8rem 1rem}.space-switcher{max-width:9.2rem}.chart-grid{grid-template-columns:1fr}form{grid-template-columns:repeat(2,minmax(0,1fr))}.color-picker{grid-column:span 2}.login-card{padding:1.8rem}.design-heading{align-items:start;flex-direction:column;gap:1rem}.design-heading>p{width:100%}.theme-option{display:block}}@media (max-width: 460px){.brand{font-size:1.05rem}.space-switcher{max-width:7.6rem}.sign-out{padding-right:0}.page{width:min(100% - 1.25rem,1180px);padding-top:1.75rem}.progress-section,.chart-card{padding:1.1rem}.section-heading,.progress-heading{flex-direction:column;gap:.25rem}.chart-card{border-radius:.9rem}form{grid-template-columns:1fr}.color-picker{grid-column:auto}.color-picker-controls{align-items:flex-start}.color-swatches{padding-top:.35rem}.health-card{padding:1.35rem}}.midnight-system{--m-canvas: #0b1020;--m-surface: #151c30;--m-raised: #1c2540;--m-border: #2a3552;--m-primary: #8b7cff;--m-positive: #34d399;--m-warning: #fbbf24;--m-danger: #fb7185;--m-text: #f7f8ff;--m-muted: #98a2b9;min-height:calc(100vh - 72px);padding:4rem max(1rem,calc((100vw - 1180px)/2));color:var(--m-text);background:radial-gradient(circle at 90% 4%,rgba(139,124,255,.18),transparent 25rem),var(--m-canvas)}.midnight-system h1,.midnight-system h2,.midnight-system h3{color:var(--m-text)}.midnight-hero{display:grid;grid-template-columns:1.25fr .75fr;align-items:end;gap:3rem;padding:2rem 0 4rem;border-bottom:1px solid var(--m-border)}.midnight-hero h1{margin:0;font-size:clamp(3rem,7vw,6.5rem);letter-spacing:-.075em}.midnight-hero>p{max-width:32rem;margin:0;color:var(--m-muted);font-size:1.05rem;line-height:1.65}.midnight-kicker{margin:0 0 1rem;color:var(--m-primary);font-size:.75rem;font-weight:850;letter-spacing:.14em;text-transform:uppercase}.midnight-section{padding:4rem 0;border-bottom:1px solid var(--m-border)}.midnight-section-title{display:grid;grid-template-columns:3rem minmax(0,1fr);gap:1rem;margin-bottom:2rem}.midnight-section-title>span{color:var(--m-primary);font-size:.75rem;font-weight:850;letter-spacing:.1em}.midnight-section-title h2{margin:-.25rem 0 .4rem;font-size:clamp(1.8rem,3vw,2.4rem)}.midnight-section-title p{max-width:40rem;margin:0;color:var(--m-muted);line-height:1.55}.midnight-colors{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem}.midnight-colors article{overflow:hidden;border:1px solid var(--m-border);border-radius:.85rem;background:var(--m-surface)}.midnight-colors article>div{height:6.5rem;border-bottom:1px solid var(--m-border)}.midnight-colors strong,.midnight-colors code{display:block;padding:.65rem .75rem 0}.midnight-colors code{padding-top:.2rem;padding-bottom:.75rem;color:var(--m-muted);font-size:.72rem}.midnight-type-grid{display:grid;grid-template-columns:1.2fr .8fr;border:1px solid var(--m-border);border-radius:1rem;background:var(--m-surface)}.midnight-type-grid article{min-width:0;padding:1.5rem;border-right:1px solid var(--m-border);border-bottom:1px solid var(--m-border)}.midnight-type-grid article:nth-child(2n){border-right:0}.midnight-type-grid article:last-child{grid-column:1 / -1;border:0}.midnight-type-grid article>span{color:var(--m-muted);font-size:.72rem}.midnight-type-grid p{margin:1rem 0 0;color:var(--m-text)}.type-display{font-size:clamp(2.25rem,5vw,3rem);font-weight:800;line-height:1;letter-spacing:-.06em}.type-heading{font-size:1.75rem;font-weight:750;letter-spacing:-.035em}.type-body{font-size:1rem;line-height:1.5}.type-figure{font-size:2rem;font-weight:750;letter-spacing:-.035em;font-variant-numeric:tabular-nums}.type-label{color:var(--m-primary)!important;font-size:.75rem;font-weight:850;letter-spacing:.12em}.midnight-component-grid,.midnight-data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.midnight-panel,.midnight-metric{min-width:0;padding:1.5rem;border:1px solid var(--m-border);border-radius:1rem;background:var(--m-surface)}.midnight-panel h3{margin:0 0 1.5rem}.midnight-button-row{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:.75rem}.midnight-button{min-height:2.75rem;padding:.65rem 1rem;border:1px solid transparent;border-radius:.65rem;font-size:.86rem;font-weight:750}.midnight-button.primary{color:#0b1020;background:var(--m-primary)}.midnight-button.secondary{color:var(--m-text);border-color:var(--m-border);background:var(--m-raised)}.midnight-button.ghost{color:var(--m-muted);background:transparent}.midnight-button.danger{color:#fecdd3;border-color:#fb718559;background:#fb71851f}.midnight-button:disabled{opacity:.45}.midnight-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-top:.75rem}.midnight-form-row label{color:#c7cce0;font-size:.78rem}.midnight-form-row input,.midnight-form-row select{min-height:2.8rem;color:var(--m-text);border-color:var(--m-border);background:#10172a}.midnight-form-row input:focus,.midnight-form-row select:focus{border-color:var(--m-primary);box-shadow:0 0 0 3px #8b7cff33}.midnight-form-row .has-error input{border-color:var(--m-danger)}.midnight-form-row small{color:var(--m-danger);font-size:.7rem}.midnight-metric-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:1rem;margin-bottom:1rem}.midnight-metric{position:relative;display:flex;flex-direction:column;gap:.4rem}.midnight-metric.featured{background:linear-gradient(135deg,#211b4a,#2a255f)}.midnight-metric>span,.midnight-panel-heading span{color:var(--m-primary);font-size:.7rem;font-weight:850;letter-spacing:.11em}.midnight-metric strong{margin-top:.5rem;color:var(--m-text);font-size:clamp(1.75rem,3vw,2.3rem);letter-spacing:-.045em;font-variant-numeric:tabular-nums}.midnight-metric p{margin:0;color:var(--m-muted);font-size:.82rem}.midnight-metric em{position:absolute;right:1.25rem;top:1.25rem;color:var(--m-positive);font-size:.78rem;font-style:normal;font-weight:750}.midnight-panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.midnight-panel-heading h3{margin:.3rem 0 0}.midnight-panel-heading>strong{color:var(--m-text);font-size:1.05rem}.midnight-icon-button{border:0;color:var(--m-muted);background:transparent}.midnight-bars{display:flex;align-items:end;gap:.7rem;height:13rem;padding:2rem .5rem .25rem;border-bottom:1px solid var(--m-border);background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(33.333% - 1px),rgba(42,53,82,.65) 33.333%)}.midnight-bars i{flex:1;height:46%;border-radius:.3rem .3rem .12rem .12rem;background:linear-gradient(to top,#6556db,var(--m-primary))}.midnight-bars i:nth-child(2){height:63%}.midnight-bars i:nth-child(3){height:54%}.midnight-bars i:nth-child(4){height:79%}.midnight-bars i:nth-child(5){height:69%}.midnight-bars i:nth-child(6){height:88%;background:linear-gradient(to top,#159f72,var(--m-positive))}.midnight-months{display:grid;grid-template-columns:repeat(6,1fr);gap:.7rem;padding:.6rem .5rem 0;color:var(--m-muted);font-size:.7rem;text-align:center}.midnight-progress-list{display:grid;gap:1.45rem;margin-top:2.2rem}.midnight-progress-list p{display:flex;justify-content:space-between;gap:1rem;margin:0 0 .55rem;color:var(--m-text);font-size:.85rem}.midnight-progress-list p strong{color:var(--m-muted);font-size:.78rem}.midnight-progress-list i{display:block;height:.55rem;overflow:hidden;border-radius:999px;background:#242e49}.midnight-progress-list b{display:block;height:100%;border-radius:inherit;background:var(--m-primary)}.midnight-progress-list b.danger{background:var(--m-danger)}.midnight-status-grid{display:flex;flex-wrap:wrap;gap:.7rem}.status{padding:.48rem .7rem;border:1px solid var(--m-border);border-radius:999px;background:var(--m-surface);font-size:.78rem;font-weight:700}.status.positive{color:var(--m-positive)}.status.warning{color:var(--m-warning)}.status.negative{color:var(--m-danger)}.status.neutral{color:var(--m-muted)}.midnight-alerts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin-top:1rem}.alert{display:grid;gap:.25rem;padding:1rem;border:1px solid var(--m-border);border-left-width:3px;border-radius:.75rem;background:var(--m-surface)}.alert strong{font-size:.86rem}.alert span{color:var(--m-muted);font-size:.78rem}.alert.success{border-left-color:var(--m-positive)}.alert.caution{border-left-color:var(--m-warning)}.alert.error{border-left-color:var(--m-danger)}@media (max-width: 820px){.midnight-system{padding-top:2rem}.midnight-hero{grid-template-columns:1fr;gap:1.25rem}.midnight-colors{grid-template-columns:repeat(2,minmax(0,1fr))}.midnight-component-grid,.midnight-data-grid,.midnight-metric-grid,.midnight-alerts{grid-template-columns:1fr}}@media (max-width: 520px){.midnight-section{padding:2.75rem 0}.midnight-section-title,.midnight-type-grid{grid-template-columns:1fr}.midnight-type-grid article,.midnight-type-grid article:nth-child(2n),.midnight-type-grid article:last-child{grid-column:auto;border-right:0;border-bottom:1px solid var(--m-border)}.midnight-type-grid article:last-child{border-bottom:0}.midnight-form-row{grid-template-columns:1fr}.midnight-colors article>div{height:4.5rem}}:root{color:#f7f8ff;background:#0b1020}body{color:#f7f8ff;background:radial-gradient(circle at 88% -8%,rgba(139,124,255,.14),transparent 30rem),#0b1020}.app-shell{min-height:100vh}.topbar{color:#f7f8ff;border-bottom-color:#2a3552;background:#0b1020e6;box-shadow:0 10px 30px #0000001f}.brand{color:#f7f8ff}.primary-nav a{color:#98a2b9}.primary-nav a:hover,.primary-nav a.active{color:#f7f8ff;background:#1c2540}.space-switcher{color:#e6e8f3;border-color:#2a3552;background:#151c30}.sign-out{color:#98a2b9}.sign-out:hover{color:#fb7185}.page h1,.page h2,.page h3{color:#f7f8ff}.page .eyebrow{color:#8b7cff}.page{color:#d9ddec}.health-card,.progress-section,.chart-card,.page>form,.page>ul{border-color:#2a3552;background:#151c30;box-shadow:0 18px 46px #00000029}.health-card{background:linear-gradient(135deg,#211b4a,#2a255f 60%,#343075)}.health-card:after{background:#8b7cff24}.health-card .eyebrow{color:#a99fff}.health-card .health-value{color:#f7f8ff}.health-card .over-budget{color:#fecdd3}.section-heading p,.empty-state,.progress-heading span:last-child,.currency-hint{color:#98a2b9}.progress-card{border-top-color:#2a3552}.progress-heading{color:#e6e8f3}.progress-track{background:#242e49}.chart-heading h2{color:#f7f8ff}.page label,.page .color-picker{color:#c7cce0}.page input,.page select{color:#f7f8ff;border-color:#2a3552;background:#10172a;color-scheme:dark}.page input::-moz-placeholder{color:#68738d}.page input::placeholder{color:#68738d}.page input:focus,.page select:focus{border-color:#8b7cff;box-shadow:0 0 0 3px #8b7cff33}.page button[type=submit]{color:#0b1020;background:#8b7cff;box-shadow:0 8px 20px #8b7cff2e}.page button[type=submit]:hover{background:#a99fff}.page [role=alert]{color:#fb7185}.color-swatch{box-shadow:0 0 0 1px #44506d}.color-swatch.selected{border-color:#151c30;box-shadow:0 0 0 2px #a99fff}.page>ul{color:#d9ddec}.page li{color:#d9ddec;border-bottom-color:#2a3552}.page li button{color:#fecdd3;background:#fb71851f}.over-budget{color:#fb7185}.login-page{background:radial-gradient(circle at 50% 0%,rgba(139,124,255,.2),transparent 32rem),#0b1020}.login-card{color:#d9ddec;border-color:#2a3552;background:#151c30f0;box-shadow:0 28px 80px #00000059}.login-card h1{color:#f7f8ff}.login-card .eyebrow{color:#8b7cff}.login-copy{color:#98a2b9}.login-card label{color:#c7cce0}.login-card input{color:#f7f8ff;border-color:#2a3552;background:#10172a}.login-card input:focus{border-color:#8b7cff;box-shadow:0 0 0 3px #8b7cff33}.login-card button[type=submit]{color:#0b1020;background:#8b7cff;box-shadow:0 8px 20px #8b7cff2e}.design-system-link-card{display:flex;align-items:center;justify-content:space-between;gap:2rem;margin:0 0 2rem;padding:1.5rem;overflow:hidden;border:1px solid #3d3875;border-radius:1rem;background:linear-gradient(135deg,#181a36,#211b4a);box-shadow:0 18px 46px #00000029}.design-system-link-card h2{margin-bottom:.4rem}.design-system-link-card p:last-child{max-width:42rem;margin:0;color:#98a2b9;line-height:1.55}.design-system-link-card>a{flex:none;min-height:2.75rem;display:inline-flex;align-items:center;gap:.5rem;padding:.65rem 1rem;color:#0b1020;background:#8b7cff;border-radius:.65rem;text-decoration:none;font-size:.85rem;font-weight:800}.design-system-link-card>a:hover{background:#a99fff}.design-system-link-card>a span{font-size:1.1rem;transition:transform .15s ease}.design-system-link-card>a:hover span{transform:translate(2px)}@media (max-width: 620px){.design-system-link-card{align-items:flex-start;flex-direction:column;gap:1.25rem}.design-system-link-card>a{width:100%;justify-content:center}}.insights-section{margin-top:3.5rem}.insights-heading{display:flex;align-items:end;justify-content:space-between;gap:2rem;margin-bottom:1.25rem}.insights-heading h2{margin:0;font-size:clamp(1.5rem,3vw,2rem)}.insights-heading>p{max-width:33rem;margin:0;color:#98a2b9;line-height:1.55;text-align:right}.insights-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;align-items:start}.insight-chart{min-height:24rem}.insight-chart .chart-heading>p{margin:.1rem 0 0;color:#98a2b9;font-size:.75rem}.insight-chart .empty-state{display:grid;min-height:17.5rem;place-items:center;margin:0;padding:2rem}.forecast-list{display:grid;gap:.55rem;padding-top:1rem;border-top:1px solid #2a3552}.forecast-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.15rem 1rem;padding:.55rem .65rem;border-radius:.65rem;background:#10172a}.forecast-list span{min-width:0;overflow:hidden;color:#d9ddec;font-size:.82rem;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.forecast-list span i{display:inline-block;width:.55rem;height:.55rem;margin-right:.5rem;border-radius:50%}.forecast-list strong{color:#f7f8ff;font-size:.82rem}.forecast-list small{grid-column:1 / -1;padding-left:1.05rem;color:#98a2b9;font-size:.7rem}.dashboard-overview{display:grid;gap:1.25rem}.dashboard-overview-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem}.dashboard-overview-heading h2{margin:0;font-size:clamp(1.45rem,3vw,2rem)}.dashboard-overview-heading>span{color:#98a2b9;font-size:.82rem}.dashboard-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.dashboard-kpi{min-width:0;display:flex;flex-direction:column;gap:.35rem;padding:1.3rem;border:1px solid #2a3552;border-radius:1rem;background:#151c30;box-shadow:0 18px 46px #00000029}.dashboard-kpi.featured{border-color:#3d3875;background:linear-gradient(135deg,#211b4a,#2a255f)}.dashboard-kpi.featured.negative{border-color:#fb718566;background:linear-gradient(135deg,#351a37,#2a1c3f)}.dashboard-kpi>span{color:#8b7cff;font-size:.68rem;font-weight:850;letter-spacing:.1em}.dashboard-kpi strong{margin-top:.4rem;overflow:hidden;color:#f7f8ff;font-size:clamp(1.45rem,2.5vw,2.1rem);letter-spacing:-.04em;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.dashboard-kpi .negative-value,.dashboard-kpi.negative strong{color:#fb7185}.dashboard-kpi p{margin:0;color:#98a2b9;font-size:.75rem;line-height:1.4}.dashboard-action-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:1.25rem}.dashboard-panel{min-width:0;overflow:hidden;border:1px solid #2a3552;border-radius:1rem;background:#151c30;box-shadow:0 18px 46px #00000029}.dashboard-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.15rem 1.25rem;border-bottom:1px solid #2a3552}.dashboard-panel-heading .eyebrow{margin-bottom:.25rem}.dashboard-panel-heading h3{margin:0;color:#f7f8ff;font-size:1rem}.dashboard-panel-heading>span{display:grid;width:1.8rem;height:1.8rem;place-items:center;border-radius:50%;color:#0b1020;background:#8b7cff;font-size:.72rem;font-weight:850}.dashboard-panel-heading a{color:#a99fff;text-decoration:none;font-size:.78rem;font-weight:750}.dashboard-panel-heading a:hover{color:#c4bcff}.dashboard-alert-list{display:grid}.dashboard-alert{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.75rem;padding:.9rem 1.25rem;border-bottom:1px solid #242e49}.dashboard-alert:last-child{border-bottom:0}.dashboard-alert>i{width:.55rem;height:.55rem;margin-top:.3rem;border-radius:50%;background:#68738d}.dashboard-alert.positive>i{background:#34d399}.dashboard-alert.warning>i{background:#fbbf24}.dashboard-alert.negative>i{background:#fb7185}.dashboard-alert strong{color:#f7f8ff;font-size:.82rem}.dashboard-alert p{margin:.18rem 0 0;color:#98a2b9;font-size:.75rem;line-height:1.45}.dashboard-recent-panel ul{margin:0;padding:0;list-style:none}.page .dashboard-recent-panel li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.75rem;padding:.78rem 1.25rem;border-bottom:1px solid #242e49}.page .dashboard-recent-panel li:last-child{border-bottom:0}.dashboard-recent-panel li>i{width:.6rem;height:.6rem;border-radius:50%}.dashboard-recent-panel li>div{min-width:0;display:grid;gap:.15rem}.dashboard-recent-panel li strong{overflow:hidden;color:#f7f8ff;font-size:.8rem;text-overflow:ellipsis;white-space:nowrap}.dashboard-recent-panel li span{overflow:hidden;color:#98a2b9;font-size:.7rem;text-overflow:ellipsis;white-space:nowrap}.dashboard-recent-panel li b{color:#d9ddec;font-size:.8rem;font-variant-numeric:tabular-nums;white-space:nowrap}.dashboard-panel-empty{margin:0;padding:2rem 1.25rem;color:#98a2b9;font-size:.82rem}@media (max-width: 820px){.insights-grid{grid-template-columns:1fr}.insights-heading{align-items:flex-start;flex-direction:column;gap:.75rem}.insights-heading>p{text-align:left}.insight-chart{min-height:auto}}@media (max-width: 980px){.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-action-grid{grid-template-columns:1fr}}@media (max-width: 560px){.dashboard-overview-heading{align-items:flex-start;flex-direction:column}.dashboard-kpis{grid-template-columns:1fr}}.chart-period-toggle{display:inline-flex;padding:.22rem;border:1px solid #2a3552;border-radius:.65rem;background:#10172a}.chart-period-toggle button{min-height:2rem;padding:.35rem .65rem;border:0;border-radius:.45rem;color:#98a2b9;background:transparent;font-size:.75rem;font-weight:750}.chart-period-toggle button:hover{color:#f7f8ff}.chart-period-toggle button.active{color:#0b1020;background:#8b7cff}.chart-period-toggle button:focus-visible{outline:2px solid #a99fff;outline-offset:2px}@media (max-width: 430px){.spending-pace-heading{align-items:flex-start;flex-direction:column;gap:.75rem}.chart-period-toggle{width:100%}.chart-period-toggle button{flex:1}}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.entity-form{position:relative;grid-template-columns:repeat(4,minmax(0,1fr));padding:1.5rem!important;overflow:hidden}.entity-form:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:#8b7cff}.entity-form-heading{grid-column:1 / -1;display:flex;align-items:end;justify-content:space-between;gap:2rem;padding-bottom:1.1rem;border-bottom:1px solid #2a3552}.entity-form-heading h2{margin:0;font-size:1.2rem}.entity-form-heading>p{max-width:24rem;margin:0;color:#98a2b9;font-size:.82rem;line-height:1.5;text-align:right}.entity-form .color-picker{grid-column:span 2}.entity-form [role=alert]{grid-column:1 / -1;margin:0}.entity-form .form-submit{min-width:10rem;justify-self:end}.transaction-form .form-submit{grid-column:4}.category-form .form-submit{grid-column:-2 / -1}.entity-list-card{margin-top:1.25rem;overflow:hidden;border:1px solid #2a3552;border-radius:1rem;background:#151c30;box-shadow:0 18px 46px #00000029}.entity-list-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;padding:1.25rem 1.4rem;border-bottom:1px solid #2a3552}.entity-list-heading h2{margin:0}.entity-list-heading>span{color:#98a2b9;font-size:.8rem}.entity-list{margin:0;padding:0;list-style:none}.entity-list li{min-width:0;display:grid;align-items:center;gap:.75rem;padding:1rem 1.4rem;border-bottom:1px solid #242e49}.entity-list li:last-child{border-bottom:0}.category-list li{grid-template-columns:auto minmax(0,1fr) auto auto}.category-color{width:.7rem;height:.7rem;border-radius:50%;box-shadow:0 0 0 3px #ffffff0a}.entity-primary{min-width:0;display:grid;gap:.22rem}.entity-primary strong{overflow:hidden;color:#f7f8ff;font-size:.92rem;text-overflow:ellipsis;white-space:nowrap}.entity-primary span{overflow:hidden;color:#98a2b9;font-size:.75rem;text-overflow:ellipsis;white-space:nowrap}.entity-value{display:grid;gap:.2rem;text-align:right}.entity-value strong,.transaction-amount{color:#f7f8ff;font-size:.86rem;font-variant-numeric:tabular-nums;white-space:nowrap}.entity-value span{color:#98a2b9;font-size:.7rem}.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:.4rem}.row-actions button{min-height:2.25rem;margin:0!important;border-radius:.55rem!important;padding:.4rem .65rem!important;font-size:.75rem;font-weight:750}.row-edit{border:1px solid rgba(139,124,255,.3)!important;color:#c4bcff!important;background:#8b7cff1a!important}.row-edit:hover{background:#8b7cff33!important}.row-delete{border:1px solid rgba(251,113,133,.25)!important;color:#fecdd3!important;background:#fb718514!important}.row-delete:hover{background:#fb718529!important}.list-total{display:grid;gap:.2rem;text-align:right}.list-total strong{color:#f7f8ff;font-size:1rem}.list-total span{color:#98a2b9;font-size:.72rem}.transaction-table-head{display:grid;grid-template-columns:minmax(0,1fr) 9rem 8rem 8.75rem;gap:.75rem;padding:.65rem 1.4rem .65rem 2.85rem;color:#68738d;font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.transaction-table-head span:nth-child(3){text-align:right}.transaction-list li{grid-template-columns:auto minmax(0,1fr) 9rem 8rem 8.75rem}.transaction-list time{color:#98a2b9;font-size:.78rem}.transaction-amount{text-align:right}.empty-list{padding:2rem}.empty-list h2{margin-bottom:.5rem}.empty-list>p:last-child{margin:0;color:#98a2b9}.dashboard-financial-summary{display:grid;grid-template-columns:1.15fr 1fr 1fr 1.1fr;gap:1rem;margin-bottom:1.25rem}.dashboard-metric{position:relative;min-width:0;display:flex;flex-direction:column;gap:.35rem;padding:1.4rem;border:1px solid #2a3552;border-radius:1rem;background:#151c30;box-shadow:0 18px 46px #00000029}.dashboard-metric.featured{border-color:#3d3875;background:linear-gradient(135deg,#211b4a,#2a255f)}.dashboard-metric>span{color:#8b7cff;font-size:.7rem;font-weight:850;letter-spacing:.11em}.dashboard-metric strong{margin-top:.5rem;color:#f7f8ff;font-size:clamp(1.55rem,2.7vw,2.25rem);letter-spacing:-.045em;font-variant-numeric:tabular-nums}.dashboard-metric strong.negative-value{color:#fb7185}.dashboard-metric p{margin:0;color:#98a2b9;font-size:.78rem}.dashboard-status{min-width:0;display:flex;align-items:flex-start;justify-content:center;flex-direction:column;gap:.4rem;padding:1rem 1.1rem;border:1px solid #2a3552;border-left-width:3px;border-radius:1rem;background:#151c30;box-shadow:0 18px 46px #00000029}.dashboard-status strong{font-size:.82rem}.dashboard-status span{color:#98a2b9;font-size:.75rem;line-height:1.4}.dashboard-status.positive{border-left-color:#34d399}.dashboard-status.positive strong{color:#34d399}.dashboard-status.warning{border-left-color:#fbbf24}.dashboard-status.warning strong{color:#fbbf24}.dashboard-status.negative{border-left-color:#fb7185}.dashboard-status.negative strong{color:#fb7185}.allocation-chart-card{display:grid;grid-template-columns:minmax(10rem,.42fr) minmax(0,1.58fr);gap:1.5rem;align-items:center;margin:1.25rem 0 2rem;padding:1.5rem;border:1px solid #2a3552;border-radius:1rem;background:#151c30;box-shadow:0 18px 46px #00000029}.allocation-chart-copy .eyebrow{margin-bottom:.75rem}.allocation-status{display:grid;gap:.2rem;margin:0;padding:.75rem;border-left:3px solid;border-radius:.55rem;background:#10172a}.allocation-status strong{font-size:.85rem}.allocation-status span{color:#98a2b9;font-size:.75rem}.allocation-status.positive{color:#34d399;border-color:#34d399}.allocation-status.warning{color:#fbbf24;border-color:#fbbf24}.allocation-status.negative{color:#fb7185;border-color:#fb7185}.allocation-chart-visual{display:grid;grid-template-columns:minmax(15rem,1fr) minmax(11rem,.8fr);align-items:center;gap:1rem}.allocation-donut{position:relative;min-width:0}.allocation-donut-label{position:absolute;inset:50% auto auto 50%;display:grid;gap:.25rem;transform:translate(-50%,-50%);text-align:center;pointer-events:none}.allocation-donut-label span{color:#8b7cff;font-size:.65rem;font-weight:850;letter-spacing:.1em}.allocation-donut-label strong{color:#f7f8ff;font-size:1.05rem}.allocation-legend{display:grid;gap:.55rem}.allocation-legend>div{display:flex;justify-content:space-between;gap:.75rem;color:#98a2b9;font-size:.75rem}.allocation-legend span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.allocation-legend i{display:inline-block;width:.55rem;height:.55rem;margin-right:.45rem;border-radius:50%}.allocation-legend strong{color:#d9ddec;font-variant-numeric:tabular-nums}.category-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;align-items:stretch;margin-bottom:2rem}.category-overview>.dashboard-status{grid-column:1 / -1;min-height:5rem}.category-overview .dashboard-financial-summary{grid-template-columns:1fr;margin:0}.category-overview .dashboard-metric{min-height:9.25rem}.category-overview .allocation-chart-card{grid-template-columns:1fr;align-content:start;margin:0}.category-overview .allocation-chart-copy{display:flex;align-items:center;justify-content:space-between;gap:1rem}.category-overview .allocation-chart-copy .eyebrow{margin:0}.category-overview .allocation-status{min-width:12rem}.category-overview .allocation-chart-visual{grid-template-columns:minmax(14rem,1fr) minmax(10rem,.8fr);margin-top:.5rem}.system-pattern-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.system-pattern{overflow:hidden;border:1px solid var(--m-border);border-radius:1rem;background:var(--m-surface)}.pattern-label{padding:.65rem 1rem;color:var(--m-primary);border-bottom:1px solid var(--m-border);font-size:.68rem;font-weight:850;letter-spacing:.11em}.pattern-form{display:grid;gap:1rem;padding:1.25rem}.pattern-form h3{margin:0}.pattern-form .midnight-kicker{margin-bottom:.25rem}.pattern-form>.midnight-button{justify-self:end}.pattern-swatches{display:flex;align-items:center;gap:.4rem;min-height:2.8rem}.pattern-swatches i{width:1.35rem;height:1.35rem;border-radius:50%;background:#8b7cff}.pattern-swatches i:nth-child(2){background:#34d399}.pattern-swatches i:nth-child(3){background:#fbbf24}.pattern-swatches i:nth-child(4){background:#fb7185}.pattern-list{display:grid}.pattern-list>div{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:.65rem;padding:1rem;border-bottom:1px solid var(--m-border)}.pattern-list>div:last-child{border-bottom:0}.pattern-list .dot{width:.6rem;height:.6rem;border-radius:50%}.pattern-list .dot.violet{background:var(--m-primary)}.pattern-list .dot.green{background:var(--m-positive)}.pattern-list span,.pattern-list b{min-width:0;display:grid;gap:.18rem;color:var(--m-text);font-size:.8rem;font-style:normal}.pattern-list small{color:var(--m-muted);font-size:.68rem;font-weight:500}.pattern-list b{text-align:right}.pattern-list button{border:1px solid rgba(251,113,133,.25);border-radius:.45rem;color:#fecdd3;background:#fb718514;font-size:.7rem}@media (max-width: 1050px){.dashboard-financial-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.category-overview{grid-template-columns:1fr}.category-overview .dashboard-metric,.category-overview .dashboard-status{min-height:0}}@media (max-width: 900px){.allocation-chart-card{grid-template-columns:1fr}.allocation-chart-copy{display:flex;align-items:center;justify-content:space-between;gap:1rem}.allocation-chart-copy .eyebrow{margin:0}.allocation-status{min-width:12rem}.allocation-chart-visual{grid-template-columns:minmax(15rem,1fr) minmax(11rem,.8fr)}.system-pattern-grid{grid-template-columns:1fr}}@media (max-width: 720px){.entity-form{grid-template-columns:repeat(2,minmax(0,1fr))}.entity-form-heading{align-items:flex-start;flex-direction:column;gap:.5rem}.entity-form-heading>p{text-align:left}.transaction-form .form-submit,.category-form .form-submit{grid-column:2}.transaction-table-head{display:none}.transaction-list li{grid-template-columns:auto minmax(0,1fr) auto}.transaction-list time{grid-column:2}.transaction-list .transaction-amount{grid-column:3;grid-row:1}.transaction-list .row-actions{grid-column:2 / -1;grid-row:2}.dashboard-financial-summary,.category-overview .dashboard-financial-summary{grid-template-columns:1fr}.allocation-chart-copy,.category-overview .allocation-chart-copy{align-items:stretch;flex-direction:column}.allocation-status,.category-overview .allocation-status{min-width:0}.allocation-chart-visual,.category-overview .allocation-chart-visual{grid-template-columns:1fr}}@media (max-width: 480px){.entity-form{grid-template-columns:1fr}.entity-form .color-picker,.transaction-form .form-submit,.category-form .form-submit{grid-column:1;width:100%}.category-list li{grid-template-columns:auto minmax(0,1fr)}.category-list .entity-value{grid-column:2;text-align:left}.category-list .row-actions{grid-column:2;justify-content:flex-start}.entity-list-heading{align-items:flex-start}.pattern-list>div{grid-template-columns:auto minmax(0,1fr) auto}.pattern-list button{grid-column:3;grid-row:1 / span 2}.pattern-list b{grid-column:2;text-align:left}}
