:root{
  --ss-brand:#59c7e8;
  --ss-brand-bright:#82d9f0;
  --ss-brand-dark:#153443;
  --ss-brand-border:#32788d;
  --ss-brand-soft:rgba(89,199,232,.13);
}

/* Brand identity */
.brand,.eyebrow,.ss-spaces-brand,.ss-share-kicker,.ss-analyzer-wordmark{color:var(--ss-brand)!important}
.button.primary,.tabs button.active,button.submit,.ss-spaces-button.primary,.ss-share-actions button.primary{
  color:#fff4f7!important;background:var(--ss-brand-dark)!important;border-color:var(--ss-brand)!important
}
.button.primary:hover,.tabs button.active:hover,button.submit:hover,.ss-spaces-button.primary:hover,.ss-share-actions button.primary:hover{
  background:#1d4658!important;border-color:var(--ss-brand-bright)!important
}
.password-toggle:hover,.password-toggle:focus-visible,.password-toggle.showing,.forgot,.ss-spaces-landing-back{
  color:var(--ss-brand-bright)!important
}
.ss-spaces-close:hover,.ss-spaces-close:focus-visible,.ss-space-manage:hover,.ss-space-manage:focus-visible,
.ss-space-row:hover,.ss-space-row:focus-visible{border-color:var(--ss-brand)!important}
.ss-space-row.is-active,.ss-share-option:has(input:checked){border-color:var(--ss-brand-border)!important;background:var(--ss-brand-soft)!important}
.ss-space-enter{color:var(--ss-brand-bright)!important;background:transparent!important}
.ss-space-switcher-dot{background-color:var(--ss-brand)!important}
.ss-space-avatar{color:#dff8ff!important;background:#173b49!important}

/* Neutral selected/navigation controls use the brand. Semantic results remain green/red. */
.pill.on:not(.on-win):not(.on-correct):not(.on-mistake),
.tv-pill.on,.bs-sel.active,.pk-date-btn.on,.hof-place-toggle.on,.review-filter-area .pill.on,
.rv-pill.on-street,.rv-pill.on-tag{
  color:var(--ss-brand-bright)!important;background:var(--ss-brand-soft)!important;border-color:var(--ss-brand-border)!important
}
.pk-pill.on{color:#dff8ff!important;background:var(--ss-brand-dark)!important;border-color:var(--ss-brand)!important}
.ss-mtt-label{color:var(--ss-brand)!important}
.sec-chev{color:var(--ss-brand)!important;border-color:rgba(89,199,232,.4)!important}
.sec-chev:hover,.rv-note:focus{border-color:var(--ss-brand)!important}
.hi.active{border-left-color:var(--ss-brand)!important}
#review-mode-hdr-btn.mode-active::before{background:var(--ss-brand)!important}
.toolbar-menu[open] summary{border-color:var(--ss-brand-border)!important;color:var(--ss-brand-bright)!important;background:var(--ss-brand-soft)!important}
#change-btn,#tv-open-btn,#tv-sel-pill,#tl-filter-apply,.flt-load-btn-green,
#demo-load-btn,#ls-dlg-save,#ls-s2-save,.lesson-editor-actions button.primary,.lm-export.primary{
  color:var(--ss-brand-bright)!important;background:var(--ss-brand-soft)!important;border-color:var(--ss-brand-border)!important
}
#demo-load-btn{color:#fff4f7!important;background:var(--ss-brand)!important}
#hdr-type{color:var(--ss-brand-bright)!important;background:var(--ss-brand-soft)!important;border-color:var(--ss-brand-border)!important}

input:focus,textarea:focus,select:focus{border-color:var(--ss-brand)!important;outline:none}
input[type="checkbox"],input[type="radio"]{accent-color:var(--ss-brand)}
