/* LL AI v66.02 — PHONE control normalization. Tablets/desktops intentionally unchanged. */
@media (max-width:700px){
  /* Header: one consistent 48px control system. */
  .topbar #openSide,
  .topbar #topCommands.commandTopBtn,
  .topbar #tempChatBtn.llTempChatBtn{
    box-sizing:border-box!important;
    width:48px!important;min-width:48px!important;height:48px!important;min-height:48px!important;
    padding:0!important;margin:0!important;border-radius:999px!important;
    display:grid!important;place-items:center!important;line-height:0!important;
  }
  .topbar #openSide svg,.topbar #topCommands svg{width:21px!important;height:21px!important}
  .topbar #tempChatBtn .llTempChatIcon{width:22px!important;height:22px!important}

  /* ChatGPT-like mobile response actions: clean icon row, no giant outlined tiles. */
  .msgrow>.msgActions{gap:3px!important;min-height:38px!important;margin-top:7px!important}
  .msgrow>.msgActions>.btn,
  .msgrow>.msgActions>.ll625MoreBtn{
    box-sizing:border-box!important;width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;
    border:0!important;border-radius:999px!important;background:transparent!important;box-shadow:none!important;
    color:color-mix(in srgb,var(--theme-text,#fff) 70%,transparent)!important;
  }
  .msgrow>.msgActions>.btn:hover,.msgrow>.msgActions>.btn:focus-visible,
  .msgrow>.msgActions>.ll625MoreBtn:hover,.msgrow>.msgActions>.ll625MoreBtn:focus-visible,.msgrow>.msgActions>.ll625MoreBtn.is-open{
    border:0!important;background:rgba(255,255,255,.075)!important;box-shadow:none!important;color:var(--theme-text,#fff)!important;
  }
  html[data-theme="light"] .msgrow>.msgActions>.btn,
  html[data-theme="light"] .msgrow>.msgActions>.ll625MoreBtn{background:transparent!important;border:0!important;color:rgba(20,25,35,.66)!important}
  html[data-theme="light"] .msgrow>.msgActions>.btn:hover,
  html[data-theme="light"] .msgrow>.msgActions>.ll625MoreBtn:hover{background:rgba(20,25,35,.065)!important;border:0!important}
  .msgrow>.msgActions>.btn>svg,.msgrow>.msgActions>.ll625MoreBtn>svg{width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important}

  /* Composer: plus, mic, and voice/send share one physical footprint. */
  .composebox>#attach,
  .composebox>#voice.composerDictation,
  .composebox>#send.composerPrimary{
    box-sizing:border-box!important;width:48px!important;min-width:48px!important;height:48px!important;min-height:48px!important;
    margin:0!important;padding:0!important;border-radius:999px!important;display:grid!important;place-items:center!important;
  }
  .composebox{min-height:62px!important;padding:6px 7px!important;gap:3px!important}
  .composebox textarea{min-height:48px!important;padding:12px 8px!important}
  .composerDictation .composerMicIcon{width:23px!important;height:23px!important}
  .composerPrimary .composerWaveIcon{width:23px!important;height:23px!important}

  /* Full voice mode: mic and close are equal-size peers instead of 52/64 mismatches. */
  #voiceOverlay:not([hidden]) .voiceControls #voiceMute.bigRound,
  #voiceOverlay:not([hidden])>#closeVoice.llPolishedIcon{
    box-sizing:border-box!important;width:60px!important;min-width:60px!important;height:60px!important;min-height:60px!important;
    border-radius:20px!important;padding:0!important;margin:0!important;display:grid!important;place-items:center!important;
  }
  #voiceOverlay:not([hidden])>#closeVoice.llPolishedIcon{right:18px!important;bottom:max(24px,env(safe-area-inset-bottom))!important}
  #voiceOverlay:not([hidden]) .voiceControls{right:86px!important;bottom:max(24px,env(safe-area-inset-bottom))!important;gap:8px!important}
  #voiceOverlay:not([hidden]) .voiceControls #voiceMute .micIcon{width:26px!important;height:26px!important}
  #voiceOverlay:not([hidden])>#closeVoice.llPolishedIcon .llIcon{width:25px!important;height:25px!important}
}
@media (max-width:380px){
  .topbar #openSide,.topbar #topCommands.commandTopBtn,.topbar #tempChatBtn.llTempChatBtn{width:46px!important;min-width:46px!important;height:46px!important;min-height:46px!important}
  .composebox>#attach,.composebox>#voice.composerDictation,.composebox>#send.composerPrimary{width:46px!important;min-width:46px!important;height:46px!important;min-height:46px!important}
}
