/* Local instruments. The surrounding pages own their own typography and spacing. */
[data-demo]{min-width:0;max-width:100%;container-type:inline-size;}
.mt-instrument{--mt-surface:#101e29;--mt-rule:#334654;--mt-aqua:#65a6eb;--mt-mono:"IBM Plex Mono",Consolas,"Liberation Mono",monospace;box-sizing:border-box;overflow:hidden;color:#eef6fb;background:var(--mt-surface);border:1px solid var(--mt-rule);border-radius:12px;font:400 16px/1.5 "Inter","Segoe UI",sans-serif;text-align:left;color-scheme:dark;isolation:isolate;}
.mt-instrument *{box-sizing:border-box;}
.mt-instrument .mt-head,.mt-instrument .mt-controls,.mt-instrument .mt-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;}
.mt-instrument .mt-head{background:#152632;border-bottom:1px solid var(--mt-rule);flex-wrap:wrap;}
.mt-instrument .mt-title{margin:0;font:600 17px/1.25 "Inter","Segoe UI",sans-serif;letter-spacing:-.015em;color:#fff;}
.mt-instrument .mt-sub,.mt-instrument .mt-foot,.mt-instrument .mt-controls label,.mt-instrument .mt-legend{font:400 12px/1.5 var(--mt-mono);color:#bcceD9;letter-spacing:.01em;}
.mt-instrument .mt-sub{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--mt-aqua);}
.mt-instrument .mt-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid var(--mt-rule);}
.mt-instrument .mt-metric{padding:13px 20px;min-width:0;}
.mt-instrument .mt-metric+.mt-metric{border-left:1px solid var(--mt-rule);}
.mt-instrument .mt-k{color:#bbcad4;display:block;font-size:13px;line-height:1.35;}
.mt-instrument .mt-v{display:block;margin-top:4px;font:500 clamp(18px,4cqw,30px)/1.1 var(--mt-mono);letter-spacing:-.05em;color:white;font-variant-numeric:tabular-nums;}
.mt-instrument .mt-plot{margin:0;position:relative;background:#0c1923;overflow:hidden;}
.mt-instrument .mt-plot svg{display:block;width:100%;height:auto;min-height:104px;}
.mt-instrument .mt-controls{flex-wrap:wrap;border-top:1px solid var(--mt-rule);justify-content:flex-start;background:#13222e;}
.mt-instrument .mt-controls button,.mt-instrument .mt-controls select{width:auto;height:auto;box-shadow:none;background:#1a303e;border:1px solid #526575;color:#eef7fa;border-radius:5px;min-height:38px;padding:7px 12px;font:500 14px/1.3 "Inter","Segoe UI",sans-serif;text-transform:none;letter-spacing:normal;cursor:pointer;}
.mt-instrument .mt-controls button:hover,.mt-instrument .mt-controls select:hover{background:#23404f;border-color:#7ea7d3;}
.mt-instrument .mt-controls :focus-visible{outline:2px solid #9ac7f7;outline-offset:3px;}
.mt-instrument .mt-controls label{display:flex;align-items:center;gap:8px;}
.mt-instrument .mt-controls select{appearance:none;padding-right:31px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23ccdae0' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");background-size:10px auto;background-position:right 11px center;background-repeat:no-repeat;}
.mt-instrument .mt-controls button[aria-pressed=true]{color:#081c25;background:#84b2e4;border-color:#84b2e4;}
.mt-instrument .mt-foot{min-height:42px;border-top:1px solid var(--mt-rule);padding-block:10px;justify-content:flex-start;}
.mt-instrument .mt-legend{display:flex;gap:15px;flex-wrap:wrap;align-items:center;padding:12px 20px;background:#0c1923;}
.mt-instrument .mt-key{display:flex;gap:6px;align-items:center;}
.mt-instrument .mt-dot{display:inline-block;width:13px;height:3px;border-radius:1px;background:var(--mt-c);}
.mt-instrument .mt-a11y{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
.mt-recorder .mt-channels{border-top:0;border-bottom:1px solid var(--mt-rule);}
.mt-recorder .mt-capture{margin:0;background:#0c1923;padding:16px 20px 12px;}
.mt-recorder .mt-capture>a{display:block;cursor:zoom-in;}
.mt-recorder .mt-capture img{display:block;width:100%;max-height:480px;object-fit:contain;height:auto;}
.mt-recorder .mt-capture figcaption{margin:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:7px;padding-top:10px;color:#bcceD9;font:400 12px/1.45 var(--mt-mono);}
.mt-recorder .mt-capture figcaption a{color:var(--mt-aqua);text-decoration:underline;text-underline-offset:3px;}
.mt-recorder .mt-capture a:focus-visible{outline:2px solid var(--mt-aqua);outline-offset:4px;}
@container(max-width:440px){
 .mt-instrument .mt-head,.mt-instrument .mt-controls,.mt-instrument .mt-foot,.mt-instrument .mt-legend{padding-inline:12px;}
 .mt-instrument .mt-metric{padding:10px 9px;}
 .mt-instrument .mt-sub{font-size:10px;}
 .mt-instrument .mt-k{font-size:12px;}
 .mt-instrument .mt-controls{gap:8px;}
 .mt-instrument .mt-controls button,.mt-instrument .mt-controls select{font-size:13px;}
 .mt-instrument .mt-controls label{gap:5px;}
 .mt-recorder .mt-capture{padding:10px;}
}
.vr-console{background:#10252f;border:1px solid #36505a;border-radius:8px;overflow:hidden;color:#f1f4f8}.vr-console canvas{display:block;width:100%;height:500px}.vr-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:12px 18px;border-top:1px solid #36505a}.vr-tools label,.vr-readout{font:400 .83rem/1.5 var(--mono)}.vr-tools select,.vr-tools button{min-height:40px;color:white;background:#1c3541;border:1px solid #728b91;border-radius:4px;padding:7px 12px}.vr-readout{padding:0 18px 15px;color:#9fc2e8}
@container(max-width:519px){.vr-console canvas{height:492px}}
.mt-instrument .mt-feed{display:block;width:100%;height:auto;aspect-ratio:800/368;}
.mt-gate{position:absolute;inset-block:0;pointer-events:none;border-left:2px solid #65a9f2;filter:drop-shadow(0 0 2px #10252f);}
.mt-gate.crossed{border-color:#83c8ff;border-width:4px;}
.mt-gate span{position:absolute;bottom:3%;left:0;transform:translateX(-50%);white-space:nowrap;border-radius:4px;background:#10252f;color:#90c1f6;padding:.3em .65em;font:500 clamp(10px,2.3cqw,14px)/1.35 var(--mt-mono);text-transform:uppercase;}
