:root {
  font-family: "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #182230;
  background: #f4f6f8;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.page-shell { width: min(100%, 640px); }

.status-card {
  padding: clamp(24px, 6vw, 40px);
  border: 1px solid #e4e8ed;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgb(24 34 48 / 6%);
}

.page-header { margin-bottom: 32px; }
.eyebrow { margin: 0 0 8px; color: #526273; font-size: 14px; }
h1 { margin: 0; font-size: 30px; line-height: 1.3; letter-spacing: -.02em; }
.page-description { margin: 10px 0 0; color: #526273; font-size: 15px; line-height: 1.6; }
.checks h2 { margin: 0 0 12px; font-size: 17px; }
.status-list { margin: 0; border-top: 1px solid #e8ebef; }
.status-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(120px, 1.2fr);
  gap: 16px;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid #e8ebef;
}
.status-row dt { color: #526273; font-size: 14px; }
.status-row dd { margin: 0; font-size: 14px; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.status-row-time dd { color: #526273; font-weight: 400; }
.state::before { content: "●"; display: inline-block; margin-right: 8px; font-size: 11px; }
.state-unknown::before { color: #7b8794; }
.state-pending::before { color: #945f00; }
.state-ok::before { color: #147d4b; }
.state-error::before { color: #b42318; }
.summary { min-height: 24px; margin: 20px 0 16px; color: #344054; font-size: 14px; line-height: 1.6; }
button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #174ea6;
  border-radius: 8px;
  background: #174ea6;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
button:hover { background: #123f89; }
button:focus-visible { outline: 3px solid #9cc2ff; outline-offset: 3px; }
button:active { background: #0d3475; }

@media (max-width: 420px) {
  body { padding: 16px 12px; }
  .status-card { border-radius: 12px; }
  .status-row { grid-template-columns: 1fr; gap: 3px; align-content: center; padding: 10px 0; }
  .status-row dd { text-align: left; }
}
