/* Welcome, chat and team screens. Colors, buttons, eyebrows and icon tiles follow the KIVA brand kit (Kivacore/brand-kits). */
:root{--logo-blue:#2887eb;--sky:#52a1fc;--neon-hover:#dbec1a;--gray-100:#f3f4f6;--gray-300:#d1d5db;--gray-500:#6b7280;--success:#34d399}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;background:#fff;color:var(--ink);font:1rem/1.5 var(--sans);min-height:100svh;display:flex;flex-direction:column}
button,input,textarea{font:inherit}
a{color:inherit}
button{cursor:pointer}
:focus-visible{outline:3px solid var(--blue);outline-offset:4px}
.skip,.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.skip:focus{position:fixed;z-index:10;left:1rem;top:1rem;padding:.6rem;background:white;clip-path:none;width:auto;height:auto}
.portal-bar,.portal-main{width:min(100% - 3rem,72rem);margin-inline:auto}
.portal-bar{flex:none;min-height:4.5rem;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.portal-bar>a{font-size:.875rem;font-weight:400;text-underline-offset:.23em}
.portal-bar>a{text-decoration:none;color:var(--muted)}.portal-bar>a:hover{color:var(--ink)}
.brand img{display:block}
/* Chat and team link to the other visitor pages. The logo links to the welcome page. */
.top-nav{display:flex;align-items:center;gap:1.25rem}
.top-nav a{font-size:.875rem;font-weight:400;color:var(--muted);text-decoration:none;white-space:nowrap}.top-nav a:hover{color:var(--ink)}.top-nav .short{display:none}
/* Sign out: an icon at the right end of the top bar (portal.mjs signOutButton). */
.nav-signout{display:grid;place-items:center;flex:none;width:2.25rem;height:2.25rem;padding:0;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:pointer}
.nav-signout[hidden]{display:none}.nav-signout:hover{color:var(--ink);background:#f1f5f9}.nav-signout:disabled{opacity:.5;cursor:default}
.nav-signout svg{width:18px;height:18px}
/* The AI mark on the Kiva Advisor link; on the quote page the online team avatars (team-online.js) replace the team link. */
.top-nav .nav-chat{display:inline-flex;align-items:center;gap:6px}.nav-ai{width:18px;height:18px;flex:none}
.team-online{position:relative;display:flex;align-items:center}.team-online[hidden],.team-online[hidden]+.nav-divider{display:none}
.team-online .team-avatar{width:30px;height:30px;flex:none;border:2px solid #fff;font-size:10.5px;font-weight:600;letter-spacing:-.01em}
.team-online .team-avatar+.team-avatar{margin-left:-7px}.team-online .team-online-more{background:#f1f5f9;color:var(--muted)}
.team-online::after{content:'';position:absolute;right:-3px;bottom:-1px;width:10px;height:10px;border:2px solid #fff;border-radius:50%;background:#16803d}
.team-online:hover .team-avatar{border-color:var(--tint)}
.nav-divider{width:1px;height:18px;background:var(--line)}
.team-online:not([hidden])~.team-link{display:none}
.portal-main{padding-block:clamp(2rem,6vw,5rem)}
h1,h2,h3,p{margin:0}
.page-intro h1{font-size:clamp(2.15rem,4.5vw,3.75rem);line-height:1.05;letter-spacing:-.045em;font-weight:700;text-wrap:balance}

/* Shared parts: eyebrows, icon tiles and the 44 px, 8 px radius buttons. */
.eyebrow{font-size:.875rem;font-weight:600;line-height:1.3;color:var(--blue)}
.icon-tile{display:grid;place-items:center;flex:none;width:2.5rem;height:2.5rem;border-radius:.5rem;background:var(--logo-blue);color:#fff}
.icon-tile svg{width:1.4rem;height:1.4rem}
.team-face{display:block;flex:none;width:2.5rem;height:2.5rem;border-radius:.5rem;object-fit:cover;background:var(--tint)}
.agent-icon{display:block;flex:none;width:2.5rem;height:2.5rem}
.primary,.team-start{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:2.75rem;padding:0 1.1rem;border:1px solid var(--ink);border-radius:.5rem;background:var(--ink);color:#fff;font-size:.875rem;font-weight:500;white-space:nowrap}
.primary:enabled:hover,.team-start:hover{background:#1f2937}
.outline{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:2.75rem;padding:0 1.1rem;border:1px solid var(--ink);border-radius:.5rem;background:#fff;color:var(--ink);font-size:.875rem;font-weight:500;text-decoration:none;white-space:nowrap}
.outline:hover{background:var(--gray-100)}
button:disabled{cursor:default;opacity:.5}

/* Welcome. Tablets and desktops show the whole screen in the window: the cards take the height that is left. */
.home{display:flex;flex-direction:column}
/* The cards are the page: its heading stays for screen readers only (Oğuz, 2026-12-02). */
.routes{display:grid;grid-template-columns:1.1fr 1fr;gap:1rem}
.route-card{display:flex;flex-direction:column;align-items:flex-start;gap:.6rem;min-height:0;padding:clamp(1.1rem,min(2.2vw,3.2svh),2rem);border:1px solid var(--line);border-radius:1rem;background:#fff;color:var(--ink);text-decoration:none;transition:border-color .18s,box-shadow .18s,transform .18s}
.route-card:hover{border-color:var(--gray-300);box-shadow:0 10px 30px #11182714;transform:translateY(-2px)}
.route-top{display:flex;align-items:center;gap:.75rem}
.route-card h2{font-size:clamp(1.2rem,min(1.9vw,3.2svh),1.5rem);line-height:1.2;letter-spacing:-.03em;font-weight:600;text-wrap:pretty}
.card-action{display:inline-flex;align-items:center;gap:.5rem;margin-top:auto;font-size:.875rem;font-weight:500;color:var(--muted)}
.route-card:hover .card-action{color:var(--ink)}
.go{transition:transform .18s}.route-card:hover .go{transform:translateX(.2rem)}
/* Available team members, stacked: the one in front is at the right end and carries the green available dot. */
.avatar-stack{display:flex;align-items:center;margin-left:auto;padding-left:.5rem}
.stack-face{display:grid;place-items:center;position:relative;width:2.25rem;height:2.25rem;border-radius:50%;border:2px solid #fff;background:var(--tint);color:var(--blue);font-size:.75rem;font-weight:600}
.stack-face+.stack-face{margin-left:-.6rem}.stack-face img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%}
.stack-face.more{background:var(--gray-100);color:var(--ink)}
.stack-face:last-child::after{content:'';position:absolute;top:0;right:0;z-index:1;width:.5rem;height:.5rem;border-radius:50%;background:var(--success);border:1.5px solid #fff}
.route-card.people .route-top{align-self:stretch}
/* The Savings card on the brand kit's corner mesh (light from the top right, deep navy behind the neon action at the
   bottom left) with the site's grain. The brand kit keeps meshes off cards; this one is Oğuz's call (3 December). */
.savings{position:relative;isolation:isolate;background:var(--ink) url('/brand/mesh-corner.webp') 85% top/cover no-repeat;border-color:var(--ink);color:#fff}
.route-card.budget{background:var(--tint)}
.budget h2{margin-top:auto;font-size:clamp(1.6rem,3.1vw,2.65rem);max-width:18ch}
.budget .card-action{color:var(--blue-hover)}
.savings::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;opacity:.55;mix-blend-mode:overlay;background-size:240px 240px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='2.6' intercept='-0.8'/%3E%3CfeFuncG type='linear' slope='2.6' intercept='-0.8'/%3E%3CfeFuncB type='linear' slope='2.6' intercept='-0.8'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.savings:hover{border-color:var(--ink)}
.savings .eyebrow{color:var(--sky)}
.savings h2{font-size:clamp(1.75rem,min(3.3vw,5.4svh),2.85rem);line-height:1.1;letter-spacing:-.04em;max-width:15ch;margin-top:auto}
.savings-offer{max-width:38ch;color:#f1f6fc;font-size:.94rem;line-height:1.4;text-wrap:pretty}
.savings-offer strong{color:var(--neon);font-weight:650;white-space:nowrap}
.savings .card-action{margin-top:.75rem;min-height:2.75rem;padding:0 1.1rem;border-radius:.5rem;background:var(--neon);color:var(--ink)}
.savings:hover .card-action{background:var(--neon-hover);color:var(--ink)}
@media(min-width:681px){
  .home{flex:1 1 auto;min-height:0;justify-content:center;padding-block:clamp(1rem,4svh,3rem)}
  .home .routes{grid-template-rows:auto auto;align-content:center}
}

/* KIVA videos: a strip of compact rows under the cards (option A, Oğuz 2026-12-02). */
.welcome-films{flex:none;margin-top:clamp(1rem,3svh,2rem)}
.welcome-films>h2{font-size:1rem;font-weight:600;letter-spacing:-.01em}
.film-grid{list-style:none;padding:0;margin:.65rem 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem 1rem}
.film-card{display:grid;grid-template-columns:minmax(5.5rem,44%) minmax(0,1fr);align-items:center;gap:.75rem;color:var(--ink);text-decoration:none;border-radius:.5rem}
.film-picture{position:relative;isolation:isolate;display:block;overflow:hidden;aspect-ratio:16/9;border-radius:.5rem;background:var(--ink)}
.film-picture img,.film-picture video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.film-picture video{opacity:0}.film-picture video[data-playing]{opacity:1}
.film-play,.film-time{position:absolute;bottom:.4rem;background:#111827e0;color:#fff}
.film-play{left:.4rem;display:grid;place-items:center;width:1.6rem;height:1.6rem;border-radius:50%;font-size:.6rem;padding-left:.1rem}
.film-card:is(:hover,:focus-visible) .film-play{background:var(--neon);color:var(--ink)}
.film-time{right:.4rem;padding:.05rem .3rem;border-radius:.3rem;font-size:.7rem;font-variant-numeric:tabular-nums}
.film-text{min-width:0}
.film-label,.film-name{display:block}.film-label{margin:0 0 .1rem;color:var(--muted);font-size:.75rem}
.film-name{font-size:.875rem;font-weight:600;line-height:1.3;letter-spacing:-.01em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.film-card:hover .film-name{text-decoration:underline;text-underline-offset:.2em}
@media(min-width:681px) and (max-width:1023px){.film-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.film-dialog{position:fixed;inset:0;margin:0;padding:1rem;width:100%;height:100dvh;max-width:none;max-height:none;border:0;background:transparent;color:white}
.film-dialog[open]{display:grid;place-items:center}.film-dialog::backdrop{background:#111827ee}
.film-dialog [data-home-video-frame]{width:min(68rem,100%,calc((100dvh - 6rem)*16/9))}
.film-dialog header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.65rem}
.film-dialog h2{font-size:clamp(1rem,2vw,1.4rem);font-weight:600;line-height:1.25}
.film-dialog button{flex:none;width:2.75rem;height:2.75rem;border:1px solid #ffffff70;background:#1f2937;color:white;border-radius:50%;font-size:1.5rem;line-height:1}
.film-dialog video{display:block;width:100%;aspect-ratio:16/9;background:black;border-radius:.65rem}

/* Chat with Kiva Advisor: a compact column, the agent's replies as plain text, the visitor's in a soft bubble. */
.chat,.team{max-width:52rem}
.chat{max-width:50rem;display:flex;flex-direction:column;padding-block:clamp(1rem,2.5vh,1.5rem) clamp(1.5rem,4.5vh,2.5rem)}
.page-intro p{color:var(--muted);margin-top:1rem;max-width:58ch;font-size:1.05rem}
.chat-head{display:flex;align-items:center;gap:.6rem}
.chat-head .agent-icon{width:2rem;height:2rem}
.chat-head h1{font-size:1.25rem;font-weight:600;letter-spacing:-.02em;line-height:1.2}
/* New chat sits at the right end of the header once the conversation has messages. */
.new-chat{display:inline-flex;align-items:center;gap:.4rem;margin-left:auto;min-height:2.25rem;padding:0 .7rem;border:0;border-radius:.5rem;background:transparent;color:var(--muted);font-size:.8125rem}
.new-chat:hover{background:var(--gray-100);color:var(--ink)}.new-chat svg{width:1rem;height:1rem}
.chat-form{max-width:34rem}.chat-form>p:first-child{margin-bottom:.85rem}
.contact-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.contact-fields label{display:grid;gap:.25rem;font-size:.875rem;font-weight:500}
.contact-fields input,#verify-caller input{border:1px solid var(--gray-300);border-radius:.5rem;padding:.6rem .7rem;font-size:1rem;min-width:0;color:var(--ink)}
.contact-fields input:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 2px #0672d433}
:is(.contact-fields,#verify-caller) input::placeholder,#message::placeholder{color:#9ca3af}
.chat-form .consent{margin:.85rem 0 .2rem}
.chat-form .consent-links{margin:0 0 .85rem 1.55rem;font-size:.75rem}
.known-visitor{font-size:.8125rem;color:var(--muted)}.known-visitor .text-button{padding:0;border:0;background:none;color:var(--blue);font:inherit;text-decoration:underline;cursor:pointer}
.chat-form .form-status{min-height:1.2em;margin-top:.4rem;font-size:.8125rem;color:var(--muted)}
#composer:has(#message:disabled){background:var(--gray-100);border-color:var(--line)}#message:disabled{cursor:not-allowed}
#chat-log{overflow:auto;overscroll-behavior:contain;max-height:54dvh;scrollbar-width:thin;margin:1rem 0 .5rem;display:grid;align-content:start;gap:1.1rem;overflow-wrap:anywhere;padding-inline:.125rem}
#chat-log:empty{display:none}
.message{max-width:100%;font-size:.9375rem;line-height:1.55}
.message>strong{display:flex;align-items:center;gap:.4rem;font-size:.75rem;font-weight:600;color:var(--muted);margin-bottom:.25rem}
.message>strong img{width:1.125rem;height:1.125rem}
.message.visitor{justify-self:end;max-width:min(85%,34rem);display:flex;flex-direction:column;align-items:flex-end}
.message.visitor>div{padding:.55rem .85rem;border-radius:.875rem .875rem .25rem .875rem;background:var(--tint);white-space:pre-wrap}
.message.thinking{display:flex;align-items:center;gap:.5rem;color:var(--muted);font-size:.875rem}
.message.thinking img{width:1.25rem;height:1.25rem}
.message>div>*+*{margin-top:.55rem}.message pre{white-space:pre-wrap}.message a{color:var(--blue)}.message a:hover{color:var(--blue-hover)}.message ul,.message ol{padding-inline-start:1.2rem}
/* Example questions as pills just above the input, until the first message. */
#prompts{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.75rem}
#prompts button{background:#fff;color:var(--ink);border:1px solid var(--gray-300);border-radius:2rem;padding:.4rem .8rem;font-size:.8125rem;text-align:left}
#prompts button:enabled:hover{background:var(--gray-100)}
#composer{display:flex;align-items:flex-end;gap:.4rem;min-width:0;background:#fff;border:1px solid var(--gray-300);border-radius:.75rem;padding:.3rem;margin-top:.75rem}
#composer:focus-within{border-color:var(--blue);box-shadow:0 0 0 2px #0672d433}
#message{flex:1 1 0;width:100%;min-width:0;min-height:2.75rem;max-height:9rem;field-sizing:content;padding:.65rem .55rem;border:0;outline:none;resize:none;color:inherit;background:none;font-size:.9375rem;overflow-wrap:anywhere}
.primary.send{width:2.75rem;padding:0;flex:none}.send svg{width:1.15rem;height:1.15rem}
/* A started chat is the window's height. The input, or the voice call bar in its place, sits at the bottom from the first
   message and never moves; only the messages scroll above it (Oğuz, 3 December: typing and voice alike). */
@media(min-height:30rem){
  body[data-screen=chat]{height:100dvh}
  .chat.started{flex:1 1 auto;min-height:0;padding-bottom:clamp(.75rem,2vh,1.25rem)}
  .chat.started #chat-log{flex:1 1 auto;min-height:0;max-height:none}
}
#chat-status,#team-status,#call-status{min-height:1.4em;font-size:.875rem;color:var(--muted);margin-top:.6rem}
#chat-status:empty{min-height:0;margin:0}

/* Team. */
.team .page-intro{margin-bottom:2rem}
.team-person{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.1rem 0;border-top:1px solid var(--line)}
.team-identity,.team-actions{display:flex;align-items:center;gap:.7rem}.team-actions{flex-wrap:wrap}
.team-identity strong{display:block;font-weight:600}
.team-identity small{display:inline-block;margin-top:.15rem;color:var(--muted);font-size:.8rem}
.team-identity .available{padding:.05rem .5rem;border-radius:.375rem;background:var(--success);color:var(--ink);font-weight:500}
.team-avatar{display:grid;place-items:center;position:relative;flex:none;overflow:hidden;width:2.85rem;height:2.85rem;border-radius:50%;background:var(--tint);color:var(--blue);font-weight:600}
.team-avatar img{position:absolute;width:100%;height:100%;object-fit:cover}
.team-actions a{display:inline-flex;align-items:center;min-height:2.75rem;padding:0 1.1rem;border:1px solid var(--ink);border-radius:.5rem;background:#fff;color:var(--ink);font-size:.875rem;font-weight:500;text-decoration:none;white-space:nowrap}
.team-actions a:hover{background:var(--gray-100)}
.with-icon{gap:.45rem}.with-icon svg{flex:none;width:1.15rem;height:1.15rem}
/* Team page cards (team-directory.js with details): photo, name and LinkedIn at the top, then the bio and
   areas of experience (team-profile.mjs), then the buttons at the bottom. Border and radius follow .route-card. */
.team #members{display:grid;grid-template-columns:repeat(auto-fill,minmax(19rem,1fr));gap:1rem}
.team-person.team-card{flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;padding:1.25rem;border:1px solid var(--line);border-radius:1rem;background:#fff}
.team-name{display:flex;align-items:center;gap:.3rem}
.team-linkedin{display:inline-grid;place-items:center;flex:none;width:2rem;height:2rem;margin:-.35rem 0;border-radius:.375rem;color:var(--muted)}
.team-linkedin:hover{color:var(--blue);background:var(--tint)}.team-linkedin svg{width:1.05rem;height:1.05rem}
.team-profile{min-width:0;margin-top:1rem}
.team-bio{margin:0;color:var(--muted);font-size:.875rem;line-height:1.55;text-wrap:pretty}
.team-bio.clamped{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}
.team-bio-toggle{display:inline-block;margin-top:.2rem;padding:.2rem 0;border:0;background:none;color:var(--blue);font-size:.8125rem;font-weight:500}
.team-bio-toggle:hover{text-decoration:underline;text-underline-offset:.2em}
.team-areas-label{margin:1rem 0 .4rem;color:var(--muted);font-size:.6875rem;font-weight:500;letter-spacing:.05em;text-transform:uppercase}
.team-profile>.team-areas-label:first-child{margin-top:0}
.team-expertise{display:flex;flex-wrap:wrap;gap:.3rem;margin:0;padding:0;list-style:none}
.team-expertise li{padding:.15rem .5rem;border-radius:.375rem;background:var(--tint);color:var(--ink);font-size:.75rem;font-weight:500;line-height:1.5}
.team-card .team-actions{flex-wrap:wrap;gap:.5rem;margin-top:auto;padding-top:1.25rem}
.team-card .team-actions>*{flex:1 1 auto;justify-content:center;gap:.45rem}
/* Consent before verifying and before every call (CALL_CONSENT in copy.mjs). */
.consent,#verify-caller .consent{display:flex;align-items:flex-start;gap:.55rem;margin:.25rem 0 .5rem;font-size:.8125rem;font-weight:400;line-height:1.45;color:var(--muted);cursor:pointer}
.consent input{flex:none;width:1rem;height:1rem;margin:.1rem 0 0;accent-color:var(--ink)}
.portal-dialog .consent-links{margin:0 0 1.1rem 1.55rem;font-size:.75rem}.consent-links a{color:var(--blue)}
#call-confirm .consent{margin:1rem 0}
.consent-notice{font-size:.8125rem;color:var(--muted)}
#call-confirm #call-status:empty{min-height:0;margin:0}
.portal-dialog{width:min(28rem,calc(100% - 2rem));padding:2rem;border:1px solid var(--line);border-radius:1rem;color:inherit;box-shadow:0 15px 60px #11182732}
.portal-dialog::backdrop{background:#11182770}.portal-dialog h2{padding-right:1.4rem;line-height:1.15;letter-spacing:-.03em;font-weight:600}.portal-dialog p{margin:.8rem 0;color:var(--muted)}
.dialog-close{background:none;border:0;position:absolute;top:.7rem;right:.7rem;font-size:1.6rem;width:2.75rem;height:2.75rem;border-radius:.5rem}
.dialog-close:hover{background:var(--gray-100)}
#verify-caller label{display:grid;gap:.25rem;font-size:.875rem;font-weight:500;margin-bottom:1rem}
#verify-caller input{max-width:100%}
#verify-caller input:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 2px #0672d433}

/* Phones stack the four routes above the videos. */
@media(max-width:680px){
  .portal-bar,.portal-main{width:calc(100% - 2rem)}.portal-bar{min-height:3.75rem}
  .top-nav{gap:.9rem}.top-nav a{font-size:.8125rem}.team-online .team-avatar{width:26px;height:26px;font-size:9.5px}.top-nav .full{display:none}.top-nav .short{display:inline}
  .home{padding-block:1.25rem 2rem}
  .routes{grid-template-columns:minmax(0,1fr);grid-template-rows:none;gap:.625rem}
  .route-card{padding:1rem 1.1rem;gap:.45rem;border-radius:.875rem}
  .route-card h2{font-size:1.0625rem}
  .icon-tile,.agent-icon,.team-face{width:2rem;height:2rem}.icon-tile svg{width:1.15rem;height:1.15rem}
  .savings{grid-row:auto}.savings h2{font-size:1.375rem;max-width:none;margin-top:.15rem}
  .savings .card-action{margin-top:.35rem}
  .welcome-films{margin-top:2rem}
  .film-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem .75rem}
  .film-card{display:block}.film-text{display:block;margin-top:.45rem}

  /* Phones: the team buttons are 44 px squares with only the phone and calendar icons; the text stays for screen readers. */
  .team-identity{min-width:0}.team-actions{flex-wrap:nowrap;gap:.5rem}
  .team-actions .with-icon{width:2.75rem;padding:0;justify-content:center}.with-icon svg{width:1.3rem;height:1.3rem}
  .with-icon .label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .team-person.team-card{padding:1rem}.team-card .team-actions .with-icon{width:auto;padding:0 1rem}.team-card .with-icon svg{width:1.1rem;height:1.1rem}
  .team-card .with-icon .label{position:static;width:auto;height:auto;overflow:visible;clip-path:none}
  #chat-log{max-height:48dvh}.contact-fields{grid-template-columns:minmax(0,1fr)}
  /* iPhone zooms into fields under 16 px. */
  #message{font-size:1rem}
  /* While typing (sales-chat.js), the page is the area above the keyboard: no footer, the log shrinks, the input sits at the bottom. */
  body[data-screen=chat].typing{height:var(--visible-height,100dvh);min-height:0;overflow:hidden}
  body[data-screen=chat].typing .portal-foot{display:none}
  body.typing .chat.started{flex:1 1 auto;min-height:0;padding-bottom:.5rem}
  body.typing .chat.started #chat-log{flex:1 1 auto;min-height:0;max-height:none}
  /* In a voice call (voice-call.mjs) the footer steps aside too, so the call bar sits at the bottom of the screen. */
  body[data-screen=chat].calling .portal-foot{display:none}
  body.calling .chat.started{padding-bottom:.75rem}
  body.typing #prompts{display:none}
  #prompts{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-inline:-1rem;padding-inline:1rem}#prompts button{flex:none;white-space:nowrap}
  .page-intro .agent-icon{width:2.25rem;height:2.25rem}
}
@media(max-width:340px){.film-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.route-card,.go{transition:none}.route-card:hover{transform:none}}

/* Voice controls share the composer with the editable draft. */
.voice-control{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-width:2.75rem;height:2.75rem;flex:none;padding:0 .65rem;border:0;border-radius:.55rem;background:transparent;color:var(--muted);font:inherit;font-size:.85rem;cursor:pointer}
.voice-control svg{width:1.15rem;height:1.15rem}
.voice-control:enabled:hover{background:var(--gray-100);color:var(--blue)}
.voice-control[aria-pressed=true]{background:#e7f3ff;color:#005ba8}
.voice-control:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
.voice-control:disabled{opacity:.45;cursor:default}
#voice-status{color:var(--muted);font-size:.85rem;line-height:1.4;margin:.35rem .1rem 0}
#voice-status:empty{display:none}
@media(max-width:36rem){.voice-control span{display:none}#composer{gap:.1rem}}
