/* A focused service-status view, using Infer's shared color and type tokens. */
.status-page {
  --status-width: 880px;
  --status-tone: var(--muted);
  --status-fill: var(--surface-2);
  font-size: 15px;
}
.status-page .status-shell { width: min(calc(100% - 48px), var(--status-width)); margin-inline: auto; }
.status-page .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; }
.status-page a { text-underline-offset: 4px; }
.status-page a:focus-visible, .status-page summary:focus-visible { outline: 3px solid var(--signal); outline-offset: 5px; border-radius: 3px; }
.status-page .status-header { padding: 32px 0 42px; }
.status-page .status-header-inner, .status-page .status-identity, .status-page .status-header nav { display: flex; align-items: center; }
.status-page .status-header-inner { justify-content: space-between; gap: 24px; }
.status-page .status-identity { gap: 20px; min-width: 0; }
.status-page .wordmark { flex: none; min-height: 44px; }
.status-page .status-word { padding-left: 20px; border-left: 1px solid var(--line-strong); color: var(--muted); font-size: .86rem; line-height: 26px; }
.status-page .status-header nav { gap: 24px; }
.status-page .status-header nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .78rem; font-weight: 480; text-decoration: none; white-space: nowrap; }
.status-page .status-header nav a:hover { color: var(--ink); }
.status-page .theme-control { width: 44px; height: 44px; }

.status-page [data-state="operational"] { --status-tone: var(--green); --status-fill: var(--green-soft); }
.status-page [data-state="maintenance"], .status-page [data-state="degraded"] { --status-tone: var(--amber); --status-fill: var(--amber-soft); }
.status-page [data-state="unavailable"] { --status-tone: var(--danger); --status-fill: var(--danger-soft); }
.status-page .status-overview { overflow: hidden; border: 1px solid color-mix(in srgb, var(--status-tone) 28%, var(--line)); border-radius: 12px; background: var(--surface); }
.status-page .status-overview-main { display: flex; align-items: center; gap: 15px; min-height: 88px; padding: 24px 27px; background: var(--status-fill); color: var(--status-tone); }
.status-page .status-health-icon { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border: 1.5px solid currentColor; border-radius: 50%; }
.status-page .status-health-icon svg { width: 18px; height: 18px; }
.status-page .status-overview h1 { margin: 0; color: inherit; font-size: clamp(1.2rem, 2.4vw, 1.48rem); font-weight: 550; line-height: 1.35; letter-spacing: -.025em; }
.status-page .status-overview-copy { padding: 17px 27px; border-top: 1px solid color-mix(in srgb, var(--status-tone) 18%, var(--line)); }
.status-page .status-overview-copy p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.65; }
.status-page [data-state]:not([data-state="operational"]) .status-health-icon svg { display: none; }
.status-page [data-state]:not([data-state="operational"]) .status-health-icon::after { content: "!"; font-size: 17px; font-weight: 550; line-height: 1; }
.status-page [data-state="loading"] .status-health-icon::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-page [data-state="unknown"] .status-health-icon::after { content: "?"; }
.status-page .status-update-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; margin-top: 7px; color: var(--muted); font-size: .68rem; }
.status-page .status-update-row > div { display: flex; align-items: center; gap: 7px; min-width: 0; }
.status-page .status-live-dot { flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--status-tone); }
.status-page .status-update-row time { font-variant-numeric: tabular-nums; }
.status-page .status-refresh { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 2px 0 10px; border: 0; background: transparent; color: var(--muted); font-size: .69rem; cursor: pointer; }
.status-page .status-refresh svg { width: 14px; height: 14px; }
.status-page .status-refresh:hover { color: var(--ink); }
.status-page .status-refresh:disabled { opacity: .5; cursor: progress; }

.status-page .status-section { margin-top: 38px; }
.status-page .status-section-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 19px; }
.status-page .status-section-head > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 15px; min-width: 0; }
.status-page .status-section-head h2 { margin: 0; font-size: 1.06rem; font-weight: 570; line-height: 1.4; letter-spacing: -.02em; }
.status-page .status-section-head p { margin: 0; color: var(--muted); font-size: .68rem; }
.status-page .status-search { display: flex; align-items: center; flex: 0 0 218px; gap: 9px; min-width: 0; min-height: 46px; padding: 0 11px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--muted); }
.status-page .status-search:focus-within { border-color: var(--ink); outline: 2px solid color-mix(in srgb, var(--signal) 35%, transparent); outline-offset: 2px; }
.status-page .status-search svg { flex: none; width: 16px; height: 16px; }
.status-page .status-search input { display: block; width: 100%; min-width: 0; min-height: 44px; padding: 0; border: 0; border-radius: 0; outline: none; background: transparent; font-size: .72rem; }
.status-page .status-search input::placeholder { opacity: 1; color: var(--muted); }
.status-page .status-search input:disabled { opacity: .6; }
.status-page .status-services { padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.status-page .status-company + .status-company { border-top: 1px solid var(--line); }
.status-page .status-company > summary { display: flex; align-items: center; gap: 15px; min-height: 90px; padding: 20px 24px; list-style: none; cursor: pointer; }
.status-page .status-company > summary::-webkit-details-marker { display: none; }
.status-page .status-company > summary::marker { content: ""; }
.status-page .status-company > summary:hover { background: color-mix(in srgb, var(--field) 50%, var(--surface)); }
.status-page .status-company > summary:focus-visible { outline-offset: -4px; }
.status-page .status-company-icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 9px; background: var(--ground); }
.status-page .status-company-icon img { width: 22px; height: 22px; object-fit: contain; }
.status-page .status-company-icon > span { color: var(--muted); font-size: 23px; line-height: 1; }
.status-page .status-company-name { flex: 1; min-width: 0; color: var(--ink); font-size: .88rem; font-weight: 550; line-height: 1.4; }
.status-page .status-company-name small { display: block; margin-top: 4px; color: var(--muted); font-size: .67rem; font-weight: 400; }
.status-page .status-badge { display: inline-flex; align-items: center; flex: none; gap: 7px; color: var(--muted); font-size: .71rem; font-weight: 460; line-height: 1.4; white-space: nowrap; }
.status-page .status-badge.is-operational { color: var(--green); }
.status-page .status-badge.is-maintenance, .status-page .status-badge.is-degraded { color: var(--amber); }
.status-page .status-badge.is-unavailable { color: var(--danger); }
.status-page .status-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-page .status-chevron { flex: none; width: 7px; height: 7px; margin: -4px 1px 0 8px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform .16s ease; }
.status-page .status-company[open] > summary .status-chevron { margin-top: 4px; transform: rotate(225deg); }
.status-page .status-company-body { padding: 0 24px 12px 77px; }
.status-page .status-table-scroll { width: 100%; overflow: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.status-page .status-company table { width: 100%; min-width: 430px; border-collapse: collapse; text-align: left; }
.status-page .status-company thead th { padding: 7px 14px 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .6rem; font-weight: 480; white-space: nowrap; }
.status-page .status-company tbody th, .status-page .status-company tbody td { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.status-page .status-company tbody tr:last-child > * { border-bottom: 0; }
.status-page .status-company tbody th { width: 51%; padding-block: 0; font-size: .7rem; font-weight: 450; }
.status-page .status-company tbody th a { display: flex; align-items: center; min-height: 44px; text-decoration: none; overflow-wrap: anywhere; }
.status-page .status-company tbody th a:hover { text-decoration: underline; }
.status-page .status-company td .status-badge { font-size: .64rem; gap: 6px; }
.status-page .status-company .status-latency { padding-right: 0; text-align: right; white-space: nowrap; }
.status-page .status-company td.status-latency { color: var(--muted); font-size: .66rem; font-variant-numeric: tabular-nums; }
.status-page .status-legend { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px 20px; margin: 17px 0 0; padding: 0; list-style: none; }
.status-page .status-legend .status-badge { gap: 6px; font-size: .62rem; font-weight: 400; }
.status-page .status-legend .status-dot { width: 5px; height: 5px; }

.status-page .status-info { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 43px; padding: 25px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.status-page .status-info h2 { margin: 0; font-size: .88rem; line-height: 1.5; font-weight: 540; letter-spacing: -.01em; }
.status-page .status-info p { max-width: 57ch; margin: 6px 0 0; color: var(--muted); font-size: .72rem; line-height: 1.7; }
.status-page .status-info > a { display: inline-flex; align-items: center; gap: 10px; flex: none; min-height: 44px; color: var(--ink); font-size: .73rem; font-weight: 520; text-decoration: none; }
.status-page .status-info > a:hover { text-decoration: underline; }
.status-page .status-info > a span { font-size: 1rem; font-weight: 400; }
.status-page .status-footnote { max-width: 95ch; margin: 20px 0 0; color: var(--muted); font-size: .64rem; line-height: 1.85; }
.status-page .status-footnote time { display: block; font-variant-numeric: tabular-nums; }
.status-page .status-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 52px; padding: 0 0 32px; }
.status-page .status-footer nav { display: flex; align-items: center; gap: 22px; }
.status-page .status-footer a, .status-page .status-footer .status-byline { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .68rem; text-decoration: none; }
.status-page .status-footer a:hover { color: var(--ink); }
.status-page .status-empty { padding: 34px 24px; text-align: center; }
.status-page .status-empty strong { display: block; color: var(--ink); font-size: .9rem; font-weight: 520; }
.status-page .status-empty p { margin: 8px 0 10px; color: var(--muted); font-size: .75rem; }
.status-page .status-empty a, .status-page .status-link-button { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink); font-size: .75rem; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.status-page .status-skeleton { display: flex; align-items: center; gap: 15px; min-height: 90px; padding: 20px 24px; }
.status-page .status-skeleton + .status-skeleton { border-top: 1px solid var(--line); }
.status-page .status-skeleton span, .status-page .status-skeleton i, .status-page .status-skeleton b { display: block; background: var(--field); border-radius: 5px; }
.status-page .status-skeleton span { width: 38px; height: 38px; border-radius: 9px; }
.status-page .status-skeleton i { width: 100px; height: 13px; }
.status-page .status-skeleton b { width: 80px; height: 10px; margin-left: auto; }

:root[data-theme="dark"] .status-page .status-company-icon:is([data-company="openai"], [data-company="anthropic"], [data-company="xai"], [data-company="moonshot"]) img { filter: invert(1); }
@media (max-width: 760px) {
  .status-page .status-header nav { gap: 16px; }
  .status-page .status-identity { gap: 14px; }
  .status-page .status-word { padding-left: 14px; }
  .status-page .status-info { gap: 20px; }
  .status-page .status-company-body { padding-left: 24px; }
}
@media (max-width: 600px) {
  .status-page .status-shell { width: calc(100% - 32px); }
  .status-page .status-header { padding: 23px 0 29px; }
  .status-page .status-header-inner { gap: 10px; }
  .status-page .status-header nav { gap: 12px; }
  .status-page .status-header nav .status-docs-link { display: none; }
  .status-page .status-header nav a { font-size: .7rem; }
  .status-page .wordmark { gap: 7px; }
  .status-page .wordmark > .infer-mark { width: 27px; height: 27px; }
  .status-page .wordmark > span { font-size: 1.22rem; }
  .status-page .wordmark small { display: none; }
  .status-page .status-identity { gap: 12px; }
  .status-page .status-word { padding-left: 12px; font-size: .77rem; line-height: 24px; }
  .status-page .status-overview { border-radius: 10px; }
  .status-page .status-overview-main { gap: 12px; min-height: 82px; padding: 20px 18px; }
  .status-page .status-overview h1 { font-size: 1.1rem; line-height: 1.4; }
  .status-page .status-health-icon { width: 25px; height: 25px; }
  .status-page .status-overview-copy { padding: 14px 18px; }
  .status-page .status-overview-copy p { font-size: .75rem; }
  .status-page .status-update-row { gap: 8px; font-size: .62rem; }
  .status-page .status-refresh { font-size: .64rem; }
  .status-page .status-section { margin-top: 28px; }
  .status-page .status-section-head { flex-wrap: wrap; gap: 15px; margin-bottom: 16px; }
  .status-page .status-section-head > div { justify-content: space-between; width: 100%; gap: 8px; }
  .status-page .status-section-head h2 { font-size: .98rem; }
  .status-page .status-section-head p { font-size: .63rem; }
  .status-page .status-search { flex-basis: 100%; }
  .status-page .status-search input { font-size: 16px; }
  .status-page .status-company > summary { gap: 12px; min-height: 82px; padding: 17px 15px; }
  .status-page .status-company-icon { width: 34px; height: 34px; border-radius: 8px; }
  .status-page .status-company-icon img { width: 20px; height: 20px; }
  .status-page .status-company-name { font-size: .79rem; }
  .status-page .status-company-name small { margin-top: 4px; font-size: .6rem; }
  .status-page .status-company > summary > .status-badge { font-size: .64rem; gap: 5px; }
  .status-page .status-chevron { margin-left: 1px; width: 6px; height: 6px; }
  .status-page .status-company-body { padding: 0 15px 10px; }
  .status-page .status-company table { min-width: 0; table-layout: fixed; }
  .status-page .status-company thead th { padding-right: 8px; white-space: normal; overflow-wrap: anywhere; }
  .status-page .status-company thead th:first-child { width: 40%; }
  .status-page .status-company thead th:nth-child(2) { width: 34%; }
  .status-page .status-company thead th:last-child { width: 26%; }
  .status-page .status-company tbody th { width: auto; padding-right: 8px; }
  .status-page .status-company tbody td { padding-block: 13px; }
  .status-page .status-company tbody td:not(:last-child) { padding-right: 8px; }
  .status-page .status-company td .status-badge { max-width: 100%; gap: 4px; font-size: .61rem; white-space: normal; overflow-wrap: anywhere; }
  .status-page .status-company .status-latency { padding-right: 0; white-space: normal; overflow-wrap: anywhere; }
  .status-page .status-legend { justify-content: flex-start; gap: 8px 14px; margin-top: 15px; }
  .status-page .status-legend .status-badge { font-size: .59rem; }
  .status-page .status-info { align-items: flex-start; flex-direction: column; gap: 9px; margin-top: 32px; padding: 23px 0 17px; }
  .status-page .status-info h2 { font-size: .84rem; }
  .status-page .status-info p { font-size: .71rem; }
  .status-page .status-footnote { margin-top: 18px; font-size: .61rem; }
  .status-page .status-footer { gap: 16px; margin-top: 35px; padding-bottom: 23px; }
  .status-page .status-footer nav { gap: 14px; }
  .status-page .status-footer a, .status-page .status-footer .status-byline { font-size: .62rem; }
  .status-page .status-skeleton { gap: 12px; min-height: 82px; padding: 17px 15px; }
  .status-page .status-skeleton span { width: 34px; height: 34px; }
}
@media (max-width: 360px) {
  .status-page .status-header nav { gap: 8px; }
  .status-page .status-company > summary { gap: 9px; padding-inline: 12px; }
  .status-page .status-company > summary > .status-badge { font-size: .59rem; }
  .status-page .status-company-name { font-size: .74rem; }
  .status-page .status-footer nav { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .status-page .status-chevron { transition: none; }
}
