:root {
  --navy: #031833;
  --gold: #b58a40;
  --ink: #1d2733;
  --muted: #5b6673;
  --line: #e4dfd3;
  --paper: #f7f5f0;
  --ok: #1f7a4d;
  --warn: #9a5b00;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.5 system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
}

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 6px;
  padding: 36px 32px 28px;
  text-align: center;
}

.card.wide {
  max-width: 640px;
  text-align: left;
}

.logo {
  width: 240px;
  max-width: 80%;
  height: auto;
}

h1 {
  margin: 20px 0 6px;
  font:
    600 22px/1.3 Georgia,
    'Times New Roman',
    serif;
  color: var(--navy);
}

p {
  margin: 0 0 16px;
}

.muted {
  color: var(--muted);
  font-size: 14px;
}

.btn {
  display: inline-block;
  width: 100%;
  margin-top: 8px;
  padding: 13px 18px;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  background: #0a2a52;
}

.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.btn.quiet {
  width: auto;
  padding: 8px 14px;
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--navy);
}

.btn.quiet:hover,
.btn.quiet:focus-visible {
  background: var(--paper);
}

.notice {
  margin: 16px 0 0;
  padding: 10px 12px;
  border: 1px solid #e7c9c9;
  border-radius: 4px;
  background: #fbf1f1;
  color: #7a1f1f;
  font-size: 14px;
  text-align: left;
}

.head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.head .logo {
  width: 150px;
}

.status {
  width: 100%;
  margin: 8px 0 20px;
  border-collapse: collapse;
}

.status th,
.status td {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-weight: 400;
}

.status th {
  width: 44%;
  color: var(--muted);
}

.ok {
  color: var(--ok);
  font-weight: 600;
}

.warn {
  color: var(--warn);
  font-weight: 600;
}

footer {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 480px) {
  .card {
    padding: 28px 20px 22px;
  }

  .status th,
  .status td {
    display: block;
    width: 100%;
    border-bottom: 0;
    padding: 2px 0;
  }

  .status tr {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }
}
