/* The same black background, white type and Libre Franklin as the home page. */
body.portfolio-dark-page {
  --paper:#000; --paper-deep:#101010; --white:#fff; --ink:#f4f4f4;
  --muted:#b3b3b3; --line:rgba(255,255,255,.22);
  background:#000; color:#f4f4f4; color-scheme:dark;
  font-family:"Libre Franklin","Helvetica Neue",Helvetica,Arial,sans-serif;
}
.portfolio-dark-page .site-header,.portfolio-dark-page .site-footer{background:#000;color:#fff}
.portfolio-dark-page .site-header,.portfolio-dark-page .site-footer,.portfolio-dark-page .project-detail__top{border-color:var(--line)}
.portfolio-dark-page .brand__mark{background:#fff;color:#000}
.portfolio-dark-page .native-dashboard-intro h1,.portfolio-dark-page .case-hero h1{font-family:inherit;font-weight:300}
.portfolio-dark-page .native-dashboard-intro .eyebrow{color:var(--muted)}
.portfolio-dark-page a:focus-visible{outline:2px solid #fff;outline-offset:5px}

.portfolio-index-page .portfolio-projects a{font-size:clamp(1.5rem,3.8vw,3.5rem);padding-block:clamp(22px,3.2vw,35px)}
.portfolio-index-page .portfolio-heading{margin-bottom:24px}
.portfolio-index-page .portfolio-category+.portfolio-category{margin-top:28px}
.portfolio-index-page .portfolio-category__heading{margin:0 0 14px;color:#b3b3b3;font-size:.75rem;font-weight:600;letter-spacing:.09em;line-height:1.4;text-transform:uppercase}

/* Articles retain their reading width and figure layouts. */
body.portfolio-dark-page.research-paper-page{background:#000;color:#ededed;font-family:"Libre Franklin","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:17px}
.portfolio-dark-page.research-paper-page .project-detail__top a,.portfolio-dark-page .research-paper a{color:#d5e7fa}
.portfolio-dark-page.research-paper-page .project-detail__main .research-paper h1{color:#fff;font-family:inherit;font-weight:300}
.portfolio-dark-page .research-paper h2{color:#fff;font-family:inherit;font-weight:300}
.portfolio-dark-page .research-paper h3{color:#f4f4f4;font-family:inherit}
.portfolio-dark-page .research-paper .paper-kicker,.portfolio-dark-page .research-paper .paper-subtitle,.portfolio-dark-page .research-paper .paper-meta,.portfolio-dark-page .research-paper figcaption,.portfolio-dark-page .research-paper .paper-table caption,.portfolio-dark-page .research-paper .paper-sources p{color:#b3b3b3}
.portfolio-dark-page .research-paper .paper-kicker,.portfolio-dark-page .research-paper .paper-meta,.portfolio-dark-page .research-paper .paper-actions,.portfolio-dark-page .research-paper .paper-contents,.portfolio-dark-page .research-paper .paper-equation,.portfolio-dark-page .research-paper figcaption,.portfolio-dark-page .research-paper .paper-table{font-family:inherit}
.portfolio-dark-page .research-paper figcaption strong{color:#ededed}
.portfolio-dark-page .research-paper .paper-abstract,.portfolio-dark-page .research-paper .paper-sources,.portfolio-dark-page .research-paper .paper-table th,.portfolio-dark-page .research-paper .paper-table td,.portfolio-dark-page .research-paper .paper-table tbody tr:last-child td{border-color:var(--line)}
.portfolio-dark-page .research-paper .paper-equation{background:#101010;border-left-color:#8ca3bc;color:#ededed}
.portfolio-dark-page .research-paper .paper-table{color:#ededed}
.portfolio-dark-page .research-paper .paper-table th{background:#171717;color:#fff}
.portfolio-dark-page .research-paper .paper-figure>a{background:#101010;border-color:var(--line)}

/* Dashboard controls and surfaces share the page palette. */
.portfolio-dark-page .native-dashboard{--blue:#fff;--ink:#f4f4f4;--muted:#b3b3b3;--line:rgba(255,255,255,.22);background:#000;color:#f4f4f4;font-family:inherit}
.portfolio-dark-page .native-dashboard .section-nav{background:#111}
.portfolio-dark-page .native-dashboard .section-nav a,.portfolio-dark-page .native-dashboard a{color:#ededed}
.portfolio-dark-page .native-dashboard .section-nav a:hover,.portfolio-dark-page .native-dashboard .section-nav a:focus-visible{background:#252525}
.portfolio-dark-page .native-dashboard .section-heading h2{color:#fff;font-family:inherit;font-weight:300}
.portfolio-dark-page .native-dashboard .kpi-grid,.portfolio-dark-page .native-dashboard .curve-controls,.portfolio-dark-page .native-dashboard .chart-source{background:#101010}
.portfolio-dark-page .native-dashboard .kpi-value{color:#fff}
.portfolio-dark-page .native-dashboard .chart-card{background:#101010}
.portfolio-dark-page .native-dashboard .download-button{background:#171717;border-color:#666;color:#fff}
.portfolio-dark-page .native-dashboard .download-button:hover{background:#292929}
.portfolio-dark-page .native-dashboard .warning{background:#231d10;color:#eadcb6}
.portfolio-dark-page .native-dashboard :is(.dash-dropdown,.dash-dropdown-content,.dash-dropdown-trigger,.Select-control,.Select-menu-outer){background:#151515;color:#f4f4f4;border-color:#666}
.portfolio-dark-page .native-dashboard :is(.dash-dropdown-value,.dash-dropdown-value-item,.dash-dropdown-placeholder,.Select-value-label,.Select-placeholder){color:#ededed}
.portfolio-dark-page .native-dashboard :is(input,button){font-family:inherit}
.portfolio-dark-page .native-dashboard input{color:#f4f4f4;background:#151515}
.portfolio-dark-page .native-dashboard .dash-dropdown-search-container{background:#151515;border-color:#666}
.portfolio-dark-page .native-dashboard :is(.dash-dropdown-trigger-icon,.dash-dropdown-search-icon){color:#bdbdbd}
.portfolio-dark-page .native-dashboard .dash-dropdown-search::placeholder{color:#aaa}
.portfolio-dark-page .native-dashboard [role=listbox]{background:#151515;color:#f4f4f4;border-color:#666}
.portfolio-dark-page .native-dashboard [role=option]{background:#151515;color:#f4f4f4}
.portfolio-dark-page .native-dashboard [role=option]:is(:hover,[aria-selected=true]){background:#303030;color:#fff}
.portfolio-dark-page .native-dashboard .js-plotly-plot .plotly .modebar{background:transparent!important}
.portfolio-dark-page .native-dashboard .js-plotly-plot .plotly .modebar-btn path{fill:#aaa}
.portfolio-dark-page .native-dashboard .js-plotly-plot .plotly .modebar-btn:hover path{fill:#fff}
@media print {
  body.portfolio-dark-page{--ink:#111;--muted:#555;--line:#ccc;background:#fff;color:#111;color-scheme:light}
  body.portfolio-dark-page.research-paper-page{background:#fff;color:#111}
  .portfolio-dark-page .research-paper :is(h1,h2,h3,a,.paper-kicker,.paper-subtitle,.paper-meta,figcaption,figcaption strong,.paper-table,.paper-table caption,.paper-sources p),.portfolio-dark-page.research-paper-page .project-detail__main .research-paper h1{color:#111}
  .portfolio-dark-page .research-paper :is(.paper-equation,.paper-table th,.paper-figure>a){background:#fff;color:#111}
}
