:root {
  --ink: #213b32;
  --muted: #667168;
  --paper: #f7f6ef;
  --line: #dcded2;
  --green: #235c42;
  --lime: #e2ee9d;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  /* A long name typed in (up to 100 letters, unbroken) must wrap, not widen the page. */
  overflow-wrap: break-word;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.65 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button {
  cursor: pointer;
}
header,
main,
footer {
  max-width: 1260px;
  margin: auto;
}
header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 26px;
  letter-spacing: -1.3px;
  font-weight: 650;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.mark {
  font-family: Georgia, serif;
  display: inline-grid;
  place-items: center;
  background: var(--ink);
  color: var(--lime);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 29px;
  font-weight: 400;
}
nav {
  display: flex;
  gap: 32px;
}
nav a {
  text-decoration: none;
}
.edition,
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.9px;
  font-weight: 650;
}
.edition {
  color: var(--muted);
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 68px 0 74px;
}
.eyebrow {
  display: block;
}
.eyebrow > span {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 8px;
}
h1 {
  font:
    normal clamp(54px, 6.3vw, 86px) / 1.02 Georgia,
    serif;
  letter-spacing: -3.8px;
  margin: 26px 0;
}
h1 em {
  color: #56805c;
  font-weight: 400;
}
.intro {
  max-width: 435px;
  color: var(--muted);
  font-size: 17px;
}
.text-link {
  display: inline-block;
  text-decoration: none;
  font-weight: 550;
  border-bottom: 1px solid var(--ink);
  padding: 12px 0 7px;
  margin-top: 12px;
}
.text-link span {
  margin-left: 34px;
}
.art {
  height: 360px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse, #e7edca, transparent 68%);
}
.orbit {
  position: absolute;
  border: 1px solid #b2bda1;
  border-radius: 50%;
  width: 360px;
  height: 250px;
  transform: rotate(-35deg);
}
.o2 {
  transform: rotate(35deg);
  width: 360px;
  height: 250px;
}
.o3 {
  width: 300px;
  height: 300px;
  transform: rotate(0);
}
.art-name {
  font:
    italic 135px/1 Georgia,
    serif;
  letter-spacing: -8px;
  position: relative;
}
.art-name span {
  display: block;
  font: 10px/1.4 sans-serif;
  text-align: center;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 14px;
}
.art-note {
  position: absolute;
  font-size: 8px;
  letter-spacing: 1.8px;
  background: var(--paper);
  padding: 5px;
}
.note1 {
  top: 38px;
  left: 25px;
}
.note2 {
  bottom: 32px;
  right: 20px;
}
.spark {
  position: absolute;
  font-size: 40px;
  right: 35px;
  top: 45px;
  color: #7d8e56;
}
.search-panel {
  background: #fffef9;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px 34px;
  box-shadow: 0 6px 20px #233d3104;
}
h2 {
  font:
    normal 34px/1.2 Georgia,
    serif;
  letter-spacing: -0.7px;
  margin: 8px 0 24px;
}
form {
  display: grid;
  grid-template-columns: 1fr 1fr 0.7fr auto;
  gap: 16px;
  align-items: end;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
label > span {
  font-weight: 400;
  color: var(--muted);
  font-size: 10px;
  margin-left: 4px;
}
input,
select {
  border: 1px solid #cfd4c7;
  border-radius: 4px;
  padding: 13px;
  background: #fffef9;
  color: var(--ink);
  width: 100%;
  margin-top: 7px;
}
input:focus,
select:focus {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #8ea936;
  outline-offset: 4px;
}
form > button {
  background: var(--green);
  color: white;
  border: 0;
  border-radius: 4px;
  padding: 14px 24px;
  min-height: 52px;
}
form > button span {
  margin-left: 22px;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.search-foot {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  gap: 12px;
  margin-top: 18px;
}
.example {
  border: 0;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--ink);
  font-size: 11px;
  padding: 3px 6px;
}
#status:empty {
  display: none;
}
#status {
  font-size: 13px;
  margin: 12px 0 0;
}
.welcome {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 46px 0 60px;
  gap: 65px;
}
.number {
  font:
    italic 19px Georgia,
    serif;
  color: #7a8965;
}
.welcome h3 {
  font:
    normal 23px Georgia,
    serif;
  margin: 12px 0;
}
.welcome p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  max-width: 300px;
}
.report-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
}
.report-title h2 {
  font-size: 46px;
  margin-bottom: 5px;
}
.report-title > div:first-child {
  min-width: 0;
}
#report-name,
#first-title,
#last-title {
  overflow-wrap: anywhere;
}
.secondary {
  border: 1px solid var(--line);
  background: transparent;
  padding: 9px 16px;
  border-radius: 4px;
  font-size: 12px;
}
.scope {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 25px;
}
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.card {
  background: #fffef9;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 22px;
}
.card h3 {
  font:
    normal 34px Georgia,
    serif;
  margin: 14px 0;
}
.card p {
  color: var(--muted);
  font-size: 14px;
}
.meaning {
  font:
    normal 24px/1.45 Georgia,
    serif;
  color: var(--ink) !important;
}
.source,
.caption,
small {
  font-size: 11px;
  color: var(--muted);
}
.stat {
  font:
    normal 43px Georgia,
    serif;
  margin: 28px 0 4px;
}
.bars {
  display: flex;
  gap: 5px;
  align-items: end;
  height: 100px;
  margin-top: 25px;
}
.bar {
  flex: 1;
  background: #658668;
  min-height: 2px;
  position: relative;
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
}
.section-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
}
.section-top select {
  padding: 8px;
  font-size: 12px;
}
.map-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 40px;
  align-items: center;
  margin: 25px 0;
}
.tile-map {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(8, 36px);
  gap: 4px;
  max-width: 650px;
}
.tile-map button {
  border: 1px solid #ffffff90;
  border-radius: 4px;
  color: #fff;
  font-size: 11px;
  padding: 0;
  font-weight: 600;
  min-width: 0;
}
.tile-map button:hover {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}
.legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 10px;
  margin: 15px 0;
}
.legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  border-radius: 2px;
}
.neg {
  background: #a36745;
}
.pos {
  background: #235c42;
}
.neutral {
  background: #d1d6c8;
}
.detail-stat {
  font:
    42px Georgia,
    serif;
  margin: 12px 0;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.detail-grid b {
  display: block;
  font-size: 20px;
}
.detail-grid span {
  font-size: 11px;
  color: var(--muted);
}
details {
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
summary {
  cursor: pointer;
  font-size: 12px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
th,
td {
  text-align: right;
  padding: 8px;
  border-bottom: 1px solid var(--line);
}
th:first-child,
td:first-child {
  text-align: left;
}
.table-scroll {
  max-height: 300px;
  overflow: auto;
  margin-top: 15px;
}
.place-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.place-stats .stat {
  font-size: 36px;
}
.demographics {
  max-width: 650px;
  margin-top: 25px;
}
.demo-row {
  display: grid;
  grid-template-columns: 210px 1fr 55px;
  gap: 14px;
  font-size: 12px;
  align-items: center;
  margin: 9px 0;
}
.track {
  height: 7px;
  background: #eef0e6;
  border-radius: 3px;
  overflow: hidden;
}
.track i {
  display: block;
  height: 100%;
  background: #6b8861;
}
.demo-row > span:last-child {
  text-align: right;
}
.demo-row.wide {
  grid-template-columns: 180px 1fr 95px;
}
.profile {
  margin-top: 14px;
}
.profile summary {
  font-weight: 600;
}
.profile p {
  font-size: 12px;
}
.method {
  padding: 50px 0;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.method h2 {
  font-size: 38px;
}
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  font-size: 12px;
  color: var(--muted);
}
.method-grid h3 {
  font-size: 15px;
  color: var(--ink);
}
.method li {
  margin-bottom: 8px;
}
.method ul {
  padding-left: 17px;
}
.more {
  border-top: 0;
  padding-top: 0;
}
.more summary {
  list-style: none;
  cursor: pointer;
}
.more summary::-webkit-details-marker {
  display: none;
}
.more summary .demo-row > span:first-child::after {
  content: ' ▸';
}
.more[open] summary .demo-row > span:first-child::after {
  content: ' ▾';
}
.more > .demo-row > span:first-child {
  padding-left: 12px;
}
.accuracy {
  font-size: 12px;
  color: var(--muted);
  margin-top: 30px;
  max-width: 900px;
}
.accuracy h3 {
  font-size: 15px;
  color: var(--ink);
}
.accuracy strong {
  color: var(--ink);
}
footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
.dot {
  color: #7c955d;
}
.error {
  color: #9b3b2d !important;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1350px) {
  header,
  main,
  footer {
    margin-left: 5%;
    margin-right: 5%;
  }
}
@media (max-width: 750px) {
  header {
    height: 78px;
  }
  .brand {
    font-size: 20px;
    letter-spacing: -0.8px;
    gap: 8px;
  }
  .mark {
    width: 32px;
    height: 32px;
    font-size: 23px;
  }
  .edition {
    display: none;
  }
  nav {
    gap: 16px;
    font-size: 12px;
  }
  .hero {
    gap: 0;
    padding: 40px 0;
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 64px;
  }
  .art {
    display: none;
  }
  .search-panel {
    padding: 24px;
  }
  form {
    grid-template-columns: 1fr 1fr;
  }
  form > button {
    width: 100%;
  }
  .search-foot {
    display: block;
  }
  .search-foot > span {
    display: block;
    margin-top: 8px;
  }
  .welcome {
    gap: 20px;
    padding: 30px 0;
  }
  .welcome h3 {
    font-size: 20px;
  }
  .cards,
  .map-layout,
  .method-grid {
    grid-template-columns: 1fr;
  }
  .method-grid {
    gap: 10px;
  }
  .map-layout {
    gap: 20px;
  }
  .card {
    padding: 22px;
  }
  .tile-map {
    grid-template-rows: repeat(8, 28px);
    gap: 2px;
  }
  .tile-map button {
    font-size: 9px;
  }
  .report-title h2 {
    font-size: 34px;
  }
  .place-stats {
    gap: 12px;
  }
  .place-stats .stat {
    font-size: 26px;
  }
  .demo-row {
    grid-template-columns: 140px 1fr 43px;
    gap: 8px;
    font-size: 10px;
  }
  .demo-row.wide {
    grid-template-columns: 110px 1fr 78px;
  }
  footer {
    gap: 15px;
    flex-wrap: wrap;
  }
  .welcome {
    grid-template-columns: 1fr;
  }
  .welcome > div {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 0 12px;
  }
  .welcome h3 {
    margin: 0;
  }
  .welcome p {
    grid-column: 2;
    max-width: none;
  }
  .section-top h3 {
    font-size: 27px;
  }
  .section-top label {
    min-width: 100px;
  }
  .report-title {
    gap: 12px;
  }
  #reset {
    min-width: 100px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.report-actions {
  display: flex;
  gap: 8px;
}
.summary {
  font:
    normal 19px/1.5 Georgia,
    serif;
  max-width: 900px;
  margin: 6px 0 4px;
}
.likely-card {
  max-width: 900px;
  margin-top: 12px;
}
.likely-card:empty {
  display: none;
}
.likely {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin: 8px 0;
}
.likely div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}
.likely dt {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.likely dd {
  margin: 4px 0 0;
  font:
    normal 17px/1.3 Georgia,
    serif;
  overflow-wrap: anywhere;
}
.likely small {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 8px;
}
.tabs button {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
}
.tabs button[aria-selected='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.world-map {
  margin: 18px 0 0;
  max-width: 650px;
}
.world-map svg {
  width: 100%;
  height: auto;
  display: block;
}
.world-map path {
  stroke: #fff;
  stroke-width: 0.4;
}
.state-tiles {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(8, 22px);
  gap: 2px;
  max-width: 420px;
  margin: 14px 0 0;
}
.state-tiles span {
  font-size: 8px;
  display: grid;
  place-items: center;
  border-radius: 3px;
}
.alike {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 8px 0;
  padding: 0;
  list-style: none;
}
.alike a {
  color: var(--green);
  font-weight: 600;
}
.famous {
  margin: 8px 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.5;
}
.outlook-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin: 10px 0;
}
.outlook-form label {
  display: grid;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
}
.effects-head {
  margin-bottom: 4px;
}
.effects {
  margin: 0 0 8px;
  padding-left: 18px;
  line-height: 1.6;
}
.effects .up {
  color: #1d6b3a;
}
.effects .down {
  color: #a23b2a;
}
.effects .chosen {
  font-weight: 700;
  text-decoration: underline;
}
