
/* Diagnostic Studio: minimalist, responsive, data-first visual analytics. */
.dx-root{display:grid;gap:16px;color:var(--text,#f4f4f6);margin:8px 0 22px;min-width:0}
.dx-intro{display:grid;gap:5px}
.dx-intro h2{font-size:clamp(25px,4vw,38px);font-weight:680;line-height:1.08;letter-spacing:-.047em;margin:0}
.dx-eyebrow{color:#a0a0ab;font-size:10px;letter-spacing:.17em;font-weight:750}
.dx-muted{color:var(--text-2,#a5a5ac);font-size:12px;line-height:1.55;margin:0}
.dx-test-switch{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;padding:1px 0}
.dx-test-btn{flex:0 0 auto;border:1px solid rgba(220,220,230,.15);background:rgba(180,180,200,.035);border-radius:9px;color:var(--text-2,#9c9ca5);padding:10px 13px;font:inherit;font-size:12px;font-weight:600;cursor:pointer}
.dx-test-btn.dx-test-selected{color:#f4f4f8;background:rgba(230,230,250,.12);border-color:rgba(235,235,245,.4)}
.dx-tabs{display:flex;gap:2px;border-bottom:1px solid rgba(190,190,200,.16)}
.dx-tab{flex:0 0 auto;border:0;border-bottom:2px solid transparent;background:transparent;color:#a9a9b3;font-size:12px;font-weight:630;padding:12px 17px;cursor:pointer}
.dx-tab.dx-active{color:#f3f3f6;border-bottom-color:#f3f3f6}
.dx-content{display:grid;gap:13px;min-width:0}
.dx-card{padding:21px 22px;border:1px solid rgba(195,195,205,.16);border-radius:15px;background:linear-gradient(145deg,rgba(190,190,195,.055),rgba(190,190,195,.016));display:grid;gap:10px;min-width:0;overflow:hidden}
.dx-card-top{display:flex;justify-content:space-between;align-items:start;gap:9px;flex-wrap:wrap}
.dx-card h3,.dx-source-detail h3{font-size:17px;font-weight:680;letter-spacing:-.025em;line-height:1.2;margin:0 0 4px}
.dx-card h4{font-size:14px;margin:0}
.dx-graph,.dx-benchmark-svg{width:100%;height:auto;display:block;min-width:0}
.dx-graph{max-height:310px;touch-action:pan-y}
.dx-benchmark-svg{max-height:300px}
.dx-readout{font-variant-numeric:tabular-nums;font-size:13px;font-weight:680;min-height:17px;color:#eeeeef}
.dx-micro{font-size:10px;line-height:1.5;color:#a4a4ae}
.dx-empty{font-size:13px;line-height:1.65;color:#c5c5cd;padding:18px 12px;margin:0;background:rgba(255,255,255,.03);border-radius:10px}
.dx-statline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.dx-stat{min-width:0;padding:14px 15px;background:rgba(190,190,200,.07);border:1px solid rgba(220,220,230,.12);border-radius:10px;display:flex;flex-direction:column;gap:8px}
.dx-stat strong{font-size:20px;line-height:1.1;font-variant-numeric:tabular-nums;font-weight:700;white-space:normal;overflow-wrap:anywhere}
.dx-sources{display:grid;gap:8px}
.dx-source{display:flex;gap:11px;align-items:start;border-bottom:1px solid rgba(210,210,220,.09);padding:10px 0}
.dx-source:last-child{border:0}
.dx-source-marker{display:grid;place-items:center;background:rgba(180,180,190,.12);border-radius:20px;color:#91919b;width:24px;height:24px;flex:0 0 24px;font-size:12px}
.dx-source-marker.dx-ok{background:rgba(230,230,240,.18);color:#f8f8fc}
.dx-source>div{display:grid;gap:4px}
.dx-source strong{font-size:13px}
.dx-coverage{height:5px;border-radius:99px;background:rgba(200,200,220,.14);overflow:hidden}
.dx-coverage-fill{height:100%;border-radius:99px;background:#dddde5;transition:width .15s}
.dx-source-detail{border:1px solid rgba(195,195,205,.16);border-radius:14px;padding:20px;display:grid;gap:12px}
.dx-refresh{justify-self:start;background:transparent;border:1px solid rgba(190,190,200,.3);border-radius:10px;color:#eeeef2;padding:10px 13px;font:inherit;font-size:12px;cursor:pointer}
.dx-refresh:hover,.dx-test-btn:hover{background:rgba(255,255,255,.09)}
.dx-root button:focus-visible{outline:2px solid #f1f1f5;outline-offset:3px}
@media(max-width:520px){.dx-card{padding:14px}.dx-statline{grid-template-columns:repeat(2,minmax(0,1fr))}.dx-stat strong{font-size:17px}.dx-test-btn{padding:9px 10px;font-size:11px}.dx-intro h2{font-size:28px}}
@media(prefers-reduced-motion:reduce){.dx-coverage-fill{transition:none}}
