.qm{color:#181c1e;display:flex;flex-direction:column;gap:28px;font-family:inherit}
.qm *{box-sizing:border-box}
.qm svg{width:17px;height:17px;display:inline-block;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.qm button,.qm input,.qm select{font:inherit}
.qm button{cursor:pointer}
.qm button:disabled{cursor:default;opacity:.52}
.qm :is(button,input,select,summary):focus-visible{outline:2px solid #0037b0;outline-offset:3px}
.qm h1,.qm h2,.qm h3,.qm p{margin:0}
.qm h1,.qm h2,.qm h3,.qm .qm-stat strong{font-family:'Space Grotesk','Geist',Arial,sans-serif}
.qm h1{font-size:clamp(30px,4vw,40px);font-weight:700;line-height:1.15;letter-spacing:-.75px}
.qm-top,.qm-heading,.qm-stat-head,.qm-toolbar,.qm-row,.qm-dialog-title,.qm-form-footer,.qm-row-title,.qm-row-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.qm-top{margin-bottom:-12px}
.qm button.qm-back,.qm button.qm-link{padding:0;border:0;background:none;color:#0037b0;font-size:.82rem;font-weight:600}
.qm button.qm-back{display:inline-flex;align-items:center;gap:6px}
.qm button.qm-back:hover,.qm button.qm-link:hover{text-decoration:underline;text-underline-offset:3px}
.qm-heading{align-items:flex-end;gap:20px}
.qm-heading>div{flex:1 1 500px}
.qm-heading p{margin-top:8px;color:#434655;max-width:720px;font-size:1rem;line-height:1.55}
.qm .qm-primary,.qm .qm-secondary,.qm .qm-danger{border:1px solid #0037b0;border-radius:6px;background:#0037b0;color:#fff;display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;gap:7px;font-size:.875rem;font-weight:600;line-height:1.4}
.qm .qm-primary:hover:not(:disabled){background:#1d4ed8}
.qm .qm-secondary{border-color:#c4c5d7;color:#181c1e;background:#fff}
.qm .qm-secondary:hover{background:#f1f4f7}
.qm .qm-danger{background:#ba1a1a;border-color:#ba1a1a}
.qm-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.qm-stat{border:1px solid #c4c5d7;background:white;border-radius:8px;padding:20px;display:flex;flex-flow:column;gap:5px;overflow-wrap:anywhere}
.qm-stat-head{margin-bottom:10px;font-size:.8rem;font-weight:600;color:#434655;gap:5px}
.qm-stat strong{font-size:1.125rem;line-height:1.25;font-weight:600}
.qm-stat small,.qm-row small{font-size:.8rem;color:#434655;font-weight:400;line-height:1.4}
.qm-stat .qm-quantity{font-size:1.75rem;line-height:1.05;font-variant-numeric:tabular-nums}
.qm-badge{display:inline-flex;align-items:center;gap:5px;border-radius:99px;padding:3px 8px;font-size:.74rem;font-weight:600;line-height:1.4}
.qm-badge svg{width:14px;height:14px}
.qm-neutral{background:#ebeef1;color:#434655}.qm-green{background:#d8f3ea;color:#063d2f}.qm-red{background:#ffdad6;color:#93000a}.qm-amber{background:#ffead5;color:#5c2a00}.qm-blue{background:#e3e9ff;color:#0037b0}.qm-blue-text{color:#0037b0;font-size:.8rem}
.qm-table{border:1px solid #c4c5d7;border-radius:12px;background:#fff;overflow:hidden}
.qm-toolbar{background:#f1f4f7;border-bottom:1px solid #c4c5d7;padding:14px 22px}
.qm-tabs{display:flex;gap:2px;flex-wrap:wrap;border:1px solid #c4c5d7;border-radius:8px;padding:3px;background:#ebeef1;max-width:100%}
.qm button.qm-filter{border:1px solid transparent;border-radius:5px;padding:6px 9px;font-size:.78rem;font-weight:600;background:none;color:#434655}
.qm button.qm-filter[aria-pressed=true]{background:white;border-color:#c4c5d7;color:#0037b0}
.qm-row{padding:20px 23px;align-items:flex-start;gap:18px}
.qm-row+.qm-row{border-top:1px solid #c4c5d7}
.qm-row-info{flex:1 1 320px;min-width:0}
.qm-row-title,.qm-row-actions{justify-content:flex-start;gap:10px}
.qm-row-title code{font-family:'Geist Mono',monospace;font-size:.87rem;color:#181c1e;overflow-wrap:anywhere}
.qm-row p,.qm-empty p,.qm-dialog p{line-height:1.5;font-size:.875rem;color:#434655;margin:6px 0}
.qm-row-actions{margin-top:9px;gap:13px}
.qm .qm-row-actions .qm-remove{color:#8b3233}
.qm-toggle{display:inline-flex;align-items:center;gap:6px;font-size:.8rem;font-weight:600;cursor:pointer}
.qm-toggle input{width:16px;height:16px;min-height:0;margin:0;accent-color:#0037b0}
.qm-empty{text-align:center;display:grid;justify-items:center;gap:6px;padding:36px 20px}
.qm-empty>svg{width:30px;height:30px;color:#536793}
.qm-empty h3{font-size:1.08rem}
.qm-empty p{max-width:560px;margin:0}
.qm-status{font-size:.82rem;color:#434655}
.qm-status:empty{display:none}
.qm-diff{font-size:.85rem;margin-top:10px;background:#fff6f5;border-radius:6px;padding:8px 12px}
.qm-diff summary{cursor:pointer;font-weight:600}
.qm-dialog{color:#181c1e;background:#fff;border:1px solid #c4c5d7;border-radius:12px;padding:24px;width:min(420px,calc(100% - 32px));max-height:85vh;overflow:auto;margin:auto}
.qm-dialog::backdrop{background:#18213466}
.qm-dialog h2{font-size:1.35rem;letter-spacing:-.3px}
.qm-form{display:flex;flex-direction:column;gap:15px}
.qm-form label{display:flex;flex-direction:column;gap:6px;font-size:.875rem;font-weight:600}
.qm-form input,.qm-form select{width:100%;border:1px solid #a7aabb;border-radius:6px;padding:9px 11px;min-height:40px;background:#fff;color:#181c1e}
.qm .qm-close{display:grid;place-content:center;width:33px;height:33px;background:#f1f4f7;border:0;border-radius:6px}
.qm-form-footer{justify-content:flex-end;margin-top:9px}
.qm .qm-help{font-size:.82rem;margin:0}.qm .qm-form-error,.qm .qm-error-text{color:#93000a}.qm .qm-form-error:empty{display:none}
@media(max-width:760px){.qm{gap:22px}.qm-cards{grid-template-columns:1fr}.qm-stat{padding:16px;gap:4px}.qm-stat-head{margin-bottom:4px}.qm-heading>div{flex-basis:100%}.qm-row{padding:16px}.qm-toolbar{padding:12px 14px}}
@media(max-width:400px){.qm-dialog{padding:16px}.qm .qm-filter{padding:5px 7px}.qm-row-actions{gap:10px}}
