#regionLayerDialog{width:min(1320px,96vw);max-width:96vw;height:92vh;max-height:92vh;box-sizing:border-box;background:#171c20;color:#eef3f4;border:1px solid #536166;border-radius:14px;padding:18px;overflow:hidden}#regionLayerDialog::backdrop{background:#000b}#regionLayerDialog header{display:flex;justify-content:space-between;gap:16px;padding-bottom:12px}#regionLayerDialog h2{margin:0 0 6px;font-size:19px}#regionLayerDialog small,.rl-help{color:#adbcc2;line-height:1.5;font-size:12px}#regionLayerDialog .rl-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;height:calc(100% - 68px)}.rl-view{display:flex;flex-direction:column;min-height:0;min-width:0}#rlCanvasBox{overflow:auto;flex:1;min-height:0;background:repeating-conic-gradient(#252c31 0% 25%,#303940 0% 50%) 50% / 20px 20px}#rlCanvas{display:block;width:100%;height:auto;touch-action:none;cursor:crosshair}.rl-view-tools{display:flex;gap:12px;padding-top:12px;flex-wrap:wrap}.rl-controls{overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding-right:8px}.rl-controls h3,.rl-controls p{margin:0}.rl-controls label{display:flex;flex-direction:column;gap:6px;font-size:13px}.rl-controls output{color:#73dbd1}.rl-controls input[type=range]{width:100%;accent-color:#40cec2}.rl-row{display:flex;gap:8px}.rl-row>*{flex:1}#regionLayerDialog button{padding:10px 12px;border-radius:7px;background:#29343b;color:#fff;border:1px solid #53646c;cursor:pointer}#regionLayerDialog button[aria-pressed=true],#regionLayerDialog button.primary{background:#166d68;border-color:#42c7b6}#regionLayerDialog button:disabled{opacity:.4;cursor:default}#regionLayerDialog textarea,#regionLayerDialog select{background:#222a30;color:#fff;border:1px solid #56636b;padding:8px;border-radius:6px}#rlStatus{min-height:38px;line-height:1.5;color:#89e1d7;font-size:13px}@media(max-width:780px){#regionLayerDialog .rl-layout{grid-template-columns:minmax(0,1fr) 240px;gap:10px}.rl-view-tools{font-size:11px}#regionLayerDialog{padding:10px}}

#rlCanvas{margin:0 auto}#regionLayerDialog .rl-controls{box-sizing:border-box;width:auto;min-width:0;border:0;background:transparent;padding:0 8px 0 0}#regionLayerDialog header{margin:0;background:transparent;min-height:0}#regionLayerDialog .rl-controls>small{flex-shrink:0}
#editCameraLockPanel .edit-camera-lock,#regionLayerDialog .edit-camera-lock{display:flex;flex-direction:row;align-items:center;gap:8px;line-height:1.5;cursor:pointer}#editCameraLockPanel input[type=checkbox],#regionLayerDialog #rlCameraLock{flex:0 0 auto;width:18px;height:18px;margin:0;accent-color:#40cec2}

.rl-layer-panel{flex:0 0 auto;min-width:0;margin-top:10px;border-top:1px solid #3d5059;padding-top:8px}.rl-layer-panel h3{margin:0 0 6px;font-size:13px}.rl-layer-panel h3 span{color:#73dbd1;margin-left:6px}.rl-layer-panel p{font-size:12px;color:#adbcc2;margin:4px 0}#rlLayers{display:flex;flex-direction:column;gap:5px;max-height:148px;overflow-y:auto;overscroll-behavior:contain}#regionLayerDialog .rl-layer{display:flex;align-items:center;gap:10px;flex-shrink:0;width:100%;min-height:54px;padding:5px 8px;text-align:left}#rlLayers img{width:58px;height:42px;object-fit:contain;background:#111;border-radius:3px}#rlLayers span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}#rlLayers .rl-layer[aria-pressed=true]{outline:1px solid #73dbd1;outline-offset:-2px}@media(max-width:600px){#rlLayers{max-height:124px}.rl-layer-panel{margin-top:6px}}

#rlCanvas{margin:0 auto}#regionLayerDialog .rl-controls{box-sizing:border-box;width:auto;min-width:0;border:0;background:transparent;padding:0 8px 0 0}#regionLayerDialog header{margin:0;background:transparent;min-height:0}#regionLayerDialog .rl-controls>small{flex-shrink:0}
@media(max-width:900px) and (min-height:521px){#regionLayerDialog.rl-has-layers .rl-layout{grid-template-rows:minmax(260px,56%) minmax(0,1fr)}}
.rl-layer-list{display:grid;grid-template-columns:minmax(0,1fr) 30px;gap:5px;min-height:0}#rlLayers{position:relative;scrollbar-width:none;touch-action:pan-y}#rlLayers::-webkit-scrollbar{display:none}.rl-scroll-hint{float:right;font-weight:normal;font-size:11px!important}#regionLayerDialog #rlLayerScroll{box-sizing:border-box;writing-mode:vertical-lr;direction:ltr;appearance:none;-webkit-appearance:none;align-self:stretch;width:30px;height:100%;min-height:0;margin:0;padding:6px 9px;background:transparent;cursor:ns-resize;touch-action:none;border:0;border-radius:8px}#rlLayerScroll::-webkit-slider-runnable-track{width:10px;height:100%;background:#344c58;border-radius:6px}#rlLayerScroll::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:30px;margin-left:-4px;background:#64d9ca;border:1px solid #bcfff4;border-radius:7px}#rlLayerScroll::-moz-range-track{width:10px;background:#344c58;border-radius:6px}#rlLayerScroll::-moz-range-thumb{width:18px;height:30px;background:#64d9ca;border:1px solid #bcfff4;border-radius:7px}#rlLayerScroll:disabled{opacity:.3;cursor:default}#rlLayers:focus-visible,#rlLayerScroll:focus-visible{outline:2px solid #64d9ca;outline-offset:-2px}
