/* Direction marks are part of their link, with a fixed stroke and optical inset. */
html body a > .lt-direction {
  --direction-size: 1.45rem;
  --direction-angle: 0deg;
  box-sizing: border-box;
  position: static;
  display: inline-grid;
  flex: 0 0 var(--direction-size);
  place-items: center;
  inline-size: var(--direction-size);
  block-size: var(--direction-size);
  margin: 0;
  padding: 0;
  border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 33%, transparent);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  vertical-align: middle;
  pointer-events: none;
}

html body a > .lt-direction > svg {
  display: block;
  inline-size: 67%;
  block-size: 67%;
  margin: 0;
  padding: 0;
  transform: rotate(var(--direction-angle));
}

html body a > .lt-direction--down { --direction-angle: 90deg; }
html body a > .lt-direction--up { --direction-angle: -90deg; }
html body a > .lt-direction--back { --direction-angle: 180deg; }
html body a > .lt-direction--out { --direction-angle: -45deg; }

html body .s-foot a.s-talk > .lt-direction {
  --direction-size: clamp(1.9rem, 3.5vw, 3.6rem);
  border: 0;
  background: #ffd43b;
  color: #161813;
}
html body .s-foot a.s-talk:hover > .lt-direction { transform: none; }

html body .ac-card-email a { display: inline-flex; align-items: center; gap: .38em; }
html body .ac-card-email a > .lt-direction { --direction-size: 1.25rem; }
html body .pf-guide-links a > .lt-direction,
html body .ops-links a > .lt-direction { --direction-size: 1.65rem; }

html body a:has(> .lt-direction) { text-decoration: none; }
html body a:has(> .lt-direction):focus-visible {
  outline: 2px solid currentColor !important;
  outline-offset: 3px;
}
@media (hover:hover) {
  html body a:hover > .lt-direction {
    border-color: currentColor;
    background: color-mix(in srgb, currentColor 10%, transparent);
  }
}
@media (max-width: 420px) {
  html body a > .lt-direction { --direction-size: 1.32rem; }
}

/* Ingress field guides and the identity note share the blue of the workstation mark. */
[data-atlas-guide].ops-main {
  --guide-accent: #1780ff;
  --guide-blue-ink: #06498f;
  --guide-blue-paper: #e2eefb;
  --guide-line: #ced7df;
}
[data-atlas-guide].ops-main .ops-visual {
  background-color: #182431;
  background-image: radial-gradient(#96b6db2b .85px,transparent 1.15px),
                    linear-gradient(125deg,#182431,#23303f 55%,#18222e);
}
[data-atlas-guide].ops-main .ops-visual dt { color: #a4cdff; }
[data-atlas-guide].ops-main .ops-visual dd { color: #e0e8f1; }
[data-atlas-guide].ops-main .plan-dashes { stroke: #88bfff; }
[data-atlas-guide].ops-main .plan-walls { stroke: #d8e5f4; }
[data-atlas-guide].ops-main .plan-labels { fill: #e3ebf5; }
[data-atlas-guide].ops-main .ops-contact { background: var(--guide-blue-paper); }
[data-atlas-guide].ops-main .ops-contact-link {
  color: #fff;
  background: var(--guide-blue-ink);
}
[data-atlas-guide].ops-main a.ops-next-link {
  color: #233244;
  background: #e9edf1;
}
@media (hover:hover) {
  [data-atlas-guide].ops-main a.ops-next-link:hover { background: #dbe8f7; }
  [data-atlas-guide].ops-main a.ops-contact-link:hover { background: #093969; }
}

/* A non-interactive process list uses dividers rather than loose link icons. */
.ej-signal li + li::before {
  content: "";
  inline-size: 1rem;
  block-size: 1px;
  background: currentColor;
  opacity: .45;
}
@media (max-width: 480px) {
  .ej-signal li + li::before { inline-size: .45rem; }
}

/* Keep the product invitation visible when the enquiry arrives preselected. */
.ac-form select[name="product"] {
  --enquiry-accent: #ffd43b;
  border-inline-start: 4px solid var(--enquiry-accent);
  padding-inline-start: 10px;
}
.ac-form select[name="product"]:has(option[value="ingress"]:checked) { --enquiry-accent: #1780ff; }
.ac-form select[name="product"]:has(option[value="cruizr"]:checked) { --enquiry-accent: #ef233c; }
.ac-form select[name="product"]:has(option[value="terra"]:checked) { --enquiry-accent: #fd6002; }
.ac-form select[name="product"]:has(option[value="accrue"]:checked) { --enquiry-accent: #bc164d; }
