/* Neutral graphite dark mode. Shared by the portal and the isolated account pages. */
html[data-mk3-theme=dark]{--mk-bg:#101114;--mk-surface:#191b20;--mk-soft:#21242b;--mk-text:#edf0f4;--mk-muted:#aab2be;--mk-border:#30353e;--mk-link:#a0d7bb;color-scheme:dark}
html[data-mk3-theme=dark] body.mk3-client-style{--mk-bg:#101114;--mk-surface:#191b20;--mk-soft:#21242b;--mk-text:#edf0f4;--mk-muted:#aab2be;--mk-border:#30353e;--mk-link:#a0d7bb}
html[data-mk3-auth-theme=dark]{--auth-bg:#101114;--auth-panel:#191b20;--auth-soft:#21242b;--auth-input:#14161b;--auth-text:#edf0f4;--auth-muted:#aab2be;--auth-label:#c5cbd4;--auth-border:#3a414d;--auth-rule:#30353e;--auth-link:#a0d7bb;--auth-placeholder:#8e98a7;--auth-button:#26724f;--auth-error-bg:#352327;--auth-error-text:#f5c3c8;--auth-error-border:#6f444e}
/* A quiet header separates navigation from the content, without a green cast. */
html[data-mk3-theme=dark] body.mk3-portal-skin>.header,
html[data-mk3-theme=dark] body.mk3-client-style:has(#mk3-client-content)>.header,
html[data-mk3-theme=dark] body.mk3-client-style:has(#mk3-client-content)>.title,
html[data-mk3-theme=dark] body>#mk3-billing-navigation,
html[data-mk3-theme=dark] body.mk3-client-style>#mk3-billing-navigation{background:#111318!important;border-color:#2b3039!important}
html[data-mk3-theme=dark] body.mk3-portal-skin>.title{background:#111318!important;border-color:#2b3039!important}
html[data-mk3-auth-theme=dark] body>.topbar,
html[data-mk3-auth-theme=dark] body:has(#mk3-register-layout)>.topbar{background:#111318!important;border-color:#2b3039!important}
html[data-mk3-auth-theme=dark] .intro,
html[data-mk3-auth-theme=dark] body.mk3-portal-skin #mk3-register-layout .intro{background:#13161b!important;color:#edf0f4!important}
html[data-mk3-auth-theme=dark] .intro .lead,
html[data-mk3-auth-theme=dark] body.mk3-portal-skin #mk3-register-layout .intro .lead{color:#aab2be!important}
html[data-mk3-auth-theme=dark] .intro .eyebrow,
html[data-mk3-auth-theme=dark] body.mk3-portal-skin #mk3-register-layout .intro .eyebrow{color:#aab2be!important}
html[data-mk3-auth-theme=dark] .intro h1 span,
html[data-mk3-auth-theme=dark] body.mk3-portal-skin #mk3-register-layout .intro h1 span{color:#b6d8c6!important}
html[data-mk3-auth-theme=dark] .intro .discover,
html[data-mk3-auth-theme=dark] body.mk3-portal-skin #mk3-register-layout .intro .discover{border-color:#30353e!important}
html[data-mk3-auth-theme=dark] .network{opacity:.65}
/* Consistent neutral controls; brand color is reserved for small accents. */
html[data-mk3-auth-theme=dark] .auth-appearance select,
html[data-mk3-auth-theme=dark] .topbar .split-language select,
html[data-mk3-auth-theme=dark] body:has(#mk3-register-layout)>.topbar .split-language select{background:#20242b!important;border-color:#414957!important;color:#dfe4eb!important}
html[data-mk3-auth-theme=dark] .topbar .services{border-color:#414957!important;background:#1b1f26!important;color:#edf0f4!important}
html[data-mk3-auth-theme=dark] .account .signin{background:#e0e6ed!important;color:#15181d!important;box-shadow:0 1px 2px #0003!important}
html[data-mk3-auth-theme=dark] .account .signin:hover{background:#fff!important}
html[data-mk3-auth-theme=dark] body.mk3-portal-skin #mk3-register-layout .signup_form button[type=submit]{background:#e0e6ed!important;border-color:#e0e6ed!important;color:#15181d!important}
html[data-mk3-auth-theme=dark] body.mk3-portal-skin #mk3-register-layout .signup_form button[type=submit]:hover{background:#fff!important;border-color:#fff!important}
html[data-mk3-theme=dark] body.mk3-client-style #mk3-client-content :is(.btn-primary,.btn-success){background:#e0e6ed!important;border-color:#e0e6ed!important;color:#15181d!important}
html[data-mk3-theme=dark] body.mk3-client-style #mk3-client-content :is(.btn-primary,.btn-success) :is(span,i){color:#15181d!important;-webkit-text-fill-color:#15181d!important}
html[data-mk3-theme=dark] body #mk3-billing-navigation .mk3-appearance-menu>summary{background:#20242b!important;border-color:#414957!important;color:#e0e6ed!important}
html[data-mk3-theme=dark] body #mk3-billing-navigation .mk3-nav-panel{background:#1a1d23!important;border-color:#353c47!important;box-shadow:0 14px 36px #0005!important}
html[data-mk3-theme=dark] body #mk3-billing-navigation .mk3-service-icon{background:#252a33!important;border-color:#ffffff0d!important;color:#c2cfdf!important}
html[data-mk3-theme=dark] body #mk3-billing-navigation .mk3-appearance-menu>summary>.mk3-service-icon{background:transparent!important;color:#c2cfdf!important}
html[data-mk3-theme=dark] body #mk3-billing-navigation :is(a[aria-current=page],.mk3-nav-menu.is-current>summary){background:#242932!important;color:#c2ddce!important}
html[data-mk3-theme=dark] body #mk3-billing-navigation .mk3-appearance-menu button[aria-pressed=true]{background:#29313a!important;box-shadow:inset 2px 0 0 #a0d7bb!important}
html[data-mk3-theme=dark] body #mk3-billing-navigation :is(a,summary,button):hover{background:#2b3039!important}
html[data-mk3-theme=dark] body.mk3-client-style #mk3-client-content :is(.card,.panel){box-shadow:0 2px 8px #00000014!important}
html[data-mk3-theme=dark] body.mk3-client-style #mk3-client-content :is(.card-header,.panel-heading){background:#1c1f25!important}
html[data-mk3-theme=dark] body.mk3-client-style #mk3-client-content .table th{background:#171a1f!important;color:#bec6d1!important}
html[data-mk3-theme=dark] body.mk3-client-style #mk3-client-content .table tbody tr:hover>td{background:#20242b!important}
html[data-mk3-theme=dark] body.mk3-client-style #mk3-client-content :is(.btn-light,.btn-default){background:#242932!important;border-color:#3a424f!important;color:#dce3eb!important}
html[data-mk3-theme=dark] body.mk3-client-style #mk3-client-content :is(input,select,textarea,button,a):focus-visible,
html[data-mk3-auth-theme=dark] .native-fields :is(input,select,textarea):focus{outline:2px solid #91a7c1!important;outline-offset:3px!important;border-color:#91a7c1!important}
