/* UI27: account summary rows and pending-number contrast only. */
html[data-exlot-theme] .ui27-account-panel,
html[data-exlot-theme] .ui27-balance-panel {
  background:#303b47!important; color:#e2e8f0!important; border:0!important;
  border-radius:0!important; box-shadow:none!important; text-shadow:none!important;
  margin:0!important; padding:0 8px!important; background-image:none!important;
}
html[data-exlot-theme] .ui27-account-panel {display:block!important}
html[data-exlot-theme] :is(.ui27-account-row,.ui27-balance-panel) {
  display:grid!important; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)!important;
  align-items:center!important; gap:8px!important; min-height:34px!important;
}
html[data-exlot-theme] :is(.ui27-account-panel,.ui27-balance-panel) :is(span,b,a,button,.ui27-account-value) {
  font-size:11.5px!important; line-height:1.5!important; margin:0!important;
  color:#e2e8f0!important; font-weight:600!important; letter-spacing:0!important;
  text-shadow:none!important; opacity:1!important; white-space:normal!important;
  overflow-wrap:anywhere; min-width:0;
}
html[data-exlot-theme] .ui27-account-value,
html[data-exlot-theme] .ui27-balance-panel>b {text-align:right!important; font-variant-numeric:tabular-nums}
html[data-exlot-theme] .ui27-account-value :is(a,button) {text-align:right!important; max-width:100%; padding:0!important}
html[data-exlot-theme] :is([data-sidebar='group'],[data-slot='sidebar-group']):has(>.ui27-account-panel)>:is([data-sidebar='group-label'],[data-slot='sidebar-group-label']) {display:none!important}
html[data-exlot-theme='light'] :is(.agent-workspace,.member-workspace) .key-bet-page {--kp-bg:#edf3f8;--kp-chip:#ffffff;--kp-ink:#17212c;--kp-line:#8092a5;--kp-remove:#a3172c;--kp-hover:#e1e9f1}
html[data-exlot-theme='dark'] :is(.agent-workspace,.member-workspace) .key-bet-page {--kp-bg:#18232f;--kp-chip:#2d3f52;--kp-ink:#f1f5f9;--kp-line:#839ab0;--kp-remove:#ffbac5;--kp-hover:#3c536b}
html[data-exlot-theme] :is(.agent-workspace,.member-workspace) .key-bet-page .key-number-chips {
  background:var(--kp-bg)!important; border-color:var(--kp-line)!important;
  background-image:none!important; box-shadow:none!important; filter:none!important;
}
html[data-exlot-theme] :is(.agent-workspace,.member-workspace) .key-bet-page .key-number-chips>button {
  color:var(--kp-ink)!important; background:var(--kp-chip)!important;
  border-color:var(--kp-line)!important; font-weight:700!important; opacity:1!important;
  background-image:none!important; box-shadow:none!important; text-shadow:none!important;
  font-variant-numeric:tabular-nums; filter:none!important;
}
html[data-exlot-theme] :is(.agent-workspace,.member-workspace) .key-bet-page .key-number-chips>button>span {color:var(--kp-remove)!important;opacity:1!important}
html[data-exlot-theme] :is(.agent-workspace,.member-workspace) .key-bet-page .key-number-chips>button:hover {background:var(--kp-hover)!important}
html[data-exlot-theme] :is(.agent-workspace,.member-workspace) .key-bet-page .key-number-chips>button:focus-visible {outline:2px solid var(--kp-ink)!important;outline-offset:2px}
html[data-exlot-theme] :is(.agent-workspace,.member-workspace) .key-bet-page .key-input-grid input {
  color:var(--kp-ink)!important; background:var(--kp-chip)!important; border-color:var(--kp-line)!important;
  caret-color:var(--kp-ink)!important; opacity:1!important; text-shadow:none!important; box-shadow:none!important;
}
html[data-exlot-theme='light']:has(.agent-workspace) .topbar [data-slot='sidebar-trigger'] {background:#e2e9f0!important;color:#243746!important;border:1px solid #8092a5!important;opacity:1!important}
html[data-exlot-theme='dark']:has(.agent-workspace) .topbar [data-slot='sidebar-trigger'] {background:#304050!important;color:#f1f5f9!important;border:1px solid #839ab0!important;opacity:1!important}
html[data-exlot-theme]:has(.agent-workspace) .topbar [data-slot='sidebar-trigger'] svg {color:inherit!important;opacity:1!important}
html[data-exlot-theme]:has(.agent-workspace) .topbar [data-slot='sidebar-trigger']:focus-visible {outline:2px solid currentColor!important;outline-offset:2px}
