#horizon-booking-demo .hz-setup{margin:16px 0;min-width:0}
#horizon-booking-demo .hz-onboarding-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 18px;background:#663b5726;border-bottom:1px solid #d78baa55;color:#f2c3dd;font-size:12px}
#horizon-booking-demo .hz-tabs,#horizon-booking-demo .hz-steps,#horizon-booking-demo .hz-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
#horizon-booking-demo .hz-tabs button,#horizon-booking-demo .hz-steps button{padding:9px 12px;border:1px solid var(--hd-line);border-radius:8px;color:var(--hd-fg);background:var(--hd-soft)}
#horizon-booking-demo .hz-tabs [aria-pressed=true],#horizon-booking-demo .hz-steps [aria-pressed=true]{border-color:#d775a8;color:#ffbfdf;background:#c5659b20}
#horizon-booking-demo #hd-page-account [hidden]{display:none!important}
#horizon-booking-demo .hz-tabs [aria-selected=true]{border-color:var(--hd-action);box-shadow:inset 0 0 0 1px var(--hd-action)}
#horizon-booking-demo .hz-account-tabs{margin:0 0 20px}
#horizon-booking-demo #hz-setup-support>p{color:var(--hd-secondary);font-size:13px;line-height:1.6}
#horizon-booking-demo .hz-tabs button:focus-visible{outline:3px solid var(--hd-action);outline-offset:3px}
#horizon-booking-demo .hz-setup fieldset{min-width:0;border:1px solid var(--hd-line);border-radius:10px;padding:16px;margin:12px 0}
#horizon-booking-demo .hz-setup legend{color:#e5c2d7;padding:0 8px;font-weight:650;font-size:13px}
#horizon-booking-demo .hz-setup [hidden]{display:none!important}
#horizon-booking-demo .hz-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}
#horizon-booking-demo .hz-wide{grid-column:1/-1}
#horizon-booking-demo .hz-setup label{min-width:0}
#horizon-booking-demo .hz-setup :is(input,select,textarea){box-sizing:border-box;max-width:100%;width:100%}
#horizon-booking-demo .hz-setup input[type=checkbox]{width:auto;max-width:none;flex:none}
#horizon-booking-demo .hz-check{display:flex;flex-direction:row;gap:9px;align-items:center}
#horizon-booking-demo .hz-message{min-height:1.4em;color:#bbdfc8;font-size:12px}
#horizon-booking-demo .hz-message.is-error{color:#ff9dbd}
#horizon-booking-demo .hz-setup dl{display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px 14px;font-size:13px}
#horizon-booking-demo .hz-setup dd{margin:0;overflow-wrap:anywhere}
#horizon-booking-demo .hz-table-wrap{max-width:100%;overflow-x:auto}
#horizon-booking-demo .hz-setup table{width:100%;border-collapse:collapse;font-size:12px}
#horizon-booking-demo .hz-setup :is(th,td){padding:10px 8px;text-align:left;border-bottom:1px solid var(--hd-line)}
#horizon-booking-demo .hz-setup td small{display:block;color:var(--hd-secondary);margin-top:4px}
#horizon-booking-demo .hz-account-actions button{background:var(--hd-soft);color:var(--hd-fg);border:1px solid var(--hd-line);padding:6px 8px;border-radius:6px;margin:2px}
#horizon-booking-demo .hz-setup details{border-top:1px solid var(--hd-line);padding:12px 0;margin-top:12px}
#horizon-booking-demo .hz-setup summary{cursor:pointer;font-size:13px;font-weight:650;padding:7px 0}
#horizon-booking-demo .hz-audit{padding-left:20px;font-size:12px;line-height:1.8}
#horizon-booking-demo .hz-checks{list-style:none;padding:0;margin:12px 0}
#horizon-booking-demo .hz-checks li{padding:10px 0;border-bottom:1px solid var(--hd-line);font-size:12px}
#horizon-booking-demo .hz-check-state{display:inline-block;border:1px solid #b7976655;border-radius:6px;padding:4px 8px;color:#e0c99c;margin-right:10px;min-width:60px;text-align:center}
#horizon-booking-demo .hz-check-state.is-ready{color:#b8dfca;border-color:#86b99766}
#horizon-booking-demo .hz-setup .hz-checks p{margin:6px 0 0;overflow-wrap:anywhere}
#horizon-booking-demo[data-horizon-theme=horizon] .hz-setup fieldset{box-shadow:inset 0 1px 0 #dfebff12,0 3px 9px #0002}
#horizon-booking-demo #hz-account-support{max-width:900px}
#horizon-booking-demo #hz-account-support>.hz-message:empty{display:none}
#horizon-booking-demo .hz-access-flow{--hz-surface:var(--hd-soft);color:var(--hd-fg);font-size:14px;line-height:1.6}
#horizon-booking-demo .hz-access-flow .hz-access-step{border:1px solid var(--hd-line);border-radius:16px;background:var(--hz-surface);padding:24px;margin:18px 0}
#horizon-booking-demo .hz-access-flow .hz-step-heading{display:flex;align-items:flex-start;gap:14px;margin-bottom:22px}
#horizon-booking-demo .hz-access-flow .hz-step-heading>div{flex:1;min-width:0}
#horizon-booking-demo .hz-access-flow .hz-step-number{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:10px;background:var(--hd-action);color:var(--hd-bg);font-size:14px;font-weight:750}
#horizon-booking-demo .hz-access-flow :is(h4,h5){color:var(--hd-fg);font-weight:700;line-height:1.35;margin:0 0 7px;text-transform:none;letter-spacing:0}
#horizon-booking-demo .hz-access-flow h4{font-size:19px}
#horizon-booking-demo .hz-access-flow h5{font-size:14px}
#horizon-booking-demo .hz-access-flow p{color:var(--hd-secondary);margin:6px 0 16px;line-height:1.6;font-size:13px}
#horizon-booking-demo .hz-access-flow label{display:flex;flex-direction:column;gap:8px;color:var(--hd-fg);font-size:13px;font-weight:600;text-align:left}
#horizon-booking-demo .hz-access-flow :is(input,select){min-height:46px;font-size:14px;text-align:left;color:var(--hd-fg);background:var(--hd-bg);border:1px solid var(--hd-line);border-radius:9px;padding:10px 12px}
#horizon-booking-demo .hz-access-flow input::placeholder{color:var(--hd-secondary);opacity:.75}
#horizon-booking-demo .hz-access-flow label.hz-check{flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;text-align:left;margin:14px 0}
#horizon-booking-demo .hz-access-flow input[type=checkbox]{appearance:auto;width:19px;height:19px;min-height:19px;min-width:19px;padding:0;margin:0;accent-color:var(--hd-action)}
#horizon-booking-demo .hz-access-flow button{min-height:44px;border:1px solid var(--hd-line);border-radius:9px;padding:11px 17px;font-size:13px;font-weight:650;cursor:pointer;white-space:normal;line-height:1.4}
#horizon-booking-demo .hz-access-flow button.hd-primary{background:var(--hd-action);border-color:var(--hd-action);color:var(--hd-bg)}
#horizon-booking-demo .hz-access-flow button:not(.hd-primary){background:var(--hd-bg);color:var(--hd-fg)}
#horizon-booking-demo .hz-access-flow :is(button,input,select,summary):focus-visible{outline:3px solid var(--hd-action);outline-offset:3px}
#horizon-booking-demo .hz-access-flow :is(button,input,select):disabled{cursor:default;opacity:.55}
#horizon-booking-demo .hz-access-flow #hz-account-tools{padding:0;border:0;box-shadow:none;margin:0;min-width:0}
#horizon-booking-demo .hz-access-flow #hz-account-tools:disabled{opacity:.6}
#horizon-booking-demo .hz-access-flow .hz-access-tasks{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#horizon-booking-demo .hz-access-flow .hz-access-tasks button[aria-selected=true]{border-color:var(--hd-action);box-shadow:inset 0 0 0 1px var(--hd-action);color:var(--hd-action)}
#horizon-booking-demo .hz-access-flow .hz-access-badge{display:inline-flex;align-items:center;flex:none;padding:4px 9px;border:1px solid var(--hd-line);border-radius:7px;color:var(--hd-secondary);font-size:11px;line-height:1.6;white-space:normal}
#horizon-booking-demo .hz-access-flow .hz-access-badge.is-confirmed{color:var(--hd-action);border-color:var(--hd-action)}
#horizon-booking-demo .hz-access-flow .hz-locked-help{padding:0 24px}
#horizon-booking-demo .hz-access-flow .hz-invite-fields{display:flex;flex-direction:column;gap:18px}
#horizon-booking-demo .hz-access-flow .hz-access-hint{font-weight:400;font-size:12px;margin:8px 0 17px}
#horizon-booking-demo .hz-access-flow .hz-invite-fields .hz-access-hint{margin:-12px 0 0}
#horizon-booking-demo .hz-access-flow .hz-role-help{padding:12px 14px;border-left:3px solid var(--hd-action);background:var(--hd-bg);border-radius:0 9px 9px 0;color:var(--hd-secondary)}
#horizon-booking-demo .hz-access-flow .hz-invite-fields .hz-role-help{margin:-8px 0 0}
#horizon-booking-demo .hz-access-flow details{margin-top:18px;padding:16px 0;border-top:1px solid var(--hd-line)}
#horizon-booking-demo .hz-access-flow summary{color:var(--hd-fg);font-size:13px;padding:8px 0;line-height:1.5}
#horizon-booking-demo .hz-access-flow .hz-test-option{margin-top:25px}
#horizon-booking-demo .hz-access-flow .hz-invite-review{padding:14px 16px;border:1px solid var(--hd-line);border-radius:9px;margin:20px 0;font-size:13px;font-weight:600}
#horizon-booking-demo .hz-access-flow .hz-inline-status{margin:10px 0;color:var(--hd-action);font-size:13px;overflow-wrap:anywhere}
#horizon-booking-demo .hz-access-flow .hz-inline-status:empty{display:none}
#horizon-booking-demo .hz-access-flow .hz-inline-status.is-error{color:var(--hd-danger,#e7678c)}
#horizon-booking-demo .hz-access-flow .hz-link-result{border-color:var(--hd-action)}
#horizon-booking-demo .hz-access-flow .hz-link-result input{font-family:monospace;font-size:12px}
#horizon-booking-demo .hz-access-flow .hz-link-result button{margin-top:12px}
#horizon-booking-demo .hz-access-flow .hz-link-result ol{padding-left:20px;font-size:13px}
#horizon-booking-demo .hz-access-flow .hz-person{border:1px solid var(--hd-line);padding:0;margin:12px 0;border-radius:12px;background:var(--hd-bg)}
#horizon-booking-demo .hz-access-flow .hz-person>summary{display:flex;align-items:center;gap:12px;padding:16px;list-style:none}
#horizon-booking-demo .hz-access-flow .hz-person>summary::-webkit-details-marker{display:none}
#horizon-booking-demo .hz-access-flow .hz-person-name{display:flex;flex-direction:column;flex:1;min-width:0;overflow-wrap:anywhere}
#horizon-booking-demo .hz-access-flow .hz-person-name strong{font-size:14px;color:var(--hd-fg)}
#horizon-booking-demo .hz-access-flow .hz-person-name small{color:var(--hd-secondary);font-size:12px;font-weight:400;margin-top:3px}
#horizon-booking-demo .hz-access-flow .hz-person-chevron{font-size:22px;color:var(--hd-action)}
#horizon-booking-demo .hz-access-flow .hz-person[open] .hz-person-chevron{transform:rotate(180deg)}
#horizon-booking-demo .hz-access-flow .hz-person-body{padding:0 16px 16px}
#horizon-booking-demo .hz-access-flow .hz-person-actions{display:flex;flex-wrap:wrap;gap:9px}
#horizon-booking-demo .hz-access-flow .hz-person-invoices{margin-top:18px;border-top:1px solid var(--hd-line);padding-top:16px}
#horizon-booking-demo .hz-access-flow .hz-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#horizon-booking-demo .hz-access-flow .hs-help-field{display:block}
#horizon-booking-demo .hz-access-flow .hs-help-button{display:none}
@media(max-width:600px){#horizon-booking-demo .hz-access-flow .hz-access-step{padding:17px;border-radius:12px}#horizon-booking-demo .hz-access-flow .hz-step-heading{gap:10px;flex-wrap:wrap}#horizon-booking-demo .hz-access-flow .hz-step-heading>.hz-access-badge{margin-left:42px}#horizon-booking-demo .hz-access-flow h4{font-size:17px}#horizon-booking-demo .hz-access-flow .hz-access-tasks{grid-template-columns:1fr}#horizon-booking-demo .hz-access-flow :is(input,select){font-size:16px}#horizon-booking-demo .hz-access-flow .hz-person>summary{gap:9px;padding:13px}#horizon-booking-demo .hz-access-flow .hz-person>summary>.hz-access-badge{max-width:80px}#horizon-booking-demo .hz-access-flow .hz-person-actions{flex-direction:column}#horizon-booking-demo .hz-access-flow .hz-person-actions>button{width:100%}}
@media(max-width:650px){#horizon-booking-demo .hz-fields{grid-template-columns:1fr}#horizon-booking-demo .hz-wide{grid-column:auto}#horizon-booking-demo .hz-setup fieldset{padding:12px}#horizon-booking-demo .hz-tabs button,#horizon-booking-demo .hz-steps button{flex:1;font-size:11px}#horizon-booking-demo .hz-setup dl{grid-template-columns:80px minmax(0,1fr)}}

/* The phone setup exit is independent of the wizard's Previous/Next steps. */
#horizon-booking-demo .hz-business-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}
#horizon-booking-demo .hz-business-heading h3{margin:0;min-width:0}
#horizon-booking-demo .hz-phone-setup-back{display:none}
@media(max-width:760px),(max-width:1100px) and (max-height:600px){
 #horizon-booking-demo[data-phone-workspace=true] #hz-business-support{overflow:visible}
 #horizon-booking-demo[data-phone-workspace=true] .hz-business-heading{position:sticky;top:env(safe-area-inset-top,0px);z-index:40;gap:12px;padding:10px 0;margin:0 0 12px;background:var(--hd-bg);border-bottom:1px solid var(--hd-line)}
 #horizon-booking-demo[data-phone-workspace=true] .hz-business-heading h3{font:700 16px/1.35 system-ui;color:var(--hd-fg)}
 #horizon-booking-demo[data-phone-workspace=true] .hz-phone-setup-back{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:none;min-width:86px;min-height:48px;padding:10px 12px;border:1px solid var(--hm-visit-accent,var(--hd-action));border-radius:10px;background:var(--hm-visit-tint,var(--hd-soft));color:var(--hm-visit-ink,var(--hd-action));font:650 14px/1.3 system-ui;cursor:pointer}
 #horizon-booking-demo[data-phone-workspace=true] .hz-phone-setup-back svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
 #horizon-booking-demo[data-phone-workspace=true] .hz-phone-setup-back:focus-visible{outline:3px solid var(--hd-action);outline-offset:3px}
}
