/* v0.35.0 (t208b): phone layout. Sidebar becomes a slide-in drawer; header, chat and pages fit a phone screen. */
.m208-menu,.m208-scrim{display:none}
@media(max-width:760px){
html,body{overflow-x:hidden}
body.studio .shell,body.studio.nav-collapsed .shell{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:52px auto minmax(0,1fr)!important;height:100dvh}
body.studio header,body.studio #notice,body.studio #view{grid-column:1!important}
body.studio header{height:52px;min-height:52px!important;padding:0 10px 0 6px!important;gap:6px}
body.studio .m208-menu{display:grid;place-items:center;flex:none;width:40px;height:40px;border:0;border-radius:10px;background:transparent;color:#21152F;cursor:pointer}
body.studio .m208-menu:active{background:#F1ECF6}
body.studio .m208-menu svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
body.studio .crumb{font-size:14px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1}
body.studio .crumb>*:not(:last-child){display:none}
body.studio .header-actions{gap:4px}
body.studio .header-actions button.icon[data-action=expand]{display:none}
body.studio .ui-language button{padding:3px 8px!important;font-size:12px!important}
body.studio nav,body.studio.nav-collapsed nav{position:fixed!important;top:0;left:0;bottom:0;z-index:80;width:min(290px,84vw)!important;padding:12px 12px calc(14px + env(safe-area-inset-bottom))!important;align-items:stretch!important;background:#fff!important;transform:translateX(-104%);transition:transform .28s cubic-bezier(.2,.8,.2,1);box-shadow:0 0 40px rgba(33,21,47,.18);overflow-y:auto}
body.studio.m208-open nav{transform:none}
body.studio.nav-collapsed nav>button{width:auto!important;justify-content:flex-start!important;padding:0 12px!important;font-size:15px!important;gap:12px!important}
body.studio.nav-collapsed .nav-word{display:flex!important}
body.studio.nav-collapsed .nav-mascot,body.studio .nav-toggle,body.studio .nav-mascot{display:none!important}
body.studio nav>button{height:46px!important;min-height:46px!important;font-size:15px!important;border-radius:12px!important}
body.studio nav>button svg{width:20px!important;height:20px!important}
body.studio .m208-scrim{display:block;position:fixed;inset:0;z-index:79;background:rgba(33,21,47,.35);opacity:0;pointer-events:none;transition:opacity .25s}
body.studio.m208-open .m208-scrim{opacity:1;pointer-events:auto}
body.studio #view:not(.chat-mode){padding:16px 14px calc(32px + env(safe-area-inset-bottom))!important}
body.studio #view .card{padding:14px!important}
body.studio #view table{display:block;overflow-x:auto;white-space:nowrap}
body.studio #view .chat-message-text{font-size:15px}
body.studio #view .chat-message-column{padding:16px 14px 8px}
body.studio dialog:not(.su208):not(#kn-dialog){max-width:calc(100vw - 24px)}
#web-open207{left:12px!important;right:12px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important}
}
