/* Phase 4 shared theme control. The button stays compact inside the global header. */
.as-nav-theme{
  width:var(--ds-touch-min);
  min-width:var(--ds-touch-min);
  height:var(--ds-touch-min);
  padding:0;
  display:inline-grid;
  place-items:center;
  border:0;
  border-radius:var(--ds-radius-md);
  background:transparent;
  color:var(--ds-text);
  cursor:pointer;
  transition:background var(--ds-transition-fast),color var(--ds-transition-fast);
}
.as-nav-theme:hover{background:var(--ds-primary-soft);color:var(--ds-primary-strong);}
.as-nav-theme .as-theme-label{display:none;}
.as-nav-theme .as-theme-icon{display:grid;place-items:center;line-height:1;}
.as-nav-theme svg{
  width:var(--ds-icon-md);
  height:var(--ds-icon-md);
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
