
/* ---------------------------------------------------------------------------
   Non-renewal decoder. Appended to matrix.css by build_notice.py.

   The result cards are deliberately plainer than the rest of the site. Someone
   reading this page has just been told they are losing their home insurance;
   the page's job is to be legible and calm, not to sell. The one piece of
   colour is the remedy card, because in Arizona that card is the whole answer.
   --------------------------------------------------------------------------- */
.nx-hero h1{max-width:30ch}
.nx{background:var(--fill);border:1px solid var(--rule);border-radius:var(--r);
  padding:26px 24px}
@media(max-width:620px){.nx{padding:20px 16px}}
.nx .tabs{display:flex;gap:8px;margin:0 0 20px;flex-wrap:wrap}
.nx-toggle{appearance:none;border:1px solid var(--rule);background:var(--bg);
  color:var(--grey);font:inherit;font-size:.82rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.06em;padding:10px 16px;
  border-radius:8px;cursor:pointer;transition:border-color .15s,color .15s}
.nx-toggle:hover{color:var(--ink)}
.nx-toggle.on{border-color:var(--brand);color:var(--brand)}
.nx-paste{width:100%;box-sizing:border-box;min-height:190px;resize:vertical;
  padding:14px 15px;border:1px solid var(--rule);border-radius:10px;
  background:var(--bg);color:var(--ink);font:inherit;font-size:.95rem;
  line-height:1.6}
.nx-paste:focus{outline:none;border-color:var(--brand)}
.nx .priv{display:flex;gap:11px;align-items:flex-start;margin:14px 0 0;
  font-size:.86rem;line-height:1.6;color:var(--grey)}
.nx .priv b{color:var(--ink)}
.nx .priv svg{flex:0 0 auto;margin-top:2px}
.nx .qrow{margin:0 0 18px}
.nx .qrow label{display:block;font-size:.76rem;text-transform:uppercase;
  letter-spacing:.07em;color:var(--grey);font-weight:700;margin-bottom:6px}
.nx .qrow select,.nx .qrow input,.nx .qrow textarea{width:100%;
  box-sizing:border-box;padding:11px 12px;border:1px solid var(--rule);
  border-radius:9px;background:var(--bg);color:var(--ink);font:inherit;
  font-size:.93rem}
.nx .qrow select:focus,.nx .qrow input:focus,.nx .qrow textarea:focus{
  outline:none;border-color:var(--brand)}
.nx .qrow textarea{min-height:84px;resize:vertical}

/* ---- the answer --------------------------------------------------------- */
.nx-result{margin-top:30px;outline:none}
.nx-card{background:var(--bg);border:1px solid var(--rule);
  border-radius:var(--r);padding:24px;margin:0 0 16px;box-shadow:var(--shadow)}
@media(max-width:620px){.nx-card{padding:18px 16px}}
.nx-card h4{font-family:Oswald,Inter,sans-serif;text-transform:uppercase;
  font-size:.82rem;letter-spacing:.1em;color:var(--grey);font-weight:600;
  margin:0 0 12px}
.nx-card p{margin:0 0 .85em}
.nx-card p:last-child{margin-bottom:0}
.nx-card ul,.nx-card ol{margin:0;padding-left:1.15em}
.nx-card li{margin-bottom:.8em;line-height:1.66}
.nx-card li:last-child{margin-bottom:0}
.nx-kind{font-family:Oswald,Inter,sans-serif;text-transform:uppercase;
  font-size:clamp(1.3rem,3vw,1.9rem);line-height:1.1;color:var(--ink);
  font-weight:600;margin:0 0 .5em}
.nx-reason{font-family:Oswald,Inter,sans-serif;text-transform:uppercase;
  font-size:1.22rem;line-height:1.15;color:var(--ink);font-weight:600;
  margin:0 0 .6em}
.nx-reason.is-roof{color:var(--brand)}
.nx-src{font-size:.85rem;color:var(--grey);line-height:1.6}
/* These were nowrap, to stop "A.R.S. 20-1654(A)" breaking across a line.
   But the longest of them is "Wis. Admin. Code Ins 4.10, under Wis. Stat.
   619.01" at 308px, and nowrap pushed the whole document 25px sideways at
   360px wide. A citation that wraps is fine; a page that scrolls sideways is
   not. Keep the token itself from splitting instead. */
a.cite,span.cite{font-size:.82rem;color:var(--grey);overflow-wrap:break-word}
a.cite{text-decoration:underline;text-decoration-style:dotted;
  text-underline-offset:2px}
a.cite:hover{color:var(--brand)}

.nx-clock{display:flex;gap:22px;align-items:flex-start}
.nx-clock>div:last-child{min-width:0}
.nx-big{flex:0 0 auto;font-family:Oswald,Inter,sans-serif;font-weight:700;
  font-size:3.3rem;line-height:.92;color:var(--brand);text-align:center}
.nx-big span{display:block;font-size:.7rem;letter-spacing:.14em;
  text-transform:uppercase;color:var(--grey);font-weight:600;margin-top:6px}
@media(max-width:560px){.nx-clock{flex-direction:column;gap:12px}
  .nx-big{text-align:left}}
.nx-urgent{border-left:3px solid var(--brand);padding-left:14px;
  background:rgba(252,63,0,.05);padding:12px 14px;border-radius:0 8px 8px 0}

.nx-remedy{border-color:rgba(252,63,0,.4);
  background:linear-gradient(180deg,rgba(252,63,0,.05),transparent 60%)}
.nx-remedy h4{color:var(--brand)}
.nx-card blockquote{margin:0 0 .85em;padding:14px 16px;background:var(--fill);
  border-left:3px solid var(--brand);border-radius:0 8px 8px 0;
  font-size:.96rem;line-height:1.62;font-style:italic}
.nx-warn{border-color:rgba(252,63,0,.4)}
.nx-steps li b{display:block;font-family:Oswald,Inter,sans-serif;
  text-transform:uppercase;font-size:.98rem;letter-spacing:.01em;
  margin-bottom:3px;color:var(--ink)}
.nx-out{width:100%;box-sizing:border-box;font:12px/1.55 ui-monospace,
  SFMono-Regular,Menlo,monospace;padding:13px 14px;border:1px solid var(--rule);
  border-radius:9px;background:var(--fill);color:var(--ink);resize:vertical;
  margin-bottom:14px}

/* The boundary notice. Not styled as fine print, because it is not fine
   print: a roofing contractor telling you plainly what it is not qualified
   to do is load-bearing information, and burying it would be the tell that
   we did not mean it. */
.nx-bounds{border:1px solid var(--rule);border-radius:var(--r);padding:22px 24px;
  background:var(--fill)}
.nx-bounds h3{margin-bottom:.6em}
.nx-bounds p{font-size:.93rem;line-height:1.66;color:var(--ink-soft)}
.nx-bounds p:last-child{margin-bottom:0}
