.bulk-layout { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(320px,.8fr); gap:22px; align-items:start; }
.bulk-card,.bulk-preview { background:white; border:1px solid var(--line); border-radius:22px; padding:24px; }
.bulk-head { display:flex; justify-content:space-between; align-items:end; gap:20px; padding-bottom:18px; border-bottom:1px solid var(--line); }
.bulk-head>div { display:flex; flex-direction:column; gap:5px; }
.bulk-head b { font-size:21px; }
.bulk-head small { font:11px monospace; color:var(--green); }
.bulk-head label,.bulk-row label { display:flex; min-width:0; flex-direction:column; gap:6px; font-size:11px; font-weight:800; color:#60726b; }
.bulk-head input,.bulk-row input { width:100%; min-width:0; padding:11px; border:1px solid var(--line); border-radius:10px; background:#fbfdfb; font:600 14px Arial; }
.bulk-row { display:grid; grid-template-columns:34px minmax(0,1fr) minmax(0,1fr) minmax(100px,.7fr) minmax(0,.9fr) 34px; gap:10px; align-items:end; padding:14px 0; border-bottom:1px solid var(--line); }
.bulk-row>span { align-self:center; font:700 12px monospace; color:var(--green); }
.bulk-remove { width:32px; height:40px; border:0; border-radius:9px; background:#fff0f1; color:var(--red); cursor:pointer; }
.bulk-actions { display:flex; align-items:center; gap:12px; margin-top:20px; }
.bulk-actions span { flex:1; text-align:center; color:#60726b; font:12px monospace; }
.bulk-preview { position:sticky; top:95px; background:var(--deep); color:white; }
.bulk-preview>div { display:flex; justify-content:space-between; align-items:center; }
.bulk-preview mark { padding:5px 8px; border-radius:8px; background:#fff1bd; color:#715800; font:700 10px monospace; }
.bulk-preview pre { min-height:380px; max-height:560px; overflow:auto; }
.bulk-preview p { color:#aac2ba; font-size:12px; line-height:1.5; }
.bulk-status { margin-top:22px; background:#fff; border:1px solid var(--line); border-radius:22px; padding:24px; }
.bulk-status-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:16px; }
.bulk-status-head>div { display:flex; flex-direction:column; gap:4px; }
.bulk-status-head small { color:#60726b; font:11px monospace; }
.bulk-batch { border:1px solid var(--line); border-radius:14px; padding:15px; margin-top:10px; }
.bulk-batch>header { position:static; z-index:auto; width:auto; height:auto; padding:0; display:flex; flex-wrap:wrap; align-items:center; gap:10px; justify-content:space-between; background:transparent; border:0; backdrop-filter:none; }
.bulk-state { padding:5px 9px; border-radius:999px; background:#eaf6f0; color:var(--deep); font:800 11px monospace; }
.bulk-state.FAILED,.bulk-state.PARTIAL { background:#fff0f1; color:var(--red); }
.bulk-summary { color:#60726b; margin:8px 0 2px; }
.bulk-items { display:grid; gap:0; margin-top:10px; }
.bulk-item { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:12px; padding:14px 2px; border-top:1px solid var(--line); }
.bulk-item>div { display:flex; min-width:0; flex-direction:column; gap:5px; }
.bulk-item>div>b { overflow-wrap:anywhere; }
.bulk-item>div>small { color:#60726b; }
.bulk-item>strong { white-space:nowrap; font-variant-numeric:tabular-nums; }
.bulk-item .bulk-error { grid-column:1/-1; margin:0; color:var(--red); }
.bulk-technical { margin-top:8px; color:#60726b; font-size:12px; }
.bulk-technical summary { color:var(--lime); cursor:pointer; font-weight:800; }
.bulk-technical code { display:block; margin-top:7px; overflow-wrap:anywhere; }
.bulk-account { padding:0; border:0; background:transparent; color:var(--green); text-decoration:underline; cursor:pointer; font-family:monospace; }
@media(max-width:1000px) { .bulk-layout{grid-template-columns:1fr}.bulk-preview{position:static}.bulk-row{grid-template-columns:30px 1fr 1fr}.bulk-row label:nth-of-type(3),.bulk-row label:nth-of-type(4){grid-column:auto}.bulk-remove{grid-column:3;justify-self:end} }
@media(max-width:600px) { .bulk-head,.bulk-actions{align-items:stretch;flex-direction:column}.bulk-row{grid-template-columns:1fr;gap:12px}.bulk-row>span,.bulk-row>label,.bulk-row .bulk-remove{grid-column:1}.bulk-row>span{font-size:13px}.bulk-remove{justify-self:end;margin-top:-4px}.bulk-actions span{text-align:left}.bulk-item{grid-template-columns:minmax(0,1fr) auto}.bulk-item>.bulk-state{grid-column:1}.bulk-item .bulk-error{grid-column:1/-1} }
@media(max-width:850px) { .role-banker .bulk-item{border-color:#ffffff16}.role-banker .bulk-summary,.role-banker .bulk-item>div>small,.role-banker .bulk-technical{color:#9eb0aa}.role-banker .bulk-item strong{color:#f4faf7}.role-banker .bulk-account{color:#59d4ad} }
