/* Shared brand frame, applied after legacy component styles. No structural edits.
   Explicit selectors also override the existing homepage .purple-preview scope. */
.header,.purple-preview .header {
  background:var(--frame-bg);color:var(--frame-text);border-color:var(--frame-line);
}
.header .brand,.header .main-nav a,.header .header-cta,.header .menu-toggle,
.purple-preview .header .brand,.purple-preview .header .main-nav a,
.purple-preview .header .header-cta,.purple-preview .header .menu-toggle {
  color:var(--frame-text);
}
.header .main-nav {background:var(--frame-bg)}
.header .main-nav a:after,.purple-preview .header .main-nav a:after {background:var(--frame-text)}
.header .header-cta,.purple-preview .header .header-cta {border-color:var(--frame-text)}
.header .header-cta:hover,.header .menu-toggle:hover,.purple-preview .header .menu-toggle:hover {background:var(--frame-hover)}
.header .main-nav a:hover {color:var(--surface-paper-light)}
/* The breadcrumb is already a .container: extend its background only, not its content width. */
.breadcrumb {position:relative;isolation:isolate;background:var(--frame-bg);color:var(--frame-text);padding-block:18px;}
.breadcrumb::before {content:"";position:absolute;inset:0;background:var(--frame-bg);box-shadow:0 0 0 100vmax var(--frame-bg);clip-path:inset(0 -100vmax);z-index:-1;border-bottom:1px solid var(--frame-line);pointer-events:none;}
.breadcrumb a,.breadcrumb>span[aria-current] {color:var(--frame-text)}
.breadcrumb a:hover {color:var(--surface-paper-light)}
.site-footer,.purple-preview .site-footer {background:var(--frame-bg);color:var(--frame-text);border-color:var(--frame-line)}
.site-footer .brand,.site-footer h3,.site-footer p,.site-footer li a,
.site-footer .footer-bottom,.site-footer .footer-bottom a,
.purple-preview .site-footer .brand,.purple-preview .site-footer h3,
.purple-preview .site-footer p,.purple-preview .site-footer li a,
.purple-preview .site-footer .footer-bottom,.purple-preview .site-footer .footer-bottom a {color:var(--frame-text)}
.site-footer .footer-bottom,.purple-preview .site-footer .footer-bottom {border-color:var(--frame-line)}
.site-footer a:hover,.purple-preview .site-footer a:hover {color:var(--surface-paper-light)}
.contact-band,.page-cta,.purple-preview .contact-band {background:var(--frame-bg);color:var(--frame-text)}
.contact-band h2,.contact-band p,.page-cta h2,.page-cta p,.purple-preview .contact-band h2 {color:var(--frame-text)}
.contact-band .button-primary,.page-cta .button-primary,.purple-preview .contact-band .button-primary,
.purple-preview .hero-actions .button-primary {background:var(--frame-button);border-color:var(--frame-button);color:var(--frame-bg)}
.contact-band .button-primary:hover,.page-cta .button-primary:hover,.purple-preview .contact-band .button-primary:hover,
.purple-preview .hero-actions .button-primary:hover {background:var(--frame-button-hover);border-color:var(--frame-button-hover)}
/* Keep photography, reduce the milky violet overlay. Images themselves are unchanged. */
.purple-preview .hero::before {
  background:linear-gradient(90deg,var(--hero-shade),var(--hero-shade-end)),url('assets/low-altitude-hero.jpg') center 64%/cover no-repeat;
}
.purple-preview .contact-band::before {
  background:linear-gradient(90deg,var(--cta-shade),var(--cta-shade-end)),url('assets/detection-realistic-v1.jpg') right 43%/cover no-repeat;
}
.purple-preview .hero .business-switch {border-color:var(--shell-muted)}
.purple-preview .hero .business-switch>button {color:var(--shell-text)}
.purple-preview .hero .business-switch>button.active {color:var(--gold-highlight)}
.purple-preview .hero .business-switch>button.active::after {background:var(--gold-highlight)}
.purple-preview .hero .business-switch>button:hover {color:var(--surface-paper-light)}
.purple-preview .hero .product-caption,.purple-preview .hero .product-caption button {color:var(--shell-text)}
/* In light reading areas use one gold rule per active application panel, not gold body copy. */
.application-tabs button {border-bottom-color:var(--application-rule)}
.application-tabs button.active {border-bottom-color:var(--gold-base)}
.button-outline:hover,.menu-toggle:hover,.diagram-capabilities>a:hover,.dialog-heading .icon-button:hover {background:var(--paper-hover)}
/* Both business shells share one neutral system; operational states remain explicit. */
.app-shell,.regulation-shell,.regulation-window {background:var(--shell-base);color:var(--shell-text)}
.app-shell .icon-button:hover {background:var(--shell-hover)}
.regulation-shell .app-tabs button.active {color:var(--gold-highlight)}
.regulation-shell .app-tabs button.active:after {background:var(--gold-highlight)}
.airspace-diagram>span.selected {background:var(--shell-selected);color:var(--gold-highlight);border-color:var(--gold-highlight)}
.flight-selector,.flight-selector select,.flight-info,.map-layers,.zoom-controls {border-color:var(--shell-control)}
.event-table>button:hover,.plan-table>button:hover,.plan-table>button.selected,.event-item:hover {background:var(--shell-hover)}
.event-item.selected {background:var(--state-warning-bg);color:var(--state-warning);border-color:var(--gold-highlight)}
.tag-green {color:var(--state-success);background:var(--state-success-bg)}
.tag-amber {color:var(--state-warning);background:var(--state-warning-bg)}
.tag {border:1px solid var(--shell-line)}
.app-shell input,.app-shell select {accent-color:var(--gold-highlight)}
.app-shell ::-webkit-scrollbar-track {background:var(--shell-base)}
.app-shell ::-webkit-scrollbar-thumb {background:var(--shell-muted);border-color:var(--shell-base)}
dialog::backdrop {background:var(--dialog-backdrop)}
::selection {background:var(--selection-bg);color:var(--selection-text)}
:focus-visible {outline:2px solid var(--focus-paper);outline-offset:4px}
.header :focus-visible,.breadcrumb :focus-visible,.site-footer :focus-visible,.page-cta :focus-visible,
.contact-band :focus-visible,.purple-preview .hero :focus-visible {outline-color:var(--gold-highlight)}
.app-shell :focus-visible {outline-color:var(--shell-focus);outline-offset:-3px}
.field>input,.field>select,.field>textarea,.news-search input {border-color:var(--control-border)}
.field>input::placeholder,.field>textarea::placeholder,.news-search input::placeholder {color:var(--text-support);opacity:1}
@media(max-width:950px) {
  .header .main-nav,.purple-preview .header .main-nav {background:var(--frame-bg);border-color:var(--frame-line)}
}
@media(max-width:800px) {
  .purple-preview .hero::before {background:linear-gradient(180deg,var(--hero-shade),var(--hero-shade-end)),url('assets/low-altitude-hero.jpg') 65% center/cover no-repeat}
}
