.qt-btns{display:flex;gap:8px;flex-wrap:wrap}
.qt-sum{margin:8px 0;font-size:13px}
.qt-h{margin:14px 0 6px;font-size:13px}
.qt-wrap{overflow-x:auto}
.qt-table td,.qt-table th{vertical-align:middle}
.qt-qty{width:92px}
.qt-table select{max-width:280px}
.qt-go{margin-top:10px}
.os-tablewrap{overflow-x:auto}
.os-note{font-size:12px;color:var(--muted)}
.qt-table{table-layout:fixed;width:100%;min-width:720px}
.qt-table th:nth-child(1),.qt-table td:nth-child(1){width:34px}
.qt-table th:nth-child(3),.qt-table td:nth-child(3){width:112px}
.qt-table th:nth-child(4),.qt-table td:nth-child(4){width:72px}
.qt-table th:nth-child(5),.qt-table td:nth-child(5){width:300px}
.qt-table th:nth-child(6),.qt-table td:nth-child(6){width:150px}
.qt-table select{max-width:100%;width:100%}
#qtSection{min-width:0;max-width:100%;overflow:hidden}
.qt-wrap{max-width:100%;overflow-x:auto}
@media(max-width:700px){.qt-btns{width:100%}.qt-btns button{flex:1}}
/* v6 has no base look for secondary buttons; give the ones on these screens a quiet outlined style */
#qtSection .qd-ghost,#dgSection .qd-ghost,#mList .qd-ghost,#dlist .qd-ghost{border:1px solid var(--line);background:#fff;border-radius:8px;padding:7px 12px;font:inherit;font-size:13px;cursor:pointer;color:var(--ink)}
#qtSection .qd-ghost:hover,#dgSection .qd-ghost:hover,#mList .qd-ghost:hover,#dlist .qd-ghost:hover{border-color:#f3c495;color:#b84a0d}
#dgSection .qd-ghost:disabled{opacity:.45;cursor:default}

#prDialog .pr-cols{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:16px}#prDialog .pr-svg{width:100%;height:auto;border:1px solid var(--line);border-radius:8px;background:#fff}#prDialog input,#prDialog select{max-width:100%;min-width:0}#prDialog td input{width:100%;min-width:60px}@media(max-width:900px){#prDialog .pr-cols{grid-template-columns:minmax(0,1fr)}}
#wtDialog .pr-cols{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:16px}#wtDialog .pr-svg{width:100%;height:auto;border:1px solid var(--line);border-radius:8px;background:#fff;user-select:none}#wtDialog input,#wtDialog select{max-width:100%;min-width:0}@media(max-width:900px){#wtDialog .pr-cols{grid-template-columns:minmax(0,1fr)}}
