:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17211d;
  background: #fbfcfb;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --muted: #78847e;
  --line: #e8ece9;
  --green: #177b52;
  --green-soft: #eaf5ee;
  --amber: #93600e;
  --amber-soft: #fbf2df;
  --red: #b54141;
  --red-soft: #fbeaea;
}

* { box-sizing: border-box; }
body { min-width: 320px; margin: 0; }
button, a { font: inherit; }
a { color: inherit; }
.page-shell { width: min(100% - 48px, 880px); margin: 0 auto; }

.site-header { height: 76px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #25312b; font-size: 13px; font-weight: 650; letter-spacing: -.025em; text-decoration: none; }
.brand-mark { width: 25px; height: 25px; padding: 5px; display: flex; align-items: end; gap: 2px; border: 1px solid #dfe8e2; border-radius: 8px; background: #f0f6f2; }
.brand-mark span { flex: 1; border-radius: 2px; background: #27845d; }
.brand-mark span:nth-child(1) { height: 7px; opacity: .55; }
.brand-mark span:nth-child(2) { height: 12px; opacity: .78; }
.brand-mark span:nth-child(3) { height: 9px; }
.status-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #238659; }

main { padding: 58px 0 56px; }
h1, h2, p { margin-top: 0; }
h1 { margin: 0; font-size: 21px; line-height: 1.3; font-weight: 620; letter-spacing: -.035em; }

.summary { min-height: 90px; display: flex; align-items: center; gap: 15px; padding: 19px 21px; border: 1px solid #dce8df; border-radius: 12px; background: #f2f8f4; transition: background .2s, border-color .2s; }
.summary-icon { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 50%; background: #e1f0e6; }
.summary-icon-core { width: 10px; height: 10px; border-radius: 50%; background: #208252; box-shadow: 0 0 0 4px #c8e4d1; }
.summary-copy { min-width: 0; flex: 1; }
.summary-copy h2 { margin: 0 0 4px; color: #216b48; font-size: 14px; font-weight: 650; letter-spacing: -.01em; }
.summary-copy p { margin: 0; color: #718277; font-size: 12px; line-height: 1.5; }
.summary.summary-degraded { border-color: #eee1c5; background: #fcf8ed; }
.summary.summary-degraded .summary-icon { background: #f7ebd0; }
.summary.summary-degraded .summary-icon-core { background: #b27b21; box-shadow: 0 0 0 4px #f0dfb8; }
.summary.summary-degraded .summary-copy h2 { color: #805a18; }
.summary.summary-degraded .summary-copy p { color: #867655; }
.summary.summary-outage { border-color: #efd6d4; background: #fcf3f2; }
.summary.summary-outage .summary-icon { background: #f8e4e2; }
.summary.summary-outage .summary-icon-core { background: #bb4a49; box-shadow: 0 0 0 4px #f1d1cf; }
.summary.summary-outage .summary-copy h2 { color: #983e3d; }
.summary.summary-outage .summary-copy p { color: #866c69; }
.summary.summary-loading { border-color: var(--line); background: #fff; }
.summary.summary-loading .summary-icon { background: #f0f3f1; }
.summary.summary-loading .summary-icon-core { background: #98a29c; box-shadow: 0 0 0 4px #e5e9e6; }
.summary.summary-loading .summary-copy h2 { color: #56625b; }
.summary.summary-loading .summary-copy p { color: #7c8781; }
.refresh-button { min-height: 36px; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; border: 1px solid #dce3de; border-radius: 8px; background: #fff; color: #44534a; font-size: 11px; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.refresh-button:hover { border-color: #bdcec2; background: #fbfdfb; }
.refresh-button:active { transform: translateY(1px); }
.refresh-button:focus-visible, a:focus-visible { outline: 3px solid #a8d2b4; outline-offset: 3px; }
.refresh-button:disabled { opacity: .6; cursor: wait; }
.refresh-icon { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.is-refreshing .refresh-icon { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.section-heading { display: flex; align-items: center; justify-content: space-between; margin: 34px 0 13px; }
.last-checked { margin: 0 0 2px; color: #89948e; font-size: 11px; }
.device-list { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.device-card + .device-card { border-top: 1px solid var(--line); }
.device-main { min-height: 76px; display: flex; align-items: center; gap: 13px; padding: 14px 19px; }
.device-symbol { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border: 1px solid #e8ece9; border-radius: 9px; background: #f8faf8; color: #66736b; font-size: 11px; font-weight: 700; letter-spacing: -.02em; }
.device-info { min-width: 0; flex: 1; }
.device-info h2 { margin: 0; color: #28342d; font-size: 13px; font-weight: 650; letter-spacing: -.01em; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border-radius: 20px; background: var(--green-soft); color: var(--green); font-size: 10px; font-weight: 650; white-space: nowrap; }
.status-pill .status-dot { width: 6px; height: 6px; flex-basis: 6px; }
.status-pill.status-offline { background: var(--red-soft); color: var(--red); }
.status-pill.status-offline .status-dot { background: #c14d4d; }
.status-pill.status-error { background: #f0f2f1; color: #737e77; }
.status-pill.status-error .status-dot { background: #8b9690; }
.status-pill.status-loading { background: #f0f3f1; color: #77827b; }
.status-pill.status-loading .status-dot { background: #98a39c; animation: pulse 1.3s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.device-metrics { display: flex; gap: 38px; min-height: 49px; padding: 10px 19px 10px 66px; border-top: 1px solid #f0f2f0; background: #fcfdfc; }
.metric { min-width: 80px; display: flex; flex-direction: column; gap: 3px; }
.metric span { color: #929c96; font-size: 10px; }
.metric strong { color: #49564e; font-size: 11px; font-weight: 600; }
.device-card.is-loading .device-metrics { opacity: .65; }

@media (max-width: 600px) {
  .page-shell { width: min(100% - 32px, 880px); }
  .site-header { height: 66px; }
  .brand { font-size: 12px; }
  main { padding: 40px 0 38px; }
  .summary { min-height: 82px; gap: 11px; padding: 14px 12px; }
  .summary-icon { width: 30px; height: 30px; flex-basis: 30px; }
  .summary-icon-core { width: 9px; height: 9px; }
  .summary-copy h2 { font-size: 13px; }
  .summary-copy p { font-size: 10px; }
  .refresh-button { width: 35px; min-width: 35px; justify-content: center; padding: 0; }
  .refresh-button span { display: none; }
  .section-heading { align-items: center; margin-top: 27px; }
  .device-main { gap: 10px; padding: 13px 12px; }
  .device-symbol { width: 31px; height: 31px; flex-basis: 31px; }
  .status-pill { gap: 5px; padding: 5px 7px; font-size: 9px; }
  .device-metrics { gap: 25px; padding-left: 53px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
