.public-policy-nav {
  border-bottom: 1px solid #d8dedb;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin: 0;
  padding: 0.8rem clamp(1.25rem, 4vw, 4rem);
}

html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="light"] {
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    color-scheme: dark;
  }
}

.public-policy-nav a {
  color: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0;
  padding: 0.3rem 0;
  text-decoration: none;
}

.public-policy-nav a:hover,
.public-policy-nav a:focus-visible,
.public-policy-nav a.selected {
  color: #1f6652;
}

.public-policy-nav a.selected {
  border-bottom: 2px solid currentColor;
}

.public-theme-control {
  align-items: center;
  display: inline-flex;
  gap: 0.45rem;
  margin-left: auto;
}

.public-theme-control span {
  color: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.public-theme-control select {
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 5px;
  color: inherit;
  font: inherit;
  min-height: 2rem;
  padding: 0.2rem 1.6rem 0.2rem 0.45rem;
}

.public-policy-page {
  flex-grow: 1;
}

.policy-disclaimer {
  background: #fbf5e9;
  border-left: 4px solid #c18a32;
  color: #594a31;
  font-size: 0.86rem;
  margin: 1.25rem 1.5rem 0;
  padding: 0.75rem 0.95rem;
}

.policy-disclaimer strong {
  color: #3c3324;
  margin-right: 0.25rem;
}

.public-policy-page > header {
  margin-bottom: 2rem;
}

.public-policy-page > header h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.08;
  margin: 0;
}

.public-policy-eyebrow {
  color: #1f6652;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
  text-transform: uppercase;
}

.public-policy-lede {
  color: #5d6864;
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0.7rem 0 0;
  max-width: 46rem;
  text-align: left;
}

.policy-card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1.5rem 0 2rem;
}

.policy-card {
  border: 1px solid #d8dedb;
  border-radius: 6px;
  padding: 1.1rem;
}

.policy-card h2,
.policy-card h3 {
  margin-top: 0;
}

.policy-card p {
  text-align: left;
}

.coverage-callout {
  background: #f2f4f2;
  border-left: 4px solid #1f6652;
  margin: 1.5rem 0;
  padding: 0.85rem 1rem;
}

.coverage-callout p {
  margin: 0;
  text-align: left;
}

.method-list li + li {
  margin-top: 0.6rem;
}

.tax-area-data {
  border-top: 1px solid #d8dedb;
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.tax-area-data > header h2 {
  margin-bottom: 0.25rem;
}

.tax-area-data > header p {
  color: #5d6864;
  margin-top: 0;
  text-align: left;
}

.tax-area-summary {
  border: 1px solid #d8dedb;
  border-radius: 6px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 1rem 0 1.5rem;
  overflow: hidden;
}

.tax-area-summary[hidden] {
  display: none;
}

.tax-area-summary > div {
  border-right: 1px solid #d8dedb;
  padding: 0.8rem;
}

.tax-area-summary > div:last-child {
  border-right: 0;
}

.tax-area-summary dt {
  color: #5d6864;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.tax-area-summary dd {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0.15rem 0 0;
}

.tax-area-landscape {
  border-top: 1px solid #d8dedb;
}

.tax-area-landscape-row {
  border-bottom: 1px solid #d8dedb;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(10rem, 0.85fr) repeat(3, minmax(11rem, 1fr));
  padding: 1rem 0;
}

.tax-area-landscape-row h3,
.tax-area-landscape-row h4,
.tax-area-landscape-row p {
  margin-top: 0;
}

.tax-area-landscape-row header p,
.tax-area-landscape-row p {
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: left;
}

.tax-area-landscape-row h4 {
  color: #5d6864;
  font-size: 0.7rem;
  text-transform: uppercase;
}

@media (min-width: 32em) {
  body > .public-policy-nav,
  body > .public-policy-page {
    padding-left: calc(22% - 6em);
    padding-right: calc(22% - 6em);
  }

  body > .policy-disclaimer {
    margin-left: calc(22% - 6em);
    margin-right: calc(22% - 6em);
  }
}

@media (max-width: 42rem) {
  .public-theme-control {
    margin-left: 0;
  }

  .policy-card-grid {
    grid-template-columns: 1fr;
  }

  .tax-area-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tax-area-summary > div:nth-child(2) {
    border-right: 0;
  }

  .tax-area-summary > div:nth-child(-n + 2) {
    border-bottom: 1px solid #d8dedb;
  }

  .tax-area-landscape-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-color-scheme: dark) {
  .public-policy-nav {
    border-bottom-color: #46514d;
  }

  .public-policy-nav a:hover,
  .public-policy-nav a:focus-visible,
  .public-policy-nav a.selected,
  .public-policy-eyebrow {
    color: #87c9b0;
  }

  .public-policy-lede {
    color: #b5bfbb;
  }

  .policy-card {
    border-color: #46514d;
  }

  .tax-area-data,
  .tax-area-summary,
  .tax-area-summary > div,
  .tax-area-landscape,
  .tax-area-landscape-row {
    border-color: #46514d;
  }

  .tax-area-data > header p,
  .tax-area-summary dt,
  .tax-area-landscape-row h4 {
    color: #b5bfbb;
  }

  .coverage-callout {
    background: #333c39;
    border-left-color: #87c9b0;
  }

  .policy-disclaimer {
    background: #3e3525;
    color: #ebd8b4;
  }

  .policy-disclaimer strong {
    color: #fff1d5;
  }
}

html[data-theme="dark"] body {
  background: #242d2a;
  color: #edf1ef;
}

html[data-theme="dark"] .public-policy-nav {
  border-bottom-color: #46514d;
}

html[data-theme="dark"] .public-policy-nav a:hover,
html[data-theme="dark"] .public-policy-nav a:focus-visible,
html[data-theme="dark"] .public-policy-nav a.selected,
html[data-theme="dark"] .public-policy-eyebrow {
  color: #87c9b0;
}

html[data-theme="dark"] .public-policy-lede,
html[data-theme="dark"] .tax-area-data > header p,
html[data-theme="dark"] .tax-area-summary dt,
html[data-theme="dark"] .tax-area-landscape-row h4 {
  color: #b5bfbb;
}

html[data-theme="dark"] .policy-card,
html[data-theme="dark"] .tax-area-data,
html[data-theme="dark"] .tax-area-summary,
html[data-theme="dark"] .tax-area-summary > div,
html[data-theme="dark"] .tax-area-landscape,
html[data-theme="dark"] .tax-area-landscape-row {
  border-color: #46514d;
}

html[data-theme="dark"] .coverage-callout {
  background: #333c39;
  border-left-color: #87c9b0;
}

html[data-theme="dark"] .policy-disclaimer {
  background: #3e3525;
  color: #ebd8b4;
}

html[data-theme="dark"] .policy-disclaimer strong {
  color: #fff1d5;
}

html[data-theme="light"] body {
  background: #ffffff;
  color: #222222;
}

html[data-theme="light"] .public-policy-nav {
  border-bottom-color: #d8dedb;
}

html[data-theme="light"] .public-policy-nav a:hover,
html[data-theme="light"] .public-policy-nav a:focus-visible,
html[data-theme="light"] .public-policy-nav a.selected,
html[data-theme="light"] .public-policy-eyebrow {
  color: #1f6652;
}

html[data-theme="light"] .public-policy-lede,
html[data-theme="light"] .tax-area-data > header p,
html[data-theme="light"] .tax-area-summary dt,
html[data-theme="light"] .tax-area-landscape-row h4 {
  color: #5d6864;
}

html[data-theme="light"] .policy-card,
html[data-theme="light"] .tax-area-data,
html[data-theme="light"] .tax-area-summary,
html[data-theme="light"] .tax-area-summary > div,
html[data-theme="light"] .tax-area-landscape,
html[data-theme="light"] .tax-area-landscape-row {
  border-color: #d8dedb;
}

html[data-theme="light"] .coverage-callout {
  background: #f2f4f2;
  border-left-color: #1f6652;
}

html[data-theme="light"] .policy-disclaimer {
  background: #fbf5e9;
  color: #594a31;
}

html[data-theme="light"] .policy-disclaimer strong {
  color: #3c3324;
}
