/* CaseModel website - css/p-events.css
   Every event, the map, and the connection no one was looking for (js/events.js). Every class here starts ev-.
   The lanes and the map are drawn by the field of squares behind the page: these rules lay out the words over them
   and keep the boxes clear so the squares show through. */

/* ======================================================================================
   event: one email, read for what happened
   ====================================================================================== */
.ev-ev .fig-bar { justify-content: space-between; }
.ev-body { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: clamp(64px, 8vw, 128px); align-items: center; }
.ev-cap { margin: 0 0 10px; color: var(--azure-11); font: 700 11.5px/1.2 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.ev-pg { position: relative; z-index: 1; padding: 20px 22px 22px; overflow: hidden; }
.ev-hd { margin: 12px 0 14px; padding: 0 0 12px; border-bottom: 1px solid var(--border-row); color: var(--text-2); font: 400 14.5px/1.55 var(--font-ui); }
.ev-hd > div { padding: 1px 0; }
.ev-hd b { margin-right: 3px; color: var(--text); font-weight: 700; }
.ev-tx { color: var(--text); font: 400 clamp(16.5px, 1.4vw, 19px)/1.62 var(--font-serif); }
.ev-tx p { margin: 0 0 6px; }
.ev-tx p:last-child { margin: 0; }

/* the words an answer was read from: each passage is a button, so it can be pointed at, focused or tapped */
.ev-w { display: inline; margin: 0; padding: 0; border: 0; border-radius: var(--r-1); background: none; color: inherit; font: inherit; line-height: inherit; text-align: left; cursor: pointer; }
.ev-w mark.hl { transition: background-size .7s var(--ease), box-shadow .2s var(--ease), background-color .2s; }
.ev-w:focus-visible { outline: 2px solid var(--brand-azure); outline-offset: 3px; }
.ev-has .ev-w:not(.is-hot) mark.hl.on { background-image: linear-gradient(var(--slate-3), var(--slate-3)); }
.ev-w.is-hot mark.hl { background-image: linear-gradient(var(--azure-4), var(--azure-4)); background-size: 100% 86%; }
.ev-mn { display: none; }
.ev-narrow .ev-mn { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; margin: 0 0 0 4px; vertical-align: 2px; background: var(--brand-navy); color: #ffffff; font: 700 10.5px/1 var(--font-display); }
.ev-narrow .ev-w.is-hot .ev-mn { background: var(--brand-azure); }

/* the reading: a band of light moving down the page once. It tints the words it passes (it never strikes through
   them); its leading edge is marked only in the page's margins, like the head of a reader */
.ev-read { position: absolute; left: 0; right: 0; top: 0; height: 56px; background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--brand-sky) 9%, transparent) 50%, color-mix(in srgb, var(--brand-sky) 26%, transparent) 86%, transparent 100%); mix-blend-mode: multiply; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.ev-read::before, .ev-read::after { content: ''; position: absolute; top: 46px; width: 12px; height: 2px; background: var(--brand-azure); }
.ev-read::before { left: 0; } .ev-read::after { right: 0; }

/* the event it finds, answer by answer */
.ev-card { position: relative; z-index: 1; container-type: inline-size; border: 1px solid var(--azure-6); border-radius: var(--r-3); background: #ffffff; box-shadow: var(--shadow-2); overflow: hidden; }
.ev-card-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 13px 18px 12px; border-bottom: 1px solid var(--border-row); }
.ev-card-h b { color: var(--azure-11); font: 700 12.5px/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; }
.ev-card-h .sq { width: 12px; height: 12px; }
.ev-card-r { margin-left: auto; color: var(--text-3); font: 500 12.5px/1.3 var(--font-mono); }
.ev-rows { margin: 0; padding: 0; list-style: none; }
.ev-rows li { border-bottom: 1px solid var(--slate-3); }
.ev-row { display: grid; grid-template-columns: 22px minmax(7.6em, 9.6em) minmax(0, 1fr); align-items: center; gap: 0 14px; width: 100%; min-height: 66px; margin: 0; padding: 8px 18px; border: 0; background: #ffffff; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background .2s var(--ease), box-shadow .2s var(--ease); }
.ev-row:hover, .ev-row.is-hot { background: var(--sky-2); box-shadow: inset 3px 0 0 var(--brand-azure); }
.ev-row[aria-pressed="true"] { box-shadow: inset 3px 0 0 var(--brand-navy); }
.ev-row:focus-visible { outline: 2px solid var(--brand-azure); outline-offset: -3px; }
.ev-n { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; background: var(--slate-6); color: #ffffff; font: 700 11px/1 var(--font-display); transition: background .3s var(--ease); }
.ev-q { color: var(--slate-7); font: 700 12px/1.25 var(--font-display); letter-spacing: .11em; text-transform: uppercase; transition: color .3s var(--ease); }
.ev-a { display: flex; flex-direction: column; gap: 2px; min-width: 0; opacity: 0; transform: translateX(14px); transition: opacity .45s var(--ease), transform .55s var(--ease); }
.ev-a b { color: var(--brand-navy); font: 600 clamp(17px, 1.5vw, 21px)/1.2 var(--font-display); letter-spacing: -0.01em; }
.ev-a > span { color: var(--text-3); font-size: 14.5px; line-height: 1.35; }
.ev-row.is-in .ev-a { opacity: 1; transform: none; }
.ev-row.is-in .ev-q { color: var(--azure-11); }
.ev-row.is-in .ev-n { background: var(--brand-navy); }
.ev-row.is-hot .ev-n { background: var(--brand-azure); }
.ev-agree { display: flex; align-items: center; gap: 9px; margin: 0; padding: 12px 18px 13px; color: var(--ok-fg); font: 500 13px/1.35 var(--font-mono); opacity: 0; transition: opacity .5s var(--ease); }
.ev-done .ev-agree { opacity: 1; }

/* the curves that tie words to answers, drawn as each answer is read */
.ev-wires { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ev-wire { fill: none; stroke: var(--azure-6); stroke-width: 1.5; transition: stroke-dashoffset .8s var(--ease), stroke .2s var(--ease), stroke-width .2s var(--ease), opacity .2s; }
.ev-wire.is-hot { stroke: var(--brand-azure); stroke-width: 2.25; }
.ev-has .ev-wire:not(.is-hot) { opacity: .45; }
.ev-lead { fill: none; stroke: var(--brand-azure); stroke-width: 1; stroke-dasharray: 2 4; opacity: 0; transition: opacity .2s; }
.ev-lead.is-hot { opacity: .9; }
.ev-wend { fill: var(--azure-6); opacity: 0; transition: opacity .4s var(--ease) .5s, fill .2s; }
.ev-wend.is-in { opacity: 1; }
.ev-wend.is-hot { fill: var(--brand-azure); }

@media (max-width: 900px) {
  .ev-body { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
/* a narrow card: the question over its answer, so no answer is squeezed into a column */
@container (max-width: 470px) {
  .ev-row { grid-template-columns: 22px minmax(0, 1fr); gap: 2px 12px; padding: 10px 16px; }
  .ev-row .ev-a { grid-column: 2; }
  .ev-card-r { margin-left: 0; width: 100%; }
}
/* on a phone the words are tapped: each passage is at least 40 px tall to the finger, without moving a line */
.ev-narrow .ev-tx { line-height: 2; }
.ev-narrow .ev-tx .ev-w { padding: 10px 0; }
.ev-narrow .ev-hd .ev-w { display: block; width: 100%; min-height: 40px; padding: 8px 0; }
.ev-narrow .ev-hd > div { padding: 0; }
@media (max-width: 560px) {
  .ev-pg { padding: 16px 15px 18px; }
  .ev-hd { font-size: 14px; word-break: break-word; }
  .ev-row { grid-template-columns: 22px minmax(0, 1fr); gap: 2px 12px; padding: 10px 14px; }
  .ev-row .ev-a { grid-column: 2; }
  .ev-card-h { padding: 12px 14px; }
  .ev-card-r { margin-left: 0; width: 100%; font-size: 14px; }
  .ev-agree { padding: 12px 14px; font-size: 14px; }
  .ev-q { font-size: 13px; }
}

/* ======================================================================================
   lanes: every event in the business
   ====================================================================================== */
.ev-ln-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 16px clamp(20px, 3vw, 44px); margin: 0 0 22px; }
.ev-ln-kick, .ev-mp-kick { margin: 0 0 6px; color: var(--azure-11); font: 700 11.5px/1.25 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.ev-ln .ev-ln-n { min-width: 4.2ch; font-size: clamp(44px, 5.4vw, 68px); transition: color .4s var(--ease); }
.ev-ln:not(.ev-all) .ev-ln-n { color: var(--open); }
.ev-key { display: grid; gap: 7px; margin: 0 0 4px; padding: 0; list-style: none; color: var(--brand-navy); font: 600 15px/1.3 var(--font-display); }
.ev-key li { display: flex; align-items: center; gap: 10px; }
.ev-key .sq { width: 12px; height: 12px; }
.ev-amber { background: var(--open); }
.ev-key-all { opacity: .4; transition: opacity .5s var(--ease); }
.ev-all .ev-key-all { opacity: 1; }
.ev-ln-seg { align-self: end; }

.ev-ln-plot { position: relative; height: 420px; }
.ev-ln-lane { position: absolute; left: 0; right: 0; top: calc(var(--k) * 38px); height: 38px; margin: 0; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.ev-ln-lane::before { content: ''; position: absolute; left: var(--x0); right: var(--x1); top: 50%; height: 1px; background: color-mix(in srgb, var(--brand-azure) 11%, transparent); }
.ev-ln-lane::after { content: ''; position: absolute; left: var(--x0); right: var(--x1); top: 3px; bottom: 3px; background: color-mix(in srgb, var(--brand-azure) 6%, transparent); opacity: 0; transition: opacity .2s var(--ease); }
.ev-ln-lane.is-hot::after { opacity: 1; }
.ev-ln-lane:focus-visible { outline: 2px solid var(--brand-azure); outline-offset: -2px; }
.ev-ln-name { position: absolute; left: 0; top: 50%; width: calc(var(--x0) - 20px); transform: translateY(-50%); color: var(--azure-11); font: 700 12.5px/1.1 var(--font-display); letter-spacing: .08em; text-align: right; text-transform: uppercase; transition: color .2s; }
.ev-ln-c { position: absolute; right: 0; top: 50%; width: calc(var(--x1) - 16px); transform: translateY(-50%); color: var(--text-3); font: 500 13px/1 var(--font-mono); font-variant-numeric: tabular-nums; transition: color .2s; }
.ev-ln-lane:hover .ev-ln-name, .ev-ln-lane.is-hot .ev-ln-name { color: var(--brand-navy); }
.ev-ln-lane.is-hot .ev-ln-c { color: var(--brand-navy); font-weight: 700; }
.ev-ln-has .ev-ln-lane:not(.is-hot) .ev-ln-name { color: var(--slate-9); }
.ev-ln-lane[aria-pressed="true"] .ev-ln-name::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 7px; vertical-align: 1px; background: var(--brand-azure); }

.ev-ln-axis, .ev-mp-axis { position: absolute; left: 0; right: 0; height: 1px; pointer-events: none; }
.ev-ln-axis::before, .ev-mp-axis::before { content: ''; position: absolute; left: var(--x0); right: var(--x1); top: 0; height: 1px; background: color-mix(in srgb, var(--brand-navy) 40%, transparent); }
.ev-ln-axis span, .ev-mp-axis span { position: absolute; top: 9px; padding-left: 6px; color: var(--text-3); font: 600 12px/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.ev-ln-axis span::before, .ev-mp-axis span::before { content: ''; position: absolute; left: 0; top: -12px; width: 1px; height: 10px; background: color-mix(in srgb, var(--brand-navy) 55%, transparent); }
.ev-ln-axis .ev-yr, .ev-mp-axis .ev-yr { color: var(--brand-navy); font-weight: 800; font-size: 13px; }

.ev-tip { position: absolute; z-index: 6; display: flex; flex-direction: column; gap: 2px; width: max-content; max-width: 290px; padding: 9px 12px 10px; border: 1px solid var(--border); border-left: 3px solid var(--open); border-radius: var(--r-2); background: rgb(255 255 255 / .96); box-shadow: var(--shadow-2); pointer-events: none; }
.ev-tip b { color: var(--open-fg); font: 600 12.5px/1.3 var(--font-mono); }
.ev-tip span { color: var(--brand-navy); font: 600 15px/1.3 var(--font-display); }
.ev-tip i { color: var(--text-3); font: 400 13px/1.35 var(--font-ui); }
.ev-ln-status { margin: 16px 0 0; max-width: 46em; }

.ev-ln.ev-nar .ev-ln-top { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.ev-ln.ev-nar .ev-ln-lane { top: calc(var(--k) * 44px); height: 44px; }
.ev-ln.ev-nar .ev-ln-lane::before { top: 32px; }
.ev-ln.ev-nar .ev-ln-lane::after { top: 20px; bottom: 1px; }
.ev-ln.ev-nar .ev-ln-name, .ev-ln.ev-nar .ev-ln-c { top: 2px; transform: none; font-size: 14px; letter-spacing: 0; text-transform: none; text-align: left; }
.ev-ln.ev-nar .ev-ln-name { width: auto; }
.ev-ln.ev-nar .ev-ln-name, .ev-ln.ev-nar .ev-ln-c { text-shadow: 0 0 3px #ffffff, 0 0 3px #ffffff, 0 0 6px #ffffff; }
.ev-ln.ev-nar .ev-ln-c { right: 6px; width: auto; font-size: 14px; text-align: right; }
/* a tablet or a small laptop: the switch takes its own row under the count and the key, so the key is never squeezed */
@media (max-width: 1060px) {
  .ev-ln .ev-ln-top { grid-template-columns: auto minmax(0, 1fr); }
  .ev-ln .ev-ln-seg { grid-column: 1 / -1; justify-self: start; }
}
.ev-ln.ev-nar .ev-ln-seg { display: flex; width: 100%; }
.ev-ln.ev-nar .ev-ln-seg button { flex: 1 1 0; min-width: 0; min-height: 46px; padding: 6px 10px; white-space: normal; line-height: 1.25; }

/* ======================================================================================
   map: every mailbox against time
   ====================================================================================== */
.ev-mp-tots { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 14px clamp(28px, 5vw, 76px); margin: 10px 0 26px; }
.ev-mp-tots .num { font-size: clamp(30px, 3.4vw, 46px); }
.ev-mp-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin: 0 0 6px; }
.ev-found .ev-mp-hint { display: none; }
.ev-mp-plot { position: relative; height: 440px; cursor: crosshair; touch-action: pan-y; user-select: none; }
.ev-found .ev-mp-plot { cursor: default; }
.ev-flood .ev-mp-plot { cursor: progress; }
/* the plane of light: it runs from the readout's strip to the axis; the readout rides along the strip above the rows */
.ev-mp-plane { position: absolute; left: 0; top: 0; width: 40px; border-left: 1px solid color-mix(in srgb, var(--brand-azure) 45%, transparent); border-right: 1px solid color-mix(in srgb, var(--brand-azure) 45%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand-azure) 10%, transparent), color-mix(in srgb, var(--brand-azure) 4%, transparent)); pointer-events: none; will-change: transform; transition: opacity .4s var(--ease); }
.ev-flood .ev-mp-plane { transition: transform 1s var(--ease), width 1s var(--ease), opacity .4s var(--ease); }
.ev-found .ev-mp-plane { opacity: 0; }
.ev-mp-read { position: absolute; left: 0; top: 0; display: flex; gap: 0 12px; margin: 0; padding: 5px 10px; border-radius: var(--r-1); background: var(--brand-navy); color: #ffffff; font: 500 12.5px/1.3 var(--font-mono); white-space: nowrap; pointer-events: none; transition: opacity .3s var(--ease); }
.ev-mp-read b { font-weight: 600; }
.ev-mp-read span { color: var(--azure-6); }
.ev-mp-read i { font-style: normal; }
.ev-found .ev-mp-read, .ev-flood .ev-mp-read { opacity: 0; }
.ev-mp-rows { position: absolute; inset: 0; pointer-events: none; }
.ev-mp-row, .ev-mp-grp { position: absolute; left: 0; width: calc(var(--x0) - 18px); text-align: right; white-space: nowrap; }
.ev-mp-row { transform: translateY(-50%); color: var(--brand-navy); font: 600 13px/1.2 var(--font-display); }
.ev-mp-x { color: var(--text-3); font-weight: 500; font-style: italic; }
.ev-mp-grp { color: var(--azure-11); font: 700 11px/20px var(--font-display); letter-spacing: .09em; text-transform: uppercase; }
.ev-found .ev-mp-row[data-r="0"], .ev-found .ev-mp-row[data-r="5"] { color: var(--brand-azure-deep); font-weight: 800; }
.ev-mp-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ev-mp-drop { fill: none; stroke: var(--brand-navy); stroke-width: 1; stroke-dasharray: 3 4; }
.ev-mp-brk { fill: none; stroke: var(--brand-navy); stroke-width: 1.5; }
.ev-mp-ring { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border: 2px solid var(--brand-navy); opacity: 0; transform: scale(.4); pointer-events: none; transition: opacity .4s var(--ease) .35s, transform .5s var(--spring) .35s; }
.ev-found .ev-mp-ring { opacity: 1; transform: none; }
.ev-mp-ring.is-ping { border-color: var(--brand-azure); animation: ev-ping 1.4s var(--ease) 1; }
@keyframes ev-ping { 0% { opacity: 0; transform: scale(.5); } 30% { opacity: .5; } 100% { opacity: 0; transform: scale(1.9); } }
.ev-mp-ref { position: absolute; padding: 3px 6px; border-radius: var(--r-1); background: rgb(255 255 255 / .92); color: var(--brand-navy); font: 600 12px/1 var(--font-mono); white-space: nowrap; opacity: 0; transform: translate(18px, -50%); pointer-events: none; transition: opacity .4s var(--ease) .5s; }
.ev-mp-ref[data-k="1"] { transform: translate(calc(-100% - 18px), -50%); }
.ev-mp-gap { position: absolute; transform: translateX(-50%); color: var(--brand-navy); font: 800 15px/1.2 var(--font-display); letter-spacing: -0.01em; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .4s var(--ease) .6s; }
.ev-found .ev-mp-ref, .ev-found .ev-mp-gap { opacity: 1; }

.ev-mp-step { display: flex; align-items: center; gap: 12px; margin: 10px 0 0; }
.ev-mp-step .fig-status { flex: 1 1 auto; }
.ev-mp-b { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--slate-7); border-radius: var(--r-2); background: #ffffff; color: var(--brand-navy); cursor: pointer; transition: border-color .15s, background .15s; }
.ev-mp-b:hover { border-color: var(--brand-azure); background: var(--sky-3); }
.ev-mp-b i { width: 8px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateX(2px) rotate(45deg); }
.ev-mp-b[data-d="1"] i { transform: translateX(-2px) rotate(-135deg); }
.ev-found .ev-mp-b { display: none; }

.ev-mp-found { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .78fr) minmax(0, 1fr); gap: 22px clamp(18px, 2.6vw, 34px); align-items: start; margin: 24px 0 0; }
.ev-mp-doc .pg { font-family: var(--font-ui); }
.ev-mp-dl { display: flex; align-items: center; gap: 9px; margin: 0 0 9px; color: var(--azure-11); font: 700 11.5px/1.25 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.ev-mp-line { display: flex; justify-content: space-between; gap: 12px; padding: 0 0 6px; border-bottom: 1px solid var(--border-row); font-size: 15px; }
.ev-mp-line b { color: var(--brand-navy); font-family: var(--font-mono); font-weight: 600; }
.ev-mp-note { color: var(--text-3); font-size: 14px; }
.ev-mp-hd { margin: 0; font-size: 14.5px; line-height: 1.6; }
.ev-mp-mid { padding-top: 26px; }
.ev-mp-apart { position: relative; margin: 0 0 18px; padding: 12px 0 0; border-top: 2px solid var(--brand-navy); text-align: center; }
.ev-mp-apart::before, .ev-mp-apart::after { content: ''; position: absolute; top: -8px; width: 2px; height: 14px; background: var(--brand-navy); }
.ev-mp-apart::before { left: 0; } .ev-mp-apart::after { right: 0; }
.ev-mp-apart b { display: block; color: var(--brand-navy); font: 800 clamp(20px, 2vw, 26px)/1.1 var(--font-display); letter-spacing: -0.02em; }
.ev-mp-apart span { display: block; margin-top: 4px; color: var(--text-3); font: 500 12.5px/1.3 var(--font-mono); }
.ev-mp-sk { margin: 0 0 8px; color: var(--text-3); font: 700 11.5px/1.2 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.ev-mp-share { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.ev-mp-share li { display: flex; align-items: center; gap: 9px; color: var(--brand-navy); font: 600 15px/1.3 var(--font-display); }
.ev-mp-share li::before { content: ''; flex: none; width: 8px; height: 8px; background: var(--brand-navy); }
.ev-mp-find { grid-column: 1 / -1; padding: 16px 20px 17px; border: 1px solid var(--border); border-left: 3px solid var(--brand-navy); border-radius: var(--r-2); background: #ffffff; box-shadow: var(--shadow-2); }
.ev-mp-fk { margin: 0 0 6px; color: var(--azure-11); font: 700 11.5px/1.2 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.ev-mp-fs { margin: 0; max-width: 34em; color: var(--brand-navy); font: 600 clamp(18px, 1.8vw, 24px)/1.3 var(--font-display); letter-spacing: -0.015em; }
.ev-mp-last { margin: 10px 0 0; color: var(--azure-11); font: 700 15px/1.4 var(--font-display); }
.ev-mp-found .ev-mp-doc, .ev-mp-found .ev-mp-mid, .ev-mp-found .ev-mp-find { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.ev-mp-found.on .ev-mp-doc, .ev-mp-found.on .ev-mp-mid, .ev-mp-found.on .ev-mp-find { opacity: 1; transform: none; }
.ev-mp-found.on .ev-mp-mid { transition-delay: .25s; }
.ev-mp-found.on .ev-mp-doc:nth-child(3) { transition-delay: .12s; }
.ev-mp-found.on .ev-mp-find { transition-delay: .45s; }

.ev-mp.ev-nar .ev-mp-tots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.ev-mp.ev-nar .ev-mp-row { width: auto; transform: translateY(-25px); font-size: 14px; line-height: 16px; text-align: left; }
.ev-mp.ev-nar .ev-mp-grp { width: auto; text-align: left; font-size: 11.5px; line-height: 22px; }
.ev-mp.ev-stack .ev-mp-found { grid-template-columns: minmax(0, 1fr); gap: 0; }
.ev-mp.ev-stack .ev-mp-mid { position: relative; margin: 14px 0 14px 12px; padding: 4px 0 4px 18px; border-left: 2px solid var(--brand-navy); }
.ev-mp.ev-stack .ev-mp-mid::before, .ev-mp.ev-stack .ev-mp-mid::after { content: ''; position: absolute; left: -8px; width: 14px; height: 2px; background: var(--brand-navy); }
.ev-mp.ev-stack .ev-mp-mid::before { top: 0; } .ev-mp.ev-stack .ev-mp-mid::after { bottom: 0; }
.ev-mp.ev-stack .ev-mp-apart { margin: 0 0 12px; padding: 0; border: 0; text-align: left; }
.ev-mp.ev-stack .ev-mp-apart::before, .ev-mp.ev-stack .ev-mp-apart::after { content: none; }
.ev-mp.ev-stack .ev-mp-find { margin-top: 16px; }
.ev-mp.ev-nar .ev-mp-read { flex-direction: column; padding: 5px 9px; font-size: 13.5px; }
/* on a phone the readout is three short lines: the dates, the documents, the people and organisations */
.ev-mp.ev-nar .ev-mp-read > span { display: flex; flex-direction: column; }
.ev-mp.ev-nar .ev-mp-read i { display: none; }
/* on a narrow map the two references turn inward, so neither runs off the screen */
.ev-mp.ev-nar .ev-mp-ref[data-k="0"] { transform: translate(calc(-100% - 18px), -50%); }
.ev-mp.ev-nar .ev-mp-ref[data-k="1"] { transform: translate(18px, -50%); }
.ev-mp.ev-nar .ev-mp-grp { font-size: 12.5px; }
.ev-nar .ev-mp-axis span, .ev-nar .ev-ln-axis span { font-size: 13px; }
.ev-nar .ev-mp-axis .ev-yr, .ev-nar .ev-ln-axis .ev-yr { font-size: 14px; }

/* ======================================================================================
   a phone: anything meant to be read is at least 14 px
   ====================================================================================== */
@media (max-width: 560px) {
  .ev-cap, .ev-ln-kick, .ev-mp-kick, .ev-mp-dl, .ev-mp-sk, .ev-mp-fk { font-size: 14px; letter-spacing: .05em; }
  .ev-q, .ev-card-h b { font-size: 14px; letter-spacing: .08em; }
  .ev-ln.ev-nar .ev-ln-seg button { font-size: 14px; }
  .ev-mp.ev-nar .ev-mp-read { font-size: 14px; }
  .ev-mp.ev-nar .ev-mp-grp { font-size: 14px; letter-spacing: .06em; }
  .ev-mp.ev-nar .ev-mp-ref { font-size: 14px; }
  .ev-mp-apart span { font-size: 14px; }
  .ev-nar .ev-mp-axis span, .ev-nar .ev-ln-axis span { font-size: 14px; }
  /* the kit's small labels, inside these figures only */
  .ev-ev .fig-hint, .ev-mp .fig-hint, .ev-ev .pg-ref, .ev-mp .pg-ref, .ev-ev .tag, .ev-mp .pg-meta { font-size: 14px; }
  .ev-mp .num-l { font-size: 14px; letter-spacing: .05em; }
  /* the numbers that stand in for the curves */
  .ev-narrow .ev-mn { width: 22px; height: 22px; font-size: 14px; vertical-align: 1px; }
  .ev-n { width: 24px; height: 24px; font-size: 14px; }
  .ev-row { grid-template-columns: 24px minmax(0, 1fr); }
}
