/* The demonstration shares Core booking components. Only demo framing,
   synthetic-data guidance and its explicit completion state live here. */
.tl-demo-intro{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:32px;align-items:end;padding-top:40px;padding-bottom:24px}
.tl-demo-intro h1{font:700 clamp(27px,3vw,36px)/1.2 Manrope,system-ui,sans-serif;letter-spacing:-.025em;margin:10px 0 0;max-width:24ch;color:var(--pf-ink)}
.tl-demo-intro>p{font-size:14px;line-height:1.7;max-width:52ch;margin:0;color:var(--pf-muted)}
html:root body .tl-product-demo{--ui-bg:var(--pf-bg);--ui-paper:var(--pf-paper);--ui-soft:var(--pf-soft);--ui-ink:var(--pf-ink);--ui-muted:var(--pf-muted);--ui-line:var(--pf-line);--ui-link:var(--pf-link);--ui-action:var(--pf-action);--ui-action-ink:var(--pf-action-ink);--tl-accent:var(--pf-action);padding-top:8px}
.tl-demo-toolbar{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:24px;min-width:0}
html:root body .tl-product-demo .tl-booking-logo{display:flex;gap:12px;font-size:17px;line-height:1.4;flex:none;min-width:0}
.tl-demo-mark{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:12px;background:var(--ui-action);color:var(--ui-action-ink);font-size:24px;font-weight:700}
.tl-demo-toolbar .tl-booking-logo>span:last-child{display:grid;gap:3px;min-width:0}
.tl-demo-toolbar .tl-booking-logo small{font-size:12px;font-weight:500;color:var(--ui-muted)}
.tl-demo-scenario{display:flex;align-items:center;gap:12px;min-width:0}
.tl-demo-scenario>span{font-size:12px;color:var(--ui-muted);max-width:18ch}
.tl-demo-scenario>div{display:flex;gap:4px;padding:4px;background:var(--ui-paper);border:1px solid var(--ui-line);border-radius:10px}
.tl-demo-scenario button{font:600 13px/1.4 Manrope,system-ui,sans-serif;min-height:44px;padding:9px 14px;border:0;border-radius:7px;background:transparent;color:var(--ui-muted);cursor:pointer;white-space:normal}
.tl-demo-scenario button.is-active{background:var(--ui-action);color:var(--ui-action-ink)}
html:root body .tl-product-demo .tl-booking-header h2{font:700 clamp(27px,3vw,34px)/1.2 Manrope,system-ui,sans-serif;letter-spacing:-.025em;margin:9px 0 12px;color:var(--ui-ink)}
/* The legacy marketing demo paints every .is-active button. Progress steps
   share Core's circle-only state, not the scenario/slot filled-button state. */
html:root body .tl-product-demo .tl-steps button{background:transparent!important;border:0!important;border-radius:0;box-shadow:none!important;color:var(--ui-ink)!important}
.tl-demo-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:-8px 0 8px;padding:0;border:0;background:none;color:var(--ui-link);font:600 13px/1.5 Manrope,system-ui,sans-serif;cursor:pointer}
.tl-demo-back svg{width:18px;height:18px}
html:root body .tl-product-demo .tl-inline-addons h3{font:650 14px/1.5 Manrope,system-ui,sans-serif;margin:0 0 4px;color:var(--ui-ink)}
.tl-product-demo .tl-inline-addons>p{font-size:12px;line-height:1.6;margin:0 0 12px}
.tl-product-demo .tl-inline-addons .tl-service-card{padding:12px;min-height:72px}
.tl-demo-performer{display:grid;grid-template-columns:48px minmax(0,1fr) 20px;gap:14px;align-items:center;padding:16px 0 24px;margin-bottom:8px}
.tl-demo-performer>div{display:grid;gap:4px;min-width:0}
.tl-demo-performer small{font-size:12px;line-height:1.4}
.tl-demo-performer strong{font-size:15px;line-height:1.5}
.tl-demo-performer p{font-size:13px;line-height:1.5;margin:0}
.tl-demo-performer>svg{width:20px;height:20px;color:var(--ui-link)}
html:root body .tl-product-demo .tl-avatar{background:var(--ui-soft);color:var(--ui-link);font-size:13px;font-weight:700}
.tl-product-demo .tl-team{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:24px}
.tl-product-demo .tl-person-card>span:last-child svg{width:20px;height:20px;color:var(--ui-link)}
.tl-demo-time-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.tl-demo-availability-note{font-size:12px;line-height:1.65;margin:20px 0 0;max-width:60ch}
.tl-demo-data-note{padding:0 0 20px;margin-bottom:20px;border-bottom:1px solid var(--ui-line)}
.tl-demo-data-note p{font-size:13px;line-height:1.6;margin:0}
.tl-demo-data-note .tl-text-action{min-height:40px;padding-bottom:0}
.tl-demo-question{border:1px solid var(--ui-line);border-radius:10px;padding:16px 20px 20px;margin:2px 0;min-width:0}
.tl-demo-question legend{font-size:14px;line-height:1.5;font-weight:650;padding:0 6px;max-width:100%;overflow-wrap:anywhere}
.tl-demo-question>div{display:flex;gap:24px;flex-wrap:wrap;margin-bottom:12px}
html:root body .tl-product-demo .tl-demo-question label.tl-intake-choice{display:flex;align-items:center;gap:10px;min-height:44px;font-size:14px;cursor:pointer}
.tl-demo-question [data-tl2-followup]{margin-top:12px}
.tl-demo-review-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}
.tl-demo-review-heading>strong{font-size:17px;font-weight:700}
.tl-product-demo .tl-demo-review-items{margin-top:0}
.tl-demo-review-meta{display:grid;gap:0;margin:24px 0}
.tl-demo-review-meta>div{display:grid;grid-template-columns:minmax(100px,.65fr) minmax(0,1fr);gap:16px;padding:10px 0;min-width:0}
.tl-demo-review-meta dt,.tl-demo-review-meta dd{margin:0;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.tl-demo-review-meta dt{color:var(--ui-muted)}
.tl-demo-review-meta dd{text-align:right;font-weight:600}
.tl-demo-review-meta>div.is-total{border-top:1px solid var(--ui-line);margin-top:12px;padding-top:20px;align-items:baseline}
.tl-demo-review-meta .is-total dd{font-size:24px;font-weight:750;letter-spacing:-.02em}
.tl-product-demo .tl-review-contact,.tl-product-demo .tl-review-answers{border:1px solid var(--ui-line);margin-top:20px;background:var(--ui-paper)!important}
.tl-product-demo .tl-review-contact p,.tl-product-demo .tl-review-answers p{white-space:pre-line;overflow-wrap:anywhere}
.tl-demo-review-note{font-size:13px;line-height:1.7;margin:24px 0 0;max-width:60ch}
html:root body .tl-product-demo .tl-demo-error{margin:24px 0 0;padding:16px;background:var(--ui-soft);color:var(--ui-ink)!important;border:1px solid var(--ui-line);border-left:3px solid var(--ui-link);font-size:14px;line-height:1.65}
.tl-demo-aside-note{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.6;margin:20px 0 0}
.tl-demo-aside-note svg{width:17px;height:17px;flex:none;margin-top:1px;color:var(--ui-link)}
.tl-demo-complete{padding:32px 8px;max-width:620px;margin:auto;text-align:center}
.tl-demo-complete-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--ui-action);color:var(--ui-action-ink);margin:0 auto 24px}
.tl-demo-complete-icon svg{width:32px;height:32px;color:var(--ui-action-ink)}
.tl-demo-complete>.tl-eyebrow{display:block}
.tl-demo-complete h2{font:700 clamp(27px,3vw,36px)/1.25 Manrope,system-ui,sans-serif;letter-spacing:-.025em;margin:12px 0 16px}
.tl-demo-complete p{font-size:15px;line-height:1.7;max-width:45ch;margin:0 auto 24px}
.tl-demo-complete>div{display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap}
.tl-demo-complete-link{display:inline-flex;align-items:center;gap:10px;min-height:48px;font-size:14px;font-weight:650;color:var(--ui-link)}
.tl-demo-complete-link svg{width:18px;height:18px}
html:root body .tl-product-demo.is-complete .tl-summary{display:none}
html:root body .tl-product-demo.is-complete .tl-booking-card{grid-template-columns:minmax(0,1fr)}
html:root body .tl-product-demo.is-complete .tl-booking-main{min-height:0}
.tl-product-demo :is(button,a,summary,input,textarea):focus-visible{outline:3px solid var(--ui-link);outline-offset:3px}
.tl-product-demo .tl-booking-header [tabindex="-1"]:focus,.tl-demo-complete [tabindex="-1"]:focus{outline:none}
@media(max-width:900px){
 .tl-demo-intro{grid-template-columns:minmax(0,1fr);gap:14px;padding-top:28px;padding-bottom:20px}
 .tl-demo-intro h1{max-width:28ch}
 .tl-demo-intro>p{max-width:65ch}
 .tl-product-demo:not(.is-complete)~*{min-width:0}
 body.tl-premium-public:has(.tl-product-demo:not(.is-complete)) .tm-platform-mobile-nav{display:none}
 html:root body .tl-product-demo .tl-summary{border:0}
 html:root body .tl-product-demo .tl-booking-main{min-height:0}
 .tl-product-demo .tl-demo-aside-note{display:none}
}
@media(max-width:600px){
 .tl-demo-intro{padding-top:24px;padding-bottom:16px;gap:12px}
 .tl-demo-intro h1{font-size:27px}
 .tl-demo-intro>p{font-size:13px;line-height:1.65}
 .tl-demo-toolbar{flex-wrap:wrap;gap:16px;margin-bottom:20px}
 .tl-demo-scenario{width:100%;justify-content:space-between;gap:8px}
 .tl-demo-scenario>span{font-size:12px;max-width:12ch}
 .tl-demo-scenario>div{flex:0 1 auto;max-width:75%}
 .tl-demo-scenario button{font-size:12px;padding-inline:10px}
 .tl-product-demo .tl-team{grid-template-columns:minmax(0,1fr)}
 .tl-demo-time-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .tl-demo-performer{padding-top:4px;gap:12px}
 .tl-demo-question{padding:16px 14px}
 .tl-demo-review-meta>div{grid-template-columns:minmax(82px,.6fr) minmax(0,1fr);gap:12px}
 .tl-demo-complete{padding:20px 0}
 .tl-demo-complete>div{flex-direction:column;gap:12px}
 .tl-product-demo.is-complete{padding-bottom:28px}
}
@media(prefers-reduced-motion:reduce){.tl-product-demo *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
