.qdt-embedded{--qdt-ink:#17212e;--qdt-border:#dce1e7;color:var(--qdt-ink);margin:26px 0 30px;font-family:inherit}
.qdt-embedded *{box-sizing:border-box}.qdt-embedded [hidden]{display:none!important}.qdt-embedded button{font:inherit;cursor:pointer}.qdt-embedded button:focus-visible,.qdt-embedded summary:focus-visible{outline:3px solid #2864cd;outline-offset:4px}
.qdt-embedded .qdt-hint{font-size:14px;line-height:1.6;color:#5a6878;margin:0 0 16px}.qdt-controls{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px}.qdt-modes{display:flex;flex-wrap:wrap;gap:5px;padding:5px;border:1px solid var(--qdt-border);border-radius:10px;background:#fff}.qdt-modes button{border:0;background:transparent;color:#4e5b6b;padding:10px 13px;border-radius:6px;font-size:13px;font-weight:600}.qdt-modes button[aria-pressed=true]{background:#17212e;color:#fff}.qdt-legend{display:flex;gap:16px;color:#576474;font-size:12px}.qdt-legend span{display:flex;align-items:center;gap:6px}.qdt-legend i{width:17px;height:3px;background:var(--line);border-radius:3px}
.qdt-canvas{border:1px solid var(--qdt-border);border-radius:14px;background:#fff;overflow:hidden}.qdt-canvas svg{display:block;width:100%;height:auto;font-family:Inter,"Segoe UI",Arial,sans-serif}.qdt-diagram-footer{border-top:1px solid #edf0f3;padding:13px 22px;display:flex;justify-content:space-between;gap:14px;color:#647181;font-size:12px;line-height:1.5}.qdt-diagram-footer strong{font-weight:600;color:#344352}
.qdt-details{display:grid;grid-template-columns:1.15fr 1.15fr 1fr;gap:28px;padding:24px 4px 22px}.qdt-details>div+div{border-left:1px solid var(--qdt-border);padding-left:24px}.qdt-details .qdt-detail-label{margin:0 0 10px;font-size:11px;font-weight:700;letter-spacing:1px;color:#667483}.qdt-details h3{font-size:21px;line-height:1.3;margin:0 0 9px;letter-spacing:-.3px}.qdt-details p:not(.qdt-detail-label){font-size:14px;color:#4d5c6c;line-height:1.65;margin:0}.qdt-detail-tag{display:inline-block;color:#b71727;font-weight:700;font-size:12px;margin-bottom:9px}
.qdt-reference{border:1px solid var(--qdt-border);border-radius:8px;padding:14px 18px;margin-bottom:16px;background:#fff}.qdt-reference summary{cursor:pointer;font-size:14px;font-weight:600}.qdt-reference-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:22px}.qdt-reference h3{font-size:16px;margin:0 0 8px}.qdt-reference p{font-size:14px;line-height:1.65;margin:0 0 8px}.qdt-reference .qdt-condition{color:#5b6877}.qdt-embedded .qdt-note{font-size:12px;line-height:1.7;color:#647181;margin:0}
.qdt-demo{background:#edf2f6;border:1px solid var(--qdt-border);border-radius:10px;margin-top:18px;padding:18px 22px;display:grid;grid-template-columns:1fr 1fr;gap:20px}.qdt-demo h3{margin:0 0 8px;font-size:16px}.qdt-demo p{font-size:13px;line-height:1.65;margin:6px 0;color:#4d5c6c}.qdt-demo label{display:block;font-size:14px;margin:10px 0}.qdt-demo input[type=range]{width:100%;max-width:330px;accent-color:#087e83}.qdt-demo button{padding:10px 14px;background:#fff;border:1px solid #b7c4d1;border-radius:7px;color:#24374c;font-weight:600;font-size:13px}.qdt-demo pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#17212e;color:#d9e8f3;border-radius:8px;padding:15px;margin:0;font:13px/1.65 Consolas,monospace}.qdt-demo output{font-weight:700;color:#17212e}.qdt-demo small{font-size:11px;color:#5f6d7b;display:block;margin-top:8px}
@media(max-width:760px){.qdt-controls{align-items:start;flex-direction:column;gap:14px}.qdt-modes{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.qdt-modes button{padding:10px 5px;font-size:12px}.qdt-legend{gap:22px}.qdt-details{grid-template-columns:1fr;gap:20px;padding:22px 3px}.qdt-details>div+div{border-left:0;border-top:1px solid var(--qdt-border);padding:18px 0 0}.qdt-diagram-footer{padding:12px 15px;flex-direction:column;gap:4px}.qdt-demo{grid-template-columns:1fr;padding:17px}.qdt-reference-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.qdt-embedded *{transition:none!important}}
