/* One annotated view is shared by the page and its enlarged viewer. */
.semi-section-view {position:relative;display:block;isolation:isolate;}
.semi-section-view>img {display:block;width:100%;height:auto;}
.semi-section-view .semi-section-leaders {position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2;}
.semi-section-view .wall-section-marker {position:absolute;z-index:3;display:grid;place-items:center;width:28px;height:28px;transform:translate(-50%,-50%);box-sizing:border-box;border:2px solid #fff;border-radius:50%;background:#244e44;color:#fff;font:700 16px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;box-shadow:0 1px 4px #17212040;}
main.semi-recessed-page #fit .semi-section-view .marker-rear,.semi-section-dialog .marker-rear {left:16%;top:60%;}
main.semi-recessed-page #fit .semi-section-view .marker-face,.semi-section-dialog .marker-face {left:46%;top:91%;}
main.semi-recessed-page #fit .semi-section-view .marker-door,.semi-section-dialog .marker-door {left:80%;top:28%;}
.semi-section-view .wall-limit-line {position:absolute;z-index:1;top:15%;bottom:13%;border-inline-start:2px dashed #6c3e17;filter:drop-shadow(0 0 2px #fff);pointer-events:none;}
main.semi-recessed-page #fit .semi-section-view .wall-finished-line,.semi-section-dialog .wall-finished-line {left:33.7%;top:14%;bottom:7%;border-inline-start:2px solid #fcfcf8;filter:drop-shadow(0 0 2px #172120);}
main.semi-recessed-page #fit .semi-section-view :is(.wall-limit-back,.marker-limit-back),.semi-section-dialog :is(.wall-limit-back,.marker-limit-back) {left:24%;}
main.semi-recessed-page #fit .semi-section-view :is(.wall-limit-front,.marker-limit-front),.semi-section-dialog :is(.wall-limit-front,.marker-limit-front) {left:64%;}
.semi-section-view .wall-limit-marker {top:16%;background:#f6e3c6;color:#583614;border-color:#6c3e17;}
.semi-section-view:focus-visible,.semi-section-dialog button:focus-visible {outline:3px solid #244e44;outline-offset:3px;}
html.semi-section-modal-open {overflow:hidden;}
.semi-section-dialog {width:min(1100px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 24px);padding:0;margin:auto;border:0;border-radius:8px;background:#fff;color:#172120;box-shadow:0 16px 70px #0005;font:16px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;}
.semi-section-dialog::backdrop {background:#10241fd9;}
.semi-section-toolbar {display:flex;align-items:center;gap:10px;padding:10px 16px;border-bottom:1px solid #d6dfdb;}
.semi-section-toolbar h2 {margin:0 auto 0 0;font:600 20px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;letter-spacing:normal!important;}
.semi-section-dialog button {min-height:44px;padding:8px 14px;border:1px solid #b5c7be;border-radius:4px;background:#fff;color:#244e44;font:inherit;font-size:16px;font-weight:600;line-height:1.2;cursor:pointer;}
.semi-section-dialog .semi-section-close {font:400 28px/1 sans-serif;width:44px;padding:4px;flex-shrink:0;}
.semi-section-stage {overflow:auto;max-height:calc(100dvh - 200px);overscroll-behavior:contain;background:#eee8df;}
.semi-section-stage .semi-section-view {width:min(100%,calc((100dvh - 200px)*1.5));margin-inline:auto;}
.semi-section-stage[data-zoomed="true"] .semi-section-view {width:max(100%,1400px);}
.semi-section-legend {display:flex;flex-wrap:wrap;gap:5px 18px;padding:10px 16px;margin:0;list-style:none;font-size:14px;}
.semi-section-legend li {display:flex;gap:6px;align-items:baseline;}
.semi-section-legend b {color:#244e44;}
@media(max-width:600px){
 .semi-section-view .wall-section-marker {width:26px;height:26px;font-size:15px;}
 .semi-section-dialog {width:calc(100vw - 16px);max-height:calc(100dvh - 16px);}
 .semi-section-toolbar {padding:8px;gap:6px;}
 .semi-section-toolbar h2 {font-size:18px!important;}
 .semi-section-dialog button {padding:8px 10px;}
 .semi-section-stage {max-height:calc(100dvh - 210px);}
 .semi-section-stage[data-zoomed="true"] .semi-section-view {width:max(100%,760px);}
 .semi-section-legend {gap:5px 12px;padding:10px 12px;}
}
@media(max-height:450px){.semi-section-dialog{max-height:calc(100dvh - 12px);}.semi-section-stage{max-height:calc(100dvh - 154px);}.semi-section-stage .semi-section-view{width:min(100%,calc((100dvh - 154px)*1.5));}.semi-section-legend{padding:6px 12px;font-size:13px;}}

.semi-section-view .semi-section-leaders g:nth-child(1) path {vector-effect:non-scaling-stroke;stroke-width:3.4px;}
.semi-section-view .semi-section-leaders g:nth-child(2) path {vector-effect:non-scaling-stroke;stroke-width:1.3px;}
a.semi-section-view[aria-haspopup="dialog"] {cursor:zoom-in;}
