/* Quality & recall. Tokens only so dark mode follows. Everything prefixed qx- */
.qx-sw{width:52px;height:30px;border-radius:99px;border:0;cursor:pointer;position:relative;flex:none}
.qx-sw span{position:absolute;top:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:var(--sh-1);transition:left .15s}
.qx-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-bottom:16px}
.qx-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.qx-row > .input{flex:1;min-width:180px}
.qx-big{font-size:18px;height:52px}
.qx-date{display:flex;flex-direction:column;gap:3px}
.qx-date .input{min-width:150px}
.qx-chain{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:8px;font:700 18px var(--fd)}
.qx-ord{margin:2px 0;line-height:1.5}
.qx-tiny{font-size:11px;padding:1px 7px}
.qx-cust .select{height:40px;min-width:150px}
.qx-acts{display:flex;flex-direction:column;gap:10px}
.qx-act{align-items:center;flex-wrap:wrap}
.qx-act .grow{min-width:200px}
.qx-act .btn{min-height:44px}
.qx-ico{width:30px;height:30px;border-radius:50%;background:var(--surface);display:grid;place-items:center;flex:none;color:var(--muted)}
.qx-t{min-width:52px;color:var(--muted)}
.qx-letter{white-space:pre-wrap;font-size:14px;margin-top:8px;line-height:1.5}
.qx-ta{width:100%;height:auto;min-height:90px;padding:10px 12px;font:inherit;line-height:1.45;resize:vertical}
.qx-kv{display:grid;grid-template-columns:minmax(100px,auto) 1fr;gap:6px 14px;font-size:14px}
.qx-kv > :nth-child(odd){color:var(--muted)}
.qx-kv > :nth-child(even){overflow-wrap:anywhere}
.qx-dec button{min-height:44px}
.qx-next{display:none}
@media (max-width:720px){
  .qx-steps{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px}
  .qx-steps .card{padding:10px}
  .qx-steps h3{font-size:12.5px;line-height:1.25}
  .qx-chain{font-size:15px;gap:6px}
  .qx-row > .btn{flex:1;justify-content:center}
  .qx-date{flex:1}
  .qx-date .input{min-width:0;width:100%}
  .qx-act > .btn,.qx-act > button{width:100%;justify-content:center}
  .qx-cust .select{width:100%}
  .qx-cust td[data-l="Orders"]{flex-direction:column;align-items:flex-start}
  .qx-cust td[data-l="Customer"],.qx-cust td[data-l="Contact"]{flex-direction:column;align-items:flex-start;gap:2px}
  .qx-next{display:flex;position:fixed;left:0;right:0;bottom:calc(var(--tab) + env(safe-area-inset-bottom));z-index:40;padding:10px 14px;background:var(--card);border-top:1px solid var(--line);box-shadow:var(--sh-2)}
  .qx-next .btn{flex:1;justify-content:center}
  .p-main:has(.qx-next){padding-bottom:calc(var(--tab) + 100px)}
}
.qx-row[hidden],.qx-date[hidden]{display:none!important}
.qx-split{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.qx-split > .card{overflow-x:auto}
@media (min-width:721px){.qx-ord{white-space:nowrap}}
@media (max-width:720px){.qx-split > .card{overflow-x:visible}}
.qx-pillwrap{white-space:normal;height:auto;line-height:1.35;padding:6px 10px}
/* toast stays invisible but still takes taps at the bottom of a phone; let taps through (REQUESTS 13 Nov) */
.toast{pointer-events:none}
