@font-face{font-family:Golos;src:url('/product-assets/golos-400.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:Golos;src:url('/product-assets/golos-600.ttf') format('truetype');font-weight:600 800;font-display:swap}
:root{color-scheme:dark;--bg:#080f17;--sidebar:#050d13;--card:#101a26;--card-low:#0c151f;--border:#1b2a39;--text:#edf3fb;--muted:#a1b3c8;--mint:#28cdb5;--blue:#47b8ef;--amber:#ffc052;--coral:#fc7a64;--radius:17px;--shadow:0 10px 28px #0002;--sidebar-width:244px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body.product-app{margin:0;background:radial-gradient(ellipse at 70% 5%,#18253855,transparent 45%),var(--bg);font:14px/1.5 Golos,sans-serif;color:var(--text)}[hidden]{display:none!important}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--mint);outline-offset:4px}h1,h2,h3,p{margin:0}h1{font-size:28px;line-height:1.2}h2{font-size:15px;font-weight:600}h3{font-size:14px}small{font-size:12px}ul{padding:0;list-style:none;margin:0}.icon{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.muted{color:var(--muted)}.mint-text{color:#51e3b3}.coral-text{color:#ffa18d}.text-link,.text-button{color:var(--blue);font-size:12px;background:none;border:0;padding:6px 0}.text-link:hover{text-decoration:underline}.button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#26bca9;color:#051813;border:1px solid transparent;border-radius:11px;padding:10px 17px;font-weight:600}.button:hover{filter:brightness(1.08)}.secondary{background:#182635;border-color:#2c4054;color:var(--text)}.icon-button{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);background:#14202d;border-radius:12px;color:var(--text)}.badge{display:inline-flex;align-items:center;white-space:nowrap;border-radius:7px;padding:3px 8px;color:#b7d8e6;background:#1c3341;font-size:11px}.badge.coral{background:#4a2628;color:#ffa99b}.badge.amber{background:#45391f;color:#ffe09c}.badge.blue{background:#163856;color:#9edaff}.notice{padding:12px 16px;border:1px solid #5d4930;background:#282114;border-radius:12px;color:#f0d9ae}.skip-link{position:fixed;top:-80px;left:260px;z-index:100;background:var(--mint);color:#000;padding:12px}.skip-link:focus{top:8px}
.sidebar{width:var(--sidebar-width);position:fixed;inset:0 auto 0 0;z-index:30;background:linear-gradient(150deg,#050e14,#050c12);border-right:1px solid #17212d;display:flex;flex-direction:column;padding:20px 18px 24px;gap:26px}.brand{display:flex;align-items:center;gap:12px;min-height:42px}.brand-mark{display:grid;grid-template-columns:repeat(2,12px);gap:5px;transform:rotate(-7deg);color:#61d49d}.brand-mark i{width:12px;height:12px;border:4px solid currentColor;border-radius:5px;transform:rotate(45deg)}.brand strong{font-size:21px;letter-spacing:-.5px;white-space:nowrap}.brand small{display:block;color:var(--muted);font-size:8px;margin-top:2px}.sidebar nav{display:grid;gap:3px}.nav-item{min-height:45px;display:flex;align-items:center;gap:16px;border-radius:12px;padding:10px 12px;color:#c0d0e3;transition:background .15s}.nav-item:hover{background:#132130}.nav-item[aria-current]{background:#0d2733;color:#85f0e1}.nav-item[aria-current] .icon{color:var(--mint)}.nav-item[href='#assistant']{color:#bc9cf8;margin-top:8px}.nav-item[href='#transaction'],.nav-item[href='#analytics']{margin-top:5px}.sidebar-bottom{margin-top:auto;display:grid;gap:7px}.sync-card{background:#0e1a24;border:1px solid #182834;border-radius:15px;padding:15px;margin-top:15px}.sync-line{display:flex;gap:10px;align-items:center}.status-dot{width:10px;height:10px;border-radius:50%;background:#52d288;box-shadow:0 0 0 5px #4dd68b12}.sync-card[data-state=cached] .status-dot,.sync-card[data-state=reauth] .status-dot{background:#ffc052}.sync-card[data-state=failed] .status-dot{background:var(--coral)}.sync-card[data-state=syncing] .status-dot{animation:pulse 1s infinite}.sync-card p{font-size:11px;color:var(--muted);padding-left:20px;margin:6px 0 12px}.sync-card strong{font-size:12px}.sync-rule{height:5px;border-radius:8px;background:linear-gradient(90deg,#43cda1 54%,#1d3240 54%)}.account-link{display:flex;align-items:center;gap:12px;padding:8px 0}.account-link span{overflow:hidden;text-overflow:ellipsis}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(140deg,#788697,#374250);font-weight:600}
.app-main{margin-left:var(--sidebar-width);padding:0 21px 25px;max-width:2200px}.hero{height:180px;position:relative;display:flex;align-items:center;justify-content:space-between;padding:40px 3px 24px;margin:0 -3px 12px;isolation:isolate}.hero:before{content:'';position:absolute;inset:0 -21px 0;background:linear-gradient(90deg,#080f17 1%,#080f1733 48%,#080f1744),linear-gradient(0deg,#080f17 1%,transparent 45%),url('/product-assets/lake-dusk.jpg') center 53%/cover;z-index:-1}.hero h1{font-size:clamp(25px,2.6vw,40px);letter-spacing:-.8px;margin:7px 0 10px;color:#c1d6f1;text-shadow:0 2px 2px #000}.hero-date{color:#aec6e2;font-size:16px;text-transform:capitalize}.hero-subtitle{color:#a6bdd6;font-size:15px}.hero-focus{background:#162231e8;border:1px solid #233246;width:220px;padding:17px 20px;border-radius:17px;color:#bad0ea;margin-top:26px}.hero-tools{position:absolute;right:0;top:15px;display:flex;gap:12px;align-items:center}.hero-tools .icon-button{background:#0b152388;border:0}.compact-hero{height:150px}.compact-hero h1{font-size:28px}.command-row{display:grid;grid-template-columns:minmax(360px,1.5fr) minmax(360px,1fr);gap:15px;margin-bottom:16px;align-items:start}.assistant-root{min-width:0}.quick-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.quick-tile{border:1px solid var(--border);border-radius:17px;background:linear-gradient(130deg,#182436,#111b27);color:var(--text);display:flex;align-items:center;justify-content:center;gap:11px;min-height:96px;flex-direction:column;padding:12px 7px;font-size:12px;transition:transform .15s,border-color .15s}.quick-tile:hover{transform:translateY(-2px);border-color:#3d6676}.quick-tile .icon{box-sizing:content-box;padding:8px;border-radius:14px;background:#102f31;color:#35dfbb}.quick-tile.transaction .icon{background:#392d1b;color:#ffc061}.quick-tile.event .icon{background:#152d47;color:#76bdfb}.quick-tile.life_object .icon{background:#1b2b48;color:#6796ff}.quick-access{display:flex;gap:9px;flex-wrap:wrap}.quick-access .quick-tile{min-height:58px;flex-direction:row;padding:9px 14px}.quick-access .icon{width:20px;height:20px;padding:5px}
.product-app .assistant-panel{margin:0;padding:12px;border:1px solid var(--border);border-radius:17px;background:#101b26;box-shadow:none;display:flex;flex-wrap:wrap;gap:7px;align-items:center;color:var(--text)}.product-app .assistant-panel h2{font-size:12px;color:#a7c7d5;width:100%}.product-app .assistant-panel p{color:var(--muted);font-size:11px;margin:0}.product-app .assistant-panel>label{font-size:11px;color:var(--muted);margin:0}.product-app .assistant-panel label:has(textarea){width:100%;order:-2;font-size:0}.product-app .assistant-panel textarea{background:#07111a;border:1px solid #203343;border-radius:12px;min-height:54px;height:54px;max-height:160px;resize:vertical;color:var(--text);font-size:14px;padding:15px;width:100%;margin:0}.product-app .assistant-panel h2{order:-3}.product-app .assistant-panel button{min-height:34px;font-size:12px;padding:6px 12px;border-radius:9px;background:#173244;color:#e7f5ff;border:1px solid #28485b}.product-app .assistant-panel button:first-child{background:#0c766b}.product-app .assistant-panel input[type=checkbox]{accent-color:var(--mint);width:16px;height:16px}.product-app .assistant-panel dl{width:100%;background:#0c1823;padding:13px;border-radius:10px;font-size:13px}.product-app .assistant-panel dd{overflow-wrap:anywhere}.product-app .assistant-panel [role=alert]{color:#ffab9f}.product-app .assistant-panel>div{max-width:100%}
.account-status{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-height:24px;margin:0 0 10px;font-size:10px;color:var(--muted)}.account-status #freshness{margin-left:auto}#app-error{margin-bottom:13px}#page-content{min-height:450px}.card{background:linear-gradient(120deg,#111c28,#0c151f);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px 17px;min-width:0;overflow:hidden}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:16px}.kpi-grid .card{min-height:229px;display:flex;flex-direction:column;gap:4px}.kpi-grid .card-heading{margin-bottom:0}.kpi-number{font-size:30px;font-weight:600;letter-spacing:-1px;line-height:1.3}.kpi-number:hover{color:var(--mint)}.kpi-grid p{font-size:12px}.kpi-grid progress{width:100%;height:8px;appearance:none;margin:5px 0 8px;border:none;border-radius:9px;background:#233343}.kpi-grid progress::-webkit-progress-bar{background:#233343;border-radius:9px}.kpi-grid progress::-webkit-progress-value{background:var(--mint);border-radius:9px}.kpi-grid progress::-moz-progress-bar{background:var(--mint);border-radius:9px}.card-divider{height:1px;background:#26384966;margin:10px 0}.finance-kpi{background:radial-gradient(ellipse at right top,#1d574d40,transparent 70%),linear-gradient(120deg,#111c28,#0c151f)}.mini-event{font-size:12px;margin-top:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-event:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--coral);margin-right:7px}.mini-event:nth-of-type(2):before{background:var(--mint)}.time-placeholder{width:66px;height:66px;border:7px solid #234454;border-top-color:#2ba8c1;border-radius:50%;display:grid;place-items:center;margin:6px 0;color:#73a7c0}.kpi-grid .object-tile{padding:4px 0;gap:8px;font-size:12px}.kpi-grid .object-tile small,.kpi-grid .object-tile>.icon:last-child{display:none}.kpi-grid .object-tile>.icon:first-child{width:19px;height:19px;padding:0;background:none}.dashboard-grid{display:grid;grid-template-columns:1.1fr 1fr 1fr;grid-template-rows:minmax(208px,auto) minmax(111px,auto);gap:14px}.today-card{grid-row:1/3}.trend-card{grid-column:2}.categories-card{grid-column:3}.attention-card{grid-column:2}.recommendation-card{grid-column:3}.today-card .card-heading h2{font-size:18px}.chart-total{display:block;font-size:27px;line-height:1.2}.chart{margin:8px 0 0}.chart svg{display:block;width:100%;height:auto;max-height:170px;overflow:visible}.chart-line{fill:none;stroke:#25cbb4;stroke-width:3;stroke-linejoin:round}.previous-line{fill:none;stroke:#5c7e9e;stroke-width:2;stroke-dasharray:5 5}.area-fill{fill:#1bbaa226}.chart figcaption{display:flex;justify-content:space-between;font-size:10px;color:#8ea8c4}.chart-data{font-size:10px;color:var(--muted);margin-top:5px}.chart-data summary{cursor:pointer}.chart-data[open]{max-height:160px;overflow:auto}.donut-layout{display:flex;gap:16px;align-items:center;min-height:140px}.donut{width:136px;height:136px;min-width:100px;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.donut>div{width:74%;height:74%;border-radius:50%;background:#0c1721;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px}.donut strong{font-size:13px}.legend{display:grid;gap:8px;flex:1;min-width:0;font-size:11px}.legend li{display:grid;grid-template-columns:9px minmax(0,1fr) auto;gap:6px;align-items:center}.legend i{width:9px;height:9px;border-radius:50%}.legend span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legend small{grid-column:2/4;font-size:10px;display:none}.legend:hover small{display:block}.day-timeline{display:grid;gap:6px}.timeline-entry{display:grid;grid-template-columns:49px 14px minmax(0,1fr);gap:8px;align-items:start;position:relative;padding:8px 0}.timeline-entry>time{font-size:12px;color:#c2d8ee;padding-top:4px}.timeline-dot{width:12px;height:12px;border:2px solid var(--mint);border-radius:50%;margin-top:6px}.timeline-dot.coral{border-color:var(--coral)}.timeline-dot.blue{border-color:var(--blue)}.timeline-entry:not(:last-child):after{content:'';position:absolute;left:62px;top:28px;bottom:-6px;width:1px;background:#203746}.timeline-entry .record{padding:0;background:none;border:none;gap:7px;flex-wrap:wrap}.timeline-entry .complete-button{width:25px;height:25px;min-width:25px}.timeline-entry .complete-button .icon{width:15px;height:15px}.timeline-entry .record-main{flex-basis:calc(100% - 35px)}.timeline-entry .record strong{font-size:12px}.timeline-entry .record small{font-size:10px}.timeline-entry .event-time{display:none}.record{display:flex;align-items:center;gap:12px;padding:13px 4px;width:100%;border:0;border-bottom:1px solid #1d2b3a;background:none;color:var(--text);text-align:left;min-width:0}.record-main{display:block;flex:1;min-width:0;border:0;background:none;padding:0;color:var(--text);text-align:left}.record strong{font-size:13px;font-weight:400;overflow-wrap:anywhere}.record small{display:block;margin-top:4px}.record-list li:last-child .record{border-bottom:0}.record-list{background:#0c1720;border-radius:13px;padding:0 13px}.complete-button{border:1px solid #356051;background:#11291f;color:#70d6a8;width:32px;height:32px;min-width:32px;display:grid;place-items:center;border-radius:50%;padding:5px}.complete-button:disabled{background:#154638}.event-time{color:#88bddd;font-variant-numeric:tabular-nums}.object-tile{display:flex;gap:13px;align-items:center;padding:7px 0}.object-tile>.icon:first-child{color:#43baff;background:#123148;box-sizing:content-box;padding:11px;border-radius:12px}.object-tile>div{min-width:0;flex:1}.object-tile strong{display:block;overflow-wrap:anywhere;font-size:14px}.object-tile small{display:block;margin-top:4px}.recommendations{display:grid;gap:7px;font-size:11px}.recommendations li{padding-left:14px;position:relative;color:#b7cade}.recommendations li:before{content:'';position:absolute;left:0;top:5px;width:7px;height:7px;border:1px solid var(--mint);border-radius:50%}.recommendations a:hover{color:var(--mint)}.bottom-strip{display:flex;gap:18px;margin-top:16px;align-items:stretch;justify-content:space-between}.encouragement{display:flex;align-items:center;max-width:420px;padding:16px 25px;border:1px solid #205d41;border-radius:17px;color:#a6f4c7;background:linear-gradient(110deg,#103d2480,#0b242888);font-size:15px}
.page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:6px 0 4px}.module-page{display:grid;gap:17px;padding-bottom:18px}.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.stat{background:#101d2b;border:1px solid var(--border);padding:18px;border-radius:14px;display:grid;gap:6px}.stat strong{font-size:28px;font-weight:600}.two-columns{display:grid;grid-template-columns:1.2fr 1fr;gap:16px}.two-columns .donut{width:155px;height:155px}.object-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.object-grid .card{display:grid;gap:12px}.segments{display:flex;gap:5px;flex-wrap:wrap}.segment{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 13px;background:#111e2b;border:1px solid #243548;border-radius:10px;color:#afc3da;font-size:12px}.segment[aria-pressed=true],.segment[aria-current]{background:#133d40;border-color:#247770;color:#b4fff0}.filters{display:flex;gap:10px;flex-wrap:wrap;align-items:end}.filters label{display:grid;gap:5px;font-size:11px;color:var(--muted)}.filters label:has([type=checkbox]){display:flex;align-items:center;min-height:42px}.filters input,.filters select{max-width:190px}.filters input[type=checkbox]{width:18px;height:18px}.product-app input,.product-app textarea,.product-app select{background:#0a1621;color:var(--text);border:1px solid #34485a;border-radius:9px;min-height:40px;padding:9px 11px;max-width:100%}.product-app input[type=checkbox]{min-height:unset;accent-color:var(--mint)}.product-app input::placeholder,.product-app textarea::placeholder{color:#8098b1}.pagination{display:flex;align-items:center;justify-content:center;gap:20px}.empty-state{display:flex;align-items:flex-start;flex-direction:column;gap:10px;padding:18px 2px;min-height:80px;color:#d2e3f3}.empty-state p{font-size:12px;color:var(--muted);max-width:570px}.empty-state strong{font-size:15px}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.calendar-day{border:1px solid var(--border);border-radius:11px;min-height:145px;padding:9px;background:#0e1b27;min-width:0}.calendar-day h2{font-size:11px;color:var(--muted);margin-bottom:9px}.calendar-day.is-today{border-color:#35ad9c;background:#102b2c}.calendar-day button{width:100%;display:block;text-align:left;margin-top:5px;padding:6px;border:0;border-radius:6px;font-size:11px;overflow-wrap:anywhere}.calendar-event{background:#163955;color:#a8dfff}.calendar-task{background:#283623;color:#c6dea2}.calendar-day .calendar-task:before{content:'○ ';color:#bce495}.calendar-day .calendar-event:before{content:'• ';color:#52bbff}.calendar-day:empty{display:none}.calendar-day-view{grid-template-columns:1fr}.calendar.calendar-day{display:block}.calendar-day.calendar-day{min-height:120px}.calendar-day-view .calendar-day{min-height:300px}.calendar-day>section{margin-top:10px}.object-timeline p{padding:12px 0;border-bottom:1px solid var(--border);color:var(--muted)}.mobile-navigation{display:none}.mobile-menu-button{display:none}.nav-backdrop{position:fixed;inset:0;border:0;background:#0009;z-index:29}.product-app dialog{color:var(--text);background:#101d29;border:1px solid #34495f;border-radius:20px;padding:24px;width:min(540px,calc(100% - 28px));max-height:90dvh;box-shadow:0 25px 100px #000a}.product-app dialog::backdrop{background:#02080dde;backdrop-filter:blur(4px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.dialog-heading h2{font-size:20px}.form-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-fields label{display:grid;gap:6px;font-size:12px;color:var(--muted)}.form-fields label:has(textarea){grid-column:1/-1}.form-fields input,.form-fields select,.form-fields textarea{width:100%}.form-fields textarea{min-height:80px;resize:vertical}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.form-error{color:#ffb19d;margin-top:12px}.locked-screen{max-width:560px;margin:15vh auto;padding:28px;color:var(--text);display:grid;gap:20px}.loading-state{padding:50px 20px;color:var(--muted)}.loading-state:before{content:'';display:block;height:8px;background:linear-gradient(90deg,#17293a,#2f5260,#17293a);border-radius:8px;width:160px;margin-bottom:20px;animation:pulse 1.4s infinite}.auth-screen{background:radial-gradient(ellipse at right top,#16435255,transparent 60%),#080f17!important;color:var(--text);font-family:Golos,sans-serif}.auth-screen .topbar{background:#07121a;border-color:#1d3040}.auth-screen .login-card{background:#111e2b;border-color:#2a4053;color:var(--text)}.auth-screen input{background:#081621;color:#fff;border-color:#395368}.auth-screen a{color:#70dfcf}.auth-screen .muted,.auth-screen .fineprint{color:var(--muted)}.auth-screen button{background:#29bda9;color:#051813}.auth-screen .eyebrow{color:#72d3bd}
@keyframes pulse{50%{opacity:.5}}@media(min-width:1700px){.app-main{padding-left:28px;padding-right:28px}.hero{height:200px}.kpi-grid .card{min-height:243px}.dashboard-grid{grid-template-rows:minmax(250px,auto) minmax(126px,auto)}.donut{width:160px;height:160px}.chart svg{max-height:200px}.card{padding:20px}.legend{font-size:12px}}
@media(max-width:1350px){:root{--sidebar-width:220px}.sidebar{padding-left:13px;padding-right:13px}.brand strong{font-size:19px}.app-main{padding:0 17px 24px}.command-row{grid-template-columns:1.2fr 1fr}.kpi-grid{gap:9px}.kpi-grid .card{padding:13px;min-height:232px}.dashboard-grid{grid-template-columns:1.1fr 1fr 1fr;gap:10px}.donut-layout{gap:10px;flex-wrap:wrap;justify-content:center}.donut{width:110px;height:110px}.legend{min-width:110px;flex:1}.hero-focus{width:185px;font-size:12px}.quick-tile{font-size:11px}.bottom-strip{flex-wrap:wrap}.encouragement{flex:1;max-width:none}.card-heading .text-link{font-size:10px}.timeline-entry{grid-template-columns:40px 10px minmax(0,1fr);gap:5px}.timeline-entry:not(:last-child):after{left:50px}.timeline-entry>time{font-size:10px}.timeline-entry .badge{font-size:9px}}
@media(max-width:1100px){:root{--sidebar-width:192px}.brand small{display:none}.brand strong{font-size:17px}.sidebar{gap:20px}.nav-item{font-size:12px;gap:10px}.hero-focus{display:none}.hero h1{font-size:30px}.command-row{grid-template-columns:1fr}.quick-tile{min-height:68px;flex-direction:row}.kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.kpi-grid .card{min-height:190px}.dashboard-grid{grid-template-columns:1fr 1fr;grid-template-rows:auto}.today-card{grid-column:1;grid-row:1/3}.trend-card{grid-column:2}.categories-card{grid-column:2}.attention-card{grid-column:1}.recommendation-card{grid-column:2}.donut-layout{flex-wrap:nowrap}.object-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar{grid-template-columns:repeat(7,minmax(70px,1fr));overflow:auto}.two-columns{grid-template-columns:1fr 1fr}}
@media(max-width:760px){:root{--sidebar-width:244px}.sidebar{transform:translateX(-100%);transition:transform .2s;width:244px}.sidebar.is-open{transform:translateX(0)}.app-main{margin-left:0;padding:0 14px 100px}.brand strong{font-size:21px}.brand small{display:block}.nav-item{font-size:14px;min-height:44px}.mobile-menu-button{display:inline-flex}.hero{height:185px;padding:68px 0 18px;margin-bottom:10px;align-items:flex-start}.hero:before{inset:0 -14px}.hero h1{font-size:27px;letter-spacing:-.5px;max-width:340px;line-height:1.16}.hero-date{font-size:12px}.hero-subtitle{font-size:11px;max-width:300px}.hero-tools{top:12px;width:100%;justify-content:flex-end}.hero-tools .mobile-menu-button{margin-right:auto}.compact-hero{height:160px}.compact-hero .hero-subtitle{display:none}.command-row{gap:10px}.quick-tiles{gap:6px}.quick-tile{min-height:76px;flex-direction:column;padding:8px 4px;gap:5px;font-size:10px;border-radius:13px}.quick-tile .icon{padding:5px;width:19px;height:19px}.kpi-grid{grid-template-columns:1fr 1fr;gap:9px}.kpi-grid .card{min-height:191px;padding:14px}.kpi-grid .card:last-child{grid-column:1/-1;min-height:110px;display:grid;grid-template-columns:auto 1fr;gap:4px 15px}.kpi-grid .card:last-child .time-placeholder{grid-row:1/5;grid-column:1;width:58px;height:58px;align-self:center}.kpi-grid .card:last-child .card-heading,.kpi-grid .card:last-child>span,.kpi-grid .card:last-child>strong,.kpi-grid .card:last-child>p{grid-column:2}.kpi-number{font-size:28px}.dashboard-grid{display:flex;flex-direction:column;gap:11px}.today-card{order:0}.trend-card{order:1}.categories-card{order:2}.attention-card{order:3}.recommendation-card{order:4}.card{padding:16px}.chart svg{max-height:180px}.donut-layout{justify-content:space-between;gap:20px}.donut{width:140px;height:140px}.legend{font-size:11px}.legend small{display:block}.timeline-entry{grid-template-columns:49px 13px minmax(0,1fr);gap:8px}.timeline-entry:not(:last-child):after{left:62px}.timeline-entry .record strong{font-size:13px}.timeline-entry>time{font-size:12px}.timeline-entry .record small{font-size:11px}.bottom-strip{display:block}.quick-access{display:grid;grid-template-columns:1fr 1fr;gap:8px}.quick-access .quick-tile{padding:9px;min-height:53px;font-size:11px}.encouragement{margin-top:12px;font-size:13px}.mobile-navigation{position:fixed;inset:auto 0 0;z-index:25;display:grid;grid-template-columns:repeat(5,1fr);padding:7px 5px max(8px,env(safe-area-inset-bottom));background:#0a1620f5;backdrop-filter:blur(14px);border-top:1px solid #24394a}.mobile-navigation .nav-item{min-height:47px;flex-direction:column;gap:3px;padding:5px 2px;font-size:9px;margin:0}.mobile-navigation .icon{width:20px;height:20px}.account-status{font-size:9px;gap:4px}.account-status #freshness{margin-left:0;width:100%}.two-columns,.summary-grid,.object-grid{grid-template-columns:1fr}.summary-grid{gap:8px}.summary-grid .stat{padding:13px 16px;grid-template-columns:1fr auto;align-items:center}.summary-grid .stat small{grid-column:1/-1}.stat strong{font-size:24px}.module-page{gap:13px}.page-heading h1{font-size:25px}.page-heading .button{padding:9px 11px;font-size:12px}.segments{gap:5px}.segment{font-size:11px;padding:7px 10px;min-height:40px}.filters{display:grid;grid-template-columns:1fr 1fr}.filters input,.filters select{max-width:100%;width:100%}.filters .button{width:100%}.calendar{display:grid;grid-template-columns:1fr;overflow:visible}.calendar-day{min-height:72px;padding:12px}.calendar-day h2{font-size:12px}.calendar-day button{min-height:34px;font-size:12px}.record{gap:8px}.record strong{font-size:12px}.record .badge{font-size:9px}.record small{font-size:10px}.form-fields{grid-template-columns:1fr}.product-app dialog{padding:19px;max-height:88dvh}.skip-link{left:15px}.product-app .assistant-panel textarea{font-size:16px}.product-app .assistant-panel button{min-height:40px}.product-app .assistant-panel p{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Stage 14 compact command composition. Shared assistant logic is unchanged. */
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.hero{height:176px;margin-left:0;margin-right:0}.hero:before{inset:0 -21px 0}.compact-hero{height:145px}
.product-app .assistant-panel.command-panel{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;padding:12px;min-height:96px}
.product-app .command-panel .command-input{order:0;width:100%;grid-column:1/-1;margin:0;font-size:0}
.product-app .command-panel .command-input textarea{min-height:46px;height:46px;padding:12px 49px 12px 43px;border-radius:12px;resize:vertical;line-height:20px;font-size:13px}
.product-app .command-panel .command-mic,.product-app .command-panel .command-send{position:absolute;top:17px;width:35px;height:35px;min-height:35px;padding:0;border:0;display:grid;place-items:center;border-radius:11px}
.product-app .command-panel .command-send{right:18px;background:#087d7a;color:#c5fff5;font-size:23px}
.product-app .command-panel .command-mic{left:18px;background:#102936;color:#33d8d0;font-size:0}
.product-app .command-panel .command-mic:before{content:'';display:block;width:17px;height:22px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' d='M9 5a3 3 0 0 1 6 0v7a3 3 0 0 1-6 0zm-3 6v1a6 6 0 0 0 12 0v-1m-6 7v4m-3 0h6'/%3E%3C/svg%3E") center/contain no-repeat}
.product-app .command-panel .command-mic.is-recording{color:#ff9a84;background:#492625}
.product-app .command-panel .command-consent{grid-column:1;grid-row:2;display:flex;align-items:center;gap:6px;font-size:10px;min-width:0}
.product-app .command-panel .command-consent input{margin:0;width:15px;height:15px}
.product-app .command-panel .command-privacy{grid-column:2;grid-row:2;font-size:10px;color:var(--muted);max-width:170px}
.command-privacy summary{cursor:pointer;min-height:24px;display:flex;align-items:center;text-decoration:underline;text-underline-offset:3px}
.product-app .command-panel .command-privacy[open]{grid-column:1/-1;grid-row:3;max-width:none;padding:7px;border-top:1px solid var(--border)}
.product-app .command-panel .command-preview,.product-app .command-panel .command-status,.product-app .command-panel .command-error,.product-app .command-panel .assistant-actions{grid-column:1/-1;width:100%;order:1}
.product-app .command-panel .assistant-actions{display:flex;flex-wrap:wrap;gap:7px}.product-app .command-panel .assistant-actions button{min-height:36px}
.product-app .command-panel .command-preview{padding:13px;background:#08141e;border-radius:10px}.product-app .command-panel .command-preview p{font-size:12px;padding:3px 0}
.product-app .command-panel .command-error{color:#ffab9f}
/* Voice feedback stays in normal flow, including narrow mobile command bars. */
.product-app .assistant-panel.command-panel{height:auto;max-height:none;overflow:visible}
.product-app .command-panel .command-voice-status,.product-app .command-panel .command-error{grid-column:1/-1;order:1;min-width:0;max-height:none;overflow:visible;white-space:normal;overflow-wrap:anywhere;font-size:12px;line-height:1.5;margin:0}
.product-app .command-panel .command-voice-status{color:#b8f5e6}
.product-app .command-panel .command-mic.is-recording:before{width:12px;height:12px;border-radius:2px;mask:none}
.product-app .command-panel .command-mic:focus-visible{outline:2px solid #b8f5e6;outline-offset:3px}
@media(min-width:1700px){.hero{height:186px}.compact-hero{height:150px}}
@media(max-width:1350px){.hero:before{inset:0 -17px 0}}
@media(max-width:760px){.hero{height:168px;padding-top:62px}.hero:before{inset:0 -14px 0}.compact-hero{height:148px}.product-app .command-panel .command-input textarea{font-size:16px}.product-app .command-panel .command-consent,.product-app .command-panel .command-privacy{font-size:10px}.product-app .command-panel .assistant-actions button{min-height:44px}}

/* Stage 14 visual correction: presentation only, no page-level overflow clipping. */
:root{--bg:#101a27;--sidebar:#0b1520;--card:#172432;--card-low:#12202d;--border:#2a3b4d80;--muted:#a5b8ce;--text:#e7eff9;--sidebar-width:216px;--shadow:0 8px 24px #05101b20;--radius:16px;--page-gutter:24px}
body.product-app{background:radial-gradient(ellipse at 70% 0%,#263b5140,transparent 55%),var(--bg)}
.sidebar{background:linear-gradient(160deg,#101d29,#0a1520);padding:20px 15px;gap:20px;height:100dvh;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;border-color:var(--border)}
.sidebar .brand{gap:10px}.sidebar .brand strong{font-size:21px;font-weight:600}.sidebar .brand small{font-size:8px;white-space:normal}.sidebar .nav-item{gap:12px;min-height:43px;padding:9px 10px;font-size:13px}.sidebar .sync-card{padding:12px;margin-top:8px;background:#142432}.sidebar .sync-line{min-width:0}.sidebar .status-dot{flex-shrink:0}.sidebar .sync-card strong{font-size:11px;font-weight:400;overflow-wrap:anywhere}.sidebar-bottom{gap:5px}
.app-main{width:calc(100% - var(--sidebar-width));max-width:none;min-width:0;margin-left:var(--sidebar-width);padding:0 var(--page-gutter) 28px}
.app-main>*,.command-row>*,.quick-tiles>*,.dashboard-grid>*,.kpi-grid>*,.bottom-strip>*,.card-heading>*,.hero>*{min-width:0}
.hero{height:184px;margin:0 0 18px;padding:43px 0 22px;gap:24px}.hero:before{inset:0 calc(-1 * var(--page-gutter));background:linear-gradient(90deg,#101a27eb 0%,#101a2770 35%,#101a2712 72%,#101a2740),linear-gradient(0deg,#101a27 0%,#101a2700 38%),url('/product-assets/lake-dusk.jpg') center 57%/cover}
.hero h1{font-size:clamp(27px,2.45vw,39px);font-weight:600;letter-spacing:-.6px;line-height:1.16;margin:8px 0 10px;color:#ccdef4;text-shadow:0 1px 8px #10203166;overflow-wrap:anywhere}.hero-date{font-size:14px;font-weight:400}.hero-subtitle{font-size:13px;line-height:1.5;max-width:650px}.hero-focus{flex:0 0 196px;width:auto;font-size:12px;padding:16px 18px;background:#1c2b3edb;border-color:#34465b80;margin-top:23px}.compact-hero{height:154px}
.command-row{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:18px;align-items:start;margin-bottom:18px}.quick-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.quick-tile{min-width:0;min-height:104px;padding:12px 6px;gap:9px;font-size:12px;font-weight:400;line-height:1.35;overflow-wrap:anywhere;background:linear-gradient(145deg,#202e42,#162332);border-color:#34435870;border-radius:16px}.quick-tile .icon{width:21px;height:21px;padding:8px;border-radius:12px}
.product-app .assistant-panel.command-panel{min-width:0;min-height:104px;background:linear-gradient(130deg,#172735,#13202d);border-color:var(--border);padding:12px;gap:9px 12px;grid-template-columns:minmax(0,1fr) minmax(0,auto)}
.product-app .command-panel .command-input{min-width:0}.product-app .command-panel .command-input textarea{background:#0e1b27;font-size:13px;white-space:pre;overflow-x:auto}.product-app .command-panel .command-consent,.product-app .command-panel .command-privacy{font-size:10px;overflow-wrap:anywhere}.product-app .command-panel .command-consent input{flex-shrink:0}.product-app .command-panel .command-preview{min-width:0;overflow-wrap:anywhere;background:#102030}
.account-status{margin-bottom:14px;gap:6px 14px;font-size:10px}.account-status>*{min-width:0;overflow-wrap:anywhere}
.card{background:linear-gradient(130deg,#192735,#13202d);border:1px solid var(--border);border-radius:16px;padding:18px;overflow:visible;min-width:0}.card-heading{gap:10px;margin-bottom:14px;flex-wrap:wrap;align-items:baseline}.card-heading h2{font-size:14px;font-weight:600;line-height:1.4}.card-heading .text-link{font-size:11px;white-space:normal}.card strong{font-weight:600}.card p,.card small,.card a{overflow-wrap:anywhere}
.kpi-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;margin-bottom:20px}.kpi-grid .card{padding:18px;min-height:230px;gap:6px}.kpi-number{font-size:29px;font-weight:600;letter-spacing:-.6px;line-height:1.2;font-variant-numeric:tabular-nums}.kpi-grid p{font-size:12px;line-height:1.5}.kpi-grid .object-tile strong{font-weight:400;font-size:12px}.finance-kpi{background:radial-gradient(ellipse at right top,#26746230,transparent 70%),linear-gradient(130deg,#192c36,#14232e)}.kpi-grid .card:nth-child(2){background:linear-gradient(145deg,#242c3433,transparent),var(--card-low)}.kpi-grid .card:nth-child(3){background:linear-gradient(145deg,#442b3333,transparent),var(--card-low)}.mini-event{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.5;margin-top:5px}
.dashboard-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1.05fr) minmax(0,1fr);grid-template-rows:minmax(220px,auto) minmax(140px,auto);gap:18px}.today-card{grid-column:1;grid-row:1/3}.trend-card{grid-column:2}.categories-card{grid-column:3}.attention-card{grid-column:2}.recommendation-card{grid-column:3}.today-card .card-heading h2{font-size:17px}.chart-total{font-size:26px;letter-spacing:-.4px}.chart svg{max-height:180px}.chart{min-width:0}.chart figcaption{gap:8px;flex-wrap:wrap}.donut-layout{gap:16px;flex-wrap:wrap}.donut{width:clamp(110px,9vw,152px);height:auto;min-width:0;max-width:100%;aspect-ratio:1}.donut>div{background:#152330}.legend{min-width:min(135px,100%);flex:1;font-size:11px}.legend li{min-width:0}.legend span{white-space:normal;overflow:visible;overflow-wrap:anywhere}.legend strong{font-weight:400}
.timeline-entry{grid-template-columns:45px 12px minmax(0,1fr);gap:8px;padding:7px 0}.timeline-entry:not(:last-child):after{left:58px}.timeline-entry>time{font-size:11px}.timeline-entry .record strong{font-size:12px;line-height:1.5;font-weight:400}.timeline-entry .record small{font-size:11px;line-height:1.4}.timeline-entry .badge{font-size:10px}.recommendations{font-size:12px;line-height:1.6;gap:8px}
.bottom-strip{display:flex;flex-wrap:wrap;gap:18px;margin-top:20px}.quick-access{flex:1 1 580px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.quick-access .quick-tile{padding:10px;min-height:60px;font-size:11px;gap:8px}.encouragement{flex:1 1 300px;max-width:none;min-width:0;font-size:13px;padding:17px 22px;line-height:1.6}
.two-columns{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.summary-grid,.object-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.page-heading,.filters{min-width:0;flex-wrap:wrap}.filters>*{min-width:0}.record-main,.object-tile>div{min-width:0}
@media(min-width:1700px){:root{--sidebar-width:220px;--page-gutter:28px}.hero{height:196px}.compact-hero{height:158px}.kpi-grid .card{min-height:238px;padding:20px}.card{padding:20px}.hero-focus{flex-basis:218px;font-size:13px}.sidebar .nav-item{font-size:14px}}
@media(max-width:1400px) and (min-width:761px){:root{--sidebar-width:192px;--page-gutter:20px}.sidebar{padding:18px 12px;gap:17px}.sidebar .brand strong{font-size:19px}.sidebar .nav-item{font-size:12px;gap:10px}.hero-focus{flex-basis:170px}.hero h1{font-size:31px}.kpi-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}.kpi-grid .card{grid-column:span 2;min-height:210px}.kpi-grid .card:nth-child(n+4){grid-column:span 3;min-height:180px}.command-row{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:16px}.quick-tile{font-size:11px}.dashboard-grid{gap:16px}.donut-layout{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center}.legend{width:100%;min-width:0}.legend small{display:none}.hero-subtitle{font-size:12px}}
@media(max-width:1200px) and (min-width:761px){.command-row{grid-template-columns:minmax(0,1fr)}.quick-tiles{max-width:560px}.quick-tile{min-height:84px;flex-direction:column}.dashboard-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-rows:auto}.today-card{grid-column:1;grid-row:1/3}.trend-card,.categories-card{grid-column:2}.attention-card{grid-column:1}.recommendation-card{grid-column:2}.hero-focus{display:none}}
@media(max-height:800px) and (min-width:761px){.sidebar{gap:12px;padding-top:15px;padding-bottom:14px}.sidebar .nav-item{min-height:36px;padding-top:6px;padding-bottom:6px}.sidebar nav{gap:1px}.sidebar .sync-card{margin-top:3px}.sidebar .sync-card p{margin-bottom:8px}.sidebar-bottom{gap:3px}}
@media(max-width:760px){:root{--sidebar-width:244px;--page-gutter:14px}.app-main{width:100%;margin-left:0;padding:0 var(--page-gutter) 100px}.sidebar{width:244px}.hero{height:auto;min-height:182px;padding:65px 0 24px;margin-bottom:16px;align-items:flex-start}.hero:before{background-position:center,center,60% 55%}.hero h1{font-size:27px;max-width:none}.hero-date{font-size:12px}.hero-subtitle{font-size:12px;max-width:100%}.hero-focus{display:none}.compact-hero{min-height:150px}.command-row{grid-template-columns:minmax(0,1fr);gap:12px;margin-bottom:16px}.quick-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.quick-tile{min-height:84px;font-size:10px;gap:7px;padding:10px 4px;flex-direction:column}.quick-tile .icon{width:20px;height:20px;padding:6px}.product-app .command-panel .command-input textarea{font-size:16px}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}.kpi-grid .card{grid-column:auto;min-height:210px;padding:15px}.kpi-grid .card:last-child{grid-column:1/-1;min-height:122px}.kpi-number{font-size:27px}.dashboard-grid{display:flex;flex-direction:column;gap:14px}.card{padding:17px}.donut-layout{display:flex;flex-wrap:wrap;gap:16px;justify-content:center}.donut{width:128px}.legend{min-width:135px}.legend small{display:block}.timeline-entry{grid-template-columns:43px 12px minmax(0,1fr)}.timeline-entry:not(:last-child):after{left:56px}.quick-access{grid-template-columns:repeat(2,minmax(0,1fr));flex-basis:100%}.quick-access .quick-tile{flex-direction:row}.bottom-strip{gap:14px}.encouragement{margin:0}.two-columns,.summary-grid,.object-grid{grid-template-columns:minmax(0,1fr)}.mobile-navigation{background:#112030f5}.mobile-navigation .nav-item{min-width:0;font-size:9px}.account-status #freshness{margin-left:0}}

/* Short, non-modal account-local guidance. */
.product-help,.guidance-coach,.guidance-settings{padding:14px 16px;margin-bottom:16px;border:1px solid var(--border);border-radius:14px;background:#162937;color:var(--text)}
.product-help summary{cursor:pointer;color:#9ee8d8;min-height:30px}.product-help p{margin-top:8px;max-width:75ch;font-size:13px;line-height:1.6}.guidance-coach{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.guidance-coach strong,.guidance-coach p{flex-basis:100%}.guidance-coach p{font-size:13px;color:var(--muted)}.guidance-coach button{font-size:12px}.guidance-settings{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-top:18px}.guidance-settings h2{flex-basis:100%}.guidance-settings input{margin-right:8px}

/* Balance views reuse product surfaces without widening the dashboard. */
.balance-card { margin-bottom: 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 20px; }
.balance-card > p, .balance-card > small { grid-column: 1 / -1; margin: 0; }
.balance-value { font-size: clamp(20px, 2.3vw, 30px); font-weight: 600; line-height: 1.25; }
.balance-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.balance-section { min-width: 0; overflow-wrap: anywhere; }
.balance-chart { width: 100%; height: auto; color: #36c6a1; }
.balance-page .filters { flex-wrap: wrap; }
.balance-page label { display: grid; gap: 6px; min-width: 0; }
.balance-section details { max-height: 260px; overflow: auto; }
@media (max-width: 700px) { .balance-content, .balance-card { grid-template-columns: minmax(0, 1fr); } .balance-page select { max-width: 100%; } }
