:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--ink:#14211f;--paper:#f4f7f5;--accent:#006c5b;--line:#c9d6d1}*{box-sizing:border-box}body{background:var(--paper);min-height:100vh;color:var(--ink);margin:0;font-family:Arial,sans-serif}a,button,input,select{font:inherit}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #f0a202}.home-shell{width:min(760px,100% - 32px);margin:0 auto;padding:72px 0}.eyebrow{color:var(--accent);letter-spacing:.12em;font-weight:800}.primary-link{background:var(--accent);color:#fff;border-radius:8px;align-items:center;min-height:44px;margin-top:16px;padding:0 18px;text-decoration:none;display:inline-flex}.home-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.secondary-link{border:1px solid var(--accent);min-height:44px;color:var(--accent);border-radius:8px;align-items:center;margin-top:16px;padding:0 18px;text-decoration:none;display:inline-flex}.wall-shell{width:min(1180px,100% - 32px);margin:0 auto;padding:32px 0 56px}.wall-card{border:1px solid var(--line);background:#fff;border-radius:14px;margin:18px 0;padding:24px;box-shadow:0 8px 22px #14211f0f}.wall-lead{max-width:820px}.wall-lead h1{margin:8px 0 12px;font-size:clamp(2rem,4vw,3.5rem)}.wall-lead p{line-height:1.6}.wall-input-row,.wall-fields,.wall-actions,.wall-areas{flex-wrap:wrap;align-items:end;gap:14px;display:flex}.wall-fields label,.wall-opening label,.wall-card>label{gap:6px;font-weight:700;display:grid}.wall-fields label{flex:170px}textarea,input,select,button,.secondary-button{border:1px solid var(--line);min-height:44px;color:var(--ink);background:#fff;border-radius:8px;padding:9px 11px}textarea{resize:vertical;width:100%;margin-top:8px}button,.secondary-button{cursor:pointer;background:var(--accent);color:#fff;font-weight:700}button:disabled{cursor:wait;opacity:.6}.secondary-button{color:var(--accent);background:0 0;align-items:center;display:inline-flex}.secondary-button input{display:none}.wall-feedback,.wall-notice,.wall-provenance,.wall-help{border-left:4px solid var(--accent);background:#eaf3f0;padding:12px 14px}.wall-question-list{background:#fff5df;border-left:4px solid #d58100;margin-top:18px;padding:12px 16px}.wall-opening{border-top:1px solid var(--line);align-items:end;gap:16px;margin-top:14px;padding-top:14px;display:flex}.wall-areas{margin:16px 0}.wall-areas span{background:var(--paper);border-radius:8px;flex:150px;padding:14px}.wall-table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:640px}th,td{border-bottom:1px solid var(--line);text-align:left;padding:11px}.wall-views{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0;display:grid}.wall-view{border:1px solid var(--line);background:#fff;border-radius:14px;min-height:220px;padding:16px}.wall-view h3{margin-top:0}.wall-view svg{width:100%;height:160px;display:block}.wall-view rect{fill:#6ca99b;stroke:#14211f;stroke-width:.8px}.wall-view-3d{align-content:start;display:grid}@media (max-width:720px){.wall-shell{width:min(100% - 20px,620px);padding-top:20px}.wall-card{padding:17px}.wall-actions>*{flex:100%}.wall-views{grid-template-columns:1fr}.wall-opening{flex-direction:column;align-items:stretch}}.structure-shell{width:min(1180px,100% - 32px);margin:0 auto;padding:32px 0 56px}.structure-lead{max-width:900px}.structure-lead h1{margin:8px 0 12px;font-size:clamp(2rem,4vw,3.5rem)}.structure-lead p{line-height:1.6}.structure-nav{flex-wrap:wrap;gap:16px;margin:18px 0;display:flex}.structure-nav a{color:var(--accent);font-weight:700}.structure-card{border:1px solid var(--line);background:#fff;border-radius:14px;margin:18px 0;padding:24px;box-shadow:0 8px 22px #14211f0f}.structure-tabs{flex-wrap:wrap;gap:8px;margin-bottom:22px;display:flex}.structure-tab{border:1px solid var(--line);background:var(--paper);color:var(--ink)}.structure-tab.active{background:var(--accent);color:#fff;border-color:var(--accent)}.structure-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px;display:grid}.structure-field{gap:6px;font-weight:700;display:grid}.structure-fieldset{border:1px solid var(--line);border-radius:10px;margin:0 0 18px;padding:16px}.structure-fieldset legend{padding:0 8px;font-weight:800}.structure-fieldset p{color:#536762;margin-top:0}.structure-feedback,.structure-notice,.structure-provenance{border-left:4px solid var(--accent);background:#eaf3f0;padding:12px 14px}.structure-metrics{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:16px 0 22px;display:grid}.structure-metrics span{background:var(--paper);border-radius:8px;gap:5px;padding:14px;display:grid}.structure-metrics small{color:#536762}.structure-metrics strong{font-size:1.2rem}.house-element-counts{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:16px 0 22px;display:grid}.house-element-count{background:var(--paper);color:#536762;border-radius:8px;align-items:baseline;gap:6px;padding:11px 12px;display:flex}.house-element-count strong{color:var(--ink);font-size:1.15rem}.structure-table-wrap{overflow-x:auto}.structure-note{color:#536762;margin-top:5px;display:block}.structure-sources{background:var(--paper);border-radius:8px;margin-top:18px;padding:12px 14px}.structure-sources h3{margin:0 0 6px}.structure-sources li{margin:6px 0}.structure-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.structure-columns h3{margin-bottom:6px}.structure-columns li{margin:8px 0}.structure-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px;display:flex}.structure-wall-link{border-left:4px solid var(--accent);background:var(--paper);padding:18px}.structure-views{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:22px;display:grid}.structure-view{border:1px solid var(--line);background:#fff;border-radius:14px;min-height:220px;padding:16px}.structure-view h3{margin-top:0}.structure-view svg{width:100%;height:160px;display:block}.structure-view rect,.structure-view polygon{fill:#6ca99b;stroke:#14211f;stroke-width:.8px}.structure-view .scene-column{fill:#2d6a8a}.structure-view .scene-beam{fill:#3d7d94}.structure-view .scene-plate{fill:#87b6aa}.structure-view .scene-strip,.structure-view .scene-pad{fill:#a4773c}.structure-view .scene-step,.structure-view .scene-landing{fill:#8eaa9c}.structure-view .scene-gable-roof{fill:#b56b42}.structure-view .scene-bar{fill:#d17c34}.structure-view-3d{align-content:start;gap:8px;display:grid}.structure-3d-viewport{gap:8px;display:grid}.structure-3d-canvas{border:1px solid var(--line);cursor:grab;touch-action:none;background:#f4f7f5;border-radius:10px;width:100%;min-height:270px;overflow:hidden}.structure-3d-canvas:active{cursor:grabbing}.structure-3d-canvas canvas{width:100%;height:270px;display:block}.structure-3d-toolbar{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.structure-3d-toolbar button{min-height:36px;padding:6px 12px}.structure-3d-fallback{background:#fff5df;border-left:4px solid #d58100;margin:0;padding:10px}.project-element-list{gap:10px;padding:0;list-style:none;display:grid}.project-element-list li{border:1px solid var(--line);background:var(--paper);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}@media (max-width:720px){.structure-shell{width:min(100% - 20px,620px);padding-top:20px}.structure-card{padding:17px}.structure-fields,.structure-columns{grid-template-columns:1fr}.structure-tabs{grid-template-columns:1fr;display:grid}}
