/* Ware Send Integration Lab v2.1 — API 1.3.3 recipient privacy + controlled multi-domain benchmark */
*{box-sizing:border-box}
[hidden]{display:none!important}
:root,
html[data-wst-theme="dark"]{
  --wst-bg:#0b0f14;
  --wst-bg-soft:#10161d;
  --wst-shell:#121922;
  --wst-surface:#151e28;
  --wst-surface-2:#1b2632;
  --wst-surface-3:#22303d;
  --wst-input:#0f161e;
  --wst-text:#eef3f7;
  --wst-text-2:#bdc8d2;
  --wst-muted:#81909e;
  --wst-muted-2:#5c6a77;
  --wst-line:#2a3744;
  --wst-line-soft:#202b35;
  --wst-accent:#58d383;
  --wst-accent-strong:#32b968;
  --wst-accent-soft:rgba(88,211,131,.12);
  --wst-info:#64b5ff;
  --wst-info-soft:rgba(100,181,255,.11);
  --wst-danger:#ff7586;
  --wst-danger-soft:rgba(255,117,134,.10);
  --wst-warning:#e7b968;
  --wst-warning-soft:rgba(231,185,104,.10);
  --wst-terminal:#080c10;
  --wst-shadow:0 26px 90px rgba(0,0,0,.42);
  --wst-radius:18px;
  --wst-radius-sm:12px;
  --wst-font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --wst-mono:"SFMono-Regular",Consolas,"Liberation Mono",Menlo,monospace;
}
html[data-wst-theme="light"]{
  --wst-bg:#e9eef4;--wst-bg-soft:#f3f6fa;--wst-shell:#f8fafc;--wst-surface:#fff;--wst-surface-2:#f0f4f8;--wst-surface-3:#e7edf4;--wst-input:#fff;
  --wst-text:#17212b;--wst-text-2:#3e4d5d;--wst-muted:#6a7a8c;--wst-muted-2:#8c9aab;--wst-line:#d4dde7;--wst-line-soft:#e5ebf1;
  --wst-accent:#16884a;--wst-accent-strong:#0d713b;--wst-accent-soft:rgba(22,136,74,.11);--wst-info:#176fc1;--wst-info-soft:rgba(23,111,193,.09);
  --wst-danger:#c63f52;--wst-danger-soft:rgba(198,63,82,.09);--wst-warning:#9c6b12;--wst-warning-soft:rgba(156,107,18,.10);--wst-terminal:#101820;
  --wst-shadow:0 28px 80px rgba(29,43,58,.16);
}
html[data-wst-theme="black"]{
  --wst-bg:#000;--wst-bg-soft:#050505;--wst-shell:#090a0b;--wst-surface:#0c0d0f;--wst-surface-2:#131518;--wst-surface-3:#1a1d21;--wst-input:#050607;
  --wst-text:#fff;--wst-text-2:#d8dde2;--wst-muted:#929ba5;--wst-muted-2:#626a73;--wst-line:#25282d;--wst-line-soft:#1b1d21;
  --wst-accent:#60e68e;--wst-accent-strong:#3bdc77;--wst-accent-soft:rgba(96,230,142,.11);--wst-terminal:#000;--wst-shadow:0 30px 100px rgba(0,0,0,.86);
}
html[data-wst-theme="win98"]{
  --wst-bg:#008080;--wst-bg-soft:#008080;--wst-shell:#c0c0c0;--wst-surface:#c0c0c0;--wst-surface-2:#d4d0c8;--wst-surface-3:#e4e0d8;--wst-input:#fff;
  --wst-text:#000;--wst-text-2:#202020;--wst-muted:#424242;--wst-muted-2:#606060;--wst-line:#808080;--wst-line-soft:#a0a0a0;
  --wst-accent:#000080;--wst-accent-strong:#000060;--wst-accent-soft:rgba(0,0,128,.14);--wst-info:#000080;--wst-info-soft:rgba(0,0,128,.08);
  --wst-danger:#b00000;--wst-danger-soft:rgba(176,0,0,.08);--wst-warning:#6c5200;--wst-warning-soft:rgba(108,82,0,.08);--wst-terminal:#000;
  --wst-shadow:7px 7px 0 rgba(0,0,0,.32);--wst-radius:0;--wst-radius-sm:0;--wst-font:"MS Sans Serif",Tahoma,sans-serif;
}
html[data-wst-theme="winxp"]{
  --wst-bg:#3a6ea5;--wst-bg-soft:#6e9dd1;--wst-shell:#ece9d8;--wst-surface:#f6f4e9;--wst-surface-2:#ece9d8;--wst-surface-3:#dce8f5;--wst-input:#fff;
  --wst-text:#15213a;--wst-text-2:#31415f;--wst-muted:#5d6b83;--wst-muted-2:#7c8ca3;--wst-line:#7f9db9;--wst-line-soft:#b7c7d8;
  --wst-accent:#2d8e2e;--wst-accent-strong:#176f1b;--wst-accent-soft:rgba(49,106,197,.13);--wst-info:#0b5bc3;--wst-info-soft:rgba(11,91,195,.09);
  --wst-danger:#c9321e;--wst-danger-soft:rgba(201,50,30,.09);--wst-warning:#a56b00;--wst-warning-soft:rgba(165,107,0,.1);--wst-terminal:#0d2446;
  --wst-shadow:0 18px 55px rgba(0,25,80,.35);--wst-radius:9px;--wst-radius-sm:6px;--wst-font:Tahoma,"Segoe UI",sans-serif;
}
html[data-wst-theme="ubuntu"]{
  --wst-bg:#2c1e29;--wst-bg-soft:#35242f;--wst-shell:#3a2935;--wst-surface:#44313e;--wst-surface-2:#50394a;--wst-surface-3:#5a4052;--wst-input:#2f222b;
  --wst-text:#f7f2f5;--wst-text-2:#e0d5dc;--wst-muted:#b9a6b2;--wst-muted-2:#8e7886;--wst-line:#654d5d;--wst-line-soft:#533e4b;
  --wst-accent:#e95420;--wst-accent-strong:#c94213;--wst-accent-soft:rgba(233,84,32,.14);--wst-info:#56b4e9;--wst-info-soft:rgba(86,180,233,.10);
  --wst-danger:#f06a79;--wst-danger-soft:rgba(240,106,121,.10);--wst-warning:#e3b65d;--wst-warning-soft:rgba(227,182,93,.10);--wst-terminal:#241820;
  --wst-shadow:0 26px 80px rgba(0,0,0,.38);--wst-radius:14px;--wst-radius-sm:9px;--wst-font:Ubuntu,"Noto Sans",system-ui,sans-serif;
}
html[data-wst-theme="macos"]{
  --wst-bg:#dfe7f1;--wst-bg-soft:#eef3f8;--wst-shell:rgba(248,250,253,.76);--wst-surface:rgba(255,255,255,.74);--wst-surface-2:rgba(241,246,251,.76);--wst-surface-3:rgba(229,237,246,.76);--wst-input:rgba(255,255,255,.88);
  --wst-text:#172131;--wst-text-2:#3b4a5e;--wst-muted:#6c7b8e;--wst-muted-2:#91a0b1;--wst-line:rgba(86,105,129,.20);--wst-line-soft:rgba(86,105,129,.12);
  --wst-accent:#087cff;--wst-accent-strong:#006be6;--wst-accent-soft:rgba(8,124,255,.12);--wst-info:#087cff;--wst-info-soft:rgba(8,124,255,.08);
  --wst-danger:#d94b5d;--wst-danger-soft:rgba(217,75,93,.09);--wst-warning:#a26c0f;--wst-warning-soft:rgba(162,108,15,.09);--wst-terminal:#172131;
  --wst-shadow:0 30px 90px rgba(54,74,99,.20);--wst-radius:20px;--wst-radius-sm:12px;--wst-font:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",sans-serif;
}

html,body{height:100%}
body.wst-page{margin:0;min-height:100vh;background:var(--wst-bg);color:var(--wst-text);font-family:var(--wst-font);transition:background .18s ease,color .18s ease;overflow:hidden}
body.wst-page:before{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 12% -10%,var(--wst-accent-soft),transparent 28%),radial-gradient(circle at 90% 8%,var(--wst-info-soft),transparent 26%);z-index:-1}
.wst-page a{color:var(--wst-muted);text-decoration:none}.wst-page a:hover{color:var(--wst-text)}
.wst-stage{width:100%;min-height:100vh;margin:0;padding:0;max-width:100vw;overflow:hidden}
.wst-app{height:100vh;min-height:100vh;border:0;border-radius:0;background:var(--wst-shell);box-shadow:none;overflow:hidden;position:relative;display:grid;grid-template-rows:auto auto minmax(0,1fr)}

/* Header and always-visible actions */
.wst-titlebar{position:sticky;top:0;z-index:80;min-height:76px;display:grid;grid-template-columns:minmax(300px,1fr) minmax(220px,.7fr) auto auto;align-items:center;gap:14px;padding:10px 14px 10px 18px;border-bottom:1px solid var(--wst-line);border-radius:var(--wst-radius) var(--wst-radius) 0 0;background:color-mix(in srgb,var(--wst-shell) 94%,transparent);backdrop-filter:blur(18px) saturate(130%)}
.wst-titlebar__brand{display:flex;align-items:center;gap:13px;min-width:0}.wst-node-mark{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border-radius:11px;background:linear-gradient(145deg,var(--wst-accent),var(--wst-accent-strong));box-shadow:inset 0 1px rgba(255,255,255,.25),0 8px 22px var(--wst-accent-soft)}.wst-node-mark b{font:900 14px/1 var(--wst-font);color:white;letter-spacing:-.04em}.wst-titlebar__brand strong,.wst-titlebar__brand small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wst-titlebar__brand strong{font-size:15px;color:var(--wst-text);letter-spacing:-.02em}.wst-titlebar__brand small{margin-top:4px;color:var(--wst-muted);font-size:10px}
.wst-titlebar__status{justify-self:end;min-width:0;display:flex;align-items:center;gap:10px}.wst-status{max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--wst-muted);font-size:10px}.wst-status.is-ok{color:var(--wst-accent)}.wst-status.is-error{color:var(--wst-danger)}.wst-pulse{display:flex;align-items:center;gap:7px;padding:7px 9px;border:1px solid var(--wst-line);border-radius:999px;background:var(--wst-surface-2)}.wst-pulse i{width:7px;height:7px;border-radius:50%;background:var(--wst-muted-2)}.wst-pulse b{font-size:9px;color:var(--wst-text-2);letter-spacing:.06em}.wst-pulse.is-running i{background:var(--wst-accent);box-shadow:0 0 0 5px var(--wst-accent-soft);animation:wstPulse 1.05s infinite}@keyframes wstPulse{50%{opacity:.36}}
.wst-actions{display:flex;gap:8px;align-items:center}.wst-btn{height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;border:1px solid var(--wst-line);border-radius:10px;background:var(--wst-surface-2);color:var(--wst-text-2);font:800 10px/1 var(--wst-font);cursor:pointer;transition:transform .15s ease,background .15s ease,border-color .15s ease}.wst-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.wst-btn--run svg path{fill:currentColor;stroke:none}.wst-btn:hover:not(:disabled){transform:translateY(-1px);border-color:color-mix(in srgb,var(--wst-accent) 48%,var(--wst-line))}.wst-btn:disabled{opacity:.38;cursor:not-allowed;transform:none}.wst-btn--run{min-width:138px;border-color:color-mix(in srgb,var(--wst-accent) 60%,var(--wst-line));background:var(--wst-accent);color:white}.wst-btn--run:hover:not(:disabled){background:var(--wst-accent-strong)}.wst-btn--stop{color:var(--wst-danger);border-color:color-mix(in srgb,var(--wst-danger) 35%,var(--wst-line));background:var(--wst-danger-soft)}

/* Theme picker */
.wst-theme-picker{position:relative;z-index:90}.wst-theme-trigger{height:40px;min-width:178px;display:grid;grid-template-columns:auto 24px minmax(0,1fr) 16px;align-items:center;gap:7px;padding:0 10px;border:1px solid var(--wst-line);border-radius:10px;background:var(--wst-surface-2);color:var(--wst-text);cursor:pointer;box-shadow:inset 0 1px rgba(255,255,255,.05)}.wst-theme-trigger__caption{font-size:8px;font-weight:900;letter-spacing:.11em;color:var(--wst-muted)}.wst-theme-trigger__icon{width:24px;height:24px;display:grid;place-items:center;font-weight:900}.wst-theme-trigger__icon img{max-width:24px;max-height:24px;object-fit:contain}.wst-theme-trigger__text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;font-size:11px;font-weight:800}.wst-theme-trigger>svg{width:16px;height:16px;fill:none;stroke:var(--wst-muted);stroke-width:2;transition:transform .16s}.wst-theme-picker.is-open .wst-theme-trigger>svg{transform:rotate(180deg)}
.wst-theme-menu{position:absolute;right:0;top:calc(100% + 8px);width:280px;padding:7px;border:1px solid var(--wst-line);border-radius:14px;background:var(--wst-surface);box-shadow:0 22px 65px rgba(0,0,0,.28)}.wst-theme-menu button{width:100%;display:grid;grid-template-columns:36px minmax(0,1fr) 8px;align-items:center;gap:9px;padding:9px;border:0;border-radius:10px;background:transparent;color:var(--wst-text);text-align:left;cursor:pointer}.wst-theme-menu button:hover,.wst-theme-menu button.is-active{background:var(--wst-accent-soft);color:var(--wst-accent)}.wst-theme-menu button>span:nth-child(2) b,.wst-theme-menu button>span:nth-child(2) small{display:block}.wst-theme-menu button b{font-size:11px}.wst-theme-menu button small{margin-top:2px;color:var(--wst-muted);font-size:9px}.wst-theme-menu button>i{width:7px;height:7px;border-radius:50%}.wst-theme-menu button.is-active>i{background:var(--wst-accent);box-shadow:0 0 10px var(--wst-accent)}.wst-theme-option-icon{width:32px;height:32px;display:grid;place-items:center}.wst-theme-option-icon img{max-width:30px;max-height:30px;object-fit:contain}.wst-theme-option-icon--css{font-size:18px;font-weight:900}

/* Secondary command bar */
.wst-commandbar{min-height:54px;display:flex;align-items:center;gap:12px;padding:8px 18px;border-bottom:1px solid var(--wst-line);background:var(--wst-bg-soft)}.wst-transport{display:flex;gap:5px;padding:4px;border:1px solid var(--wst-line);border-radius:10px;background:var(--wst-input)}.wst-transport input{position:absolute;opacity:0;pointer-events:none}.wst-transport span{display:flex;align-items:center;gap:7px;height:33px;padding:0 11px;border-radius:7px;color:var(--wst-muted);font-size:10px;font-weight:800;cursor:pointer}.wst-transport i{padding:3px 5px;border-radius:5px;background:var(--wst-surface-2);color:var(--wst-text-2);font-style:normal;font-size:8px}.wst-transport input:checked+span{background:var(--wst-surface-2);color:var(--wst-text)}.wst-transport input:checked+span i{background:var(--wst-accent-soft);color:var(--wst-accent)}.wst-commandbar__meta{display:flex;align-items:center;gap:8px;color:var(--wst-muted-2);font-size:9px}.wst-commandbar__meta code{color:var(--wst-muted);font-family:var(--wst-mono)}.wst-doclinks{margin-left:auto;display:flex;gap:8px}.wst-doclinks a{padding:7px 10px;border-radius:8px;background:var(--wst-surface-2);font-size:10px;font-weight:700}.wst-doclinks a:hover{background:var(--wst-surface-3)}

/* Main workbench */
.wst-workbench{display:grid;grid-template-columns:minmax(0,1fr) 360px;min-height:0;height:100%}.wst-editor-shell{min-width:0;min-height:0;display:grid;grid-template-columns:240px minmax(0,1fr);border-right:1px solid var(--wst-line)}
.wst-tabs{padding:14px 10px 18px;border-right:1px solid var(--wst-line);background:var(--wst-bg-soft);display:flex;flex-direction:column;gap:7px;overflow:auto;overscroll-behavior:contain}.wst-tabs__heading{padding:6px 9px 14px;border-bottom:1px solid var(--wst-line-soft);margin-bottom:4px}.wst-tabs__heading small,.wst-tabs__heading b,.wst-tabs__heading span{display:block}.wst-tabs__heading small{color:var(--wst-accent);font-size:8px;font-weight:900;letter-spacing:.13em}.wst-tabs__heading b{margin-top:5px;color:var(--wst-text);font-size:12px}.wst-tabs__heading span{margin-top:4px;color:var(--wst-muted);font-size:9px;line-height:1.45}.wst-tabs button{width:100%;min-height:60px;display:grid;grid-template-columns:34px minmax(0,1fr) 24px;align-items:center;gap:8px;padding:8px 9px;border:1px solid transparent;border-radius:11px;background:transparent;color:var(--wst-muted);text-align:left;cursor:pointer}.wst-tabs button:hover{background:var(--wst-surface-2);color:var(--wst-text)}.wst-tabs button.is-active{border-color:color-mix(in srgb,var(--wst-accent) 30%,var(--wst-line));background:var(--wst-accent-soft);color:var(--wst-text);box-shadow:inset 3px 0 var(--wst-accent)}.wst-tab-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:var(--wst-surface-2)}.wst-tabs button.is-active .wst-tab-icon{background:var(--wst-accent);color:white}.wst-tab-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.wst-tab-copy b,.wst-tab-copy small{display:block}.wst-tab-copy b{font-size:11px}.wst-tab-copy small{margin-top:3px;color:var(--wst-muted);font-size:8px}.wst-tabs button>em{justify-self:end;min-width:21px;padding:4px 5px;border-radius:6px;background:var(--wst-surface-2);color:var(--wst-muted);font-style:normal;font-size:8px;text-align:center}.wst-tabs button.is-active>em{background:var(--wst-accent);color:white}
.wst-editor{min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;background:var(--wst-shell)}.wst-tabpanel{padding:24px 26px 28px;max-width:100%}.wst-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:17px;margin-bottom:18px;border-bottom:1px solid var(--wst-line-soft)}.wst-panel-head small,.wst-panel-head h2,.wst-panel-head span{display:block}.wst-panel-head small{color:var(--wst-accent);font-size:8px;font-weight:900;letter-spacing:.14em}.wst-panel-head h2{margin:4px 0 0;color:var(--wst-text);font-size:18px;line-height:1.15;letter-spacing:-.03em}.wst-panel-head div>span{margin-top:5px;color:var(--wst-muted);font-size:10px}.wst-panel-head>code{padding:7px 9px;border:1px solid var(--wst-line);border-radius:8px;background:var(--wst-surface-2);color:var(--wst-muted);font:700 9px/1 var(--wst-mono)}
.wst-clear{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 10px;border:1px solid var(--wst-line);border-radius:8px;background:var(--wst-surface-2);color:var(--wst-muted);font:700 9px/1 var(--wst-font);cursor:pointer}.wst-clear svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}.wst-clear:hover{color:var(--wst-danger);border-color:color-mix(in srgb,var(--wst-danger) 35%,var(--wst-line))}

/* Cards and fields */
.wst-connection-card,.wst-benchmark-route,.wst-volume,.wst-dispatch-note{border:1px solid var(--wst-line);border-radius:var(--wst-radius-sm);background:var(--wst-surface);box-shadow:inset 0 1px rgba(255,255,255,.025)}
.wst-connection-card{padding:16px}.wst-module-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.wst-module-label b{color:var(--wst-text);font-size:11px}.wst-module-label span{padding:5px 7px;border-radius:6px;background:var(--wst-surface-2);color:var(--wst-muted);font:700 8px/1 var(--wst-mono)}
.wst-fields{display:grid;gap:12px}.wst-fields--connection{grid-template-columns:1fr}.wst-fields--message{grid-template-columns:1fr 1fr}.wst-fields--smtp{grid-template-columns:minmax(190px,1.2fr) 120px 120px minmax(190px,1fr) minmax(190px,1fr)}.wst-field--wide{grid-column:1/-1}.wst-field--body{grid-column:span 1}.wst-field--host{grid-column:span 1}.wst-field--user,.wst-field--password{grid-column:span 1}
.wst-field{display:block;min-width:0}.wst-field>span{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 6px;color:var(--wst-text-2);font-size:9px;font-weight:800}.wst-field>span em{color:var(--wst-muted);font-style:normal;font-weight:500}.wst-field input,.wst-field textarea,.wst-field select{width:100%;border:1px solid var(--wst-line);border-radius:9px;background:var(--wst-input);color:var(--wst-text);font:500 11px/1.45 var(--wst-font);outline:0;transition:border-color .15s,box-shadow .15s,background .15s}.wst-field input,.wst-field select{height:40px;padding:0 11px}.wst-field textarea{padding:10px 11px;resize:vertical;min-height:96px}.wst-field select{appearance:auto}.wst-field input:focus,.wst-field textarea:focus,.wst-field select:focus{border-color:var(--wst-accent);box-shadow:0 0 0 3px var(--wst-accent-soft)}.wst-field small{display:block;margin-top:6px;color:var(--wst-muted);font-size:8px;line-height:1.45}.wst-field.is-error input,.wst-field.is-error textarea,.wst-field.is-error select{border-color:var(--wst-danger);box-shadow:0 0 0 3px var(--wst-danger-soft)}.wst-field input[readonly]{border-color:color-mix(in srgb,var(--wst-info) 35%,var(--wst-line));background:var(--wst-info-soft);color:var(--wst-info)}
.wst-secret{display:grid;grid-template-columns:minmax(0,1fr) 42px}.wst-secret input{border-radius:9px 0 0 9px}.wst-secret button{border:1px solid var(--wst-line);border-left:0;border-radius:0 9px 9px 0;background:var(--wst-surface-2);color:var(--wst-muted);cursor:pointer}.wst-secret button:hover{color:var(--wst-text)}
.wst-codehint{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px;padding:9px;border:1px dashed var(--wst-line);border-radius:8px;background:var(--wst-bg-soft)}.wst-codehint span{color:var(--wst-accent);font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.09em}.wst-codehint code{padding:4px 6px;border-radius:5px;background:var(--wst-surface-2);color:var(--wst-muted);font:500 8px/1 var(--wst-mono)}
.wst-upload{grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;min-height:68px;padding:11px;border:1px dashed var(--wst-line);border-radius:10px;background:var(--wst-bg-soft)}.wst-upload button{height:34px;padding:0 10px;border:1px solid var(--wst-line);border-radius:8px;background:var(--wst-surface-2);color:var(--wst-text-2);font:700 9px/1 var(--wst-font);cursor:pointer}.wst-upload b,.wst-upload small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wst-upload b{font-size:10px;color:var(--wst-text-2)}.wst-upload small{margin-top:4px;color:var(--wst-muted);font-size:8px}

/* Modes and dispatch */
.wst-benchmark-route{margin-bottom:16px;padding:15px}.wst-benchmark-route .wst-mode-switch{margin-top:10px}.wst-mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:9px}.wst-mode-switch--large{margin-bottom:16px}.wst-mode-switch input{position:absolute;opacity:0}.wst-mode-switch label.is-disabled{opacity:.4;pointer-events:none}.wst-mode-switch span{display:block;min-height:63px;padding:12px;border:1px solid var(--wst-line);border-radius:10px;background:var(--wst-bg-soft);cursor:pointer;transition:border-color .15s,background .15s,transform .15s}.wst-mode-switch span:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--wst-accent) 30%,var(--wst-line))}.wst-mode-switch b,.wst-mode-switch small{display:block}.wst-mode-switch b{color:var(--wst-text-2);font-size:11px}.wst-mode-switch small{margin-top:4px;color:var(--wst-muted);font-size:8px}.wst-mode-switch input:checked+span{border-color:var(--wst-accent);background:var(--wst-accent-soft);box-shadow:inset 3px 0 var(--wst-accent)}.wst-mode-switch input:checked+span b{color:var(--wst-accent)}
.wst-benchmark-info{margin-top:12px;padding:12px;border:1px dashed color-mix(in srgb,var(--wst-info) 40%,var(--wst-line));background:var(--wst-info-soft);border-radius:9px}.wst-benchmark-info>div{display:flex;gap:10px;align-items:center;margin:3px 0}.wst-benchmark-info>div span{min-width:68px;color:var(--wst-muted);font-size:9px;text-transform:uppercase;letter-spacing:.08em}.wst-benchmark-info code{overflow-wrap:anywhere;color:var(--wst-info);font:600 10px/1.4 var(--wst-mono)}.wst-benchmark-info p{margin:9px 0 0;color:var(--wst-text-2);font-size:9px;line-height:1.55}
.wst-dispatch-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:14px}.wst-dispatch-main,.wst-dispatch-options{min-width:0}.wst-dispatch-options{display:flex;flex-direction:column;gap:11px}.wst-mode[hidden]{display:none!important}.wst-volume{margin-top:13px;padding:17px}.wst-volume__readout{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.wst-volume__readout small{display:block;color:var(--wst-muted);font-size:8px;letter-spacing:.12em}.wst-volume__readout strong{display:block;margin-top:3px;color:var(--wst-text);font-size:34px;line-height:1;letter-spacing:-.055em}.wst-volume__readout label{display:flex;align-items:center;gap:8px;color:var(--wst-muted);font-size:8px}.wst-volume__readout input{width:128px;height:36px;padding:0 8px;border:1px solid var(--wst-line);border-radius:8px;background:var(--wst-input);color:var(--wst-accent);text-align:right;font:800 11px/1 var(--wst-mono)}
.wst-range{--range-pct:0%;width:100%;height:24px;margin:17px 0 4px;appearance:none;border:0;outline:0;background:transparent;cursor:pointer}.wst-range::-webkit-slider-runnable-track{height:6px;border-radius:99px;background:linear-gradient(90deg,var(--wst-accent) 0 var(--range-pct),var(--wst-surface-3) var(--range-pct) 100%)}.wst-range::-webkit-slider-thumb{appearance:none;width:19px;height:19px;margin-top:-6px;border:3px solid var(--wst-shell);border-radius:50%;background:var(--wst-accent);box-shadow:0 0 0 1px var(--wst-accent);cursor:ew-resize}.wst-range::-moz-range-track{height:6px;border-radius:99px;background:var(--wst-surface-3)}.wst-range::-moz-range-progress{height:6px;border-radius:99px;background:var(--wst-accent)}.wst-range::-moz-range-thumb{width:16px;height:16px;border:3px solid var(--wst-shell);border-radius:50%;background:var(--wst-accent)}
.wst-scale{display:flex;justify-content:space-between;color:var(--wst-muted-2);font-size:7px}.wst-presets{display:flex;gap:6px;margin-top:12px;flex-wrap:wrap}.wst-presets button{min-width:44px;height:30px;padding:0 8px;border:1px solid var(--wst-line);border-radius:7px;background:var(--wst-surface-2);color:var(--wst-muted);font:700 8px/1 var(--wst-font);cursor:pointer}.wst-presets button:hover{border-color:var(--wst-accent);color:var(--wst-accent);background:var(--wst-accent-soft)}.wst-recipient-array{min-height:300px!important;resize:vertical!important}.wst-dispatch-note{padding:12px}.wst-dispatch-note b{display:block;color:var(--wst-text-2);font-size:9px}.wst-dispatch-note p{margin:7px 0 0;color:var(--wst-muted);font-size:8px;line-height:1.55}.wst-consent{display:flex;gap:9px;padding:11px;border:1px solid color-mix(in srgb,var(--wst-warning) 40%,var(--wst-line));border-radius:9px;background:var(--wst-warning-soft);color:var(--wst-warning);font-size:8px;line-height:1.5}.wst-consent input{accent-color:var(--wst-accent)}
.wst-visibility-toggle{display:flex;align-items:flex-start;gap:10px;padding:11px;border:1px solid var(--wst-line);border-radius:9px;background:var(--wst-surface-2);color:var(--wst-text-2);cursor:pointer}.wst-visibility-toggle input{width:16px;height:16px;margin:1px 0 0;accent-color:var(--wst-accent);flex:0 0 auto}.wst-visibility-toggle span{display:block;min-width:0}.wst-visibility-toggle b{display:block;font-size:9px;color:var(--wst-text-2)}.wst-visibility-toggle small{display:block;margin-top:5px;color:var(--wst-muted);font-size:8px;line-height:1.45}.wst-visibility-toggle:has(input:checked){border-color:color-mix(in srgb,var(--wst-warning) 50%,var(--wst-line));background:var(--wst-warning-soft)}

/* Terminal */
.wst-tabpanel--terminal{padding-bottom:22px}.wst-terminal{height:450px;border:1px solid var(--wst-line);border-radius:11px;background:var(--wst-terminal);overflow:hidden}.wst-terminal__prompt{height:40px;display:flex;align-items:center;gap:8px;padding:0 12px;border-bottom:1px solid color-mix(in srgb,var(--wst-line) 70%,transparent);background:color-mix(in srgb,var(--wst-terminal) 82%,var(--wst-surface-2))}.wst-terminal__prompt span{color:var(--wst-accent)}.wst-terminal__prompt code{color:#93a2b1;font:600 9px/1 var(--wst-mono)}.wst-terminal>div[data-log]{height:calc(100% - 40px);overflow:auto;padding:10px 12px;color:#94a0ac;font:500 9px/1.6 var(--wst-mono)}.wst-log__empty{margin:0;color:#65727e}.wst-log__row{display:grid;grid-template-columns:78px 78px minmax(0,1fr) 56px;gap:8px;padding:4px 2px;border-bottom:1px solid rgba(255,255,255,.04)}.wst-log__row em{font-style:normal;color:#6d7b87}.wst-log__row b{color:#74dc95}.wst-log__row.is-error b{color:#ff7f8e}.wst-log__row code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a8b2bc}.wst-log__row time{text-align:right;color:#68747f}

/* Runtime inspector */
.wst-runtime{min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px 16px 24px;background:var(--wst-bg-soft)}.wst-runtime>header{display:flex;align-items:center;justify-content:space-between;padding-bottom:13px;border-bottom:1px solid var(--wst-line)}.wst-runtime>header small,.wst-runtime>header b{display:block}.wst-runtime>header small{margin-bottom:4px;color:var(--wst-muted);font-size:8px;letter-spacing:.13em}.wst-runtime>header b{color:var(--wst-text);font-size:12px}.wst-runtime>header>span{padding:5px 7px;border-radius:999px;background:var(--wst-accent-soft);color:var(--wst-accent);font-size:8px;font-weight:900}.wst-progress-block{padding:14px 0 12px}.wst-progress-block>div:first-child{display:flex;justify-content:space-between;color:var(--wst-muted);font-size:8px}.wst-progress-block b{color:var(--wst-text-2)}.wst-progress{height:6px;margin-top:8px;border-radius:99px;background:var(--wst-surface-3);overflow:hidden}.wst-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--wst-accent-strong),var(--wst-accent));transition:width .2s}.wst-stats{display:grid;grid-template-columns:1fr 1fr;gap:7px}.wst-stats--runner{grid-template-columns:1fr 1fr}.wst-stats div{padding:10px;border:1px solid var(--wst-line);border-radius:9px;background:var(--wst-surface)}.wst-stats span,.wst-stats b{display:block}.wst-stats span{color:var(--wst-muted);font-size:8px}.wst-stats b{margin-top:4px;color:var(--wst-text);font-size:16px;letter-spacing:-.03em}.wst-stat-wide{grid-column:1/-1}.wst-mini-chart{margin-top:8px;padding:10px;border:1px solid var(--wst-line);border-radius:9px;background:var(--wst-surface)}.wst-mini-chart>div:first-child{display:flex;justify-content:space-between;color:var(--wst-muted);font-size:8px}.wst-mini-chart>div:last-child{height:70px;display:flex;align-items:flex-end;gap:2px;margin-top:8px}.wst-mini-chart i{flex:1;min-width:2px;border-radius:2px 2px 0 0;background:var(--wst-accent);opacity:.76}.wst-runtime-kv{margin-top:8px;border:1px solid var(--wst-line);border-radius:9px;overflow:hidden;background:var(--wst-surface)}.wst-runtime-kv div{display:grid;grid-template-columns:72px minmax(0,1fr);gap:7px;padding:8px 9px;border-bottom:1px solid var(--wst-line-soft);font-size:8px}.wst-runtime-kv div:last-child{border-bottom:0}.wst-runtime-kv span{color:var(--wst-muted)}.wst-runtime-kv code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--wst-text-2);font-family:var(--wst-mono)}.wst-runtime-tip{margin-top:8px;padding:10px;border:1px solid color-mix(in srgb,var(--wst-accent) 24%,var(--wst-line));border-radius:9px;background:var(--wst-accent-soft)}.wst-runtime-tip b,.wst-runtime-tip span{display:block}.wst-runtime-tip b{color:var(--wst-accent);font-size:8px}.wst-runtime-tip span{margin-top:5px;color:var(--wst-muted);font-size:7px;line-height:1.5}

/* Modal and mobile dock */
.wst-modal{position:fixed;inset:0;z-index:99999;display:grid;place-items:center}.wst-modal[hidden]{display:none!important}.wst-modal>div{position:absolute;inset:0;background:rgba(0,0,0,.62);backdrop-filter:blur(5px)}.wst-modal section{position:relative;width:min(430px,calc(100% - 30px));padding:20px;border:1px solid var(--wst-line);border-radius:var(--wst-radius-sm);background:var(--wst-surface);box-shadow:var(--wst-shadow)}.wst-modal h3{margin:0;color:var(--wst-text);font-size:14px}.wst-modal p{margin:10px 0 16px;color:var(--wst-muted);font-size:10px;line-height:1.55}.wst-modal button{height:34px;padding:0 13px;border:1px solid var(--wst-accent);border-radius:8px;background:var(--wst-accent);color:white;font:800 9px/1 var(--wst-font);cursor:pointer}.wst-mobile-run-dock{display:none}

/* Theme-specific personality — adapted from Etiqon */
html[data-wst-theme="win98"] .wst-app,html[data-wst-theme="win98"] .wst-titlebar,html[data-wst-theme="win98"] .wst-commandbar,html[data-wst-theme="win98"] .wst-tabs,html[data-wst-theme="win98"] .wst-editor,html[data-wst-theme="win98"] .wst-runtime{border-radius:0;backdrop-filter:none}
html[data-wst-theme="win98"] .wst-app{border:2px solid;border-color:#fff #404040 #404040 #fff}
html[data-wst-theme="win98"] .wst-titlebar{min-height:64px;background:#000080;color:#fff;border:0;border-bottom:2px solid #404040}.wst-page html[data-wst-theme="win98"]{}
html[data-wst-theme="win98"] .wst-titlebar__brand strong,html[data-wst-theme="win98"] .wst-titlebar__brand small{color:#fff}
html[data-wst-theme="win98"] .wst-node-mark{border-radius:0;background:#c0c0c0;box-shadow:inset 1px 1px #fff,inset -1px -1px #404040}html[data-wst-theme="win98"] .wst-node-mark b{color:#000}
html[data-wst-theme="win98"] button,html[data-wst-theme="win98"] input,html[data-wst-theme="win98"] textarea,html[data-wst-theme="win98"] select,html[data-wst-theme="win98"] .wst-theme-trigger{border:2px solid!important;border-color:#fff #404040 #404040 #fff!important;border-radius:0!important;box-shadow:none!important}
html[data-wst-theme="win98"] .wst-btn--run{background:#c0c0c0;color:#000}html[data-wst-theme="win98"] .wst-btn--stop{background:#c0c0c0;color:#800000}
html[data-wst-theme="win98"] .wst-tabs button.is-active{background:#000080;color:#fff;box-shadow:none}html[data-wst-theme="win98"] .wst-tabs button.is-active .wst-tab-copy small{color:#fff}
html[data-wst-theme="win98"] .wst-theme-menu{border:2px solid;border-color:#fff #404040 #404040 #fff;border-radius:0;box-shadow:4px 4px #000}

html[data-wst-theme="winxp"] .wst-titlebar{background:linear-gradient(180deg,#5ea2f6,#1f69cf 58%,#0d4ca8);border-bottom-color:#08377e}.wst-page html[data-wst-theme="winxp"]{}
html[data-wst-theme="winxp"] .wst-titlebar__brand strong,html[data-wst-theme="winxp"] .wst-titlebar__brand small{color:#fff}html[data-wst-theme="winxp"] .wst-pulse{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.35)}html[data-wst-theme="winxp"] .wst-pulse b,html[data-wst-theme="winxp"] .wst-status{color:#fff}
html[data-wst-theme="winxp"] .wst-btn,html[data-wst-theme="winxp"] .wst-theme-trigger,html[data-wst-theme="winxp"] .wst-presets button,html[data-wst-theme="winxp"] .wst-clear{border:1px solid #7f9db9;background:linear-gradient(180deg,#fff 0,#fff 45%,#e8e5d5 55%,#d9d4bf 100%);color:#15213a;box-shadow:inset 0 0 0 1px rgba(255,255,255,.85),0 1px 1px rgba(0,0,0,.08)}html[data-wst-theme="winxp"] .wst-btn--run{background:linear-gradient(180deg,#91d56c,#55aa36 55%,#3f8f27);border-color:#2e771d;color:#fff;text-shadow:0 1px #285f1c}html[data-wst-theme="winxp"] .wst-btn--stop{background:linear-gradient(#ff9a80,#e64d31 55%,#c9321e);border-color:#9d2415;color:#fff}

html[data-wst-theme="ubuntu"] .wst-btn,html[data-wst-theme="ubuntu"] .wst-theme-trigger,html[data-wst-theme="ubuntu"] .wst-presets button,html[data-wst-theme="ubuntu"] .wst-clear{border:0;background:#5b4052;color:#fff;box-shadow:inset 0 1px rgba(255,255,255,.08),0 2px 6px rgba(0,0,0,.18)}html[data-wst-theme="ubuntu"] .wst-btn--run{background:#e95420}html[data-wst-theme="ubuntu"] .wst-tabs button.is-active .wst-tab-icon{background:#e95420}

html[data-wst-theme="macos"] body.wst-page:before{background:radial-gradient(circle at 12% -10%,rgba(8,124,255,.13),transparent 30%),radial-gradient(circle at 90% 5%,rgba(119,93,255,.10),transparent 28%)}
html[data-wst-theme="macos"] .wst-app,html[data-wst-theme="macos"] .wst-titlebar{backdrop-filter:blur(24px) saturate(150%)}html[data-wst-theme="macos"] .wst-titlebar{padding-left:84px}html[data-wst-theme="macos"] .wst-titlebar:before{content:"";position:absolute;left:18px;top:31px;width:12px;height:12px;border-radius:50%;background:#ff5f57;box-shadow:20px 0 #febc2e,40px 0 #28c840}
html[data-wst-theme="macos"] .wst-btn,html[data-wst-theme="macos"] .wst-theme-trigger,html[data-wst-theme="macos"] .wst-presets button,html[data-wst-theme="macos"] .wst-clear{border:0;background:rgba(255,255,255,.62);color:#172131;box-shadow:inset 0 1px rgba(255,255,255,.9),0 3px 10px rgba(42,60,85,.10)}html[data-wst-theme="macos"] .wst-btn--run{background:linear-gradient(#1591ff,#0876e8);color:#fff}html[data-wst-theme="macos"] .wst-btn--stop{background:rgba(217,75,93,.11);color:#c43d50}

/* Responsive layout */
@media(max-width:1280px){
  .wst-stage{width:calc(100% - 16px);padding-top:8px}.wst-titlebar{grid-template-columns:minmax(260px,1fr) auto auto}.wst-titlebar__status{display:none}.wst-workbench{grid-template-columns:1fr}.wst-editor-shell{border-right:0;border-bottom:1px solid var(--wst-line)}.wst-runtime{display:grid;grid-template-columns:190px 1fr 1fr;gap:10px}.wst-runtime>header,.wst-progress-block{grid-column:1/-1}.wst-mini-chart,.wst-runtime-kv,.wst-runtime-tip{margin-top:0}.wst-stats--runner{grid-template-columns:repeat(3,1fr)}.wst-stat-wide{grid-column:span 1}.wst-fields--smtp{grid-template-columns:minmax(180px,1fr) 110px 110px minmax(180px,1fr)}.wst-field--password{grid-column:1/-1}
}
@media(max-width:940px){
  .wst-titlebar{grid-template-columns:minmax(220px,1fr) auto}.wst-theme-picker{grid-row:2;grid-column:1}.wst-actions{grid-row:2;grid-column:2;justify-self:end}.wst-theme-trigger{min-width:220px}.wst-editor-shell{grid-template-columns:1fr}.wst-tabs{border-right:0;border-bottom:1px solid var(--wst-line);display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));overflow:auto;padding:9px}.wst-tabs__heading{display:none}.wst-tabs button{min-width:140px;min-height:54px;grid-template-columns:30px minmax(0,1fr) 22px}.wst-editor{min-height:620px}.wst-dispatch-grid{grid-template-columns:1fr}.wst-dispatch-options{display:grid;grid-template-columns:1fr 1fr}.wst-consent{grid-column:1/-1}.wst-fields--smtp{grid-template-columns:1fr 130px 130px}.wst-field--user,.wst-field--password{grid-column:span 1}.wst-runtime{grid-template-columns:1fr 1fr}.wst-stats--runner{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:700px){
  .wst-stage{width:100%;padding:0}.wst-app{border-left:0;border-right:0;border-radius:0;min-height:100vh}.wst-titlebar{position:relative;grid-template-columns:1fr;gap:9px;min-height:0;padding:12px;border-radius:0}.wst-titlebar__brand{padding-right:0}.wst-theme-picker{grid-row:auto;grid-column:auto}.wst-theme-trigger{width:100%;min-width:0}.wst-actions{display:none}.wst-commandbar{min-height:0;align-items:stretch;flex-wrap:wrap;padding:8px}.wst-transport{width:100%;display:grid;grid-template-columns:1fr 1fr}.wst-transport span{justify-content:center}.wst-commandbar__meta{display:none}.wst-doclinks{margin-left:0;width:100%}.wst-doclinks a{flex:1;text-align:center}.wst-tabs{grid-template-columns:repeat(4,minmax(112px,1fr))}.wst-tab-copy small{display:none}.wst-tabpanel{padding:15px}.wst-panel-head{align-items:flex-start}.wst-panel-head h2{font-size:16px}.wst-panel-head div>span{font-size:9px}.wst-panel-head>code{display:none}.wst-fields--message,.wst-fields--smtp,.wst-dispatch-options{grid-template-columns:1fr}.wst-field--body,.wst-field--host,.wst-field--user,.wst-field--password{grid-column:auto}.wst-mode-switch{grid-template-columns:1fr}.wst-volume__readout{align-items:flex-start;flex-direction:column}.wst-volume__readout label{width:100%;justify-content:space-between}.wst-volume__readout input{flex:1}.wst-runtime{display:block;padding-bottom:92px}.wst-runtime>*{margin-bottom:8px}.wst-stats--runner{grid-template-columns:1fr 1fr}.wst-stat-wide{grid-column:1/-1}.wst-log__row{grid-template-columns:70px 70px minmax(0,1fr)}.wst-log__row time{display:none}.wst-terminal{height:390px}.wst-theme-menu{position:fixed;left:10px;right:10px;top:76px;width:auto;max-height:calc(100vh - 96px);overflow:auto}.wst-mobile-run-dock{position:fixed;left:12px;right:12px;bottom:12px;z-index:95;display:grid;grid-template-columns:120px minmax(0,1fr);gap:8px;padding:8px;border:1px solid var(--wst-line);border-radius:14px;background:color-mix(in srgb,var(--wst-surface) 94%,transparent);box-shadow:0 14px 45px rgba(0,0,0,.28);backdrop-filter:blur(18px)}.wst-mobile-run-dock .wst-btn{width:100%;height:46px}.wst-mobile-run-dock .wst-btn--run{min-width:0}
  html[data-wst-theme="macos"] .wst-titlebar{padding-left:76px}html[data-wst-theme="macos"] .wst-titlebar:before{top:26px}
}
@media(max-width:470px){
  .wst-titlebar__brand small{white-space:normal;line-height:1.35}.wst-tabs{grid-template-columns:repeat(4,104px)}.wst-tab-icon{display:none}.wst-tabs button{grid-template-columns:minmax(0,1fr) 22px;min-width:104px}.wst-panel-head{display:block}.wst-panel-head .wst-clear{margin-top:10px}.wst-theme-trigger__caption{display:none}.wst-theme-trigger{grid-template-columns:24px minmax(0,1fr) 16px}.wst-upload{grid-template-columns:1fr}.wst-upload button{width:100%}.wst-mobile-run-dock{grid-template-columns:96px minmax(0,1fr)}
}
.wst-secret button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.wst-secret button.is-visible svg{opacity:.55}


/* Authentic theme pass v1.5 */
html[data-wst-theme="win98"] body.wst-page{background:#008080}
html[data-wst-theme="win98"] .wst-commandbar,
html[data-wst-theme="win98"] .wst-tabs,
html[data-wst-theme="win98"] .wst-editor,
html[data-wst-theme="win98"] .wst-runtime{background:#c0c0c0;color:#000}
html[data-wst-theme="win98"] .wst-commandbar{border-bottom:2px solid #808080}
html[data-wst-theme="win98"] .wst-tabs{border-right:2px solid #808080}
html[data-wst-theme="win98"] .wst-tabs__heading small,
html[data-wst-theme="win98"] .wst-panel-head small{color:#000080}
html[data-wst-theme="win98"] .wst-module-label,
html[data-wst-theme="win98"] .wst-codehint,
html[data-wst-theme="win98"] .wst-benchmark-route,
html[data-wst-theme="win98"] .wst-benchmark-info,
html[data-wst-theme="win98"] .wst-dispatch-note,
html[data-wst-theme="win98"] .wst-volume,
html[data-wst-theme="win98"] .wst-stats div,
html[data-wst-theme="win98"] .wst-mini-chart,
html[data-wst-theme="win98"] .wst-runtime-kv,
html[data-wst-theme="win98"] .wst-runtime-tip,
html[data-wst-theme="win98"] .wst-terminal,
html[data-wst-theme="win98"] .wst-upload,
html[data-wst-theme="win98"] .wst-tab-icon,
html[data-wst-theme="win98"] .wst-tabs button>em,
html[data-wst-theme="win98"] .wst-panel-head>code,
html[data-wst-theme="win98"] .wst-pulse,
html[data-wst-theme="win98"] .wst-doclinks a,
html[data-wst-theme="win98"] .wst-transport,
html[data-wst-theme="win98"] .wst-mode-switch span,
html[data-wst-theme="win98"] .wst-theme-trigger,
html[data-wst-theme="win98"] .wst-theme-menu,
html[data-wst-theme="win98"] .wst-theme-menu button{background:#c0c0c0!important;color:#000!important;border:2px solid!important;border-color:#fff #808080 #808080 #fff!important;box-shadow:none!important;border-radius:0!important}
html[data-wst-theme="win98"] .wst-theme-menu button.is-active,
html[data-wst-theme="win98"] .wst-tabs button.is-active,
html[data-wst-theme="win98"] .wst-transport input:checked+span,
html[data-wst-theme="win98"] .wst-mode-switch input:checked+span{background:#000080!important;color:#fff!important}
html[data-wst-theme="win98"] .wst-tabs button.is-active .wst-tab-icon,
html[data-wst-theme="win98"] .wst-tabs button.is-active>em{background:#c0c0c0!important;color:#000!important}
html[data-wst-theme="win98"] .wst-btn:hover:not(:disabled){transform:none}
html[data-wst-theme="win98"] .wst-field input,
html[data-wst-theme="win98"] .wst-field textarea,
html[data-wst-theme="win98"] .wst-field select,
html[data-wst-theme="win98"] .wst-secret input{background:#fff!important;color:#000!important;border:2px solid!important;border-color:#808080 #fff #fff #808080!important;border-radius:0!important;box-shadow:none!important}
html[data-wst-theme="win98"] .wst-progress{height:8px;background:#808080;border:2px solid;border-color:#404040 #fff #fff #404040;border-radius:0}
html[data-wst-theme="win98"] .wst-progress i{background:#000080}
html[data-wst-theme="win98"] .wst-terminal{background:#000!important;color:#00ff80!important;border-color:#fff #404040 #404040 #fff!important}
html[data-wst-theme="win98"] .wst-terminal *{color:inherit}
html[data-wst-theme="win98"] .wst-terminal__prompt span{color:#ff0}
html[data-wst-theme="win98"] .wst-btn--run,
html[data-wst-theme="win98"] .wst-btn--stop{background:#c0c0c0!important;color:#000!important}
html[data-wst-theme="win98"] .wst-runtime>header>span{background:#000080;color:#fff;border-radius:0}
html[data-wst-theme="win98"] .wst-mobile-run-dock{background:#c0c0c0;border:2px solid;border-color:#fff #808080 #808080 #fff;border-radius:0;backdrop-filter:none}

html[data-wst-theme="winxp"] body.wst-page{background:linear-gradient(180deg,#3a6ea5 0,#5f8ec2 34%,#78a7d8 100%)}
html[data-wst-theme="winxp"] .wst-app{background:#ece9d8}
html[data-wst-theme="winxp"] .wst-commandbar{background:linear-gradient(#f7f4ea,#e7e2cf);border-bottom:1px solid #7f9db9}
html[data-wst-theme="winxp"] .wst-tabs{background:linear-gradient(180deg,#dcecff,#c2daf8 40%,#eaf3ff);border-right:1px solid #8db2de}
html[data-wst-theme="winxp"] .wst-editor{background:#f8f5eb}
html[data-wst-theme="winxp"] .wst-runtime{background:#d8e8fb}
html[data-wst-theme="winxp"] .wst-tabs button,
html[data-wst-theme="winxp"] .wst-module-label,
html[data-wst-theme="winxp"] .wst-codehint,
html[data-wst-theme="winxp"] .wst-benchmark-route,
html[data-wst-theme="winxp"] .wst-benchmark-info,
html[data-wst-theme="winxp"] .wst-dispatch-note,
html[data-wst-theme="winxp"] .wst-volume,
html[data-wst-theme="winxp"] .wst-stats div,
html[data-wst-theme="winxp"] .wst-mini-chart,
html[data-wst-theme="winxp"] .wst-runtime-kv,
html[data-wst-theme="winxp"] .wst-runtime-tip,
html[data-wst-theme="winxp"] .wst-terminal,
html[data-wst-theme="winxp"] .wst-upload,
html[data-wst-theme="winxp"] .wst-panel-head>code{border:1px solid #7f9db9;background:#fffdf6;box-shadow:inset 0 0 0 1px rgba(255,255,255,.82)}
html[data-wst-theme="winxp"] .wst-tabs button.is-active{background:linear-gradient(180deg,#316ac5,#1f58ae);color:#fff;border-color:#17468d;box-shadow:inset 0 1px rgba(255,255,255,.28)}
html[data-wst-theme="winxp"] .wst-tabs button.is-active .wst-tab-icon,
html[data-wst-theme="winxp"] .wst-tabs button.is-active>em{background:rgba(255,255,255,.2);color:#fff}
html[data-wst-theme="winxp"] .wst-field input,
html[data-wst-theme="winxp"] .wst-field textarea,
html[data-wst-theme="winxp"] .wst-field select,
html[data-wst-theme="winxp"] .wst-secret input{border:1px solid #7f9db9;background:#fff}
html[data-wst-theme="winxp"] .wst-transport{background:#f6f4e9;border:1px solid #7f9db9}
html[data-wst-theme="winxp"] .wst-transport input:checked+span,
html[data-wst-theme="winxp"] .wst-mode-switch input:checked+span{background:linear-gradient(180deg,#316ac5,#1f58ae);color:#fff}
html[data-wst-theme="winxp"] .wst-progress{background:#fff;border:1px solid #7f9db9}
html[data-wst-theme="winxp"] .wst-progress i{background:linear-gradient(90deg,#9ad76c,#4da135)}
html[data-wst-theme="winxp"] .wst-terminal{background:#fefcf6}
html[data-wst-theme="winxp"] .wst-runtime>header>span{background:#316ac5;color:#fff}

html[data-wst-theme="ubuntu"] body.wst-page{background:radial-gradient(circle at 20% 0,rgba(233,84,32,.16),transparent 26%),linear-gradient(180deg,#2c001e,#3a2230 46%,#2c1e29)}
html[data-wst-theme="ubuntu"] .wst-commandbar{background:#2f202b}
html[data-wst-theme="ubuntu"] .wst-tabs{background:#3a2935}
html[data-wst-theme="ubuntu"] .wst-editor{background:#44313e}
html[data-wst-theme="ubuntu"] .wst-runtime{background:#35242f}
html[data-wst-theme="ubuntu"] .wst-module-label,
html[data-wst-theme="ubuntu"] .wst-codehint,
html[data-wst-theme="ubuntu"] .wst-benchmark-route,
html[data-wst-theme="ubuntu"] .wst-benchmark-info,
html[data-wst-theme="ubuntu"] .wst-dispatch-note,
html[data-wst-theme="ubuntu"] .wst-volume,
html[data-wst-theme="ubuntu"] .wst-stats div,
html[data-wst-theme="ubuntu"] .wst-mini-chart,
html[data-wst-theme="ubuntu"] .wst-runtime-kv,
html[data-wst-theme="ubuntu"] .wst-runtime-tip,
html[data-wst-theme="ubuntu"] .wst-terminal,
html[data-wst-theme="ubuntu"] .wst-upload{background:#4b3541}
html[data-wst-theme="ubuntu"] .wst-transport input:checked+span,
html[data-wst-theme="ubuntu"] .wst-mode-switch input:checked+span{background:#e95420;color:#fff}

html[data-wst-theme="macos"] .wst-commandbar,
html[data-wst-theme="macos"] .wst-tabs,
html[data-wst-theme="macos"] .wst-editor,
html[data-wst-theme="macos"] .wst-runtime{background:rgba(247,250,253,.56);backdrop-filter:blur(22px) saturate(150%)}
html[data-wst-theme="macos"] .wst-tabs{border-right-color:rgba(86,105,129,.15)}
html[data-wst-theme="macos"] .wst-module-label,
html[data-wst-theme="macos"] .wst-codehint,
html[data-wst-theme="macos"] .wst-benchmark-route,
html[data-wst-theme="macos"] .wst-benchmark-info,
html[data-wst-theme="macos"] .wst-dispatch-note,
html[data-wst-theme="macos"] .wst-volume,
html[data-wst-theme="macos"] .wst-stats div,
html[data-wst-theme="macos"] .wst-mini-chart,
html[data-wst-theme="macos"] .wst-runtime-kv,
html[data-wst-theme="macos"] .wst-runtime-tip,
html[data-wst-theme="macos"] .wst-terminal,
html[data-wst-theme="macos"] .wst-upload,
html[data-wst-theme="macos"] .wst-panel-head>code{background:rgba(255,255,255,.66);border-color:rgba(86,105,129,.15);box-shadow:inset 0 1px rgba(255,255,255,.88),0 5px 18px rgba(65,85,110,.08)}
html[data-wst-theme="macos"] .wst-tabs button.is-active{box-shadow:inset 0 0 0 1px rgba(8,124,255,.14),0 10px 30px rgba(8,124,255,.12);background:rgba(8,124,255,.10)}
html[data-wst-theme="macos"] .wst-mobile-run-dock{background:rgba(247,250,253,.78)}

@media(max-width:1280px){
  .wst-stage{width:100%;padding:0}.wst-titlebar{grid-template-columns:minmax(260px,1fr) auto auto}.wst-titlebar__status{display:none}.wst-workbench{grid-template-columns:1fr}.wst-editor-shell{border-right:0;border-bottom:1px solid var(--wst-line)}.wst-runtime{display:grid;grid-template-columns:190px 1fr 1fr;gap:10px}.wst-runtime>header,.wst-progress-block{grid-column:1/-1}.wst-mini-chart,.wst-runtime-kv,.wst-runtime-tip{margin-top:0}.wst-stats--runner{grid-template-columns:repeat(3,1fr)}.wst-stat-wide{grid-column:span 1}.wst-fields--smtp{grid-template-columns:minmax(180px,1fr) 110px 110px minmax(180px,1fr)}.wst-field--password{grid-column:1/-1}
}

/* v1.7 — universal language picker */
.wst-preferences{display:flex;align-items:center;gap:8px;min-width:0}
.wst-language{position:relative;z-index:96}
.wst-language>summary{height:40px;min-width:74px;display:grid;grid-template-columns:20px minmax(0,1fr) 14px;align-items:center;gap:6px;padding:0 9px;border:1px solid var(--wst-line);border-radius:10px;background:var(--wst-surface-2);color:var(--wst-text);cursor:pointer;list-style:none;box-shadow:inset 0 1px rgba(255,255,255,.05)}
.wst-language>summary::-webkit-details-marker{display:none}.wst-language>summary b{font-size:10px;letter-spacing:.04em;text-transform:uppercase}.wst-language>summary svg{width:14px;height:14px;fill:none;stroke:var(--wst-muted);stroke-width:2;transition:transform .16s}.wst-language[open]>summary svg{transform:rotate(180deg)}
.wst-language__menu{position:absolute;right:0;top:46px;width:224px;padding:6px;border:1px solid var(--wst-line);border-radius:12px;background:var(--wst-surface);box-shadow:0 18px 50px rgba(0,0,0,.32);max-height:min(420px,70vh);overflow:auto}
.wst-language__menu a{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:8px;align-items:center;padding:9px 10px;border-radius:8px;color:var(--wst-text-2);text-decoration:none;font-size:11px}.wst-language__menu a:hover,.wst-language__menu a.is-active{background:var(--wst-accent-soft);color:var(--wst-text)}.wst-language__menu a small{color:var(--wst-muted);font-size:9px;text-transform:uppercase}
@media(max-width:900px){.wst-preferences{grid-row:2;grid-column:1}.wst-theme-trigger{min-width:170px}}
@media(max-width:640px){.wst-preferences{grid-row:auto;grid-column:auto;display:grid;grid-template-columns:auto minmax(0,1fr);width:100%}.wst-language>summary{width:78px}.wst-language__menu{position:fixed;left:10px;right:10px;top:76px;width:auto;max-height:calc(100vh - 96px)}.wst-theme-trigger{width:100%;min-width:0}}

/* v1.8 — controlled multi-domain benchmark profile */
.wst-benchmark-profile{margin:12px 0 16px;padding:14px;border:1px solid var(--wst-line);border-radius:var(--wst-radius-sm);background:var(--wst-surface)}
.wst-benchmark-profile .wst-mode-switch{margin-top:9px}
.wst-benchmark-domains{margin-top:12px}
.wst-benchmark-domains input{max-width:180px}
html[data-wst-theme="win98"] .wst-benchmark-profile,
html[data-wst-theme="winxp"] .wst-benchmark-profile,
html[data-wst-theme="ubuntu"] .wst-benchmark-profile,
html[data-wst-theme="macos"] .wst-benchmark-profile{border-radius:inherit}

/* v1.9 — correlated run diagnostics */
.wst-run-diagnostics{margin-top:12px;border:1px solid var(--wst-line,#2a3b4a);border-radius:12px;background:rgba(7,16,25,.55);overflow:hidden}
.wst-run-diagnostics header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-bottom:1px solid var(--wst-line,#2a3b4a)}
.wst-run-diagnostics header small{display:block;font-size:10px;letter-spacing:.12em;opacity:.65}.wst-run-diagnostics header b{font-size:12px}
.wst-run-diagnostics header button{font:inherit;font-size:10px;padding:5px 7px;border:1px solid currentColor;border-radius:7px;background:transparent;color:inherit;cursor:pointer;margin-left:4px}
.wst-run-diagnostics pre{margin:0;max-height:250px;overflow:auto;padding:12px;font:10px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;word-break:break-word}
