@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap";:root{color-scheme:light;font-family:DM Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;--bg: oklch(98.4% .006 250);--surface: oklch(99.6% .003 250);--surface-soft: oklch(97% .008 250);--ink: oklch(20% .035 258);--muted: oklch(49% .022 258);--border: oklch(90% .012 258);--border-strong: oklch(83% .018 258);--coral: oklch(67% .225 29);--coral-soft: oklch(95% .035 25);--mint: oklch(72% .16 155);--mint-soft: oklch(95% .035 155);--navy: oklch(24% .055 255);--radius-sm: 6px;--radius-md: 10px;--shadow-modal: 0 24px 72px oklch(18% .03 250 / .18)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;min-height:100vh;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}button,input,select{font:inherit;color:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--coral);outline-offset:2px}.app-shell{min-height:100vh;background:var(--surface)}.app-header{height:64px;display:grid;grid-template-columns:128px 1fr auto;align-items:stretch;gap:28px;padding:0 28px;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:20;background:color-mix(in oklch,var(--surface) 94%,transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.brand{border:0;background:transparent;font-size:24px;font-weight:700;letter-spacing:-.055em;text-align:left;padding:0}.app-header nav{display:flex;gap:34px;align-items:stretch}.app-header nav button{border:0;background:transparent;color:var(--muted);padding:0 2px;font-size:14px;position:relative}.app-header nav button:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--coral);transform:scaleX(0);transition:transform .18s cubic-bezier(.25,1,.5,1)}.app-header nav button.active{color:var(--ink);font-weight:600}.app-header nav button.active:after{transform:scaleX(1)}.header-actions{display:flex;align-items:center;gap:12px}.primary-button,.secondary-button,.shortcut-status,.filter-button{min-height:38px;border-radius:var(--radius-sm);display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:600;font-size:13px;transition:transform .12s,background .12s,border-color .12s}.primary-button{border:1px solid var(--coral);background:var(--coral);color:snow;padding:0 18px;box-shadow:0 6px 18px #ff4c3d29;box-shadow:0 6px 18px oklch(67% .225 29 / .16)}.primary-button:hover{transform:translateY(-1px);background:#f12d23}.secondary-button{border:1px solid var(--border-strong);background:var(--surface);padding:0 18px}.shortcut-status{border:1px solid var(--border);background:var(--surface);padding:0 12px;color:#00884d;color:oklch(55% .16 155);font-weight:500}.shortcut-status>span{width:7px;height:7px;border-radius:50%;background:var(--mint);box-shadow:0 0 0 4px var(--mint-soft)}kbd{border-left:1px solid var(--border);padding-left:10px;display:inline-flex;align-items:center;gap:2px;color:var(--muted);font-family:inherit;font-size:11px}kbd svg{width:12px;height:12px}.dashboard{min-height:calc(100vh - 64px);display:block}.primary-column{min-width:0;width:100%;padding:22px 30px 28px}.mobile-title{display:none}.metrics{display:grid;grid-template-columns:1.1fr 1fr 1fr .85fr 1.2fr;border-bottom:1px solid var(--border);padding:4px 0 26px}.metrics article{min-width:0;padding:0 26px;border-left:1px solid var(--border);display:flex;flex-direction:column;gap:5px}.metrics article:first-child{border-left:0;padding-left:16px}.metrics article>span,.metrics small,.section-heading small{color:var(--muted);font-size:11px}.metrics strong{font-size:clamp(18px,1.6vw,22px);letter-spacing:-.045em;font-variant-numeric:tabular-nums;white-space:nowrap}.metrics em{font-style:normal;margin-left:6px}.danger-text{color:var(--coral)!important}.progress{height:5px;background:var(--border);border-radius:99px;margin-top:3px;overflow:hidden}.progress span{display:block;width:64%;height:100%;background:var(--mint);border-radius:inherit}.chart-section{padding:24px 16px 20px;border-bottom:1px solid var(--border)}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.section-heading h2{margin:0;font-size:17px;letter-spacing:-.03em}.section-heading h2 span{display:inline-flex;color:var(--muted)}.section-heading h2 svg{width:13px}.section-heading p{margin:7px 0 0;font-size:16px;font-weight:500}.section-heading p small{margin-left:10px}.chart-legend{display:flex;gap:16px;align-items:center;margin-top:12px;color:var(--muted);font-size:11px}.chart-legend span{display:inline-flex;align-items:center;gap:7px}.chart-legend i{width:18px;height:8px;border-radius:2px;background:var(--navy);display:inline-block}.chart-legend .trend-sample{height:2px;border-radius:99px;background:var(--coral)}.segmented{display:flex;border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden;background:var(--surface-soft)}.segmented button{min-width:58px;height:31px;border:0;border-left:1px solid var(--border);color:var(--muted);background:transparent;font-size:11px}.segmented button:first-child{border-left:0}.segmented button:last-child{min-width:50px}.segmented button.active{color:var(--ink);background:var(--surface);font-weight:600;box-shadow:0 1px 3px #0b172314}.chart-wrap{height:276px;display:grid;grid-template-columns:48px 1fr;padding-top:18px}.y-axis{display:flex;flex-direction:column;justify-content:space-between;padding:0 6px 26px 0;font-size:10px;color:var(--muted);text-align:right}.chart{min-width:0;position:relative;display:grid;gap:clamp(4px,1vw,16px);align-items:end;border-bottom:1px solid var(--border-strong);background:repeating-linear-gradient(to bottom,color-mix(in oklch,var(--border) 72%,transparent) 0 1px,transparent 1px 42px);isolation:isolate}.bar-column{height:100%;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;position:relative;z-index:2}.bar{width:min(38px,78%);min-height:3px;border-radius:5px 5px 0 0;background:linear-gradient(to bottom,oklch(34% .075 255),var(--navy));transition:height .35s cubic-bezier(.25,1,.5,1),background .15s;box-shadow:inset 0 1px #ffffff24}.bar:hover{background:#174276}.bar.unusual{background:linear-gradient(to bottom,oklch(70% .22 29),var(--coral));box-shadow:0 0 0 3px var(--coral-soft)}.bar-column>span{height:25px;padding-top:8px;font-size:10px;color:var(--muted)}.trend-line{position:absolute;z-index:4;top:0;right:0;bottom:25px;left:0;width:100%;height:calc(100% - 25px);overflow:visible;pointer-events:none}.trend-line polyline{fill:none;stroke:var(--coral);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;filter:drop-shadow(0 4px 8px oklch(67% .225 29 / .18))}.average-line{position:absolute;z-index:3;left:0;right:0;border-top:1px dashed color-mix(in oklch,var(--navy) 76%,transparent);pointer-events:none}.average-line span{position:absolute;right:0;top:-14px;background:var(--navy);color:var(--surface);font-size:9px;padding:4px 6px;border-radius:3px}.chart-callout{position:absolute;bottom:calc(84% + 26px);left:50%;transform:translate(-50%);width:88px;padding:7px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);box-shadow:0 4px 16px #0b172314;display:flex;flex-direction:column;gap:2px;font-size:10px;z-index:5}.chart-callout strong{font-size:11px}.chart-callout small{color:var(--muted)}.chart-callout em{color:var(--coral);background:var(--coral-soft);font-style:normal;font-size:9px;padding:2px 4px;border-radius:3px;width:fit-content}.ledger{padding-top:8px}.table-toolbar{display:flex;gap:8px;padding:0 0 10px}.global-search{padding:0 0 20px}.global-search .search-field{height:44px}.global-search .filter-button{width:52px;font-size:0}.global-search .filter-button svg{width:18px;height:18px}.search-field{height:42px;flex:1;display:flex;align-items:center;gap:10px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);padding:0 12px;background:var(--surface);color:var(--muted)}.search-field input{min-width:0;flex:1;border:0;outline:0;background:transparent;font-size:13px}.search-field svg,.filter-button svg{width:16px}.search-field kbd{border:0;padding:0}.filter-button{border:1px solid var(--border);background:var(--surface);padding:0 12px;color:var(--muted)}.filter-button.active-filter{border-color:var(--coral);color:var(--coral);background:var(--coral-soft)}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:11px;white-space:nowrap}th{color:var(--muted);font-weight:500;text-transform:uppercase;letter-spacing:.025em;text-align:left;padding:8px 9px;border-bottom:1px solid var(--border-strong)}th svg{width:11px;vertical-align:middle}td{height:46px;padding:6px 9px;border-bottom:1px solid var(--border);font-variant-numeric:tabular-nums;color:#283345}td:first-child,th:first-child{width:34px}td:nth-last-child(2),th:nth-last-child(2){text-align:right;font-weight:600}td strong{font-weight:500;color:var(--ink)}input[type=checkbox]{accent-color:var(--coral)}.category-select{width:144px;height:30px;border:1px solid var(--border);border-radius:99px;display:inline-flex;align-items:center;gap:4px;padding:0 7px;background:var(--surface-soft)}.category-select select{-webkit-appearance:none;-moz-appearance:none;appearance:none;min-width:0;flex:1;border:0;outline:0;background:transparent;font-size:10px;cursor:pointer}.category-select>svg{width:10px}.category-dot{width:19px;height:19px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:var(--coral);background:var(--coral-soft)}.category-dot svg{width:10px}.source{width:18px;height:18px;margin-right:6px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--navy);color:var(--surface);font-size:9px;vertical-align:middle}.source-atajo{border-radius:4px;background:#182354;color:var(--coral)}.source svg{width:11px}.payment-cell{color:var(--muted)}.payment-cell svg{width:14px;height:14px;margin-right:5px;color:#5a7ca9;vertical-align:-2px}.card-pill{--card-color: #3157ff;min-height:26px;width:fit-content;display:inline-flex;align-items:center;gap:7px;border:1px solid color-mix(in oklch,var(--card-color) 32%,var(--border));border-radius:999px;background:color-mix(in oklch,var(--card-color) 10%,var(--surface));color:var(--ink);padding:0 9px 0 6px;font-size:10px;font-weight:600}.card-chip{width:20px;height:13px;border-radius:4px;display:inline-block;background:linear-gradient(135deg,color-mix(in oklch,var(--card-color) 88%,white),var(--card-color));box-shadow:inset 0 1px #ffffff47,0 3px 8px color-mix(in oklch,var(--card-color) 26%,transparent)}.card-select{--card-color: #3157ff;height:42px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);display:flex;align-items:center;gap:9px;padding:0 12px;background:linear-gradient(90deg,color-mix(in oklch,var(--card-color) 9%,var(--surface)),var(--surface))}.card-select select{-webkit-appearance:none;-moz-appearance:none;appearance:none;min-width:0;flex:1;height:auto;border:0;background:transparent;padding:0;cursor:pointer}.card-select>svg{width:13px;color:var(--muted)}.row-menu{border:0;background:transparent;color:var(--muted)}.row-menu:hover{color:var(--coral)}.bulk-bar{min-height:42px;margin-bottom:8px;padding:6px 10px;display:flex;align-items:center;justify-content:space-between;border:1px solid color-mix(in oklch,var(--coral) 25%,var(--border));border-radius:var(--radius-sm);background:var(--coral-soft);font-size:11px;font-weight:600}.danger-button{min-height:34px;border:1px solid color-mix(in oklch,var(--coral) 55%,var(--border));border-radius:var(--radius-sm);background:var(--surface);color:var(--coral);padding:0 12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:600;font-size:11px}.danger-button svg{width:13px}.ledger-footer{min-height:48px;display:flex;justify-content:space-between;align-items:center;padding:0 10px;color:var(--muted);font-size:11px}.ledger-footer button{border:0;background:transparent;display:flex;gap:6px;align-items:center}.ledger-footer svg{width:11px}.pending-icon{width:48px;height:48px;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-md);background:var(--coral-soft);color:var(--coral)}.pending-icon svg{width:16px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:grid;place-items:center;padding:20px;background:#07121e57;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);animation:fade-in .16s ease-out}.modal{width:min(520px,100%);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-modal);animation:rise-in .24s cubic-bezier(.25,1,.5,1)}.modal>header{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid var(--border)}.modal h2{margin:0;font-size:18px;letter-spacing:-.035em}.icon-button{width:36px;height:36px;border:1px solid var(--border);border-radius:50%;background:var(--surface);display:grid;place-items:center}.icon-button svg{width:14px}.expense-form{padding:22px;display:flex;flex-direction:column;gap:16px}.expense-form label{display:flex;flex-direction:column;gap:7px;color:var(--muted);font-size:11px;font-weight:600}.expense-form input,.expense-form select{width:100%;height:42px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);padding:0 12px;font-size:13px}.expense-form input[type=color]{padding:4px;cursor:pointer}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.expense-form footer{display:flex;justify-content:flex-end;gap:8px;padding-top:4px}.expense-form .edit-footer{display:grid;grid-template-columns:auto 1fr auto auto}.cards-modal{padding:22px}.cards-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.payment-card{--card-color: #3157ff;min-height:112px;border:1px solid color-mix(in oklch,var(--card-color) 32%,var(--border));border-radius:var(--radius-md);padding:14px;background:radial-gradient(circle at top right,color-mix(in oklch,var(--card-color) 28%,transparent),transparent 45%),linear-gradient(180deg,color-mix(in oklch,var(--card-color) 7%,var(--surface)),var(--surface));display:flex;flex-direction:column;justify-content:space-between}.payment-card>span{width:42px;height:26px;border-radius:7px;background:linear-gradient(135deg,color-mix(in oklch,var(--card-color) 88%,white),var(--card-color));box-shadow:inset 0 1px #ffffff47,0 10px 24px color-mix(in oklch,var(--card-color) 18%,transparent)}.payment-card strong{font-size:14px}.payment-card small{color:var(--muted);font-size:10px}.card-form{padding:18px 0 0}.modal-copy{margin:0;color:var(--muted);font-size:12px;line-height:1.6}.review-modal-list{max-height:min(520px,70vh);overflow:auto;padding:8px}.review-modal-list button{width:100%;border:0;border-bottom:1px solid var(--border);background:transparent;padding:12px;display:grid;grid-template-columns:48px 1fr 18px;align-items:center;gap:12px;text-align:left}.review-modal-list button:last-child{border-bottom:0}.review-modal-list button>div{display:flex;flex-direction:column;gap:4px}.review-modal-list button small{color:var(--muted);font-size:10px}.review-modal-list button>svg{width:15px;color:var(--muted)}.toast{position:fixed;z-index:200;left:50%;bottom:24px;transform:translate(-50%);min-width:220px;padding:11px 16px;border-radius:var(--radius-sm);background:var(--ink);color:var(--surface);text-align:center;font-size:12px;box-shadow:var(--shadow-modal);animation:rise-in .22s cubic-bezier(.25,1,.5,1)}.shortcut-setup{padding:22px;color:#2f3b4d;font-size:13px;line-height:1.6}.shortcut-setup p{margin:0 0 14px}.shortcut-setup ol{padding-left:20px}.shortcut-setup code{color:var(--coral);background:var(--coral-soft);padding:1px 4px;border-radius:3px}.endpoint-box{display:flex;gap:8px;align-items:center;border:1px solid var(--border);border-radius:var(--radius-sm);padding:8px 8px 8px 12px;background:var(--surface-soft)}.endpoint-box span{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,monospace;font-size:11px}.endpoint-box button{border:1px solid var(--border-strong);border-radius:4px;background:var(--surface);min-width:64px;height:30px;font-size:11px}.endpoint-box button svg{width:13px}.shortcut-key{display:flex;flex-direction:column;gap:7px;margin-top:14px;color:var(--muted);font-size:11px;font-weight:600}.shortcut-key span{display:flex;align-items:center;gap:8px;color:var(--muted)}.shortcut-key em{border:1px solid oklch(78% .12 157);border-radius:999px;padding:2px 7px;color:#006a3e;color:oklch(46% .13 157);background:#d4f9e1;font-style:normal;font-size:10px}.shortcut-key small{color:var(--muted);font-size:11px;line-height:1.45;font-weight:500}.shortcut-key small code{color:var(--coral);background:var(--coral-soft);padding:1px 4px;border-radius:3px}.shortcut-key div{display:flex;gap:8px}.shortcut-key input{min-width:0;flex:1;height:34px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);padding:0 10px;font-size:12px}.shortcut-key button{border:1px solid var(--border-strong);border-radius:4px;background:var(--surface);min-width:72px;height:34px;font-size:11px}.shortcut-key button svg{width:13px}.helper-text{color:var(--muted);font-size:11px;margin-top:14px!important}.shortcut-card-options{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}@keyframes fade-in{0%{opacity:0}}@keyframes rise-in{0%{opacity:0;transform:translateY(8px) scale(.985)}}@media(max-width:1180px){.primary-column{padding-inline:22px}}@media(max-width:820px){body{padding-bottom:calc(84px + env(safe-area-inset-bottom))}.app-shell{min-height:calc(100vh - 84px - env(safe-area-inset-bottom))}.app-header{height:auto;min-height:60px;grid-template-columns:1fr auto;padding:0 16px}.app-header{-webkit-backdrop-filter:none;backdrop-filter:none;background:var(--surface)}.brand{font-size:20px}.app-header nav{position:fixed;z-index:30;left:12px;right:12px;bottom:max(10px,env(safe-area-inset-bottom));height:58px;padding:0 8px;background:color-mix(in oklch,var(--surface) 96%,transparent);border:1px solid var(--border);border-radius:18px;box-shadow:0 18px 48px #0b172329;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);justify-content:space-around}.app-header nav button{flex:1;min-width:0;font-size:11px;white-space:nowrap}.app-header nav button:after{left:12px;right:12px;bottom:7px;height:2px;border-radius:99px}.shortcut-status,.header-actions{display:none}.dashboard{min-height:auto;padding-bottom:calc(18px + env(safe-area-inset-bottom))}.primary-column{padding:16px 14px 20px}.mobile-title{display:flex;align-items:center;justify-content:space-between;margin:4px 2px 20px}.mobile-title span{color:var(--muted);font-size:11px}.mobile-title h1{margin:3px 0 0;font-size:22px;letter-spacing:-.05em}.mobile-title button{width:40px;height:40px;border:0;border-radius:50%;background:var(--coral);color:var(--surface)}.metrics{grid-template-columns:1fr 1fr;gap:16px 0;padding:0 0 20px}.metrics article{padding:0 14px}.metrics article:first-child{padding-left:14px}.metrics article:nth-child(odd){border-left:0}.metrics article:last-child{grid-column:1 / -1}.metrics strong{font-size:18px}.chart-section{padding:20px 0}.section-heading{align-items:flex-end}.section-heading p small{display:none}.segmented button{min-width:42px}.chart-wrap{height:238px;grid-template-columns:38px 1fr}.chart{gap:3px}.chart-callout{display:none}.bar{width:72%}.table-toolbar{padding-top:8px}.search-field kbd{display:none}.filter-button{width:42px;padding:0;font-size:0}table{min-width:820px}.cards-grid,.form-grid{grid-template-columns:1fr}.expense-form .edit-footer{grid-template-columns:1fr 1fr}.expense-form .edit-footer span{display:none}.toast{bottom:78px;width:calc(100% - 28px)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
