/* Keep the conversation primary; secondary controls retain their existing handlers. */
@media (min-width:901px) and (pointer:fine){
 .owner-layout .den{position:relative;min-height:0}
 .owner-layout .topbar{min-height:64px;padding:8px 24px;padding-right:540px;align-items:center}
 .owner-layout .den-header-dragon{width:38px;height:38px}
 .owner-layout .topbar h2{font-size:20px;margin:0}
 .owner-layout #projectSettings{min-height:24px;font-size:11px}
 .owner-layout .topbar>.top-actions{display:none}
 .owner-layout .owner-toolbar{position:absolute;right:20px;top:10px;padding:0;background:none;border:0;gap:6px;max-width:510px}
 .owner-layout .owner-dropdown>summary{min-height:36px;padding:7px 10px;font-size:12px}
 .owner-layout .owner-dropdown-content{left:auto;right:0;top:calc(100% + 8px);width:min(420px,calc(100vw - 40px))}
 .owner-layout .owner-quick{display:flex;flex-direction:column;align-items:stretch;gap:6px}
 .owner-layout .owner-quick>button{text-align:left;min-height:36px}
 .owner-layout .assistant-voice-controls:empty{display:none}
 .owner-layout .activity-switch{display:flex;align-items:center;gap:6px;padding:5px 24px;border-bottom:1px solid var(--line);min-height:44px}
 .owner-layout .activity-switch>button{min-height:32px;padding:5px 10px;font-size:12px}
 .home-voice-layout .activity-switch .home-output-voice{margin-left:auto;display:flex;flex-wrap:nowrap;gap:5px;padding:0;border:0;background:none}
 .home-voice-layout .home-output-voice button{min-height:30px;padding:4px 8px;font-size:11px}
 .home-voice-layout .home-mute-dragon{width:20px;height:20px}
 .home-voice-layout .home-output-voice .voice-toggle{font-size:11px;gap:4px;white-space:nowrap}
 .home-voice-layout .home-output-voice .voice-toggle input{margin:0;width:14px;height:14px}
 .owner-layout .forge{margin:0;padding:6px 24px;border:0;border-bottom:1px solid var(--line);border-radius:0;gap:10px;min-height:0}
 .owner-layout .forge:not(.working){display:none}
 .owner-layout .forge-orb,.owner-layout .forge-side>span{display:none}
 .owner-layout .forge-copy{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px}
 .owner-layout .forge-copy strong{font-size:12px}.owner-layout .forge-copy p{font-size:11px;margin:0}
 .owner-layout .forge progress{height:3px;flex:1 1 100%;width:100%;margin:2px 0 0}
 .owner-layout .forge-side button{min-height:28px;font-size:11px;padding:3px 6px}
 .owner-layout .messages{flex:1 1 0;min-height:0;padding:14px 24px;overflow:auto}
 .home-voice-layout .composer-dock{padding:5px 24px 10px}
 .home-voice-layout .composer-top textarea{min-height:58px;height:64px;max-height:160px;padding:12px 14px;font-size:15px}
 .home-voice-layout .home-input-voice{flex-wrap:wrap;overflow:visible;padding:6px 10px;gap:6px}
 .home-voice-layout .home-input-voice>button{min-height:36px;padding:6px 10px}
 .home-voice-layout #chatModelControl{display:flex;flex:0 1 auto;width:auto;max-width:100%;flex-wrap:nowrap;gap:5px;margin:0;padding:0;font-size:11px}
 .home-voice-layout #chatModel{min-height:36px;height:36px;width:auto;max-width:330px;padding:5px 8px;font-size:12px}
 .home-voice-layout #mode,.home-voice-layout #drawingModel{min-height:36px;width:auto;max-width:200px;padding:5px 8px;font-size:12px}
 .home-voice-layout .home-input-voice .mobile-tools{flex:0 0 auto;min-width:0}
 .home-voice-layout .home-input-voice .mobile-tools>summary{display:flex;align-items:center;min-height:36px;padding:6px 12px;font-size:12px;border:1px solid #71947c;border-radius:8px;cursor:pointer;list-style:none}
 .home-voice-layout .mobile-tools-panel[popover]{position:fixed;inset:auto;margin:0;max-height:50dvh;max-width:400px;padding:10px;background:#142b21;color:var(--text);border:1px solid #71947c;border-radius:10px;box-shadow:0 -8px 30px #0008;overflow:auto}
 .home-voice-layout .mobile-tools-panel:popover-open{display:flex;flex-direction:column;gap:6px}
 .home-voice-layout .mobile-tools-panel button{min-height:36px;padding:8px 12px;text-align:left;background:#1d3d2d;color:var(--text);border:1px solid #71947c;border-radius:7px}
 .home-voice-layout .message-receipt{padding:6px 10px;margin:0 0 5px;font-size:12px}
 .home-voice-layout #imageSizeControls,.home-voice-layout #videoControls{font-size:12px;max-width:100%}
 .home-voice-layout .home-input-voice>span select{width:auto;max-width:180px;font-size:12px;padding:5px}
}
@media (min-width:901px) and (max-width:1150px) and (pointer:fine){
 .owner-layout .topbar{padding-left:16px;padding-right:470px}.owner-layout .owner-toolbar{right:12px;max-width:450px}
 .owner-layout .activity-switch{padding-left:16px;padding-right:16px;flex-wrap:wrap}
 .home-voice-layout .home-output-voice .voice-toggle{display:none}
 .home-voice-layout #chatModel{max-width:270px}
}
/* Removed feature controls stay absent even when older layout classes are cached. */
#handsFree,#wakePhrase,#voiceGuide,#wakeStatus,#handsFreeStatus,#practiceUseWake,#wakeDialog{display:none!important}
