/* UDLESS Pricing staging pilot v0.2.43
   Quote-return editor parity, mouse-draggable mobile carousel,
   intermediate/tablet spacing, harmonized billing/Explore and exclusions.
   Presentation only; all plans and calculations remain unchanged. */

/* The billing selector follows the same dark surface / mint active pill
   used across the service and Explore navigation, in every viewport. */
.upe.upe-stage-public .upe-billing{
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:stretch!important;
  gap:4px!important;
  min-height:53px!important;
  padding:4px!important;
  margin:0!important;
  background:#102330!important;
  border:2px solid #102330!important;
  border-radius:999px!important;
  box-shadow:none!important;
  max-width:100%!important;
}
.upe.upe-stage-public .upe-billing button{
  box-sizing:border-box!important;
  display:inline-flex!important;
  min-height:43px!important;
  height:auto!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding:7px 13px!important;
  background:#102330!important;
  border:2px solid #102330!important;
  border-radius:999px!important;
  color:#e5f3ed!important;
  box-shadow:none!important;
  font-size:15px!important;
  font-weight:700!important;
  white-space:nowrap;
}
.upe.upe-stage-public .upe-billing button:not([aria-pressed="true"]):hover{
  background:#174137!important;
  border-color:#174137!important;
  color:#fff!important;
}
.upe.upe-stage-public .upe-billing button[aria-pressed="true"]{
  background:#00ff99!important;
  border-color:#00ff99!important;
  color:#03271e!important;
}
.upe.upe-stage-public .upe-billing button[aria-pressed="true"]:hover{
  background:#b4ffdd!important;
  border-color:#b4ffdd!important;
  color:#03271e!important;
}
.upe.upe-stage-public .upe-billing .upe-discount{
  display:inline-flex!important;
  align-items:center!important;
  min-height:24px!important;
  padding:2px 8px!important;
  border:0!important;
  border-radius:999px!important;
  background:#285548!important;
  color:#e1ffed!important;
  font-size:13px!important;
  font-weight:750!important;
}
.upe.upe-stage-public .upe-billing button[aria-pressed="true"] .upe-discount{
  background:#0e513b!important;
  color:#c9ffe2!important;
}
.upe.upe-stage-public .upe-billing button:focus-visible{
  outline:2px solid #00ff99!important;
  outline-offset:3px!important;
}

/* Unified Explorer strokes across BOTH sides of the 760px container cutoff.
   Prevent a single pixel at the breakpoint from revealing colored outlines. */
.upe.upe-stage-public .upe-subbar{
  border:2px solid #0b172d!important;
  background:#0b172d!important;
  box-shadow:none!important;
}
.upe.upe-stage-public .upe-subnav button:not([aria-pressed="true"]){
  border:2px solid #102330!important;
  background:#102330!important;
}
.upe.upe-stage-public .upe-subnav button:not([aria-pressed="true"]):hover{
  border-color:#174137!important;
  background:#174137!important;
}
.upe.upe-stage-public .upe-subnav button[aria-pressed="true"]{
  border:2px solid #00ff99!important;
  background:#00ff99!important;
  color:#02271d!important;
}
.upe.upe-stage-public .upe-subnav button[aria-pressed="true"]:hover{
  border-color:#b4ffdd!important;
  background:#b4ffdd!important;
}
.upe.upe-stage-public .upe-toolbar button[data-open-compare],
.upe.upe-stage-public .upe-toolbar button[data-info-estimator]{
  box-shadow:none!important;
}
.upe.upe-stage-public .upe-toolbar button[data-info-estimator]{
  border-color:#12382d!important;
  background:#12382d!important;
}
.upe.upe-stage-public .upe-toolbar button[data-info-estimator]:hover{
  border-color:#1b4b3d!important;
  background:#1b4b3d!important;
}
.upe.upe-stage-public .upe-toolbar button[data-open-compare]{
  border-color:#102330!important;
  background:#102330!important;
}
.upe.upe-stage-public .upe-toolbar button[data-open-compare]:hover{
  border-color:#174137!important;
  background:#174137!important;
}

/* Responsive intermediate TABLET range: two intentional groups of three,
   instead of buttons partly wrapping into a compressed second row. */
@container (min-width:761px) and (max-width:1250px){
  .upe.upe-stage-public .upe-subbar{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:11px!important;
    width:100%!important;
    min-width:0!important;
    align-items:start!important;
    padding:12px!important;
    margin-bottom:17px!important;
    border-radius:18px!important;
  }
  .upe.upe-stage-public .upe-subbar>.upe-sub-group{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    align-items:center!important;
    gap:13px!important;
    min-width:0!important;
    width:100%!important;
  }
  .upe.upe-stage-public .upe-sub-label{
    display:block!important;
    min-width:0!important;
    margin:0!important;
    align-self:center!important;
  }
  .upe.upe-stage-public .upe-subnav{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }
  .upe.upe-stage-public .upe-subnav button{
    min-width:0!important;
    width:100%!important;
    min-height:44px!important;
    padding:8px 10px!important;
    white-space:normal!important;
    text-align:center!important;
    justify-content:center!important;
    font-size:15px!important;
    line-height:1.4!important;
  }
  .upe.upe-stage-public .upe-toolbar{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    align-items:stretch!important;
    gap:8px!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }
  .upe.upe-stage-public .upe-toolbar button{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    min-width:0!important;
    min-height:44px!important;
    height:100%!important;
    width:100%!important;
    padding:9px 10px!important;
    white-space:normal!important;
    font-size:15px!important;
    line-height:1.45!important;
  }
  .upe.upe-stage-public .upe-toolbar button[data-customquote]{
    grid-column:auto!important;
  }
}
/* Service heading and summary remain left-aligned across 806–912px and
   the surrounding intermediate viewport, without migrating to the right. */
@container (min-width:761px) and (max-width:1250px){
  .upe.upe-stage-public .upe-service-head{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    width:100%!important;
    min-width:0!important;
    gap:11px!important;
  }
  .upe.upe-stage-public .upe-service-head>div:first-child{
    width:100%!important;
    max-width:100%!important;
    text-align:left!important;
    align-self:start!important;
    margin:0!important;
  }
  .upe.upe-stage-public .upe-service-meta{
    width:100%!important;
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    text-align:left!important;
    gap:10px 15px!important;
    margin:0!important;
  }
}

/* Mobile Explore wrapper and its caption are EXACTLY the same surface.
   No 1–2px inner border mismatch at the bottom. Keep icon focus rings. */
@container (max-width:760px){
  .upe.upe-stage-public.upe-mobile-rail-ready .upe-subbar{
    box-sizing:border-box!important;
    border:0!important;
    background:#0b172d!important;
    box-shadow:none!important;
    padding:10px!important;
    border-radius:18px!important;
    overflow:visible!important;
  }
  .upe.upe-stage-public .upe-mobile-action-rail{
    border:0!important;
    background:#0b172d!important;
    border-radius:16px!important;
    overflow:visible!important;
  }
  .upe.upe-stage-public .upe-mobile-action-caption{
    box-sizing:border-box!important;
    width:calc(100% + 20px)!important;
    margin:8px -10px -10px!important;
    border:0!important;
    border-radius:0 0 18px 18px!important;
    background:#0b172d!important;
    padding:9px 12px 11px!important;
    color:#ddffed!important;
    min-height:38px!important;
    text-align:center!important;
  }
  .upe.upe-stage-public .upe-service-head{
    align-items:flex-start!important;
    justify-content:flex-start!important;
    text-align:left!important;
    gap:10px!important;
  }
  .upe.upe-stage-public .upe-service-meta{
    width:100%!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    text-align:left!important;
    gap:11px!important;
  }
  /* Avoid dead spacing inside the package widget after the carousel. */
  .upe.upe-stage-public .upe-cards{
    margin-bottom:0!important;
    scroll-margin-top:76px;
    cursor:grab;
  }
  .upe.upe-stage-public .upe-cards:active{cursor:grabbing}
  .upe.upe-stage-public .upe-cards button,
  .upe.upe-stage-public .upe-cards a{cursor:pointer}
  .upe.upe-stage-public .upe-carousel-progress{
    margin:0!important;
    padding:9px 0 3px!important;
    min-height:19px!important;
  }
  .upe.upe-stage-public .upe-footer-note{
    margin:7px 0 0!important;
    padding:10px 0 0!important;
  }
  .upe.upe-stage-public .upe-shell,
  .upe.upe-stage-public .upe-app{
    padding-bottom:0!important;
    margin-bottom:0!important;
    min-height:0!important;
  }
}
/* Space between the pricing footer and the Elementor process heading. */
@media (max-width:900px){
  body:is(.page-id-15466,.udless-pricing-experience-page) .elementor-element.elementor-element-f51a9c0{
    --margin-top:26px!important;
    margin-top:var(--margin-top)!important;
    padding-top:0!important;
  }
  body:is(.page-id-15466,.udless-pricing-experience-page) .elementor-element.elementor-element-53c4de4{
    margin-bottom:0!important;
    padding-bottom:0!important;
  }
}
@media (max-width:767px){
  body:is(.page-id-15466,.udless-pricing-experience-page) .elementor-element.elementor-element-f51a9c0{
    --margin-top:clamp(50px,calc(44px + 2vw),55px)!important;
  }
  /* The card grid already supplies 15px of separation on phones. */
  body:is(.page-id-15466,.udless-pricing-experience-page) .elementor-element-f51a9c0 .elementor-element-117fbf6 > .elementor-widget-container{
    margin-bottom:8px!important;
  }
}
@media (width > 767px){
  /* Let the card grid set the gap beneath the process description. */
  body:is(.page-id-15466,.udless-pricing-experience-page) .elementor-element.elementor-element-f51a9c0,
  body:is(.page-id-15466,.udless-pricing-experience-page) .elementor-element-f51a9c0 .elementor-element-117fbf6 > .elementor-widget-container{
    margin-bottom:0!important;
  }
  body:is(.page-id-15466,.udless-pricing-experience-page) .elementor-element-f51a9c0 > .e-con-inner{
    padding-bottom:0!important;
  }
  body:is(.page-id-15466,.udless-pricing-experience-page) .elementor-element-8cd2ba2 > .e-con-inner{
    padding-top:clamp(22px,2vw,30px)!important;
  }
}

/* "What's not included": crossed individual rows, not a wall of text.
   Original details/summary remain keyboard-operable and expandable. */
.upe.upe-stage-public .upe-exclusions-body .upe-excluded-list,
.upe.upe-stage-public .upe-not-included .upe-excluded-list{
  list-style:none!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:10px!important;
  padding:8px 0 4px!important;
  margin:0!important;
  width:100%!important;
  min-width:0!important;
}
.upe.upe-stage-public .upe-excluded-list li{
  list-style:none!important;
  display:grid!important;
  grid-template-columns:21px minmax(0,1fr)!important;
  align-items:start!important;
  gap:11px!important;
  margin:0!important;
  padding:0!important;
  color:#d7e4e3!important;
  font-size:15px!important;
  font-weight:500!important;
  line-height:1.55!important;
  overflow-wrap:break-word!important;
}
.upe.upe-stage-public .upe-excluded-list .upe-excluded-mark{
  box-sizing:border-box!important;
  display:grid!important;
  place-items:center!important;
  width:21px!important;
  height:21px!important;
  margin:1px 0 0!important;
  padding:0!important;
  flex:0 0 21px!important;
  border:0!important;
  border-radius:50%!important;
  background:#3a2d37!important;
  color:#ffb7bd!important;
  font-size:19px!important;
  font-weight:700!important;
  line-height:1!important;
}
.upe.upe-stage-public .upe-exclusions-body{
  color:#d7e4e3!important;
  font-size:15px!important;
  line-height:1.55!important;
  min-width:0!important;
}
.upe.upe-stage-public .upe-exclusions>summary:focus-visible{
  outline:2px solid #00ff99!important;
  outline-offset:3px!important;
}
@media (prefers-reduced-motion:reduce){
  .upe.upe-stage-public .upe-cards{scroll-behavior:auto!important}
}