/* Electric blue finish. Load last; layout and business authorization stay in
   their original source. Layered important color rules outrank the historical
   unlayered important paint without changing their dimensions or selectors. */
@layer cs-electric-blue {
  :root,html[data-ui="5"] {
    --finish-accent:#76d8ff;--finish-fill:#38bdf8;--finish-on-fill:#052031;
    --finish-focus:#b8edff;--finish-muted:#b1c5d6;--finish-edge:#4e9dc5;
    --finish-tint:rgba(56,189,248,.10);--finish-gleam:inset 0 1px rgba(232,249,255,.20);
    --finish-glow:0 0 16px rgba(56,189,248,.12);
    --orange:var(--finish-accent)!important;--site-orange:var(--finish-accent)!important;
    --brand-ink:var(--finish-accent)!important;--orange-dark:#082f45!important;
    --ui-focus:var(--finish-focus)!important;--focus-ring:var(--finish-focus)!important;
    --ui-tint:var(--finish-tint)!important;
    --led-warm:var(--finish-accent)!important;--led-action:var(--finish-fill)!important;
    --led-action-ink:var(--finish-on-fill)!important;--led-amber-glow:rgba(56,189,248,.12)!important;
  }
  html[data-theme="light"] {
    --finish-accent:#00648f;--finish-fill:#006a99;--finish-on-fill:#ffffff;
    --finish-focus:#00648f;--finish-muted:#49667c;--finish-edge:#00648f;
    --finish-tint:rgba(0,106,153,.08);--finish-gleam:inset 0 1px #ffffff;
    --finish-glow:0 6px 18px rgba(0,106,153,.08);
    --orange:var(--finish-accent)!important;--site-orange:var(--finish-accent)!important;
    --brand-ink:var(--finish-accent)!important;--orange-dark:#e5f4fb!important;
    --led-warm:var(--finish-accent)!important;--led-action:var(--finish-fill)!important;
    --led-action-ink:var(--finish-on-fill)!important;--led-amber-glow:rgba(0,106,153,.08)!important;
  }
  html[data-ui="5"] :where(.btn.primary:not(.danger):not(.destructive)) {
    background:var(--finish-fill)!important;color:var(--finish-on-fill)!important;
    border-color:var(--finish-fill)!important;
    box-shadow:var(--finish-gleam),var(--finish-glow)!important;
    text-shadow:none!important;
  }
  html[data-ui="5"] .btn.primary:not(.danger):not(.destructive):hover:not(:disabled) {
    background:#7dd3fc!important;color:#052031!important;border-color:#7dd3fc!important;
  }
  html[data-ui="5"][data-theme="light"] .btn.primary:not(.danger):not(.destructive):hover:not(:disabled) {
    background:#005a83!important;color:#ffffff!important;border-color:#005a83!important;
  }
  html[data-ui="5"] .btn.primary:not(.danger):not(.destructive):active:not(:disabled) {
    background:#0ea5e9!important;color:#052031!important;border-color:#0ea5e9!important;
  }
  html[data-ui="5"][data-theme="light"] .btn.primary:not(.danger):not(.destructive):active:not(:disabled) {
    background:#004b6e!important;color:#ffffff!important;border-color:#004b6e!important;
  }
  html[data-ui="5"] .btn.primary:disabled {
    background:#132637!important;color:#b1c5d6!important;border-color:#354f62!important;
    box-shadow:none!important;text-shadow:none!important;
  }
  html[data-ui="5"][data-theme="light"] .btn.primary:disabled {
    background:#e8f0f6!important;color:#49667c!important;border-color:#bacddc!important;
  }
  html[data-ui="5"] :where(.panel,.universe-system-card,.universe-module-card,.ddeep-panel) {
    box-shadow:var(--finish-gleam),0 12px 32px rgba(0,0,0,.12)!important;
  }
  html[data-ui="5"][data-theme="light"] :where(.panel,.universe-system-card,.universe-module-card,.ddeep-panel) {
    box-shadow:var(--finish-gleam),0 8px 24px rgba(0,70,110,.055)!important;
  }
  html[data-ui="5"] :where(.nav-item.active,.tabs button.active,.workspace-tabs button.active,.customer-tabs button.active,.crm-tab.active) {
    color:var(--finish-accent)!important;border-color:var(--finish-edge)!important;
    background:var(--finish-tint)!important;text-shadow:none!important;
    box-shadow:inset 0 -1px var(--finish-accent),var(--finish-gleam)!important;
  }
  html[data-ui="5"] :where(.nav-item.active) svg {
    color:var(--finish-accent)!important;filter:none!important;
  }
  html[data-ui="5"] :where(a,button,input,select,textarea,summary,[tabindex]):focus-visible {
    outline:2px solid var(--finish-focus)!important;outline-offset:4px!important;
  }
  html[data-ui="5"] .step.current>span {color:#052031!important;background:#76d8ff!important;}
  /* Readiness, security and customer-selected tag colors retain meaning. */
  html[data-ui="5"] :where(.incar-motion,.incar-safety-notice) {--orange:var(--warning)!important;}
  html[data-ui="5"] :where(.pending-orb,.not-ready,.sales-status.new) {--orange:var(--warning)!important;}
  html[data-ui="5"] .crm-tag.tag-orange {--orange:#ffb56d!important;}
  html[data-ui="5"][data-theme="light"] .crm-tag.tag-orange {--orange:#805500!important;}
  html[data-ui="5"] .connection-card[data-connection-state="model_unconfirmed"] {--provider-tone:var(--warning)!important;}
  /* The existing closed-registration card is intentionally light in both themes. */
  html[data-ui="5"] .r23-join-status.r23-registration-status {--join-accent:#00648f!important;}
  html[data-ui="5"] .r23-registration-status-body :is(a,button,h1):focus-visible {outline-color:#00648f!important;}
  html[data-ui="5"] .r23-registration-status-brand a:focus-visible {outline-color:#b8edff!important;}
  html[data-ui="5"] .r23-registration-status-body .btn.primary:not(:disabled) {
    background:#006a99!important;color:#ffffff!important;border-color:#006a99!important;
    box-shadow:inset 0 1px #ffffff26,0 6px 18px rgba(0,106,153,.08)!important;
  }
  /* No new ambient animation. Keep a real busy indicator, and honor all
     existing user/system motion and glass preferences after every paint rule. */
  html[data-lighting="quiet"] :where(.btn,.panel,.nav-item,.universe-system-card,.universe-module-card,.ddeep-panel),
  html.a11y-opaque :where(.btn,.panel,.nav-item,.universe-system-card,.universe-module-card,.ddeep-panel) {
    box-shadow:none!important;filter:none!important;
  }
  html[data-lighting="quiet"],html.a11y-opaque {--led-amber-glow:transparent!important;--led-cyan-glow:transparent!important;}
  html:is([data-lighting="quiet"],.a11y-opaque) :is(.public-header,.topbar,.precision-brand-stage,.precision-fit-finder,.precision-studio-led,.studio-header)::before,
  html:is([data-lighting="quiet"],.a11y-opaque) :is(.public-header,.topbar,.precision-brand-stage,.precision-fit-finder,.precision-studio-led,.studio-header)::after {opacity:0!important;}
  html:is([data-lighting="quiet"],.a11y-opaque) :is(.precision-led-arc,.precision-led-dot) {display:none!important;}
  html.a11y-opaque :where(.panel,.ddeep-panel,.universe-system-card,.universe-module-card) {
    background:var(--surface)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  }
  html:is([data-reduced-motion="true"],.a11y-no-motion) *,
  html:is([data-reduced-motion="true"],.a11y-no-motion) *::before,
  html:is([data-reduced-motion="true"],.a11y-no-motion) *::after {
    animation:none!important;transition:none!important;scroll-behavior:auto!important;
  }
  @media(prefers-reduced-motion:reduce) {
    *,*::before,*::after {animation:none!important;transition:none!important;scroll-behavior:auto!important;}
  }
  @media(forced-colors:active) {
    html[data-ui="5"] :where(.btn,.panel,.nav-item,.universe-system-card,.universe-module-card,.ddeep-panel) {
      background:Canvas!important;color:CanvasText!important;border-color:CanvasText!important;
      box-shadow:none!important;filter:none!important;text-shadow:none!important;
    }
    html[data-ui="5"] .btn.primary:not(:disabled),
    html[data-ui="5"] .btn.primary:not(.danger):not(.destructive):is(:hover,:active):not(:disabled),
    html[data-ui="5"][data-theme="light"] .btn.primary:not(.danger):not(.destructive):is(:hover,:active):not(:disabled) {background:ButtonFace!important;color:ButtonText!important;border-color:ButtonText!important;box-shadow:none!important;}
    html[data-ui="5"] .btn.primary:disabled,
    html[data-ui="5"][data-theme="light"] .btn.primary:disabled {background:Canvas!important;color:GrayText!important;border-color:GrayText!important;box-shadow:none!important;}
    html[data-ui="5"] :where(.nav-item.active,.tabs button.active,.workspace-tabs button.active,.customer-tabs button.active,.crm-tab.active) {color:Highlight!important;border-color:Highlight!important;background:Canvas!important;box-shadow:none!important;}
    html[data-ui="5"] .nav-item.active svg {color:Highlight!important;}
    html[data-ui="5"] .step.current>span {color:HighlightText!important;background:Highlight!important;}
    html[data-ui="5"] :where(a,button,input,select,textarea,summary,[tabindex]):focus-visible,
    html[data-ui="5"] .r23-registration-status :is(a,button,h1):focus-visible {outline-color:Highlight!important;}
    html[data-ui="5"] .r23-registration-status-body .btn.primary:not(:disabled) {background:ButtonFace!important;color:ButtonText!important;border-color:ButtonText!important;box-shadow:none!important;}
  }
}
