/*! 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,::backdrop{--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans: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;--text-xs:.75rem;--text-sm:.875rem;--text-lg:1.125rem;--text-xl:1.25rem;--text-2xl:1.5rem;--text-3xl:1.875rem;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;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]){appearance:button}::file-selector-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{.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.start{inset-inline-start:var(--spacing)}.\!end{inset-inline-end:var(--spacing)!important}.end{inset-inline-end:var(--spacing)}.top-14{top:calc(var(--spacing) * 14)}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.shrink{flex-shrink:1}.resize{resize:both}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);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,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}@font-face{font-family:Archivo;font-style:normal;font-weight:100 900;font-stretch:62% 125%;font-display:swap;src:url(/fonts/archivo.woff2)format("woff2")}:root{--light-ink:#1b1917;--light-muted:#645b53;--light-line:#e0d6cb;--light-paper:#f2ece4;--light-white:#fbf8f4;--light-brand:#a8432b;--light-brand-dark:#7d3220;--light-brand-light:#c9846b;--light-highlight:#f4e4d9;--light-tint:#eee5da;--light-danger:#8c1d18;--light-positive:#2b5b4e;--light-muted-strong:#4b433d;--light-muted-faint:#7a7068;--light-line-strong:#cfc2b4;--light-line-soft:#ece4da;--light-on-brand-muted:#f3e2dc;--light-chart-axis:#b3a493;--light-discretionary-segment:#0e0c0b;--light-danger-surface:#fdf1ee;--light-danger-surface-strong:#f7e7e0;--light-danger-border:#f0ded8;--light-danger-border-strong:#e6c9c0;--light-highlight-surface:#f9efe6;--light-highlight-strong:#a8432b;--light-neutral-surface:#ece4da;--light-neutral-surface-alt:#f7f2ec;--light-hatch-line:#cfc2b4;--light-card-sheen:#f7f2ec;--light-warn-surface:#f9f0dd;--light-warn-border:#e6d8bd;--light-warn-ink:#6f5b30;--light-ink-rgb:27, 25, 23;--light-brand-rgb:168, 67, 43;--light-highlight-rgb:168, 67, 43;--light-danger-rgb:140, 29, 24;--light-positive-rgb:43, 91, 78;--light-paper-rgb:242, 236, 228;--light-surface-rgb:251, 248, 244;--light-shadow-rgb:50, 36, 26;--light-shadow-strength:1;--light-invert-surface:#1b1917;--light-invert-ink:#f2ece4;--light-invert-ink-rgb:242, 236, 228;--light-on-highlight:#1b1917;--light-accent-ink:#a8432b;--light-accent-ink-strong:#7d3220;--light-on-tint:#7d3220;--light-focus-ring:#7d3220;--light-focus-ring-inverse:#f0c3ad;--dark-ink:#ece4da;--dark-muted:#a89c91;--dark-line:#372f29;--dark-paper:#17140f;--dark-white:#211c17;--dark-brand:#a8432b;--dark-brand-dark:#8a3522;--dark-brand-light:#d18a70;--dark-highlight:#2f261f;--dark-tint:#2e2721;--dark-danger:#e8a097;--dark-positive:#7fb3a1;--dark-muted-strong:#c4b8ac;--dark-muted-faint:#8b8076;--dark-line-strong:#4a4039;--dark-line-soft:#2c2521;--dark-on-brand-muted:#f3e2dc;--dark-chart-axis:#6b5d52;--dark-danger-surface:#2a1a17;--dark-danger-surface-strong:#35211c;--dark-danger-border:#4a2f28;--dark-danger-border-strong:#5c3a31;--dark-highlight-surface:#2a201a;--dark-highlight-strong:#c8674b;--dark-neutral-surface:#221d18;--dark-neutral-surface-alt:#1d1914;--dark-hatch-line:#4a4039;--dark-card-sheen:#1f1a15;--dark-warn-surface:#2a2317;--dark-warn-border:#453a25;--dark-warn-ink:#d8c48f;--dark-ink-rgb:236, 228, 218;--dark-brand-rgb:200, 103, 75;--dark-highlight-rgb:200, 103, 75;--dark-danger-rgb:232, 160, 151;--dark-positive-rgb:127, 179, 161;--dark-paper-rgb:23, 20, 15;--dark-surface-rgb:33, 28, 23;--dark-shadow-rgb:0, 0, 0;--dark-shadow-strength:2.6;--dark-invert-surface:#ece4da;--dark-invert-ink:#17140f;--dark-invert-ink-rgb:23, 20, 15;--dark-on-highlight:#ece4da;--dark-accent-ink:#e0906f;--dark-accent-ink-strong:#eda586;--dark-on-tint:#e5a488;--dark-focus-ring:#e8b49c;--dark-focus-ring-inverse:#7d3220;--text-2xs:.6875rem;--text-xs:.78rem;--text-sm:.83rem;--text-md:.9rem;--text-lg:1rem;--text-xl:1.14rem;--text-2xl:1.38rem;--text-3xl:1.7rem;--text-4xl:2.5rem;--radius-xs:2px;--radius-sm:2px;--radius-md:2px;--radius-lg:3px;--radius-xl:3px;--radius-2xl:3px;--radius-pill:2px;--space-1:8px;--space-2:12px;--space-3:16px;--space-4:20px;--tap-min:44px;--font-sans:"Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--wdth-display:"wdth" 112;--wdth-amount:"wdth" 105;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--ink:var(--light-ink);--muted:var(--light-muted);--line:var(--light-line);--paper:var(--light-paper);--white:var(--light-white);--brand:var(--light-brand);--brand-dark:var(--light-brand-dark);--brand-light:var(--light-brand-light);--highlight:var(--light-highlight);--tint:var(--light-tint);--danger:var(--light-danger);--positive:var(--light-positive);--muted-strong:var(--light-muted-strong);--muted-faint:var(--light-muted-faint);--line-strong:var(--light-line-strong);--line-soft:var(--light-line-soft);--on-brand-muted:var(--light-on-brand-muted);--chart-axis:var(--light-chart-axis);--mandatory-segment:var(--light-brand);--discretionary-segment:var(--light-discretionary-segment);--danger-surface:var(--light-danger-surface);--danger-surface-strong:var(--light-danger-surface-strong);--danger-border:var(--light-danger-border);--danger-border-strong:var(--light-danger-border-strong);--highlight-surface:var(--light-highlight-surface);--highlight-strong:var(--light-highlight-strong);--neutral-surface:var(--light-neutral-surface);--neutral-surface-alt:var(--light-neutral-surface-alt);--hatch-line:var(--light-hatch-line);--card-sheen:var(--light-card-sheen);--warn-surface:var(--light-warn-surface);--warn-border:var(--light-warn-border);--warn-ink:var(--light-warn-ink);--ink-rgb:var(--light-ink-rgb);--brand-rgb:var(--light-brand-rgb);--highlight-rgb:var(--light-highlight-rgb);--danger-rgb:var(--light-danger-rgb);--positive-rgb:var(--light-positive-rgb);--paper-rgb:var(--light-paper-rgb);--surface-rgb:var(--light-surface-rgb);--shadow-rgb:var(--light-shadow-rgb);--shadow-strength:var(--light-shadow-strength);--invert-surface:var(--light-invert-surface);--invert-ink:var(--light-invert-ink);--invert-ink-rgb:var(--light-invert-ink-rgb);--on-highlight:var(--light-on-highlight);--accent-ink:var(--light-accent-ink);--accent-ink-strong:var(--light-accent-ink-strong);--on-tint:var(--light-on-tint);--focus-ring:var(--light-focus-ring);--focus-ring-inverse:var(--light-focus-ring-inverse)}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ink:var(--dark-ink);--muted:var(--dark-muted);--line:var(--dark-line);--paper:var(--dark-paper);--white:var(--dark-white);--brand:var(--dark-brand);--brand-dark:var(--dark-brand-dark);--brand-light:var(--dark-brand-light);--highlight:var(--dark-highlight);--tint:var(--dark-tint);--danger:var(--dark-danger);--positive:var(--dark-positive);--muted-strong:var(--dark-muted-strong);--muted-faint:var(--dark-muted-faint);--line-strong:var(--dark-line-strong);--line-soft:var(--dark-line-soft);--on-brand-muted:var(--dark-on-brand-muted);--chart-axis:var(--dark-chart-axis);--mandatory-segment:var(--dark-highlight-strong);--discretionary-segment:var(--dark-ink);--danger-surface:var(--dark-danger-surface);--danger-surface-strong:var(--dark-danger-surface-strong);--danger-border:var(--dark-danger-border);--danger-border-strong:var(--dark-danger-border-strong);--highlight-surface:var(--dark-highlight-surface);--highlight-strong:var(--dark-highlight-strong);--neutral-surface:var(--dark-neutral-surface);--neutral-surface-alt:var(--dark-neutral-surface-alt);--hatch-line:var(--dark-hatch-line);--card-sheen:var(--dark-card-sheen);--warn-surface:var(--dark-warn-surface);--warn-border:var(--dark-warn-border);--warn-ink:var(--dark-warn-ink);--ink-rgb:var(--dark-ink-rgb);--brand-rgb:var(--dark-brand-rgb);--highlight-rgb:var(--dark-highlight-rgb);--danger-rgb:var(--dark-danger-rgb);--positive-rgb:var(--dark-positive-rgb);--paper-rgb:var(--dark-paper-rgb);--surface-rgb:var(--dark-surface-rgb);--shadow-rgb:var(--dark-shadow-rgb);--shadow-strength:var(--dark-shadow-strength);--invert-surface:var(--dark-invert-surface);--invert-ink:var(--dark-invert-ink);--invert-ink-rgb:var(--dark-invert-ink-rgb);--on-highlight:var(--dark-on-highlight);--accent-ink:var(--dark-accent-ink);--accent-ink-strong:var(--dark-accent-ink-strong);--on-tint:var(--dark-on-tint);--focus-ring:var(--dark-focus-ring);--focus-ring-inverse:var(--dark-focus-ring-inverse)}}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ink:var(--dark-ink);--muted:var(--dark-muted);--line:var(--dark-line);--paper:var(--dark-paper);--white:var(--dark-white);--brand:var(--dark-brand);--brand-dark:var(--dark-brand-dark);--brand-light:var(--dark-brand-light);--highlight:var(--dark-highlight);--tint:var(--dark-tint);--danger:var(--dark-danger);--positive:var(--dark-positive);--muted-strong:var(--dark-muted-strong);--muted-faint:var(--dark-muted-faint);--line-strong:var(--dark-line-strong);--line-soft:var(--dark-line-soft);--on-brand-muted:var(--dark-on-brand-muted);--chart-axis:var(--dark-chart-axis);--mandatory-segment:var(--dark-highlight-strong);--discretionary-segment:var(--dark-ink);--danger-surface:var(--dark-danger-surface);--danger-surface-strong:var(--dark-danger-surface-strong);--danger-border:var(--dark-danger-border);--danger-border-strong:var(--dark-danger-border-strong);--highlight-surface:var(--dark-highlight-surface);--highlight-strong:var(--dark-highlight-strong);--neutral-surface:var(--dark-neutral-surface);--neutral-surface-alt:var(--dark-neutral-surface-alt);--hatch-line:var(--dark-hatch-line);--card-sheen:var(--dark-card-sheen);--warn-surface:var(--dark-warn-surface);--warn-border:var(--dark-warn-border);--warn-ink:var(--dark-warn-ink);--ink-rgb:var(--dark-ink-rgb);--brand-rgb:var(--dark-brand-rgb);--highlight-rgb:var(--dark-highlight-rgb);--danger-rgb:var(--dark-danger-rgb);--positive-rgb:var(--dark-positive-rgb);--paper-rgb:var(--dark-paper-rgb);--surface-rgb:var(--dark-surface-rgb);--shadow-rgb:var(--dark-shadow-rgb);--shadow-strength:var(--dark-shadow-strength);--invert-surface:var(--dark-invert-surface);--invert-ink:var(--dark-invert-ink);--invert-ink-rgb:var(--dark-invert-ink-rgb);--on-highlight:var(--dark-on-highlight);--accent-ink:var(--dark-accent-ink);--accent-ink-strong:var(--dark-accent-ink-strong);--on-tint:var(--dark-on-tint);--focus-ring:var(--dark-focus-ring);--focus-ring-inverse:var(--dark-focus-ring-inverse)}*{box-sizing:border-box}html{background:var(--paper)}body{background:var(--paper);color:var(--ink);font-family:var(--font-sans);font-feature-settings:"tnum" 1;-webkit-font-smoothing:antialiased;margin:0}:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px;border-radius:var(--radius-xs)}button,input,textarea,select{font:inherit}button{-webkit-tap-highlight-color:transparent}.app-shell{flex-direction:column;width:min(100%,620px);min-height:100dvh;margin:0 auto;display:flex}.capture-shell{height:100dvh;min-height:0;overflow:hidden}.screen{padding:0 var(--space-4) calc(84px + env(safe-area-inset-bottom))}.add-screen{gap:var(--space-1);min-height:0;padding:var(--space-1) 0 calc(60px + env(safe-area-inset-bottom));flex-direction:column;flex:1;display:flex}.add-screen>form{gap:var(--space-1);flex-direction:column;flex:1;min-height:0;display:flex}.add-fields{flex-direction:column;flex:1;justify-content:space-between;gap:6px;min-height:0;display:flex;overflow-y:auto}.add-screen .add-fields>.currency-switch{margin-top:0;margin-bottom:0}.keypad{flex:none}.add-screen .category-block{margin:0 var(--space-4) var(--space-1);flex:none}.add-screen .add-fields>*,.add-screen>.edit-banner,.add-screen>.stats-return-banner{margin-right:var(--space-4);margin-left:var(--space-4)}.add-fields>*{flex:none}.add-slot{min-height:var(--tap-min);align-items:center;gap:var(--space-1);display:flex}.add-slot-main{flex:auto;grid-template-areas:"slot";align-items:center;min-width:0;display:grid}.add-slot-main>*{grid-area:slot}.add-saved{justify-content:space-between;align-items:center;gap:var(--space-1);min-width:0;animation:.2s cubic-bezier(.2,.7,.3,1) stack-in;display:flex}.add-saved .add-saved-rule{transform-origin:0;animation:.2s cubic-bezier(.2,.7,.3,1) stack-rule-in}@keyframes stack-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes stack-rule-in{0%{transform:scaleX(0)}to{transform:scaleX(1)}}.add-saved-label{align-items:center;gap:var(--space-1);min-width:0;color:var(--muted);font-size:var(--text-xs);text-overflow:ellipsis;white-space:nowrap;font-weight:500;display:flex;overflow:hidden}.add-saved-rule{background:var(--line-strong);flex:none;width:14px;height:1px}.add-saved-actions{align-items:center;gap:var(--space-1);flex:none;display:flex}.add-saved-amount{color:var(--ink);font-size:var(--text-xs);white-space:nowrap;font-weight:600}.add-saved-actions button{min-width:var(--tap-min);min-height:var(--tap-min);color:var(--accent-ink);font-size:var(--text-2xs);text-underline-offset:3px;background:0 0;border:0;border-radius:0;flex:none;padding:0 4px;font-weight:600;text-decoration:underline}.add-today{justify-content:space-between;align-items:baseline;gap:var(--space-2);display:flex}.add-today .eyebrow{text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;overflow:hidden}.add-today-figure{color:var(--ink);font-size:var(--text-sm);white-space:nowrap;flex:0 auto;font-weight:600}.add-today-figure span{color:var(--muted);font-weight:500}.add-today-figure .is-positive{color:var(--positive);font-weight:600}.add-today-figure .is-danger{color:var(--danger);font-weight:600}.add-today-figure .is-muted-strong{color:var(--muted-strong);font-weight:600}.name-field{display:block}.name-field input{width:100%;min-height:var(--tap-min);border:1px solid var(--line);border-radius:var(--radius-sm);padding:0 var(--space-2);background:var(--white);color:var(--ink);font-size:var(--text-lg)}.category-block{gap:var(--space-1);flex-direction:column;display:flex}.category-head{justify-content:space-between;align-items:center;gap:var(--space-2);display:flex}.category-head .eyebrow{text-overflow:ellipsis;white-space:nowrap;flex:none;margin:0;overflow:hidden}.category-head-actions{align-items:center;gap:var(--space-2);flex:0 auto;min-width:0;display:flex}.category-head-actions .details-date{text-overflow:ellipsis;overflow:hidden}.category-head-actions button:not(.details-date){flex:none}.category-head-actions button{min-width:var(--tap-min);min-height:var(--tap-min);color:var(--muted);font-size:var(--text-xs);white-space:nowrap;background:0 0;border:0;border-radius:0;padding:0;font-weight:600}.category-head-actions .category-all-toggle,.category-head-actions button.has-detail{color:var(--accent-ink)}.detail-dot{background:var(--brand);vertical-align:1px;border-radius:50%;width:5px;height:5px;margin-left:5px;display:inline-block}.category-strip{scroll-behavior:smooth;gap:6px;padding-bottom:2px;display:flex;overflow-x:auto;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 24px),#0000 100%);mask-image:linear-gradient(90deg,#000 calc(100% - 24px),#0000 100%)}.stay-hint{color:var(--muted);font-size:var(--text-2xs);margin:2px 0 0;line-height:1.45}.stay-hint button{color:var(--accent-ink);font:inherit;text-underline-offset:2px;background:0 0;border:0;padding:0;font-weight:600;text-decoration:underline;position:relative}.stay-hint button:after{content:"";position:absolute;inset:-11px -6px -17px}.keypad{margin-top:var(--space-1);border-top:1px solid var(--line);background:var(--line);grid-template-columns:repeat(3,1fr) 46px 88px;gap:1px;display:grid}.keypad-key{background:var(--neutral-surface-alt);min-height:58px;color:var(--ink);font-size:var(--text-2xl);border:0;border-radius:0;font-weight:500}.keypad-key.is-operator{background:var(--tint);color:var(--accent-ink);font-size:var(--text-xl);font-weight:600}.keypad-key.is-erase{color:var(--muted);font-size:var(--text-xl)}.keypad-key:active{background:var(--tint)}.keypad-key:disabled{background:var(--neutral-surface);color:var(--muted-strong)}.keypad-key:focus-visible,.keypad-save:focus-visible{outline-offset:-3px;border-radius:0}.keypad-save{background:var(--brand);color:#fff;font-size:var(--text-lg);letter-spacing:.02em;border:0;border-radius:0;grid-area:1/5/span 4;font-weight:700}.keypad-save:disabled{background:var(--neutral-surface);color:var(--muted-strong)}.keypad-save:active:not(:disabled){background:var(--brand-dark)}.compare-head{padding:var(--space-3) 0 var(--space-2)}.compare-head h2{font-size:var(--text-3xl);font-variation-settings:var(--wdth-display);letter-spacing:-.03em;margin:0;font-weight:700}.compare-basis{margin-bottom:var(--space-2);gap:6px;display:flex}.compare-basis button{min-height:var(--tap-min);border:1px solid var(--line);border-radius:var(--radius-sm);padding:0 var(--space-3);color:var(--muted);font-size:var(--text-xs);background:0 0;font-weight:600}.compare-basis button.selected{border-color:var(--invert-surface);background:var(--invert-surface);color:var(--invert-ink)}.compare-settings{margin-bottom:var(--space-3)}.disclosure-row>summary{justify-content:space-between;align-items:center;gap:var(--space-2);border-bottom:1px solid var(--line);cursor:pointer;min-height:56px;list-style:none;display:flex}.disclosure-row[open]>summary{border-bottom-color:#0000}.disclosure-row>summary::-webkit-details-marker{display:none}.disclosure-row>summary strong{font-size:var(--text-sm);font-weight:600;display:block}.disclosure-row>summary small{color:var(--muted);font-size:var(--text-xs);margin-top:2px;line-height:1.4;display:block}.disclosure-row>summary>span:last-child{color:var(--accent-ink);font-size:var(--text-sm);flex:none;font-weight:600}.disclosure-row[open]>summary>span:last-child{transform:rotate(90deg)}.settings-heading h2{margin:var(--space-2) 0 var(--space-3);font-size:var(--text-3xl);font-variation-settings:var(--wdth-display);letter-spacing:-.03em;font-weight:700}.settings-screen .settings-eyebrow{margin:var(--space-4) 0 var(--space-1)}.theme-switch{gap:6px;display:flex}.theme-switch button{min-height:var(--tap-min);border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--muted);font-size:var(--text-xs);background:0 0;flex:1;font-weight:600}.theme-switch button.selected{border-color:var(--invert-surface);background:var(--invert-surface);color:var(--invert-ink)}.data-card{border:1px solid var(--brand);border-radius:var(--radius-sm);padding:var(--space-2);background:var(--danger-surface-strong)}.data-card strong{font-size:var(--text-md);font-weight:700;display:block}.data-card p{margin:6px 0 var(--space-2);color:var(--muted);font-size:var(--text-xs);line-height:1.5}.data-card-durability{margin:0 0 var(--space-2);border-top:1px solid var(--danger-border-strong);padding-top:var(--space-2);font-size:var(--text-xs);line-height:1.5}.data-card-durability.is-safe{color:var(--positive)}.data-card-durability.is-warning{color:var(--danger)}.reminder-switch{align-items:flex-start;gap:var(--space-2);margin-top:var(--space-2);border-top:1px solid var(--danger-border-strong);padding-top:var(--space-2);cursor:pointer;display:flex}.reminder-switch input{width:20px;height:20px;accent-color:var(--brand);flex:none;margin-top:2px}.reminder-switch strong{font-size:var(--text-sm);font-weight:700;display:block}.reminder-switch small{color:var(--muted);font-size:var(--text-xs);margin-top:2px;line-height:1.45;display:block}.reminder-switch:has(input:disabled) small{color:var(--danger)}.rate-derive{margin-top:var(--space-2);border:1px solid var(--line);border-radius:var(--radius-xs);background:var(--neutral-surface-alt)}.rate-derive>summary{justify-content:space-between;align-items:center;gap:var(--space-2);min-height:var(--tap-min);padding:0 var(--space-2);cursor:pointer;list-style:none;display:flex}.rate-derive>summary::-webkit-details-marker{display:none}.rate-derive>summary strong{font-size:var(--text-sm);font-weight:700;display:block}.rate-derive>summary small{color:var(--muted);font-size:var(--text-xs);display:block}.rate-derive-body{gap:var(--space-2);border-top:1px solid var(--line);padding:var(--space-2);display:grid}.rate-derive-row{gap:var(--space-2);grid-template-columns:1fr 7rem;display:grid}.rate-derive-row label{gap:4px;min-width:0;display:grid}.rate-derive-row label span{color:var(--muted);font-size:var(--text-xs);font-weight:600}.rate-derive-row input,.rate-derive-row select{min-width:0;min-height:var(--tap-min);border:1px solid var(--line-strong);border-radius:var(--radius-xs);padding:0 var(--space-2);background:var(--white);color:var(--ink);font-size:var(--text-sm);font-variant-numeric:tabular-nums}.rate-derive-result{color:var(--muted);font-size:var(--text-xs);font-variant-numeric:tabular-nums;margin:0;line-height:1.5}.rate-derive-apply{min-height:var(--tap-min);border-radius:var(--radius-xs);background:var(--brand);color:#fff;font-size:var(--text-sm);border:0;font-weight:700}.rate-derive-apply:disabled{background:var(--neutral-surface);color:var(--muted)}.rate-note.is-stale{color:var(--warn-ink)}.rate-note.is-stale button{color:inherit;font:inherit;background:0 0;border:0;padding:0;font-weight:700;text-decoration:underline}.data-card-action{border-radius:var(--radius-sm);background:var(--brand);color:#fff;width:100%;min-height:46px;font-size:var(--text-sm);border:0;font-weight:700}.data-card-secondary{width:100%;min-height:var(--tap-min);border-radius:var(--radius-sm);color:var(--accent-ink-strong);font-size:var(--text-xs);background:0 0;border:0;margin-top:6px;padding:0;font-weight:600}.settings-row,.settings-disclosure>summary{justify-content:space-between;align-items:center;gap:var(--space-2);border:0;border-bottom:1px solid var(--line);width:100%;min-height:56px;color:var(--ink);text-align:left;background:0 0;border-radius:0;padding:0;display:flex}.settings-disclosure>summary{cursor:pointer;list-style:none}.settings-disclosure>summary::-webkit-details-marker{display:none}.settings-row strong,.settings-disclosure>summary h3{font-size:var(--text-sm);margin:0;font-weight:600;display:block}.settings-row small,.settings-disclosure>summary small{color:var(--muted);font-size:var(--text-xs);margin-top:2px;line-height:1.4;display:block}.settings-row>span:last-child,.settings-disclosure>summary>span:last-child{color:var(--accent-ink);font-size:var(--text-sm);flex:none;font-weight:600}.settings-disclosure[open]>summary>span:last-child{transform:rotate(90deg)}.settings-disclosure[open]>summary{border-bottom-color:#0000}.settings-disclosure>article{margin-bottom:var(--space-3)}.settings-entry{width:100%;min-height:52px;margin:var(--space-2) 0 var(--space-3);border:0;border-top:1px solid var(--line-strong);border-bottom:1px solid var(--line-strong);color:var(--ink);font-size:var(--text-sm);background:0 0;border-radius:0;justify-content:space-between;align-items:center;padding:0;font-weight:600;display:flex}.settings-entry span{color:var(--accent-ink)}.back-link{min-height:var(--tap-min);color:var(--accent-ink);font-size:var(--text-xs);background:0 0;border:0;border-radius:0;padding:0;font-weight:600}.app-footprint{margin:var(--space-3) 0 var(--space-4);color:var(--muted);font-size:var(--text-2xs);line-height:1.5}@media (height<=780px){.capture-shell{height:auto;min-height:100dvh;overflow:visible}.add-screen,.add-screen>form,.add-fields{min-height:0;display:block;overflow:visible}.add-screen{padding-bottom:calc(84px + env(safe-area-inset-bottom))}.add-fields>*,.add-screen .category-block{margin-bottom:var(--space-2)}}.day-bars.scrolls{scrollbar-width:thin}[data-noscroll]{scrollbar-width:none;-ms-overflow-style:none}[data-noscroll]::-webkit-scrollbar{display:none}.topbar{justify-content:space-between;align-items:center;gap:var(--space-2);padding:calc(var(--space-2) + env(safe-area-inset-top)) var(--space-4) var(--space-2);border-bottom:1px solid var(--line);display:flex}.eyebrow{color:var(--muted);font-size:var(--text-2xs);letter-spacing:.16em;text-transform:uppercase;margin:0 0 3px;font-weight:700}.topbar h1{font-size:var(--text-3xl);letter-spacing:-.04em;margin:0;font-weight:800}.install-button,.count-pill{border:1px solid rgba(var(--brand-rgb), .2);border-radius:var(--radius-pill);background:var(--tint);color:var(--accent-ink);font-size:var(--text-xs);font-weight:800}.install-button{min-height:40px;padding:0 var(--space-3)}.screen{animation:.18s ease-out screen-in}@keyframes screen-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.edit-banner{min-height:var(--tap-min);justify-content:space-between;align-items:center;gap:var(--space-2);padding:0 6px 0 var(--space-3);border-radius:var(--radius-lg);background:var(--invert-surface);color:var(--invert-ink);font-size:var(--text-sm);margin-bottom:0;font-weight:700;display:flex}.edit-banner button{min-width:var(--tap-min);min-height:var(--tap-min);border-radius:var(--radius-sm);padding:0 var(--space-2);background:rgba(var(--invert-ink-rgb), .13);color:var(--invert-ink);border:0;flex:none;font-weight:700}.amount-display{--amount-row:3.5rem;min-height:var(--amount-row);align-items:baseline;gap:var(--space-1);outline-offset:4px;min-width:0;display:flex}.amount-clear{min-height:var(--tap-min);padding:0 0 0 var(--space-2);color:var(--accent-ink);font-size:var(--text-xs);text-underline-offset:3px;background:0 0;border:0;border-radius:0;flex:none;align-self:center;margin-left:auto;font-weight:600;text-decoration:underline}.amount-symbol{color:var(--accent-ink);font-size:var(--text-2xl);flex:none;font-weight:500}.amount-value{min-width:0;color:var(--ink);font-variation-settings:var(--wdth-amount);letter-spacing:-.04em;white-space:nowrap;font-weight:700;line-height:1;overflow:hidden}.amount-value[data-size=lg]{font-size:var(--amount-row)}.amount-value[data-size=md]{font-size:2.5rem}.amount-value[data-size=sm]{font-size:1.875rem}.amount-display.is-refund .amount-symbol,.amount-display.is-refund .amount-value{color:var(--positive)}.amount-hint{color:var(--accent-ink);font-size:var(--text-xs);margin:0;font-weight:600;line-height:1.3}.amount-hint.is-quiet{color:var(--muted);font-weight:500}.amount-hint.is-warning{color:var(--danger)}.currency-switch .currency-add{color:var(--muted);font-weight:700}.currency-switch.dynamic .currency-add{flex:0 0 var(--tap-min)}.cost-list{gap:var(--space-2);display:grid}.cost-row{gap:var(--space-2);border:1px solid var(--line);border-radius:var(--radius-xs);padding:var(--space-2);background:var(--neutral-surface-alt);display:grid}.cost-row-head{grid-template-columns:8rem 1fr var(--tap-min);gap:var(--space-2);align-items:center;display:grid}.cost-row-figures{gap:var(--space-2);grid-template-columns:1fr 6rem;display:grid}.cost-row-figures input[type=date]{grid-column:1/-1}.cost-row input,.cost-row select{min-width:0;min-height:var(--tap-min);border:1px solid var(--line-strong);border-radius:var(--radius-xs);padding:0 var(--space-2);background:var(--white);color:var(--ink);font-size:var(--text-sm)}.cost-row-figures input:first-child{font-variant-numeric:tabular-nums}.cost-remove{min-width:var(--tap-min);min-height:var(--tap-min);border:1px solid var(--line-strong);border-radius:var(--radius-xs);color:var(--muted);font-size:var(--text-md);background:0 0;padding:0;line-height:1}.cost-row-switch small{color:var(--muted)}.cost-add{min-height:var(--tap-min);margin-top:var(--space-2);border:1px dashed var(--line-strong);border-radius:var(--radius-xs);color:var(--accent-ink-strong);font-size:var(--text-sm);background:0 0;font-weight:700}@media (width<=24rem){.cost-row-head{grid-template-columns:1fr var(--tap-min)}.cost-row-head select{grid-column:1/-1}}.quick-trip{gap:var(--space-2);margin-bottom:var(--space-2);grid-template-columns:1fr auto;display:grid}.quick-trip input{min-height:var(--tap-min);border:1px solid var(--line-strong);border-radius:var(--radius-xs);padding:0 var(--space-2);background:var(--white);color:var(--ink);font-size:var(--text-sm)}.quick-trip button{min-height:var(--tap-min);border-radius:var(--radius-xs);padding:0 var(--space-3);background:var(--brand);color:#fff;font-size:var(--text-sm);border:0;font-weight:700}.quick-trip button:disabled{background:var(--neutral-surface);color:var(--muted)}.search-note{color:var(--muted);font-size:var(--text-xs);margin:4px 0 0;font-weight:600}.amount-refund{width:100%;min-height:var(--tap-min);border:1px solid var(--line-strong);border-radius:var(--radius-xs);background:var(--neutral-surface-alt);color:var(--accent-ink-strong);font-size:var(--text-xs);font-weight:700}.refund-chip{min-width:var(--tap-min);min-height:var(--tap-min);border:1px solid var(--positive);border-radius:var(--radius-md);padding:0 var(--space-2);color:var(--positive);font-size:var(--text-xs);background:0 0;flex:none;justify-content:center;align-items:center;gap:6px;font-weight:700;display:inline-flex}.refund-chip-x{font-size:var(--text-sm);font-weight:500}.currency-switch{grid-template-columns:repeat(4,1fr);gap:4px;margin:10px 0 14px;display:grid}.currency-switch button{min-height:var(--tap-min);border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--muted);font-size:var(--text-xs);background:0 0;font-weight:600}.currency-switch button.selected{border-color:var(--invert-surface);background:var(--invert-surface);color:var(--invert-ink)}.currency-switch button:focus-visible{outline-offset:2px;border-radius:var(--radius-md)}.currency-switch button.selected:focus-visible{outline-color:var(--invert-ink)}.field{gap:var(--space-1);flex-direction:column;min-width:0;display:flex}.field label{color:var(--ink);font-size:var(--text-sm);font-weight:800}.field input,.field textarea,.custom-category-input,.search-field input,.amount-filter-row input,.date-range-row input,.filter-list-search input{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--white);width:100%;color:var(--ink);font-size:var(--text-lg);transition:border .12s,box-shadow .12s}.field input:focus-visible,.field textarea:focus-visible,.custom-category-input:focus-visible,.search-field input:focus-visible,.amount-filter-row input:focus-visible,.date-range-row input:focus-visible,.filter-list-search input:focus-visible{border-radius:var(--radius-lg)}.field input,.custom-category-input,.search-field input,.amount-filter-row input,.date-range-row input,.filter-list-search input{min-height:52px;padding:0 var(--space-3)}.field textarea{resize:vertical;padding:var(--space-2) var(--space-3)}.field input:focus,.field textarea:focus,.custom-category-input:focus,.search-field input:focus,.amount-filter-row input:focus,.date-range-row input:focus,.filter-list-search input:focus{border-color:var(--accent-ink);box-shadow:0 0 0 3px rgba(var(--brand-rgb), .1)}.category-all{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.category-all button,.category-strip button{min-height:var(--tap-min);align-items:center;gap:var(--space-1);white-space:nowrap;border:1px solid var(--line);border-radius:var(--radius-md);padding:0 var(--space-2);background:var(--white);color:var(--muted-strong);font-size:var(--text-xs);flex:none;font-weight:700;display:inline-flex}.category-all button.selected,.category-strip button.selected{border-color:var(--accent-ink);background:var(--tint);color:var(--accent-ink-strong)}.category-all .new-category{color:var(--accent-ink);border-style:dashed}.category-all button:focus-visible,.category-strip button:focus-visible{outline-offset:2px}.custom-dot{background:var(--brand);border-radius:50%;width:6px;height:6px}.custom-category-input{margin-top:10px}.stay-panel{gap:var(--space-2);padding:var(--space-2);border:1px solid rgba(var(--brand-rgb), .16);border-radius:var(--radius-lg);background:var(--tint);grid-template-columns:minmax(112px,.75fr) minmax(190px,1.25fr);margin-top:12px;display:grid}.when-field{gap:var(--space-1)}.when-chips{flex-wrap:wrap;gap:6px;display:flex}.when-chips button{min-height:var(--tap-min);border:1px solid var(--line);border-radius:var(--radius-md);padding:0 var(--space-2);background:var(--white);color:var(--muted-strong);font-size:var(--text-xs);white-space:nowrap;flex:none;align-items:center;font-weight:700;display:inline-flex}.when-chips button.selected{border-color:var(--accent-ink);background:var(--tint);color:var(--accent-ink-strong)}.when-chips button:focus-visible{outline-offset:2px}.nights-field,.stay-date-basis{gap:var(--space-1);flex-direction:column;min-width:0;display:flex}.nights-field>span,.stay-date-basis>span{color:var(--accent-ink-strong);font-size:var(--text-xs);font-weight:800}.nights-field input{width:100%;min-height:var(--tap-min);border:1px solid rgba(var(--brand-rgb), .18);border-radius:var(--radius-md);padding:0 var(--space-2);background:var(--white);color:var(--ink);outline:none;font-weight:800}.nights-field input:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.stay-date-basis>div{border-radius:var(--radius-md);background:rgba(var(--surface-rgb), .62);grid-template-columns:1fr 1fr;gap:5px;padding:3px;display:grid}.stay-date-basis button{min-height:var(--tap-min);border-radius:var(--radius-sm);color:var(--muted);font-size:var(--text-xs);background:0 0;border:0;font-weight:800}.stay-date-basis button.selected{background:var(--brand);color:#fff}.stay-panel p{color:var(--accent-ink);font-size:var(--text-xs);grid-column:1/-1;margin:-1px 1px 0;font-weight:700;line-height:1.4}.spread-need{grid-column:1/-1}.date-only-note{color:var(--muted);font-size:var(--text-xs);margin:7px 2px 0;line-height:1.45}.details-panel{gap:var(--space-3);flex-direction:column;margin-top:14px;display:flex}.expense-treatment-field,.comparison-mode-field{border:0;margin:0;padding:0}.expense-treatment-field legend,.comparison-mode-field legend{color:var(--ink);font-size:var(--text-xs);margin-bottom:8px;font-weight:800}.treatment-options{gap:var(--space-1);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.treatment-options button{border:1px solid var(--line);border-radius:var(--radius-md);min-height:58px;padding:var(--space-1) var(--space-1);background:var(--white);color:var(--ink);text-align:left;flex-direction:column;justify-content:center;align-items:flex-start;display:flex}.treatment-options button.selected,.comparison-mode-field button.selected{border-color:var(--accent-ink);background:var(--tint);color:var(--accent-ink-strong)}.treatment-options strong{font-size:var(--text-sm)}.treatment-options small{color:var(--muted);font-size:var(--text-xs);margin-top:3px;line-height:1.25}.covered-days-field{align-items:center;gap:var(--space-1) var(--space-2);border-radius:var(--radius-md);padding:var(--space-2) var(--space-2);background:var(--tint);color:var(--accent-ink-strong);font-size:var(--text-sm);grid-template-columns:auto 76px;margin-top:9px;font-weight:800;display:grid}.covered-days-field input{border:1px solid rgba(var(--brand-rgb), .18);border-radius:var(--radius-sm);width:76px;min-height:38px;padding:0 var(--space-2);background:var(--white);color:var(--ink);font-weight:800}.covered-days-field small{color:var(--accent-ink);font-size:var(--text-xs);grid-column:1/-1;font-weight:700}.treatment-auto-note{border-radius:var(--radius-md);padding:var(--space-2) var(--space-2);background:var(--tint);color:var(--accent-ink-strong);font-size:var(--text-xs);margin:0;font-weight:700;line-height:1.4}.date-time-row{gap:var(--space-1);grid-template-columns:1.25fr .75fr;display:grid}.save-button{border-radius:var(--radius-lg);background:var(--brand);color:#fff;width:100%;min-height:54px;font-size:var(--text-lg);box-shadow:0 10px 26px rgba(var(--brand-rgb), .22);border:0;font-weight:800}.save-button:disabled{background:var(--neutral-surface);color:var(--muted-strong);box-shadow:none}.save-button:active{background:var(--brand-dark);transform:translateY(1px)}.rate-note{max-width:430px;color:var(--muted);font-size:var(--text-xs);text-align:center;margin:13px auto 0;line-height:1.5}.count-pill{min-width:36px;height:36px;padding:0 var(--space-2);place-items:center;display:inline-grid}.list-controls{gap:var(--space-1);flex-direction:column;margin-bottom:12px;display:flex}.list-action-row{gap:var(--space-1);grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr) minmax(0,.7fr);display:grid}.list-action-row button{border:1px solid var(--line);border-radius:var(--radius-lg);min-height:46px;padding:0 var(--space-2);background:var(--white);color:var(--ink);font-size:var(--text-xs);text-overflow:ellipsis;white-space:nowrap;font-weight:800;overflow:hidden}.list-action-row button.active{border-color:rgba(var(--brand-rgb), .32);background:var(--tint);color:var(--accent-ink-strong)}.active-filters{gap:var(--space-1);scrollbar-width:none;padding:1px 0 3px;display:flex;overflow-x:auto}.active-filters::-webkit-scrollbar{display:none}.active-filters button{border-radius:var(--radius-pill);min-height:34px;padding:0 var(--space-2);background:var(--tint);color:var(--accent-ink-strong);font-size:var(--text-xs);border:0;flex:none;font-weight:800}.active-filters button.clear-chip{color:var(--danger);background:0 0}.results-count{color:var(--muted);font-size:var(--text-xs);margin:0 2px;font-weight:700}.transaction-insights{margin:4px 0 14px}.transaction-insights.collapsed{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--white)}.insights-heading{justify-content:space-between;align-items:flex-end;gap:var(--space-2);width:100%;color:inherit;text-align:left;background:0 0;border:0;margin:0 2px 9px;padding:0;display:flex}.transaction-insights.collapsed .insights-heading{padding:var(--space-2) var(--space-2);align-items:center;margin:0}.insights-heading .eyebrow{margin-bottom:2px}.insights-heading h3{font-size:var(--text-lg);letter-spacing:-.025em;margin:0}.insights-heading>span{align-items:center;gap:var(--space-1);border-radius:var(--radius-pill);padding:5px var(--space-1);background:var(--tint);color:var(--accent-ink-strong);font-size:var(--text-xs);flex:none;font-weight:800;display:inline-flex}.insights-heading>span b{font-size:var(--text-md);line-height:1}.insights-basis{color:var(--muted);font-size:var(--text-2xs);margin:0;line-height:1.4}.insight-card-list{grid-template-columns:1fr;gap:8px;margin-top:9px;display:grid}.cumulative-chart-card{border:1px solid var(--line);border-radius:var(--radius-xl);padding:var(--space-2) var(--space-2) var(--space-1);background:var(--white);margin-top:8px;overflow:hidden}.cumulative-chart-card>div:first-child{justify-content:space-between;align-items:center;gap:var(--space-2);color:var(--muted);font-size:var(--text-xs);font-weight:800;display:flex}.cumulative-chart-card>div:first-child strong{color:var(--ink);font-size:var(--text-sm);margin-left:auto}.cumulative-chart-card svg{cursor:crosshair;touch-action:pan-y;-webkit-user-select:none;user-select:none;width:100%;height:132px;margin-top:3px;display:block}.cumulative-chart-card svg:focus-visible{outline-offset:-2px}.cumulative-readout{min-height:26px;color:var(--muted);font-size:var(--text-2xs);justify-content:center;align-items:baseline;gap:6px;margin:5px auto -3px;font-weight:600;display:flex}.cumulative-readout.active{border-radius:var(--radius-pill);background:var(--tint);width:fit-content;color:var(--accent-ink-strong);padding:4px 9px}.cumulative-readout strong{color:var(--ink);font-size:var(--text-sm);font-variant-numeric:tabular-nums}.chart-baseline{stroke:var(--chart-axis);stroke-width:2px;stroke-dasharray:8 7}.chart-area{fill:rgba(var(--highlight-rgb), .13)}.chart-line{fill:none;stroke:var(--accent-ink);stroke-width:5px;stroke-linecap:round;stroke-linejoin:round}.cumulative-marker line{stroke:var(--accent-ink);stroke-width:2px;stroke-dasharray:4 4}.cumulative-marker circle{fill:var(--white);stroke:var(--accent-ink);stroke-width:5px}.cumulative-axis{color:var(--muted);font-size:var(--text-xs);grid-template-columns:1fr auto 1fr;font-weight:700;display:grid}.cumulative-axis span:nth-child(2){padding:0 var(--space-1)}.cumulative-axis span:last-child{text-align:right}.savings-simulator{border:1px solid rgba(var(--highlight-rgb), .34);border-radius:var(--radius-lg);padding:var(--space-2);background:var(--highlight-surface);margin-top:8px}.savings-simulator>div:first-child{justify-content:space-between;align-items:baseline;gap:var(--space-1);color:var(--accent-ink);font-size:var(--text-xs);letter-spacing:.06em;text-transform:uppercase;font-weight:850;display:flex}.savings-simulator>div:first-child strong{color:var(--ink);font-size:var(--text-sm);letter-spacing:0;text-transform:none}.simulator-options{gap:var(--space-1);grid-template-columns:repeat(4,1fr);margin:10px 0;display:grid}.simulator-options button{min-height:var(--tap-min);border:1px solid rgba(var(--brand-rgb), .18);border-radius:var(--radius-sm);background:rgba(var(--surface-rgb), .72);color:var(--accent-ink-strong);font-weight:800}.simulator-options button.selected{border-color:var(--accent-ink);background:var(--brand);color:#fff}.savings-simulator p{color:var(--muted);font-size:var(--text-xs);margin:0;line-height:1.45}.insight-gaps{gap:var(--space-1);border-left:2px solid var(--line);flex-direction:column;margin:10px 3px 0;padding-left:9px;display:flex}.insight-gaps p{color:var(--muted);font-size:var(--text-xs);margin:0;line-height:1.45}.inflation-switch{margin-top:11px}.insight-card{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--white);min-width:0;overflow:hidden}.insight-card.impact{border-color:rgba(var(--highlight-rgb), .34);background:var(--highlight-surface)}.insight-card.warning{border-color:rgba(var(--danger-rgb), .22);background:var(--danger-surface)}.insight-card.comparison{border-color:rgba(var(--brand-rgb), .2);background:var(--tint)}.insight-card.headline{border-color:rgba(var(--brand-rgb), .35);background:var(--tint);margin-top:9px}.insight-card.headline .insight-card-copy h4{font-size:var(--text-lg)}.insight-card-main{width:100%;color:inherit;text-align:left;background:0 0;border:0;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:13px 14px 9px;display:grid}button.insight-card-main{cursor:pointer}button.insight-card-main:focus-visible{outline-offset:-3px}.insight-card-icon{border-radius:var(--radius-lg);background:var(--tint);width:34px;height:34px;color:var(--accent-ink);place-items:center;display:grid}.insight-card.impact .insight-card-icon{background:rgba(var(--highlight-rgb),.18)}.insight-card.warning .insight-card-icon{background:var(--danger-surface-strong);color:var(--danger)}.insight-card.comparison .insight-card-icon{background:var(--white)}.insight-card-icon svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:20px;height:20px}.insight-card-copy{min-width:0}.insight-card-type{color:var(--accent-ink);font-size:var(--text-2xs);letter-spacing:.1em;text-transform:uppercase;font-weight:850}.insight-card.warning .insight-card-type{color:var(--danger)}.insight-card-new{border-radius:var(--radius-pill);background:var(--brand);color:var(--on-brand-muted);font-size:var(--text-2xs);letter-spacing:.06em;text-transform:uppercase;vertical-align:middle;margin-left:6px;padding:1px 6px;font-weight:850;display:inline-block}.insight-card-chevron{color:var(--accent-ink);font-size:1.5rem;font-weight:500;line-height:1;transition:transform .14s}.insight-card.open .insight-card-chevron{transform:rotate(90deg)}.insight-card h4{color:var(--ink);font-size:var(--text-md);letter-spacing:-.015em;margin:3px 0 0;font-weight:850;line-height:1.2}.insight-card p{color:var(--muted);font-size:var(--text-xs);margin:0;padding:0 14px 13px 58px;line-height:1.45}.insight-card.open p{display:block;overflow:visible}.insight-transactions{border-top:1px solid var(--line-soft);background:rgba(var(--surface-rgb),.42);padding:10px 14px 12px}.insight-transactions>span{color:var(--muted);font-size:var(--text-2xs);letter-spacing:.08em;text-transform:uppercase;font-weight:700}.insight-transactions ul{margin:7px 0 0;padding:0;list-style:none}.insight-transactions li{border-top:1px solid var(--line-soft)}.insight-transactions li:first-child{border-top:0}.insight-transactions li button{width:100%;min-height:var(--tap-min);justify-content:space-between;align-items:center;gap:var(--space-2);color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:8px 0;display:flex}.insight-transactions li button:focus-visible{outline-offset:-2px}.insight-transactions li div{min-width:0}.insight-transactions li strong{color:var(--ink);font-size:var(--text-xs)}.insight-transactions li div strong,.insight-transactions li div span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.insight-transactions li div span{color:var(--muted);font-size:var(--text-2xs);margin-top:2px}.more-findings{width:100%;min-height:var(--tap-min);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--white);color:var(--accent-ink);font-size:var(--text-xs);justify-content:center;align-items:center;margin-top:8px;font-weight:800;display:flex}.insights-portability{justify-content:space-between;align-items:center;gap:var(--space-2);border-top:1px solid var(--line-soft);margin-top:10px;padding:12px 2px 2px;display:flex}.insights-portability span{min-width:0}.insights-portability strong,.insights-portability small{display:block}.insights-portability strong{color:var(--ink);font-size:var(--text-xs)}.insights-portability small{color:var(--muted);font-size:var(--text-2xs);margin-top:3px;line-height:1.4}.insights-portability button{min-height:var(--tap-min);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--white);color:var(--accent-ink);font-size:var(--text-xs);flex:none;padding:0 11px;font-weight:800}.insights-method{color:var(--muted);font-size:var(--text-xs);margin:7px 3px 0;line-height:1.4}@media (width<=390px){.insight-card-list{grid-template-columns:1fr}}.ledger{margin:0 calc(var(--space-4) * -1)}.ledger-day-head h3{font:inherit;letter-spacing:inherit;text-transform:inherit;margin:0}.ledger-day-head{z-index:5;justify-content:space-between;align-items:center;gap:var(--space-2);padding:9px var(--space-4) 7px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--neutral-surface);color:var(--muted);font-size:var(--text-2xs);letter-spacing:.14em;text-transform:uppercase;margin:0;font-weight:700;display:flex;position:sticky;top:0}.ledger-day-total{color:var(--ink);font-size:var(--text-xs);letter-spacing:0;text-transform:none;flex:none;font-weight:600}.ledger-row{grid-template-columns:minmax(0, 1fr) var(--tap-min);border-bottom:1px solid var(--line-soft);background:var(--neutral-surface-alt);align-items:stretch;display:grid}.ledger-row.is-selected{background:var(--tint)}.ledger-row.is-open:not(.is-selected){background:var(--highlight)}.ledger-row-main{align-items:center;gap:var(--space-2);min-width:0;min-height:58px;padding:11px var(--space-1) 11px var(--space-4);color:inherit;text-align:left;-webkit-touch-callout:none;touch-action:manipulation;-webkit-user-select:none;user-select:none;background:0 0;border:0;border-radius:0;grid-template-columns:minmax(0,1fr) auto;display:grid}.ledger-row-copy{min-width:0}.ledger-row-title{align-items:center;gap:7px;min-width:0;display:flex}.ledger-row-name{min-width:5.5em;color:var(--ink);font-size:var(--text-md);text-overflow:ellipsis;white-space:nowrap;flex:auto;font-weight:600;overflow:hidden}.ledger-tag{text-overflow:ellipsis;border:1px solid var(--line);background:var(--paper);color:var(--muted);font-size:var(--text-2xs);letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;flex:none;padding:1px 6px;font-weight:600;overflow:hidden}.ledger-tag.is-category{flex:0 auto;min-width:0}.ledger-row-meta{color:var(--muted);font-size:var(--text-xs);text-overflow:ellipsis;white-space:nowrap;align-items:baseline;gap:6px;margin-top:3px;font-weight:500;display:flex;overflow:hidden}.ledger-row-meta .rating-chip{flex:none}.ledger-row-note{color:var(--muted);font-size:var(--text-xs);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:3px;font-weight:500;line-height:1.4;display:-webkit-box;overflow:hidden}.results-count.is-note{color:var(--muted);letter-spacing:0;text-transform:none;font-weight:500;line-height:1.45}.ledger-row-figures{flex-direction:column;flex:none;justify-content:center;align-items:flex-end;display:flex}.ledger-row-amount{color:var(--ink);font-size:var(--text-md);white-space:nowrap;font-weight:600}.ledger-row-converted{color:var(--muted);font-size:var(--text-xs);white-space:nowrap;margin-top:2px;font-weight:500}.ledger-row-more{min-width:var(--tap-min);color:var(--muted);font-size:var(--text-xl);background:0 0;border:0;border-radius:0;line-height:1}.ledger-row.is-open .ledger-row-more{color:var(--accent-ink)}.ledger-row-more:disabled{color:var(--muted-faint)}.ledger-row-actions{border-top:1px solid var(--line);background:var(--line);grid-column:1/-1;grid-template-columns:repeat(3,1fr);gap:1px;display:grid}.ledger-row-actions button{min-height:var(--tap-min);background:var(--neutral-surface-alt);font-size:var(--text-xs);border:0;border-radius:0;font-weight:600}.ledger-row-actions .repeat-button,.ledger-row-actions .rate-button{color:var(--accent-ink)}.ledger-row-actions .delete-button{background:var(--danger-surface);color:var(--danger)}.ledger-row-main:focus-visible,.ledger-row-more:focus-visible,.ledger-row-actions button:focus-visible{outline-offset:-3px;border-radius:0}.ledger-head{justify-content:space-between;align-items:flex-end;gap:var(--space-2);padding:var(--space-3) 0 var(--space-2);display:flex}.ledger-head h2{font-size:var(--text-3xl);font-variation-settings:var(--wdth-display);letter-spacing:-.03em;margin:0;font-weight:700}.ledger-head .eyebrow{margin-bottom:2px}.ledger-tally{color:var(--muted);font-size:var(--text-xs);text-align:right;flex-direction:column;flex:none;align-items:flex-end;font-weight:500;display:flex}.ledger-tally strong{color:var(--ink);font-size:var(--text-md);font-weight:600}.ledger-note{margin:var(--space-3) 0 0;color:var(--muted);font-size:var(--text-xs);line-height:1.5}.ledger-tally small{max-width:140px;color:var(--danger);font-size:var(--text-2xs);line-height:1.3}.expense-rating{border-top:1px solid var(--line);padding:var(--space-2) var(--space-3) var(--space-2);background:var(--tint);grid-column:1/-1}.expense-rating>span{color:var(--accent-ink-strong);font-size:var(--text-xs);margin-bottom:7px;font-weight:800;display:block}.expense-rating>div{gap:var(--space-1);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.expense-rating button{border:1px solid var(--line);border-radius:var(--radius-md);min-height:38px;padding:0 var(--space-1);background:var(--white);color:var(--muted);font-size:var(--text-xs);font-weight:800}.expense-rating button.selected{border-color:var(--accent-ink);background:var(--brand);color:#fff}.rating-chip{border-radius:var(--radius-pill);padding:1px var(--space-1);background:var(--tint);color:var(--accent-ink-strong);font-size:var(--text-xs);font-weight:800}.rating-chip.skip{background:var(--danger-surface-strong);color:var(--danger)}.empty-state{border:1px dashed var(--line-soft);border-radius:var(--radius-2xl);min-height:330px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:34px;display:flex}.empty-icon{border-radius:var(--radius-xl);background:var(--tint);width:54px;height:54px;color:var(--accent-ink);font-size:var(--text-3xl);place-items:center;margin-bottom:14px;font-weight:800;display:grid}.empty-state h3{color:var(--ink);font-size:var(--text-lg);margin:0}.empty-state p{max-width:270px;font-size:var(--text-sm);margin:7px 0 0;line-height:1.5}.empty-state button{border-radius:var(--radius-md);min-height:43px;padding:0 var(--space-3);background:var(--brand);color:#fff;border:0;margin-top:18px;font-weight:800}.base-currency-card{justify-content:space-between;align-items:center;gap:var(--space-2);border-bottom:1px solid var(--line-soft);margin:-2px 0 8px;padding:4px 0 8px;display:flex}.base-currency-card>span{color:var(--muted);font-size:var(--text-xs);font-weight:700}.currency-switch.compact{background:var(--paper);border:0;width:min(254px,70%);margin:0;padding:3px}.currency-switch.compact button{min-height:var(--tap-min);font-size:var(--text-xs)}.stats-empty{min-height:250px}.trip-head{padding:var(--space-3) 0 var(--space-2)}.trip-head h2{font-size:var(--text-3xl);font-variation-settings:var(--wdth-display);letter-spacing:-.03em;margin:0;font-weight:700}.trip-figures{justify-content:space-between;align-items:flex-end;gap:var(--space-3);margin-bottom:var(--space-2);border-bottom:1px solid var(--line-strong);padding-bottom:10px;display:flex}.trip-figures>div{min-width:0}.trip-figures .eyebrow{margin:0 0 2px}.trip-figures-right{text-align:right;flex:none}.trip-figures small{color:var(--muted);font-size:var(--text-xs);margin-top:3px;display:block}.trip-total{font-variation-settings:"wdth" 108;letter-spacing:-.045em;overflow-wrap:anywhere;font-size:clamp(1.55rem,7.5vw,2.1rem);font-weight:700;line-height:1;display:block}.trip-perday{color:var(--accent-ink);letter-spacing:-.03em;overflow-wrap:anywhere;font-size:clamp(1.05rem,4.8vw,1.25rem);font-weight:700;line-height:1.1;display:block}.budget-verdict{color:var(--muted-strong);font-size:var(--text-xs);overflow-wrap:anywhere;text-align:right;min-width:0;margin-left:auto;font-weight:600}.budget-verdict.is-over{color:var(--danger)}.budget-verdict.is-positive{color:var(--positive)}.budget-verdict.is-neutral{color:var(--muted-strong)}.budget-scale{justify-content:space-between;gap:var(--space-2);color:var(--muted);font-size:var(--text-2xs);margin-top:6px;font-weight:500;display:flex}.day-bars{border-bottom:1px solid var(--line-strong);align-items:flex-end;gap:4px;min-width:0;height:96px;padding-top:6px;display:flex;overflow-x:auto}.day-bars-legend{align-items:center;gap:var(--space-2);color:var(--muted);font-size:var(--text-2xs);margin:-8px 0 8px;font-weight:600;display:flex}.day-bars-legend span{align-items:center;gap:5px;display:inline-flex}.day-bars-legend i{border-radius:var(--radius-xs);width:8px;height:8px}.day-bars-legend i.mandatory{background:var(--mandatory-segment)}.day-bars-legend i.flexible{background:var(--discretionary-segment)}.day-bar{background:0 0;border:0;border-radius:0;flex:1 0 24px;align-items:flex-end;min-width:24px;height:100%;padding:0;display:flex}.day-bar-stack{background:var(--chart-axis);transform-origin:bottom;width:100%;display:block;overflow:hidden}.day-bars.is-entering .day-bar-stack{animation:.26s cubic-bezier(.2,.7,.3,1) backwards day-bar-in;animation-delay:calc(var(--bar-index,0) * 12ms)}@keyframes day-bar-in{0%{transform:scaleY(0)}to{transform:scaleY(1)}}.day-bar-stack i{width:100%;display:block}.day-bar-mandatory{background:var(--mandatory-segment)}.day-bar-discretionary{background:var(--discretionary-segment)}.day-bar.selected .day-bar-stack{outline:2px solid var(--focus-ring);outline-offset:1px}.day-bar.is-empty .day-bar-stack,.day-bar.is-netted .day-bar-stack{background:var(--chart-axis)}.day-bar:focus-visible{outline-offset:1px}.day-bars-axis{align-items:baseline;gap:var(--space-2);color:var(--muted);font-size:var(--text-2xs);grid-template-columns:1fr auto 1fr;padding-top:5px;font-weight:500;display:grid}.day-bars-axis>span:last-child{text-align:right}.day-bars-axis.ends-only{grid-template-columns:1fr 1fr}.day-bars-empty{border-bottom:1px solid var(--line-strong);height:96px;color:var(--muted);font-size:var(--text-xs);justify-content:center;align-items:center;margin:0;padding-top:6px;display:flex}.day-bars-selected{color:var(--ink);font-weight:600}.day-bars-table{margin-top:var(--space-2)}.day-bars-table summary,.cumulative-chart-table summary{min-height:var(--tap-min);color:var(--accent-ink);font-size:var(--text-xs);align-items:center;font-weight:600;display:flex}.insights-action{color:var(--accent-ink);font-size:var(--text-xs);margin-top:2px;font-weight:600;display:block}.day-bars-table table{width:100%;margin-top:var(--space-1);border-collapse:collapse;font-size:var(--text-xs)}.day-bars-table caption{color:var(--muted);font-size:var(--text-2xs);text-align:left;margin-bottom:6px}.day-bars-table th,.day-bars-table td{border-bottom:1px solid var(--line-soft);text-align:left;padding:5px 0}.day-bars-table th:not(:first-child),.day-bars-table td:not(:first-child){text-align:right}.sheet-backdrop{z-index:80;padding-top:env(safe-area-inset-top);background:rgba(var(--shadow-rgb), calc(.48 * var(--shadow-strength)));overscroll-behavior:none;justify-content:center;align-items:flex-end;animation:.15s ease-out backdrop-in;display:flex;position:fixed;inset:0}@keyframes backdrop-in{0%{opacity:0}to{opacity:1}}.bottom-sheet{border-radius:var(--radius-2xl) var(--radius-2xl) 0 0;width:min(100%,620px);max-height:88dvh;padding:8px 18px calc(18px + env(safe-area-inset-bottom));background:var(--paper);box-shadow:0 -18px 60px rgba(var(--shadow-rgb), calc(.2 * var(--shadow-strength)));overscroll-behavior-y:contain;transform:translateY(var(--sheet-drag,0px));touch-action:pan-y;transition:transform .16s ease-out;animation:.18s ease-out sheet-in;overflow-y:auto}.bottom-sheet.is-dragging{transition:none}@keyframes sheet-in{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.sheet-handle-button{width:100%;min-height:var(--tap-min);cursor:pointer;touch-action:none;background:0 0;border:0;place-items:center;padding:0;display:grid}.sheet-handle-button:focus-visible{outline-offset:-2px;border-radius:var(--radius-sm)}.sheet-handle{border-radius:var(--radius-pill);background:var(--line-strong);width:42px;height:5px;margin:0 auto;display:block}.sheet-heading{justify-content:space-between;align-items:center;gap:var(--space-3);margin-bottom:14px;display:flex}.sheet-heading h2{font-size:var(--text-2xl);letter-spacing:-.035em;margin:0}.sheet-heading>button{min-height:var(--tap-min);border-radius:var(--radius-md);padding:0 var(--space-2);background:var(--tint);color:var(--accent-ink-strong);font-size:var(--text-xs);border:0;font-weight:800}.sheet-heading>button:disabled{opacity:.45}.sheet-heading>button:focus-visible{outline-offset:2px;border-radius:var(--radius-md)}.filter-groups{gap:var(--space-1);flex-direction:column;display:flex}.filter-groups details{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--white);overflow:hidden}.filter-groups summary{min-height:48px;padding:0 var(--space-3);cursor:pointer;color:var(--ink);font-size:var(--text-xs);justify-content:space-between;align-items:center;font-weight:800;list-style:none;display:flex}.filter-groups summary:focus-visible{outline-offset:-3px;border-radius:var(--radius-lg) var(--radius-lg) 0 0}.filter-groups summary::-webkit-details-marker{display:none}.filter-groups summary span{color:var(--accent-ink);font-size:var(--text-xs)}.checkbox-list{max-height:208px;padding:0 var(--space-1) var(--space-1);border-top:1px solid var(--line);flex-direction:column;gap:2px;display:flex;overflow-y:auto}.checkbox-list label,.sort-options label{align-items:center;gap:var(--space-2);border-radius:var(--radius-md);min-height:43px;padding:0 var(--space-1);font-size:var(--text-xs);font-weight:700;display:flex}.checkbox-list input,.sort-options input{width:19px;height:19px;accent-color:var(--accent-ink);margin:0}.checkbox-list input:focus-visible,.sort-options input:focus-visible{outline-offset:2px;border-radius:var(--radius-xs)}.checkbox-grid{grid-template-columns:repeat(2,1fr);display:grid}.amount-filter-row{gap:var(--space-1);padding:var(--space-2);border-top:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.date-range-row{gap:var(--space-1);padding:var(--space-2) var(--space-2) var(--space-2);border-top:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.date-range-row label{gap:var(--space-1);flex-direction:column;min-width:0;display:flex}.date-range-row label>span{color:var(--muted);font-size:var(--text-xs);font-weight:700}.date-range-row input{min-height:44px;padding:0 var(--space-1);font-size:var(--text-xs)}.filter-list-search{padding:var(--space-1) var(--space-1) var(--space-1);border-top:1px solid var(--line);display:block}.filter-list-search input{min-height:42px;padding:0 var(--space-2);background:var(--paper);font-size:var(--text-xs)}.amount-filter-row label{gap:var(--space-1);flex-direction:column;min-width:0;display:flex}.amount-filter-row label>span{color:var(--muted);font-size:var(--text-xs);font-weight:700}.amount-filter-row input{min-height:44px;padding:0 var(--space-2);font-size:var(--text-xs)}.sheet-primary{border-radius:var(--radius-lg);background:var(--brand);color:#fff;width:100%;min-height:52px;box-shadow:0 8px 22px rgba(var(--shadow-rgb), calc(.22 * var(--shadow-strength)));font-size:var(--text-sm);border:0;margin-top:12px;font-weight:850;position:sticky;bottom:0}.sheet-primary:focus-visible{outline-color:var(--focus-ring-inverse);outline-offset:2px;border-radius:var(--radius-lg)}.csv-sheet fieldset{margin:0 0 var(--space-3);border:0;padding:0}.csv-sheet legend{margin-bottom:var(--space-1);font-size:var(--text-xs);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding:0;font-weight:700}.csv-column{justify-content:space-between;align-items:center;gap:var(--space-2);border-bottom:1px solid var(--line);min-height:44px;display:flex}.csv-column>span{font-size:var(--text-sm);flex-direction:column;font-weight:700;display:flex}.csv-column>span small{font-size:var(--text-xs);color:var(--muted);font-weight:400}.csv-column select{max-width:55%;min-height:44px}.csv-convention{gap:var(--space-1);padding:var(--space-2) 0;border-bottom:1px solid var(--line);font-size:var(--text-sm);font-weight:700;display:grid}.csv-convention .theme-switch button{min-height:44px;font-size:var(--text-xs)}.csv-range-switch{margin-top:var(--space-2)}.csv-preview{margin:var(--space-2) 0 0}.csv-sample{width:100%;margin-top:var(--space-2);border-collapse:collapse;font-size:var(--text-xs);font-variant-numeric:tabular-nums}.csv-sample caption{padding-bottom:var(--space-1);text-align:left;color:var(--muted)}.csv-sample td{border-top:1px solid var(--line);vertical-align:top;padding:6px 0}.csv-sample td+td{padding-left:var(--space-2)}.csv-sample-amount{text-align:right;white-space:nowrap;font-weight:700}.sheet-secondary{border:1px solid var(--line);border-radius:var(--radius-lg);width:100%;min-height:48px;color:var(--accent-ink);font-size:var(--text-sm);background:0 0;margin-top:8px;font-weight:700}.sort-options{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--white);flex-direction:column;display:flex;overflow:hidden}.sort-options label{border-bottom:1px solid var(--line);min-height:48px;padding:0 var(--space-3);border-radius:0;justify-content:space-between}.sort-options label:last-child{border-bottom:0}.chart-card,.export-card{border:1px solid var(--line);border-radius:var(--radius-2xl);padding:var(--space-3);background:var(--white);margin-top:10px}.chart-heading{justify-content:space-between;align-items:center;margin-bottom:17px;display:flex}.chart-heading h3,.export-card h3{font-size:var(--text-md);margin:0;font-weight:800}.chart-heading p{color:var(--muted);font-size:var(--text-xs);margin:4px 0 0;line-height:1.35}.chart-heading span{color:var(--muted);font-size:var(--text-xs);font-weight:700}.bar-list{gap:var(--space-2);flex-direction:column;display:flex}.bar-row{align-items:center;gap:var(--space-1);grid-template-columns:90px minmax(35px,1fr) auto;display:grid}.bar-row.interactive{width:calc(100% + 12px);min-height:var(--tap-min);border-radius:var(--radius-sm);padding:4px var(--space-1);color:inherit;text-align:left;background:0 0;border:0;margin:-4px -6px}.bar-row.interactive:active,.bar-row.interactive.selected{background:var(--tint)}.bar-row.interactive:focus-visible{outline-offset:-2px;border-radius:var(--radius-sm)}.bar-row.interactive.selected .bar-label{color:var(--accent-ink-strong)}.bar-label{color:var(--muted);font-size:var(--text-xs);text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.bar-track{border-radius:var(--radius-pill);background:var(--neutral-surface-alt);height:8px;overflow:hidden}.bar-track span{border-radius:inherit;background:var(--brand);height:100%;display:block}.bar-row strong{color:var(--ink);font-size:var(--text-xs);font-weight:800}.category-bars .bar-row{grid-template-columns:minmax(78px,106px) minmax(0,1fr)}.category-bar-visual{height:26px;position:relative}.category-bar-visual:before{border-radius:var(--radius-pill);background:var(--neutral-surface-alt);content:"";height:8px;position:absolute;top:9px;left:0;right:0}.category-bar-fill{width:var(--bar-width);border-radius:var(--radius-pill);background:var(--highlight-strong);height:8px;position:absolute;top:9px;left:0}.category-bar-visual strong{z-index:1;top:50%;left:min(calc(var(--bar-width) + 6px),calc(100% - 62px));border-radius:var(--radius-sm);background:var(--white);color:var(--ink);font-size:var(--text-xs);font-variant-numeric:tabular-nums;white-space:nowrap;padding:2px 4px;font-weight:800;position:absolute;transform:translateY(-50%)}.chart-filter{align-items:center;gap:var(--space-1);flex-wrap:wrap;margin-top:7px;display:flex}.chart-filter>span,.day-filter-chip{border-radius:var(--radius-pill);padding:4px var(--space-1);background:var(--tint);color:var(--accent-ink-strong);font-size:var(--text-xs);border:0;font-weight:800}.chart-filter label{color:var(--muted);font-size:var(--text-xs);align-items:center;gap:4px;font-weight:750;display:inline-flex}.chart-filter input{width:14px;height:14px;accent-color:var(--accent-ink);margin:0}.chart-filter button{color:var(--accent-ink);font-size:var(--text-xs);background:0 0;border:0;padding:3px 1px;font-weight:800}.day-filter-chip{margin-top:7px;display:block}.day-filter-chip span{margin-left:2px}.chart-no-results{padding:var(--space-3);border-radius:var(--radius-md);background:var(--paper);color:var(--muted);font-size:var(--text-xs);text-align:center;margin:2px 0 0}.export-card{gap:var(--space-3);flex-direction:column;margin-top:10px;display:flex}.export-card p{color:var(--muted);font-size:var(--text-xs);margin:5px 0 0;line-height:1.45}.export-actions{gap:var(--space-1);grid-template-columns:1fr 1fr;display:grid}.export-actions button{border:1px solid rgba(var(--brand-rgb), .18);border-radius:var(--radius-md);background:var(--tint);min-height:45px;color:var(--accent-ink);font-size:var(--text-xs);font-weight:800}.export-actions button:disabled{opacity:.45}.bottom-nav{z-index:20;width:min(100%,620px);padding:0 0 env(safe-area-inset-bottom);border-top:1px solid var(--line-strong);background:var(--neutral-surface);grid-template-columns:repeat(3,1fr);margin:0 auto;display:grid;position:fixed;bottom:0;left:0;right:0}.bottom-nav button{min-height:60px;color:var(--muted);font-size:var(--text-xs);letter-spacing:.02em;background:0 0;border:0;border-top:2px solid #0000;border-radius:0;justify-content:center;align-items:center;font-weight:500;display:flex}.bottom-nav button.active{border-top-color:var(--brand);color:var(--ink);font-weight:700}.bottom-nav button:focus-visible{outline-offset:-3px;border-radius:0}.toast{z-index:50;right:20px;bottom:calc(88px + env(safe-area-inset-bottom));width:fit-content;max-width:calc(100% - 40px);padding:var(--space-2) var(--space-3);border-radius:var(--radius-sm);background:var(--invert-surface);color:var(--invert-ink);box-shadow:0 8px 30px rgba(var(--shadow-rgb), calc(.22 * var(--shadow-strength)));font-size:var(--text-xs);text-align:center;margin:auto;font-weight:700;animation:.18s ease-out toast-in;position:fixed;left:20px}.toast.on-capture{top:calc(var(--space-1) + 62px + env(safe-area-inset-top));bottom:auto}.toast button{border-radius:var(--radius-xs);min-height:30px;padding:0 var(--space-2);background:var(--highlight);color:var(--on-highlight);font-size:var(--text-xs);border:0;margin:-5px -8px -5px 8px;font-weight:700}@keyframes toast-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.update-bar{z-index:51;right:20px;bottom:calc(88px + env(safe-area-inset-bottom));justify-content:center;align-items:center;gap:var(--space-2);width:fit-content;max-width:calc(100% - 40px);padding:var(--space-2) var(--space-3);border-radius:var(--radius-sm);background:var(--invert-surface);color:var(--invert-ink);box-shadow:0 8px 30px rgba(var(--shadow-rgb), calc(.22 * var(--shadow-strength)));font-size:var(--text-xs);margin:auto;font-weight:700;animation:.18s ease-out toast-in;display:flex;position:fixed;left:20px}.update-bar.on-capture{top:calc(var(--space-1) + 62px + env(safe-area-inset-top));bottom:auto}.update-bar button{border-radius:var(--radius-xs);min-height:30px;padding:0 var(--space-2);background:var(--highlight);color:var(--on-highlight);font-size:var(--text-xs);white-space:nowrap;border:0;font-weight:700}.update-bar .update-dismiss{color:var(--invert-ink);opacity:.72;background:0 0;text-decoration:underline}.loading-card{justify-content:center;align-items:center;gap:var(--space-1);border:1px solid var(--line);border-radius:var(--radius-2xl);background:var(--white);min-height:180px;color:var(--muted);font-size:var(--text-sm);font-weight:700;display:flex}.loading-dot{background:var(--brand);border-radius:50%;width:9px;height:9px;animation:.9s infinite alternate pulse}.trip-topbar{gap:var(--space-2)}.topbar-actions{align-items:center;gap:var(--space-1);flex:none;display:flex}.settings-gear{min-width:var(--tap-min);min-height:var(--tap-min);border-radius:var(--radius-xs);color:var(--muted);background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.settings-gear svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7px;width:21px;height:21px}.settings-gear[aria-current=page]{background:var(--highlight);color:var(--on-highlight)}.app-version{color:var(--muted);font-size:var(--text-xs);font-weight:800}.home-version{font-variant-numeric:tabular-nums;letter-spacing:.02em;text-transform:none;white-space:nowrap;margin-inline-start:var(--space-1)}.trip-title-button{align-items:center;gap:var(--space-1);min-width:0;min-height:var(--tap-min);color:var(--ink);text-align:left;background:0 0;border:0;border-radius:0;padding:0;display:flex}.trip-title-rule{background:var(--brand);flex:none;width:6px;height:26px}.trip-title-button .eyebrow{margin-bottom:1px;display:block}.trip-title-button strong{max-width:min(58vw,380px);font-size:var(--text-lg);font-variation-settings:var(--wdth-display);letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap;font-weight:700;display:block;overflow:hidden}.pace-line{min-height:var(--tap-min);color:var(--muted);font-size:var(--text-2xs);text-align:right;background:0 0;border:0;border-radius:0;padding:0;line-height:1.3}.pace-line strong{font-size:var(--text-xs);font-weight:600;display:block}.pace-line.is-neutral strong{color:var(--ink)}.pace-line.is-positive strong{color:var(--positive)}.pace-line.is-over strong{color:var(--danger)}.currency-switch.dynamic{scrollbar-width:none;display:flex;overflow-x:auto}.currency-switch.dynamic::-webkit-scrollbar{display:none}.currency-switch.dynamic button{flex:1 0 58px}.stats-return-banner,.stats-drilldown-card{justify-content:space-between;align-items:center;gap:var(--space-2);border:1px solid rgba(var(--brand-rgb), .16);border-radius:var(--radius-lg);padding:var(--space-2) var(--space-2);background:var(--tint);margin-bottom:12px;display:flex}.stats-drilldown-card{background:var(--invert-surface);color:var(--invert-ink);margin-top:10px;margin-bottom:0}.stats-return-banner div,.stats-drilldown-card div{flex-direction:column;gap:2px;min-width:0;display:flex}.stats-return-banner span,.stats-drilldown-card span{color:var(--muted);font-size:var(--text-xs);font-weight:750}.stats-drilldown-card span{color:rgba(var(--invert-ink-rgb), .62)}.stats-return-banner strong,.stats-drilldown-card strong{font-size:var(--text-sm);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stats-return-banner button,.stats-drilldown-card button{border-radius:var(--radius-md);min-height:38px;padding:0 var(--space-2);background:var(--brand);color:#fff;font-size:var(--text-xs);border:0;flex:none;font-weight:800}.stats-drilldown-card button{background:var(--highlight);color:var(--on-highlight)}.flight-list-card{align-items:center;gap:var(--space-2);border:1px solid rgba(var(--brand-rgb), .16);border-radius:var(--radius-xl);padding:var(--space-3);background:var(--tint);grid-template-columns:minmax(0,1fr) auto;margin-top:12px;display:grid}.flight-list-card h3,.flight-list-card p{margin:0}.flight-list-card h3{font-size:var(--text-md)}.flight-list-card p{color:var(--muted);font-size:var(--text-xs);margin-top:3px}.flight-list-card>strong{color:var(--accent-ink-strong);font-size:var(--text-md)}.flight-list-card>button{border-radius:var(--radius-md);background:var(--white);min-height:38px;color:var(--accent-ink);font-size:var(--text-xs);border:0;grid-column:1/-1;font-weight:800}.flight-stat-note{align-items:center;gap:var(--space-1);border:1px solid var(--line);border-radius:var(--radius-lg);padding:var(--space-2) var(--space-2);background:var(--white);color:var(--muted);font-size:var(--text-xs);margin-top:9px;display:flex}.flight-stat-note span{flex:1;min-width:0}.flight-stat-note strong{color:var(--accent-ink-strong)}.flight-stat-note button{min-height:var(--tap-min);color:var(--accent-ink);background:0 0;border:0;font-weight:800}.export-grid{grid-template-columns:repeat(2,1fr)}.export-grid button:last-of-type{grid-column:1/-1}.bottom-nav.four-tabs{grid-template-columns:repeat(4,1fr)}.bottom-nav[hidden]{display:none}.keyboard-save{--keyboard-inset:0px;--keyboard-save-height:calc(56px + max(0px, env(safe-area-inset-bottom,0px) - var(--keyboard-inset)))}.keyboard-save-bar{z-index:90;right:0;bottom:var(--keyboard-inset);width:min(100%,620px);height:var(--keyboard-save-height);box-sizing:border-box;justify-content:space-between;align-items:center;gap:var(--space-2);padding:0 var(--space-2) max(0px, env(safe-area-inset-bottom,0px) - var(--keyboard-inset)) var(--space-4);border-top:1px solid var(--line-strong);background:var(--paper);margin:0 auto;display:flex;position:fixed;left:0}.keyboard-save-summary{flex-direction:column;gap:1px;min-width:0;display:flex}.keyboard-save-amount{color:var(--ink);font-size:var(--text-lg);letter-spacing:-.01em;font-weight:700;line-height:1.1}.keyboard-save-amount.is-quiet{color:var(--muted);font-weight:500}.keyboard-save-detail{color:var(--muted);font-size:var(--text-2xs);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.keyboard-save-button{min-width:112px;min-height:var(--tap-min);border-radius:var(--radius-sm);background:var(--brand);color:#fff;font-size:var(--text-md);letter-spacing:.02em;border:0;flex:none;font-weight:700}.keyboard-save-button:disabled{background:var(--neutral-surface);color:var(--muted-strong)}.keyboard-save-button:active:not(:disabled){background:var(--brand-dark)}.keyboard-save-button:focus-visible{outline-offset:2px}.keyboard-save .add-details-sheet{padding-bottom:calc(18px + var(--keyboard-inset) + var(--keyboard-save-height))}.keyboard-save .add-details-sheet .sheet-primary{bottom:calc(var(--keyboard-inset) + var(--keyboard-save-height))}.sheet-primary.is-secondary{border:1px solid var(--accent-ink);background:var(--paper);color:var(--accent-ink-strong);box-shadow:none}.sheet-primary.is-secondary:focus-visible{outline-color:var(--focus-ring)}.trip-picker-sheet,.trip-editor-sheet{overscroll-behavior:contain}.trip-picker-list{gap:var(--space-1);flex-direction:column;display:flex}.trip-picker-list article{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--white);grid-template-columns:minmax(0,1fr) auto;display:grid;overflow:hidden}.trip-picker-list article.selected{border-color:var(--accent-ink);background:var(--tint)}.trip-picker-list article>button:focus-visible{outline-offset:-3px}.trip-picker-list article>button:first-child{min-width:0;padding:var(--space-2) var(--space-3);color:var(--ink);text-align:left;background:0 0;border:0}.trip-picker-list article strong,.trip-picker-list article span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.trip-picker-list article strong{font-size:var(--text-xs)}.trip-picker-list article span{color:var(--muted);font-size:var(--text-xs);margin-top:4px}.trip-edit-button{border:0;border-left:1px solid var(--line);background:rgba(var(--surface-rgb), .52);min-width:58px;color:var(--accent-ink);font-size:var(--text-xs);font-weight:800}.show-archived{width:100%;min-height:40px;color:var(--muted);font-size:var(--text-xs);background:0 0;border:0;font-weight:750}.trip-editor-sheet{max-height:94dvh}.trip-form{gap:var(--space-2);flex-direction:column;display:flex}.trip-dates,.flight-meta{border:0;padding:0}.trip-form-section{border:1px solid var(--line);border-radius:var(--radius-xl);padding:var(--space-3);background:var(--white)}.section-title{justify-content:space-between;align-items:flex-start;gap:var(--space-2);margin-bottom:12px;display:flex}.section-title h3,.section-title p{margin:0}.section-title h3{font-size:var(--text-sm)}.section-title p{color:var(--muted);font-size:var(--text-xs);margin-top:3px;line-height:1.4}.section-title>span{border-radius:var(--radius-pill);background:var(--tint);min-width:28px;height:28px;color:var(--accent-ink);font-size:var(--text-xs);place-items:center;font-weight:800;display:grid}.currency-checkboxes{gap:var(--space-1);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.currency-checkboxes label{min-height:var(--tap-min);align-items:center;gap:var(--space-1);border-radius:var(--radius-md);padding:0 var(--space-2);background:var(--paper);font-size:var(--text-xs);font-weight:800;display:flex}.currency-checkboxes input,.switch-row input,.trip-check-list input{width:18px;height:18px;accent-color:var(--accent-ink);margin:0}.custom-currency-row{grid-template-columns:.75fr .75fr 1.2fr auto;gap:5px;margin-top:8px;display:grid}.custom-currency-row input,.custom-currency-row button,.rate-editor-grid input,.flight-input-row input,.flight-input-row select,.comparison-currency select,.flight-meta input{min-width:0;min-height:var(--tap-min);border:1px solid var(--line);border-radius:var(--radius-md);padding:0 var(--space-1);background:var(--white);color:var(--ink);font-size:var(--text-xs)}.custom-currency-row button{min-width:var(--tap-min);background:var(--brand);color:#fff;border:0;font-weight:800}.rate-editor-grid{gap:var(--space-1);grid-template-columns:repeat(2,minmax(0,1fr));margin-top:10px;display:grid}.rate-editor-grid label{min-width:0;color:var(--muted);font-size:var(--text-xs);flex-direction:column;gap:5px;font-weight:750;display:flex}.comparison-currency{justify-content:space-between;align-items:center;gap:var(--space-2);color:var(--muted);font-size:var(--text-xs);margin-top:12px;font-weight:750;display:flex}.comparison-currency select{min-width:90px;color:var(--ink);font-weight:800}.comparison-mode-field{margin-top:13px}.comparison-mode-field>div{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:5px;display:grid}.comparison-mode-field button{min-height:var(--tap-min);border:1px solid var(--line);border-radius:var(--radius-md);padding:0 var(--space-1);background:var(--paper);color:var(--muted);font-size:var(--text-xs);font-weight:800}.comparison-mode-field p{color:var(--muted);font-size:var(--text-xs);margin:7px 1px 0;line-height:1.4}.comparison-exclude-field legend{justify-content:space-between;align-items:baseline;gap:var(--space-1);width:100%;display:flex}.comparison-exclude-field legend span{color:var(--muted);font-size:var(--text-xs);font-weight:800}.comparison-exclude-field>.compare-category-list{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;gap:4px;max-height:176px;display:grid;overflow-y:auto}.compare-category-list label{align-items:center;gap:var(--space-1);border-radius:var(--radius-md);min-height:40px;padding:var(--space-1) var(--space-1);background:var(--paper);font-size:var(--text-xs);font-weight:700;display:flex}.compare-category-list input{width:17px;height:17px;accent-color:var(--accent-ink);flex:none;margin:0}.compare-category-list label span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.comparison-exclude-field .link-button{color:var(--accent-ink-strong);font-size:var(--text-xs);background:0 0;border:0;margin-top:8px;padding:0;font-weight:800;text-decoration:underline}.comparison-scope-note{border-top:1px solid var(--line);color:var(--muted);font-size:var(--text-xs);margin:12px 1px 0;padding-top:10px;line-height:1.45}.flight-input-row{gap:var(--space-1);grid-template-columns:minmax(0,1fr) 90px;display:grid}.flight-meta{margin-top:8px}.switch-row{align-items:flex-start;gap:var(--space-2);border-radius:var(--radius-md);padding:var(--space-2);background:var(--tint);margin-top:12px;display:flex}.switch-row span,.switch-row strong,.switch-row small{display:block}.switch-row strong{color:var(--accent-ink-strong);font-size:var(--text-sm)}.switch-row small{color:var(--muted);font-size:var(--text-xs);margin-top:3px}.trip-danger-actions{gap:var(--space-1);grid-template-columns:1fr 1fr;display:grid}.trip-danger-actions button{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--white);min-height:44px;color:var(--muted);font-size:var(--text-xs);font-weight:800}.trip-danger-actions button.danger{border-color:var(--danger-border-strong);background:var(--danger-surface);color:var(--danger)}.compare-controls{border:1px solid var(--line);border-radius:var(--radius-xl);padding:var(--space-3);background:var(--white)}.compare-control-heading{justify-content:space-between;align-items:center;display:flex}.compare-control-heading strong{font-size:var(--text-sm)}.compare-control-heading span{color:var(--muted);font-size:var(--text-xs)}.trip-check-list{flex-direction:column;gap:4px;max-height:180px;margin-top:9px;display:flex;overflow-y:auto}.trip-check-list label{align-items:center;gap:var(--space-2);border-radius:var(--radius-md);min-height:46px;padding:var(--space-1) var(--space-1);background:var(--paper);display:flex}.trip-check-list label span,.trip-check-list label strong,.trip-check-list label small{display:block}.trip-check-list label strong{font-size:var(--text-sm)}.trip-check-list label small{color:var(--muted);font-size:var(--text-xs);margin-top:2px}.trip-cost-chart{border:1px solid rgba(var(--brand-rgb), .18);border-radius:var(--radius-2xl);padding:var(--space-3) var(--space-3);background:linear-gradient(150deg, var(--white) 0%, var(--card-sheen) 100%);box-shadow:0 12px 32px rgba(var(--shadow-rgb), calc(.06 * var(--shadow-strength)));margin-top:10px}.trip-cost-chart-heading{justify-content:space-between;align-items:flex-start;gap:var(--space-3);display:flex}.trip-cost-chart-heading h3,.trip-cost-chart-heading p{margin:0}.trip-cost-chart-heading h3{font-size:var(--text-lg);letter-spacing:-.025em}.trip-cost-chart-heading>span{border-radius:var(--radius-pill);padding:var(--space-1) var(--space-1);background:var(--invert-surface);color:var(--invert-ink);font-size:var(--text-xs);flex:none;font-weight:800}.trip-cost-bars{gap:var(--space-2);flex-direction:column;margin-top:18px;display:flex}.trip-cost-label{justify-content:space-between;align-items:center;gap:var(--space-2);display:flex}.trip-cost-label>div:first-child{min-width:0;overflow:hidden}.trip-cost-label strong,.trip-cost-label small{display:block}.trip-cost-label>div:first-child strong{font-size:var(--text-sm);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.trip-cost-label>div:first-child small{white-space:nowrap;color:var(--muted);font-size:var(--text-xs);text-overflow:ellipsis;margin-top:2px;overflow:hidden}.trip-cost-value{text-align:right;flex-wrap:wrap;flex:0 auto;justify-content:flex-end;align-items:baseline;display:flex}.trip-cost-value>strong{width:100%;color:var(--accent-ink-strong);font-size:var(--text-md)}.trip-cost-marks{justify-content:flex-end;gap:0 6px;width:100%;margin-top:2px;display:flex}.trip-cost-marks small{color:var(--muted);font-size:var(--text-xs);font-weight:800}.trip-cost-marks small.lowest{color:var(--accent-ink)}.trip-cost-track{border-radius:var(--radius-pill);background:var(--neutral-surface);height:6px;margin-top:6px;display:flex;overflow:hidden}.trip-cost-fill{border-radius:inherit;background:var(--brand);height:100%;transition:width .22s;display:block}.trip-cost-ghost{border-radius:inherit;background:repeating-linear-gradient(135deg, var(--hatch-line) 0 3px, var(--neutral-surface) 3px 6px);height:100%;transition:width .22s;display:block}.completeness-flags{flex-wrap:wrap;gap:5px;margin:7px 0 0;padding:0;list-style:none;display:flex}.completeness-flags li{border:1px solid var(--warn-border);border-radius:var(--radius-pill);padding:3px var(--space-1);background:var(--warn-surface);color:var(--warn-ink);font-size:var(--text-xs);font-weight:800}.trip-cost-chart-footnote{border-top:1px solid var(--line);color:var(--muted);font-size:var(--text-xs);margin:15px 0 0;padding-top:11px;line-height:1.45}.compare-matrix-scroll{overscroll-behavior-x:contain;overflow-x:auto}.compare-matrix{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.compare-matrix th,.compare-matrix td{padding:9px var(--space-1);border-bottom:1px solid var(--line);text-align:right;white-space:nowrap}.compare-matrix tbody tr:last-child th,.compare-matrix tbody tr:last-child td{border-bottom:0}.compare-matrix thead th{border-bottom:1px solid var(--line-strong);vertical-align:bottom}.compare-matrix thead th strong{max-width:11ch;font-size:var(--text-sm);text-overflow:ellipsis;display:block;overflow:hidden}.compare-matrix thead th small{color:var(--muted);font-size:var(--text-xs);margin-top:2px;font-weight:400;display:block}.compare-matrix .matrix-rate-error{color:var(--danger)}.compare-matrix th[scope=row],.compare-matrix thead th:first-child{z-index:1;background:var(--white);color:var(--muted);font-size:var(--text-xs);text-align:left;white-space:normal;padding-left:0;font-weight:400;position:sticky;left:0}.compare-matrix td{border-left:1px solid var(--line-soft);min-width:84px;font-size:var(--text-sm);font-weight:800}.compare-matrix thead th+th{border-left:1px solid var(--line-soft)}.compare-matrix td.is-muted{color:var(--muted);font-size:var(--text-xs);font-weight:400}.compare-matrix-categories td{background-image:linear-gradient(to left, var(--tint) 0 var(--cell-fill,0%), transparent var(--cell-fill,0%))}.compare-matrix-categories th[scope=row]{padding-top:0;padding-bottom:0}.category-chart-toggle{width:100%;min-height:var(--tap-min);justify-content:space-between;align-items:center;gap:var(--space-1);padding:0 var(--space-1) 0 0;color:var(--muted);font-size:var(--text-xs);text-align:left;background:0 0;border:0;border-radius:0;display:flex}.category-chart-caret{color:var(--accent-ink);font-size:var(--text-2xs);flex:none}.compare-matrix-categories tr.is-charted th[scope=row]{color:var(--ink)}.compare-matrix-categories tr.is-charted .category-chart-toggle{color:var(--ink);font-weight:600}.compare-matrix-categories tr.is-charted .category-chart-caret{transform:rotate(180deg)}.category-chart{margin-top:var(--space-2);border-top:1px solid var(--line);padding-top:var(--space-2)}.category-chart-head{justify-content:space-between;align-items:flex-start;gap:var(--space-2);display:flex}.category-chart-head h4{font-size:var(--text-sm);margin:2px 0 0}.category-chart-plot{--chart-label-band:17px;margin-top:var(--space-2);align-items:flex-start;gap:6px;display:flex}.category-chart-axis{width:56px;height:104px;margin-top:var(--chart-label-band);flex:0 0 56px;position:relative}.category-chart-axis span{top:var(--at);color:var(--muted);font-size:var(--text-2xs);font-variant-numeric:tabular-nums;white-space:nowrap;padding-bottom:2px;position:absolute;right:0;transform:translateY(-100%)}.category-chart-scroll{overscroll-behavior-x:contain;min-width:0;padding-top:var(--chart-label-band);background-repeat:no-repeat;background-position:0 var(--chart-label-band);background-size:100% 104px;background-image:linear-gradient(to bottom, var(--line) 0 1px, transparent 1px), linear-gradient(to bottom, transparent 51px, var(--line) 51px 52px, transparent 52px), linear-gradient(to bottom, transparent 103px, var(--line-strong) 103px 104px, transparent 104px);flex:auto;overflow-x:auto}.category-chart-bars{justify-content:flex-start;align-items:flex-end;width:max-content;min-width:100%;padding:0 10px;display:flex}.category-chart-column{flex-direction:column;flex:0 0 48px;align-items:center;gap:5px;display:flex}.category-chart-track{background:0 0;border:0;border-radius:0;justify-content:center;align-items:flex-end;width:100%;height:104px;padding:0;display:flex;position:relative}.category-chart-track:focus-visible{outline-offset:-2px}.category-chart-bar{background:var(--brand);width:100%;max-width:32px;display:block}.category-chart-track.is-selected .category-chart-bar{background:var(--invert-surface)}.category-chart-bar.is-empty{background:var(--chart-axis)}.category-chart-track.is-selected .category-chart-bar.is-empty{background:var(--muted)}.category-chart-bar.is-netted{background:repeating-linear-gradient(135deg, var(--chart-axis) 0 3px, transparent 3px 6px)}.category-chart-label{max-width:calc(100% - 4px);color:var(--muted);font-size:var(--text-2xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.category-chart-value{bottom:var(--at);color:var(--ink);font-size:var(--text-2xs);font-variant-numeric:tabular-nums;pointer-events:none;white-space:nowrap;margin-bottom:3px;font-weight:800;position:absolute;left:50%;transform:translate(-50%)}.category-chart-hint{color:var(--muted);font-size:var(--text-xs);margin:2px 0 0}.category-chart-note{margin:var(--space-2) 0 0;color:var(--muted);font-size:var(--text-xs);line-height:1.45}.rate-disclosure{margin-top:var(--space-2);border-top:1px solid var(--line)}.rate-disclosure>summary,.rate-disclosure[open]>summary{border-bottom:0}.rate-disclosure>.rate-trip-list{padding-bottom:var(--space-2)}.rate-trip-list{gap:var(--space-1);flex-direction:column;display:flex}.rate-trip-list section{border-radius:var(--radius-md);padding:var(--space-2);background:var(--paper)}.rate-trip-list section>div{justify-content:space-between;gap:var(--space-2);display:flex}.rate-trip-list strong{font-size:var(--text-sm)}.rate-trip-list span,.rate-trip-list p,.rate-trip-list small{color:var(--muted);font-size:var(--text-xs)}.rate-trip-list p{color:var(--accent-ink-strong);margin:7px 0 3px;font-weight:800}.rate-trip-list small{line-height:1.45}@keyframes pulse{50%{opacity:.5}}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.chart-mode-switch{margin-bottom:12px}.chart-mode-note{color:var(--muted);font-size:var(--text-xs);margin:10px 0 0;line-height:1.45}.chart-window-note{margin:var(--space-2) 0 0;border-top:1px solid var(--line-soft);color:var(--muted);font-size:var(--text-xs);padding-top:10px;line-height:1.45}.rate-warning{align-items:baseline;gap:var(--space-1);border:1px solid rgba(var(--danger-rgb), .28);border-radius:var(--radius-lg);padding:var(--space-2) var(--space-3);background:rgba(var(--danger-rgb), .06);color:var(--danger);font-size:var(--text-xs);flex-wrap:wrap;margin:10px 0 0;font-weight:700;line-height:1.45;display:flex}.rate-warning button{color:var(--danger);font-size:var(--text-xs);background:0 0;border:0;padding:0;font-weight:850;text-decoration:underline}.timezone-switch.compact{background:0 0;grid-template-columns:1fr 1fr;width:100%;margin:0;padding:0}.timezone-switch.compact button{min-height:var(--tap-min);padding:6px var(--space-1);line-height:1.25}.timezone-field .field-heading{color:var(--ink);font-size:var(--text-sm);margin:0;font-weight:800}.timezone-row{gap:var(--space-1);display:flex}.timezone-row input{flex:1;min-width:0}.timezone-row button{min-height:46px;padding:0 var(--space-2);border:1px solid rgba(var(--brand-rgb), .18);border-radius:var(--radius-md);background:var(--tint);color:var(--accent-ink);font-size:var(--text-xs);white-space:nowrap;flex:none;font-weight:800}.timezone-field small{color:var(--muted);font-size:var(--text-xs);line-height:1.45}.timezone-field small.field-warning{color:var(--danger)}.refund-amount{color:var(--positive)}.date-window-note,.window-note{border:1px solid rgba(var(--brand-rgb), .18);border-radius:var(--radius-lg);padding:var(--space-2) var(--space-2);background:var(--tint);color:var(--accent-ink-strong);font-size:var(--text-xs);flex-wrap:wrap;align-items:baseline;gap:5px;margin:0;font-weight:700;line-height:1.45;display:flex}.window-note{border:0;border-bottom:1px solid var(--line);color:var(--muted);background:0 0;border-radius:0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;margin:4px 2px 2px;padding:11px 2px 12px;font-weight:500;display:grid}.window-note>span{color:var(--accent-ink);font-size:var(--text-md)}.window-note p{margin:0}.window-note p strong{color:var(--ink);margin-bottom:2px;display:block}.window-note button,.date-window-note button{color:var(--accent-ink);font-size:var(--text-xs);background:0 0;border:0;padding:0;font-weight:850;text-decoration:none}.window-note button{min-height:var(--tap-min);white-space:nowrap;align-items:center;display:inline-flex}.merge-card{gap:var(--space-2);border:1px solid var(--line);border-radius:var(--radius-2xl);padding:var(--space-3);background:var(--white);flex-direction:column;margin-top:10px;display:flex}.merge-card h3{font-size:var(--text-md);margin:0;font-weight:800}.merge-card p{color:var(--muted);font-size:var(--text-xs);margin:5px 0 0;line-height:1.45}.merge-card code{font-size:var(--text-xs)}.merge-list{overscroll-behavior:contain;gap:var(--space-1);flex-direction:column;max-height:240px;display:flex;overflow-y:auto}.merge-list label{align-items:center;gap:var(--space-2);border:1px solid var(--line);border-radius:var(--radius-md);min-height:42px;padding:0 var(--space-2);background:var(--white);font-size:var(--text-sm);font-weight:700;display:flex}.merge-list label.selected{border-color:var(--accent-ink);background:var(--tint);color:var(--accent-ink-strong)}.merge-list label span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.merge-list label small{color:var(--muted);font-size:var(--text-xs);font-weight:800}.merge-target{gap:var(--space-1);flex-direction:column;display:flex}.merge-target span{color:var(--muted);font-size:var(--text-xs);font-weight:800}.merge-target input{border:1px solid var(--line);border-radius:var(--radius-md);min-height:46px;padding:0 var(--space-2);background:var(--white);color:var(--ink);font-size:var(--text-sm);font-weight:700}.merge-actions{gap:var(--space-1);display:flex}.merge-actions button{border-radius:var(--radius-md);background:var(--brand);color:#fff;min-height:47px;font-size:var(--text-xs);border:0;flex:1;font-weight:800}.merge-actions button:disabled{background:var(--tint);color:var(--muted)}.merge-actions .merge-undo{padding:0 var(--space-3);border:1px solid rgba(var(--brand-rgb), .2);color:var(--accent-ink);background:0 0;flex:none}.currency-checkboxes label.home-currency{border-color:var(--accent-ink)}.currency-checkboxes label.home-currency input:disabled{opacity:1}.refund-switch{margin-bottom:4px}.confirm-body{color:var(--muted);font-size:var(--text-xs);margin:0;line-height:1.5}.confirm-actions{gap:var(--space-1);margin-top:16px;display:flex}.confirm-actions button{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--white);min-height:50px;color:var(--ink);font-size:var(--text-sm);flex:1;font-weight:800}.confirm-actions button:last-child{border-color:var(--accent-ink);background:var(--brand);color:#fff}.confirm-actions button:last-child.danger{border-color:var(--danger);background:var(--danger)}.confirm-actions button:disabled{opacity:.55}.state-topbar-title{min-width:0;color:var(--ink);text-align:left}.state-topbar-title .eyebrow{display:block}.state-topbar-title strong{max-width:min(74vw,450px);font-size:var(--text-xl);letter-spacing:-.035em;text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.state-card{gap:var(--space-2);border:1px solid var(--line);border-radius:var(--radius-2xl);padding:var(--space-4) var(--space-3);background:var(--white);flex-direction:column;margin-top:10px;display:flex}.state-card h2{font-size:var(--text-lg);letter-spacing:-.03em;margin:0;font-weight:850}.state-card p{color:var(--muted);font-size:var(--text-xs);margin:0;line-height:1.5}.state-card .state-note{font-size:var(--text-xs)}.state-actions{gap:var(--space-1);flex-direction:column;margin-top:6px;display:flex}.state-actions button{border:1px solid rgba(var(--brand-rgb), .18);border-radius:var(--radius-lg);background:var(--tint);min-height:50px;color:var(--accent-ink);font-size:var(--text-sm);font-weight:800}.state-actions .state-primary{background:var(--brand);color:#fff;box-shadow:0 8px 22px rgba(var(--shadow-rgb), calc(.22 * var(--shadow-strength)));border:0}.backup-banner{gap:var(--space-2);border:1px solid rgba(var(--brand-rgb), .18);border-radius:var(--radius-xl);padding:var(--space-3) var(--space-3);background:var(--tint);flex-direction:column;margin-top:10px;display:flex}.backup-banner strong{color:var(--accent-ink-strong);font-size:var(--text-sm);margin-bottom:4px;font-weight:850;display:block}.backup-banner p{color:var(--accent-ink-strong);font-size:var(--text-xs);margin:0;line-height:1.45}.backup-banner-actions{gap:var(--space-1);display:flex}.backup-banner-actions button{border-radius:var(--radius-md);background:var(--brand);color:#fff;min-height:44px;font-size:var(--text-xs);border:0;flex:1;font-weight:800}.backup-banner-actions .backup-dismiss{padding:0 var(--space-3);border:1px solid rgba(var(--brand-rgb), .2);color:var(--accent-ink);background:0 0;flex:none}.trip-review-card{gap:var(--space-2);border:1px solid var(--line);border-radius:var(--radius-xl);padding:var(--space-3) var(--space-3);background:var(--white);flex-direction:column;margin-top:10px;display:flex}.trip-review-head{justify-content:space-between;align-items:flex-start;gap:var(--space-2);display:flex}.trip-review-head strong{color:var(--ink);font-size:var(--text-sm);margin-bottom:4px;font-weight:850;display:block}.trip-review-head p{color:var(--muted);font-size:var(--text-xs);margin:0;line-height:1.45}.trip-review-head button{border:1px solid var(--line);border-radius:var(--radius-md);min-height:34px;padding:0 var(--space-2);color:var(--muted);font-size:var(--text-xs);background:0 0;flex:none;font-weight:800}.trip-review-card ul{gap:var(--space-2);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.trip-review-card li{border-top:1px solid var(--line);padding-top:10px}.trip-review-expense{justify-content:space-between;align-items:baseline;gap:var(--space-2);margin-bottom:7px;display:flex}.trip-review-expense strong{color:var(--ink);font-size:var(--text-sm);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.trip-review-expense span{color:var(--muted);font-size:var(--text-xs);flex:none;font-weight:700}.trip-review-options{gap:var(--space-1);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.trip-review-options button{border:1px solid var(--line);border-radius:var(--radius-md);min-height:38px;padding:0 var(--space-1);background:var(--white);color:var(--muted);font-size:var(--text-xs);font-weight:800}.import-body,.import-result{gap:var(--space-2);flex-direction:column;display:flex}.import-file-summary{color:var(--ink);font-size:var(--text-sm);margin:0;font-weight:700;line-height:1.5}.import-note,.import-result-line{color:var(--muted);font-size:var(--text-xs);margin:0;line-height:1.45}.import-result-line{color:var(--accent-ink-strong);font-weight:800}.import-modes{gap:var(--space-1);border:0;flex-direction:column;min-width:0;margin:0;padding:0;display:flex}.import-modes legend{padding:0 0 var(--space-1);color:var(--muted);font-size:var(--text-xs);letter-spacing:.08em;text-transform:uppercase;font-weight:800}.import-modes label{align-items:flex-start;gap:var(--space-2);border:1px solid var(--line);border-radius:var(--radius-lg);padding:var(--space-2) var(--space-3);background:var(--white);display:flex}.import-modes label.selected{border-color:var(--accent-ink);background:var(--tint)}.import-modes label input{accent-color:var(--accent-ink);flex:none;margin-top:2px}.import-modes label span{flex-direction:column;gap:3px;min-width:0;display:flex}.import-modes label strong{font-size:var(--text-sm);font-weight:850}.import-modes label small{color:var(--muted);font-size:var(--text-xs);line-height:1.4}.import-modes label .import-mode-effect{color:var(--accent-ink);font-weight:800}.import-confirm{gap:var(--space-1);border:1px solid rgba(var(--danger-rgb), .3);border-radius:var(--radius-lg);padding:var(--space-2) var(--space-3);background:rgba(var(--danger-rgb), .06);flex-direction:column;display:flex}.import-confirm span{color:var(--danger);font-size:var(--text-xs);font-weight:800;line-height:1.4}.import-confirm input{border:1px solid var(--line);border-radius:var(--radius-md);min-height:46px;padding:0 var(--space-2);background:var(--white);color:var(--ink);font-size:var(--text-sm);letter-spacing:.1em;font-weight:800}.import-result-detail{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--white);flex-direction:column;margin:0;padding:0;list-style:none;display:flex;overflow:hidden}.import-result-detail li{justify-content:space-between;align-items:center;gap:var(--space-2);min-height:46px;padding:0 var(--space-3);border-bottom:1px solid var(--line);display:flex}.import-result-detail li:last-child{border-bottom:0}.import-result-detail span{color:var(--muted);font-size:var(--text-xs);font-weight:700}.import-result-detail strong{font-size:var(--text-xs);text-align:right;font-weight:800}.import-rejects{border:1px solid var(--line);border-radius:var(--radius-lg);padding:var(--space-2) var(--space-3);background:var(--white)}.import-rejects summary{color:var(--danger);font-size:var(--text-xs);font-weight:800}.import-rejects ul{gap:var(--space-1);flex-direction:column;max-height:190px;margin:10px 0 0;padding:0;list-style:none;display:flex;overflow-y:auto}.import-rejects li{flex-direction:column;gap:2px;display:flex}.import-rejects li span{font-size:var(--text-xs);font-weight:700}.import-rejects li small,.import-rejects p{color:var(--muted);font-size:var(--text-xs)}.import-rejects p{margin:8px 0 0}.recent-strip{gap:5px;margin-top:7px;padding-bottom:2px;display:flex;overflow-x:auto}.recent-strip button{max-width:190px;min-height:var(--tap-min);border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--muted);font-size:var(--text-xs);text-overflow:ellipsis;white-space:nowrap;background:0 0;flex:none;padding:0 11px;font-weight:600;overflow:hidden}.recent-strip button.selected{border-color:var(--invert-surface);background:var(--invert-surface);color:var(--invert-ink)}.select-box{border:1px solid var(--line);border-radius:var(--radius-xs);background:var(--white);color:#0000;width:19px;height:19px;font-size:var(--text-xs);vertical-align:middle;flex:none;place-items:center;margin-right:9px;font-weight:900;display:inline-grid}.ledger-row.is-selected .select-box{border-color:var(--accent-ink);background:var(--brand);color:#fff}.bulk-bar{border:1px solid var(--line);border-radius:var(--radius-xl);padding:var(--space-2);background:var(--white);margin-bottom:12px}.bulk-bar-head{justify-content:space-between;align-items:center;gap:var(--space-2);display:flex}.bulk-bar-head strong{font-size:var(--text-xs)}.bulk-bar-head>div{gap:var(--space-1);display:flex}.bulk-bar-head button{border:1px solid var(--line);border-radius:var(--radius-md);min-height:34px;padding:0 var(--space-2);background:var(--white);color:var(--muted);font-size:var(--text-xs);font-weight:800}.bulk-actions{gap:var(--space-1);grid-template-columns:repeat(4,minmax(0,1fr));margin-top:10px;display:grid}.bulk-actions button{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--tint);min-height:42px;color:var(--accent-ink-strong);font-size:var(--text-xs);padding:0 4px;font-weight:800}.bulk-actions button.danger{border-color:var(--danger-border);background:var(--danger-surface);color:var(--danger)}.bulk-actions button:disabled,.bulk-bar-head button:disabled{opacity:.45}.bulk-undo{border:1px dashed var(--brand);border-radius:var(--radius-md);background:var(--white);width:100%;min-height:40px;color:var(--accent-ink-strong);font-size:var(--text-xs);margin-top:8px;font-weight:800}.bulk-bar small{color:var(--muted);font-size:var(--text-xs);margin-top:9px;line-height:1.45;display:block}.bulk-sheet .bulk-note{color:var(--muted);font-size:var(--text-xs);margin:0 0 10px;line-height:1.45}.bulk-option-list{border:1px solid var(--line);border-radius:var(--radius-lg);max-height:260px;padding:var(--space-1) var(--space-1);background:var(--white)}.bulk-option-list label{justify-content:flex-start}.bulk-option-list label.selected{background:var(--tint);color:var(--accent-ink-strong)}.bulk-option-list label small{color:var(--muted);font-size:var(--text-xs);margin-left:auto}.bulk-free-text{margin-top:12px}.budget-card{border:1px solid var(--line);border-radius:var(--radius-xl);padding:var(--space-3);background:var(--white);margin-bottom:12px}.budget-card-head{justify-content:space-between;align-items:flex-start;gap:var(--space-2);display:flex}.budget-card-head>div>span{color:var(--muted);font-size:var(--text-xs);font-weight:800;display:block}.budget-card-head strong{color:var(--accent-ink-strong);font-size:var(--text-xl);letter-spacing:-.02em;margin-top:3px;display:block}.budget-card-head button{min-height:var(--tap-min);border:1px solid var(--line);border-radius:var(--radius-md);padding:0 var(--space-2);background:var(--white);color:var(--muted);font-size:var(--text-xs);font-weight:800}.budget-track{border-radius:var(--radius-pill);background:var(--neutral-surface);height:11px;margin-top:12px;position:relative;overflow:hidden}.budget-fill{border-radius:inherit;background:linear-gradient(90deg, var(--brand), var(--brand-light));height:100%;transition:width .22s;display:block}.budget-projection{background:var(--ink);width:2px;height:100%;transition:left .22s;position:absolute;top:0}.budget-line{color:var(--ink);font-size:var(--text-sm);margin:11px 0 0;font-weight:700;line-height:1.5}.budget-line.is-over{color:var(--danger)}.budget-line.is-positive{color:var(--positive)}.budget-line.is-neutral{color:var(--muted-strong)}.budget-today{font-size:var(--text-sm);margin:7px 0 0;line-height:1.4}.budget-today.is-positive{color:var(--positive)}.budget-today.is-danger{color:var(--danger)}.budget-today.is-muted-strong{color:var(--muted-strong)}.budget-today strong{font-weight:700}.budget-card small{color:var(--muted);font-size:var(--text-xs);margin-top:7px;line-height:1.45;display:block}.budget-editor-note{color:var(--muted);font-size:var(--text-xs);margin:9px 0 0;line-height:1.45}.planning-buffer-callout{border:1px solid rgba(var(--brand-rgb), .22);border-radius:var(--radius-lg);padding:var(--space-2);background:var(--tint);margin-bottom:12px}.planning-buffer-callout>strong{color:var(--accent-ink);font-size:var(--text-sm);margin-top:3px;display:block}.planning-buffer-callout p{color:var(--muted);font-size:var(--text-xs);margin:5px 0 0;line-height:1.45}.budget-pill{border:1px solid var(--line);border-radius:var(--radius-lg);width:100%;padding:var(--space-2) var(--space-2);background:var(--white);color:var(--ink);text-align:left;margin-bottom:14px;display:block}.budget-pill strong{font-size:var(--text-sm);display:block}.budget-pill span{color:var(--muted);font-size:var(--text-xs);margin-top:3px;line-height:1.4;display:block}.budget-pill.is-over{border-color:var(--danger-border);background:var(--danger-surface)}.budget-pill.is-over strong{color:var(--danger)}.budget-pill.is-positive strong{color:var(--positive)}.budget-pill.is-neutral strong{color:var(--ink)}.compare-category-list label.auto-excluded{opacity:.55}.trip-cost-row{position:relative}.trip-cost-flag-row{align-items:center;gap:var(--space-1);flex-wrap:wrap;margin-top:6px;display:flex}.trip-cost-flag-row .completeness-flags{margin:0}.trip-cost-note-anchor{flex:none;display:inline-flex}.trip-cost-info{border:1px solid var(--line);border-radius:var(--radius-pill);background:var(--white);width:22px;height:22px;color:var(--accent-ink);font-size:var(--text-xs);place-items:center;padding:0;font-style:italic;font-weight:900;line-height:1;display:grid;position:relative}.trip-cost-info:after{width:var(--tap-min);height:var(--tap-min);content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.trip-cost-note-anchor.is-open .trip-cost-info{border-color:var(--accent-ink);background:var(--brand);color:#fff}.trip-cost-detail{z-index:5;gap:var(--space-1);border:1px solid var(--line);border-radius:var(--radius-md);padding:var(--space-2) var(--space-2);background:var(--white);box-shadow:0 10px 24px rgba(var(--shadow-rgb), calc(.14 * var(--shadow-strength)));color:var(--ink);font-size:var(--text-xs);text-align:left;flex-direction:column;line-height:1.5;display:none;position:absolute;top:calc(100% + 6px);left:0;right:0}.trip-cost-note-anchor.is-open .trip-cost-detail{display:flex}@media (hover:hover){.trip-cost-note-anchor:hover .trip-cost-detail,.trip-cost-info:focus-visible+.trip-cost-detail{display:flex}}@media (width>=700px){.app-shell{padding-left:28px;padding-right:28px}.topbar{padding-top:30px}}@media (width<=390px){.stay-panel{grid-template-columns:1fr}.stay-panel p{grid-column:1}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
