/* 回收单只在原有 124px 资料区内增加切换和附件列表。 */
.trade-order-modal #order-form>.trade-sheet-bottom .trade-inline-image-list.recycle-attachment-panel{
  display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:27px minmax(0,1fr);
  grid-auto-flow:row;grid-auto-columns:auto;align-items:stretch;gap:0;padding:0;overflow:hidden
}
.recycle-attachment-tabs{display:flex;align-items:stretch;gap:12px;padding:0 8px;border-bottom:1px solid #dbe3ef;background:#f7faff}
.recycle-attachment-tabs button{height:26px;padding:0 8px;border:0;border-bottom:2px solid transparent;background:transparent;color:#64748b;font-size:12px;cursor:pointer}
.recycle-attachment-tabs button[aria-selected="true"]{border-bottom-color:#2563eb;color:#1d4ed8;font-weight:600}
.trade-order-modal #order-form>.trade-sheet-bottom #trade-image-list.recycle-attachment-panel .recycle-attachment-tabs button,
.trade-order-modal #order-form>.trade-sheet-bottom #trade-image-list.recycle-attachment-panel .recycle-document-item button{position:static;top:auto;right:auto;width:auto;height:auto;min-width:0;line-height:normal}
.trade-order-modal #order-form>.trade-sheet-bottom #trade-image-list.recycle-attachment-panel .recycle-attachment-tabs button{height:26px;border:0;border-bottom:2px solid transparent;background:transparent;color:#64748b}
.trade-order-modal #order-form>.trade-sheet-bottom #trade-image-list.recycle-attachment-panel .recycle-attachment-tabs button[aria-selected="true"]{border-bottom-color:#2563eb;color:#1d4ed8}
.trade-order-modal #order-form>.trade-sheet-bottom #trade-image-list.recycle-attachment-panel .recycle-document-item button{padding:1px 3px;border:0;background:transparent;color:#2563eb}
.trade-order-modal #order-form>.trade-sheet-bottom #trade-image-list.recycle-attachment-panel .recycle-document-item .recycle-document-remove{width:17px;height:17px;padding:0;border-radius:50%;background:#ef4444;color:#fff;line-height:1}
.recycle-attachment-content{min-width:0;min-height:0;overflow:auto}
.recycle-image-strip{display:flex;align-items:start;gap:6px;padding:4px;min-width:max-content}
.trade-order-modal #order-form>.trade-sheet-bottom .recycle-image-strip figure{flex:none;width:68px;height:82px}
.recycle-document-list{display:grid;gap:2px;padding:3px 6px}
.recycle-document-item{display:flex;align-items:center;gap:7px;min-width:0;height:28px;border-bottom:1px solid #edf2f7;font-size:12px}
.recycle-document-type{flex:none;min-width:35px;padding:2px 3px;border-radius:3px;background:#e7f0ff;color:#1d4ed8;text-align:center;font-size:10px;font-weight:600}
.recycle-document-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#1e293b}
.recycle-document-item small{flex:none;color:#64748b;font-size:11px}
.recycle-document-item button{flex:none;min-width:0;padding:1px 3px;border:0;background:transparent;color:#2563eb;font-size:11px;cursor:pointer}
.recycle-document-pending{flex:none;color:#64748b;font-size:11px}
.recycle-document-item .recycle-document-remove{display:grid;place-items:center;width:17px;height:17px;padding:0;border-radius:50%;background:#ef4444;color:#fff;font-size:14px;font-weight:700;line-height:1}
.recycle-attachment-empty{display:grid;place-items:center;height:100%;min-height:87px;color:#94a3b8;font-size:12px}
.recycle-pdf-preview{position:fixed;inset:0;display:grid;place-items:center;padding:24px;background:#0f172a99}
.recycle-pdf-card{display:grid;grid-template-rows:42px minmax(0,1fr);width:min(100%,900px);height:min(100%,800px);overflow:hidden;border-radius:8px;background:#fff}
.recycle-pdf-card header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 14px;border-bottom:1px solid #dbe3ef}
.recycle-pdf-card header b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.recycle-pdf-card header button{padding:4px 10px;border:0;border-radius:4px;background:#2563eb;color:#fff;cursor:pointer}
.recycle-pdf-card iframe{width:100%;height:100%;border:0}
