/* Рабочие формы продолжают палитру и размеры согласованных тематических страниц. */
/* Общие списки сохраняют цвета темы и одинаковое управление в форме и карточке. */
.live-select-trigger,
.live-select-content {
  --select-ink: #382219;
  --select-muted: #7c6856;
  --select-line: #d8c5a9;
  --select-surface: #fffdf8;
  --select-highlight: #f5ead5;
  --select-accent: #a77328;
  --select-shadow: #52391e20;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--select-ink);
}
.live-select-trigger[data-theme="village"],
.live-select-content[data-theme="village"] {
  --select-ink: #103f56;
  --select-muted: #58798b;
  --select-line: #c7dbe5;
  --select-surface: #fff;
  --select-highlight: #e7f3f9;
  --select-accent: #2877a0;
  --select-shadow: #103f5620;
}
.live-form .live-select-trigger,
.v-group-schedule .live-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  margin-top: 8px;
  padding: 12px 15px;
  border: 1px solid var(--select-line);
  border-radius: 13px;
  background: var(--select-surface);
  box-shadow: 0 2px 3px #38221903;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.live-form-grid > label, .v-group-schedule > label { min-width: 0; }
.v-booking-card .v-group-schedule { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.live-select-trigger > span:first-child { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.live-select-trigger[data-placeholder] { color: var(--select-muted); font-weight: 500; }
.live-select-trigger[data-state="open"] { border-color: var(--select-accent); box-shadow: 0 0 0 3px var(--select-highlight); }
.live-select-trigger:focus-visible { outline: 2px solid var(--select-accent); outline-offset: 3px; }
.live-form .live-select-trigger[data-disabled],
.v-group-schedule .live-select-trigger[data-disabled] {
  color: var(--select-muted);
  background: color-mix(in srgb, var(--select-highlight) 46%, var(--select-surface));
  border-color: var(--select-line);
  box-shadow: none;
  opacity: .8;
  cursor: default;
}
.live-select-chevron { display: grid; place-items: center; flex: 0 0 18px; color: var(--select-accent); transition: transform 160ms cubic-bezier(.23, 1, .32, 1); }
.live-select-trigger[data-state="open"] .live-select-chevron { transform: rotate(180deg); }
.live-select-content {
  z-index: 100;
  width: var(--radix-select-trigger-width);
  max-width: calc(100vw - 24px);
  max-height: min(300px, var(--radix-select-content-available-height));
  overflow: hidden;
  padding: 5px;
  border: 1px solid var(--select-line);
  border-radius: 16px;
  background: var(--select-surface);
  box-shadow: 0 14px 36px var(--select-shadow), 0 2px 7px #38221908;
  transform-origin: var(--radix-select-content-transform-origin);
}
.live-select-viewport { padding: 2px; scrollbar-width: thin; overscroll-behavior: contain; }
.live-select-option { position: relative; display: flex; align-items: center; min-height: 44px; padding: 11px 40px 11px 12px; border-radius: 10px; outline: none; font-weight: 500; cursor: pointer; user-select: none; -webkit-user-select: none; }
.live-select-option + .live-select-option { margin-top: 2px; }
.live-select-option[data-highlighted],
.live-select-option[data-state="checked"] { background: var(--select-highlight); }
.live-select-option[data-state="checked"] { font-weight: 800; }
.live-select-option[data-highlighted] { box-shadow: inset 0 0 0 1px var(--select-line); }
.live-select-option[data-disabled] { opacity: .45; cursor: default; }
.live-select-check { position: absolute; right: 12px; display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; color: white; background: var(--select-accent); }
.live-select-scroll { display: grid; place-items: center; height: 24px; color: var(--select-accent); font-size: 18px; }
@media (max-width: 600px) {
  .live-select-trigger, .live-select-content { font-size: 16px; }
  .v-booking-card .v-group-schedule { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .live-form .live-select-trigger, .v-group-schedule .live-select-trigger { min-height: 50px; padding: 12px; }
  .live-select-option { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .live-select-trigger, .live-select-chevron { transition: none; }
}
.live-booking-dialog{overscroll-behavior:contain}.live-booking-dialog::backdrop{background:#35231acc;backdrop-filter:blur(5px)}.live-booking-dialog>h2{padding-right:25px}.live-form{margin-top:25px}.live-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.live-form label{display:block;font-size:13px;font-weight:700;line-height:1.5}.live-form label>span[aria-hidden]{color:#c52624}.live-form input:not([type=checkbox]),.live-form select,.live-form textarea{display:block;width:100%;max-width:100%;min-width:0;min-height:48px;margin-top:7px;border:1px solid #d8c5a9;border-radius:12px;padding:12px 14px;background:#fffdf8;color:#382219;font:14px/1.4 Manrope,sans-serif;box-sizing:border-box}.live-form select:disabled{opacity:.6;background:#f0eee7}.live-form textarea{resize:vertical}.live-form .live-full{grid-column:1/-1}.live-form input:focus-visible,.live-form textarea:focus-visible,.live-form select:focus-visible{outline:3px solid #c48b2f;outline-offset:3px}.live-form .live-consent{display:flex;gap:13px;align-items:flex-start;font-size:11px;font-weight:400;line-height:1.7;margin:23px 0}.live-consent input{width:19px;height:19px;flex:0 0 19px;accent-color:#c52624;margin:2px 0 0}.live-consent a{text-decoration:underline;text-underline-offset:3px}.live-small{font-size:11px;line-height:1.8;color:#846f5c;margin-top:18px;max-width:65ch}.live-optional{font-size:10px;font-weight:400;color:#846f5c}.live-form>.winter-btn,.live-form>.v-btn{width:100%;margin-top:8px}.live-form button:disabled,.v-booking-card>button:disabled{opacity:.55;cursor:default;transform:none}.live-form-error{color:#a82025;font-size:12px;line-height:1.6;margin:16px 0}.live-form-error p{margin:0}.live-status{font-size:12px;line-height:1.8;background:#f4ecd9;padding:14px 16px;border-radius:12px;margin-top:20px}.live-status a{text-decoration:underline;text-underline-offset:3px}.live-form-heading{font-family:Nunito,Manrope,sans-serif;font-size:23px!important;margin:28px 0 20px;letter-spacing:-.02em}.live-child-fields{padding:20px;border:1px solid #e3d9c8;border-radius:15px;margin:24px 0 0;min-width:0}.live-child-fields legend{font-family:Nunito,Manrope,sans-serif;font-weight:900;font-size:20px;padding:0 8px}.live-order-summary{margin-block:20px}.live-booking-success{padding-block:20px}.live-booking-success p{font-size:13px;line-height:1.8;margin-top:15px}.live-success-mark{display:grid;place-items:center;width:50px;height:50px;background:#e3eee6;border-radius:50%;font-size:30px;color:#244c3b;margin-bottom:20px}.session-time small{display:block;font-size:9px;line-height:1.5}.v-date-buttons:empty{display:none}.v-time-buttons .session-time:disabled{opacity:.45;cursor:default}.v-booking-card .live-form-error .v-text-link{font-size:11px;margin-top:8px}.group-dialog .live-form label{color:#382219}.group-dialog .live-form .winter-btn{font-size:13px}
@media(max-width:600px){.live-form-grid{grid-template-columns:1fr;gap:17px}.live-form{margin-top:22px}.live-form label{font-size:12px}.live-form input:not([type=checkbox]),.live-form select,.live-form textarea{font-size:16px;min-height:46px}.live-form .live-full{grid-column:auto}.live-form .live-consent{font-size:10px}.live-small{font-size:10px}.live-child-fields{padding:17px 15px}.live-child-fields legend{font-size:19px}.live-booking-dialog .live-booking-success h2{font-size:30px}.live-booking-success p{font-size:12px}.live-form>.v-btn,.live-form>.winter-btn{font-size:12px}}
/* Поля деревни сохраняют голубую палитру исходного диалога. */
.v-dialog .live-form-grid{gap:20px 16px}.v-dialog .live-form label{font-size:12px;font-weight:800;color:var(--ink)}.v-dialog .live-form input:not([type=checkbox]),.v-dialog .live-form select,.v-dialog .live-form textarea{border-color:#c7dbe5;background:white;margin-top:8px;color:var(--ink);line-height:1.5}.v-dialog .live-form input::placeholder,.v-dialog .live-form textarea::placeholder{color:#8ca0ab;font-weight:500}.v-dialog .live-form .live-consent{font-weight:400;color:#5c7889;line-height:1.6;margin-block:24px}.v-dialog .live-consent input{accent-color:var(--red)}.v-dialog .live-small,.v-dialog .live-optional{color:var(--muted)}.v-dialog .live-status{background:#e7f3f9;color:var(--ink)}.v-dialog .live-child-fields{border-color:#c7dbe5}.v-dialog .live-form input:focus-visible,.v-dialog .live-form select:focus-visible,.v-dialog .live-form textarea:focus-visible{outline-color:#2377aa}
@media(max-width:600px){.v-dialog .live-form-grid{gap:18px}.v-dialog .live-form input:not([type=checkbox]),.v-dialog .live-form select,.v-dialog .live-form textarea{font-size:16px;padding:12px;min-height:49px}.v-dialog .live-form .live-consent{font-size:10px;gap:10px}}

.v-dialog .live-order-summary-with-bus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0;
}

.live-bus-total {
  display: grid;
  justify-items: end;
  flex-shrink: 0;
}

.live-bus-total span {
  color: var(--muted);
  font-size: 11px;
}

.live-bus-total output {
  font: 1000 clamp(22px, 4vw, 28px)/1.2 var(--display);
  white-space: nowrap;
}

.v-dialog .live-bus-option {
  border-bottom: 1px dashed var(--line);
}

.v-dialog .live-bus-option label {
  display: flex;
  gap: 3px;
}

.v-dialog .live-bus-option label span {
  font-size: 12px;
  font-weight: 500;
}

.v-dialog .live-bus-option .v-counter button {
  width: 44px;
  height: 44px;
}

.v-dialog .live-form .live-bus-option .v-counter input {
  width: 32px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 16px;
}

@media (max-width: 370px) {
  .v-dialog .live-bus-option {
    flex-wrap: wrap;
  }
}
