/* Explicit palette choices live in the card's More drawer or a dashboard header. */
#focus-app .app-theme-switch{display:flex;align-items:center;gap:2px;padding:2px;flex:0 0 auto;border:1px solid var(--v3-line);border-radius:14px;background:var(--v3-bg);}
#focus-app .app-theme-switch button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:44px;width:44px;min-height:44px;padding:3px;border:0;border-radius:10px;background:transparent;color:var(--v3-muted);font-size:11px;font-weight:650;line-height:1.25;letter-spacing:0;box-shadow:none;}
#focus-app .app-theme-switch button svg{width:16px;height:16px;fill:none;}
#focus-app .app-theme-switch button[aria-pressed=true]{background:var(--v3-paper);color:var(--v3-blue);box-shadow:0 1px 4px #172c4b0c;}
#focus-app .app-theme-switch button[aria-pressed=true] svg{fill:none;}
#focus-app .app-theme-switch button:hover{background:var(--v3-soft);color:var(--v3-blue);}
#focus-app .has-theme-switch .app-theme-switch button{width:46px;min-width:46px;padding:3px;font-size:11px;}
#focus-app .app-theme-switch button span{white-space:nowrap;}
html[data-theme=dark] #focus-app .has-theme-switch .app-theme-switch button[aria-pressed=true]{background:var(--v3-paper);color:var(--v3-blue);}
html[data-theme=dark] #focus-app .has-theme-switch .app-theme-switch button[aria-pressed] svg{fill:none;}
#focus-app .has-theme-switch :is(.focus-wordmark,.v3-brand){white-space:nowrap;flex-shrink:0;}
#focus-app .has-theme-switch :is(.focus-tools,.v3-header-tools,.fx-header-tools){display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:flex-end;}
#focus-app .has-theme-switch{gap:8px;}
#focus-app .focus-theme-host .app-theme-switch{gap:4px;padding:3px;}
#focus-app .focus-theme-host .app-theme-switch button{width:64px;min-width:64px;min-height:48px;gap:3px;}
#focus-app .focus-theme-host .app-theme-switch button:focus-visible{outline:2px solid var(--v3-blue);outline-offset:2px;}
@media(max-width:480px){
 #focus-app .has-theme-switch .focus-wordmark{font-size:14px;gap:6px;}
 #focus-app .has-theme-switch .focus-wordmark i{width:14px;height:14px;}
 #focus-app .has-theme-switch .v3-brand{font-size:15px;gap:6px;}
 #focus-app .has-theme-switch .v3-brand svg{width:22px;height:22px;flex-basis:22px;}
 #focus-app .has-theme-switch .v3-brand small{font-size:9px;}
 #focus-app .has-theme-switch .fx-brand{min-width:0;}
 #focus-app .has-theme-switch .fx-brand strong{font-size:14px;}
 #focus-app .has-theme-switch .focus-return{order:2;flex-basis:100%;font-size:11px;}
}
