/* Starkwood ONE v2.1.74 — Inhouse Premiums updated-prototype report parity */
.sw-inhouse-premiums-titleblock-v2174 { position: relative !important; padding-right: 300px !important; min-height: 42px; }
#sw-inhouse-premiums-report-controls-v2174 {
  position: absolute; top: 0; right: 0; z-index: 3;
  display: flex; align-items: center; gap: 8px;
}
#sw-inhouse-premiums-report-controls-v2174 select {
  font: inherit; font-size: 12px; color: #334155; background: #fff;
  border: 1px solid #e2e8f0; border-radius: 8px; padding: 8px 28px 8px 9px;
  min-width: 102px; height: 34px;
}
#sw-inhouse-premiums-report-controls-v2174 button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 34px; padding: 0 12px; border: 0; border-radius: 8px;
  background: #2954e5; color: #fff; font-size: 12px; font-weight: 700; cursor: pointer;
  box-shadow: none;
}
#sw-inhouse-premiums-report-controls-v2174 button:disabled { opacity: .65; cursor: wait; }
.sw-inhouse-premiums-modal-v2174 {
  position: fixed; inset: 0; z-index: 10100; background: rgba(11,23,57,.62);
  display: flex; align-items: center; justify-content: center; padding: 12px;
}
.sw-inhouse-premiums-modal-card-v2174 {
  width: min(840px, calc(100vw - 24px)); height: calc(100vh - 24px); max-height: 920px;
  display: flex; flex-direction: column; min-height: 0;
}
.sw-inhouse-premiums-modal-toolbar-v2174 {
  height: 48px; flex: 0 0 48px; padding: 0 4px 0 16px;
  display: flex; align-items: center; justify-content: space-between; color: #fff;
}
.sw-inhouse-premiums-modal-heading-v2174 { display:flex; align-items:center; gap:8px; min-width:0; }
.sw-inhouse-premiums-modal-title-v2174 { font-size:14px; font-weight:700; white-space:nowrap; }
.sw-inhouse-premiums-page-size-v2174 { font-size:10px; opacity:.65; white-space:nowrap; }
.sw-inhouse-premiums-modal-actions-v2174 { display:flex; gap:8px; align-items:center; }
.sw-inhouse-premiums-modal-actions-v2174 button {
  border:0; border-radius:9px; padding:9px 12px; font-size:12px; font-weight:700; cursor:pointer;
}
.sw-inhouse-premiums-print-v2174 { display:flex; align-items:center; gap:6px; background:#2954e5; color:#fff; }
.sw-inhouse-premiums-close-v2174 { background:#fff; color:#334155; }
.sw-inhouse-premiums-paper-scroll-v2174 {
  flex: 1 1 auto; min-height: 0; overflow:auto; padding:24px;
  background:#d7dce6; display:flex; justify-content:center; align-items:flex-start;
}
.sw-inhouse-premiums-report-page-v2174 {
  width: 210mm; min-height: 297mm; background:#fff; box-sizing:border-box;
  padding: 20mm 18mm; color:#0f172a; box-shadow:0 6px 22px rgba(15,23,42,.12);
  font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
}
.sw-inhouse-premiums-report-top-v2174 { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:12px; }
.sw-inhouse-premiums-report-top-v2174 h1 { font-size:16px; line-height:1.2; margin:0 0 4px; font-weight:800; }
.sw-inhouse-premiums-report-top-v2174 p { font-size:9px; color:#94a3b8; margin:0; }
.sw-inhouse-premiums-report-top-v2174 > span { font-size:9px; color:#94a3b8; }
.sw-inhouse-premiums-summary-row-v2174 { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:14px; }
.sw-inhouse-premiums-summary-chip-v2174 { min-width:110px; background:#f7f8fb; border-radius:9px; padding:8px 10px; }
.sw-inhouse-premiums-summary-chip-v2174 span { display:block; font-size:8px; color:#94a3b8; text-transform:uppercase; }
.sw-inhouse-premiums-summary-chip-v2174 strong { display:block; font-size:12px; margin-top:2px; color:#0f172a; }
.sw-inhouse-premiums-table-v2174 { width:100%; border-collapse:collapse; table-layout:auto; font-size:9px; }
.sw-inhouse-premiums-table-v2174 th { text-align:left; border-bottom:1.5px solid #1e293b; padding:4px; color:#334155; font-weight:700; }
.sw-inhouse-premiums-table-v2174 td { padding:4px; border-bottom:1px solid #f1f5f9; vertical-align:top; }
.sw-inhouse-premiums-table-v2174 td.amount { text-align:right; white-space:nowrap; }
.sw-inhouse-premiums-empty-v2174 { font-size:11px; color:#cbd2e0; padding:9px 0; }
.sw-inhouse-premiums-report-note-v2174 { margin-top:12px; border-top:1px solid #e2e8f0; padding-top:6px; text-align:center; font-size:8.5px; color:#94a3b8; }
.sw-inhouse-premiums-toast-v2174 {
  position:fixed; right:18px; bottom:18px; z-index:10120; max-width:420px;
  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: 1120px) {
  .sw-inhouse-premiums-titleblock-v2174 { padding-right:0 !important; }
  #sw-inhouse-premiums-report-controls-v2174 { position:static; margin-top:12px; justify-content:flex-end; }
}
@media (max-width: 640px) {
  #sw-inhouse-premiums-report-controls-v2174 { width:100%; flex-direction:column; align-items:stretch; }
  #sw-inhouse-premiums-report-controls-v2174 select,
  #sw-inhouse-premiums-report-controls-v2174 button { width:100%; }
  .sw-inhouse-premiums-modal-v2174 { padding:0; }
  .sw-inhouse-premiums-modal-card-v2174 { width:100vw; height:100vh; max-height:none; }
  .sw-inhouse-premiums-modal-toolbar-v2174 { padding:0 10px; }
  .sw-inhouse-premiums-page-size-v2174 { display:none; }
  .sw-inhouse-premiums-paper-scroll-v2174 { padding:12px 8px; }
}
@media print {
  body > *:not(#sw-inhouse-premiums-report-modal-v2174) { display:none !important; }
  #sw-inhouse-premiums-report-modal-v2174 { position:static !important; display:block !important; background:#fff !important; padding:0 !important; }
  .sw-inhouse-premiums-modal-card-v2174 { width:auto !important; height:auto !important; max-height:none !important; display:block !important; }
  .sw-inhouse-premiums-modal-toolbar-v2174 { display:none !important; }
  .sw-inhouse-premiums-paper-scroll-v2174 { overflow:visible !important; padding:0 !important; background:#fff !important; display:block !important; }
  .sw-inhouse-premiums-report-page-v2174 { width:210mm !important; min-height:297mm !important; margin:0 !important; box-shadow:none !important; }
  @page { size:A4; margin:0; }
}
