/* Executive workspace: loaded separately so the signed-in suite remains
   legible and useful without inheriting browser-default button styles. */
.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 38px 0 20px;
}

/* Guided presentation workspace */
.presentation-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  padding: 28px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0d1b2a, #1e3a8a);
  color: #fff;
}
.presentation-hero span,
.presentation-close span {
  display: block;
  color: #7dd3fc;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
}
.presentation-hero h2 { margin: 7px 0 9px; font-size: clamp(24px, 3vw, 38px); }
.presentation-hero p { margin: 0; max-width: 760px; color: #cbd5e1; line-height: 1.6; }
.presentation-trust {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  border: 1px solid #ffffff2b;
  border-radius: 15px;
}
.presentation-trust b { font-size: 36px; }
.presentation-trust span { color: #fff; letter-spacing: 0; }
.presentation-trust small { margin-top: 8px; color: #bfdbfe; }
.presentation-notice {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}
.presentation-notice p { margin: 5px 0 0; color: var(--sub); line-height: 1.55; }
.presentation-steps { display: grid; gap: 12px; margin-top: 18px; }
.presentation-step {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.presentation-number {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: #e8efff;
  color: #2563eb;
  font-weight: 900;
}
.presentation-copy span { color: #2563eb; font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.presentation-copy h3 { margin: 3px 0 4px; font-size: 16px; }
.presentation-copy p { margin: 0; color: var(--sub); font-size: 13px; line-height: 1.45; }
.presentation-step .soft-btn { white-space: nowrap; }
.presentation-close {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}
.presentation-close h3 { margin: 6px 0; }
.presentation-close p { margin: 0; color: var(--sub); line-height: 1.5; }
.presentation-close .soft-btn { white-space: nowrap; }

@media (max-width: 760px) {
  .presentation-hero { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px; }
  .presentation-hero h2 { font-size: 28px; line-height: 1.1; }
  .presentation-trust {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 2px 12px;
    justify-content: initial;
    padding: 14px;
  }
  .presentation-trust b { grid-row: 1 / span 2; align-self: center; font-size: 30px; }
  .presentation-trust span,
  .presentation-trust small { margin: 0; min-width: 0; }
  .presentation-notice { padding: 15px; }
  .presentation-step { display: block; padding: 17px; }
  .presentation-number { margin-bottom: 12px; }
  .presentation-copy span { display: block; }
  .presentation-copy h3 { margin-top: 5px; font-size: 18px; }
  .presentation-step .soft-btn { width: 100%; margin-top: 15px; }
  .presentation-close { align-items: flex-start; flex-direction: column; padding: 18px; }
  .presentation-close .soft-btn { width: 100%; }
}

.section-title > div > span,
.card-title-row span,
.data-note > span,
.health-title span {
  display: block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.section-title h2,
.health-title h2 {
  margin: 7px 0 0;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -.04em;
  line-height: 1.05;
}

.section-title p {
  max-width: 560px;
  margin: 0;
  color: var(--sub);
  font-size: 15px;
  line-height: 1.5;
  text-align: right;
}

.section-title p.asof {
  margin-top: 10px;
  font-size: 14px;
  text-align: left;
}

.company-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 24px;
}
.company-toggle.stale i,.fresh.stale i{background:#f59e0b}.company-toggle.stale small,.fresh.stale{color:#9a5d00}.company-toggle.unknown i,.fresh.unknown i{background:#94a3b8}.health-title p{margin:6px 0 0;color:var(--muted);font-size:13px}

.company-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 68px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.company-toggle:hover { border-color: #4f86f7; transform: translateY(-1px); }
.company-toggle.on { border-color: #4f86f7; background: #1c3d6d; box-shadow: inset 0 0 0 1px #2563eb; }
.company-toggle.all { min-width: 190px; font-size: 17px; font-weight: 800; justify-content: center; }
.company-toggle i { width: 12px; height: 12px; border-radius: 50%; background: #f59e0b; flex: 0 0 auto; }
.company-toggle.connected i { background: var(--green); }
.company-toggle > span { display: grid; gap: 2px; }
.company-toggle b { font-size: 18px; line-height: 1; }
.company-toggle small { color: var(--sub); font-size: 13px; }
.company-toggle em { margin-left: 8px; color: #b8c9e2; font-size: 23px; font-style: normal; font-weight: 800; }

.executive-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 30px;
}

.executive-kpi {
  appearance: none;
  display: flex;
  min-height: 160px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 22px 23px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.executive-kpi:hover { border-color: #4f86f7; background: #13243c; transform: translateY(-2px); }
.executive-kpi:focus-visible, .company-toggle:focus-visible { outline: 3px solid #60a5fa; outline-offset: 3px; }
.executive-kpi span { color: var(--sub); font-size: 14px; font-weight: 750; letter-spacing: .03em; text-transform: uppercase; }
.executive-kpi b { color: var(--ink); font-size: clamp(27px, 2.4vw, 36px); letter-spacing: -.045em; line-height: 1; }
.executive-kpi small { color: var(--sub); font-size: 13px; line-height: 1.45; }

.company-detail {
  margin: 22px 0 40px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  overflow: hidden;
}

.company-detail summary {
  padding: 20px 22px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}
.company-detail summary::-webkit-details-marker { display: none; }
.company-detail summary::after { content: 'Show details'; float: right; color: var(--blue); font-size: 14px; }
.company-detail[open] summary { border-bottom: 1px solid var(--line); }
.company-detail[open] summary::after { content: 'Hide details'; }
.company-detail .company-grid { padding: 18px; }

.suite-health { margin: 28px auto 0; padding: 0 24px; max-width: 1600px; }
.health-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.health-title h2 { font-size: 32px; }
.suite-health-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.suite-health-card { min-height: 160px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.health-card-head, .health-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.health-app { color: var(--ink); font-size: 19px; font-weight: 800; }
.health-card-head i { width: 15px; height: 15px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 8px rgba(20,184,166,.12); }
.suite-health-card.slow .health-card-head i { background: #f59e0b; box-shadow: 0 0 0 8px rgba(245,158,11,.12); }
.suite-health-card.down .health-card-head i { background: #fb5475; box-shadow: 0 0 0 8px rgba(251,84,117,.12); }
.health-state { margin-top: 36px; color: var(--ink); font-size: 28px; font-weight: 850; letter-spacing: -.04em; }
.suite-health-card.slow .health-state { color: #f59e0b; }
.suite-health-card.down .health-state { color: #fb5475; }
.health-meta { margin-top: 16px; color: var(--sub); font-size: 14px; }

@media (max-width: 1180px) {
  .executive-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .suite-health-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .section-title { display: block; margin: 28px 0 18px; }
  .section-title h2 { font-size: 30px; }
  .section-title > p { margin-top: 12px; text-align: left; }
  .company-filter { gap: 9px; margin-bottom: 18px; }
  .company-toggle { min-height: 54px; padding: 9px 12px; border-radius: 14px; }
  .company-toggle.all { min-width: 140px; font-size: 15px; }
  .company-toggle b { font-size: 15px; }
  .company-toggle small { font-size: 11px; }
  .executive-strip { grid-template-columns: 1fr; gap: 11px; margin-bottom: 22px; }
  .executive-kpi { min-height: 132px; padding: 19px; border-radius: 16px; }
  .suite-health { padding: 0 16px; }
  .health-title { align-items: flex-end; }
  .health-title h2 { font-size: 27px; }
  .suite-health-grid { grid-template-columns: 1fr; gap: 10px; }
  .suite-health-card { min-height: 132px; padding: 18px; }
  .health-state { margin-top: 25px; font-size: 25px; }
}
