/* One manuscript per row. Override the legacy three-card grid explicitly. */
body.next-admin.backstage-workbench-r1 .wb-order-cards{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
body.next-admin.backstage-workbench-r1 .wb-order-card{display:grid!important;grid-template-columns:104px minmax(0,1fr) minmax(0,1fr);grid-template-areas:"preview customer status" "preview identity status" "facts facts action";gap:12px 24px;align-items:start;width:100%;box-sizing:border-box;min-width:0;padding:24px!important}
body.next-admin.backstage-workbench-r1 .wb-order-card>*{min-width:0;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
body.next-admin.backstage-workbench-r1 .wb-order-top{grid-area:status;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px;position:static}
body.next-admin.backstage-workbench-r1 .wb-order-select{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;margin:0}
body.next-admin.backstage-workbench-r1 .wb-order-top .status{white-space:normal;word-break:normal;line-height:1.6;max-width:100%;padding:6px 10px}
body.next-admin.backstage-workbench-r1 .wb-customer{grid-area:customer;display:block;padding:0;margin:0}
body.next-admin.backstage-workbench-r1 .wb-customer h2{font-size:17px!important;line-height:1.5;margin:4px 0}
body.next-admin.backstage-workbench-r1 .wb-customer-phone{font-size:13px;font-weight:400;line-height:1.6;margin:0;letter-spacing:0;color:#738392}
body.next-admin.backstage-workbench-r1 .wb-order-preview{grid-area:preview;width:104px;height:104px;min-height:0;margin:0;align-self:start}
body.next-admin.backstage-workbench-r1 .wb-order-identity{grid-area:identity;padding:0;margin:0;align-self:start}
body.next-admin.backstage-workbench-r1 .wb-order-identity h3{font-size:13px;line-height:1.6;margin:0;color:#536b80}
body.next-admin.backstage-workbench-r1 .wb-order-identity p{font-size:13px;line-height:1.6;margin:2px 0}
body.next-admin.backstage-workbench-r1 .wb-order-facts{grid-area:facts;display:grid;grid-template-columns:72px minmax(0,1fr) 72px minmax(0,1fr);gap:8px 16px;margin:8px 0 0;padding:16px 0 0!important;border-top:1px solid #edf1f5;font-size:12px;line-height:1.6}
body.next-admin.backstage-workbench-r1 .wb-order-facts dd{min-width:0;margin:0;overflow-wrap:anywhere}
body.next-admin.backstage-workbench-r1 .wb-order-bottom{grid-area:action;display:flex;align-items:flex-end;justify-content:flex-end;flex-direction:column;gap:12px;align-self:end;border:0;padding:0;margin:0}
body.next-admin.backstage-workbench-r1 .wb-order-bottom .table-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;min-height:40px;padding:10px 16px;box-sizing:border-box;max-width:100%}
body.next-admin.backstage-workbench-r1 .wb-group-heading{display:flex;align-items:baseline;gap:12px;font-size:15px!important;margin:24px 0 12px}
body.next-admin.backstage-workbench-r1 .batch-delete-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:16px}
@media(max-width:1100px){body.next-admin.backstage-workbench-r1 .wb-order-card{grid-template-columns:88px minmax(0,1fr);grid-template-areas:"preview customer" "preview identity" "status status" "facts facts" "action action";gap:12px 20px}body.next-admin.backstage-workbench-r1 .wb-order-preview{width:88px;height:88px}body.next-admin.backstage-workbench-r1 .wb-order-top{justify-content:flex-start}body.next-admin.backstage-workbench-r1 .wb-order-bottom{flex-direction:row;align-items:center;justify-content:space-between}}
@media(max-width:600px){body.next-admin.backstage-workbench-r1 .wb-order-card{padding:18px!important;grid-template-columns:72px minmax(0,1fr);gap:12px 16px}body.next-admin.backstage-workbench-r1 .wb-order-preview{width:72px;height:72px}body.next-admin.backstage-workbench-r1 .wb-order-facts{grid-template-columns:64px minmax(0,1fr);gap:8px 12px}}
/* Detail header: quiet surface with a compact semantic status tag. */
body.next-admin.backstage-workbench-r1 .order-hero{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(0,1.4fr) minmax(220px,.8fr);gap:24px;align-items:center;padding:0 0 24px;margin:0 0 24px;border:0;border-bottom:1px solid #e2e8ed;background:none;box-shadow:none}
body.next-admin.backstage-workbench-r1 .order-hero>*{min-width:0;overflow-wrap:anywhere}
body.next-admin.backstage-workbench-r1 .order-current-status{--status-ink:#386a93;--status-fill:#edf4fa;display:flex;flex-direction:column;align-items:flex-start;gap:10px;box-sizing:border-box;width:100%;min-width:0;padding:18px 20px;background:#fff!important;border:1px solid #e2e8ed!important;border-radius:8px!important;box-shadow:none!important}
body.next-admin.backstage-workbench-r1 .order-current-status .order-current-status-label{font-size:12px;line-height:1.5;font-weight:500;letter-spacing:0;color:#738392}
body.next-admin.backstage-workbench-r1 .order-current-status .status-badge{display:inline-flex;width:auto;min-height:0;max-width:100%;gap:8px;padding:6px 10px;border:0!important;border-radius:5px!important;background:var(--status-fill)!important;color:var(--status-ink)!important;font-size:14px;font-weight:600;line-height:1.6;box-shadow:none!important;text-align:left;justify-content:flex-start}
body.next-admin.backstage-workbench-r1 .order-current-status .status-badge i{width:6px;height:6px;flex:0 0 6px;box-shadow:none}
body.next-admin.backstage-workbench-r1 .order-current-status small{font-size:11px;font-weight:400;line-height:1.6;color:#8393a0}
body.next-admin.backstage-workbench-r1 .order-current-status:is([data-status="draft"],[data-status="待补件"]){--status-ink:#986a24;--status-fill:#fbf3e6}
body.next-admin.backstage-workbench-r1 .order-current-status:is([data-status="已制作完成"],[data-status="已完成订单"]){--status-ink:#3c785e;--status-fill:#edf6f0}
body.next-admin.backstage-workbench-r1 .order-current-status[data-status="已取消订单"]{--status-ink:#96605c;--status-fill:#faf0ef}
/* Four compact file categories on wide screens, two and one on smaller screens. */
body.next-admin.backstage-workbench-r1 .file-columns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-items:stretch}
body.next-admin.backstage-workbench-r1 .file-column{box-sizing:border-box;min-width:0;padding:20px;border-radius:8px;background:#f8fafc;overflow-wrap:anywhere}
body.next-admin.backstage-workbench-r1 .file-column-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}
body.next-admin.backstage-workbench-r1 .file-column-heading h3{font-size:14px;line-height:1.6;margin:0}
body.next-admin.backstage-workbench-r1 .file-column .archive-download-button{width:auto!important;max-width:100%;padding:9px 14px;white-space:normal}
body.next-admin.backstage-workbench-r1 .files-card .section-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px}
@media(max-width:1500px){body.next-admin.backstage-workbench-r1 .file-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){body.next-admin.backstage-workbench-r1 .order-hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}body.next-admin.backstage-workbench-r1 .order-current-status{grid-column:1/-1;flex-direction:row;align-items:center;flex-wrap:wrap}}
@media(max-width:700px){body.next-admin.backstage-workbench-r1 .file-columns{grid-template-columns:minmax(0,1fr)}body.next-admin.backstage-workbench-r1 .order-hero{grid-template-columns:minmax(0,1fr)}body.next-admin.backstage-workbench-r1 .order-current-status{align-items:flex-start;flex-direction:column}}

.next-admin .wb-customer .manuscript-detail-link{color:inherit;text-decoration:none}.next-admin .wb-customer .manuscript-detail-link:hover{text-decoration:underline}.next-admin .wb-customer .manuscript-detail-link:focus-visible{outline:2px solid #467eb0;outline-offset:4px}
