/* NOPH v31 — precise light-mode contrast and quick-check typography fix. */

/* Quick checks: match the premium item typography (13.5px), not 16px. */
body.n19-home-active main.n30-home .two-actions .action-card strong,
body.n19-home-active main.n30-home .two-actions .action-card .action-title{
  font-family:Manrope,Inter,system-ui,sans-serif!important;
  font-size:13.5px!important;
  font-weight:760!important;
  line-height:1.36!important;
  letter-spacing:-.025em!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  text-wrap:wrap!important;
}
@media(max-width:365px){
  body.n19-home-active main.n30-home .two-actions .action-card strong,
  body.n19-home-active main.n30-home .two-actions .action-card .action-title{
    font-size:13.5px!important;
    line-height:1.36!important;
  }
}

/* Header — make "No phishing anymore." clearly legible in LIGHT mode. */
body.light .topbar .brand-sub,
body.light .topbar .brand-sub *,
body.light.n21-home-brand .topbar .brand-sub .n21-grad{
  color:#344763!important;
  -webkit-text-fill-color:#344763!important;
  background:none!important;
  background-image:none!important;
  font-weight:450!important;
  opacity:1!important;
}

/* Information/privacy notes must remain light in light mode: Learn, Pro, etc. */
body.light main.page .note-inline{
  background:#edf3fc!important;
  background-image:none!important;
  border:1px solid #ccdaed!important;
  box-shadow:none!important;
  border-radius:12px!important;
  color:#334d70!important;
  -webkit-text-fill-color:#334d70!important;
  opacity:1!important;
}
body.light main.page .note-inline :is(span,strong,p,small,.ic,svg){
  color:#334d70!important;
  -webkit-text-fill-color:#334d70!important;
  opacity:1!important;
}
body.light main.page .note-inline .ic{color:#217aaf!important;-webkit-text-fill-color:#217aaf!important}

/* Pro page: every message is legible on its light background. */
body.light main.noph-plans .noph-plan-soon{
  background:#eae3ff!important;
  background-image:none!important;
  border:1px solid #c0b0f1!important;
  color:#56328c!important;
  -webkit-text-fill-color:#56328c!important;
  font-weight:760!important;
  opacity:1!important;
}
body.light main.noph-plans .noph-plan-soon :is(svg,.ic,span){
  color:#56328c!important;
  -webkit-text-fill-color:#56328c!important;
  opacity:1!important;
}
body.light main.noph-plans .noph-plan-disclaimer{
  color:#465d7b!important;
  -webkit-text-fill-color:#465d7b!important;
  font-size:11px!important;
  line-height:1.6!important;
  opacity:1!important;
}
body.light main.noph-plans .noph-plan-assurance{
  background:#e7f7f0!important;
  background-image:none!important;
  border:1px solid #bedfcf!important;
  color:#19634d!important;
  -webkit-text-fill-color:#19634d!important;
  opacity:1!important;
}
body.light main.noph-plans .noph-plan-assurance :is(svg,.ic,span,strong){
  color:#19634d!important;
  -webkit-text-fill-color:#19634d!important;
  opacity:1!important;
}
body.light main.noph-plans .note-inline[role="status"]{
  background:#f1f5fd!important;
  border:1px solid #c9d7ed!important;
  color:#334d70!important;
  -webkit-text-fill-color:#334d70!important;
  opacity:1!important;
}
body.light main.noph-plans .note-inline[role="status"] :is(span,strong){
  color:#334d70!important;
  -webkit-text-fill-color:#334d70!important;
  opacity:1!important;
}

/* Settings — install action: remove dark tile and retain accessible contrast. */
body.light main.n30-settings #install.round-button{
  background:#e9f1fc!important;
  background-image:none!important;
  color:#35618c!important;
  -webkit-text-fill-color:#35618c!important;
  border:1px solid #c3d5ec!important;
  border-radius:12px!important;
  box-shadow:none!important;
  opacity:1!important;
}
body.light main.n30-settings #install.round-button :is(svg,.ic){
  color:#35618c!important;
  stroke:#35618c!important;
  opacity:1!important;
}
body.light main.n30-settings #install.round-button:hover{
  background:#dceafa!important;
  border-color:#9ebfe2!important;
}
body.light main.n30-settings #install.round-button:focus-visible{
  outline:2px solid #387ac9!important;
  outline-offset:3px!important;
}
