.obs-page { --green:#0e9f7b; --green-soft:#dffbf3; --yellow:#c98508; --yellow-soft:#fff4d4; --red:#cf3b46; --red-soft:#ffe5e7; --unknown:#94a3b8; }
.obs-hero { padding:72px 0 44px; background:var(--paper); }
.obs-hero .lead { max-width:760px; margin:22px 0 26px; }
.obs-hero { padding:72px 0 44px; background:var(--paper); }
.obs-hero .lead { max-width:760px; margin:22px 0 26px; }
.window-tabs { display:inline-flex; padding:5px; border:1px solid var(--line); border-radius:14px; background:#fff; }
.window-tabs button,.refresh { border:0; background:transparent; color:#526174; font:inherit; font-size:.86rem; font-weight:760; cursor:pointer; }
.window-tabs button { padding:9px 13px; border-radius:10px; }
.window-tabs button[aria-pressed="true"] { background:#fff; color:var(--ink); box-shadow:0 2px 9px rgba(7,17,31,.09); }
.summary { min-height:150px; padding:30px 34px; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:22px; border:1px solid var(--line); border-radius:24px; background:linear-gradient(135deg,#f8fffd,#f3f7ff); box-shadow:0 20px 60px rgba(7,17,31,.07); }
.summary-dot { width:17px; height:17px; border-radius:50%; background:var(--unknown); box-shadow:0 0 0 7px #e7edf3; }
.summary[data-state="healthy"] .summary-dot { background:var(--green); box-shadow:0 0 0 7px var(--green-soft); }
.summary[data-state="warning"] .summary-dot { background:var(--yellow); box-shadow:0 0 0 7px var(--yellow-soft); }
.summary[data-state="critical"] .summary-dot { background:var(--red); box-shadow:0 0 0 7px var(--red-soft); }
.summary-label { margin:0 0 4px; color:var(--muted); font-size:.78rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.summary h2 { font-size:1.45rem; }
.summary p:last-child { margin:7px 0 0; color:var(--muted); }
.overall-number { font-size:clamp(2.2rem,5vw,4rem); font-weight:900; letter-spacing:-.06em; }
.meta-row { min-height:54px; display:flex; align-items:center; justify-content:space-between; gap:20px; color:var(--muted); font-size:.82rem; }
.refresh { padding:7px 10px; }
.overall-history-panel { margin-top:34px; padding:28px; border:1px solid var(--line); border-radius:22px; background:#fff; }
.history-head { display:flex; align-items:end; justify-content:space-between; gap:28px; }
.history-head h2 { font-size:1.45rem; }
.history-legend { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:11px 16px; color:var(--muted); font-size:.72rem; }
.history-legend span { display:flex; align-items:center; gap:6px; }
.history-legend i { width:9px; height:9px; border-radius:3px; background:var(--unknown); }
.history-legend i.healthy { background:var(--green); }.history-legend i.warning { background:#e5a72f; }.history-legend i.critical { background:var(--red); }
.overall-history { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(9px,1fr); gap:5px; margin-top:25px; overflow-x:auto; padding-bottom:4px; }
.overall-history button { min-width:9px; height:42px; padding:0; border:0; border-radius:5px; background:#e4eaf0; cursor:pointer; }
.overall-history button.healthy { background:var(--green); }.overall-history button.warning { background:#e5a72f; }.overall-history button.critical { background:var(--red); }
.overall-history button:hover,.overall-history button:focus-visible { outline:3px solid rgba(37,117,252,.25); outline-offset:2px; }
.history-detail { min-height:24px; margin:13px 0 0; color:var(--muted); font-size:.82rem; }
.section-heading { margin:62px 0 26px; display:flex; justify-content:space-between; align-items:end; gap:32px; }
.section-heading > p { max-width:470px; margin:0; color:var(--muted); }
.model-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.model-card { padding:24px; border:1px solid var(--line); border-radius:21px; background:#fff; }
.model-top { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.platform { margin:5px 0 0; color:var(--muted); font-size:.8rem; text-transform:uppercase; letter-spacing:.07em; }
.availability { text-align:right; font-size:1.85rem; font-weight:900; letter-spacing:-.045em; }
.availability small { display:block; color:var(--muted); font-size:.69rem; font-weight:700; letter-spacing:0; }
.badge { display:inline-flex; margin-top:12px; padding:5px 9px; border-radius:999px; font-size:.72rem; font-weight:850; }
.badge.healthy { color:#08745b; background:var(--green-soft); }
.badge.warning { color:#805200; background:var(--yellow-soft); }
.badge.critical { color:#992b34; background:var(--red-soft); }
.badge.unknown { color:#556274; background:#edf2f7; }
.metrics { margin:22px 0; display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.metric { padding:12px; border-radius:13px; background:var(--paper); }
.metric span { display:block; color:var(--muted); font-size:.7rem; }
.metric strong { font-size:.95rem; }
.history { display:flex; gap:4px; min-height:13px; overflow:hidden; }
.history i { min-width:6px; flex:1; height:12px; border-radius:3px; background:#e4eaf0; }
.history i.healthy { background:var(--green); }.history i.warning { background:#e5a72f; }.history i.critical { background:var(--red); }
.card-foot { margin-top:10px; display:flex; justify-content:space-between; gap:12px; color:var(--muted); font-size:.72rem; }
.empty-state { grid-column:1/-1; padding:50px 24px; border:1px dashed #cbd6df; border-radius:20px; text-align:center; background:var(--paper); }
.empty-state p { margin:8px 0 0; color:var(--muted); }
.methodology { margin-top:64px; padding:44px 0 8px; border-top:1px solid var(--line); }
.method-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.method-grid article { padding:23px; border-radius:18px; background:var(--paper); }
.method-grid strong { display:flex; width:32px; height:32px; align-items:center; justify-content:center; margin-bottom:18px; border-radius:10px; background:var(--navy); color:#fff; }
.method-grid p { margin:10px 0 0; color:var(--muted); }
.disclosure { margin-top:22px; padding:18px 20px; border:1px solid var(--line); border-radius:16px; }
.disclosure summary { cursor:pointer; font-weight:750; }.disclosure p { color:var(--muted); }
@media (max-width:820px) {
  .obs-hero,.section-heading,.history-head { align-items:flex-start; flex-direction:column; }
  .model-grid,.method-grid { grid-template-columns:1fr; }
  .window-tabs { width:100%; }
  .window-tabs button { flex:1; }
  .summary { grid-template-columns:auto 1fr; padding:24px; }
  .overall-number { grid-column:2; }
  .history-legend { justify-content:flex-start; }
}
@media (max-width:520px) {
  .summary { gap:15px; }
  .metrics { grid-template-columns:1fr 1fr; }
}
@media (prefers-reduced-motion:reduce) { * { scroll-behavior:auto!important; transition:none!important; } }

/* Wrapping hardening */
.obs-hero h1 { text-wrap: balance; max-width: 21ch; }
.obs-hero .lead { text-wrap: pretty; }
.summary > div { min-width: 0; }
.summary h2 { text-wrap: balance; }
.summary-label { white-space: nowrap; }
@media (max-width: 560px) {
  .summary-label { white-space: normal; }
}
.overall-number { font-variant-numeric: tabular-nums; }
@media (min-width: 821px) {
  .overall-number { text-align: right; }
}
.model-card { min-width: 0; }
.model-top > div { min-width: 0; }
.availability { white-space: nowrap; }
.history-legend span { white-space: nowrap; }

/* Footer separators must stay inline on the observatory page */
.site-footer .footer-note a { display: inline; margin: 0; }
.site-footer .footer-note { line-height: 2; }
