.ttm-dzs {--ttm-bg:#fff;--ttm-panel:#f5f8fc;--ttm-text:#142033;--ttm-muted:#475569;--ttm-line:#c7d2e0;--ttm-blue:#006bd6;--ttm-orange:#d97706;--ttm-ok:#126b38;--ttm-bad:#a51c30;--ttm-ok-bg:#edf8f0;--ttm-bad-bg:#fff1f2;box-sizing:border-box;width:100%;max-width:900px;margin:1.75rem auto;padding:clamp(16px,3vw,28px);border:1px solid var(--ttm-line);border-top:4px solid var(--ttm-blue);border-radius:16px;background:var(--ttm-bg);color:var(--ttm-text);font:16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow-wrap:break-word;text-align:left;color-scheme:light}
.ttm-dzs *, .ttm-dzs *::before,.ttm-dzs *::after{box-sizing:border-box}
.ttm-dzs[data-theme="dark"]{--ttm-bg:#121923;--ttm-panel:#192332;--ttm-text:#f1f5fa;--ttm-muted:#b8c5d5;--ttm-line:#445166;--ttm-blue:#66b5ff;--ttm-orange:#ffb454;--ttm-ok:#93e5ad;--ttm-bad:#ffadb7;--ttm-ok-bg:#183529;--ttm-bad-bg:#3a2028;color-scheme:dark}
@media(prefers-color-scheme:dark){.ttm-dzs[data-theme="auto"]{--ttm-bg:#121923;--ttm-panel:#192332;--ttm-text:#f1f5fa;--ttm-muted:#b8c5d5;--ttm-line:#445166;--ttm-blue:#66b5ff;--ttm-orange:#ffb454;--ttm-ok:#93e5ad;--ttm-bad:#ffadb7;--ttm-ok-bg:#183529;--ttm-bad-bg:#3a2028;color-scheme:dark}}
.ttm-dzs .ttm-dzs__brand{display:flex;gap:10px;align-items:center;font-size:12px;font-weight:750;letter-spacing:.055em;line-height:1.35;color:var(--ttm-text)}
.ttm-dzs .ttm-dzs__brand img{display:block;width:48px;height:48px;border-radius:50%;margin:0;flex-shrink:0}
.ttm-dzs .ttm-dzs__brand small{display:block;color:var(--ttm-muted);font-size:10px;letter-spacing:.1em}
.ttm-dzs h2.ttm-dzs__title{font:750 clamp(22px,3.4vw,30px)/1.2 system-ui,sans-serif;color:var(--ttm-text);margin:16px 0 8px;letter-spacing:-.025em}
.ttm-dzs p.ttm-dzs__intro{margin:0 0 20px;color:var(--ttm-muted);font-size:15px;line-height:1.55}
.ttm-dzs .ttm-dzs__layout{display:flex;flex-wrap:wrap;gap:20px;align-items:center}
.ttm-dzs .ttm-dzs__visual{flex:1 1 265px;min-width:0;text-align:center;background:var(--ttm-panel);border:1px solid var(--ttm-line);border-radius:12px;padding:12px}
.ttm-dzs .ttm-dzs__visual svg{display:block;width:100%;max-width:280px;height:auto;margin:0 auto}
.ttm-dzs .ttm-dzs__outer{fill:none;stroke:var(--ttm-line);stroke-width:1.4}
.ttm-dzs .ttm-dzs__ring{fill:none;stroke:var(--ttm-line);stroke-dasharray:3 5}
.ttm-dzs .ttm-dzs__axis{fill:none;stroke:var(--ttm-line);stroke-width:1}
.ttm-dzs .ttm-dzs__zone{fill:var(--ttm-blue);fill-opacity:.14;stroke:var(--ttm-blue);stroke-width:2;stroke-dasharray:5 4}
.ttm-dzs .ttm-dzs__centre{stroke:var(--ttm-text);stroke-width:1.5}
.ttm-dzs .ttm-dzs__vector{stroke:var(--ttm-orange);stroke-width:2.5}
.ttm-dzs .ttm-dzs__dot{fill:var(--ttm-orange);stroke:var(--ttm-text);stroke-width:1}
.ttm-dzs .ttm-dzs__scale{fill:var(--ttm-muted);font-size:12px;font-family:inherit}
.ttm-dzs .ttm-dzs__legend{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 14px;color:var(--ttm-text);font-size:12px}
.ttm-dzs .ttm-dzs__legend span{display:inline-flex;align-items:center;gap:6px}
.ttm-dzs .ttm-dzs__swatch{display:inline-block;width:11px;height:11px;border-radius:50%;flex:none}
.ttm-dzs .ttm-dzs__swatch--zone{background:transparent;border:2px dashed var(--ttm-blue)}
.ttm-dzs .ttm-dzs__swatch--input{background:var(--ttm-orange);border:1px solid var(--ttm-text)}
.ttm-dzs p.ttm-dzs__note{font-size:12px;line-height:1.45;color:var(--ttm-muted);margin:10px 0 0}
.ttm-dzs .ttm-dzs__controls{flex:1 1 265px;min-width:0}
.ttm-dzs .ttm-dzs__control{margin-bottom:15px}
.ttm-dzs .ttm-dzs__label{display:flex;justify-content:space-between;align-items:center;gap:8px;font-weight:650;font-size:15px}
.ttm-dzs output{font:750 23px/1.3 system-ui,sans-serif;color:var(--ttm-blue);font-variant-numeric:tabular-nums}
.ttm-dzs input[type="range"]{display:block;width:100%;min-height:44px;margin:1px 0 0;padding:0;accent-color:var(--ttm-blue);cursor:pointer;box-shadow:none;background:transparent;border:0}
.ttm-dzs .ttm-dzs__ends{display:flex;justify-content:space-between;font-size:12px;color:var(--ttm-muted);margin-top:-4px}
.ttm-dzs .ttm-dzs__result{padding:12px;border-radius:10px;border:1px solid var(--ttm-line);background:var(--ttm-panel);color:var(--ttm-text);font-size:14px;line-height:1.4}
.ttm-dzs .ttm-dzs__result strong,.ttm-dzs .ttm-dzs__result span{display:block}
.ttm-dzs .ttm-dzs__result span{margin-top:4px}
.ttm-dzs .ttm-dzs__result[data-state="active"]{background:var(--ttm-bad-bg);color:var(--ttm-bad);border-color:var(--ttm-bad)}
.ttm-dzs .ttm-dzs__result[data-state="suppressed"]{background:var(--ttm-ok-bg);color:var(--ttm-ok);border-color:var(--ttm-ok)}
.ttm-dzs button.ttm-dzs__reset{display:block;width:100%;min-height:44px;margin:12px 0 0;padding:10px 14px;font:650 14px/1.4 system-ui,sans-serif;text-transform:none;letter-spacing:normal;cursor:pointer;border:1px solid var(--ttm-blue);border-radius:8px;color:var(--ttm-blue);background:transparent;box-shadow:none}
.ttm-dzs button.ttm-dzs__reset:hover{background:var(--ttm-panel)}
.ttm-dzs :focus-visible{outline:3px solid var(--ttm-blue);outline-offset:3px}
.ttm-dzs p.ttm-dzs__disclaimer{font-size:12px;line-height:1.5;color:var(--ttm-muted);border-top:1px solid var(--ttm-line);margin:18px 0 0;padding-top:12px}
