/* NOPH Home v19 — pixel-focused reconstruction of approved mockup.
   Entire stylesheet is scoped to Home. No changes to other application pages. */
body.n19-home-active{--n19-bg:#091225;--n19-panel:#19233a;--n19-border:#455373;--n19-text:#f6f7fe;--n19-muted:#aab6d4}
body.n19-home-active:not(.light) .app-shell{background:radial-gradient(ellipse 86% 44% at -17% 92%,rgba(67,60,151,.16),transparent 86%),linear-gradient(153deg,#0b1428 0%,#081122 58%,#091326 100%)!important;box-shadow:none!important}
body.n19-home-active main.page.n18-home{box-sizing:border-box!important;max-width:620px!important;margin-left:auto!important;margin-right:auto!important;padding:9px 23px 126px!important}
body.n19-home-active .n18-home .home-feature{gap:0!important}
body.n19-home-active .n18-home .hero{padding:4px 4px 0!important;margin:0!important;min-height:0!important}
body.n19-home-active .n18-home .hero h1{font:800 clamp(23px,6.7vw,29px)/1.13 Manrope,Inter,sans-serif!important;letter-spacing:-.04em!important;color:#fafbff!important;max-width:none!important;margin:5px 0 18px!important;text-shadow:none!important}
body.n19-home-active .n18-home .hero h1 br{display:block}
body.n19-home-active .n18-home .home-feature>.n18-section-heading{display:none!important}
body.n19-home-active .n18-home .home-stack{display:flex!important;flex-direction:column!important;gap:10px!important;margin:0!important;padding:0!important}
body.n19-home-active .n18-home .scan-card.n18-free-card{border:1px solid rgba(131,150,202,.40)!important;border-radius:17px!important;background:linear-gradient(122deg,#222d4b 0%,#1b2741 56%,#1e2844 100%)!important;box-shadow:none!important;overflow:hidden!important;min-height:0!important}
body.n19-home-active .n18-home .scan-card.n18-free-card:nth-child(2){background:linear-gradient(120deg,#1c2946,#1b263e 100%)!important}
body.n19-home-active .n18-home .scan-card .card-header{box-sizing:border-box!important;min-height:52px!important;padding:10px 34px 10px 13px!important;border:0!important;display:flex!important;align-items:center!important}
body.n19-home-active .n18-home .scan-card .card-header-left{display:flex!important;align-items:center!important;gap:13px!important;min-width:0!important}
body.n19-home-active .n18-home .scan-card .card-header-left>div:last-child{border:0!important;padding:0!important}
body.n19-home-active .n18-home .scan-card .card-icon{flex:0 0 36px!important;width:36px!important;height:30px!important;display:grid!important;place-items:center!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
body.n19-home-active .n18-home .scan-card:nth-child(2) .card-icon{background:none!important;border:0!important;box-shadow:none!important}
body.n19-home-active .n18-home .scan-card .card-icon .ic{color:#879fff!important;width:26px!important;height:26px!important;stroke-width:2!important}
body.n19-home-active .n18-home .scan-card:nth-child(2) .card-icon .ic{color:#90a7ff!important}
body.n19-home-active .n18-home .scan-card .card-title{font:750 13.5px/1.25 Manrope,Inter,sans-serif!important;color:#f6f7fc!important;white-space:normal!important;letter-spacing:-.015em!important;margin:0!important}
body.n19-home-active .n18-home .scan-card .card-sub{display:none!important}
body.n19-home-active .n18-home .scan-card .card-header::after{right:14px!important;top:calc(50% - 5px)!important;width:8px!important;height:8px!important;border-top:1.7px solid #e0e5fc!important;border-right:1.7px solid #e0e5fc!important;transform:rotate(45deg)!important}
body.n19-home-active .n18-home .scan-card.is-open .card-header::after{transform:rotate(135deg)!important}
body.n19-home-active .n18-home .scan-card.is-open .card-sub{display:block!important;color:#a7b6d2!important;font:450 11px/1.5 Inter,sans-serif!important;margin-top:4px!important}
body.n19-home-active .n18-home .scan-card.is-open form{padding:13px 13px 14px!important}
body.n19-home-active .n18-home .scan-card.is-open .scan-explain{color:#aebbd3!important}
body.n19-home-active .n18-home .scan-card form input{font-size:13px!important}
body.n19-home-active .n18-home .scan-card form .primary-btn{min-height:40px!important;border-radius:10px!important}
/* Premium list: two independent, tight rows; no outer floating card. */
body.n19-home-active .n18-home .n18-premium-container{background:none!important;margin-top:22px!important}
body.n19-home-active .n18-home .n18-premium-container>.n18-section-heading{display:block!important;margin:0 4px 10px!important;font:750 14px/1.35 Manrope,Inter,sans-serif!important;color:#f6f7ff!important}
body.n19-home-active .n18-home .n18-premium-list{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
body.n19-home-active .n18-home .n18-premium-row{box-sizing:border-box!important;display:flex!important;align-items:center!important;position:relative!important;min-width:0!important;min-height:74px!important;margin:0!important;padding:11px 41px 11px 11px!important;gap:12px!important;border-radius:16px!important;border:1px solid rgba(132,126,215,.55)!important;background:linear-gradient(115deg,#29244b 0%,#1c2841 78%,#222744 100%)!important;box-shadow:none!important;cursor:pointer!important}
body.n19-home-active .n18-home .n18-deep-row{border-color:rgba(124,148,211,.44)!important;background:linear-gradient(117deg,#1c2a4c 0%,#1a263f 90%)!important}
body.n19-home-active .n18-home .n18-premium-icon{flex:0 0 48px!important;width:48px!important;height:48px!important;border-radius:50%!important;background:#2f2a60!important;border:1px solid rgba(128,111,229,.13)!important;display:grid!important;place-items:center!important;box-shadow:none!important;color:#ad9fff!important}
body.n19-home-active .n18-home .n18-deep-icon{background:#202e5d!important;color:#a7b2ff!important}
body.n19-home-active .n18-home .n18-premium-icon .n18-inline-icon{width:29px!important;height:29px!important;color:inherit!important;stroke-width:1.85!important}
body.n19-home-active .n18-home .n18-premium-copy{flex:1!important;min-width:0!important;padding:0!important;margin:0!important;gap:4px!important}
body.n19-home-active .n18-home .n18-premium-copy strong{font:760 13.5px/1.28 Manrope,Inter,sans-serif!important;color:#f7f7ff!important;letter-spacing:-.018em!important}
body.n19-home-active .n18-home .n18-premium-copy small{font:450 10.7px/1.42 Inter,sans-serif!important;color:#c4cbe1!important;max-width:none!important}
body.n19-home-active .n18-home .n18-pro-pill{position:absolute!important;top:8px!important;right:12px!important;border:1px solid rgba(175,135,255,.54)!important;background:#6131ba!important;color:white!important;border-radius:99px!important;font:750 9px/1 Inter,sans-serif!important;letter-spacing:0!important;padding:4px 8px!important;box-shadow:0 2px 5px rgba(23,11,56,.14)!important}
body.n19-home-active .n18-home .n18-pro-pill::before{content:'♕';font-size:10px;margin-right:3px}
body.n19-home-active .n18-home .n18-row-arrow{right:13px!important;top:37px!important;bottom:auto!important;font:400 22px/1 Inter,sans-serif!important;color:#b6c3e7!important}
body.n19-home-active .n18-home .n18-deep-cta{right:7px!important;top:29px!important;bottom:auto!important;width:34px!important;height:38px!important;padding:0!important;background:none!important;box-shadow:none!important;border:0!important;color:transparent!important;font-size:0!important}
body.n19-home-active .n18-home .n18-deep-cta::after{content:'›'!important;color:#c2caff!important;font-size:23px!important}
/* Lower tools are two compact horizontal tiles. */
body.n19-home-active .n18-home .home-secondary{margin-top:21px!important;padding:0!important;display:block!important}
body.n19-home-active .n18-home .home-tools .section-head{margin:0 4px 10px!important;padding:0!important}
body.n19-home-active .n18-home .home-tools .section-head h2{font:750 14px/1.34 Manrope,Inter,sans-serif!important;color:#f5f7ff!important;margin:0!important}
body.n19-home-active .n18-home .two-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
body.n19-home-active .n18-home .action-card{box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:8px!important;min-height:59px!important;max-height:66px!important;padding:9px 19px 9px 10px!important;border-radius:16px!important;background:linear-gradient(120deg,#202b46,#1c2740)!important;border:1px solid rgba(128,148,208,.43)!important;box-shadow:none!important}
body.n19-home-active .n18-home .action-card:nth-child(2){background:linear-gradient(120deg,#232846,#1e2744)!important}
body.n19-home-active .n18-home .action-icon{flex:0 0 33px!important;width:33px!important;height:33px!important;display:grid!important;place-items:center!important;border-radius:50%!important;border:0!important;background:#222e58!important;box-shadow:none!important}
body.n19-home-active .n18-home .action-icon .ic{width:24px!important;height:24px!important;color:#91a7ff!important;stroke-width:1.9!important}
body.n19-home-active .n18-home .action-card strong{font:730 11.5px/1.18 Manrope,Inter,sans-serif!important;letter-spacing:-.012em!important;color:#f9f9ff!important;max-width:90px!important;text-align:left!important}
body.n19-home-active .n18-home .action-card::after{right:8px!important;top:calc(50% - 11px)!important;font-size:20px!important;color:#d5ddfa!important}
body.n19-home-active .n18-home .home-insights,body.n19-home-active .n18-home .home-count,body.n19-home-active .n18-home .note-inline,body.n19-home-active .n18-home .footer-small{display:none!important}
/* Bottom navigation on Home only, same proportions as reference. */
body.n19-home-active:not(.light) .bottom-nav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;position:fixed!important;bottom:0!important;left:50%!important;transform:translateX(-50%)!important;width:min(100%,620px)!important;box-sizing:border-box!important;gap:0!important;border:1px solid rgba(105,121,165,.23)!important;border-bottom:0!important;border-radius:20px 20px 0 0!important;padding:7px 9px max(10px,env(safe-area-inset-bottom))!important;background:rgba(17,27,47,.97)!important;box-shadow:0 -9px 22px rgba(0,0,0,.11)!important;backdrop-filter:blur(18px)!important}
body.n19-home-active .bottom-nav .nav-item{padding:5px 0 9px!important;gap:2px!important;min-height:55px!important;font:450 10px/1.25 Inter,sans-serif!important;color:#c0cae3!important}
body.n19-home-active .bottom-nav .nav-icon{width:28px!important;height:25px!important;display:grid!important;place-items:center!important;background:none!important;box-shadow:none!important}
body.n19-home-active .bottom-nav .nav-icon .ic{width:20px!important;height:20px!important;color:#c2cff4!important;stroke-width:1.9!important}
body.n19-home-active .bottom-nav .nav-item.active{font-weight:710!important;color:#fff!important}
body.n19-home-active .bottom-nav .nav-item.active .nav-icon .ic{color:#c47cff!important}
body.n19-home-active .bottom-nav .nav-item.active::after{height:2px!important;left:24%!important;right:24%!important;bottom:3px!important;border-radius:4px!important;background:#b36ef3!important;box-shadow:none!important}
/* Preserve home legibility for users who prefer light mode. */
body.n19-home-active.light .n18-home .hero h1{color:#162943!important;-webkit-text-fill-color:#162943!important}
body.n19-home-active.light .n18-home .scan-card.n18-free-card{background:#fff!important;border-color:#d8e0ee!important}
body.n19-home-active.light .n18-home .scan-card .card-title,body.n19-home-active.light .n18-home .n18-premium-copy strong,body.n19-home-active.light .n18-home .action-card strong{color:#182942!important}
body.n19-home-active.light .n18-home .n18-premium-row{background:#f7f4ff!important;border-color:#ded5f5!important}
body.n19-home-active.light .n18-home .n18-deep-row,body.n19-home-active.light .n18-home .action-card{background:#fff!important;border-color:#d8e0ee!important}
body.n19-home-active.light .n18-home .n18-premium-copy small{color:#657592!important}
body.n19-home-active.light .n18-home .n18-premium-container>.n18-section-heading,body.n19-home-active.light .n18-home .home-tools .section-head h2{color:#283753!important}
body.n19-home-active.light .n18-home .scan-card .card-header::after{border-color:#556887!important}
@media(max-width:370px){
 body.n19-home-active main.page.n18-home{padding-left:17px!important;padding-right:17px!important}
 body.n19-home-active .n18-home .hero h1{font-size:23px!important}
 body.n19-home-active .n18-home .n18-premium-copy small{font-size:10.3px!important}
 body.n19-home-active .n18-home .action-card strong{font-size:10.8px!important}
}


/* Exact compact measurements: supersede high-specificity legacy card padding. */
body.n19-home-active:not(.light) .home-stack .scan-card.n18-free-card,
body.n19-home-active.light .home-stack .scan-card.n18-free-card{padding:0!important}
body.n19-home-active .n18-home .n18-premium-row,
body.n19-home-active .n18-home .n18-premium-copy,
body.n19-home-active .n18-home .n18-premium-copy small{
 white-space:normal!important;overflow-wrap:normal!important
}
body.n19-home-active .n18-home .n18-premium-copy{align-items:stretch!important;justify-content:center!important}
body.n19-home-active .n18-home .n18-premium-copy small{display:block!important;width:auto!important;min-width:0!important}
body.n19-home-active .n18-home .action-card{flex-direction:row!important;justify-content:flex-start!important;align-items:center!important}
body.n19-home-active .n18-home .action-card strong{margin:0!important;flex:1!important}
body.n19-home-active .n18-home .action-card .action-icon{margin:0!important;align-self:center!important}


/* Reference gutters: 24px at 341px viewport, consistent on modern iPhones. */
@media(max-width:640px){
 body.n19-home-active main.page.n18-home{padding-left:24px!important;padding-right:24px!important}
}
@media(min-width:390px) and (max-width:640px){
 body.n19-home-active main.page.n18-home{padding-left:25px!important;padding-right:25px!important}
}
@media(max-width:325px){
 body.n19-home-active main.page.n18-home{padding-left:18px!important;padding-right:18px!important}
}

/* Floating bottom navigation exactly as in the approved screen. */
body.n19-home-active:not(.light) .bottom-nav{
 width:min(calc(100% - 18px),600px)!important;
 bottom:max(18px,env(safe-area-inset-bottom))!important;
 border:1px solid rgba(115,129,174,.30)!important;
 border-radius:19px!important;
 padding:9px 9px 13px!important;
 box-shadow:0 8px 18px rgba(0,0,0,.14)!important
}

/* NOPH Home v20 — precise icon boxes, arrow alignment and Scam Playbook.
   Scoped to Home: no impact on login, scanning, Email Shield or other routes. */
body.n19-home-active .n18-home .hero h1{font-size:clamp(22px,6vw,28px)!important;line-height:1.2!important;letter-spacing:-.038em!important;margin-bottom:19px!important}
body.n19-home-active .n18-home .scan-card .card-header-left{gap:12px!important;align-items:center!important}
body.n19-home-active .n18-home .scan-card .card-icon{
  display:flex!important;justify-content:center!important;align-items:center!important;
  flex:0 0 32px!important;width:32px!important;height:34px!important;
  border:0!important;background:transparent!important;border-radius:0!important;
  margin:0!important;padding:0!important;box-shadow:none!important
}
body.n19-home-active .n18-home .scan-card:nth-child(2) .card-icon{background:transparent!important;border:0!important}
body.n19-home-active .n18-home .scan-card .card-icon svg.ic{
  display:block!important;width:27px!important;height:27px!important;
  max-width:none!important;min-width:27px!important;stroke-width:1.85!important;
  color:#92a5fa!important;filter:none!important;margin:0!important
}
body.n19-home-active .n18-home .scan-card .card-title{margin:0!important}
body.n19-home-active .n18-home .scan-card .card-header::after{
  top:50%!important;right:17px!important;
  transform:translateY(-50%) rotate(45deg)!important;
}
body.n19-home-active .n18-home .scan-card.is-open .card-header::after{
  transform:translateY(-50%) rotate(135deg)!important
}
/* Three-column premium grid: explicit independent icon, copy and action lanes. */
body.n19-home-active .n18-home .n18-premium-list{gap:10px!important}
body.n19-home-active .n18-home .n18-premium-row{
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr) 52px!important;
  grid-template-rows:minmax(19px,auto) minmax(30px,auto)!important;
  align-items:center!important;justify-items:stretch!important;
  align-content:center!important;column-gap:12px!important;row-gap:0!important;
  padding:12px 12px!important;
  min-height:84px!important;
}
body.n19-home-active .n18-home .n18-premium-icon{
  position:static!important;grid-column:1!important;grid-row:1/3!important;
  align-self:center!important;justify-self:center!important;
  width:46px!important;height:46px!important;flex:none!important;
  margin:0!important;padding:0!important
}
body.n19-home-active .n18-home .n18-premium-icon svg{
  width:27px!important;height:27px!important;margin:0!important
}
body.n19-home-active .n18-home .n18-premium-copy{
  position:static!important;grid-column:2!important;grid-row:1/3!important;
  min-width:0!important;width:100%!important;
  display:flex!important;flex-direction:column!important;align-self:center!important;
  align-items:stretch!important;justify-content:center!important;
  gap:4px!important;margin:0!important;padding:0!important
}
body.n19-home-active .n18-home .n18-premium-copy strong{
  display:block!important;margin:0!important;white-space:normal!important;
  font-size:13.5px!important;line-height:1.3!important
}
body.n19-home-active .n18-home .n18-premium-copy small{
  display:block!important;margin:0!important;
  width:auto!important;min-width:0!important;max-width:100%!important;
  white-space:normal!important;overflow-wrap:break-word!important;
  font-size:10.5px!important;line-height:1.42!important
}
body.n19-home-active .n18-home .n18-pro-pill{
  position:static!important;
  grid-column:3!important;grid-row:1!important;
  justify-self:end!important;align-self:start!important;
  margin:0!important;white-space:nowrap!important
}
body.n19-home-active .n18-home .n18-row-arrow{
  position:static!important;grid-column:3!important;grid-row:2!important;
  justify-self:end!important;align-self:end!important;
  margin:0 4px 1px 0!important;line-height:23px!important;
  font-size:23px!important;transform:none!important
}
body.n19-home-active .n18-home .n18-deep-cta{
  position:static!important;grid-column:3!important;grid-row:2!important;
  justify-self:end!important;align-self:end!important;
  display:flex!important;justify-content:flex-end!important;align-items:center!important;
  width:31px!important;height:27px!important;min-height:27px!important;
  border:0!important;border-radius:0!important;background:transparent!important;
  color:transparent!important;box-shadow:none!important;
  padding:0 4px 0 0!important;margin:0!important;font-size:0!important;
}
body.n19-home-active .n18-home .n18-deep-cta::after{
  display:block!important;position:static!important;
  font-size:23px!important;color:#c2caff!important;line-height:23px!important
}
/* Both remaining free checks have the same icon/text/arrow lanes. */
body.n19-home-active .n18-home .two-actions{align-items:stretch!important}
body.n19-home-active .n18-home .action-card{
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr) 12px!important;
  align-items:center!important;gap:8px!important;
  padding:10px 10px!important;
  min-height:66px!important;max-height:none!important;
  position:relative!important
}
body.n19-home-active .n18-home .action-icon{
  grid-column:1!important;justify-self:center!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:28px!important;height:30px!important;min-width:28px!important;flex:0 0 28px!important;
  background:transparent!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;padding:0!important;margin:0!important
}
body.n19-home-active .n18-home .action-icon svg.ic{
  display:block!important;width:27px!important;height:27px!important;
  min-width:27px!important;stroke-width:1.85!important;
  color:#93a8ff!important;filter:none!important;margin:0!important
}
body.n19-home-active .n18-home .action-card strong{
  grid-column:2!important;min-width:0!important;
  font-size:11.8px!important;line-height:1.25!important;
  max-width:100%!important;width:100%!important;
  margin:0!important;padding:0!important;text-align:left!important;
}
body.n19-home-active .n18-home .action-card::after{
  position:static!important;grid-column:3!important;grid-row:1!important;
  justify-self:center!important;align-self:center!important;
  transform:none!important;font-size:21px!important;line-height:1!important;
  margin:0!important
}
/* Restore the original five-example Scam Playbook, after the core tools. */
body.n19-home-active .n18-home .home-insights{
  display:block!important;margin:26px 0 4px!important;padding:0!important
}
body.n19-home-active .n18-home .home-insights .section-head{
  display:flex!important;align-items:baseline!important;justify-content:space-between!important;
  gap:10px!important;margin:0 4px 11px!important;padding:0!important
}
body.n19-home-active .n18-home .home-insights .section-head h2{
  font:750 14px/1.35 Manrope,Inter,sans-serif!important;
  letter-spacing:-.018em!important;color:#f5f6ff!important;
  margin:0!important
}
body.n19-home-active .n18-home .home-insights .section-kicker{
  display:inline!important;
  font:650 9px/1.35 Inter,sans-serif!important;
  letter-spacing:.075em!important;color:#8999c1!important;
  text-align:right!important;white-space:nowrap!important
}
body.n19-home-active .n18-home .trends-list{
  display:flex!important;flex-direction:column!important;gap:9px!important;margin:0!important
}
body.n19-home-active .n18-home .trend{
  display:grid!important;grid-template-columns:27px minmax(0,1fr) 12px!important;
  align-items:center!important;gap:12px!important;
  width:100%!important;min-width:0!important;min-height:66px!important;
  padding:12px 14px!important;margin:0!important;
  background:#172238!important;border:1px solid rgba(129,145,196,.28)!important;
  border-radius:15px!important;box-shadow:none!important;
  text-align:left!important;color:#f4f5ff!important;
}
body.n19-home-active .n18-home .trend-icon{
  display:grid!important;place-items:center!important;
  width:27px!important;height:29px!important;flex:none!important;
  background:transparent!important;border:0!important;border-radius:0!important;
  padding:0!important;margin:0!important;box-shadow:none!important;color:#98aaff!important
}
body.n19-home-active .n18-home .trend-icon svg.ic{
  width:23px!important;height:23px!important;color:#95a8f9!important;stroke-width:1.8!important
}
body.n19-home-active .n18-home .trend-copy{grid-column:2!important;min-width:0!important}
body.n19-home-active .n18-home .trend-title{
  font:730 12px/1.35 Manrope,Inter,sans-serif!important;color:#f6f8ff!important;
  margin:0!important;letter-spacing:-.01em!important
}
body.n19-home-active .n18-home .trend-desc{
  font:450 10.6px/1.45 Inter,sans-serif!important;
  margin:3px 0 0!important;color:#a8b5ce!important
}
body.n19-home-active .n18-home .trend > svg.ic{
  grid-column:3!important;width:15px!important;height:15px!important;
  color:#b8c5e4!important;justify-self:center!important
}
body.n19-home-active .n18-home .trend:focus-visible{
  outline:2px solid #ab8bef!important;outline-offset:3px!important
}
body.n19-home-active.light .n18-home .home-insights .section-head h2{color:#243551!important}
body.n19-home-active.light .n18-home .home-insights .section-kicker{color:#6e7e9a!important}
body.n19-home-active.light .n18-home .trend{background:#fff!important;border-color:#d9e0ed!important;color:#1b2e4c!important}
body.n19-home-active.light .n18-home .trend-title{color:#1d304c!important}
body.n19-home-active.light .n18-home .trend-desc{color:#697c99!important}
@media(max-width:365px){
 body.n19-home-active .n18-home .n18-premium-row{grid-template-columns:42px minmax(0,1fr) 48px!important;gap:8px!important;padding:12px 10px!important}
 body.n19-home-active .n18-home .n18-premium-icon{width:42px!important;height:42px!important}
 body.n19-home-active .n18-home .n18-premium-copy small{font-size:10px!important}
 body.n19-home-active .n18-home .action-card{gap:6px!important}
}

