#detail.vwh-dialog{width:min(1600px,98vw);max-height:96dvh;padding:20px}
.vwh-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.vwh-heading h2{margin:0}
.vwh-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.vwh-toolbar button{min-height:44px;padding:9px 12px}
.vwh-body{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start}
.vwh-stage{min-width:0;border:1px solid var(--line,#ddd);border-radius:12px;background:#faf8fc;overflow:hidden}
.vwh-stage svg{display:block;width:100%;height:58vh;min-height:340px;touch-action:none;user-select:none}
.vwh-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px;border-bottom:1px solid var(--line,#ddd)}
.vwh-tools label{margin:0;display:flex;flex-direction:row;align-items:center;gap:6px}
.vwh-inspector{border:1px solid var(--line,#ddd);border-radius:12px;padding:14px;max-height:68vh;overflow:auto;min-width:0}
.vwh-inspector h3{margin-top:0}.vwh-inspector label{display:flex;margin:0 0 10px;gap:5px;min-width:0}.vwh-inspector input,.vwh-inspector select{width:100%;min-width:0;min-height:44px}
.vwh-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.vwh-fields .wide{grid-column:1/-1}
.vwh-summary{display:flex;gap:8px 18px;flex-wrap:wrap;padding:10px 0;font-size:14px}
.vwh-message{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;margin:8px 0}.vwh-message.error{color:#a43120}
.vwh-help{font-size:13px;line-height:1.6;color:var(--muted,#68818e)}
.vwh-inspector .vwh-cell-toggle{flex-direction:row;align-items:center;gap:8px}.vwh-inspector .vwh-cell-toggle input{width:24px;min-width:24px;min-height:24px}
.vwh-map-svg{display:block;width:100%;min-height:340px;max-height:75vh;background:#faf8fc;border:1px solid var(--line,#ddd);border-radius:12px}
.vwh-map-svg [data-location]{cursor:pointer}.vwh-map-svg [data-location]:focus{outline:none;stroke:#d5ad50;stroke-width:.25}
@media(max-width:800px){#detail.vwh-dialog{padding:12px}.vwh-body{grid-template-columns:1fr}.vwh-stage svg{height:45vh;min-height:300px}.vwh-inspector{max-height:none}.vwh-toolbar button{flex:1 1 120px}.vwh-fields{grid-template-columns:1fr 1fr}}
