.branch-statistics {
  --bst-ink: #193047;
  --bst-muted: #738397;
  --bst-line: #e2e9f0;
  --bst-blue: #2d63ae;
  --bst-navy: #18334e;
  color: var(--bst-ink);
  max-width: 1440px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.55;
}
.branch-statistics [hidden] { display: none !important; }
.branch-statistics *, .branch-statistics *::before, .branch-statistics *::after { box-sizing: border-box; }
.branch-statistics .bst-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
.branch-statistics .bst-eyebrow { margin: 0 0 7px; color: #6483a5; font-size: 10px; letter-spacing: .17em; font-weight: 750; }
.branch-statistics h2 { margin: 0; color: #17314b; font-size: clamp(23px, 2.6vw, 30px); line-height: 1.3; font-weight: 800; letter-spacing: -.045em; }
.branch-statistics .bst-intro { margin: 9px 0 0; color: #687c90; font-size: 14px; }
.branch-statistics .bst-branch { flex-shrink: 0; margin-top: 23px; max-width: 36%; padding: 5px 12px; border: 1px solid #d7e4f2; border-radius: 7px; background: #edf4fc; color: #2c5a87; font-size: 12px; font-weight: 750; overflow-wrap: anywhere; }
.branch-statistics .bst-toolbar { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin: 0 0 16px; padding: 18px 20px; background: #fff; border: 1px solid var(--bst-line); border-radius: 13px; box-shadow: 0 3px 15px #1e3c5e04; }
.branch-statistics .bst-period, .branch-statistics .bst-export { display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; }
.branch-statistics .bst-export-scope { flex-basis: 100%; margin: -5px 0 0; color: #4e6378; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.branch-statistics .bst-export-scope[hidden] { display: none; }
.branch-statistics .bst-export .bst-button { white-space: normal; line-height: 1.35; }
.branch-statistics .bst-label { display: flex; flex-direction: column; gap: 7px; margin: 0; color: #4e6378; font-size: 12px; font-weight: 750; }
.branch-statistics .bst-month { height: 42px; width: 174px; margin: 0; padding: 8px 12px; background: #fff; border: 1px solid #cfdbe7; border-radius: 8px; color: var(--bst-ink); font: inherit; font-size: 14px; font-weight: 650; min-height: 0; }
.branch-statistics .bst-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 42px; min-height: 42px; min-width: 0; width: auto; margin: 0; padding: 0 15px; border: 1px solid #d7e1eb; border-radius: 8px; background: #fff; color: #34516c; font: inherit; font-size: 12px; font-weight: 750; line-height: 1; white-space: nowrap; cursor: pointer; box-shadow: none; transform: none; transition: background .15s, border-color .15s; }
.branch-statistics .bst-button:hover:not(:disabled) { background: #f2f6fb; border-color: #aec3d9; }
.branch-statistics .bst-button:disabled { opacity: .42; cursor: not-allowed; }
.branch-statistics .bst-primary { min-width: 94px; color: #fff; background: var(--bst-navy); border-color: var(--bst-navy); }
.branch-statistics .bst-primary:hover:not(:disabled) { color: #fff; background: #244e73; border-color: #244e73; }
.branch-statistics .bst-cancel { color: #6c7783; }
.branch-statistics .bst-download-icon { font-size: 17px; line-height: 1; }
.branch-statistics .bst-button:focus-visible, .branch-statistics input:focus-visible, .branch-statistics .bst-table-scroll:focus-visible { outline: 3px solid #9fc0ec; outline-offset: 3px; }
.branch-statistics .bst-status { padding: 12px 16px; margin: 0 0 18px; border: 1px solid #dde7f1; border-radius: 9px; background: #f5f8fc; color: #647b91; font-size: 12px; }
.branch-statistics .bst-status.is-loading { color: #315f92; background: #eff5fd; border-color: #d2e2f6; }
.branch-statistics .bst-status.is-loading::before { content: ''; display: inline-block; width: 11px; height: 11px; margin-right: 8px; border: 2px solid #b5cde9; border-top-color: #3866a2; border-radius: 50%; animation: bst-spin .8s linear infinite; vertical-align: -1px; }
.branch-statistics .bst-status.is-success { color: #487267; background: #f0f8f5; border-color: #dcece5; }
.branch-statistics .bst-status.is-warning { color: #866635; background: #fff9ed; border-color: #f0e4c8; }
.branch-statistics .bst-status.is-error { color: #a15050; background: #fff5f5; border-color: #edd7d7; }
.branch-statistics .bst-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.branch-statistics .bst-summary-card { min-width: 0; padding: 19px 20px 21px; border: 1px solid var(--bst-line); background: #fff; border-radius: 12px; }
.branch-statistics .bst-summary-card.is-tax { background: #edf3fa; border-color: #d9e5f3; }
.branch-statistics .bst-summary-label { margin: 0 0 10px; color: #708397; font-size: 12px; font-weight: 650; }
.branch-statistics .bst-summary-value { display: block; color: #233c56; font-size: clamp(20px, 1.8vw, 28px); line-height: 1.25; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.035em; white-space: nowrap; overflow-wrap: normal; word-break: keep-all; }
.branch-statistics .bst-summary-card.is-tax .bst-summary-value { color: #315f96; }
.branch-statistics .is-missing { color: #ad7935 !important; font-size: 12px; font-weight: 650; }
.branch-statistics .bst-summary-value.is-missing { font-size: 20px; line-height: 1.5; }
.branch-statistics .bst-table-card { overflow: hidden; background: #fff; border: 1px solid var(--bst-line); border-radius: 13px; }
.branch-statistics .bst-table-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding: 21px 22px 19px; }
.branch-statistics .bst-table-title { margin: 0 0 5px; color: #23415e; font-size: 16px; font-weight: 800; letter-spacing: -.025em; }
.branch-statistics .bst-result-meta { margin: 0; color: #7e8e9e; font-size: 11px; }
.branch-statistics .bst-search { margin: 0; }
.branch-statistics .bst-search input { display: block; width: 230px; height: 38px; min-height: 0; margin: 0; padding: 8px 12px; border: 1px solid #dce5ed; border-radius: 8px; background: #f9fbfd; color: var(--bst-ink); font: inherit; font-size: 12px; font-weight: 400; }
.branch-statistics .bst-search input::placeholder { color: #93a1af; }
.branch-statistics .bst-table-scroll { overflow-x: auto; max-width: 100%; overscroll-behavior-inline: contain; scrollbar-width: thin; }
.branch-statistics table { width: 100%; min-width: 930px; margin: 0; border-collapse: separate; border-spacing: 0; table-layout: auto; font-size: 12px; }
.branch-statistics th, .branch-statistics td { padding: 14px 20px; border: 0; border-bottom: 1px solid #edf1f5; line-height: 1.5; vertical-align: middle; white-space: nowrap; }
.branch-statistics thead th { position: relative; background: #f5f8fb; border-top: 1px solid #e8eef4; border-bottom: 1px solid #e2eaf2; color: #718499; text-align: right; font-size: 11px; font-weight: 750; }
.branch-statistics thead tr:first-child th:first-child, .branch-statistics thead tr:first-child th:nth-child(2) { text-align: left; }
.branch-statistics tbody th { color: #2a455e; text-align: left; font-weight: 750; background: #fff; }
.branch-statistics tbody tr:last-child th, .branch-statistics tbody tr:last-child td { border-bottom: 0; }
.branch-statistics tbody tr:hover th, .branch-statistics tbody tr:hover td { background: #f9fbfd; }
.branch-statistics .bst-name, .branch-statistics thead tr:first-child th:first-child { position: sticky; left: 0; z-index: 1; border-right: 1px solid #edf1f5; }
.branch-statistics thead tr:first-child th:first-child { z-index: 2; }
.branch-statistics .bst-rider-name { display: inline-block; max-width: 180px; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.branch-statistics .bst-row-issue { display: inline-block; margin-left: 6px; padding: 2px 5px; background: #fff3dd; border-radius: 4px; color: #a77b38; font-size: 9px; font-weight: 650; vertical-align: middle; }
.branch-statistics .bst-user-id { color: #8190a1; font-size: 11px; }
.branch-statistics .bst-money { text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; letter-spacing: -.015em; }
.branch-statistics tfoot th, .branch-statistics tfoot td { border-top: 1px solid #dce6ef; border-bottom: 0; background: #f5f8fc; color: #2b4e72; font-weight: 800; }
.branch-statistics tfoot th { text-align: left; }
.branch-statistics .bst-table-empty { padding: 45px 20px; color: #8b99a7; text-align: center; font-weight: 400; }
.branch-statistics .bst-search-note { margin: 0; padding: 13px 22px; border-top: 1px solid #e9eff5; color: #8c9baa; font-size: 10px; }
.branch-statistics .bst-notices { margin: 13px 0 0; padding: 0; overflow: hidden; border: 1px solid #e2e8ee; border-radius: 9px; background: #fbfcfe; }
.branch-statistics .bst-notices-title { padding: 11px 15px; color: #6d7e90; font-size: 11px; font-weight: 700; cursor: pointer; }
.branch-statistics .bst-notices-title:focus-visible { outline: 3px solid #9fc0ec; outline-offset: -3px; }
.branch-statistics .bst-notices-content { max-height: 350px; overflow-y: auto; padding: 0 15px 14px; }
.branch-statistics .bst-notice-group { padding: 11px 0 0; margin-top: 9px; border-top: 1px solid #e7edf3; }
.branch-statistics .bst-notice-group:first-child { margin-top: 0; }
.branch-statistics .bst-notice-name { margin: 0 0 4px; color: #536d85; font-size: 11px; font-weight: 750; overflow-wrap: anywhere; }
.branch-statistics .bst-notice-list { margin: 0; padding: 0 0 0 16px; color: #8391a0; font-size: 11px; line-height: 1.75; overflow-wrap: anywhere; }
.branch-statistics .bst-notice-list li { margin: 2px 0; }
.branch-statistics .bst-basis { margin-top: 17px; padding: 2px 3px; color: #8493a2; font-size: 10px; line-height: 1.8; }
.branch-statistics .bst-basis p { margin: 2px 0; }
.branch-statistics .bst-basis .bst-basis-title { margin-bottom: 5px; color: #677d93; font-size: 11px; font-weight: 750; }
.branch-statistics .bst-generated { margin-top: 6px !important; color: #9aa7b4; }
.branch-statistics .bst-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.branch-statistics .bst-confirm-overlay { position: fixed; inset: 0; z-index: 100020; display: flex; align-items: center; justify-content: center; padding: 20px; background: #12263e70; backdrop-filter: blur(3px); }
.branch-statistics .bst-confirm-dialog { width: 100%; max-width: 420px; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; padding: 26px; border: 1px solid #e1e8f0; border-radius: 17px; background: #fff; box-shadow: 0 24px 80px #11294135; }
.branch-statistics .bst-confirm-eyebrow { margin: 0 0 8px; color: #8293a6; font-size: 9px; letter-spacing: .16em; font-weight: 750; }
.branch-statistics .bst-confirm-dialog h3 { margin: 0; color: #233e59; font-size: 20px; line-height: 1.4; font-weight: 800; letter-spacing: -.03em; }
.branch-statistics .bst-confirm-message { margin: 17px 0 22px; color: #73869a; font-size: 12px; line-height: 1.85; white-space: pre-line; overflow-wrap: anywhere; }
.branch-statistics .bst-confirm-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 17px; border-top: 1px solid #e9eef4; }
.branch-statistics .bst-confirm-actions .bst-button { min-width: 85px; }
@keyframes bst-spin { to { transform: rotate(360deg); } }
/* Keep five tax-statistics metrics balanced alongside the navigation rail. */
@media (max-width: 1499px) {
  .branch-statistics .bst-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .branch-statistics .bst-summary-card:last-child { grid-column: 1 / -1; }
  .branch-statistics .bst-summary-value { font-size: 28px; }
}
@media (max-width: 900px) {
  .branch-statistics .bst-summary-value { font-size: 25px; }
}
@media (max-width: 560px) {
  .branch-statistics .bst-heading { gap: 10px; margin-bottom: 18px; }
  .branch-statistics .bst-eyebrow { font-size: 9px; letter-spacing: .12em; }
  .branch-statistics h2 { font-size: 24px; }
  .branch-statistics .bst-intro { font-size: 12px; max-width: 280px; }
  .branch-statistics .bst-branch { font-size: 10px; padding: 4px 7px; margin-top: 23px; max-width: 30%; }
  .branch-statistics .bst-toolbar { padding: 15px; gap: 14px; }
  .branch-statistics .bst-period { width: 100%; flex-wrap: nowrap; gap: 6px; }
  .branch-statistics .bst-label { flex: 1; min-width: 0; }
  .branch-statistics .bst-month { width: 100%; }
  .branch-statistics .bst-primary { min-width: 84px; }
  .branch-statistics .bst-cancel { padding: 0 10px; font-size: 11px; }
  .branch-statistics .bst-export { width: 100%; gap: 7px; padding-top: 12px; border-top: 1px solid #edf1f5; }
  .branch-statistics .bst-export .bst-button { flex: 1; height: 38px; min-height: 38px; padding: 0 9px; font-size: 11px; }
  .branch-statistics .bst-status { padding: 11px 12px; font-size: 11px; }
  .branch-statistics .bst-summary { gap: 8px; margin-bottom: 15px; }
  .branch-statistics .bst-summary-card { padding: 14px 13px 16px; border-radius: 10px; }
  .branch-statistics .bst-summary-label { font-size: 11px; margin-bottom: 8px; }
  .branch-statistics .bst-summary-value { font-size: 16px; }
  .branch-statistics .bst-summary-value.is-missing { font-size: 18px; }
      .branch-statistics .bst-table-heading { padding: 17px 15px 15px; gap: 13px; }
  .branch-statistics .bst-search, .branch-statistics .bst-search input { width: 100%; }
  .branch-statistics th, .branch-statistics td { padding: 13px 15px; }
  .branch-statistics table { min-width: 890px; }
  .branch-statistics .bst-rider-name { max-width: 100px; }
  .branch-statistics .bst-search-note { padding: 11px 15px; font-size: 10px; }
  .branch-statistics .bst-basis { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .branch-statistics .bst-status.is-loading::before { animation: none; }
  .branch-statistics .bst-button { transition: none; }
}

/* A missing insurance entry is intentionally blank, not a data warning. */
.branch-statistics .is-not-entered { color: #94a2b1; }
.branch-statistics .bst-field-reason { display: block; max-width: 190px; margin-top: 5px; color: #9b7137; font-size: 10px; font-weight: 500; line-height: 1.6; white-space: normal; text-align: right; }
.branch-statistics .bst-tax-estimate { display: block; margin-top: 6px; color: #647f99; font-size: 10px; line-height: 1.6; font-weight: 500; white-space: normal; }
.branch-statistics .bst-money .bst-tax-estimate { max-width: 180px; text-align: right; }


/* Platform split is presentation-only; combined tax and insurance retain their source values. */
.branch-statistics .bst-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.branch-statistics .bst-summary-group { min-width: 0; overflow: hidden; border: 1px solid var(--bst-line); border-radius: 13px; background: #fff; }
.branch-statistics .bst-summary-group-title { margin: 0; padding: 13px 18px; border-bottom: 1px solid #e9eef4; background: #f4f8fc; color: #385a7b; font-size: 12px; font-weight: 800; letter-spacing: -.015em; }
.branch-statistics .bst-summary-group.is-coupang .bst-summary-group-title { background: #f5f7fa; color: #53667d; }
.branch-statistics .bst-summary-group.is-combined { grid-column: 1 / -1; }
.branch-statistics .bst-summary-group.is-combined .bst-summary-group-title { background: #edf3fa; }
.branch-statistics .bst-summary-metrics { display: grid; grid-template-columns: minmax(0, 1fr); }
.branch-statistics .bst-summary .bst-summary-card { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 14px; padding: 15px 18px; border: 0; border-bottom: 1px solid #edf1f5; border-radius: 0; background: #fff; grid-column: auto; }
.branch-statistics .bst-summary .bst-summary-card:last-child { border-bottom: 0; grid-column: auto; }
.branch-statistics .bst-summary .bst-summary-label { margin: 0; color: #6e8195; font-size: 12px; }
.branch-statistics .bst-summary .bst-summary-value { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.35; }
.branch-statistics .bst-summary .bst-summary-value.is-missing { font-size: 14px; }
.branch-statistics .bst-summary .bst-tax-estimate { flex-basis: 100%; margin-top: 0; text-align: right; }
.branch-statistics .is-combined .bst-summary-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.branch-statistics .is-combined .bst-summary-card { align-content: center; border-bottom: 0; }
.branch-statistics .is-combined .bst-summary-card + .bst-summary-card { border-left: 1px solid #e8eef5; }
.branch-statistics table { min-width: 1470px; }
.branch-statistics thead .bst-platform-group { text-align: center; padding-top: 11px; padding-bottom: 11px; color: #3c5e7d; background: #eef4fb; }
.branch-statistics thead .bst-platform-group.is-coupang { color: #53667d; background: #f0f3f7; }
.branch-statistics thead tr:nth-child(2) th { text-align: right; font-size: 10px; padding-top: 10px; padding-bottom: 10px; }
.branch-statistics .bst-platform-start { border-left: 1px solid #dfe7f0; }
.branch-statistics .bst-combined-heading span { display: block; margin-top: 3px; color: #8a9bad; font-size: 9px; font-weight: 600; }
@media (max-width: 900px) {
  .branch-statistics .bst-summary { grid-template-columns: minmax(0, 1fr); }
  .branch-statistics .bst-summary-group.is-combined { grid-column: auto; }
}
@media (max-width: 560px) {
  .branch-statistics .bst-summary { gap: 10px; }
  .branch-statistics .bst-summary-group-title { padding: 11px 14px; font-size: 11px; }
  .branch-statistics .bst-summary .bst-summary-card { padding: 12px 14px; }
  .branch-statistics .bst-summary .bst-summary-label { font-size: 11px; }
  .branch-statistics .bst-summary .bst-summary-value { font-size: 19px; }
  .branch-statistics .is-combined .bst-summary-metrics { grid-template-columns: minmax(0, 1fr); }
  .branch-statistics .is-combined .bst-summary-card + .bst-summary-card { border-left: 0; border-top: 1px solid #e8eef5; }
  .branch-statistics table { min-width: 1350px; }
}

/* Income filing reference: ratio separated from the two platform groups. */
.branch-statistics .bst-reporting-ratio {font-variant-numeric:tabular-nums;white-space:nowrap;text-align:center;font-weight:700;color:#244963;background:#f2f6fa;min-width:92px;}
.branch-statistics .bst-reporting-ratio small {display:block;font-size:11px;font-weight:500;color:#6a7d8e;margin-top:4px;}
.branch-statistics .bst-reference-label {display:inline-flex;align-items:center;min-height:25px;padding:3px 9px;border:1px solid #ccdae5;border-radius:7px;font-size:11px;letter-spacing:.04em;font-weight:700;color:#365b73;background:#edf4fa;}
.branch-statistics .bst-summary {grid-template-columns:repeat(2,minmax(0,1fr));}
.branch-statistics .bst-summary-group.is-baemin,.branch-statistics .bst-summary-group.is-coupang {grid-column:auto;}
.branch-statistics .bst-table-scroll table {min-width:1150px;}
@media(max-width:700px){.branch-statistics .bst-summary{grid-template-columns:minmax(0,1fr);}}

/* Income-report presentation only: retain the original platform palettes. */
.branch-statistics .bst-summary-group.is-baemin { border-color: #c2d6ee; }
.branch-statistics .bst-summary-group.is-coupang { border-color: #bbd8c9; }
.branch-statistics .bst-summary-group.is-baemin .bst-summary-group-title { background: #1d4e89; color: #fff; border-bottom-color: #1d4e89; }
.branch-statistics .bst-summary-group.is-coupang .bst-summary-group-title { background: #155f4c; color: #fff; border-bottom-color: #155f4c; }
.branch-statistics .is-baemin .bst-summary-card { background: #f0f6fd; }
.branch-statistics .is-coupang .bst-summary-card { background: #f0f8f4; }
.branch-statistics .is-baemin .bst-summary-card.is-platform-total { background: #d8e7f8; border-top: 2px solid #a5c3e5; }
.branch-statistics .is-coupang .bst-summary-card.is-platform-total { background: #d6eadd; border-top: 2px solid #9bc5b1; }
.branch-statistics .bst-summary-card.is-platform-total .bst-summary-label { font-weight: 800; }
.branch-statistics .is-baemin .bst-summary-card.is-platform-total .bst-summary-label,
.branch-statistics .is-baemin .bst-summary-card.is-platform-total .bst-summary-value { color: #1d4e89; }
.branch-statistics .is-coupang .bst-summary-card.is-platform-total .bst-summary-label,
.branch-statistics .is-coupang .bst-summary-card.is-platform-total .bst-summary-value { color: #155f4c; }
.branch-statistics .bst-table-scroll table { min-width: 1430px; }
.branch-statistics thead .bst-platform-group.is-baemin { color: #fff; background: #1d4e89; border-bottom-color: #1d4e89; }
.branch-statistics thead .bst-platform-group.is-coupang { color: #fff; background: #155f4c; border-bottom-color: #155f4c; }
.branch-statistics thead tr:nth-child(2) th.is-baemin { color: #1d4e89; background: #e6effa; }
.branch-statistics thead tr:nth-child(2) th.is-coupang { color: #155f4c; background: #e3f0ea; }
.branch-statistics tbody td.is-baemin { background: #f0f6fd; }
.branch-statistics tbody td.is-coupang { background: #f0f8f4; }
.branch-statistics tbody td.is-baemin.bst-platform-total,
.branch-statistics thead tr:nth-child(2) th.is-baemin.bst-platform-total,
.branch-statistics tfoot td.is-baemin { color: #1d4e89; background: #d8e7f8; }
.branch-statistics tbody td.is-coupang.bst-platform-total,
.branch-statistics thead tr:nth-child(2) th.is-coupang.bst-platform-total,
.branch-statistics tfoot td.is-coupang { color: #155f4c; background: #d6eadd; }
.branch-statistics .bst-platform-total { font-weight: 800; border-left: 1px solid #b6c8d5; }
.branch-statistics .is-baemin.bst-platform-start { border-left: 2px solid #7ea5d0; }
.branch-statistics .is-coupang.bst-platform-start { border-left: 3px solid #80b59d; }
.branch-statistics tbody tr:hover td.is-baemin { background: #e6effa; }
.branch-statistics tbody tr:hover td.is-coupang { background: #e3f0ea; }
.branch-statistics tbody tr:hover td.is-baemin.bst-platform-total { background: #ccdef4; }
.branch-statistics tbody tr:hover td.is-coupang.bst-platform-total { background: #c8e1d1; }
@media (max-width: 560px) {
  .branch-statistics .bst-table-scroll table { min-width: 1360px; }
}

/* The existing admin theme intentionally makes all th elements neutral with
   !important. Override that rule only within this income-reporting pane. */
#admin #statistics-pane.branch-statistics thead .bst-platform-group.is-baemin {
  background: #1d4e89 !important; color: #fff !important;
}
#admin #statistics-pane.branch-statistics thead .bst-platform-group.is-coupang {
  background: #155f4c !important; color: #fff !important;
}
#admin #statistics-pane.branch-statistics thead tr:nth-child(2) th.is-baemin {
  background: #e6effa !important; color: #1d4e89 !important;
}
#admin #statistics-pane.branch-statistics thead tr:nth-child(2) th.is-coupang {
  background: #e3f0ea !important; color: #155f4c !important;
}
#admin #statistics-pane.branch-statistics thead tr:nth-child(2) th.is-baemin.bst-platform-total {
  background: #d8e7f8 !important; color: #1d4e89 !important;
}
#admin #statistics-pane.branch-statistics thead tr:nth-child(2) th.is-coupang.bst-platform-total {
  background: #d6eadd !important; color: #155f4c !important;
}
#admin #statistics-pane.branch-statistics .bst-summary-group.is-baemin .bst-summary-group-title {
  background: #1d4e89 !important; color: #fff !important;
}
#admin #statistics-pane.branch-statistics .bst-summary-group.is-coupang .bst-summary-group-title {
  background: #155f4c !important; color: #fff !important;
}

/* Common paid referral income stays visually separate from both platforms. */
.branch-statistics .is-combined.bst-platform-group,.branch-statistics thead th.is-combined{background:#62506e;color:#fff;}
.branch-statistics tbody .is-combined{background:#f7f3f9;}
.branch-statistics tbody tr:nth-child(even) .is-combined{background:#eee8f2;}
.branch-statistics tfoot .is-combined,.branch-statistics tbody .bst-platform-total.is-combined{background:#e4daeb;color:#4f405a;font-weight:800;}
.branch-statistics .bst-summary-group.is-combined .bst-summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr));}
@media(max-width:560px){.branch-statistics .bst-summary-group.is-combined .bst-summary-metrics{grid-template-columns:minmax(0,1fr);}}

/* Keep income basis copy in three readable paragraphs without changing controls. */
.branch-statistics .bst-inclusion-copy { white-space: pre-line; }
