/* Shared colors describe the role of the control in both themes. */
:root{
  --action-bg:#145cb0;--action-hover:#104d96;--action-ink:#fff;
  --selected-bg:#e6f0ff;--selected-ink:#164e93;--selected-edge:#4d82c8;
  --interaction-focus:#2976ca;--secondary-hover:#f0f5fc;
}
:root[data-theme=dark]{
  --action-bg:#7748a1;--action-hover:#8655b1;
  --selected-bg:#3f304d;--selected-ink:#efdcff;--selected-edge:#b98ade;
  --interaction-focus:#d3a6f3;--secondary-hover:#3a3144;
}
html[data-theme] body .app-shell .main-area .btn:not(.secondary,.danger,.warning,.success):not(:disabled,[aria-disabled=true]),
html:not([data-theme]) body .app-shell .main-area .btn:not(.secondary,.danger,.warning,.success):not(:disabled,[aria-disabled=true]){
  background:var(--action-bg)!important;border-color:var(--action-bg)!important;color:var(--action-ink)!important;
}
html[data-theme] body .app-shell .main-area .btn:not(.secondary,.danger,.warning,.success):not(:disabled,[aria-disabled=true]):hover,
html:not([data-theme]) body .app-shell .main-area .btn:not(.secondary,.danger,.warning,.success):not(:disabled,[aria-disabled=true]):hover{
  background:var(--action-hover)!important;border-color:var(--action-hover)!important;
}
html body .app-shell .main-area .btn.secondary:not(.danger,.warning,.success):not(:disabled,[aria-disabled=true]):hover{
  background:var(--secondary-hover)!important;
}
html body .app-shell .main-area :is(.workspace-tabs .selected,#bulk-editor .bulk-view-options > .btn[aria-pressed=true]){
  background:var(--selected-bg)!important;color:var(--selected-ink)!important;
  border-color:var(--selected-edge)!important;box-shadow:inset 0 -2px var(--selected-edge)!important;
}
html body .app-shell :is(.btn,input,select,textarea,summary):focus-visible{
  outline:2px solid var(--interaction-focus)!important;outline-offset:2px;
}
html[data-theme=dark] body .app-shell :is(.btn,input,select,textarea,summary):focus-visible{
  outline-color:var(--interaction-focus)!important;
}
