/* Supa public pages and the shared mobile dock. */
.sx-icon{display:inline-block;flex:none;vertical-align:middle}
.sx-home-header{position:sticky;top:0;z-index:1020;background:#fff;border-bottom:1px solid #d7e0e5;transition:transform .2s}
.sx-home-header.is-scroll-hidden{transform:translateY(-102%);pointer-events:none}
.sx-home-inner{max-width:1150px;padding:9px clamp(16px,4vw,36px);margin:auto;min-height:62px;display:flex;align-items:center;gap:12px}
.sx-home-inner a{color:#132f38!important;text-decoration:none}
.sx-home-inner .sx-wordmark{font-size:1.85rem;font-weight:800;letter-spacing:-.07em;line-height:1}
.sx-wordmark span{color:#00865b!important}
.sx-avatar-link,.sx-scan{display:inline-grid;place-items:center;min-width:44px;min-height:44px;border-radius:50%}
.sx-scan{margin-left:auto;background:#edf5f2}
.sx-desktop-links{display:flex;align-items:center;gap:24px;margin-left:auto;font-size:.9rem;font-weight:650}
.sx-desktop-links+.sx-scan{margin-left:8px}
.sx-avatar{width:68px;height:68px;display:inline-grid;place-items:center;overflow:hidden;background:#dff2e9;color:#154e42!important;border:1px solid #bbd9cc;border-radius:50%;flex:none}
.sx-avatar img{width:100%;height:100%;object-fit:cover}
.sx-avatar svg{width:52%;height:52%}
.sx-avatar-small{width:42px;height:42px}
.sx-dock{display:none}
html body .supa-host-cta{display:flex;align-items:center;justify-content:center;gap:10px;padding:14px 16px;margin:18px 0 8px;border:1px solid #83ac9f;border-radius:12px;background:#e3f5ed;color:#123e33!important;font-size:.9rem;font-weight:700;line-height:1.4;text-decoration:none;text-align:center}
.supa-host-cta svg{width:18px;flex:none}
html body .supa-host-cta:hover{background:#d1ecdf}
@media(max-width:991.98px){
  .sx-desktop-links{display:none}.sx-home-inner .sx-scan{margin-left:auto}
  body.sx-with-dock,body:has(.sx-dock){padding-bottom:calc(94px + env(safe-area-inset-bottom,0px))!important}
  body.sx-with-dock .pwa-bottom,body:has(.sx-dock) .pwa-bottom,body.sx-with-dock .sheet,body.sx-with-dock .sheet-overlay{display:none!important}
  nav.sx-dock{position:fixed;z-index:1300;left:50%;bottom:calc(11px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);display:flex;align-items:center;justify-content:space-between;gap:2px;padding:6px 8px;width:min(84%,380px);min-width:min(255px,94%);border:1px solid #ffffffbd;border-radius:100px;background:linear-gradient(105deg,rgba(193,222,206,.97),rgba(255,192,154,.97));box-shadow:0 5px 22px #172c392d;backdrop-filter:blur(14px);transition:transform .22s,opacity .22s}
  /* Keep dock pinned; legacy scripts must not hide it during scroll. */
  nav.sx-dock.sx-dock-hidden{transform:translateX(-50%)!important;opacity:1!important;pointer-events:auto!important}
  html body nav.sx-dock .sx-dock-link{display:grid;place-content:center;justify-items:center;width:46px;height:46px;line-height:1;border-radius:50%;color:#112b27!important;text-decoration:none;flex:0 1 46px}
  .sx-dock-link svg{width:23px;height:23px}
  html body nav.sx-dock [aria-current=page]{background:#101816;color:#fff!important}
  html body nav.sx-dock .sx-dock-ai{background:#e6fff5;border:1px solid #32795e;color:#0f4e38!important;gap:0}
  .sx-dock-ai span{font-size:10px;font-weight:800;letter-spacing:.06em}.sx-dock-ai svg{width:19px;height:19px}
  html body nav.sx-dock .sx-dock-ai[aria-current=page]{background:#113f30;color:#fff!important}
}
@media(prefers-reduced-motion:reduce){nav.sx-dock,.sx-home-header{transition:none}}
@media print{.sx-dock,.sx-home-header{display:none!important}}
.sx{max-width:960px;margin:0 auto 32px;line-height:1.5;color:#172e39}
.sx-narrow{max-width:650px}
.sx h1{font-size:clamp(1.75rem,4vw,2.55rem);letter-spacing:-.045em;line-height:1.12;margin:8px 0 20px}
.sx h2,.sx-section-title{font-size:1.15rem;font-weight:750;letter-spacing:-.025em;margin:0 0 12px}
.sx h3{font-size:1rem;font-weight:700}
.sx p{margin:.55rem 0 .85rem}
html body .sx .sx-muted,.sx small{color:#4b606a!important}
.sx-card{padding:clamp(18px,3vw,30px);margin-bottom:16px;background:#fff;border:1px solid #d6e1e6;border-radius:22px;box-shadow:0 4px 16px #12322607}
.sx-card>:last-child{margin-bottom:0}
.sx-back{display:inline-flex;align-items:center;min-height:42px;font-size:.88rem;font-weight:650;margin-bottom:8px}
html body .sx a,.sx-back{color:#175778!important}
.sx-form{display:grid;gap:15px}.sx-form label,.sx legend{font-size:.9rem;font-weight:650}.sx legend{float:none;width:auto;margin:0 0 7px}
.sx-form label>input:not([type=checkbox]),.sx-form select,.sx-form textarea,.sx-search{display:block;width:100%;border-radius:10px;border:1px solid #aebec9;padding:11px 12px;margin-top:5px;font:inherit;font-weight:400}
.sx-options,.sx-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px}
.sx-options label{padding:7px 11px;border-radius:9px;border:1px solid #d4dfe2;display:flex;align-items:center;gap:6px}
html body .sx-button,html body .sx a.sx-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #153b45;border-radius:11px;min-height:44px;padding:9px 16px;background:#153b45;color:#fff!important;font-weight:650;text-decoration:none}
html body .sx-secondary,html body .sx a.sx-secondary{background:#f3f8f7;color:#143d3b!important;border-color:#bfcece}
html body .sx-danger{background:#852c37;color:#fff!important;border-color:#852c37}
.sx-button:disabled{opacity:.56;cursor:not-allowed}.sx-form fieldset{min-width:0}
.sx-list-item,.sx-row,.sx-identity,.sx-title-row{display:flex;align-items:center;gap:12px;justify-content:space-between}
.sx-title-row{flex-wrap:wrap}.sx-list-item,.sx-row{padding:14px 0;border-bottom:1px solid #e2e9eb}
.sx-row:last-child,.sx-list-item:last-child{border-bottom:0}
html body .sx .sx-row{color:#14363d!important;font-weight:650;text-decoration:none}
.sx-row span,.sx-identity{display:flex;align-items:center;gap:13px}.sx-identity{justify-content:flex-start;flex-wrap:wrap}.sx-identity h1{margin:0 0 3px}
.sx-list-item>div{min-width:0;overflow-wrap:anywhere}.sx-list-item small,.sx-list-item strong{display:block}
.sx-stats,.sx-grid{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr))}
.sx-stats{display:flex;margin:18px 0;flex-wrap:wrap;gap:24px}.sx-stats strong,.sx-stats small{display:block}
.sx-grid .sx-button{width:100%}.sx-bio,.sx-message{white-space:pre-wrap;overflow-wrap:anywhere}
.sx-chat-line{max-width:85%;background:#eff4f5;border-radius:14px 14px 14px 3px;padding:10px 14px;margin:10px 0}.sx-chat-line.mine{margin-left:auto;background:#dff4e8;border-radius:14px 14px 3px 14px}
.sx-chat-line small{display:block;font-size:.72rem}
.sx-card details summary,.sx-card summary{cursor:pointer;font-weight:700}
.sx-card input:focus-visible,.sx-card textarea:focus-visible,.sx a:focus-visible,.sx button:focus-visible,.sx-home-inner a:focus-visible,.sx-dock a:focus-visible{outline:3px solid #236aab;outline-offset:3px}
.sx-status{display:inline-block;background:#edf4f6;border-radius:999px;padding:3px 9px;color:#244450;font-size:.76rem;font-weight:700}
.sx-aipanel{padding:18px;border-radius:16px;border:1px solid #94bbae;background:#f0f9f5}.sx-aipanel button{margin-top:8px}.sx-aipanel p{margin:8px 0}.sx-aipanel li{margin:5px 0}
.sx-notes{font-size:.85rem;color:#455e63}.sx-portrait{max-width:100%;border-radius:12px}.sx-bar-links{display:flex;flex-wrap:wrap;gap:16px;font-size:.86rem}.sx-card [hidden]{display:none!important}

.sx-flyer { margin: 1rem 0; padding: 1rem; color: #172d3d; background: #edf7f6; border: 1px solid #a6c9c6; border-radius: 1rem; }
.sx-flyer h3,.sx-flyer h4 { color: #102f42; font-size: 1.05rem; font-weight: 750; }
.sx-flyer p,.sx-flyer li { color: #2b4956; }
.sx-flyer p:empty { margin: 0; }
.sx-flyer [role=status]:not(:empty),#flyerQuestions:not(:empty),#flyerTiers:not([hidden]) { margin-top: .85rem; }
.sx-tier { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6rem; margin:.75rem 0; padding:.8rem; border:1px solid #a6c9c6; border-radius:.6rem; }
.sx-tier legend { float:none; width:auto; font-size:.95rem; font-weight:bold; }
.sx-tier input { display:block; width:100%; min-height:42px; border:1px solid #82979f; border-radius:.4rem; padding:.4rem; color:#142b39; background:white; }
.sx-tier button { justify-self:start; }

.sx-bar-links .sx-social{display:inline-grid;place-items:center;width:44px;height:44px;background:#eff6f4;border-radius:50%;border:1px solid #ceded7}

/* November 2026: PWA viewport and contact/booking polish. Manifest colors must match. */
html { min-height:100%; background:#061125; }
html, body { width:100%; margin:0; overscroll-behavior-y:contain; }
body.brand-gradient { min-height:100vh; min-height:100dvh; background-color:#061125; }
@media (display-mode:standalone) {
  html, body { min-height:100dvh; }
  .supa-content { min-height:calc(100dvh - 100px); }
  body.sx-with-dock { padding-bottom:calc(105px + env(safe-area-inset-bottom,0px))!important; }
  nav.sx-dock { bottom:calc(12px + env(safe-area-inset-bottom,0px)); }
}
.su-share-actions { display:flex;flex-wrap:wrap;gap:8px;align-items:center; margin:12px 0 0; }
.su-share-actions button,.su-share-actions a { min-height:40px; }
.su-share-status { color:#164b43; font-size:.86rem; font-weight:650; }
.su-account-slider { overflow:hidden; }
.su-account-slider>[data-supa-account-view] { animation:suSlideIn .2s ease both; }
.su-account-slider>[data-supa-account-view][hidden] { display:none!important; }
@keyframes suSlideIn{ from{opacity:.65;transform:translateX(12px)}to{opacity:1;transform:translateX(0)} }
.su-ai-dialog { border:0;border-radius:22px;box-shadow:0 18px 70px #0006;max-width:min(420px,90vw);padding:24px; color:#102d40; }
.su-ai-dialog::backdrop { background:#06112599; }
.su-ai-dialog h2 { font-size:1.35rem;font-weight:800; }
.su-dm-app { max-width:760px;margin:0 auto;min-height:68dvh;display:flex;flex-direction:column;overflow:hidden;border-radius:22px;border:1px solid #d6e4e8;background:#f3f8f8;box-shadow:0 12px 30px #0001; }
.su-dm-header { display:flex;align-items:center;gap:12px;background:#fff;padding:14px 18px;border-bottom:1px solid #deebed;position:relative; }
.su-dm-header h1 { font-size:1.08rem;line-height:1.25;margin:0; }
.su-dm-header small { display:block;color:#506570; }
.su-dm-header .sx-avatar { width:43px;height:43px; }
.su-dm-header .su-dm-options { margin-left:auto; }
.su-dm-header .su-dm-options summary { list-style:none;border:1px solid #d1e0e4; background:#fff;cursor:pointer;padding:7px 12px;border-radius:10px; }
.su-dm-header .su-dm-options summary::-webkit-details-marker {display:none}
.su-dm-option-links { display:flex;flex-direction:column;gap:6px;position:absolute;right:10px;top:58px;background:white;border:1px solid #c9d8de;box-shadow:0 12px 20px #0002;z-index:4;border-radius:14px;padding:10px;min-width:150px; }
.su-dm-option-links a{padding:8px;color:#143944}
.su-dm-thread { flex:1;min-height:350px;display:flex;flex-direction:column;gap:11px;padding:18px 16px 24px; }
.su-dm-thread .sx-chat-line{max-width:min(82%,560px);width:fit-content;margin:0;box-shadow:0 2px 8px #0000000a;}
.su-dm-thread .sx-chat-line.mine{margin-left:auto}
.su-dm-compose { display:flex;gap:10px;align-items:end;background:#fff;padding:12px;position:sticky;bottom:0;border-top:1px solid #deeaeb; }
.su-dm-compose textarea {flex:1;min-width:0;resize:vertical;max-height:160px;min-height:47px;padding:12px;border:1px solid #b4c8cd;border-radius:15px;background:#f8fbfc;color:#183341}
.su-dm-compose button { min-height:47px; }
.su-chat-section-tabs {display:flex;gap:7px;align-items:center;margin-bottom:16px;}
.su-chat-section-tabs a {font-weight:700;padding:10px 17px;border-radius:999px;background:#e9f2f3;color:#183d46;text-decoration:none}
.su-chat-section-tabs a[aria-current=page] {background:#103e42;color:white}
.su-chat-inbox-item {display:flex;align-items:center;gap:12px;padding:15px 6px;border-bottom:1px solid #e3edef;color:#153f44!important;text-decoration:none}
.su-chat-inbox-item:last-child{border-bottom:0}
.su-chat-inbox-item .sx-avatar{width:47px;height:47px}
.su-chat-inbox-item small{display:block;color:#577078}
.su-chat-inbox-item>span:nth-child(2){flex:1;min-width:0}
.su-chat-inbox-item .su-last-msg{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:55ch}
.su-dm-app .sx-message{margin:0 0 4px}
.su-checkout-details[hidden]{display:none!important}
.su-checkout-details{padding:16px 0 0;border-top:1px solid #cddedc;animation:suSlideIn .22s ease both}
@media (prefers-reduced-motion:reduce){.su-account-slider>[data-supa-account-view],.su-checkout-details{animation:none}}

/* Ticket history is a focused, full-screen list with a back link instead of chrome. */
body.su-ticket-history-minimal > .su-site-header,
body.su-ticket-history-minimal > .sx-home-header,
body.su-ticket-history-minimal nav.sx-dock {display:none!important}
body.su-ticket-history-minimal {padding-bottom:env(safe-area-inset-bottom,0px)!important}

/* The full desktop header stays on wide screens. Mobile uses the fixed dock;
   only the homepage shows the special compact top bar. */
@media(max-width:991.98px){body:not(.su-home-page)>.su-site-header{display:none!important}}

/* Shell recovery: keep top home header and bottom dock stable even when the legacy scroll observer adds hidden classes. */
.sx-home-header.is-scroll-hidden,nav.su-site-header.is-scroll-hidden{transform:none!important;pointer-events:auto!important}
