/* Content first. Visual preferences never change project measurements or calculations. */
@media screen {
 :root[data-theme]{--ui-page:#f5f5f7;--ui-surface:#fff;--ui-soft:#f0f1f3;--ui-ink:#1d1d1f;--ui-muted:#686a70;--ui-line:#e2e4e7;--ui-accent:#087f5b;--ui-accent-soft:#e5f3ec;--ui-glass:#ffffffd9;--ui-shadow:0 12px 40px #1d293407;color-scheme:light}
 :root[data-theme=night]{--ui-page:#101114;--ui-surface:#1b1d21;--ui-soft:#24272c;--ui-ink:#f5f5f7;--ui-muted:#a5a8af;--ui-line:#34373e;--ui-accent:#88d9b2;--ui-accent-soft:#203d32;--ui-glass:#1b1d21e6;--ui-shadow:0 15px 45px #0002;color-scheme:dark}
 :root[data-theme] body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:var(--ui-page);color:var(--ui-ink);letter-spacing:-.15px}
 :root[data-theme] .shell{grid-template-columns:216px minmax(0,1fr)}
 :root[data-theme] .sidebar{width:216px;padding:29px 16px 20px;background:var(--ui-glass);border-right:1px solid var(--ui-line);backdrop-filter:blur(24px);color:var(--ui-ink);overflow-y:auto}
 :root[data-theme] .brand{gap:12px;padding:0 10px}
 :root[data-theme] .brand img{width:158px;height:auto;max-width:100%;padding:0;background:transparent;border-radius:0;box-shadow:none;object-fit:contain}
 :root[data-theme] .brand>span{color:var(--ui-muted);font-size:9px;letter-spacing:3.6px;padding-left:1px}
 :root[data-theme] .workspace-label{color:var(--ui-muted);margin:29px 12px 10px;font-size:9px;letter-spacing:1.7px}
 :root[data-theme] .nav{display:block}
 :root[data-theme] .nav-group{display:grid;gap:4px}
 :root[data-theme] .nav button{min-height:43px;border-radius:11px;padding:11px 12px;color:var(--ui-muted);font-size:12px;background:transparent;border:0;gap:11px;font-weight:500;white-space:nowrap}
 :root[data-theme] .nav button:hover{background:var(--ui-soft);color:var(--ui-ink)}
 :root[data-theme] .nav button.active{background:var(--ui-accent-soft);color:var(--ui-accent);box-shadow:none}
 :root[data-theme] .nav button.active:before{display:none}
 :root[data-theme] .nav button svg{width:18px;height:18px;opacity:1}
 :root[data-theme] .sidebar-bottom{padding-top:26px}
 :root[data-theme] .independent{padding:18px 10px 0;border-color:var(--ui-line);color:var(--ui-muted);font-size:11px;line-height:1.8}
 :root[data-theme] .independent small{font-size:10px}
 :root[data-theme] .dot{background:var(--ui-accent);box-shadow:none}
 :root[data-theme] .topbar{position:sticky;top:0;z-index:15;height:70px;padding:0 34px;background:var(--ui-glass);backdrop-filter:blur(20px);border-bottom:1px solid var(--ui-line)}
 :root[data-theme] .breadcrumb,:root[data-theme] .save-state{color:var(--ui-muted);font-size:11px}
 :root[data-theme] .breadcrumb strong{color:var(--ui-ink);font-weight:600}
 :root[data-theme] .top-actions{gap:10px}
 :root[data-theme] .content{max-width:1500px;padding:32px 34px 55px}
 :root[data-theme] button{border-color:var(--ui-line);background:var(--ui-surface);color:var(--ui-ink);border-radius:100px;font-weight:500;letter-spacing:-.1px}
 :root[data-theme] button:hover{background:var(--ui-soft);border-color:var(--ui-line)}
 :root[data-theme] button.primary,:root[data-theme] .upload-cta{background:var(--ui-accent);border-color:var(--ui-accent);color:#fff;box-shadow:none}
 :root[data-theme=night] button.primary,:root[data-theme=night] .upload-cta{color:#12251b}
 :root[data-theme] button.primary:hover{filter:brightness(1.06)}
 :root[data-theme] button.ghost,:root[data-theme] .studio-text-button{background:transparent;border-color:transparent;color:var(--ui-accent)}
 :root[data-theme] button:focus-visible,:root[data-theme] a:focus-visible{outline:3px solid var(--ui-accent);outline-offset:4px}
 :root[data-theme] .theme-toggle{width:32px;height:32px;justify-content:center;padding:0;border:0;background:var(--ui-soft)}
 :root[data-theme] .theme-toggle span{display:none}
 :root[data-theme] .top-actions .primary{padding:8px 17px}
 :root[data-theme] .eyebrow{font-size:10px;letter-spacing:1.6px;color:var(--ui-muted);font-weight:600}
 :root[data-theme] .page-title{font-size:34px;font-weight:650;letter-spacing:-1.2px;color:var(--ui-ink)}
 :root[data-theme] .subtitle{font-size:13px;color:var(--ui-muted)}
 :root[data-theme] .heading-row{margin-bottom:23px}
 :root[data-theme] .card{background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:23px;box-shadow:var(--ui-shadow);padding:26px}
 :root[data-theme] .card h2,:root[data-theme] .card h3{color:var(--ui-ink);letter-spacing:-.5px;font-weight:600}
 :root[data-theme] .card h2{font-size:20px}
 :root[data-theme] .card p{line-height:1.7}
 :root[data-theme] .muted,:root[data-theme] .privacy,:root[data-theme] .field small,:root[data-theme] .quote-note,:root[data-theme] .card .quote-note{color:var(--ui-muted)}
 :root[data-theme] a{color:var(--ui-accent)}
 :root[data-theme] .badge,:root[data-theme] .badge.dim{background:var(--ui-soft);border:0;color:var(--ui-muted);font-weight:500}
 :root[data-theme] .badge.warn{background:#fff2da;color:#81541c}
 :root[data-theme=night] .badge.warn{background:#3c3021;color:#eac993}
 :root[data-theme] .field input,:root[data-theme] .field select,:root[data-theme] .field textarea,:root[data-theme] .shadow-controls input,:root[data-theme] .shadow-controls select,:root[data-theme] .obstacle-fields input,:root[data-theme] .survey-summary select{background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:11px;color:var(--ui-ink);padding:12px}
 :root[data-theme] .field label,:root[data-theme] .check,:root[data-theme] .shadow-controls>label,:root[data-theme] .obstacle-fields label{color:var(--ui-muted)}
 :root[data-theme] input[type=checkbox],:root[data-theme] input[type=range]{accent-color:var(--ui-accent)}
 :root[data-theme] .notice,:root[data-theme] .demo-banner{background:#fff7e8;color:#785522;border:1px solid #efdfbf;border-radius:13px;line-height:1.7;font-size:12px}
 :root[data-theme=night] .notice,:root[data-theme=night] .demo-banner{background:#30291f;color:#e3c99e;border-color:#50432f}
 :root[data-theme] .notice.success{background:var(--ui-accent-soft);color:var(--ui-accent);border-color:var(--ui-line)}
 :root[data-theme] .error{border-radius:12px}
 :root[data-theme] .orientation-card{background:var(--ui-surface);border-color:var(--ui-line);box-shadow:none;border-radius:18px;padding:13px 18px;margin-bottom:24px;gap:15px}
 :root[data-theme] .orientation-card .solar-compass{width:62px;height:62px}
 :root[data-theme] .orientation-card strong{color:var(--ui-ink);font-size:12px;font-weight:550}
 :root[data-theme] .orientation-card small{color:var(--ui-muted);font-size:10px}
 :root[data-theme] .orientation-status{color:#89622c;font-size:9px;letter-spacing:1.1px}
 :root[data-theme=night] .orientation-status{color:#ddbd8f}
 :root[data-theme] .orientation-card.verified .orientation-status{color:var(--ui-accent)}
 :root[data-theme] .solar-compass>circle:first-child{fill:#222c32;stroke:#819395}
 .studio-welcome{display:flex;justify-content:space-between;align-items:center;gap:30px;margin:4px 0 30px}
 .studio-welcome h1{font-size:clamp(32px,3.1vw,49px);line-height:1.1;letter-spacing:-1.9px;margin:12px 0 13px;font-weight:650}
 .studio-welcome h1 span{color:var(--ui-muted)}
 .studio-welcome p{font-size:13px;color:var(--ui-muted);margin:0}
 .studio-project{display:flex;align-items:center;gap:13px;max-width:300px;min-width:0}
 .studio-project>div{min-width:0}.studio-project small,.studio-project span:not(.project-orbit){display:block;color:var(--ui-muted);font-size:10px}
 .studio-project strong{display:block;font-size:12px;margin:4px 0;overflow-wrap:anywhere}
 .project-orbit{width:45px;height:45px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#f6e7bd,#f5b66c);color:#97602d;font-size:26px;box-shadow:0 7px 25px #e4bd7630}
 .studio-feature{display:grid;grid-template-columns:.85fr 1.15fr;background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:28px;overflow:hidden;box-shadow:var(--ui-shadow);min-height:430px;margin-bottom:18px}
 .studio-feature-copy{padding:40px 35px;align-self:center;min-width:0}
 .studio-feature-copy h2{font-size:clamp(31px,2.8vw,43px);line-height:1.1;letter-spacing:-1.8px;margin:19px 0 18px;font-weight:600}
 .studio-feature-copy p{font-size:13px;color:var(--ui-muted);max-width:310px;line-height:1.7;margin-bottom:25px}
 .studio-feature-copy .primary{padding:12px 21px;margin-top:5px}
 .studio-feature-copy .primary span{margin-left:16px}
 .studio-feature-numbers{display:flex;gap:28px;margin:24px 0}
 .studio-feature-numbers strong{font-size:32px;letter-spacing:-1.2px;font-weight:600;display:block;line-height:1.1}
 .studio-feature-numbers strong small{font-size:15px;font-weight:400;letter-spacing:-.3px}
 .studio-feature-numbers span{font-size:10px;color:var(--ui-muted);display:block;max-width:115px;line-height:1.5;margin-top:7px}
 .studio-estimate{display:block;font-size:10px;color:var(--ui-muted);margin-top:16px}
 .studio-feature-visual{position:relative;min-width:0;display:grid;background:#e9edf0;overflow:hidden}
 .studio-feature-visual .survey-plan{height:100%;min-height:430px;max-height:none;object-fit:contain}
 .studio-feature-visual canvas{width:100%;height:100%;min-height:430px;display:block;touch-action:none}
 .studio-map-tag{position:absolute;top:20px;left:20px;right:20px;justify-self:start;width:fit-content;max-width:calc(100% - 40px);border:1px solid #ffffffa0;border-radius:30px;padding:10px 15px;background:#fffffff0;color:#373b3d;font-size:10px;backdrop-filter:blur(16px);box-shadow:0 3px 15px #0001}
 .live-dot{width:6px;height:6px;display:inline-block;border-radius:50%;background:#087f5b;margin-right:6px}
 .studio-map-credit{position:absolute;bottom:0;left:0;right:0;padding:28px 20px 14px;color:#fff;font-size:9px;line-height:1.6;background:linear-gradient(transparent,#111c24d9)}
 .studio-secondary{display:block;margin-top:10px;border:0!important;color:var(--ui-accent)!important;background:transparent!important;padding-left:0}
 .studio-orientation .orientation-card{background:transparent!important;border:0!important;padding:8px 6px;margin-bottom:28px}
 .studio-section-title{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:34px 0 17px}
 .studio-section-title h2{font-size:23px;letter-spacing:-.7px;font-weight:600;margin:0}
 .studio-section-title>span{font-size:11px;color:var(--ui-muted)}
 .studio-text-button{font-size:12px;padding:7px 0!important;white-space:nowrap}
 .studio-journey{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
 :root[data-theme] .journey-card{border-radius:21px;text-align:left;padding:22px;background:var(--ui-surface);border:1px solid var(--ui-line);box-shadow:var(--ui-shadow);white-space:normal;transition:transform .2s,box-shadow .2s}
 :root[data-theme] .journey-card:hover{transform:translateY(-3px);box-shadow:0 10px 25px #162c4010;background:var(--ui-surface)}
 .journey-top{display:flex;justify-content:space-between;color:var(--ui-muted);font-size:11px;margin-bottom:23px}
 .journey-top>span:last-child{font-size:18px;line-height:1}
 .journey-card>strong{font-size:14px;font-weight:600;display:block}
 .journey-card p{font-size:11px;line-height:1.65;color:var(--ui-muted);margin:9px 0 22px;min-height:37px}
 .journey-status{font-size:9px;color:var(--ui-muted);display:flex;align-items:center;gap:6px}
 .journey-status i{width:5px;height:5px;border-radius:50%;background:#b59d79;flex-shrink:0}.journey-status.is-ready{color:var(--ui-accent)}.journey-status.is-ready i{background:var(--ui-accent)}
 .studio-insights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:22px;padding:25px 0}
 .studio-insights article{padding:0 27px;min-width:0;border-right:1px solid var(--ui-line)}.studio-insights article:last-child{border:0}
 .studio-insights article>span{font-size:11px;color:var(--ui-muted)}.studio-insights strong{display:block;font-size:39px;font-weight:550;letter-spacing:-1.4px;margin:10px 0 6px;line-height:1.2}.studio-insights strong small{font-size:15px;letter-spacing:0}.studio-insights .money-value{font-size:32px}
 .studio-insights p{font-size:10px;color:var(--ui-muted);margin:0;line-height:1.6}
 .studio-explore{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:24px}
 :root[data-theme] .studio-explore button{display:flex;text-align:left;align-items:center;gap:13px;background:transparent;padding:10px 0;border:0;border-radius:12px}
 .studio-explore button>span:last-child{margin-left:auto;color:var(--ui-muted)}.studio-explore strong{display:block;font-size:12px;font-weight:600}.studio-explore div>span{font-size:10px;color:var(--ui-muted);display:block;margin-top:4px;line-height:1.6}
 .explore-icon{width:40px;height:40px;border-radius:12px;flex-shrink:0;display:grid;place-items:center;font-size:24px}.sun-icon{background:#fcf0da;color:#b77e28}.cube-icon{background:#e4edf9;color:#6884bd}.tax-icon{background:#e3f0e9;color:#478066;font-size:21px}
 :root[data-theme] .survey-cinematic-head{display:flex;align-items:center;justify-content:space-between;gap:20px;background:none;border:0;box-shadow:none;border-radius:0;padding:0;margin:3px 0 25px;overflow:visible}
 :root[data-theme] .survey-cinematic-head:after{display:none}
 .survey-cinematic-head h1{font-size:clamp(30px,3vw,43px);letter-spacing:-1.5px;font-weight:650;margin:10px 0 8px;line-height:1.15}
 :root[data-theme] .survey-cinematic-head .survey-address{font-size:13px;color:var(--ui-muted);margin:0}
 .roof-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:20px;margin-bottom:22px;padding:22px 0}
 .roof-facts>div{padding:0 24px;border-right:1px solid var(--ui-line);min-width:0}.roof-facts>div:last-child{border:0}.roof-facts span{display:block;font-size:10px;color:var(--ui-muted)}.roof-facts strong{display:block;font-size:30px;letter-spacing:-1px;font-weight:550;line-height:1.3;margin-top:5px}.roof-facts small{font-size:11px;font-weight:400;letter-spacing:0;color:var(--ui-muted)}.roof-facts .roof-source{font-size:17px;letter-spacing:-.4px;margin-top:10px}
 :root[data-theme] .survey-layout{grid-template-columns:minmax(0,1fr) 295px;gap:20px;align-items:start}
 :root[data-theme] .survey-board{border-radius:23px;background:#18242b;border:1px solid var(--ui-line);box-shadow:var(--ui-shadow)}
 :root[data-theme] .survey-toolbar{padding:14px 17px;gap:6px;background:var(--ui-surface);border-bottom:1px solid var(--ui-line)}
 :root[data-theme] .survey-toolbar button{font-size:11px;text-transform:none;letter-spacing:-.1px;padding:9px 12px;border-radius:30px;color:var(--ui-muted);background:var(--ui-soft);border-color:transparent}
 :root[data-theme] .survey-toolbar button.active{color:var(--ui-accent);background:var(--ui-accent-soft);border-color:transparent}
 :root[data-theme] .survey-plan{min-height:400px;max-height:650px}
 :root[data-theme] .survey-credit{background:#18242b;color:#c4cdd3;padding:12px 18px;font-size:9px;line-height:1.7;letter-spacing:0}
 :root[data-theme] .survey-summary{padding:24px}
 :root[data-theme] .survey-summary .survey-big{font-size:49px;letter-spacing:-2px;font-weight:500;color:var(--ui-ink)}
 :root[data-theme] .survey-summary dt{color:var(--ui-muted)}:root[data-theme] .survey-summary dd{color:var(--ui-ink);font-weight:550}
 :root[data-theme] .survey-summary dl>div,:root[data-theme] .insight-line,:root[data-theme] .quote-table td,:root[data-theme] .quote-table th{border-color:var(--ui-line)}
 :root[data-theme] .survey-summary .notice{font-size:11px}
 :root[data-theme] .survey-selected{background:var(--ui-accent-soft)}
 :root[data-theme] .quote-table th{color:var(--ui-muted);font-size:10px;letter-spacing:.5px}
 :root[data-theme] .quote-table .total td{color:var(--ui-accent)}
 :root[data-theme] .insight-line,:root[data-theme] .stat .label,:root[data-theme] .stat small,:root[data-theme] .dossier-address,:root[data-theme] .dossier-head{color:var(--ui-muted)}
 :root[data-theme] .insight-line strong,:root[data-theme] .stat strong{color:var(--ui-ink)}
 :root[data-theme] .intro-card{background:var(--ui-surface);border-color:var(--ui-line)}
 :root[data-theme] .intro-card h2{font-size:30px;letter-spacing:-1px}
 :root[data-theme] .intro-card p{color:var(--ui-muted)}
 :root[data-theme] .steps{padding:5px;background:var(--ui-soft);border:0;border-radius:15px}
 :root[data-theme] .step{background:transparent;color:var(--ui-muted);border-radius:11px;padding:11px}
 :root[data-theme] .step.active{background:var(--ui-surface);color:var(--ui-ink);box-shadow:0 2px 5px #0000000d}
 :root[data-theme] .step .num{border-color:var(--ui-line)}:root[data-theme] .step.active .num{background:var(--ui-accent);border-color:var(--ui-accent);color:var(--ui-surface)}
 :root[data-theme] .upload{background:var(--ui-page);border-color:#bdc8c2;border-radius:18px}
 :root[data-theme] .upload:hover{background:var(--ui-accent-soft);border-color:var(--ui-accent)}
 :root[data-theme] .upload-icon{background:var(--ui-accent-soft);color:var(--ui-accent)}
 :root[data-theme] .upload p,:root[data-theme] .method p,:root[data-theme] .method li,:root[data-theme] .note-card p{color:var(--ui-muted)}
 :root[data-theme] .shadow-hero,:root[data-theme] .lab-hero,:root[data-theme] .lab-empty,:root[data-theme] .fiscal-hero{background:var(--ui-surface);color:var(--ui-ink);border:1px solid var(--ui-line);border-radius:25px;box-shadow:var(--ui-shadow);padding:32px}
 :root[data-theme] .shadow-hero h2,:root[data-theme] .lab-hero h2,:root[data-theme] .lab-empty h2,:root[data-theme] .fiscal-hero h2{font-size:42px;font-weight:600;letter-spacing:-1.8px}
 :root[data-theme] .shadow-hero h2 em,:root[data-theme] .lab-hero h2 em,:root[data-theme] .fiscal-hero h2 em{color:var(--ui-accent)}
 :root[data-theme] .shadow-hero p,:root[data-theme] .shadow-sun small,:root[data-theme] .shadow-sun span,:root[data-theme] .lab-hero p,:root[data-theme] .lab-empty p,:root[data-theme] .fiscal-hero p{color:var(--ui-muted)}
 :root[data-theme] .shadow-sun strong{color:#a97d39;font-size:34px}
 :root[data-theme] .shadow-kpi{border-color:var(--ui-line)}:root[data-theme] .shadow-kpi strong{color:#b67c37}:root[data-theme] .shadow-kpi span{color:var(--ui-muted)}
 :root[data-theme] .shadow-legend{color:var(--ui-muted)}
 :root[data-theme] .obstacle-editor,:root[data-theme] .tech-card,:root[data-theme] .catalog-inverter{background:var(--ui-surface);border-color:var(--ui-line);border-radius:16px;color:var(--ui-ink)}
 :root[data-theme] .obstacle-editor>.row>strong{color:var(--ui-ink)}
 :root[data-theme] .tech-card.selected,:root[data-theme] .inverter-options button.selected,:root[data-theme] .catalog-inverter.selected{background:var(--ui-accent-soft);border-color:var(--ui-accent);box-shadow:none;color:var(--ui-accent)}
 :root[data-theme] .proscons p,:root[data-theme] .tech-card small{color:var(--ui-muted)}
 :root[data-theme] .proscons strong{color:var(--ui-accent)}
 :root[data-theme] .catalog-price,:root[data-theme] .catalog-inverter>strong,:root[data-theme] .fiscal-total strong{color:var(--ui-ink)}
 :root[data-theme] .designer-head h2{color:var(--ui-ink);font-size:39px;font-weight:600;letter-spacing:-1.5px}:root[data-theme] .designer-head h2 em{color:var(--ui-muted)}
 :root[data-theme] .scene-shell{border:1px solid var(--ui-line);box-shadow:var(--ui-shadow);background:#e9edf0;border-radius:26px}
 :root[data-theme=day] .scene-tag{color:#535d66}:root[data-theme=day] .scene-tag strong{color:#25323e}
 :root[data-theme] .scene-controls button{background:var(--ui-glass);color:var(--ui-ink);border-color:var(--ui-line);backdrop-filter:blur(12px)}
 :root[data-theme] .scene-controls button.active{background:var(--ui-accent);color:var(--ui-surface)}
 :root[data-theme] .scene-presets{background:var(--ui-glass);border-color:var(--ui-line);border-radius:30px;padding:4px;backdrop-filter:blur(18px)}
 :root[data-theme] .scene-presets button{color:var(--ui-muted);border-radius:25px;background:transparent}
 :root[data-theme] .scene-presets button.active{background:var(--ui-surface);color:var(--ui-ink);box-shadow:0 2px 7px #0001}
 :root[data-theme=day] .scene-bottom,:root[data-theme=day] .scene-compass span{color:#536270}
 :root[data-theme] .metric,:root[data-theme] .scenario{background:var(--ui-surface);border-color:var(--ui-line);color:var(--ui-ink);border-radius:18px}
 :root[data-theme] .scenario.selected{background:var(--ui-accent-soft);border-color:var(--ui-accent)}
 :root[data-theme] .metric span,:root[data-theme] .metric small,:root[data-theme] .scenario p,:root[data-theme] .scenario dt,:root[data-theme] .scenario .detail{color:var(--ui-muted)}
 :root[data-theme] .metric strong,:root[data-theme] .lab-metrics strong{color:var(--ui-ink)}
 :root[data-theme] .segmented{background:var(--ui-soft);border-color:var(--ui-line);border-radius:13px}
 :root[data-theme] .segmented button.active{background:var(--ui-surface);color:var(--ui-ink)}
 :root[data-theme] .flow-card{background:var(--ui-surface)}
 :root[data-theme] .fiscal-opportunities button{background:var(--ui-soft);border-color:var(--ui-line);border-radius:18px;color:var(--ui-ink)}
 :root[data-theme] .fiscal-opportunities button.selected{background:var(--ui-accent-soft);border-color:var(--ui-accent);color:var(--ui-accent)}
 :root[data-theme] .fiscal-total span,:root[data-theme] .fiscal-total small,:root[data-theme] .opportunity-list p{color:var(--ui-muted)}
 :root[data-theme] .archive-item{background:var(--ui-surface);border-color:var(--ui-line);border-radius:18px}:root[data-theme] .archive-item p{color:var(--ui-muted)}
 :root[data-theme] .footnote{color:var(--ui-muted);font-size:9px;letter-spacing:.5px;margin-top:36px}
 :root[data-theme] .auth-page{background:var(--ui-page)}:root[data-theme] .auth-art{background:var(--ui-surface);color:var(--ui-ink);border-color:var(--ui-line)}:root[data-theme] .auth-art p{color:var(--ui-muted)}
 :root[data-theme] .auth-art h1{font-size:53px;letter-spacing:-2.4px;font-weight:600}
 :root[data-theme] .auth-form .card{padding:38px}
 :root[data-theme] #toast{background:var(--ui-ink);color:var(--ui-surface);border-color:var(--ui-line);border-radius:30px;box-shadow:0 10px 40px #0002}
 :root[data-view=shadow] .heading-row,:root[data-view=designer] .heading-row{display:none}
 :root[data-theme] .presentation .survey-cinematic-head,:root[data-theme] .presentation .roof-facts{display:none}
 :root[data-theme] .presentation .survey-layout{grid-template-columns:minmax(0,1fr) 295px}
 @media(min-width:1600px){:root[data-theme] .content{padding:38px 50px}.studio-feature{min-height:480px}.studio-feature-copy{padding:45px}.studio-feature-visual .survey-plan{min-height:480px}}
 @media(max-width:1200px){.studio-project{max-width:230px}.studio-feature-copy{padding:28px}.studio-feature-copy h2{font-size:33px}.studio-journey{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-explore{grid-template-columns:1fr}.studio-section-title>span{display:none}:root[data-theme] .survey-layout{grid-template-columns:1fr}.roof-facts>div{padding:0 18px}.survey-summary dl{grid-template-columns:1fr 1fr}.studio-feature-numbers{gap:20px}.studio-welcome h1{font-size:36px}}
 @media(min-width:601px) and (max-width:1000px){:root[data-theme] .shell{grid-template-columns:76px minmax(0,1fr)}:root[data-theme] .sidebar{width:76px;padding:26px 8px}:root[data-theme] .sidebar .brand{padding:0;align-items:center}:root[data-theme] .sidebar .brand img{width:60px;max-width:100%;padding:0}:root[data-theme] .sidebar .brand>span,:root[data-theme] .workspace-label,:root[data-theme] .nav button span,:root[data-theme] .independent{display:none}:root[data-theme] .nav{margin-top:32px}:root[data-theme] .nav-group{gap:8px;margin-bottom:24px}:root[data-theme] .nav button{justify-content:center;padding:12px;width:48px;margin:auto}:root[data-theme] .content{padding:28px 24px 45px}:root[data-theme] .topbar{padding:0 24px}.studio-project{display:none}.studio-welcome h1{font-size:38px}.studio-feature{grid-template-columns:.85fr 1.15fr;min-height:390px}.studio-feature-copy{padding:27px 22px}.studio-feature-copy h2{font-size:30px}.studio-feature-copy p{font-size:12px}.studio-feature-numbers strong{font-size:29px}.studio-feature-numbers{gap:18px}.studio-feature-visual .survey-plan{min-height:390px}.studio-map-tag{font-size:9px;top:14px;left:12px;right:12px;max-width:calc(100% - 24px);padding:9px 12px}.studio-feature-copy .primary{font-size:12px;padding:11px 16px}.studio-feature-copy .primary span{margin-left:8px}.roof-facts{padding:18px 0}.roof-facts>div{padding:0 14px}.roof-facts span{font-size:9px}.roof-facts strong{font-size:27px}.roof-facts .roof-source{font-size:15px}}
 @media(max-width:600px){:root[data-theme] .shell{display:block}:root[data-theme] .sidebar{inset:auto 0 0;width:100%;height:75px;padding:6px 9px;background:var(--ui-glass);border-top:1px solid var(--ui-line);border-right:0;overflow-x:auto;overflow-y:hidden;backdrop-filter:blur(25px)}:root[data-theme] .sidebar>.brand,:root[data-theme] .sidebar-bottom,:root[data-theme] .workspace-label{display:none}:root[data-theme] .nav{display:flex;gap:8px;overflow:visible}:root[data-theme] .nav-group{display:flex;gap:5px}:root[data-theme] .nav button{width:70px;min-width:70px;flex-direction:column;gap:4px;padding:7px 5px;white-space:normal;height:60px;border-radius:12px}:root[data-theme] .nav button span{display:block;font-size:9px;text-align:center;line-height:1.2}:root[data-theme] .nav button svg{width:19px;height:19px}:root[data-theme] .topbar{height:62px;padding:0 16px}:root[data-theme] .topbar .breadcrumb{font-size:10px;max-width:120px}:root[data-theme] .save-state{display:none}:root[data-theme] .top-actions{gap:6px}:root[data-theme] .top-actions>.small[data-action=new]{display:none}:root[data-theme] .content{padding:24px 16px 100px}:root[data-theme] .card{padding:22px}.studio-project{display:none}.studio-welcome{margin:0 0 25px}.studio-welcome h1{font-size:35px;letter-spacing:-1.5px}.studio-welcome p{max-width:270px;font-size:12px}.studio-feature{grid-template-columns:1fr;border-radius:24px}.studio-feature-copy{padding:30px}.studio-feature-copy h2{font-size:35px;margin:14px 0}.studio-feature-copy p{margin:14px 0}.studio-feature-numbers{gap:40px}.studio-feature-visual{min-height:340px}.studio-feature-visual .survey-plan,.studio-feature-visual canvas{min-height:340px;height:340px}.studio-section-title h2{font-size:21px}.studio-journey{gap:10px}:root[data-theme] .journey-card{padding:18px;border-radius:18px}.journey-card>strong{font-size:13px}.journey-card p{min-height:52px}.studio-insights{grid-template-columns:1fr;padding:8px 22px}.studio-insights article{padding:20px 0;border-right:0;border-bottom:1px solid var(--ui-line)}.studio-insights strong{font-size:34px}.studio-section-title{flex-wrap:wrap;gap:5px}.studio-orientation .orientation-card{padding:4px 0;gap:10px}:root[data-theme] .orientation-card strong{font-size:10px}:root[data-theme] .orientation-card .solar-compass{width:58px;height:58px}:root[data-theme] .survey-cinematic-head{display:block;margin-bottom:23px}.survey-cinematic-head h1{font-size:34px;letter-spacing:-1.4px}.survey-cinematic-head .studio-text-button{margin-top:7px}.roof-facts{grid-template-columns:1fr 1fr;padding:0}.roof-facts>div{padding:17px 20px}.roof-facts>div:nth-child(2){border-right:0}.roof-facts>div:nth-child(-n+2){border-bottom:1px solid var(--ui-line)}.roof-facts strong{font-size:29px}.roof-facts .roof-source{font-size:17px}:root[data-theme] .survey-toolbar{padding:12px;gap:5px}:root[data-theme] .survey-toolbar button{font-size:10px;padding:8px 10px}:root[data-theme] .survey-plan{min-height:360px}.survey-summary dl{grid-template-columns:1fr}:root[data-theme] .shadow-hero,:root[data-theme] .lab-hero,:root[data-theme] .lab-empty,:root[data-theme] .fiscal-hero{padding:25px}:root[data-theme] .shadow-hero h2,:root[data-theme] .lab-hero h2,:root[data-theme] .lab-empty h2,:root[data-theme] .fiscal-hero h2{font-size:34px}:root[data-theme] .presentation .survey-layout{grid-template-columns:1fr}:root[data-theme] .auth-art h1{font-size:37px}:root[data-theme] .scene-controls{gap:5px}:root[data-theme] .scene-controls button{font-size:10px;padding:8px}.studio-explore{gap:10px}}
 @media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}html{scroll-behavior:auto}}
 @media(prefers-reduced-transparency:reduce){:root[data-theme]{--ui-glass:var(--ui-surface)}.studio-map-tag{background:#fff}.sidebar,.topbar,.scene-presets{backdrop-filter:none!important}}
}
@media print{.roof-facts{display:flex;gap:25px;margin:20px 0}.roof-facts strong{display:block;font-size:22px}.survey-cinematic-head h1{font-size:26px}.studio-text-button{display:none}.brand img{background:transparent!important;box-shadow:none!important}.studio-journey,.studio-explore{display:none}}
/* Technical decisions stay readable at the same level as the visual study. */
.roof-scenario-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0}.roof-scenario-cards button{text-align:left;white-space:normal;padding:22px 18px;background:var(--surface,#fff);border:1px solid var(--line,#ddd);border-radius:20px;color:inherit;display:block}.roof-scenario-cards button.selected{border-color:#429a6f;box-shadow:0 0 0 2px #429a6f33}.roof-scenario-cards span,.roof-scenario-cards strong,.roof-scenario-cards small{display:block}.roof-scenario-cards strong{font-size:28px;letter-spacing:-1px;margin:18px 0 8px}.roof-scenario-cards strong small{font-size:12px;letter-spacing:0;font-weight:400}.roof-scenario-cards p{font-size:13px;line-height:1.5}.opening-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.opening-summary>div{display:grid;grid-template-columns:36px 1fr;padding:16px;background:rgba(190,125,62,.07);border-radius:14px;gap:5px 10px}.opening-summary span{grid-row:span 2;color:#b16c36;font-weight:700}.opening-summary small{grid-column:2}.opening-details,.roof-seams details{margin:20px 0}.fit-checks{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0 12px}.fit-checks span{padding:9px 12px;background:#40966e18;border-radius:100px;font-size:12px}.fit-checks .pending{background:#b1843c15;color:#a06c21}.roof-seams .obstacle-fields label,.roof-exclusions .obstacle-fields label{min-width:0}.roof-seams .obstacle-fields input,.roof-exclusions .obstacle-fields input{width:100%;box-sizing:border-box}.electrical-flow,.connection-milestones{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:30px 0 38px}.electrical-flow>span,.connection-milestones>span{flex:1;padding:20px 12px;border:1px solid var(--line,#dce0df);border-radius:16px;text-align:center;font-weight:600;background:rgba(80,120,100,.04)}.electrical-flow i,.connection-milestones i{font-style:normal;opacity:.4}.status-word{font-size:22px!important;letter-spacing:-.7px;line-height:1.25}.circuit-card{padding:26px 0;border-top:1px solid var(--line,#ddd);margin-top:24px}.circuit-card details{margin:24px 0}.circuit-card summary{margin-bottom:16px}.circuit-results{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:24px 0}.circuit-results span{padding:16px;background:#45866a0c;border-radius:12px;font-size:13px}.circuit-results strong{display:block;font-size:22px;margin-top:8px}.requirement-list{margin:30px 0}.requirement-list>div{display:flex;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid var(--line,#ddd)}.requirement-list>div>span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#d3a04620;color:#ac6e16;flex-shrink:0}.requirement-list .ok{background:#429a6f20;color:#288053}.requirement-list .negative{background:#d1535320;color:#b54242}.requirement-list small{margin-left:auto;min-width:130px;text-align:right;color:var(--muted,#777)}.connection-timing{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.connection-timing article{padding:22px;border:1px solid var(--line,#ddd);border-radius:18px}.connection-timing article>span{font-size:10px;letter-spacing:1.4px;font-weight:600}.connection-timing strong{display:block;font-size:34px;line-height:1.2;margin:20px 0}.connection-timing strong small{display:block;font-size:13px;font-weight:400;margin-top:6px}.connection-timing p{font-size:14px}.practice-step{display:grid;grid-template-columns:42px 1fr;gap:18px;padding:30px 0;border-top:1px solid var(--line,#ddd)}.practice-index{font-size:23px;font-weight:600;color:#509979;letter-spacing:-1px}.practice-meta{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.practice-meta span{background:#69847712;border-radius:100px;padding:7px 12px;font-size:12px}.practice-step h3{margin:0 0 12px}.practice-step .form-grid{margin:20px 0}.sidebar .nav{overflow:auto;min-height:0}.sidebar{overflow:auto}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.metrics .metric{padding:18px;background:#6483740d;border-radius:16px}.metric>span,.metric>strong,.metric>small{display:block}.metric>strong{font-size:28px;margin:10px 0}.metric>small{font-size:12px;color:var(--muted,#888)}
@media(max-width:1100px){.roof-scenario-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.connection-timing{grid-template-columns:1fr}.connection-timing article{display:block}.electrical-flow,.connection-milestones{gap:5px}.electrical-flow>span,.connection-milestones>span{font-size:12px;padding:12px 7px}}
@media(max-width:700px){.opening-summary,.metrics,.circuit-results{grid-template-columns:1fr}.roof-scenario-cards{gap:8px}.roof-scenario-cards button{padding:16px 12px}.practice-step{grid-template-columns:25px 1fr;gap:12px}.requirement-list>div{flex-wrap:wrap;gap:8px}.requirement-list small{width:100%;text-align:left;margin-left:34px}.electrical-flow,.connection-milestones{flex-wrap:wrap}.electrical-flow>span,.connection-milestones>span{flex-basis:35%}.electrical-flow i:nth-of-type(2),.connection-milestones i:nth-of-type(2){display:none}}

.engineering-audit details{margin:20px 0}.engineering-audit .row{margin-top:20px}.presentation .engineering-audit{display:none}
.survey-summary dl{display:block}.survey-summary dl>div{display:flex;justify-content:space-between;gap:14px}.survey-summary dt{min-width:0}.survey-summary dd{flex-shrink:0;max-width:48%;text-align:right}
@media(max-width:1000px){.presentation .content{padding-top:62px}.presentation .survey-layout{grid-template-columns:1fr}.presentation .survey-summary{max-height:none;overflow:visible}.presentation .survey-plan{height:auto!important;min-height:0!important;max-height:80vh}.presentation .survey-summary dl{display:block}}
@media(max-width:1000px){:root[data-theme] .presentation .content{padding-top:62px}:root[data-theme] .presentation .survey-layout{grid-template-columns:1fr}:root[data-theme] .presentation .survey-summary{max-height:none;overflow:visible}}
