.civil-seo-heading {
  max-width: 52rem;
}

.civil-seo-heading .seo-lead {
  margin-bottom: 1.5rem;
}

.civil-seo-table .seo-cmp-table tbody th {
  text-align: left;
  background: transparent;
}

.civil-seo-cell-label {
  display: none;
}

.civil-seo-sources {
  max-width: 980px;
  margin: 1.25rem auto 0;
  color: var(--v2-text-muted);
}

.civil-seo-sources ul {
  margin: .4rem 0 0;
  padding-left: 1.25rem;
}

.civil-seo-sources a,
.civil-seo-figure a,
.civil-seo-prose a {
  color: var(--v2-accent);
  text-decoration: underline;
}

.civil-seo-figure {
  max-width: 980px;
  margin: 0 auto;
}

.civil-seo-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--v2-card-border);
  border-radius: 12px;
}

.civil-seo-figure figcaption {
  margin: .75rem 0 0;
  color: var(--v2-text-muted);
  line-height: 1.6;
}

.civil-seo-prose > div + div {
  margin-top: 2rem;
}

.cut-fill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}

.cut-fill-form fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  min-width: 0;
  margin: 0 0 1.1rem;
  padding: 0;
  border: 0;
}

.cut-fill-form legend {
  margin-bottom: .4rem;
  padding: 0;
  font-weight: 700;
}

.cut-fill-form label {
  display: grid;
  align-content: start;
  gap: .3rem;
  color: var(--v2-text-muted);
  font-size: .925rem;
}

.cut-fill-form input {
  width: 100%;
  padding: .65rem .7rem;
  border: 1px solid var(--v2-card-border);
  border-radius: 7px;
  background: var(--v2-bg);
  color: var(--v2-text);
  font: inherit;
}

.cut-fill-form input:focus-visible {
  outline: 2px solid var(--v2-accent);
  outline-offset: 2px;
}

.cut-fill-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.cut-fill-form #cut-fill-error {
  color: #fca5a5;
  margin: .75rem 0 0;
}

.cut-fill-results dl {
  margin: 0;
}

.cut-fill-results dl div {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--v2-card-border);
}

.cut-fill-results dt {
  color: var(--v2-text-muted);
}

.cut-fill-results dd {
  margin: 0;
  font-weight: 650;
  text-align: right;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.cut-fill-results #cut-fill-status:not(:empty) {
  margin-top: .75rem;
}

.cut-fill-math {
  margin: 2rem auto 0;
}

@media (max-width: 760px) {
  .civil-seo-table .seo-cmp-table,
  .civil-seo-table tbody {
    display: block;
    min-width: 0;
  }

  .civil-seo-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    overflow: hidden;
  }

  .civil-seo-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .civil-seo-table .seo-cmp-table tbody th {
    grid-column: 1 / -1;
    width: auto;
    background: rgba(255, 255, 255, .04);
  }

  .civil-seo-table .seo-cmp-table tbody :is(th, td) {
    padding: .75rem;
    overflow-wrap: anywhere;
  }

  .civil-seo-cell-label {
    display: block;
    margin-bottom: .35rem;
    color: var(--v2-text);
    font-weight: 700;
  }

  .seo-cmp-us .civil-seo-cell-label {
    color: var(--v2-accent);
  }

  .cut-fill-grid {
    grid-template-columns: 1fr;
  }
}
