/* Measured from the 1536 Ã— 1024 reference. All controls and text remain DOM. */
.forest-dashboard{--ink:#eff8f2;--muted:#b9cdc1;--green:#a0f3ce;--mint:#9df5cd;--paper:#031b12;--line:rgba(139,213,168,.24);--glass:rgba(2,30,18,.83);--radius:14px;color-scheme:dark;background:#031b12;color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif}
.background-layer{position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 15% 43%,#8e98515c,transparent 25%),radial-gradient(ellipse at 52% 104%,#88956399,transparent 27%),radial-gradient(ellipse at 75% -12%,#697d6175,transparent 32%),radial-gradient(ellipse at -5% 78%,#225c4788,transparent 24%),linear-gradient(120deg,#00100a,#173c25 38%,#02180f 70%);overflow:hidden}
.background-layer{background:#031b12 url('/forest-background.png') center/cover no-repeat}
.background-layer::before,.background-layer::after{display:none}
.luma-eye.left{left:30%;top:61%}.luma-eye.right{left:62%;top:29%}.luma-smile{left:59%;top:65%}
.background-layer::before,.background-layer::after{content:"";position:absolute;width:110%;height:70%;left:-15%;top:50%;border:35px solid #a1af7977;border-radius:90% 10% 90% 5%;transform:rotate(-25deg);filter:blur(19px);box-shadow:70px -120px 80px #315d3366,inset 100px 20px 90px #051d10}
.background-layer::after{width:46%;height:110%;top:-50%;left:78%;border-width:90px;transform:rotate(35deg);opacity:.65;filter:blur(28px)}
.forest-dashboard .shell{padding:18px 18px 36px;grid-template-columns:262px minmax(0,1fr);gap:25px;max-width:1800px;margin:0 auto;min-height:100dvh}
.forest-dashboard .sidebar{height:calc(100dvh - 54px);min-height:880px;top:18px;padding:12px 12px 22px;border:1px solid var(--line);border-top:0;border-radius:0 0 24px 24px;background:linear-gradient(150deg,rgba(0,18,10,.95),rgba(2,34,17,.7));backdrop-filter:blur(16px);overflow:hidden}
.forest-dashboard .brand{gap:11px;font-size:26px;letter-spacing:-.5px;font-weight:700;padding:0 8px;white-space:nowrap}.forest-dashboard .brand svg{width:50px}.forest-dashboard .brand>span{display:block}.brand small{display:block;font-size:12px;letter-spacing:0;color:#b8cabe;font-weight:400;margin-top:1px}
.forest-dashboard .side-label{margin:32px 8px 10px;font-size:10px;letter-spacing:1.5px;color:#9bbdaa}
.forest-dashboard .sidebar nav{gap:0}.forest-dashboard .dashboard-nav{display:flex;align-items:center;gap:17px;padding:11px 14px;width:100%;min-height:42px;border:1px solid transparent;border-radius:18px;background:transparent;color:#eef5f0;font-size:14px;text-align:left;font-weight:400}
.ui-icon{width:22px;height:22px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.forest-dashboard .dashboard-nav:hover{background:#214d323e}.forest-dashboard .dashboard-nav.active{border-color:#396c504f;color:#f6fff9;box-shadow:inset 2px 0 #a4f8d0,-3px 0 14px #6eefbb25;background:linear-gradient(110deg,#0d443080,#1b523575)}
.forest-dashboard .dashboard-nav>span{font-size:inherit;width:auto;line-height:1.4}.forest-dashboard .dashboard-nav:disabled{cursor:default;opacity:.6}
.forest-dashboard .side-note{position:relative;height:120px;min-height:120px;margin:30px 5px auto;padding:15px 12px;border-radius:12px;border:1px solid #29543857;overflow:hidden;background:#01180ed9}.handwritten{font-family:"Segoe Print","Comic Sans MS",cursive;font-weight:400;font-style:italic;letter-spacing:.2px;color:#c0d4bb;line-height:1.12}
.forest-dashboard .side-note p{position:relative;z-index:1;font-size:18px;margin:0;white-space:pre-line;transform:rotate(-10deg)}.leaf-art{position:absolute;right:0;bottom:0;width:150px;height:120px;pointer-events:none}.leaf-art svg{display:block;width:100%;height:100%}
.forest-dashboard .side-bottom{margin:30px -12px 0;padding:18px;border-top:1px solid var(--line);gap:13px;align-items:center}.side-bottom>.privacy-mark{display:none}.account-avatar,.header-account{display:grid;place-items:center;flex-shrink:0;border-radius:50%;width:40px;height:40px;background:#dfbb95;color:#0c2416;font-size:15px;font-weight:600}.side-bottom strong{font-size:13px!important}.side-bottom small{font-size:12px!important;color:#b8cabe!important}.side-bottom>.ui-icon{width:15px;margin-left:auto}.forest-dashboard .help-button{border-top:1px solid var(--line);border-radius:0;margin:0 6px;width:calc(100% - 12px);padding-top:18px;min-height:58px}.forest-dashboard #sign-out{display:flex;align-items:center;gap:17px;padding:13px 14px;font-size:14px}
.forest-dashboard .topbar{height:59px;min-height:59px;padding:2px 8px 9px;border:0;gap:18px;align-items:flex-start}.forest-dashboard .breadcrumb{display:none}.forest-dashboard .topbar-end{flex-shrink:0;margin-left:auto;gap:19px;align-items:center;height:43px}.forest-dashboard #source-date{display:none}.forest-dashboard #data-scope{max-width:110px}
.top-search{display:flex;align-items:center;height:49px;max-width:646px;flex:1;min-width:0;border:1px solid #9edebbc4;border-radius:28px;background:linear-gradient(90deg,#001b0f88,#233e294d);box-shadow:0 0 12px #54bf8a19;color:#f2fcf5;padding-left:18px;overflow:hidden}.top-search>input{width:0;flex:1;background:none;border:0;color:var(--ink);padding:12px 15px;font-size:14px;min-width:0;outline-offset:-3px}.top-search input::placeholder{color:#b6cabc}.top-search button{color:var(--ink);border:0;display:grid;place-items:center;background:#0027186b;width:43px;height:43px;border-radius:50%;flex-shrink:0}.top-search-send{width:54px!important;height:48px!important;border-radius:0!important;border-left:1px solid #9ad4b299!important;background:#28473266!important}.top-search .ui-icon{width:21px}.mobile-menu{display:none}.forest-dashboard .notification-button{border:1px solid #8ab69685;border-radius:50%;min-width:40px;min-height:40px;width:40px;height:40px;background:#00190b66;padding:8px}.header-account{border:0;cursor:pointer}
.forest-dashboard .secondary,.forest-dashboard .tag{border:1px solid #83bb9999;background:linear-gradient(115deg,#1a402970,#08241990);color:#f0f8f1;border-radius:24px}.forest-dashboard #import-shortcut{display:flex;align-items:center;justify-content:center;gap:10px;min-height:40px;padding:9px 18px;font-size:12px;white-space:nowrap}.forest-dashboard #import-shortcut .ui-icon{width:15px;height:15px}
.forest-dashboard .content{padding:0;max-width:none}.forest-dashboard .page-heading{width:calc(100% - 344px);height:186px;min-height:186px;position:relative;display:block;margin:0;padding:18px 10px 0}.forest-dashboard .page-heading>div:first-child{position:relative;z-index:2;pointer-events:none}.greeting-date{font-size:14px;color:#bfd2c5;margin:0 0 3px}.forest-dashboard h1{font-size:42px;line-height:1.13;font-weight:700;letter-spacing:-1.1px;margin:0 0 1px;max-width:none}.forest-dashboard .page-heading>div>p:last-child{font-size:20px;line-height:1.5;color:#edf7ed;margin:0}.forest-dashboard .period-label{position:absolute;right:0;bottom:14px;display:none}.forest-dashboard body:not(.design-preview) .period-label{display:grid}
.quick-questions{position:relative;z-index:3;display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}.question-pill{border:1px solid #529b757f;border-radius:25px;background:linear-gradient(110deg,#183e256e,#052817bb);color:#fbfff8;padding:9px 12px;font-size:11px;min-height:36px;box-shadow:inset 0 0 8px #4a9d6933}.question-pill:hover{background:#326a4580}
.hero-character{position:absolute!important;right:12px;top:-40px;width:324px;height:221px;pointer-events:none;z-index:1}.hero-character .luma-diamond{position:absolute;top:75px;left:139px;width:105px;height:105px}.hero-character>.handwritten{position:absolute;right:-4px;top:19px;font-size:19px;transform:rotate(-16deg);text-align:center}.hero-orbits{position:absolute;inset:0;filter:drop-shadow(0 0 4px #a2f7c5)}.hero-orbits i{position:absolute;left:11px;top:88px;width:323px;height:89px;border:1px solid #8ddaac88;border-radius:50%;transform:rotate(-8deg);box-shadow:0 0 9px #66efa624}.hero-orbits i:nth-child(2){transform:rotate(15deg);left:70px;top:75px;width:260px;height:105px}.hero-orbits i:nth-child(3){transform:rotate(100deg);width:209px;height:109px;left:91px;top:66px}.hero-orbits i:nth-child(4){transform:rotate(-30deg);width:205px;height:143px;left:83px;top:41px;opacity:.45}
.luma-diamond{position:relative;width:104px;height:104px;border-radius:25%;transform:rotate(45deg);background:radial-gradient(ellipse at 20% 15%,#e0ffe4,#a4f7ce 55%,#7bd9ad);box-shadow:inset 3px 3px 10px #effff0b0,inset -4px -4px 12px #98e2b8,0 0 30px #86f5b99c,0 0 65px #53eaaa66;animation:luma-float 5s ease-in-out infinite}
.luma-eye{position:absolute;top:42%;width:10px;height:14px;border-radius:50%;background:radial-gradient(circle at 30% 30%,#b1debe 0 8%,#002a13 20% 65%,#081810);transform:rotate(-45deg)}.luma-eye.left{left:29%}.luma-eye.right{left:62%;top:14%}.luma-smile{position:absolute;left:52%;top:49%;width:17px;height:10px;border:3px solid #062615;border-top:0;border-radius:0 0 12px 12px;transform:rotate(-45deg)}
@keyframes luma-float{0%,100%{translate:0 0}50%{translate:0 -6px}}
.forest-dashboard .workspace-grid{grid-template-columns:minmax(0,1fr) 331px;gap:13px}.forest-dashboard .finance-column{grid-row:auto}.forest-dashboard .metrics{gap:10px;margin:0 0 14px}.forest-dashboard .metric{height:120px;padding:19px 15px 13px 78px!important;border-radius:13px;background:linear-gradient(130deg,#244c2bb0,#052918d1 60%,#12523583);border:1px solid #8ed6a346;position:relative;overflow:hidden}.forest-dashboard .metric-label{font-size:14px!important;color:#f4faf3;display:block;padding-right:58px;white-space:nowrap}.forest-dashboard .metric-label>span{display:none}.forest-dashboard .metric>strong{font-size:24px!important;letter-spacing:-.35px;font-weight:600;margin:4px 0 6px}.forest-dashboard .metric>small{font-size:10px!important;display:block;color:#c6d9c9}.metric-icon{position:absolute;left:14px;top:13px;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(140deg,#459a70a1,#246146ab);color:#e4ffee}.metric-icon .ui-icon{width:25px;height:25px;stroke-width:2}.metric-trend{position:absolute;right:15px;top:24px;padding:4px 7px;font-size:10px;border-radius:13px;background:#39785970;color:#eaffed}.metric-spark{position:absolute;right:13px;bottom:18px;width:75px;height:24px}.metric-spark svg{width:100%;height:100%}
.forest-dashboard .page-view{gap:14px}.forest-dashboard #overview-page{grid-template-columns:1.13fr 1fr}.forest-dashboard .panel{border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(125deg,#173f299e,#012314d9);padding:17px 20px;backdrop-filter:blur(14px);box-shadow:inset 0 1px 0 #adf7bc08}.forest-dashboard .panel-heading{margin-bottom:14px;gap:8px}.forest-dashboard h2{font-size:15px;letter-spacing:-.3px;font-weight:600;line-height:1.35}.forest-dashboard .tag{padding:6px 12px;font-size:12px}.chart-period{font-size:12px;color:#d0e0d3;margin:5px 0 0}.forest-dashboard .spending-panel,.forest-dashboard .balance-panel{height:306px}.forest-dashboard .spending-layout{grid-template-columns:190px minmax(0,1fr);gap:13px;margin-top:0}.forest-dashboard .donut-wrap{width:190px;max-width:none}.forest-dashboard .donut-center strong{font-size:25px;font-weight:600;margin:0 0 0;color:#f4fff6}.forest-dashboard .donut-center small{font-size:12px;color:#e9f6eb}.forest-dashboard .donut-center>span{display:none}.forest-dashboard .legend{grid-template-columns:1fr;gap:0}.forest-dashboard .legend-row{grid-template-columns:15px minmax(0,1fr) auto auto;gap:9px;padding:6px 0;border:0;font-size:12px;color:#e6f4e9;min-height:28px}.forest-dashboard .legend-row strong{font-size:12px;font-weight:600;grid-column:auto}.legend-row small{font-size:11px;min-width:29px;text-align:right}.forest-dashboard .swatch{width:14px;height:14px;border-radius:50%}.forest-dashboard .panel-foot{margin:6px 0 0;border:0;padding:0;justify-content:flex-start}.forest-dashboard .text-button{font-size:12px;color:#f2fff3;font-weight:500;min-height:28px}.forest-dashboard .balance-panel{padding:15px}.forest-dashboard .balance-panel .panel-heading{margin-bottom:0}.forest-dashboard .line-chart{margin-top:0}.forest-dashboard .line-chart svg{height:184px;object-fit:fill}.forest-dashboard .flow-facts{padding-top:15px;margin-top:8px;border-color:var(--line);gap:0;grid-template-columns:repeat(3,1fr)}.forest-dashboard .flow-facts>div{padding-left:13px;border-left:1px solid var(--line)}.forest-dashboard .flow-facts>div:first-child{padding-left:0;border:0}.forest-dashboard .flow-facts span{font-size:10px;color:#c7dbce;line-height:1.5;display:block}.forest-dashboard .flow-facts strong{font-size:13px;margin-top:1px;color:#f4fff5}.forest-dashboard .balance-panel>.caption{font-size:10px;line-height:1.4;margin-top:8px}.forest-dashboard .insight-strip{display:none}
.dashboard-lower{grid-column:1/-1;display:grid;grid-template-columns:1.02fr 1fr;gap:12px;min-width:0}.dashboard-lower>.panel{padding:13px 16px;min-height:253px}.dashboard-lower .panel-heading{margin-bottom:9px}.activity-tabs{display:flex;gap:7px;margin:0 0 7px}.activity-tab{font-size:11px;border:1px solid #6faa8229;background:#25533a66;color:#f5fff5;border-radius:18px;padding:4px 15px;min-height:26px}.activity-tab.active{background:#a4f8d1;color:#062b17;box-shadow:0 0 13px #53ea9440}.activity-list{display:grid}.activity-row{display:flex;align-items:center;gap:15px;background:transparent;border:0;border-top:1px solid #6cb18224;padding:6px 0;min-height:46px;text-align:left;color:#f3faf4;font-size:13px;width:100%}.activity-symbol{border-radius:9px;width:29px;height:29px;display:grid;place-items:center;background:#08623ec9;color:#a9f7c4;flex-shrink:0}.activity-symbol .ui-icon{width:19px;height:19px;stroke-width:2}.activity-detail{display:grid;gap:1px;min-width:0;flex:1}.activity-detail strong{font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-detail small{font-size:11px;color:#bccfc2}.activity-row>strong{font-size:12px;font-weight:600;white-space:nowrap}.activity-row>.ui-icon{width:12px}.positive{color:#a3f2d0}
.goal-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.goal-tile{display:flex;align-items:flex-start;gap:15px;min-height:85px;padding:9px 8px;border:1px solid #81ae8655;border-radius:13px;background:linear-gradient(135deg,#254a32a3,#152f207a);color:#f2fbf3;text-align:left;min-width:0}.goal-symbol{width:38px;height:38px;border-radius:12px;background:linear-gradient(130deg,#3eae7877,#1d634896);display:grid;place-items:center;flex-shrink:0}.goal-symbol .ui-icon{width:23px;height:23px}.goal-content{min-width:0;display:grid;flex:1;gap:7px}.goal-content>strong{font-size:11px;font-weight:600;overflow-wrap:anywhere}.goal-content>span{font-size:11px;white-space:nowrap}.goal-progress{display:flex;gap:9px;align-items:center}.goal-progress progress{width:100%;min-width:0;height:8px;appearance:none;overflow:hidden;border:0;border-radius:5px;background:#3b614b}.goal-progress progress::-webkit-progress-bar{background:#365a45;border-radius:5px}.goal-progress progress::-webkit-progress-value{border-radius:5px;background:linear-gradient(90deg,#a9ffda,#90eec4)}.goal-progress progress::-moz-progress-bar{background:#9ef9cf}.goal-progress small{font-size:10px;flex-shrink:0}
.forest-dashboard .companion-column{margin-top:-186px;display:grid;gap:11px;min-width:0}.forest-dashboard .companion{position:relative;top:auto;grid-row:auto;background:radial-gradient(ellipse at 50% 28%,#06472d70,transparent 44%),linear-gradient(120deg,#002315e8,#002013d9);border:1px solid #7fcba24a;border-radius:21px;padding:16px 22px 8px}.forest-dashboard .companion-top{height:28px}.forest-dashboard .companion-top .eyebrow{font-size:10px;letter-spacing:1.6px;color:#95ecc4}.forest-dashboard .companion-top .eyebrow::before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;background:#71e8b5;margin-right:10px}.forest-dashboard #voice-settings{min-height:32px;font-size:25px;letter-spacing:2px;min-width:25px;padding:0}.companion-heading{font-size:21px!important;font-weight:600!important;letter-spacing:-.5px!important;margin:6px 0 26px!important;white-space:nowrap}.forest-dashboard .companion .avatar{height:164px;width:162px;margin:0 auto 20px;border:1px solid #8ccfaa7d;border-radius:34px;background:radial-gradient(circle,#26654780,transparent 70%);position:relative;overflow:visible}.forest-dashboard .avatar canvas{width:162px!important;height:160px!important}.forest-dashboard .avatar>.luma-diamond{width:98px;height:98px;margin-top:-7px}.forest-dashboard .companion-intro{text-align:left;margin-top:24px}.forest-dashboard .companion-intro h2{font-size:17px;font-weight:600;letter-spacing:-.3px}.forest-dashboard .companion-intro p{font-size:12px;line-height:1.65;color:#c6d5cc;margin:9px 0 17px}.forest-dashboard #companion-state{position:absolute;top:239px;left:0;right:0;text-align:center;padding:0;border:0;background:none;font-size:9px;letter-spacing:1.5px;text-transform:uppercase;color:#adcfbd;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:162px;margin:auto}.forest-dashboard .persona-controls{display:none}.forest-dashboard .conversation-toolbar{font-size:10px;color:#bdd3c4;padding-top:9px;margin-top:0;border-color:var(--line)}.forest-dashboard .messages{height:150px;padding-top:5px}.forest-dashboard .message{font-size:13px}.forest-dashboard .message-label{color:#a2e8c0}.forest-dashboard .suggestions{display:grid;gap:9px;margin:0 0 18px}.forest-dashboard .suggestions button{display:flex;justify-content:space-between;align-items:center;text-align:left;font-size:12px;min-height:41px;padding:8px 20px;border:1px solid #69b7887d;border-radius:25px;color:#f4fff6}.forest-dashboard .suggestions .ui-icon{width:13px;height:13px;order:2}.forest-dashboard .chat-form{display:flex;align-items:center;gap:0;padding:0 0 0 15px;border-radius:24px;background:linear-gradient(90deg,#26453280,#0f322473);border:1px solid #7caf887d;height:44px}.forest-dashboard .chat-form textarea{width:0;flex:1;min-width:0;padding:10px 0;font-size:12px;line-height:1.5;max-height:90px}.forest-dashboard .chat-actions{margin:0;gap:4px;flex-shrink:0}.forest-dashboard .mic-button,.forest-dashboard .send-button{min-width:39px;min-height:39px;border:0;display:grid;place-items:center;background:#001e1288;border-radius:50%;color:#f1fff5;padding:7px}.forest-dashboard .send-button{height:43px;width:44px;background:#1c4933aa;border:1px solid #98bd995c}.forest-dashboard .mic-button .ui-icon{width:16px;height:20px;fill:none}.forest-dashboard .companion-foot{text-align:right;font-size:10px;margin:5px 0 0;color:#c6d8ca}
.dashboard-insights{padding:14px 11px 11px!important;min-height:233px}.dashboard-insights .panel-heading{padding:0 6px;margin:0 0 10px}.dashboard-insights h2{display:flex;gap:12px;align-items:center;font-size:13px}.dashboard-insights h2>.ui-icon{width:21px;height:21px;filter:drop-shadow(0 0 5px #67ecb0)}.insight-count{background:#106e47;display:grid;place-items:center;width:21px;height:21px;border-radius:50%;font-size:11px}.insight-list{display:grid;gap:3px}.insight-row{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:10px 11px;border:0;background:linear-gradient(100deg,#21483180,#123c2666);border-radius:14px;color:#f1f9f1;text-align:left}.insight-row>.ui-icon:first-child{width:19px;height:19px;border-radius:50%;padding:3px;background:#fcce83;color:white}.insight-row:last-child>.ui-icon:first-child{background:#388f68}.insight-row>span{flex:1;min-width:0;display:grid;gap:3px}.insight-row strong{font-size:12px;font-weight:400}.insight-row small{font-size:10px;color:#c1d0c2}.insight-row>.ui-icon:last-child{width:12px;height:12px}.dashboard-empty{font-size:12px;color:#c2d2c6;line-height:1.7;margin:12px 0;grid-column:1/-1}.forest-dashboard #empty-state{grid-column:1/-1}.forest-dashboard .footer{color:#b5c8b9}.forest-dashboard .notice{background:#20432bc9;border-color:#93be9c55;color:#e4f0d9}.forest-dashboard .caption{color:#b9cbbc}.forest-dashboard select,.forest-dashboard input:not([type=checkbox]):not([type=range]),.forest-dashboard textarea{background:#082c1d;color:#f2faf1;border-color:#6e9b7d66}.forest-dashboard .primary{background:#a0f3ce;color:#062e1a}.forest-dashboard .source-card,.forest-dashboard .reconciliation,.forest-dashboard .account,.forest-dashboard .panel-foot,.forest-dashboard .detail-table th,.forest-dashboard .detail-table td{border-color:var(--line)}.forest-dashboard .file-drop,.forest-dashboard .import-preview{background:#0c3823;color:#d0ead7;border-color:#6ba980}.forest-dashboard .quiet{color:#c4dacd}.forest-dashboard dialog{color:#e4f5e9;background:#082819;border:1px solid #81c19a;max-height:calc(100dvh - 24px);overflow:auto}.forest-dashboard dialog::backdrop{background:#00170cb0;backdrop-filter:blur(5px)}.forest-dashboard .workspace-controls input{background:#0a3020;color:var(--ink)}.forest-dashboard .text-button:hover{color:#9effcc}.forest-dashboard .auth-gate{max-width:868px}.forest-dashboard .metric-label{overflow:hidden;text-overflow:ellipsis}.design-banner{position:fixed;left:50%;bottom:6px;translate:-50% 0;z-index:6;background:#082b1df2;border:1px solid #62987d;color:#d6f4e1;padding:4px 12px;border-radius:15px;display:flex;gap:16px;font-size:10px;white-space:nowrap}.design-banner a{color:#adffd6}.design-preview .companion{min-height:659px}.design-preview .companion-intro{margin-top:24px}.design-preview .companion-heading{margin-bottom:27px!important}.design-preview #companion-state{top:246px}.design-preview .balance-panel .line-chart svg{height:186px}.design-preview .side-note{margin-bottom:74px}
@media(min-width:1600px){.forest-dashboard .metric-label{padding-right:70px}.forest-dashboard .spending-layout{grid-template-columns:minmax(190px,.9fr) 1.1fr}.forest-dashboard .donut-wrap{width:210px}.forest-dashboard .spending-panel,.forest-dashboard .balance-panel{height:auto;min-height:306px}}
@media(max-width:1420px) and (min-width:1051px){.forest-dashboard .shell{grid-template-columns:220px minmax(0,1fr);gap:18px}.forest-dashboard .brand{font-size:22px;padding:0 2px}.forest-dashboard .brand svg{width:42px}.forest-dashboard .workspace-grid{grid-template-columns:minmax(0,1fr) 300px}.forest-dashboard .page-heading{width:calc(100% - 313px)}.forest-dashboard h1{font-size:35px}.forest-dashboard .page-heading>div>p:last-child{font-size:17px}.hero-character{opacity:.7;right:-10px!important}.forest-dashboard .metric{padding-left:52px!important}.metric-icon{width:32px;height:32px;left:9px}.metric-icon .ui-icon{width:21px}.forest-dashboard .metric-label{font-size:12px!important;padding-right:0}.metric-trend{top:auto;bottom:12px;right:8px;font-size:9px}.metric-spark{display:none}.forest-dashboard .metric>strong{font-size:23px!important}.forest-dashboard #overview-page{grid-template-columns:1fr}.forest-dashboard .spending-panel,.forest-dashboard .balance-panel{height:auto;min-height:300px}.forest-dashboard .spending-layout{grid-template-columns:200px 1fr}.forest-dashboard .donut-wrap{width:200px}.dashboard-lower{grid-template-columns:1fr}.quick-questions{gap:6px;margin-top:18px}.quick-questions .question-pill{font-size:10px;padding:7px 8px}.forest-dashboard .companion{padding:16px}.companion-heading{font-size:20px!important}}
@media(max-width:1050px){.forest-dashboard .shell{grid-template-columns:80px minmax(0,1fr);padding:12px;gap:16px}.forest-dashboard .sidebar{top:12px;height:calc(100dvh - 24px);min-height:0;padding:16px 8px;border-radius:20px}.forest-dashboard .brand{justify-content:center;padding:0}.forest-dashboard .brand svg{width:46px}.forest-dashboard .brand>span,.forest-dashboard .side-label,.forest-dashboard .side-note,.forest-dashboard .side-bottom,.forest-dashboard .dashboard-nav>span{display:none}.forest-dashboard .sidebar nav{margin-top:24px}.forest-dashboard .dashboard-nav{justify-content:center;min-height:48px;padding:10px;border-radius:14px;gap:0}.forest-dashboard .help-button{margin-top:auto;border:0;width:100%}.forest-dashboard #sign-out{justify-content:center;font-size:0;padding:14px 0}.forest-dashboard .workspace-grid{grid-template-columns:minmax(0,1fr) 290px}.forest-dashboard .page-heading{width:calc(100% - 303px);height:205px}.forest-dashboard .companion-column{margin-top:-205px}.forest-dashboard h1{font-size:30px}.forest-dashboard .page-heading>div>p:last-child{font-size:15px}.hero-character{display:none}.quick-questions{gap:6px;margin-top:13px}.quick-questions .question-pill{font-size:10px;padding:7px 10px}.forest-dashboard .metrics{grid-template-columns:1fr;gap:8px}.forest-dashboard .metric{height:92px;padding-left:70px!important}.forest-dashboard .metric-label{padding-right:70px}.metric-icon{top:18px}.forest-dashboard #overview-page{grid-template-columns:1fr}.forest-dashboard .spending-panel,.forest-dashboard .balance-panel{height:auto;min-height:295px}.forest-dashboard .spending-layout{grid-template-columns:1fr;gap:8px}.forest-dashboard .legend{grid-template-columns:1fr}.forest-dashboard .donut-wrap{width:190px}.dashboard-lower{grid-template-columns:1fr}.forest-dashboard .companion{padding:16px}.companion-heading{font-size:19px!important}.forest-dashboard .topbar-end{gap:8px}.forest-dashboard .topbar{padding:2px 0 9px}.top-search{height:44px}.top-search>input{font-size:12px;padding:10px 8px}.top-search>.ui-icon{display:none}.top-search{padding-left:4px}.forest-dashboard .header-account,.forest-dashboard .notification-button{display:none}.forest-dashboard #import-shortcut{padding:8px 12px}.forest-dashboard .companion-column{gap:12px}.forest-dashboard .goal-tile{gap:8px}.goal-symbol{width:30px;height:33px}}
@media(max-width:800px){.forest-dashboard .workspace-grid{grid-template-columns:1fr}.forest-dashboard .companion-column{margin-top:0;grid-row:auto;grid-template-columns:1fr;gap:14px}.forest-dashboard .finance-column{grid-row:auto}.forest-dashboard .page-heading{width:100%;height:190px}.hero-character{display:block;width:230px;right:0!important;top:-26px;opacity:.55;scale:.8;transform-origin:top right}.forest-dashboard .metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.forest-dashboard .metric{padding:12px!important;height:122px}.metric-icon{display:none}.forest-dashboard .metric-label{font-size:11px!important;padding:0;white-space:normal}.forest-dashboard .metric>strong{font-size:23px!important;margin-top:10px}.metric-trend{bottom:9px;right:12px;top:auto}.metric-spark{display:none}.forest-dashboard .spending-layout{grid-template-columns:190px minmax(0,1fr);gap:15px}.forest-dashboard .companion .avatar{height:164px}.forest-dashboard .companion-column{grid-template-columns:1.1fr 1fr}.forest-dashboard .companion-heading{white-space:normal}.forest-dashboard .companion .messages{height:190px}.forest-dashboard #companion-state{top:253px}.forest-dashboard .goal-content>span{font-size:10px}.forest-dashboard .topbar-end{gap:10px}.forest-dashboard .period-label{right:0;bottom:12px;min-width:140px}.forest-dashboard h1{font-size:34px}.forest-dashboard .page-heading>div>p:last-child{font-size:17px}.forest-dashboard .companion-card{border-radius:18px}.forest-dashboard .suggestions button{font-size:12px;min-height:44px}.design-preview .companion{min-height:0}.forest-dashboard .goal-tile{min-height:90px}}
@media(max-width:700px){.forest-dashboard .shell{display:block;padding:12px;max-width:700px}.forest-dashboard .sidebar{position:fixed;inset:68px 12px auto;z-index:10;height:auto;max-height:calc(100dvh - 84px);overflow:auto;width:auto;padding:16px;border:1px solid #9bd4b37d;background:#042719f5;backdrop-filter:blur(22px);display:none}.forest-dashboard .sidebar.is-open{display:flex}.forest-dashboard .sidebar .brand>span{display:block}.forest-dashboard .sidebar .brand{justify-content:flex-start}.forest-dashboard .sidebar .side-label{display:block;margin:18px 8px 8px}.forest-dashboard .sidebar nav{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;flex:none}.forest-dashboard .dashboard-nav{justify-content:flex-start;gap:10px;min-height:48px;padding:8px 10px;font-size:13px}.forest-dashboard .dashboard-nav>span{display:block}.forest-dashboard .side-bottom{display:flex;margin-top:16px}.forest-dashboard .help-button{width:100%;margin:0}.forest-dashboard #sign-out{font-size:14px;justify-content:flex-start;gap:10px}.mobile-menu{display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:50%;background:#0029158a;color:#dff9e6;padding:9px}.forest-dashboard .topbar{height:55px;gap:8px;align-items:center;padding:0 0 8px}.forest-dashboard .topbar-end{height:auto;gap:0;width:auto;flex:none}.forest-dashboard #import-shortcut{min-height:44px;min-width:44px;padding:11px;border-radius:50%}.forest-dashboard #import-shortcut>.ui-icon{width:20px;height:20px}.forest-dashboard #import-shortcut>span{display:none}.forest-dashboard #data-scope{display:none}.top-search{height:44px;padding-left:2px}.top-search>input{font-size:16px;padding:8px 10px}.top-search-mic{display:none!important}.top-search-send{width:42px!important;min-width:42px}.forest-dashboard .page-heading{padding:17px 3px 0;height:auto;min-height:202px;margin-bottom:12px}.forest-dashboard h1{font-size:31px;letter-spacing:-.8px}.greeting-date{font-size:12px;margin-bottom:7px}.forest-dashboard .page-heading>div>p:last-child{font-size:15px;max-width:260px;line-height:1.5;margin-top:6px}.hero-character{top:-8px;right:-6px!important;scale:.56;opacity:.7;transform-origin:top right}.hero-character>.handwritten{display:none}.quick-questions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:18px}.quick-questions .question-pill{font-size:11px;min-height:44px;padding:8px;line-height:1.35}.forest-dashboard .metrics{gap:7px;margin-bottom:12px;grid-template-columns:repeat(3,minmax(0,1fr))}.forest-dashboard .metric{min-height:115px;height:auto;padding:11px 8px 13px!important}.forest-dashboard .metric-label{font-size:11px!important;min-height:31px;color:#e7f4e8}.forest-dashboard .metric>strong{font-size:19px!important;margin:6px 0;white-space:normal;overflow-wrap:anywhere}.forest-dashboard .metric>small{font-size:9px!important;line-height:1.4}.metric-trend{display:none}.forest-dashboard #overview-page{gap:12px}.forest-dashboard .panel{padding:16px}.forest-dashboard .spending-panel,.forest-dashboard .balance-panel{height:auto;min-height:0}.forest-dashboard .panel-heading{flex-wrap:nowrap;align-items:center;margin-bottom:16px}.forest-dashboard h2{font-size:16px}.forest-dashboard .tag{font-size:11px;padding:7px 10px}.forest-dashboard .spending-layout{grid-template-columns:145px minmax(0,1fr);gap:10px}.forest-dashboard .donut-wrap{width:145px}.forest-dashboard .donut-center strong{font-size:20px}.forest-dashboard .legend{display:grid;grid-template-columns:1fr}.forest-dashboard .legend-row{grid-template-columns:10px minmax(0,1fr) auto;gap:6px;font-size:10px;min-height:44px;padding:8px 0}.forest-dashboard .legend-row strong{font-size:10px}.forest-dashboard .legend-row small{display:none}.forest-dashboard .swatch{width:9px;height:9px}.forest-dashboard .panel-foot{margin-top:9px}.forest-dashboard .text-button{font-size:12px;min-height:44px}.forest-dashboard .line-chart svg{height:auto!important;min-height:170px}.forest-dashboard .flow-facts{grid-template-columns:repeat(3,minmax(0,1fr));padding-top:12px}.forest-dashboard .flow-facts>div{padding-left:8px}.forest-dashboard .flow-facts span{font-size:9px}.forest-dashboard .flow-facts strong{font-size:12px}.dashboard-lower{gap:12px}.dashboard-lower>.panel{padding:12px 14px;min-height:0}.activity-tabs{gap:5px}.activity-tab{min-height:44px;flex:1;font-size:11px;padding:8px}.activity-row{min-height:57px;gap:10px}.activity-detail strong{font-size:12px}.activity-row>strong{font-size:12px}.goal-list{gap:8px}.goal-tile{gap:8px;padding:10px 8px;min-height:102px}.goal-symbol{width:30px;height:32px;border-radius:9px}.goal-symbol .ui-icon{width:20px;height:20px}.goal-content{gap:8px}.goal-content>strong{font-size:11px}.goal-content>span{font-size:10px;white-space:normal}.goal-progress{gap:6px}.goal-progress small{font-size:9px}.forest-dashboard .companion-column{grid-template-columns:1fr;gap:12px;margin-top:12px}.forest-dashboard .companion{padding:18px 20px 12px}.forest-dashboard .companion-heading{font-size:22px!important;margin-bottom:22px!important}.forest-dashboard .companion .avatar{margin-bottom:20px}.forest-dashboard #companion-state{top:254px}.forest-dashboard .companion-intro{margin-top:20px}.forest-dashboard .companion-intro p{font-size:14px}.forest-dashboard .chat-form{height:48px}.forest-dashboard .chat-form textarea{font-size:16px;background:transparent}.forest-dashboard .mic-button,.forest-dashboard .send-button{min-width:44px;min-height:44px;height:44px}.forest-dashboard .companion-foot{font-size:11px;margin-top:8px}.forest-dashboard .suggestions button{font-size:13px;min-height:48px}.forest-dashboard .messages{height:230px}.forest-dashboard .dashboard-insights{padding:16px!important}.insight-row{min-height:64px}.insight-row strong{font-size:13px}.insight-row small{font-size:11px}.forest-dashboard .footer{margin-top:20px;font-size:10px}.design-banner{font-size:9px;gap:9px;max-width:calc(100% - 12px);white-space:normal;text-align:center}.forest-dashboard .persona-controls button{min-height:44px}.forest-dashboard .auth-gate{padding:20px}.forest-dashboard .account{gap:10px}.forest-dashboard .period-label{position:relative;display:flex;align-items:center;gap:10px;bottom:auto;right:auto;margin:10px 0 0}.forest-dashboard .period-label select{font-size:16px}.forest-dashboard .source-card{background:#0c3020}.forest-dashboard #voice-dialog{padding:20px}}
@media(max-width:360px){.forest-dashboard .shell{padding:10px}.forest-dashboard h1{font-size:28px}.forest-dashboard .page-heading>div>p:last-child{font-size:14px}.forest-dashboard .metric>strong{font-size:17px!important}.forest-dashboard .spending-layout{grid-template-columns:1fr}.forest-dashboard .donut-wrap{width:180px}.forest-dashboard .legend-row{font-size:12px;grid-template-columns:14px 1fr auto auto;min-height:44px}.forest-dashboard .legend-row small{display:block}.forest-dashboard .legend-row strong{font-size:12px}.forest-dashboard .swatch{width:12px;height:12px}.forest-dashboard .panel{padding:14px}.forest-dashboard .tag{font-size:10px;padding:6px 8px}.goal-symbol{display:none}.goal-content>span{font-size:11px}.forest-dashboard .sidebar nav{grid-template-columns:1fr}.hero-character{opacity:.35}.forest-dashboard .companion-heading{font-size:20px!important}.forest-dashboard .activity-row{gap:8px}.activity-symbol{width:26px;height:26px}.activity-row>strong{font-size:11px}.activity-detail strong{font-size:11px}}
@media(prefers-reduced-motion:reduce){.luma-diamond,.hero-orbits{animation:none!important}.character-layer video{display:none}}
.luma-eye.left{left:30%;top:61%}.luma-eye.right{left:62%;top:29%}.luma-smile{left:59%;top:65%}
.character-layer video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;border-radius:inherit;pointer-events:none}
.forest-dashboard .period-label{display:none}
.mapping-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.mapping-fields label{display:grid;gap:6px;font-size:13px;min-width:0}.mapping-fields select{width:100%;min-height:44px;font-size:14px}.import-mapping{margin-top:18px;padding:14px;border:1px solid var(--line);border-radius:12px}.import-mapping summary{cursor:pointer;min-height:32px}.import-mapping>button{min-height:44px}
@media(min-width:1051px){.forest-dashboard .metrics{grid-template-columns:1.13fr 1.03fr 1fr}.forest-dashboard .donut-wrap{width:200px;translate:-7px 0}}
@media(max-width:600px){.mapping-fields{grid-template-columns:1fr}.mapping-fields select{font-size:16px}}
.forest-dashboard{overflow-x:clip}.forest-dashboard label{color:#c7decf}.forest-dashboard .dialog-heading h2{font-size:20px;line-height:1.3}.forest-dashboard .format-help,.forest-dashboard .format-help summary{color:#bcd5c5}
#voice-dialog{min-width:0;width:min(540px,calc(100dvw - 24px));max-width:calc(100dvw - 24px)}
.background-layer{z-index:0}.forest-dashboard .shell{position:relative;z-index:1}
.hero-character .luma-canvas,.hero-character video{display:block;position:absolute;inset:0;width:324px;height:221px;max-width:100%;object-fit:contain}.hero-character video[hidden],.hero-character canvas[hidden]{display:none}
.forest-dashboard>.luma-canvas{position:fixed;inset:0;z-index:4;width:100vw;height:100dvh;pointer-events:none}.forest-dashboard>.luma-canvas[hidden]{display:none}
.forest-dashboard>.luma-move-handle{position:fixed;z-index:5;background:transparent;border:0;border-radius:50%;padding:0;min-width:44px;min-height:44px;cursor:grab;touch-action:none;user-select:none;box-shadow:none}.forest-dashboard>.luma-move-handle[hidden]{display:none}.forest-dashboard>.luma-move-handle.is-dragging{cursor:grabbing}.forest-dashboard>.luma-move-handle:focus-visible{outline:2px solid #d4ffe5;outline-offset:4px}
.forest-dashboard .companion .avatar{width:100%;height:105px;border:0;border-radius:0;background:radial-gradient(ellipse,#1c754039,transparent 70%);margin-bottom:12px}
.forest-dashboard .avatar canvas{display:block;width:240px!important;height:105px!important;max-width:100%;margin:0 auto}
.forest-dashboard #companion-state{position:static;display:block;max-width:none;margin:9px 0 15px;font-size:9px}.forest-dashboard .companion-intro{margin-top:12px}
@media(max-width:1050px){.forest-dashboard .page-heading{width:100%;height:auto;min-height:225px}.hero-character{display:block;width:324px;right:0!important;top:-12px;opacity:1;scale:.85;transform-origin:top right}.forest-dashboard .page-heading>div:first-child{max-width:calc(100% - 240px)}.quick-questions{max-width:calc(100% - 240px)}.forest-dashboard .companion-column{margin-top:0}}
@media(max-width:800px){.forest-dashboard .page-heading{min-height:0;padding-top:17px}.forest-dashboard .page-heading>div:first-child{max-width:100%}.hero-character{position:relative!important;top:auto;right:auto!important;width:324px;height:170px;margin:0 auto;scale:1;opacity:1;max-width:100%}.hero-character .luma-canvas{height:170px;object-fit:contain}.hero-character>.handwritten{right:0;top:15px;font-size:15px}.quick-questions{max-width:none;margin-top:10px}.forest-dashboard .companion-column{margin-top:12px}}
@media(max-width:700px){.hero-character>.handwritten{display:none}.forest-dashboard .companion .avatar{height:105px}.forest-dashboard #companion-state{position:static;top:auto}}
@media(max-width:700px){.forest-dashboard .page-heading{overflow:visible}.forest-dashboard .hero-character{max-width:100%;overflow:visible}.forest-dashboard dialog{max-width:calc(100dvw - 24px)}}

/* Reserve the open header area for Luma; chart emphasis does not fade its text. */
@media(min-width:1051px){.forest-dashboard .page-heading>div:first-child{max-width:calc(100% - 360px)}}
.forest-dashboard .panel.luma-chart-focus{background:linear-gradient(130deg,rgba(24,66,43,.98),rgba(3,36,22,.97));border-color:#a1f6d1;outline:2px solid #8cf3c4;outline-offset:-2px;box-shadow:0 0 0 4px #6ef2b526,0 16px 45px #00150faa;scroll-margin-top:24px}
.forest-dashboard .panel.luma-chart-focus{background:linear-gradient(130deg,rgba(39,88,62,.98),rgba(12,53,34,.97));animation:luma-chart-activate .6s ease-out}
.forest-dashboard .panel.luma-chart-release{animation:luma-chart-deactivate .6s ease-out}
@keyframes luma-chart-activate{0%{transform:scale(1);filter:brightness(1)}25%{transform:rotate(-.3deg) scale(1.008);filter:brightness(1.08)}55%{transform:rotate(.25deg) scale(1.004)}80%{transform:rotate(-.1deg)}100%{transform:none;filter:brightness(1)}}
@keyframes luma-chart-deactivate{0%{transform:scale(1.004);filter:brightness(1.12)}28%{transform:rotate(.25deg)}60%{transform:rotate(-.2deg);filter:brightness(1.04)}100%{transform:none;filter:brightness(1)}}
@media(prefers-reduced-motion:reduce){.forest-dashboard .panel.luma-chart-focus,.forest-dashboard .panel.luma-chart-release{animation:none}}
.companion-commands{margin-top:12px;font-size:13px}.companion-commands summary{cursor:pointer;padding:12px 0}.command-examples{display:flex;flex-wrap:wrap;gap:8px}.command-examples button{min-height:44px;text-align:left;white-space:normal}
#companion-choose-document{margin:12px 0;min-height:44px}
.analysis-log-controls{margin-top:20px}.analysis-log-controls label{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}.analysis-log-controls select{max-width:100%;min-width:0}#analysis-log-shortcut{margin:8px 0;max-width:100%;min-height:44px;white-space:normal}
#download-analysis-log{min-height:44px;max-width:100%;white-space:normal}
@media(max-width:600px){#import-form{grid-template-columns:minmax(0,1fr)}#import-form>label{min-width:0}#import-form input,#import-form select{min-width:0;max-width:100%}}

.footer{flex-wrap:wrap}.footer .privacy-link{display:inline-flex;align-items:center;min-height:44px;font-size:12px;color:inherit;text-underline-offset:3px}
.panel.companion-expanded{grid-column:1/-1;min-width:0}
.panel.companion-expanded canvas{height:320px}
.panel.companion-compact{max-width:560px;min-width:0}
.panel.companion-compact canvas{height:160px}
.panel[hidden]{display:none!important}
@media(max-width:600px){.panel.companion-expanded,.panel.companion-compact{width:100%;max-width:100%}.panel.companion-expanded canvas{height:240px}}

.forest-dashboard .panel.companion-expanded{height:auto;min-height:360px}
.forest-dashboard .panel.companion-expanded .spending-layout{grid-template-columns:minmax(190px,320px) minmax(0,1fr)}
.forest-dashboard .panel.companion-expanded .donut-wrap{width:100%;max-width:320px}
.forest-dashboard .panel.companion-expanded .line-chart svg{height:280px}
.forest-dashboard .panel.companion-compact{height:auto;min-height:220px}
.forest-dashboard .panel.companion-compact .donut-wrap{width:150px;max-width:100%}
.forest-dashboard .panel.companion-compact .spending-layout{grid-template-columns:150px minmax(0,1fr)}
.forest-dashboard .panel.companion-compact .line-chart svg{height:130px}
@media(max-width:600px){.forest-dashboard .panel.companion-expanded .spending-layout,.forest-dashboard .panel.companion-compact .spending-layout{grid-template-columns:minmax(0,1fr)}.forest-dashboard .panel.companion-expanded .donut-wrap{max-width:240px;margin:auto}.forest-dashboard .panel.companion-compact .donut-wrap{margin:auto}}

.classification-editor{display:grid;gap:14px}.classification-editor label:not(.checkbox-row){display:grid;gap:6px}.classification-editor input:not([type=checkbox]),.classification-editor select{min-width:0;width:100%;min-height:44px}.classification-editor .checkbox-row{display:flex;align-items:center;gap:10px}.classification-editor input[type=checkbox]{width:20px;height:20px;flex:none}.classification-editor button{min-height:44px}.detail-table td>span{display:block}.detail-table td .text-button{min-height:44px}
.scope-choices{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.scope-choices button{min-height:44px;max-width:100%;white-space:normal;text-align:left}

/* Let wrapped heading controls remain above the Sources navigation. */
@media(min-width:1051px){.forest-dashboard .page-heading{height:auto;padding-bottom:18px}}
