/* NeXt Chapter Recovery v2.1.0 — authoritative content and shop structure */

.ncr-authority-section {
  width: 100%;
  padding: clamp(2.25rem, 5vw, 4.75rem) 0;
  background: #fffaf4;
  color: #251711;
}

.ncr-authority-section.is-soft { background: #f7ecdf; }

.ncr-authority-heading {
  max-width: 820px;
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
}

.ncr-authority-heading h2 {
  max-width: 18ch;
  margin: .35rem 0 .9rem;
  color: #28160f;
  font-size: clamp(1.8rem, 3.7vw, 3.35rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -.035em;
}

.ncr-authority-heading p {
  max-width: 74ch;
  margin: 0;
  color: #5d463a;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.75;
}

.ncr-authority-grid {
  display: grid;
  gap: clamp(.9rem, 2vw, 1.35rem);
}

.ncr-authority-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.ncr-authority-grid article,
.ncr-local-coverage > div,
.ncr-process-panel {
  min-width: 0;
  padding: clamp(1.1rem, 2.4vw, 1.7rem);
  border: 1px solid rgba(115, 59, 33, .16);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 14px 34px rgba(45, 23, 13, .06);
}

.ncr-authority-grid h3,
.ncr-local-coverage h3 {
  margin: 0 0 .65rem;
  color: #722813;
  font-size: clamp(1.08rem, 1.6vw, 1.35rem) !important;
  line-height: 1.25 !important;
}

.ncr-authority-grid p,
.ncr-local-coverage p {
  margin: 0;
  color: #5d493e;
  line-height: 1.7;
}

.ncr-local-coverage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(1rem, 2.5vw, 1.6rem);
}

.ncr-process-panel { margin-top: clamp(1.25rem, 3vw, 2rem); }

.ncr-process-panel h2 {
  margin: 0 0 1rem;
  color: #28160f;
  font-size: clamp(1.45rem, 2.6vw, 2.25rem) !important;
}

.ncr-process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem 1.5rem;
  margin: 0;
  padding-left: 1.4rem;
}

.ncr-process-list li { padding-left: .25rem; color: #5d493e; line-height: 1.65; }
.ncr-process-list strong { color: #722813; }

.ncr-answer-layout {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.ncr-answer-list {
  display: grid;
  gap: .75rem;
  max-width: 920px;
}

.ncr-answer-list.compact { margin-top: 1.25rem; }

.ncr-answer-list details {
  overflow: clip;
  border: 1px solid rgba(115, 59, 33, .17);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 9px 24px rgba(45, 23, 13, .05);
}

.ncr-answer-list summary {
  min-height: 48px;
  padding: .95rem 3rem .95rem 1.1rem;
  cursor: pointer;
  color: #4f1d10;
  font-weight: 850;
  line-height: 1.4;
}

.ncr-answer-list details[open] summary { border-bottom: 1px solid rgba(115, 59, 33, .12); }
.ncr-answer-list details p { margin: 0; padding: 1rem 1.1rem 1.15rem; color: #5d493e; line-height: 1.7; }

.ncr-community-guidance {
  margin: 1rem 0 1.25rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid rgba(115, 59, 33, .16);
  border-radius: 1.5rem;
  box-shadow: 0 16px 38px rgba(45, 23, 13, .06);
}

.ncr-community-guidance .ncr-authority-heading { margin-bottom: 1.25rem; }

.ncr-community-module .ncr-pro-left-rail > [data-ncr-community-view="login"] {
  display: none !important;
}

.ncr-shop-editorial {
  margin: 1.25rem 0 2rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid rgba(115, 59, 33, .16);
  border-radius: 1.5rem;
}

.ncr-shop-after {
  margin-top: 2rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border-radius: 1.5rem;
}

.ncr-shop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.25rem;
}

.ncr-home-lock .ncr-authority-section {
  background: #160b07;
  color: #fff4e5;
}

.ncr-home-lock .ncr-authority-section.is-soft { background: #211009; }
.ncr-home-lock .ncr-authority-heading h2,
.ncr-home-lock .ncr-process-panel h2 { color: #fff4e5; }
.ncr-home-lock .ncr-authority-heading p,
.ncr-home-lock .ncr-authority-grid p,
.ncr-home-lock .ncr-local-coverage p,
.ncr-home-lock .ncr-process-list li,
.ncr-home-lock .ncr-answer-list details p { color: #ead5c4; }

.ncr-home-lock .ncr-authority-grid article,
.ncr-home-lock .ncr-local-coverage > div,
.ncr-home-lock .ncr-process-panel,
.ncr-home-lock .ncr-answer-list details {
  border-color: rgba(255, 190, 128, .18);
  background: rgba(255, 255, 255, .055);
  box-shadow: none;
}

.ncr-home-lock .ncr-authority-grid h3,
.ncr-home-lock .ncr-local-coverage h3,
.ncr-home-lock .ncr-process-list strong,
.ncr-home-lock .ncr-answer-list summary { color: #ffb56f; }

html[data-theme="dark"] .ncr-authority-section,
html[data-theme="dark"] .ncr-community-guidance,
html[data-theme="dark"] .ncr-shop-editorial,
html[data-theme="dark"] .ncr-shop-after { background: #1c100b; color: #fff4e8; }

html[data-theme="dark"] .ncr-authority-heading h2,
html[data-theme="dark"] .ncr-process-panel h2 { color: #fff4e8; }

html[data-theme="dark"] .ncr-authority-heading p,
html[data-theme="dark"] .ncr-authority-grid p,
html[data-theme="dark"] .ncr-local-coverage p,
html[data-theme="dark"] .ncr-process-list li,
html[data-theme="dark"] .ncr-answer-list details p { color: #ead5c4; }

html[data-theme="dark"] .ncr-authority-grid article,
html[data-theme="dark"] .ncr-local-coverage > div,
html[data-theme="dark"] .ncr-process-panel,
html[data-theme="dark"] .ncr-answer-list details {
  border-color: rgba(255, 190, 128, .19);
  background: #28170f;
}

html[data-theme="dark"] .ncr-authority-grid h3,
html[data-theme="dark"] .ncr-local-coverage h3,
html[data-theme="dark"] .ncr-process-list strong,
html[data-theme="dark"] .ncr-answer-list summary { color: #ffb56f; }

@media (max-width: 900px) {
  .ncr-authority-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ncr-process-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .ncr-authority-grid.cols-3,
  .ncr-local-coverage { grid-template-columns: 1fr; }
  .ncr-authority-section { padding: 2rem 0; }
  .ncr-community-guidance,
  .ncr-shop-editorial,
  .ncr-shop-after { padding: 1rem; border-radius: 1rem; }
}
