body #history{max-width:1000px;margin:0 auto}
.history-heading{text-align:center;margin:0 auto 28px;max-width:760px}
#history .history-heading h1{margin:8px 0 16px;text-align:center}
.history-intro{font-size:calc(18px * var(--text-scale,1));line-height:1.55;margin:0 auto 16px}
.history-coverage{font-size:calc(13px * var(--text-scale,1));color:#74394c;font-weight:650;margin:0 auto}
.history-tools{display:grid;grid-template-columns:minmax(0,2fr) minmax(160px,1fr);gap:14px;padding:20px;border:2px solid #b49aa3;border-radius:8px;background:#fffdfa;scroll-margin-top:calc(var(--site-header-height,176px) + 18px)}
.history-tools label{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:650;min-width:0}
.history-tools :is(input,select){box-sizing:border-box;width:100%;min-width:0;min-height:46px;border:1px solid #a98b95;border-radius:5px;background:white;padding:10px;color:#33272b;font:inherit}
#history-results{grid-column:1/-1;margin:0;font-size:13px;color:#66585a;text-align:center;max-width:none}
.history-years{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:18px 0}
.history-years a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;border:1px solid #b49aa3;border-radius:5px;background:#eadce1;color:#623345;font-size:14px;font-weight:700;text-decoration:none}
.history-reading-note{font-size:calc(13px * var(--text-scale,1));line-height:1.5;color:#66585a;max-width:none;margin:16px 0}
.history-year,.history-undated,.history-event{scroll-margin-top:calc(var(--site-header-height,176px) + 18px)}
#history .history-year>h2,#history .history-undated>h2{text-align:center;margin:36px 0 20px;color:#623345;font:700 calc(30px * var(--text-scale,1))/1.2 Georgia,serif}
.history-timeline{list-style:none;padding:0;margin:0;display:grid;gap:16px}
.history-event{min-width:0;margin:0;padding:0;overflow-wrap:anywhere}
.history-event>article{border:2px solid #b49aa3;border-radius:8px;background:#fffdfa;padding:22px;box-shadow:none}
#history .history-event h3,#history .history-undated h3{font:700 calc(22px * var(--text-scale,1))/1.3 Georgia,serif;margin:8px 0 10px;color:#4c2736;text-align:center}
#history .history-date{color:#74394c;font-weight:750;font-size:calc(14px * var(--text-scale,1));text-align:center;margin:0;max-width:none}
#history .history-kind{text-align:center;max-width:none;margin:0 0 14px;font-size:calc(12px * var(--text-scale,1));color:#76616a}
#history .history-event p:not(.history-date,.history-kind){font-size:calc(15px * var(--text-scale,1));line-height:1.6;max-width:none;margin:12px 0}
.history-sources{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;margin-top:14px}
#history .history-sources a,#history .history-undated a{color:#1459b5;text-decoration:underline;text-underline-offset:3px;font-size:calc(14px * var(--text-scale,1));line-height:1.5}
#history .history-source-note{font-size:calc(12px * var(--text-scale,1))!important;color:#76616a}
.history-records{margin:18px 0;border:1px solid #b49aa3;border-radius:8px;background:#f0e6e9;padding:0 14px 14px}
.history-records>summary{padding:16px 4px;font-weight:700;color:#623345;cursor:pointer}
.history-records:not([open]){padding-bottom:0}
.history-records .history-event>article{border-width:1px}
.history-service-lines{font-size:calc(13px * var(--text-scale,1));padding-left:20px;line-height:1.6}
.history-service-lines li+li{margin-top:8px}
.history-undated>p{text-align:center;max-width:none;font-size:calc(14px * var(--text-scale,1))}
.history-undated-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.history-undated-grid>article{border:1px solid #b49aa3;border-radius:8px;background:#fffdfa;padding:20px;overflow-wrap:anywhere;text-align:center}
#history .history-undated h3{font-size:calc(19px * var(--text-scale,1))}
.history-undated p{font-size:calc(14px * var(--text-scale,1));line-height:1.55}
.history-return{position:fixed;bottom:18px;right:18px;z-index:40;min-height:44px;display:flex;align-items:center;padding:10px 16px;background:#74394c;color:#fff!important;border:1px solid #fff8;border-radius:6px;box-shadow:0 2px 8px #33252b30;font:700 14px/1.35 system-ui,sans-serif;text-decoration:none}
#history :is(a,input,select,summary):focus-visible{outline:3px solid #1459b5;outline-offset:3px}
#history [hidden]{display:none!important}
@media(max-width:600px){.history-tools{grid-template-columns:1fr;padding:16px;gap:12px}.history-years{gap:6px}.history-years a{padding:8px 11px}.history-event>article{padding:18px 16px}.history-undated-grid{grid-template-columns:1fr}.history-return{right:12px;bottom:12px}.history-intro{font-size:calc(16px * var(--text-scale,1))}.history-records{padding-left:8px;padding-right:8px}}
@media print{.history-tools,.history-years,.history-return{display:none}.history-event{break-inside:avoid}.history-event>article{border:1px solid #888;box-shadow:none}}

/* Match the compact disclosure tabs on For Fathers and Losing Contact. */
#history {
  --tab-paper: #fcf8f5;
  --tab-ink: #412632;
  --tab-wine: #4b2937;
  --tab-line: #703d4f;
  --tab-gap: .5rem;
}
#history :is(.history-chapter-contents, .history-tools, .history-year-jump, #history-years-content, .history-undated) {
  box-sizing: border-box;
  width: min(100%, 48rem);
  margin: var(--tab-gap) auto;
}
#history-years-content, #history .history-timeline { display: grid; gap: var(--tab-gap); }
#history .history-timeline { margin: 0; padding: 0; }
#history :is(.history-tools, .history-chapter-contents, .history-year-jump, .history-year, .history-undated, .history-entry-tab, .history-undated-grid > article) {
  min-width: 0;
  border: 2px solid var(--tab-line);
  border-radius: .65rem;
  color: var(--tab-ink);
  background: var(--tab-paper);
  overflow: hidden;
}
#history .history-tools { padding: .8rem 1rem; }
#history .history-event > article { border: 0; padding: 0; background: none; box-shadow: none; }
#history :is(.history-chapter-contents, .history-year-jump, .history-year, .history-undated, .history-entry-tab) > summary {
  position: relative;
  display: grid;
  align-content: center;
  list-style: none;
  min-height: 44px;
  padding: .65rem 2.2rem;
  box-sizing: border-box;
  color: var(--tab-ink);
  background: var(--tab-paper);
  cursor: pointer;
  text-align: center;
  font: 700 calc(clamp(1.2rem,4vw,1.65rem) * var(--text-scale,1))/1.2 Georgia,serif;
}
#history :is(.history-year, .history-undated, .history-entry-tab) > summary :is(h2, h3) { color: inherit; font: inherit; margin: 0; text-wrap: balance; }
#history :is(.history-year, .history-undated, .history-entry-tab, .history-chapter-contents, .history-year-jump) > summary:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
#history details > summary::-webkit-details-marker { display: none; }
#history :is(.history-year, .history-undated, .history-entry-tab, .history-chapter-contents, .history-year-jump) > summary::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: .45rem; height: .45rem;
  border: solid currentColor; border-width: 0 2px 2px 0;
  transform: translateY(-70%) rotate(45deg);
}
#history :is(.history-year, .history-undated, .history-entry-tab, .history-chapter-contents, .history-year-jump)[open] > summary::after {
  transform: translateY(-30%) rotate(225deg);
}
#history .history-year:nth-child(odd of .history-year:not([hidden])) > summary,
#history .history-event:nth-child(even of .history-event:not([hidden])) .history-entry-tab > summary,
#history .history-tools { background: var(--tab-wine); color: #fffaf7; }
#history .history-tools :is(label, #history-results) { color: inherit; }
#history .history-entry-tab > summary { font-size: calc(clamp(1.1rem,3.6vw,1.4rem) * var(--text-scale,1)); }
#history .history-date { display: block; font: 650 calc(.8125rem * var(--text-scale,1))/1.35 system-ui,sans-serif; color: inherit; margin: 0 0 .2rem; }
#history :is(.history-year-copy, .history-entry-copy, .history-chapter-contents nav, .history-year-jump nav) {
  padding: .65rem clamp(.65rem,2.6vw,1rem);
  border-top: 1px solid #d9bdc3;
  background: #fffbf8;
  color: var(--tab-ink);
  overflow-wrap: anywhere;
}
#history .history-entry-copy > :first-child, #history .history-year-copy > :first-child { margin-top: 0; }
#history .history-entry-copy > :last-child, #history .history-year-copy > :last-child { margin-bottom: 0; }
#history .history-entry-copy p:not(.history-kind), #history .history-bridge p { font-size: calc(1rem * var(--text-scale,1)); }
#history .history-chapter-contents ol {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .4rem;
  list-style: none; margin: 0; padding: 0;
}
#history .history-chapter-contents li { margin: 0; padding: 0; }
#history .history-chapter-contents a, #history .history-years a {
  display: grid; place-items: center; min-height: 44px; height: 100%;
  box-sizing: border-box; padding: .35rem .5rem;
  border: 2px solid var(--tab-line); border-radius: .65rem;
  background: var(--tab-paper); color: var(--tab-ink);
  font: 700 calc(1rem * var(--text-scale,1))/1.2 Georgia,serif;
  text-align: center; text-decoration: underline; text-underline-offset: .15em;
}
#history .history-chapter-contents li:is(:nth-child(4n+1),:nth-child(4n)) a,
#history .history-years a:nth-child(odd) { background: var(--tab-wine); color: #fffaf7; }
#history .history-year-jump nav { margin: 0; }
#history .history-bridge h3 { margin: .25rem auto; }
#history .history-bridge p { margin: .35rem 0 .65rem; }
html[data-large-text] #history .history-chapter-contents ol { grid-template-columns: 1fr; }
html[data-large-text] #history .history-chapter-contents li a { background: var(--tab-paper); color: var(--tab-ink); }
html[data-large-text] #history .history-chapter-contents li:nth-child(odd) a { background: var(--tab-wine); color: #fffaf7; }
@media print {
  #history .history-chapter-contents, #history .history-year-jump, #history .history-tools { display: none; }
  #history summary::after { display: none; }
}
