/* Scoped dark surface palette, generated from context-modern.css. */
:where(html[data-portal-theme="dark"]) body{background:radial-gradient(ellipse at 87% 0,#1c2036,transparent 40rem),#202430;color:var(--ink);}
:where(html[data-portal-theme="dark"]) body>header.p14-header{background:#21222cf7;border-bottom:1px solid #434e6b;}
:where(html[data-portal-theme="dark"]) .p14-logo{background:linear-gradient(145deg,#284d75,#166f76);}
:where(html[data-portal-theme="dark"]) .p14-header .p14-dropdown{border:1px solid #424d6b;}
:where(html[data-portal-theme="dark"]) .p14-header .p14-search-open{background:#202430;}
:where(html[data-portal-theme="dark"]) body main .unified-hero.context-hero{background:radial-gradient(ellipse at 94% 18%,#355e78 0,transparent 58%),linear-gradient(120deg,#162e48,#203c5a 66%,#234b5f)!important;border:1px solid #475478!important;}
:where(html[data-portal-theme="dark"]) .context-hero .unified-identity small{color:#cfdaee;}
:where(html[data-portal-theme="dark"]) .context-hero .unified-monogram{background:#8edac71a;}
:where(html[data-portal-theme="dark"]) .context-copy .p14-kicker,:where(html[data-portal-theme="dark"]) .context-copy .eyebrow{color:#b4f0de!important;}
:where(html[data-portal-theme="dark"]) .context-copy p{color:#dce5f4!important;}
:where(html[data-portal-theme="dark"]) .context-art{border:1px solid #91b4d335;background:linear-gradient(160deg,#111d3659,#273a5666);}
:where(html[data-portal-theme="dark"]) .context-art-head{color:#e8f1ff;}
:where(html[data-portal-theme="dark"]) .context-art-head small{color:#b8cce6;}
:where(html[data-portal-theme="dark"]) .context-art figcaption{color:#c8d6e8;}
:where(html[data-portal-theme="dark"]) .context-workflow{border:0!important;border-top:1px solid #ffffff1e!important;}
:where(html[data-portal-theme="dark"]) .context-workflow>div{border:1px solid #ffffff15;background:#ffffff0b!important;}
:where(html[data-portal-theme="dark"]) .context-art-mini{background:linear-gradient(120deg,#1d3651,#2e4d63);}
:where(html[data-portal-theme="dark"]) .context-art-mini figcaption{color:#dce8f5;}
:where(html[data-portal-theme="dark"]) main .p14-card,:where(html[data-portal-theme="dark"]) main .panel,:where(html[data-portal-theme="dark"]) main .p14-trackgrid>*,:where(html[data-portal-theme="dark"]) main .labcard{border-color:#434e6b;}
:where(html[data-portal-theme="dark"]) main .p14-card{background:#21222c!important;}
:where(html[data-portal-theme="dark"]) main .p14-card:nth-child(3n/**/+2){background:linear-gradient(145deg,#21222c 75%,#21312b)!important;}
:where(html[data-portal-theme="dark"]) main .p14-card:nth-child(3n){background:linear-gradient(145deg,#21222c 75%,#1d1b35)!important;}
:where(html[data-portal-theme="dark"]) main .p14-card p{color:#bbc5d4;}
:where(html[data-portal-theme="dark"]) main .p14-stats>div{border:1px solid #434e6b;background:#21222c;}
:where(html[data-portal-theme="dark"]) main .command-outcome{border-color:#426c5c!important;}
:where(html[data-portal-theme="dark"]) footer{color:#b9c3d1;}
@media(hover:hover) and (pointer:fine){:where(html[data-portal-theme="dark"]) main :is(.p14-card,.labcard):hover{border-color:#44656a!important;}
:where(html[data-portal-theme="dark"]) main .context-art:hover{border-color:#38756280;}}