/* R80O: two mobile actions; desktop contact controls retain their existing layout. */
:root { --ths-r80o-dock-height: calc(72px + env(safe-area-inset-bottom, 0px)); }
.ths-mobile-contact80o, .ths-mobile-contact-space80o, .ths-r80o-rail-head { display: none; }
@media (max-width: 767px) {
  html[data-ths-mobile-dock80o="ready"] .ths-mobile-contact80o {
    position: fixed; inset: auto 0 0; z-index: 95; display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    margin: 0; box-sizing: border-box; width: 100%; max-width: 100%;
    border-top: 1px solid #e0d2bc; background: #fffcf7;
    box-shadow: 0 -4px 22px #18334c12;
  }
  #ths-mobile-contact80o button {
    min-width: 0; min-height: 48px; display: flex; align-items: center; justify-content: center;
    gap: 8px; padding: 9px 10px; border: 1px solid #18334c; border-radius: 12px;
    box-sizing: border-box; cursor: pointer; text-transform: none; letter-spacing: normal;
    font: 600 clamp(12px, 3.4vw, 14px)/1.3 Arial, "Helvetica Neue", sans-serif;
    text-decoration: none; background: #18334c; color: #fff;
  }
  #ths-mobile-contact80o button[data-ths-dock80o="contact"] { background: #fffcf7; color: #18334c; border-color: #ac874c; }
  #ths-mobile-contact80o button:disabled { opacity: .55; cursor: default; }
  #ths-mobile-contact80o button:focus-visible { outline: 3px solid #ad8545; outline-offset: 2px; }
  #ths-mobile-contact80o button[aria-expanded="true"] { box-shadow: inset 0 0 0 1px currentColor; }
  #ths-mobile-contact80o svg { display: block; width: 20px; height: 20px; flex: 0 0 20px; }
  #ths-mobile-contact80o span { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
  html[data-ths-mobile-dock80o="ready"] .ths-mobile-contact-space80o { display: block; height: var(--ths-r80o-dock-height); }
  html[data-ths-mobile-dock80o="ready"] .rail-mobile-toggle,
  html[data-ths-mobile-dock80o="ready"] .chat-launch,
  html[data-ths-mobile-chat80o="ready"] #ths-concierge12 #ths-c12-launcher { display: none !important; }
  html[data-ths-mobile-dock80o="ready"] body .contact-rail {
    position: fixed; inset: auto 12px calc(var(--ths-r80o-dock-height) + 12px) auto;
    z-index: 94; display: none; transform: none;
    width: min(320px, calc(100vw - 24px)); max-width: calc(100vw - 24px);
    max-height: calc(100dvh - var(--ths-r80o-dock-height) - 40px);
    overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
    margin: 0; padding: 10px 14px; box-sizing: border-box; border-radius: 18px;
    border: 1px solid #dfd0b8; background: #fffcf7; box-shadow: 0 12px 35px #18334c20;
  }
  html[data-ths-mobile-dock80o="ready"] body .contact-rail.is-open { display: block; }
  html[data-ths-mobile-dock80o="ready"] .ths-r80o-rail-head {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding-bottom: 6px; border-bottom: 1px solid #e8ddcd; color: #18334c;
    font: 600 15px/1.4 Arial, "Helvetica Neue", sans-serif;
  }
  .ths-r80o-rail-head button { width: 44px; height: 44px; border: 0; background: transparent; color: #18334c; font-size: 26px; cursor: pointer; }
  html[data-ths-mobile-dock80o="ready"] .contact-rail .ths-hub79-links { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; }
  html[data-ths-mobile-dock80o="ready"] .contact-rail .ths-hub79-link {
    display: flex !important; align-items: center; justify-content: flex-start;
    min-height: 48px; width: 100%; max-width: 100%; gap: 12px; margin: 0; padding: 10px 4px;
    border: 0; border-bottom: 1px solid #e8ddcd; border-radius: 0; box-sizing: border-box;
    background: transparent !important; color: #18334c; text-decoration: none;
  }
  html[data-ths-mobile-dock80o="ready"] .contact-rail .ths-hub79-link:last-child { border-bottom: 0; }
  html[data-ths-mobile-dock80o="ready"] .contact-rail .ths-hub79-link > span { display: block !important; white-space: normal; overflow-wrap: anywhere; font: 500 14px/1.4 Arial, "Helvetica Neue", sans-serif; color: #18334c; }
  html[data-ths-mobile-dock80o="ready"] .contact-rail .ths-hub79-link img { flex: 0 0 24px; width: 24px; height: 24px; }
  html[data-ths-mobile-dock80o="ready"] .contact-rail .ths-hub79-link small { display: block; font-size: 12px; }
}
