/* Third design: the modern layout with the public maintenance colour palette.
   Typography, spacing, content, images and interaction remain the same. */
html:has(.template-midnight){background:#0b1117;color-scheme:dark}
.template-midnight{
  --accent:#8ce1f4;--ink:#edf1f3;--muted:#a2b1bc;--line:#29343e;--warm:#8ce1f4;
  background:#0b1117;color:var(--ink);
}
.template-midnight .concept-page{
  --concept-blue:#8ce1f4;--concept-ink:#edf1f3;--concept-line:#29343e;
}
.template-midnight ::selection{background:#8ce1f4;color:#0b1117}
.template-midnight :is(a,button,input,summary,[tabindex]):focus-visible{outline-color:#8ce1f4}
.template-midnight :is(button,.button-link){background:#8ce1f4;color:#0b171d}
.template-midnight input{background:#0b1117;color:#edf1f3;border-color:#52616c}
.template-midnight .skip-link{background:#111b24;color:#edf1f3}
.template-midnight .site-menu{background:#111b24;color:#edf1f3}
.template-midnight .navigation-content{scrollbar-color:#a2b1bc #111b24}
.template-midnight .site-menu nav>ul>li,.template-midnight .site-search{border-color:#29343e}
.template-midnight :is(.menu-number,.menu-toggle,.site-search label){color:#a2b1bc}
.template-midnight .site-menu a{color:#edf1f3}
.template-midnight .site-menu .nested-menu a{color:#a2b1bc}
.template-midnight .site-menu :is(a:hover,[aria-current=page],.nested-menu [aria-current=page]),
.template-midnight .menu-children>summary{color:#8ce1f4}
.template-midnight .site-search input{background:#0b1117;border-color:#52616c;color:#edf1f3}
.template-midnight .site-search button{background:#8ce1f4;color:#0b171d}
.template-midnight .modern-menu-language{
  --language-accent:#8ce1f4;--language-muted:#a2b1bc;
  border-color:#35434e;
}
.template-midnight .modern-menu-language a[aria-current=true]{color:#edf1f3}
.template-midnight .page-content :is(th,td){border-color:#35434e}
.template-midnight .page-content th{background:#192630}
.template-midnight .page-content tr:nth-child(2n){background:#111b24}
.template-midnight .concept-page :is(.page-kicker>span,.expertise .section-heading>span,.expertise-arrow),
.template-midnight .concept-page .page-content>ul>li::before,
.template-midnight .concept-page .page-content>ul li>p:first-child a::after{color:#8ce1f4}
.template-midnight .concept-page .page-content>p,
.template-midnight .concept-page .page-content>ul p{color:#a2b1bc}
.template-midnight .concept-page .page-content>p:first-child{color:#edf1f3}
.template-midnight .concept-page .page-content>p>a{color:#8ce1f4}
.template-midnight .concept-page .page-content>p>a:first-child{background:#8ce1f4;color:#0b171d}
.template-midnight .concept-page .page-content>blockquote{background:#111b24;color:#a2b1bc}
.template-midnight .contact-page blockquote{background:#111b24;border-color:#29343e;border-inline-start-color:#8ce1f4;color:#edf1f3}
.template-midnight .contact-page blockquote h3{color:#8ce1f4}
.template-midnight .site-footer{background:#111b24}
/* Brand artwork retains its real colours and white backing. */
.template-midnight :is(.identity-panel,.mobile-identity){background:#fff}
@media print{
  html:has(.template-midnight),.template-midnight{background:#fff;color:#182b32;color-scheme:light}
  .template-midnight{--ink:#182b32;--accent:#075f83;--muted:#59676b;--line:#cbd2cf;--warm:#075f83}
  .template-midnight .concept-page{--concept-ink:#182b32;--concept-blue:#075f83;--concept-line:#cbd2cf}
  .template-midnight .site-footer,.template-midnight .concept-page .page-content>blockquote{background:#fff;color:#182b32}
  .template-midnight .page-content :is(p,a,li)::before,.template-midnight .page-content :is(p,a,li){color:#182b32!important}
}
