:root {
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  color: #101518;
  background: #f5f7f7;
  line-height: 1.4;
  font-size: 18px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  height: 64px;
  border-bottom: 1px solid #dce0e1;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 max(24px, 4.3vw);
}
a {
  color: #005d36;
  text-underline-offset: 3px;
}
header a {
  text-decoration: none;
  color: inherit;
}
header strong {
  font-size: 28px;
  letter-spacing: -1px;
}
main {
  max-width: 1536px;
  margin: auto;
  padding: 28px 4.3vw 0;
}
h1 {
  font-size: 40px;
  letter-spacing: -1.2px;
  margin: 0 0 6px;
}
h2 {
  font-size: 28px;
  letter-spacing: -0.7px;
  margin: 0 0 14px;
}
h3 {
  margin: 25px 0 14px;
  font-size: 23px;
}
p {
  line-height: 1.45;
}
.subtitle {
  font-size: 24px;
  color: #535861;
  margin: 0 0 26px;
}
.panel {
  background: #fff;
  border: 1px solid #cfd5d8;
  border-radius: 18px;
  padding: 28px;
}
.booking {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.13fr) minmax(0, 1.13fr);
  gap: 28px;
  margin-inline: -28px;
}
.booking > section + section {
  border-left: 1px solid #d5dadd;
  padding-left: 28px;
}
.muted,
small {
  color: #535861;
}
small {
  font-size: 14px;
}
button,
.button {
  font: inherit;
  cursor: pointer;
  border: 1px solid #bdc6cc;
  border-radius: 11px;
  background: white;
  color: inherit;
  padding: 12px 16px;
  text-decoration: none;
  text-align: center;
  display: inline-block;
}
button:hover,
.button:hover {
  border-color: #00653a;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #155bbe;
  outline-offset: 3px;
}
button:disabled {
  cursor: default;
  color: #666;
  background: #f1f3f3;
}
.selected,
.primary {
  background: #07623b;
  color: white;
  border-color: #07623b;
  font-weight: 700;
}
.wide {
  width: 100%;
}
.lengths {
  display: grid;
  gap: 12px;
}
.lengths button {
  display: flex;
  justify-content: space-between;
  min-height: 52px;
}
.lengths button[aria-pressed="true"] {
  background: #07623b;
  border-color: #07623b;
  color: #fff;
  font-weight: 700;
}
.total {
  border-top: 1px solid #dce0e1;
  margin-top: 26px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: clamp(20px, 1.8vw, 28px);
  gap: 12px;
  flex-wrap: wrap;
  font-weight: 700;
}
.payment {
  font-size: 16px;
  color: #535861;
}
.step {
  display: inline-block;
  background: #e7f2e3;
  border-radius: 9px;
  padding: 6px 12px;
  margin-right: 10px;
  font-size: 20px;
  vertical-align: middle;
}
.month {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0;
}
.month strong {
  font-size: 23px;
}
.days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.days button {
  padding: 8px 2px;
  font-size: 14px;
  min-height: 74px;
}
.days strong {
  display: block;
  font-size: 24px;
}
.days small {
  display: block;
  font-size: 12px;
}
.zone {
  border: 1px solid #c5cdd1;
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 14px;
  overflow-wrap: anywhere;
  margin: 16px 0;
}
.band {
  background: #eaf3e6;
  border-radius: 9px;
  padding: 7px 12px;
  font-weight: bold;
  margin: 16px 0 7px;
}
.times {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.times button {
  padding: 7px 2px;
  font-size: 20px;
  min-height: 52px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.times small {
  display: block;
  font-size: 12px;
  font-weight: 400;
}
.selected small {
  color: white;
}
.summary {
  background: #eaf3e6;
  border-radius: 10px;
  padding: 14px;
  margin-top: 22px;
  line-height: 1.5;
}
.summary strong, .summary span {
  display: block;
}
.hint {
  font-size: 14px;
  line-height: 1.5;
}
.details label {
  display: block;
  font-weight: 700;
  margin-bottom: 14px;
}
.details input,
.details textarea {
  display: block;
  width: 100%;
  border: 1px solid #bdc6cc;
  border-radius: 9px;
  padding: 11px 13px;
  font: inherit;
  font-weight: 400;
  margin-top: 5px;
}
.details textarea {
  height: 100px;
  resize: vertical;
}
.details .primary {
  margin-top: 16px;
}
.center {
  text-align: center;
}
footer {
  max-width: 1320px;
  margin: 0 auto;
  padding: 25px;
  text-align: center;
}
footer a {
  font-weight: 600;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
}
.card p {
  color: #535861;
}
.receipt {
  max-width: 540px;
  margin: auto;
}
.receipt h1 {
  margin: 16px 0 24px;
}
.receipt .button,
.receipt button {
  margin-top: 14px;
}
.receipt dl {
  border: 1px solid #dce0e1;
  border-radius: 12px;
  padding: 16px;
  margin: 25px 0;
}
.receipt dt {
  font-weight: bold;
  margin-top: 12px;
  font-size: 14px;
  color: #535861;
}
.receipt dd {
  margin: 5px 0 15px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e4e8e9;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.status {
  display: inline-block;
  background: #eaf3e6;
  color: #07623b;
  border-radius: 16px;
  padding: 7px 12px;
  font-weight: 700;
}
.private {
  overflow-wrap: anywhere;
  font-size: 14px;
}
.danger {
  color: #ad2020;
}
.manage-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
}
.manage-layout .receipt {
  width: 100%;
  margin: 0;
  align-self: start;
}
.draft {
  font-size: 13px;
  color: #535861;
  margin: 0 0 15px;
}
.error {
  max-width: 600px;
  margin: 50px auto;
}
input[readonly] {
  background: #f1f3f3;
}

.booking > section, .manage-layout > section {
  min-width: 0;
}
.booking h2 {
  font-size: clamp(22px, 1.85vw, 28px);
}
#price {
  color: #535861;
  font-size: 22px;
  margin: 12px 0 20px;
}
.details > p {
  font-size: 16px;
  color: #535861;
}
.details > p {
  text-align: center;
}
.primary:not(:disabled):hover, .selected:not(:disabled):hover, .lengths button[aria-pressed="true"]:not(:disabled):hover {
  background: #044d2e;
  border-color: #044d2e;
}
#message:empty {
  margin: 0;
}
#message:not(:empty) {
  border-left: 3px solid currentColor;
  padding: 10px 14px;
  overflow-wrap: anywhere;
}
footer svg {
  vertical-align: middle;
  margin-right: 8px;
}
#cancel-prompt {
  border-top: 1px solid #cfd5d8;
  margin-top: 24px;
  padding-top: 12px;
}
#cancel-prompt button {
  margin-right: 8px;
}

.receipt dd:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.icon { width: 22px; height: 22px; vertical-align: middle; margin-right: 8px; }
.save-link { background: #eef5e9; padding: 16px; border-radius: 12px; margin-top: 24px; }
.save-link h2 { color: #07623b; font-size: 24px; margin: 0; }
.save-link p { margin: 12px 0; }
.private a { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 10px; border: 1px solid #cfd5d8; border-radius: 9px; background: white; }
.receipt .status { margin: 0 0 20px; }
.receipt #cancel { border: 0; text-align: left; padding-left: 0; }
@media (max-width: 1050px) {
  main {
    padding: 26px 20px;
  }
  .booking {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-inline: 0;
  }
  .booking > section + section {
    border-left: 0;
    border-top: 1px solid #d5dadd;
    padding: 24px 0 0;
  }
  .panel {
    padding: 22px;
  }
  .cards,
  .manage-layout {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 34px;
  }
  .subtitle {
    font-size: 20px;
  }
  .times button {
    padding: 10px 2px;
  }
  .receipt {
    max-width: 600px;
  }
  header {
    padding: 0 22px;
  }
  footer {
    font-size: 16px;
  }
  .days {
    gap: 5px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button, .button, input, textarea {
    transition: background-color 120ms, border-color 120ms, box-shadow 120ms;
  }
  button:not(:disabled):active, .button:active {
    transform: translateY(1px);
  }
  #selection {
    animation: selection-reveal 160ms ease-out;
  }
}
@keyframes selection-reveal {
  from { opacity: 0.5; }
  to { opacity: 1; }
}
@media (max-width: 600px) {
  :root { font-size: 16px; }
  header { height: 70px; }
  main { padding: 26px 16px 0; }
  h1 { font-size: 34px; line-height: 1.15; overflow-wrap: anywhere; }
  h2 { font-size: 26px; }
  .panel { padding: 20px 16px; border-radius: 16px; }
  .subtitle { margin-top: 10px; }
  .booking h2 { font-size: 26px; }
  .total { font-size: 24px; }
  .step { font-size: 18px; padding: 4px 10px; }
  .days button { min-height: 74px; }
  .days strong { font-size: 22px; }
  .days small { font-size: 12px; overflow-wrap: anywhere; }
  .times { gap: 8px; }
  .times button { min-height: 58px; }
  .summary { padding: 16px; }
  .receipt h1 { font-size: 32px; }
  .receipt dl { padding: 14px; }
  footer { margin: 26px 16px 0; padding: 22px 0; border-top: 1px solid #cfd5d8; overflow-wrap: anywhere; }
}
