/* Existing controls are moved intact; desktop keeps settings inline. */
.mobile-settings{display:contents}.mobile-settings > summary{display:none}.mobile-settings-panel{display:contents}
@media(max-width:600px){
 body > header.mobile-header-ready{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;gap:8px!important;padding:7px 12px!important;min-height:58px!important;position:relative!important;top:auto!important;z-index:11000}
 .mobile-header-ready .logo{min-width:0;flex:1}
 .mobile-header-ready .logo img{height:34px!important;width:34px!important}
 .mobile-header-ready .logo a{gap:7px!important}
 .mobile-header-ready .logo a > div > span:first-child{font-size:13px!important}
 .mobile-header-ready .logo a > div > span:last-child{display:none!important}
 .mobile-header-ready .nav-actions{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;width:auto!important;gap:6px!important;margin:0!important}
 .mobile-header-ready .nav-actions > a{font-size:12px!important;padding:8px!important;min-height:40px;box-sizing:border-box}
 .mobile-settings{display:block;position:relative}
 .mobile-settings > summary{display:flex;align-items:center;justify-content:center;list-style:none;width:40px;height:40px;border:1px solid var(--border-color,#dbe2ea);border-radius:10px;cursor:pointer;font-size:21px;color:var(--text-primary,#172b46);background:var(--bg-primary,#fff)}
 .mobile-settings > summary::-webkit-details-marker{display:none}
 .mobile-settings:not([open]) .mobile-settings-panel{display:none!important}
 .mobile-settings[open] .mobile-settings-panel{display:flex;position:absolute;right:0;top:46px;flex-direction:column;align-items:stretch;gap:10px;padding:14px;width:220px;box-sizing:border-box;border:1px solid var(--border-color,#dbe2ea);border-radius:14px;background:var(--bg-primary,#fff);box-shadow:0 12px 32px #0003;z-index:11001}
 .mobile-settings-panel select,.mobile-settings-panel button{min-height:44px;width:100%;font-size:14px}
 #gpuhi-services{padding:6px 12px!important}
 #gpuhi-services .gpuhi-service-primary{gap:6px;flex-wrap:nowrap}
 #gpuhi-services .gpuhi-service-primary button{min-height:40px;padding:7px 12px;font-size:14px;border-radius:9px}
 #gpuhi-services .gpuhi-service-context{margin-top:6px;min-height:0;flex-wrap:nowrap;overflow-x:auto;gap:6px;padding-bottom:2px}
 #gpuhi-services .gpuhi-service-context button,#gpuhi-services .gpuhi-service-context a{flex-shrink:0;min-height:40px;padding:7px 10px;font-size:12px;white-space:nowrap}
 .voice-embed-toolbar{padding:7px 12px;gap:6px}
 .voice-embed-toolbar h2{font-size:13px}.voice-embed-toolbar a{font-size:11px}
}
