:root{--paper:#f4f7fa;--paper-strong:#fff;--ink:#18283b;--line:#e1e7ee;--teal:#167d8d;--teal-soft:#e7f3f4}
*{box-sizing:border-box}body{margin:0;background:#f4f7fa;color:#18283b;font-family:Inter,'Segoe UI',sans-serif;font-size:14px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #27a1b6;outline-offset:3px}[hidden]{display:none!important}
.studio{min-height:100vh}.studio-rail{position:fixed;inset:0 auto 0 0;width:238px;background:#112538;color:#bdccd8;padding:30px 18px;z-index:10;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;color:white;text-decoration:none;font-size:21px;font-weight:700;padding:0 10px 45px}.brand-mark{font-size:38px;color:#72d3d3}.brand-light{font-weight:400}.brand small{display:block;font-size:9px;letter-spacing:2.5px;color:#81a1b8;margin-top:5px}.rail-label{font-size:9px;letter-spacing:1.8px;color:#7b96ab;margin:0 13px 14px}.studio-rail>button{display:flex;gap:12px;align-items:center;text-align:left;padding:15px 12px;border:0;border-radius:7px;background:transparent;color:#b7c8d7;margin-bottom:7px;font-size:13px}.studio-rail>button span{font-size:11px;color:#7b96ab}.studio-rail>button.active{background:#213c4e;color:#fff;box-shadow:inset 3px 0 #61c4c7}.rail-bottom{margin-top:auto;padding:25px 10px 0;border-top:1px solid #2a3e50;font-size:12px}.rail-bottom p{font-size:10px;margin:12px 0 20px;color:#8ba4b7}.rail-bottom small{line-height:1.8;color:#8ba4b7;font-size:10px}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#65d0ac;margin-right:7px}.studio-main{margin-left:238px}.studio-topbar{height:76px;padding:0 36px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dfe6ed;background:#fff;gap:16px}.breadcrumb{color:#8090a0;font-size:12px}.studio-topbar strong{font-size:13px;font-weight:600}.top-actions{display:flex;gap:8px}.top-actions button{border:1px solid #d9e2e9;background:#fff;border-radius:6px;padding:9px 13px;font-size:12px;color:#32465a}.top-actions button:first-child{color:#146d7e}.setup-page{max-width:1120px;margin:0 auto;padding:54px 56px 36px}.eyebrow{font-size:10px;letter-spacing:2.5px;font-weight:700;color:#168193;margin-bottom:16px}.setup-page h1{font-size:40px;line-height:1.17;letter-spacing:-1.5px;font-weight:650;color:#172a3e;margin:0 0 19px}.setup-intro{color:#728193;line-height:1.8;font-size:14px;margin:0 0 34px}.setup-meta{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;margin-bottom:34px}.setup-meta label,.coordinate-fields label,.footprint-card label{display:flex;flex-direction:column;gap:9px;font-size:11px;font-weight:600;color:#566b7e}.setup-meta input,.setup-meta select,.coordinate-fields input,.coordinate-fields select,.footprint-card input{background:#fff;border:1px solid #d9e2eb;border-radius:6px;padding:12px 13px;width:100%;color:#253d51;font-size:13px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:12px}.section-heading h2{font-size:15px;font-weight:650;margin:0}.section-heading>span{font-family:monospace;color:#8495a5;font-size:9px;letter-spacing:1px}.source-options{display:grid;grid-template-columns:1fr 1fr;gap:16px}.source-card{position:relative;text-align:left;background:#fff;border:1px solid #dce4ec;padding:24px;border-radius:9px;color:#253a4e;transition:border-color .15s,box-shadow .15s}.source-card:hover{border-color:#73aeb8}.source-card.selected{border:1.5px solid #168497;background:#f8fcfd;box-shadow:0 0 0 2px #1684970a}.source-icon{font-size:26px;color:#237f90;background:#e7f2f4;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:9px;margin-bottom:19px}.selection-dot{position:absolute;right:20px;top:22px;width:15px;height:15px;border:1px solid #c7d5df;border-radius:50%}.selected .selection-dot{border:4px solid #208a9b;background:white}.source-card h3{font-size:16px;font-weight:650;margin:0 0 10px}.source-card p{font-size:12px;color:#738395;line-height:1.8;margin:0 0 21px;max-width:340px}.source-card small{font-size:9px;letter-spacing:1.3px;color:#6c8797;font-weight:600}.source-content{background:#fff;border:1px solid #e0e7ee;border-radius:9px;padding:25px;margin-top:20px}.source-content h3{font-size:14px;font-weight:600;margin:0 0 7px}.source-content p{font-size:12px;line-height:1.7;color:#758595}.upload-zone{margin-top:20px;background:#fbfcfe;border:1px dashed #b7cbd7;border-radius:7px;display:flex;align-items:center;flex-direction:column;gap:10px;padding:23px;cursor:pointer;position:relative}.upload-zone:hover{background:#f0f8fa}.upload-icon{font-size:25px;color:#258b9a}.upload-zone strong{font-size:13px;font-weight:600}.upload-zone>span:last-of-type{font-size:11px;color:#8696a4}.upload-zone input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.upload-zone:focus-within{outline:3px solid #27a1b6}.text-action{color:#167d8d;background:none;border:0;font-size:12px;padding:16px 0 12px;font-weight:600}.local-note{display:block;color:#8a98a5;font-size:10px}.workflow-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:30px 0}.workflow-strip>div{display:flex;gap:12px;align-items:center}.workflow-strip b{font:12px monospace;border:1px solid #d4dfe7;width:27px;height:27px;border-radius:50%;display:grid;place-items:center;color:#738b9c}.workflow-strip span{font-size:11px;font-weight:600;color:#536b7c}.workflow-strip small{display:block;font-weight:400;font-size:10px;margin-top:4px;color:#8d9ba7}.primary-action{border:0;border-radius:6px;background:#167d8d;color:#fff;padding:12px 18px;font-size:12px;font-weight:600}.coordinate-fields{display:grid;grid-template-columns:1fr 1fr .8fr;gap:12px;margin-bottom:18px}.source-note{max-width:650px}.search-status{padding:10px;background:#f2f7fa;border-radius:5px}.building-results{display:grid;grid-template-columns:1fr 260px;gap:20px}.building-list{max-height:330px;overflow:auto}.building-list button{display:block;width:100%;text-align:left;padding:14px;border:1px solid #dfe7ec;border-radius:6px;background:#fff;margin-bottom:7px}.building-list button[aria-pressed=true]{border-color:#188397;background:#edf8f8}.building-list strong{display:block;font-size:12px}.building-list span{display:block;font-size:10px;color:#738898;margin-top:6px}.footprint-card svg{height:160px;width:100%;background:#f5f9fb;border-radius:6px;margin-bottom:10px}.footprint-card small{display:block;font-size:10px;color:#748491;line-height:1.6;margin:10px 0}.footprint-card button{width:100%}.attribution{display:inline-block;font-size:10px;color:#658395;margin-top:16px}.error-banner{padding:15px 30px;background:#fff0eb;color:#963e2c}.workspace-attribution{font-size:11px;padding:16px 25px;color:#708596}
/* Shared editor and solver visual language. */
.glass-panel,.hero-panel,.surface-card{background:#fff;border:1px solid #dde5ed;box-shadow:0 2px 4px #18344703;backdrop-filter:none;border-radius:9px!important}.metric-card{background:#f6f9fb;border-color:#e5ebf0;border-radius:6px}.soft-button{border-radius:6px!important;box-shadow:none!important;font-size:12px}.soft-button:hover{transform:none;background-color:#e9f1f5}.soft-button.bg-slate-950:hover{background:#22495b}.rf-workspace h1,.plan-workspace h1{font-size:22px!important;letter-spacing:-.4px}.rf-workspace h2,.plan-workspace h2{font-size:16px!important}.rf-workspace p,.plan-workspace p{font-size:12px!important;line-height:1.7!important}.rf-workspace [class*="rounded-["],.plan-workspace [class*="rounded-["]{border-radius:9px}.rf-workspace input,.rf-workspace select,.plan-workspace input,.plan-workspace select{border-radius:5px!important}.rf-workspace .metric-card:first-child{max-width:520px}.plan-workspace .hero-panel{padding:20px!important}.plan-workspace .badge-row{display:none}.plan-workspace .hero-panel h1{margin-top:0}.plan-workspace .hero-panel .surface-card{background:#f7fafc}.plan-workspace .hero-panel>div{gap:20px}.plan-workspace .min-h-screen{min-height:0}.plan-workspace .hero-panel .primary-action{margin-top:15px}.rf-workspace>div>div>section:first-child>div:first-child{align-items:center}.rf-workspace .preview-shell{min-height:440px}.rf-workspace [class*="lg:grid-cols-[minmax(0,1fr)_320px]"]{grid-template-columns:minmax(0,1fr)}
.radio-settings{background:#f0f7f9;border:1px solid #d3e5eb;border-radius:7px;padding:14px;display:grid;gap:12px}.radio-settings h3{font-size:13px;font-weight:650}.radio-settings p{color:#526e80;font-size:11px!important}
@media(min-width:1000px){.rf-workspace>div>div>div.grid{grid-template-columns:310px minmax(0,1fr)}.rf-workspace>div>div>div.grid>section:first-child{position:sticky;top:16px;max-height:calc(100vh - 32px);overflow-y:auto;padding:12px}.rf-workspace>div>div>section:first-child>div:first-child{flex-direction:column;align-items:stretch}.rf-workspace>div>div>section:first-child>div:first-child>div:last-child{display:flex;flex-wrap:wrap}.rf-workspace .preview-shell{min-height:380px;height:48vh}.rf-workspace .metric-card{padding:10px}.rf-workspace>div>div>section:first-child>div:first-child>div:first-child>div:first-child{display:none}.rf-workspace>div>div>section:first-child>div:first-child>div:first-child{display:flex;align-items:center;gap:20px}.rf-workspace>div>div>section:first-child>div:first-child h1{margin:0}}
@media(max-width:1100px){.studio-rail{width:200px}.studio-main{margin-left:200px}.setup-page{padding:35px 28px}.studio-topbar{padding:0 25px}.setup-page h1{font-size:34px}.brand{font-size:18px;padding-left:0}.studio-rail>button{font-size:11px}.building-results{grid-template-columns:1fr 200px}}
@media(max-width:760px){.studio-rail{position:static;width:100%;padding:16px;display:flex;flex-direction:row;flex-wrap:wrap;gap:5px}.brand{width:100%;padding:0 0 12px;font-size:19px}.brand-mark{font-size:28px}.brand small,.rail-label,.rail-bottom{display:none}.studio-rail>button{padding:9px 6px;flex:1;gap:5px;font-size:10px;margin:0}.studio-main{margin-left:0}.studio-topbar{height:auto;min-height:68px;padding:14px 18px;flex-wrap:wrap}.setup-page{padding:30px 19px}.setup-page h1{font-size:30px}.setup-meta,.source-options{grid-template-columns:1fr}.source-card{padding:20px}.source-icon{margin-bottom:12px}.source-card p{margin-bottom:14px}.source-content{padding:18px}.workflow-strip{grid-template-columns:1fr;gap:15px;padding:23px 0}.coordinate-fields{grid-template-columns:1fr 1fr}.coordinate-fields label:last-child{grid-column:1/-1}.building-results{grid-template-columns:1fr}.desktop-break{display:none}.footprint-card svg{height:200px}.section-heading>span{font-size:8px}.upload-zone>span:last-of-type{text-align:center;line-height:1.6}}

/* Compact engineering workspace: controls on demand, warnings always visible. */
.rf-workspace .workspace-panel{border:1px solid #dfe6ed;border-radius:10px;background:#fff;min-width:0;color:#18283b}
.rf-workspace .panel-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;border:0;background:transparent;padding:12px 14px;text-align:left;font-weight:600;font-size:13px;color:#21394d;border-radius:10px}
.rf-workspace .panel-toggle:hover{background:#f1f6f8}.rf-workspace .panel-toggle>span:last-child{font-size:18px;color:#63808d}
.rf-workspace .panel-content{padding:4px 14px 14px;min-width:0}.rf-workspace .panel-content .stress-panel{border:0;padding:0;box-shadow:none}
.rf-workspace .workspace-toolbar{display:flex!important;flex-wrap:wrap;align-items:center;gap:6px!important;width:100%;padding-top:10px;border-top:1px solid #e1e7ee}
.rf-workspace .workspace-toolbar button{padding:8px 11px;border-radius:6px;font-size:12px;white-space:nowrap;border:1px solid #dce5eb;box-shadow:none}
.rf-workspace .toolbar-divider{height:22px;width:1px;background:#dce5eb;margin:0 3px}
.rf-workspace h1{font-size:22px!important;line-height:1.3!important}.rf-workspace .exposure-panel{padding:12px 16px!important}.rf-workspace .exposure-panel>h2{font-size:13px}.rf-workspace .exposure-panel>p{font-size:12px;line-height:1.5;margin:5px 0}.rf-workspace .exposure-panel>.workspace-panel{margin-top:8px;background:transparent}
.section-help{display:block;position:relative;margin:5px 0;color:#546a7c;font-size:12px;line-height:1.6}.help-trigger{border:0;background:transparent;padding:2px 0;color:#567989;font-size:11px;cursor:help}.help-content{display:block;max-height:0;overflow:hidden;opacity:0;visibility:hidden;transition:opacity .15s,max-height 0s,visibility 0s;transition-delay:0s}.section-help:hover>.help-content,.help-trigger:focus-visible+.help-content,.help-content.help-pinned{max-height:1000px;opacity:1;visibility:visible;transition-delay:2s}.help-trigger:focus-visible+.help-content,.help-content.help-pinned{transition-delay:0s}.help-content{background:#f1f6f8;border-radius:6px}.help-content.help-pinned{padding:8px}.section-help:hover>.help-content{padding:8px;transition:opacity .15s 2s,visibility 0s 2s,max-height 0s 2s,padding 0s 2s}
.rf-workspace .glass-panel{box-shadow:none}.rf-workspace .metric-card{box-shadow:none;border-radius:6px}.rf-workspace .workspace-panel .rounded-3xl{border-radius:8px}
@media(min-width:1280px){.rf-workspace>div>div>div.grid>section:first-child{top:12px;max-height:calc(100vh - 24px);background:transparent;border:0;padding:0}.rf-workspace>div>div>section:first-child>div:first-child{padding:14px 16px!important;gap:10px}.rf-workspace>div>div>section:first-child>div:first-child p{display:none}}
@media(max-width:760px){.rf-workspace .workspace-toolbar button{flex:1 0 auto}.rf-workspace .toolbar-divider{display:none}.rf-workspace .panel-content{padding:4px 10px 12px}}
@media(prefers-reduced-motion:reduce){.help-content{transition-duration:0s!important}}
.rf-workspace .workspace-panel:hover>.panel-content>.section-help>.help-content{max-height:1000px;opacity:1;visibility:visible;padding:8px;transition:opacity .15s 2s,visibility 0s 2s,max-height 0s 2s,padding 0s 2s}
.section-help>.help-content.help-pinned,.section-help>.help-trigger:focus-visible+.help-content{max-height:1000px;opacity:1;visibility:visible;padding:8px;transition:none!important}
/* Icon controls keep more room available for drawings and RF results. */
.tool-icon{display:block;flex:none;width:20px;height:20px}
.studio-rail{width:64px;padding:16px 10px;align-items:center;gap:8px}
.studio-main{margin-left:64px;min-width:0}
.studio-rail .brand{padding:0 0 16px;width:44px;justify-content:center}
.studio-rail .brand>span:last-child,.studio-rail .rail-label,.studio-rail .rail-bottom{display:none}
.studio-rail>button{width:44px;height:44px;padding:12px;justify-content:center;margin:0;flex:none}
.studio-topbar{height:56px;padding:0 22px}
.top-actions button,.workspace-toolbar button,.rf-workspace .workspace-toolbar button{width:36px;height:36px;min-width:36px;padding:8px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;border:1px solid #dce5eb;border-radius:6px}
.workspace-toolbar,.rf-workspace .workspace-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:6px!important;margin-top:12px;padding-top:0;border:0;width:auto}
.rf-workspace>div>div>section:first-child>div:first-child{flex-direction:row;flex-wrap:wrap;padding:12px 16px!important;gap:10px}
.rf-workspace>div>div>section:first-child>div:first-child p{display:none}
.rf-workspace .workspace-toolbar{margin-top:0}
.building-map-link{display:block;margin:8px 0 12px;font-size:12px;color:#167d8d}
.footprint-card>strong{display:block;font-size:13px;overflow-wrap:anywhere}
.building-list strong{overflow-wrap:anywhere}
@media(max-width:760px){.studio-rail{position:static;width:100%;padding:6px 12px;flex-direction:row;flex-wrap:nowrap;gap:8px}.studio-rail .brand{width:36px;padding:0;margin-right:auto}.studio-rail>button{width:40px;height:40px;padding:10px;flex:none}.studio-main{margin-left:0}.studio-topbar{min-height:52px;padding:8px 12px;flex-wrap:nowrap}.studio-topbar>div:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-actions{flex-shrink:0}.breadcrumb{display:none}.rf-workspace .workspace-toolbar button{flex:0 0 36px}}
@media(pointer:coarse){.top-actions button,.workspace-toolbar button,.rf-workspace .workspace-toolbar button{width:44px;height:44px;min-width:44px;flex-basis:44px}}
