html[data-theme=dark] {background:#0b1322;color-scheme:dark}
html[data-theme=light] {color-scheme:light}
@media screen and (min-width:851px) {
  html[data-theme=dark] body.corsa-project .project-spotlight {
    background-image:linear-gradient(90deg,rgba(8,18,34,.14) 0%,rgba(8,18,34,.7) 63%,rgba(8,18,34,.96) 100%),url('/assets/company/corsa-hero-journey-v2.webp');
    background-size:cover;
    background-position:center;
  }
}
html.theme-switching :not(.theme-toggle):not(.theme-toggle *),html.theme-switching :not(.theme-toggle *)::before,html.theme-switching :not(.theme-toggle *)::after {transition:none!important}
body .theme-toggle {
  --theme-travel:22px;
  display:inline-flex;align-items:center;justify-content:center;flex:0 0 52px;
  width:52px;height:44px;min-height:44px;padding:0;border:0;border-radius:8px;
  background:transparent;cursor:pointer;direction:ltr;color:#0d1725;
}
.theme-toggle .theme-track {position:relative;display:block;width:48px;height:26px;overflow:hidden;border-radius:14px;background:#77bce4;box-shadow:inset 0 2px 4px #1b416736;isolation:isolate;transition:background-color 200ms ease-out}
.theme-toggle .theme-orb {position:absolute;inset:3px auto auto 3px;width:20px;height:20px;border-radius:50%;background:#ffda67;box-shadow:0 2px 4px #1a355533;transition:transform 240ms var(--ease-out,cubic-bezier(.23,1,.32,1)),background-color 200ms ease-out}
.theme-toggle svg {display:block;position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.theme-toggle .theme-track svg {width:100%!important;height:100%!important;stroke:none!important}
.theme-toggle .theme-clouds {opacity:1;transition:opacity 180ms ease-out,transform 240ms var(--ease-out,cubic-bezier(.23,1,.32,1))}
.theme-toggle .theme-stars,.theme-toggle .theme-craters {opacity:0;transition:opacity 180ms ease-out}
.theme-toggle[aria-checked=true] .theme-track {background:#243550;box-shadow:inset 0 2px 5px #0006}
.theme-toggle[aria-checked=true] .theme-orb {transform:translateX(var(--theme-travel));background:#dce7f6}
.theme-toggle[aria-checked=true] .theme-clouds {opacity:0;transform:translateY(45%)}
.theme-toggle[aria-checked=true] :is(.theme-stars,.theme-craters) {opacity:1}
body .theme-toggle:focus-visible {outline:3px solid #086de8;outline-offset:3px}
html[data-theme=dark] body .theme-toggle:focus-visible {outline-color:#8fc7ff}
@media screen {html[data-theme=dark] img[src*="assets/icons/"]:not([src*="google"]) {filter:brightness(0) invert(1)!important}}
html[data-theme=dark] :is(.exhibition-ambient,.premium-ambient,.estimator-ambient,.premium-route,.estimator-route) {opacity:.06}
html[data-theme=dark] :is(input,textarea,select) {color-scheme:dark}
/* Counter and selected-state contrast must hold in both palettes. */
@media screen {
  html[data-theme=light] .identity-page :is(.admin-header-avatar,.section-eyebrow,.project-state.open,.wd-steps b),
  html[data-theme=light] .workspace-v2.identity-page .admin-mobile-nav button.active span {color:#0059c6!important}
  html[data-theme=light] .workspace-v2.identity-page .admin-side-nav .side-count {background:#e4efff!important;border-color:#b5ccec!important;color:#1551a0!important}
  html[data-theme=light] .workspace-v2.identity-page .project-list-filters button[aria-pressed=true] bdi {background:#fff;color:#0059c6}
  html[data-theme=light] .dossier-reason-presets .btn-subtle.is-selected {color:#fff!important}
  html[data-theme=light] .exhibition-tab small {color:#526683}
  html[data-theme=light] .phone-fallback .app-mark-letter {color:#14243c!important}
  html[data-theme=light] .public-site-footer .public-footer-bottom :is(p,bdi) {color:#485a72!important}
  html[data-theme=light] body.workspace-v2 #partner-profile-section .partner-followup small {color:#485a72}
  html[data-theme=light] .request-dossier #reload-request-file {color:#14243c!important}
  html[data-theme=light] .request-dossier #reject-detail {color:#b42336!important}
  html[data-theme=light] .inquiry-overdue-tag {color:#b42336}
}
@media(max-width:600px) {
  .public-header-actions {gap:5px}
  body .theme-toggle {width:48px;flex-basis:48px;--theme-travel:20px}
  .theme-toggle .theme-track {width:46px}
  .auth-header-links,.admin-header-actions {flex-wrap:wrap}
  html[data-theme] body.workspace-v2.identity-page #admin-header .nav-wrap {height:auto;min-height:64px;padding-block:8px}
  html[data-theme] body.workspace-v2.identity-page #admin-header .brand-title {display:none!important}
  html[data-theme] body.workspace-v2.identity-page #admin-header .admin-header-actions {flex:1 1 0;min-width:0;flex-wrap:wrap;justify-content:flex-end}
}
@media(max-width:360px) {.public-site-header .public-brand span {display:none}.public-header-row {gap:8px}}
@media(prefers-reduced-motion:reduce) {.theme-toggle :is(.theme-orb,.theme-clouds,.theme-stars,.theme-craters,.theme-track) {transition:none!important}}
@media print {
  .theme-toggle {display:none!important}
  html[data-theme] img {filter:none!important}
  html[data-theme] :is(input,textarea,select) {color-scheme:light!important}
  html[data-theme],html[data-theme] body {color-scheme:light!important;background:#fff!important;color:#111!important}
}
