#parc-demo{min-height:100vh;background:var(--p-bg);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}body{margin:0}#parc-demo .site{max-width:none;border:0;border-radius:0;background:transparent}#parc-demo header img{object-fit:contain}#parc-demo main{max-width:720px;margin:24px auto;padding:0 16px}#parc-demo .booking-heading{display:none}#parc-demo .booking-card{background:#fff;border:1px solid var(--p-line);border-radius:14px;padding:0 24px 22px}#parc-demo #progress{margin:0 -24px 20px;padding:14px 24px;border-bottom:1px solid var(--p-line);font-size:13px;font-weight:600;color:var(--p-teal)}#parc-demo h2{font-size:21px;letter-spacing:-.4px;margin:0 0 16px;font-weight:650}#parc-demo h3{font-size:15px;margin:18px 0 10px}#parc-demo label{display:block;font-size:13px;font-weight:600;margin:12px 0 5px}#parc-demo input,#parc-demo select,#parc-demo textarea{box-sizing:border-box;width:100%;padding:10px 12px;border:1px solid #c5d5da;border-radius:7px;font:inherit;color:var(--p-ink);background:#fff}#parc-demo textarea{resize:vertical;min-height:72px}#parc-demo button,#parc-demo .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:white;color:var(--p-teal);border:1px solid #c5d5da;border-radius:7px;padding:9px 14px;font:inherit;font-size:14px;font-weight:600;text-decoration:none;cursor:pointer}#parc-demo .primary{display:flex;margin-top:18px;width:100%;background:var(--p-teal);border-color:var(--p-teal);color:#fff}#parc-demo .secondary{margin-top:16px;border:0;padding-left:0}#parc-demo button:disabled{opacity:.55;cursor:wait}#parc-demo .muted{font-size:13px;color:var(--p-muted)}#parc-demo .summary{padding:14px 16px;background:#eaf4f4;border-left:3px solid var(--p-teal);border-radius:0 8px 8px 0;margin:12px 0}#parc-demo .summary p{margin:4px 0}#parc-demo .check{display:flex;gap:10px;font-weight:400;align-items:center}#parc-demo .check input{flex:none;width:18px;height:18px;padding:0}#parc-demo #notice{margin:14px 0;padding:10px 12px;background:#fff0ed;color:#a13c2a;border-left:3px solid #b44732;border-radius:6px}#parc-demo .footer{text-align:center;font-size:12px;color:var(--p-muted);margin:16px 0}#parc-demo .footer a{color:var(--p-teal)}#parc-demo .calendar-legend{display:flex;flex-wrap:wrap;gap:12px;font-size:11px;color:var(--p-muted);margin-bottom:14px}#parc-demo .calendar-legend span:before{content:'';display:inline-block;width:9px;height:9px;margin-right:5px;border-radius:3px;background:var(--availability)}#parc-demo .high{--availability:#cee9e2}#parc-demo .low{--availability:#f4dfad}#parc-demo .none{--availability:#efc2c5}#parc-demo .unknown{--availability:#edf0f2}#parc-demo .weekdays,#parc-demo .booking-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}#parc-demo .weekdays{font-size:12px;text-align:center;color:var(--p-muted);margin-bottom:8px}#parc-demo .calendar-month{grid-column:1/-1;text-transform:capitalize;font-size:14px;font-weight:600;margin:2px 0 8px}#parc-demo button.calendar-day{display:flex;flex-direction:column;gap:2px;min-height:62px;padding:8px 2px;border-color:transparent;background:var(--availability);color:var(--p-ink);border-radius:6px}#parc-demo .calendar-day strong{font-size:17px;font-weight:600}#parc-demo .calendar-day span{font-size:10px;opacity:.7}#parc-demo .calendar-day[aria-pressed=true]{outline:2px solid var(--p-teal);outline-offset:1px}#parc-demo .calendar-day:hover{box-shadow:inset 0 0 0 1px var(--p-teal)}#parc-demo .slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px}#parc-demo .slot{flex-direction:column;gap:2px;padding:10px}#parc-demo .slot small{font-size:11px;font-weight:400;color:var(--p-muted)}#parc-demo .loading{padding:20px 0;font-size:13px;color:var(--p-muted)}#parc-demo .loading:before{content:'';display:inline-block;width:13px;height:13px;margin-right:8px;border:2px solid #d4e6e6;border-top-color:var(--p-teal);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#parc-demo :focus-visible{outline:2px solid var(--p-teal);outline-offset:3px}@media(max-width:480px){#parc-demo main{margin:16px auto;padding:0 12px}#parc-demo .booking-card{padding:0 16px 16px}#parc-demo #progress{margin:0 -16px 16px;padding:12px 16px}#parc-demo button.calendar-day{min-height:54px}.calendar-pad{min-width:0}}@media(prefers-reduced-motion:reduce){#parc-demo .loading:before{animation:none}}

#parc-demo #progress{display:flex;gap:24px;padding-bottom:0;color:var(--p-muted)}#parc-demo #progress[hidden]{display:none}#parc-demo #progress span{padding-bottom:12px;border-bottom:2px solid transparent;font-weight:500}#parc-demo #progress [aria-current=step]{border-color:var(--p-teal);color:var(--p-teal);font-weight:600}#parc-demo .calendar-month{text-transform:none}

#parc-demo .booking-card{overflow:hidden}#parc-demo #ficha-heading{margin:0 -24px;padding:16px 24px}@media(max-width:480px){#parc-demo #ficha-heading{margin:0 -16px;padding:14px 16px}}

/* Shared-calendar booking: compact ficha, neutral dates, distinct loading states. */
#parc-demo main{max-width:640px}
#parc-demo main:has(.availability-layout){max-width:960px}
#parc-demo .availability-layout{display:grid;grid-template-columns:minmax(280px,1fr) minmax(240px,1fr);gap:24px}
#parc-demo .calendar-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
#parc-demo .calendar-top h2{font-size:18px;margin:0}
#parc-demo .calendar-top>span{font-size:11px;color:var(--p-muted)}
#parc-demo .calendar-month{font-size:13px;margin:0 0 12px;text-transform:none}
#parc-demo .weekdays{margin-bottom:5px;font-size:11px}
#parc-demo .booking-calendar{gap:4px}
#parc-demo button.calendar-day{position:relative;min-height:50px;padding:7px 2px;background:#fff;border:1px solid transparent;border-radius:7px;gap:5px;opacity:1}
#parc-demo .calendar-day strong{font-size:15px;font-weight:500}
#parc-demo .day-indicator{width:5px;height:5px;border-radius:50%;background:var(--availability)}
#parc-demo .high{--availability:#4d9c8b}
#parc-demo .low{--availability:#d6a447}
#parc-demo .none{--availability:#ca8c91}
#parc-demo .unknown{--availability:#b8c8ce}
#parc-demo .calendar-day.none{color:#8c9a9f;cursor:default;background:#f8fafb}
#parc-demo .calendar-day.unknown .day-indicator{background:transparent;border:1px solid #b8c8ce}
#parc-demo .calendar-day[aria-pressed=true]{background:var(--p-teal);color:#fff;outline:0;border-color:var(--p-teal)}
#parc-demo .calendar-day[aria-pressed=true] .day-indicator{background:#fff;border-color:#fff}
#parc-demo .calendar-day:not(:disabled):hover{border-color:var(--p-teal);box-shadow:none}
#parc-demo .booking-calendar[aria-busy=true] .calendar-day{background:#f0f5f5;animation:calendar-pulse 1.4s ease-in-out infinite;cursor:wait}
#parc-demo .calendar-status{min-height:30px;font-size:11px;color:var(--p-muted);margin-top:10px;line-height:1.5}
#parc-demo .calendar-status .loading{padding:0;font-size:11px}
#parc-demo .calendar-status button{border:0;padding:0 4px;font-size:11px;text-decoration:underline}
#parc-demo .calendar-legend{margin:5px 0 0;gap:12px;font-size:10px}
#parc-demo .calendar-legend span:before{width:5px;height:5px;border-radius:50%}
#parc-demo .time-pane{border-left:1px solid var(--p-line);padding-left:24px;min-height:260px}
#parc-demo .time-pane h3{font-size:15px;margin:0 0 16px}
#parc-demo .time-pane h4{font-size:11px;color:var(--p-muted);font-weight:500;margin:16px 0 7px}
#parc-demo .time-placeholder{display:flex;align-items:center;justify-content:center;min-height:230px;font-size:13px;color:var(--p-muted);text-align:center;padding:0 15px}
#parc-demo .slots{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
#parc-demo button.slot{padding:10px 4px;font-size:14px;border-color:#d4e1e4;font-weight:600;min-height:42px}
#parc-demo button.slot:hover{background:#eaf4f4;border-color:var(--p-teal)}
#parc-demo .slot-error{font-size:13px;line-height:1.5;color:#a13c2a;border-left:3px solid #b44732;background:#fff2ee;padding:10px 12px;margin-bottom:12px;border-radius:5px}
#parc-demo .ficha-placeholder img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
@keyframes calendar-pulse{50%{opacity:.5}}
@media(max-width:640px){#parc-demo .availability-layout{grid-template-columns:1fr;gap:18px}#parc-demo .time-pane{border-left:0;border-top:1px solid var(--p-line);padding:16px 0 0;min-height:100px}#parc-demo .time-placeholder{min-height:60px}#parc-demo button.calendar-day{min-height:46px}}
@media(prefers-reduced-motion:reduce){#parc-demo .booking-calendar[aria-busy=true] .calendar-day{animation:none}}

#parc-demo .calendar-month::first-letter{text-transform:uppercase}

/* Availability is a full-cell signal; past and unconfirmed are separate states. */
#parc-demo .month-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}
#parc-demo .month-navigation .calendar-month{margin:0;text-align:center;font-size:14px}
#parc-demo .month-navigation button{width:36px;min-height:36px;padding:0;font-size:24px;line-height:1;border:0}
#parc-demo .month-navigation button:disabled{cursor:default;opacity:.3}
#parc-demo button.calendar-day{background:#edf1f3;min-height:48px}
#parc-demo button.calendar-day.high{background:#cee9e2}
#parc-demo button.calendar-day.low{background:#f4dfad}
#parc-demo button.calendar-day.none{background:#efc2c5;color:var(--p-ink)}
#parc-demo button.calendar-day.unknown{background:#edf1f3;color:var(--p-muted)}
#parc-demo button.calendar-day.past,#parc-demo button.calendar-day.outside{background:transparent;color:#a6b2b6;cursor:default}
#parc-demo .calendar-day .day-indicator{display:none}
#parc-demo button.calendar-day[aria-pressed=true]{outline:2px solid var(--p-teal);outline-offset:1px;color:var(--p-ink);border-color:transparent}
#parc-demo .booking-calendar[aria-busy=true] button.calendar-day{background:#edf1f3}
#parc-demo .calendar-legend{gap:10px;flex-wrap:wrap}
#parc-demo .calendar-status:empty{display:none}

#parc-demo .booking-upcoming{margin-bottom:22px;padding-bottom:18px;border-bottom:1px solid var(--p-line)}
#parc-demo .booking-upcoming[hidden]{display:none}
#parc-demo .booking-upcoming h2{font-size:16px;margin-bottom:8px}
#parc-demo .upcoming-appointment{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid #edf1f3}
#parc-demo .upcoming-appointment:last-child{border-bottom:0;padding-bottom:0}
#parc-demo .upcoming-appointment strong{font-size:14px;font-weight:600}
#parc-demo .upcoming-appointment p{font-size:13px;margin:4px 0;color:var(--p-ink)}
#parc-demo .upcoming-appointment small{font-size:12px;color:var(--p-muted)}
#parc-demo .appointment-actions{display:flex;gap:14px;flex-shrink:0;font-size:12px}
#parc-demo .appointment-actions a{color:var(--p-teal);text-decoration:underline;text-underline-offset:3px}
#parc-demo .booking-review{border:1px solid var(--p-line);border-radius:9px;padding:0 16px;margin:12px 0}
#parc-demo .booking-review dl{margin:0}
#parc-demo .booking-review dl>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:16px;padding:12px 0;border-bottom:1px solid #edf1f3}
#parc-demo .booking-review dl>div:last-child{border-bottom:0}
#parc-demo .booking-review dt{font-size:13px;color:var(--p-muted)}
#parc-demo .booking-review dd{font-size:14px;margin:0;font-weight:500;line-height:1.4;overflow-wrap:anywhere}
@media(max-width:480px){#parc-demo #progress{gap:19px;font-size:12px}#parc-demo .upcoming-appointment{align-items:flex-start}#parc-demo .appointment-actions{flex-direction:column;gap:8px}#parc-demo .booking-review dl>div{grid-template-columns:72px minmax(0,1fr);gap:10px}}
#parc-demo button.back-button{display:inline-flex;gap:8px;align-items:center;padding:9px 14px;border:1px solid #c5d5da;border-radius:7px;background:#fff;color:var(--p-teal);font-weight:600;margin-top:18px;min-height:40px}
#parc-demo button.back-button:hover{background:#edf5f4;border-color:var(--p-teal)}
#parc-demo .back-button svg{display:block;width:17px;height:17px;flex:none}
#parc-demo button.back-button{line-height:1.25}
#parc-demo .slot:disabled{cursor:wait}

#parc-demo .booking-section-heading h2{display:flex;align-items:center;gap:9px;margin:0;font-size:16px;font-weight:600;line-height:1.4;letter-spacing:0;color:var(--p-ink)}
#parc-demo .booking-section-heading h2 svg{display:block;width:18px;height:18px;flex:none;color:var(--p-teal)}
#parc-demo .booking-section-heading{padding-bottom:10px}
body.mi-booking-embedded #parc-demo{min-height:100dvh;background:#fff}
body.mi-booking-embedded #parc-demo header,body.mi-booking-embedded #parc-demo .footer{display:none}
body.mi-booking-embedded #parc-demo main{max-width:none;padding:0;margin:0}
body.mi-booking-embedded #parc-demo .booking-card{border:0;border-radius:0;padding-bottom:20px}

/* Public welcome: the same compact ficha hierarchy as Mi, before identity. */
#parc-demo .booking-card:has(.booking-welcome){padding:0}
#parc-demo .booking-welcome{padding:24px 24px 20px;border-bottom:1px solid var(--p-line);background:linear-gradient(115deg,#eff7f6,#fff 85%)}
#parc-demo .welcome-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;background:#dfefed;color:var(--p-teal);border-radius:12px;margin-bottom:12px}
#parc-demo .welcome-icon svg{width:24px;height:24px}
#parc-demo .booking-welcome h2{margin:0 0 8px;font-size:24px;letter-spacing:-.6px}
#parc-demo .booking-welcome p,#parc-demo #phone-help{font-size:13px;line-height:1.55;color:var(--p-muted);margin:0;max-width:48ch}
#parc-demo .welcome-steps{display:flex;flex-wrap:wrap;gap:10px 20px;list-style:none;padding:0;margin:18px 0 0;font-size:11px;color:var(--p-muted)}
#parc-demo .welcome-steps li{display:flex;align-items:center;gap:6px}
#parc-demo .welcome-steps span{display:inline-flex;align-items:center;justify-content:center;width:21px;height:21px;border:1px solid #ccdeda;border-radius:50%;font-size:10px;color:var(--p-teal);background:#fff}
#parc-demo .booking-start{padding:20px 24px 24px}
#parc-demo .booking-start label{margin:0 0 5px;font-size:14px}
#parc-demo #phone-help{margin-bottom:12px}
#parc-demo .booking-start input{min-height:44px}
#parc-demo .booking-start .primary{justify-content:space-between;margin-top:14px;min-height:44px}
#parc-demo .booking-start button svg{width:18px;height:18px}
@media(max-width:480px){#parc-demo .booking-welcome{padding:20px 18px 18px}#parc-demo .booking-start{padding:18px}#parc-demo .booking-welcome h2{font-size:23px}#parc-demo .welcome-steps{gap:10px 14px}}

/* One accessible OTP field supports paste and mobile code autofill. */
#parc-demo main:has(.verification-body){max-width:480px}
#parc-demo .verification-body{padding:20px 24px 24px}
#parc-demo .verification-body label{margin:0 0 10px}
#parc-demo .verification-body #code{display:block;width:230px;max-width:100%;height:54px;padding:10px 12px;text-align:center;font-size:25px;letter-spacing:.28em;font-variant-numeric:tabular-nums}
#parc-demo .verification-body #code::placeholder{color:#b1c2c6;opacity:1}
#parc-demo .verification-body .primary{min-height:44px;justify-content:space-between;margin-top:16px}
#parc-demo .verification-body button svg{width:18px;height:18px;flex:none}
#parc-demo .verification-back{margin-top:12px;font-size:12px;min-height:40px}
@media(max-width:480px){#parc-demo .verification-body{padding:18px}}

#parc-demo .appointment-actions a.button{text-decoration:none;font-size:12px;padding:8px 12px;min-height:36px;box-sizing:border-box}
#parc-demo .appointment-actions{gap:8px}
@media(max-width:480px){#parc-demo .upcoming-appointment{flex-wrap:wrap}#parc-demo .appointment-actions{flex-direction:row}}

/* Unified compact wizard surfaces: details, review, result and recovery. */
#parc-demo #step>.booking-section-heading{margin-bottom:14px}
#parc-demo #identity-form label{margin-top:10px}
#parc-demo #identity-form input,#parc-demo #identity-form select{min-height:42px;font-size:14px}
#parc-demo #identity-form textarea{min-height:72px;font-size:14px}
#parc-demo #step button.primary{min-height:42px;justify-content:space-between;gap:10px}
#parc-demo #step button.primary svg{width:17px;height:17px;flex:none}
#parc-demo .booking-review{margin:12px 0 14px;padding:0 14px;background:#f8fbfa}
#parc-demo .booking-review dl>div{padding:9px 0;gap:12px}
#parc-demo .booking-review dd{font-size:13px;line-height:1.5}
#parc-demo .booking-note{font-size:13px;line-height:1.5;color:var(--p-muted);margin:10px 0}
#parc-demo #confirm-form+.back-button{margin-top:10px}
#parc-demo .booking-status{padding:22px 0 8px}
#parc-demo .status-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:#e2f1ed;color:var(--p-teal);margin-bottom:12px}
#parc-demo .status-icon svg{width:24px;height:24px}
#parc-demo .status-icon.alert{background:#fff0e9;color:#aa4931}
#parc-demo .status-icon.clock{background:#f8efd9;color:#856125}
#parc-demo .booking-status h2{font-size:21px;margin:0 0 7px}
#parc-demo .booking-status p{font-size:13px;line-height:1.6;color:var(--p-muted);margin:0;max-width:48ch}
#parc-demo .booking-result-detail{display:flex;align-items:center;gap:12px;border:1px solid var(--p-line);border-radius:9px;background:#f5faf8;padding:12px 14px;margin:8px 0 14px;font-size:13px}
#parc-demo .booking-result-detail svg{width:21px;height:21px;color:var(--p-teal);flex:none}
#parc-demo .booking-result-detail strong{display:block;margin-top:3px;font-size:17px;color:var(--p-teal)}
#parc-demo #notice{font-size:13px;line-height:1.5}
#parc-demo main:has(.booking-status){max-width:480px}
#parc-demo .booking-upcoming{margin-bottom:16px;padding-bottom:14px}
#parc-demo .booking-review+form .primary{margin-top:0}
#parc-demo .verification-body .primary{margin-top:16px}
/* Centre each loader in its own panel without shifting other content. */
#parc-demo .loading{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;box-sizing:border-box;text-align:center}
#parc-demo .loading:before{flex:none;margin-right:0}
#parc-demo #step>.loading{min-height:120px;padding:24px 12px}
#parc-demo .calendar-status .loading{min-height:24px;padding:0}
#parc-demo .time-pane>.loading{min-height:100px}

#parc-demo .verification-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
#parc-demo .verification-actions .back-button{margin:0;font-size:12px;min-height:40px}
#parc-demo .verification-body #notice,#parc-demo .booking-start #notice{margin:0 0 14px}

/* Brand geometry comes from portal.css on both entry routes. */
#parc-demo .brand>a{display:flex;align-items:center}
