:root{--ink: #12213d;--mist: #f3f5fb;--brand: #23408e;--brand-strong: #162d71;--brand-soft: #edf3ff;--brand-soft-border: #c9d9ff;--teal: #2b8a3e;--teal-soft: #e8faf3;--warm: #ff7a00;--surface: #ffffff;--surface-alt: #f8fbff;--surface-soft: #f1f6ff;--line: #dbe2f0;--line-strong: #c8d2e4;--muted: #516079;--muted-strong: #344561;--heading: #13213a;--accent-text: #183054;--page-bg: radial-gradient(circle at 12% 8%, #e8edff, #f7f9ff 55%, #ffffff);--panel-shadow: 0 18px 42px rgba(13, 31, 62, .08);--raised-shadow: 0 24px 50px rgba(7, 18, 38, .2);--focus-ring: 0 0 0 3px rgba(35, 64, 142, .18);--overlay: rgba(7, 18, 38, .42);--success: #0d6b4f;--success-strong: #0b7d5a;--success-soft-border: #b7e9d3;--danger: #b42339;--danger-soft: #fff2f4;--danger-soft-border: #f2c6ce;--warning-text: #7a4a00;--warning-soft: #fff7e8;--warning-soft-border: #f3c87b}:root[data-theme=dark]{--ink: #edf4ff;--mist: #0c1220;--surface: #121a2b;--surface-alt: #172134;--surface-soft: #1b2740;--line: #29354c;--line-strong: #34445f;--muted: #a8b6cf;--muted-strong: #d0dcf1;--heading: #f4f7fd;--accent-text: #d8e5ff;--brand-soft: rgba(35, 64, 142, .24);--brand-soft-border: rgba(93, 133, 224, .4);--teal-soft: rgba(43, 138, 62, .18);--page-bg: radial-gradient(circle at 12% 8%, #18213a, #0d1424 55%, #09101c);--panel-shadow: 0 22px 54px rgba(0, 0, 0, .34);--raised-shadow: 0 28px 58px rgba(0, 0, 0, .42);--focus-ring: 0 0 0 3px rgba(116, 151, 230, .22);--overlay: rgba(2, 6, 14, .68);--success-soft-border: rgba(54, 165, 112, .45);--danger-soft: rgba(120, 29, 47, .28);--danger-soft-border: rgba(226, 98, 125, .38);--warning-soft: rgba(138, 94, 26, .22);--warning-soft-border: rgba(234, 177, 86, .4)}*{box-sizing:border-box}body{margin:0;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background:var(--page-bg);color:var(--ink);transition:background .18s ease,color .18s ease}a{color:var(--brand)}button,input,textarea,select,.auth-card,.panel,.stat-card,.top-menu-link,.profile-dropdown,.profile-modal,.landing-hero,.landing-section,.expense-chat-panel{transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:none;box-shadow:var(--focus-ring)}.stack-form{display:grid;gap:12px}label{display:grid;gap:6px;font-size:14px}input,textarea,select,button{font:inherit;border-radius:10px;border:1px solid var(--line);padding:10px 12px}textarea{resize:vertical;min-height:96px}button{border:none;background:linear-gradient(120deg,var(--brand),var(--brand-strong));color:#fff;font-weight:600;cursor:pointer}button:disabled{opacity:.6;cursor:not-allowed}.secondary-button{border:1px solid var(--brand-soft-border);background:var(--brand-soft);color:var(--brand)}.error-text{color:#d0293f;margin:4px 0}.success-text{color:var(--success);margin:4px 0}.help-text{margin:0;color:var(--muted);font-size:13px}.session-limit-banner{background:#fff4e5;border:1px solid #f5a623;border-left:4px solid #f5a623;border-radius:6px;color:#7a4a00;padding:12px 16px;margin:0 0 16px;font-size:14px;line-height:1.5}.session-limit-banner a{color:#c45c00;font-weight:600}table{width:100%;border-collapse:collapse}th,td{text-align:left;border-bottom:1px solid var(--line);padding:10px 6px}.empty-state-cell{text-align:center;color:var(--muted);padding:20px 8px}.theme-toggle{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--brand-soft-border);background:var(--surface-soft);color:var(--accent-text);font-weight:700;padding:4px;border-radius:14px}.theme-toggle-option{border:1px solid transparent;background:transparent;color:var(--muted-strong);padding:6px 10px;min-height:36px;display:inline-flex;align-items:center;gap:8px;border-radius:10px}.theme-toggle-option[data-active=true]{background:var(--surface);border-color:var(--line-strong);color:var(--brand);box-shadow:0 8px 18px #0d1f3e14}.theme-toggle-glyph{width:20px;height:20px;display:inline-grid;place-items:center;border-radius:999px;background:var(--brand-soft);color:var(--brand);font-size:11px;font-weight:800}.theme-toggle-floating{position:fixed;top:calc(12px + env(safe-area-inset-top,0px));right:calc(12px + env(safe-area-inset-right,0px));z-index:80;box-shadow:var(--panel-shadow)}.theme-toggle-floating .theme-toggle-option{min-width:38px;justify-content:center;padding:6px 8px}.dashboard-header{display:flex;align-items:center;justify-content:space-between;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:18px}.dashboard-header-title{display:flex;align-items:center;gap:14px}.dashboard-logo{height:36px;width:auto}.dashboard-header-title h1,.dashboard-header-title span{margin:0;font-size:1.4rem;color:var(--ink)}.dashboard-header-subtitle{margin:4px 0 0;color:var(--muted);font-size:13px}.header-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.top-menu{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.top-menu-links{display:flex;gap:8px;flex-wrap:wrap}.top-menu-link{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:var(--brand);background:var(--brand-soft);border:1px solid var(--brand-soft-border);border-radius:999px;padding:9px 12px;font-weight:600}.top-menu-icon{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:#23408e29;font-size:11px;letter-spacing:.04em}.top-menu-link.active{color:#fff;background:linear-gradient(120deg,var(--brand),var(--brand-strong));border-color:transparent}.top-menu-link.active .top-menu-icon{background:#ffffff2e}.profile-menu{position:relative;margin-left:auto;display:flex;align-items:center;gap:10px}.profile-icon-button{width:42px;height:42px;display:inline-grid;place-items:center;border-radius:999px;border:1px solid var(--brand-soft-border);background:var(--brand-soft);color:var(--brand);font-weight:700;letter-spacing:.03em}.profile-dropdown{position:absolute;right:0;top:calc(100% + 10px);width:min(290px,86vw);background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:12px;box-shadow:var(--panel-shadow);z-index:30}.profile-name{margin:0;font-weight:700}.profile-email{margin:4px 0 10px;color:var(--muted);font-size:14px;word-break:break-word}.profile-dropdown-action{width:100%}.profile-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--overlay);display:grid;place-items:center;padding:18px;z-index:50}.profile-modal{width:min(560px,100%);background:var(--surface);border-radius:14px;border:1px solid var(--line);box-shadow:var(--raised-shadow);padding:20px}.profile-modal h2{margin:0 0 4px}.profile-modal-actions{display:flex;justify-content:flex-end;gap:10px}.pwa-install{display:grid;gap:4px;align-items:start}.pwa-install-hero{min-width:min(280px,100%)}.pwa-install-button{white-space:nowrap}.pwa-install-copy,.pwa-install-feedback{margin:0;font-size:12px;line-height:1.45;color:var(--muted)}.pwa-install-feedback{color:var(--accent-text)}.expense-chat-widget{position:fixed;right:20px;bottom:20px;z-index:60;display:grid;justify-items:end;gap:12px}.expense-chat-launcher{width:58px;height:58px;border-radius:999px;padding:0;display:inline-grid;place-items:center;box-shadow:0 16px 34px #0038a647}.expense-chat-launcher-icon{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.expense-chat-panel{width:min(437px,calc(100vw - 24px));background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--raised-shadow);overflow:hidden}.expense-chat-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 16px 12px;border-bottom:1px solid var(--line);background:linear-gradient(180deg,var(--surface-alt),var(--surface))}.expense-chat-header h2{margin:0;font-size:1rem}.expense-chat-header p{margin:4px 0 0;font-size:13px;color:var(--muted)}.expense-chat-close{background:var(--brand-soft);color:var(--brand);border:1px solid var(--brand-soft-border)}.expense-chat-body{display:grid;gap:10px;padding:14px 16px;min-height:170px;max-height:320px;overflow:auto;background:var(--surface-alt)}.expense-chat-message{max-width:92%;padding:10px 12px;border-radius:14px;line-height:1.45}.expense-chat-message p{margin:0;white-space:pre-wrap}.expense-chat-message.user{justify-self:end;background:linear-gradient(120deg,var(--brand),#0038a6);color:#fff;border-bottom-right-radius:6px}.expense-chat-message.assistant{justify-self:start;background:var(--brand-soft);color:var(--accent-text);border:1px solid var(--brand-soft-border);border-bottom-left-radius:6px}.expense-chat-message.assistant.success{background:var(--teal-soft);border-color:var(--success-soft-border);color:var(--success)}.expense-chat-message.assistant.error{background:var(--danger-soft);border-color:var(--danger-soft-border);color:var(--danger)}.expense-chat-message.assistant.missing{background:var(--warning-soft);border-color:var(--warning-soft-border);color:var(--warning-text);border-width:2px;box-shadow:0 10px 24px #f3c87b59;font-weight:600}.expense-chat-form{display:grid;gap:10px;padding:14px 16px 16px;border-top:1px solid var(--line);background:var(--surface)}.expense-chat-actions{display:flex;gap:8px;justify-content:flex-end;align-items:center}.expense-chat-reset{background:var(--surface-soft);color:var(--muted-strong);border:1px solid var(--line-strong)}.expense-chat-label{display:grid;gap:6px;font-size:13px;color:var(--muted)}.settings-widget-container{position:fixed;right:20px;bottom:90px;z-index:60;display:flex;flex-direction:column;align-items:flex-end;gap:12px}.settings-widget-launcher{width:58px;height:58px;border-radius:999px;padding:0;display:inline-grid;place-items:center;box-shadow:0 16px 34px #0d1f3e29;background:var(--surface);color:var(--brand);border:1px solid var(--brand-soft-border);cursor:pointer}@media (max-width: 768px){.expense-chat-widget{bottom:80px}.settings-widget-container{bottom:150px}}.protected-layout{display:flex;height:100vh;overflow:hidden;background:var(--color-bg, #f9fafb)}:root[data-theme=dark] .protected-layout{background:var(--color-bg-dark, #111827)}.protected-layout-main{flex:1;overflow-y:auto;display:flex;flex-direction:column;padding-bottom:64px}@media (min-width: 768px){.protected-layout-main{padding-bottom:0}}.sidebar-proto{display:none;flex-direction:column;background:#fff;border-right:1px solid #e5e7eb;transition:width .25s ease;height:100vh;flex-shrink:0;overflow:hidden}:root[data-theme=dark] .sidebar-proto{background:#1f2937;border-color:#374151}.sidebar-proto.expanded{width:256px}.sidebar-proto.collapsed{width:80px}.sidebar-proto-logo{padding:24px;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;gap:12px;min-height:72px;flex-shrink:0}:root[data-theme=dark] .sidebar-proto-logo{border-color:#374151}.sidebar-proto-logo-icon{width:40px;height:40px;background:#2563eb;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}.sidebar-proto-logo-img{height:22px;opacity:1;transition:opacity .2s,width .25s;overflow:hidden;white-space:nowrap}.sidebar-proto.collapsed .sidebar-proto-logo-img{opacity:0;width:0}.sidebar-proto-nav{flex:1;padding:16px;display:flex;flex-direction:column;gap:4px;overflow-y:auto}.sidebar-proto-link{display:flex;align-items:center;gap:12px;padding:10px 14px;border-radius:10px;text-decoration:none;color:#374151;font-size:14px;font-weight:500;transition:background .12s,color .12s;white-space:nowrap;overflow:hidden}:root[data-theme=dark] .sidebar-proto-link{color:#d1d5db}.sidebar-proto-link:hover{background:#f3f4f6;color:#111827}:root[data-theme=dark] .sidebar-proto-link:hover{background:#374151;color:#f9fafb}.sidebar-proto-link.active{background:#2563eb;color:#fff}:root[data-theme=dark] .sidebar-proto-link.active{background:#2563eb;color:#fff}.sidebar-proto-link-icon{width:20px;height:20px;flex-shrink:0}.sidebar-proto-link-label{overflow:hidden;white-space:nowrap;transition:opacity .2s,max-width .25s;max-width:160px}.sidebar-proto.collapsed .sidebar-proto-link-label{opacity:0;max-width:0}.sidebar-proto-footer{padding:16px;border-top:1px solid #e5e7eb;flex-shrink:0}:root[data-theme=dark] .sidebar-proto-footer{border-color:#374151}.sidebar-proto-logout{display:flex;align-items:center;gap:12px;padding:10px 14px;border-radius:10px;border:none;background:transparent;width:100%;cursor:pointer;color:#374151;font-size:14px;font-weight:500;text-align:left;white-space:nowrap;overflow:hidden;transition:background .12s,color .12s}.sidebar-proto-logout:hover{background:#f3f4f6;color:#111827}:root[data-theme=dark] .sidebar-proto-logout{color:#d1d5db}:root[data-theme=dark] .sidebar-proto-logout:hover{background:#374151;color:#f9fafb}.sidebar-proto-toggle{padding:14px 16px;border:none;border-top:1px solid #e5e7eb;background:transparent;width:100%;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#6b7280;transition:background .12s,color .12s;flex-shrink:0}.sidebar-proto-toggle:hover{background:#f3f4f6;color:#111827}:root[data-theme=dark] .sidebar-proto-toggle{border-color:#374151;color:#9ca3af}:root[data-theme=dark] .sidebar-proto-toggle:hover{background:#374151;color:#f9fafb}.sidebar-proto-mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #e5e7eb;z-index:50;justify-content:space-around;padding:8px 0}:root[data-theme=dark] .sidebar-proto-mobile-nav{background:#1f2937;border-color:#374151}.sidebar-proto-mobile-link{display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 12px;border-radius:8px;text-decoration:none;color:#6b7280;font-size:11px;font-weight:500;transition:color .12s}:root[data-theme=dark] .sidebar-proto-mobile-link{color:#9ca3af}.sidebar-proto-mobile-link.active{color:#2563eb}:root[data-theme=dark] .sidebar-proto-mobile-link.active{color:#60a5fa}@media (min-width: 768px){.sidebar-proto{display:flex}.sidebar-proto-mobile-nav{display:none}}.landing-layout{min-height:100vh;width:min(1120px,100% - 32px);margin:0 auto;padding:28px 0 44px;display:grid;gap:22px}.landing-hero,.landing-section{background:linear-gradient(180deg,var(--surface),var(--surface-alt));border:1px solid var(--line);border-radius:22px;box-shadow:var(--panel-shadow);padding:clamp(24px,4vw,40px)}.landing-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:linear-gradient(120deg,var(--brand),var(--brand-strong));color:#fff;border:1px solid var(--brand-soft-border);font-size:12px;letter-spacing:.04em;text-transform:none;font-weight:700}.landing-badge-icon{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:999px;background:#ffffff2e;font-size:11px}.landing-brand-row{margin-top:16px;display:flex;align-items:center;gap:14px}.landing-brand-icon{width:clamp(64px,9vw,88px);height:auto}.landing-brand-name{width:min(100%,280px);height:auto}.landing-hero h1{margin:18px 0 12px;font-size:clamp(2rem,4.3vw,3.4rem);line-height:1.08;color:var(--heading)}.landing-hero p{margin:0;max-width:760px;color:var(--muted);font-size:clamp(1rem,1.8vw,1.2rem);line-height:1.6}.landing-cta-row{margin-top:24px;display:flex;gap:12px;flex-wrap:wrap;align-items:center}.landing-primary-cta,.landing-secondary-cta,.landing-tertiary-cta{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border-radius:999px;min-height:44px;padding:11px 18px;font-weight:700}.landing-primary-cta{color:#fff;background:linear-gradient(120deg,var(--brand),var(--brand-strong))}.landing-secondary-cta{background:var(--surface-soft);color:var(--brand);border:1px solid var(--brand-soft-border)}.landing-tertiary-cta{background:transparent;color:var(--muted-strong);border:1px solid transparent}.landing-install-row{margin-top:12px}.landing-section h2{margin:0 0 12px;font-size:clamp(1.6rem,2.5vw,2.05rem);color:var(--heading)}.landing-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.landing-card{border:1px solid var(--line);border-radius:16px;padding:16px;background:var(--surface)}.landing-card-icon{display:inline-grid;place-items:center;min-width:42px;height:42px;padding:0 10px;border-radius:12px;margin-bottom:12px;background:var(--brand-soft);color:var(--brand);border:1px solid var(--brand-soft-border);font-weight:700;font-size:12px;letter-spacing:.04em}.landing-card h3{margin:0 0 8px;color:var(--accent-text)}.landing-card p{margin:0;color:var(--muted);line-height:1.55}.landing-outcomes ul{margin:0;padding:0;list-style:none;display:grid;gap:12px;color:var(--muted-strong)}.landing-outcomes li{display:grid;grid-template-columns:28px 1fr;align-items:start;gap:10px}.landing-check{width:24px;height:24px;border-radius:999px;background:linear-gradient(120deg,var(--brand),var(--brand-strong));color:#fff;display:inline-grid;place-items:center;font-size:13px;font-weight:700;margin-top:2px}.landing-bottom-cta{text-align:center}.landing-bottom-cta p{margin:0 auto 16px;max-width:640px;color:var(--muted)}.auth-layout{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-card{width:min(560px,96vw);background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:28px;box-shadow:0 14px 40px #0d1f3e14}.auth-layout-login{background:linear-gradient(160deg,rgba(35,64,142,.08),transparent 36%),var(--page-bg)}.auth-layout-register{background:linear-gradient(160deg,rgba(24,79,153,.09),transparent 42%),var(--page-bg)}.auth-register-brand{display:grid;gap:10px;justify-items:center}.auth-register-brand-row{display:inline-flex;align-items:center;gap:12px}.auth-register-brand-title{margin:0;color:var(--heading);font-size:1.9rem;line-height:1}.auth-login-shell{width:min(420px,100%)}.auth-card-login{width:100%;margin-top:16px}.auth-login-brand{display:grid;justify-items:center;gap:12px;margin-bottom:6px}.auth-login-brand-badge{width:56px;height:56px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(120deg,var(--brand),var(--brand-strong));box-shadow:0 12px 26px #23408e3d}.auth-login-brand-icon{width:32px;height:32px}.auth-login-brand-wordmark{width:min(220px,100%);height:auto;display:block}.auth-login-kicker,.auth-login-copy{margin:0;text-align:center}.auth-login-kicker{color:var(--muted);font-size:14px}.auth-card-login h1{margin:0 0 12px;text-align:center;color:var(--heading)}.auth-login-title{font-size:1.45rem}.auth-login-copy{margin-bottom:14px;color:var(--muted-strong);line-height:1.55}.auth-register-copy{margin:0 0 14px;text-align:center;color:var(--muted-strong);line-height:1.55}.auth-inline-info{margin:0;padding:8px 10px;border:1px solid var(--brand-soft-border);background:var(--brand-soft);color:var(--accent-text);border-radius:10px}.auth-inline-error{margin:0;padding:8px 10px;border:1px solid var(--danger-soft-border);background:var(--danger-soft);border-radius:10px}.auth-login-links{margin-top:14px;display:grid;gap:8px;text-align:center}.auth-login-links a{color:var(--brand);font-weight:600;text-decoration:none}.auth-login-links a:hover{text-decoration:underline}.auth-brand-block{display:grid;gap:8px;margin-bottom:14px}.auth-brand-lockup{display:flex;align-items:center;gap:14px}.auth-brand-icon{width:clamp(74px,12vw,106px);height:auto;flex:0 0 auto}.auth-brand-wordmark{width:min(100%,360px);height:auto;display:block}.auth-brand-tagline{margin:0;color:var(--muted);font-size:14px;letter-spacing:.01em;line-height:1.45;display:flex;align-items:center;gap:12px}.auth-brand-tagline:before,.auth-brand-tagline:after{content:"";height:1px;background:var(--line-strong);flex:1}.dashboard-layout{padding:20px;display:grid;gap:18px}.dashboard-page-shell{max-width:1240px;margin:0 auto}.dashboard-page-heading{display:flex;justify-content:space-between;align-items:center;gap:14px}.dashboard-page-heading h1,.dashboard-page-title{margin:0;color:var(--heading);font-size:1.95rem}.dashboard-page-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.success-toast{position:sticky;top:12px;z-index:20;justify-self:end;max-width:min(360px,100%);background:linear-gradient(120deg,var(--teal),var(--success-strong));color:#fff;border-radius:12px;padding:12px 16px;box-shadow:0 12px 32px #0b7d5a38}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.stat-card,.panel{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:16px}.stat-card p{font-size:24px;font-weight:700;margin:10px 0 0}.stat-card-head{display:flex;align-items:center;gap:10px}.stat-card h3{margin:0;color:var(--muted-strong);font-size:.95rem;font-weight:600}.stat-badge{display:inline-grid;place-items:center;min-width:32px;height:32px;padding:0 8px;border-radius:10px;background:var(--brand-soft);border:1px solid var(--brand-soft-border);color:var(--brand);font-size:11px;font-weight:700;letter-spacing:.02em}.stat-badge svg{width:16px;height:16px}.stat-badge-blue{background:#e4eeff;border-color:#c7dbff;color:#1f57be}.stat-badge-violet{background:#f0e9ff;border-color:#d9c9ff;color:#6f48bf}.stat-badge-green{background:#e7f8ec;border-color:#bfe9cb;color:#217d41}.panel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.panel[style*="span 2"]{grid-column:span 2}.chart-box{width:100%;height:280px}.table-wrap{overflow:auto}.extract-output{margin-top:12px;border-top:1px solid var(--line);padding-top:12px}.extract-output pre{margin:0;background:var(--surface-alt);border:1px solid var(--line);border-radius:10px;padding:10px;overflow:auto;max-height:220px}.dashboard-card-copy{margin-bottom:14px}.quick-capture-form{margin-top:8px}.camera-capture-label{display:grid;gap:10px;padding:12px;border-radius:12px;border:1px dashed var(--brand-soft-border);background:var(--surface-alt)}.camera-capture-empty{min-height:150px;border:2px dashed var(--brand-soft-border);border-radius:12px;display:grid;place-items:center;gap:8px;text-align:center;color:var(--muted);background:var(--surface)}.camera-capture-glyph{width:44px;height:44px;border-radius:999px;display:inline-grid;place-items:center;background:var(--brand-soft);border:1px solid var(--brand-soft-border);color:var(--brand);font-weight:700;font-size:12px}.camera-capture-copy{font-size:13px}.camera-preview-card{display:grid;gap:10px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-alt);position:relative}.camera-preview-image{width:100%;max-height:220px;object-fit:cover;border-radius:10px;border:1px solid var(--brand-soft-border)}.camera-preview-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.camera-preview-remove{position:absolute;top:18px;right:18px;width:30px;height:30px;border-radius:999px;padding:0;background:#d12d3f;color:#fff;border:none;display:inline-grid;place-items:center;font-size:12px}.dashboard-cta-block{display:grid;gap:12px}.dashboard-primary-button{width:fit-content}.dashboard-mini-bars{height:250px;display:flex;align-items:flex-end;justify-content:space-around;gap:10px}.dashboard-mini-bar-item{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;height:100%}.dashboard-mini-bar{width:100%;border-radius:10px 10px 0 0;background:linear-gradient(180deg,#1f66ff,#114cc0);min-height:8px}.dashboard-mini-bar-label{font-size:12px;color:var(--muted-strong)}.dashboard-mini-bar-value{font-size:11px;color:var(--muted);text-align:center}.quick-add-mobile{display:none}.quick-add-desktop{display:grid}.quick-add-mobile-card{display:none}.quick-add-desktop-card{display:block}.dashboard-proto{min-height:100vh;padding:0 0 80px;background:#f9fafb}:root[data-theme=dark] .dashboard-proto{background:#111827}.dashboard-proto-container{width:min(1280px,100% - 48px);margin:0 auto;padding-top:32px}.dashboard-proto-title{margin:0 0 32px;font-size:1.875rem;color:var(--heading)}.dashboard-proto-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-bottom:32px}.dashboard-proto-card{background:#fff;border:none;border-radius:12px;padding:24px;box-shadow:0 1px 2px #0f172a14}:root[data-theme=dark] .dashboard-proto-card{background:#1f2937}.dashboard-proto-card h2{margin:0 0 16px;font-size:20px;font-weight:600;line-height:1.4;color:var(--heading)}.dashboard-proto-card h3{margin:0 0 16px;font-size:16px;font-weight:600;line-height:1.4;color:var(--heading)}.dashboard-proto-stat-head{display:flex;align-items:center;gap:10px;color:#4b5563}:root[data-theme=dark] .dashboard-proto-stat-head{color:#9ca3af}.dashboard-proto-icon{width:40px;height:40px;border-radius:8px;display:inline-grid;place-items:center;font-size:11px;font-weight:700}.dashboard-proto-icon.blue{background:#dbeafe;color:#2563eb}.dashboard-proto-icon.violet{background:#f3e8ff;color:#9333ea}.dashboard-proto-icon.green{background:#dcfce7;color:#16a34a}:root[data-theme=dark] .dashboard-proto-icon.blue{background:#1e3a8a4d;color:#60a5fa}:root[data-theme=dark] .dashboard-proto-icon.violet{background:#6b21a847;color:#c4b5fd}:root[data-theme=dark] .dashboard-proto-icon.green{background:#14532d57;color:#4ade80}.dashboard-proto-action-btn{height:40px;padding:0 16px;border-radius:6px;border:none;background:#2563eb;color:#fff;font-weight:500;width:auto}.dashboard-proto-action-btn:hover{background:#1d4ed8}.dashboard-proto-mobile-only .dashboard-proto-action-btn{width:100%}.dashboard-proto-stat-value{margin-top:10px;font-size:1.875rem;font-weight:700;color:var(--ink)}.dashboard-proto-mobile-only{display:none}.dashboard-proto-desktop-only{display:block;margin-bottom:32px}.dashboard-proto-muted{margin:0 0 16px;color:var(--muted)}.dashboard-proto-link-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;border-radius:10px;text-decoration:none;color:#fff;background:linear-gradient(120deg,var(--brand),var(--brand-strong));font-weight:600}.dashboard-proto-capture-zone{min-height:192px;border:2px dashed var(--line-strong);border-radius:12px;display:grid;place-items:center;gap:10px;text-align:center;color:var(--muted);cursor:pointer;padding:12px}.dashboard-proto-capture-zone:hover{border-color:#3b82f6}.dashboard-proto-capture-zone input{display:none}.dashboard-proto-capture-glyph{width:48px;height:48px;display:inline-grid;place-items:center;color:var(--muted-strong);font-size:12px;font-weight:700}.dashboard-proto-capture-glyph svg{width:48px;height:48px}.dashboard-proto-icon svg,.dashboard-proto-remove svg{width:20px;height:20px}.dashboard-proto-preview-wrap{display:grid;gap:12px;position:relative}.dashboard-proto-preview{width:100%;height:192px;object-fit:cover;border-radius:8px;border:1px solid var(--line)}.dashboard-proto-remove{position:absolute;top:10px;right:10px;width:32px;height:32px;border-radius:999px;border:none;padding:0;background:#cf3348;color:#fff;display:inline-grid;place-items:center}.dashboard-proto-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.dashboard-proto-bars{height:256px;display:flex;margin:0 0 16px;gap:8px;align-items:flex-end;justify-content:space-around}.dashboard-proto-bar-item{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px}.dashboard-proto-bar{width:100%;min-height:10px;border-radius:4px 4px 0 0;background:#2563eb}.dashboard-proto-bar-text{font-size:12px}.dashboard-proto-bar-text.month{color:#4b5563}.dashboard-proto-bar-text.amount{color:#6b7280}.dashboard-proto-donut-wrap{height:256px;display:grid;place-items:center}.dashboard-proto-donut{width:192px;height:192px;display:grid;place-items:center}.dashboard-proto-donut-svg{width:192px;height:192px;transform:rotate(-90deg)}.dashboard-proto-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px}.dashboard-proto-legend-item{display:flex;align-items:center;gap:8px;font-size:14px;color:#4b5563}.dashboard-proto-color{width:12px;height:12px;border-radius:4px}.dashboard-proto-filter-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.dashboard-proto-filter-controls{display:flex;gap:8px;align-items:center}.dashboard-proto-filter-controls select{min-width:92px;height:32px;padding:4px 8px;border-radius:8px;font-size:13px}.dashboard-proto-year-badge{min-width:80px;height:32px;border:1px solid var(--line-strong);border-radius:8px;display:inline-grid;place-items:center;background:var(--surface);color:var(--muted-strong);font-size:13px}.dashboard-proto-placeholder{height:256px;border:none;border-radius:0;display:grid;place-items:center;text-align:center;color:#97a3b5;padding:10px}.dashboard-proto-span-2{grid-column:span 2}.report-proto{min-height:100vh;padding-bottom:80px}@media (min-width: 768px){.report-proto{padding-bottom:0}}.report-proto-container{width:min(1280px,100% - 48px);margin:0 auto;padding-top:32px}.report-proto-title{margin:0 0 32px;font-size:1.875rem;font-weight:700;color:var(--heading)}.report-proto-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 2px #0f172a14;margin-bottom:24px}:root[data-theme=dark] .report-proto-card{background:#1f2937}.report-proto-tabs{display:flex;gap:0;border-bottom:1px solid var(--line);margin-bottom:24px}.report-proto-tab{padding:12px 24px;font-weight:500;font-size:14px;background:transparent;border:none;border-bottom:2px solid transparent;margin-bottom:-1px;color:var(--muted);border-radius:0;cursor:pointer;transition:color .15s ease,border-color .15s ease}.report-proto-tab:hover{color:var(--heading);box-shadow:none}.report-proto-tab.active{color:#2563eb;border-bottom-color:#2563eb;background:transparent;box-shadow:none}:root[data-theme=dark] .report-proto-tab.active{color:#60a5fa;border-bottom-color:#60a5fa}.report-proto-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}.report-proto-label{display:grid;gap:6px;font-size:13px;font-weight:500;color:var(--muted-strong)}.report-proto-label input,.report-proto-label select{height:38px;padding:0 12px;font-size:14px;border:1px solid var(--line-strong);border-radius:8px;background:var(--surface);color:var(--ink)}.report-proto-summary{display:flex;gap:24px;flex-wrap:wrap;padding:14px 18px;background:#eff6ff;border-radius:10px;margin-bottom:24px}:root[data-theme=dark] .report-proto-summary{background:#2563eb1f}.report-proto-summary-item{font-size:14px}.report-proto-summary-label{color:var(--muted)}.report-proto-summary-value{font-weight:600;color:var(--heading);margin-left:4px}.report-proto-badge{display:inline-block;padding:2px 8px;border-radius:4px;font-size:12px;font-weight:500;line-height:1.6}.report-proto-badge.ai{background:#f3e8ff;color:#7e22ce}.report-proto-badge.manual{background:#f3f4f6;color:#374151}:root[data-theme=dark] .report-proto-badge.ai{background:#6b21a847;color:#c4b5fd}:root[data-theme=dark] .report-proto-badge.manual{background:#4b55634d;color:#d1d5db}.report-proto-table-wrap{overflow-x:auto}.report-proto-table{width:100%;border-collapse:collapse}.report-proto-table th{text-align:left;padding:10px 14px;font-weight:600;font-size:12px;color:var(--muted-strong);border-bottom:1px solid var(--line);white-space:nowrap;background:transparent}.report-proto-table td{padding:12px 14px;font-size:14px;border-bottom:1px solid var(--line);color:var(--ink)}.report-proto-table tbody tr:hover td{background:var(--surface-alt)}.report-proto-table td.amount{font-weight:600}.report-proto-empty{text-align:center;color:var(--muted);padding:40px 14px;font-size:14px}.report-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.report-toggle{display:flex;gap:8px;flex-wrap:wrap}.toggle-button{background:var(--brand-soft);color:var(--brand);border:1px solid var(--brand-soft-border)}.toggle-button.active{background:linear-gradient(120deg,var(--brand),var(--brand-strong));color:#fff}.report-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}.report-summary{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:12px;color:var(--muted);font-size:14px}.add-expense-proto{min-height:100vh;padding-bottom:80px}@media (min-width: 768px){.add-expense-proto{padding-bottom:0}}.add-expense-proto-container{width:min(1280px,100% - 48px);margin:0 auto;padding-top:32px}.add-expense-proto-title{margin:0 0 32px;font-size:1.875rem;font-weight:700;color:var(--heading)}.add-expense-proto-limit{display:flex;gap:12px;align-items:flex-start;background:#fef2f2;border:1px solid #fecaca;border-radius:12px;padding:16px;margin-bottom:24px}:root[data-theme=dark] .add-expense-proto-limit{background:#b91c1c1f;border-color:#f8717159}.add-expense-proto-limit-icon{flex-shrink:0;width:20px;height:20px;margin-top:2px;color:#dc2626}.add-expense-proto-limit-icon svg{width:20px;height:20px}.add-expense-proto-limit-title{margin:0;font-weight:600;color:#991b1b}:root[data-theme=dark] .add-expense-proto-limit-title{color:#fca5a5}.add-expense-proto-limit-text{margin:4px 0 0;font-size:14px;color:#b91c1c;line-height:1.5}:root[data-theme=dark] .add-expense-proto-limit-text{color:#f87171}.add-expense-proto-limit-text a{color:#b91c1c;text-decoration:underline}.add-expense-proto-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.add-expense-proto-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 2px #0f172a14}:root[data-theme=dark] .add-expense-proto-card{background:#1f2937}.add-expense-proto-card-title{margin:0 0 24px;font-size:20px;font-weight:600;color:var(--heading)}.add-expense-proto-fields{display:grid;gap:18px}.add-expense-proto-label{display:grid;gap:6px;font-size:13px;font-weight:500;color:var(--muted-strong)}.add-expense-proto-label input,.add-expense-proto-label select,.add-expense-proto-label textarea{width:100%;padding:10px 14px;font-size:14px;border:1px solid var(--line-strong);border-radius:8px;background:var(--surface);color:var(--ink)}.add-expense-proto-label textarea{min-height:88px;resize:vertical}.add-expense-proto-submit{width:100%;margin-top:6px}.add-expense-proto-upload-zone{border:2px dashed var(--line-strong);border-radius:12px;padding:24px;display:grid;place-items:center;gap:8px;text-align:center;cursor:pointer;color:var(--muted);background:var(--surface);transition:border-color .15s ease}.add-expense-proto-upload-zone:hover{border-color:#3b82f6}.add-expense-proto-upload-zone input{display:none}.add-expense-proto-upload-icon{color:var(--muted)}.add-expense-proto-upload-icon svg{width:32px;height:32px}.add-expense-proto-preview-wrap{position:relative;display:grid;gap:8px;text-align:center}.add-expense-proto-preview{max-height:128px;max-width:100%;border-radius:8px;object-fit:cover;margin:0 auto}.add-expense-proto-preview-remove{font-size:13px;font-weight:500;color:#dc2626;background:transparent;border:none;padding:0;cursor:pointer;text-decoration:underline}.add-expense-proto-mobile-only{display:none}.add-expense-proto-camera-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:44px;padding:0 16px;border:1px solid var(--line-strong);border-radius:10px;background:var(--surface);color:var(--ink);cursor:pointer;font-size:14px;font-weight:500}.add-expense-proto-camera-btn input{display:none}.add-expense-proto-extracted{margin-top:20px;border-top:1px solid var(--line);padding-top:16px}.add-expense-proto-extracted h3{margin:0 0 8px;font-size:14px;font-weight:600;color:var(--muted-strong)}.add-expense-proto-extracted pre{margin:0;background:var(--surface-alt);border:1px solid var(--line);border-radius:8px;padding:12px;font-size:12px;overflow:auto;max-height:200px}.add-expense-proto-success{margin-top:8px;font-size:14px;color:var(--success)}.add-expense-proto-error{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:10px 14px;font-size:13px;color:#b91c1c;margin-top:8px}:root[data-theme=dark] .add-expense-proto-error{background:#b91c1c24;border-color:#f871714d;color:#fca5a5}.features-proto{min-height:100vh;background:linear-gradient(135deg,#eff6ff,#e0e7ff)}:root[data-theme=dark] .features-proto{background:linear-gradient(135deg,#1a1a2e,#16213e)}.features-proto-container{width:min(1280px,100% - 48px);margin:0 auto}.features-proto-header{padding:24px 0}.features-proto-header-inner{width:min(1280px,100% - 48px);margin:0 auto;display:flex;align-items:center;justify-content:space-between}.features-proto-brand{display:flex;align-items:center;text-decoration:none}.features-proto-brand-logo{height:28px}.features-proto-signin{padding:8px 20px;border:1.5px solid #d1d5db;border-radius:8px;font-size:14px;font-weight:500;color:#374151;text-decoration:none;background:#fff;transition:border-color .15s,color .15s}.features-proto-signin:hover{border-color:#2563eb;color:#2563eb}:root[data-theme=dark] .features-proto-signin{background:#1e2032cc;border-color:#4b5563;color:#e5e7eb}.features-proto-hero{text-align:center;padding:64px 24px}.features-proto-hero-badge{display:inline-flex;align-items:center;gap:8px;background:#2563eb;color:#fff;padding:8px 18px;border-radius:9999px;font-size:14px;font-weight:500;margin-bottom:24px}.features-proto-hero-badge-icon{width:16px;height:16px;flex-shrink:0}.features-proto-hero-title{font-size:3rem;font-weight:700;color:#111827;margin:0 0 24px;line-height:1.15}:root[data-theme=dark] .features-proto-hero-title{color:#f9fafb}.features-proto-hero-sub{font-size:1.25rem;color:#4b5563;max-width:720px;margin:0 auto;line-height:1.6}:root[data-theme=dark] .features-proto-hero-sub{color:#9ca3af}.features-proto-steps-section{padding:48px 0}.features-proto-steps{display:flex;flex-direction:column;gap:80px}.features-proto-step{display:flex;align-items:center;gap:64px}.features-proto-step.reversed{flex-direction:row-reverse}.features-proto-step-content{flex:1}.features-proto-step-meta{display:flex;align-items:center;gap:12px;margin-bottom:16px}.features-proto-step-icon{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.5rem;flex-shrink:0}.features-proto-step-icon-blue{background:#dbeafe}.features-proto-step-icon-purple{background:#f3e8ff}.features-proto-step-icon-green{background:#dcfce7}.features-proto-step-icon-indigo{background:#e0e7ff}.features-proto-step-tag{font-size:13px;font-weight:600;letter-spacing:.05em}.features-proto-step-tag-blue{color:#2563eb}.features-proto-step-tag-purple{color:#9333ea}.features-proto-step-tag-green{color:#16a34a}.features-proto-step-tag-indigo{color:#4338ca}.features-proto-step-title{font-size:1.875rem;font-weight:700;color:#111827;margin:0 0 16px}:root[data-theme=dark] .features-proto-step-title{color:#f9fafb}.features-proto-step-desc{font-size:1.125rem;color:#4b5563;margin:0 0 24px;line-height:1.6}:root[data-theme=dark] .features-proto-step-desc{color:#9ca3af}.features-proto-step-check-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:12px}.features-proto-step-check-item{display:flex;align-items:center;gap:12px;color:#374151}:root[data-theme=dark] .features-proto-step-check-item{color:#d1d5db}.features-proto-check-dot{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:11px;font-weight:700;flex-shrink:0}.features-proto-check-dot-blue{background:#2563eb}.features-proto-check-dot-purple{background:#9333ea}.features-proto-check-dot-green{background:#16a34a}.features-proto-check-dot-indigo{background:#4338ca}.features-proto-step-visual{flex:1;display:flex;align-items:center;justify-content:center}.features-proto-step-card{width:100%;max-width:400px;height:300px;background:#fff;border-radius:16px;box-shadow:0 4px 16px #00000014;border:4px solid #f3f4f6;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}:root[data-theme=dark] .features-proto-step-card{background:#1e2030;border-color:#374151}.features-proto-step-emoji{font-size:4rem}.features-proto-step-card-label{font-size:13px;color:#6b7280}.features-proto-feat-section{padding:64px 0}.features-proto-feat-title{font-size:2.25rem;font-weight:700;text-align:center;color:#111827;margin:0 0 16px}:root[data-theme=dark] .features-proto-feat-title{color:#f9fafb}.features-proto-feat-sub{text-align:center;color:#4b5563;font-size:1.125rem;margin:0 0 48px}:root[data-theme=dark] .features-proto-feat-sub{color:#9ca3af}.features-proto-feat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}.features-proto-feat-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 3px #00000014;transition:box-shadow .15s}.features-proto-feat-card:hover{box-shadow:0 4px 12px #0000001f}:root[data-theme=dark] .features-proto-feat-card{background:#1e2030}.features-proto-feat-icon{width:48px;height:48px;border-radius:10px;display:flex;align-items:center;justify-content:center;margin-bottom:16px}.features-proto-icon-blue{background:#dbeafe;color:#2563eb}.features-proto-icon-purple{background:#f3e8ff;color:#9333ea}.features-proto-icon-green{background:#dcfce7;color:#16a34a}.features-proto-icon-orange{background:#ffedd5;color:#ea580c}.features-proto-icon-red{background:#fee2e2;color:#dc2626}.features-proto-icon-indigo{background:#e0e7ff;color:#4338ca}.features-proto-feat-card-title{font-size:1.125rem;font-weight:600;color:#111827;margin:0 0 12px}:root[data-theme=dark] .features-proto-feat-card-title{color:#f9fafb}.features-proto-feat-card-desc{color:#4b5563;line-height:1.5;font-size:14px;margin:0}:root[data-theme=dark] .features-proto-feat-card-desc{color:#9ca3af}.features-proto-story-section{padding:64px 0}.features-proto-story{background:linear-gradient(135deg,#2563eb,#4338ca);border-radius:24px;padding:48px;color:#fff}.features-proto-story-title{font-size:2.25rem;font-weight:700;text-align:center;margin:0 0 40px}.features-proto-story-items{max-width:720px;margin:0 auto;display:flex;flex-direction:column;gap:24px}.features-proto-story-item{display:flex;gap:16px;align-items:flex-start}.features-proto-story-emoji{width:48px;height:48px;background:#fff3;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.25rem;flex-shrink:0}.features-proto-story-time{font-weight:600;margin:0 0 4px;font-size:15px}.features-proto-story-detail{color:#bfdbfe;font-size:14px;margin:0;line-height:1.5}.features-proto-cta-section{padding:80px 0}.features-proto-cta{text-align:center}.features-proto-cta-title{font-size:2.25rem;font-weight:700;color:#111827;margin:0 0 24px}:root[data-theme=dark] .features-proto-cta-title{color:#f9fafb}.features-proto-cta-sub{font-size:1.25rem;color:#4b5563;max-width:560px;margin:0 auto 32px;line-height:1.6}:root[data-theme=dark] .features-proto-cta-sub{color:#9ca3af}.features-proto-cta-row{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}.features-proto-cta-primary{display:inline-flex;align-items:center;gap:8px;background:#2563eb;color:#fff;padding:14px 32px;border-radius:10px;font-size:1.125rem;font-weight:600;text-decoration:none;transition:background .15s}.features-proto-cta-primary:hover{background:#1d4ed8;color:#fff}.features-proto-cta-arrow{flex-shrink:0}.features-proto-cta-secondary{display:inline-flex;align-items:center;border:1.5px solid #d1d5db;color:#374151;padding:14px 32px;border-radius:10px;font-size:1.125rem;font-weight:600;text-decoration:none;background:#fff;transition:border-color .15s,color .15s}.features-proto-cta-secondary:hover{border-color:#2563eb;color:#2563eb}:root[data-theme=dark] .features-proto-cta-secondary{background:#1e2032cc;border-color:#4b5563;color:#e5e7eb}.features-proto-footer{border-top:1px solid rgba(0,0,0,.08);background:#ffffff80;padding:32px 24px;text-align:center;color:#4b5563;font-size:14px}:root[data-theme=dark] .features-proto-footer{background:#1e203280;border-color:#374151;color:#9ca3af}.insights-proto{display:flex;flex-direction:column;height:100vh;overflow:hidden}.insights-proto-body{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:linear-gradient(135deg,#eff6ff,#e0e7ff)}:root[data-theme=dark] .insights-proto-body{background:linear-gradient(135deg,#111827,#1e1b4b)}.insights-proto-header{background:#fff;border-bottom:1px solid #e5e7eb;padding:16px 0;flex-shrink:0}:root[data-theme=dark] .insights-proto-header{background:#1f2937;border-color:#374151}.insights-proto-header-inner{width:min(1280px,100% - 48px);margin:0 auto}.insights-proto-header-brand{display:flex;align-items:center;gap:12px;margin-bottom:6px}.insights-proto-brand-icon{width:40px;height:40px;background:linear-gradient(135deg,#2563eb,#4338ca);border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}.insights-proto-title{font-size:1.5rem;font-weight:700;color:#111827;margin:0}:root[data-theme=dark] .insights-proto-title{color:#f9fafb}.insights-proto-subtitle{color:#6b7280;font-size:14px;margin:0;line-height:1.4}:root[data-theme=dark] .insights-proto-subtitle{color:#9ca3af}.insights-proto-stats-bar{background:#fff;border-bottom:1px solid #e5e7eb;padding:12px 0;flex-shrink:0}:root[data-theme=dark] .insights-proto-stats-bar{background:#1f2937;border-color:#374151}.insights-proto-stats-inner{width:min(1280px,100% - 48px);margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.insights-proto-stat{display:flex;align-items:center;gap:10px}.insights-proto-stat-icon{flex-shrink:0}.insights-proto-stat-icon-blue{color:#2563eb}.insights-proto-stat-icon-green{color:#16a34a}.insights-proto-stat-icon-purple{color:#9333ea}.insights-proto-stat-icon-orange{color:#ea580c}.insights-proto-stat-label{font-size:11px;color:#6b7280;line-height:1.2}:root[data-theme=dark] .insights-proto-stat-label{color:#9ca3af}.insights-proto-stat-value{font-size:14px;font-weight:600;color:#111827;line-height:1.2}:root[data-theme=dark] .insights-proto-stat-value{color:#f9fafb}.insights-proto-stat-loading{color:#9ca3af!important}.insights-proto-error{margin:0 24px;padding:10px 16px;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#b91c1c;font-size:13px;flex-shrink:0}:root[data-theme=dark] .insights-proto-error{background:#2d1a1a;border-color:#7f1d1d;color:#fca5a5}.insights-proto-chat-area{flex:1;overflow-y:auto;padding:24px}.insights-proto-messages{width:min(960px,100%);margin:0 auto;display:flex;flex-direction:column;gap:16px}.insights-proto-msg{display:flex}.insights-proto-msg-user{justify-content:flex-end}.insights-proto-msg-bot{justify-content:flex-start}.insights-proto-bubble{max-width:85%;padding:16px 20px;border-radius:16px;line-height:1.5}.insights-proto-bubble-user{background:#2563eb;color:#fff}.insights-proto-bubble-insight{background:#f0fdf4;color:#111827;border:1px solid #bbf7d0}:root[data-theme=dark] .insights-proto-bubble-insight{background:#16a34a26;border-color:#16a34a4d;color:#f0fdf4}.insights-proto-bubble-summary{background:#eff6ff;color:#111827;border:1px solid #bfdbfe}:root[data-theme=dark] .insights-proto-bubble-summary{background:#2563eb26;border-color:#2563eb4d;color:#eff6ff}.insights-proto-bubble-bot{background:#fff;color:#111827;border:1px solid #e5e7eb}:root[data-theme=dark] .insights-proto-bubble-bot{background:#1f2937;border-color:#374151;color:#f9fafb}.insights-proto-bubble-text{white-space:pre-line;font-size:14px}.insights-proto-typing{display:flex;gap:6px;align-items:center;padding:4px 0}@keyframes insights-dot-bounce{0%,80%,to{transform:translateY(0)}40%{transform:translateY(-6px)}}.insights-proto-dot{width:8px;height:8px;background:#9ca3af;border-radius:50%;display:inline-block;animation:insights-dot-bounce 1.4s infinite ease-in-out both}.insights-proto-quick-bar{background:#fff;border-top:1px solid #e5e7eb;padding:12px;flex-shrink:0}:root[data-theme=dark] .insights-proto-quick-bar{background:#1f2937;border-color:#374151}.insights-proto-quick-inner{width:min(960px,100%);margin:0 auto}.insights-proto-quick-label{font-size:11px;color:#9ca3af;margin:0 0 8px;text-transform:uppercase;letter-spacing:.05em}.insights-proto-quick-pills{display:flex;flex-wrap:wrap;gap:8px}.insights-proto-quick-btn{padding:7px 14px;background:#f3f4f6;border:none;border-radius:8px;font-size:13px;color:#374151;cursor:pointer;transition:background .15s,color .15s}.insights-proto-quick-btn:hover{background:#dbeafe;color:#2563eb}:root[data-theme=dark] .insights-proto-quick-btn{background:#374151;color:#d1d5db}:root[data-theme=dark] .insights-proto-quick-btn:hover{background:#2563eb40;color:#93c5fd}.insights-proto-input-area{background:#fff;border-top:1px solid #e5e7eb;padding:14px;flex-shrink:0}:root[data-theme=dark] .insights-proto-input-area{background:#1f2937;border-color:#374151}.insights-proto-input-inner{width:min(960px,100%);margin:0 auto;display:flex;gap:12px;align-items:flex-end}.insights-proto-textarea{flex:1;padding:12px 16px;border:1.5px solid #d1d5db;border-radius:12px;resize:none;font-size:14px;font-family:inherit;line-height:1.5;background:#fff;color:#111827;outline:none;transition:border-color .15s}.insights-proto-textarea:focus{border-color:#2563eb}:root[data-theme=dark] .insights-proto-textarea{background:#374151;border-color:#4b5563;color:#f9fafb}.insights-proto-send{padding:12px 20px;background:#2563eb;color:#fff;border:none;border-radius:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s;flex-shrink:0}.insights-proto-send:hover:not(:disabled){background:#1d4ed8}.insights-proto-send:disabled{opacity:.45;cursor:not-allowed}.support-proto{min-height:100vh;background:linear-gradient(135deg,#eff6ff,#e0e7ff);padding-bottom:80px}:root[data-theme=dark] .support-proto{background:linear-gradient(135deg,#1a1a2e,#16213e)}.support-proto-container{width:min(1280px,100% - 48px);max-width:1120px;margin:0 auto;padding-top:32px}.support-proto-page-header{text-align:center;margin-bottom:48px}.support-proto-title{font-size:2.25rem;font-weight:700;color:#111827;margin:0 0 16px}:root[data-theme=dark] .support-proto-title{color:#f9fafb}.support-proto-subtitle{font-size:1.125rem;color:#4b5563;margin:0}:root[data-theme=dark] .support-proto-subtitle{color:#9ca3af}.support-proto-channels{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-bottom:48px}.support-proto-channel-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 3px #00000014;transition:box-shadow .15s}.support-proto-channel-card:hover{box-shadow:0 4px 12px #0000001f}:root[data-theme=dark] .support-proto-channel-card{background:#1f2937}.support-proto-channel-icon{width:48px;height:48px;border-radius:10px;display:flex;align-items:center;justify-content:center;margin-bottom:16px}.support-proto-icon-blue{background:#dbeafe;color:#2563eb}.support-proto-icon-green{background:#dcfce7;color:#16a34a}.support-proto-icon-purple{background:#f3e8ff;color:#9333ea}.support-proto-icon-orange{background:#ffedd5;color:#ea580c}.support-proto-channel-title{font-weight:600;color:#111827;margin:0 0 6px;font-size:15px}:root[data-theme=dark] .support-proto-channel-title{color:#f9fafb}.support-proto-channel-desc{font-size:13px;color:#6b7280;margin:0 0 4px}:root[data-theme=dark] .support-proto-channel-desc{color:#9ca3af}.support-proto-channel-detail{font-size:13px;font-weight:500;color:#374151;margin:0 0 16px}:root[data-theme=dark] .support-proto-channel-detail{color:#d1d5db}.support-proto-channel-action{width:100%;padding:8px 14px;background:transparent;border:1.5px solid #d1d5db;border-radius:8px;font-size:13px;font-weight:500;color:#374151;cursor:pointer;transition:border-color .15s,color .15s}.support-proto-channel-action:hover{border-color:#2563eb;color:#2563eb}:root[data-theme=dark] .support-proto-channel-action{border-color:#4b5563;color:#d1d5db}.support-proto-main-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-bottom:32px}.support-proto-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 3px #00000014}:root[data-theme=dark] .support-proto-card{background:#1f2937}.support-proto-card-title{font-size:1.5rem;font-weight:700;color:#111827;margin:0 0 20px}:root[data-theme=dark] .support-proto-card-title{color:#f9fafb}.support-proto-form{display:flex;flex-direction:column;gap:14px}.support-proto-form-label{display:grid;gap:6px;font-size:13px;font-weight:500;color:#374151}:root[data-theme=dark] .support-proto-form-label{color:#d1d5db}.support-proto-form-input,.support-proto-form-select,.support-proto-form-textarea{padding:10px 14px;border:1.5px solid #d1d5db;border-radius:8px;font-size:14px;font-family:inherit;background:#fff;color:#111827;outline:none;transition:border-color .15s;width:100%;box-sizing:border-box}.support-proto-form-input:focus,.support-proto-form-select:focus,.support-proto-form-textarea:focus{border-color:#2563eb}:root[data-theme=dark] .support-proto-form-input,:root[data-theme=dark] .support-proto-form-select,:root[data-theme=dark] .support-proto-form-textarea{background:#374151;border-color:#4b5563;color:#f9fafb}.support-proto-form-textarea{resize:vertical;min-height:96px}.support-proto-form-submit{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:12px;background:#2563eb;color:#fff;border:none;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;transition:background .15s}.support-proto-form-submit:hover{background:#1d4ed8}.support-proto-form-success{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534;padding:14px 16px;border-radius:8px;font-size:14px;line-height:1.5}:root[data-theme=dark] .support-proto-form-success{background:#16a34a26;border-color:#16a34a4d;color:#bbf7d0}.support-proto-info-stack{display:flex;flex-direction:column;gap:24px}.support-proto-info-items{display:flex;flex-direction:column;gap:20px}.support-proto-info-item{display:flex;gap:12px;align-items:flex-start}.support-proto-info-icon{color:#2563eb;flex-shrink:0;margin-top:2px}.support-proto-info-item-title{font-weight:500;color:#111827;margin:0 0 4px;font-size:14px}:root[data-theme=dark] .support-proto-info-item-title{color:#f9fafb}.support-proto-info-item-detail{font-size:13px;color:#6b7280;margin:0;line-height:1.6}:root[data-theme=dark] .support-proto-info-item-detail{color:#9ca3af}.support-proto-urgent{background:linear-gradient(135deg,#2563eb,#4338ca);border-radius:12px;padding:24px;color:#fff}.support-proto-urgent-title{font-size:1.125rem;font-weight:700;margin:0 0 10px}.support-proto-urgent-text{color:#bfdbfe;font-size:14px;margin:0 0 16px;line-height:1.5}.support-proto-urgent-btn{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;background:#fff;color:#2563eb;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:background .15s}.support-proto-urgent-btn:hover{background:#f3f4f6}.support-proto-faq{background:#fff;border-radius:12px;padding:32px;box-shadow:0 1px 3px #00000014}:root[data-theme=dark] .support-proto-faq{background:#1f2937}.support-proto-faq-title{font-size:1.5rem;font-weight:700;color:#111827;margin:0 0 24px}:root[data-theme=dark] .support-proto-faq-title{color:#f9fafb}.support-proto-faq-list{display:flex;flex-direction:column}.support-proto-faq-item{padding:20px 0;border-bottom:1px solid #e5e7eb}.support-proto-faq-item:last-child{border-bottom:none;padding-bottom:0}:root[data-theme=dark] .support-proto-faq-item{border-color:#374151}.support-proto-faq-question{font-weight:600;color:#111827;margin:0 0 8px;font-size:15px}:root[data-theme=dark] .support-proto-faq-question{color:#f9fafb}.support-proto-faq-answer{color:#4b5563;font-size:14px;margin:0;line-height:1.6}:root[data-theme=dark] .support-proto-faq-answer{color:#9ca3af}@media (max-width: 900px){.auth-card{width:min(480px,96vw)}.auth-card-login{width:100%}.auth-brand-lockup{gap:10px}.auth-brand-icon{width:clamp(64px,18vw,84px)}.auth-brand-wordmark{width:min(100%,270px)}.auth-brand-tagline{font-size:13px;gap:8px}.stats-grid,.panel-grid,.report-filters{grid-template-columns:1fr}.report-header{flex-direction:column}.report-proto-container{width:min(1120px,100% - 24px)}.report-proto-title{font-size:1.65rem}.report-proto-filters{grid-template-columns:1fr}.report-proto-tabs{overflow-x:auto}.report-proto-tab{white-space:nowrap}.report-proto-summary{gap:12px}.dashboard-header{gap:12px;flex-direction:column;align-items:flex-start}.dashboard-page-heading{flex-direction:column;align-items:flex-start}.dashboard-page-actions{width:100%}.header-actions{width:100%;flex-direction:column;align-items:stretch}.top-menu{align-items:stretch;width:100%;flex-direction:column;gap:10px}.top-menu-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%}.top-menu-link{justify-content:center;padding:10px 8px}.top-menu-label{font-size:12px}.profile-menu{margin-left:0;align-self:flex-end;width:100%;justify-content:space-between}.theme-toggle{justify-content:center;width:fit-content}.profile-icon-button{width:40px;height:40px}.profile-modal{padding:16px}.profile-modal-actions{flex-direction:column}.camera-preview-actions{flex-direction:column;align-items:stretch}.landing-layout{width:min(1120px,100% - 22px);padding-top:16px}.theme-toggle-floating{top:calc(10px + env(safe-area-inset-top,0px));right:calc(10px + env(safe-area-inset-right,0px))}.landing-hero,.landing-section{border-radius:18px;padding:20px}.landing-cards{grid-template-columns:1fr}.landing-cta-row{flex-direction:column;align-items:stretch}.landing-primary-cta,.landing-secondary-cta,.landing-tertiary-cta{text-align:center}.landing-install-row{margin-top:10px}.pwa-install-hero{width:100%}.panel[style*="span 2"]{grid-column:span 1}.expense-chat-widget{right:20px;bottom:80px}.expense-chat-panel{width:min(100vw - 24px,437px)}}@media (max-width: 767px){.dashboard-proto-container{width:min(1120px,100% - 24px)}.dashboard-proto-title{font-size:1.65rem}.dashboard-proto-stats,.dashboard-proto-grid,.dashboard-proto-legend{grid-template-columns:1fr}.dashboard-proto-mobile-only{display:block;margin-bottom:32px}.dashboard-proto-desktop-only{display:none}.dashboard-proto-filter-head{flex-direction:column;align-items:flex-start}.dashboard-proto-span-2{grid-column:span 1}.quick-add-mobile{display:grid}.quick-add-desktop{display:none}.quick-add-mobile-card{display:block}.quick-add-desktop-card{display:none}}@media (min-width: 768px){.dashboard-proto{padding-bottom:0}}@media (max-width: 767px){.add-expense-proto-container{width:min(1120px,100% - 24px)}.add-expense-proto-title{font-size:1.65rem}.add-expense-proto-grid{grid-template-columns:1fr}.add-expense-proto-mobile-only{display:block}}@media (max-width: 767px){.features-proto-hero-title{font-size:2rem}.features-proto-step,.features-proto-step.reversed{flex-direction:column}.features-proto-feat-grid{grid-template-columns:1fr}.features-proto-story{padding:24px}.features-proto-story-title{font-size:1.5rem}.features-proto-cta-title{font-size:1.75rem}}@media (max-width: 767px){.insights-proto-stats-inner{grid-template-columns:repeat(2,1fr);gap:12px}.insights-proto-bubble{max-width:95%}.insights-proto-quick-pills{gap:6px}.insights-proto-quick-btn{font-size:12px;padding:6px 10px}}@media (max-width: 767px){.support-proto-channels{grid-template-columns:repeat(2,1fr)}.support-proto-main-grid{grid-template-columns:1fr}.support-proto-title{font-size:1.75rem}}
