/* Heismic-only controller: no selectors apply to the New Demo booking card. */
#root [data-heismic-details-form] { container-type: inline-size; color: #0b1633; text-align: left; }
#root [data-heismic-details-form] fieldset { border: 0; min-width: 0; margin: 0; padding: 0; }
#root [data-heismic-details-form] .hd-steps { display: flex; gap: 24px; list-style: none; margin: 0 0 32px; padding: 0; }
#root [data-heismic-details-form] .hd-steps li { display: flex; align-items: center; gap: 9px; color: #64748b; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
#root [data-heismic-details-form] .hd-steps li[aria-current] { color: #0e9a91; }
#root [data-heismic-details-form] .hd-steps span { display: grid; place-items: center; border: 1px solid #28ccc1; border-radius: 50%; width: 26px; height: 26px; color: #0e9a91; background: #28ccc11a; }
#root [data-heismic-details-form] .hd-title { color: #0b1633; font-size: 26px; font-weight: 600; line-height: 1.2; margin: 0 0 12px; }
#root [data-heismic-details-form] .hd-description { color: #64748b; font-size: 14px; line-height: 1.6; margin: 0 0 26px; }
#root [data-heismic-details-form] .hd-title + .hd-fields { margin-top: 26px; }
#root [data-heismic-details-form] .hd-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 16px; }
#root [data-heismic-details-form] label { display: block; min-width: 0; }
#root [data-heismic-details-form] label > span { display: block; font-size: 14px; font-weight: 600; color: #64748b; margin-bottom: 7px; }
#root [data-heismic-details-form] input,
#root [data-heismic-details-form] select { box-sizing: border-box; width: 100%; min-width: 0; padding: 13px 14px; border: 1px solid #0b163326; border-radius: 12px; background: white; color: #0b1633; font-size: 14px; line-height: 1.5; transition: border-color 0.15s ease; }
#root [data-heismic-details-form] input:focus,
#root [data-heismic-details-form] select:focus { outline: 2px solid #28ccc1; outline-offset: 2px; }
#root [data-heismic-details-form] .hd-zone { margin-bottom: 22px; }
#root [data-heismic-details-form] .hd-schedule { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 22px; }
#root [data-heismic-details-form] .hd-month { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 14px; }
#root [data-heismic-details-form] .hd-month button { width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: #0b1633; font-size: 25px; }
#root [data-heismic-details-form] .hd-days { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 4px; text-align: center; }
#root [data-heismic-details-form] .hd-days > span { font-size: 10px; padding-bottom: 6px; color: #64748b; }
#root [data-heismic-details-form] .hd-days button { width: 100%; max-width: 36px; height: 34px; margin: auto; padding: 0; border-radius: 50%; border: 1px solid #28ccc180; background: #28ccc114; color: #0b1633; font-size: 12px; }
#root [data-heismic-details-form] .hd-times h4 { font-size: 13px; font-weight: 600; margin: 6px 0 15px; }
#root [data-heismic-details-form] .hd-times p { color: #64748b; font-size: 13px; line-height: 1.5; }
#root [data-heismic-details-form] .hd-slots { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; max-height: 240px; overflow-y: auto; }
/* Keep the time list compact and separate its scrollbar from the slot buttons. */
#root [data-heismic-details-form] .hd-slots { padding-right: 6px; scrollbar-width: thin; scrollbar-color: #28ccc1 transparent; }
@supports selector(::-webkit-scrollbar) {
    /* Standard scrollbar properties otherwise override the custom 6px track. */
    #root [data-heismic-details-form] .hd-slots { scrollbar-width: auto; scrollbar-color: auto; }
    #root [data-heismic-details-form] .hd-slots::-webkit-scrollbar { width: 6px; }
    #root [data-heismic-details-form] .hd-slots::-webkit-scrollbar-track { background: transparent; }
    #root [data-heismic-details-form] .hd-slots::-webkit-scrollbar-thumb { background: #28ccc1; border-radius: 999px; }
    #root [data-heismic-details-form] .hd-slots::-webkit-scrollbar-thumb:hover { background: #0e9a91; }
    #root [data-heismic-details-form] .hd-slots::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
}
@media (forced-colors: active) {
    #root [data-heismic-details-form] .hd-slots::-webkit-scrollbar-thumb { background: CanvasText; }
}
#root [data-heismic-details-form] .hd-slots button { border: 1px solid #0b163326; border-radius: 8px; background: #fff; color: #0b1633; padding: 10px 3px; font-size: 12px; font-weight: 600; }
#root [data-heismic-details-form] button[aria-pressed="true"] { background: #000823; color: white; border-color: #000823; }
#root [data-heismic-details-form] .hd-slots button { text-align: center; }
#root [data-heismic-details-form] button:disabled { opacity: .35; cursor: not-allowed; }
#root [data-heismic-details-form] .hd-days button:disabled { border-color: transparent; background: transparent; }
#root [data-heismic-details-form] button:not(:disabled) { cursor: pointer; }
#root [data-heismic-details-form] button:focus-visible { outline: 2px solid #0e9a91; outline-offset: 2px; }
#root [data-heismic-details-form] .hd-summary { padding: 12px 14px; background: #28ccc126; border-radius: 12px; color: #0b1633; font-size: 13px; font-weight: 600; margin-top: 22px; }
#root [data-heismic-details-form] .hd-actions { display: flex; align-items: center; gap: 12px; border-top: 1px solid #0b16331a; padding-top: 24px; margin-top: 30px; }
#root [data-heismic-details-form] .hd-next { display: flex; flex: 1; align-items: center; justify-content: center; gap: 15px; border: 0; border-radius: 40px 0 40px 40px; background: #b50525; color: white; padding: 17px 20px; font-size: 15px; font-weight: 700; }
#root [data-heismic-details-form] .hd-next:hover:not(:disabled) { background: #d40a2f; }
#root [data-heismic-details-form] .hd-back { padding: 12px 8px; color: #64748b; background: transparent; border: 0; font-size: 13px; font-weight: 600; }
#root [data-heismic-details-form] .hd-footnote { margin-top: 16px; text-align: center; font-size: 12px; line-height: 1.5; color: #64748b; }
#root [data-heismic-details-form] .hd-error { color: #b50525; font-size: 13px; line-height: 1.5; margin-top: 16px; }
/* Focus keeps its usual look, so a field being corrected does not carry two colours. */
#root [data-heismic-details-form] input[aria-invalid="true"]:not(:focus) { border-color: #b50525; }
#root [data-heismic-details-form] .hd-field-error { margin: 7px 0 0; color: #b50525; font-size: 13px; line-height: 1.5; }
#root [data-heismic-details-form] .hd-notice { font-size: 13px; color: #64748b; margin-bottom: 15px; }
#root [data-heismic-details-form] .hd-link { color: #0e9a91; font-size: 13px; text-decoration: underline; background: transparent; border: 0; margin: 10px 0 18px; }
#root [data-heismic-details-form] .hd-success { text-align: center; padding: 42px 0; }
#root [data-heismic-details-form] .hd-success p { font-size: 14px; line-height: 1.6; margin-top: 16px; }
#root [data-heismic-details-form] .hd-check { display: grid; place-items: center; margin: 0 auto 24px; width: 64px; height: 64px; border-radius: 50%; background: #28ccc11a; color: #0e9a91; font-size: 32px; }
@container (max-width: 460px) {
    #root [data-heismic-details-form] .hd-schedule { grid-template-columns: minmax(0,1fr); }
    #root [data-heismic-details-form] .hd-slots { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@container (max-width: 320px) {
    #root [data-heismic-details-form] .hd-fields { grid-template-columns: minmax(0,1fr); }
    #root [data-heismic-details-form] .hd-steps { gap: 16px; }
}
