.met-plot-tools{display:grid;gap:12px;min-width:0;padding-top:14px;border-top:1px solid var(--line,#d4e3e9);font:400 12px/1.45 var(--apc-dashboard-font,system-ui,sans-serif)}
.met-plot-tools>header{display:flex;align-items:start;flex-wrap:wrap;gap:5px 10px;justify-content:space-between}.met-plot-tools>header>strong{font-size:15px;color:var(--ink,#032b61)}.met-plot-tools>header>span{font-size:10px;padding:2px 6px;border-radius:5px;background:#e0f5f2;color:#16695d}
.met-plot-tools fieldset{display:grid;gap:10px;min-width:0;padding:0;margin:0;border:0}.met-plot-tools fieldset:disabled{opacity:.55}.met-plot-tools label{display:grid!important;gap:4px!important;min-width:0}.met-plot-tools-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.met-plot-tools input[type=color]{padding:3px;min-width:0;width:100%;cursor:pointer}.met-plot-tools input[type=range]{width:100%}.met-plot-tools output{font-size:11px}.met-plot-tools :is(select,input){width:100%;box-sizing:border-box}.met-plot-tools p,.met-plot-tools small{margin:0;color:var(--muted,#526879)}.met-plot-tools [data-met-account]{display:block;margin-top:6px;padding:7px 10px;color:#032b61;border:1px solid #9dcacb;background:#e9f8f6;border-radius:7px;font:600 12px inherit;cursor:pointer}.met-plot-tools [data-met-account]:hover{background:#cceee7}.met-palette-trigger{cursor:pointer;outline-offset:4px}.met-palette-trigger:focus-visible{outline:2px solid #198ba1}.met-palette-trigger[aria-disabled=true]{cursor:default}.met-plot-reset{font-size:12px!important}
.met-ensemble-group{margin:0 0 7px;border:1px solid var(--line,#d4e3e9);border-radius:7px;overflow:hidden;min-width:0}.met-ensemble-group>summary{cursor:pointer;padding:10px;font-weight:650;font-size:12px;color:var(--ink,#032b61);background:var(--met-surface,#f2f7f9)}.met-ensemble-group[open]>summary{background:var(--met-ice,#e6f3f3)}.met-ensemble-group>div{display:grid;gap:4px;padding:6px}.met-ensemble-group h5{margin:7px 3px 1px;font-size:10px;letter-spacing:.03em;text-transform:uppercase;color:#627782}.met-ensemble-group button{margin:0!important;font-size:12px!important;padding:7px!important}.met-ensemble-group button strong{font-size:12px!important}.met-ensemble-group button small{font-size:10px!important}.met-ensemble-group>summary small{display:block;font-weight:400;color:#496476;margin-top:2px}

.met-meteogram-tools{margin:0 0 12px;border:1px solid #d4e3e9;border-radius:7px;padding:8px 12px}.met-meteogram-tools>summary{font:600 12px system-ui;cursor:pointer}.met-meteogram-tools .met-plot-tools{border:0;padding-top:10px}.met-meteogram-tools fieldset{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));align-items:start}.met-meteogram-tools .met-plot-tools-grid{display:contents}
/* Compact per-series controls, plus only the groups applicable to the current chart. */
.met-plot-tools{gap:8px;padding-top:8px;font-size:11px}.met-plot-tools>header>strong{font-size:13px}.met-plot-tools fieldset{display:flex;flex-direction:column;gap:9px}.met-plot-tools [hidden]{display:none!important}
.met-plot-curve{padding:7px 0;border-bottom:1px solid var(--line);min-width:0}.met-plot-curve>header{display:flex;align-items:center;gap:5px;margin-bottom:4px;min-width:0}.met-plot-curve>header>strong{flex:1;min-width:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:12px;font-weight:600}
body.metexplorer-site .met-view .met-plot-curve>header>input[type=color]{appearance:none;width:25px;min-width:25px;height:25px;min-height:25px;flex:none;border:1px solid var(--line-strong);border-radius:6px;padding:2px;background:var(--apc-white,#fff);cursor:pointer}.met-plot-curve input[type=color]::-webkit-color-swatch-wrapper{padding:0}.met-plot-curve input[type=color]::-webkit-color-swatch{border:0;border-radius:3px}.met-plot-curve input[type=color]::-moz-color-swatch{border:0;border-radius:3px}
.met-plot-curve-quick{display:flex;align-items:center;gap:8px}.met-plot-segments{display:flex;gap:3px;min-width:0;flex:none}.met-plot-segments button{flex:1}
body.metexplorer-site .met-view .met-plot-tools :is(.met-plot-segments button,.met-plot-curve>header>button){display:inline-flex;align-items:center;justify-content:center;min-height:26px;height:26px;min-width:25px;padding:3px 5px;border:1px solid var(--line);border-radius:5px;font-size:11px;background:var(--apc-white,#fff);color:var(--ink);cursor:pointer}
.met-plot-segments button svg{width:17px;height:17px}.met-plot-tools button[aria-pressed=true]{border-color:var(--met-blue)!important;background:color-mix(in srgb,var(--met-blue) 14%,var(--apc-white,#fff))!important;color:var(--met-blue)!important}.met-plot-tools button:hover{border-color:var(--met-blue)!important}
.met-plot-tools .met-plot-width{display:flex!important;align-items:center;gap:5px!important;flex:1;min-width:36px}.met-plot-width input{min-width:24px;width:100%}.met-plot-width output{flex:none;width:21px;font-size:10px;text-align:right}
.met-plot-curve-more{margin-top:3px}.met-plot-curve-more>summary{font-size:10px;color:var(--muted);cursor:pointer;padding:2px 0}.met-plot-curve-more[open]{display:grid;grid-template-columns:1fr 1fr;gap:4px}.met-plot-curve-more>summary{grid-column:1/-1}.met-plot-curve-more label{font-size:10px}.met-plot-curve-more select{font-size:11px!important;min-height:26px!important;padding:4px!important}.met-plot-tools .met-plot-font{display:flex!important;align-items:center;gap:8px!important}.met-plot-font input{flex:1;min-width:25px}.met-plot-font output{white-space:nowrap}
.met-palette-options{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:5px}.met-palette-options button,.met-box-options button{display:flex;flex-direction:column;align-items:stretch;gap:3px;min-width:0;padding:5px!important;border:1px solid var(--line);border-radius:6px;background:var(--apc-white,#fff);color:var(--ink);font-size:10px!important;cursor:pointer}.met-palette-options i{height:12px;border-radius:3px;box-shadow:inset 0 0 0 1px #00192e22}.met-palette-options span,.met-box-options span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center}.met-box-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-top:5px}.met-box-options svg{width:100%;height:32px;color:var(--met-blue)}
.met-meteogram-tools .met-plot-tools fieldset{display:flex}.met-meteogram-tools [data-plot-series-list]{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:0 14px}.met-plot-reset{font-size:11px!important;padding:6px!important;min-height:28px!important}
/* One row per curve. Pattern and axis choices open beside their icon. */
body.metexplorer-site .met-view .met-plot-curve{display:flex;align-items:center;gap:3px;padding:6px 0;min-width:0}
.met-plot-curve>strong{flex:1;min-width:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:600}
body.metexplorer-site .met-view .met-plot-curve>input[type=color],body.metexplorer-site .met-view .met-meteogram-color input[type=color]{appearance:none;width:20px;height:22px;min-width:20px;min-height:22px;padding:2px;flex:none;border:1px solid var(--line-strong);border-radius:6px;background:var(--apc-white,#fff);cursor:pointer}
body.metexplorer-site .met-view .met-plot-curve>button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;min-width:24px;height:25px;min-height:25px;padding:3px;border:1px solid var(--line);border-radius:6px;background:var(--apc-white,#fff);color:var(--ink);cursor:pointer;font-size:13px}
body.metexplorer-site .met-view .met-plot-curve>button svg{width:17px;height:17px}.met-plot-curve .met-plot-width{flex:0 1 34px;min-width:24px;max-width:34px}.met-plot-curve .met-plot-width input{width:100%;min-width:20px;height:24px;margin:0}
.met-plot-popover{position:fixed;inset:auto;z-index:2147483000;min-width:150px;max-width:min(240px,calc(100vw - 16px));max-height:min(400px,75vh);overflow:auto;margin:0;padding:7px;border:1px solid var(--line-strong,#9bb7c8);border-radius:10px;background:var(--apc-white,#fff);color:var(--ink,#173e57);box-shadow:0 8px 30px #001b3540;font:400 12px/1.4 var(--apc-font,system-ui)}
.met-plot-popover[hidden]{display:none!important}.met-plot-popover::backdrop{background:transparent;pointer-events:none}
body.metexplorer-site .met-plot-popover>button{display:flex;gap:8px;align-items:center;width:100%;min-height:30px;padding:5px 7px;margin:2px 0;border:1px solid transparent;border-radius:7px;background:var(--apc-white,#fff);color:var(--ink);font:inherit;text-align:left;cursor:pointer}.met-plot-popover button svg{width:23px;height:19px;flex:none}
.met-plot-popover button:hover,.met-plot-popover button[aria-pressed=true]{border-color:var(--met-blue,#0b829f)!important;background:color-mix(in srgb,var(--met-blue,#0b829f) 12%,var(--apc-white,#fff))!important;color:var(--met-blue,#0b829f)}.met-plot-popover button:focus-visible{outline:2px solid var(--met-blue);outline-offset:1px}
.met-plot-dashes{display:flex;gap:3px;border-top:1px solid var(--line);padding-top:6px;margin-top:4px}.met-plot-dashes button{display:grid;place-items:center;flex:1;min-width:0;min-height:28px;padding:3px;border:1px solid var(--line);border-radius:6px;background:var(--apc-white,#fff);color:var(--ink);cursor:pointer}
.met-legend-palettes{width:222px;padding:10px}.met-legend-palettes>strong{font-size:12px}.met-legend-palettes .met-palette-options button{font:400 11px/1.3 var(--apc-font,system-ui)}
.met-plot-tools .met-meteogram-color{display:flex!important;align-items:center;justify-content:space-between;gap:6px;margin:6px 0}.met-meteogram-color>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.met-meteogram-color input{flex:none}
.met-plot-tools[data-met-plot-tools=meteograms] [data-plot-series-list]{display:none}
