/* Shared public account entry: ordinary navigation links, no additional step. */
.login-switch { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem; margin:0 0 1.15rem; }
.login-switch__item { display:flex; flex-direction:column; justify-content:center; gap:.3rem; min-width:0; min-height:5.25rem; padding:.9rem; border:1px solid #bba9a5; border-radius:1rem; background:#fff; color:#493532; text-decoration:none; line-height:1.4; overflow-wrap:anywhere; }
.login-switch__item strong { font-size:1rem; }
.login-switch__item span { font-size:.8rem; font-weight:400; }
.login-switch__item:hover { background:#fff3f1; border-color:#af101a; }
.login-switch__item[aria-current="page"] { background:#fff1ef; border:2px solid #af101a; color:#7f1520; }
.login-switch__item:focus-visible, .account-entry-note a:focus-visible, .account-entry-header a:focus-visible { outline:3px solid #af101a; outline-offset:3px; }
.account-entry-note { margin:0; padding:1rem; border:1px solid #dcc9c3; border-radius:1rem; background:#fffaf7; color:#493532; font-size:.9rem; line-height:1.65; }
.account-entry-note a { color:#941522; font-weight:700; text-underline-offset:.2em; }
.account-entry-note p { margin:0 0 .4rem; }
.account-entry-note nav { display:flex; flex-wrap:wrap; gap:.5rem 1rem; }
.account-entry-header { position:relative; z-index:30; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.75rem 1.25rem; width:min(1160px,calc(100% - 2rem)); min-height:5rem; margin:auto; padding:.65rem 0; }
.account-entry-header .account-entry-brand { display:flex; align-items:center; flex:0 0 auto; min-height:44px; }
.account-entry-header .account-entry-brand img { display:block; width:150px; height:48px; object-fit:contain; }
.account-entry-header nav { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:.5rem 1rem; margin-left:auto; }
.account-entry-header nav a { display:inline-flex; align-items:center; min-height:44px; color:#493532; font-size:.9rem; font-weight:700; text-decoration:none; }
.account-entry-header nav a:hover { color:#941522; text-decoration:underline; }
.account-entry-header .auth-locale { position:relative; inset:auto; margin:0; flex:0 0 44px; }
.trial-disclosure { color:#493532; font-size:.9rem; line-height:1.65; }
.trial-disclosure p { margin:.5rem 0; }
.trial-disclosure strong { color:#7f1520; }
.trial-disclosure--panel { padding:1rem 1.25rem; border:1px solid #dcc9c3; border-radius:1rem; background:#fffaf7; max-width:58rem; margin:1.25rem auto; text-align:left; }
.tenant-code-help { grid-column:1/-1; margin:0; color:#594743; font-size:.85rem; line-height:1.6; }
.customer-operator-entry { margin-top:1.5rem; }
body.public-shell:not(.public-shell--tenant-booking) .site-header-shell { grid-template-columns:auto minmax(0,1fr); gap:.65rem; }
body.public-shell:not(.public-shell--tenant-booking) .site-header-shell > div:nth-child(2) { display:none; }
body.public-shell:not(.public-shell--tenant-booking) .site-brand { width:9rem; }
body.public-shell:not(.public-shell--tenant-booking) .site-header-actions { min-width:0; gap:.65rem; }
body.public-shell:not(.public-shell--tenant-booking) .site-main-links { display:flex !important; align-items:center; gap:.15rem; }
body.public-shell:not(.public-shell--tenant-booking) .site-main-links .site-nav-link { padding:0 .65rem; font-size:.82rem; white-space:nowrap; }
body.public-shell:not(.public-shell--tenant-booking) .site-main-links .site-nav-cta { padding:0 .8rem; white-space:nowrap; }
@media(max-width:1399px) {
  body.public-shell:not(.public-shell--tenant-booking) .site-main-links .site-nav-information { display:none; }
  body.public-shell:not(.public-shell--tenant-booking) #mobile-menu-btn { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; flex:0 0 44px; position:relative; z-index:90; }
  body.public-shell:not(.public-shell--tenant-booking) #mobile-menu { position:fixed; inset:calc(var(--public-header-height,80px) + 8px) 12px auto; z-index:40; display:block; width:auto; max-width:26rem; max-height:calc(100vh - var(--public-header-height,80px) - 20px); max-height:calc(100dvh - var(--public-header-height,80px) - 20px); margin-left:auto; padding:0; overflow:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; border:1px solid #eadfda; border-radius:1rem; background:#fff; box-shadow:0 16px 40px rgba(91,64,61,.16); visibility:hidden; pointer-events:none; transform:none !important; }
  body.public-shell:not(.public-shell--tenant-booking) #mobile-menu.is-open { visibility:visible; pointer-events:auto; }
  body.public-shell:not(.public-shell--tenant-booking) .mobile-menu-inner { display:grid; gap:4px; padding:12px; }
  body.public-shell:not(.public-shell--tenant-booking) .mobile-menu-inner hr { margin:6px 0; border:0; border-top:1px solid #eadfda; }
}
@media(max-width:1023px) {
  body.public-shell:not(.public-shell--tenant-booking) > nav { height:auto; min-height:80px; }
  body.public-shell:not(.public-shell--tenant-booking) .site-header-shell { grid-template-columns:minmax(0,1fr) auto auto; gap:.25rem .6rem; padding:.4rem 0; }
  body.public-shell:not(.public-shell--tenant-booking) .site-brand { height:48px; }
  body.public-shell:not(.public-shell--tenant-booking) .site-header-actions { display:contents; }
  body.public-shell:not(.public-shell--tenant-booking) .site-locale-chip { grid-column:2; grid-row:1; }
  body.public-shell:not(.public-shell--tenant-booking) #mobile-menu-btn { grid-column:3; grid-row:1; }
  body.public-shell:not(.public-shell--tenant-booking) .site-header-actions > .site-main-links.hidden { grid-column:1/-1; grid-row:2; width:100%; min-width:0; display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.4rem; }
  /* Override the shared header's nowrap rule even for long translated labels. */
  body.public-shell:not(.public-shell--tenant-booking) .site-header-actions .site-main-links .site-customer-link,
  body.public-shell:not(.public-shell--tenant-booking) .site-header-actions .site-main-links .site-account-link { display:flex !important; justify-content:center; min-width:0; min-height:44px; white-space:normal; overflow-wrap:anywhere; text-align:center; border:1px solid #dcc9c3; border-radius:.7rem; background:#fffaf7; font-size:.78rem; line-height:1.25; padding:.45rem .4rem; }
  body.public-shell:not(.public-shell--tenant-booking) .site-main-links .site-nav-cta { display:none; }
  body.public-shell:not(.public-shell--tenant-booking) > main { padding-top:8rem; }
}
@media(max-width:720px) {
  .auth-story { display:none; }
  .account-entry-header nav { order:3; flex-basis:100%; margin:0; justify-content:space-between; gap:.25rem .75rem; }
  .account-entry-header nav a { font-size:.8rem; }
  .account-entry-header + .auth-shell { min-height:0; padding-top:.5rem; }
  .login-switch__item { padding:.7rem; }
}

/* One account shell for business, customer and password recovery screens. */
.account-entry-page > .account-entry-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: block;
  width: 100%;
  min-height: 80px;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #eadfda;
  background: #fff;
  box-shadow: 0 8px 24px rgba(91,64,61,.05);
}
.account-entry-page .account-entry-header [hidden] { display: none !important; }
.account-entry-page .auth-site-header-shell {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 16px;
  width: min(1280px,calc(100% - 32px));
  min-height: 80px;
  height: auto;
  margin: 0 auto;
}
.account-entry-page .auth-site-brand { display: flex; position: static; align-items: center; width: 150px; height: 48px; }
.account-entry-page .auth-site-brand img { display: block; position: static; width: 150px; height: 48px; object-fit: contain; transform: none; }
.account-entry-page .account-entry-header .auth-menu { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 0; margin: 0; min-width: 0; overflow: visible; }
.account-entry-page .account-entry-header .auth-menu a { min-height: 44px; padding: 8px; font-size: .8rem; line-height: 1.35; white-space: nowrap; }
.account-entry-page .auth-site-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; }
.account-entry-page .account-entry-header a { text-decoration: none; color: #493532; font-weight: 700; }
.account-entry-page .account-entry-header a:hover { color: #941522; }
.account-entry-page .account-entry-header .auth-register-link,
.account-entry-page .account-entry-header .auth-mobile-menu-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border-radius: 12px; background: #af101a; color: #fff; font-size: .85rem; line-height: 1.4; }
.account-entry-page .account-entry-header .auth-locale { position: relative; inset: auto; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; min-height: 44px; padding: 0; margin: 0; border: 2px solid #7f1d1d; border-radius: 50%; background: #fff; color: #7f1d1d; overflow: hidden; box-shadow: none; }
.account-entry-page .account-entry-header .auth-locale label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.account-entry-page .account-entry-header .auth-locale select { position: absolute; inset: 0; width: 100%; height: 100%; min-width: 0; padding: 0; margin: 0; opacity: 0; cursor: pointer; }
.account-entry-page .account-entry-header .auth-locale svg { width: 22px; height: 22px; pointer-events: none; }
.account-entry-page .auth-mobile-menu-button { display: none; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 10px; border: 1px solid #dcc9c3; border-radius: 12px; background: #fff; color: #493532; cursor: pointer; }
.account-entry-page .auth-mobile-menu-button svg { width: 24px; height: 24px; }
.account-entry-page .account-entry-header .auth-mobile-menu { position: absolute; inset: 100% 0 auto; z-index: 61; display: block; width: 100%; max-height: calc(100dvh - 80px); margin: 0; padding: 12px 16px 20px; overflow-y: auto; overscroll-behavior: contain; background: #fff; box-shadow: 0 14px 24px rgba(91,64,61,.1); visibility: visible; pointer-events: auto; transform: none; }
.account-entry-page .auth-mobile-menu-inner { display: grid; gap: 4px; width: min(100%,42rem); margin: 0 auto; padding: 0; }
.account-entry-page .account-entry-header .auth-mobile-menu a { display: flex; align-items: center; min-height: 44px; padding: 10px 14px; border-radius: 10px; font-size: .95rem; line-height: 1.45; }
.account-entry-page .account-entry-header a:focus-visible,
.account-entry-page .auth-mobile-menu-button:focus-visible,
.account-entry-page .auth-locale:focus-within { outline: 3px solid rgba(175,16,26,.35); outline-offset: 3px; }
.account-entry-page .auth-shell { min-height: calc(100svh - 80px); padding: 1.5rem 1rem; }
.account-entry-page .auth-title,
.account-entry-page .story-title,
.account-entry-page .hero h1 { letter-spacing: -.02em; line-height: 1.12; }
.account-entry-page .auth-subtitle a { color: #941522; font-weight: 700; text-underline-offset: .2em; }
.account-entry-page .field-link { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 0 6px 8px; font-size: .875rem; line-height: 1.4; }
.account-entry-page .login-alert { margin: 0 0 1rem; }
.account-entry-page .login-alert--success { color: #166534; background: #f0fdf4; border: 1px solid #86efac; }
.account-entry-page--register .auth-frame { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); }
.account-entry-page--register .auth-story { justify-content: center; gap: 1.75rem; }
.account-entry-page--register .story-title { font-size: clamp(2.3rem,3vw,2.8rem); }
.account-entry-page--register .auth-panel { padding: 1.5rem; }
.account-entry-page--register .auth-card { gap: 1rem; }
.account-entry-page--register .auth-card-top { gap: .4rem; }
.account-entry-page--register .auth-card-top .trial-disclosure { font-size: .85rem; line-height: 1.5; }
.account-entry-page--register .trial-disclosure p { margin: .25rem 0 0; }
.account-entry-page--register .auth-card-box { padding: 1rem; }
.account-entry-page--register .field-row { margin-bottom: .75rem; }
.account-entry-page--register .field-input { min-height: 48px; }
.account-entry-page--register .password-policy { gap: .15rem; margin-top: .4rem; padding: 0; border: 0; background: none; font-size: .8rem; line-height: 1.45; }
.account-entry-page--register .password-policy strong { display: none; }
.account-entry-page--register .legal-consent { margin: .65rem 0; padding: 0; border: 0; background: none; font-size: .82rem; line-height: 1.5; }
.account-entry-page--register #registration-optional-emails { margin: .75rem 0 !important; }
.account-entry-page--register #registration-optional-emails .auth-subtitle { font-size: .78rem; line-height: 1.5; }
.account-entry-page--register .account-entry-note { padding: .75rem; font-size: .85rem; }
@media (max-width:1399px) {
  .account-entry-page .auth-site-header-shell { grid-template-columns: minmax(0,1fr) auto; }
  .account-entry-page .account-entry-header .auth-menu { display: none; }
  .account-entry-page .auth-mobile-menu-button { display: inline-flex; }
}
@media (max-width:1040px) {
  .account-entry-page .auth-story { display: none; }
  .account-entry-page .auth-frame { grid-template-columns: minmax(0,1fr); max-width: 640px; }
}
@media (max-width:600px) {
  .account-entry-page .account-entry-header .auth-register-link { display: none; }
  .account-entry-page .auth-site-header-shell { gap: 8px; }
  .account-entry-page .auth-site-brand,
  .account-entry-page .auth-site-brand img { width: 136px; }
  .account-entry-page .auth-shell { padding: 1rem .75rem; }
  .account-entry-page--register .auth-panel { padding: 1rem; }
}
@media (max-width:359px) {
  .account-entry-page .login-switch { grid-template-columns: minmax(0,1fr); }
  .account-entry-page .login-switch__item { min-height: 0; padding: .7rem; overflow-wrap: normal; }
}
