:root {
  color-scheme: dark;
  --bg: #0a1117;
  --surface: #101c24;
  --surface-raised: #14232c;
  --border: #2b4049;
  --text: #e1eee9;
  --muted: #a1b6b4;
  --accent: #94ebc3;
  --amber: #f2cc82;
  --red: #ffa4a8;
  --blue: #a9cfff;
  font-family: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  line-height: 1.65;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; color: var(--text); background: radial-gradient(ellipse at 80% 0, #16302c66, transparent 45%), var(--bg); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input { font: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -100px; left: 16px; padding: 12px 16px; background: var(--surface-raised); z-index: 5; }
.skip-link:focus { top: 12px; }
.status-shell { width: min(100% - 64px, 1440px); margin-inline: auto; }
.site-header { min-height: 92px; display: flex; gap: 20px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.hub-link, .owner-link { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; text-decoration: none; white-space: nowrap; }
.owner-link { color: var(--muted); }
.hub-link:hover, .owner-link:hover { color: var(--text); text-decoration: underline; }
.header-command { color: var(--muted); font-size: .8rem; }
.header-command span { color: var(--accent); }
main { padding-top: clamp(32px, 5vw, 68px); }
.status-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 30px; }
.eyebrow { margin: 0 0 9px; color: var(--muted); font-size: .72rem; letter-spacing: .1em; }
h1 { font-family: ui-sans-serif, system-ui, sans-serif; font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1.08; letter-spacing: -.045em; margin: 0; font-weight: 680; }
h1 > span { color: var(--accent); }
.intro-copy { max-width: 58ch; color: var(--muted); margin: 16px 0 0; }
.snapshot-stamp { flex: 0 0 auto; display: grid; text-align: right; gap: 2px; font-size: .83rem; }
.snapshot-stamp .eyebrow { margin-bottom: 4px; }
.muted { color: var(--muted); }
.overview { border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(115deg, #16352b55, transparent 75%), var(--surface); padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.overview-message { display: flex; align-items: center; gap: 16px; min-width: 0; }
.overview-message strong { font-size: 1.02rem; line-height: 1.5; display: block; }
.overview-message p { color: var(--muted); font-size: .82rem; margin: 4px 0 0; }
.status-dot { display: inline-block; width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: currentColor; color: var(--muted); }
.overview-message > .status-dot { width: 12px; height: 12px; outline: 5px solid #a1b6b410; }
.tone-operational { color: var(--accent); }
.tone-unavailable { color: var(--red); }
.tone-limited, .tone-paused { color: var(--amber); }
.tone-unknown { color: var(--muted); }
.quiet-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 8px 14px; flex: 0 0 auto; color: var(--text); background: var(--surface-raised); border: 1px solid var(--border); border-radius: 9px; }
.quiet-button:hover { border-color: var(--accent); }
.snapshot-notice { color: var(--amber); background: #30271a77; border: 1px solid #655433; padding: 12px 16px; border-radius: 10px; font-size: .85rem; }
.services-section { margin-top: 32px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-heading h2 { font-size: 1rem; margin: 0; font-weight: 600; }
.section-heading > span { font-size: .8rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 285px), 1fr)); gap: 14px; }
.service-card { min-width: 0; padding: 20px; display: flex; flex-direction: column; border: 1px solid var(--border); background: #101c24bb; border-radius: 13px; }
.service-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.service-card h3 { font-family: ui-sans-serif, system-ui, sans-serif; font-size: 1.12rem; line-height: 1.35; margin: 0; font-weight: 620; overflow-wrap: anywhere; }
.service-state { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; white-space: nowrap; }
.service-state .status-dot { width: 6px; height: 6px; }
.service-note { color: var(--muted); font-size: .82rem; line-height: 1.65; margin: 0 0 14px; }
.service-note:empty { display: none; }
.service-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.service-check { color: var(--muted); font-size: .73rem; display: grid; gap: 2px; }
.service-link { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 0 8px 8px; font-size: .79rem; text-decoration: none; white-space: nowrap; }
.service-link:hover { text-decoration: underline; }
.empty-state { grid-column: 1 / -1; padding: 28px; border: 1px dashed var(--border); border-radius: 13px; color: var(--muted); margin: 0; text-align: center; }
.status-explanation { margin-top: 28px; border-top: 1px solid var(--border); }
.status-explanation summary { min-height: 56px; padding: 16px 0; cursor: pointer; color: var(--muted); font-size: .85rem; }
.status-explanation[open] summary { color: var(--text); }
.status-explanation > div { max-width: 92ch; color: var(--muted); font-size: .85rem; padding-bottom: 12px; }
.page-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; border-top: 1px solid var(--border); margin-top: 28px; padding: 24px 0 32px; color: var(--muted); font-size: .76rem; }
.page-footer a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 10px; }
.owner-shell { width: min(100% - 40px, 440px); margin: clamp(28px, 8vh, 80px) auto 40px; }
.owner-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 24px; text-decoration: none; }
.owner-panel { padding: 28px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: 0 24px 70px #0003; }
.owner-panel h1 { font-size: 2rem; letter-spacing: -.035em; }
.owner-panel .intro-copy { font-size: .88rem; margin-top: 14px; }
.owner-form { margin-top: 28px; }
.owner-form label { display: block; font-size: .85rem; margin-bottom: 8px; }
.password-row { position: relative; }
.password-row input { min-height: 48px; width: 100%; padding: 10px 70px 10px 12px; background: var(--bg); color: var(--text); border: 1px solid #47616a; border-radius: 9px; font-size: 16px; }
.password-toggle { position: absolute; right: 2px; top: 2px; bottom: 2px; min-width: 60px; padding: 6px 10px; color: var(--muted); background: transparent; border: 0; border-radius: 7px; font-size: .78rem; }
.password-toggle:hover { color: var(--text); }
.sign-in-button { width: 100%; min-height: 48px; color: #0a2118; background: var(--accent); border: 1px solid transparent; border-radius: 9px; margin-top: 20px; padding: 10px 18px; font-weight: 650; }
.sign-in-button:hover { background: #b4f4d8; }
.login-message { font-size: .84rem; color: var(--amber); min-height: 1.65em; margin: 14px 0 0; overflow-wrap: anywhere; }
.owner-footnote { color: var(--muted); font-size: .78rem; margin-top: 24px; text-align: center; }
@media (max-width: 650px) {
  .status-shell { width: calc(100% - 36px); }
  .site-header { min-height: 76px; gap: 12px; }
  .header-command { display: none; }
  .status-intro { align-items: flex-start; flex-direction: column; gap: 22px; margin-bottom: 24px; }
  .snapshot-stamp { text-align: left; }
  .overview { padding: 18px; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
  .overview-message { gap: 13px; align-items: flex-start; }
  .overview-message > .status-dot { margin-top: 7px; }
  .quiet-button { margin-left: 25px; }
  .service-heading { flex-wrap: wrap; gap: 10px; }
  .service-card { padding: 18px; }
  .section-heading { align-items: baseline; }
  .owner-panel { padding: 24px; }
}
@media (prefers-reduced-motion: no-preference) {
  .service-card { animation: settle-in .28s ease-out both; }
  @keyframes settle-in { from { opacity: .6; transform: translateY(3px); } to { opacity: 1; transform: none; } }
}
