/* Shared by the three.js demo viewers (bim.html, plant.html). */
html, body { margin: 0; height: 100%; background: #0b131f; color: #e6f0fc; font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; overflow: hidden; }
canvas { display: block; }
.panel { position: absolute; z-index: 2; background: rgba(11, 19, 31, .88); border: 1px solid rgba(255, 255, 255, .15); border-radius: 12px; padding: 10px 12px; }
#controls { top: 10px; left: 10px; width: 226px; max-height: calc(100% - 44px); overflow: auto; }
#info { top: 10px; right: 10px; width: 210px; max-height: calc(100% - 44px); overflow: auto; }
h1 { font-size: 11px; margin: 0 0 8px; color: #00b8d7; letter-spacing: .08em; font-weight: 600; }
h1:not(:first-child) { margin-top: 10px; }
button { font: inherit; color: #d0e2fa; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px; padding: 5px 8px; cursor: pointer; }
button[aria-pressed=true] { background: #066cf4; color: #fff; font-weight: 700; border-color: #066cf4; }
.row { display: flex; flex-wrap: wrap; gap: 4px; }
input[type=range] { width: 100%; accent-color: #00b8d7; }
label { display: block; color: #a9b0ba; margin-top: 8px; }
dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; margin: 0; }
dt { color: #a9b0ba; } dd { margin: 0; text-align: right; color: #fff; }
small { color: #a9b0ba; display: block; margin-top: 8px; line-height: 1.5; }
#msg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: #a9b0ba; z-index: 1; pointer-events: none; }
@media (max-width: 560px) { #controls { width: 160px; } #info { top: auto; bottom: 10px; left: 10px; right: 10px; width: auto; max-height: 30%; } }
.shot .panel { display: none; }
.panel { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent; }
