dialog {
  padding: 0;
  color: var(--light);
  background: #131612;
  border: 1px solid #41473c;
  border-radius: 12px;
  box-shadow: 0 15px 75px #0009;
  max-height: calc(100dvh - 38px);
  width: min(650px, calc(100% - 28px));
  max-width: 100%;
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: #050705cf;
}
dialog[open] {
  animation: enter 0.19s ease-out;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.dialog-top,
.light-top,
.light-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.dialog-top {
  border-bottom: 1px solid var(--line);
  padding: 12px 24px;
}
.dialog-tools {
  gap: 8px;
}
.book-inner {
  padding: 22px clamp(20px, 4vw, 34px) 20px;
}
.book-progress-row {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
}
.book-progress-row span {
  height: 3px;
  background: #343b30;
  border-radius: 4px;
  flex: 1;
}
.book-progress-row .done {
  background: var(--green);
}
.step-info {
  color: var(--muted);
  font-size: 0.82rem;
  display: block;
  margin-bottom: 16px;
}
.book-inner h2 {
  font: 400 clamp(1.62rem, 3.6vw, 2.3rem) / 1.12 var(--display);
  letter-spacing: -0.062em;
  margin: 0 0 8px;
  outline: 0;
}
.book-sub {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.92rem;
}
.book-inner .service-grid {
  grid-template-columns: 1fr;
  gap: 8px;
}
.book-inner .service-card {
  min-height: 75px;
  padding: 13px 16px;
}
.book-inner .service-icon {
  width: 42px;
  height: 42px;
}
.book-inner .service-name {
  font-size: 1.07rem;
}
.book-inner .service-price b {
  font-size: 1.37rem;
}
.book-inner .service-price small {
  display: flex;
  gap: 4px;
  align-items: center;
}
.book-inner .service-price small .icon {
  height: 13px;
  width: 13px;
}
.book-inner .service-card[aria-pressed='true'] {
  box-shadow: inset 3px 0 var(--green);
}
[dir='rtl'] .book-inner .service-card[aria-pressed='true'] {
  box-shadow: inset -3px 0 var(--green);
}
.book-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  align-items: center;
}
.book-actions .primary {
  margin-inline-start: auto;
  min-width: 130px;
}
.book-actions .outline {
  font-size: 0.88rem;
}
.book-notice {
  border-top: 1px solid var(--line);
  margin-top: 17px;
  padding-top: 13px;
  color: var(--quiet);
  font-size: 0.79rem;
  line-height: 1.5;
}
.book-notice .icon {
  display: inline-block;
  vertical-align: middle;
  width: 15px;
  height: 15px;
  margin-inline-end: 5px;
}
.textbutton {
  color: var(--green);
  text-decoration-color: #628048;
}
.book-error {
  color: var(--error);
  padding-block: 6px;
  font-size: 0.9rem;
}
.book-error:empty {
  display: none;
}
.book-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #dce4d5;
  font-size: 0.91rem;
  flex-wrap: wrap;
}
.book-meta .icon {
  color: var(--green);
  width: 16px;
  height: 16px;
}
.calendar-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 21px;
  align-items: start;
}
.month-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  margin-bottom: 6px;
}
.month-head strong,
.times h3,
.summary h3,
.fields-title {
  font-size: 0.94rem;
  letter-spacing: -0.025em;
}
.month-head strong:first-letter,
.times h3:first-letter {
  text-transform: uppercase;
}
.month-head .iconbutton {
  min-height: 34px;
  min-width: 32px;
  width: 32px;
}
.month-head .icon {
  width: 15px;
  height: 15px;
}
.iconbutton:disabled {
  opacity: 0.35;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
  text-align: center;
}
.weekday {
  font-size: 0.77rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 29px;
}
.cal-day,
.time-slot {
  border-radius: 4px;
  font-variant-numeric: tabular-nums;
}
.cal-day {
  height: 34px;
  font-size: 0.85rem;
  position: relative;
  border: 1px solid transparent;
}
.cal-day:not(:disabled):hover,
.time-slot:not(:disabled):hover {
  background: #2a3624;
}
.cal-day:disabled,
.time-slot:disabled {
  color: #90958c;
}
.cal-day.is-past {
  color: #80877d;
}
.cal-day.is-full,
.time-slot.is-full {
  text-decoration: line-through;
}
.cal-day.is-today {
  border-color: #53604b;
}
.cal-day.is-today:after {
  content: '';
  position: absolute;
  height: 3px;
  width: 3px;
  border-radius: 50%;
  bottom: 2px;
  background: currentColor;
  inset-inline-start: calc(50% - 1.5px);
}
.cal-day[aria-pressed='true'],
.time-slot[aria-pressed='true'],
.cal-day[aria-pressed='true']:hover,
.time-slot[aria-pressed='true']:hover {
  color: #111a0c;
  font-weight: 750;
  background: var(--green);
  border-color: var(--green);
}
.times h3 {
  margin: 9px 0 7px;
}
.slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}
.time-slot {
  display: grid;
  place-content: center;
  text-align: center;
  min-height: 36px;
  padding: 3px 2px;
  border: 1px solid #3d4537;
  font-size: 0.82rem;
  line-height: 1.15;
}
.time-slot small {
  display: block;
  font-size: 0.62rem;
}
.time-slot.is-past {
  border-style: dashed;
}
.calendar-help {
  font-size: 0.75rem;
  color: var(--quiet);
  margin: 9px 0 0;
}
.demo-hours {
  margin: 10px 0 15px;
  padding: 8px 11px;
  color: #cbd7c2;
  background: #20271c;
  border-radius: 4px;
  font-size: 0.8rem;
}
.form-stack {
  display: grid;
  gap: 13px;
}
.form-stack label {
  display: grid;
  gap: 5px;
  font-weight: 600;
  font-size: 0.9rem;
}
.text-input {
  appearance: none;
  border: 1px solid #485041;
  background: #10120f;
  border-radius: 5px;
  color: var(--light);
  padding: 12px 14px;
  width: 100%;
  font-size: 1rem;
}
.text-input[aria-invalid='true'] {
  border-color: var(--error);
}
.field-error {
  color: var(--error);
  font-size: 0.82rem;
  font-weight: 450;
}
.fill-data {
  justify-self: start;
  margin-bottom: 0;
}
.summary {
  background: #1c201a;
  border: 1px solid #363f30;
  border-radius: 6px;
  padding: 6px 16px;
}
.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #353b2f;
  font-size: 0.92rem;
}
.summary-row:last-child {
  border: 0;
}
.summary-row span:first-child {
  color: var(--muted);
}
.summary-row strong {
  text-align: end;
  overflow-wrap: anywhere;
}
.edit-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0 17px;
}
.edit-options .textbutton {
  font-size: 0.8rem;
}
.edit-options .icon {
  width: 13px;
  height: 13px;
  margin-inline-end: 5px;
}
.confirm-mark {
  width: 51px;
  height: 51px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #142309;
  margin: 0 0 16px;
  animation: enter 0.22s ease-out;
}
.confirm-mark .icon {
  width: 25px;
  height: 25px;
}
.reset-box {
  padding: 14px;
  margin-top: 14px;
  background: #24291f;
  border: 1px solid #4c5942;
  border-radius: 5px;
}
.reset-box .book-actions {
  margin-top: 10px;
}
.reset-link {
  font-size: 0.8rem;
  color: var(--muted);
  min-height: 38px;
}
.reset-link:hover {
  color: var(--green);
}
@media (max-width: 530px) {
  #booking {
    margin: 0;
    width: 100%;
    height: 100dvh;
    max-width: 100%;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }
  .dialog-top {
    padding: 9px 16px;
  }
  .book-inner {
    padding: 18px 18px calc(26px + env(safe-area-inset-bottom));
  }
  .calendar-layout {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .cal-day {
    height: 37px;
  }
  .time-slot {
    min-height: 43px;
  }
  .slots {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .month-head .iconbutton {
    min-width: 40px;
    min-height: 38px;
  }
  .times h3 {
    margin: 0 0 7px;
  }
  .book-actions {
    margin-top: 16px;
  }
  .book-actions .primary {
    min-width: 115px;
  }
  .book-inner .service-card {
    gap: 11px;
  }
  .dialog-tools {
    gap: 3px;
  }
  .step-info {
    margin-bottom: 13px;
  }
  .light-shell {
    max-height: calc(100dvh - 35px);
  }
  .lightstage {
    height: 60dvh;
  }
  .review-dialog-content {
    padding: 12px 15px;
  }
  .gallery-tile {
    height: 205px;
  }
  .gallery-tile:nth-child(3) {
    height: 135px;
  }
}
.book-inner h2:focus-visible {
  outline: 0;
}
.book-success {
  color: var(--green);
}
.quick-wrap {
  display: none;
}
@media (max-width: 530px) {
  .quick-wrap {
    display: block;
    margin-bottom: 13px;
  }
  .month-panel[data-expanded='false'] {
    display: none;
  }
  .quick-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 7px;
  }
  .quick-top strong {
    font-size: 0.91rem;
  }
  .quick-top strong::first-letter {
    text-transform: uppercase;
  }
  .calendar-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 39px;
    font-size: 0.79rem;
    font-weight: 640;
    color: var(--green);
  }
  .calendar-toggle .icon {
    width: 15px;
    height: 15px;
  }
  .quick-days {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
  }
  .quick-day {
    display: grid;
    place-content: center;
    justify-items: center;
    min-height: 56px;
    border: 1px solid #3e4639;
    border-radius: 5px;
    line-height: 1.16;
  }
  .quick-day span {
    font-size: 0.74rem;
    color: var(--muted);
  }
  .quick-day strong {
    font-size: 1.12rem;
    margin-top: 4px;
    line-height: 1.1;
  }
  .quick-day[aria-pressed='true'] {
    background: var(--green);
    border-color: var(--green);
    color: #10180b;
  }
  .quick-day[aria-pressed='true'] span {
    color: #24351c;
  }
  .quick-day:disabled {
    opacity: 0.55;
    text-decoration: line-through;
  }
  .quick-wrap:has(+ .calendar-layout .month-panel[data-expanded='true']) {
    margin-bottom: 3px;
  }
  .month-panel[data-expanded='true'] {
    padding-bottom: 8px;
  }
}
