.plot-actions,.plot-toolbar,.plot-legend,.plot-symbols,.plot-footnotes { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.plot-toolbar { justify-content:space-between; padding:12px 16px; font-size:12px; color:#64748b; }
.plot-panel { padding:0; overflow:hidden; }
.plot-viewport { position:relative; width:100%; background:#fff; overflow:hidden; touch-action:none; cursor:grab; }
.plot-viewport:active { cursor:grabbing; }
.plot-viewport svg { width:100%; display:block; min-height:280px; }
.plot-viewport a { cursor:pointer; outline:none; }
.plot-viewport a:hover .plot-symbol,.plot-viewport a:focus .plot-symbol { filter:drop-shadow(0 0 3px #0f172a); stroke-width:3; }
.plot-trace { fill:none; stroke:#263c53; stroke-width:2; vector-effect:non-scaling-stroke; }
.plot-trace.estimated { stroke-width:1.4; opacity:.8; }
.plot-trace.future { stroke-dasharray:7 5; stroke-width:2; opacity:.8; }
.plot-symbol { stroke-width:2.2; vector-effect:non-scaling-stroke; }
.plot-legend { padding:14px 16px 0; }
.plot-legend button { color:#334155; background:#f1f5f9; border:1px solid #cbd5e1; border-radius:20px; padding:5px 12px; font-size:12px; display:flex; gap:7px; align-items:center; }
.plot-legend button[aria-pressed="false"] { opacity:.45; text-decoration:line-through; }
.plot-colour { width:10px; height:10px; border-radius:50%; display:inline-block; }
.plot-symbols { padding:0 16px; margin:14px 0 10px; font-size:12px; color:#475569; }
.plot-detail { padding:0 16px 14px; margin:0; min-height:40px; color:#334155; font-size:13px; }
.plot-tooltip { position:absolute; z-index:5; pointer-events:none; max-width:min(360px, calc(100% - 16px)); padding:8px 10px; border:1px solid #cbd5e1; border-radius:6px; background:#fff; color:#1e293b; box-shadow:0 3px 12px #0002; font-size:12px; line-height:1.5; }
.plot-tooltip[hidden] { display:none; }
.survey-geometry-warning { color:#b91c1c; font-weight:700; }
.plot-footnotes { justify-content:space-between; margin:12px 0; color:#64748b; font-size:12px; }
.plot-issues { margin-top:12px; padding:16px; font-size:13px; }
.plot-issues summary { cursor:pointer; font-weight:600; }
.survey-panel { margin-top:16px; }
.survey-panel p,.survey-panel details { margin:12px 16px; }
.survey-scroll { overflow:auto; max-height:550px; }
.survey-table { width:100%; border-collapse:collapse; font-size:13px; }
.survey-table th,.survey-table td { text-align:left; padding:9px 12px; border-bottom:1px solid #e2e8f0; }
.survey-table th { background:#f8fafc; position:sticky; top:0; }
.survey-import-job { margin-top:16px; }
.survey-csv-upload { padding:20px; }
.survey-csv-upload h2 { margin:0 0 10px; }
.survey-csv-upload p { line-height:1.5; }
.survey-csv-upload .compact-form { padding:0; margin:18px 0; }
.survey-csv-upload .help-text { margin-bottom:0; font-size:13px; }
.survey-import-job > p,.survey-import-job > details { margin:16px 20px; }
.survey-import-job .panel-heading { gap:16px; align-items:flex-start; }
.survey-import-job .panel-heading h2 { font-size:15px; overflow-wrap:anywhere; }
.survey-import-job .panel-heading small { white-space:nowrap; }
.survey-import-job summary,.survey-download-settings summary { cursor:pointer; }
.survey-download-settings { padding:16px 20px; margin-top:18px; }
.survey-import-item { border-top:1px solid #e2e8f0; padding:12px 0; }
.survey-import-item form { margin-top:8px; }
.plot-notice { padding:14px 18px; background:#eff6ff; border:1px solid #bfdbfe; border-radius:8px; }
@media(max-width:760px) { .plot-toolbar>span { display:none; } .plot-viewport svg { min-height:200px; } .plot-actions { gap:6px; } }
