/* Northpass merchant reading surfaces. Keep the studio header and footer dark. */
.np-help-page,.np-support-page{
  --np-canvas:#f3f6f9;--np-paper:#fcfdff;--np-tint:#eef3f8;
  --np-ink:#14283c;--np-text:#344b62;--np-blue:#00558d;
  --np-line:#cad5e1;--np-input:#677f96;--np-focus:#005d9b;
}
.np-help-page #main,.np-support-page #main{color:var(--np-text);background:var(--np-canvas)}
.np-help-page .guide-hero,.np-support-page .page-hero{
  padding:clamp(1.9rem,5vw,4.2rem) 0 clamp(1.8rem,4vw,3rem);
  background:linear-gradient(118deg,#e6edf6,#f8fafc 90%);
  border-bottom:1px solid var(--np-line);margin-bottom:clamp(1.25rem,3vw,2rem);
}
.np-help-page .guide-hero h1,.np-support-page .page-hero h1{
  color:var(--np-ink);font-size:clamp(2.15rem,5vw,3.75rem);line-height:1.06;margin:0 0 .65rem;
}
.np-help-page .guide-lead,.np-support-page .page-hero .lead{color:var(--np-text);margin:0;font-size:clamp(1rem,2vw,1.12rem);line-height:1.55}
.np-help-page .help-layout{padding-bottom:clamp(2rem,5vw,4rem)}
.np-help-page .help-nav,.np-help-page .help-content>section,.np-support-page .support-panel,.np-support-page .support-aside{
  background:var(--np-paper);border:1px solid var(--np-line);border-radius:18px;box-shadow:0 10px 30px #152d4810;
}
.np-help-page .help-nav,.np-support-page .support-aside{padding:clamp(1rem,2vw,1.5rem)}
.np-help-page .help-nav label,.np-help-page .help-content h2,.np-help-page .help-content h3,.np-support-page .support-panel h2,.np-support-page .support-aside h2{color:var(--np-ink)}
.np-help-page .help-nav input,.np-support-page .support-field :is(input,textarea,select){
  background:#fff;color:var(--np-ink);border:1px solid var(--np-input);border-radius:10px;color-scheme:light;
}
.np-help-page .help-nav input::placeholder,.np-support-page .support-field :is(input,textarea)::placeholder{color:#526b83;opacity:1}
.np-help-page .help-nav #guide-results,.np-help-page .help-content :is(p,li,dd,figcaption),.np-support-page .support-aside>p:not(.eyebrow),.np-support-page .support-panel :is(.support-hint,.support-data-note,.support-required,.support-optional,.support-submit>p,.support-availability p,.support-success p){color:var(--np-text)}
.np-help-page .help-content :is(strong,dt,summary),.np-support-page .support-field label{color:var(--np-ink)}
.np-help-page .help-content code{color:#004a7c;background:#e9f1f9;border-radius:.25rem;padding:.05em .2em}
.np-help-page .help-content .workflow{background:var(--np-tint);border:1px solid var(--np-line);border-left:3px solid #4081b0;border-radius:10px}
.np-help-page .guide-demo-examples details,.np-help-page .help-content :is(.guide-presets,.guide-fixes)>div{border-color:var(--np-line)}
.np-help-page .help-content .notice{background:var(--np-tint);color:var(--np-ink)}
.np-help-page #main a:not(.button),.np-support-page #main a:not(.button){color:var(--np-blue);text-decoration:underline;text-underline-offset:.18em}
.np-help-page .help-nav .guide-links a{min-height:44px;display:flex;align-items:center;border-color:var(--np-line)}
.np-help-page .help-nav .guide-links a:hover{color:#003c66;background:#e5eff9;text-decoration:underline}
.np-help-page .guide-contact{border-color:var(--np-line)}
.np-help-page #main :is(a,input,summary,section):focus-visible,.np-support-page #main :is(a,input,textarea,select,button,section):focus-visible{
  outline:3px solid var(--np-focus);outline-offset:3px;
}
.np-help-page #main .button-primary,.np-support-page #main .button-primary{
  min-height:44px;border-radius:999px;border:1px solid #06416a;background:#06416a;color:#fff;text-decoration:none;
}
.np-help-page #main .button-primary:hover,.np-support-page #main .button-primary:not(:disabled):hover{background:#0a568a}
.np-support-page #main>.section{padding:0 0 clamp(2rem,5vw,4rem)}
.np-support-page .support-layout{grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr);gap:clamp(1rem,4vw,3rem)}
.np-support-page .support-aside h2{margin:0 0 .5rem;font-size:clamp(1.35rem,2.6vw,1.85rem)}
.np-support-page .support-aside p{margin:.5rem 0}
.np-support-page .support-panel-heading h2{margin:0 0 1rem;font-size:clamp(1.55rem,3vw,2.15rem)}
.np-support-page .support-panel{padding:clamp(1rem,3vw,2rem)}
.np-support-page .support-availability,.np-support-page .support-upload,.np-support-page .support-success{background:var(--np-tint);border-color:var(--np-input);border-radius:12px}
.np-support-page .support-status-dot{background:#24674d}
.np-support-page .support-field :is(input,textarea,select):focus-visible{background:#fff;border-color:var(--np-focus)}
.np-support-page .support-field input[type=file]{max-width:100%;padding:.5rem}
.np-support-page .support-field input::file-selector-button{border:1px solid var(--np-input);border-radius:8px;background:#e2ecf6;color:var(--np-ink)}
.np-support-page .support-submit{border-color:var(--np-line)}
.np-support-page .support-submit>p[data-error=true]{color:#8e2c1d}
.np-support-page .success-icon{background:#d9efe5;color:#235442}
.np-help-page .site-footer [aria-current=page],.np-support-page .site-footer [aria-current=page]{text-decoration:underline;text-underline-offset:.2em}
@media(max-width:760px){
  .np-support-page .support-layout{grid-template-columns:minmax(0,1fr)}
  .np-help-page .help-nav input{font-size:1rem}
}
@media(forced-colors:active){
  .np-help-page #main :focus-visible,.np-support-page #main :focus-visible{outline-color:Highlight}
  .np-help-page #main .button-primary,.np-support-page #main .button-primary{border:1px solid ButtonText}
}

/* Long-form Help typography only; Northpass Support keeps its existing styles. */
.np-help-page .guide-hero h1{
  font-family:var(--display);font-weight:650;line-height:1.08;letter-spacing:-.045em;
}
.np-help-page :is(.guide-lead,.help-nav,.help-content){
  font-family:"DM Sans",system-ui,sans-serif;
}
.np-help-page .help-content h2{
  font-family:var(--display);font-size:clamp(1.42rem,1.23rem + .8vw,2.02rem);
  font-weight:650;letter-spacing:-.025em;line-height:1.18;margin:0 0 .8rem;
  overflow-wrap:anywhere;
}
.np-help-page .help-content h3{
  font-family:"DM Sans",system-ui,sans-serif;font-size:clamp(1.06rem,1rem + .3vw,1.23rem);
  font-weight:740;letter-spacing:-.012em;line-height:1.35;margin:1.35rem 0 .4rem;
  overflow-wrap:anywhere;
}
.np-help-page .help-content h3:first-child{margin-top:0}
.np-help-page .help-content :is(p,li,dd){
  font-size:clamp(1rem,.97rem + .18vw,1.08rem);line-height:1.66;max-width:70ch;
  overflow-wrap:anywhere;
}
.np-help-page .help-content :is(p,ol,ul,dl){margin-block:.65rem .95rem}
.np-help-page .help-content li{margin-block:.4rem;padding-inline-start:.18rem}
.np-help-page .help-content ol{padding-inline-start:1.5rem}
.np-help-page .help-content ol>li::marker{color:var(--np-blue);font-weight:760;font-variant-numeric:tabular-nums}
.np-help-page .help-content :is(strong,dt,summary){font-weight:720}
.np-help-page .help-content :is(dt,summary){font-size:1rem;line-height:1.45}
.np-help-page .help-content figcaption{font-size:.9rem;line-height:1.45}
.np-help-page .help-nav label{font-size:1rem;font-weight:730}
.np-help-page .help-nav input{font-size:1rem}
.np-help-page .help-nav .guide-links a{font-size:.94rem;line-height:1.4}
.np-help-page .help-nav #guide-results{font-size:.875rem}
@media(max-width:600px){
  .np-help-page .help-nav .guide-links a{font-size:.91rem}
}
