/*
 * Responsive content-flow layer.
 * Original image files, backgrounds and desktop compositions remain unchanged.
 * Large artboard-positioned content blocks receive flow classes in the source HTML
 * so tablet/mobile layouts can stack them instead of clipping a 1440px canvas.
 */
html,
body.starx-wp-classic {
  width: 100%;
  max-width: 100%;
  overflow-x: clip !important;
}
body.starx-wp-classic .page-root.starx-production {
  width: 100% !important;
  max-width: 1440px !important;
  overflow-x: clip !important;
  overflow-y: visible !important;
}
body.starx-wp-classic .page-root main,
body.starx-wp-classic .page-root main > * {
  min-width: 0;
  max-width: 100%;
}
body.starx-wp-classic .page-root main img,
body.starx-wp-classic .page-root main video,
body.starx-wp-classic .page-root main picture,
body.starx-wp-classic .page-root main svg {
  max-width: 100%;
}

/* Content must never become invisible while an observer or script loads. */
body.starx-wp-classic .starx-reveal,
body.starx-wp-classic .starx-reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

/* Shared header visual alignment with the supplied 1440px source header. */
body.starx-wp-classic .starx-nav-shell {
  grid-template-columns: minmax(178px, 208px) minmax(0, 1fr) auto;
  gap: clamp(12px, 1.6vw, 24px);
  min-height: var(--starx-header-height, 80px);
  height: var(--starx-header-height, 80px);
  padding-inline: var(--starx-header-padding-x, 60px) !important;
}
body.starx-wp-classic .starx-topbar {
  min-height: 36px;
  height: 36px;
  padding-inline: var(--starx-header-padding-x, 60px) !important;
  font-size: 11px;
}
body.starx-wp-classic .starx-topbar-actions { gap: 24px; }
body.starx-wp-classic .starx-topbar-trade { display: none !important; }
body.starx-wp-classic .starx-language {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #e2e8f0;
  white-space: nowrap;
}
body.starx-wp-classic .starx-language span { color: #f28c34; font-size: 14px; }
body.starx-wp-classic .starx-brand {
  width: 100%;
  max-width: 208px;
  min-width: 0;
  gap: 10px;
}
body.starx-wp-classic .starx-brand-mark {
  width: var(--starx-logo-size, 44px);
  height: var(--starx-logo-size, 44px);
  flex-basis: var(--starx-logo-size, 44px);
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
body.starx-wp-classic .starx-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
body.starx-wp-classic .starx-brand-name {
  font-size: clamp(26px, 2vw, 30px);
  line-height: .9;
}
body.starx-wp-classic .starx-brand-tag {
  color: #f28c34;
  font-size: 8px;
  letter-spacing: .28em;
}
body.starx-wp-classic .starx-primary-menu { gap: 2px; }
body.starx-wp-classic .starx-primary-menu > .starx-nav-item > .starx-nav-link {
  min-height: 42px;
  height: 42px;
  padding-inline: clamp(7px, .75vw, 12px);
  font-size: var(--starx-nav-font-size, 13px);
}
body.starx-wp-classic .starx-menu-toggle { margin-left: -3px; }
body.starx-wp-classic .starx-nav-actions { gap: clamp(10px, 1.3vw, 18px); }
body.starx-wp-classic .starx-open-account {
  min-width: 156px;
  min-height: 47px;
  padding-inline: 19px;
  border-radius: 999px;
  background: #f28c34;
  color: #101116 !important;
  font-size: 13px;
  box-shadow: 0 8px 24px rgba(242,140,52,.18);
}
body.starx-wp-classic .starx-login { font-size: 13px; }

/* Compact desktop remains horizontal where there is room for the complete menu. */
@media (max-width: 1360px) and (min-width: 1201px) {
  body.starx-wp-classic .starx-nav-shell {
    grid-template-columns: minmax(160px, 180px) minmax(0, 1fr) auto;
    gap: 10px;
    padding-inline: clamp(22px, 3vw, 42px) !important;
  }
  body.starx-wp-classic .starx-brand-mark {
    width: 40px; height: 40px; flex-basis: 40px;
  }
  body.starx-wp-classic .starx-brand-name { font-size: 26px; }
  body.starx-wp-classic .starx-primary-menu > .starx-nav-item > .starx-nav-link {
    padding-inline: 7px;
    font-size: 12px;
  }
  body.starx-wp-classic .starx-menu-toggle { width: 18px; flex-basis: 18px; }
  body.starx-wp-classic .starx-open-account { min-width: 136px; padding-inline: 13px; }
  body.starx-wp-classic .starx-nav-actions { gap: 10px; }
}

/* All large source-canvas two-column/absolute blocks become normal flow on tablet. */
@media (max-width: 1120px) {
  body.starx-wp-classic .page-root .starx-mobile-flow-container {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: clamp(18px, 3vw, 28px) !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow-x: clip !important;
  }
  body.starx-wp-classic .page-root .starx-mobile-flow-item {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    flex: 0 1 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
  }
  body.starx-wp-classic .page-root .starx-mobile-flow-item img,
  body.starx-wp-classic .page-root .starx-mobile-flow-item picture,
  body.starx-wp-classic .page-root .starx-mobile-flow-item video {
    display: block;
    max-width: 100% !important;
    height: auto !important;
  }
  body.starx-wp-classic .page-root main [class*="p-[0px_60px"],
  body.starx-wp-classic .page-root main [class*="p-[0px_48px"],
  body.starx-wp-classic .page-root main [class*="p-[0px_44px"],
  body.starx-wp-classic .page-root main [class*="p-[0px_32px"] {
    padding-left: clamp(20px, 4vw, 36px) !important;
    padding-right: clamp(20px, 4vw, 36px) !important;
  }
  body.starx-wp-classic .page-root main [class*="flex-row"] {
    flex-wrap: wrap !important;
  }
}

/* Tablet-to-phone switch: mobile nav drawer and content cards stack cleanly. */
@media (max-width: 1200px) {
  body.starx-wp-classic .starx-desktop-nav,
  body.starx-wp-classic .starx-nav-actions { display: none !important; }
  body.starx-wp-classic .starx-mobile-toggle { display: inline-flex !important; }
  body.starx-wp-classic .starx-nav-shell {
    grid-template-columns: minmax(0, 1fr) 44px;
    height: var(--starx-header-height, 72px);
    min-height: var(--starx-header-height, 72px);
  }
  body.starx-wp-classic .starx-mobile-panel {
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100dvh - 108px);
  }
}

@media (max-width: 760px) {
  body.starx-wp-classic .starx-topbar {
    min-height: 32px;
    height: 32px;
    padding-inline: 14px !important;
    gap: 8px;
    font-size: 9px;
  }
  body.starx-wp-classic .starx-topbar-actions { gap: 10px; }
  body.starx-wp-classic .starx-topbar-copy { max-width: none; }
  body.starx-wp-classic .starx-language { display: none !important; }
  body.starx-wp-classic .starx-nav-shell {
    min-height: var(--starx-header-height, 66px);
    height: var(--starx-header-height, 66px);
    gap: 10px;
    padding-inline: var(--starx-header-padding-x, 16px) !important;
  }
  body.starx-wp-classic .starx-brand { max-width: 210px; gap: 8px; }
  body.starx-wp-classic .starx-brand-mark {
    width: var(--starx-logo-size, 36px);
    height: var(--starx-logo-size, 36px);
    flex-basis: var(--starx-logo-size, 36px);
  }
  body.starx-wp-classic .starx-brand-name { font-size: 24px; }
  body.starx-wp-classic .starx-brand-tag { font-size: 7px; }
  body.starx-wp-classic .starx-mobile-toggle { width: 42px; height: 42px; }
  body.starx-wp-classic .starx-mobile-panel {
    max-height: calc(100dvh - 98px);
    padding: 9px 16px 20px;
  }
  body.starx-wp-classic .starx-mobile-menu > li:not(.menu-item-has-children) > a {
    grid-column: 1 / -1;
  }
  body.starx-wp-classic .starx-mobile-menu > li > a { min-height: 50px; }
  body.starx-wp-classic .starx-mobile-panel .starx-mobile-menu .sub-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-left: 8px;
  }
  body.starx-wp-classic .page-root .starx-mobile-flow-container {
    gap: 20px !important;
  }
  body.starx-wp-classic .page-root main [class*="p-[0px_60px"],
  body.starx-wp-classic .page-root main [class*="p-[0px_48px"],
  body.starx-wp-classic .page-root main [class*="p-[0px_44px"],
  body.starx-wp-classic .page-root main [class*="p-[0px_32px"] {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  body.starx-wp-classic .page-root main [class*="text-[96px]"],
  body.starx-wp-classic .page-root main [class*="text-[100px]"],
  body.starx-wp-classic .page-root main [class*="text-[120px]"],
  body.starx-wp-classic .page-root main [class*="text-[128px]"] {
    font-size: clamp(38px, 10vw, 54px) !important;
    line-height: 1.03 !important;
  }
  body.starx-wp-classic .page-root main [class*="text-[72px]"] {
    font-size: clamp(34px, 9vw, 48px) !important;
    line-height: 1.04 !important;
  }
  body.starx-wp-classic .page-root main [class*="text-[60px]"],
  body.starx-wp-classic .page-root main [class*="text-[56px]"],
  body.starx-wp-classic .page-root main [class*="text-[54px]"] {
    font-size: clamp(30px, 7.5vw, 42px) !important;
    line-height: 1.06 !important;
  }
  body.starx-wp-classic .page-root main [class*="text-[48px]"],
  body.starx-wp-classic .page-root main [class*="text-[44px]"],
  body.starx-wp-classic .page-root main [class*="text-[40px]"] {
    font-size: clamp(27px, 6.5vw, 36px) !important;
    line-height: 1.08 !important;
  }
  body.starx-wp-classic .page-root main [class*="text-[36px]"],
  body.starx-wp-classic .page-root main [class*="text-[30px]"],
  body.starx-wp-classic .page-root main [class*="text-[28px]"] {
    font-size: clamp(23px, 5.6vw, 30px) !important;
    line-height: 1.12 !important;
  }
  body.starx-wp-classic .page-root main [class*="w-[768px]"],
  body.starx-wp-classic .page-root main [class*="w-[672px]"],
  body.starx-wp-classic .page-root main [class*="w-[620px]"],
  body.starx-wp-classic .page-root main [class*="w-[596px]"],
  body.starx-wp-classic .page-root main [class*="w-[495px]"],
  body.starx-wp-classic .page-root main [class*="w-[480px]"] {
    width: 100% !important;
    max-width: 100% !important;
  }
  body.starx-wp-classic .page-root main [class*="whitespace-nowrap"] {
    white-space: normal !important;
  }
  body.starx-wp-classic .starx-footer { padding: 38px 18px 18px; }
  body.starx-wp-classic .starx-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }
  body.starx-wp-classic .starx-footer-brand {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    align-items: center;
    gap: 8px 15px;
  }
  body.starx-wp-classic .starx-footer-brand > a { grid-row: span 2; }
  body.starx-wp-classic .starx-footer-brand img { width: 90px; max-height: 82px; margin: 0; }
  body.starx-wp-classic .starx-footer-contact { grid-column: 2; margin: 0; }
  body.starx-wp-classic .starx-footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  body.starx-wp-classic .starx-topbar { padding-inline: 10px !important; }
  body.starx-wp-classic .starx-topbar-actions { gap: 7px; }
  body.starx-wp-classic .starx-nav-shell { padding-inline: 12px !important; }
  body.starx-wp-classic .starx-brand { gap: 7px; }
  body.starx-wp-classic .starx-brand-name { font-size: 22px; }
  body.starx-wp-classic .starx-brand-tag { font-size: 6px; letter-spacing: .23em; }
  body.starx-wp-classic .starx-mobile-toggle { width: 40px; height: 40px; }
  body.starx-wp-classic .starx-mobile-panel { padding-inline: 12px; }
  body.starx-wp-classic .starx-mobile-panel .starx-mobile-menu .sub-menu { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 340px) {
  body.starx-wp-classic .starx-topbar-copy { max-width: calc(100vw - 84px); }
  body.starx-wp-classic .starx-brand-mark {
    width: 30px; height: 30px; flex-basis: 30px;
  }
  body.starx-wp-classic .starx-brand-name { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  body.starx-wp-classic .starx-mobile-flow-container,
  body.starx-wp-classic .starx-mobile-flow-item,
  body.starx-wp-classic .starx-reveal {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Final viewport corrections: release fixed export widths, keep the source artwork intact. */
@media (max-width: 1120px) {
  body.starx-wp-classic .page-root main .starx-responsive-width {
    width: 100% !important;
    max-width: 100% !important;
  }
  body.starx-wp-classic .page-root main .starx-responsive-min-width {
    min-width: 0 !important;
  }
  body.starx-wp-classic .page-root main [class*="p-[113px_60px"],
  body.starx-wp-classic .page-root main [class*="p-[128px_60px"],
  body.starx-wp-classic .page-root main [class*="p-[48px_60px"],
  body.starx-wp-classic .page-root main [class*="p-[96px_60px"],
  body.starx-wp-classic .page-root main [class*="p-[80px_60px"] {
    padding-left: clamp(22px, 4vw, 40px) !important;
    padding-right: clamp(22px, 4vw, 40px) !important;
  }
  body.starx-wp-classic .starx-hero {
    padding-left: clamp(20px, 3.2vw, 40px) !important;
    padding-right: clamp(20px, 3.2vw, 40px) !important;
  }
  body.starx-wp-classic .starx-hero > div.relative {
    width: 100% !important;
    height: auto !important;
    min-height: 660px;
    padding: 76px 18px 64px !important;
  }
  body.starx-wp-classic .starx-hero h1 {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-width: 100% !important;
    font-size: clamp(48px, 6.4vw, 70px) !important;
    line-height: 1.02 !important;
    overflow-wrap: normal;
  }
  body.starx-wp-classic .starx-hero h1 + div + div {
    width: min(100%, 768px) !important;
    height: auto !important;
  }
  body.starx-wp-classic .starx-hero [class*="w-[331.41px]"] {
    width: fit-content !important;
    max-width: 100% !important;
  }
}

@media (max-width: 760px) {
  body.starx-wp-classic .starx-topbar-actions { gap: 9px; }
  body.starx-wp-classic .starx-language {
    display: inline-flex !important;
    font-size: 9px;
  }
  body.starx-wp-classic .starx-hero > div.relative {
    min-height: 610px;
    padding: 58px 2px 48px !important;
  }
  body.starx-wp-classic .starx-hero h1 {
    font-size: clamp(38px, 9.4vw, 54px) !important;
    line-height: 1.03 !important;
    letter-spacing: -.035em !important;
  }
  body.starx-wp-classic .starx-hero .starx-responsive-width {
    width: 100% !important;
  }
  body.starx-wp-classic .starx-hero .starx-responsive-width p,
  body.starx-wp-classic .starx-hero p {
    height: auto !important;
  }
}

@media (max-width: 420px) {
  body.starx-wp-classic .starx-topbar-copy {
    max-width: calc(100vw - 150px);
  }
  body.starx-wp-classic .starx-topbar-actions { gap: 7px; }
  body.starx-wp-classic .starx-language { font-size: 8px; }
  body.starx-wp-classic .starx-hero > div.relative {
    min-height: 570px;
    padding-top: 48px !important;
    padding-bottom: 40px !important;
  }
  body.starx-wp-classic .starx-hero h1 {
    font-size: clamp(36px, 9.2vw, 42px) !important;
    line-height: 1.04 !important;
  }
}

@media (max-width: 1120px) {
  /* The wide decorative illustration after the hero scales proportionally. */
  body.starx-wp-classic .page-root main .starx-home-wide-art {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1301.33 / 780.96;
    background-size: contain !important;
  }
  body.starx-wp-classic .page-root main .starx-home-wide-art-wrap {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 18px !important;
  }
}

/* Responsive card groups: equal-width desktop cards become readable stacks. */
@media (min-width: 761px) and (max-width: 1120px) {
  body.starx-wp-classic .page-root main .starx-mobile-stack {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    gap: 18px !important;
  }
  body.starx-wp-classic .page-root main .starx-mobile-stack > * {
    flex: 1 1 calc(50% - 18px) !important;
    min-width: min(100%, 260px) !important;
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 760px) {
  body.starx-wp-classic .page-root main [class*="p-[0px_60px"],
  body.starx-wp-classic .page-root main [class*="p-[113px_60px"],
  body.starx-wp-classic .page-root main [class*="p-[128px_60px"],
  body.starx-wp-classic .page-root main [class*="p-[48px_60px"],
  body.starx-wp-classic .page-root main [class*="p-[96px_60px"] {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  body.starx-wp-classic .page-root main .starx-mobile-stack {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    gap: 16px !important;
  }
  body.starx-wp-classic .page-root main .starx-mobile-stack > * {
    flex: 0 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
  }
  body.starx-wp-classic .page-root main [class*="grid-cols-"] {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)) !important;
  }
  body.starx-wp-classic .page-root main [class*="grid-cols-["] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.starx-wp-classic .page-root main .starx-mobile-stack [class*="whitespace-nowrap"] {
    white-space: normal !important;
  }
}

/* A centered, wider desktop mega panel mirrors the supplied navigation system. */
@media (min-width: 1201px) {
  body.starx-wp-classic .starx-mega-panel {
    left: 50% !important;
    right: auto !important;
    width: min(1040px, calc(100vw - 72px)) !important;
    min-width: min(760px, calc(100vw - 72px)) !important;
    max-width: calc(100vw - 72px) !important;
    transform: translateX(-50%);
  }
}


/* Search control is a single aligned flex item at both desktop and mobile sizes. */
body.starx-wp-classic .starx-market-search-shell {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  min-width: 0;
}
body.starx-wp-classic .starx-market-search {
  display: block;
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  height: 38px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f8fafc;
  font: 400 13px/1.3 'DM Sans', system-ui, sans-serif;
}
body.starx-wp-classic .starx-market-search::placeholder { color: #71717a; opacity: 1; }
body.starx-wp-classic .starx-market-search:focus-visible { outline: 2px solid #f28c34; outline-offset: 3px; }

/* Final production viewport repairs: source-art headings, desktop mega panel and market data. */
@media (min-width: 1201px) {
  body.starx-wp-classic .starx-primary-menu > .starx-nav-item > .starx-mega-panel {
    left: 50% !important;
    right: auto !important;
    width: min(1040px, calc(100vw - 72px)) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 72px) !important;
    margin-left: 0 !important;
    transform: translateX(-50%) !important;
  }
}
@media (max-width: 1120px) {
  body.starx-wp-classic .page-root h1.starx-mobile-flow-container[data-pencil-name="h1"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    text-align: center !important;
  }
  body.starx-wp-classic .page-root h1.starx-mobile-flow-container[data-pencil-name="h1"] > .starx-mobile-flow-item {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(34px, 5.4vw, 54px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.035em !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}
@media (max-width: 760px) {
  body.starx-wp-classic .page-root main h1 {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    font-size: clamp(30px, 8.2vw, 40px) !important;
    line-height: 1.06 !important;
    letter-spacing: -.025em;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    text-wrap: balance;
  }
  body.starx-wp-classic .page-root main .sx-faq-trigger {
    gap: 12px !important;
    padding: 17px 16px !important;
  }
  body.starx-wp-classic .page-root main .sx-faq-trigger > .starx-mobile-flow-container {
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;
    align-items: start !important;
    justify-content: start !important;
    gap: 11px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 18px !important;
    overflow: visible !important;
  }
  body.starx-wp-classic .page-root main .sx-faq-trigger > .starx-mobile-flow-container > [data-pencil-name="svg"] {
    position: relative !important;
    inset: auto !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    margin: 2px 0 0 !important;
  }
  body.starx-wp-classic .page-root main .sx-faq-trigger > .starx-mobile-flow-container > .starx-mobile-flow-item {
    position: relative !important;
    inset: auto !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: left !important;
  }
  body.starx-wp-classic .page-root h1.starx-mobile-flow-container[data-pencil-name="h1"] > .starx-mobile-flow-item {
    font-size: clamp(29px, 8.2vw, 38px) !important;
    line-height: 1.05 !important;
  }
  body.starx-wp-classic .page-root [data-pencil-name="Market Tabs"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 14px !important;
  }
  body.starx-wp-classic .page-root [data-pencil-name="Market Tabs"] > [data-pencil-name="Tabs"] {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 7px !important;
  }
  body.starx-wp-classic .page-root [data-pencil-name="Market Tabs"] > [data-pencil-name="Search"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
    padding: 0 12px !important;
    flex-wrap: nowrap !important;
  }
  body.starx-wp-classic .starx-market-search {
    display: block;
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    height: 38px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #f8fafc;
    font: 400 13px/1.3 'DM Sans', system-ui, sans-serif;
  }
  body.starx-wp-classic .starx-market-search::placeholder { color: #71717a; opacity: 1; }
  body.starx-wp-classic .starx-market-search:focus-visible { outline: 2px solid #f28c34; outline-offset: 3px; }
  body.starx-wp-classic .page-root .starx-instrument-table > [data-pencil-name="Table Head"] {
    display: none !important;
  }
  body.starx-wp-classic .page-root .starx-instrument-table > div[data-pencil-name]:not([data-pencil-name="Table Head"])[hidden] {
    display: none !important;
  }
  body.starx-wp-classic .page-root .starx-instrument-table > div[data-pencil-name]:not([data-pencil-name="Table Head"]) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start !important;
    gap: 12px 16px !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 15px 14px !important;
  }
  body.starx-wp-classic .page-root .starx-instrument-table > div[data-pencil-name]:not([data-pencil-name="Table Head"])[hidden] {
    display: none !important;
  }
  body.starx-wp-classic .page-root .starx-instrument-table > div[data-pencil-name] > [data-pencil-name="Instrument"] {
    grid-column: 1 / -1;
    width: 100% !important;
    min-width: 0 !important;
  }
  body.starx-wp-classic .page-root .starx-instrument-table > div[data-pencil-name] > svg {
    display: none !important;
  }
  body.starx-wp-classic .page-root .starx-instrument-table > div[data-pencil-name] > [data-pencil-name="Bid"],
  body.starx-wp-classic .page-root .starx-instrument-table > div[data-pencil-name] > [data-pencil-name="Ask"],
  body.starx-wp-classic .page-root .starx-instrument-table > div[data-pencil-name] > [data-pencil-name="Spread"],
  body.starx-wp-classic .page-root .starx-instrument-table > div[data-pencil-name] > [data-pencil-name="Change"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    text-align: left !important;
    font-size: 13px !important;
    overflow-wrap: anywhere;
  }
  body.starx-wp-classic .page-root .starx-instrument-table > div[data-pencil-name] > [data-pencil-name="Bid"]::before { content: "BID"; }
  body.starx-wp-classic .page-root .starx-instrument-table > div[data-pencil-name] > [data-pencil-name="Ask"]::before { content: "ASK"; }
  body.starx-wp-classic .page-root .starx-instrument-table > div[data-pencil-name] > [data-pencil-name="Spread"]::before { content: "SPREAD"; }
  body.starx-wp-classic .page-root .starx-instrument-table > div[data-pencil-name] > [data-pencil-name="Change"]::before { content: "24H CHANGE"; }
  body.starx-wp-classic .page-root .starx-instrument-table > div[data-pencil-name] > [data-pencil-name="Bid"]::before,
  body.starx-wp-classic .page-root .starx-instrument-table > div[data-pencil-name] > [data-pencil-name="Ask"]::before,
  body.starx-wp-classic .page-root .starx-instrument-table > div[data-pencil-name] > [data-pencil-name="Spread"]::before,
  body.starx-wp-classic .page-root .starx-instrument-table > div[data-pencil-name] > [data-pencil-name="Change"]::before {
    display: block;
    margin-bottom: 4px;
    color: #71717a;
    font: 600 9px/1.2 'DM Sans', system-ui, sans-serif;
    letter-spacing: .1em;
  }
  body.starx-wp-classic .page-root .starx-instrument-table > div[data-pencil-name] > [data-pencil-name="Action"] {
    grid-column: 1 / -1;
    display: flex !important;
    justify-content: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  body.starx-wp-classic .page-root .starx-instrument-table > div[data-pencil-name] > [data-pencil-name="Action"] a {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  body.starx-wp-classic .starx-market-empty {
    padding: 18px 14px;
    color: #a1a1aa;
    font: 400 13px/1.5 'DM Sans', system-ui, sans-serif;
  }
}

/* Keep real CTA hit areas intact after the artboard-height reset above. */
@media (max-width: 640px) {
  body.starx-wp-classic .page-root main a[data-starx-external].flex,
  body.starx-wp-classic .page-root main a[data-starx-external].inline-flex,
  body.starx-wp-classic .page-root main a.sx-section-cta {
    height: auto !important;
    min-height: 44px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    line-height: 1.4 !important;
  }
}


/* Clearly distinguish the bundled sample quote rows from a live price feed. */
.starx-market-data-note {
  margin: 10px 0 8px;
  color: #a1a1aa;
  font: 400 11px/1.5 'DM Sans', system-ui, sans-serif;
}
@media (max-width: 640px) {
  body.starx-wp-classic .sx-feature-dot,
  body.starx-wp-classic .sx-platform-dot {
    position: relative;
    overflow: visible;
  }
  body.starx-wp-classic .sx-feature-dot::before,
  body.starx-wp-classic .sx-platform-dot::before {
    content: '';
    position: absolute;
    inset: -9px;
  }
}
