body.portal-shell .bulk-import-page{min-width:0}
body.portal-shell .bulk-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}
body.portal-shell .bulk-heading p{max-width:860px;line-height:1.6}
body.portal-shell .bulk-workspace{display:grid;gap:20px;min-width:0}
body.portal-shell .bulk-workspace>section{background:#fff;border:1px solid #c7d3e8;border-radius:14px;overflow:hidden;min-width:0;box-shadow:0 4px 16px #1d365509}
body.portal-shell .bulk-workspace header{display:flex;align-items:center;gap:12px;padding:18px 22px;border-bottom:1px solid #dfe5f2;background:linear-gradient(110deg,#f0f2ff,#fbfcff)}
body.portal-shell .bulk-workspace h2{font-size:17px;color:#283d70;margin:0}
body.portal-shell .bulk-workspace header p{font-size:12px;color:#667b96;margin:5px 0 0}
body.portal-shell .bulk-step{display:grid;place-items:center;background:#e3e5ff;border:1px solid #d2d3fb;border-radius:10px;color:#5146cb;width:34px;height:34px;font-weight:700;flex:0 0 34px}
body.portal-shell .bulk-upload-fields{display:flex;align-items:end;flex-wrap:wrap;gap:14px;padding:20px 22px 10px}
body.portal-shell .bulk-upload-fields>label{flex:1 1 280px;min-width:0}
body.portal-shell .bulk-upload-fields input[type=file]{width:100%;box-sizing:border-box;max-width:100%;min-height:44px;padding:8px;border:1px solid #d4ddee;border-radius:8px;background:#f8faff;font-size:12px}
body.portal-shell .bulk-owner{flex:1 1 220px;background:#f5f7ff;border:1px solid #e0e6f2;border-radius:9px;padding:12px}
body.portal-shell .bulk-owner small{display:block;font-size:11px;color:#6b7d98;margin-bottom:4px}
body.portal-shell .bulk-owner b{font-size:14px;color:#263e68}
body.portal-shell .bulk-help{margin:6px 22px 18px;color:#60718c;font-size:12px;line-height:1.7}
body.portal-shell .bulk-fields{margin:0 22px 20px;border:1px solid #dfe5f2;border-radius:9px;background:#fafbff}
body.portal-shell .bulk-fields summary{cursor:pointer;padding:12px;color:#435b89;font-size:12px;font-weight:650}
body.portal-shell .bulk-fields dl{margin:0;padding:0 14px 14px}
body.portal-shell .bulk-fields dl>div{display:grid;grid-template-columns:minmax(150px,1fr) 3fr;gap:14px;padding:10px 0;border-top:1px solid #e4e9f3;font-size:12px;line-height:1.6}
body.portal-shell .bulk-fields dt{font-weight:650;color:#304b78;overflow-wrap:anywhere}
body.portal-shell .bulk-fields dd{margin:0;color:#63768f}
body.portal-shell .bulk-status{margin:18px 22px;color:#526989;font-size:13px;line-height:1.7}
body.portal-shell .bulk-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 22px 20px}
body.portal-shell .bulk-counts>div{padding:14px 16px;border:1px solid #dce2f5;border-top:3px solid #6253d9;border-radius:10px;background:#f7f7ff}
body.portal-shell .bulk-counts small{display:block;color:#5d7290;font-size:11px}
body.portal-shell .bulk-counts b{font-size:24px;color:#2d4775;display:block;margin-top:6px}
body.portal-shell .bulk-review-table{margin:0 22px 20px;overflow:auto;max-height:520px;overscroll-behavior:contain;border:1px solid #d7e0f0;border-radius:10px}
body.portal-shell .bulk-review-table table{width:100%;border-collapse:collapse;margin:0}
body.portal-shell .bulk-review-table th{position:sticky;top:0;background:#263f78;color:#fff;white-space:nowrap;padding:12px 14px;text-align:left;font-size:11px;z-index:1}
body.portal-shell .bulk-review-table td{padding:12px 14px;font-size:12px;line-height:1.6;border-bottom:1px solid #e2e7f1;overflow-wrap:anywhere;min-width:80px;color:#35506f}
body.portal-shell .bulk-review-table td:nth-child(2){min-width:160px}body.portal-shell .bulk-review-table td:nth-child(4){min-width:250px}
body.portal-shell .bulk-row-status{display:inline-block;white-space:nowrap;border-radius:20px;padding:4px 9px;background:#eef0ff;color:#5046ad;font-size:11px;font-weight:650}
body.portal-shell .bulk-row-status.created{background:#e5f6ed;color:#0b7b54}body.portal-shell .bulk-row-status.error{background:#fff0ee;color:#aa3a42}body.portal-shell .bulk-row-status.skipped{background:#f0f3f8;color:#65758b}
body.portal-shell .bulk-import-actions{padding:18px 22px 22px;border-top:1px solid #e1e6f0;background:#fcfcff}
body.portal-shell .bulk-confirm{display:flex;align-items:center;gap:9px;color:#425a7c;font-size:13px;margin-bottom:16px}
body.portal-shell .bulk-confirm input{width:18px;height:18px;min-height:18px;padding:0;flex:0 0 18px;accent-color:#5444d9}
body.portal-shell .bulk-import-actions>div{display:flex;gap:10px;flex-wrap:wrap}
body.portal-shell .bulk-import-page [hidden]{display:none!important}
@media(max-width:700px){body.portal-shell .bulk-heading{align-items:stretch;flex-direction:column}body.portal-shell .bulk-heading button{align-self:flex-start}body.portal-shell .bulk-upload-fields{padding:16px;gap:12px}body.portal-shell .bulk-upload-fields>label{flex-basis:100%}body.portal-shell .bulk-upload-fields>button{flex:1 1 120px}body.portal-shell .bulk-workspace header{padding:16px}body.portal-shell .bulk-help,body.portal-shell .bulk-status{margin:12px 16px}body.portal-shell .bulk-counts{grid-template-columns:repeat(2,minmax(0,1fr));margin:16px;gap:9px}body.portal-shell .bulk-fields,body.portal-shell .bulk-review-table{margin:0 16px 16px}body.portal-shell .bulk-fields dl>div{grid-template-columns:1fr;gap:5px}body.portal-shell .bulk-import-actions{padding:16px}body.portal-shell .bulk-import-actions>div>button{flex:1 1 140px}body.portal-shell .bulk-confirm{align-items:flex-start}}
