.directory-loading #kiosk { visibility: hidden; }
.is-api-directory .coe-banner { display: none; }
.directory-state { position: fixed; inset: 0; z-index: 10000; display: grid; place-content: center; justify-items: center; gap: 24px; padding: 32px; text-align: center; background: #031432; color: #fff; font-family: Poppins, sans-serif; }
.directory-state[hidden] { display: none; }
.directory-state img { width: 180px; }
.directory-state p { max-width: 540px; line-height: 1.6; font-size: 20px; }
.directory-state a, .directory-state button { font: inherit; padding: 14px 24px; border: 1px solid #c1a47e; border-radius: 12px; color: #fff; background: transparent; text-decoration: none; cursor: pointer; }
.directory-state button[hidden], [data-hospital-navigation][hidden] { display: none; }
/* Hide the retired notice even if an older page is still cached. */
.directory-status { display: none !important; }
.directory-empty { padding: 35px; line-height: 1.6; color: #334155; }
#sheet-intro[hidden] { display: none; }
.sheet .compact-directory .sheet-filters { margin-top: 0; }

/* A single hospital identity/switch control, beside the brand on desktop and
   spanning the next header row on phones. The entire row is the tap target. */
.hospital-home { display: flex; align-items: center; gap: 18px; min-height: 72px; max-width: 790px; padding: 14px 22px; border: 1px solid #b7c5d826; border-radius: 16px; background: #ffffff04; color: #f1f4f9; font: 500 21px/1.4 var(--font-body); text-decoration: none; transition: background .2s, border-color .2s; }
.hospital-home-icon { width: 28px; height: 28px; color: #cbb18f; flex-shrink: 0; }
.hospital-home-name { min-width: 0; overflow-wrap: anywhere; }
.hospital-home-action { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: auto; padding-left: 20px; border-left: 1px solid #b7c5d826; color: #d7bc96; font-size: 17px; white-space: nowrap; }
.hospital-home-action svg { width: 18px; height: 18px; flex-shrink: 0; }
.hospital-home:hover { background: #ffffff09; border-color: #c7ac8880; }
.hospital-home:focus-visible { outline: 3px solid #f1d5ac; outline-offset: 5px; }
body.has-hospital-navigation .topbar-hospital { display: none; }
body.has-hospital-navigation .topbar-brand { min-width: 0; }
body.has-hospital-navigation .topbar-right { flex-shrink: 0; }
body.has-hospital-navigation:not(.is-desktop) .topbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 24px; flex: 0 0 auto; padding: 22px 56px 24px; }
body.has-hospital-navigation:not(.is-desktop) .topbar-brand { display: contents; }
body.has-hospital-navigation:not(.is-desktop) .topbar-logo { grid-column: 1; grid-row: 1; }
body.has-hospital-navigation:not(.is-desktop) .topbar-divider { display: none; }
body.has-hospital-navigation:not(.is-desktop) .topbar-right { grid-column: 2; grid-row: 1; }
body.has-hospital-navigation:not(.is-desktop) .hospital-home { grid-column: 1 / -1; grid-row: 2; max-width: none; width: 100%; }
body.has-hospital-navigation.is-phone .topbar { padding: 22px 44px 24px; gap: 18px; }
body.has-hospital-navigation.is-phone .topbar-logo { height: 66px; }
body.has-hospital-navigation.is-phone .topbar-tagline { display: none; }
body.has-hospital-navigation.is-phone .lang-trigger { min-height: 122px; min-width: 152px; height: auto; }
body.has-hospital-navigation.is-phone .lang-current { font-size: 32px; }
body.has-hospital-navigation.is-phone .lang-globe { width: 36px; height: 36px; }
body.is-phone .hospital-home { min-height: 132px; padding: 22px 26px; gap: 22px; border-radius: 22px; }
body.is-phone .hospital-home-name { font-size: 34px; line-height: 1.3; }
body.is-phone .hospital-home-icon { width: 42px; height: 42px; }
body.is-phone .hospital-home-action { font-size: 29px; padding-left: 20px; gap: 8px; }
body.is-phone .hospital-home-action svg { width: 26px; height: 26px; }
body.has-hospital-navigation.is-phone .sheet { top: max(16%, 332px); }

/* Browser and app appointment actions share profiles, without kiosk-only controls. */
body[data-channel="web"], body[data-channel="app"] { -webkit-user-select: text; user-select: text; }
body[data-channel="web"] .attract, body[data-channel="app"] .attract,
body[data-channel="web"] .auto-return, body[data-channel="app"] .auto-return { display: none; }
.has-booking-action .profile-book-main { width: 100%; }
.booking-action { display: inline-flex; align-items: center; justify-content: center; min-height: 64px; margin-top: 22px; padding: 14px 26px; background: #e8c896; border: 2px solid transparent; border-radius: 12px; color: #031432; text-decoration: none; font: 600 23px/1.5 var(--font-body); text-align: center; }
.booking-action:hover { background: #f5dbb4; }.booking-action:focus-visible, .booking-alternative:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.booking-action:disabled { opacity: .7; cursor: progress; }
.booking-alternative { display: block; width: fit-content; margin-top: 18px; color: white; text-underline-offset: 5px; font-size: 19px; padding-block: 8px; }
.booking-contact, .booking-feedback { font-size: 18px; line-height: 1.7; margin-top: 18px; overflow-wrap: anywhere; }.booking-contact { color: #e0e6f0; }.booking-feedback { color: #ffe0aa; }
body.is-desktop .booking-action { min-height: 62px; font-size: 22px; }
body.is-phone .booking-action { width: 100%; min-height: 120px; font-size: 36px; padding: 22px; }
body.is-phone .booking-alternative { font-size: 32px; padding-block: 22px; }
body.is-phone .booking-contact, body.is-phone .booking-feedback, body.is-phone .has-booking-action .book-sub { font-size: 30px; }
body.is-phone .has-booking-action .book-eyebrow { font-size: 23px; letter-spacing: .06em; }
body[data-channel="app"] #kiosk { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
