/* CaseModel website - css/p-exhibits.css
   Three documents the other side produced, each put to one test, and what a finding carries. Built by js/exhibits.js.
   Two of the three share one shape: a line of time with part of it hatched. The hatched part is where the thing cannot be. */

/* ---- the frame: four tabs, the one line that says what to do, the verdict at the foot ---- */
.ex-fig { --ex-gap: clamp(14px, 2vw, 24px); }
.ex-tabs button { min-height: 40px; }
.ex-tabs button:focus-visible { outline-offset: -4px; }
.ex-tabs button[aria-selected="true"]:focus-visible { outline-color: #ffffff; }
.ex-panel { animation: ex-in .4s var(--ease); }
@keyframes ex-in { from { opacity: 0; } }
.ex-foot { display: flex; align-items: center; min-height: 58px; }
.ex-verdict { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.ex-ask { color: var(--azure-11); }
.ex-chip.ex-arrive { animation: ex-pop .5s var(--spring); }
@keyframes ex-pop { from { opacity: 0; transform: scale(.8); } }
/* a grade of finding, or a verdict: the words say which */
.ex-chip { display: inline-flex; align-items: center; gap: 8px; flex: none; max-width: 100%; padding: 5px 10px 4px; border-radius: var(--r-1); background: var(--brand-navy); color: #ffffff; font: 700 11.5px/1.3 var(--font-display); letter-spacing: .07em; text-transform: uppercase; }
.ex-chip.adv, .ex-chip.imp, .ex-chip.alt { background: var(--adv); }
.ex-chip.ok { background: var(--ok); }
.ex-chip.dis { background: var(--open-bg); color: var(--open-fg); box-shadow: inset 0 0 0 1px var(--open); }
/* the grade's own mark, drawn as the gauntlet above draws it: impossible is solid, saved again is a ring filled across one corner,
   two copies that do not match is a ring filled down one side */
.ex-gm { flex: none; width: 9px; height: 9px; margin-top: -1px; background: #ffffff; }
.ex-gm.alt { border: 1.5px solid #ffffff; background: linear-gradient(135deg, transparent 50%, #ffffff 50%); }
.ex-gm.dis { border: 1.5px solid var(--open); background: linear-gradient(90deg, var(--open) 50%, transparent 50%); }

/* the head of a panel: which of the thirty-six verifications it is, the rule it applies, the film's words */
.ex-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; align-items: center; margin: 0 0 clamp(18px, 2.2vw, 28px); }
.ex-ver { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; color: var(--brand-navy); font: 700 12px/1.3 var(--font-display); letter-spacing: .09em; text-transform: uppercase; }
.ex-ver span { display: inline-flex; align-items: center; gap: 10px; }
.ex-no { flex: none; min-width: 28px; padding: 0 5px; background: var(--brand-navy); color: #ffffff; font: 500 12.5px/22px var(--font-mono); letter-spacing: 0; text-align: center; }
.ex-of { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--text-3); font: 500 12.5px/1.3 var(--font-mono); white-space: nowrap; }
.ex-36 { display: grid; grid-template-columns: repeat(18, 6px); gap: 2px; }
.ex-36 i { width: 6px; height: 6px; background: var(--azure-4); }
.ex-36 i.on { background: var(--brand-azure); outline: 2px solid var(--azure-6); }
.ex-title { grid-column: 1 / -1; max-width: 25em; margin: 8px 0 0; color: var(--brand-navy); font: 800 clamp(21px, 2.3vw, 31px)/1.12 var(--font-display); letter-spacing: -0.035em; text-wrap: balance; }
.ex-said { grid-column: 1 / -1; max-width: 47em; margin: 2px 0 0; color: var(--text-2); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.5; }

/* small shared parts */
.ex-l { color: var(--brand-navy); font: 700 11.5px/1.3 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.ex-card { border: 1px solid var(--border); border-radius: var(--r-3); background: #ffffff; box-shadow: var(--shadow-1); }
.ex-nw { white-space: nowrap; }
.ex-goes { margin: 12px 0 0; white-space: normal; }

/* ---- a line of time ---- */
.ex-tl { --at: 0%; --rel: 100%; --from: 0%; position: relative; margin: 0 13px; }
.ex-tl-caps { position: relative; min-height: 48px; }
.ex-tl-cap { position: absolute; bottom: 8px; max-width: 47%; margin: 0; color: var(--text-3); font: 400 14px/1.3 var(--font-ui); }
.ex-tl-cap b { display: block; color: var(--brand-navy); font: 700 14.5px/1.3 var(--font-display); }
.ex-tl-cap .sq { display: none; }
.ex-tl-cap.a { left: calc(var(--from) - 13px); }
.ex-tl-cap.b { right: calc(100% - var(--rel) - 11px); text-align: right; }
.ex-tl-track { position: relative; height: 58px; }
/* the days a thing cannot be dated, hatched, and the days it can */
.ex-tl-zone { position: absolute; top: 0; height: 40px; }
.ex-tl-zone.no { left: 0; width: var(--rel); }
.ex-tl-zone.no::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, var(--adv) 0 1.5px, transparent 1.5px 8px); opacity: .3; }
.ex-tl-zone.yes { left: var(--rel); right: 0; background: var(--ok-bg); }
.ex-tl-zone span { position: absolute; left: 50%; top: 7px; transform: translateX(-50%); padding: 1px 8px; background: rgb(255 255 255 / .94); color: var(--adv-fg); font: 600 12.5px/1.45 var(--font-display); white-space: nowrap; }
.ex-tl-zone.yes span { background: none; color: var(--ok-fg); }
.ex-tl-zone .n { display: none; }
.ex-tl-axis { position: absolute; left: 0; right: 0; top: 39px; z-index: 1; height: 2px; background: var(--brand-navy); transform-origin: 0 50%; }
.ex-tl-tick { position: absolute; top: 33px; z-index: 1; width: 2px; height: 14px; margin-left: -1px; background: var(--brand-navy); }
.ex-tl-tick.sm { top: 36px; width: 1px; height: 8px; margin-left: 0; }
/* a fixed point on the line */
.ex-tl-m { position: absolute; top: 31px; z-index: 2; width: 18px; height: 18px; margin-left: -9px; background: var(--brand-azure); transition: box-shadow .2s, background-color .3s, border-color .3s; }
.ex-tl-m.pub { left: var(--rel); border: 3px solid var(--pub); background: #ffffff; }
.ex-tl-m.pub::before { content: ''; position: absolute; left: 50%; bottom: 100%; width: 2px; height: 31px; margin-left: -1px; background: var(--pub); }
.ex-tl-m.ghost { left: var(--from); border: 2px solid var(--brand-azure); background: #ffffff; }
.ex-tl-m.adv { background: var(--adv); }
.ex-tl-m.navy { background: var(--brand-navy); }
.ex-tl-m.sm { top: 35px; width: 10px; height: 10px; margin-left: -5px; }
.ex-tl-days { position: relative; height: 22px; margin-top: 3px; }
.ex-tl-days span { position: absolute; top: 0; transform: translateX(-50%); color: var(--text-3); font: 600 12.5px/1.7 var(--font-display); white-space: nowrap; }
.ex-tl-days i { font-style: normal; }
/* the gap between two points, drawn and counted */
.ex-tl-gap { position: relative; height: 60px; margin-top: 4px; }
.ex-tl-br { position: absolute; top: 0; left: min(var(--at), var(--rel)); right: calc(100% - max(var(--at), var(--rel))); height: 14px; border: 2px solid var(--adv); border-top: 0; }
.ex-tl-n { position: absolute; top: 21px; left: clamp(6.4em, calc((var(--at) + var(--rel)) / 2), calc(100% - 6.4em)); transform: translateX(-50%); color: var(--adv-fg); font: 800 clamp(19px, 2.1vw, 27px)/1.15 var(--font-display); letter-spacing: -0.025em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ex-tl.is-ok .ex-tl-br { border-color: var(--ok); }
.ex-tl.is-ok .ex-tl-n { color: var(--ok-fg); }

/* ---- the minute ---- */
.ex-m-top { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: var(--ex-gap); align-items: start; }
.ex-m-pg .pg-t { font: 800 18px/1.25 var(--font-display); letter-spacing: .06em; }
.ex-m-f { color: var(--text-2); font: 400 14.5px/1.5 var(--font-ui); }
.ex-m-f b { display: inline-block; min-width: 4.6em; color: var(--text); font-weight: 600; }
.pg .ex-m-res { margin: 12px 0; color: var(--text); font-size: clamp(16px, 1.4vw, 18px); line-height: 1.5; }
.ex-m-res b { font-weight: 600; }
.ex-m-by { color: var(--text-3); font-style: italic; }
.ex-card-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin: 0; padding: 14px 18px 12px; }
.ex-kv { grid-template-columns: minmax(8.5em, auto) minmax(0, 1fr); }
.ex-kv dt { padding-left: 18px; transition: background-color .4s, color .4s; }
.ex-kv dd { padding-right: 18px; font: 500 14px/1.55 var(--font-mono); text-align: right; transition: background-color .4s, color .4s; }
.ex-m-out { padding-bottom: 6px; }
.ex-m-out .tagk { margin: 12px 18px 8px; white-space: normal; }
/* the two lines that cannot both be right */
.is-a .ex-hot.a { background: var(--azure-3); color: var(--azure-12); }
.is-b .ex-hot.b { background: var(--pub-bg); color: var(--pub-fg); }
.ex-m-line { margin-top: clamp(14px, 2vw, 26px); }
.ex-ml .ex-tl-track { cursor: ew-resize; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.ex-tl-r { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
/* the date the file bears, as a handle */
.ex-tl-h { position: absolute; left: var(--at); top: 27px; z-index: 3; width: 26px; height: 26px; margin-left: -13px; background: var(--brand-azure) linear-gradient(#ffffff, #ffffff) 9px 8px / 2px 10px no-repeat; box-shadow: 0 0 0 3px #ffffff, var(--shadow-2); transition: transform .2s var(--spring), box-shadow .2s, background-color .2s; }
.ex-tl-h::after { content: ''; position: absolute; left: 15px; top: 8px; width: 2px; height: 10px; background: #ffffff; }
.ex-ml .ex-tl-track:hover .ex-tl-h, .is-held .ex-tl-h { transform: scale(1.12); }
/* on a day after the release, the handle takes the colour of what is possible */
.ex-ml.is-ok .ex-tl-h { background-color: var(--ok); }
.ex-ml.is-ok .ex-tl-bub { border-color: var(--ok); color: var(--ok-fg); }
.is-held .ex-tl-track { cursor: grabbing; }
.ex-tl-r:focus-visible ~ .ex-tl-h { box-shadow: 0 0 0 3px #ffffff, 0 0 0 5px var(--brand-azure); }
.ex-tl-bub { position: absolute; left: clamp(5.6em, var(--at), calc(100% - 5.6em)); top: 60px; z-index: 4; transform: translateX(-50%); padding: 2px 8px; border: 1px solid var(--brand-azure); border-radius: var(--r-1); background: #ffffff; color: var(--azure-12); font: 500 12.5px/1.45 var(--font-mono); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.is-held .ex-tl-bub, .is-away .ex-tl-bub { opacity: 1; }
.ex-ml .ex-tl-days span { transition: opacity .2s; }
.ex-ml.is-away .ex-tl-days span { opacity: .35; }
/* the reading under the line: how far the day being tried is from the release, and what that makes the file */
.ex-m-gap { height: 112px; }
.ex-tl-read { position: absolute; top: 22px; left: clamp(190px, calc((var(--at) + var(--rel)) / 2), calc(100% - 190px)); display: grid; justify-items: center; gap: 9px; width: max-content; max-width: 100%; margin: 0; transform: translateX(-50%); text-align: center; }
.ex-tl-read .ex-tl-n { position: static; transform: none; }
.ex-tl-v { transition: background-color .25s; }
/* the date on the page, while another day is tried in its place */
mark.hl.ex-m-date { transition: background-size .7s var(--ease), box-shadow .2s, color .2s; }
mark.hl.ex-m-date.tried { box-shadow: 0 0 0 2px var(--lit); color: var(--azure-12); }
.ex-m-none { margin: 4px 0 0; color: var(--text-3); font-size: 15.5px; line-height: 1.45; text-align: center; }

/* ---- the letter ---- */
.ex-pair { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: clamp(8px, 1.2vw, 16px); }
/* the two copies share their three rows (head, words, fingerprint), so each line of one stands level with its twin in the other.
   A copy must not be a size container: containment would quietly turn the shared rows back into rows of its own. */
.pg.ex-copy { grid-row: 1 / span 3; display: grid; grid-template-rows: subgrid; padding: 0; }
.ex-copy.theirs { grid-column: 1; }
.ex-copy.ours { grid-column: 3; }
.ex-copy-h { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; align-content: start; align-items: center; padding: 14px 18px 12px; border-bottom: 1px solid var(--border-row); container-type: inline-size; }
.ex-copy-h > span { grid-column: 1; }
.ex-copy-h .pg-t { font-size: 17px; }
.ex-copy-h .pg-meta { margin: 2px 0 0; padding: 0; border: 0; font-size: 13.5px; }
.ex-view { grid-column: 2; grid-row: 1 / span 3; }
.ex-view button { min-height: 40px; }
@container (max-width: 520px) { .ex-view { grid-column: 1 / -1; grid-row: auto; justify-self: start; margin-top: 10px; } }
.ex-l-pg { padding: 16px 18px 18px; }
.pg .ex-l-h { margin: 0 0 10px; color: var(--text-3); font: 400 13.5px/1.4 var(--font-ui); }
.ex-l-h b { color: var(--brand-navy); font: 800 12.5px/1.4 var(--font-display); letter-spacing: .06em; }
.ex-l-fit { display: grid; }
.pg .ex-l-fit > p { grid-area: 1 / 1; margin: 0; color: var(--text); font: 400 clamp(16px, 1.45vw, 19px)/1.55 var(--font-serif); }
.ex-l-sizer { visibility: hidden; }
.pg .ex-l-sig { margin: 12px 0 0; color: var(--text-3); font-style: italic; }
/* a word and its twin */
.ex-w { transition: background-color .15s, box-shadow .15s, color .15s; }
.ex-w.cmp { animation: ex-cmp .6s var(--ease); }
@keyframes ex-cmp { 25% { background: var(--azure-6); box-shadow: 0 0 0 2px var(--azure-6); } }
.ex-w.lit { background: var(--brand-azure); box-shadow: 0 0 0 2px var(--brand-azure); color: #ffffff; }
/* the five words light as one phrase, spaces and all, since they arrived together */
.ex-five mark.hl.lit { background: var(--adv); box-shadow: 0 0 0 2px var(--adv); color: #ffffff; }
[data-show="same"] .ex-w.tw { box-shadow: inset 0 -2px 0 var(--brand-sky); }
/* the five words only their copy has, and the place in the other copy where they are not */
.ex-five { transition: opacity .24s; }
.ex-five.gone { opacity: 0; }
.ex-five.on mark.hl { box-shadow: inset 0 -2px 0 var(--adv); }
[data-show="only"] .ex-five mark.hl { box-shadow: 0 0 0 2px var(--adv); }
/* the caret has no width of its own, so the Importer's line reads exactly as it was received: it is drawn by its shadow alone */
.ex-caret { display: inline-block; width: 0; height: 1.1em; margin: 0 0 -.2em; box-shadow: 0 0 0 1px var(--adv); opacity: 0; transition: opacity .3s, box-shadow .15s; }
.ex-caret.in { opacity: 1; }
.is-out .ex-caret { opacity: 0; }
.ex-caret.lit, [data-show="only"] .ex-caret { box-shadow: 0 0 0 1px var(--adv), 0 0 0 4px var(--adv-bg), 0 0 0 5.5px var(--adv); }
/* the fingerprint: sixty-four characters, and the same characters as squares */
/* the picture and the characters sit side by side while there is room, and the characters drop beneath it where there is not */
.ex-fp { display: flex; flex-wrap: wrap; align-content: start; align-items: center; gap: 7px 14px; padding: 12px 18px 14px; border-top: 1px solid var(--border-row); border-radius: 0 0 var(--r-2) var(--r-2); background: var(--sky-2); font-family: var(--font-ui); transition: background-color .4s; }
.ex-fp > .ex-l, .ex-fp-note, .ex-fp-same { flex: 1 0 100%; }
.ex-fp-tile { display: grid; grid-template-columns: repeat(16, 7px); grid-auto-rows: 7px; gap: 1px; padding: 3px; background: #ffffff; outline: 1px solid var(--slate-6); transition: outline-color .3s; }
.ex-fp-tile i { background: var(--slate-3); }
.ex-fp-tile .t0 { background: var(--azure-4); }
.ex-fp-tile .t1 { background: var(--brand-sky); }
.ex-fp-tile .t2 { background: var(--brand-azure); }
.ex-fp-tile .t3 { background: var(--brand-navy); }
.ex-fp-hex { min-height: 5.52em; color: var(--brand-navy); font: 500 13px/1.38 var(--font-mono); white-space: pre; transition: color .3s; }
.ex-fp.is-none .ex-fp-tile { display: none; }
.ex-fp.is-none .ex-fp-hex { min-height: 0; white-space: normal; }
[data-match="0"] .theirs .ex-fp { background: var(--adv-bg); }
[data-match="0"] .theirs .ex-fp-hex { color: var(--adv-fg); }
[data-match="0"] .theirs .ex-fp-tile { outline: 2px solid var(--adv); }
[data-match="0"] .ours .ex-fp { background: var(--azure-3); }
[data-match="1"] .ex-fp { background: var(--ok-bg); }
[data-match="1"] .ex-fp-hex { color: var(--ok-fg); }
[data-match="1"] .ex-fp-tile { outline: 2px solid var(--ok); }
/* the sign between the two */
.ex-sign { grid-column: 2; grid-row: 3; align-self: center; justify-self: center; }
.ex-sign-b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-2); background: var(--slate-9); box-shadow: var(--shadow-2); transition: background-color .3s; }
.ex-sign-b svg { display: block; fill: none; stroke: #ffffff; stroke-width: 2.6; }
.ex-sign-x { transition: opacity .25s; }
[data-match="0"] .ex-sign-b { background: var(--adv); }
[data-match="1"] .ex-sign-b { background: var(--ok); animation: ex-pop .5s var(--spring); }
[data-match="1"] .ex-sign-x { opacity: 0; }
.ex-sign-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* what the comparison finds, and why it matters */
.ex-l-mid { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--ex-gap); margin-top: var(--ex-gap); }
.ex-l-mid > div { padding: 14px 18px 16px; border: 1px solid var(--border); border-radius: var(--r-3); background: #ffffff; }
.ex-l-mid > div > .ex-l { display: block; }
.ex-cnts { display: flex; gap: 10px; margin: 10px 0 8px; }
.ex-cnt { min-width: 7.6em; min-height: 44px; padding: 9px 12px 10px; border: 1px solid var(--slate-6); border-radius: var(--r-2); background: #ffffff; text-align: left; cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.ex-cnt .num { font-size: clamp(30px, 3.2vw, 44px); }
.ex-cnt span { display: block; margin-top: 5px; color: var(--text-3); font: 400 14px/1.3 var(--font-ui); white-space: nowrap; }
.ex-cnt.only .num { color: var(--adv-fg); }
.ex-cnt:hover { border-color: var(--brand-azure); }
.ex-cnt[aria-pressed="true"] { border-color: var(--brand-navy); background: var(--sky-3); box-shadow: inset 0 0 0 1px var(--brand-navy); }
.ex-cnt:disabled { cursor: default; border-color: var(--slate-5); }
.ex-cnt:disabled .num { color: var(--text-3); }
.ex-l-read { min-height: 1.45em; }
.ex-q { margin: 12px 0 0; color: var(--text); font: 400 clamp(21px, 2.3vw, 30px)/1.25 var(--font-serif); }
.ex-q.sm { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.4; }
.ex-l-mid > .ex-l-why { border-left: 4px solid var(--open); }
.ex-l-why-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; margin: 0; }
.ex-l-out { display: none; margin: 8px 0 0; }
.is-out .ex-l-out { display: inline-flex; }
.is-out .ex-l-five .ex-q { color: var(--text-3); text-decoration: line-through; text-decoration-thickness: 1.5px; }
/* the file's own history */
.ex-l-hist { margin-top: clamp(20px, 2.6vw, 32px); padding-top: clamp(18px, 2.2vw, 26px); border-top: 1px solid var(--border-row); }
.ex-sub { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; align-items: baseline; }
.ex-sub-t { margin: 0; color: var(--brand-navy); font: 800 clamp(19px, 1.9vw, 25px)/1.15 var(--font-display); letter-spacing: -0.03em; }
.ex-hl { margin-top: 12px; }
.ex-tl-note { position: relative; left: var(--x); width: max-content; max-width: calc(100% - var(--x)); margin: 2px 0 0 -5px; color: var(--text-2); font: 600 13px/1.4 var(--font-display); }
.ex-hl .ex-tl-gap { margin-top: 8px; }
.ex-tl-m.second { transition: background-color .3s, box-shadow .3s; }
.is-out .ex-tl-m.second { background: #ffffff; box-shadow: inset 0 0 0 2px var(--slate-7); }
.is-out .ex-hl .ex-tl-br { border-color: var(--slate-7); border-style: dashed; }
.is-out .ex-hl .ex-tl-n, .is-out .ex-hl .ex-tl-cap.b b { color: var(--text-3); }
.ex-saves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ex-gap); margin-top: 10px; }
.ex-save { padding: 12px 18px 14px; border: 1px solid var(--border); border-top: 3px solid var(--brand-azure); border-radius: var(--r-2); background: #ffffff; transition: border-color .3s, background-color .3s; }
.ex-save.second { border-top-color: var(--adv); }
.ex-save p { margin: 0; }
.ex-save-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ex-save.second .ex-save-h .ex-l { color: var(--adv-fg); }
.ex-save-t { margin-top: 6px !important; color: var(--brand-navy); font: 700 clamp(16.5px, 1.5vw, 19px)/1.25 var(--font-display); letter-spacing: -0.015em; }
.ex-save-d { margin-top: 4px !important; color: var(--text-2); font-size: 15px; line-height: 1.4; }
.ex-save-d.when { color: var(--open-fg); font-size: 14px; }
.ex-save-f { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 8px !important; }
.ex-save-f code { color: var(--ok-fg); font: 500 13px/1.4 var(--font-mono); }
.is-out .ex-save.second { border-style: dashed; border-color: var(--slate-7); background: var(--slate-3); }
.is-out .ex-save.second .ex-save-h .ex-l, .is-out .ex-save.second .ex-save-t { color: var(--text-3); }
.ex-fair { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 16px 0 0; color: var(--brand-navy); font: 600 15.5px/1.4 var(--font-display); letter-spacing: -0.01em; }

/* ---- the reply ---- */
.ex-r-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(7, auto); column-gap: var(--ex-gap); }
.pg.ex-mail { grid-row: span 7; display: grid; grid-template-rows: subgrid; padding: 0 0 14px; border-top: 3px solid var(--adv); }
.pg.ex-mail.msg { border-top-color: var(--brand-azure); }
.ex-mail-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 18px 8px; }
.ex-mail.reply .ex-mail-h .ex-l { color: var(--adv-fg); }
.ex-mail.msg .ex-mail-h .ex-l { color: var(--azure-11); }
.ex-mail-h .pg-ref { margin: 0; }
.pg .ex-hd { position: relative; display: grid; grid-template-columns: 6.4em minmax(0, 1fr) 8px; gap: 0 10px; align-items: center; width: 100%; min-height: 40px; margin: 0; padding: 5px 18px; border: 0; border-top: 1px solid var(--border-row); border-radius: 0; background: none; color: var(--text-2); font: 400 14.5px/1.35 var(--font-ui); text-align: left; }
.ex-hd .k { color: var(--text); font-weight: 600; }
.ex-hd .v { min-width: 0; overflow-wrap: anywhere; }
.ex-hd .v i { color: var(--text-3); font: 400 12.5px/1.35 var(--font-mono); font-style: normal; }
.ex-hd .v.mono { color: var(--slate-12); font: 500 13px/1.35 var(--font-mono); }
/* a header line that answers to something: the reply's date, the message's date, the id the two share */
.ex-hd-b { cursor: pointer; transition: background-color .15s, box-shadow .15s; }
.ex-hd-b::after { content: ''; width: 8px; height: 8px; background: var(--azure-6); transition: background-color .15s, transform .3s var(--spring); }
.ex-hd-b:hover { background: var(--sky-3); }
.ex-hd-b:focus-visible { outline-offset: -3px; }
.ex-hd-b[aria-pressed="true"]::after { background: var(--brand-navy); transform: scale(1.3); }
.ex-reply[data-lit="rd"] .ex-hd-b[data-k="rd"] { background: var(--adv-bg); box-shadow: inset 3px 0 0 var(--adv); }
.ex-reply[data-lit="md"] .ex-hd-b[data-k="md"], .ex-reply[data-lit="id"] .ex-hd-b[data-k="id"], .is-same .ex-hd-b[data-k="id"] { background: var(--azure-3); box-shadow: inset 3px 0 0 var(--brand-azure); }
.ex-reply[data-lit="md"] .ex-hd-b[data-k="md"]::after, .ex-reply[data-lit="id"] .ex-hd-b[data-k="id"]::after, .is-same .ex-hd-b[data-k="id"]::after { background: var(--brand-azure); }
.ex-reply[data-lit="rd"] .ex-hd-b[data-k="rd"]::after { background: var(--adv); }
/* the id the two share, joined across the gap between them */
.ex-mail.reply .ex-hd-b[data-k="id"]::before { content: ''; position: absolute; left: 100%; top: 50%; z-index: 2; width: calc(var(--ex-gap) + 2px); height: 2px; margin-top: -1px; background: var(--brand-azure); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.ex-reply[data-lit="id"] .ex-mail.reply .ex-hd-b[data-k="id"]::before, .is-same .ex-mail.reply .ex-hd-b[data-k="id"]::before { transform: none; }
.pg .ex-mail-b { margin: 0; padding: 14px 18px 2px; border-top: 1px solid var(--border-row); color: var(--text); font: 400 clamp(16px, 1.4vw, 18.5px)/1.5 var(--font-serif); }
.ex-mail .ex-goes { margin: 8px 18px 0; }
.ex-r-note { margin: 14px 0 0; }
.ex-r-line { margin-top: clamp(10px, 1.6vw, 18px); }
/* each mail pinned to the line at its own date */
.ex-rl-pins { position: relative; height: 54px; }
.ex-rl-pin { position: absolute; bottom: 0; display: grid; justify-items: center; align-content: end; min-width: 44px; min-height: 46px; padding: 4px 10px 5px; border: 0; background: none; color: var(--text-3); font: 600 12.5px/1.3 var(--font-display); white-space: nowrap; transform: translateX(-50%); cursor: pointer; }
.ex-rl-pin.reply { left: var(--rp); }
.ex-rl-pin.msg { left: var(--mp); }
.ex-rl-pin b { color: var(--azure-11); font: 700 14.5px/1.3 var(--font-display); }
.ex-rl-pin.reply b { color: var(--adv-fg); }
.ex-rl-pin:hover span { color: var(--brand-navy); }
.ex-rl-stem { position: absolute; top: 0; z-index: 1; width: 2px; height: 32px; margin-left: -1px; background: var(--brand-azure); }
.ex-rl-stem.reply { left: var(--rp); background: var(--adv); }
.ex-rl-stem.msg { left: var(--mp); }
.ex-tl-m.reply { left: var(--rp); }
.ex-tl-m.msg { left: var(--mp); }
.ex-reply[data-lit="rd"] .ex-tl-m.reply, .ex-reply[data-lit="id"] .ex-tl-m.reply { box-shadow: 0 0 0 4px var(--adv-bg), 0 0 0 5.5px var(--adv); }
.ex-reply[data-lit="md"] .ex-tl-m.msg, .ex-reply[data-lit="id"] .ex-tl-m.msg { box-shadow: 0 0 0 4px var(--azure-4), 0 0 0 5.5px var(--brand-azure); }
.ex-rl-arc { height: 58px; margin-top: 2px; }
.ex-rl-arc svg { display: block; overflow: visible; }
.ex-rl-arc path { fill: none; stroke: var(--adv); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-width .2s; }
.ex-rl-arc polygon { fill: var(--adv); }
.ex-reply[data-lit="id"] .ex-rl-arc path { stroke-width: 4.5; }
.ex-rl-n { margin: 4px 0 0 calc(var(--rp) + var(--mp) - 100%); color: var(--adv-fg); font: 800 clamp(19px, 2.2vw, 28px)/1.15 var(--font-display); letter-spacing: -0.025em; font-variant-numeric: tabular-nums; text-align: center; text-wrap: balance; }
.ex-rl-s { margin: 8px 0 0; color: var(--text-2); font-size: 15.5px; line-height: 1.45; text-align: center; }
.ex-rl-none { display: flex; justify-content: center; margin: 10px 0 0; font-size: 14.5px; white-space: normal; }

/* ---- what a finding carries ---- */
.ex-f-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 8px 0 0; }
.ex-f-meta code { color: var(--text-3); font: 500 13px/1 var(--font-mono); }
.ex-f-head .ex-title { margin-top: 4px; }
/* a link inside a sentence, with room for a finger: the padding is taken back by the margin, so the line does not move */
.ex-f-go { display: inline-block; padding: 9px 0; margin: -9px 0; }
.ex-f-cols { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px clamp(28px, 3.2vw, 46px); align-items: start; }
.ex-f-col { position: relative; z-index: 1; padding: 16px 0 6px; border: 1px solid var(--border); border-radius: var(--r-3); background: #ffffff; }
.ex-f-h { display: flex; align-items: center; gap: 11px; margin: 0 18px 14px; color: var(--brand-navy); font: 700 11.5px/1.3 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.ex-f-h i { flex: none; width: 24px; height: 24px; background: var(--brand-navy); color: #ffffff; font: 800 13px/24px var(--font-display); font-style: normal; letter-spacing: 0; text-align: center; }
.ex-f-col ul { margin: 0; padding: 0; list-style: none; }
.ex-f-rec li, .ex-f-set li { padding: 12px 18px; border-top: 1px solid var(--border-row); transition: background-color .2s, box-shadow .2s, opacity .2s; }
.ex-f-rec code { display: block; color: var(--azure-11); font: 500 12.5px/1.4 var(--font-mono); }
.ex-f-rec li > span { display: block; margin-top: 3px; color: var(--text); font-size: 15.5px; line-height: 1.4; }
.ex-f-rec li.lit { background: var(--azure-3); box-shadow: inset -3px 0 0 var(--brand-azure); }
.ex-f-set li { color: var(--brand-navy); font: 600 16.5px/1.3 var(--font-display); letter-spacing: -0.01em; }
.ex-f-set li.lit { background: var(--azure-3); box-shadow: inset 3px 0 0 var(--brand-azure); }
.has-pick .ex-f-rec li:not(.lit), .has-pick .ex-f-set li:not(.lit) { opacity: .5; }
/* an innocent explanation: choose it to see why it stands or is ruled out */
.ex-why { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; width: 100%; min-height: 56px; padding: 12px 18px; border: 0; border-top: 1px solid var(--border-row); background: none; color: var(--text); font: 400 15.5px/1.35 var(--font-ui); text-align: left; cursor: pointer; transition: background-color .15s, box-shadow .15s; }
.ex-why:hover { background: var(--sky-3); }
.ex-why:focus-visible { outline-offset: -3px; }
.ex-why[aria-expanded="true"] { background: var(--azure-3); box-shadow: inset 3px 0 0 var(--brand-azure); color: var(--brand-navy); font-weight: 600; }
.ex-why-p { padding: 2px 18px 14px; background: var(--azure-3); box-shadow: inset 3px 0 0 var(--brand-azure); animation: ex-in .3s var(--ease); }
.ex-why-p p { margin: 0 0 10px; color: var(--text); font-size: 15.5px; line-height: 1.5; }
.ex-why-p p:last-child { margin-bottom: 0; }
.ex-why-k { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 8px; }
.ex-why-k b { width: 100%; color: var(--text-3); font: 700 11.5px/1.3 var(--font-display); letter-spacing: .07em; text-transform: uppercase; }
.ex-why-k ul { width: 100%; margin: 0; padding: 0; list-style: none; }
.ex-why-k li { position: relative; padding-left: 15px; color: var(--brand-navy); font-weight: 600; line-height: 1.4; }
.ex-why-k li + li { margin-top: 4px; }
.ex-why-k li::before { content: ''; position: absolute; left: 0; top: .52em; width: 6px; height: 6px; background: var(--brand-azure); }
.ex-f-none { display: none; margin: 0; padding: 12px 18px; border-top: 1px solid var(--border-row); background: var(--ok-bg); color: var(--ok-fg); font: 600 15px/1.4 var(--font-display); }
.is-ruled .ex-f-none { display: block; }
.ex-f-open { margin: 0; padding: 12px 18px 10px; border-top: 1px solid var(--border-row); color: var(--text-3); font-size: 14.5px; line-height: 1.45; }
/* the lines from an explanation to what it is tied to */
.ex-f-links { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ex-f-links path { fill: none; stroke: var(--brand-azure); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ex-draw .55s var(--ease) forwards; }
.ex-f-links rect { fill: var(--brand-azure); }
@keyframes ex-draw { to { stroke-dashoffset: 0; } }

/* ---- arrivals: a block of a panel comes in piece by piece, once, when it is first on screen ---- */
.ex-pre [data-s] { opacity: 0; }
.ex-pre .ex-rise[data-s] { transform: translateY(12px); }
.ex-pre [data-s].in { opacity: 1; transition: opacity .55s var(--ease) var(--d, 0ms), transform .55s var(--ease) var(--d, 0ms); }
.ex-pre .ex-rise[data-s].in { transform: none; }
.ex-pre .ex-pop[data-s] { opacity: 1; transform: scale(0); }
.ex-pre .ex-pop[data-s].in { transform: none; transition: transform .5s var(--spring); }
.ex-pre .ex-tl-axis[data-s] { opacity: 1; transform: scaleX(0); }
.ex-pre .ex-tl-axis[data-s].in { transform: none; transition: transform .8s var(--ease); }
.ex-pre .ex-tl-br[data-s] { opacity: 1; clip-path: inset(0 100% 0 0); }
.ex-pre .ex-tl-br[data-s].in { clip-path: inset(0 0 0 0); transition: clip-path .8s var(--ease); }
.ex-pre .ex-rl-stem[data-s] { opacity: 1; transform: scaleY(0); transform-origin: 50% 0; }
.ex-pre .ex-rl-stem[data-s].in { transform: none; transition: transform .4s var(--ease); }
.ex-pre .ex-rl-arc path { stroke-dashoffset: 1; }
.ex-pre .ex-rl-arc.in path { stroke-dashoffset: 0; transition: stroke-dashoffset .9s var(--ease); }
.ex-pre .ex-rl-arc polygon { opacity: 0; }
.ex-pre .ex-rl-arc.in polygon { opacity: 1; transition: opacity .2s .8s; }

/* ---- narrower screens ---- */
@media (max-width: 1020px) {
  .ex-l-mid { grid-template-columns: auto minmax(0, 1fr); }
  .ex-l-mid > .ex-l-why { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .ex-f-cols { grid-template-columns: 1fr; }
  .ex-f-rec li.lit { box-shadow: inset 3px 0 0 var(--brand-azure); }
}
@media (max-width: 860px) {
  .ex-m-top { grid-template-columns: 1fr; }
  .ex-pair { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 0; }
  .pg.ex-copy { grid-column: 1; grid-row: auto; display: block; }
  .ex-sign { grid-column: 1; grid-row: auto; display: flex; align-items: center; justify-self: stretch; gap: 12px; padding: 12px 0; }
  .ex-sign-b { flex: none; }
  .ex-sign-t { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; color: var(--brand-navy); font: 700 15.5px/1.3 var(--font-display); }
  [data-match="0"] .ex-sign-t { color: var(--adv-fg); }
  [data-match="1"] .ex-sign-t { color: var(--ok-fg); }
  .ex-r-pair { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 12px; }
  .pg.ex-mail { grid-row: auto; display: block; }
  .ex-mail.reply .ex-hd-b[data-k="id"]::before { content: none; }
  .ex-goes.none { display: none; }
}
@media (max-width: 640px) {
  .ex-fig .ex-bar { padding: 12px 14px; }
  .ex-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; overflow: visible; }
  .ex-tabs button { min-height: 44px; padding: 0 6px; }
  .ex-tabs button:nth-child(4) { grid-column: 1 / -1; border-top: 1px solid var(--slate-7); border-left: 0; }
  .ex-head { grid-template-columns: 1fr; }
  .ex-of { white-space: normal; flex-wrap: wrap; }
  .ex-foot { padding: 12px 14px; }
  .ex-verdict { font-size: 15px; }
  /* nothing meant to be read is smaller than 14 px on a phone: labels keep their capitals and lose some of their spacing */
  .ex-fig .fig-note, .ex-fig .pg-ref, .ex-fig .pg-meta, .ex-copy-h .pg-meta, .ex-fig .tagk, .ex-fig .cite, .ex-fig .seg button, .ex-of, .ex-chip,
  .ex-l, .ex-ver, .ex-f-h, .ex-why-k b, .ex-kv dt, .ex-f-rec code, .ex-f-meta code, .ex-save-f code, .ex-tl-note, .ex-tl-bub, .pg .ex-l-h, .ex-l-h b { font-size: 14px; }
  .ex-l, .ex-ver, .ex-f-h, .ex-why-k b, .ex-kv dt, .ex-chip { letter-spacing: .04em; }
  .ex-no { min-width: 30px; font-size: 14px; line-height: 24px; }
  .ex-f-h i { width: 26px; height: 26px; font-size: 14px; line-height: 26px; }
  .ex-cnts { gap: 8px; }
  .ex-cnt { flex: 1 1 0; min-width: 0; }
  .ex-cnt span { white-space: normal; }
  .ex-tl-caps { display: grid; gap: 7px; min-height: 0; margin: 0 -13px 12px; }
  .ex-tl-cap, .ex-tl-cap.a, .ex-tl-cap.b { position: static; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 9px; max-width: none; text-align: left; }
  .ex-tl-cap .sq { display: block; grid-row: span 2; margin-top: 4px; }
  .ex-tl-zone.yes span, .ex-tl-zone .w { display: none; }
  .ex-tl-zone .n { display: block; }
  .ex-tl-zone span, .ex-tl-days span { font-size: 14px; }
  .ex-tl-days i { display: none; }
  .ex-tl-read { left: 50%; }
  .ex-m-none { text-align: left; }
  /* what the file says about itself: each label over its value, so a date is never broken across lines */
  .ex-kv { grid-template-columns: minmax(0, 1fr); }
  .ex-kv dt { padding: 10px 18px 1px; border-bottom: 0; }
  .ex-kv dd { padding: 0 18px 10px; text-align: left; }
  .ex-l-mid { grid-template-columns: 1fr; }
  .ex-l-mid > .ex-l-why { grid-column: auto; }
  .ex-view { display: flex; width: 100%; overflow: visible; }
  .ex-view button { flex: 1 1 0; min-height: 44px; padding: 6px 8px; line-height: 1.2; white-space: normal; }
  /* the fingerprint keeps its sixty-four characters at a size to read, beside a smaller picture of them */
  .ex-fp { column-gap: 10px; padding: 12px 14px 14px; }
  .ex-fp-tile { grid-template-columns: repeat(16, 5px); grid-auto-rows: 5px; }
  .ex-fp-hex { font-size: 14px; }
  .ex-sub { grid-template-columns: 1fr; }
  .ex-saves { grid-template-columns: 1fr; }
  /* a header line: its name over its value, and an address on a line of its own */
  .pg .ex-hd { grid-template-columns: minmax(0, 1fr) 8px; row-gap: 1px; padding: 7px 14px 8px; }
  .ex-hd .k { grid-column: 1; grid-row: 1; color: var(--text-3); font: 700 14px/1.3 var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
  .ex-hd .v { grid-column: 1; grid-row: 2; overflow-wrap: break-word; }
  .ex-hd .v i { display: block; font-size: 14px; }
  .ex-hd .v.mono { font-size: 14px; }
  .ex-hd-b::after { grid-column: 2; grid-row: 1 / span 2; }
  .ex-rl-pin span { font-size: 14px; }
  .ex-rl-n { margin-left: 0; }
  .ex-rl-s, .ex-rl-none { justify-content: flex-start; text-align: left; }
}

/* the narrowest phones: the longer name on the reply's line of time takes two lines rather than run off the edge */
@media (max-width: 359px) {
  .ex-rl-pins { height: 72px; }
  .ex-rl-pin span { width: 6.6em; white-space: normal; text-align: center; }
}

/* ---- readers who ask for less motion ---- */
.still .ex-fig *, .still .ex-fig *::before, .still .ex-fig *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
