@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

.tfsr-booking-window,
.tfsr-booking-window * {
  box-sizing: border-box;
}

.tfsr-booking-window {
  --tfsr-ink: #171717;
  --tfsr-text: #2f343b;
  --tfsr-muted: #727985;
  --tfsr-line: rgba(23, 23, 23, 0.11);
  --tfsr-soft: #fbf7f3;
  --tfsr-card: #ffffff;
  --tfsr-red: #c8291a;
  --tfsr-red-soft: rgba(200, 41, 26, 0.09);
  --tfsr-gold: #d4a540;
  --tfsr-shadow: 0 18px 55px rgba(16, 16, 16, 0.10);
  --tfsr-radius-xl: 28px;
  --tfsr-radius-lg: 22px;
  --tfsr-radius-md: 16px;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--tfsr-text);
}

.tfsr-booking-window button,
.tfsr-booking-window input,
.tfsr-booking-window textarea,
.tfsr-booking-window select {
  font: inherit;
}

.tfsr-booking-window button {
  -webkit-tap-highlight-color: transparent;
}

.tfsr-app {
  width: 100%;
  overflow: hidden;
  border-radius: var(--tfsr-radius-xl);
  background: linear-gradient(135deg, #fff 0%, #fffaf6 55%, #f7f0ea 100%);
  border: 1px solid rgba(23, 23, 23, 0.08);
  box-shadow: var(--tfsr-shadow);
}

.tfsr-loading-card {
  padding: 28px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--tfsr-line);
  color: var(--tfsr-muted);
  font-weight: 500;
}

.tfsr-shell-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 28px 30px 22px;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

.tfsr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
  color: var(--tfsr-red);
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tfsr-eyebrow:before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 99px;
  background: var(--tfsr-gold);
}

.tfsr-shell-head h2 {
  margin: 0;
  color: var(--tfsr-ink);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 600;
}

.tfsr-progress {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 8px;
  align-items: center;
}

.tfsr-progress span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--tfsr-muted);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 23, 23, 0.08);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.tfsr-progress i {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(23, 23, 23, 0.07);
  color: var(--tfsr-muted);
  font-style: normal;
  font-size: 10px;
}

.tfsr-progress span.active,
.tfsr-progress span.done {
  color: #fff;
  background: var(--tfsr-ink);
  border-color: var(--tfsr-ink);
}

.tfsr-progress span.active i,
.tfsr-progress span.done i {
  color: var(--tfsr-ink);
  background: #fff;
}

.tfsr-shell-body {
  padding: 30px;
}

.tfsr-panel {
  animation: tfsrStepIn 0.18s ease both;
}

@keyframes tfsrStepIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.tfsr-intro {
  max-width: 720px;
  margin: 0 0 22px;
  color: var(--tfsr-muted);
  font-size: 14px;
  line-height: 1.65;
}

.tfsr-alert {
  margin: 0 0 18px;
  padding: 13px 15px;
  border-radius: 14px;
  color: #23512a;
  background: rgba(74, 124, 63, 0.10);
  border: 1px solid rgba(74, 124, 63, 0.18);
  font-size: 13px;
  line-height: 1.5;
}

.tfsr-alert.error {
  color: #9f2117;
  background: rgba(200, 41, 26, 0.08);
  border-color: rgba(200, 41, 26, 0.18);
}

.tfsr-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tfsr-flow-card,
.tfsr-service-card {
  position: relative;
  width: 100%;
  min-width: 0;
  text-align: left;
  cursor: pointer;
  border-radius: 22px;
  border: 1px solid var(--tfsr-line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--tfsr-text);
  box-shadow: 0 12px 34px rgba(17, 17, 17, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.tfsr-flow-card:hover,
.tfsr-service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 41, 26, 0.26);
  box-shadow: 0 18px 45px rgba(17, 17, 17, 0.09);
}

.tfsr-flow-card.active,
.tfsr-service-card.active {
  background: var(--tfsr-ink);
  border-color: var(--tfsr-ink);
  color: #fff;
  box-shadow: 0 18px 50px rgba(23, 23, 23, 0.18);
}

.tfsr-card-check {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: transparent;
  border: 1px solid rgba(23, 23, 23, 0.14);
  background: rgba(255, 255, 255, 0.75);
  transition: 0.18s ease;
}

.tfsr-flow-card.active .tfsr-card-check,
.tfsr-service-card.active .tfsr-card-check {
  color: var(--tfsr-ink);
  background: var(--tfsr-gold);
  border-color: var(--tfsr-gold);
}

.tfsr-flow-card {
  min-height: 170px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.tfsr-flow-card strong {
  display: block;
  min-width: 0;
  max-width: calc(100% - 34px);
  margin-bottom: 8px;
  color: currentColor;
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.tfsr-flow-card small {
  display: block;
  max-width: 100%;
  color: var(--tfsr-muted);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 400;
}

.tfsr-flow-card.active small {
  color: rgba(255, 255, 255, 0.68);
}

.tfsr-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tfsr-service-card {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 136px;
  padding: 16px;
  overflow: hidden;
}

.tfsr-service-media {
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(200, 41, 26, 0.09), rgba(212, 165, 64, 0.14));
}

.tfsr-service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tfsr-service-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--tfsr-red);
  font-size: 32px;
  font-weight: 600;
}

.tfsr-service-card.active .tfsr-service-placeholder {
  color: var(--tfsr-gold);
}

.tfsr-service-content {
  min-width: 0;
  padding-right: 28px;
}

.tfsr-service-content small {
  display: block;
  margin-bottom: 7px;
  color: var(--tfsr-red);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tfsr-service-card.active .tfsr-service-content small {
  color: var(--tfsr-gold);
}

.tfsr-service-content strong {
  display: block;
  max-width: 100%;
  color: currentColor;
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 600;
  white-space: normal;
  overflow-wrap: anywhere;
}

.tfsr-service-content span {
  display: -webkit-box;
  margin-top: 8px;
  color: var(--tfsr-muted);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tfsr-service-card.active .tfsr-service-content span {
  color: rgba(255, 255, 255, 0.66);
}

.tfsr-schedule-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: start;
}

.tfsr-card-box,
.tfsr-calendar-card,
.tfsr-summary-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--tfsr-line);
  box-shadow: 0 12px 38px rgba(17, 17, 17, 0.06);
}

.tfsr-field {
  min-width: 0;
}

.tfsr-field label,
.tfsr-field-label {
  display: block;
  margin-bottom: 9px;
  color: var(--tfsr-ink);
  font-size: 12px;
  font-weight: 500;
}

.tfsr-field input,
.tfsr-field textarea,
.tfsr-field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 15px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  background: #fff;
  color: var(--tfsr-text);
  outline: none;
  font-size: 14px;
  font-weight: 400;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.tfsr-field textarea {
  min-height: 118px;
  resize: vertical;
}

.tfsr-field input:focus,
.tfsr-field textarea:focus,
.tfsr-field select:focus {
  border-color: rgba(200, 41, 26, 0.55);
  box-shadow: 0 0 0 4px rgba(200, 41, 26, 0.08);
}

.tfsr-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tfsr-field.full {
  grid-column: 1 / -1;
}

.tfsr-two-fields {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 14px;
  margin-top: 18px;
}

.tfsr-event-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tfsr-event-chip,
.tfsr-slot {
  min-height: 40px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  background: #fff;
  color: var(--tfsr-text);
  cursor: pointer;
  font-size: 13px;
  font-weight: 400;
  transition: 0.16s ease;
}

.tfsr-event-chip:hover,
.tfsr-slot:hover {
  border-color: rgba(200, 41, 26, 0.34);
  background: var(--tfsr-red-soft);
}

.tfsr-event-chip.active,
.tfsr-slot.active {
  color: #fff;
  background: var(--tfsr-ink);
  border-color: var(--tfsr-ink);
}

.tfsr-guest-control {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 8px;
  align-items: center;
}

.tfsr-guest-control input {
  text-align: center;
}

.tfsr-guest-btn,
.tfsr-calendar-nav {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  background: #fff;
  color: var(--tfsr-ink);
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  transition: 0.16s ease;
}

.tfsr-guest-btn:hover,
.tfsr-calendar-nav:hover {
  color: #fff;
  background: var(--tfsr-ink);
  border-color: var(--tfsr-ink);
}

.tfsr-calendar-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

.tfsr-calendar-head strong {
  color: var(--tfsr-ink);
  text-align: center;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 600;
}

.tfsr-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.tfsr-weekday {
  padding: 0 0 4px;
  color: var(--tfsr-muted);
  text-align: center;
  font-size: 11px;
  font-weight: 500;
}

.tfsr-day {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 42px;
  border: 1px solid rgba(23, 23, 23, 0.09);
  border-radius: 14px;
  background: #fff;
  color: var(--tfsr-text);
  cursor: pointer;
  font-size: 13px;
  font-weight: 400;
  transition: 0.16s ease;
}

.tfsr-day.empty {
  border: 0;
  background: transparent;
  pointer-events: none;
}

.tfsr-day:not(.disabled):hover {
  border-color: rgba(200, 41, 26, 0.36);
  background: var(--tfsr-red-soft);
}

.tfsr-day.selected {
  color: #fff;
  background: var(--tfsr-red);
  border-color: var(--tfsr-red);
  box-shadow: 0 10px 24px rgba(200, 41, 26, 0.22);
}

.tfsr-day.disabled {
  opacity: 0.34;
  cursor: not-allowed;
  background: rgba(23, 23, 23, 0.03);
}

.tfsr-time-panel {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(23, 23, 23, 0.08);
}

.tfsr-time-panel p {
  margin: 0;
  color: var(--tfsr-muted);
  font-size: 13px;
  line-height: 1.6;
}

.tfsr-time-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.tfsr-time-head span {
  color: var(--tfsr-muted);
  font-size: 12px;
  font-weight: 500;
}

.tfsr-time-head strong {
  color: var(--tfsr-ink);
  font-size: 13px;
  font-weight: 500;
}

.tfsr-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tfsr-final-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 22px;
  align-items: stretch;
}

.tfsr-final-grid > .tfsr-final-summary,
.tfsr-final-grid > .tfsr-card-box {
  height: 100%;
}

.tfsr-final-summary {
  display: flex;
}

.tfsr-final-summary .tfsr-summary-card,
.tfsr-final-grid > .tfsr-card-box {
  width: 100%;
  min-height: 100%;
}

.tfsr-final-grid > .tfsr-card-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.tfsr-final-grid .tfsr-form-grid {
  flex: 1;
  align-content: center;
}

.tfsr-summary-card {
  background: var(--tfsr-ink);
  color: #fff;
  box-shadow: 0 18px 55px rgba(23, 23, 23, 0.18);
}

.tfsr-summary-label {
  display: block;
  margin-bottom: 14px;
  color: var(--tfsr-gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tfsr-summary-services {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.tfsr-summary-services li {
  padding: 11px 13px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 400;
}

.tfsr-summary-services li em {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  font-style: normal;
}

.tfsr-summary-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.tfsr-summary-meta div {
  min-width: 0;
  padding: 12px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.07);
}

.tfsr-summary-meta span,
.tfsr-estimate-final span,
.tfsr-success-estimate span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  font-weight: 500;
}

.tfsr-summary-meta strong {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tfsr-estimate-final {
  margin-bottom: 14px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(200, 41, 26, 0.28), rgba(212, 165, 64, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tfsr-estimate-final strong,
.tfsr-success-estimate strong {
  display: block;
  color: #fff;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 600;
}

.tfsr-summary-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.65;
}



.tfsr-final-grid .tfsr-field input,
.tfsr-final-grid .tfsr-field select {
  min-height: 58px;
}

.tfsr-final-grid .tfsr-field textarea {
  min-height: 150px;
}

.tfsr-checkline {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 15px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  background: #fff;
  color: var(--tfsr-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

.tfsr-checkline input {
  width: auto;
  min-height: 0;
}

.tfsr-waiver-block {
  grid-column: 1 / -1;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(200, 41, 26, 0.18);
  background: rgba(200, 41, 26, 0.05);
}

.tfsr-waiver-head {
  margin-bottom: 16px;
}

.tfsr-waiver-head span {
  display: block;
  margin-bottom: 8px;
  color: var(--tfsr-ink);
  font-size: 13px;
  font-weight: 600;
}

.tfsr-waiver-head p {
  margin: 0;
  color: var(--tfsr-muted);
  font-size: 13px;
  line-height: 1.6;
}

.tfsr-signature-pad {
  width: 100%;
  height: 170px;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(23, 23, 23, 0.14);
  background: #fff;
  cursor: crosshair;
  touch-action: none;
}

.tfsr-signature-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.tfsr-signature-actions .tfsr-btn {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 12px;
}

.tfsr-signature-actions span {
  color: var(--tfsr-muted);
  font-size: 12px;
}

.tfsr-waiver-check {
  align-items: flex-start;
}

.tfsr-checkout-note {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(212, 165, 64, 0.24);
  background: rgba(212, 165, 64, 0.12);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.55;
}

.tfsr-custom-quote-note {
  margin: 0 0 14px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  line-height: 1.55;
}

.tfsr-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.tfsr-btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.tfsr-btn:hover {
  transform: translateY(-1px);
}

.tfsr-btn-primary {
  min-width: 180px;
  color: #fff;
  background: var(--tfsr-red);
  border: 1px solid var(--tfsr-red);
  box-shadow: 0 12px 30px rgba(200, 41, 26, 0.22);
}

.tfsr-btn-primary:hover {
  background: #a82116;
}

.tfsr-btn-secondary {
  min-width: 105px;
  color: var(--tfsr-ink);
  background: #fff;
  border: 1px solid rgba(23, 23, 23, 0.12);
}

.tfsr-btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.tfsr-success-screen {
  padding: 64px 28px;
  text-align: center;
}

.tfsr-success-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--tfsr-red);
  color: #fff;
  font-size: 24px;
}

.tfsr-success-screen h3 {
  margin: 0 0 10px;
  color: var(--tfsr-ink);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.tfsr-success-screen p {
  max-width: 600px;
  margin: 0 auto 22px;
  color: var(--tfsr-muted);
  font-size: 14px;
  line-height: 1.7;
}

.tfsr-success-estimate {
  max-width: 360px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 20px;
  background: var(--tfsr-ink);
}

@media (max-width: 900px) {
  .tfsr-shell-head,
  .tfsr-schedule-grid,
  .tfsr-final-grid {
    grid-template-columns: 1fr;
  }

  .tfsr-progress {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tfsr-progress span {
    justify-content: center;
  }

  .tfsr-choice-grid {
    grid-template-columns: 1fr;
  }

  .tfsr-service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .tfsr-booking-window {
    max-width: 100%;
  }

  .tfsr-app {
    border-radius: 22px;
  }

  .tfsr-shell-head,
  .tfsr-shell-body {
    padding: 22px;
  }

  .tfsr-progress {
    display: flex;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .tfsr-progress::-webkit-scrollbar {
    display: none;
  }

  .tfsr-progress span {
    flex: 0 0 auto;
  }

  .tfsr-flow-card {
    min-height: 135px;
  }

  .tfsr-service-card {
    grid-template-columns: 78px minmax(0, 1fr);
    min-height: 116px;
    gap: 13px;
    padding: 13px;
  }

  .tfsr-service-media {
    width: 78px;
    height: 78px;
    border-radius: 16px;
  }

  .tfsr-service-content strong {
    font-size: 17px;
  }

  .tfsr-service-content span {
    font-size: 12px;
    -webkit-line-clamp: 2;
  }

  .tfsr-two-fields,
  .tfsr-form-grid,
  .tfsr-summary-meta {
    grid-template-columns: 1fr;
  }

  .tfsr-calendar-card,
  .tfsr-card-box,
  .tfsr-summary-card {
    padding: 16px;
    border-radius: 20px;
  }

  .tfsr-calendar-grid {
    gap: 4px;
  }

  .tfsr-day {
    min-height: 38px;
    border-radius: 12px;
    font-size: 12px;
  }

  .tfsr-signature-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .tfsr-actions {
    position: sticky;
    bottom: 0;
    z-index: 5;
    margin: 22px -22px -22px;
    padding: 14px 22px;
    background: rgba(255, 250, 246, 0.92);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(23, 23, 23, 0.08);
  }

  .tfsr-btn-primary,
  .tfsr-btn-secondary {
    min-width: 0;
    flex: 1;
  }
}

@media (max-width: 420px) {
  .tfsr-shell-head,
  .tfsr-shell-body {
    padding: 18px;
  }

  .tfsr-actions {
    margin: 20px -18px -18px;
    padding: 12px 18px;
  }

  .tfsr-service-card {
    grid-template-columns: 1fr;
  }

  .tfsr-service-media {
    width: 100%;
    height: 135px;
  }

  .tfsr-service-content {
    padding-right: 0;
  }
}

/* v1.0.4 refined embedded UX overrides */
.tfsr-app {
  background: #fffaf6;
  border-color: rgba(23, 23, 23, 0.12);
  box-shadow: 0 18px 45px rgba(16, 16, 16, 0.08);
}

.tfsr-shell-head {
  background: rgba(255, 255, 255, 0.62);
}

.tfsr-shell-head h2 {
  font-weight: 600;
  letter-spacing: -0.035em;
}

.tfsr-intro {
  max-width: 620px;
  margin-bottom: 18px;
  font-size: 13px;
}

.tfsr-flow-card,
.tfsr-service-card,
.tfsr-card-box,
.tfsr-calendar-card,
.tfsr-summary-card {
  border-color: rgba(23, 23, 23, 0.13);
}

.tfsr-flow-card,
.tfsr-service-card {
  background: #ffffff;
  color: var(--tfsr-text);
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.055);
}

.tfsr-flow-card:hover,
.tfsr-service-card:hover,
.tfsr-event-chip:hover,
.tfsr-slot:hover,
.tfsr-day:not(.disabled):hover,
.tfsr-guest-btn:hover,
.tfsr-calendar-nav:hover {
  color: var(--tfsr-ink);
  background: #f2f0ed;
  border-color: rgba(23, 23, 23, 0.18);
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.07);
}

.tfsr-flow-card.active,
.tfsr-service-card.active {
  background: #f2f0ed;
  border-color: rgba(200, 41, 26, 0.42);
  color: var(--tfsr-ink);
  box-shadow: inset 0 0 0 1px rgba(200, 41, 26, 0.18), 0 14px 34px rgba(17, 17, 17, 0.075);
}

.tfsr-flow-card.active small,
.tfsr-service-card.active .tfsr-service-content span {
  color: var(--tfsr-muted);
}

.tfsr-flow-card.active .tfsr-card-check,
.tfsr-service-card.active .tfsr-card-check {
  color: #fff;
  background: var(--tfsr-red);
  border-color: var(--tfsr-red);
}

.tfsr-service-card.active .tfsr-service-content small,
.tfsr-service-card.active .tfsr-service-placeholder {
  color: var(--tfsr-red);
}

.tfsr-flow-card strong,
.tfsr-service-content strong,
.tfsr-summary-services li,
.tfsr-summary-meta strong,
.tfsr-btn {
  font-weight: 500;
}

.tfsr-progress span,
.tfsr-eyebrow,
.tfsr-service-content small,
.tfsr-summary-label {
  font-weight: 600;
}

.tfsr-card-box,
.tfsr-calendar-card {
  background: rgba(255, 255, 255, 0.94);
}

.tfsr-people-field {
  margin-top: 18px;
}

.tfsr-location-field {
  margin-top: 14px;
}

.tfsr-guest-control {
  grid-template-columns: 52px minmax(120px, 1fr) 52px;
  gap: 10px;
}

.tfsr-guest-control input {
  min-height: 56px;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.tfsr-guest-btn {
  width: 52px;
  height: 56px;
  border-radius: 16px;
  font-size: 20px;
}

.tfsr-event-chip.active,
.tfsr-slot.active,
.tfsr-day.selected {
  color: #fff;
  background: var(--tfsr-red);
  border-color: var(--tfsr-red);
  box-shadow: 0 10px 22px rgba(200, 41, 26, 0.18);
}

.tfsr-service-content {
  padding-right: 34px;
}

@media (max-width: 640px) {
  .tfsr-guest-control {
    grid-template-columns: 50px minmax(110px, 1fr) 50px;
  }

  .tfsr-guest-control input {
    min-height: 54px;
    font-size: 18px;
  }

  .tfsr-guest-btn {
    width: 50px;
    height: 54px;
  }
}


/* v1.0.6 image-led service selection polish */
.tfsr-service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tfsr-service-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  padding: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
}

.tfsr-service-card:hover {
  transform: translateY(-4px);
  background: #f4f2ef;
}

.tfsr-service-card.active {
  background: #f3f0ec;
}

.tfsr-service-card .tfsr-card-check {
  top: 14px;
  right: 14px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.tfsr-service-media {
  position: relative;
  width: 100%;
  height: 178px;
  border-radius: 0;
  background: linear-gradient(135deg, rgba(200, 41, 26, 0.08), rgba(212, 165, 64, 0.18));
}

.tfsr-service-media:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.18));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.tfsr-service-card:hover .tfsr-service-media:after,
.tfsr-service-card.active .tfsr-service-media:after {
  opacity: 1;
}

.tfsr-service-media img {
  transition: transform 0.45s ease;
}

.tfsr-service-card:hover .tfsr-service-media img,
.tfsr-service-card.active .tfsr-service-media img {
  transform: scale(1.045);
}

.tfsr-service-content {
  padding: 18px 18px 20px;
  padding-right: 46px;
}

.tfsr-service-content small {
  margin-bottom: 8px;
}

.tfsr-service-content strong {
  font-size: 20px;
  letter-spacing: -0.025em;
}

.tfsr-service-content span {
  min-height: 40px;
  -webkit-line-clamp: 2;
}

.tfsr-service-grid.single .tfsr-service-card,
.tfsr-service-grid.multi .tfsr-service-card {
  min-height: 0;
}

.tfsr-flow-card {
  background: #fff;
}

.tfsr-flow-card:hover {
  background: #f4f2ef;
  border-color: rgba(23,23,23,0.16);
}

.tfsr-flow-card.active {
  background: #f3f0ec;
  border-color: rgba(200, 41, 26, 0.42);
}

@media (max-width: 980px) {
  .tfsr-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tfsr-service-grid {
    grid-template-columns: 1fr;
  }

  .tfsr-service-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 132px;
  }

  .tfsr-service-media {
    width: 112px;
    height: 100%;
    min-height: 132px;
  }

  .tfsr-service-content {
    padding: 16px 42px 16px 15px;
  }

  .tfsr-service-content strong {
    font-size: 18px;
  }

  .tfsr-service-content span {
    min-height: auto;
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .tfsr-service-card {
    grid-template-columns: 1fr;
  }

  .tfsr-service-media {
    width: 100%;
    height: 170px;
    min-height: 170px;
  }

  .tfsr-service-content {
    padding-right: 18px;
  }
}

.tfsr-light-meta {
  margin-bottom: 14px;
}

.tfsr-light-meta div {
  background: #fff;
  border: 1px solid rgba(23, 23, 23, 0.08);
}

.tfsr-light-meta span {
  color: var(--tfsr-muted);
}

.tfsr-light-meta strong {
  color: var(--tfsr-ink);
}

.tfsr-muted-note {
  margin: 0;
  color: var(--tfsr-muted);
  font-size: 13px;
  line-height: 1.65;
}

.tfsr-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tfsr-class-questions {
  margin-top: 18px;
}

.tfsr-price-line {
  display: inline-flex;
  margin-top: 10px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(212, 165, 64, 0.16);
  color: var(--tfsr-ink);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.tfsr-service-card.active .tfsr-price-line {
  color: #fff;
  background: rgba(212, 165, 64, 0.28);
}

.tfsr-downloads {
  margin-bottom: 18px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--tfsr-line);
  box-shadow: 0 12px 38px rgba(17, 17, 17, 0.06);
}

.tfsr-download-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tfsr-download-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 14px;
  border-radius: 15px;
  background: #fff;
  border: 1px solid rgba(23, 23, 23, 0.1);
  color: var(--tfsr-ink);
  text-decoration: none;
  transition: 0.16s ease;
}

.tfsr-download-card:hover {
  transform: translateY(-1px);
  border-color: rgba(200, 41, 26, 0.28);
}

.tfsr-download-card strong {
  color: currentColor;
  font-size: 14px;
  line-height: 1.3;
}

.tfsr-download-card span {
  color: var(--tfsr-muted);
  font-size: 12px;
}

@media(max-width: 760px) {
  .tfsr-download-list {
    grid-template-columns: 1fr;
  }
}

/* v1.3.2 SaaS-style request cards and smoother intake polish */
.tfsr-booking-window {
  --tfsr-focus: rgba(200, 41, 26, 0.16);
}

.tfsr-app {
  background:
    radial-gradient(circle at 12% 0%, rgba(212, 165, 64, 0.13), transparent 30%),
    linear-gradient(135deg, #fffdfb 0%, #fbf6f1 58%, #f2ece6 100%);
  box-shadow: 0 24px 70px rgba(19, 22, 25, 0.10);
}

.tfsr-shell-body {
  padding: clamp(20px, 3vw, 34px);
}

.tfsr-panel {
  animation: tfsrStepIn 0.24s ease both;
}

.tfsr-choice-grid {
  align-items: stretch;
}

.tfsr-flow-card {
  min-width: 0;
  min-height: 278px;
  padding: 0;
  display: grid;
  grid-template-rows: 116px auto auto 1fr;
  align-content: start;
  justify-content: stretch;
  overflow: hidden;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(23, 23, 23, 0.10);
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.075);
}

.tfsr-flow-card:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: rgba(200, 41, 26, 0.24);
  box-shadow: 0 22px 54px rgba(17, 17, 17, 0.11);
}

.tfsr-flow-card.active {
  background: #fff;
  border-color: rgba(200, 41, 26, 0.45);
  box-shadow: inset 0 0 0 1px rgba(200, 41, 26, 0.16), 0 22px 54px rgba(17, 17, 17, 0.10);
}

.tfsr-flow-media {
  position: relative;
  display: block;
  width: 100%;
  height: 116px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(200, 41, 26, 0.10), rgba(212, 165, 64, 0.18));
}

.tfsr-flow-media:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.03), rgba(0,0,0,0.22));
}

.tfsr-flow-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tfsr-flow-card:hover .tfsr-flow-media img,
.tfsr-flow-card.active .tfsr-flow-media img {
  transform: scale(1.045);
}

.tfsr-flow-tag {
  width: max-content;
  max-width: calc(100% - 36px);
  margin: 16px 18px 8px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--tfsr-red);
  background: rgba(200, 41, 26, 0.08);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tfsr-flow-card strong {
  max-width: none;
  margin: 0 18px 7px;
  padding-right: 34px;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.tfsr-flow-card small {
  margin: 0 18px 20px;
  max-width: none;
  min-width: 0;
  display: -webkit-box;
  color: var(--tfsr-muted);
  font-size: 13px;
  line-height: 1.5;
  white-space: normal;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.tfsr-flow-card .tfsr-card-check {
  top: 16px;
  right: 16px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.tfsr-field input:focus,
.tfsr-field textarea:focus,
.tfsr-field select:focus {
  box-shadow: 0 0 0 4px var(--tfsr-focus);
}

.tfsr-muted-note {
  padding: 14px;
  border-radius: 16px;
  background: rgba(212, 165, 64, 0.10);
  border: 1px solid rgba(212, 165, 64, 0.18);
}

@media(max-width: 900px) {
  .tfsr-choice-grid {
    grid-template-columns: 1fr;
  }

  .tfsr-flow-card {
    min-height: 0;
    grid-template-columns: 132px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-items: stretch;
  }

  .tfsr-flow-media {
    grid-row: 1 / 4;
    width: 132px;
    height: 100%;
    min-height: 150px;
  }

  .tfsr-flow-tag {
    margin-top: 18px;
  }
}

@media(max-width: 520px) {
  .tfsr-flow-card {
    grid-template-columns: 1fr;
  }

  .tfsr-flow-media {
    grid-row: auto;
    width: 100%;
    height: 128px;
    min-height: 128px;
  }
}
.tfsr-required{color:#c8291a;font-weight:900}
.tfsr-participant-count-note{display:block;width:100%;margin:8px 0 0;color:rgba(26,26,26,.68);font-size:12px;line-height:1.5}
