:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--brand-navy:#0f2d5b;--brand-navy-hover:#0b244a;--brand-navy-active:#06172f;--brand-navy-light:#193b65;--brand-gold:#d4a853;--brand-cream:#f8f6ef;--brand-charcoal:#1f2329;--brand-logo-gradient:linear-gradient(45deg, #06172f 0%, #0a2143 98%, #0f2d5b 100%);--surface-page:var(--brand-cream);--surface-panel:#fff;--surface-subtle:#f0eee7;--surface-empty:#f0eee7;--surface-loading:#f0eee7;--surface-disabled:#e8e7e0;--surface-selected:#f3e9d0;--surface-readonly:#f0eee7;--surface-invalid:#fdedec;--surface-success:#eaf4ef;--surface-warning:#fff3cc;--surface-error:#fdedec;--surface-info:#e7f2f2;--text-primary:var(--brand-charcoal);--text-secondary:#536070;--text-muted:#5b626d;--text-disabled:#5b626d;--text-on-primary:var(--brand-cream);--text-on-accent:var(--brand-navy);--text-selected:var(--brand-navy);--text-readonly:#3e4650;--text-invalid:#8c1d18;--text-success:#176b4d;--text-warning:#7a4e00;--text-error:#8c1d18;--text-info:#155d6a;--border-default:#7c8490;--border-subtle:#d8d5cd;--border-strong:var(--brand-navy);--border-disabled:#a6a7a4;--border-readonly:#7c8490;--border-invalid:#8c1d18;--border-success:#176b4d;--border-warning:#7a4e00;--border-error:#8c1d18;--border-info:#155d6a;--action-primary:var(--brand-navy);--action-primary-hover:var(--brand-navy-hover);--action-primary-active:var(--brand-navy-active);--action-primary-text:var(--brand-cream);--action-accent:var(--brand-gold);--action-accent-hover:#c9a04d;--action-accent-active:#c29236;--action-accent-text:var(--brand-navy);--focus-ring:var(--brand-navy);--focus-gap:var(--surface-panel);--state-default-surface:var(--surface-panel);--state-default-text:var(--text-primary);--state-default-border:var(--border-default);--state-hover-surface:var(--brand-navy-hover);--state-hover-text:var(--brand-cream);--state-hover-border:var(--brand-navy-hover);--state-active-surface:var(--brand-navy-active);--state-active-text:var(--brand-cream);--state-active-border:var(--brand-navy-active);--state-focus-ring:var(--focus-ring);--state-disabled-surface:var(--surface-disabled);--state-disabled-text:var(--text-disabled);--state-disabled-border:var(--border-disabled);--state-loading-surface:var(--surface-loading);--state-loading-text:var(--text-primary);--state-loading-border:var(--brand-navy-light);--state-empty-surface:var(--surface-empty);--state-empty-text:var(--text-secondary);--state-empty-border:var(--border-default);--state-selected-surface:var(--surface-selected);--state-selected-text:var(--text-selected);--state-selected-border:var(--brand-navy);--state-checked-surface:var(--surface-selected);--state-checked-text:var(--text-selected);--state-checked-border:var(--brand-navy);--state-readonly-surface:var(--surface-readonly);--state-readonly-text:var(--text-readonly);--state-readonly-border:var(--border-readonly);--state-invalid-surface:var(--surface-invalid);--state-invalid-text:var(--text-invalid);--state-invalid-border:var(--border-invalid);--state-success-surface:var(--surface-success);--state-success-text:var(--text-success);--state-warning-surface:var(--surface-warning);--state-warning-text:var(--text-warning);--state-error-surface:var(--surface-error);--state-error-text:var(--text-error);--state-info-surface:var(--surface-info);--state-info-text:var(--text-info)}*{box-sizing:border-box}:root{color:var(--text-primary);background:var(--surface-page);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;font-family:Leelawadee UI,Tahoma,Noto Sans Thai,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}html{background:var(--surface-page);min-width:320px;min-height:100%}body{min-width:320px;min-height:100dvh;color:var(--text-primary);margin:0}button,input,select,textarea{font:inherit}button{color:inherit}button,a,summary{min-width:44px;min-height:44px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.56}.demo-viewport{background:radial-gradient(ellipse at 82% 4%, #d4a85324, transparent 31rem), var(--surface-page);min-height:100dvh;padding:0}.demo-phone{background:var(--surface-panel);flex-direction:column;width:min(100%,440px);min-height:100dvh;margin:0 auto;display:flex;box-shadow:0 16px 54px #0f2d5b17}.app-header{border-bottom:1px solid var(--border-subtle);background:var(--surface-panel);justify-content:space-between;align-items:center;min-height:64px;padding:10px 20px;display:flex}.brand-lockup{cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;min-height:44px;padding:0;display:inline-flex}.brand-mark,.plan-mark{background:var(--brand-navy);width:34px;height:34px;color:var(--brand-cream);border-radius:12px;place-items:center;font-size:18px;font-weight:800;display:grid}.brand-name{color:var(--brand-navy);letter-spacing:-.025em;font-size:19px;font-weight:800}.demo-badge{color:#74571a;white-space:nowrap;background:#fbf4e5;border:1px solid #eadbb9;border-radius:999px;align-items:center;gap:7px;min-height:28px;padding:4px 10px;font-size:11px;font-weight:700;display:inline-flex}.demo-badge>span{background:var(--brand-gold);border-radius:50%;width:7px;height:7px}.header-actions{flex:none;align-items:center;gap:8px;display:inline-flex}.profile-avatar{border:1px solid var(--border-subtle);background:var(--surface-selected);object-fit:cover;border-radius:50%;flex:0 0 36px;width:36px;height:36px;display:block;overflow:hidden}.app-context-line{min-height:32px;color:var(--text-muted);justify-content:space-between;padding:8px 20px 0;font-size:11px;display:flex}.app-context-line span:first-child{color:var(--brand-navy);font-weight:700}.global-notice{padding:0 16px}.global-notice:empty{display:none}.screen-stack{flex-direction:column;flex:1;display:flex}.page{gap:16px;padding:18px 18px 26px;display:grid}.page[hidden]{display:none}.page--welcome{flex:1;align-content:center;justify-items:start;gap:14px;padding-top:25px;padding-bottom:30px}.page-title{justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;display:flex}.page-title h1,.page--welcome h1{color:var(--brand-navy);letter-spacing:-.035em;margin:0;font-size:clamp(25px,6.5vw,31px);font-weight:800;line-height:1.3}.page-title>div{min-width:0}.page-description{margin:5px 0 0;font-size:13px;line-height:1.55}.eyebrow{color:var(--text-secondary);letter-spacing:.08em;margin:0 0 5px;font-size:10px;font-weight:800}.muted{color:var(--text-secondary)}.lead{max-width:32ch;color:var(--text-secondary);margin:0;font-size:15px;line-height:1.75}.welcome-art{width:100%;height:142px;margin-bottom:8px;position:relative}.welcome-art__paper{border:1px solid var(--border-subtle);background:var(--surface-panel);border-radius:16px;width:118px;height:140px;position:absolute;box-shadow:0 12px 26px #0f2d5b1c}.welcome-art__paper--back{background:var(--surface-selected);top:7px;left:calc(50% - 28px);transform:rotate(10deg)}.welcome-art__paper--front{flex-direction:column;gap:10px;padding:20px 16px;display:flex;top:0;left:calc(50% - 74px);transform:rotate(-7deg)}.welcome-art__paper--front span{background:var(--border-subtle);border-radius:5px;height:5px}.welcome-art__paper--front span:first-child{background:var(--brand-gold);width:61%}.welcome-art__paper--front strong{color:var(--brand-navy);align-self:flex-end;margin-top:4px;font-size:31px}.welcome-art__coin{border:4px solid var(--surface-panel);background:var(--brand-gold);width:49px;height:49px;color:var(--brand-navy);border-radius:50%;place-items:center;font-size:20px;font-weight:800;display:grid;position:absolute;top:74px;left:calc(50% + 33px);box-shadow:0 8px 20px #0f2d5b26}.welcome-points{width:100%;color:var(--text-primary);gap:10px;margin:7px 0 5px;font-size:13px;display:grid}.welcome-points>div{align-items:center;gap:10px;display:flex}.point-mark{background:var(--surface-selected);width:27px;height:27px;color:var(--brand-navy);border-radius:9px;flex:none;place-items:center;font-size:10px;font-weight:800;display:grid}.privacy-note{color:var(--text-muted);margin:0;font-size:10px;line-height:1.55}.text-button,.inline-link,.sample-link{min-width:44px;min-height:44px;color:var(--brand-navy);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;gap:6px;padding:5px 7px;font-size:12px;font-weight:700;text-decoration:none;display:inline-flex}.text-button--danger{color:var(--text-error)}.page--welcome .text-button{justify-self:center;width:100%}.button{cursor:pointer;border:1px solid #0000;border-radius:14px;justify-content:center;align-items:center;gap:9px;width:100%;min-height:48px;padding:11px 16px;font-size:14px;font-weight:750;transition:background-color .12s,transform .12s;display:inline-flex}.button:active:not(:disabled){transform:translateY(1px)}.button--primary{background:var(--action-primary);color:var(--action-primary-text)}.button--primary:hover:not(:disabled){background:var(--action-primary-hover)}.button--secondary{border-color:var(--border-default);background:var(--surface-panel);color:var(--brand-navy)}.button--secondary:hover:not(:disabled){background:var(--surface-subtle)}.button--quiet{color:var(--brand-navy);background:0 0}.button--danger{background:var(--text-error);color:#fff}.card{border:1px solid var(--border-subtle);background:var(--surface-panel);border-radius:18px;min-width:0;padding:16px;box-shadow:0 3px 12px #0f2d5b08}.card h2,.modal-card h2{color:var(--brand-navy);margin:0;font-size:16px;font-weight:800;line-height:1.4}.form-stack{gap:14px;display:grid}.field{gap:6px;min-width:0;display:grid}.field__label{color:var(--text-primary);font-size:12px;font-weight:700}.field input,.field select,.field textarea{border:1px solid var(--border-default);background:var(--surface-panel);width:100%;min-width:0;min-height:44px;color:var(--text-primary);border-radius:11px;padding:9px 11px;font-size:13px}.field input::placeholder{color:var(--text-muted);opacity:.8}.field__hint{color:var(--text-muted);margin:0;font-size:10px;line-height:1.5}.field-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0;display:grid}.form-actions{flex-wrap:wrap;gap:9px;display:flex}.form-actions>.button{flex:135px}.form-actions--split>.button:first-child{flex:120px}.form-error{border:1px solid var(--border-error);background:var(--surface-error);color:var(--text-error);border-radius:12px;margin:0;padding:11px 12px;font-size:12px;line-height:1.55}.notice{border:1px solid var(--border-subtle);background:var(--surface-info);color:var(--text-info);border-radius:12px;margin:8px 0 0;padding:10px 12px;font-size:12px;line-height:1.5}.notice--success{border-color:var(--border-success);background:var(--surface-success);color:var(--text-success)}.notice--error{border-color:var(--border-error);background:var(--surface-error);color:var(--text-error)}.icon-button{border:1px solid var(--border-subtle);background:var(--surface-panel);width:44px;height:44px;color:var(--brand-navy);cursor:pointer;border-radius:13px;flex:none;place-items:center;display:grid}.balance-card{background:var(--brand-navy);color:var(--brand-cream);border:0;gap:14px;padding:18px;display:grid;box-shadow:0 12px 26px #0f2d5b24}.balance-card__top,.balance-card__bottom{color:#f8f6efc7;justify-content:space-between;align-items:center;gap:8px;font-size:11px;display:flex}.balance-card__month{border:1px solid #f8f6ef40;border-radius:999px;padding:5px 9px}.balance-value{color:#fff;letter-spacing:-.035em;font-size:clamp(29px,8vw,38px);font-weight:800;line-height:1.15}.balance-link{color:var(--brand-cream);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:4px 0;font-size:11px;font-weight:700;display:inline-flex}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;display:grid}.metric-card{border:1px solid var(--border-subtle);background:var(--surface-panel);text-align:left;cursor:pointer;border-radius:16px;justify-items:start;gap:4px;min-height:108px;padding:13px;display:grid}.metric-card--review{background:#fcf8ef;border-color:#e7d5ac}.metric-icon{background:var(--surface-selected);width:29px;height:29px;color:var(--brand-navy);border-radius:10px;place-items:center;display:grid}.metric-icon--muted{background:var(--surface-subtle);color:var(--text-secondary)}.metric-number{color:var(--brand-navy);font-size:22px;font-weight:800;line-height:1}.metric-label{color:var(--text-secondary);font-size:11px}.review-callout{background:#fffcf5;border-color:#eadbb9;align-items:center;gap:11px;display:flex}.callout-icon{background:var(--brand-gold);width:32px;height:32px;color:var(--brand-navy);border-radius:50%;flex:none;place-items:center;font-weight:900;display:grid}.callout-copy{flex:1;min-width:0}.callout-copy strong{color:var(--brand-navy);font-size:12px}.callout-copy p{color:var(--text-secondary);margin:3px 0 0;font-size:10px}.round-arrow{background:var(--surface-selected);width:44px;height:44px;color:var(--brand-navy);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;display:grid}.section-heading{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.section-heading h2{color:var(--brand-navy);margin:0;font-size:15px;font-weight:800}.section-heading--tight{align-items:flex-start}.list-card{gap:0;padding:0 14px;display:grid;overflow:hidden}.expense-row{border:0;border-bottom:1px solid var(--border-subtle);text-align:left;cursor:pointer;background:0 0;align-items:center;gap:10px;width:100%;min-height:68px;padding:10px 0;display:flex}.expense-row:last-of-type{border-bottom:0}.merchant-avatar{background:var(--surface-subtle);width:37px;height:37px;color:var(--brand-navy);border-radius:13px;flex:none;place-items:center;font-size:14px;font-weight:800;display:grid}.expense-row__main{flex:1;gap:3px;min-width:0;display:grid}.expense-row__main strong{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.expense-row__main small{color:var(--text-muted);font-size:9px}.expense-row__amount{color:var(--brand-navy);white-space:nowrap;font-size:11px}.quick-grid{gap:3px;display:grid}.quick-link{border:1px solid var(--border-subtle);background:var(--surface-panel);min-height:46px;color:var(--text-primary);cursor:pointer;border-radius:12px;align-items:center;gap:9px;padding:7px 10px;font-size:12px;font-weight:650;display:flex}.quick-link>span:first-child{background:var(--surface-subtle);width:26px;height:26px;color:var(--brand-navy);border-radius:8px;place-items:center;display:grid}.quick-link>svg:last-child{color:var(--text-muted);margin-left:auto}.empty-state{min-height:130px;color:var(--text-primary);text-align:center;align-content:center;justify-items:center;gap:7px;padding:18px;display:grid}.empty-state strong,.empty-state p{margin:0;font-size:13px}.empty-state>span:last-child{font-size:11px}.document-glyph{background:var(--surface-subtle);width:44px;height:44px;color:var(--brand-navy);border-radius:14px;place-items:center;display:grid}.upload-zone{border:1px dashed var(--border-default);background:var(--surface-subtle);text-align:center;justify-items:center;gap:9px;padding:22px 17px;display:grid}.upload-zone>strong{color:var(--brand-navy);font-size:14px}.upload-zone>p{max-width:30ch;color:var(--text-secondary);margin:0;font-size:11px;line-height:1.55}.upload-zone__icon{background:var(--surface-selected);width:48px;height:48px;color:var(--brand-navy);border-radius:16px;place-items:center;display:grid}.file-picker{width:auto;min-width:140px;position:relative;overflow:hidden}.file-picker input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.file-picker:focus-within{outline:3px solid var(--focus-ring);outline-offset:2px}.file-picker input:focus-visible{outline:none}.upload-divider{width:100%;color:var(--text-muted);align-items:center;gap:10px;font-size:10px;display:flex}.upload-divider:before,.upload-divider:after{background:var(--border-subtle);content:"";flex:1;height:1px}.sample-link{border:1px solid var(--border-subtle);background:var(--surface-panel);text-align:left;border-radius:12px;justify-content:flex-start;width:100%;min-height:55px;padding:7px 9px;display:flex}.sample-link__mark,.file-pill{background:var(--surface-selected);min-width:35px;height:31px;color:var(--brand-navy);border-radius:9px;place-items:center;padding:0 7px;font-size:9px;font-weight:800;display:grid}.sample-link>span:nth-child(2){flex:1;gap:3px;display:grid}.sample-link strong{font-size:11px}.sample-link small{color:var(--text-secondary);font-size:9px}.quota-hint{color:var(--text-secondary);align-items:center;gap:9px;padding:12px;font-size:10px;display:flex}.quota-hint strong{color:var(--brand-navy);white-space:nowrap;margin-left:auto}.quota-hint__icon{background:var(--surface-selected);width:31px;height:31px;color:var(--brand-navy);border-radius:10px;place-items:center;display:grid}.selected-file-card{gap:13px;display:grid}.selected-file-meta{align-items:center;gap:9px;min-width:0;display:flex}.selected-file-meta>span:last-child{gap:3px;min-width:0;display:grid}.selected-file-meta strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.selected-file-meta small{color:var(--text-muted);font-size:9px}.receipt-preview{background:repeating-linear-gradient(0deg,#0000 0 29px,#0f2d5b08 30px),#fffefa;border:1px solid #e8e4d8;border-radius:12px;gap:8px;width:100%;padding:16px 15px;display:grid;box-shadow:inset 0 0 0 4px #fff}.receipt-preview__top,.receipt-preview__row{color:var(--text-secondary);justify-content:space-between;align-items:baseline;gap:10px;font-size:10px;display:flex}.receipt-preview__top{color:var(--text-muted);font-size:8px}.receipt-preview__stamp{border:1px solid var(--border-subtle);border-radius:5px;padding:3px 6px}.receipt-preview h3{color:var(--brand-navy);text-align:center;margin:5px 0 0;font-size:15px}.receipt-preview>p{color:var(--text-muted);text-align:center;margin:0;font-size:9px}.receipt-preview__divider{border-top:1px dashed var(--border-default);height:1px;margin:1px 0}.receipt-preview__row span:first-child{text-overflow:ellipsis;min-width:0;overflow:hidden}.receipt-preview__total{color:var(--brand-navy);font-size:12px}.file-preview{gap:8px;display:grid}.file-preview__image{object-fit:contain;border:1px solid var(--border-subtle);background:var(--surface-subtle);border-radius:12px;width:100%;max-height:370px;display:block}.file-preview__pdf{border:1px solid var(--border-subtle);background:var(--surface-subtle);border-radius:12px;width:100%;height:310px}.inline-link{color:var(--brand-navy);text-underline-offset:2px;text-decoration:underline}.filter-scroll{scrollbar-width:none;gap:7px;margin:0 -18px;padding:0 18px 2px;display:flex;overflow-x:auto}.filter-scroll::-webkit-scrollbar{display:none}.filter-chip{border:1px solid var(--border-subtle);background:var(--surface-panel);min-height:44px;color:var(--text-secondary);cursor:pointer;border-radius:999px;flex:none;padding:6px 12px;font-size:10px;font-weight:700}.filter-chip.is-active{border-color:var(--brand-navy);background:var(--brand-navy);color:var(--brand-cream)}.document-list{gap:10px;display:grid}.document-card{gap:8px;padding:12px;display:grid}.document-card__main{text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:9px;min-width:0;min-height:44px;padding:0;display:flex}.document-card__copy{flex:1;gap:3px;min-width:0;display:grid}.document-card__copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.document-card__copy small{color:var(--text-muted);font-size:9px}.status-badge{background:var(--surface-subtle);min-height:24px;color:var(--text-secondary);border-radius:999px;flex:none;align-items:center;padding:3px 8px;font-size:9px;font-weight:750;display:inline-flex}.status-badge--pendingReview,.status-badge--possibleDuplicate,.status-badge--quotaBlocked{background:var(--surface-warning);color:var(--text-warning)}.status-badge--processing{background:var(--surface-info);color:var(--text-info)}.status-badge--confirmed{background:var(--surface-success);color:var(--text-success)}.status-badge--failed{background:var(--surface-error);color:var(--text-error)}.document-card__actions{border-top:1px solid var(--border-subtle);justify-content:space-between;align-items:center;gap:8px;min-height:37px;display:flex}.small-copy{font-size:9px}.modal-card{border:1px solid var(--border-subtle);background:var(--surface-panel);border-radius:22px;gap:13px;width:min(100%,416px);max-height:min(86vh,760px);margin:auto;padding:18px;display:grid;position:fixed;inset:0;overflow:auto;box-shadow:0 24px 72px #0f2d5b3b}.modal-card::backdrop{background:#0f172a6b}.modal-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.modal-file-name{overflow-wrap:anywhere;margin:0;font-size:12px;font-weight:700}.modal-card--confirm>p{color:var(--text-secondary);margin:0;font-size:12px;line-height:1.7}.confirm-mark{background:var(--surface-selected);width:40px;height:40px;color:var(--brand-navy);border-radius:14px;place-items:center;display:grid}.modal-card--confirm:has(.confirm-mark) h2{margin-top:-3px}.review-source-card,.review-fields-card,.review-items-card{gap:14px;display:grid}.review-source-card .section-heading h2{text-overflow:ellipsis;white-space:nowrap;max-width:220px;overflow:hidden}.ai-chip{background:var(--surface-info);color:var(--text-info);white-space:nowrap;border-radius:999px;padding:4px 8px;font-size:9px;font-weight:700}.input--low-confidence{border-color:var(--border-warning)!important;background:var(--surface-warning)!important}.field-warning{background:var(--surface-warning);color:var(--text-warning);border-radius:10px;gap:2px;margin:-5px 0 0;padding:9px 11px;font-size:10px;display:grid}.field-warning span{font-size:9px}.line-item-list{gap:10px;display:grid}.line-item-editor{grid-template-columns:minmax(0,1fr) minmax(88px,.56fr) 44px;align-items:end;gap:7px;min-width:0;display:grid}.line-item-editor .field__label{font-size:10px}.line-item-editor .field input{padding-left:8px;padding-right:7px;font-size:11px}.remove-line{background:var(--surface-error);width:44px;height:44px;color:var(--text-error);cursor:pointer;border:0;border-radius:10px;place-items:center;display:grid}.add-line-button{min-height:44px;color:var(--brand-navy);cursor:pointer;background:0 0;border:0;justify-self:start;align-items:center;gap:6px;padding:5px 8px;font-size:11px;font-weight:750;display:inline-flex}.calculation-box{background:var(--surface-subtle);border-radius:13px;gap:8px;padding:13px;display:grid}.calculation-box>div,.detail-totals>div{color:var(--text-secondary);justify-content:space-between;gap:12px;font-size:11px;display:flex}.calculation-box strong,.detail-totals strong{color:var(--text-primary);text-align:right;font-weight:750}.calculation-box__total,.detail-totals__grand{border-top:1px solid var(--border-default);padding-top:9px;font-weight:800;color:var(--brand-navy)!important;font-size:13px!important}.calculation-box__total strong,.detail-totals__grand strong{color:var(--brand-navy);font-size:15px}.details-card{gap:12px;display:grid}.detail-line{color:var(--text-secondary);justify-content:space-between;gap:14px;font-size:11px;display:flex}.detail-line strong{max-width:62%;color:var(--text-primary);text-align:right;overflow-wrap:anywhere;font-weight:700}.detail-items,.detail-totals{border-top:1px solid var(--border-subtle);gap:10px;padding-top:12px;display:grid}.detail-items>strong{color:var(--brand-navy);font-size:12px}.expense-total-card,.monthly-total-card{background:#fcf8ef;border-color:#e4d3a9;gap:6px;padding:17px;display:grid}.expense-total-card>span:first-child,.monthly-total-card>span:first-child{color:var(--text-secondary);font-size:11px}.expense-total-card>strong,.monthly-total-card>strong{color:var(--brand-navy);letter-spacing:-.03em;font-size:30px;font-weight:850}.confirmed-mark{color:var(--text-success);align-items:center;gap:4px;font-size:10px;font-weight:700;display:inline-flex}.original-card{gap:13px;display:grid}.history-filters{gap:12px;display:grid}.history-total{color:var(--text-secondary);justify-content:space-between;padding:0 2px;font-size:11px;display:flex}.history-total strong{color:var(--brand-navy);font-size:13px}.monthly-total-card>span:last-child{color:var(--text-muted);font-size:10px}.comparison-card{justify-content:space-between;align-items:center;gap:12px;display:flex}.comparison-card>div{gap:4px;display:grid}.comparison-card>div span{color:var(--text-secondary);font-size:10px}.comparison-card>div strong{color:var(--brand-navy);font-size:16px}.comparison-pill{background:var(--surface-subtle);color:var(--text-secondary);border-radius:999px;padding:6px 9px;font-size:10px;font-weight:750}.comparison-pill--up{background:var(--surface-warning);color:var(--text-warning)}.category-card,.category-bars{gap:14px;display:grid}.category-bar-row{gap:6px;display:grid}.category-bar-meta{color:var(--text-secondary);justify-content:space-between;gap:10px;font-size:10px;display:flex}.category-bar-meta strong{color:var(--text-primary);font-size:10px}.category-bar-track,.quota-progress{background:var(--surface-subtle);border-radius:99px;height:7px;overflow:hidden}.category-bar-track span,.quota-progress span{border-radius:inherit;background:var(--brand-navy);height:100%;display:block}.export-range-card{gap:13px;display:grid}.export-count{border-top:1px solid var(--border-subtle);color:var(--text-secondary);justify-content:space-between;margin:0;padding-top:12px;font-size:11px;display:flex}.export-count strong{color:var(--brand-navy)}.export-preview{gap:11px;display:grid}.export-row{border-bottom:1px solid var(--border-subtle);justify-content:space-between;align-items:center;gap:12px;min-height:51px;font-size:10px;display:flex}.export-row>span{gap:3px;min-width:0;display:grid}.export-row>span strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.export-row small{color:var(--text-muted);font-size:9px}.export-row>strong{color:var(--brand-navy);white-space:nowrap}.plan-card{background:linear-gradient(145deg,#fffdf7,#f8f6ef);border-color:#e4d3a9;gap:12px;padding:18px;display:grid}.plan-card__top{justify-content:space-between;align-items:center;display:flex}.plan-card .eyebrow{margin:1px 0 -7px}.plan-card h2{font-size:22px}.plan-card>p:not(.eyebrow){margin:-3px 0 4px;font-size:10px;line-height:1.5}.plan-status{background:var(--surface-success);color:var(--text-success);border-radius:999px;padding:5px 9px;font-size:9px;font-weight:750}.plan-status.cancelled{background:var(--surface-error);color:var(--text-error)}.quota-progress-label{color:var(--text-secondary);justify-content:space-between;font-size:10px;display:flex}.quota-progress-label strong{color:var(--brand-navy)}.subscription-info{gap:13px;display:grid}.settings-card{gap:14px;display:grid}.toggle-row{justify-content:space-between;align-items:center;gap:12px;min-height:44px;display:flex}.toggle-row>span{gap:3px;display:grid}.toggle-row strong{font-size:12px}.toggle-row small{color:var(--text-muted);font-size:9px}.toggle-row input{width:43px;height:24px;accent-color:var(--brand-navy)}.settings-links{gap:7px;display:grid}.privacy-card{border-color:var(--border-subtle);background:var(--surface-subtle)}.privacy-card p{color:var(--text-secondary);margin:8px 0 0;font-size:11px;line-height:1.7}.help-card details{color:var(--text-primary)}.help-card summary{min-height:44px;color:var(--brand-navy);cursor:pointer;align-content:center;font-size:12px;font-weight:750}.help-card ol{color:var(--text-secondary);gap:7px;margin:8px 0 0;padding-left:20px;font-size:11px;line-height:1.5;display:grid}.bottom-nav{z-index:3;min-height:62px;padding:6px 10px calc(7px + env(safe-area-inset-bottom));border-top:1px solid var(--border-subtle);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff5;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;position:sticky;bottom:0}.nav-item{min-width:0;min-height:48px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:12px;align-content:center;justify-items:center;gap:2px;padding:3px 2px;font-size:9px;font-weight:650;display:grid}.nav-item.is-active{background:var(--surface-selected);color:var(--brand-navy);font-weight:800}.nav-icon{place-items:center;min-height:20px;font-size:20px;line-height:1;display:grid}.nav-icon--more{letter-spacing:1px;font-size:14px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;padding:0;position:absolute;overflow:hidden}@media (width>=600px){.demo-viewport{min-height:100dvh;padding:26px 12px}.demo-phone{border:1px solid #0f2d5b1a;border-radius:26px;min-height:min(860px,100dvh - 52px);overflow:clip}.app-header{border-radius:25px 25px 0 0}.modal-card{width:min(100% - 24px,416px);margin:auto;inset:0}}@media (width<=599px){.modal-card{border-radius:22px;width:min(100% - 24px,416px);margin:0 auto;inset:auto 0 10px}}@media (width<=360px){.app-header,.page{padding-left:14px;padding-right:14px}.page-title h1,.page--welcome h1{font-size:25px}.card{padding:13px}.filter-scroll{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.line-item-editor{grid-template-columns:minmax(0,1fr) minmax(74px,.54fr) 28px;gap:5px}}
