.scheme-ruler-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.scheme-ruler-head .wall-name{margin:0}
.tape-toggle{min-height:38px;padding:7px 12px;border:1px solid #1673d3;border-radius:7px;background:#fff;color:#135b9f;font:700 14px Arial;cursor:pointer}
.tape-toggle.is-active,.iso-controls #isoTapeToggle.is-active{background:#e5f1fc;border-color:#1673d3;color:#135b9f}
.tape-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 10px;padding:10px;border:1px solid #bfd2e5;border-radius:8px;background:#f3f8fd}
.tape-toolbar[hidden],.tape-canvas[hidden]{display:none!important}
.tape-modes{display:flex;flex-wrap:wrap;gap:4px}
.tape-toolbar button{min-height:36px;padding:6px 10px;border:1px solid #b7c8d9;border-radius:6px;background:#fff;color:#24577d;font:700 14px Arial;cursor:pointer}
.tape-toolbar button.is-active{background:#1769aa;border-color:#1769aa;color:#fff}
.tape-toolbar output{flex:1 1 180px;font-size:16px;font-weight:800;color:#134d7c}
.tape-hint{flex:0 0 100%;margin:0;font-size:14px;line-height:1.4;color:#52676f}
.tape-canvas{position:absolute;inset:0;width:100%;height:100%;background:transparent!important;pointer-events:none;z-index:30}
#scene:focus-visible,#isoCanvas:focus-visible{outline:2px solid #1769aa;outline-offset:2px}
body[data-tape-measure-active="true"] #scene,body[data-tape-measure-active="true"] #isoCanvas{cursor:crosshair;touch-action:none}
body[data-tape-measure-active="true"][data-tape-hover="move"] #scene,body[data-tape-measure-active="true"][data-tape-hover="move"] #isoCanvas{cursor:grab}
body[data-tape-measure-active="true"][data-tape-gesture="move"] #scene,body[data-tape-measure-active="true"][data-tape-gesture="move"] #isoCanvas{cursor:grabbing}
body[data-tape-measure-active="true"] .scene-measurement,body[data-tape-measure-active="true"] .scene-vertical-measurement:not(.scene-auto-height){display:none!important}
.scene-measure-segment span,.scene-vertical-measurement>span{font-size:14px;line-height:1.3}
@media(max-width:600px){.tape-toolbar{padding:8px}.tape-toolbar output{flex-basis:100%}.scene-measure-segment span,.scene-vertical-measurement>span{font-size:12px}.tape-modes{flex:1 1 100%}}
@media print{.scheme-ruler-head .tape-toggle,.tape-toolbar{display:none!important}}

.iso-viewport,.scene{isolation:isolate}
.scene-auto-height{border-left:1px solid #a0b1bf;color:#526579;filter:none}
.scene-auto-height::before,.scene-auto-height::after{left:-4px;width:8px;border-top-width:1px}
.scene-auto-height-level{position:absolute;top:0;height:0;border-top:1px dashed #a0b1bf80}
.scene-auto-height>span{width:150px;white-space:normal;border-color:#deb24e;background:#fff5d6f2;box-shadow:none;font-size:14px;font-weight:400;line-height:1.3}
.scene-auto-height>span b{font-size:22px;font-weight:800;font-variant-numeric:tabular-nums;color:#694200}
.scene-auto-height>span small{font-size:12px;font-weight:400;color:#627688;line-height:1.3}
@media print{.scene-auto-height:not([hidden]){display:block!important}}
