.batch-accordion{margin:16px 0;border:1px solid #4c411f;border-radius:18px;background:linear-gradient(180deg,#151515,#0d0d0d);overflow:hidden}.batch-accordion>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;background:linear-gradient(180deg,#1a1a1a,#111);border-bottom:1px solid transparent}.batch-accordion[open]>summary{border-bottom-color:#342d18}.batch-accordion>summary::-webkit-details-marker{display:none}.batch-summary-main{display:flex;flex-direction:column;gap:5px;min-width:0}.batch-title{font-size:20px;font-weight:800;color:#f1d36e}.batch-subtitle{font-size:12px;color:#aaa08d}.batch-summary-side{display:flex;align-items:center;gap:12px;flex:0 0 auto}.batch-body{padding:18px}.batch-kpis{margin-bottom:18px}.batch-date-value{font-size:18px!important}.batch-cycle-list{display:flex;flex-direction:column;gap:10px}.batch-cycle-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 17px;border:1px solid #2e2e2e;border-radius:13px;background:#0a0a0a}.batch-cycle-row strong{color:#f7f2e7}.pending-row{opacity:.78}.locked-row{border-color:#3a3219}.batch-cycle-accordion{margin:0;border-radius:13px}.batch-cycle-accordion>summary{padding:15px 17px;display:grid;grid-template-columns:minmax(110px,1fr) minmax(260px,auto) auto auto;align-items:center;gap:12px}.batch-cycle-accordion .cycle-accordion-title{font-size:15px}.batch-cycle-accordion .cycle-accordion-body{padding:18px}.cycle-summary-statuses{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;min-width:0}.cycle-summary-statuses .badge{width:auto;max-width:max-content;white-space:nowrap}.admin-nested-cycle>summary{grid-template-columns:minmax(90px,.7fr) minmax(150px,1.4fr) auto auto}.admin-batch .batch-body{padding-top:16px}.batch-empty-state{padding:22px;border:1px dashed #4a4124;border-radius:15px;background:#0e0e0e}.batch-action-card{border-color:#6b5720}.batch-progress-line{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}.batch-progress-track{height:7px;flex:1;border-radius:999px;background:#262626;overflow:hidden}.batch-progress-fill{height:100%;background:linear-gradient(90deg,#b98b1d,#efd477);border-radius:999px}.batch-slot-note{font-size:11px;color:#aaa08d}.batch-controls-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.batch-controls-title h2{margin:0}.batch-name-input{font-weight:700}@media(max-width:760px){.batch-accordion>summary{padding:16px}.batch-body{padding:14px}.batch-cycle-accordion>summary,.admin-nested-cycle>summary{grid-template-columns:minmax(0,1fr) auto}.batch-cycle-accordion>summary .muted,.admin-nested-cycle>summary .muted{grid-column:1/-1}.cycle-summary-statuses{grid-column:1;justify-content:flex-start}.batch-cycle-accordion>summary .cycle-chevron,.admin-nested-cycle>summary .cycle-chevron{grid-column:2;grid-row:3;justify-self:end}.batch-summary-side{gap:7px}.batch-title{font-size:18px}.batch-cycle-row{align-items:flex-start}.batch-cycle-row .badge{flex:0 0 auto}.batch-kpis.grid-4{grid-template-columns:1fr}.batch-kpis .kpi .value{font-size:clamp(25px,8vw,30px);line-height:1.12}}

.historical-batch-controls{margin:14px 0 18px}.approval-banner,.approval-login-alert,.approval-preview-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid rgba(212,175,55,.4);border-radius:12px;background:rgba(212,175,55,.08);margin:12px 0}.approved-banner{border-color:rgba(46,160,67,.35);background:rgba(46,160,67,.07)}.approval-login-alert{margin:16px 0 20px}.approval-preview-banner{position:relative}.historical-editor{margin:0 0 16px 24px;padding:16px;border:1px dashed rgba(212,175,55,.45);border-radius:12px;background:rgba(255,255,255,.018)}.historical-editor-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.delete-batch-card{max-width:760px}.historical-editor .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:760px){.approval-banner,.approval-login-alert,.approval-preview-banner,.historical-editor-head{align-items:flex-start;flex-direction:column}.historical-editor{margin-left:0}.historical-editor .form-grid{grid-template-columns:1fr}}

.batch-finance-panel{margin:18px 0;padding-top:4px}.batch-payment-form{margin-top:14px;padding:16px;border:1px solid rgba(212,175,55,.22);border-radius:14px;background:rgba(212,175,55,.035)}.compact-table{margin-top:12px}.deductible-note{margin:12px 0;border-left:3px solid #d4af37}.deductible-field{padding:12px;border:1px solid rgba(212,175,55,.22);border-radius:12px;background:rgba(212,175,55,.04)}


/* ===== Fargo Luxury Batch UI v12 ===== */
.batch-accordion{
  margin:14px 0;
  border:1px solid rgba(255,255,255,.07);
  border-radius:20px;
  background:
    radial-gradient(330px 120px at 0 0,rgba(214,184,90,.045),transparent 72%),
    linear-gradient(180deg,rgba(15,15,15,.985),rgba(7,7,7,.995));
  box-shadow:0 16px 44px rgba(0,0,0,.23);
}
.batch-accordion>summary{
  padding:18px 20px;
  background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,0));
  border-bottom-color:transparent;
  transition:background .15s ease;
}
.batch-accordion>summary:hover{background:rgba(214,184,90,.035)}
.batch-accordion[open]{
  border-color:rgba(214,184,90,.17);
}
.batch-accordion[open]>summary{border-bottom-color:rgba(255,255,255,.055)}
.batch-title{
  color:#efe6ce;
  font-size:18px;
  font-weight:720;
  letter-spacing:-.015em;
}
.batch-subtitle{
  color:#817a70;
  font-size:10.5px;
  letter-spacing:.02em;
}
.batch-summary-side{gap:8px}
.batch-investor-report-link{
  display:inline-flex;
  min-height:30px;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border:1px solid rgba(214,184,90,.30);
  border-radius:999px;
  background:linear-gradient(180deg,rgba(214,184,90,.14),rgba(214,184,90,.055));
  color:#f0d77f!important;
  font-size:10px;
  font-weight:800;
  letter-spacing:.015em;
  white-space:nowrap;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
  transition:background .15s ease,border-color .15s ease,transform .15s ease;
}
.batch-investor-report-link:hover,
.batch-investor-report-link:focus{
  border-color:rgba(239,211,110,.52);
  background:linear-gradient(180deg,rgba(214,184,90,.22),rgba(214,184,90,.09));
  color:#fff0b6!important;
  transform:translateY(-1px);
}
.batch-investor-report-icon{font-size:13px;line-height:1}
.batch-body{padding:18px 20px 20px}
.batch-kpis{margin-bottom:16px}
.batch-date-value{font-size:17px!important}
.batch-cycle-list{gap:9px}
.batch-cycle-row{
  padding:14px 16px;
  border:1px solid rgba(255,255,255,.06);
  border-radius:13px;
  background:rgba(5,5,5,.56);
}
.batch-cycle-row:hover{border-color:rgba(214,184,90,.13);background:rgba(214,184,90,.018)}
.batch-cycle-row strong{color:#eee8dc;font-weight:700}
.pending-row{opacity:.72}
.locked-row{border-color:rgba(214,184,90,.12)}
.batch-cycle-accordion{
  border-radius:14px;
  background:rgba(6,6,6,.66);
}
.batch-cycle-accordion>summary{padding:14px 16px}
.batch-cycle-accordion .cycle-accordion-body{padding:16px}
.admin-batch .batch-body{padding-top:15px}

.batch-empty-state{
  padding:22px;
  border:1px dashed rgba(214,184,90,.18);
  border-radius:17px;
  background:
    radial-gradient(280px 100px at 0 0,rgba(214,184,90,.05),transparent 72%),
    rgba(7,7,7,.72);
}
.batch-action-card{border-color:rgba(214,184,90,.17)}
.batch-progress-line{gap:10px}
.batch-progress-track{
  height:6px;
  background:rgba(255,255,255,.055);
}
.batch-progress-fill{
  background:linear-gradient(90deg,#96742a,#d6b85a,#ead58a);
}
.batch-slot-note{color:#777067}
.batch-controls-title h2{font-weight:710;color:#eee9de}

.historical-batch-controls{margin:13px 0 17px}
.approval-banner,.approval-login-alert,.approval-preview-banner{
  padding:14px 16px;
  border:1px solid rgba(214,184,90,.17);
  border-radius:15px;
  background:
    linear-gradient(90deg,rgba(214,184,90,.06),transparent 58%),
    rgba(9,9,9,.8);
  box-shadow:0 10px 28px rgba(0,0,0,.17);
}
.approval-banner strong,.approval-login-alert strong,.approval-preview-banner strong{color:#ead89e}
.approval-banner>div>div,.approval-login-alert>div>div,.approval-preview-banner>div>div{
  margin-top:3px;
  color:#8c857b;
  font-size:11px;
  line-height:1.45;
}
.approved-banner{
  border-color:rgba(120,214,162,.18);
  background:linear-gradient(90deg,rgba(120,214,162,.055),transparent 58%),rgba(9,9,9,.8);
}
.historical-editor{
  margin-left:18px;
  padding:17px;
  border:1px solid rgba(214,184,90,.13);
  border-radius:15px;
  background:rgba(255,255,255,.012);
}
.historical-editor-head{margin-bottom:13px}
.legacy-reconciliation{margin:0 0 16px}
.legacy-reconciliation>summary{
  list-style:none;
  display:inline-flex;
  cursor:pointer;
  user-select:none;
}
.legacy-reconciliation>summary::-webkit-details-marker{display:none}
.legacy-reconciliation-panel{
  display:grid;
  grid-template-columns:minmax(220px,.72fr) minmax(0,1.28fr);
  gap:16px;
  margin-top:12px;
  padding:15px;
  border:1px solid rgba(214,184,90,.18);
  border-radius:14px;
  background:linear-gradient(135deg,rgba(214,184,90,.055),rgba(255,255,255,.012));
}
.legacy-reconciliation-copy strong{display:block;margin:4px 0 6px;color:#f0d782;font-size:15px}
.legacy-reconciliation-copy p{margin:0;color:#eee8dd;font-size:12px;line-height:1.5}
.legacy-reconciliation-panel .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.legacy-reconstruction-result{
  margin-top:12px;
  padding:11px 12px;
  border:1px solid rgba(214,184,90,.16);
  border-radius:11px;
  background:rgba(0,0,0,.2);
}
.legacy-reconstruction-result span,.legacy-reconstruction-result small{display:block;color:#9e9588;font-size:10px}
.legacy-reconstruction-result strong{margin:3px 0;color:#f3dfa0;font-size:16px}
.legacy-price-note{margin-top:4px;font-size:10px;line-height:1.35}
.historical-delay-editor{
  display:grid;
  grid-template-columns:minmax(220px,.72fr) minmax(0,1.28fr);
  gap:16px;
  margin:0 0 18px;
  padding:15px;
  border:1px solid rgba(214,184,90,.18);
  border-radius:14px;
  background:linear-gradient(135deg,rgba(214,184,90,.055),rgba(255,255,255,.012));
}
.historical-delay-copy strong{display:block;margin:4px 0 6px;color:#f0d782;font-size:15px}
.historical-delay-copy p{margin:0 0 6px;color:#eee8dd;font-size:12px;line-height:1.5}
.historical-delay-copy small{display:block;color:#9e9588;line-height:1.5}
.historical-delay-editor .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.delete-batch-card{max-width:780px}

.batch-finance-panel{margin:18px 0 0;padding-top:2px}
.batch-payment-form{
  padding:17px;
  border:1px solid rgba(214,184,90,.14);
  border-radius:15px;
  background:rgba(214,184,90,.022);
}
.compact-table{margin-top:12px}
.deductible-note{
  margin:12px 0;
  border-left:2px solid #b89c49;
}
.deductible-field{
  padding:13px;
  border:1px solid rgba(214,184,90,.13);
  border-radius:13px;
  background:rgba(214,184,90,.025);
}

@media(max-width:760px){
  .batch-accordion{border-radius:17px}
  .batch-accordion>summary{padding:15px}
  .batch-body{padding:14px}
  .batch-title{font-size:16px}
  .batch-subtitle{font-size:10px}
  .batch-summary-side{gap:6px;align-items:flex-start;flex-wrap:wrap;justify-content:flex-end}
  .batch-investor-report-link{min-height:28px;padding:5px 8px;font-size:9px}
  .batch-investor-report-link span:last-child{display:none}
  .batch-investor-report-icon{font-size:15px}
  .batch-cycle-row{padding:13px 14px}
  .batch-cycle-accordion>summary,.admin-nested-cycle>summary{padding:13px 14px}
  .batch-empty-state{padding:18px}
  .approval-banner,.approval-login-alert,.approval-preview-banner{
    padding:14px;
    border-radius:14px;
  }
  .historical-editor{margin-left:0;padding:14px}
  .legacy-reconciliation-panel{grid-template-columns:1fr;padding:13px}
  .legacy-reconciliation-panel .form-grid{grid-template-columns:1fr}
  .historical-delay-editor{grid-template-columns:1fr;padding:13px}
  .historical-delay-editor .form-grid{grid-template-columns:1fr}
}


.client-eur-funding-card{
  margin:14px 0 22px;
  border-color:rgba(255,255,255,.12);
  background:linear-gradient(180deg,rgba(11,11,11,.98),rgba(7,7,7,.98));
}
.client-eur-funding-card h2{
  color:var(--gold);
  font-size:18px;
  margin:4px 0 8px;
}
.client-eur-funding-card p{
  max-width:none;
}
