#scene-2d .schematic-scroll{display:block;background:#e5e5e5;border-color:var(--line);padding:18px;min-height:0;max-height:75vh;overflow:auto;overscroll-behavior:contain}
#scene-2d #schematic{display:block;width:100%;height:auto!important;min-width:0;min-height:0;max-height:none;margin-inline:auto;background:#fff;box-shadow:0 2px 10px #0003}
#scene-2d .plan-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}
#scene-2d .plan-toolbar>div{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
#scene-2d .plan-toolbar button{min-height:44px;font-size:12px;padding-inline:12px}
#scene-2d .plan-toolbar>span{margin:0 auto 0 0;color:var(--muted);font-size:12px}
#scene-2d .plan-toolbar output{min-width:45px;text-align:center;font-size:12px;font-variant-numeric:tabular-nums}
#scene-2d .plan-note{font-size:12px;color:var(--muted);line-height:1.6;margin-top:10px}
#scene-2d .plot-tag[role=button],#scene-2d .plot-section[role=button]{cursor:pointer;outline:none}
#scene-2d .plot-tag[role=button]:focus .plot-tag-mask{stroke:#0958d9;stroke-width:2}
#scene-2d .plot-section[role=button]:focus .plot-center{stroke:#0958d9;stroke-width:3}
.plan-full-dialog{width:calc(100vw - 24px);height:calc(100dvh - 24px);max-width:none;max-height:none;padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);overflow:auto}.plan-full-dialog::backdrop{background:#000b}.plan-full-dialog #scene-2d{height:100%;display:flex;flex-direction:column}.plan-full-dialog #scene-2d .schematic-scroll{flex:1;max-height:calc(100dvh - 165px)}.plan-full-dialog .plan-toolbar{flex-shrink:0}.plan-full-dialog .plan-note{flex-shrink:0}
@media(max-width:520px){#scene-2d .schematic-scroll{padding:10px;max-height:68vh}.plan-toolbar>div{width:100%}.plan-toolbar button{flex:1}}
@media print{#scene-2d .schematic-scroll{overflow:visible;max-height:none;padding:0;border:0;background:#fff}#scene-2d #schematic{min-width:0!important;width:100%!important;height:auto!important;box-shadow:none}#scene-2d .plan-toolbar,#scene-2d .plan-note{display:none!important}}
