/*
 * WebXtent v0.8.63 — Developments tablet composition.
 *
 * Dedicated 768–1024px layout for the immersive Developments showcase.
 * Tablet keeps the full-bleed project experience, but uses intentional scale,
 * spacing and gallery density rather than inheriting the generic <=900px
 * compression rules. Desktop and phone remain unchanged.
 */

@media (min-width:768px) and (max-width:1024px){

  .wxt-developments-showcase-main,
  .wxt-development-showcase{
    overflow-x:clip;
  }

  /* ---------------------------------------------------------------------
   * DEVELOPMENTS HEADER — compact full navigation on tablet.
   * ------------------------------------------------------------------ */
  .wxt-header[data-wxt-header-scene="developments"]{
    width:calc(100% - 28px)!important;
    max-width:1000px!important;
    top:max(12px,env(safe-area-inset-top,0px))!important;
  }

  .wxt-header[data-wxt-header-scene="developments"] .wxt-header__inner{
    min-height:58px!important;
    height:58px!important;
    grid-template-columns:minmax(112px,.48fr) minmax(0,2.3fr) auto!important;
    gap:9px!important;
    padding:0 8px 0 12px!important;
    border-radius:24px!important;
  }

  .wxt-header[data-wxt-header-scene="developments"] .wxt-header__brand-zone{
    min-width:0!important;
    gap:6px!important;
  }

  .wxt-header[data-wxt-header-scene="developments"] .wxt-brand{
    min-width:0!important;
    gap:7px!important;
  }

  .wxt-header[data-wxt-header-scene="developments"] .wxt-brand__logo{
    width:27px!important;
    height:auto!important;
    flex:0 0 auto!important;
  }

  .wxt-header[data-wxt-header-scene="developments"] .wxt-brand__text{
    font-size:9px!important;
    line-height:1!important;
    letter-spacing:.14em!important;
    white-space:nowrap!important;
  }

  .wxt-header[data-wxt-header-scene="developments"] .wxt-header-admin-shortcut{
    display:none!important;
  }

  .wxt-header[data-wxt-header-scene="developments"] .wxt-nav{
    display:flex!important;
    min-width:0!important;
    width:100%!important;
    justify-self:stretch!important;
    justify-content:center!important;
    align-items:center!important;
    gap:0!important;
    margin:0!important;
    padding:4px 5px!important;
    overflow:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    transform:none!important;
    border-radius:999px!important;
  }

  .wxt-header[data-wxt-header-scene="developments"] .wxt-nav__link{
    min-height:34px!important;
    padding:0 clamp(5px,1vw,9px)!important;
    font-size:clamp(9px,1.25vw,11px)!important;
    font-weight:650!important;
    white-space:nowrap!important;
  }

  .wxt-header[data-wxt-header-scene="developments"] .wxt-header__scroll-meta,
  .wxt-header[data-wxt-header-scene="developments"] .wxt-spotlight-trigger,
  .wxt-header[data-wxt-header-scene="developments"] .wxt-header-search-field,
  .wxt-header[data-wxt-header-scene="developments"] .wxt-nav-collapse,
  .wxt-header[data-wxt-header-scene="developments"] .wxt-menu-toggle{
    display:none!important;
  }

  .wxt-header[data-wxt-header-scene="developments"] .wxt-header__actions{
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
  }

  .wxt-header[data-wxt-header-scene="developments"] .wxt-action--header{
    display:inline-flex!important;
    min-height:42px!important;
    padding:0 7px 0 15px!important;
    gap:8px!important;
    font-size:11px!important;
  }

  .wxt-header[data-wxt-header-scene="developments"] .wxt-action--header span{
    width:31px!important;
    height:31px!important;
    font-size:13px!important;
  }

  /* ---------------------------------------------------------------------
   * HERO STAGE — retain full-bleed immersion, but control vertical rhythm.
   * ------------------------------------------------------------------ */
  .wxt-development-showcase{
    --wxt-dev-gutter:clamp(28px,4vw,40px)!important;
    --wxt-dev-title-size:78px!important;
    --wxt-dev-control-size:42px!important;
    --wxt-dev-card-height:184px!important;
    --wxt-dev-gallery-gap:10px!important;
  }

  .wxt-development-showcase__hero{
    min-height:max(860px,100svh)!important;
    height:max(860px,100svh)!important;
    max-height:980px!important;
  }

  .wxt-development-showcase__hero-copy{
    left:var(--wxt-dev-gutter)!important;
    right:auto!important;
    bottom:clamp(286px,31vh,330px)!important;
    max-width:min(64vw,520px)!important;
  }

  .wxt-development-project-wheel{
    width:min(100%,520px)!important;
    padding:28px 0 34px!important;
    margin:-4px 0 0!important;
  }

  .wxt-development-project-wheel__item--current{
    max-width:8.4ch!important;
    font-size:clamp(3.3rem,7.5vw,5.2rem)!important;
    line-height:.9!important;
  }

  .wxt-development-project-wheel__ghost{
    max-width:8.4ch!important;
    font-size:clamp(3.3rem,7.5vw,5.2rem)!important;
    line-height:.9!important;
  }

  .wxt-development-project-wheel__item--previous,
  .wxt-development-project-wheel__item--next{
    max-width:16ch!important;
    font-size:1rem!important;
  }

  .wxt-development-project-wheel__contrast{
    left:-28px!important;
    width:calc(100% + 48px)!important;
    height:calc(100% + 86px)!important;
    border-radius:30px!important;
    filter:blur(10px)!important;
  }

  .wxt-development-showcase__hero-location{
    margin-top:13px!important;
    max-width:36ch!important;
    font-size:.86rem!important;
    line-height:1.2!important;
    letter-spacing:.18em!important;
  }

  .wxt-development-showcase__hero-summary{
    max-width:38ch!important;
    margin-top:12px!important;
    font-size:.91rem!important;
    line-height:1.52!important;
  }

  /* ---------------------------------------------------------------------
   * QUICK SEARCH — compact and clear beneath the tablet header.
   * ------------------------------------------------------------------ */
  .wxt-development-quick-search{
    left:var(--wxt-dev-gutter)!important;
    top:88px!important;
    width:min(258px,calc(100vw - (var(--wxt-dev-gutter) * 2)))!important;
  }

  .wxt-development-quick-search__field{
    min-height:40px!important;
    padding-inline:12px!important;
  }

  .wxt-development-quick-search__field input{
    height:36px!important;
    font-size:.72rem!important;
  }

  /* ---------------------------------------------------------------------
   * PHOTO TRAY — three deliberate cards at tablet width.
   * Keep the bar horizontal and preserve existing swipe/arrow/manual states.
   * ------------------------------------------------------------------ */
  .wxt-development-showcase__project-carousel{
    left:var(--wxt-dev-gutter)!important;
    right:var(--wxt-dev-gutter)!important;
    bottom:22px!important;
    gap:12px!important;
    --wxt-gallery-docked-reveal:60px!important;
  }

  .wxt-development-showcase__project-carousel-bar{
    display:flex!important;
    grid-template-columns:none!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:14px!important;
    min-height:44px!important;
  }

  .wxt-development-showcase__project-carousel-label{
    flex:0 0 auto!important;
    gap:9px!important;
    min-width:0!important;
  }

  .wxt-development-showcase__project-carousel-accent{
    width:34px!important;
  }

  .wxt-development-showcase__project-carousel-label-text{
    font-size:.72rem!important;
    letter-spacing:.16em!important;
  }

  .wxt-development-project-wheel__dock{
    left:-48px!important;
    width:28px!important;
    height:96px!important;
  }

  .wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron,
  .wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron:hover,
  .wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron:active,
  .wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron:focus,
  .wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron:focus-visible{
    width:26px!important;
    height:26px!important;
    min-width:26px!important;
    min-height:26px!important;
  }

  .wxt-development-showcase__project-carousel-nav{
    flex:1 1 auto!important;
    width:auto!important;
    min-width:0!important;
    justify-content:flex-end!important;
    gap:8px!important;
  }

  .wxt-development-showcase__project-carousel-line{
    min-width:40px!important;
  }

  .wxt-development-showcase__project-status{
    max-width:17ch!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:.66rem!important;
  }

  .wxt-development-showcase button.wxt-development-gallery-toggle,
  .wxt-development-showcase button.wxt-development-gallery-toggle:hover,
  .wxt-development-showcase button.wxt-development-gallery-toggle:active,
  .wxt-development-showcase button.wxt-development-gallery-toggle:focus,
  .wxt-development-showcase button.wxt-development-gallery-toggle:focus-visible{
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    min-height:32px!important;
  }

  .wxt-development-showcase__project-position{
    min-width:72px!important;
    margin-left:2px!important;
    font-size:1.55rem!important;
  }

  .wxt-development-showcase__project-track{
    --wxt-gallery-gap:10px!important;
    min-height:196px!important;
    padding:8px 0 10px!important;
  }

  .wxt-development-showcase button.wxt-development-stack-card,
  .wxt-development-showcase button.wxt-development-stack-card:hover,
  .wxt-development-showcase button.wxt-development-stack-card:active,
  .wxt-development-showcase button.wxt-development-stack-card:focus,
  .wxt-development-showcase button.wxt-development-stack-card:focus-visible{
    flex:0 0 calc((100% - (var(--wxt-gallery-gap) * 2)) / 3)!important;
    width:calc((100% - (var(--wxt-gallery-gap) * 2)) / 3)!important;
    min-height:184px!important;
    border-radius:13px!important;
  }

  .wxt-development-showcase .wxt-development-stack-card__copy{
    left:13px!important;
    right:13px!important;
    bottom:13px!important;
    gap:5px!important;
  }

  .wxt-development-showcase .wxt-development-stack-card__copy strong{
    font-size:.78rem!important;
    line-height:1.16!important;
  }

  .wxt-development-showcase .wxt-development-stack-card__copy small{
    font-size:.55rem!important;
    letter-spacing:.11em!important;
  }

  .wxt-development-showcase__project-carousel-contrast{
    left:-26px!important;
    right:-24px!important;
    top:-22px!important;
    bottom:-24px!important;
    border-radius:32px!important;
    filter:blur(9px)!important;
  }

  .wxt-development-gallery-reveal-zone{
    left:var(--wxt-dev-gutter)!important;
    right:var(--wxt-dev-gutter)!important;
    height:62px!important;
  }

  /* Manual compact mode keeps its preview affordance in proportion. */
  .wxt-development-gallery-compact-next,
  .wxt-development-gallery-compact-next:hover,
  .wxt-development-gallery-compact-next:active,
  .wxt-development-gallery-compact-next:focus,
  .wxt-development-gallery-compact-next:focus-visible{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    min-height:42px!important;
    margin-left:12px!important;
  }

  /* The approved Developments page intentionally has no lower content/footer.
   * Preserve that single-scene immersive model on tablet. */
  .wxt-development-showcase__lower,
  .wxt-development-library,
  .wxt-developments-showcase-main .wxt-footer,
  .wxt-development-showcase + .wxt-footer{
    display:none!important;
  }
}
