.candidate-guide {
  max-width: 1190px;
  padding-bottom: 4rem;
}

.candidate-opening,
.candidate-example,
.candidate-office,
.candidate-review,
.candidate-contact,
.candidate-sources {
  display: grid;
  column-gap: clamp(2rem, 6vw, 6rem);
}

.candidate-opening {
  grid-template-columns: minmax(0, 1.4fr) minmax(16rem, .8fr);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 5.5rem) 0;
}

.candidate-opening h1 {
  font-size: clamp(3rem, 5.5vw, 5.1rem);
  line-height: 1.02;
  margin: .7rem 0 1.3rem;
}

.candidate-opening > div > p {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  max-width: 47ch;
  line-height: 1.55;
}

.candidate-links,
.candidate-brief-toolbar,
.office-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem 1.2rem;
}

.candidate-links { margin-top: 1.5rem; }
.candidate-guide .text-link,
.candidate-brief-toolbar .text-link { margin: 0; }
.candidate-guide .text-link { line-height: 1.6; }

.candidate-question {
  padding: clamp(1.3rem, 3.5vw, 2.7rem);
  background: #e8eee2;
  border-top: 3px solid #55754d;
}

.candidate-question h2 {
  font: 600 .9rem/1.4 var(--sans);
  letter-spacing: 0;
  margin: 0 0 1.1rem;
}

.candidate-question blockquote {
  margin: 0;
  font: 400 clamp(1.4rem, 2.1vw, 1.9rem)/1.29 var(--serif);
  letter-spacing: -.025em;
}

.candidate-example,
.candidate-review,
.candidate-contact,
.candidate-sources,
.candidate-office {
  grid-template-columns: minmax(12rem, .85fr) minmax(0, 1.8fr);
  border-top: 1px solid #c6d1be;
  padding: clamp(2rem, 4.3vw, 3.7rem) 0;
}

.candidate-guide h2:not(.candidate-question h2) {
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  line-height: 1.13;
  margin: 0;
}

.candidate-guide section > div > p { max-width: 68ch; }
.candidate-guide section > div > p:first-child { margin-top: 0; }
.candidate-guide section > div > p:last-child { margin-bottom: 0; }
.candidate-guide p { color: #3d4f3c; }

.candidate-offices {
  padding-top: clamp(2rem, 4.3vw, 3.7rem);
  border-top: 1px solid #c6d1be;
}

.office-links { margin: 1.4rem 0 2.5rem; }
.office-links a {
  border: 1px solid #b6c4af;
  padding: .45rem .95rem;
  text-decoration: none;
  font-size: .95rem;
}
.office-links a:hover { background: #e8eee2; }

.candidate-office { padding-block: 2rem; }
.candidate-office h3 {
  font: 400 clamp(1.5rem, 2.3vw, 2rem)/1.15 var(--serif);
  letter-spacing: -.025em;
  margin: 0;
}

.candidate-actions { margin: 1.15rem 0; }
.candidate-actions > div { margin-block: .95rem; }
.candidate-actions dt,
.candidate-follow-up strong {
  font-weight: 650;
  color: #2c492f;
}
.candidate-actions dd { margin: .15rem 0 0; max-width: 67ch; }
.candidate-follow-up {
  border-left: 2px solid #768c68;
  padding-left: 1rem;
}
.candidate-follow-up strong { display: block; }
.candidate-review ol { padding-inline-start: 1.5rem; }
.candidate-review .text-link { margin: .1rem 1.2rem .1rem 0; }
.candidate-contact-detail { font-size: .92rem; }
.candidate-sources ul { padding-left: 1.1rem; margin: 0; }
.candidate-sources li { margin-bottom: .55rem; }

.candidate-brief-toolbar {
  justify-content: center;
  margin: 2rem auto;
}
.candidate-brief-toolbar [hidden] { display: none; }

.candidate-sheet {
  margin: 0 auto 4rem;
  width: min(49rem, calc(100% - 2.5rem));
  padding: clamp(1.35rem, 4vw, 3.25rem);
  background: #fff;
  color: #273c2c;
  border: 1px solid #d2dacd;
  font: 1rem/1.52 var(--sans);
}
.candidate-sheet .sheet-id {
  border-bottom: 2px solid #526e50;
  padding-bottom: .6rem;
  margin: 0 0 1rem;
  font-weight: 600;
}
.candidate-sheet h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.3rem);
  line-height: 1.06;
  margin: 0 0 .8rem;
}
.candidate-sheet h2 {
  font-size: 1.4rem;
  line-height: 1.2;
  margin: 0 0 .35rem;
}
.candidate-sheet p { margin: 0; }
.candidate-sheet section { margin: 1.3rem 0; }
.sheet-question { border-left: 3px solid #6a8061; padding-left: .8rem; }
.sheet-offices { margin: .4rem 0 0; }
.sheet-offices > div {
  display: grid;
  grid-template-columns: 5.6rem minmax(0, 1fr);
  gap: .6rem;
  padding: .5rem 0;
  border-top: 1px solid #dce2d6;
}
.sheet-offices dt { font-weight: 650; }
.sheet-offices dd { margin: 0; }
.sheet-notes { display: none; }
.candidate-sheet .sheet-source { font-size: .88em; }
.candidate-sheet .sheet-contact {
  border-top: 1px solid #aab8a6;
  margin: .9rem 0 0;
  padding-top: .6rem;
  font-size: .88em;
  overflow-wrap: anywhere;
}

@media (max-width: 740px) {
  .candidate-opening,
  .candidate-example,
  .candidate-office,
  .candidate-review,
  .candidate-contact,
  .candidate-sources { grid-template-columns: 1fr; row-gap: 1.15rem; }
  .candidate-opening { row-gap: 1.7rem; }
  .candidate-brief-toolbar { justify-content: flex-start; }
}

@media (max-width: 440px) {
  .sheet-offices > div { grid-template-columns: 1fr; gap: .1rem; }
}

@media print {
  @page { size: auto; margin: 13mm 15mm; }
  .candidate-brief-page,
  .candidate-page { background: white; color: #111; }
  .candidate-brief-toolbar { display: none !important; }
  .candidate-brief-page #main > .candidate-sheet,
  .candidate-page #main > .candidate-guide { display: block !important; }
  .candidate-page .candidate-guide { max-width: none; }
  .candidate-page .candidate-guide .text-link,
  .candidate-page #sources { display: none; }
  .candidate-page .candidate-links,
  .candidate-page .office-links,
  .candidate-page .candidate-contact-detail { display: none; }
  .candidate-page .candidate-opening,
  .candidate-page .candidate-office,
  .candidate-page .candidate-example,
  .candidate-page .candidate-review,
  .candidate-page .candidate-contact,
  .candidate-page .candidate-sources { display: block; padding: 13pt 0; }
  .candidate-page .candidate-office h3 { margin-bottom: 6pt; }
  .candidate-page .candidate-guide h2 { margin-bottom: 6pt; }
  .candidate-page .candidate-question { margin-top: 12pt; padding: 10pt; }

  .candidate-sheet {
    color: black;
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    font: 11.4pt/1.32 Arial, sans-serif;
  }
  .candidate-sheet,
  .candidate-sheet h1,
  .candidate-sheet h2,
  .candidate-sheet a { color: black; }
  .candidate-sheet .sheet-id { font-size: 10pt; margin-bottom: 8pt; padding-bottom: 4pt; }
  .candidate-sheet h1 { font-size: 27pt; margin-bottom: 6pt; }
  .candidate-sheet h2 { font-size: 14pt; margin-bottom: 3pt; }
  .candidate-sheet section { margin: 8pt 0; break-inside: avoid; }
  .sheet-question { padding-left: 8pt; }
  .sheet-offices { margin-top: 3pt; }
  .sheet-offices > div { grid-template-columns: 57pt minmax(0, 1fr); gap: 8pt; padding: 4pt 0; }
  .sheet-notes { display: block; margin: 10pt 0; font-size: 10pt; break-inside: avoid; }
  .sheet-notes > div { height: 18pt; border-bottom: 1px solid #aab8a6; }
  .candidate-sheet .sheet-source,
  .candidate-sheet .sheet-contact { font-size: 9.6pt; }
  .candidate-sheet .sheet-contact { margin-top: 6pt; padding-top: 4pt; }
  .candidate-sheet a { text-decoration: none; }
}
