:root{--house-ink:#172b35;--house-muted:#64777c;--house-border:#dbe3e4;--house-teal:#087f72;--house-purple:#806caa;--house-blue:#218bbc;--house-amber:#ce871b}
#editRis[aria-pressed=true]{background:#087f72;color:white;border-color:#087f72}#editRis[aria-pressed=true]:hover{background:#086c61}
.ris-editor{padding:12px;border:1px solid #cbded6;border-radius:7px;background:#f7faf8;margin-bottom:14px}.ris-editor>button{width:100%;font-size:11px}.ris-editor>button[aria-pressed=true]{background:#087f72;color:white;border-color:#087f72}.ris-coordinate-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.ris-coordinate-fields label{display:flex;flex-direction:column;gap:4px;font-size:10px;color:#526e62}.ris-coordinate-fields input{width:100%;min-width:0;border:1px solid #c7d8d0;border-radius:4px;padding:7px;background:white;color:#203e32;font-size:12px}.ris-edit-actions{display:flex;gap:6px}.ris-edit-actions button{font-size:10px;flex:1;padding:7px 5px}.placement-validity{font-size:10px;line-height:1.5;color:#56766a}.placement-validity[data-state=invalid]{color:#aa4036}.placement-validity[data-state=ineligible]{color:#856315}
.power-gradient{height:7px;margin-bottom:6px;border-radius:3px;background:linear-gradient(90deg,hsl(226.8,80%,43%) 0%,hsl(170.1,80%,43%) 25%,hsl(113.4,80%,43%) 50%,hsl(56.7,80%,43%) 75%,hsl(0,80%,43%) 100%)}.solver-status[data-state=ready]{color:#087f72}.solver-status[data-state=unavailable]{color:#a04e38}
*{box-sizing:border-box}body{margin:0;background:#f1f4f3;color:var(--house-ink);font:14px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select{font:inherit}button,a,select,input{touch-action:manipulation}button{cursor:pointer;border:1px solid #cbd7d8;border-radius:6px;background:#fff;color:var(--house-ink);padding:8px 12px;line-height:1.35}button:hover:not(:disabled){border-color:#587d7b;background:#f4f8f7}button:focus-visible,select:focus-visible,a:focus-visible,input:focus-visible,canvas:focus-visible{outline:3px solid #4194ac;outline-offset:3px}button:disabled,select:disabled{opacity:.48;cursor:not-allowed}a{color:var(--house-teal)}.house-workspace{max-width:1920px;margin:0 auto}.house-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 30px;background:#fff;border-bottom:1px solid var(--house-border)}.eyebrow{font-size:10px;font-weight:750;letter-spacing:.14em;color:var(--house-teal);margin:0 0 7px}h1{font-size:28px;font-weight:650;line-height:1.15;letter-spacing:-.025em;margin:0}.house-subtitle{font-size:12px;color:var(--house-muted);margin:8px 0 0}.design-stages{display:flex;gap:20px;font-size:11px;white-space:nowrap;align-items:center}.design-stages>a,.design-stages>strong,.stage-link{display:flex;align-items:center;gap:7px;text-decoration:none;font-weight:550}.design-stages span>span,.design-stages a>span,.design-stages strong>span{font-size:10px;border:1px solid #bdcecd;border-radius:50%;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;color:var(--house-muted)}.design-stages strong{color:var(--house-teal)}.design-stages strong>span{background:var(--house-teal);color:white;border-color:var(--house-teal)}.stage-link{color:var(--house-muted)}.house-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;align-items:start}.scene-stage{min-width:0;position:sticky;top:0}.scene-toolbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;min-height:62px;padding:12px 22px;border-bottom:1px solid var(--house-border);background:#f8faf9}.button-group{display:flex;background:#edf1f0;border:1px solid #dbe2e1;border-radius:7px;padding:3px;gap:2px}.button-group button{border:0;background:transparent;padding:6px 12px;color:var(--house-muted);font-size:12px}.button-group button[aria-pressed=true]{background:white;color:#183b38;box-shadow:0 1px 4px #092c2321}.inline-control{display:flex;align-items:center;gap:6px;color:var(--house-muted);font-size:12px}.inline-control select{max-width:116px;border:1px solid #d1dcdd;border-radius:5px;padding:6px;color:var(--house-ink);background:white;font-size:12px}#resetCamera{font-size:12px;padding:6px 9px}.check-control{display:flex;align-items:center;gap:4px;font-size:12px;color:var(--house-muted);margin-left:auto;white-space:nowrap}.check-control input{accent-color:var(--house-teal)}.house-viewport{position:relative;width:100%;height:calc(100vh - 310px);min-height:500px;max-height:1100px;overflow:hidden;background:#e8eeec}.house-viewport canvas{display:block;width:100%;height:100%;touch-action:none}.scene-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#edf2efea;z-index:15;color:#44615c}.scene-loading[hidden]{display:none}.scene-loading.error{padding:35px;text-align:center;color:#973e29}.scene-dimensions{position:absolute;top:20px;left:22px;display:flex;flex-direction:column;font-size:10px;line-height:1.8;pointer-events:none;color:#5d7670}.scene-dimensions strong{font-size:13px;color:#294b44;letter-spacing:.035em}.scene-legend{position:absolute;bottom:40px;left:22px;display:flex;gap:15px;font-size:10px;color:#314f48;pointer-events:none;background:#ffffffd9;padding:8px 11px;border:1px solid #dbe4e0;border-radius:6px}.scene-legend span{display:flex;align-items:center;gap:6px}.dot{display:inline-block;width:9px;height:9px;min-width:9px;border-radius:50%}.dot.router{background:var(--house-blue)}.dot.ue{background:var(--house-amber)}.dot.surface{background:#12a38d}.viewport-hint{position:absolute;bottom:12px;left:22px;font-size:10px;letter-spacing:.015em;color:#6d807a;pointer-events:none}.path-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px 26px;padding:19px 24px;background:#fff;border-top:1px solid var(--house-border)}.path-stat{display:flex;flex-direction:column;gap:3px;min-width:0;padding-left:12px;border-left:3px solid var(--house-purple)}.path-stat.aided{border-color:#129e8a}.path-label{font-size:9px;letter-spacing:.1em;color:var(--house-muted);font-weight:700}.path-stat strong{font-size:17px;font-weight:650;line-height:1.35}.path-stat>span:last-child{font-size:10px;color:var(--house-muted)}.evidence-label{grid-column:1/-1;margin:0;font-size:10px;color:#758382}.house-inspector{background:#fff;border-left:1px solid var(--house-border);min-width:0}.inspector-section{padding:22px;border-bottom:1px solid var(--house-border)}.section-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px}.section-number{color:#7a9690;font-size:10px;font-weight:700;letter-spacing:.06em}.section-heading h2{font-size:15px;line-height:1.3;font-weight:650;margin:0}.inspector-section p{font-size:11px;color:var(--house-muted);line-height:1.65;margin:8px 0 12px}.inspector-section p strong{font-weight:600;color:#415a57}.scene-facts{margin:12px 0 15px;font-size:11px}.scene-facts>div,.native-results>div{display:flex;gap:12px;justify-content:space-between;padding:6px 0}.scene-facts dt{color:#6e817e}.scene-facts dd{margin:0;text-align:right;font-weight:500}.inspector-section details{font-size:11px}.inspector-section summary{cursor:pointer;color:#557970;line-height:1.5}.inspector-section details p{font-size:10px}.placement-list{display:flex;flex-direction:column;gap:7px}.placement{display:flex;align-items:center;gap:10px;padding:10px;background:#fafcfb;text-align:left;width:100%;border:1px solid #e2e8e7;border-radius:7px}.placement>span{display:flex;flex-direction:column;min-width:0;flex:1}.placement strong{font-size:11px;font-weight:600}.placement small{font-size:9px;color:#78908a;margin-top:2px}.placement code{font-size:9px;color:#688179;white-space:nowrap;display:none}.placement[aria-pressed=true]{border-color:#32a48d;background:#f0faf6}.small-note{font-size:10px!important}.selection-note{font-size:10px;line-height:1.6;padding:9px 10px;background:#edf5f0;border-radius:5px;color:#527069;margin:8px 0 14px}.field{display:flex;flex-direction:column;font-size:10px;font-weight:600;color:#6b7f7a;gap:5px;margin:12px 0}.field select{padding:9px 8px;border:1px solid #cedcda;border-radius:5px;background:white;color:#233f37;min-width:0;font-size:11px}.array-info{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0 14px;padding:11px;border:1px solid #c9e0d6;border-radius:6px;background:#f4f9f5}.array-info strong{font-size:14px;font-weight:650}.array-info>span{font-size:10px;color:#628175}.model-note{padding-left:10px;border-left:2px solid #c7aa66}.text-link{font-size:11px;font-weight:600;text-decoration:none}.text-link:hover{text-decoration:underline}.solver-section{background:#f7faf8}.solver-status{font-size:10px;font-weight:600;color:#7d6a43;margin:0 0 10px}.solver-status.ready{color:#087f72}.solver-status.error{color:#a04e38}.solve-buttons{display:flex;gap:8px;flex-wrap:wrap}.primary{background:#087f72;color:white;border-color:#087f72;padding:11px 13px;font-weight:550;font-size:11px;flex:1}.primary:hover:not(:disabled){background:#086c61;color:white;border-color:#086c61}#cancelHouse{font-size:10px}#downloadHouse{font-size:10px;margin-bottom:14px}.text-button{border:0;background:transparent;padding:8px 0;color:#688278;font-size:10px}.progress-message{font-size:11px;color:#54776b;line-height:1.6;overflow-wrap:anywhere}.native-results{font-size:11px;margin:10px 0}.native-results dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums}.native-results .result-gain{border-top:1px solid #cddbd5;color:#087f72;padding-top:9px}.coverage-legend{font-size:10px;background:#f0f5f3;padding:9px;color:#4d6c60;line-height:1.5}.coverage-legend span{display:block}.house-room-label{position:absolute;pointer-events:none;color:#4e6660;text-transform:uppercase;letter-spacing:.055em;font-size:10px;font-weight:600;text-align:center;text-shadow:0 1px 3px white,0 0 6px white;transform:translate(-50%,-50%)}[hidden]{display:none!important}
@media(min-width:1650px){.house-layout{grid-template-columns:minmax(0,1fr) 380px}.inspector-section{padding:25px}.house-header{padding:28px 35px}.house-viewport{height:calc(100vh - 323px)}.placement code{display:block}}
@media(max-width:1100px){.design-stages{gap:10px;font-size:10px}.design-stages .stage-link{display:none}.house-header{padding:20px}.house-layout{grid-template-columns:minmax(0,1fr) 310px}.scene-toolbar{gap:9px;padding:10px 14px}.check-control{margin-left:0}.house-viewport{min-height:460px}.path-summary{padding:15px;gap:10px}.path-stat strong{font-size:15px}.scene-legend{gap:9px;left:14px}.inspector-section{padding:18px}}
@media(max-width:760px){.house-header{display:block;padding:18px 16px}.house-header h1{font-size:25px}.design-stages{margin-top:16px;gap:18px}.house-subtitle{font-size:11px;max-width:350px}.house-layout{display:block}.scene-stage{position:relative}.house-viewport{height:58vh;min-height:400px;max-height:650px}.house-inspector{border-left:0;display:grid;grid-template-columns:1fr 1fr}.inspector-section{min-width:0;border-right:1px solid var(--house-border)}.scene-dimensions{top:15px;left:16px}.path-summary{gap:10px 15px}.scene-toolbar{min-height:60px}.scene-legend{font-size:9px;bottom:38px}.viewport-hint{font-size:9px;left:14px}.house-room-label{font-size:8px}}
@media(max-width:480px){.house-inspector{display:block}.house-viewport{min-height:380px;height:53vh}.check-control{font-size:10px}.inline-control{font-size:10px}#resetCamera{font-size:10px}.scene-toolbar{gap:8px}.button-group button{font-size:11px;padding:6px 10px}.path-stat strong{font-size:14px}.path-label{font-size:8px}.scene-legend{max-width:calc(100% - 28px);flex-wrap:wrap;gap:7px;padding:6px 8px}.inspector-section{padding:20px}.placement code{display:block}.house-subtitle{max-width:310px}}

.case-picker{display:flex;align-items:center;gap:1rem;margin:0;padding:16px 30px;font-weight:650}.case-picker select{min-width:270px;padding:.7rem 1rem;border:1px solid #d6dce6;border-radius:8px;background:white;color:#193044;font:inherit}.phase-preview{display:flex;gap:1rem;align-items:center;margin:1rem 0}.phase-preview canvas{width:112px;height:112px;image-rendering:pixelated;border-radius:4px}.phase-preview strong{font-size:.85rem}.phase-scale{font-size:.7rem;color:#617181}.phase-preview .small-note{margin:.45rem 0}@media(max-width:600px){.case-picker{align-items:stretch;flex-direction:column;gap:.4rem}.case-picker select{min-width:0;width:100%}}
