/* Only local presentation behavior; the original visual styles live in styles.css. */
html { scroll-behavior: smooth; }
/* Only the document owns the vertical scrollbar. */
html { width: 100%; overflow-x: clip; overflow-y: auto; }
body, #root { width: 100%; overflow: visible; }
#site-header { transition: background-color .2s, color .2s, box-shadow .2s; }
#site-header.is-scrolled { background: #fff; color: #252d37; box-shadow: 0 1px 5px #00000005; }
#site-header.is-scrolled :is(a, p, svg, button) { color: #343d46; }
#site-header.is-scrolled .static-register { background: #ff6b24 !important; color: #fff !important; }
#site-header.is-scrolled .static-logo-mark { color: #ff6b24; }
#cookie-notice[hidden] { display: none !important; }
.static-accept { cursor: pointer; }
#hero .swiper-slide { width: 100% !important; }
/* CSSOM export dropped the original animation shorthand; restore it explicitly. */
.rfm-marquee {
  animation: scroll var(--duration, 100s) linear var(--delay, 0s) var(--iteration-count, infinite);
  animation-play-state: var(--play, running);
  animation-direction: var(--direction, normal);
}
#market-tabs button { background: #fff; color: #6b7280; }
#market-tabs button[aria-selected="true"] { background: #fff5ef; color: #ff6c2f; }
#market-tabs button:focus-visible { outline: 2px solid #ff6c2f; outline-offset: 3px; }
#market-tabs button > div { display: none; }
#market-tabs button[aria-selected="true"]::after {
  content: ""; position: absolute; inset: auto 0 0; height: 2px; background: #ff6c2f;
}
@media (max-width: 767px) {
  #market-tabs { width: 100%; }
  #market-tabs button { flex: 1; min-width: 0; padding-inline: 12px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  #market-desktop > .grid { grid-template-columns: minmax(150px, 1.3fr) minmax(150px, 1.1fr) 1fr 90px !important; }
  #market-desktop > .grid > div { width: auto; padding-inline: 12px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
