/* What the Historical explorer adds to the site's finder pattern
   (.mhc-cfinder, .mhc-grid and the profile cards are the theme's): the compare control
   under each card, the bar that keeps the picks in view, and the side-by-side table. */
.mhc-history{--he-line:var(--mhc-border,#e2ddd3);--he-muted:var(--mhc-muted,#767267);--he-accent:var(--mhc-accent,#a06b3e);--he-soft:var(--mhc-bg-soft,#f8f5e8);--he-teal:var(--mh-teal,#126788)}
.mhc-history .mhc-archive-header .mhc-explore__types{justify-content:center;margin-top:16px}
.mhc-history.has-picks{padding-bottom:72px}

/* A card with its compare control underneath */
.mhc-he-item{position:relative;display:flex;flex-direction:column;min-width:0}
.mhc-he-item>.mhc-card-wrap{flex:1}
.mhc-he-item__pick{box-sizing:border-box;display:block;margin-top:-1px;padding:12px;border:1px solid var(--he-line);border-radius:0 0 3px 3px;background:#fff;color:var(--he-teal);font:500 11px/1.4 "Sinkin Sans",system-ui,sans-serif;letter-spacing:.02em;text-align:center;text-decoration:none}
.mhc-he-item__pick>span{display:block}
/* The card and its control read as one piece: square where they join. */
body .mhc-he-item>.mhc-card-wrap>.mhc-card{border-radius:3px 3px 0 0}
.mhc-he-item__pick:hover{background:var(--he-soft);color:var(--he-accent)}
.mhc-he-item__pick.is-on{border-color:var(--he-teal);background:var(--he-teal);color:#fff}
.mhc-he-item__pick.is-on:hover{background:var(--he-accent);border-color:var(--he-accent);color:#fff}
.mhc-he-item.is-picked>.mhc-card-wrap{border-radius:3px 3px 0 0;outline:2px solid var(--he-teal);outline-offset:-2px}

/* The picks, kept in view at the foot of the screen (above the phone's tab bar) */
.mhc-he-bar{position:fixed;z-index:90;left:0;right:0;bottom:var(--mh-mobile-nav-height,0px);background:var(--mh-ink,#1a0d05);color:#fff;font:400 12px/1.4 "Sinkin Sans",system-ui,sans-serif}
.mhc-he-bar__in{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;max-width:1240px;margin:0 auto;padding:12px 20px}
.mhc-he-bar__label{font-weight:600;letter-spacing:.06em;text-transform:uppercase;font-size:10px;opacity:.8}
.mhc-he-bar a{text-decoration:none}
.mhc-he-bar__pick{box-sizing:border-box;display:block;padding:10px 12px;border:1px solid rgba(255,255,255,.35);border-radius:3px;color:#fff;line-height:1.4}
.mhc-he-bar__pick>span{display:block}
.mhc-he-bar__pick:hover{border-color:#fff;color:#fff}
.mhc-he-bar__hint{font-family:Georgia,"Times New Roman",serif;font-size:14px;opacity:.8}
.mhc-he-bar .mhc-he-bar__go{margin-left:auto;font-weight:400}
.mhc-he-bar .mhc-he-bar__go,.mhc-he-bar .mhc-he-bar__go:hover{color:#fff}

/* Side by side */
.mhc-history__comparison{margin:8px 0 40px;scroll-margin-top:120px}
.mhc-history__toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin:0 0 14px;font-size:12px}
.mhc .mhc-history__comparison h2{font-size:22px!important;margin:0!important}
.mhc-history__actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.mhc-history__actions a{color:var(--he-accent)}
.mhc-history__actions button{height:40px;padding:0 16px;margin:0;background:transparent;border:1px solid var(--he-line);border-radius:3px;color:inherit;font:inherit;font-size:12px}
.mhc-history__table{border-top:2px solid currentColor}
.mhc-history__row{display:grid;grid-template-columns:minmax(110px,.5fr) minmax(0,1fr) minmax(0,1fr);border-bottom:1px solid var(--he-line)}
.mhc-history__row>div{padding:16px;min-width:0;overflow-wrap:anywhere;font-size:13px;line-height:1.8}
.mhc-history__row>[role=rowheader]{color:var(--he-muted);font-size:12px}
/* Written description is set in the site's reading face; facts and labels stay in the sans. */
.mhc-history__row.is-prose>[role=cell]{font-family:Georgia,"Times New Roman",serif;font-size:15px;line-height:1.55;color:#403b35}
.mhc-history__row p{margin:0 0 8px;font-size:inherit}.mhc-history__row p:last-child{margin-bottom:0}
.mhc-history__names{background:var(--he-soft)}.mhc-history__names>div{font-size:16px;font-weight:600}
.mhc-history__names a{color:inherit}.mhc-history__names a:hover{color:var(--he-accent)}
.mhc-history__row sup{margin-left:5px}.mhc-history__row sup a{color:var(--he-accent);text-decoration:underline}
.mhc-history__sources,.mhc-history__reading{margin:0;padding-left:18px}.mhc-history__reading{padding-left:0;list-style:none}
.mhc-history__sources li,.mhc-history__reading li{margin:0 0 12px;scroll-margin-top:120px}
.mhc-history__sources a,.mhc-history__reading a{color:var(--he-accent);text-decoration:underline}
.mhc-history__source-detail{display:block;color:var(--he-muted);font-size:11px;line-height:1.7}
.mhc-history__share-status{font-size:12px;color:var(--he-muted)}
.mhc-history__actions button.is-done{border-color:var(--he-teal);color:var(--he-teal)}
.mhc-history__share-url{flex:1 1 100%;box-sizing:border-box;width:100%;height:40px;margin:8px 0 0;padding:0 12px;border:1px solid var(--he-line);border-radius:3px;font:400 12px/1.5 "Sinkin Sans",system-ui,sans-serif}
.mhc-history [hidden]{display:none!important}
@media(max-width:600px){.mhc-history__row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.mhc-history__row>[role=rowheader]{grid-column:1/-1;padding-bottom:0}.mhc-history__names>div:first-child{display:none}.mhc-history__row>div{padding:12px 10px;font-size:12px}.mhc-history__names>div{font-size:13px}.mhc-he-bar__in{padding:10px 16px}.mhc-he-bar .mhc-he-bar__go{margin-left:0}.mhc-history.has-picks{padding-bottom:110px}}
/* Sinkin Sans capitals sit high in their line: each label is trimmed to its capitals and the
   padding makes up the difference, as for the site's other buttons (mhc-shell.css). */
@supports (text-box: trim-both cap alphabetic) and (padding: 1cap){
.mhc-he-item__pick>span,.mhc-he-bar__pick>span{text-box:trim-both cap alphabetic}
.mhc-he-item__pick{padding-block:calc(11px + (1lh - 1cap) / 2)}
.mhc-he-bar__pick{padding-block:calc(9px + (1lh - 1cap) / 2)}
}
@supports not ((text-box: trim-both cap alphabetic) and (padding: 1cap)){
.mhc-he-item__pick{padding-top:calc(12px + .1em);padding-bottom:calc(12px - .1em)}
.mhc-he-bar__pick{padding-top:calc(10px + .1em);padding-bottom:calc(10px - .1em)}
}

.mhc-comparison-allowance{margin:0 0 24px;padding:12px 0;border-block:1px solid var(--mhc-border,#e2ddd3);font-size:12px;color:var(--mhc-muted,#767267)}
.mhc-comparison-gate{padding:24px;margin:0 0 32px;background:var(--mhc-bg-soft,#f8f5e8);border:1px solid var(--mhc-border,#e2ddd3);scroll-margin-top:120px}
.mhc-comparison-gate h2{font-size:22px!important;margin:0 0 14px!important}.mhc-comparison-gate p{font-size:14px}.mhc-comparison-gate form{margin:0}
