/*! tailwindcss v4.2.1 | 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{--tw-border-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}::backdrop{--tw-border-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:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::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%;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;-webkit-text-decoration:inherit;-webkit-text-decoration: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;appearance:button}::file-selector-button{-webkit-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{.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.block{display:block}.hidden{display:none}.border{border-style:var(--tw-border-style);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{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--paper:#f3f1eb;--surface:#fbfaf7;--surface-elevated:#fff;--surface-warm:#eee8dc;--ink:#17211d;--muted:#727872;--line:#deddd6;--accent:#ec633e;--accent-hover:#de5835;--green:#315e50;--mint:#b9d9ca;--danger:#b3483b;--strong:#17211d;--strong-hover:#29352f;--sidebar:#17211d;--on-strong:#fff;--chart-grid:#e6e3dc;--chart-muted:#858a84;--chart-cursor:#ece8df;--chart-bar:#315e50;--shadow-soft:#1c2b2414;--category-1:#ec633e;--category-2:#315e50;--category-3:#e6ae53;--category-4:#7594a6;--category-5:#a7806b;--category-6:#8c8069;--category-7:#b76d68;--category-8:#79906a;--category-9:#64818f;--category-10:#b7b2a7}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--paper:#0d1411;--surface:#151d19;--surface-elevated:#1b2520;--surface-warm:#1b221e;--ink:#edf4f0;--muted:#9aa69f;--line:#2d3a34;--accent:#ff7652;--accent-hover:#ff8969;--green:#82c6aa;--mint:#477562;--danger:#ff8d79;--strong:#26372f;--strong-hover:#30473c;--sidebar:#080f0c;--on-strong:#f5faf7;--chart-grid:#2c3933;--chart-muted:#94a29a;--chart-cursor:#202c26;--chart-bar:#72b497;--shadow-soft:#00000042;--category-1:#ff7b57;--category-2:#72b497;--category-3:#efbe68;--category-4:#86a9bd;--category-5:#c09279;--category-6:#aca087;--category-7:#d27e78;--category-8:#8daa7b;--category-9:#79a0b2;--category-10:#c9c3b7}*{box-sizing:border-box}html{background:var(--paper);scroll-behavior:smooth}body{background:var(--paper);color:var(--ink);font-family:var(--font-geist-sans), Arial, sans-serif;margin:0;transition:background .28s,color .28s}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}:is(button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible){outline-offset:2px;outline:3px solid #ec633e38}.visually-hidden{clip:rect(0, 0, 0, 0)!important;white-space:nowrap!important;width:1px!important;height:1px!important;position:absolute!important;overflow:hidden!important}.app-shell{isolation:isolate;grid-template-columns:76px 1fr;min-height:100vh;display:grid;position:relative;overflow:clip}.dashboard-background{z-index:0;pointer-events:none;position:fixed;inset:0;overflow:hidden}.dashboard-background:after{z-index:2;content:"";background:radial-gradient(circle at 48% 12%,#0000 4%,#f3f1eb2e 42%,#f3f1ebb3 100%);position:absolute;inset:0}.dashboard-aurora{z-index:0;filter:blur(3px);position:absolute;inset:0;overflow:hidden}.dashboard-aurora span{opacity:.62;filter:blur(78px);border-radius:50%;animation:17s ease-in-out infinite alternate dashboardAuroraDrift;position:absolute}.dashboard-aurora span:first-child{background:#a7cbb852;width:520px;height:520px;top:-220px;left:9%}.dashboard-aurora span:nth-child(2){background:#ee694624;width:430px;height:430px;animation-duration:21s;animation-delay:-6s;top:29%;right:-170px}.dashboard-aurora span:nth-child(3){background:#e6be742b;width:390px;height:390px;animation-duration:23s;animation-delay:-11s;bottom:-190px;left:38%}.dashboard-background .ambient-geometry{z-index:1;pointer-events:none;opacity:.43;width:100%;height:100%;display:block;position:absolute;inset:0;-webkit-mask-image:radial-gradient(at 50% 38%,#000 22%,#000c 66%,#0000 100%);mask-image:radial-gradient(at 50% 38%,#000 22%,#000c 66%,#0000 100%)}.sidebar{background:var(--sidebar);z-index:20;flex-direction:column;align-items:center;width:76px;padding:22px 0;display:flex;position:fixed;inset:0 auto 0 0}.brand-mark{background:var(--accent);color:#fff;border-radius:12px;place-items:center;width:40px;height:40px;font-size:21px;font-weight:700;text-decoration:none;display:grid}.sidebar nav{gap:10px;margin-top:70px;display:grid}.nav-item{color:#909b95;border-radius:12px;place-items:center;width:42px;height:42px;text-decoration:none;display:grid}.nav-item:hover,.nav-item.active{color:#fff;background:#2a3731}.sidebar-add{color:#fff;background:0 0;border:1px solid #526059;border-radius:12px;place-items:center;width:42px;height:42px;margin-top:auto;display:grid}.sidebar-add:hover{border-color:var(--accent);background:var(--accent)}.user-badge{color:#fff;border:1px solid #526059;border-radius:50%;place-items:center;width:34px;height:34px;margin-top:14px;font-size:10px;font-weight:700;display:grid}.workspace{z-index:1;grid-column:2;width:min(1440px,100%);margin:0 auto;padding:42px 52px 70px;position:relative}.topbar{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:30px;display:flex}.eyebrow{color:var(--muted);font-family:var(--font-geist-mono), monospace;letter-spacing:.11em;text-transform:uppercase;margin:0 0 7px;font-size:10px;font-weight:650}h1{letter-spacing:-.055em;margin:0;font-size:clamp(34px,4vw,56px);font-weight:580;line-height:1}h2{letter-spacing:-.025em;margin:0;font-size:21px}h3{letter-spacing:-.025em}.topbar-actions,.upload-actions,.error-actions{gap:9px;display:flex}.primary-button,.ghost-button,.secondary-button{border-radius:11px;justify-content:center;align-items:center;gap:7px;padding:11px 15px;font-size:12px;font-weight:670;display:inline-flex}.primary-button{border:1px solid var(--accent);background:var(--accent);color:#fff;box-shadow:0 8px 20px #ec633e22}.primary-button:hover{background:var(--accent-hover);border-color:var(--accent-hover)}.ghost-button{border:1px solid var(--line);background:var(--surface);color:var(--ink)}.ghost-button:hover{border-color:#babbb4}.auth-link-button{white-space:nowrap;text-decoration:none}.icon-account-button{border:1px solid var(--line);background:var(--surface);width:40px;height:40px;color:var(--ink);border-radius:11px;place-items:center;display:grid}.icon-account-button:hover{color:var(--danger);border-color:var(--danger)}.guest-mode-banner{border:1px solid var(--green);justify-content:space-between;align-items:center;gap:18px;margin:-12px 0 22px;padding:13px 16px;display:flex}@supports (color:color-mix(in lab, red, red)){.guest-mode-banner{border:1px solid color-mix(in srgb, var(--green) 28%, var(--line))}}.guest-mode-banner{background:var(--mint);border-radius:13px}@supports (color:color-mix(in lab, red, red)){.guest-mode-banner{background:color-mix(in srgb, var(--mint) 18%, var(--surface))}}.guest-mode-banner div{gap:2px;display:grid}.guest-mode-banner strong{font-size:12px}.guest-mode-banner span{color:var(--muted);font-size:11px}.guest-mode-banner a{color:var(--green);font-size:11px;font-weight:750}.guest-readonly-card{border-style:dashed}.primary-button.wide{width:100%}.theme-toggle{border:1px solid var(--line);background:var(--surface);width:42px;height:40px;color:var(--ink);box-shadow:0 7px 20px var(--shadow-soft);border-radius:11px;flex:0 0 42px;place-items:center;transition:border-color .2s,background .2s,color .2s,transform .2s;display:grid;position:relative;overflow:hidden}.theme-toggle:hover{border-color:var(--green);color:var(--green);transform:translateY(-1px)}.theme-icon{transition:opacity .25s,transform .35s cubic-bezier(.2,.8,.25,1);position:absolute}.theme-icon-sun{opacity:0;transform:translateY(12px)rotate(-70deg)scale(.72)}.theme-icon-moon,:root[data-theme=dark] .theme-icon-sun{opacity:1;transform:none}:root[data-theme=dark] .theme-icon-moon{opacity:0;transform:translateY(-12px)rotate(70deg)scale(.72)}.language-switcher{flex:none;position:relative}.language-trigger{border:1px solid var(--line);background:var(--surface);height:40px;color:var(--ink);box-shadow:0 7px 20px var(--shadow-soft);letter-spacing:.05em;border-radius:11px;justify-content:center;align-items:center;gap:6px;padding:0 10px;font-size:10px;font-weight:720;transition:border-color .2s,background .2s,color .2s,transform .2s;display:inline-flex}.language-trigger:hover{border-color:var(--green);color:var(--green);transform:translateY(-1px)}.language-trigger svg:last-child{transition:transform .2s}.language-trigger[aria-expanded=true] svg:last-child{transform:rotate(180deg)}.language-menu{z-index:100;border:1px solid var(--line);background:var(--surface-elevated);border-radius:13px;width:190px;padding:7px;animation:.2s cubic-bezier(.2,.8,.25,1) both languageMenuIn;position:absolute;inset-block-start:calc(100% + 8px);inset-inline-end:0;box-shadow:0 20px 55px #17211d2e}.language-menu button{width:100%;min-height:39px;color:var(--ink);text-align:start;background:0 0;border:0;border-radius:8px;grid-template-columns:1fr auto 16px;align-items:center;gap:8px;padding:0 9px;display:grid}.language-menu button:hover{background:var(--surface-soft)}.language-menu button.is-active{background:var(--green)}@supports (color:color-mix(in lab, red, red)){.language-menu button.is-active{background:color-mix(in srgb, var(--green) 13%, var(--surface-elevated))}}.language-menu button.is-active{color:var(--green)}.language-menu button>span{min-width:0;font-size:11px;font-weight:650}.language-menu button small{color:var(--muted);font-family:var(--font-geist-mono), monospace;letter-spacing:.05em;font-size:8px;font-weight:700}.language-menu button svg{color:var(--accent)}@keyframes languageMenuIn{0%{opacity:0;transform:translateY(-6px)scale(.97)}to{opacity:1;transform:none}}.filter-shell{border:1px solid var(--line);background:#fbfaf7d1;border-radius:15px;align-items:center;gap:8px;margin-bottom:16px;padding:8px;display:flex;position:relative}.search-field{color:#8e938e;flex:1;align-items:center;gap:9px;min-width:230px;padding:0 9px;display:flex}.search-field input,.compact-field input{width:100%;color:var(--ink);background:0 0;border:0;outline:0;font-size:12px}.search-field input::placeholder{color:#a1a59f}.compact-field{color:#777d78;background:#fff;border:1px solid #e3e1da;border-radius:9px;align-items:center;gap:7px;height:38px;padding:0 10px;display:flex}.compact-field input{color-scheme:normal;width:117px}.date-separator{color:#9a9e99;font-size:11px}.filter-button{border:1px solid var(--strong);background:var(--strong);height:38px;color:var(--on-strong);border-radius:9px;align-items:center;gap:7px;padding:0 11px;font-size:11px;font-weight:650;display:flex}.filter-button>span{background:var(--accent);border-radius:50%;place-items:center;min-width:17px;height:17px;font-size:9px;display:grid}.filter-popover{z-index:15;border:1px solid var(--line);background:var(--surface);border-radius:15px;width:350px;padding:20px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 22px 55px #17211d26}.popover-heading{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.popover-heading strong{font-size:14px}.popover-heading button,.modal-heading>button{color:var(--muted);background:0 0;border:0;place-items:center;display:grid}.filter-popover label,.receipt-fields label,.item-fields label{color:var(--muted);letter-spacing:.025em;gap:6px;font-size:10px;font-weight:650;display:grid}.filter-popover select,.filter-popover input,.receipt-fields input,.item-fields input,.item-fields select{border:1px solid var(--line);width:100%;height:39px;color:var(--ink);background:#fff;border-radius:9px;outline:0;padding:0 10px;font-size:12px;font-weight:450}.filter-popover>label{margin-bottom:13px}.price-filter{grid-template-columns:1fr 1fr;gap:10px;display:grid}.reset-button{border:0;border-top:1px solid var(--line);width:100%;color:var(--accent);background:0 0;margin-top:17px;padding:15px 0 0;font-size:11px;font-weight:650}.connection-error{color:#753a31;background:#f8eae6;border:1px solid #e2c7c1;border-radius:17px;align-items:center;gap:16px;min-height:128px;padding:24px;display:flex}.connection-error div{flex:1}.connection-error strong{font-size:14px}.connection-error p{margin:4px 0 0;font-size:12px}.connection-error button{color:#fff;background:#753a31;border:0;border-radius:9px;padding:9px 13px;font-size:11px;font-weight:650}.stat-grid{grid-template-columns:1.2fr 1fr 1fr .66fr;gap:13px;margin-bottom:13px;transition:opacity .2s;display:grid}.is-loading{opacity:.55}.stat-card,.panel{border:1px solid var(--line);background:var(--surface);border-radius:17px}.stat-card{min-height:148px;padding:23px}.stat-card.ink{background:var(--strong);color:var(--on-strong);border-color:var(--strong)}.stat-card p{color:var(--muted);margin:0 0 25px;font-size:12px}.stat-card.ink p{color:#aeb8b2}.stat-card strong{letter-spacing:-.04em;text-overflow:ellipsis;white-space:nowrap;margin-bottom:5px;font-size:clamp(20px,2vw,27px);display:block;overflow:hidden}.stat-note{color:var(--muted);font-size:10px;line-height:1.35}.dashboard-grid{grid-template-columns:minmax(0,1.55fr) minmax(320px,.7fr);gap:13px;display:grid}.panel{min-width:0;padding:23px}.panel-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.range-label{border:1px solid var(--line);max-width:230px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;border-radius:9px;padding:8px 10px;font-size:10px;overflow:hidden}.chart-wrap{height:250px;margin-top:21px}.category-content{grid-template-columns:minmax(150px,.8fr) minmax(130px,1fr);align-items:center;gap:12px;margin-top:24px;display:grid}.donut-wrap{height:180px;position:relative}.donut-total{pointer-events:none;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.donut-total span{color:var(--muted);text-transform:uppercase;letter-spacing:.1em;font-size:9px}.donut-total strong{margin-top:3px;font-size:18px}.category-legend{gap:12px;display:grid}.category-legend>div{grid-template-columns:8px 1fr auto;align-items:center;gap:7px;font-size:10px;display:grid}.category-legend>div>span{border-radius:50%;width:7px;height:7px}.category-legend strong{text-overflow:ellipsis;white-space:nowrap;font-weight:570;overflow:hidden}.category-legend em{color:var(--muted);font-style:normal}.chart-empty{color:#a0a49f;flex-direction:column;justify-content:center;align-items:center;gap:9px;min-height:250px;font-size:11px;display:flex}.chart-empty.compact{min-height:160px}.lower-grid{grid-template-columns:minmax(300px,.78fr) minmax(0,1.42fr);gap:13px;margin-top:13px;display:grid}.upload-panel{background:var(--surface-warm);border-color:#e0d8ca;flex-direction:column;justify-content:center;align-items:flex-start;min-height:290px;display:flex}.scan-icon{background:var(--strong);width:45px;height:45px;color:var(--on-strong);border-radius:13px;place-items:center;margin-bottom:23px;display:grid}.upload-panel h2{max-width:360px;font-size:26px;line-height:1.08}.upload-panel>p:not(.eyebrow){max-width:430px;color:var(--muted);margin:12px 0 20px;font-size:11px;line-height:1.6}.secondary-button{border:1px solid var(--strong);background:var(--strong);color:var(--on-strong)}.secondary-button:hover{background:var(--strong-hover)}.manual-button{color:var(--green);background:0 0;border:0;padding:8px;font-size:11px;font-weight:650}.file-hint{color:#8e8d86;margin-top:9px;font-size:9px}.store-list{margin-top:13px;display:grid}.store-row{border-top:1px solid var(--line);grid-template-columns:32px 1fr auto;align-items:center;gap:12px;min-height:52px;display:grid}.store-rank{color:#9fa39d;font-family:var(--font-geist-mono), monospace;font-size:9px}.store-row>div{flex-direction:column;min-width:0;display:flex}.store-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.store-row>div span{color:var(--muted);margin-top:3px;font-size:9px}.store-row em{font-size:11px;font-style:normal;font-weight:650}.purchases-panel{margin-top:13px;padding:0;overflow:hidden}.purchases-heading{padding:22px 23px 15px}.purchases-heading>span{color:var(--muted);font-size:10px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%}th{border-block:1px solid var(--line);color:var(--muted);text-align:left;letter-spacing:.055em;text-transform:uppercase;background:#f2f0ea;padding:10px 15px;font-size:9px;font-weight:650}th:first-child,td:first-child{padding-left:23px}th:last-child,td:last-child{padding-right:20px}.sortable-column{padding:0}th.sortable-column:first-child{padding-left:0}.sort-button{width:100%;min-height:37px;color:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;text-transform:inherit;white-space:nowrap;background:0 0;border:0;align-items:center;gap:6px;padding:0 15px;transition:background .18s,color .18s;display:flex}.sortable-column:first-child .sort-button{padding-left:23px}.sort-button.align-right{justify-content:flex-end}.sort-button:hover{color:var(--ink);background:#e9e7df}.sort-button.is-active{color:var(--green)}.sort-button svg{opacity:.52;flex:none}.sort-button.is-active svg{opacity:1}td{color:#525a55;white-space:nowrap;border-bottom:1px solid #e8e6e0;padding:11px 15px;font-size:10px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#f7f5f0}.item-cell{align-items:center;gap:10px;min-width:215px;display:flex}.item-icon{width:30px;height:30px;color:var(--green);background:#e7ece8;border-radius:9px;flex:none;place-items:center;font-size:10px;font-weight:750;display:grid}.item-cell>div{flex-direction:column;min-width:0;display:flex}.item-cell strong{max-width:280px;color:var(--ink);text-overflow:ellipsis;font-size:11px;overflow:hidden}.item-cell span:not(.item-icon){max-width:280px;color:var(--muted);text-overflow:ellipsis;margin-top:2px;font-size:9px;overflow:hidden}.category-tag{color:#666b66;background:#ecebe5;border-radius:7px;padding:5px 7px;font-size:9px;display:inline-flex}.align-right{text-align:right}.price-cell{color:var(--ink);font-weight:650}.row-action{color:#a4a6a2;background:0 0;border:0;border-radius:8px;place-items:center;width:28px;height:28px;display:grid}.row-action:hover{color:var(--danger);background:#f3e4e1}.empty-ledger{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:280px;padding:30px;display:flex}.empty-ledger>div{width:48px;height:48px;color:var(--green);background:#e9edea;border-radius:14px;place-items:center;display:grid}.empty-ledger h3{margin:14px 0 5px;font-size:15px}.empty-ledger p{max-width:360px;color:var(--muted);margin:0;font-size:10px;line-height:1.55}.empty-ledger button{color:var(--accent);background:0 0;border:0;margin-top:15px;font-size:11px;font-weight:650}.modal-backdrop{z-index:50;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0e1713ad;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.receipt-modal{background:var(--surface);border:1px solid #dedbd2;border-radius:20px;width:min(960px,100%);max-height:calc(100vh - 48px);overflow:auto;box-shadow:0 35px 100px #111c1780}.receipt-modal.stage-review,.receipt-modal.stage-saving{width:min(1220px,100%)}.modal-heading{z-index:3;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fbfaf7f2;justify-content:space-between;align-items:center;padding:22px 25px 18px;display:flex;position:sticky;top:0}.receipt-start{grid-template-columns:minmax(280px,.85fr) minmax(320px,1fr);min-height:530px;display:grid}.receipt-preview,.review-preview{background:#e8e5de;place-items:center;display:grid;overflow:hidden}.receipt-preview{padding:28px}.receipt-preview img{border-radius:7px;max-width:100%;max-height:470px;box-shadow:0 15px 45px #1c2b2433}.receipt-start-copy{flex-direction:column;justify-content:center;padding:46px;display:flex}.ai-badge{width:max-content;color:var(--green);text-transform:uppercase;letter-spacing:.06em;background:#e4ede8;border-radius:8px;align-items:center;gap:6px;margin-bottom:24px;padding:6px 9px;font-size:9px;font-weight:650;display:flex}.receipt-start-copy h3{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:24px;overflow:hidden}.receipt-start-copy>p{color:var(--muted);margin:11px 0 20px;font-size:11px;line-height:1.65}.receipt-start-copy dl{border-top:1px solid var(--line);margin:0 0 25px}.receipt-start-copy dl div{border-bottom:1px solid var(--line);justify-content:space-between;padding:11px 0;font-size:10px;display:flex}.receipt-start-copy dt{color:var(--muted)}.receipt-start-copy dd{margin:0;font-weight:600}.replace-file{color:var(--muted);background:0 0;border:0;margin-top:11px;font-size:10px}.processing-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:430px;padding:50px;display:flex}.processing-icon,.success-check{width:62px;height:62px;color:var(--green);background:#e5ebe7;border-radius:18px;place-items:center;margin-bottom:18px;display:grid}.processing-icon svg{animation:1.25s linear infinite spin}.error-state .processing-icon svg{animation:none}.processing-state h3{margin:0;font-size:22px}.processing-state>p{max-width:500px;color:var(--muted);margin:9px 0 20px;font-size:11px;line-height:1.6}.processing-line{background:#e3e2dc;border-radius:2px;width:min(360px,80%);height:4px;overflow:hidden}.processing-line span{border-radius:inherit;background:var(--accent);width:40%;height:100%;animation:1.4s ease-in-out infinite progress;display:block}.error-actions{justify-content:center}.success-check{color:#357354;background:#deeee5}.success-check svg{animation:none}.review-layout{grid-template-columns:300px 1fr;min-height:620px;display:grid}.review-preview{align-content:center;height:calc(min(100vh - 131px,760px));padding:22px;position:sticky;top:83px}.review-preview img{border-radius:6px;max-width:100%;max-height:calc(100% - 40px);box-shadow:0 14px 45px #1c2b2433}.review-preview>span{color:var(--green);align-items:center;gap:5px;margin-top:14px;font-size:9px;font-weight:650;display:flex}.review-form{min-width:0;padding:24px}.receipt-fields{border-bottom:1px solid var(--line);grid-template-columns:145px 1fr 160px;gap:10px;padding-bottom:21px;display:grid}.line-items-heading{justify-content:space-between;align-items:center;margin:20px 0 10px;display:flex}.line-items-heading>div{flex-direction:column;display:flex}.line-items-heading strong{font-size:13px}.line-items-heading span{color:var(--muted);margin-top:3px;font-size:9px}.line-items-heading button{color:var(--accent);background:0 0;border:0;align-items:center;gap:4px;font-size:10px;font-weight:650;display:flex}.line-items{gap:8px;display:grid}.review-item{border:1px solid var(--line);background:#f7f5f0;border-radius:12px;grid-template-columns:24px 1fr 30px;align-items:end;gap:8px;padding:11px 9px;display:grid}.line-number{color:#a4a7a2;font-family:var(--font-geist-mono), monospace;align-self:center;font-size:9px}.item-fields{grid-template-columns:1.25fr 1fr 120px 66px 94px;gap:7px;display:grid}.item-fields input,.item-fields select{height:35px;padding:0 8px;font-size:10px}.remove-line{color:#999d98;background:0 0;border:0;border-radius:8px;place-items:center;width:28px;height:35px;display:grid}.remove-line:hover:not(:disabled){color:var(--danger);background:#f2dfdc}.form-error{color:#983d32;background:#f7e6e2;border-radius:8px;margin:12px 0 0;padding:9px 11px;font-size:10px}.review-footer{border-top:1px solid var(--line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fbfaf7f7;justify-content:space-between;align-items:center;gap:20px;margin:22px -24px -24px;padding:17px 24px;display:flex;position:sticky;bottom:0}.review-footer>div{grid-template-columns:auto auto;align-items:baseline;gap:3px 9px;display:grid}.review-footer span{color:var(--muted);text-transform:uppercase;letter-spacing:.07em;font-size:9px}.review-footer strong{font-size:19px}.review-footer em{color:#a46935;grid-column:1/-1;font-size:9px;font-style:normal}.spin{animation:.8s linear infinite spin}.toast{z-index:80;background:var(--strong);color:var(--on-strong);border-radius:11px;align-items:center;gap:8px;padding:11px 15px;font-size:11px;font-weight:600;display:flex;position:fixed;bottom:25px;right:25px;box-shadow:0 15px 40px #17211d42}:root[data-theme=dark] .ghost-button:hover{border-color:#587064}:root[data-theme=dark] .filter-shell{background:#151d19d6}:root[data-theme=dark] .search-field{color:#87968e}:root[data-theme=dark] .search-field input::placeholder{color:#738078}:root[data-theme=dark] .compact-field,:root[data-theme=dark] .filter-popover select,:root[data-theme=dark] .filter-popover input,:root[data-theme=dark] .receipt-fields input,:root[data-theme=dark] .item-fields input,:root[data-theme=dark] .item-fields select{border-color:var(--line);background:var(--surface-elevated);color:var(--ink)}:root[data-theme=dark] .filter-popover{box-shadow:0 22px 60px #00000070}:root[data-theme=dark] .connection-error{color:#ffb4a5;background:#34221e;border-color:#70483f}:root[data-theme=dark] .connection-error button{color:#fff4f1;background:#8d4e41}:root[data-theme=dark] .stat-card.ink p{color:#aebdb5}:root[data-theme=dark] .upload-panel{border-color:var(--line)}:root[data-theme=dark] .chart-empty{color:#7f8d85}:root[data-theme=dark] th{background:#1d2722}:root[data-theme=dark] .sort-button:hover{background:#26332d}:root[data-theme=dark] td{color:#b8c4bd;border-bottom-color:#27342e}:root[data-theme=dark] tbody tr:hover{background:#19231e}:root[data-theme=dark] .item-icon{background:#24342d}:root[data-theme=dark] .category-tag{color:#b6c2bb;background:#26322d}:root[data-theme=dark] .row-action{color:#77857d}:root[data-theme=dark] .row-action:hover{background:#3b2723}:root[data-theme=dark] .empty-ledger>div{background:#23332c}:root[data-theme=dark] .modal-backdrop{background:#030806c7}:root[data-theme=dark] .receipt-modal{border-color:var(--line);box-shadow:0 35px 100px #000000a6}:root[data-theme=dark] .modal-heading,:root[data-theme=dark] .review-footer{background:#151d19f0}:root[data-theme=dark] .receipt-preview,:root[data-theme=dark] .review-preview{background:#101713}:root[data-theme=dark] .ai-badge,:root[data-theme=dark] .processing-icon{background:#23352d}:root[data-theme=dark] .success-check{color:#87d6b3;background:#213a2f}:root[data-theme=dark] .processing-line{background:#2b3731}:root[data-theme=dark] .review-item{background:#19221e}:root[data-theme=dark] .remove-line{color:#7d8a83}:root[data-theme=dark] .remove-line:hover:not(:disabled){background:#412925}:root[data-theme=dark] .form-error{color:#ffad9e;background:#3b2420}:root[data-theme=dark] .review-footer em{color:#dfa66d}:root[data-theme=dark] .language-menu{box-shadow:0 24px 65px #00000073}:root[data-theme=dark] .dashboard-background:after{background:radial-gradient(circle at 48% 12%,#0000 4%,#0d141124 42%,#0d1411ad 100%)}:root[data-theme=dark] .dashboard-aurora span:first-child{background:#5b977d40}:root[data-theme=dark] .dashboard-aurora span:nth-child(2){background:#ff69461f}:root[data-theme=dark] .dashboard-aurora span:nth-child(3){background:#d8a65b1c}:root[data-theme=dark] .dashboard-background .ambient-geometry{opacity:.36}@keyframes spin{to{transform:rotate(360deg)}}@keyframes progress{0%{transform:translate(-110%)}to{transform:translate(250%)}}@keyframes dashboardAuroraDrift{0%{transform:translate(-6%,-4%)scale(.94)}to{transform:translate(11%,9%)scale(1.09)}}@media (max-width:1100px){.workspace{padding-inline:28px}.stat-grid{grid-template-columns:1fr 1fr}.dashboard-grid{grid-template-columns:1fr}.category-content{grid-template-columns:200px 1fr}.lower-grid{grid-template-columns:1fr 1fr}.item-fields{grid-template-columns:1fr 1fr 110px}.item-fields .quantity-field,.item-fields .money-field{grid-row:2}}@media (max-width:780px){.app-shell{padding-bottom:70px;display:block}.sidebar{flex-direction:row;width:100%;height:62px;padding:9px 15px;inset:auto 0 0}.brand-mark{width:38px;height:38px}.sidebar nav{margin:0 auto;display:flex}.nav-item{width:38px;height:38px}.sidebar-add{margin:0}.user-badge{display:none}.workspace{padding:28px 17px 42px}.topbar{flex-direction:column;align-items:flex-start}.topbar-actions{flex-wrap:wrap;width:100%}.topbar-actions button{flex:1}.topbar-actions .auth-link-button{flex:auto}.topbar-actions .icon-account-button{flex:0 0 40px}.topbar-actions .theme-toggle{flex:0 0 42px}.topbar-actions .language-trigger,.topbar-actions .language-menu button{flex:none}.filter-shell{flex-wrap:wrap}.search-field{border-bottom:1px solid var(--line);flex-basis:100%;width:100%;height:38px}.compact-field{flex:1}.compact-field input{width:100%}.filter-button{margin-left:auto}.filter-popover{width:min(350px,100vw - 34px);right:0}.lower-grid,.receipt-start{grid-template-columns:1fr}.receipt-preview{max-height:320px}.receipt-start-copy{padding:30px 24px}.review-layout{grid-template-columns:1fr}.review-preview{height:250px;position:relative;top:0}.receipt-fields{grid-template-columns:1fr 1fr}.receipt-fields label:nth-child(2){grid-area:1/span 2}.modal-backdrop{padding:10px}.receipt-modal{max-height:calc(100vh - 20px)}.item-fields{grid-template-columns:1fr 1fr}.item-fields label:first-child{grid-column:1/-1}.item-fields .quantity-field,.item-fields .money-field{grid-row:auto}}@media (max-width:520px){.stat-grid{grid-template-columns:1fr}.stat-card{min-height:128px}.stat-card p{margin-bottom:16px}.category-content{grid-template-columns:1fr}.category-legend{grid-template-columns:1fr 1fr}.date-separator{display:none}.compact-field{min-width:calc(50% - 5px)}.filter-button{justify-content:center;width:100%}.receipt-fields{grid-template-columns:1fr}.receipt-fields label:nth-child(2){grid-area:auto}.review-form{padding:17px}.review-footer{flex-direction:column;align-items:stretch;margin:20px -17px -17px;padding:14px 17px}.review-footer>div{justify-content:space-between}.review-item{grid-template-columns:20px 1fr}.remove-line{grid-column:2;justify-self:end;height:26px}.item-fields{grid-template-columns:1fr}.item-fields label:first-child{grid-column:auto}.toast{justify-content:center;bottom:75px;left:15px;right:15px}}@media (prefers-reduced-motion:reduce){.dashboard-aurora span{animation:none}.dashboard-background .ambient-geometry{opacity:.3}}@property --tw-border-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}
