:root{color-scheme:light;--ink:#24343f;--blue:#235b76;--deep:#294b5c;--paper:#f7f6f4;--hero-height:100svh;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #78a7c4;outline-offset:4px}button svg{flex:none}svg{display:block}button{border:0} [hidden]{display:none!important}.symbols,.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hero{position:relative;isolation:isolate;min-height:max(620px,100svh);display:flex;align-items:center;justify-content:center;overflow:hidden;background:#eeece9}
.scene{position:absolute;z-index:-2;inset:0;overflow:hidden;pointer-events:none}
.wall{position:absolute;inset:0;background:url("assets/wall.webp") center/100% 100% no-repeat}
.prop{position:absolute;bottom:0;height:100%;width:auto;max-width:none;object-fit:contain;transition:transform .65s cubic-bezier(.2,.8,.25,1);user-select:none;pointer-events:none}
.plant{left:0;transform-origin:left bottom}
.desk{right:0;transform-origin:right bottom}
.hero.chat-open .plant{transform:translateX(-12%)}
.hero.chat-open .desk{transform:translateX(12%)}
.header{position:absolute;top:0;left:0;right:0;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:clamp(20px,2vw,34px) clamp(24px,3.5vw,60px);z-index:3}
.brand{display:inline-flex;align-items:center;gap:15px;color:#20333f;font-size:clamp(24px,2.65vw,44px);font-weight:740;letter-spacing:-.055em;line-height:1;white-space:nowrap}.brand-icon{width:clamp(46px,5.75vw,97px);height:auto;aspect-ratio:2;color:#294c5d}.brand-accent{color:#285e76}
.chat-now{display:flex;align-items:center;gap:12px;color:white;background:var(--deep);font-weight:620;font-size:clamp(15px,1.57vw,25px);padding:13px clamp(19px,2.3vw,39px);border-radius:999px;transition:background .2s,transform .2s}.chat-now svg{width:31px;height:31px}.chat-now:hover,.send:hover{background:#1d526e;transform:translateY(-1px)}
.hero-content{position:relative;display:flex;flex-direction:column;align-items:center;width:min(80%,1150px);padding:18px 0 26px;transform:translateY(-5.5vh);transition:transform .45s ease}
h1{margin:0 0 clamp(38px,4vw,69px);font-size:clamp(46px,5.35vw,91px);font-weight:750;line-height:1.04;letter-spacing:-.047em;text-align:center;color:var(--ink);max-width:1120px;text-wrap:balance}
.composer{display:flex;align-items:center;width:min(100%,865px);min-height:clamp(74px,5.75vw,96px);padding:12px 14px 12px clamp(18px,2.2vw,39px);gap:clamp(16px,1.9vw,33px);border:1.5px solid #c4d0da;border-radius:999px;background:rgba(255,255,255,.96);box-shadow:0 7px 24px #233b4820,0 1px 4px #233b480d;transition:border-color .2s,box-shadow .2s}
.composer:focus-within{border-color:#6b9bb6;box-shadow:0 0 0 4px #83b5cd24,0 7px 24px #233b4820}.composer-icon{width:clamp(30px,3vw,48px);height:auto;flex:none;color:#334955}.composer input{background:transparent;color:var(--ink);border:0;outline:none;min-width:0;flex:1;width:100%;padding:12px 0;font-size:clamp(19px,1.82vw,30px);line-height:1.3}.composer input:focus-visible{outline:none}.composer input::placeholder{color:#677484;opacity:1}
.send{background:#23617e;color:white;border-radius:999px;display:grid;place-items:center;width:clamp(55px,4.8vw,81px);height:clamp(50px,4vw,68px);flex:none;transition:background .2s,transform .2s}.send svg{width:clamp(25px,2.2vw,36px);height:auto}
.scroll-hint{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);display:grid;place-items:center;color:#385263;width:40px;height:40px;border-radius:50%;background:#ffffff65;opacity:.8;transition:opacity .2s}.scroll-hint:hover{opacity:1}.scroll-hint svg{width:24px;height:24px}
.conversation{width:min(100%,865px);background:rgba(255,255,255,.94);border:1px solid #c9d4dc;border-radius:25px;margin-bottom:14px;box-shadow:0 8px 28px #20364412;overflow:hidden}.conversation-heading{display:flex;align-items:center;justify-content:space-between;padding:14px 21px;border-bottom:1px solid #e4e8eb;font-weight:650;color:#31566a}.presence{display:inline-block;width:8px;height:8px;background:#6d9a8a;border-radius:50%;margin-right:7px}.conversation-heading button{font-size:26px;background:transparent;color:#52646e;line-height:1;border-radius:8px;padding:2px 6px}.messages{display:flex;flex-direction:column;gap:14px;padding:20px;max-height:min(34vh,340px);min-height:96px;overflow:auto}.message{padding:13px 17px;border-radius:17px;font-size:16px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;max-width:88%}.message.user{background:#e4edf2;align-self:flex-end;color:#243e4e}.message.assistant{background:#f3f5f4;align-self:flex-start}.chat-note{margin:12px 0 0;color:#50616d;font-size:13px;text-align:center}.hero.chat-open .hero-content{transform:translateY(3vh)}.hero.chat-open h1{font-size:clamp(27px,3.2vw,53px);margin-bottom:25px}
.details{max-width:1140px;margin:auto;padding:100px 28px 80px;text-align:center}.eyebrow{font-size:12px;letter-spacing:.19em;font-weight:700;color:#427287;margin:0 0 15px}.details h2{font-size:clamp(32px,4vw,55px);letter-spacing:-.04em;line-height:1.1;margin:0 0 20px}.intro{max-width:680px;margin:0 auto 48px;color:#5a6770;font-size:19px;line-height:1.65}.services{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;text-align:left}.services article{padding:24px 20px;background:#fff;border:1px solid #e3e6e5;border-radius:14px}.service-number{font-size:13px;color:#52778c;font-weight:650}.services h3{font-size:20px;letter-spacing:-.025em;margin:15px 0 10px}.services p{margin:0;line-height:1.55;color:#59656d;font-size:15px}.back-link{display:inline-block;margin-top:40px;font-weight:650;color:#245d78}.back-link:hover{text-decoration:underline}footer{border-top:1px solid #e0e3e1;padding:24px;text-align:center;font-weight:650;color:#455a67;font-size:14px}footer span{font-weight:400;color:#758087}
@media(min-aspect-ratio:19/10){.prop{height:115%}.plant{left:0}.desk{right:0}.wall{background-size:100% 115%;background-position:center bottom}.hero-content{width:min(74%,1150px)}}
@media(max-aspect-ratio:4/3){.hero-content{width:min(88%,865px);transform:translateY(-9vh)}.scene{top:auto;height:68%;mask-image:linear-gradient(to bottom,transparent 0%,black 19%)}.hero{background:radial-gradient(ellipse at 38% 25%,#f9f8f6,#e8e9e8 84%)}.prop{height:100%}.plant{transform:translateX(-14%)}.desk{transform:translateX(14%)}h1{font-size:clamp(40px,6.5vw,74px);margin-bottom:38px}.hero.chat-open .plant{transform:translateX(-28%)}.hero.chat-open .desk{transform:translateX(28%)}}
@media(max-width:700px){.hero{min-height:max(580px,100svh)}.header{padding:20px 18px}.brand{font-size:23px;gap:7px}.brand-icon{width:39px}.chat-now{font-size:13px;padding:10px 14px;gap:6px}.chat-now svg{width:19px;height:19px}.hero-content{width:calc(100% - 32px);transform:translateY(-11vh)}h1{font-size:clamp(34px,8.3vw,52px);letter-spacing:-.055em;line-height:1.09;margin-bottom:32px}.desktop-break{display:none}.composer{min-height:64px;padding:8px 9px 8px 16px;gap:12px}.composer-icon{width:28px}.composer input{font-size:17px;padding:9px 0}.send{width:46px;height:46px}.send svg{width:25px}.scene{height:47%;mask-image:linear-gradient(to bottom,transparent,black 26%)}.plant{height:100%;transform:translateX(-12%)}.desk{height:100%;transform:translateX(10%)}.hero.chat-open .hero-content{transform:translateY(0)}.hero.chat-open h1{font-size:clamp(28px,6.2vw,38px);margin-bottom:19px}.messages{max-height:36vh;padding:14px;gap:10px}.message{font-size:14px;max-width:93%;padding:11px 13px}.conversation-heading{padding:10px 15px}.chat-note{font-size:11px}.details{padding:64px 20px 55px}.intro{font-size:17px;margin-bottom:30px}.services{grid-template-columns:repeat(2,1fr);gap:12px}.services article{padding:18px 15px}.services h3{font-size:17px}.services p{font-size:14px}}
@media(max-width:365px){.brand{font-size:20px}.brand-icon{width:33px}.chat-now{padding:9px 12px}.services{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Stable headline container, hidden by the existing chat-open layout. */
.headline-wrap{position:relative;display:flow-root;width:100%;max-width:1120px}


/* Visible, accessible reply feedback; animation is disabled by reduced-motion preference. */
.message.typing-indicator{display:flex;align-items:center;gap:10px;min-height:44px;padding:11px 16px;color:#536b75;font-size:14px;font-weight:500;white-space:normal;background:#edf3f2}
.typing-dots{display:inline-flex;align-items:center;gap:4px;flex:none}
.typing-dots span{display:block;width:6px;height:6px;border-radius:50%;background:#548278;animation:dp-typing-pulse 1.35s ease-in-out infinite;opacity:.45}
.typing-dots span:nth-child(2){animation-delay:.16s}
.typing-dots span:nth-child(3){animation-delay:.32s}
@keyframes dp-typing-pulse{0%,65%,100%{transform:translateY(0);opacity:.4}30%{transform:translateY(-3px);opacity:1}}
.message.typing-paused{background:#f3f5f4;color:#65717a}
@media(max-width:700px){.message.typing-indicator{font-size:13px;gap:7px;padding:10px 13px}}


/* Speaker controls beside chat replies. */
.conversation-controls{display:flex;align-items:center;gap:9px;min-width:0}
.read-reply svg{width:17px;height:17px}
.message.assistant:not(.typing-indicator){position:relative}
.message .read-reply{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;margin-left:8px;padding:3px;background:transparent;color:#58786f;border-radius:6px;min-width:25px;min-height:25px}
.read-reply:hover{background:#dfeae7}
.voice-status{padding:7px 20px 10px;border-top:1px solid #e4e8eb;color:#52776c;font-size:12px;text-align:left}
@media(max-width:700px){.conversation-controls{gap:4px}.voice-status{padding:6px 14px 8px;font-size:11px}}

/* Phone-first layout: the header is in normal flow, and chat replaces the
   marketing headline rather than competing with it for screen space. */
@media(max-width:700px){
  .hero{
    flex-direction:column;
    justify-content:flex-start;
    min-height:100svh;
  }
  .header{
    position:relative;
    inset:auto;
    width:100%;
    flex:0 0 auto;
    padding:18px 16px;
    gap:10px;
  }
  .brand{font-size:clamp(19px,5.5vw,23px);gap:7px}
  .brand-icon{width:36px;height:18px;flex:none}
  .chat-now{font-size:12px;padding:10px 12px;gap:5px;white-space:nowrap;flex:none}
  .chat-now svg{width:18px;height:18px}
  .hero-content{
    width:calc(100% - 32px);
    flex:1 1 auto;
    justify-content:center;
    transform:none;
    min-width:0;
    min-height:0;
    padding:20px 0 90px;
  }
  .headline-wrap{flex:0 0 auto}
  .headline-wrap h1{
    font-size:clamp(30px,8.3vw,43px);
    line-height:1.12;
    letter-spacing:-.045em;
    margin:0 0 35px;
  }
  .composer{
    flex:0 0 auto;
    min-height:60px;
    height:60px;
    padding:6px 7px 6px 15px;
    gap:11px;
    border-radius:32px;
  }
  /* Explicit dimensions prevent Safari's intrinsic 150px SVG height. */
  .composer-icon{width:25px;height:25px;flex:none}
  .composer input{
    min-width:0;
    height:44px;
    padding:8px 0;
    font-size:16px;
    line-height:1.3;
    -webkit-appearance:none;
    appearance:none;
    border-radius:0;
  }
  .send{width:44px;height:44px;min-height:44px;min-width:44px}
  .send svg{width:24px;height:24px}
  .chat-note{font-size:11px;line-height:1.4;margin-top:8px}
  .hero.chat-open{
    height:var(--mobile-chat-height,100dvh);
    min-height:0;
  }
  .hero.chat-open .header{padding:12px 16px}
  .hero.chat-open .chat-now,
  .hero.chat-open .headline-wrap,
  .hero.chat-open .scroll-hint{display:none}
  .hero.chat-open .hero-content{
    flex:1 1 0;
    justify-content:flex-start;
    min-height:0;
    width:calc(100% - 24px);
    padding:0 0 max(10px,env(safe-area-inset-bottom));
    gap:10px;
    transform:none;
    transition:none;
  }
  .hero.chat-open .scene{opacity:.48;height:40%}
  .hero.chat-open .conversation{
    display:flex;
    flex-direction:column;
    flex:1 1 0;
    min-height:0;
    width:100%;
    margin:0;
    border-radius:20px;
    background:rgba(255,255,255,.96);
  }
  .conversation-heading{
    flex:0 0 auto;
    min-height:48px;
    font-size:14px;
    padding:8px 10px 8px 13px;
    gap:6px;
  }
  .conversation-heading>span{white-space:nowrap;min-width:0;font-size:14px}
  .conversation-heading .presence{width:7px;height:7px;margin-right:5px}
  .conversation-controls{flex:none;gap:4px}
  #close-chat{min-width:32px;min-height:32px;padding:4px;font-size:23px}
  .hero.chat-open .messages{
    flex:1 1 0;
    min-height:0;
    max-height:none;
    padding:13px;
    gap:10px;
    overflow-y:auto;
    overscroll-behavior-y:contain;
    -webkit-overflow-scrolling:touch;
  }
  .message{flex:0 0 auto;font-size:14px;line-height:1.5;max-width:94%;padding:10px 12px;border-radius:14px}
  .message.user{max-width:88%}
  .message .read-reply{min-width:30px;min-height:30px;vertical-align:middle}
  .voice-status{flex:0 0 auto;padding:7px 13px;font-size:11px}
  .hero.chat-open .composer{margin:0;box-shadow:0 3px 12px #233b4818}
  .hero.chat-open .chat-note{flex:0 0 auto;margin:0;max-width:100%;text-wrap:balance}
}
@media(max-width:350px){
  .header{padding-left:12px;padding-right:12px;gap:8px}
  .brand{font-size:18px;gap:5px}
  .brand-icon{width:30px;height:15px}
  .chat-now{padding:9px 10px;font-size:11px}
  .conversation-heading{padding-left:10px;padding-right:6px}
  .conversation-heading>span{font-size:13px}
}


/* Conversation on the hero scene. No opaque chat card: the photo remains
   visible, replies are typography, and customer questions are blue bubbles.
   These rules apply only while chatting, not to the original landing page. */
.hero.chat-open{
  flex-direction:column;
  justify-content:flex-start;
  height:100dvh;
  min-height:0;
}
.hero.chat-open .hero-content{
  flex:1 1 0;
  width:min(58%,820px);
  min-width:0;
  min-height:0;
  padding:clamp(80px,8vw,118px) 0 max(15px,env(safe-area-inset-bottom));
  gap:12px;
  justify-content:flex-start;
  transform:none;
  transition:none;
}
.hero.chat-open .headline-wrap,
.hero.chat-open .chat-now,
.hero.chat-open .scroll-hint{display:none}
.hero.chat-open .scene{opacity:1}
.hero.chat-open .plant,.hero.chat-open .desk{transform:none}
.hero.chat-open .conversation{
  display:flex;
  flex-direction:column;
  flex:1 1 0;
  min-height:0;
  width:100%;
  margin:0;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  overflow:hidden;
}
.hero.chat-open .conversation-heading{
  flex:0 0 auto;
  justify-content:flex-end;
  padding:0 0 6px;
  border:0;
  min-height:36px;
}
.hero.chat-open .conversation-heading>span{display:none}
.hero.chat-open .conversation-controls{gap:8px}
.hero.chat-open #close-chat{
  background:rgba(255,255,255,.66);
  color:#35596a;
  border:1px solid rgba(66,96,113,.14);
  border-radius:999px;
  font-size:12px;
  font-weight:600;
  min-height:34px;
  line-height:1.2;
  padding:7px 12px;
}
.hero.chat-open #close-chat{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.hero.chat-open #close-chat svg{width:15px;height:15px}
.hero.chat-open .conversation-heading button:hover{background:rgba(255,255,255,.93)}
.hero.chat-open .messages{
  flex:1 1 0;
  min-height:0;
  max-height:none;
  padding:20px 4px 12px;
  gap:clamp(17px,2vh,25px);
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior-y:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scrollbar-color:#64869655 transparent;
  mask-image:linear-gradient(to bottom,transparent,black 12px);
}
.hero.chat-open .messages>.message:first-child{margin-top:auto}
.hero.chat-open .message{
  flex:0 0 auto;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  min-width:0;
}
.hero.chat-open .message.user{
  align-self:flex-end;
  width:fit-content;
  max-width:min(68%,430px);
  background:#52798c;
  color:#fff;
  border-radius:22px;
  padding:14px 19px;
  font-size:clamp(15px,1.35vw,19px);
  font-weight:450;
  line-height:1.5;
  box-shadow:0 3px 14px #25455910;
}
.hero.chat-open .message.assistant:not(.typing-indicator){
  align-self:flex-start;
  max-width:86%;
  background:transparent;
  border-radius:0;
  padding:0 0 1px;
  font-size:clamp(20px,1.85vw,29px);
  font-weight:630;
  color:#24343f;
  letter-spacing:-.022em;
  line-height:1.4;
  text-shadow:0 1px 4px #fff9,0 0 14px #fff8;
}
.hero.chat-open .message .read-reply{background:rgba(255,255,255,.36);margin-left:8px}
.hero.chat-open .message.typing-indicator{
  background:transparent;
  padding:8px 0;
  min-height:32px;
  font-size:15px;
  max-width:96%;
  color:#426171;
  text-shadow:0 1px 4px #fff;
}
.hero.chat-open .voice-status{
  flex:0 0 auto;
  border:0;
  padding:3px 4px 0;
  color:#355a60;
  text-shadow:0 1px 4px #fff;
}
.hero.chat-open .composer{
  flex:0 0 auto;
  margin:0;
  width:100%;
  min-height:72px;
  height:clamp(72px,6.4vw,90px);
  padding:10px 12px 10px 25px;
  gap:18px;
  background:rgba(255,255,255,.97);
}
.hero.chat-open .composer input{font-size:clamp(17px,1.6vw,22px)}
.hero.chat-open .composer-icon{width:31px;height:31px}
.hero.chat-open .send{width:56px;height:56px;min-width:0;min-height:0}
.hero.chat-open .send svg{width:28px;height:28px}
.hero.chat-open .chat-note{
  flex:0 0 auto;
  max-width:100%;
  margin:0;
  line-height:1.4;
  text-wrap:balance;
  font-size:12px;
  text-shadow:0 1px 4px white,0 0 8px white;
}
@media(max-aspect-ratio:4/3){
  .hero.chat-open .hero-content{width:min(82%,760px)}
  .hero.chat-open .plant{transform:translateX(-14%)}
  .hero.chat-open .desk{transform:translateX(14%)}
}
@media(max-width:700px){
  .hero.chat-open{height:var(--mobile-chat-height,100dvh)}
  .hero.chat-open .hero-content{
    width:calc(100% - 32px);
    padding:0 0 max(10px,env(safe-area-inset-bottom));
    gap:9px;
  }
  .hero.chat-open .scene{height:37%;opacity:1}
  .hero.chat-open .plant{transform:translateX(-23%)}
  .hero.chat-open .desk{transform:translateX(23%)}
  /* A soft light wash over the central phone-sized reading area only.
     The flowers, mug, laptop and tabletop stay visible at the edges. */
  .hero.chat-open .scene::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,transparent 0%,#efeeebaa 28%,#efeeeb99 72%,transparent 100%);
    mask-image:linear-gradient(to bottom,black 0%,black 48%,transparent 100%);
    pointer-events:none;
  }
  .hero.chat-open .conversation-heading{padding:0 0 4px;min-height:34px}
  .hero.chat-open #close-chat{font-size:11px;min-height:32px;padding:6px 10px}
  .hero.chat-open .messages{gap:16px;padding:14px 2px clamp(12px,5vh,42px)}
  .hero.chat-open .message.user{
    max-width:82%;
    padding:11px 15px;
    font-size:15px;
    border-radius:18px;
  }
  .hero.chat-open .message.assistant:not(.typing-indicator){
    max-width:91%;
    font-size:19px;
    line-height:1.45;
    font-weight:620;
    letter-spacing:-.018em;
    text-shadow:0 1px 4px #fff,0 0 12px #fffc;
  }
  .hero.chat-open .message.typing-indicator{font-size:13px;min-height:30px}
  .hero.chat-open .message .read-reply{min-width:30px;min-height:30px}
  .hero.chat-open .composer{height:60px;min-height:60px;padding:6px 7px 6px 15px;gap:11px}
  .hero.chat-open .composer input{font-size:16px}
  .hero.chat-open .composer-icon{width:25px;height:25px}
  .hero.chat-open .send{width:44px;height:44px;min-width:44px;min-height:44px}
  .hero.chat-open .send svg{width:24px;height:24px}
  .hero.chat-open .chat-note{font-size:11px}
}
@media(max-height:440px){
  .hero.chat-open .hero-content{gap:6px}
  .hero.chat-open .messages{gap:12px;padding-top:12px;padding-bottom:8px}
  .hero.chat-open .conversation-heading{padding-bottom:2px}
}

/* One optional action attached to the latest relevant AI reply. */
.reply-actions{
  display:flex;flex-wrap:wrap;align-items:center;gap:9px 13px;
  margin-top:13px;white-space:normal;text-shadow:none;
}
.signup-action{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:43px;padding:11px 25px;border:0;border-radius:999px;
  background:#285e76;color:#fff;font-size:15px;font-weight:650;
  line-height:1.3;letter-spacing:0;cursor:pointer;
  box-shadow:0 3px 10px #25455916;
}
.signup-action:hover{background:#1d526e}
.call-team-action{text-decoration:none}
.call-team-action:focus-visible{outline:2px solid #285e76;outline-offset:3px}
.signup-caption{font-size:12px;line-height:1.4;font-weight:450;letter-spacing:0;color:#405a67}
.signup-preview{
  width:min(460px,calc(100% - 32px));max-height:calc(100% - 32px);
  border:1px solid #d1dce0;border-radius:24px;padding:0;
  background:#fbfaf8;color:#24343f;
  box-shadow:0 18px 70px #223c4d35;overflow:auto;
}
.signup-preview::backdrop{background:#253b4855;backdrop-filter:blur(3px)}
.signup-preview-content{padding:30px}
.signup-preview h2{font-size:29px;line-height:1.15;letter-spacing:-.035em;margin:8px 0 16px}
.signup-preview p:not(.eyebrow){font-size:15px;line-height:1.6;margin:0 0 14px}
.signup-preview .signup-preview-note{color:#5c6b73;font-size:13px!important}
.signup-preview .signup-action{margin-top:7px}
@media(max-width:700px){
  .reply-actions{gap:7px 10px;margin-top:11px}
  .signup-action{font-size:14px;min-height:44px;padding:10px 20px}
  .signup-caption{font-size:11px}
  .signup-preview-content{padding:24px}
  .signup-preview h2{font-size:26px}
}

/* Firebase-hosted development preview only; private chat build is untouched. */
.hosted-preview .hosted-composer{justify-content:center;color:#5b6e78;background:#ffffffed;min-height:60px;gap:12px;box-shadow:none}
.hosted-composer span{font-size:clamp(14px,1.5vw,20px);line-height:1.4}
.hosted-profile-link{background:transparent;color:#235b76;font-weight:650;font-size:15px;margin-top:13px;padding:10px 16px;border-radius:12px}
.hosted-profile-link:hover{background:#ffffff8c}
.auth-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.auth-top .eyebrow{margin:0}
.auth-close{background:transparent;color:#60707a;font-size:25px;line-height:1;width:36px;height:36px;border-radius:10px}
.auth-close:hover{background:#e8eeee}
#auth-dialog .signup-preview-content{padding:26px 30px}
#auth-dialog h2{font-size:29px}
.auth-google{display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid #cbd5da;border-radius:12px;background:white;color:#293d48;width:100%;min-height:46px;padding:11px 14px;font-size:15px;font-weight:600}
.auth-divider{display:flex;align-items:center;gap:11px;margin:17px 0 13px;font-size:12px;color:#6a7880}
.auth-divider::before,.auth-divider::after{content:'';height:1px;background:#dde3e3;flex:1}
#auth-form{display:grid;gap:7px}
#auth-form label{font-size:13px;font-weight:600;color:#344a55}
#auth-form input{border:1px solid #c7d1d8;border-radius:10px;background:#fff;color:#24343f;padding:12px;min-height:44px;min-width:0;width:100%;font-size:16px;margin-bottom:5px}
.auth-primary{width:100%;margin-top:9px!important;min-height:46px}
.auth-text{font-size:13px;font-weight:600;background:transparent;color:#235b76;padding:7px 0;text-align:left}
.auth-text:hover{text-decoration:underline}
.auth-switch{width:100%;text-align:center;margin:9px 0 13px}
#auth-dialog .auth-small{font-size:12px;color:#64737b;line-height:1.5;margin-bottom:0}
#auth-dialog .auth-status{font-size:13px;line-height:1.45;margin:9px 0 0;color:#315c50}
#auth-dialog .auth-status.error{color:#9f3c35}
.auth-status:empty{display:none}
.account-card{background:#edf3f2;border-radius:12px;padding:14px;margin:0 0 14px;overflow-wrap:anywhere}
#auth-dialog .account-card p{margin:7px 0 0;font-size:13px}
#auth-dialog button:disabled{cursor:wait;opacity:.6}
@media(max-width:700px){#auth-dialog .signup-preview-content{padding:22px}#auth-dialog h2{font-size:25px}.hosted-profile-link{font-size:14px}}

/* A brief, non-interactive confirmation after successful authentication. */
.auth-toast{
  position:fixed;z-index:20;top:max(18px,env(safe-area-inset-top));left:50%;
  transform:translate(-50%,-6px);opacity:0;
  display:flex;align-items:center;gap:10px;
  width:max-content;max-width:calc(100vw - 32px);
  padding:13px 18px;background:#f7faf9;color:#284858;
  border:1px solid #d2e1e0;border-radius:15px;
  box-shadow:0 6px 26px #253b4820;
  font-size:14px;line-height:1.4;font-weight:600;
  pointer-events:none;transition:opacity .3s ease,transform .3s ease;
}
.auth-toast.visible{opacity:1;transform:translate(-50%,0)}
.auth-toast svg{width:19px;height:19px;flex:none;color:#568477}
.auth-toast-copy{min-width:0;overflow-wrap:anywhere}
.auth-toast-copy span{display:block}
#auth-toast-detail{font-size:12px;font-weight:400;margin-top:4px;color:#5b6e78}
@media(prefers-reduced-motion:reduce){.auth-toast{transition:none;transform:translate(-50%,0)}}

/* Existing Firebase account identity, no public profile directory. */
.personal-welcome{margin:12px 0 -6px;font-size:15px;font-weight:600;color:#345b6c;text-align:center;max-width:100%;overflow-wrap:anywhere}
.signup-name-group{display:grid;gap:7px}
.profile-card{display:flex;align-items:center;gap:13px}
.account-avatar{flex:none;position:relative;display:grid;place-items:center;width:52px;height:52px;background:#dce9e6;color:#365e61;border-radius:50%;overflow:hidden;font-size:23px;font-weight:650}
.account-avatar img{width:100%;height:100%;object-fit:cover}
.account-identity{min-width:0;flex:1;overflow-wrap:anywhere}
.account-identity strong{display:block;font-size:16px;line-height:1.3}
#account-email{display:block;font-size:13px;line-height:1.4;margin-top:3px;color:#47616d}
#profile-name-form{margin:0 0 12px;display:grid;gap:6px}
#profile-name-form label{font-size:13px;font-weight:600;color:#344a55}
.profile-name-row{display:flex;gap:10px;align-items:center}
#profile-name{flex:1;min-width:0;width:100%;min-height:42px;border:1px solid #c7d1d8;border-radius:10px;padding:10px 12px;font-size:16px;color:#24343f;background:#fff}
#profile-name-save{white-space:nowrap;min-height:42px;padding:8px}

/* Account button shows identity rather than the chat icon. */
.nav-avatar{display:grid;place-items:center;width:30px;height:30px;flex:none;border-radius:50%;overflow:hidden;background:#dce9e6;color:#365e61;font-size:15px;font-weight:700}
.nav-avatar img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:700px){.nav-avatar{width:23px;height:23px;font-size:12px}}

/* Hosted chat shares the approved conversation geometry. */
.hosted-preview .hero.chat-open #personal-welcome,
.hosted-preview .hero.chat-open #create-profile{display:none!important}
.hosted-preview .hero.chat-open .chat-now{display:flex!important}
.hosted-preview .hero-content #personal-welcome:not([hidden]){margin-top:10px}
.hosted-preview .hero-content #create-profile{margin-top:6px;font-size:13px}
@media(max-width:700px){.hosted-preview .hero.chat-open .header .chat-now{font-size:12px;padding:7px 10px;gap:5px}}

/* A real sign-in event is shown on the customer's side, with their avatar. */
.signin-event{align-self:flex-end;display:flex;align-items:flex-end;justify-content:flex-end;gap:10px;max-width:93%;min-width:0}
.signin-event .signin-confirmation{max-width:calc(100% - 44px);min-width:0;margin:0;font-size:clamp(13px,1.35vw,18px);line-height:1.5;padding:11px 15px}
.signin-avatar{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;overflow:hidden;background:#dce9e6;color:#34585c;font-size:15px;font-weight:650;text-shadow:none}
.signin-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.quick-replies{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;margin:14px 0 2px;white-space:normal;text-shadow:none}
.quick-reply{max-width:100%;padding:9px 14px;min-height:40px;border:1px solid #9ab5bd;border-radius:999px;background:#f8faf9ee;color:#285e76;font-size:14px;font-weight:600;line-height:1.35;white-space:normal;overflow-wrap:anywhere;cursor:pointer;text-align:left;transition:background .15s,border-color .15s}
.quick-reply:hover:not(:disabled){background:#e3edf0;border-color:#648a98}
.quick-reply:disabled{opacity:.55;cursor:default}
@media(max-width:700px){
 .signin-event{gap:7px;max-width:96%}
 .signin-event .signin-confirmation{max-width:calc(100% - 35px);font-size:13px;padding:9px 12px}
 .signin-avatar{width:28px;height:28px;font-size:13px}
 .quick-replies{gap:7px;margin-top:10px}
 .quick-reply{min-height:44px;font-size:13px;padding:9px 12px}
}

/* Private business portfolio and contextual saved-confirmation card. */
.portfolio-dialog{width:min(680px,calc(100% - 28px));max-height:calc(100dvh - 28px);overflow:auto}
.portfolio-dialog .signup-preview-content{padding:24px 28px}
.portfolio-dialog h2{margin:8px 0 17px;overflow-wrap:anywhere}
.portfolio-progress-head{display:flex;justify-content:space-between;gap:12px;font-size:13px;color:#536b77}
.portfolio-progress-head strong{color:#345b6c;font-weight:650}
#portfolio-progress{display:block;width:100%;height:8px;border:0;border-radius:99px;margin:9px 0 9px;overflow:hidden;appearance:none;background:#e0e8e8;accent-color:#52798c}
#portfolio-progress::-webkit-progress-bar{background:#e0e8e8;border-radius:99px}
#portfolio-progress::-webkit-progress-value{background:#52798c;border-radius:99px}
#portfolio-progress::-moz-progress-bar{background:#52798c;border-radius:99px}
.portfolio-dialog .portfolio-summary{font-size:13px;color:#516670;margin:6px 0 12px}
.portfolio-dialog .portfolio-privacy{font-size:12px;line-height:1.45;color:#6a7880;margin-bottom:18px}
.portfolio-group{padding:13px 0;border-top:1px solid #dbe3e4}
.portfolio-group h3{font-size:13px;letter-spacing:.03em;color:#345b6c;margin:0 0 7px}
.portfolio-field{display:grid;grid-template-columns:minmax(100px,40%) minmax(0,1fr);gap:12px;align-items:start;padding:8px 0;font-size:14px;line-height:1.4}
.portfolio-label,.portfolio-field label{color:#5c707a;font-size:13px}
.portfolio-value{font-weight:550;overflow-wrap:anywhere;text-align:right;white-space:pre-wrap;color:#2b4552}
.portfolio-value.missing{font-weight:400;color:#89959b}
.portfolio-field input,.portfolio-field textarea{border:1px solid #c7d1d8;border-radius:9px;padding:10px 11px;min-width:0;width:100%;font:inherit;font-size:16px;line-height:1.4;color:#24343f;background:#fff;resize:vertical}
.portfolio-field input:focus,.portfolio-field textarea:focus{outline:2px solid #8fadb9;outline-offset:1px}
.portfolio-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:14px}
.portfolio-view-button,.portfolio-secondary,.portfolio-account-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 16px;border-radius:12px;font-size:14px;font-weight:650;line-height:1.35;cursor:pointer}
.portfolio-view-button{background:#285e76;color:#fff;border:1px solid #285e76}
.portfolio-secondary,.portfolio-account-button{border:1px solid #b8cdd2;background:#f8faf9;color:#285e76}
.portfolio-account-button{width:100%;justify-content:space-between;margin:0 0 13px}
.portfolio-view-button:disabled,.portfolio-secondary:disabled{opacity:.5;cursor:default}
.portfolio-reply-card{display:grid;gap:7px;width:min(100%,410px);margin:12px 0 14px;padding:14px;border:1px solid #c5d8dd;background:#f8faf9e8;border-radius:15px;white-space:normal;text-shadow:none;line-height:1.35}
.portfolio-reply-card strong{font-size:15px;color:#294c5d}
.portfolio-reply-card span{font-size:12px;color:#5b717c}
.portfolio-reply-card button{justify-self:start;margin-top:2px}
#portfolio-status{font-size:13px;margin:12px 0 0;color:#345b6c}
#portfolio-status.error{color:#a44838}
@media(max-width:700px){
 .portfolio-dialog .signup-preview-content{padding:19px}
 .portfolio-field{font-size:13px;gap:9px}
 .portfolio-field:has(input),.portfolio-field:has(textarea){grid-template-columns:1fr;gap:5px}
 .portfolio-dialog .portfolio-privacy{font-size:12px}
 .portfolio-reply-card{padding:12px;margin:10px 0}
}

/* Dictation replaces the decorative composer chat icon, preserving the
   available text space and existing send button on narrow phones. */
.dictate{display:grid;place-items:center;flex:none;width:clamp(44px,4vw,58px);height:clamp(44px,4vw,58px);border:0;border-radius:50%;padding:0;background:transparent;color:#345e73;cursor:pointer;transition:background .18s,color .18s}
.dictate svg{width:clamp(24px,2.4vw,34px);height:clamp(24px,2.4vw,34px)}
.dictate:hover:not(:disabled){background:#e3edf0}
.dictate:focus-visible{outline:2px solid #739aab;outline-offset:2px}
.dictate.listening{background:#aa5149;color:#fff}
.dictate.listening:hover:not(:disabled){background:#94433c}
.dictate:disabled{opacity:.45;cursor:default}
.dictate svg[hidden]{display:none!important}
.dictation-status{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 12px;max-width:min(100%,865px);margin:9px auto 0;color:#345e73;font-size:12px;line-height:1.4;text-align:center}
.dictation-status.error{color:#94433c}
.dictation-status button{padding:4px 8px;min-height:30px;background:transparent;color:inherit;border:1px solid currentColor;border-radius:8px;font-size:12px;font-weight:600;cursor:pointer}
.dictation-status[hidden],#dictation-cancel[hidden]{display:none!important}
.hero.chat-open .dictation-status{flex:0 0 auto;margin:0;max-width:100%}
@media(max-width:700px){
 .composer,.hero.chat-open .composer{padding-left:7px;gap:8px}
 .dictate{width:44px;height:44px}
 .dictate svg{width:24px;height:24px}
 .dictation-status{font-size:11px;gap:3px 8px}
 .dictation-status button{min-height:36px}
}

/* Keep the existing guest conversation when the visitor chooses an account. */
.guest-continuity{margin:0 0 15px;padding:11px 13px;border:1px solid #d2e1e2;border-radius:12px;background:#f3f8f7;color:#365e6e}
.guest-continuity[hidden],#guest-continuity-retry[hidden]{display:none!important}
#auth-dialog .guest-continuity p{font-size:13px;line-height:1.45;margin:0}
#guest-continuity-retry{margin-top:7px;font-size:12px}
.guest-transfer-note{font-size:12px;line-height:1.5;color:#667b86;margin-top:12px;white-space:normal}

/* A wrapping, growing composer: never put dictated text under Send. */
.composer,.hero.chat-open .composer{height:auto;align-items:center;border-radius:32px}
.composer textarea#question{
  display:block;box-sizing:border-box;flex:1 1 0;width:0;min-width:0;max-width:100%;
  min-height:44px;max-height:132px;padding:9px 0;margin:0;
  background:transparent;color:var(--ink);border:0;outline:none;resize:none;
  font:inherit;font-size:clamp(19px,1.82vw,30px);line-height:1.3;
  white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;
  overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;
  -webkit-appearance:none;appearance:none;border-radius:0;
}
.composer textarea#question::placeholder{color:#677484;opacity:1}
.hero.chat-open .composer textarea#question{font-size:clamp(17px,1.6vw,22px)}
.composer .dictate,.composer .send{flex-shrink:0}
@media(max-width:700px){
 .composer,.hero.chat-open .composer{min-height:60px;height:auto;max-height:none;padding-top:6px;padding-bottom:6px;border-radius:30px}
 .composer textarea#question,.hero.chat-open .composer textarea#question{font-size:16px;line-height:1.35;min-height:44px;max-height:110px;padding:10px 0}
}

/* Optional suggestions are distinct from ordinary quick replies. */
.suggestion-card{display:grid;gap:6px;width:min(100%,410px);margin:12px 0 4px;padding:14px;border:1px solid #c5d8dd;background:#f8faf9ee;border-radius:15px;white-space:normal;text-shadow:none;line-height:1.4}
.suggestion-card strong{font-size:14px;color:#294c5d}
.suggestion-card-title{font-size:14px;font-weight:600;color:#284a5b}
.suggestion-card p{font-size:13px;color:#4f6874;margin:0}
.suggestion-send{justify-self:start;min-height:44px;padding:10px 15px;border-radius:12px;background:#285e76;color:white;font-size:14px;font-weight:650;cursor:pointer}
.suggestion-send:disabled{opacity:.5;cursor:default}
.suggestion-small{font-size:12px;color:#607681;line-height:1.4}
.suggestion-submitted{font-size:13px;font-weight:650;color:#427363}
.my-suggestions{padding:14px 0;margin:12px 0;border-top:1px solid #dae4e5}
.my-suggestions h3{font-size:16px;color:#345b6c;margin:0 0 10px}
.suggestion-record{display:grid;gap:5px;padding:10px 0;border-bottom:1px solid #dbe3e4}
.suggestion-record strong{font-size:14px;color:#2c4e60;overflow-wrap:anywhere}
.suggestion-record span{font-size:12px;color:#52798c}
#auth-dialog .suggestion-record p,#auth-dialog .suggestion-small{font-size:12px;line-height:1.45;margin:0}
#auth-dialog #suggestion-credit{font-weight:650;color:#345e73;font-size:15px}
.suggestion-notice{flex:none;padding:9px 14px;font-size:12px;line-height:1.4;color:#345e73;background:#eef5f4;border-bottom:1px solid #d8e6e5}
.suggestion-notice[hidden],.my-suggestions[hidden],#suggestion-credit[hidden]{display:none!important}
@media(max-width:700px){.suggestion-card{padding:12px}.suggestion-notice{font-size:11px}}

.portfolio-field select{box-sizing:border-box;border:1px solid #c7d1d8;border-radius:9px;padding:10px 11px;min-width:0;width:100%;font:inherit;font-size:16px;line-height:1.4;color:#24343f;background:#fff}
.portfolio-field select:focus{outline:2px solid #8fadb9;outline-offset:1px}
@media(max-width:700px){.portfolio-field:has(select){grid-template-columns:1fr;gap:5px}}

/* Optional review/callback handoff: customer can stop the interview. */
.review-buttons{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:5px}
.review-buttons .review-action{min-height:44px;font-size:13px;white-space:normal;text-align:center}
.review-action:disabled{opacity:.5;cursor:default}
.review-update{white-space:pre-wrap;overflow-wrap:anywhere;color:#294c5d!important}
#review-notice[hidden],#my-requests[hidden]{display:none!important}

/* Isolated Google Business Profile approval stage. */
.maps-notice:not([hidden]){display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.maps-notice .portfolio-view-button{min-height:44px}
#maps-setup-dialog .signup-preview-content{overflow-wrap:anywhere}
.maps-approval-section{margin-top:18px;border-top:1px solid #d7e0e4;padding-top:14px}
.maps-email{font-weight:600;overflow-wrap:anywhere}
.maps-consent{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.5;margin:14px 0}
.maps-consent input{flex:none;width:20px;height:20px;margin-top:2px;accent-color:#285e76}
.maps-help-links{font-size:12px;line-height:1.6}
.maps-help-links a{color:#285e76;text-decoration:underline}
#maps-approve,#maps-withdraw{min-height:44px}
#maps-approve:disabled,#maps-withdraw:disabled{opacity:.5;cursor:default}
#maps-notice[hidden],#my-maps-setup[hidden],#maps-approval-section[hidden],#maps-approved-section[hidden],#maps-withdraw-label[hidden],#maps-withdraw[hidden]{display:none!important}

.maps-prep-confirmation:not([hidden]){display:grid;gap:8px;padding:12px;margin:10px 0;border:1px solid #bed3da;border-radius:12px}
.maps-prep-confirmation[hidden]{display:none!important}
.maps-prep-confirmation .maps-consent{margin:4px 0}
.maps-prep-confirmation button{min-height:44px}
.maps-prep-confirmation p{margin:0}

/* Provisional Charlotte Instant Assistance wordmark. Existing page layout stays intact. */
.brand{gap:12px;letter-spacing:normal;white-space:nowrap;flex-shrink:0}
.brand-monogram{width:clamp(39px,4.4vw,68px);aspect-ratio:1;display:grid;place-items:center;border-radius:24%;background:#243e4d;color:#fff;flex:none;font-size:clamp(19px,2.4vw,34px);font-weight:740;letter-spacing:-.065em;line-height:1}
.brand-wordmark{display:flex;flex-direction:column;align-items:flex-start;gap:5px;line-height:1}
.brand-main{font-size:clamp(26px,3vw,45px);font-weight:740;letter-spacing:-.065em}
.brand-subtitle{font-size:clamp(8px,.82vw,12px);font-weight:650;letter-spacing:.21em;color:#285e76}
.dp-loading-brand .brand-monogram{width:72px;font-size:35px}
.dp-loading-brand .brand-main{font-size:clamp(34px,7vw,51px)}
.dp-loading-brand .brand-subtitle{font-size:clamp(10px,2.4vw,13px)}
@media(max-width:700px){
 .brand{gap:8px}
 .brand-monogram{width:39px;font-size:20px}
 .brand-main{font-size:25px}
 .brand-wordmark{gap:4px}
 .brand-subtitle{font-size:8px;letter-spacing:.16em}
}
@media(max-width:365px){
 .brand{gap:6px}
 .brand-monogram{width:32px;font-size:17px}
 .brand-main{font-size:21px}
 .brand-subtitle{font-size:7px}
}

@media(min-width:701px){
 .hero.chat-open .brand-monogram{width:42px;font-size:23px}
 .hero.chat-open .brand-main{font-size:29px}
 .hero.chat-open .brand-wordmark{gap:4px}
 .hero.chat-open .brand-subtitle{font-size:9px}
}

/* Keep the longer subtitle compact without changing the CIA wordmark. */
.brand-subtitle{letter-spacing:.16em}
.dp-loading-brand .brand-subtitle{font-size:clamp(9px,2.3vw,12px);letter-spacing:.16em}
@media(max-width:365px){
 .brand-subtitle{font-size:7px;letter-spacing:.12em}
}

/* Two independently staggered headline rows. Both reserve their maximum
   text height so the existing composer and background do not jump. */
.headline-wrap:focus-visible{outline:2px solid #78a7c4;outline-offset:7px;border-radius:8px}
.headline-wrap h1{
 display:grid;gap:clamp(12px,1.6vw,25px);margin:0;
 font-size:clamp(36px,4.4vw,72px);line-height:1.08;letter-spacing:-.047em;
}
.headline-row{display:grid;min-width:0;width:100%;align-items:center;text-align:center;text-wrap:balance}
.headline-row .headline-slide{
 display:block;grid-area:1/1;align-self:center;
 opacity:0;visibility:hidden;transform:translateY(6px);
 transition:opacity .26s ease,transform .26s ease,visibility .26s ease;
}
.headline-row .headline-slide.is-active{
 opacity:1;visibility:visible;transform:translateY(0);
 transition:opacity .38s ease .24s,transform .38s ease .24s,visibility 0s .24s;
}
.headline-secondary{font-size:.72em;font-weight:720;line-height:1.13;color:var(--blue);letter-spacing:-.036em}
.headline-promise{
 max-width:650px;margin:clamp(17px,2.1vw,28px) auto clamp(19px,2.5vw,36px);
 font-size:clamp(14px,1.25vw,19px);font-weight:500;line-height:1.5;color:#485c68;
 text-align:center;text-wrap:balance;
}
.headline-wrap.is-intro .headline-primary{animation:headline-arrival .55s .08s both}
.headline-wrap.is-intro .headline-secondary{animation:headline-arrival .55s .65s both}
@keyframes headline-arrival{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:700px){
 .headline-wrap h1{font-size:clamp(27px,7.8vw,38px);gap:14px;line-height:1.12}
 .headline-secondary{font-size:.78em;line-height:1.15}
 .headline-promise{font-size:13.5px;line-height:1.45;margin:17px auto 21px;max-width:360px}
}
@media(max-width:365px){
 .headline-wrap h1{font-size:26px;gap:12px}
 .headline-promise{font-size:12.5px;margin:14px auto 17px}
}
@media(prefers-reduced-motion:reduce){
 .headline-wrap.is-intro .headline-row{animation:none!important}
 .headline-row .headline-slide{transition:none!important;transform:none!important}
}

/* Recorded dictation progress, independent of the speech playback button. */
.dictate.transcribing{background:#e3edf0;color:#345e73;opacity:1}
.dictate.transcribing .dictate-progress{animation:cia-mic-spin 1s linear infinite}
@keyframes cia-mic-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.dictate.transcribing .dictate-progress{animation:none}}


/* Make transcription the primary composer state, without altering the draft.
   The existing live region announces state; the inline label is visual only. */
.composer .dictation-inline-progress[hidden]{display:none!important}
.composer.is-transcribing textarea#question{display:none}
.composer.is-transcribing,.hero.chat-open .composer.is-transcribing{
  border-color:#74a8b8;
  background:linear-gradient(115deg,#f2f8f9 0%,#fff 40%,#eaf5f7 65%,#f2f8f9 100%);
  background-size:240% 100%;
  box-shadow:0 0 0 3px #80b3c324,0 5px 18px #2c718c20;
  animation:cia-composer-glow 2.5s ease-in-out infinite;
}
.dictation-inline-progress{flex:1 1 0;min-width:0;display:grid;gap:6px;padding:5px 0;color:#285e76}
.dictation-progress-copy{min-width:0;display:grid;gap:2px;line-height:1.2;text-align:left}
.dictation-progress-copy strong{font-weight:680;font-size:clamp(16px,1.8vw,22px);overflow-wrap:anywhere}
.dictation-progress-copy>span{font-size:clamp(11px,1.15vw,14px);color:#426879;overflow-wrap:anywhere}
.dictation-progress-track{height:3px;background:#cde2e8;border-radius:99px;overflow:hidden;position:relative}
.dictation-progress-track>span{position:absolute;inset:0 auto 0 0;width:42%;border-radius:99px;background:linear-gradient(90deg,#5f9cac,#285e76,#83c2d0);animation:cia-progress-slide 1.45s ease-in-out infinite}
.composer.is-transcribing .send{opacity:.38;cursor:default;transform:none}
.dictation-status.is-transcribing #dictation-text{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0
}
.dictation-status.is-transcribing #dictation-cancel{color:#426879;background:#ffffffb0}
@keyframes cia-composer-glow{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@keyframes cia-progress-slide{0%{transform:translateX(-100%)}100%{transform:translateX(240%)}}
@media(max-width:700px){
 .dictation-inline-progress{gap:4px;padding:2px 0}
 .dictation-progress-copy strong{font-size:15px}
 .dictation-progress-copy>span{font-size:11px}
}
@media(prefers-reduced-motion:reduce){
 .composer.is-transcribing,.hero.chat-open .composer.is-transcribing,.dictation-progress-track>span{animation:none}
 .dictation-progress-track>span{transform:translateX(70%)}
}
