/* Newsletter forms use the signup page classes. This file only stacks those
   controls and places the phone bar. The bar sits under the top bar, in the
   page flow, so it does not cover the first screen or the Auto ads anchor. */

fieldset.nl-signup{
  border:0;
  margin:0 0 var(--s3);
  padding:0;
  min-width:0;
  width:100%;
}
.check.nl-consent{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  width:100%;
  font-weight:400;
  font-size:var(--fs-14);
  line-height:1.4;
  color:var(--ink-2);
}
.check.nl-consent input{
  width:24px;
  height:24px;
  flex:none;
  margin:3px 0 0;
}
.nl-fields{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:12px;
  width:100%;
  min-width:0;
}
.nl-fields>.input,
.nl-fields>.btn,
.nl-fields>.check,
.nl-fields>.field{
  width:100%;
  min-width:0;
  margin:0;
}
.nl-fields>.btn,
.nl-fields .btn{
  min-height:44px;
}
.nl-fine{
  margin:8px 0 0;
  font-size:var(--fs-12);
  line-height:1.4;
  color:var(--ink-3);
}
.nl-fine a{font-weight:600}
.nl-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.footer .nl-foot{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:12px;
  margin-top:var(--s4);
  max-width:20rem;
}
.footer .nl-foot .nl-fields{gap:12px}
.footer .nl-foot .input,
.footer .nl-foot .btn{
  width:100%;
  min-height:44px;
  margin:0;
}
.footer .nl-foot a,
.footer .nl-foot .nl-fine a{display:inline;padding:0}
/* Column gap is 12px. Pull the fine print back so it sits 8px under the button. */
.footer .nl-foot>.nl-fine{margin-top:-4px}
.nl-foot-h{margin:0;font:700 var(--fs-13)/1 var(--font-ui);color:var(--ink)}
.nl-msg:empty{display:none}
.nl-msg{margin:8px 0 0;font-size:var(--fs-13);line-height:1.4;color:var(--ink-2)}
.nl-only .err,.nl-foot .err{margin:0}

.nl-backdrop{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(21,25,28,.45)}
.nl-dialog{position:relative;width:min(440px,100%);max-height:min(640px,calc(100vh - 48px));overflow:auto;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--shadow-2);padding:var(--s6)}
.nl-dialog .nl-head{padding-right:44px}
.nl-dialog .nl-x{position:absolute;top:8px;right:8px}
.nl-dialog .auth-lead{margin:0 0 var(--s4);font-size:var(--fs-14)}
.nl-dialog .nl-feats{grid-template-columns:1fr 1fr;gap:8px;margin:0 0 var(--s4)}
.nl-dialog .nl-feats li{align-items:center}
.nl-dialog .nl-feats b{font:600 var(--fs-14)/1.3 var(--font-ui)}
.nl-dialog .auth-h{margin:var(--s5) 0 0}
.nl-dialog .btn.block{margin-top:0}

/* In-flow under the header. Sticky keeps it visible without covering the first screen. */
.nl-banner{
  position:sticky;
  top:var(--topbar-h);
  z-index:35;
  background:var(--surface);
  border-bottom:1px solid var(--border);
}
.nl-banner-in{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:56px;
  max-height:64px;
  padding:6px 0;
}
.nl-banner-t{margin:0;flex:1;min-width:0}
.nl-banner-t b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-14);color:var(--ink)}
.nl-banner .btn{min-height:44px;flex:none}
.nl-banner .nl-x{position:static;flex:none}

.wl-news{margin-top:var(--s6)}
.wl-news p{margin:var(--s2) 0 var(--s3);color:var(--ink-2);font-size:var(--fs-14)}
.wl-news .nl-consent{margin-bottom:var(--s3)}

@media (max-width:959px){
  .nl-backdrop{display:none!important}
}
@media (max-width:767px){
  .nl-banner{position:static}
  .nl-banner-in{padding:8px var(--s4);min-height:56px}
  .nl-banner-t{flex:1 1 auto;min-width:0;font-size:var(--fs-14)}
}
@media (min-width:960px){
  .nl-banner{display:none!important}
}
