/* Time cards stay together; shared details are entered once. */
body[data-page="booking"] .booking-batch-section { width: min(880px, calc(100% - 40px)); padding-top: 38px; }
.booking-batch-form { min-width: 0; }
.batch-editable { min-width: 0; margin: 0; padding: 0; border: 0; }
.batch-section-heading { margin-bottom: 24px; }
.batch-section-heading h2 { margin: 0 0 12px; font-size: clamp(25px, 3.1vw, 34px); line-height: 1.35; }
.batch-section-heading p { margin-bottom: 10px; line-height: 1.8; }
.batch-section-heading .eyebrow { margin-bottom: 8px; }
.batch-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.batch-slot-list { display: grid; gap: 18px; padding: 0; margin: 0 0 18px; list-style: none; }
.batch-slot { min-width: 0; border: 1px solid var(--color-border, #333); background: var(--color-surface, #151515); scroll-margin-top: 92px; }
.batch-slot-header { display: flex; gap: 12px; align-items: flex-start; padding: 22px 24px; }
.batch-slot-toggle { display: grid; grid-template-columns: 1fr auto; gap: 7px 16px; flex: 1; min-width: 0; padding: 0; border: 0; color: inherit; background: none; text-align: left; cursor: pointer; font: inherit; }
.batch-slot-toggle > span:first-child { grid-column: 1 / -1; font-size: 12px; color: var(--yellow); }
.batch-slot-toggle strong { grid-column: 1 / -1; font-size: 17px; font-weight: 600; line-height: 1.7; overflow-wrap: anywhere; }
.batch-slot-toggle small { font-size: 13px; color: var(--muted, #bbb); }
.batch-edit-label { font-size: 12px; color: var(--muted, #bbb); text-align: right; align-self: center; }
.batch-remove { min-height: 44px; padding: 8px; border: 0; background: none; color: var(--muted, #bbb); cursor: pointer; font: inherit; font-size: 13px; }
.batch-slot-body { border-top: 1px solid var(--color-border, #333); padding: 26px 24px 22px; }
.batch-slot-body[hidden], .booking-batch-form [hidden] { display: none !important; }
.batch-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; min-width: 0; }
.batch-fields > label, .batch-resume-file { display: grid; gap: 10px; min-width: 0; color: var(--white, #fff); font-size: 15px; line-height: 1.6; }
.batch-fields input:not([type="checkbox"]), .batch-fields select, .batch-fields textarea, .batch-resume-file input { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid var(--color-border, #414141); border-radius: 3px; background: var(--color-bg-deep, #0b0b0b); color: var(--white, #fff); font: inherit; font-size: 16px; line-height: 1.5; color-scheme: dark; }
.batch-fields input[type="date"] { appearance: auto; -webkit-appearance: auto; }
.batch-fields input[type="file"], .batch-resume-file input { padding: 10px; font-size: 14px; }
.batch-fields textarea { resize: vertical; }
.batch-fields :is(input, select, textarea):focus-visible, .booking-batch-form button:focus-visible, .batch-resume-file input:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.batch-fields [aria-invalid="true"] { border-color: var(--yellow); }
.batch-fields label > small { font-size: 12px; color: var(--muted, #bbb); }
.batch-full { grid-column: 1 / -1; }
.batch-date-wrap { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; }
.batch-date-wrap small { white-space: nowrap; color: var(--yellow); font-size: 13px; }
.batch-help { margin: 12px 0 0; color: var(--muted, #bbb); font-size: 13px; line-height: 1.8; }
.batch-help a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.batch-fields .batch-help { margin: -7px 0 0; }
.batch-fields .batch-option { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid var(--color-border, #333); }
.batch-option input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--yellow); }
.batch-option span { display: grid; gap: 4px; }
.batch-option small { font-size: 12px; color: var(--muted, #bbb); }
.batch-slot-estimate { display: grid; gap: 8px; padding: 20px; background: rgba(255,255,255,.035); border-left: 2px solid var(--yellow); }
.batch-slot-estimate strong { display: flex; align-items: baseline; gap: 10px; color: var(--yellow); font-size: 25px; line-height: 1.35; }
.batch-slot-estimate strong small { color: var(--muted, #bbb); font-size: 12px; font-weight: 400; }
.batch-slot-estimate > span { color: var(--muted, #bbb); font-size: 13px; line-height: 1.8; }
.batch-slot-message { margin: 20px 0 0; font-size: 13px; color: var(--muted, #bbb); line-height: 1.8; }
.batch-slot-message.is-error, .batch-status.is-error { color: var(--yellow); }
.batch-slot-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; }
.batch-slot-actions .text-link { border: 0; background: none; font: inherit; font-size: 13px; cursor: pointer; padding: 10px 0; }
.batch-slot-actions .button { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.batch-add { width: 100%; min-height: 52px; border-style: dashed; }
.batch-common { padding-top: 48px; margin-top: 38px; border-top: 1px solid var(--color-border, #333); }
.batch-total { padding: 26px 24px; margin-top: 36px; border: 1px solid var(--color-border, #333); border-left: 3px solid var(--yellow); }
.batch-total > div { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.batch-total > div > span { font-size: 15px; }
.batch-total strong { font-size: 30px; color: var(--yellow); white-space: nowrap; }
.batch-total strong small { margin-left: 8px; font-size: 12px; color: var(--muted, #bbb); font-weight: 400; }
.batch-total p { font-size: 12px; color: var(--muted, #bbb); margin: 12px 0 0; }
.batch-status { margin: 22px 0; padding: 16px 18px; background: rgba(255,255,255,.035); font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.batch-status:focus { outline: 1px solid var(--yellow); outline-offset: 4px; }
.batch-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.batch-actions .primary { width: 100%; }
.batch-actions .button { min-height: 52px; }
.batch-results { margin: 28px 0; }
.batch-results h3 { font-size: 21px; }
.batch-result { padding: 18px 20px; margin-bottom: 12px; border: 1px solid var(--color-border, #333); }
.batch-result.is-created { border-left: 3px solid var(--yellow); }
.batch-result strong { display: block; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.batch-result p { color: var(--muted, #bbb); font-size: 13px; line-height: 1.8; margin: 8px 0 0; }
.batch-resume-file { padding: 20px; margin: 20px 0; border: 1px solid var(--yellow); }
.batch-resume-file small { color: var(--muted, #bbb); overflow-wrap: anywhere; }
.booking-batch-form :disabled { opacity: .6; cursor: not-allowed; }
.batch-editable:disabled { opacity: .82; }
.batch-editable:disabled .batch-slot-toggle { opacity: 1; }
.booking-batch-form .booking-arrival-bottom { margin-top: 42px; }
.batch-fields .booking-week-toolbar h3 { font-size: 17px; line-height: 1.6; }
@media (max-width: 760px) {
  body[data-page="booking"] .booking-batch-section { width: calc(100% - 28px); padding-top: 24px; }
  .batch-section-heading { margin-bottom: 20px; }
  .batch-section-heading p:not(.eyebrow) { font-size: 14px; }
  .batch-slot-header { padding: 18px 16px; gap: 5px; }
  .batch-slot-toggle strong { font-size: 15px; }
  .batch-slot-body { padding: 22px 16px 20px; }
  .batch-fields { gap: 20px 14px; }
  .batch-fields > label { font-size: 14px; }
  .batch-fields input:not([type="checkbox"]), .batch-fields select, .batch-fields textarea { padding-inline: 10px; }
  .batch-fields label:has([name="email"]), .batch-fields label:has([name="phone"]), .batch-fields label:has([name="artist"]), .batch-fields label:has([name="contactName"]) { grid-column: 1 / -1; }
  .batch-common { padding-top: 30px; margin-top: 30px; }
  .batch-total { padding: 22px 18px; }
  .batch-total > div { align-items: flex-start; flex-direction: column; gap: 6px; }
  .batch-total strong { font-size: 28px; }
  .batch-slot-estimate { padding: 16px; }
  .batch-slot-actions { gap: 10px; }
  .batch-actions .button { width: 100%; }
}
@media (max-width: 360px) {
  .batch-fields { grid-template-columns: 1fr; }
  .batch-full { grid-column: 1; }
  .batch-edit-label { display: none; }
}

/* Inline date picker: every booking day is directly clickable. */
.booking-calendar { min-width: 0; padding: 16px; border: 1px solid var(--color-border, #333); border-radius: 3px; background: var(--color-bg-deep, #0b0b0b); }
.booking-calendar-toolbar { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 12px; margin-bottom: 16px; }
.booking-calendar-nav { width: 44px; height: 44px; padding: 0; border: 1px solid var(--color-border, #333); border-radius: 3px; color: var(--white, #fff); background: transparent; font: inherit; font-size: 29px; line-height: 1; cursor: pointer; }
.booking-calendar-month-label { display: block; min-width: 0; margin: 0; }
.booking-calendar .booking-calendar-month { width: 100%; min-width: 0; min-height: 44px; margin: 0; padding: 8px 12px; border: 1px solid var(--color-border, #333); border-radius: 3px; background: var(--color-bg-deep, #0b0b0b); color: var(--white, #fff); font: inherit; font-size: 16px; font-weight: 600; line-height: 1.5; color-scheme: dark; cursor: pointer; }
.booking-calendar-weekdays, .booking-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.booking-calendar-weekdays { margin-bottom: 6px; color: var(--muted, #bbb); font-size: 12px; text-align: center; }
.booking-calendar-weekdays span { padding: 5px 0; }
.booking-calendar-day, .booking-calendar-blank { min-width: 0; min-height: 44px; }
.booking-calendar-day { display: flex; align-items: center; justify-content: center; padding: 6px 0; border: 1px solid transparent; border-radius: 3px; background: rgba(255,255,255,.035); color: var(--white, #fff); font: inherit; font-size: 15px; font-variant-numeric: tabular-nums; line-height: 1.4; cursor: pointer; }
.booking-calendar-day:not(:disabled):hover { border-color: var(--yellow); background: rgba(255,255,255,.075); }
.booking-calendar .booking-calendar-day.is-selected { background: var(--yellow); color: #111; font-weight: 700; }
.booking-calendar-day:disabled { background: transparent; color: var(--muted, #bbb); opacity: .28; cursor: not-allowed; }
.booking-calendar-nav:disabled { opacity: .3; cursor: not-allowed; }
.booking-calendar :is(button, select):focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.booking-calendar-caption { margin: 14px 0 0; color: var(--muted, #bbb); font-size: 13px; line-height: 1.75; }
.booking-calendar-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 480px) {
  .booking-calendar { padding: 10px 8px; }
  .booking-calendar-toolbar { grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 8px; margin-bottom: 12px; }
  .booking-calendar-nav { width: 40px; height: 44px; }
  .booking-calendar .booking-calendar-month { padding-inline: 7px; font-size: 15px; }
  .booking-calendar-grid, .booking-calendar-weekdays { gap: 2px; }
  .booking-calendar-day, .booking-calendar-blank { min-height: 44px; }
  .booking-calendar-day { font-size: 14px; }
}
.batch-date-field { display: grid; gap: 10px; min-width: 0; }
[data-slot-calendar][aria-invalid="true"] .booking-calendar { border-color: var(--yellow); }
.batch-date-label { color: var(--white, #fff); font-size: 15px; line-height: 1.6; }
@media (max-width: 760px) {
  .batch-date-label { font-size: 14px; }
}
@media (max-width: 380px) {
  .batch-date-field .booking-calendar { margin-inline: -15px; padding-inline: 0; border-left: 0; border-right: 0; border-radius: 0; }
  .booking-calendar-grid, .booking-calendar-weekdays { gap: 0; }
  .booking-calendar-toolbar, .booking-calendar-caption { margin-inline: 12px; }
}
