@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/_next/static/media/1a099d89ee94ee96-s.p.35a5cae5tspm2.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #f3f5f8;
  color: #122033;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}

.top {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 4rem;
  padding: 0 1rem;
  background: #fff;
  border-bottom: 1px solid #e6ebf2;
}

.brand img { height: 2rem; width: auto; display: block; }

.home {
  color: #0e2a4a;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

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

.kicker {
  margin: 0;
  color: #005ac5;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0.35rem 0 0;
  color: #0e2a4a;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 42rem;
  margin: 0.8rem 0 0;
  color: #24384c;
  font-size: 1rem;
  line-height: 1.6;
}

.filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.filters label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: #526277;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.filters select {
  min-height: 44px;
  padding: 0 0.75rem;
  border: 1px solid #d7dee7;
  border-radius: 0.75rem;
  background: #fff;
  color: #0e2a4a;
  font: 650 1rem/1 "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  text-transform: none;
  letter-spacing: 0;
}

.status { margin: 1.25rem 0 0; color: #24384c; }

.sheet {
  margin-top: 1.25rem;
  padding: 0.85rem 0.7rem 0.7rem;
  border: 1px solid #e6ebf2;
  border-radius: 1rem;
  background: #fff;
}

.months { display: grid; gap: 1.15rem; }

.month h2 {
  margin: 0 0 0.55rem;
  color: #0e2a4a;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

.week { margin-bottom: 0.2rem; }

.week span {
  color: #66758a;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.grid { gap: 0.2rem; }

.day {
  display: flex;
  min-height: 3.35rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  padding: 0.15rem;
  border: 0;
  border-radius: 0.45rem;
  background: transparent;
  color: #9aa6b5;
  font: inherit;
}

.day.pad { visibility: hidden; }

.day.has, .day.open { cursor: pointer; }

.day.has { background: #f4f7fb; color: #0e2a4a; }

.day.best:not(.selected) { box-shadow: inset 0 0 0 1.5px #0e2a4a; }

.day.marked { box-shadow: inset 0 0 0 1.5px #005ac5; }

.day.selected { background: #0e2a4a; color: #fff; }

.day:disabled { cursor: default; }

.num { font-size: 0.95rem; font-weight: 750; line-height: 1; }

.price {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

.ticket {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.85rem;
  padding: 1rem;
  border: 1px solid #e6ebf2;
  border-radius: 1rem;
  background: #fff;
}

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

.route span {
  display: block;
  color: #66758a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.route strong {
  display: block;
  margin-top: 0.15rem;
  color: #0e2a4a;
  font-size: 1.05rem;
  font-weight: 800;
}

.route em {
  display: block;
  margin-top: 0.1rem;
  color: #24384c;
  font-style: normal;
  font-size: 0.95rem;
}

.fare { display: grid; gap: 0.35rem; align-content: start; }

.sum {
  margin: 0;
  color: #0e2a4a;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cache, .fine, .missing p {
  margin: 0;
  color: #526277;
  font-size: 0.88rem;
  line-height: 1.45;
}

.missing h3 {
  margin: 0 0 0.35rem;
  color: #0e2a4a;
  font-size: 1.15rem;
}

.fare a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
  padding: 0 1.1rem;
  border-radius: 0.75rem;
  background: #0e2a4a;
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.note { margin: 0.75rem 0 0; color: #3d4d63; font-size: 0.9rem; }

@media (min-width: 800px) {
  .top { padding: 0 1.5rem; }
  .brand img { height: 2.25rem; }
  main { padding: 2.5rem 1.5rem 4rem; }
  h1 { font-size: 2.4rem; }
  .filters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sheet { padding: 1rem 0.4rem 0.85rem; }
  .months { grid-template-columns: 1fr 1fr; gap: 0; align-items: start; }
  .month { padding: 0.15rem 0.85rem 0.2rem; }
  .month + .month { border-left: 1px solid #e6ebf2; }
  .day { min-height: 4.15rem; }
  .price { font-size: 0.92rem; }
  .ticket {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 1.1rem 1.2rem;
  }
  .route { grid-template-columns: 1fr 1fr; }
  .fare { justify-items: end; text-align: right; }
  .fine { grid-column: 1 / -1; }
}
