/* UI30: owner-requested #8B2033 wine accents on approved UI29.
   Presentation only. Do not restyle lottery cards, disabled states, business badges or transactions. */
:root[data-exlot-theme='light'],:root[data-exlot-theme='dark'] {
  --ex30-wine:#8B2033;
  --ex30-wine-hover:#711A2A;
  --ex30-wine-border:#B85A6A;
  --ex30-gold-ink:#F5DEA8;
  --ex30-gold-line:#C89A4C;
}
/* Sidebar selection: same wine in both Light and Dark; clear gold icon/text. */
html[data-exlot-theme] .app-sidebar [data-active='true'],
html[data-exlot-theme] .agent-nav [data-slot='sidebar-menu-button'][data-active='true'],
html[data-exlot-theme] .agent-subnav a.active {
  background-color:var(--ex30-wine)!important;
  color:var(--ex30-gold-ink)!important;
  border-color:var(--ex30-wine-border)!important;
  background-image:none!important;
  box-shadow:none!important;
  text-shadow:none!important;
}
html[data-exlot-theme] .app-sidebar [data-active='true'] :is(span,svg),
html[data-exlot-theme] .agent-subnav a.active :is(span,svg) {
  color:inherit!important;
}
/* Hover feedback is a flat border/background, not an animated glow. */
html[data-exlot-theme] .app-sidebar :is([data-slot='sidebar-menu-button'],[data-sidebar='menu-button'],.agent-subnav a):not([data-active='true']):not(.active):hover {
  background-color:#35212A!important;
  color:#F5DEA8!important;
  border-color:var(--ex30-wine-border)!important;
  box-shadow:none!important;
}
/* Primary submission/save actions: only actionable buttons, disabled styles remain UI29. */
html[data-exlot-theme] :is(.agent-workspace,.member-workspace) button.gold-button:enabled,
html[data-exlot-theme] .member-workspace .key-bet-page .key-submit-under-note > button.gold-button:enabled,
html[data-exlot-theme] .agent-workspace button.add-user-submit:enabled {
  background-color:var(--ex30-wine)!important;
  background-image:none!important;
  border-color:var(--ex30-wine)!important;
  color:#FFFFFF!important;
  box-shadow:none!important;
  text-shadow:none!important;
}
html[data-exlot-theme] :is(.agent-workspace,.member-workspace) button.gold-button:enabled:hover,
html[data-exlot-theme] .member-workspace .key-bet-page .key-submit-under-note > button.gold-button:enabled:hover,
html[data-exlot-theme] .agent-workspace button.add-user-submit:enabled:hover {
  background-color:var(--ex30-wine-hover)!important;
  border-color:var(--ex30-wine-border)!important;
}
/* Active number/mode, report and category tabs; inactive and disabled tabs untouched. */
html[data-exlot-theme] :is(.agent-workspace,.member-workspace,.dashboard-main)
  :is(.key-mode-bar,.key-mode-options,.agent-tabs,.category-tabs,.report-presets,.agent-share-toolbar)
  >button:is(.active,.selected,[aria-pressed='true'],[data-state='active']):not(:disabled) {
  background-color:var(--ex30-wine)!important;
  background-image:none!important;
  color:var(--ex30-gold-ink)!important;
  border-color:var(--ex30-wine-border)!important;
  box-shadow:none!important;
}
html[data-exlot-theme] :is(.agent-workspace,.member-workspace,.dashboard-main)
  :is(.key-mode-bar,.key-mode-options,.agent-tabs,.category-tabs,.report-presets,.agent-share-toolbar)
  >button:not(:disabled):hover {
  border-color:var(--ex30-wine-border)!important;
}
/* Minimal gold leading line on the two requested content headings only. */
html[data-exlot-theme] .member-workspace .welcome-row h1,
html[data-exlot-theme] .agent-workspace .ex20v-head h2 {
  border-inline-start:3px solid var(--ex30-gold-line)!important;
  padding-inline-start:10px!important;
}
/* Focus stays visible for keyboard users and costs no animation. */
html[data-exlot-theme] :is(.agent-workspace,.member-workspace) :is(button.gold-button,.agent-nav a,.key-mode-bar button,.key-mode-options button):focus-visible {
  outline:2px solid var(--ex30-gold-line)!important;
  outline-offset:2px!important;
}
