/* Shared compact lists. Scope avoids changing order detail/payment forms. */
.ops-unfinished-host { width:100%; min-width:0; margin:12px 0 20px; }
.ops-draft-panel-v1 { width:100%; max-width:none; box-sizing:border-box; border:1px solid #c9d9df; border-radius:16px; background:rgba(255,255,255,.85); }
.ops-draft-panel-v1 > summary { padding:14px 18px; font-size:17px; line-height:1.5; cursor:pointer; }
.ops-draft-panel-v1 .ops-unfinished-body { padding:0 18px 16px; }
.ops-draft-search { display:flex; align-items:end; gap:12px; margin:4px 0 12px; }
.ops-draft-search label { flex:1; min-width:0; font-size:14px; }
.ops-draft-search input { display:block; width:100%; min-width:0; box-sizing:border-box; margin-top:6px; min-height:44px; }
.ops-draft-search button,.ops-draft-panel-v1 button { min-height:44px; }
.ops-draft-panel-v1 .ops-unfinished-status { font-size:14px; margin:6px 0; }
.ops-draft-panel-v1 .ops-unfinished-status:empty { display:none; }
.ops-draft-scroll { max-height:420px; overflow:auto; overscroll-behavior:contain; }
.ops-draft-list { width:100%; color:#193e4b; text-align:left; }
.ops-draft-list-head,.ops-draft-list-row { display:grid; grid-template-columns:minmax(120px,1fr) minmax(130px,1fr) minmax(120px,1fr) minmax(180px,2fr) minmax(95px,.8fr) 100px; align-items:center; gap:16px; padding:15px 12px; }
.ops-draft-list-head { position:sticky; top:0; z-index:1; background:#edf4f5; font-size:13px; font-weight:700; border-radius:8px; }
.ops-draft-list-row { border-bottom:1px solid #dce7e9; font-size:15px; line-height:1.5; }
.ops-draft-list-row:last-child { border-bottom:0; }
.ops-draft-list-row:hover { background:#f5f9fa; }
.ops-draft-cell { min-width:0; overflow-wrap:anywhere; }
.ops-draft-cell-0 { font-weight:700; font-size:16px; }
.ops-draft-cell-1 { font-size:13px; color:#526c75; }
.ops-draft-cell-2 { font-size:13px; font-variant-numeric:tabular-nums; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ops-draft-product { display:flex; gap:8px; min-width:0; font-size:14px; }
.ops-draft-product-title { min-width:0; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }
.ops-draft-product-qty { flex:none; white-space:nowrap; }
.ops-draft-cell-4 { font-weight:700; font-variant-numeric:tabular-nums; }
.ops-draft-continue { display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; min-height:44px; padding:8px 12px; font:inherit; font-size:14px; font-weight:700; text-decoration:none; border:1px solid #b9ced6; border-radius:12px; background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(227,240,243,.7)); color:#193e4b; box-shadow:0 3px 8px #163e4b0b,inset 0 1px 0 #fff; }
.ops-draft-continue:focus-visible { outline:3px solid #128c9a; outline-offset:2px; }
.ops-pending-checkout-list { display:block!important; grid-template-columns:none!important; width:100%; }
.ops-checkout-compact > .sales-ui-search { margin:16px 0; }
@media(max-width:1100px) and (min-width:701px) {
 .ops-draft-list-head,.ops-draft-list-row { grid-template-columns:minmax(95px,1fr) 110px 95px minmax(140px,1.6fr) 85px 90px; gap:10px; padding:12px 8px; }
}
@media(max-width:700px) {
 .ops-unfinished-host { margin:10px 0 16px; }
 .ops-draft-panel-v1 > summary { padding:12px; font-size:16px; }
 .ops-draft-panel-v1 .ops-unfinished-body { padding:0 12px 12px; }
 .ops-draft-search { gap:8px; }
 .ops-draft-search input { font-size:16px; }
 .ops-draft-scroll { max-height:55vh; }
 .ops-draft-list-head { display:none; }
 .ops-draft-list-row { grid-template-columns:minmax(0,1fr) auto; gap:7px 12px; padding:15px 2px; }
 .ops-draft-cell-0 { grid-column:1; font-size:18px; }
 .ops-draft-cell-1 { grid-column:1; grid-row:2; font-size:13px; }
 .ops-draft-cell-2 { grid-column:1; grid-row:3; max-width:100%; color:#526c75; }
 .ops-draft-cell-2:before { content:attr(data-label) '：'; }
 .ops-draft-cell-3 { grid-column:1 / -1; grid-row:4; padding:3px 0; }
 .ops-draft-product { font-size:15px; line-height:1.55; }
 .ops-draft-cell-4 { grid-column:2; grid-row:1; font-size:16px; }
 .ops-draft-action { grid-column:2; grid-row:2 / 4; justify-self:end; }
 .ops-draft-continue { padding:8px 12px; }
}
