:root {
  color-scheme: light;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #f7f7fb;
  color: #1f1f29;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fefefe 0%, #f2f4ff 60%);
}

header {
  padding: 2.5rem 1.5rem 1.5rem;
  text-align: center;
  background: #ffffffcc;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #e2e6ff;
}

header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

header p {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: #4a4a64;
}

nav {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  text-decoration: none;
  color: #1f1f29;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
}

nav a:hover,
nav a[aria-current='page'] {
  background: #101636;
  color: #ffffff;
  border-color: #101636;
}

main {
  width: min(900px, 90vw);
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 18px 40px rgba(16, 22, 54, 0.12);
}

section + section {
  margin-top: 2rem;
}

.details dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 0;
}

.details dt {
  font-weight: 700;
  font-size: 0.95rem;
  color: #666686;
}

.details dd {
  margin: 0.25rem 0 0;
  font-size: 1.05rem;
}

ul {
  padding-left: 1.2rem;
  line-height: 1.5;
}

footer {
  text-align: center;
  padding: 1.5rem;
  margin-top: auto;
  color: #666686;
  font-size: 0.9rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.schedule-table th:nth-child(4),
.schedule-table td:nth-child(4),
.schedule-table th:nth-child(5),
.schedule-table td:nth-child(5) {
  text-align: center;
}

.schedule-table th:first-child,
.schedule-table td:first-child {
  white-space: nowrap;
  width: 7rem;
}

th,
td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #e7e8f3;
}

th {
  background: #f2f4ff;
  font-size: 0.95rem;
}

caption {
  text-align: left;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.group-row th {
  background: #e7e9ff;
  color: #101636;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.placeholder {
  background: #f4f6ff;
  border-left: 3px solid #7a83ff;
  padding: 1rem;
  border-radius: 0.5rem;
}

