/* New decision guides: scoped to new pages; existing page styling stays intact. */
.nx-hero {
  padding: 58px 0 62px;
  overflow: hidden;
}
.nx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: center;
}
.nx-hero-copy {
  min-width: 0;
}
.nx-hero .breadcrumbs {
  margin-bottom: 32px;
  font-size: 13px;
  line-height: 1.6;
  flex-wrap: wrap;
}
.nx-hero .eyebrow {
  font-size: 12px;
  letter-spacing: 0.13em;
}
.nx-hero h1 {
  font-size: clamp(36px, 3.5vw, 58px);
  letter-spacing: -0.045em;
  margin: 20px 0 24px;
  max-width: 23ch;
  text-wrap: balance;
}
.nx-hero .lead {
  font-size: 17px;
  line-height: 1.85;
  max-width: 61ch;
  margin: 0;
}
.nx-hero .actions {
  margin-top: 28px;
  gap: 12px;
}
.nx-hero-note {
  color: #9cd9c7;
  font-size: 12px;
  margin-top: 20px;
}
.nx-panel {
  padding: 30px;
  border-radius: 24px;
  background: #f8fbfa;
  color: #475569;
  border: 1px solid #dce8e2;
  box-shadow: 0 25px 55px #000b132b;
  position: relative;
}
.nx-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: #047857;
  font-size: 11px;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 750;
}
.nx-jurisdiction {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #e0eee8;
  color: #095b47;
  letter-spacing: -0.03em;
  flex: 0 0 auto;
  font-size: 15px;
}
.nx-panel h2 {
  color: #102b3b;
  font-size: 25px;
  line-height: 1.35;
  letter-spacing: -0.04em;
  margin: 18px 0 25px;
}
.nx-panel ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nx-panel li {
  margin: 0;
  display: flex;
  gap: 15px;
  padding: 19px 0;
  border-top: 1px solid #dce5e1;
}
.nx-panel-number {
  padding-top: 2px;
  font-size: 11px;
  color: #047857;
  font-weight: 800;
  flex: 0 0 22px;
}
.nx-panel h3 {
  font-size: 14px;
  color: #102b3b;
  margin: 0 0 5px;
  line-height: 1.5;
}
.nx-panel p {
  font-size: 13px;
  line-height: 1.8;
  color: #526775;
  margin: 0;
}
.nx-panel-foot {
  font-size: 10px;
  line-height: 1.7;
  color: #637b81;
  border-top: 1px solid #dce5e1;
  margin-top: 10px;
  padding-top: 17px;
}
.nx-panel--steps {
  border-radius: 5px 25px 25px 25px;
  border-top: 4px solid #d4ae60;
}
.nx-panel--steps .nx-panel-number {
  background: #e5f4ef;
  border-radius: 50%;
  height: 28px;
  flex-basis: 28px;
  display: grid;
  place-items: center;
  padding: 0;
}
.nx-panel--brief {
  background: #fffef9;
  border-color: #e6d9bb;
  border-radius: 20px 20px 5px 20px;
}
.nx-panel--brief li {
  border-top-color: #e8e0cd;
}
.nx-panel--brief .nx-jurisdiction {
  background: #f7edd7;
  color: #79602d;
}
.nx-panel--cards {
  padding: 24px;
  background: #eaf3ef;
}
.nx-panel--cards li {
  margin-top: 10px;
  padding: 17px;
  border: 1px solid #dae7e1;
  border-radius: 13px;
  background: #fff;
}
.nx-panel--cards .nx-panel-foot {
  border: 0;
}
.nx-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 235px;
  align-items: start;
  gap: clamp(36px, 5vw, 76px);
  padding-top: 70px;
  padding-bottom: 70px;
}
.nx-article {
  width: 100%;
  min-width: 0;
  max-width: none;
  padding: 0;
  background: #fff;
  border: 0;
  box-shadow: none;
}
.nx-reading-rail {
  position: sticky;
  top: 118px;
  align-self: start;
}
.nx-toc {
  padding: 0 0 24px 20px;
  border: 0;
  border-left: 1px solid #dbe7e0;
  background: transparent;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}
.nx-toc .toc-title {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #047857;
  margin: 0 0 20px;
}
.nx-toc ul {
  display: block;
  columns: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nx-toc li {
  margin: 0 0 15px;
  padding: 0;
  font-size: 12px;
  line-height: 1.8;
}
.nx-toc a {
  color: #526775;
  display: block;
}
.nx-toc a:hover {
  color: #047857;
}
.nx-rail-contact {
  background: #f2f7f4;
  padding: 22px;
  margin-top: 25px;
  border-radius: 14px;
  border: 1px solid #deebe2;
}
.nx-rail-contact .eyebrow {
  color: #047857;
  font-size: 10px;
  letter-spacing: 0.1em;
}
.nx-rail-contact p {
  font-size: 13px;
  line-height: 1.8;
}
.nx-rail-contact .btn {
  font-size: 11px;
  padding: 12px 14px;
  width: 100%;
  justify-content: center;
}
.nx-chapter {
  margin: 0 0 64px;
}
.nx-chapter-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 23px;
}
.nx-chapter-heading > span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 32px;
  height: 32px;
  margin-top: 4px;
  border-radius: 8px;
  background: #e5f4eb;
  color: #047857;
  font-size: 11px;
  font-weight: 800;
}
.nx-chapter-heading h2 {
  color: #102b3b;
  font-size: clamp(25px, 2.3vw, 33px);
  letter-spacing: -0.045em;
  line-height: 1.3;
  margin: 0;
  scroll-margin-top: 115px;
}
.nx-chapter-body {
  color: #475569;
  font-size: 16px;
  line-height: 1.9;
}
.nx-chapter-body p {
  margin: 0 0 20px;
}
.nx-chapter-body h3 {
  color: #102b3b;
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -0.025em;
  margin: 30px 0 12px;
}
.nx-chapter-body h4 {
  color: #102b3b;
  font-size: 16px;
  margin: 24px 0 8px;
}
.nx-chapter-body ul,
.nx-chapter-body ol {
  padding-left: 22px;
  margin: 18px 0 24px;
}
.nx-chapter-body li {
  padding-left: 4px;
  margin-bottom: 12px;
}
.nx-chapter-body li::marker {
  color: #047857;
  font-weight: 700;
}
.nx-chapter-body strong {
  color: #102b3b;
}
.nx-chapter-body a:not(.btn) {
  color: #047857;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nx-chapter-body .btn {
  margin: 9px 0;
}
.nx-chapter-body .nx-note,
.nx-chapter-body blockquote {
  border-left: 3px solid #c6a15b;
  background: #fff9ec;
  padding: 20px 24px;
  margin: 25px 0;
  border-radius: 0 12px 12px 0;
}
.nx-chapter--checklist {
  padding: 28px;
  background: #f4f8f5;
  border: 1px solid #dce8df;
  border-radius: 20px;
}
.nx-chapter--split {
  border-top: 2px solid #0d735c;
  padding-top: 28px;
}
.nx-chapter--timeline ol {
  list-style: none;
  counter-reset: nx-step;
  padding: 0;
  margin: 25px 0;
}
.nx-chapter--timeline ol > li {
  counter-increment: nx-step;
  position: relative;
  border-left: 1px solid #a8cec0;
  padding: 0 0 24px 35px;
  margin: 0 0 0 15px;
}
.nx-chapter--timeline ol > li::before {
  content: counter(nx-step, decimal-leading-zero);
  position: absolute;
  left: -15px;
  top: 0;
  width: 28px;
  height: 28px;
  background: #047857;
  color: #fff;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
}
.nx-chapter--timeline ol > li:last-child {
  border-color: transparent;
  padding-bottom: 0;
}
.nx-cards,
.nx-grid,
.nx-card-grid,
.nx-route-grid,
.decision-columns,
.nx-decision-grid,
.nx-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.nx-card,
.nx-cards > div,
.nx-cards > article,
.nx-grid > article,
.nx-card-grid > article,
.nx-route-grid > article,
.decision-columns > div,
.nx-decision-grid > div,
.nx-two-col > div {
  border: 1px solid #dce8df;
  background: #fbfdfb;
  border-radius: 16px;
  padding: 23px;
}
.nx-cards h3,
.nx-grid h3,
.nx-card-grid h3,
.nx-route-grid h3,
.decision-columns h3,
.nx-decision-grid h3,
.nx-two-col h3 {
  margin-top: 0;
}
.nx-table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #dce8df;
  border-radius: 14px;
  margin: 26px 0;
}
.nx-table-scroll table {
  width: 100%;
  border: 0;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}
.nx-table-scroll thead th {
  background: #102b3b;
  color: #fff;
  padding: 16px 19px;
  font-weight: 650;
  text-align: left;
}
.nx-table-scroll tbody th {
  color: #102b3b;
  padding: 18px 19px;
  border-top: 1px solid #dce8df;
  background: #f0f6f2;
  text-align: left;
  vertical-align: top;
  min-width: 145px;
}
.nx-table-scroll caption {
  color: #526775;
  background: #f7faf8;
  text-align: left;
  padding: 15px 19px;
  font-size: 12px;
  line-height: 1.7;
}
.nx-table-scroll td {
  color: #475569;
  padding: 18px 19px;
  border-top: 1px solid #dce8df;
  background: #fff;
  vertical-align: top;
  min-width: 145px;
}
.nx-table-scroll tbody tr:nth-child(even) td {
  background: #f7faf8;
}
.nx-table-scroll td:first-child {
  color: #102b3b;
  font-weight: 650;
}
.nx-selector {
  margin: 25px 0;
  padding: 25px;
  border-radius: 18px;
  border: 1px solid #c5dcd0;
  background: #f2f8f5;
}
.nx-selector-fields {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}
.nx-selector [hidden] {
  display: none;
}
.nx-selector .field {
  margin: 0;
}
.nx-selector label {
  font-size: 14px;
  color: #102b3b;
  line-height: 1.6;
}
.nx-selector select {
  width: 100%;
  font-size: 14px;
  line-height: 1.6;
  background: #fff;
  color: #1f3b49;
  border: 1px solid #bcd3c6;
  padding: 13px 14px;
}
.nx-selector-result {
  padding: 22px;
  margin: 20px 0 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #d5e6db;
}
.nx-selector-result strong {
  font-size: 19px;
  display: block;
  line-height: 1.5;
  margin-bottom: 10px;
}
.nx-selector-result p {
  font-size: 14px;
  margin-bottom: 13px;
}
.nx-selector-result ul {
  margin-bottom: 0;
  font-size: 14px;
}
.nx-selector .nx-fine {
  font-size: 12px;
  line-height: 1.8;
  margin: 18px 0 0;
}
.nx-faq {
  margin-top: 20px;
}
.nx-faq h2 {
  font-size: 28px;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.nx-faq summary {
  font-size: 16px;
  color: #102b3b;
  line-height: 1.6;
  padding: 21px 28px 21px 0;
}
.nx-faq details > div {
  font-size: 15px;
  line-height: 1.9;
}
.nx-related {
  padding: 26px 0 0;
}
.nx-related a {
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.nx-final {
  background: #f2f7f4;
  padding: 58px 0;
  border-top: 1px solid #dce8df;
}
.nx-final-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
}
.nx-final .eyebrow {
  color: #047857;
  font-size: 11px;
}
.nx-final h2 {
  font-size: 31px;
  letter-spacing: -0.04em;
  line-height: 1.35;
  margin: 13px 0;
}
.nx-final p {
  font-size: 15px;
  max-width: 64ch;
  line-height: 1.8;
  margin-bottom: 0;
}
.nx-final .actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
.nx-final .btn {
  justify-content: center;
}
.nx-location-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0;
  align-items: end;
}
.nx-location-tools .field {
  flex: 1 1 250px;
  margin: 0;
}
.nx-location-tools input {
  width: 100%;
  background: #fff;
  border: 1px solid #b9d2c3;
}
.nx-location-tools p {
  margin: 0 0 9px;
  color: #047857;
  font-size: 13px;
}
.nx-location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 25px;
}
.nx-location-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid #d6e5dc;
  border-radius: 18px;
  background: #fff;
  text-decoration: none !important;
  color: #475569 !important;
  transition:
    border-color 0.16s,
    box-shadow 0.16s;
}
.nx-location-card:hover {
  border-color: #047857;
  box-shadow: 0 9px 25px #0937250c;
}
.nx-location-card > span {
  font-size: 11px;
  color: #047857;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nx-location-card h3 {
  font-size: 23px;
  margin: 12px 0 10px;
  letter-spacing: -0.04em;
}
.nx-location-card p {
  font-size: 14px;
  line-height: 1.8;
  flex: 1;
}
.nx-location-card small {
  font-size: 12px;
  font-weight: 700;
  color: #047857;
  padding-top: 15px;
  border-top: 1px solid #e0ebe4;
}
.nx-location-card[hidden] {
  display: none;
}
@media (min-width: 1500px) {
  .nx-hero h1 {
    font-size: 58px;
  }
}
@media (max-width: 1100px) {
  .nx-hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 32px;
  }
  .nx-panel {
    padding: 24px;
  }
  .nx-content-layout {
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 32px;
  }
  .nx-final-inner {
    grid-template-columns: minmax(0, 1fr) 240px;
  }
}
@media (max-width: 820px) {
  .nx-hero {
    padding: 35px 0 42px;
  }
  .nx-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .nx-hero h1 {
    max-width: 22ch;
    font-size: clamp(34px, 6vw, 48px);
  }
  .nx-hero .breadcrumbs {
    margin-bottom: 25px;
  }
  .nx-hero .lead {
    font-size: 16px;
  }
  .nx-panel {
    max-width: none;
  }
  .nx-content-layout {
    display: flex;
    flex-direction: column;
    padding-top: 36px;
    padding-bottom: 40px;
  }
  .nx-reading-rail {
    position: static;
    width: 100%;
    order: -1;
  }
  .nx-reading-rail .nx-rail-contact {
    display: none;
  }
  .nx-toc {
    border: 1px solid #dce8df;
    padding: 20px;
    border-radius: 14px;
    background: #f8fbf9;
  }
  .nx-toc ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
  }
  .nx-toc li {
    margin: 0;
    font-size: 12px;
  }
  .nx-toc .toc-title {
    margin-bottom: 13px;
  }
  .nx-chapter {
    margin-bottom: 44px;
  }
  .nx-chapter--checklist {
    padding: 23px;
  }
  .nx-final-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .nx-final .actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
@media (max-width: 540px) {
  .nx-panel {
    padding: 22px;
    border-radius: 18px;
  }
  .nx-panel h2 {
    font-size: 24px;
  }
  .nx-hero .actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .nx-hero .btn {
    justify-content: center;
  }
  .nx-hero h1 {
    font-size: 35px;
  }
  .nx-chapter-heading {
    gap: 12px;
  }
  .nx-chapter-heading > span {
    flex-basis: 27px;
    height: 27px;
    font-size: 10px;
  }
  .nx-chapter-heading h2 {
    font-size: 26px;
  }
  .nx-chapter-body {
    font-size: 16px;
    line-height: 1.85;
  }
  .nx-cards,
  .nx-grid,
  .nx-card-grid,
  .nx-route-grid,
  .decision-columns,
  .nx-decision-grid,
  .nx-two-col,
  .nx-location-grid {
    grid-template-columns: 1fr;
  }
  .nx-chapter--checklist {
    padding: 20px;
  }
  .nx-selector {
    padding: 19px;
  }
  .nx-selector-result {
    padding: 18px;
  }
  .nx-final h2 {
    font-size: 28px;
  }
  .nx-final .actions {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nx-location-card {
    transition: none;
  }
}

/* Location directory: seven regions, seven individually readable city guides. */
.city-directory { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px; margin-block: 28px; }
.city-directory-group { min-width: 0; }
.city-directory-group > h3 { margin: 0 0 12px; min-height: 48px; color: #006b53; font-size: 14px; line-height: 1.5; }
.city-directory .nx-location-card { display: block; margin: 0 0 10px; padding: 16px 12px; border-radius: 12px; min-height: 0; background: #f7faf9; }
.city-directory .nx-location-card h3 { color: #123b39; font-size: 16px; line-height: 1.4; margin: 0 0 5px; }
.city-directory .nx-location-card span { color: #415e64; font-size: 14px; line-height: 1.45; }
.city-directory .nx-location-card p { color: #344f59; font-size: 14px; line-height: 1.6; margin: 10px 0 0; }
.city-directory .nx-location-card:hover { border-color: #007d61; background: #eff8f4; }
.city-directory [hidden], .city-directory-empty[hidden] { display: none !important; }
.city-directory-group > div { display: grid; gap: 6px; }
.nx-article:has(.city-directory) { min-width: 0; }
.nx-content-layout:has(.city-directory) { grid-template-columns: minmax(0, 1fr); }
.nx-content-layout:has(.city-directory) > .nx-reading-rail { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 1080px) {
  .city-directory { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .city-directory-group > h3 { min-height: 0; }
}
@media (max-width: 700px) {
  .city-directory { grid-template-columns: 1fr; gap: 28px; }
  .city-directory-group > div { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .city-directory .nx-location-card { margin: 0; padding: 16px; }
  .nx-content-layout:has(.city-directory) > .nx-reading-rail { grid-template-columns: 1fr; }
}
@media (max-width: 360px) { .city-directory-group > div { grid-template-columns: 1fr; } }
