/* Shared public controls. Keep earlier immutable design assets unchanged. */
.public-shell .public-button.public-button-primary {
  min-height: 56px;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid #303535;
  border-radius: 999px;
  background: linear-gradient(135deg, #323838, #202424);
  box-shadow: 0 4px 12px rgba(29, 38, 38, .1);
  transition: transform .2s, background .2s, box-shadow .2s;
}
.public-shell .public-button-primary::before {
  content: "";
  flex: 0 0 32px;
  width: 32px;
}
.public-shell .public-button-primary > .public-button-label {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
  transform: none;
}
.public-shell .public-button-primary > .public-button-glyph {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  line-height: 0;
  transform: none;
  transition: background .2s;
}
.public-shell .public-button-glyph svg {
  display: block;
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.public-shell .public-button-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #404949, #2e3535);
  box-shadow: 0 6px 16px rgba(29, 38, 38, .14);
  transform: translateY(-1px);
}
.public-shell .public-button-primary:hover:not(:disabled) > .public-button-glyph {
  background: rgba(255, 255, 255, .17);
}
.public-shell .public-button-primary:active:not(:disabled) { transform: translateY(0); }
.public-shell .public-button-secondary,
.public-shell .public-header-login {
  border-radius: 999px;
  border-color: #d3d8d3;
  background: rgba(255, 255, 255, .55);
}
.public-shell .public-user-actions .public-button-primary { min-height: 50px; }

/* Readable HUD callouts: tiny finite CSS sequences, no rendering loop. */
.landing-page .public-hero-visual { padding-top: 34px; }
.landing-page .public-view-label { top: 0; right: 0; }
.landing-page .public-hotspot > .public-callout-label {
  display: flex;
  align-items: center;
  gap: 7px;
  left: -14px;
  bottom: calc(100% + 22px);
  width: max-content;
  padding: 6px 9px;
  border: 1px solid rgba(70, 87, 80, .2);
  border-radius: 8px;
  color: #202727;
  background: rgba(253, 254, 250, .96);
  box-shadow: 0 3px 10px rgba(25, 40, 35, .12);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
  white-space: nowrap;
  transform: translate(var(--callout-x, 0px), var(--callout-y, 0px));
  transition: transform .35s ease, border-color .2s;
}
.landing-page .public-callout-label small {
  color: #61746c;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: .03em;
}
.landing-page .public-callout-text { font: inherit; }
.landing-page .public-callout-char { font: inherit; opacity: 1; }
.landing-page .public-callout-caret {
  position: absolute;
  right: 4px;
  width: 1px;
  height: 10px;
  background: #50675d;
  opacity: 0;
}
.landing-page .public-hotspot > .public-callout-label::after {
  left: 28px;
  right: auto;
  top: 100%;
  bottom: auto;
  height: 22px;
  background: #687c72;
  transform: none;
  transform-origin: top;
}
.landing-page .public-hotspot-wiring > .public-callout-label { left: auto; right: -8px; }
.landing-page .public-hotspot-wiring > .public-callout-label::after { left: auto; right: 22px; }
.landing-page .public-hotspot-transmission > .public-callout-label { top: calc(100% + 22px); bottom: auto; }
.landing-page .public-hotspot-transmission > .public-callout-label::after {
  top: auto;
  bottom: 100%;
  transform-origin: bottom;
}
.landing-page .public-hotspot:hover > .public-callout-label,
.landing-page .public-hotspot:focus-visible > .public-callout-label,
.landing-page .public-hotspot[aria-pressed="true"] > .public-callout-label { border-color: #657e70; }
.landing-page #vehicle-visual[data-view="wiring"] .public-callout-label small { color: #237c7c; }
.landing-page #vehicle-visual[data-view="service"] .public-callout-label small { color: #886327; }
.landing-page #vehicle-visual[data-animate="true"] .public-callout-label {
  animation-duration: 4s;
  animation-delay: calc(var(--callout-order) * .16s);
  animation-timing-function: ease;
  animation-fill-mode: both;
}
.landing-page #vehicle-visual[data-animate="true"] .public-callout-char {
  animation-duration: .08s;
  animation-delay: calc(.3s + var(--callout-order) * .16s + var(--char-order) * .035s);
  animation-timing-function: steps(1, end);
  animation-fill-mode: both;
}
.landing-page #vehicle-visual[data-animate="true"] .public-callout-label::after {
  animation-duration: .5s;
  animation-delay: calc(.12s + var(--callout-order) * .16s);
  animation-fill-mode: both;
}
.landing-page #vehicle-visual[data-animate="true"] .public-callout-caret {
  animation-duration: 1.25s;
  animation-delay: calc(.25s + var(--callout-order) * .16s);
  animation-fill-mode: both;
}
.landing-page #vehicle-visual[data-animate="true"][data-callouts="a"] .public-callout-label { animation-name: public-hud-arrive-a; }
.landing-page #vehicle-visual[data-animate="true"][data-callouts="b"] .public-callout-label { animation-name: public-hud-arrive-b; }
.landing-page #vehicle-visual[data-animate="true"][data-callouts="a"] .public-callout-char { animation-name: public-hud-type-a; }
.landing-page #vehicle-visual[data-animate="true"][data-callouts="b"] .public-callout-char { animation-name: public-hud-type-b; }
.landing-page #vehicle-visual[data-animate="true"][data-callouts="a"] .public-callout-label::after { animation-name: public-hud-line-a; }
.landing-page #vehicle-visual[data-animate="true"][data-callouts="b"] .public-callout-label::after { animation-name: public-hud-line-b; }
.landing-page #vehicle-visual[data-animate="true"][data-callouts="a"] .public-callout-caret { animation-name: public-hud-caret-a; }
.landing-page #vehicle-visual[data-animate="true"][data-callouts="b"] .public-callout-caret { animation-name: public-hud-caret-b; }
@keyframes public-hud-arrive-a {
  0% { opacity: 0; transform: translate(0, 6px); }
  10% { opacity: 1; transform: translate(0, 0); }
  55% { opacity: 1; transform: translate(2px, -3px); }
  100% { opacity: 1; transform: translate(0, 0); }
}
@keyframes public-hud-arrive-b {
  0% { opacity: 0; transform: translate(0, 6px); }
  10% { opacity: 1; transform: translate(0, 0); }
  55% { opacity: 1; transform: translate(2px, -3px); }
  100% { opacity: 1; transform: translate(0, 0); }
}
@keyframes public-hud-type-a { 0% { opacity: 0; } 90%, 100% { opacity: 1; } }
@keyframes public-hud-type-b { 0% { opacity: 0; } 90%, 100% { opacity: 1; } }
@keyframes public-hud-line-a { from { opacity: 0; transform: scaleY(0); } to { opacity: 1; transform: scaleY(1); } }
@keyframes public-hud-line-b { from { opacity: 0; transform: scaleY(0); } to { opacity: 1; transform: scaleY(1); } }
@keyframes public-hud-caret-a {
  0%, 20%, 40%, 60%, 80% { opacity: 0; }
  10%, 30%, 50%, 70%, 90% { opacity: .7; }
  100% { opacity: 0; }
}
@keyframes public-hud-caret-b {
  0%, 20%, 40%, 60%, 80% { opacity: 0; }
  10%, 30%, 50%, 70%, 90% { opacity: .7; }
  100% { opacity: 0; }
}
@media (max-width: 800px) {
  .landing-page .public-view-label { right: 5px; top: 0; }
}
@media (max-width: 520px) {
  .landing-page .public-hotspot > .public-callout-label {
    left: -40px;
    bottom: calc(100% + 12px);
    gap: 5px;
    padding: 5px 7px;
    font-size: 10px;
  }
  .landing-page .public-callout-label small { font-size: 7px; }
  .landing-page .public-hotspot > .public-callout-label::after { left: 50px; height: 12px; }
  .landing-page .public-hotspot-wiring > .public-callout-label { left: auto; right: 0; }
  .landing-page .public-hotspot-wiring > .public-callout-label::after { left: auto; right: 10px; }
  .landing-page .public-hotspot-transmission > .public-callout-label { left: -12px; top: calc(100% + 12px); bottom: auto; }
  .landing-page .public-hotspot-transmission > .public-callout-label::after { left: 22px; }
  .landing-page #vehicle-visual[data-view="service"] .public-hotspot-wiring { top: 36%; }
  .landing-page #vehicle-visual[data-view="service"] .public-hotspot-transmission { top: 63%; }
}
@media (prefers-reduced-motion: reduce) {
  .landing-page .public-callout-label,
  .landing-page .public-callout-label::after,
  .landing-page .public-callout-char,
  .landing-page .public-callout-caret { animation: none !important; }
  .landing-page .public-callout-label { transform: none !important; opacity: 1; }
  .landing-page .public-callout-char { opacity: 1; }
  .public-shell .public-button-primary:hover:not(:disabled) { transform: none; }
}
