/* These overrides apply only outside the desktop companion. */
.browser-mode [data-desktop-only],.browser-mode #desktopTools,
.browser-mode .card:has(#brainChoice),
.browser-mode #voiceReactorMinimize,.browser-mode #voiceReactorExpand{display:none!important}
.browser-mode #voiceOrb{cursor:pointer;touch-action:manipulation}
.browser-mode #voiceOrb:focus-visible{outline:2px solid #fff;outline-offset:6px}
.browser-mode #voiceReactorOrb{pointer-events:auto;cursor:pointer}
@media(max-width:600px){
  .browser-mode body{overflow-wrap:anywhere}
  .browser-mode .navigation{flex-wrap:wrap;overflow:visible}
  .browser-mode :is(button,a.btn,summary,[role=button]){min-height:40px;min-width:40px;touch-action:manipulation}
  .browser-mode :is(input,select,textarea){font-size:16px;max-width:100%;min-width:0}
  .browser-mode input:not([type=checkbox]):not([type=radio]),.browser-mode select{min-height:44px}
  .browser-mode .row>*,.browser-mode .stack>*,.browser-mode .twocol>*{min-width:0;max-width:100%}
  .browser-mode .row>label{flex:1 1 100%}
  .browser-mode .field{width:100%}
  .browser-mode .work-hub .row>.field{flex-basis:100%;min-width:0}
  .browser-mode .work-hub .work-banner{padding:18px}
  .browser-mode .work-hub .card{padding:15px}
  .browser-mode .work-account-layout{grid-template-columns:minmax(0,1fr)}
  .browser-mode .work-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
  .browser-mode .work-entry .row{align-items:stretch}
  .browser-mode .work-prep>summary{display:flex;width:fit-content;align-items:center}
  .browser-mode .work-hub details>summary{padding-top:10px;padding-bottom:10px}
  .browser-mode .work-hub label:has(input[type=checkbox]){min-height:40px;display:flex;align-items:center;gap:8px}
  .browser-mode .assistant-panel{right:12px;bottom:max(78px,env(safe-area-inset-bottom));width:calc(100vw - 24px);padding:16px;max-height:calc(100dvh - 100px)}
  .browser-mode .voice-controls>div{min-width:0}
  .browser-mode #voiceReactor{padding:64px 16px 90px;gap:20px}
  .browser-mode #voiceReactorClose{width:44px;height:44px;top:max(12px,env(safe-area-inset-top));right:16px}
  .browser-mode #voiceReactor .reactor-controls{bottom:max(20px,env(safe-area-inset-bottom));max-width:calc(100% - 32px);flex-wrap:wrap;justify-content:center}
  .browser-mode #voiceReactorState{max-width:100%;text-align:center;font-size:12px}
  .browser-mode #voiceReactor[data-briefing=true]{padding:64px 16px 90px}
}
