:root {
  --navy: #142d3a;
  --ink: #203540;
  --muted: #64737a;
  --copper: #a36b45;
  --paper: #f5f3ed;
  --line: #dedfd9;
  --white: #fff;
  --green: #236950;
  --danger: #982e32;
}
.embedded-booking {
  background: #fff;
  padding: 12px;
}
.embedded-booking .booking-panel {
  max-width: 1060px;
  margin: 0 auto;
  box-shadow: none;
  padding: 32px;
}
.embedded-booking h2 {
  font-family: inherit;
  font-size: 29px;
}
.calendar-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(230px, 1fr);
  gap: 32px;
  margin: 24px 0;
}
.month-picker {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  align-self: start;
}
.month-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  text-transform: capitalize;
}
.month-arrow {
  border: 0;
  background: transparent;
  font-size: 26px;
  width: 36px;
  height: 40px;
  color: var(--navy);
}
.month-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  text-align: center;
}
.weekday {
  font-size: 12px;
  color: var(--muted);
  padding: 5px 0;
}
.calendar-day {
  border: 0;
  border-radius: 50%;
  background: #f1f4f5;
  color: var(--navy);
  height: 42px;
  min-width: 0;
  padding: 0;
}
.calendar-day:hover:not(:disabled) {
  background: #dce7e9;
}
.calendar-day.chosen {
  background: var(--navy);
  color: white;
}
.calendar-day:disabled {
  background: transparent;
  color: #bcc2c5;
  cursor: default;
}
.day-slots h3 {
  margin-top: 0;
  text-transform: capitalize;
}
.day-slots .slots {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: 370px;
  overflow-y: auto;
  padding: 2px;
}
.date-fallback {
  display: none !important;
}
@media (max-width: 700px) {
  .calendar-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .embedded-booking {
    padding: 0;
  }
  .embedded-booking .booking-panel {
    padding: 18px 10px;
    border: 0;
  }
  .day-slots .slots {
    max-height: 280px;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.55 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
header {
  max-width: 1280px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 48px;
  border-bottom: 1px solid var(--line);
}
.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  letter-spacing: 2px;
  line-height: 1.5;
  font-weight: 650;
}
.brand-mark {
  font:
    42px Georgia,
    serif;
  letter-spacing: -3px;
  border-right: 1px solid #c2c9c7;
  padding-right: 18px;
}
.brand-mark span {
  color: var(--copper);
  font-size: 10px;
  margin-left: 4px;
}
.quiet {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
}
.layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 62px 48px 80px;
  display: grid;
  grid-template-columns: 0.8fr 1.25fr;
  gap: 70px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--copper);
  font-weight: 700;
}
h1 {
  font:
    52px/1.1 Georgia,
    serif;
  letter-spacing: -1.5px;
  margin: 20px 0 25px;
}
h1 span {
  color: var(--copper);
}
aside > p {
  max-width: 290px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
  margin-bottom: 36px;
}
.assurance {
  display: flex;
  gap: 15px;
  margin: 22px 0;
  align-items: flex-start;
}
.assurance > span {
  font:
    12px Georgia,
    serif;
  color: var(--copper);
  padding-top: 3px;
}
.assurance strong {
  font-size: 13px;
  font-weight: 600;
}
.assurance small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  max-width: 290px;
}
.sidebar-note {
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding-top: 22px;
  font-size: 12px;
  color: var(--muted);
}
.sidebar-note a {
  color: var(--ink);
  display: inline-block;
  margin-top: 4px;
}
.booking-panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px 35px;
  min-width: 0;
  box-shadow: 0 12px 50px #20354004;
}
#progress {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 25px;
  margin-bottom: 28px;
}
.step {
  flex: 1;
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  color: #839092;
}
.step b {
  display: grid;
  place-items: center;
  background: #eff1ed;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 10px;
  flex-shrink: 0;
}
.step.current {
  color: var(--navy);
  font-weight: 650;
}
.step.current b,
.step.done b {
  background: var(--navy);
  color: white;
}
h2 {
  font:
    29px/1.25 Georgia,
    serif;
  margin: 0 0 10px;
}
h3 {
  font-size: 15px;
  font-weight: 650;
  margin: 25px 0 12px;
}
.subtitle {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 25px;
}
.cards {
  display: grid;
  gap: 12px;
}
.card {
  display: block;
  width: 100%;
  padding: 20px;
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
  transition:
    border-color 0.15s,
    background 0.15s;
}
.card:hover,
.card.selected {
  border-color: var(--copper);
  background: #fcfaf7;
}
.card strong {
  display: block;
  font-size: 16px;
}
.card p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 14px;
}
.card small {
  font-size: 12px;
  color: var(--muted);
}
.card .price {
  float: right;
  font-weight: 650;
}
.badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  background: #eef3ee;
  color: var(--green);
  border-radius: 2px;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 15px;
  min-width: 0;
}
.field > span,
label > span {
  font-size: 12px;
  font-weight: 600;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #ccd2d1;
  border-radius: 3px;
  background: white;
  color: var(--ink);
  padding: 11px 12px;
  min-width: 0;
}
textarea {
  min-height: 100px;
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--copper);
}
.radio-group {
  display: flex;
  gap: 10px;
  margin: 18px 0;
}
.radio-group label {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 13px;
  border-radius: 3px;
  font-size: 13px;
}
input[type="radio"],
input[type="checkbox"] {
  width: auto;
  accent-color: var(--navy);
}
.slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-top: 16px;
}
.slot {
  padding: 11px 4px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 3px;
  font-size: 13px;
}
.slot.selected {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.slot small {
  display: block;
  font-size: 9px;
}
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 28px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}
.primary,
.secondary,
.danger {
  display: inline-block;
  border: 0;
  border-radius: 3px;
  padding: 12px 19px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.primary {
  background: var(--navy);
  color: white;
}
.secondary {
  background: #edf0ec;
  color: var(--ink);
}
.danger {
  background: #f8e9e8;
  color: var(--danger);
}
button:disabled {
  opacity: 0.45;
  cursor: wait;
}
.back {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 13px;
  padding: 10px 0;
}
.note {
  color: var(--muted);
  font-size: 11px;
  margin-top: 16px;
}
.summary {
  background: var(--paper);
  padding: 20px;
  margin: 20px 0;
}
.summary dl {
  margin: 0;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  font-size: 13px;
}
.summary dt {
  color: var(--muted);
}
.summary dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  margin: 15px 0;
}
.check input {
  margin-top: 4px;
}
.check span {
  font-size: 12px;
  font-weight: 400;
}
#message,
.message {
  padding: 13px 15px;
  background: #fff3df;
  border: 1px solid #e2cdb0;
  font-size: 13px;
  margin-bottom: 20px;
  border-radius: 3px;
}
.success-mark {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #edf4ef;
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.empty {
  padding: 28px 18px;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 13px;
}
.hidden-field {
  position: absolute;
  left: -10000px;
}
footer {
  border-top: 1px solid var(--line);
  max-width: 1184px;
  margin: auto;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 11px;
}
.admin-layout {
  max-width: 1280px;
  margin: 32px auto;
  padding: 0 48px;
}
.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}
.admin-nav button.active {
  background: var(--navy);
  color: white;
}
.admin-content {
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th,
td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
}
th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
td a {
  font-weight: 600;
}
.table-scroll {
  overflow: auto;
}
pre {
  white-space: pre-wrap;
  word-break: break-word;
}
.hours-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 8px;
  margin: 8px 0;
}
.hours-row button {
  padding: 5px 12px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.meta {
  font-size: 12px;
  color: var(--muted);
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.list-line {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.connection {
  border-left: 3px solid var(--copper);
  padding: 12px 15px;
  background: var(--paper);
  margin-bottom: 20px;
}
dialog {
  border: 1px solid var(--line);
  padding: 28px;
  max-width: 460px;
}
dialog::backdrop {
  background: #142d3a70;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1000px) {
  .layout {
    gap: 35px;
    padding: 40px 30px;
  }
  .booking-panel {
    padding: 25px;
  }
  h1 {
    font-size: 44px;
  }
  header {
    padding: 25px 30px;
  }
  .step span {
    display: none;
  }
  footer {
    margin: 0 30px;
  }
}
@media (max-width: 700px) {
  header {
    padding: 20px;
  }
  .brand-mark {
    font-size: 33px;
  }
  .brand {
    font-size: 9px;
  }
  .quiet {
    font-size: 10px;
    max-width: 110px;
    text-align: right;
  }
  .layout {
    display: block;
    padding: 25px 16px 40px;
  }
  aside h1 {
    font-size: 35px;
    margin: 10px 0 14px;
    line-height: 1.15;
  }
  aside h1 br {
    display: none;
  }
  aside > p {
    max-width: none;
    margin: 0 0 25px;
    font-size: 13px;
  }
  .assurance,
  .sidebar-note {
    display: none;
  }
  .eyebrow {
    font-size: 9px;
  }
  .booking-panel {
    padding: 24px 20px;
  }
  #progress {
    padding-bottom: 18px;
    margin-bottom: 24px;
  }
  .step {
    justify-content: center;
  }
  .step span {
    display: block;
    font-size: 9px;
  }
  .step b {
    width: 20px;
    height: 20px;
  }
  .row,
  .split,
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .row {
    gap: 0;
  }
  .slots {
    grid-template-columns: repeat(3, 1fr);
  }
  h2 {
    font-size: 26px;
  }
  footer {
    margin: 0 20px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .admin-layout {
    padding: 0 16px;
  }
  .admin-content {
    padding: 20px;
  }
  .hours-row {
    grid-template-columns: 1.1fr 1fr 1fr auto;
    gap: 4px;
  }
  .hours-row input,
  .hours-row select {
    padding: 8px 4px;
    font-size: 12px;
  }
  .summary dl {
    grid-template-columns: 85px 1fr;
  }
}

@media (max-width: 700px) {
  .card .price {
    float: none;
    display: block;
    margin-top: 10px;
  }
}
