/* LifeOS — focused, comfortable, beautifully quiet. */
:root{color-scheme:dark;--bg:#0c0f14;--surface:#151920;--ink:#f2f4f8;--muted:#969faf;--line:#282e39;--green:#a89bff;--sage:#232236;--sage-strong:#a89bff;--orange:#f1b48d;--radius:22px;--shadow:none;font-size:14px;background:var(--bg);color:var(--ink)}
body{background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased}button,input,select,textarea{font-size:14px}h1{font-size:42px;letter-spacing:-1.7px;font-weight:600}h2{font-size:20px;letter-spacing:-.5px}h3{font-size:16px}small{font-size:12px}::selection{background:#a89bff55}::placeholder{color:#848d9e}input,select,textarea{background:#10141b;border-color:var(--line);color:var(--ink);border-radius:12px;padding:13px 15px;min-height:48px;font-size:16px}input:focus,select:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #a89bff18}button:focus-visible,a:focus-visible{outline:2px solid #c4bbff;outline-offset:4px}.skip-link{background:var(--green);color:#171326}.eyebrow,.section-kicker,.greeting-kicker{text-transform:uppercase;letter-spacing:1.6px;font-size:11px;font-weight:600;color:var(--muted)}
.app-shell{grid-template-columns:232px minmax(0,1fr)}.sidebar{width:232px;background:#0c0f14;border-right:1px solid #20252e;padding:32px 18px 24px;color:var(--ink)}.brand{padding:0 14px 40px;gap:12px}.brand-mark{background:#a89bff;color:#211b38;border-radius:13px}.brand-mark span{color:#5b478f}.brand-name{font-size:26px;font-weight:650;color:#f2f4f8}.brand-name span{color:#a89bff}.sidebar-label{font-size:10px;letter-spacing:1.8px;color:#768092;padding:0 14px 13px}.nav{gap:6px}.nav-item{min-height:47px;padding:12px 14px;border-radius:12px;color:#9aa3b2;font-size:14px;gap:12px}.nav-item svg{width:20px;height:20px}.nav-item:hover{background:#181d26;color:#f2f4f8}.nav-item.active{background:#252238;color:#c4baff;font-weight:550}.nav-item .nav-count{background:#ffffff0b;font-size:11px;min-width:22px;height:22px;color:inherit}.nav-divider{background:#232832;margin:19px 14px}.sidebar-note{border-color:#282e39;background:#141820;color:#8e98aa;font-size:12px;line-height:1.65}.sidebar-note svg{color:#a89bff}.sidebar-note strong{font-size:13px;color:#d1caff}.profile{border-color:#252b35;padding:17px 12px 0;gap:11px}.avatar{background:#292d3c;color:#d9d3ff;width:38px;height:38px;font-size:14px}.profile-name{font-size:13px;color:var(--ink)}.profile-meta{font-size:11px;color:var(--muted)}.tiny-avatar{border:0;width:36px;height:36px}.topbar{height:84px;padding:0 40px;background:var(--bg);border-color:#20252e}.breadcrumb{font-size:13px;color:#727c8d;gap:12px}.breadcrumb strong{color:#abb3c0}.search-button{background:#151920;border-color:#292f3a;color:#99a3b4;padding:11px 13px;font-size:12px;min-width:222px;min-height:44px;border-radius:12px}.search-button svg{width:18px;height:18px}.search-button kbd{color:#8892a4;border-color:#353c49;font-size:11px}.icon-button{width:44px;height:44px;border-radius:12px;color:#a0a9b9}.icon-button:hover{background:#242b36;color:#f2f4f8}.icon-button svg{width:19px;height:19px}.main{padding:36px 40px 54px;max-width:1520px}.preview-banner{background:#252235;border-color:#373044;color:#c3baf0;font-size:12px;padding:10px 20px}.page-heading{margin-bottom:30px;gap:20px}.page-subtitle{font-size:14px;line-height:1.75;color:var(--muted);margin-top:12px;max-width:650px}.heading-actions{padding-top:4px;gap:10px}.btn{min-height:44px;padding:11px 17px;font-size:13px;font-weight:550;border-radius:12px;transition:background .16s,color .16s,transform .16s}.btn svg{width:18px;height:18px}.btn:active,.quick-action:active{transform:translateY(1px)}.btn-primary,.login-box .btn-primary{background:#a89bff;color:#171326;box-shadow:none}.btn-primary:hover,.login-box .btn-primary:hover{background:#bbb0ff}.btn-secondary{background:#1b2029;border:1px solid #303744;color:#d0d6e1}.btn-secondary:hover{background:#272d38}.btn-quiet{color:#acb5c5;font-size:12px}.btn-quiet:hover{background:#232a35}.btn-danger{background:#f2a39f;color:#311814}.btn-sm{font-size:12px;min-height:40px;padding:9px 12px}
.card,.stat-card{background:var(--surface);border-color:var(--line);border-radius:22px;box-shadow:none}.card-pad,.entity-card{padding:24px}.card-header{padding:24px 24px 18px;gap:14px}.card-title{font-size:16px;font-weight:550;color:var(--ink)}.card-heading{gap:10px}.card-heading svg{width:20px;height:20px;color:#a89bff}.card-caption{font-size:12px;color:var(--muted);margin-top:6px}.card-content{padding:0 24px 24px}.card-footer{padding:12px 24px;border-color:#282e39}.card-footer .btn{font-size:12px;min-height:38px}.stats-grid{gap:16px;margin-bottom:28px}.stat-card{padding:22px;min-height:134px}.stat-top{font-size:12px;line-height:1.5;color:#a1aab9}.stat-top svg{color:#a89bff;width:19px;height:19px}.stat-number{font-size:34px;font-weight:550;letter-spacing:-1.2px;margin-top:18px;color:#f2f4f8}.stat-number.compact{font-size:28px}.stat-bottom{font-size:12px;color:#8590a2;margin-top:11px}.stat-bottom b{color:#c2dfa4}.dashboard-grid{gap:28px;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr)}.column-stack{gap:24px}.empty{padding:34px 20px;min-height:195px}.empty-icon,.entity-icon{background:#252a38;color:#b5aaff;width:48px;height:48px;border-radius:16px;margin-bottom:16px}.empty-icon svg,.entity-icon svg{width:23px;height:23px}.empty-title{font-size:15px;font-weight:550;color:#dce1eb}.empty-text{font-size:13px;color:#909bae;line-height:1.75;margin-top:9px;max-width:335px}.empty .btn{margin-top:20px}.inline-empty{font-size:13px;color:#939eaf;line-height:1.7;padding:17px 0}.grid-empty{min-height:290px}.welcome-footnote{font-size:12px;color:#768195;padding-top:26px}.welcome-footnote svg{width:14px;height:14px}
.dashboard-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}.greeting-kicker{margin-bottom:12px;color:#a69abc}.hero-title{font-size:56px;line-height:1.08;letter-spacing:-2.7px;font-weight:600}.hero-copy{font-size:14px;color:var(--muted);margin-top:14px;line-height:1.7;max-width:630px}.hero-date{display:flex;align-items:center;gap:8px;padding:11px 14px;border:1px solid #303542;border-radius:100px;color:#c0c7d3;font-size:12px;white-space:nowrap;flex-shrink:0}.hero-date svg{width:16px;height:16px}.command-panel{padding:30px;border:1px solid #3a344f;border-radius:26px;background:radial-gradient(ellipse at 92% 0%,#67528e29,transparent 65%),#1b1927;position:relative;overflow:hidden;margin-bottom:20px}.command-top{display:flex;align-items:center;gap:18px;margin-bottom:24px;position:relative;z-index:1}.command-orb{display:grid;place-items:center;width:60px;height:60px;flex-shrink:0;border:1px solid #8471b966;border-radius:50%;color:#c5b9ff;position:relative;background:#332b48}.command-orb:before{content:"";position:absolute;inset:7px;border:1px solid #b6a0e845;border-radius:50%}.command-orb svg{width:25px;height:25px}.command-copy{min-width:0}.command-title{font-size:23px;line-height:1.35;letter-spacing:-.7px;font-weight:550;color:#f0ebff}.command-hint{font-size:13px;color:#aca3be;line-height:1.7;margin-top:8px;max-width:620px}.ai-input,.command-input{background:#101117;border:1px solid #454052;padding:9px 10px 9px 18px;border-radius:15px;box-shadow:none;display:flex;align-items:center;gap:10px}.ai-input input{font-size:15px;padding:9px 0;min-height:32px;color:var(--ink)}.ai-send{width:44px;height:44px;border-radius:12px;background:#b3a5ff;color:#211938}.ai-send:hover{background:#c4b9ff}.ai-send svg{width:21px;height:21px}.suggestion-row{gap:8px;margin-top:14px}.suggestion-chip{font-size:12px;min-height:36px;border-color:#464051;background:#24202f;color:#b9b0ca;border-radius:9px;padding:8px 11px}.suggestion-chip:hover{background:#383044;color:#f2edff}.ai-card{background:#201e2e;border-color:#3a344e}.ai-card:before{border-color:#55477544;box-shadow:none}.ai-emblem{background:#332b4c;color:#b9abff;width:38px;height:38px;border-radius:12px}.ai-intro{color:#a8a1b6;font-size:14px}.quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:28px}.quick-action{display:flex;align-items:center;gap:12px;padding:17px;background:#151920;border:1px solid #282e39;border-radius:16px;text-align:left;min-width:0;transition:background .16s,border-color .16s,transform .16s}.quick-action:hover{background:#1e2430;border-color:#454056}.quick-action-icon{width:39px;height:39px;border-radius:12px;background:#272338;color:#bcaeff;display:grid;place-items:center;flex-shrink:0}.quick-action-icon svg{width:20px;height:20px}.quick-action:nth-child(2) .quick-action-icon{background:#273029;color:#c2dfa4}.quick-action:nth-child(3) .quick-action-icon{background:#332a23;color:#f1c5a0}.quick-action:nth-child(4) .quick-action-icon{background:#222d36;color:#a1cce3}.quick-action-label{font-size:13px;font-weight:550;color:#dfe3ec;display:block}.quick-action-caption{font-size:11px;color:#8792a4;display:block;margin-top:5px;line-height:1.4}.overview-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-radius:18px;margin-bottom:28px;padding:18px 0;background:#11151c}.overview-item{display:flex;align-items:center;gap:12px;padding:0 20px;border-right:1px solid var(--line);font-size:12px;color:#929dae;min-width:0}.overview-item:last-child{border-right:0}.overview-item svg{color:#a89bff;width:19px;height:19px}.overview-number{font-size:25px;line-height:1.2;font-weight:550;color:var(--ink);letter-spacing:-.7px}.dashboard-columns{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(285px,1fr);gap:28px;align-items:start}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.section-kicker{font-size:10px;margin-bottom:7px}.section-heading h2{font-size:20px}.day-progress{height:5px;border-radius:5px;background:#2c3340;overflow:hidden;margin:10px 0 20px}.day-progress:before{content:"";display:block;height:100%;width:var(--progress,0%);background:#d6f3a3;border-radius:5px}.onboarding-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px}.onboarding-step{display:flex;align-items:flex-start;gap:12px;text-align:left;padding:18px;border:1px solid #303542;border-radius:15px;background:#181d26;font-size:13px;line-height:1.6;color:#d3d9e5}.onboarding-step:hover{background:#232936}.onboarding-step svg{color:#b8acff}.onboarding-step small,.onboarding-step p{font-size:12px;color:#8f9aaf}.onboarding-step strong{font-size:13px}
.task-row,.goal-row,.habit-row,.reminder-row{border-color:#282e39;padding-block:17px}.task-title,.goal-name,.reminder-title{font-size:14px;color:#e1e5ed;line-height:1.7}.task-title:hover,.goal-name:hover{color:#c2b7ff}.task-row.is-done .task-title{color:#717e92}.task-meta,.goal-bottom,.reminder-meta{font-size:11px;color:#909caf;gap:9px}.task-meta svg{width:13px;height:13px}.task-menu,.entity-card .card-top .icon-button,.reminder-row>.icon-button{width:44px;height:44px;margin:-7px -9px 0 0}.check-button{width:24px;height:24px;margin-top:0;border-radius:8px;border-color:#525c6d;background:#1a202a;position:relative}.check-button:before{content:"";position:absolute;inset:-10px}.check-button:hover{background:#343047;border-color:#a89bff}.check-button.checked{background:#d6f3a3;border-color:#d6f3a3;color:#28381b}.check-button svg{width:15px;height:15px}.badge{font-size:11px;line-height:1.2;padding:5px 8px;border-radius:6px}.badge-high,.badge-red{background:#392823;color:#edb395}.badge-medium{background:#343025;color:#e0ce96}.badge-low,.badge-green{background:#27332a;color:#bddea6}.badge-muted{background:#262d39;color:#a3afc1}.focus-card{background:#1a2024;border-color:#343e37}.focus-label,.focus-description{font-size:12px;color:#9ba99c}.focus-label i{background:#d6f3a3}.focus-timer{font-size:64px;letter-spacing:-3px;color:#e2f2cf;margin:28px 0 14px}.focus-description{margin-bottom:24px}.focus-actions .btn-primary{background:#d6f3a3;color:#26321e}.focus-actions .btn-primary:hover{background:#e5f8c3}.focus-actions .btn-secondary{background:#252e27;border-color:#3c473c}.goal-percent,.habit-streak{font-size:12px;color:#c0d6a8}.progress{height:6px;background:#2a313d;margin-top:14px}.progress-fill{background:#b8aaff;transition:width .18s}.habit-name{font-size:14px}.habit-week{gap:6px}.habit-day{width:9px;height:9px;background:#323c35}.habit-day.done{background:#c6e59e}.toolbar{margin-bottom:24px}.tabs{background:#151920;border-color:#282e39;border-radius:13px;padding:5px;gap:4px}.tab{min-height:40px;padding:10px 15px;font-size:13px;border-radius:9px;color:#9ca6b8}.tab.active{background:#302a43;color:#ccbeff;box-shadow:none}.filters select{background:#151920;min-height:44px;font-size:13px;border-radius:11px;padding:10px 30px 10px 13px}.view-card{padding:6px 24px}.task-group-label{font-size:11px;color:#94a0b2;letter-spacing:1px;padding-top:22px}.cards-grid{gap:20px}.entity-card .card-top h3{font-size:17px;color:#e6e9f1}.entity-description{font-size:13px;color:#9aa4b6;line-height:1.8}.entity-footer{font-size:12px;color:#9aa7ba;gap:10px}.entity-value{font-size:31px;color:#e4e8f2}.entity-value small{font-size:13px;color:#929fb2}.week-day,.journal-summary>div,.journal-date,.project-stats{font-size:12px;color:#9ca9ba}.week-square{height:38px;background:#202831;border-color:#35403d;color:#bddba1}.week-square.done{background:#35422d;border-color:#566647}.journal-dot{background:#313a45}.journal-dot.filled{background:#c5dfa3}.finance-summary{gap:18px;margin-bottom:25px}.finance-summary .balance-card{background:#252139;border-color:#49405d}.positive{color:#c5e7a7}.negative{color:#f0b093}.data-table{font-size:13px;min-width:620px}.data-table th{font-size:11px;background:#191e27;color:#94a0b3;padding:18px 22px}.data-table td{padding:18px 22px;border-color:#282e39}.data-table .transaction-title{font-size:14px;color:#dfe5ee;font-weight:500}.table-subtitle{font-size:11px;color:#8694a8;margin-top:5px}.category-label{color:#a1adc0}.category-label:before{background:#a89bff}.finance-notice,.scope-note{font-size:12px;color:#8593a7}.record-link{color:#baafff}.budget-alert,.overdue{color:#eab293!important}
.chat-layout{gap:24px;min-height:calc(100dvh - 230px)}.chat-card{min-height:calc(100dvh - 232px);max-height:calc(100dvh - 232px);background:#12161e}.chat-header{padding:20px 24px;background:#151920;border-color:#282e39}.chat-header h3{font-size:16px}.chat-header p{font-size:12px;color:#96a3b6}.online-dot{background:#d6f3a3}.chat-scroll{padding:28px;scrollbar-width:thin;scrollbar-color:#3c4351 transparent}.chat-empty{min-height:330px;padding:25px 12px}.chat-empty .ai-emblem{width:64px;height:64px;border-radius:22px;margin-bottom:22px}.chat-empty h2{font-size:29px;letter-spacing:-1px}.chat-empty p{font-size:14px;color:#929eb2;max-width:400px}.chat-suggestions{max-width:530px;gap:12px}.chat-suggestion{background:#1a202b;border-color:#303847;border-radius:14px;font-size:13px;padding:17px;color:#b8c0cf}.chat-suggestion:hover{background:#272638;border-color:#65577f}.chat-suggestion svg{width:18px;height:18px;color:#ac9cf2}.message{gap:12px;margin-bottom:24px}.message-avatar{width:32px;height:32px;border-radius:11px;background:#30293f;color:#bfaeff;font-size:12px}.message.user .message-avatar{background:#2d3543;color:#c9d3e3}.message-main{max-width:87%}.message-bubble{font-size:14px;line-height:1.85;background:#1e2430;color:#dae0ea;border-radius:4px 17px 17px;padding:15px 18px}.message.user .message-bubble{background:#302941;color:#e4dcff;border-radius:17px 4px 17px 17px}.message-bubble a{color:#c8baff}.message-time{font-size:11px;color:#7f8ca2;margin-top:8px}.message.pending .message-bubble{color:#b3a5d2}.chat-composer{background:#151920;border-color:#282e39;padding:16px 22px 14px}.composer-box{background:#0f131a;border-color:#3e4453;border-radius:16px;padding:10px 12px;align-items:flex-end}.composer-box:focus-within{border-color:#a89bff}.composer-box textarea{font-size:16px;min-height:40px;line-height:1.6;padding:8px 0;color:#edf0f7}.composer-help{font-size:11px;color:#8190a5;margin-top:10px}.chat-side h3{font-size:15px}.chat-side p,.capability{font-size:12px;color:#95a2b6}.capability svg{width:17px;height:17px;color:#b6a6f2}.chat-action-note,.pending-indicator{font-size:11px;color:#c3daa7}.chat-offline{font-size:12px;color:#edc199;background:#302820;border-color:#514332}
.settings-layout{gap:24px}.form-grid{gap:20px}.field-label{font-size:13px;color:#c0c8d6}.field-help{font-size:12px;color:#909db1}.field input,.field select,.field textarea{font-size:16px}.field input[type=checkbox]{width:22px;height:22px;min-height:22px;accent-color:#b2a4ff}.checkbox-field{background:#1b222c;border-color:#323b49;border-radius:14px;padding:18px}.settings-note{background:#202631;color:#a6b2c5;font-size:13px;padding:18px;border-radius:14px}.settings-actions{margin-top:26px}.more-item{min-height:74px;background:#191e27;border-color:#303744;font-size:14px;border-radius:16px}.more-item:hover{background:#282635}.more-item svg{color:#b6a5ff}.modal-backdrop{background:#040609b8;backdrop-filter:blur(5px);padding:24px}.modal{background:#151920;border:1px solid #353c49;border-radius:24px;box-shadow:0 24px 100px #0009;max-height:calc(100dvh - 48px)}.modal-header{padding:25px 26px 20px;flex-shrink:0}.modal-header h2{font-size:23px;font-weight:550}.modal-body{padding:0 26px 26px;overscroll-behavior:contain}.modal-footer{padding:18px 26px;flex-shrink:0;background:#191e27;border-radius:0 0 24px 24px;border-color:#303744;gap:10px}.modal-footer [data-delete]{color:#edb3a5}.form-error,.login-error{background:#372321;color:#f2b6a7;border-color:#683c33;font-size:13px;border-radius:12px}.confirmation-text{font-size:14px;color:#aeb9ca}.confirmation-text strong{color:#edf0f6}.search-input-wrap svg{top:16px;color:#a89bff}.search-result{padding:14px;border-radius:12px;min-height:60px}.search-result:hover{background:#262435}.search-result svg{color:#b7a6ff;width:20px;height:20px}.search-result-title{font-size:14px;color:#dee4ef}.search-result-meta,.search-count,.keyboard-hint{font-size:12px;color:#8e9ab0}.toast{background:#252e2a;border-color:#465b40;color:#e3efd8;font-size:13px;box-shadow:0 10px 35px #0006;border-radius:14px;padding:15px 18px}.toast svg{width:19px;height:19px;color:#d6f3a3}.toast.error{background:#3c2824;border-color:#68443b}.toast.error svg{color:#f3b09c}.login{background:var(--bg)}.login-story{background:#191724;color:#f2edff}.login-story:before{border-color:#7a5ba72b;box-shadow:0 0 0 45px #9073b308,0 0 0 90px #9073b305}.login-story h1 span{color:#bcaaff}.login-story>p,.login-feature{color:#b4abca;font-size:14px}.login-feature svg{color:#c5b7ff}.login-footer{color:#8b7ca5;font-size:11px}.login-box .login-icon{background:#29233e;border-color:#4e426c;color:#beafff}.login-box h2{font-size:31px}.login-box>p{font-size:14px;color:#9aa6bb}.login-box .btn-primary{height:50px;font-size:15px}.login-privacy{color:#8190a7;font-size:12px}.page-error p{font-size:14px}
@media(max-width:1180px){.sidebar{width:212px;padding-inline:12px}.app-shell{grid-template-columns:212px minmax(0,1fr)}.main{padding:30px 28px 44px}.topbar{padding-inline:28px}.hero-title{font-size:46px}.quick-action{padding:14px;gap:9px}.quick-action-caption{display:none}.dashboard-columns{grid-template-columns:minmax(0,1.5fr) minmax(255px,1fr);gap:20px}.chat-layout{grid-template-columns:1fr}.chat-side{display:none}.cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-heading h1{font-size:38px}.overview-item{padding-inline:16px;gap:9px}}
@media(max-width:960px) and (min-width:741px){.sidebar{width:80px;padding-inline:12px}.app-shell{grid-template-columns:80px minmax(0,1fr)}.sidebar .brand{padding:0 7px 34px}.nav-item{padding:13px 16px}.profile{padding:16px 8px 0}.hero-title{font-size:44px}.settings-layout{grid-template-columns:1fr}.hero-date{font-size:11px;padding:10px}.dashboard-columns{grid-template-columns:minmax(0,1.4fr) minmax(245px,1fr);gap:18px}.overview-item{flex-wrap:wrap;gap:8px}}
@media(max-width:740px){
.app-shell{display:block}.sidebar{display:none}.topbar{height:70px;padding:0 18px;background:var(--bg)}.mobile-brand{font-size:22px;gap:10px}.mobile-brand .brand-mark{width:34px;height:34px;border-radius:11px;font-size:22px}.top-actions{gap:2px}.search-button{border:0;background:transparent;min-width:44px;width:44px;height:44px;padding:12px}.tiny-avatar{width:32px;height:32px;margin-left:3px}.main{padding:26px 18px calc(124px + env(safe-area-inset-bottom))}.page-heading{gap:12px;align-items:flex-start;flex-wrap:wrap;margin-bottom:24px}.page-heading h1{font-size:32px;letter-spacing:-1.3px}.page-heading .eyebrow{font-size:10px}.page-subtitle{font-size:13px;max-width:100%;line-height:1.7}.heading-actions{padding-top:0;gap:8px}.heading-actions .btn{font-size:13px;min-height:44px;padding:11px 13px}.heading-actions .btn svg{width:18px;height:18px}.page-heading .heading-actions [data-short]::after{font-size:13px}.hero-title{font-size:36px;letter-spacing:-1.5px}.dashboard-hero{display:block;margin-bottom:24px}.greeting-kicker{font-size:10px;margin-bottom:11px}.hero-copy{font-size:13px;margin-top:12px}.hero-date{margin-top:16px;width:fit-content;font-size:11px;padding:8px 12px}.command-panel{padding:22px 18px;border-radius:23px;margin-bottom:14px}.command-top{gap:13px;align-items:flex-start;margin-bottom:20px}.command-orb{width:46px;height:46px}.command-orb svg{width:22px;height:22px}.command-title{font-size:20px;letter-spacing:-.6px}.command-hint{font-size:12px;line-height:1.65;margin-top:7px}.ai-input,.command-input{padding:7px 8px 7px 13px;gap:8px}.ai-input input{font-size:16px;min-height:39px}.suggestion-chip{font-size:11px;min-height:36px;padding:8px 10px}.quick-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:22px}.quick-action{padding:15px 13px;min-height:75px;gap:11px;border-radius:16px}.quick-action-label{font-size:13px}.quick-action-caption{display:block;font-size:10px;line-height:1.5}.quick-action-icon{width:36px;height:36px}.overview-strip{grid-template-columns:repeat(2,minmax(0,1fr));padding:0;margin-bottom:24px;border-radius:18px}.overview-item{padding:17px 16px;min-height:76px;gap:11px;font-size:11px}.overview-item:nth-child(2){border-right:0}.overview-item:nth-child(-n+2){border-bottom:1px solid var(--line)}.overview-number{font-size:25px}.dashboard-columns,.dashboard-grid{grid-template-columns:1fr;gap:20px}.column-stack{gap:20px}.onboarding-steps{grid-template-columns:1fr;gap:9px}.onboarding-step{padding:16px;font-size:13px}.card,.stat-card{border-radius:20px}.card-header{padding:21px 20px 16px}.card-content{padding:0 20px 22px}.card-pad,.focus-card.card-pad,.settings-layout .card-pad{padding:22px 20px}.card-title,.focus-top .card-title{font-size:16px}.card-caption{font-size:12px}.stat-card{padding:20px;min-height:125px}.stat-top{font-size:12px}.stat-number{font-size:32px}.stat-bottom{font-size:11px}.stats-grid{gap:12px}.focus-timer{font-size:60px;margin-top:25px}.focus-description{font-size:12px}.focus-actions .btn-primary{min-height:46px}.empty-title{font-size:15px}.empty-text{font-size:13px}.welcome-footnote{font-size:11px;line-height:1.6;text-align:center}.view-card{padding:5px 18px}.task-title,.reminder-title{font-size:14px}.task-meta,.reminder-meta,.goal-bottom{font-size:11px}.task-row{gap:12px;padding:17px 0}.tabs{max-width:100%;overflow-x:auto;flex-wrap:nowrap;justify-content:flex-start;width:auto}.tab{font-size:12px;min-height:40px;padding:10px 13px;white-space:nowrap;flex-shrink:0}.toolbar{gap:12px}.filters select{font-size:13px;min-height:44px;max-width:180px}.cards-grid{gap:14px}.entity-card{padding:21px}.entity-card .card-top h3{font-size:16px}.entity-description{font-size:13px}.entity-footer{font-size:12px}.entity-value{font-size:29px}.entity-value small{font-size:12px}.finance-summary{gap:12px}.finance-summary .stat-card{padding:19px 20px;min-height:100px}.finance-summary .stat-number{font-size:28px}.finance-notice{font-size:12px}.form-grid{gap:19px}.settings-layout{gap:20px;grid-template-columns:1fr}.more-item{font-size:14px;padding:18px 14px}.mobile-nav{inset:auto 12px calc(12px + env(safe-area-inset-bottom));border:1px solid #373b4b;border-radius:24px;background:#191e28;backdrop-filter:none;padding:8px;gap:3px;box-shadow:0 10px 35px #0008;align-items:center}.mobile-nav-button{font-size:10px;min-width:0;flex:1;min-height:54px;padding:7px 4px;color:#919db1;border-radius:16px;gap:5px}.mobile-nav-button svg{width:21px;height:21px}.mobile-nav-button.active{background:#302940;color:#c9bbff}.mobile-nav-button.ai-tab{background:#ae9fff;color:#211935;min-height:56px;margin:0 3px;font-weight:600}.mobile-nav-button.ai-tab svg{color:#211935;width:23px;height:23px}.mobile-nav-button.ai-tab.active{background:#c3b7ff}.chat-page.main{padding:0 0 calc(105px + env(safe-area-inset-bottom));height:calc(100dvh - 70px)}.chat-page.has-preview{height:calc(100dvh - 106px)}.chat-layout{height:100%;min-height:0}.chat-card{height:100%;min-height:0;max-height:none;border:0;border-radius:0;background:#10141c}.chat-header{padding:15px 18px}.chat-header h3{font-size:15px}.chat-header p{font-size:11px}.chat-scroll{padding:23px 16px}.chat-empty{padding:20px 2px;min-height:280px}.chat-empty h2{font-size:26px}.chat-empty p{font-size:13px;max-width:315px}.chat-empty .ai-emblem{width:56px;height:56px;border-radius:19px}.chat-suggestions{gap:9px;margin-top:22px}.chat-suggestion{font-size:12px;padding:14px;min-height:68px}.message{gap:8px}.message-avatar{width:27px;height:27px}.message-main{max-width:88%}.message-bubble{font-size:14px;padding:13px 15px}.chat-composer{padding:12px 14px 10px;background:#151920}.composer-box textarea{font-size:16px;min-height:40px}.composer-help{font-size:10px;line-height:1.5}.modal-backdrop{padding:0;align-items:flex-end}.modal{width:100%;max-height:calc(100dvh - 28px);border-radius:25px 25px 0 0;border-bottom:0}.modal-header{padding:23px 21px 18px}.modal-header h2{font-size:22px}.modal-body{padding:0 21px 24px}.modal-footer{padding:16px 21px calc(16px + env(safe-area-inset-bottom));border-radius:0;flex-wrap:wrap;position:sticky;bottom:0}.modal-footer .btn{min-height:46px;font-size:13px;padding-inline:16px}.modal-footer [data-delete]{font-size:12px}.toast-root{bottom:calc(104px + env(safe-area-inset-bottom));left:16px;right:16px}.toast{font-size:13px}.search-results{max-height:55dvh}.login-story{padding:32px 25px}.login-story>p,.login-feature{font-size:13px}.login-story h1{font-size:41px}.login-action{padding:38px 25px 50px}.login-box h2{font-size:28px}.login-box>p{font-size:14px}.login-box .btn-primary{font-size:15px}.login-footer{font-size:10px}.preview-banner{font-size:11px;padding:9px 14px}
}
@media(max-width:680px){.data-table{min-width:0;table-layout:fixed}.data-table th,.data-table td{padding:15px 12px}.data-table th:first-child,.data-table td:first-child{width:auto}.data-table .transaction-title{font-size:13px;line-height:1.6}.data-table .table-subtitle{font-size:11px}.data-table th:nth-child(4),.data-table td:nth-child(4){width:116px;font-size:13px;padding-left:5px;padding-right:3px;text-align:right}.data-table th:last-child,.data-table td:last-child{width:49px;padding:10px 5px 10px 0}.data-table td:last-child .icon-button{width:44px;height:44px}}
@media(max-width:420px){.main{padding-inline:16px}.hero-title{font-size:32px}.page-heading h1{font-size:30px}.cards-grid,.form-grid{grid-template-columns:1fr}.quick-action{gap:9px;padding:13px 11px}.quick-action-label{font-size:12px}.quick-action-caption{font-size:10px}.chat-empty .chat-suggestions{grid-template-columns:1fr 1fr}.chat-suggestion:nth-child(n+3){display:flex}.chat-suggestion{font-size:11px;gap:7px;padding:12px}.chat-suggestion svg{width:16px;height:16px}.toolbar .filters select{max-width:none}.topbar{padding-inline:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.form-details{grid-column:1/-1;border:1px solid #303744;border-radius:13px;background:#181e27;padding:0 15px}.form-details summary{display:flex;align-items:center;gap:9px;min-height:48px;cursor:pointer;font-size:13px;font-weight:500;color:#bbb0e0;list-style:none}.form-details summary::-webkit-details-marker{display:none}.form-details summary:after{content:"+";margin-left:auto;font-size:20px;line-height:1;color:#9d8fcb}.form-details[open] summary:after{content:"−"}.form-details summary:focus-visible{outline:2px solid #c4bbff;outline-offset:2px;border-radius:7px}.form-details .form-grid{margin:6px 0 18px}.message.assistant .message-bubble{white-space:normal}.message-bubble p{margin:0 0 12px;line-height:1.8}.message-bubble p:last-child{margin-bottom:0}.message-bubble ul,.message-bubble ol{margin:10px 0 14px;padding-left:23px}.message-bubble li{padding-left:3px;margin:5px 0;overflow-wrap:anywhere}.message-bubble h2,.message-bubble h3,.message-bubble h4{font-size:16px;letter-spacing:-.2px;margin:18px 0 9px;line-height:1.6}.message-bubble h2:first-child,.message-bubble h3:first-child{margin-top:0}.message-bubble strong{font-weight:650;color:#f0ecff}.message-bubble code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;background:#0d121b;color:#c9bcff;border-radius:5px;padding:2px 5px;font-size:.88em;overflow-wrap:anywhere}.message-bubble pre{margin:12px 0;padding:14px;background:#0d121b;border:1px solid #32394a;border-radius:10px;max-width:100%;overflow-x:auto;white-space:pre;line-height:1.7}.message-bubble pre code{padding:0;background:transparent;white-space:pre;overflow-wrap:normal}.message-bubble blockquote{margin:12px 0;padding:3px 0 3px 14px;border-left:3px solid #8873bd;color:#aeb7c9}.message-bubble a{overflow-wrap:anywhere;text-underline-offset:3px}
/* Final alignment with the simplified dashboard and forms. */
.hero-title>span{color:#b2a7d4}.quick-action>span:not(.quick-action-icon){min-width:0}.quick-action>svg{width:15px;height:15px;margin-left:auto;color:#778198}.suggestion-chip{display:inline-flex;align-items:center;gap:8px}.suggestion-chip svg{width:13px;height:13px;color:#9483ba}.overview-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.overview-item{text-align:left;min-height:46px;transition:background .16s}.overview-item:hover{background:#1a1e28}.overview-item>span:nth-child(2){line-height:1.5;flex:1}.overview-item>svg{width:15px;height:15px;color:#746b91}.overview-number{white-space:nowrap}.overview-number small{font-size:13px;color:#758197;font-weight:400;letter-spacing:0}.onboarding-steps{grid-template-columns:1fr;gap:10px;margin-top:19px}.onboarding-step{padding:15px 13px;align-items:center;gap:11px}.onboarding-step>span{min-width:0;flex:1}.onboarding-step strong,.onboarding-step small{display:block}.onboarding-step small{margin-top:4px;font-size:11px;line-height:1.5}.onboarding-step>svg{width:19px;height:19px}.onboarding-step>svg:last-child{width:15px;height:15px;color:#827893}.day-progress{height:auto;min-height:38px;margin:0 24px 19px;padding-bottom:16px;background:none;border-radius:0;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;position:relative;overflow:visible;font-size:11px;color:#8f9dae}.day-progress strong{font-weight:500;color:#c9e3b3}.day-progress:before,.day-progress:after{content:"";height:4px;border-radius:4px;position:absolute;bottom:0;left:0}.day-progress:after{width:100%;background:#2a3435;z-index:0}.day-progress:before{width:var(--progress,0%);background:#d6f3a3;z-index:1}.transaction-mobile-meta{display:none}.filter-empty-action{display:flex;justify-content:center;padding:0 12px 24px}.toolbar,.tabs{min-width:0}.tabs{max-width:100%}.toolbar>.tabs{flex:0 1 auto}
@media(max-width:740px){.overview-strip{grid-template-columns:repeat(3,minmax(0,1fr));padding:0}.overview-item{padding:16px 12px;display:flex;flex-direction:column;align-items:flex-start;gap:7px;border-right:1px solid var(--line);min-height:106px;font-size:10px}.overview-item:nth-child(-n+2){border-bottom:0}.overview-item:nth-child(2){border-right:1px solid var(--line)}.overview-item:last-child{border-right:0}.overview-item>svg{display:none}.overview-number{font-size:27px}.overview-number small{font-size:12px}.overview-item>span:nth-child(2){flex:0}.day-progress{margin-inline:20px}.onboarding-step{padding:16px;gap:13px}.onboarding-step small{font-size:12px}.tabs{overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;justify-content:flex-start;max-width:100%;width:100%}.tabs::-webkit-scrollbar{display:none}.toolbar>.tabs{flex:1 1 100%}.tab{flex-shrink:0}}
@media(max-width:680px){.transaction-mobile-meta{display:block;margin-top:4px}.data-table th:nth-child(2),.data-table th:nth-child(3),.data-table td:nth-child(2),.data-table td:nth-child(3){display:none}}
@media(max-width:420px){.quick-action>svg{width:13px;height:13px}.quick-action-icon{width:32px;height:32px}.overview-item{padding-inline:11px}.quick-action-caption{font-size:10px}}

/* Keep transactions within easy reach on a phone. */
@media(max-width:740px){
 .finance-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .finance-summary .stat-card{display:block;min-height:112px;padding:16px}
 .finance-summary .stat-top{font-size:11px;gap:6px}
 .finance-summary .stat-number{font-size:23px;line-height:1.3;margin:10px 0 0;overflow-wrap:anywhere}
 .finance-summary .stat-bottom{display:none}
 .finance-summary .balance-card{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px;min-height:76px}
 .finance-summary .balance-card .stat-number{font-size:26px;margin:0}
 .finance-summary .balance-card .stat-top{max-width:130px}
 .command-panel .suggestion-row{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-right:-4px}
 .command-panel .suggestion-chip{flex-shrink:0;min-height:40px}
 .hero-copy{margin-top:10px}.dashboard-hero{margin-bottom:24px}
}
@media(max-width:360px){.finance-summary .stat-number{font-size:20px}.finance-summary .balance-card .stat-number{font-size:23px}.finance-summary .stat-card{padding:14px}}

@media(max-width:740px){.finance-summary .balance-card{grid-template-columns:minmax(0,1fr) minmax(0,1.8fr)}.finance-summary .stat-number{min-width:0}}
@media(max-width:680px){.data-table td.money{white-space:normal;overflow-wrap:anywhere;line-height:1.5}}
