/* Gladys Assistant: the floating chat at the bottom right. Same navy and gold as the header and footer; built by site/assistant.js.
   The orb is the assistant's face: a small living sphere (drifting light, a turning gold ring, a highlight that follows the pointer) whose
   mood follows what the assistant is doing: [data-state] = idle | thinking | listening | speaking. Only transforms and opacity animate. */
.gs { --gs-gap: 24px; position: fixed; right: var(--gs-gap); bottom: var(--gs-gap); z-index: 66; font-family: "Jakarta", system-ui, sans-serif; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.gs * { box-sizing: border-box; }
.gs button { font: inherit; }
.gs .ic { width: 20px; height: 20px; }
.gs.lift { transform: translateY(-62px); } /* near the footer the whole widget lifts so it never covers the back-to-top button */
html.menu-open .gs { display: none; }
@media print { .gs { display: none; } }

/* ---------- the orb ---------- */
.gs-orb { --s: 62px; position: relative; flex: none; display: block; width: var(--s); height: var(--s); border-radius: 50%; isolation: isolate; }
.gs-o-ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, #f8cb4a 0%, rgba(230, 168, 23, .15) 28%, #fff6d6 46%, rgba(230, 168, 23, .15) 62%, #e6a817 100%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px)); animation: gs-spin 9s linear infinite; }
.gs-o-core { position: absolute; inset: 3.5px; overflow: hidden; border-radius: 50%; background: radial-gradient(circle at 50% 30%, #143574 0%, #091f48 52%, #040b1e 100%); }
.gs-o-core::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: radial-gradient(circle at 50% 46%, rgba(0, 0, 0, 0) 52%, rgba(2, 8, 24, .62) 100%); } /* depth: the sphere darkens towards its edge */
.gs-o-core i { position: absolute; border-radius: 50%; opacity: .82; filter: blur(calc(var(--s) * .075)); }
.gs-o-core .b1 { left: -4%; top: 34%; width: 52%; height: 52%; background: var(--c1, #f1b62c); animation: gs-b1 11s ease-in-out infinite alternate; }
.gs-o-core .b2 { right: -6%; top: 4%; width: 46%; height: 46%; background: var(--c2, #3b7bff); animation: gs-b2 13s ease-in-out infinite alternate; }
.gs-o-core .b3 { left: 34%; bottom: 0; width: 34%; height: 34%; background: var(--c3, #ffe9a8); opacity: .7; animation: gs-b3 9s ease-in-out infinite alternate; }
.gs-o-spec { position: absolute; inset: 3.5px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 26%), radial-gradient(ellipse at 50% 108%, rgba(248, 203, 74, .42), rgba(248, 203, 74, 0) 46%); }
.gs-o-ic { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; filter: drop-shadow(0 0 calc(var(--s) * .08) rgba(248, 203, 74, .9)); transition: opacity .25s; }
.gs-o-ic .ic { width: calc(var(--s) * .4); height: calc(var(--s) * .4); stroke-width: 1.8; animation: gs-twinkle 3.6s ease-in-out infinite; }
.gs-o-bars { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: calc(var(--s) * .05); opacity: 0; transition: opacity .25s; }
.gs-o-bars i { width: calc(var(--s) * .06); height: calc(var(--s) * .36); border-radius: 999px; background: #fff; box-shadow: 0 0 calc(var(--s) * .08) rgba(255, 255, 255, .8); transform: scaleY(.25); animation: gs-bar 1.05s ease-in-out infinite; }
.gs-o-bars i:nth-child(2) { animation-delay: .12s; } .gs-o-bars i:nth-child(3) { animation-delay: .24s; } .gs-o-bars i:nth-child(4) { animation-delay: .36s; } .gs-o-bars i:nth-child(5) { animation-delay: .48s; }
@keyframes gs-spin { to { transform: rotate(360deg); } }
@keyframes gs-b1 { to { transform: translate(70%, -50%) scale(1.2); } }
@keyframes gs-b2 { to { transform: translate(-90%, 90%) scale(.85); } }
@keyframes gs-b3 { to { transform: translate(40%, -70%) scale(1.25); } }
@keyframes gs-twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.86) rotate(14deg); opacity: .78; } }
@keyframes gs-bar { 50% { transform: scaleY(1); } }
/* moods */
.gs[data-state="thinking"] .gs-o-ring { animation-duration: 1.5s; }
.gs[data-state="thinking"] .gs-o-core i { animation-duration: 2.8s; }
.gs[data-state="thinking"] .gs-o-ic .ic { animation-duration: .9s; }
.gs[data-state="listening"] { --c1: #ff6b61; --c3: #ffb3ab; }
.gs[data-state="listening"] .gs-o-ring { animation-duration: 3.2s; }
.gs[data-state="listening"] .gs-o-bars, .gs[data-state="speaking"] .gs-o-bars { opacity: 1; }
.gs[data-state="listening"] .gs-o-ic, .gs[data-state="speaking"] .gs-o-ic { opacity: 0; }
.gs[data-state="speaking"] .gs-o-ring { animation-duration: 4s; }
.gs[data-state="speaking"] .gs-o-core i { animation-duration: 4.5s; }

/* ---------- the launcher: the orb, with a pill that says what it is for ---------- */
.gs-launch { position: relative; display: flex; align-items: center; padding: 0; border: 0; border-radius: 999px; background: none; color: #fff; cursor: pointer; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.gs-launch:hover { transform: translateY(-3px); }
.gs-launch:active { transform: scale(.95); }
.gs-launch:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
.gs-launch .gs-orb { z-index: 2; box-shadow: 0 22px 36px -12px rgba(0, 0, 0, .7), 0 0 34px -2px rgba(248, 203, 74, .35); }
.gs-launch::after { content: ""; position: absolute; right: 0; top: 0; width: 62px; height: 62px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; animation: gs-ring 2.8s ease-out 2s 3; pointer-events: none; }
@keyframes gs-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
.gs-x { position: absolute; right: 0; top: 0; z-index: 3; display: grid; place-items: center; width: 62px; height: 62px; opacity: 0; transform: rotate(-90deg) scale(.5); transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .25s; pointer-events: none; }
.gs-x .ic { width: 26px; height: 26px; stroke-width: 2; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); }
.gs.is-open .gs-launch .gs-o-ic, .gs.is-open .gs-launch .gs-o-bars { opacity: 0; }
.gs.is-open .gs-x { opacity: 1; transform: none; }
.gs-pill { display: flex; flex-direction: column; justify-content: center; height: 46px; max-width: 0; margin-right: -30px; padding: 0; overflow: hidden; white-space: nowrap; opacity: 0; border: 1px solid rgba(248, 203, 74, .55); border-radius: 999px; background: linear-gradient(120deg, #15357a, #081a3d); text-align: left; box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .7); transition: max-width .55s cubic-bezier(.2, .8, .2, 1), opacity .35s, padding .55s cubic-bezier(.2, .8, .2, 1); }
.gs-pill b { display: block; font-size: .92rem; line-height: 1.15; }
.gs-pill small { display: block; font-size: .72rem; color: rgba(255, 255, 255, .66); }
.gs.pill-on:not(.is-open) .gs-pill { max-width: 230px; padding: 0 38px 0 18px; opacity: 1; }
@media (hover: hover) { .gs-launch:hover .gs-pill { max-width: 230px; padding: 0 38px 0 18px; opacity: 1; } .gs.is-open .gs-launch:hover .gs-pill { max-width: 0; padding: 0; opacity: 0; } }
.gs-dot { position: absolute; right: 2px; bottom: 2px; z-index: 4; width: 14px; height: 14px; border-radius: 50%; background: #35c47c; border: 2.5px solid #06112b; box-shadow: 0 0 0 0 rgba(53, 196, 124, .6); animation: gs-live 2.4s ease-out infinite; }
@keyframes gs-live { 70%, 100% { box-shadow: 0 0 0 8px rgba(53, 196, 124, 0); } }
.gs.offline .gs-dot { background: var(--gold); animation: none; }
.gs.has-unread .gs-dot { background: #e0605a; }

/* nudge bubble */
.gs-nudge { position: absolute; right: 76px; bottom: 8px; width: max-content; max-width: 250px; padding: 13px 34px 13px 15px; border-radius: 16px 16px 4px 16px; background: #fff; color: var(--navy-900); font-size: .92rem; font-weight: 600; line-height: 1.4; box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .6); animation: gs-pop .5s cubic-bezier(.2, .8, .2, 1); }
.gs-nudge[hidden] { display: none; }
.gs-nudge p { margin: 0; }
.gs-nudge button.go { display: block; margin-top: 8px; padding: 0; border: 0; background: none; color: var(--royal); font-weight: 800; font-size: .88rem; cursor: pointer; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.gs-nudge-x { position: absolute; right: 6px; top: 6px; display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.gs-nudge-x:hover { background: var(--sand); }
.gs-nudge-x .ic { width: 14px; height: 14px; }
@keyframes gs-pop { from { opacity: 0; transform: translateY(10px) scale(.94); } }

/* ---------- the panel ---------- */
.gs-panel { position: absolute; right: 0; bottom: 78px; display: flex; flex-direction: column; width: min(412px, calc(100vw - 32px)); height: min(700px, calc(100vh - 128px)); height: min(700px, calc(100dvh - 128px)); overflow: hidden; border: 1px solid rgba(230, 168, 23, .38); border-radius: 24px; background: linear-gradient(180deg, #0e2756 0%, var(--navy-950) 38%); color: #fff; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .85); opacity: 0; transform: translateY(16px) scale(.94); transform-origin: bottom right; transition: opacity .24s ease, transform .3s cubic-bezier(.2, .8, .2, 1); }
.gs-panel[hidden] { display: none; }
.gs.is-open .gs-panel { opacity: 1; transform: none; }
.gs-panel :focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.gs-head { position: relative; display: flex; align-items: center; gap: 10px; padding: 14px 10px 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); }
.gs-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(230, 168, 23, .7), transparent); }
.gs-head .gs-orb { --s: 46px; }
.gs-title { min-width: 0; flex: 1; }
.gs-title b { display: block; font-size: 1.04rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.gs-title small { display: flex; align-items: center; gap: 7px; margin-top: 3px; font-size: .8rem; color: rgba(255, 255, 255, .68); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-title small i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #35c47c; }
.gs.offline .gs-title small i { background: var(--gold); }
.gs-ico { display: grid; place-items: center; flex: none; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: none; color: rgba(255, 255, 255, .78); cursor: pointer; transition: background .2s, color .2s; }
.gs-ico:hover, .gs-ico[aria-expanded="true"] { background: rgba(255, 255, 255, .1); color: #fff; }

/* menu */
.gs-menu { position: absolute; right: 10px; top: 64px; z-index: 7; width: 262px; padding: 6px; border: 1px solid rgba(230, 168, 23, .42); border-radius: 16px; background: #0a1a40; box-shadow: 0 30px 50px -18px rgba(0, 0, 0, .8); animation: gs-pop .22s cubic-bezier(.2, .8, .2, 1); }
.gs-menu[hidden] { display: none; }
.gs-mi { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 11px; background: none; color: #fff; font-size: .92rem; font-weight: 600; text-align: left; cursor: pointer; transition: background .15s; }
.gs-mi:hover, .gs-mi:focus-visible { background: rgba(255, 255, 255, .09); }
.gs-mi .ic { width: 18px; height: 18px; color: var(--gold); }
.gs-mi[hidden] { display: none; }
.gs-sw { margin-left: auto; position: relative; width: 36px; height: 20px; border-radius: 999px; background: rgba(255, 255, 255, .2); transition: background .2s; }
.gs-sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s; }
.gs-mi[aria-checked="true"] .gs-sw { background: var(--gold); }
.gs-mi[aria-checked="true"] .gs-sw::after { transform: translateX(16px); background: var(--navy-900); }
.gs-menu hr { margin: 5px 8px; border: 0; border-top: 1px solid rgba(255, 255, 255, .1); }

/* conversation */
.gs-body { position: relative; flex: 1; min-height: 0; padding: 16px 14px 8px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; }
.gs-jump { position: absolute; left: 50%; bottom: 128px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 0; border-radius: 999px; background: var(--gold); color: var(--navy-900); font-weight: 800; font-size: .82rem; cursor: pointer; box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .7); transform: translateX(-50%); }
.gs-jump[hidden] { display: none; }
.gs-jump .ic { width: 15px; height: 15px; }
.gs-welcome { padding: 6px 2px 4px; animation: gs-rise .5s cubic-bezier(.2, .8, .2, 1); }
.gs-welcome .gs-orb { --s: 74px; margin: 2px 0 14px; }
.gs-welcome h2 { margin: 0 0 6px; font-size: 1.35rem; line-height: 1.25; color: #fff; }
.gs-welcome h2 span { color: var(--gold); }
.gs-welcome p { margin: 0 0 14px; color: rgba(255, 255, 255, .76); font-size: .95rem; line-height: 1.55; }
.gs-quick { display: flex; gap: 8px; margin-bottom: 16px; }
.gs-quick a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 10px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; color: #fff; font-size: .86rem; font-weight: 700; text-decoration: none; transition: border-color .2s, color .2s, background .2s; }
.gs-quick a:hover { border-color: var(--gold); color: var(--gold); background: rgba(230, 168, 23, .08); }
.gs-quick .ic { width: 17px; height: 17px; color: var(--gold); }
.gs-ideas { display: grid; gap: 8px; }
.gs-ideas-h { margin: 0 0 2px; font-size: .78rem; font-weight: 700; color: rgba(255, 255, 255, .55); }
.gs-idea, .gs-chip { padding: 10px 14px; border: 1px solid rgba(230, 168, 23, .4); border-radius: 14px; background: rgba(230, 168, 23, .07); color: #fff; font-size: .9rem; font-weight: 600; line-height: 1.3; text-align: left; cursor: pointer; transition: background .2s, border-color .2s, transform .15s; }
.gs-idea:hover, .gs-chip:hover { background: rgba(230, 168, 23, .18); border-color: var(--gold); }
.gs-idea:active, .gs-chip:active { transform: scale(.98); }
.gs-idea.you { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); }
@keyframes gs-rise { from { opacity: 0; transform: translateY(10px); } }

.gs-msg { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; animation: gs-rise .35s cubic-bezier(.2, .8, .2, 1); }
.gs-msg.me { align-items: flex-end; }
.gs-msg.ai { align-items: flex-start; }
.gs-bubble { max-width: 92%; padding: 11px 14px; border-radius: 18px; font-size: .95rem; line-height: 1.55; overflow-wrap: anywhere; }
.gs.big .gs-bubble { font-size: 1.08rem; }
.gs-msg.me .gs-bubble { max-width: 86%; border-bottom-right-radius: 5px; background: linear-gradient(145deg, #f8cb4a, var(--gold)); color: var(--navy-900); font-weight: 600; white-space: pre-wrap; }
.gs-msg.ai .gs-bubble { border: 1px solid rgba(255, 255, 255, .1); border-bottom-left-radius: 5px; background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .94); }
.gs-bubble p { margin: 0 0 .6em; }
.gs-bubble p:last-child, .gs-bubble ul:last-child, .gs-bubble ol:last-child { margin-bottom: 0; }
.gs-bubble ul, .gs-bubble ol { margin: 0 0 .6em; padding-left: 1.2em; }
.gs-bubble li { margin: .2em 0; }
.gs-bubble strong { color: #fff; font-weight: 800; }
.gs-bubble a { color: var(--gold); font-weight: 700; text-underline-offset: 3px; }
.gs-msg.err .gs-bubble { border-color: rgba(224, 96, 90, .55); }
.gs-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: -2px 0 0 4px; opacity: 0; transition: opacity .2s; }
.gs-msg:hover .gs-meta, .gs-msg:focus-within .gs-meta, .gs-msg:last-child .gs-meta { opacity: 1; }
@media (hover: none) { .gs-meta { opacity: 1; } }
.gs-tool { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 9px; border: 0; border-radius: 999px; background: none; color: rgba(255, 255, 255, .6); font-size: .76rem; font-weight: 700; cursor: pointer; transition: background .2s, color .2s; }
.gs-tool:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.gs-tool .ic { width: 15px; height: 15px; }
.gs-tool[aria-pressed="true"] { color: var(--gold); }
.gs-tag { padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .7); font-size: .72rem; font-weight: 700; }

.gs-think { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .72); font-size: .88rem; }
.gs-typing { display: inline-flex; gap: 5px; padding: 4px 2px; }
.gs-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: gs-bounce 1.1s ease-in-out infinite; }
.gs-typing i:nth-child(2) { animation-delay: .15s; }
.gs-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes gs-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }

/* cards: a service, a room, a request, an estimate, a comparison, a page action, contact buttons, follow-up questions */
.gs-cards { display: grid; gap: 8px; width: min(100%, 344px); }
.gs-card { overflow: hidden; border: 1px solid rgba(230, 168, 23, .3); border-radius: 16px; background: rgba(255, 255, 255, .06); }
.gs-card-in { display: grid; gap: 4px; padding: 13px 14px; }
.gs-card h3 { margin: 0; font-size: .98rem; line-height: 1.3; color: #fff; }
.gs-card small { color: rgba(255, 255, 255, .62); font-size: .82rem; line-height: 1.4; }
.gs-price { font-size: 1.15rem; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }
.gs-price span { font-size: .8rem; font-weight: 600; color: rgba(255, 255, 255, .6); }
.gs-photo { position: relative; height: 132px; background: #0b2250; }
.gs-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gs-photo .gs-tag { position: absolute; left: 10px; top: 10px; background: var(--gold); color: var(--navy-900); }
.gs-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.gs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 10px; background: none; color: #fff; font-size: .86rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.gs-btn:hover { border-color: var(--gold); color: var(--gold); }
.gs-btn.gold { border-color: var(--gold); background: var(--gold); color: var(--navy-900); }
.gs-btn.gold:hover { background: #f1b62c; color: var(--navy-900); }
.gs-btn[disabled] { opacity: .6; cursor: default; }
.gs-btn .ic { width: 16px; height: 16px; }
.gs-links { display: flex; flex-wrap: wrap; gap: 8px; }
.gs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gs-chip { padding: 8px 12px; font-size: .84rem; }

/* estimate: quantities can be changed, the total is worked out in code (LRD and USD are never added together) */
.gs-est { padding: 13px 14px; }
.gs-est h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.gs-est h3 .ic { width: 18px; height: 18px; color: var(--gold); }
.gs-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 8px 0; border-top: 1px dashed rgba(255, 255, 255, .16); }
.gs-line b { font-size: .9rem; font-weight: 700; line-height: 1.3; }
.gs-line small { grid-column: 1; }
.gs-line .amt { grid-column: 2; grid-row: 1 / span 2; text-align: right; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.gs-line .amt.ask { color: rgba(255, 255, 255, .6); font-weight: 600; font-size: .82rem; }
.gs-step { display: inline-flex; align-items: center; margin-top: 4px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; }
.gs-step button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: none; color: #fff; cursor: pointer; }
.gs-step button:hover { background: rgba(255, 255, 255, .12); }
.gs-step .ic { width: 14px; height: 14px; stroke-width: 2.4; }
.gs-step input { width: 52px; padding: 0; border: 0; background: none; color: #fff; text-align: center; font: 700 .92rem/1 "Jakarta", system-ui, sans-serif; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.gs-step input::-webkit-outer-spin-button, .gs-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gs-step input:focus { outline: none; }
.gs-sum { display: grid; gap: 3px; margin-top: 4px; padding-top: 10px; border-top: 1px solid rgba(230, 168, 23, .5); }
.gs-sum div { display: flex; justify-content: space-between; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }
.gs-sum small { font-weight: 600; }

/* comparison: columns side by side */
.gs-cmp { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: rgba(255, 255, 255, .12); }
.gs-col { display: grid; align-content: start; gap: 5px; padding: 12px; background: #0b1d46; }
.gs-col h3 { font-size: .92rem; }
.gs-col .gs-price { font-size: 1.05rem; }
.gs-col p { margin: 0; font-size: .8rem; line-height: 1.4; color: rgba(255, 255, 255, .7); }
.gs-col .gs-btn { min-height: 32px; padding: 0 10px; font-size: .8rem; }
.gs-best { justify-self: start; padding: 2px 8px; border-radius: 999px; background: var(--gold); color: var(--navy-900); font-size: .7rem; font-weight: 800; }
.gs-cmp-h { padding: 11px 14px 0; font-size: .78rem; font-weight: 700; color: rgba(255, 255, 255, .6); }

/* page action */
.gs-go { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid rgba(230, 168, 23, .3); border-radius: 14px; background: rgba(230, 168, 23, .07); }
.gs-go span { display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 700; }
.gs-go .ic { width: 17px; height: 17px; color: var(--gold); }
.gs-go .gs-btn { min-height: 32px; padding: 0 12px; }

.gs-req { position: relative; display: grid; gap: 9px; padding: 14px; }
.gs-req .gs-hp { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); pointer-events: none; } /* spam trap: real visitors never see or fill it */
.gs-req h3 { display: flex; align-items: center; gap: 8px; }
.gs-req h3 .ic { width: 18px; height: 18px; color: var(--gold); }
.gs-req form { display: grid; gap: 9px; margin-top: 4px; }
.gs-req label { display: grid; gap: 4px; font-size: .78rem; font-weight: 700; color: rgba(255, 255, 255, .7); }
.gs-req input, .gs-req textarea { width: 100%; padding: 10px 12px; border: 1.5px solid rgba(255, 255, 255, .16); border-radius: 10px; background: rgba(255, 255, 255, .07); color: #fff; font: 400 .93rem/1.35 "Jakarta", system-ui, sans-serif; }
.gs-req textarea { resize: none; min-height: 58px; }
.gs-req input::placeholder, .gs-req textarea::placeholder { color: rgba(255, 255, 255, .4); }
.gs-req input:focus, .gs-req textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230, 168, 23, .2); }
.gs-req [aria-invalid="true"] { border-color: #e0605a; }
.gs-req .via { display: flex; gap: 6px; }
.gs-req .via label { flex: 1; display: block; }
.gs-req .via input { position: absolute; opacity: 0; pointer-events: none; }
.gs-req .via span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; border: 1.5px solid rgba(255, 255, 255, .18); border-radius: 10px; font-size: .84rem; color: #fff; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.gs-req .via input:checked + span { border-color: var(--gold); background: rgba(230, 168, 23, .16); color: var(--gold); }
.gs-req .via input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.gs-req .via .ic { width: 15px; height: 15px; }
.gs-hint { margin: 0; font-size: .8rem; color: #ff9a94; }
.gs-hint[hidden] { display: none; }
.gs-ok { display: grid; gap: 6px; padding: 14px; }
.gs-ok h3 { display: flex; align-items: center; gap: 8px; }
.gs-ok h3 .ic { width: 20px; height: 20px; color: #35c47c; stroke-width: 2.4; }
.gs-ref { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border: 1px dashed rgba(255, 255, 255, .28); border-radius: 12px; }
.gs-ref b { font-size: 1.15rem; letter-spacing: .06em; color: #fff; font-variant-numeric: tabular-nums; }

/* composer */
.gs-composer { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px 6px; border-top: 1px solid rgba(255, 255, 255, .1); background: rgba(6, 17, 43, .6); }
.gs-field { position: relative; flex: 1; min-width: 0; }
.gs-input { display: block; width: 100%; max-height: 112px; padding: 12px 14px; border: 1.5px solid rgba(255, 255, 255, .16); border-radius: 18px; background: rgba(255, 255, 255, .08); color: #fff; font: 400 .98rem/1.4 "Jakarta", system-ui, sans-serif; resize: none; overflow-y: hidden; scrollbar-width: thin; transition: border-color .2s, box-shadow .2s; }
.gs.big .gs-input { font-size: 1.1rem; }
.gs-input::placeholder { color: rgba(255, 255, 255, .45); }
.gs-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230, 168, 23, .22); }
.gs-count { position: absolute; right: 12px; bottom: -16px; font-size: .7rem; color: rgba(255, 255, 255, .5); }
.gs-count[hidden] { display: none; }
.gs-round { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; transition: background .2s, transform .15s, opacity .2s; }
.gs-round:active { transform: scale(.93); }
.gs-round .ic { width: 21px; height: 21px; }
.gs-send { background: var(--gold); color: var(--navy-900); }
.gs-send:hover { background: #f1b62c; }
.gs-send[disabled] { opacity: .4; cursor: default; }
.gs-send.stop { background: #fff; }
.gs-mic { background: rgba(255, 255, 255, .1); color: #fff; }
.gs-mic:hover { background: rgba(255, 255, 255, .18); }
.gs-mic[hidden] { display: none; }
.gs-mic.live { background: #e0605a; animation: gs-rec 1.3s ease-out infinite; }
@keyframes gs-rec { 0% { box-shadow: 0 0 0 0 rgba(224, 96, 90, .6); } 100% { box-shadow: 0 0 0 12px rgba(224, 96, 90, 0); } }
.gs-fine { margin: 0; padding: 4px 16px 12px; font-size: .72rem; line-height: 1.4; color: rgba(255, 255, 255, .5); text-align: center; background: rgba(6, 17, 43, .6); }

/* voice conversation: a big orb, what you said, what it is saying */
.gs-voice { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; background: radial-gradient(70% 46% at 50% 40%, rgba(42, 91, 196, .42), transparent 72%), linear-gradient(180deg, #0b1f4a, #050f26); animation: gs-pop .3s cubic-bezier(.2, .8, .2, 1); }
.gs-voice[hidden] { display: none; }
.gs-voice-end { position: absolute; right: 12px; top: 12px; }
.gs-voice-orb { display: block; margin-bottom: 8px; border-radius: 50%; cursor: pointer; }
.gs-voice-orb:focus-visible { outline: 3px solid var(--gold); outline-offset: 8px; }
.gs-voice .gs-orb { --s: 190px; filter: drop-shadow(0 0 46px rgba(248, 203, 74, .28)); }
.gs-voice .gs-orb::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(248, 203, 74, .5); opacity: 0; pointer-events: none; }
.gs[data-state="listening"] .gs-voice .gs-orb::before { animation: gs-halo 1.8s ease-out infinite; }
.gs[data-state="speaking"] .gs-voice .gs-orb::before { animation: gs-halo 2.6s ease-out infinite; }
@keyframes gs-halo { 0% { transform: scale(.94); opacity: .8; } 100% { transform: scale(1.35); opacity: 0; } }
.gs-voice-state { margin: 0; font-size: 1.2rem; font-weight: 800; }
.gs-voice-cap { margin: 0; min-height: 4.6em; max-width: 30ch; font-size: 1rem; line-height: 1.55; color: rgba(255, 255, 255, .78); }
.gs-voice-tip { margin: 0; font-size: .8rem; color: rgba(255, 255, 255, .5); }

/* phones: a full-height sheet that follows the on-screen keyboard (--gs-vh is set from visualViewport) */
@media (max-width: 760px) {
  .gs { --gs-gap: 14px; bottom: calc(88px + env(safe-area-inset-bottom)); }
  .gs.lift { transform: none; }
  .gs-nudge { max-width: min(250px, calc(100vw - 100px)); }
  .gs-panel { position: fixed; inset: 0; z-index: 100; width: auto; height: var(--gs-vh, 100dvh); border: 0; border-radius: 0; transform: translateY(24px); transform-origin: bottom center; }
  .gs-head { padding-top: calc(14px + env(safe-area-inset-top)); }
  .gs-fine { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .gs-menu { top: calc(62px + env(safe-area-inset-top)); }
  .gs.is-open .gs-launch { visibility: hidden; }
  html.gs-lock { overflow: hidden; }
  .gs-jump { bottom: 118px; }
  .gs-voice .gs-orb { --s: 168px; }
}
