.tc-dialog { width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 36px; border: 0; border-radius: 24px; color: #1c162a; background: #fbfbfb; box-shadow: 0 24px 100px #1c162a40; font-family: 'Noto Sans', sans-serif; overflow: auto; }
.tc-dialog::backdrop { background: #1c162a80; backdrop-filter: blur(5px); }
.tc-dialog *, .tc-dialog *::before, .tc-dialog *::after { box-sizing: border-box; }
.tc-dialog [hidden] { display: none !important; }
.tc-dialog button, .tc-dialog input, .tc-dialog textarea { font: inherit; }
.tc-dialog button { cursor: pointer; }
.tc-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #eeeaf6; color: #52415f; font-size: 25px !important; line-height: 1; }
.tc-brand { display: block; width: 120px; height: 36px; object-fit: contain; object-position: left center; margin: 0 0 12px; }
.tc-header h2, .tc-success h2 { margin: 0 0 12px; font-family: Fredoka, sans-serif; font-size: clamp(28px, 5vw, 36px); font-weight: 500; line-height: 1.2; }
.tc-header > p:last-child, .tc-success p { margin: 0; color: #665f73; line-height: 1.6; }
.tc-progress { margin: 0; color: #863de2; font-size: 13px; font-weight: 600; }
.tc-dialog fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.tc-dialog legend, .tc-step h3 { margin: 0 0 16px; padding: 0; font-size: 18px; font-weight: 600; }
.tc-options { display: grid; gap: 10px; }
.tc-option { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border: 1px solid #e3deea; border-radius: 12px; background: white; cursor: pointer; line-height: 1.4; }
.tc-option:hover { border-color: #b766fc; }
.tc-option:has(input:checked) { background: #f2eafa; border-color: #863de2; }
.tc-option input { flex-shrink: 0; width: 18px; height: 18px; accent-color: #863de2; }
.tc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tc-field { display: grid; gap: 7px; font-size: 13px; font-weight: 600; }
.tc-full { grid-column: 1 / -1; }
.tc-field input, .tc-field textarea { width: 100%; min-width: 0; border: 1px solid #ddd6e8; border-radius: 9px; padding: 11px 12px; background: white; color: #1c162a; font-size: 16px; font-weight: 400; }
.tc-field textarea { resize: vertical; }
.tc-dialog :focus-visible { outline: 3px solid #b766fc; outline-offset: 3px; }
.tc-actions { display: flex; justify-content: space-between; gap: 16px; margin-top: 26px; }
.tc-next, .tc-send, .tc-done { margin-left: auto; border: 0; border-radius: 10px; padding: 13px 24px; color: #fbfbfb; background: linear-gradient(96.21deg, #863de2 3%, #5248dd 100%); font-weight: 600 !important; }
.tc-progress-row { display: flex; align-items: center; gap: 8px; margin: 16px 0 12px; min-height: 24px; }
.tc-back { display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; border: 0; padding: 0; background: transparent; color: #665f73; }
.tc-back:hover { color: #863de2; }
.tc-dialog button:disabled { cursor: wait; opacity: .6; }
.tc-error { color: #a02640; font-size: 14px; line-height: 1.5; margin-top: 16px; }
.tc-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.tc-success { padding: 35px 0 15px; text-align: center; }
.tc-check { display: grid; place-items: center; margin: 0 auto 24px; width: 64px; height: 64px; border-radius: 50%; background: #f0e8fb; color: #863de2; font-size: 30px; }
.tc-success .tc-done { margin: 28px auto 0; }
@media (max-width: 540px) { .tc-dialog { padding: 28px 22px; border-radius: 18px; } .tc-fields { grid-template-columns: 1fr; } }

.tc-footer { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid #e3deea; color: #665f73; font-size: 12px; line-height: 1.6; text-align: center; }
.tc-footer a { color: #863de2; text-decoration: underline; text-underline-offset: 3px; }

.tc-hint { margin: -4px 0 18px; color: #665f73; font-size: 14px; line-height: 1.6; }
.tc-reassurance { margin-top: 16px; color: #665f73; font-size: 12px; line-height: 1.6; }
.tc-reassurance p { margin: 0 0 8px; }
.tc-privacy { color: #665f73; font-size: 12px; }
.tc-privacy-link { color: #863de2; text-decoration: underline; text-underline-offset: 3px; }

.tc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.tc-tags li { max-width: 100%; padding: 6px 12px; border-radius: 999px; background: #f2eafa; color: #6d32b7; font-size: 13px; line-height: 1.5; }

@media (max-width: 540px) {
  .tc-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; }
  .tc-form { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; }
  .tc-form-content { overflow-y: auto; min-height: 0; padding: 4px 4px 12px; margin: 0 -4px; scroll-padding-bottom: 16px; }
  .tc-actions { margin-top: 0; padding: 12px 0 0; border-top: 1px solid #e3deea; background: #fbfbfb; }
  .tc-header h2 { font-size: 28px; margin-bottom: 8px; }
  .tc-fields { gap: 12px; }
  .tc-footer { margin-top: 12px; padding-top: 0; border: 0; }
}

.tc-interest-form { margin-top: 24px; text-align: left; }
.tc-interest-form legend { font-size: 16px; line-height: 1.5; }
.tc-interest-form .tc-hint { margin: 8px 0 14px; font-size: 12px; }
.tc-interest-options { display: flex; flex-wrap: wrap; gap: 8px; }
.tc-interest-tag { position: relative; cursor: pointer; }
.tc-interest-tag input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tc-interest-tag span { display: block; border: 1px solid #ddd6e8; border-radius: 999px; padding: 8px 12px; font-size: 13px; line-height: 1.4; }
.tc-interest-tag input:checked + span { background: #f2eafa; border-color: #863de2; color: #6d32b7; }
.tc-interest-tag input:focus-visible + span { outline: 3px solid #b766fc; outline-offset: 2px; }
.tc-save { width: 100%; margin-top: 20px; padding: 13px 24px; border: 0; border-radius: 10px; background: linear-gradient(96.21deg, #863de2 3%, #5248dd 100%); color: white; font-weight: 600 !important; }
.tc-interest-error { color: #a02640 !important; font-size: 13px; margin-top: 12px !important; }
.tc-interest-saved { margin-top: 20px !important; color: #6d32b7 !important; }
@media (max-width: 540px) { .tc-success { min-height: 0; overflow-y: auto; padding: 16px 4px; } }
@media (max-width: 540px) { .tc-dialog[open]:has(.tc-success:not([hidden])) { grid-template-rows: minmax(0, 1fr) auto; } }

.tc-scheduler { margin-top: 22px; text-align: left; }
.tc-scheduler h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.tc-scheduler > p { font-size: 13px; margin-bottom: 12px; }
.tc-scheduler-frame iframe { display: block; width: 100%; height: 650px; border: 0; border-radius: 12px; background: white; }
.tc-schedule-skip { display: block; margin: 16px auto 0; padding: 10px; border: 0; background: transparent; color: #6d32b7; text-decoration: underline; }

.tc-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tc-dialog.tc-booking[open] { display: block; width: min(900px, calc(100% - 24px)); height: calc(100dvh - 24px); max-height: none; padding: 0; overflow: hidden; }
.tc-booking .tc-success { height: 100%; padding: 0; overflow: hidden; }
.tc-booking .tc-scheduler { display: flex; flex-direction: column; height: 100%; margin: 0; padding-top: 48px; }
.tc-booking .tc-scheduler-frame { flex: 1; min-height: 0; }
.tc-booking .tc-scheduler-frame iframe { height: 100%; border-radius: 0; }
.tc-booking .tc-schedule-skip { flex-shrink: 0; margin: 0; padding: 12px; }
.tc-booking .tc-footer { display: none; }
