:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #183033; background: #f5f7f4; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
.app-nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0 0; }
.app-nav a { padding: 9px 13px; border-radius: 8px; text-decoration: none; color: #607269; font-size: 13px; }
.app-nav a:hover, .app-nav a[aria-current="page"] { background: #eaf1e0; color: #28473f; }
.company-strip { color: #52665a; font-size: 13px; margin: 24px 0 -8px; }
.admin-caption { margin-bottom: 20px; max-width: 700px; line-height: 1.6; }
.admin-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 18px 0; }
.admin-button { border: 1px solid #ccd7ce; color: #28473f; background: #eaf1e0; border-radius: 8px; padding: 10px 15px; }
.admin-button:disabled { opacity: .55; cursor: default; }
.admin-link { color: #35745b; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.admin-card, .admin-form, .table-wrap { border: 1px solid #e0e6dc; border-radius: 15px; background: #fff; margin: 18px 0; }
.admin-card, .admin-form { padding: 24px; }
.admin-card h2, .admin-form h2, .section-title { font-size: 19px; font-weight: 550; margin: 0 0 16px; }
.admin-card p, .admin-card li { font-size: 14px; line-height: 1.7; }
.admin-form { max-width: 580px; }
.admin-form label { display: grid; gap: 8px; font-size: 13px; margin: 16px 0; color: #52665a; }
.admin-form input, .admin-form select { width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #ccd7ce; border-radius: 8px; background: #fff; color: #183033; }
input:focus-visible, select:focus-visible { outline: 3px solid #41987b; outline-offset: 2px; }
.table-wrap { overflow-x: auto; }
.admin-table { border-collapse: collapse; width: 100%; font-size: 13px; }
.admin-table th, .admin-table td { text-align: left; padding: 17px 20px; border-bottom: 1px solid #edf0e9; line-height: 1.6; }
.admin-table th { color: #607269; font-size: 12px; font-weight: 500; }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-empty { padding: 28px 24px; background: #fff; border-radius: 15px; color: #607269; line-height: 1.7; }
.enrollment-panel { padding-top: 10px; }
.enrollment-secret { display: block; overflow-wrap: anywhere; border-radius: 8px; background: #eef4e9; padding: 14px; font-size: 19px; letter-spacing: .7px; }
.status[data-failure="true"] { background: #fff3df; color: #83623b; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #41987b; outline-offset: 4px; }
.shell { max-width: 1080px; margin: 0 auto; padding: 30px 36px 24px; }
.brand-row { display: flex; align-items: center; justify-content: space-between; padding-bottom: 26px; border-bottom: 1px solid #dde4dc; }
.brand { display: flex; align-items: center; gap: 10px; color: #183033; text-decoration: none; font-size: 22px; font-weight: 700; letter-spacing: -.8px; }
.brand-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #d7f0b4; background: #183033; font-size: 21px; }
.brand-dot { width: 6px; height: 6px; border-radius: 50%; background: #79a653; align-self: flex-end; margin-bottom: 9px; margin-left: -7px; }
.local-badge { color: #607269; border: 1px solid #dce4da; border-radius: 20px; padding: 6px 11px; font-size: 12px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 32px; }
.eyebrow { font-size: 11px; letter-spacing: 1.9px; color: #718079; font-weight: 600; margin: 0 0 8px; }
h1 { font-size: 40px; font-weight: 650; letter-spacing: -1.3px; line-height: 1.15; margin: 0; }
.caption { color: #718079; font-size: 13px; margin: 10px 0 0; }
.refresh { display: flex; align-items: center; gap: 9px; border: 1px solid #ccd7ce; color: #28473f; background: #fff; border-radius: 9px; padding: 10px 15px; font-size: 13px; font-weight: 600; }
.refresh > span:first-child { font-size: 21px; line-height: 16px; }
.refresh:hover { background: #eef4e9; }
.refresh:disabled { opacity: .6; cursor: wait; }
.range-switch { display: inline-flex; gap: 3px; background: #e9eee7; padding: 4px; border-radius: 9px; margin: 23px 0 20px; }
.range-switch button { border: 0; background: transparent; border-radius: 6px; padding: 8px 16px; color: #69786f; font-size: 13px; }
.range-switch button[aria-pressed="true"] { background: #fff; color: #183033; box-shadow: 0 1px 3px #17352b12; font-weight: 600; }
.status { font-size: 13px; line-height: 1.65; border-radius: 9px; padding: 12px 16px; background: #eaf0e5; color: #4b6652; margin: 0 0 16px; }
[data-status="unavailable"] .status, [data-status="unauthorized"] .status, [data-status="config-error"] .status { background: #fff3df; color: #83623b; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.metric-card, .operational-card { background: #fff; border: 1px solid #e0e6dc; border-radius: 15px; padding: 24px; min-width: 0; }
.metric-card h2, .operational-card h2, .coverage-card h2 { font-weight: 500; font-size: 14px; margin: 0; }
#operational { margin: 24px 0; }
#operational > .caption { margin-bottom: 16px; }
.focused { grid-column: span 2; background: #eaf1e0; border-color: #dae6cc; }
.duration { font-size: clamp(25px, 3vw, 36px); font-weight: 550; letter-spacing: -1px; font-variant-numeric: tabular-nums; margin: 21px 0 14px; white-space: nowrap; }
.focused .duration { font-size: 47px; margin-top: 16px; }
.metric-note { font-size: 12px; color: #788279; line-height: 1.6; margin: 0; }
.secondary { grid-column: span 2; }
.secondary .duration { font-size: 32px; margin: 15px 0 9px; }
.coverage-card { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid #e0e6dc; border-radius: 15px; margin-top: 14px; padding: 21px 24px; gap: 16px; }
.coverage-card .metric-note { margin-top: 6px; }
.coverage-value { font-size: 31px; letter-spacing: -1px; font-weight: 550; font-variant-numeric: tabular-nums; margin: 0; }
.semantics { max-width: 780px; margin: 20px 3px; font-size: 12px; color: #788279; line-height: 1.8; }
.diagnostics { border-top: 1px solid #dde4dc; border-bottom: 1px solid #dde4dc; color: #718079; padding: 17px 3px; font-size: 12px; }
summary { cursor: pointer; color: #52665a; font-size: 13px; }
dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 19px 0 1px; }
dt { margin-bottom: 8px; }
dd { color: #183033; font-size: 19px; font-variant-numeric: tabular-nums; margin: 0; }
.analytics-breadcrumbs { margin: 20px 0; line-height: 1.8; }
#team-tables h2 { margin: 24px 0 12px; }
footer { display: flex; justify-content: space-between; font-size: 11px; color: #8b958d; margin-top: 24px; }
@media (max-width: 760px) {
  .shell { padding: 23px 20px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .focused { grid-column: span 2; }
  .secondary { grid-column: span 1; }
  .duration { font-size: 29px; }
  .metric-card, .operational-card { padding: 20px; }
  .local-badge { font-size: 10px; }
  h1 { font-size: 34px; }
}
@media (max-width: 420px) {
  .page-heading { align-items: flex-start; }
  .refresh { padding: 9px 10px; }
  .secondary .duration, .duration { font-size: 24px; }
  .coverage-value { font-size: 25px; }
  .metric-note { font-size: 11px; }
  dl { grid-template-columns: repeat(2, 1fr); }
}
