/* Keep conversation space available on phones; desktop layout stays unchanged. */
@media(max-width:700px){
 .topbar{height:48px!important;min-height:48px!important}
 .composer-wrap{padding:4px 10px max(6px,env(safe-area-inset-bottom))!important;flex-shrink:0}
 .composer{padding:8px 10px!important;border-radius:18px!important}
 .composer #prompt{min-height:34px!important;max-height:20dvh!important;padding:2px 0 6px!important;line-height:1.4;font-size:16px}
 .composer #prompt:placeholder-shown:not(:focus){height:34px!important}
 .composer .composer-bottom{gap:5px!important;padding-top:6px!important}
 .composer-bottom .composer-model,.composer-bottom #reasoning-select:not(.hidden){height:34px!important;min-height:34px!important}
 .cloud-chat-bar{flex-direction:row;align-items:center;gap:6px;margin:0 0 5px;padding:5px 9px;border-radius:10px;min-height:36px}
 .cloud-chat-bar>div:first-child{min-width:0;flex:1}
 .cloud-chat-bar strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.4}
 .cloud-chat-bar small{font-size:11px;line-height:1.35;margin-top:3px}
 .cloud-chat-bar.is-agent-connected small{display:none}
 .cloud-bar-actions{gap:3px}
 .cloud-bar-actions button{font-size:10px;padding:5px 4px;min-height:30px;white-space:nowrap}
 .server-lease-warning{flex-direction:row;align-items:center;gap:8px;margin:0 0 5px;padding:5px 9px;border-radius:10px;font-size:11px;line-height:1.35}
 .server-lease-warning>span{min-width:0;flex:1}
 .server-lease-warning>button{flex-shrink:0;min-height:32px;padding:5px 8px;font-size:11px;white-space:nowrap}
 .composer-wrap:has(.server-lease-warning:not([hidden])) .cloud-chat-bar.is-agent-connected{display:none}
 .context-status{margin:0!important;padding:2px 4px!important;min-height:24px}
 .context-status button{font-size:11px;padding:3px 8px;min-height:24px}
 .token-composition{margin:2px 0 4px!important;font-size:11px}
 .token-composition>summary{padding:2px 0;line-height:1.4}
 .jump-bottom{padding:6px 10px!important;font-size:11px!important;max-width:calc(100% - 32px)}
}
