/* All presentation rules are scoped to this demo's central MW4 content pane. */
.ds4mw4{--mw4-brand:#00bfd8;--mw4-style:#f59e0b;--mw4-style-end:#f97316;--mw4-bg:#061116;--mw4-panel:#0b1d25;--mw4-input:#07161c;--mw4-border:#23434e;--mw4-text:#e7f2f5;--mw4-muted:#a6bec7;--mw4-track:#213945;width:100%;height:100%;min-width:0;min-height:0;overflow:auto;background:var(--mw4-bg);color:var(--mw4-text);font:12px/1.45 "Segoe UI",Arial,sans-serif;scrollbar-width:thin;scrollbar-color:#6f8f98 transparent;color-scheme:dark;isolation:isolate}
.ds4mw4[data-theme=light]{--mw4-bg:#e9f2f5;--mw4-panel:#fff;--mw4-input:#f2f8fa;--mw4-border:#b6d5df;--mw4-text:#173b47;--mw4-muted:#547782;--mw4-track:#cedfe5;color-scheme:light}
.ds4mw4 *{box-sizing:border-box}.ds4mw4 .ds4mw4-inner{padding:18px 24px 20px}.ds4mw4 h1,.ds4mw4 h2,.ds4mw4 h3,.ds4mw4 p{margin:0}.ds4mw4 h1{font-size:25px;line-height:1.25;margin:9px 0 22px;font-weight:750;letter-spacing:-.4px}.ds4mw4 h2{font-size:13px;line-height:1.4;font-weight:700}.ds4mw4 button,.ds4mw4 input,.ds4mw4 select{font:inherit}.ds4mw4 button{cursor:pointer}.ds4mw4 button:disabled,.ds4mw4 select:disabled{cursor:default;opacity:.45}.ds4mw4 button:focus-visible,.ds4mw4 select:focus-visible,.ds4mw4 input:focus-visible,.ds4mw4 .target-zone:focus-visible{outline:2px solid var(--mw4-brand);outline-offset:3px}.ds4mw4 .ds4mw4-card{border:1px solid var(--mw4-border);border-radius:16px;padding:20px;margin-bottom:16px;background:var(--mw4-panel)}.ds4mw4 .ds4mw4-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.ds4mw4 .ds4mw4-help{border:0;border-radius:9px;background:linear-gradient(100deg,#00b9d3,#48cad7);color:#01252f;font-weight:700;font-size:11px;padding:8px 20px;min-width:76px}.ds4mw4 .ds4mw4-help:hover{filter:brightness(1.1)}
.ds4mw4 .ds4mw4-check{display:flex;align-items:center;gap:9px;cursor:pointer;color:var(--mw4-text)}.ds4mw4 .ds4mw4-check input{appearance:none;-webkit-appearance:none;position:relative;flex:0 0 21px;width:21px;height:21px;margin:0;border:1px solid var(--mw4-border);border-radius:6px;background:var(--mw4-input);cursor:pointer}.ds4mw4 .ds4mw4-check input:checked{border-color:#00b7cc;background:linear-gradient(130deg,#00bed7,#47c7d4)}.ds4mw4 .ds4mw4-check input:checked:after{content:"";position:absolute;width:10px;height:6px;border-left:2px solid #003841;border-bottom:2px solid #003841;transform:rotate(-45deg);left:4px;top:5px}.ds4mw4 .ds4mw4-enable{font-size:12px}.ds4mw4 .ds4mw4-enable input{width:18px;height:18px;flex-basis:18px}.ds4mw4 .ds4mw4-enable input:checked:after{left:3px;top:4px}
.ds4mw4 .ds4mw4-style-card{position:relative;overflow:hidden;padding-top:20px}.ds4mw4 .ds4mw4-style-card:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--mw4-style),var(--mw4-style-end))}.ds4mw4 .ds4mw4-style-card .ds4mw4-card-heading{margin-bottom:3px}.ds4mw4 .ds4mw4-style-intro{font-size:11px;color:var(--mw4-muted);max-width:92%;margin-bottom:17px}.ds4mw4 .ds4mw4-badge{font-size:10px;font-weight:700;border-radius:20px;background:var(--mw4-style);color:#fff;padding:3px 11px;white-space:nowrap}.ds4mw4 .ds4mw4-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ds4mw4 .ds4mw4-preset{position:relative;isolation:isolate;overflow:hidden;text-align:left;min-height:148px;padding:14px 12px 13px;border:1px solid transparent;border-radius:15px;color:#fff;opacity:.74;transition:transform .18s,opacity .18s,box-shadow .18s}.ds4mw4 .ds4mw4-preset:before,.ds4mw4 .ds4mw4-preset:after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.095);z-index:-1;width:85px;height:85px;right:-20px;top:-35px}.ds4mw4 .ds4mw4-preset:after{width:60px;height:60px;right:-10px;top:auto;bottom:-25px}.ds4mw4 .ds4mw4-legit{background:linear-gradient(115deg,#10b981,#06b6d4)}.ds4mw4 .ds4mw4-medium{background:linear-gradient(115deg,#f59e0b,#f97316)}.ds4mw4 .ds4mw4-rage{background:linear-gradient(115deg,#ef4444,#db2777)}.ds4mw4 .ds4mw4-preset:hover{opacity:1;transform:translateY(-3px)}.ds4mw4 .ds4mw4-preset.is-selected{opacity:1;transform:translateY(-3px);box-shadow:0 0 17px color-mix(in srgb,var(--mw4-style) 40%,transparent)}.ds4mw4 .ds4mw4-preset>svg{display:block;stroke:currentColor;fill:currentColor;stroke-width:1.2;width:23px;height:23px;margin-bottom:5px;opacity:.9}.ds4mw4 .ds4mw4-preset strong{font-size:18px;display:block;line-height:1.15;font-weight:800;letter-spacing:-.4px}.ds4mw4 .ds4mw4-preset-description{display:block;min-height:26px;font-size:10px;margin-top:4px;line-height:1.2}.ds4mw4 .ds4mw4-preset small{font-size:8.6px;line-height:1.35;display:block;white-space:nowrap}.ds4mw4 .ds4mw4-preset-tick{display:none;position:absolute;top:14px;right:12px;width:21px;height:21px;background:#fff;color:var(--mw4-style);border-radius:50%;font-size:15px;text-align:center;font-weight:900}.ds4mw4 .ds4mw4-preset.is-selected .ds4mw4-preset-tick{display:block}.ds4mw4 .ds4mw4-bars{display:flex;gap:4px;margin-bottom:7px}.ds4mw4 .ds4mw4-bars i{width:17px;height:4px;background:#ffffff45;border-radius:3px}.ds4mw4 .ds4mw4-bars i:first-child,.ds4mw4 .ds4mw4-medium .ds4mw4-bars i:nth-child(2),.ds4mw4 .ds4mw4-rage .ds4mw4-bars i{background:#fff}
.ds4mw4 .ds4mw4-sliders{display:flex;flex-direction:column;gap:14px}.ds4mw4 .ds4mw4-slider-row{display:grid;grid-template-columns:110px minmax(50px,1fr) 55px;gap:13px;align-items:center;color:var(--mw4-muted)}.ds4mw4 .ds4mw4-slider-row output{border:1px solid var(--mw4-border);border-radius:7px;background:var(--mw4-input);padding:4px 2px;text-align:center;color:var(--mw4-text);font-weight:600;font-size:11px}.ds4mw4 input[type=range]{appearance:none;-webkit-appearance:none;display:block;width:100%;height:6px;margin:0;background:linear-gradient(90deg,var(--mw4-brand) 0 var(--fill),var(--mw4-track) var(--fill) 100%);border:0;border-radius:12px;cursor:pointer}.ds4mw4 input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:16px;height:16px;background:var(--mw4-brand);border:3px solid #f4fdff;border-radius:50%;box-shadow:0 0 0 1px #7fa5ad55}.ds4mw4 input[type=range]::-moz-range-thumb{width:10px;height:10px;background:var(--mw4-brand);border:3px solid #f4fdff;border-radius:50%}
.ds4mw4 .ds4mw4-manual{margin-bottom:18px;font-size:12px}.ds4mw4 .ds4mw4-target-grid{display:grid;grid-template-columns:minmax(160px,220px) minmax(0,1fr);gap:20px;align-items:start}.ds4mw4 .ds4mw4-target-grid.is-disabled{opacity:.4}.ds4mw4 .ds4mw4-target-grid.is-disabled .ds4mw4-figure{pointer-events:none}.ds4mw4 .ds4mw4-figure{border:1px solid var(--mw4-border);overflow:hidden;line-height:0;max-width:220px}.ds4mw4 .ds4mw4-operator{width:100%;height:auto;display:block;color:var(--mw4-style)}.ds4mw4 .ds4mw4-target-copy{padding-top:4px}.ds4mw4 .ds4mw4-eyebrow{font-size:10px;color:var(--mw4-muted);display:block;letter-spacing:.2px}.ds4mw4 .ds4mw4-target-copy h3{font-size:25px;color:var(--mw4-style);font-weight:750;line-height:1.25;margin:5px 0 7px}.ds4mw4 .ds4mw4-target-copy p{color:var(--mw4-muted);font-size:11px;min-height:43px;margin-bottom:17px}.ds4mw4 .ds4mw4-quick-label{display:block;color:var(--mw4-muted);font-size:10px;margin-bottom:7px}.ds4mw4 .ds4mw4-chips{display:flex;flex-wrap:wrap;gap:7px 5px}.ds4mw4 .ds4mw4-chip{border:1px solid var(--mw4-border);border-radius:20px;padding:4px 9px;white-space:nowrap;color:var(--mw4-muted);background:var(--mw4-input);font-size:10px;line-height:1.2}.ds4mw4 .ds4mw4-chip[data-selected=true]{background:var(--mw4-style);border-color:var(--mw4-style);color:#fff;font-weight:650}.ds4mw4 .ds4mw4-random{border:1px solid var(--mw4-style);border-radius:13px;margin-top:23px;padding:14px}.ds4mw4 .ds4mw4-random-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.ds4mw4 .ds4mw4-random-row .ds4mw4-check{font-size:11px;font-weight:600;gap:8px}.ds4mw4 select{border:1px solid var(--mw4-border);background:var(--mw4-input);color:var(--mw4-text);border-radius:8px;padding:9px 27px 9px 10px;max-width:100%;font-size:11px;min-width:0}.ds4mw4 .ds4mw4-random-row select{width:182px;flex:0 1 182px}.ds4mw4 .ds4mw4-skeleton-row{display:flex;align-items:center;justify-content:space-between;min-height:35px;margin-top:16px}.ds4mw4 .ds4mw4-skeleton-row .ds4mw4-check{font-size:12px}.ds4mw4 .ds4mw4-skeleton-glyph{width:25px;height:35px;color:var(--mw4-style)}.ds4mw4 .ds4mw4-skeleton-glyph svg{width:100%;height:100%;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round}.ds4mw4 .ds4mw4-activator-row{display:flex;align-items:center;gap:22px}.ds4mw4 .ds4mw4-activator-row>label:first-child{display:flex;align-items:center;gap:25px;color:var(--mw4-muted);flex:1}.ds4mw4 .ds4mw4-activator-row select{flex:1;text-align:center}.ds4mw4 .ds4mw4-demo-note{font-size:10px;color:var(--mw4-muted);padding:1px 2px 10px}.ds4mw4 .ds4mw4-live{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
.ds4mw4 .ds4mw4-dialog{color:var(--mw4-text);background:var(--mw4-bg);border:1px solid var(--mw4-brand);border-radius:15px;padding:24px;width:min(500px,90vw);font:13px/1.7 "Segoe UI",Arial,sans-serif;box-shadow:0 20px 80px #0009}.ds4mw4 .ds4mw4-dialog::backdrop{background:#020a10b3}.ds4mw4 .ds4mw4-dialog header{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.ds4mw4 .ds4mw4-dialog header h2{font-size:23px}.ds4mw4 .ds4mw4-dialog header button{border:0;background:none;color:var(--mw4-muted);font-size:25px;padding:0 6px}.ds4mw4 .ds4mw4-dialog p{color:var(--mw4-muted)}.ds4mw4 .ds4mw4-dialog footer{margin-top:25px;text-align:right}
@media(prefers-reduced-motion:reduce){.ds4mw4 .ds4mw4-preset{transition:none}}
/* The simulated target button only appears for random mode on target changes. */
.ds4mw4 [data-next-target][hidden] { display: none !important; }
.ds4mw4 [data-next-target] { margin-top: .55rem; }