/* Workspace presentation. The planning engine and account flows stay in app.js. */
:root{--dash-line:rgba(213,231,202,.12);--dash-muted:#9ca89d}
html{scroll-padding-top:95px}
body{background:#090c09;color:#f5f7ef}
.topbar{height:74px;padding:0 24px;border-bottom:1px solid var(--dash-line);background:rgba(8,11,8,.95)}
.brand{font-size:22px}.brandmark{width:39px;height:39px;border-color:rgba(248,230,32,.5);border-radius:12px;background:rgba(248,230,32,.07)}
.top-context{display:flex;align-items:center;gap:10px;margin-left:21px;color:#aab3a5;font-size:10px;font-weight:800;letter-spacing:.13em;white-space:nowrap}
.top-dot{width:6px;height:6px;border-radius:50%;background:var(--volt);box-shadow:0 0 10px var(--volt)}.top-separator{color:#515b50}#top-business{max-width:230px;overflow:hidden;text-overflow:ellipsis;color:#e5e9df}
.account{gap:18px}.site-return{color:#a8b3a8;font-size:11px;font-weight:700}.site-return:hover{color:var(--volt)}
.profile-wrap{position:relative}.profile-toggle{display:flex;align-items:center;gap:10px;min-width:171px;padding:6px 9px 6px 6px;border:1px solid var(--dash-line);border-radius:13px;background:#171d17;color:var(--text);text-align:left;transition:border-color .2s,background .2s}
.profile-toggle:hover,.profile-toggle[aria-expanded="true"]{border-color:rgba(248,230,32,.48);background:#20291e}.profile-avatar{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:10px;background:var(--volt);color:#15170a;font-size:16px;font-weight:850}.profile-copy{display:flex;flex-direction:column;min-width:0}.profile-copy b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.profile-copy small{color:#9da998;font-size:10px}.profile-chevron{margin-left:auto;color:var(--volt)}
.profile-menu{position:absolute;top:calc(100% + 10px);right:0;z-index:30;display:flex;flex-direction:column;gap:10px;width:240px;padding:17px;border:1px solid rgba(248,230,32,.3);border-radius:15px;background:#192019;box-shadow:0 25px 70px #000a}.profile-menu[hidden]{display:none}.profile-menu>span{color:var(--volt);font-size:10px;font-weight:850;letter-spacing:.12em}.profile-menu strong{overflow-wrap:anywhere;font-size:12px}.profile-menu a,.profile-menu button{padding:8px 0;border:0;border-top:1px solid var(--dash-line);background:none;color:#d9e2d8;text-align:left;font-size:12px;font-weight:700}.profile-menu a:hover,.profile-menu button:hover{color:var(--volt)}
.app-view{grid-template-columns:238px minmax(0,1fr);min-height:calc(100vh - 74px)}
.sidebar{position:sticky;top:74px;align-self:start;display:flex;flex-direction:column;min-height:calc(100vh - 74px);max-height:calc(100vh - 74px);overflow:auto;padding:23px 12px 17px;border-right:1px solid var(--dash-line);background:linear-gradient(180deg,#101510,#0d110e)}
.side-nav{display:flex;flex-direction:column;gap:5px;padding-bottom:25px;border-bottom:1px solid var(--dash-line)}.side-nav-item{display:flex;align-items:center;gap:12px;min-height:40px;padding:7px 12px;border:1px solid transparent;border-radius:11px;color:#9daa9e;font-size:12px;font-weight:700;transition:background .2s,color .2s,border-color .2s}.side-nav-item:hover{background:#202920;color:#f3f6ee}.side-nav-item.active{border-color:rgba(248,230,32,.23);background:rgba(248,230,32,.1);color:var(--volt)}.side-nav-icon{display:grid;place-items:center;width:19px;height:19px;color:inherit;font-size:19px;line-height:1}
.side-section-caption{margin:25px 12px 7px;color:#738272;font-size:9px;font-weight:850;letter-spacing:.15em}.side-head{padding:0 12px}.side-head h2{margin:0 0 8px;font-size:14px;letter-spacing:-.02em}.business-list,.plan-list{gap:3px}.business-item,.plan-item{padding:10px 12px;border-radius:10px;font-size:11px}.business-item.selected,.plan-item.selected{border-color:rgba(248,230,32,.24);background:#242b1e}.business-item:before{margin-right:7px}.plan-item strong{font-size:11px}.plan-item small{font-size:10px}.add-business{margin:10px 10px 0}.add-business label{font-size:10px}.add-business input{background:#101611}.side-divider{margin:20px 10px 0;background:var(--dash-line)}.subscription-box{margin:auto 5px 0;padding:14px;border-color:rgba(248,230,32,.2);background:linear-gradient(150deg,rgba(248,230,32,.1),rgba(255,255,255,.015))}.subscription-box strong{font-size:19px}.subscription-box small{font-size:10px}
.main-area{max-width:1700px;padding:34px clamp(24px,3vw,54px) 70px;background:radial-gradient(750px 400px at 48% 1%,rgba(131,154,92,.08),transparent 70%)}
.workspace-head{position:relative;align-items:center;margin-bottom:19px}.workspace-head .eyebrow{color:#9ca999;font-size:10px}.workspace-head h1{margin:9px 0 5px;font-size:clamp(33px,3.5vw,53px);font-weight:680;letter-spacing:-.058em}.workspace-head p:last-child{color:#a7b2a7;font-size:12px}.head-actions{align-self:end}.head-actions .button{min-height:37px;padding:8px 12px;border-color:var(--dash-line);border-radius:9px;background:#1c231c;font-size:11px}.head-actions .button:first-child{border-color:rgba(248,230,32,.3);color:var(--volt)}
.plan-banner{width:max-content;max-width:100%;min-height:54px;gap:11px;margin:0 0 17px;padding:8px 13px;border-color:rgba(248,230,32,.25);border-radius:12px;background:#1a1e14}.plan-banner-icon{width:31px;height:31px;border-radius:9px;font-size:17px}.plan-banner>div{display:grid;grid-template-columns:auto auto;gap:0 8px;align-items:baseline}.plan-banner>div>span{font-size:9px;grid-column:1}.plan-banner strong{font-size:14px;grid-column:1}.plan-banner small{font-size:10px;grid-column:2}.plan-banner>a{margin-left:12px;font-size:10px}
.model-stage{min-height:445px;margin:0;padding:27px clamp(23px,2.6vw,40px) 24px;border-color:rgba(202,222,188,.14);border-radius:22px;background:radial-gradient(520px 310px at 51% 65%,rgba(248,230,32,.105),transparent 70%),linear-gradient(140deg,#182018,#0c120e 80%);box-shadow:0 28px 80px #0007,inset 0 1px #ffffff12}.model-stage:before{opacity:.13}.stage-heading h2{margin:6px 0 4px;font-size:clamp(26px,2.45vw,34px)}.stage-heading p:last-child{font-size:11px}.stage-heading>span{border-color:rgba(248,230,32,.16);font-size:9px}.stage-grid{grid-template-columns:minmax(195px,.92fr) minmax(260px,1.25fr) minmax(200px,.95fr);gap:clamp(16px,2vw,35px);margin-top:14px;align-items:center}.input-tray{gap:10px}.source-card{min-height:75px;padding:12px;border-color:rgba(218,236,204,.15);border-radius:13px;background:linear-gradient(120deg,#222b21,#19201a)}.source-card:hover{border-color:rgba(248,230,32,.5)}.source-card b{font-size:12px}.source-card small{font-size:10px}.input-tray>p{text-align:left;padding-left:12px}.warp{max-width:306px}.warp-mark{border-radius:16px}.stage-output{min-height:223px;border-color:rgba(205,226,198,.14);background:linear-gradient(145deg,#202a20,#172018)}.stage-output strong{font-size:clamp(18px,1.55vw,23px)}
.dashboard-readout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0 26px}.dashboard-readout>div{display:flex;flex-direction:column;min-width:0;min-height:106px;padding:16px 20px;border:1px solid var(--dash-line);border-radius:15px;background:linear-gradient(135deg,#171e18,#111711)}.dashboard-readout span{color:#849382;font-size:9px;font-weight:850;letter-spacing:.12em}.dashboard-readout strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:6px 0 1px;font-size:25px;letter-spacing:-.05em;line-height:1.05}.dashboard-readout small{color:#8e9c8e;font-size:10px}.dashboard-readout>div:first-child strong{color:var(--volt)}
.planner-grid{margin-top:0}.form-card,.result-card{border-color:var(--dash-line);border-radius:18px;background:linear-gradient(145deg,#182019,#111711)}.form-card-head h2{font-size:25px}.form-card-head .eyebrow{font-size:10px}.result-card{top:91px}
@media(max-width:1180px){.app-view{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding-inline:9px}.stage-grid{grid-template-columns:minmax(170px,1fr) minmax(210px,1fr);gap:12px}.stage-output{grid-column:1/-1;min-height:132px}.model-stage{min-height:0}.plan-banner small{display:none}}
@media(max-width:760px){.topbar{height:63px;padding-inline:16px}.top-context,.site-return{display:none}.profile-toggle{min-width:0;padding:4px}.profile-copy,.profile-chevron{display:none}.profile-avatar{width:33px;height:33px}.app-view{display:block}.sidebar{position:static;min-height:0;max-height:none;padding:9px 16px;border-right:0;border-bottom:1px solid var(--dash-line)}.side-nav{flex-direction:row;gap:5px;overflow-x:auto;padding:0 0 9px;border:0}.side-nav-item{flex:none;min-height:34px;padding:6px 8px;font-size:10px}.side-nav-icon{font-size:15px;width:15px}.sidebar>.side-section-caption,.sidebar>.side-head,.sidebar>.side-divider,.sidebar>.business-list,.sidebar>.plan-list,.sidebar>.add-business,.sidebar>.subscription-box{display:none}.main-area{padding:24px 16px 50px}.workspace-head{align-items:flex-start}.head-actions{align-self:flex-start}.plan-banner{width:100%}.model-stage{padding:22px}.stage-grid{grid-template-columns:1fr;gap:10px}.input-tray{grid-template-columns:1fr 1fr}.input-tray>p{text-align:center;padding:0}.warp{max-width:244px}.stage-output{grid-column:1}.dashboard-readout{grid-template-columns:1fr 1fr}.dashboard-readout>div:last-child{grid-column:1/-1}}
@media(max-width:760px){.sidebar>.side-section-caption{display:block;margin:11px 3px 7px}.sidebar>.business-list,.sidebar>.plan-list{display:flex;flex-direction:row;overflow-x:auto}.sidebar>.business-list .business-item,.sidebar>.plan-list .plan-item{width:auto;min-width:135px;flex:none}.sidebar>.add-business{display:block;max-width:300px;margin:8px 0}.sidebar>.side-head,.sidebar>.side-divider,.sidebar>.subscription-box{display:none}}
@media(max-width:480px){.brand{font-size:19px}.brandmark{width:33px;height:33px}.workspace-head h1{font-size:35px}.dashboard-readout{grid-template-columns:1fr}.dashboard-readout>div:last-child{grid-column:auto}.plan-banner>div{display:flex;flex-direction:column}.plan-banner>a{margin-left:auto}.source-card{min-height:73px}.stage-heading h2{font-size:28px}.stage-output{display:flex}.output-symbol{margin:12px 0 8px}}
@media print{.topbar,.sidebar,.dashboard-readout,.model-stage,.plan-banner{display:none!important}}
