/* ALPHA Premium Interaction Boundary P1 — clickable vs info-only */

body.alpha-premium-mobile-home{
  --alpha-ix-click-border-light:rgba(20,184,166,.45);
  --alpha-ix-click-border-dark:rgba(45,212,191,.55);
  --alpha-ix-info-border-light:#e2e8f0;
  --alpha-ix-info-border-dark:rgba(148,163,184,.22);
  --alpha-ix-hover-lift:-3px;
  --alpha-ix-trans:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
  --alpha-ix-shadow-light:0 8px 24px rgba(15,23,42,.10);
  --alpha-ix-shadow-dark:0 8px 24px rgba(0,0,0,.45);
}

/* ── Info-only: no hover/tap lift ── */
body.alpha-premium-mobile-home .alpha-info-only,
body.alpha-premium-mobile-home .alpha-home-market-bar,
body.alpha-premium-mobile-home .agp-shell,
body.alpha-premium-mobile-home .p47-fridge-brief,
body.alpha-premium-mobile-home .p43-diag-hero .p43-diag-sub,
body.alpha-premium-mobile-home .p43-diag-hero .p43-diag-head,
body.alpha-premium-mobile-home .p43-diag-report,
body.alpha-premium-mobile-home .p43-diag-result{
  cursor:default;
}

body.alpha-premium-mobile-home .alpha-info-only:hover,
body.alpha-premium-mobile-home .alpha-home-market-bar:hover,
body.alpha-premium-mobile-home .agp-shell:hover,
body.alpha-premium-mobile-home .p47-fridge-brief:hover,
body.alpha-premium-mobile-home .p43-diag-hero.alpha-info-only:hover{
  transform:none!important;
  box-shadow:inherit!important;
}

html[data-theme="light"] body.alpha-premium-mobile-home .alpha-home-market-bar .market-chip,
html[data-theme="light"] body.alpha-premium-mobile-home .agp-shell.alpha-info-only{
  border-color:var(--alpha-ix-info-border-light);
}

html[data-theme="dark"] body.alpha-premium-mobile-home .alpha-home-market-bar .market-chip,
html[data-theme="dark"] body.alpha-premium-mobile-home .agp-shell.alpha-info-only{
  border-color:var(--alpha-ix-info-border-dark);
}

html[data-theme="light"] body.alpha-premium-mobile-home a.p47-fridge-card,
html[data-theme="light"] body.alpha-premium-mobile-home .forest-lounge-card,
html[data-theme="light"] body.alpha-premium-mobile-home .p38-my-menu a{
  border-color:var(--alpha-ix-click-border-light);
}

html[data-theme="dark"] body.alpha-premium-mobile-home a.p47-fridge-card,
html[data-theme="dark"] body.alpha-premium-mobile-home .forest-lounge-card,
html[data-theme="dark"] body.alpha-premium-mobile-home .p38-my-menu a{
  border-color:var(--alpha-ix-click-border-dark);
}

body.alpha-premium-mobile-home .alpha-touch-feedback{
  -webkit-tap-highlight-color:transparent;
}

body.alpha-premium-mobile-home .p43-diag-input.alpha-touch-feedback:focus{
  outline:none;
}

html[data-theme="light"] body.alpha-premium-mobile-home .p43-diag-input.alpha-touch-feedback:focus{
  border-color:var(--alpha-ix-click-border-light)!important;
  box-shadow:0 0 0 2px rgba(20,184,166,.12);
}

html[data-theme="dark"] body.alpha-premium-mobile-home .p43-diag-input.alpha-touch-feedback:focus{
  border-color:var(--alpha-ix-click-border-dark)!important;
  box-shadow:0 0 0 2px rgba(45,212,191,.14);
}

/* ── Shared pressable / clickable ── */
body.alpha-premium-mobile-home .alpha-clickable,
body.alpha-premium-mobile-home .alpha-card-pressable,
body.alpha-premium-mobile-home .alpha-card-link,
body.alpha-premium-mobile-home a.p47-fridge-card,
body.alpha-premium-mobile-home .forest-lounge-card,
body.alpha-premium-mobile-home .alpha-v7-expert-cta,
body.alpha-premium-mobile-home .p38-my-menu a,
body.alpha-premium-mobile-home .p47-tab,
body.alpha-premium-mobile-home .p43-diag-btn{
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:var(--alpha-ix-trans);
}

body.alpha-premium-mobile-home .alpha-card-link::after,
body.alpha-premium-mobile-home .p38-my-menu a::after{
  content:" ›";
  font-weight:900;
  opacity:.85;
}

/* ── PC hover (fine pointer only) ── */
@media (hover:hover) and (pointer:fine){
  html[data-theme="light"] body.alpha-premium-mobile-home a.p47-fridge-card:hover,
  html[data-theme="light"] body.alpha-premium-mobile-home .forest-lounge-card:hover,
  html[data-theme="light"] body.alpha-premium-mobile-home .alpha-v7-expert-cta:hover,
  html[data-theme="light"] body.alpha-premium-mobile-home .p38-my-menu a:hover,
  html[data-theme="light"] body.alpha-premium-mobile-home .p43-diag-btn:hover{
    transform:translateY(var(--alpha-ix-hover-lift));
    border-color:var(--alpha-ix-click-border-light)!important;
    box-shadow:var(--alpha-ix-shadow-light)!important;
  }

  html[data-theme="dark"] body.alpha-premium-mobile-home a.p47-fridge-card:hover,
  html[data-theme="dark"] body.alpha-premium-mobile-home .forest-lounge-card:hover,
  html[data-theme="dark"] body.alpha-premium-mobile-home .alpha-v7-expert-cta:hover,
  html[data-theme="dark"] body.alpha-premium-mobile-home .p38-my-menu a:hover,
  html[data-theme="dark"] body.alpha-premium-mobile-home .p43-diag-btn:hover{
    transform:translateY(var(--alpha-ix-hover-lift));
    border-color:var(--alpha-ix-click-border-dark)!important;
    box-shadow:var(--alpha-ix-shadow-dark)!important;
  }

  html[data-theme="light"] body.alpha-premium-mobile-home .p47-tab:hover{
    transform:translateY(-2px);
    color:#0f766e!important;
  }

  html[data-theme="dark"] body.alpha-premium-mobile-home .p47-tab:hover{
    transform:translateY(-2px);
    color:#2dd4bf!important;
  }

  html[data-theme="light"] body.alpha-premium-mobile-home .p43-diag-input:hover{
    border-color:var(--alpha-ix-click-border-light)!important;
  }

  html[data-theme="dark"] body.alpha-premium-mobile-home .p43-diag-input:hover{
    border-color:var(--alpha-ix-click-border-dark)!important;
  }
}

/* ── Mobile tap (:active only, no hover) ── */
@media (hover:none) and (pointer:coarse){
  body.alpha-premium-mobile-home a.p47-fridge-card:hover,
  body.alpha-premium-mobile-home .forest-lounge-card:hover,
  body.alpha-premium-mobile-home .alpha-v7-expert-cta:hover,
  body.alpha-premium-mobile-home .p38-my-menu a:hover,
  body.alpha-premium-mobile-home .p43-diag-btn:hover,
  body.alpha-premium-mobile-home .p47-tab:hover,
  body.alpha-premium-mobile-home .alpha-home-market-bar:hover,
  body.alpha-premium-mobile-home .agp-shell:hover{
    transform:none!important;
  }

  body.alpha-premium-mobile-home a.p47-fridge-card:active,
  body.alpha-premium-mobile-home .forest-lounge-card:active,
  body.alpha-premium-mobile-home .alpha-v7-expert-cta:active,
  body.alpha-premium-mobile-home .p38-my-menu a:active,
  body.alpha-premium-mobile-home .p43-diag-btn:active,
  body.alpha-premium-mobile-home .p47-tab:active{
    transform:scale(.985) translateY(1px)!important;
    opacity:.96;
  }

  body.alpha-premium-mobile-home .p43-diag-input:active{
    transform:none;
    border-color:var(--alpha-ix-click-border-light)!important;
  }

  html[data-theme="dark"] body.alpha-premium-mobile-home .p43-diag-input:active{
    border-color:var(--alpha-ix-click-border-dark)!important;
  }
}

/* ── Touch targets ── */
body.alpha-premium-mobile-home .p43-diag-btn,
body.alpha-premium-mobile-home .alpha-v7-expert-cta,
body.alpha-premium-mobile-home .p38-my-menu a,
body.alpha-premium-mobile-home .p47-tab{
  min-height:44px;
}

body.alpha-premium-mobile-home .p43-diag-input{
  min-height:44px;
}

/* ── Diagnosis: hero info-only, controls interactive ── */
body.alpha-premium-mobile-home .p43-diag-hero.alpha-info-only{
  cursor:default;
}

body.alpha-premium-mobile-home .p43-diag-search .p43-diag-input{
  cursor:text;
}

body.alpha-premium-mobile-home .p43-diag-btn.alpha-touch-feedback{
  min-width:96px;
}

/* ── Bottom nav tab feedback ── */
body.alpha-premium-mobile-home .p47-tab.active{
  transition:var(--alpha-ix-trans);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion:reduce){
  body.alpha-premium-mobile-home .alpha-clickable,
  body.alpha-premium-mobile-home .alpha-card-pressable,
  body.alpha-premium-mobile-home .alpha-card-link,
  body.alpha-premium-mobile-home a.p47-fridge-card,
  body.alpha-premium-mobile-home .forest-lounge-card,
  body.alpha-premium-mobile-home .alpha-v7-expert-cta,
  body.alpha-premium-mobile-home .p38-my-menu a,
  body.alpha-premium-mobile-home .p47-tab,
  body.alpha-premium-mobile-home .p43-diag-btn{
    transition:border-color .12s ease,box-shadow .12s ease,opacity .12s ease;
  }

  @media (hover:hover) and (pointer:fine){
    body.alpha-premium-mobile-home a.p47-fridge-card:hover,
    body.alpha-premium-mobile-home .forest-lounge-card:hover,
    body.alpha-premium-mobile-home .alpha-v7-expert-cta:hover,
    body.alpha-premium-mobile-home .p38-my-menu a:hover,
    body.alpha-premium-mobile-home .p43-diag-btn:hover,
    body.alpha-premium-mobile-home .p47-tab:hover{
      transform:none!important;
    }
  }

  @media (hover:none) and (pointer:coarse){
    body.alpha-premium-mobile-home a.p47-fridge-card:active,
    body.alpha-premium-mobile-home .forest-lounge-card:active,
    body.alpha-premium-mobile-home .alpha-v7-expert-cta:active,
    body.alpha-premium-mobile-home .p38-my-menu a:active,
    body.alpha-premium-mobile-home .p43-diag-btn:active,
    body.alpha-premium-mobile-home .p47-tab:active{
      transform:none!important;
      opacity:.88;
    }
  }
}
