/* Phone quick bar and booking sheet (build/templates/partials/quickbook.j2). Below 900px only: a navy capsule between the
   accessibility button (left) and the chat bubble (right) with Book a visit and Call; Book opens the sheet. */
.gts-qb,.gts-qs{display:none}
@media(max-width:899px){
/* Same centre line as the chat bubble (58 px, 20 px from the corner): the ADA button, this capsule and the bubble line up. */
.gts-qb{position:fixed;left:76px;right:90px;bottom:23px;z-index:9982;display:flex;align-items:center;gap:6px;height:52px;padding:4px;border-radius:999px;background:linear-gradient(135deg,#2E3F9C 0%,#28378B 55%,#1F2C75 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 0 0 1px rgba(255,255,255,.1),0 10px 24px rgba(19,26,64,.3);transition:transform .3s cubic-bezier(.22,1,.36,1),opacity .2s ease,visibility 0s}
.js .gts-qb{transform:translateY(160%);opacity:0;visibility:hidden;transition:transform .224s ease-in,opacity .15s ease-in,visibility 0s .224s}
.js.gts-qb-on .gts-qb{transform:none;opacity:1;visibility:visible;transition:transform .32s cubic-bezier(.22,1,.36,1),opacity .25s ease,visibility 0s}
html:has(chat-widget[data-active="true"]) .gts-qb,html:has(.gts-a11y.is-open) .gts-qb{visibility:hidden}
.gts-qb__book{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;gap:8px;height:44px;border-radius:999px;background:rgba(255,255,255,.14);box-shadow:inset 0 0 0 1px rgba(255,255,255,.16);color:#fff;font:600 15px/1 Inter,system-ui,sans-serif;text-decoration:none;white-space:nowrap;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.gts-qb__book svg{flex:none;width:21px;height:21px}
.gts-qb__call{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#fff;color:var(--gts-navy,#28378B);touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.gts-qb__call svg{width:20px;height:20px}
.gts-qb__book:active,.gts-qb__call:active{transform:scale(.97)}
.gts-qb a:focus-visible{outline:3px solid #fff;outline-offset:2px}
.gts-qb__call:focus-visible{outline-color:#9FB0FF}

.gts-qs{display:block;position:fixed;inset:auto 0 0 0;margin:0;padding:0;width:100%;max-width:none;max-height:92dvh;border:0;border-radius:20px 20px 0 0;background:#fff;color:#232730;box-shadow:0 -12px 40px rgba(19,26,64,.3);overflow:auto;overscroll-behavior:contain}
.gts-qs:not([open]){display:none}
.gts-qs::backdrop{background:rgba(19,26,64,.55)}
.gts-qs[open]{animation:gts-qs-in .32s cubic-bezier(.22,1,.36,1) both}
@keyframes gts-qs-in{from{transform:translateY(40px);opacity:0}}
.gts-qs__form{display:grid;gap:14px;padding:18px 18px calc(20px + env(safe-area-inset-bottom,0px));font:400 15px/1.45 Inter,system-ui,sans-serif}
.gts-qs__head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:4px solid var(--gts-red,#E41620);margin:-18px -18px 0;padding:16px 10px 0 18px;border-radius:20px 20px 0 0}
.gts-qs__title{margin:0;font:700 22px/1.15 Inter,system-ui,sans-serif;letter-spacing:-.02em;color:var(--gts-navy,#28378B)}
.gts-qs__x{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:#4A4D57;cursor:pointer}
.gts-qs__x svg{width:22px;height:22px}
.gts-qs__lead{margin:0;color:#4A4D57}
.gts-qs__field{display:grid;gap:6px}
.gts-qs__field label{font-weight:600;font-size:14px;color:#232730}
.gts-qs__field input,.gts-qs__field select{width:100%;min-height:48px;padding:10px 12px;border:1px solid #8A8FA3;border-radius:8px;background:#fff;font:400 16px/1.3 Inter,system-ui,sans-serif;color:#232730}
.gts-qs__field input:focus,.gts-qs__field select:focus{outline:3px solid var(--gts-navy,#28378B);outline-offset:1px;border-color:var(--gts-navy,#28378B)}
.gts-qs__field [aria-invalid="true"]{border-color:#B3261E}
.gts-qs__err{margin:0;font-size:13px;font-weight:600;color:#B3261E}
.gts-qs__consent{display:flex;gap:10px;align-items:flex-start;font-size:12.5px;line-height:1.45;color:#4A4D57}
.gts-qs__consent input{flex:none;width:22px;height:22px;margin:1px 0 0;accent-color:var(--gts-navy,#28378B)}
.gts-qs__consent a{color:var(--gts-navy,#28378B);text-decoration:underline}
.gts-qs__send{min-height:52px;border:0;border-radius:8px;background:var(--gts-navy,#28378B);color:#fff;font:700 16px/1 Inter,system-ui,sans-serif;cursor:pointer;touch-action:manipulation}
.gts-qs__send:disabled{opacity:.65}
.gts-qs__send:focus-visible,.gts-qs__x:focus-visible,.gts-qs__alt a:focus-visible{outline:3px solid var(--gts-red,#E41620);outline-offset:2px}
.gts-qs__status{margin:0;min-height:1em;font-size:14px;font-weight:600;color:#232730}
.gts-qs__status[data-state="error"]{color:#B3261E}
.gts-qs__alt{margin:0;text-align:center}
.gts-qs__alt a{display:inline-block;padding:10px 6px;font-weight:700;color:var(--gts-navy,#28378B);text-decoration:underline}
.gts-qs__note{margin:0;font-size:12.5px;color:#4A4D57;text-align:center}
html:has(dialog.gts-qs[open]){overflow:hidden}
}
@media(prefers-reduced-motion:reduce){.gts-qb,.js .gts-qb,.js.gts-qb-on .gts-qb{transition:none}.gts-qs[open]{animation:none}}
html.a11y-still .gts-qb,html.a11y-still .gts-qs{transition:none!important;animation:none!important}
@media print{.gts-qb,.gts-qs{display:none!important}}
