/* UDLESS Pricing — staging pilot v0.2.42
 * Quiet Explore controls, un-clipped mobile card hover, and legible
 * package-behind-editor stack. No new pricing data or DOM clones. */

/* Desktop Explore container: consistent single-color fill and reserved stroke.
   Distinguish controls by surface state instead of repeated outlines. */
@container (min-width:761px) {
  .upe.upe-stage-public .upe-subbar {
    background:#0a132b!important;
    border:2px solid #0a132b!important;
    box-shadow:none!important;
  }
  .upe.upe-stage-public .upe-subnav button {
    background:#102330!important;
    border:2px solid #102330!important;
    box-shadow:none!important;
  }
  .upe.upe-stage-public .upe-subnav button:hover {
    background:#174137!important;
    border-color:#174137!important;
    box-shadow:none!important;
  }
  .upe.upe-stage-public .upe-subnav button[aria-pressed="true"] {
    background:#00ff99!important;
    border-color:#00ff99!important;
    color:#03291f!important;
    box-shadow:none!important;
  }
  .upe.upe-stage-public .upe-subnav button[aria-pressed="true"]:hover {
    background:#b4ffdd!important;
    border-color:#b4ffdd!important;
  }
}

/* All six mobile Explore actions: keep the 2px box dimension, but use the
   same border and fill in inactive, hover, pressed, and active-hover states. */
@container (max-width:760px) {
  .upe.upe-stage-public.upe-mobile-rail-ready .upe-subbar {
    background:#0b172d!important;
    border:2px solid #0b172d!important;
    box-shadow:none!important;
  }
  .upe.upe-stage-public .upe-mobile-action-group + .upe-mobile-action-group {
    border-left:0!important;
  }
  .upe.upe-stage-public .upe-mobile-action-button,
  .upe.upe-stage-public .upe-mobile-action-button[data-active="false"] {
    background:#102333!important;
    border:2px solid #102333!important;
    box-shadow:none!important;
  }
  .upe.upe-stage-public .upe-mobile-action-button:hover,
  .upe.upe-stage-public .upe-mobile-action-button[data-active="false"]:hover {
    background:#194b3c!important;
    border-color:#194b3c!important;
    color:#ffffff!important;
  }
  .upe.upe-stage-public .upe-mobile-action-button[data-active="true"] {
    background:#10523d!important;
    border:2px solid #10523d!important;
    color:#c5ffe2!important;
    box-shadow:none!important;
  }
  .upe.upe-stage-public .upe-mobile-action-button[data-active="true"]:hover {
    background:#176448!important;
    border-color:#176448!important;
    color:#f4fff9!important;
  }
  .upe.upe-stage-public .upe-mobile-action-button:focus-visible {
    outline:2px solid #00ff99!important;
    outline-offset:2px!important;
  }
  .upe.upe-stage-public .upe-mobile-action-caption {
    background:#102c2e!important;
    border:0!important;
    color:#dcffea!important;
  }

  /* Prevent top of a card from being cropped when desktop emulation triggers
     the hover translation inside an overflow-hidden carousel viewport.
     Use the same attractive SVG fill/color hover without moving the card. */
  .upe.upe-stage-public .upe-cards {
    box-sizing:border-box!important;
    position:relative!important;
    z-index:1!important;
    padding:11px 0 9px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    overscroll-behavior-inline:contain!important;
    scroll-padding-top:11px!important;
  }
  .upe.upe-stage-public .upe-cards > .upe-card {
    transform:none!important;
    margin-top:0!important;
    align-self:flex-start!important;
  }
  .upe.upe-stage-public .upe-cards > .upe-card:hover,
  .upe.upe-stage-public .upe-cards > .upe-card:focus-within {
    transform:none!important;
    translate:none!important;
    position:relative!important;
    z-index:2!important;
  }
  .upe.upe-stage-public .upe-cards > .upe-card.upe-svg-card-ready:hover {
    box-shadow:none!important;
  }
  .upe.upe-stage-public .upe-carousel-progress {
    position:relative!important;
    z-index:1!important;
  }

  /* Card-under-customizer treatment.
     The actual package article remains fully available BELOW the editor.
     This small label is populated from that same selected package and peeks
     from behind the editor immediately after the editor opens. */
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable,
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable.upe-edit-right {
    position:relative!important;
    isolation:isolate!important;
    padding-top:23px!important;
    gap:9px!important;
    overflow:visible!important;
  }
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable .upe-editor-package-peek {
    box-sizing:border-box!important;
    position:absolute!important;
    display:flex!important;
    align-items:flex-start!important;
    left:2.5%!important;
    top:0!important;
    width:95%!important;
    min-width:0!important;
    height:48px!important;
    padding:3px 16px 0!important;
    background:#174637!important;
    border:2px solid #174637!important;
    border-radius:21px 21px 12px 12px!important;
    color:#c6ffe3!important;
    font-size:13px!important;
    font-weight:750!important;
    line-height:1.45!important;
    letter-spacing:.005em!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    z-index:0!important;
    pointer-events:none!important;
  }
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable > .upe-customizer {
    position:relative!important;
    z-index:2!important;
    background:#0b122c!important;
    border:2px solid #28574b!important;
    border-radius:27px!important;
    box-shadow:0 10px 26px #00000024!important;
    margin-top:0!important;
    scroll-margin-top:90px!important;
  }
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable > .upe-fixed-card {
    position:relative!important;
    z-index:1!important;
    width:95%!important;
    max-width:95%!important;
    align-self:center!important;
    margin:-3px auto 0!important;
    opacity:.96!important;
  }
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable > .upe-fixed-card > .upe-card {
    transform:none!important;
    box-shadow:none!important;
  }
}

/* Desktop customizer: two restrained card-like layers really peek BELOW
   the editor, with the second layer farther back. They are inert decoration,
   not actual DOM package cards or cloned buttons. */
@container (min-width:851px) {
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable {
    position:relative!important;
    isolation:isolate!important;
    padding-bottom:29px!important;
    margin-bottom:10px!important;
    overflow:visible!important;
  }
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable::before,
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable::after {
    pointer-events:none!important;
    box-sizing:border-box!important;
    border:0!important;
    border-radius:28px!important;
  }
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable:not(.upe-edit-right)::before {
    left:calc(33.333% + 12px)!important;
    right:7px!important;
    top:12px!important;
    bottom:11px!important;
  }
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable:not(.upe-edit-right)::after {
    left:calc(33.333% + 23px)!important;
    right:18px!important;
    top:21px!important;
    bottom:2px!important;
  }
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable.upe-edit-right::before {
    left:7px!important;
    right:calc(33.333% + 12px)!important;
    top:12px!important;
    bottom:11px!important;
  }
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable.upe-edit-right::after {
    left:18px!important;
    right:calc(33.333% + 23px)!important;
    top:21px!important;
    bottom:2px!important;
  }
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable::before {
    background:#19483c!important;
  }
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable::after {
    background:#123438!important;
  }
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable > .upe-fixed-card,
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable > .upe-customizer {
    position:relative!important;
    z-index:2!important;
  }
}

/* The peek is a phone-only preview, never a duplicate desktop heading. */
@container (min-width:761px) {
  .upe.upe-stage-public .upe-editor-package-peek {display:none!important;}
}
@media (prefers-reduced-motion:reduce) {
  .upe.upe-stage-public .upe-cards,
  .upe.upe-stage-public .upe-cards > .upe-card,
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable::before,
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable::after {
    transition:none!important;
    animation:none!important;
    transform:none!important;
  }
}