:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f4f7fb;
  color: #162235;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

header {
  align-items: center;
  background: #10223d;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 1rem;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  font-size: 1.25rem;
  margin-bottom: 0;
}

h2 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.eyebrow {
  color: #a9c8f3;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
}

.mode,
.status {
  background: #dbeafe;
  border-radius: 999px;
  color: #1e40af;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.6rem;
}

main {
  margin: 0 auto;
  max-width: 72rem;
  padding: 1rem;
}

.panel,
.card,
.toolbar {
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 0.8rem;
  box-shadow: 0 0.25rem 0.8rem rgb(15 23 42 / 6%);
  padding: 1rem;
}

.panel {
  margin-top: 12vh;
}

.toolbar {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.toolbar p {
  margin-bottom: 0.2rem;
}

.grid {
  display: grid;
  gap: 0.85rem;
}

.card-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.card ul {
  margin: 0.75rem 0;
  padding-left: 1.25rem;
}

.card li {
  margin: 0.25rem 0;
}

.muted {
  color: #64748b;
  font-size: 0.84rem;
}

.schedule {
  border-top: 1px solid #e5eaf1;
  display: block;
  font-size: 0.9rem;
  padding-top: 0.8rem;
}

.warning {
  background: #fff7ed;
  border-left: 3px solid #ea580c;
  color: #9a3412;
  font-size: 0.82rem;
  margin: 0.75rem 0 0;
  padding: 0.55rem;
}

button,
.primary {
  background: #1d4ed8;
  border: 0;
  border-radius: 0.55rem;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font: inherit;
  font-weight: 700;
  padding: 0.65rem 0.9rem;
  text-decoration: none;
}

.danger {
  border-color: #fecaca;
}

.hidden {
  display: none;
}

@media (min-width: 48rem) {
  header,
  main {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 70rem) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
