/* Scoped dark surface palette, generated from competency129.css. */
:where(html[data-portal-theme="dark"]) .c129-hero{background:linear-gradient(120deg,#122f4b,#1f5667);color:#eef6ff;}
:where(html[data-portal-theme="dark"]) .c129-hero h1{color:white;}
:where(html[data-portal-theme="dark"]) .c129-hero p{color:#cce5e9;}
:where(html[data-portal-theme="dark"]) .c129-hero .eyebrow{color:#9be4cc;}
:where(html[data-portal-theme="dark"]) .c129-kpis>div{border:1px solid var(--line);background:var(--paper);}
:where(html[data-portal-theme="dark"]) .c129-kpis small{color:var(--muted);}
:where(html[data-portal-theme="dark"]) .c129-kpis strong{color:var(--teal);}
:where(html[data-portal-theme="dark"]) .c129-tabs button{background:var(--paper);color:var(--ink);border:1px solid var(--line);}
:where(html[data-portal-theme="dark"]) .c129-tabs button.active{background:#166963;color:#fff;border-color:#166963;}
:where(html[data-portal-theme="dark"]) .c129-field input,:where(html[data-portal-theme="dark"]) .c129-field select,:where(html[data-portal-theme="dark"]) #c129-root select,:where(html[data-portal-theme="dark"]) #c129-root input:not([type=checkbox]):not([type=radio]){border:1px solid var(--line);background:var(--paper);color:var(--ink);}
:where(html[data-portal-theme="dark"]) .c129-choice{border:1px solid var(--line);}
:where(html[data-portal-theme="dark"]) .c129-tag{color:var(--teal);}
:where(html[data-portal-theme="dark"]) .c129-check{border-left:4px solid #485765;background:var(--bg);}
:where(html[data-portal-theme="dark"]) .c129-check.pass{border-color:#15946b;}
:where(html[data-portal-theme="dark"]) .c129-check.fail{border-color:#c37b35;}
:where(html[data-portal-theme="dark"]) .c129-meter{border:1px solid var(--line);}
:where(html[data-portal-theme="dark"]) .c129-track{background:#94aabb33;}
:where(html[data-portal-theme="dark"]) .c129-track span{background:linear-gradient(90deg,#16867d,#43b6a0);}
:where(html[data-portal-theme="dark"]) .c129-scroll th,:where(html[data-portal-theme="dark"]) .c129-scroll td{border-bottom:1px solid var(--line);}
:where(html[data-portal-theme="dark"]) .c129-note{border-left:3px solid #ce9e53;background:var(--bg);}
:where(html[data-portal-theme="dark"]) .c129-status{color:var(--muted);}