/* A phone is a scrolling conversation, with a separate stage and action sheet. */
@media(max-width:760px){
  .topbar{--header-height:126px;padding:10px 16px;gap:8px 10px;box-shadow:none}
  .topbar .brand{gap:10px}.topbar .logo{width:40px;height:40px}
  .brand-copy{gap:4px}.brand-eyebrow{font-size:8px;letter-spacing:1px}
  .topbar .claim{font-size:15px;letter-spacing:-.35px}
  .topbar .btn-home{font-size:12px;padding:0 10px;gap:5px}
  .topbar .btn-home .ic{width:16px;height:16px}
  .topbar .btn-voz{width:38px}.topbar .btn-voz,.topbar .btn-home{min-height:40px;height:40px;border-radius:12px}
  .topbar .view-switch button{font-size:13px;min-height:42px}
  .topbar .view-switch button[aria-pressed="true"]::after{width:4px;height:4px;margin-left:0}
  main,body.av-home main,body.av-answer main{height:calc(100% - 126px);overflow-y:auto;overflow-x:hidden;background:#f6f7f8;position:relative}
  body.av-home .stage3d,body.av-answer .stage3d{height:350px;min-height:350px;background:radial-gradient(ellipse at 50% 44%,#fff 0,#f0f2f3 76%);overflow:hidden}
  body.av-home .stage3d .node,body.av-answer .stage3d .node{inset:0 0 72px;width:100%;height:auto}
  body.av3d .stage3d .badge{left:16px;top:14px;font-size:11px;padding:7px 10px;gap:6px;border:1px solid #e5e8e5;box-shadow:none}
  .stage3d .badge i{width:7px;height:7px}
  body.av-home main .say,body.av-answer main .say,body.av-home main .heard,body.av-answer main .heard{
    left:16px;right:16px;top:auto;bottom:14px;width:auto;max-width:none;margin:0;padding:16px 18px;border-radius:18px;
    font-size:16px;line-height:1.45;font-weight:600;letter-spacing:-.35px;box-shadow:0 5px 20px #272b3010;border:1px solid #eaedef;
  }
  body.av-home .say small,body.av-answer .say small{font-size:9px;letter-spacing:1.6px;margin-bottom:6px}
  body.av-home .say #avVoiceStatus,body.av-answer .say #avVoiceStatus{font-size:11px;letter-spacing:0;line-height:1.4;margin:8px 0 0}
  body.av-home #view,body.av-answer #view{
    position:relative;inset:auto;left:auto;right:auto;top:auto;bottom:auto;width:auto;max-width:none;margin:0;padding:8px 16px 28px;
    overflow:visible;z-index:3;
  }
  body.av-home .av-panel,body.av-answer .av-panel{padding:0;display:block}
  body.av-home .av-mic,body.av-answer .av-mic{min-height:56px;font-size:18px;border-radius:16px;gap:12px;box-shadow:0 6px 16px #af12121a;background:#c21920}
  body.av-home .av-or{gap:8px;margin-top:10px}
  body.av-home .av-or button{font-size:13px;min-height:46px;border-radius:12px;gap:7px;border-color:#e0e3e6}
  body.av-home .av-or button .ic{width:16px;height:16px}
  body.av-home .av-hint{font-size:11px;font-weight:650;color:#70777c;margin:22px 0 10px;letter-spacing:.3px}
  body.av-home .av-chips{display:grid;grid-template-columns:1fr;gap:7px;margin:0}
  body.av-home .av-chips button{font-size:13px;text-align:left;padding:11px 14px;border-radius:12px;line-height:1.4;border-color:#e7e9eb;background:#fff}
  body.av-home .av-privacy{font-size:10px;line-height:1.5;color:#7a8288;margin-top:20px;padding-top:14px;text-align:left}
  body.av-answer .av-loc{padding:18px;border-radius:18px;background:#fff;border:1px solid #e6e9eb;box-shadow:none}
  body.av-answer .av-loc h2{font-size:18px;margin:0 0 16px}
  body.av-answer .av-loc-head{padding:12px 0;gap:12px}
  body.av-answer .av-aisle{width:72px;height:72px;flex-shrink:0;border-radius:14px}
  body.av-answer .av-aisle b{font-size:27px}body.av-answer .av-aisle small{font-size:9px}
  body.av-answer .av-loc-head h3{font-size:15px;line-height:1.35}body.av-answer .av-loc-head p{font-size:12px}
  body.av-answer .av-fab{display:none}
  .kiosk-home{padding:24px 16px;gap:20px}.kiosk-welcome h1{font-size:36px}.kiosk-welcome p{font-size:17px}
}
@media(max-width:380px){.topbar .claim{font-size:13px}.topbar .brand-eyebrow{font-size:7px}.topbar .brand{gap:7px}.topbar{gap:8px 6px}.topbar .btn-home{padding:0 8px}}
@media(max-width:760px) and (max-height:740px){body.av-home .stage3d,body.av-answer .stage3d{height:300px;min-height:300px}}

@media(max-width:760px){
  body.av-home .stage3d,body.av-answer .stage3d{
    height:auto;min-height:0;display:flex;flex-direction:column;overflow:visible;
    background:radial-gradient(ellipse at 50% 35%,#fff,#f1f3f4 78%);
  }
  body.av-home .stage3d .node,body.av-answer .stage3d .node{
    position:relative;inset:auto;width:100%;height:clamp(380px,54svh,560px);flex:none;clip-path:none;
  }
  body.av-home main .say,body.av-answer main .say,body.av-home main .heard,body.av-answer main .heard{
    position:relative;inset:auto;left:auto;right:auto;top:auto;bottom:auto;
    margin:0 16px 16px;width:auto;flex:none;z-index:2;
  }
  body.av-home #view,body.av-answer #view{padding-top:0}
}
/* A single interaction surface replaces the stack of duplicate actions. */
.conversation-actions{display:flex;gap:10px;align-items:stretch}
.conversation-actions .av-mic{flex:1;min-width:0}
.conversation-write{display:flex;align-items:center;justify-content:center;gap:8px;padding:0 20px;background:#fff;border:1px solid #dfe3e6;border-radius:16px;font-size:16px;font-weight:650;color:#41484d}
.conversation-write .ic{width:19px;height:19px}
.conversation-examples{display:flex;align-items:center;gap:12px;margin-top:18px}
.conversation-examples>span{font-size:12px;color:#737b80;white-space:nowrap}
.conversation-examples .av-chips{margin:0;gap:6px}
.conversation-examples .av-chips button{font-size:12px;padding:8px 10px;display:flex;align-items:center;gap:6px}
.conversation-examples .ic{width:12px;height:12px}
.conversation-privacy{font-size:11px;color:#788086;margin-top:16px;line-height:1.5}
.conversation-privacy summary{cursor:pointer;width:fit-content;min-height:28px;padding:6px 0}
.conversation-privacy p{max-width:60ch;margin:6px 0 0}
@media(max-width:760px){
  .topbar{--header-height:112px;gap:5px 10px;padding:8px 16px}
  .topbar .view-switch button{min-height:36px}
  main,body.av-home main,body.av-answer main{height:calc(100% - 112px)}
  body.av-home .stage3d .node,body.av-answer .stage3d .node{height:clamp(300px,43svh,440px)}
  body.av-home main .say,body.av-answer main .say{
    margin:0 24px 18px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;
    font-size:16px;font-weight:500;text-align:center;line-height:1.4;letter-spacing:-.3px;
  }
  body.av-home .say>small:first-child,body.av-answer .say>small:first-child{display:none}
  body.av-home #view{padding:0 16px 20px}
  body.av-home .home-conversation{background:#fff;border:1px solid #e7eaec;border-radius:22px;padding:14px;box-shadow:0 6px 24px #242a3010}
  body.av-home .conversation-actions{gap:8px}
  body.av-home .av-mic{min-height:52px;font-size:16px;border-radius:13px;box-shadow:none}
  .conversation-write{font-size:13px;padding:0 14px;border-radius:13px;background:#f7f8f9;border-color:#edf0f2}
  .conversation-examples{display:block;margin-top:14px}
  .conversation-examples>span{display:block;font-size:10px;margin-bottom:7px}
  body.av-home .conversation-examples .av-chips{display:flex;flex-wrap:wrap;gap:6px}
  body.av-home .conversation-examples .av-chips button{padding:7px 9px;min-height:32px;border:0;background:#f4f5f6;border-radius:8px;font-size:11px;white-space:nowrap}
  .conversation-privacy{font-size:10px;margin-top:10px;border-top:1px solid #f0f1f2;padding-top:4px}
}
/* Greeting typography stays distinct from conversational answer text. */
.greeting-title{display:block;font-size:clamp(24px,2.6vw,34px);line-height:1.18;letter-spacing:-1px;font-weight:750;color:#25292c;text-wrap:balance}
.greeting-support{display:block;margin-top:10px;font-size:clamp(15px,1.6vw,20px);line-height:1.5;letter-spacing:-.25px;font-weight:400;color:#687178;text-wrap:balance}
.greeting-support em{font-weight:650}
@media(max-width:760px){
  body.av-home main .say:has(.greeting-title){margin:4px 24px 22px}
  .greeting-title{font-size:25px;letter-spacing:-.85px;line-height:1.2}
  .greeting-support{font-size:14px;line-height:1.45;margin-top:7px;max-width:29ch;margin-left:auto;margin-right:auto}
}
/* Desktop home: greeting and actions form one continuous conversation column. */
@media(min-width:761px){
  body.av-home main{--conversation-width:min(40vw,560px);--conversation-right:7%;--conversation-top:clamp(80px,19vh,210px)}
  body.av-home main .say{
    top:var(--conversation-top);right:var(--conversation-right);left:auto;width:var(--conversation-width);
    padding:0;background:transparent;border:0;box-shadow:none;border-radius:0;
  }
  body.av-home .say>small:first-child{font-size:11px;letter-spacing:2px;margin-bottom:16px;color:#a35b5f}
  body.av-home .greeting-title{font-size:clamp(29px,3vw,44px);letter-spacing:-1.5px;line-height:1.15}
  body.av-home .greeting-support{font-size:clamp(16px,1.4vw,20px);margin-top:14px;font-weight:400}
  body.av-home #view{
    right:var(--conversation-right);left:auto;bottom:auto;top:calc(var(--conversation-top) + 168px);
    width:var(--conversation-width);max-width:none;padding:0;margin:0;
  }
  body.av-home .home-conversation{padding:22px;background:#ffffffd9;border:1px solid #e3e7e9;border-radius:22px;box-shadow:0 12px 36px #25313b08}
  body.av-home .av-mic{min-height:58px;font-size:19px;border-radius:14px;box-shadow:none}
  body.av-home .conversation-write{font-size:14px;border-radius:14px;padding:0 18px}
  .conversation-examples{align-items:flex-start;flex-direction:column;gap:8px;margin-top:20px}
  .conversation-examples .av-chips{justify-content:flex-start;gap:7px}
  .conversation-examples .av-chips button{border-radius:9px;background:#f4f6f7;border:0;padding:9px 11px;font-size:12px}
  .conversation-privacy{border-top:1px solid #edf0f2;padding-top:10px;margin-top:18px}
}
@media(min-width:761px) and (max-height:700px){
  body.av-home main{--conversation-top:44px}
  body.av-home #view{top:calc(var(--conversation-top) + 145px)}
  body.av-home .greeting-title{font-size:30px}
}
.conversation-actions .conversation-write{
  min-width:132px;min-height:52px;padding:0 20px;background:#fff;
  border:1.5px solid #b7c0c6;color:#303940;font-size:16px;font-weight:650;
  box-shadow:0 2px 5px #25313b05;flex-shrink:0;
}
.conversation-actions .conversation-write:hover{background:#f4f6f7;border-color:#89979f}
.conversation-actions .conversation-write:focus-visible{outline:3px solid #af1212;outline-offset:3px}
@media(max-width:760px){
  .conversation-actions .conversation-write{min-width:104px;padding:0 12px;font-size:14px}
}
