/* Spatial columns share the viewer's ATAC colors and ordinary page flow. */
.spatial-height-view{width:100%;min-width:0;border:1px solid #48535c;border-radius:3px;background:#252a2e;color:#e5f3f4;overflow:visible}
.spatial-height-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:7px 8px;border-bottom:1px solid #48535c;background:#30373e}
.spatial-height-heading>h2{margin:0;font-size:12px;line-height:1.5;font-weight:400}
.spatial-height-heading>button{min-height:28px;padding:3px 7px;font-size:10px}
.spatial-height-status,.spatial-height-caption,.spatial-height-detail{font-size:10px;line-height:1.6;margin:0;padding:6px 8px;overflow-wrap:anywhere;color:#bdc6cd}
.spatial-height-status{color:#b9d7cc}
[data-spatial-state=error]>.spatial-height-status{color:#ffc8a7}
.spatial-height-stage{position:relative;min-width:0;height:max(280px,var(--visio-room,40dvh));background:#102129}
.spatial-height-stage>canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}
.spatial-height-stage>canvas:active{cursor:grabbing}
.spatial-height-visual-controls{padding:7px}
.spatial-height-controls{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;min-width:0;margin-top:6px}
.spatial-height-scale{display:grid;grid-template-columns:minmax(0,1fr) 34px;align-items:center;gap:1px 5px;min-width:0;width:100%;min-height:49px;margin:0;padding:4px 6px;border:1px solid #48535c;border-radius:3px;background:#30373e;color:#d5e8e1;font-size:10px;line-height:1.5}
.spatial-height-scale>span{grid-column:1/-1;font-size:10px}
.spatial-height-scale>input{width:100%;max-width:100%;min-width:0;height:24px;min-height:24px;padding:0;accent-color:#75d5bc}
.spatial-height-scale>output{min-width:24px;text-align:right}
.spatial-height-colorbar{min-width:0;padding:7px 0;font-size:10px;line-height:1.5;color:#bdc6cd}
.spatial-height-color-toggle,.spatial-height-auto-range{display:flex;gap:5px;align-items:center;min-width:0;font-size:10px;margin:0}
.spatial-height-colorbar input[type=checkbox]{width:14px;height:14px;min-height:14px;flex:none;margin:0}
.spatial-height-color-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-width:0;margin-top:7px}
.spatial-height-color-fields>label{display:block;min-width:0;font-size:9px}
.spatial-height-color-fields>label:first-child,.spatial-height-color-fields>.spatial-height-auto-range{grid-column:1/-1}
.spatial-height-color-fields>.spatial-height-auto-range{display:flex}
.spatial-height-color-fields select,.spatial-height-color-fields input[type=number]{display:block;width:100%;max-width:100%;min-width:0;height:28px;min-height:28px;padding:3px 4px;font-size:10px}
.spatial-height-custom{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-width:0}
.spatial-height-custom>label{font-size:9px;min-width:0}
.spatial-height-custom input{display:block;width:100%;max-width:100%;min-width:0;height:28px;min-height:28px;padding:2px}
.spatial-height-color-fields[hidden],.spatial-height-custom[hidden]{display:none!important}
.spatial-height-range-error{margin:5px 0 0;font-size:9px;line-height:1.5;color:#ffc8a7;overflow-wrap:anywhere}
.spatial-height-range-error:empty{display:none}
.spatial-height-exportbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:6px;padding:6px 8px;border-bottom:1px solid #48535c;background:#30373e;min-width:0}
.spatial-height-exportbar>label{display:flex;align-items:center;flex-wrap:wrap;gap:4px;min-width:0;font-size:9px;color:#bdc6cd}
.spatial-height-exportbar select{width:auto;max-width:140px;min-width:0;min-height:28px;height:28px;padding:3px 4px;font-size:10px}
.spatial-height-exportbar>button{min-height:28px;padding:3px 7px;font-size:10px}
.spatial-height-export-status{font-size:9px;line-height:1.5;color:#b9d7cc;padding:5px 8px;margin:0;overflow-wrap:anywhere}
.spatial-height-export-status:empty{display:none}
.spatial-height-caption{border-top:1px solid #48535c;font-size:9px;color:#91a9ad}
.spatial-height-detail:empty{display:none}
@media(max-width:760px){.spatial-height-stage{height:max(340px,var(--visio-room,40dvh))}.spatial-height-heading>button{min-height:32px}.spatial-height-status{font-size:10px}.spatial-height-scale{font-size:10px}.spatial-height-exportbar select,.spatial-height-exportbar>button{min-height:32px}}
