/* Super Admin home only: compact overview, live summaries and company follow-ups. */
body.app-ready.bcp-workspace.bcp-super-admin-home.bcp-launcher-active > main {
  background:#f5f8fb!important;
}
body.app-ready.bcp-workspace > main > #platformOverview.active[data-section="home"] {
  display:block!important;
  flex:0 0 auto!important;
  width:100%;
  max-width:1720px!important;
  min-width:0;
  padding:8px 20px 24px!important;
  box-sizing:border-box;
}
body.app-ready.bcp-workspace #platformOverview.active[data-section="home"] > #saHome.sa-home-dashboard:not([hidden]) {
  display:flex!important;
  flex-direction:column!important;
  flex:0 0 auto!important;
  width:100%;
  max-width:none;
  min-width:0;
  min-height:0;
  padding:0!important;
  margin:0!important;
  gap:18px;
  color:#173b59;
  font-family:Inter,'Segoe UI',sans-serif;
}
body.app-ready.bcp-workspace #platformOverview #saHome.sa-home-dashboard > .bcp-dashboard-heading {
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:6px;
  margin:0!important;
  padding:0;
  text-align:center;
}
body.app-ready.bcp-workspace #platformOverview #saHome.sa-home-dashboard .bcp-dashboard-heading > div {
  flex:none;
  min-width:0;
  width:100%;
}
body.app-ready.bcp-workspace #platformOverview[data-section="home"] #saHome.sa-home-dashboard .bcp-dashboard-heading h2 {
  font-size:30px!important;
  line-height:1.25!important;
  text-align:center!important;
  text-wrap:initial;
}
body.app-ready.bcp-workspace #platformOverview #saHome.sa-home-dashboard .bcp-dashboard-heading p {
  text-align:center;
  text-wrap:initial;
}
body.app-ready.bcp-workspace #platformOverview #saHome.sa-home-dashboard .bcp-home-eyebrow {
  display:flex;
  align-items:center;
  gap:14px;
  margin:0 0 7px;
  font-size:10px;
}
body.app-ready.bcp-workspace #platformOverview #saHome.sa-home-dashboard .bcp-home-eyebrow::before,
body.app-ready.bcp-workspace #platformOverview #saHome.sa-home-dashboard .bcp-home-eyebrow::after {content:'';flex:1;height:1px;background:#dbe5ee}
body.app-ready.bcp-workspace #platformOverview #saHome.sa-home-dashboard .bcp-access-badge {
  flex:none;
  align-self:center;
  border-radius:8px;
  padding:4px 13px;
  background:#f0f6fc;
}
#saHome.sa-home-dashboard .sa-home-summary,
#saHome.sa-home-dashboard .sa-home-shortcuts {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:0;
  width:100%;
  min-width:0;
}
#saHome.sa-home-dashboard .sa-home-shortcuts {grid-template-columns:repeat(4,minmax(0,1fr))}
#saHome.sa-home-dashboard [data-stat="companies"] {--sa-surface:#f0f6fc;--sa-border:#c8dbee;--sa-ink:#245b92;--sa-icon:#e6f0fb}
#saHome.sa-home-dashboard [data-stat="users"],
#saHome.sa-home-dashboard [data-platform-section="analytics"] {--sa-surface:#f0f7f8;--sa-border:#bed9df;--sa-ink:#286874;--sa-icon:#e4f1f3}
#saHome.sa-home-dashboard [data-stat="renewals"],
#saHome.sa-home-dashboard [data-platform-section="invoices"] {--sa-surface:#faf7f1;--sa-border:#e5d6bd;--sa-ink:#a06d24;--sa-icon:#f6efe3}
#saHome.sa-home-dashboard [data-stat="setup"] {--sa-surface:#f2f6fb;--sa-border:#cadbec;--sa-ink:#365d89;--sa-icon:#e8f0f9}
#saHome.sa-home-dashboard [data-platform-section="companies"] {--sa-surface:#f5f3fa;--sa-border:#d5cdeb;--sa-ink:#665994;--sa-icon:#eeebf7}
#saHome.sa-home-dashboard [data-platform-section="readiness"] {--sa-surface:#f1f7f3;--sa-border:#bfd8c8;--sa-ink:#37745e;--sa-icon:#e5f0e9}
#saHome.sa-home-dashboard .sa-home-stat {
  display:grid;
  grid-template-columns:54px minmax(0,1fr);
  align-content:center;
  gap:2px 16px;
  min-width:0;
  min-height:98px;
  padding:13px 18px;
  box-sizing:border-box;
  border:1px solid var(--sa-border);
  border-radius:10px;
  background:var(--sa-surface);
  box-shadow:0 3px 9px #173b5907;
}
#saHome.sa-home-dashboard .sa-home-stat > .sa-home-stat-label {grid-column:2;font-size:12px;font-weight:600;color:#173b59;line-height:1.4;overflow-wrap:anywhere}
#saHome.sa-home-dashboard .sa-home-stat > strong {grid-column:2;font-size:28px;line-height:1.15;font-weight:700;color:#123d65;font-variant-numeric:tabular-nums}
#saHome.sa-home-dashboard .sa-home-stat > small {grid-column:2;font-size:11px;line-height:1.45;color:#58748e;overflow-wrap:anywhere}
#saHome.sa-home-dashboard .sa-home-stat-icon {display:grid;place-items:center;grid-column:1;grid-row:1/span 3;align-self:center;width:54px;height:54px;border:1px solid var(--sa-border);border-radius:50%;color:var(--sa-ink);background:var(--sa-icon);box-sizing:border-box}
#saHome.sa-home-dashboard .sa-home-stat-icon svg {width:30px;height:30px}
#saHome.sa-home-dashboard .sa-home-stat[data-stat="renewals"] > strong {color:#946315}
#saHome.sa-home-dashboard .sa-home-stat[data-stat="setup"] > strong {color:#25677d}
body.app-ready.bcp-workspace #platformOverview[data-section="home"] #saHome.sa-home-dashboard .sa-home-shortcut,
body.app-ready.bcp-workspace #platformOverview[data-section="home"] #saHome.sa-home-dashboard .sa-home-shortcut:last-child {
  display:flex!important;
  flex-direction:row!important;
  align-items:center;
  justify-content:flex-start;
  grid-column:auto;
  min-width:0;
  width:100%!important;
  min-height:96px!important;
  height:auto!important;
  padding:14px!important;
  margin:0!important;
  gap:12px!important;
  text-align:left;
  border:1px solid var(--sa-border,#c8dbee)!important;
  border-radius:10px!important;
  background:var(--sa-surface,#f0f6fc)!important;
  box-shadow:0 3px 9px #173b5909!important;
  transform:none!important;
  cursor:pointer;
  transition:border-color .15s ease,box-shadow .15s ease;
}
body.app-ready.bcp-workspace #platformOverview[data-section="home"] #saHome.sa-home-dashboard .sa-home-shortcut:hover {
  border-color:var(--sa-ink,#245b92)!important;
  box-shadow:0 4px 12px #173b5912!important;
  transform:none!important;
}
#saHome.sa-home-dashboard .sa-home-nav-icon {
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  flex:0 0 52px;
  border:1px solid var(--sa-border,#c8dbee);
  border-radius:50%;
  color:var(--sa-ink,#245b92);
  background:var(--sa-icon,#e6f0fb);
  box-sizing:border-box;
}
#saHome.sa-home-dashboard .sa-home-nav-icon svg {width:29px;height:29px}
body.app-ready.bcp-workspace #platformOverview #saHome.sa-home-dashboard .bcp-tile-caption {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  min-width:0;
  min-height:0;
  width:auto;
  gap:5px;
}
body.app-ready.bcp-workspace #platformOverview #saHome.sa-home-dashboard .bcp-tile-name {
  font-size:13px;
  font-weight:650;
  line-height:1.35;
  text-align:left;
  padding:0;
  color:#173b59;
  overflow-wrap:anywhere;
}
body.app-ready.bcp-workspace #platformOverview #saHome.sa-home-dashboard .bcp-tile-name::after {display:none}
#saHome.sa-home-dashboard .sa-home-description {display:block;font-size:11px;font-weight:400;line-height:1.45;color:#58748e;white-space:normal;overflow-wrap:anywhere}
#saHome.sa-home-dashboard .sa-home-attention {min-width:0;border:1px solid #dbe5ee;border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 3px 9px #173b5907}
#saHome.sa-home-dashboard .sa-home-panel-head {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #e5edf3}
#saHome.sa-home-dashboard .sa-home-panel-head h3 {font-size:16px;font-weight:650;line-height:1.3;margin:0;color:#173b59}
#saHome.sa-home-dashboard .sa-home-panel-head p {font-size:11px;line-height:1.4;margin:4px 0 0;color:#657b8f}
#saHome.sa-home-dashboard .sa-home-panel-actions {display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
#saHomeUpdated {font-size:10px;color:#657b8f}
body #platformOverview #saHome.sa-home-dashboard button:not(.sa-home-shortcut) {font:600 11px/1.4 Inter,'Segoe UI',sans-serif;min-height:34px;padding:7px 11px;border:1px solid #d4e3ef;border-radius:6px;color:#24628e;background:#f8fbfe;box-shadow:none;cursor:pointer;white-space:normal}
body #platformOverview #saHome.sa-home-dashboard button:not(.sa-home-shortcut):hover {background:#edf5fc;border-color:#91b8d8}
body #platformOverview #saHome.sa-home-dashboard button:focus-visible {outline:3px solid #2684bf;outline-offset:3px}
body #platformOverview #saHome.sa-home-dashboard button:disabled {opacity:.65;cursor:wait}
body #platformOverview #saHome.sa-home-dashboard [hidden] {display:none!important}
body #platformOverview #saHome.sa-home-dashboard .sa-home-attention-table {display:table!important;table-layout:fixed;width:100%!important;min-width:0!important;border-collapse:collapse;border:0;margin:0;box-shadow:none;background:#fff}
body #platformOverview #saHome.sa-home-dashboard .sa-home-attention-table thead {display:table-header-group!important}
body #platformOverview #saHome.sa-home-dashboard .sa-home-attention-table tbody {display:table-row-group!important}
body #platformOverview #saHome.sa-home-dashboard .sa-home-attention-table tr {display:table-row!important;background:transparent;box-shadow:none;border:0}
body #platformOverview #saHome.sa-home-dashboard .sa-home-attention-table :is(th,td) {display:table-cell!important;position:static!important;inset:auto!important;z-index:auto!important;padding:12px 18px!important;border:0;border-bottom:1px solid #e8eef4;vertical-align:middle;text-align:left;white-space:normal!important;overflow-wrap:anywhere;font-size:12px;line-height:1.4;color:#38546d}
body #platformOverview #saHome.sa-home-dashboard .sa-home-attention-table th {background:#f7f9fc!important;font-size:10px!important;font-weight:600;color:#5c748b!important;letter-spacing:.02em}
body #platformOverview #saHome.sa-home-dashboard .sa-home-attention-table th:nth-child(1) {width:26%}
body #platformOverview #saHome.sa-home-dashboard .sa-home-attention-table th:nth-child(2) {width:40%}
body #platformOverview #saHome.sa-home-dashboard .sa-home-attention-table th:nth-child(3) {width:15%}
body #platformOverview #saHome.sa-home-dashboard .sa-home-attention-table th:nth-child(4) {width:19%}
body #platformOverview #saHome.sa-home-dashboard .sa-home-attention-table td strong {font-weight:600;color:#173b59}
body #platformOverview #saHome.sa-home-dashboard .sa-home-attention-table td small {display:block;color:#657b8f;font-size:11px;line-height:1.4;margin-top:3px}
body #platformOverview #saHome.sa-home-dashboard .sa-home-attention-table tr:last-child td {border-bottom:0}
#saHome.sa-home-dashboard .sa-home-issue {color:#286d92;font-weight:500}
#saHome.sa-home-dashboard .sa-home-issue-payment {color:#a13c37}
#saHome.sa-home-dashboard .sa-home-issue-renewal {color:#946315}
#saHome.sa-home-dashboard .sa-home-due-pending {display:inline-block;padding:5px 12px;border:1px solid #eddfc8;border-radius:7px;background:#fcf4e6;color:#946315;font-size:11px;line-height:1.4}
#saHome.sa-home-dashboard .sa-home-empty {padding:26px 18px;color:#657b8f;font-size:13px;line-height:1.5}
#saHome.sa-home-dashboard .sa-home-empty strong {color:#236d58;font-weight:600}
#saHome.sa-home-dashboard .sa-home-empty p {margin:5px 0 0;font-size:12px}
#saHome.sa-home-dashboard .sa-home-notice {margin:0;padding:10px 14px;border:1px solid #ead5b4;border-radius:7px;background:#fff8ee;color:#805c27;font-size:12px;line-height:1.5}
@media(max-width:1050px) {
  #saHome.sa-home-dashboard .sa-home-shortcuts {grid-template-columns:repeat(2,minmax(0,1fr))}
  #saHome.sa-home-dashboard .sa-home-stat {padding:13px 14px}
}
@media(min-width:651px) and (max-width:1050px) {
  #saHome.sa-home-dashboard .sa-home-stat {grid-template-columns:36px minmax(0,1fr);column-gap:9px;padding:12px}
  #saHome.sa-home-dashboard .sa-home-stat-icon {width:36px;height:36px}
  #saHome.sa-home-dashboard .sa-home-stat-icon svg {width:23px;height:23px}
}
@media(max-width:650px) {
  body.app-ready.bcp-workspace > main > #platformOverview.active[data-section="home"] {padding:6px 10px 20px!important}
  body.app-ready.bcp-workspace #platformOverview.active[data-section="home"] > #saHome.sa-home-dashboard:not([hidden]) {gap:14px}
  body.app-ready.bcp-workspace #platformOverview #saHome.sa-home-dashboard > .bcp-dashboard-heading {gap:7px}
  body.app-ready.bcp-workspace #platformOverview[data-section="home"] #saHome.sa-home-dashboard .bcp-dashboard-heading h2 {font-size:23px!important}
  #saHome.sa-home-dashboard .sa-home-summary {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  #saHome.sa-home-dashboard .sa-home-stat {grid-template-columns:38px minmax(0,1fr);column-gap:10px;padding:12px}
  #saHome.sa-home-dashboard .sa-home-stat-icon {width:38px;height:38px}
  #saHome.sa-home-dashboard .sa-home-stat-icon svg {width:23px;height:23px}
  #saHome.sa-home-dashboard .sa-home-stat > strong {font-size:25px}
  #saHome.sa-home-dashboard .sa-home-panel-head {align-items:flex-start;flex-direction:column;padding:14px}
  #saHome.sa-home-dashboard .sa-home-panel-actions {justify-content:flex-start}
  body #platformOverview #saHome.sa-home-dashboard .sa-home-attention-table,
  body #platformOverview #saHome.sa-home-dashboard .sa-home-attention-table tbody {display:block!important}
  body #platformOverview #saHome.sa-home-dashboard .sa-home-attention-table thead {display:none!important}
  body #platformOverview #saHome.sa-home-dashboard .sa-home-attention-table tr {display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:14px;border-bottom:1px solid #e8eef4}
  body #platformOverview #saHome.sa-home-dashboard .sa-home-attention-table :is(th,td) {display:block!important;border:0;padding:0!important}
  body #platformOverview #saHome.sa-home-dashboard .sa-home-attention-table td:nth-child(1),
  body #platformOverview #saHome.sa-home-dashboard .sa-home-attention-table td:nth-child(2) {grid-column:1/-1}
  body #platformOverview #saHome.sa-home-dashboard .sa-home-attention-table td:nth-child(3) {align-self:center;font-size:11px}
  body #platformOverview #saHome.sa-home-dashboard .sa-home-attention-table td:nth-child(3)::before {content:'Due: ';color:#657b8f}
  body #platformOverview #saHome.sa-home-dashboard .sa-home-attention-table td:nth-child(4) {justify-self:end}
  body #platformOverview #saHome.sa-home-dashboard .sa-home-attention-table tr:last-child {border:0}
}
@media(max-width:450px) {
  #saHome.sa-home-dashboard .sa-home-stat {grid-template-columns:30px minmax(0,1fr);column-gap:7px;padding:10px 8px}
  #saHome.sa-home-dashboard .sa-home-stat-icon {width:30px;height:30px}
  #saHome.sa-home-dashboard .sa-home-stat-icon svg {width:20px;height:20px}
  #saHome.sa-home-dashboard .sa-home-stat > small {grid-column:1/-1;margin-top:4px;font-size:10px}
  #saHome.sa-home-dashboard .sa-home-stat-icon {grid-row:1/span 2}
  #saHome.sa-home-dashboard .sa-home-shortcuts {grid-template-columns:minmax(0,1fr);gap:10px}
  body.app-ready.bcp-workspace #platformOverview[data-section="home"] #saHome.sa-home-dashboard .sa-home-shortcut,
  body.app-ready.bcp-workspace #platformOverview[data-section="home"] #saHome.sa-home-dashboard .sa-home-shortcut:last-child {min-height:76px!important;padding:12px 14px!important}
}
@media(prefers-reduced-motion:reduce) {
  body.app-ready.bcp-workspace #saHome.sa-home-dashboard .sa-home-shortcut {transition:none}
}
/* Keep the complete laptop dashboard in view; View all opens longer follow-up lists. */
@media screen and (min-width:761px) and (max-height:900px) {
  body.app-ready.bcp-workspace.bcp-super-admin-home.bcp-launcher-active > main {padding-bottom:8px!important}
  body.app-ready.bcp-workspace.bcp-super-admin-home.bcp-launcher-active #bcpWorkspaceTrail {min-height:34px!important;padding:4px 0!important;margin-bottom:8px!important}
  body.app-ready.bcp-workspace > main > #platformOverview.active[data-section="home"] {padding:4px 10px 8px!important}
  body.app-ready.bcp-workspace #platformOverview.active[data-section="home"] > #saHome.sa-home-dashboard:not([hidden]) {gap:10px}
  body.app-ready.bcp-workspace #platformOverview #saHome.sa-home-dashboard > .bcp-dashboard-heading {gap:3px}
  body.app-ready.bcp-workspace #platformOverview[data-section="home"] #saHome.sa-home-dashboard .bcp-dashboard-heading h2 {font-size:26px!important;line-height:1.2!important;margin:0!important}
  body.app-ready.bcp-workspace #platformOverview #saHome.sa-home-dashboard .bcp-home-subtitle {font-size:12px;line-height:1.35;margin:3px 0 0}
  body.app-ready.bcp-workspace #platformOverview #saHome.sa-home-dashboard .bcp-home-eyebrow {font-size:9px;line-height:1.3;margin:0 0 3px}
  body.app-ready.bcp-workspace #platformOverview #saHome.sa-home-dashboard .bcp-access-badge {font-size:11px;line-height:1.3;padding:3px 10px}
  #saHome.sa-home-dashboard .sa-home-stat {grid-template-columns:40px minmax(0,1fr);gap:1px 10px;min-height:78px;padding:8px 12px}
  #saHome.sa-home-dashboard .sa-home-stat > .sa-home-stat-label {font-size:11px;line-height:1.3}
  #saHome.sa-home-dashboard .sa-home-stat > strong {font-size:24px}
  #saHome.sa-home-dashboard .sa-home-stat > small {font-size:10px;line-height:1.3}
  #saHome.sa-home-dashboard .sa-home-stat-icon {width:40px;height:40px}
  #saHome.sa-home-dashboard .sa-home-stat-icon svg {width:25px;height:25px}
  #saHome.sa-home-dashboard .sa-home-shortcuts {grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
  body.app-ready.bcp-workspace #platformOverview[data-section="home"] #saHome.sa-home-dashboard .sa-home-shortcut,
  body.app-ready.bcp-workspace #platformOverview[data-section="home"] #saHome.sa-home-dashboard .sa-home-shortcut:last-child {min-height:72px!important;padding:10px!important;gap:9px!important}
  #saHome.sa-home-dashboard .sa-home-nav-icon {width:40px;height:40px;flex-basis:40px}
  #saHome.sa-home-dashboard .sa-home-nav-icon svg {width:25px;height:25px}
  #saHome.sa-home-dashboard .sa-home-description {display:none}
  #saHome.sa-home-dashboard .sa-home-panel-head {padding:10px 14px;gap:8px}
  #saHome.sa-home-dashboard .sa-home-panel-head h3 {font-size:15px}
  #saHome.sa-home-dashboard .sa-home-panel-head p {margin-top:2px}
  body #platformOverview #saHome.sa-home-dashboard .sa-home-attention-table :is(th,td) {padding:8px 14px!important}
  body #platformOverview #saHome.sa-home-dashboard button:not(.sa-home-shortcut) {min-height:30px;padding:5px 10px}
  #saHome.sa-home-dashboard .sa-home-empty {padding:16px 14px}
}

#saHome.sa-home-dashboard .sa-home-billing-summary {display:flex;justify-content:center;flex-wrap:wrap;gap:4px 20px;margin-top:-8px;color:#58748e;font-size:11px;line-height:1.4;text-align:center}
#saHome.sa-home-dashboard .sa-home-billing-summary strong {font-weight:650;color:#173b59}
