/* Material for customer-facing simulations and product galleries. The maps, photos,
   device artwork and event-state colours keep their own rendering. */
@media screen and (forced-colors: none) {
  [data-protection-guide] {
    background: radial-gradient(ellipse at 7% 21%, #2d586831, transparent 48%),
                radial-gradient(ellipse at 100% 77%, #35636c30, transparent 42%);
  }
  [data-protection-guide] :is(.pg-prompt, .pg-picker, .pg-collapsed, .pg-console, .pg-summary, .pe-panel),
  .sj-root .sj-layout {
    background: var(--site-glass-shell);
    border-color: var(--site-glass-edge);
    box-shadow: var(--site-glass-light), 0 20px 52px -35px #010b13;
  }
  [data-protection-guide] :is(.pg-instrument, .pg-summary-events, .pg-result),
  .sj-root :is(.sj-map-panel, .sj-feed) {
    background: var(--site-glass-panel);
    box-shadow: var(--site-glass-light);
  }
  [data-protection-guide] :is(.pg-console-bar, .pg-map-caption, .pg-summary-options li),
  .lynx-review-page .range-purpose-tags > span,
  .lynx-review-page .lynx-mode-options,
  .sps .sps-technologies > span {
    background: var(--site-glass-strip);
    box-shadow: var(--site-glass-light);
  }
  [data-protection-guide] :is(.pg-case-card, .pg-path-card, .pg-consult):not(:hover, :focus-visible),
  [data-protection-guide] .pe-choice:not(:has(input:checked)),
  .sps .sps-nav:not(:hover),
  .sj-root .sj-control:not(.sj-control--primary, :hover) {
    background: var(--site-glass-panel);
    border-color: var(--site-glass-edge);
    box-shadow: var(--site-glass-light);
  }
  [data-protection-guide] .pe-field :is(input, select, textarea) {
    background: var(--site-glass-inset);
  }
  [data-protection-guide] .pe-field select option {
    background: #0d2330;
    color: #eef7fa;
  }
  .sps .sps-product-link:not(:hover) {
    background: linear-gradient(150deg, #bdf3e9, #8ddbd1 75%, #87cdc6);
    box-shadow: var(--site-glass-light);
  }

  /* The shipment and control room render together in a dedicated document. */
  #commercial, #noc {
    --shipment-glass-edge: rgba(156, 215, 220, .32);
    --shipment-glass-light: inset 0 1px 0 rgba(219, 246, 244, .19);
    --shipment-glass-panel: linear-gradient(132deg, #355a68c9, #173444c7 49%, #0c2231dc);
    --shipment-glass-overlay: linear-gradient(140deg, #284753ed, #102735ed 62%, #0b202fec);
    --shipment-glass-strip: linear-gradient(118deg, #3d626d85, #153140b8 58%, #102938d4);
  }
  #commercial .glass-script, #noc .case-desk {
    background: var(--shipment-glass-overlay);
    border-color: var(--shipment-glass-edge);
    box-shadow: var(--shipment-glass-light);
  }
  #commercial .journey-record {
    background: var(--shipment-glass-overlay);
    border-color: var(--shipment-glass-edge);
    box-shadow: var(--shipment-glass-light), 0 20px 64px #010912a8;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
  #commercial :is(.lab-rail, .script-foot, .occurrence-bar, .exhibit-toolbar) {
    background: var(--shipment-glass-strip);
    box-shadow: var(--shipment-glass-light);
  }
  #commercial .chapter-step[aria-current="step"] {
    background: var(--shipment-glass-panel);
  }
}

@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  [data-protection-guide] { background: none; }
  [data-protection-guide] :is(.pg-prompt, .pg-picker)::before { display: none; }
  #commercial, #noc {
    --shipment-glass-edge: #7395a3;
    --shipment-glass-light: none;
    --shipment-glass-panel: #254958;
    --shipment-glass-overlay: #102532;
    --shipment-glass-strip: #182f3d;
  }
  #commercial :is(.glass-script, .journey-record, .tp-panel), #noc .case-desk {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
