/* V61 — unify legacy Agency VIDE helper and demo overlays with the noir identity.
   Visual-only: preserve disclosure, project switching, focus semantics, iframes and links.
   Embedded NEXO/Rust Car sites retain their own brands. */
body.vide-v17.vide-v18 {
  --v61-panel:#1b1c22;
  --v61-elevated:#24252c;
  --v61-border:#46434c;
  --v61-text:#fbfaf6;
  --v61-muted:#c9c8d0;
  --v61-soft:#a5a3ad;
  --v61-wine:#7c2330;
  --v61-wine-hover:#943747;
  --v61-rose:#e9b3bd;
}
/* 1. Interactive service recommender */
body.vide-v17.vide-v18 #principal .v14-chooser {
  background:linear-gradient(120deg,#1b1c21 0%,#24252b 100%)!important;
  border:1px solid var(--v61-border)!important;
  color:var(--v61-text)!important;
  box-shadow:0 14px 35px rgba(0,0,0,.22)!important;
}
body.vide-v17.vide-v18 #principal .v14-chooser h3 {
  color:var(--v61-text)!important;
}
body.vide-v17.vide-v18 #principal .v14-mini-label,
body.vide-v17.vide-v18 #principal .v14-result-kicker {
  color:var(--v61-rose)!important;
}
body.vide-v17.vide-v18 #principal .v14-chooser-intro p,
body.vide-v17.vide-v18 #principal .v14-choice-result p {
  color:var(--v61-muted)!important;
}
body.vide-v17.vide-v18 #principal .v14-goal {
  background:#2a2b32!important;
  color:var(--v61-text)!important;
  border-color:#4c4a52!important;
  box-shadow:none!important;
}
body.vide-v17.vide-v18 #principal .v14-goal:hover {
  border-color:#bf818e!important;
  background:#353037!important;
}
body.vide-v17.vide-v18 #principal .v14-goal[aria-pressed="true"],
body.vide-v17.vide-v18 #principal .v14-goal.is-active {
  background:var(--v61-wine)!important;
  border-color:#ca8491!important;
  color:#fff!important;
  box-shadow:none!important;
}
body.vide-v17.vide-v18 #principal .v14-goal-mark {
  background:#3e3039!important;
  border-color:#6e4b57!important;
  color:#f5c4cc!important;
}
body.vide-v17.vide-v18 #principal .v14-goal[aria-pressed="true"] .v14-goal-mark {
  background:#f5eceb!important;
  color:var(--v61-wine)!important;
  border-color:#f5eceb!important;
}
body.vide-v17.vide-v18 #principal .v14-goal:focus-visible,
body.vide-v17.vide-v18 #principal :is(.v14-result-quote,.v14-clear):focus-visible {
  outline:2px solid var(--v61-rose)!important;
  outline-offset:3px!important;
  box-shadow:none!important;
}
body.vide-v17.vide-v18 #principal .v14-choice-result {
  background:var(--v61-elevated)!important;
  border-color:#61505a!important;
  color:var(--v61-text)!important;
}
body.vide-v17.vide-v18 #principal .v14-choice-result strong {
  color:var(--v61-text)!important;
}
body.vide-v17.vide-v18 #principal .v14-result-quote {
  background:var(--v61-wine)!important;
  border-color:var(--v61-wine)!important;
  color:#fff!important;
}
body.vide-v17.vide-v18 #principal .v14-result-quote:hover {
  background:var(--v61-wine-hover)!important;
  border-color:#d28c99!important;
}
body.vide-v17.vide-v18 #principal .v14-clear {
  background:transparent!important;
  border-color:transparent!important;
  color:var(--v61-rose)!important;
}
body.vide-v17.vide-v18 #principal .v14-clear:hover {
  color:var(--v61-text)!important;
}
/* 2. Consistent dark shells for project detail and interactive preview dialogs */
body.vide-v17.vide-v18 :is(#v13-project-dialog,#v14-case-dialog,#v16-nexo-dialog) {
  background:#191a20!important;
  border:1px solid #49464f!important;
  color:var(--v61-text)!important;
  color-scheme:dark;
}
body.vide-v17.vide-v18 :is(#v13-project-dialog,#v14-case-dialog,#v16-nexo-dialog)::backdrop {
  background:rgba(4,5,7,.82)!important;
}
body.vide-v17.vide-v18 :is(.v13-dialog-head,.v14-case-head,.v16-nexo-dialog-head) {
  background:#222329!important;
  color:var(--v61-text)!important;
  border-bottom:1px solid var(--v61-border)!important;
}
body.vide-v17.vide-v18 :is(.v13-dialog-head span,.v14-case-head span,.v16-nexo-dialog-head span) {
  color:var(--v61-rose)!important;
}
body.vide-v17.vide-v18 :is(#v13-project-title,#v14-case-title,#v16-nexo-title) {
  color:var(--v61-text)!important;
}
body.vide-v17.vide-v18 :is(.v13-dialog-close,.v14-case-close,.v16-nexo-close) {
  background:#303039!important;
  color:var(--v61-text)!important;
  border:1px solid #68636d!important;
  box-shadow:none!important;
}
body.vide-v17.vide-v18 :is(.v13-dialog-close,.v14-case-close,.v16-nexo-close):is(:hover,:focus-visible) {
  background:var(--v61-wine)!important;
  color:#fff!important;
  border-color:#d08a98!important;
  outline-color:var(--v61-rose)!important;
}
body.vide-v17.vide-v18 #v14-case-dialog .v14-case-body {
  color:var(--v61-muted)!important;
}
body.vide-v17.vide-v18 #v14-case-dialog :is(#v14-case-description,#v14-case-features li) {
  color:var(--v61-muted)!important;
}
body.vide-v17.vide-v18 #v14-case-dialog :is(#v14-case-type,.v14-case-body h3) {
  color:var(--v61-text)!important;
}
body.vide-v17.vide-v18 #v14-case-dialog #v14-case-type,
body.vide-v17.vide-v18 #v14-case-dialog #v14-case-features li::marker {
  color:var(--v61-rose)!important;
}
body.vide-v17.vide-v18 #v14-case-dialog .v14-case-footer {
  border-top:1px solid var(--v61-border)!important;
}
body.vide-v17.vide-v18 #v14-case-dialog #v14-case-link {
  background:var(--v61-wine)!important;
  color:#fff!important;
  border-color:var(--v61-wine)!important;
}
body.vide-v17.vide-v18 #v14-case-dialog #v14-case-link:hover {
  background:var(--v61-wine-hover)!important;
}
body.vide-v17.vide-v18 #v14-case-dialog .v14-case-footer small {
  color:var(--v61-soft)!important;
}
/* 3. NEXO live-preview modal wrapper. The actual NEXO iframe is untouched. */
body.vide-v17.vide-v18 #v16-nexo-dialog > p {
  color:var(--v61-muted)!important;
}
body.vide-v17.vide-v18 #v16-nexo-dialog .v16-nexo-frame {
  border-color:var(--v61-border)!important;
}
body.vide-v17.vide-v18 #v16-nexo-dialog .v16-nexo-dialog-footer {
  background:#222329!important;
  border-top:1px solid var(--v61-border)!important;
  color:var(--v61-soft)!important;
}
body.vide-v17.vide-v18 #v16-nexo-dialog .v16-nexo-dialog-footer a {
  color:var(--v61-rose)!important;
}
body.vide-v17.vide-v18 #v16-nexo-dialog .v16-nexo-dialog-footer a:hover {
  color:var(--v61-text)!important;
}
/* 4. Rust Car live-preview chrome, same visual treatment as the NEXO wrapper. */
body.vide-v17.vide-v18 #v13-project-dialog .v13-dialog-controls,
body.vide-v17.vide-v18 #v13-project-dialog .v13-dialog-footer {
  background:#222329!important;
  color:var(--v61-muted)!important;
}
body.vide-v17.vide-v18 #v13-project-dialog :is(.v13-dialog-controls > span,.v13-dialog-footer > span) {
  color:var(--v61-soft)!important;
}
body.vide-v17.vide-v18 #v13-project-dialog .v13-dialog-switch {
  background:#303039!important;
  border-color:var(--v61-border)!important;
}
body.vide-v17.vide-v18 #v13-project-dialog .v13-dialog-switch button {
  background:transparent!important;
  color:var(--v61-muted)!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
body.vide-v17.vide-v18 #v13-project-dialog .v13-dialog-switch button[aria-pressed="true"] {
  background:var(--v61-wine)!important;
  color:#fff!important;
  border-color:#c77f8c!important;
}
body.vide-v17.vide-v18 #v13-project-dialog .v13-dialog-switch button:focus-visible {
  outline:2px solid var(--v61-rose)!important;
  outline-offset:2px!important;
}
body.vide-v17.vide-v18 #v13-project-dialog .v13-dialog-stage {
  background:#101115!important;
  border-color:var(--v61-border)!important;
}
body.vide-v17.vide-v18 #v13-project-dialog .v13-dialog-footer a {
  color:var(--v61-rose)!important;
}
body.vide-v17.vide-v18 #v13-project-dialog .v13-dialog-footer a:hover {
  color:var(--v61-text)!important;
}
