/* Daily rate sheet. AMD monthly pages keep their own layout. */

.day-sheet {
  padding: 56px var(--pad) 88px;
}

.day-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 48px 72px;
  align-items: start;
}

.day-sheet h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.day-sheet h1 small {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.day-sheet h1 span {
  font-size: clamp(64px, 8vw, 104px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.88;
  color: var(--price);
  font-variant-numeric: tabular-nums;
}

.day-count {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
}

.day-count span {
  min-width: 3em;
  color: var(--muted);
  font-size: 14px;
}

.day-count button,
.day-count input {
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
}

.day-count button {
  width: 44px;
  cursor: pointer;
}

.day-count button:disabled {
  opacity: 0.35;
  cursor: default;
}

.day-count input {
  width: 92px;
  border-radius: 14px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.day-checks {
  margin: 28px 0 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 12px;
}

.day-checks.needs-check {
  outline: 1px solid #8d3b32;
  outline-offset: 10px;
  border-radius: 16px;
}

.day-checks label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.6;
}

.day-checks input {
  margin-top: 4px;
}

.day-slip {
  margin-top: 12px;
  color: #8d3b32;
  font-size: 14px;
}

.day-gates {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.day-gate {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  transition: border-color 0.25s var(--ease);
}

.day-gate.is-on {
  border-color: rgba(24, 117, 243, 0.55);
}

.day-gate img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.day-pay {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
}

.day-due {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.day-due small {
  color: var(--muted);
  font-size: 13px;
}

.day-due strong {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--price);
  font-variant-numeric: tabular-nums;
}

.day-pay .btn-solid {
  color: #fff;
  min-width: 9em;
  white-space: nowrap;
}

.day-spec {
  margin: 8px 0 0;
}

.day-spec h2,
.day-faq h2 {
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 400;
}

.day-spec div {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.day-spec dt {
  color: var(--muted);
}

.day-spec dd {
  margin: 0;
}

.day-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.day-faq {
  margin-top: 72px;
  max-width: 40em;
}

.day-q {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 16px 0;
  cursor: pointer;
}

.day-faq .day-q:last-of-type {
  border-bottom: 0;
}

.day-a {
  display: none;
  padding: 0 0 16px;
  color: var(--muted);
}

.day-q[aria-expanded="true"] + .day-a {
  display: block;
}

@media (max-width: 800px) {
  .day-sheet { padding-top: 32px; }
  .day-split { grid-template-columns: 1fr; gap: 36px; }
  .day-pay { flex-direction: column; align-items: stretch; }
  .day-spec div { grid-template-columns: 6.5em 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .day-gate { transition: none; }
}
