#mobile-quick-open{display:none}
#mobile-chat-status{display:none}
.composer.agent-unavailable #mobile-quick-open{pointer-events:auto;cursor:pointer}
#mobile-quick-dialog{width:min(440px,calc(100vw - 20px));max-height:85vh;max-height:85dvh;padding:14px;overflow:auto;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink)}
#mobile-quick-dialog::backdrop{background:#0008}
#mobile-quick-dialog .mobile-quick-close{display:block;margin:0 0 14px auto;padding:10px;border:1px solid var(--line);border-radius:8px;background:transparent;color:inherit}
#mobile-quick-dialog #side-quick{display:block;padding:0}
#mobile-quick-dialog .side-quick-list{max-height:none;overflow:visible}
#mobile-quick-dialog .side-quick-card{touch-action:pan-y}
#mobile-quick-dialog .quick-drag{display:none}
html[data-theme="night"] #mobile-quick-dialog{background:#111e30;color:#e0edff;border-color:#34516d}
@media(max-width:1100px){#mobile-quick-open{display:inline-flex}.message-tools{flex-wrap:wrap;gap:8px}.compose-tools{flex-wrap:wrap}}
@media(max-width:760px){
 #mobile-chat-status{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 12px;font-size:12px;flex-shrink:0;background:#eaf9f4;color:#087e61}
 #mobile-chat-status button{padding:7px 12px;border:1px solid #31ad96;border-radius:7px;background:#fff;color:#087e61;white-space:nowrap}
 html[data-theme="night"] #mobile-chat-status{background:#163549;color:#a7e6df}
 :root{--seat-top:env(safe-area-inset-top,0px);--seat-bottom:env(safe-area-inset-bottom,0px)}
 html.native-seat-mobile{--seat-top:max(env(safe-area-inset-top,0px),32px);--seat-bottom:max(env(safe-area-inset-bottom,0px),16px)}
 body .app{padding-top:var(--seat-top);padding-bottom:calc(62px + var(--seat-bottom))}
 body .rail{height:calc(62px + var(--seat-bottom));padding-bottom:var(--seat-bottom)}
 body .rail nav{height:62px;padding-right:52px;grid-template-columns:repeat(4,1fr)}
 body .rail>.theme-toggle{top:auto;right:8px;bottom:calc(14px + var(--seat-bottom));z-index:45}
 .chat-head>div:not(.avatar){min-width:0;flex:1}
 .chat-head small,.chat-head p{max-width:calc(100vw - 130px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .composer>#mobile-quick-open{display:flex;align-items:center;justify-content:center;margin:7px 10px;padding:9px 14px;min-height:38px;border:1px solid #31ad96;border-radius:8px;background:#eaf9f4;color:#087e61;font-size:14px;font-weight:700}
 html[data-theme="night"] .composer>#mobile-quick-open{background:#163549;color:#7de4df;border-color:#367f94}
}
