/* Scoped dark surface palette, generated from project130.css. */
:where(html[data-portal-theme="dark"]) .p130-hero{background:radial-gradient(ellipse at 95% 20%,#226f74,transparent 60%),linear-gradient(135deg,#102d43,#174e60);color:#edf7fa;}
:where(html[data-portal-theme="dark"]) .p130-hero h1{color:white;}
:where(html[data-portal-theme="dark"]) .p130-hero p{color:#cde7e9;}
:where(html[data-portal-theme="dark"]) .p130-hero .eyebrow{color:#8ce8ce;}
:where(html[data-portal-theme="dark"]) .p130-secondary{background:var(--paper);color:var(--ink);border:1px solid var(--line);}
:where(html[data-portal-theme="dark"]) .p130-secondary:hover{background:#22312e;color:#bde2ea;}
:where(html[data-portal-theme="dark"]) .p130-hero .p130-secondary{background:#ffffff10;color:#fff;border-color:#ffffff44;}
:where(html[data-portal-theme="dark"]) .p130-kpis>div{background:var(--paper);border:1px solid var(--line);}
:where(html[data-portal-theme="dark"]) .p130-kpis small{color:var(--muted);}
:where(html[data-portal-theme="dark"]) .p130-kpis strong{color:var(--teal);}
:where(html[data-portal-theme="dark"]) .p130-tabs button{background:var(--paper);color:var(--ink);border:1px solid var(--line);}
:where(html[data-portal-theme="dark"]) .p130-tabs button.active{background:#146965;color:white;border-color:#146965;}
:where(html[data-portal-theme="dark"]) #p130-root input,:where(html[data-portal-theme="dark"]) #p130-root select,:where(html[data-portal-theme="dark"]) #p130-root textarea{border:1px solid var(--line);color:var(--ink);background:var(--paper);}
:where(html[data-portal-theme="dark"]) .p130-notice{color:var(--teal);}
:where(html[data-portal-theme="dark"]) .p130-note{border-left:3px solid #1a9b91;background:#149d9010;}
:where(html[data-portal-theme="dark"]) .p130-row{border:1px solid var(--line);}
:where(html[data-portal-theme="dark"]) .p130-row .p130-remove{background:#21222c;color:#dfb4b4;border:1px solid #6d4040;}
:where(html[data-portal-theme="dark"]) .p130-pill{color:#b4ece8;background:#168e8413;border:1px solid #168e8433;}
:where(html[data-portal-theme="dark"]) .p130-links a{border:1px solid var(--line);background:var(--paper);}
:where(html[data-portal-theme="dark"]) .p130-links small{color:var(--muted);}
:where(html[data-portal-theme="dark"]) .p130-arch{background:#10283d;}
:where(html[data-portal-theme="dark"]) .p130-scroll th,:where(html[data-portal-theme="dark"]) .p130-scroll td{border-bottom:1px solid var(--line);}
:where(html[data-portal-theme="dark"]) .p130-scroll th{background:#168e840d;}
:where(html[data-portal-theme="dark"]) .p130-gantt .week{color:var(--muted);}
:where(html[data-portal-theme="dark"]) .p130-gantt .bar{background:#283a38;}
:where(html[data-portal-theme="dark"]) .p130-gantt .bar.done{background:#138c82;}
:where(html[data-portal-theme="dark"]) .p130-gantt .bar.progress{background:#443823;}
:where(html[data-portal-theme="dark"]) .p130-gantt .bar.review{background:#27303d;}
:where(html[data-portal-theme="dark"]) .p130-code{background:#112a40;color:#d8e7f0;}
:where(html[data-portal-theme="dark"]) .p130-warning{color:#e9c8aa;}
:where(html[data-portal-theme="dark"]) .p130-result{color:var(--teal);}
:where(html[data-portal-theme="dark"]) .p130-muted{color:var(--muted);}