/* Starkwood ONE v2.1.71 — Receivables prototype parity enhancement */
.sw-receivables-titleblock-v2171 {
  position: relative !important;
  padding-right: 276px !important;
  min-height: 44px;
}
#sw-receivables-report-controls-v2171 {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 4;
}
#sw-receivables-report-controls-v2171 select {
  min-width: 102px;
  height: 36px;
  padding: 0 30px 0 10px;
  border: 1px solid #dbe2ec;
  border-radius: 9px;
  background: #fff;
  color: #334155;
  font: inherit;
  font-size: 12px;
  outline: none;
}
#sw-receivables-report-controls-v2171 select:focus {
  border-color: #9db1ef;
  box-shadow: 0 0 0 3px rgba(45, 85, 232, .10);
}
#sw-receivables-report-controls-v2171 button {
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 9px;
  padding: 0 13px;
  background: #2d55e8;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 7px 16px rgba(45, 85, 232, .14);
  white-space: nowrap;
}
#sw-receivables-report-controls-v2171 button:hover { background: #2449cf; }
#sw-receivables-report-controls-v2171 button:disabled { opacity: .65; cursor: wait; }

.sw-receivables-modal-v2171 {
  position: fixed;
  inset: 0;
  z-index: 10080;
  background: rgba(13, 27, 58, .66);
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0 16px;
}
.sw-receivables-modal-card-v2171 {
  width: min(842px, calc(100vw - 32px));
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.sw-receivables-modal-toolbar-v2171 {
  height: 72px;
  flex: 0 0 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
  padding: 0 2px;
}
.sw-receivables-modal-heading-v2171 { display:flex; align-items:baseline; gap:8px; min-width:0; }
.sw-receivables-modal-title-v2171 { font-size:14px; font-weight:700; white-space:nowrap; }
.sw-receivables-page-size-v2171 { font-size:9px; color:rgba(255,255,255,.72); white-space:nowrap; }
.sw-receivables-modal-actions-v2171 { display:flex; align-items:center; gap:8px; }
.sw-receivables-print-v2171,
.sw-receivables-close-v2171 {
  border: 0;
  border-radius: 9px;
  height: 36px;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
}
.sw-receivables-print-v2171 { background:#2d55e8; color:#fff; }
.sw-receivables-close-v2171 { background:#fff; color:#334155; }
.sw-receivables-paper-scroll-v2171 {
  flex: 1;
  overflow: auto;
  background: #cfd5e0;
  padding: 24px 14px;
}
.sw-receivables-report-page-v2171 {
  box-sizing: border-box;
  width: 210mm;
  min-height: 297mm;
  margin: 0 auto;
  background: #fff;
  color: #172033;
  padding: 21mm 24mm;
  box-shadow: 0 1px 4px rgba(15,23,42,.16);
  font-family: Arial, Helvetica, sans-serif;
}
.sw-receivables-report-head-v2171 { display:flex; justify-content:space-between; align-items:flex-start; gap:24px; }
.sw-receivables-report-head-v2171 h1 { margin:0; font-size:17px; line-height:1.2; color:#0f172a; }
.sw-receivables-period-v2171 { margin:5px 0 0; font-size:9px; color:#8ea0bf; }
.sw-receivables-report-date-v2171 { font-size:9px; color:#8ea0bf; white-space:nowrap; }
.sw-receivables-summary-v2171 { display:flex; flex-wrap:wrap; gap:10px; margin:12px 0 12px; }
.sw-receivables-summary-chip-v2171 { min-width:110px; background:#f7f9fc; border-radius:8px; padding:7px 12px; }
.sw-receivables-summary-chip-v2171 span { display:block; font-size:8.5px; color:#94a3b8; text-transform:uppercase; letter-spacing:.3px; }
.sw-receivables-summary-chip-v2171 strong { display:block; margin-top:2px; font-size:13px; color:#0f172a; }
.sw-receivables-table-v2171 { width:100%; border-collapse:collapse; font-size:9px; }
.sw-receivables-table-v2171 th { text-align:left; border-bottom:1.5px solid #1e293b; padding:4px; color:#334155; font-weight:700; }
.sw-receivables-table-v2171 td { padding:3px 4px; border-bottom:1px solid #f1f5f9; vertical-align:top; }
.sw-receivables-table-v2171 td.amount { text-align:right; white-space:nowrap; }
.sw-receivables-empty-v2171 { font-size:11px; color:#cbd2e0; padding:9px 0; }
.sw-receivables-report-note-v2171 { margin-top:12px; border-top:1px solid #e2e8f0; padding-top:6px; text-align:center; font-size:8.5px; color:#94a3b8; }
.sw-receivables-toast-v2171 {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10120;
  max-width: 380px;
  background: #0b1739;
  color: #fff;
  border-radius: 11px;
  padding: 11px 14px;
  box-shadow: 0 12px 30px rgba(2,8,23,.25);
  font-size: 12px;
  font-weight: 600;
}
@media (max-width: 1040px) {
  .sw-receivables-titleblock-v2171 { padding-right: 0 !important; }
  #sw-receivables-report-controls-v2171 { position: static; margin-top: 12px; justify-content:flex-end; }
}
@media (max-width: 640px) {
  #sw-receivables-report-controls-v2171 { width:100%; flex-direction:column; align-items:stretch; }
  #sw-receivables-report-controls-v2171 select,
  #sw-receivables-report-controls-v2171 button { width:100%; }
  .sw-receivables-modal-v2171 { padding:0; }
  .sw-receivables-modal-card-v2171 { width:100vw; }
  .sw-receivables-modal-toolbar-v2171 { padding:0 10px; }
  .sw-receivables-page-size-v2171 { display:none; }
  .sw-receivables-paper-scroll-v2171 { padding:12px 8px; }
}
@media print {
  body > *:not(#sw-receivables-report-modal-v2171) { display:none !important; }
  #sw-receivables-report-modal-v2171 { position:static !important; display:block !important; background:#fff !important; padding:0 !important; }
  .sw-receivables-modal-card-v2171 { width:auto !important; height:auto !important; display:block !important; }
  .sw-receivables-modal-toolbar-v2171 { display:none !important; }
  .sw-receivables-paper-scroll-v2171 { overflow:visible !important; padding:0 !important; background:#fff !important; }
  .sw-receivables-report-page-v2171 { width:210mm !important; min-height:297mm !important; margin:0 !important; box-shadow:none !important; }
  @page { size:A4; margin:0; }
}
