/* CaseModel website - css/p-gauntlet.css
   Evidence integrity, in two figures: the gauntlet of verifications a file is put through, and the pattern its findings make
   once they are sorted. Everything here carries the prefix gz- and sits under .gz, the class both figures take. */

.gz { --gz-s: 18px; }
.gz-l { margin: 0; color: var(--azure-11); font: 700 11.5px/1.3 var(--font-display); letter-spacing: .09em; text-transform: uppercase; }
.gz-l.gz-lq { color: var(--text-3); }

/* the five grades of finding. Each has its own fill as well as its colour, so none rests on colour alone:
   solid, impossible if the record is right; cut corner to corner, saved again; half and half, two copies that differ;
   upper half, does not agree with itself; a broken outline, referred to and not produced */
.gz-m { display: inline-block; flex: none; box-sizing: border-box; width: 11px; height: 11px; vertical-align: baseline; forced-color-adjust: none; }
.gz-m.imp { background: var(--adv); }
.gz-m.alt { border: 2px solid var(--adv); background: linear-gradient(135deg, #ffffff 50%, var(--adv) 50%); }
.gz-m.dis { border: 2px solid var(--open); background: linear-gradient(90deg, var(--open) 50%, #ffffff 50%); }
.gz-m.self { border: 2px solid var(--brand-navy); background: linear-gradient(180deg, var(--brand-navy) 50%, #ffffff 50%); }
.gz-m.miss { border: 2px dashed var(--open); background: #ffffff; }

/* ================= the gauntlet ================= */
.gz-over { margin: 0; color: var(--text-3); font: 700 11.5px/1.3 var(--font-display); letter-spacing: .09em; text-transform: uppercase; }
.gz-over b { color: var(--brand-navy); font-weight: 700; }
.gz-q { color: var(--brand-azure); font-size: clamp(28px, 3.6vw, 50px); font-weight: 800; line-height: 1.02; letter-spacing: -0.04em; }

/* the bench: one of their files, and the control that runs it */
.gz-bench { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(16px, 2.6vw, 36px); align-items: start; margin-top: clamp(14px, 1.8vw, 22px); }
.gz-bench .gz-l { margin-bottom: 8px; }
.gz-files { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gz-file { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto 1fr auto; gap: 3px 8px; padding: 11px 12px 10px; border: 1px solid var(--slate-6); border-radius: var(--r-2); background: #ffffff; box-shadow: var(--shadow-1); color: var(--text); text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .2s, transform .2s var(--ease); }
.gz-file:hover { border-color: var(--brand-azure); }
.gz-file[aria-pressed="true"] { border-color: var(--brand-navy); box-shadow: 0 0 0 1px var(--brand-navy), var(--shadow-2); }
.gz-file[aria-pressed="true"]::before { content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 4px; background: var(--brand-navy); }
.gz-file-k { color: var(--azure-11); font: 700 11px/1.3 var(--font-display); letter-spacing: .1em; text-transform: uppercase; }
.gz-file-r { color: var(--text-3); font: 500 11.5px/1.3 var(--font-mono); }
.gz-file b { grid-column: 1 / -1; align-self: start; margin-top: 2px; color: var(--brand-navy); font: 700 16px/1.2 var(--font-display); letter-spacing: -0.015em; }
.gz-file small { grid-column: 1 / -1; align-self: start; color: var(--text-3); font: 400 13px/1.35 var(--font-ui); }
.gz-file-s { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 7px; padding-top: 8px; border-top: 1px solid var(--border-row); color: var(--text-3); font: 600 13px/1.2 var(--font-display); }
.gz-file-s.has { color: var(--brand-navy); }
.gz-go { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; justify-items: start; align-content: start; min-width: 0; }
.gz-run { min-width: min(100%, 220px); }
/* the gauntlet in one line: the thirty-six as squares, in their six families, in the order the wall runs them.
   A dash where a verification does not apply; pale until it runs; green when it finds nothing; a finding's own mark when it does */
.gz-strip { display: flex; align-items: center; gap: 2px; width: 100%; max-width: 470px; margin-top: 16px; }
/* every square starts from the width of a finding's border, so a square that turns into a finding stays the size of the rest */
.gz-strip i { display: block; flex: 1 1 4px; min-width: 0; max-width: 13px; aspect-ratio: 1; box-sizing: border-box; background: var(--slate-5); forced-color-adjust: none; transition: background .12s, transform .25s var(--spring); }
.gz-strip i[data-f] { margin-left: 7px; }
.gz-strip i.rdy { background: var(--azure-6); }
.gz-strip i.ok { background: var(--ok); }
.gz-strip i.run { background: var(--brand-azure); transform: scale(1.5); transition: none; }
.gz-strip i.na { background: linear-gradient(var(--slate-6), var(--slate-6)) 50% 50% / 100% 2px no-repeat; }
.gz-strip i.gz-m { width: auto; height: auto; border-width: 2px; animation: gz-catch .5s var(--spring); }
/* the run in one line: the verification running now, then what the run found. It keeps room for the longest of these (set from the script) */
.gz-tick { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; width: 100%; min-width: 0; margin: 10px 0 0; color: var(--text-2); font: 600 15px/1.35 var(--font-display); letter-spacing: -0.005em; }
.gz-tick > span { display: inline-flex; align-items: center; gap: 5px; }
.gz-tick.is-done > span + span::before, .gz-tick.is-rdy > span + span::before { content: '·'; margin: 0 8px; color: var(--slate-9); font-weight: 400; }
.gz-tick.is-done { color: var(--brand-navy); }
.gz-tick.is-done b { color: var(--adv-fg); font-weight: 700; }
.gz-tick.is-run { flex-wrap: nowrap; gap: 9px; color: var(--azure-11); }
.gz-tick.is-run b { flex: none; color: var(--adv-fg); font-weight: 700; }
.gz-tick-n { flex: none; padding: 2px 5px; background: var(--brand-navy); color: #ffffff; font: 500 12.5px/1.3 var(--font-mono); }
.gz-tick > .gz-tick-t { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gz-open { margin-top: 4px; font-size: 15px; }
.gz-open.is-off { visibility: hidden; }

/* the small square that says where a verification stands: a dash where it does not apply */
.gz-q-sq, .gz-v-q, .gz-fam-q i { flex: none; box-sizing: border-box; width: 11px; height: 11px; background: var(--slate-5); forced-color-adjust: none; }
.gz-file-s .gz-q-sq { width: 9px; height: 9px; }
.gz-file-s .gz-q-sq.run { background: var(--brand-azure); }
.gz-file-s .gz-m { width: 10px; height: 10px; }

/* the wall: thirty-six verifications in six families */
.gz-wallh { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 22px; margin-top: clamp(18px, 2.2vw, 28px); padding-top: clamp(14px, 1.8vw, 20px); border-top: 1px solid var(--border-row); }
.gz-kinds { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.gz-kinds .gz-l { margin-right: 4px; }
/* what the wall is showing, said in a sentence, right above it */
.gz-wallh .gz-status { flex: 1 1 100%; min-height: 1.4em; }
.gz-kind small { color: var(--text-3); font: 500 11.5px/1 var(--font-mono); transition: color .15s; }
.gz-kind[aria-pressed="true"] small { color: var(--brand-sky-pale); }
.gz-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(14px, 1.6vw, 22px); align-items: start; margin-top: 14px; }
.gz-col { min-width: 0; }
.gz-fam + .gz-fam { margin-top: 14px; }
.gz-fam-h { margin: 0 0 7px; padding: 0 0 6px; border-bottom: 2px solid var(--azure-6); color: var(--brand-navy); font: 700 11.5px/1.3 var(--font-display); letter-spacing: .09em; text-transform: uppercase; }
.gz-fam-b { display: none; }
.gz-fam-l { margin: 0; padding: 0; list-style: none; }
.gz-v { border: 1px solid var(--border-row); border-radius: var(--r-2); background: #ffffff; transition: opacity .25s, border-color .15s, background .15s, box-shadow .15s; }
.gz-v + .gz-v { margin-top: 4px; }
.gz-v-r { display: flex; align-items: center; gap: 9px; min-height: 34px; padding: 5px 10px; }
.gz-v-n { flex: none; width: 19px; color: var(--text-3); font: 500 12px/1 var(--font-mono); transition: color .15s; }
.gz-v-t { flex: 1 1 auto; min-width: 0; color: var(--text); font: 400 14.5px/1.25 var(--font-ui); }
.gz-v-b { flex: none; padding: 1px 6px; border: 1px solid var(--slate-7); border-radius: var(--r-1); background: #ffffff; color: var(--text-2); font: 500 11.5px/1.4 var(--font-mono); white-space: nowrap; }
.gz-v-b:empty { display: none; }
.gz-v.is-slot:not(.is-hit) .gz-v-b { visibility: hidden; }
.gz-v-q { transition: background .12s, transform .25s var(--spring); }
/* where it stands */
.gz-v.is-na { opacity: .42; }
.gz-v.is-na .gz-v-q, .gz-fam-q i.na { height: 2px; background: var(--slate-7); }
.gz-v.is-dim { opacity: .45; }
.gz-v.is-rdy .gz-v-q, .gz-fam-q i.rdy { background: var(--azure-6); }
.gz-v.is-lit .gz-v-q, .gz-fam-q i.lit { background: var(--brand-azure); }
.gz-v.is-lit .gz-v-n { color: var(--azure-11); }
.gz-v.is-run { border-color: var(--brand-azure); background: var(--azure-3); box-shadow: inset 3px 0 0 var(--brand-azure); transition: none; }
.gz-v.is-run .gz-v-q, .gz-fam-q i.run { background: var(--brand-azure); transform: scale(1.45); transition: none; }
.gz-v.is-ok .gz-v-q, .gz-fam-q i.ok { background: var(--ok); }
.gz-v.g-imp, .gz-v.g-alt { border-color: var(--adv); background: var(--adv-bg); }
.gz-v.g-dis, .gz-v.g-miss { border-color: var(--open); background: var(--open-bg); }
.gz-v.g-self { border-color: var(--brand-navy); background: var(--azure-3); }
.gz-v.is-hit .gz-v-t, .gz-v.is-held .gz-v-t { color: var(--brand-navy); font-weight: 600; }
.gz-v.is-hit .gz-v-n, .gz-v.is-held .gz-v-n { color: var(--brand-navy); }
.gz-v.g-imp .gz-v-b, .gz-v.g-alt .gz-v-b { border-color: var(--adv); color: var(--adv-fg); }
.gz-v.g-dis .gz-v-b, .gz-v.g-miss .gz-v-b { border-color: var(--open); color: var(--open-fg); }
.gz-v.g-self .gz-v-b { border-color: var(--brand-navy); color: var(--brand-navy); }
.gz-v.is-hit .gz-v-q { animation: gz-catch .5s var(--spring); }
@keyframes gz-catch { 0% { transform: scale(2.2); } 100% { transform: none; } }
/* a finding opens where it was caught. Its room is kept from the moment the file is put through (is-slot), so when the run
   reaches it the finding appears in place and nothing under it moves */
.gz-v-f { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .36s var(--ease), visibility 0s .36s; }
.gz-v.is-slot .gz-v-f, .gz-v.is-open .gz-v-f { grid-template-rows: 1fr; }
.gz-v.is-open .gz-v-f { visibility: visible; transition: grid-template-rows .36s var(--ease); }
.gz-v.is-open .gz-v-fb { animation: gz-fb .45s var(--ease); }
@keyframes gz-fb { from { opacity: 0; } }
/* until it is caught, the room is plain space under a row that looks like any other; when it is caught the row's card takes it in */
.gz-v.is-slot:not(.is-open) { border-color: transparent; background: none; box-shadow: none; }
.gz-v.is-slot:not(.is-open) .gz-v-r { border-radius: var(--r-2); background: #ffffff; box-shadow: 0 0 0 1px var(--border-row); }
.gz-v.is-slot.is-run:not(.is-open) .gz-v-r { background: var(--azure-3); box-shadow: 0 0 0 1px var(--brand-azure), inset 3px 0 0 var(--brand-azure); }
.gz-v-fi { min-height: 0; overflow: hidden; }
.gz-v-fb { margin: 0; padding: 1px 12px 10px 38px; }
.gz-v-g { display: flex; align-items: center; gap: 7px; margin: 0; color: var(--adv-fg); font: 700 11.5px/1.3 var(--font-display); letter-spacing: .07em; text-transform: uppercase; }
.gz-v.g-dis .gz-v-g, .gz-v.g-miss .gz-v-g { color: var(--open-fg); }
.gz-v.g-self .gz-v-g { color: var(--brand-navy); }
.gz-v-w { margin: 4px 0 3px; color: var(--brand-navy); font: 600 15px/1.35 var(--font-display); letter-spacing: -0.01em; }
.gz-v-o { font-size: 14.5px; }
.gz-more { margin: 4px 0 0; padding: 8px 10px; border: 1px dashed var(--azure-6); border-radius: var(--r-2); color: var(--text-3); font: 400 italic 14.5px/1.25 var(--font-ui); }
/* the gauntlet, run across everything they produced */
.gz-prod { margin-top: 14px; padding: 16px 18px 15px; border: 1px solid var(--border); border-radius: var(--r-3); background: var(--sky-2); }
.gz-prod-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 8px; }
.gz-prod-f { color: var(--text-3); font: 500 12.5px/1.2 var(--font-mono); white-space: nowrap; }
.gz-prod-f b { font-weight: 500; }
.gz-prod .num { font-size: clamp(32px, 3.4vw, 46px); }
.gz-prod-l { display: block; margin-top: 4px; color: var(--text-2); font-size: 15px; line-height: 1.35; }
.gz-mix { display: flex; gap: 2px; height: 8px; margin-top: 12px; }
.gz-mix i { flex: 0 0 auto; min-width: 3px; background: var(--ok); transition: opacity .2s; }
.gz-mix.one i { opacity: .22; } .gz-mix.one i.on { opacity: 1; }
.gz-mix-c { min-height: 2.9em; margin-top: 7px; }
.gz-prod-r { display: flex; align-items: baseline; gap: 9px; margin: 6px 0 0; color: var(--text); font-size: 15.5px; line-height: 1.35; }
.gz-prod-r b { font-weight: 600; font-variant-numeric: tabular-nums; }
/* what it found: the register, by what each finding is */
.gz-foot { display: grid; gap: 12px; }
.gz-reg-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 0; }
.gz-reg-n { color: var(--text-2); font-size: 15px; }
.gz-reg-n .num { display: inline-block; margin-right: 6px; font-size: clamp(28px, 2.8vw, 38px); vertical-align: -3px; }
.gz-carry { margin-left: auto; font-size: 15px; }
.gz-reg-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 318px), 1fr)); gap: 6px; }
.gz-g { position: relative; display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 7px 11px 9px; border: 1px solid var(--slate-6); border-radius: var(--r-2); background: #ffffff; color: var(--brand-navy); font: 600 14.5px/1.25 var(--font-display); letter-spacing: -0.005em; text-align: left; cursor: pointer; overflow: hidden; transition: border-color .15s, box-shadow .15s, background .15s; }
.gz-g:hover { border-color: var(--brand-azure); }
.gz-g[aria-pressed="true"] { border-color: var(--brand-navy); box-shadow: 0 0 0 1px var(--brand-navy); }
.gz-g > span { flex: 1 1 auto; min-width: 0; }
.gz-g > b { flex: none; color: var(--text-2); font: 500 12.5px/1 var(--font-mono); white-space: nowrap; }
.gz-g > b em { font-style: normal; font-variant-numeric: tabular-nums; }
.gz-g-bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--adv); opacity: .7; transform: scaleX(var(--w, 0)); transform-origin: 0 50%; }
.gz-g[data-grade="dis"] .gz-g-bar, .gz-g[data-grade="miss"] .gz-g-bar { background: var(--open); }
.gz-g[data-grade="self"] .gz-g-bar { background: var(--brand-navy); }
/* under the register: the verifications that found the grade in view. It keeps its room, so nothing below it moves */
.gz-reg-by { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; min-height: 36px; margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.35; }
.gz-reg-0 { color: var(--text-3); }
.gz-reg-byl { color: var(--brand-navy); font: 700 11.5px/1.3 var(--font-display); letter-spacing: .09em; text-transform: uppercase; }
.gz-by { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 3px 10px 3px 4px; border: 1px solid var(--slate-6); border-radius: var(--r-2); background: #ffffff; }
.gz-by-n { padding: 2px 5px; background: var(--brand-navy); color: #ffffff; font: 500 12px/1.3 var(--font-mono); }
.gz-by-t { color: var(--brand-navy); font: 600 14.5px/1.25 var(--font-display); letter-spacing: -0.005em; }
.gz-by b { color: var(--text-3); font: 500 12.5px/1 var(--font-mono); white-space: nowrap; }
.gz-reg-by .gz-to-wall { margin-left: 4px; font-size: 15px; }
.gz-foot .fig-note { max-width: 78em; }
.gz-ask { margin: 0; color: var(--brand-navy); font: 700 clamp(16px, 1.5vw, 19px)/1.3 var(--font-display); letter-spacing: -0.015em; }

@media (max-width: 1179px) {
  .gz-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gz-col:nth-child(3) { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(14px, 1.6vw, 22px); align-items: start; margin-top: 14px; }
  .gz-col:nth-child(3) .gz-prod { margin-top: 0; }
}
@media (max-width: 899px) {
  .gz-bench { grid-template-columns: 1fr; }
}
/* a phone: each family folds to a line of its squares, and opens to its verifications */
@media (max-width: 699px) {
  .gz-files { gap: 6px; }
  .gz-file { padding: 10px 8px 8px; }
  .gz-file b { font-size: 14.5px; }
  .gz-file small { display: none; }
  .gz-file-k, .gz-file-r { grid-column: 1 / -1; }
  .gz-file-s { font-size: 14px; }
  .gz-file-r { font-size: 12.5px; }
  .gz-run { width: 100%; }
  .gz-strip { max-width: none; }
  .gz-v-b { font-size: 13px; }
  .gz-g > b { font-size: 13px; }
  .gz-open, .gz-carry { display: inline-flex; align-items: center; min-height: 40px; }
  .gz-carry { margin-left: 0; }
  .gz-kinds .gz-l { width: 100%; }
  .gz-kind { min-height: 40px; }
  .gz .fig-note { font-size: 14px; }
  .gz-wall { grid-template-columns: 1fr; gap: 6px; }
  .gz-col, .gz-col-a { display: contents; }
  .gz-col:nth-child(3) { display: contents; }
  .gz-fam + .gz-fam { margin-top: 0; }
  .gz-fam-h { margin: 0; padding: 0; border: 0; }
  .gz-fam-n { display: none; }
  .gz-fam-b { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 10px; align-items: center; width: 100%; min-height: 54px; padding: 9px 36px 9px 12px; border: 1px solid var(--slate-6); border-radius: var(--r-2); background: #ffffff; color: var(--brand-navy); font: inherit; letter-spacing: inherit; text-align: left; text-transform: inherit; cursor: pointer; }
  .gz-fam-b::after { content: ''; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border-right: 2px solid var(--azure-11); border-bottom: 2px solid var(--azure-11); transform: rotate(45deg); transition: transform .2s var(--ease); }
  .gz-fam.is-open .gz-fam-b::after { margin-top: -2px; transform: rotate(-135deg); }
  .gz-fam.is-open .gz-fam-b { border-color: var(--brand-navy); }
  .gz-fam-t { color: var(--brand-navy); font: 700 15px/1.25 var(--font-display); letter-spacing: -0.01em; text-transform: none; }
  .gz-fam-q { display: flex; align-items: center; gap: 3px; justify-self: end; }
  .gz-fam-q i { width: 8px; height: 8px; transition: background .12s, transform .2s var(--spring); }
  .gz-fam-q i.gz-m { border-width: 2px; }
  .gz-fam-c { grid-column: 1 / -1; color: var(--text-3); font: 500 14px/1.25 var(--font-mono); letter-spacing: 0; text-transform: none; }
  .gz-fam-l { display: none; margin-top: 6px; }
  .gz-fam.is-open .gz-fam-l { display: block; }
  .gz-v-r { min-height: 40px; }
  .gz-v-fb { padding-left: 38px; }
  .gz-v-o { display: inline-flex; align-items: center; min-height: 40px; }
  .gz-more { margin-top: 0; }
  .gz-prod { margin-top: 6px; }
  .gz-g { min-height: 44px; }
  .gz-reg-by { align-items: stretch; }
  .gz-reg-byl { flex: 1 1 100%; }
  .gz-by { flex: 1 1 100%; min-height: 40px; }
  .gz-by b { margin-left: auto; font-size: 14px; }
  .gz-reg-by .gz-to-wall { display: inline-flex; align-items: center; min-height: 40px; margin-left: 0; }
}

/* ================= the pattern ================= */
.gz-lead { max-width: 30em; margin: 0; color: var(--brand-navy); font: 600 clamp(18px, 1.9vw, 24px)/1.25 var(--font-display); letter-spacing: -0.02em; }
.gz-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 16px; }
.gz-fav { min-height: 40px; }
.gz-fav i { width: 16px; height: 2px; background: currentColor; transform: rotate(-9deg); }
.gz-keys { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; margin-left: auto; }
.gz-key { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 9px; border: 1px solid transparent; border-radius: var(--r-2); background: none; color: var(--text-2); font: 600 13px/1.2 var(--font-display); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.gz-key:hover { border-color: var(--slate-6); color: var(--brand-navy); }
.gz-key[aria-pressed="true"] { border-color: var(--brand-navy); background: var(--sky-3); color: var(--brand-navy); }
.gz-key .gz-ring { box-sizing: border-box; width: 11px; height: 11px; border: 2px solid var(--brand-navy); background: #ffffff; }
.gz-pat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 290px); gap: clamp(16px, 2.6vw, 36px); align-items: start; margin-top: 14px; }
.gz-main { min-width: 0; }

/* the field: thirty-four squares, one for each finding, and whatever they are sorted into */
.gz-field { position: relative; height: 300px; touch-action: pan-y; }
.gz-cap, .gz-rl, .gz-rc, .gz-fv, .gz-beam, .gz-fulc, .gz-one { position: absolute; left: 0; top: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s, visibility 0s .25s; }
.gz-cap { opacity: 1; visibility: visible; }
.gz-rl b { display: block; color: var(--text-2); font: 600 15px/1.25 var(--font-display); letter-spacing: -0.015em; }
.gz-rl.hot b { color: var(--brand-navy); font-weight: 700; }
.gz-rl small { display: block; margin-top: 1px; color: var(--text-3); font: 400 13px/1.3 var(--font-ui); }
.gz-rc { color: var(--text-3); font: 500 13px/14px var(--font-mono); white-space: nowrap; }
.gz-rc.hot { color: var(--adv-fg); font-size: 14.5px; }
.gz-field.is-compact .gz-rc.hot { left: auto; right: 0; }
.gz-field.is-compact .gz-rc.hot span { display: none; }
.gz-pattern[data-view="issue"] .gz-rl[data-v="issue"], .gz-pattern[data-view="issue"] .gz-rc[data-v="issue"],
.gz-pattern[data-view="witness"] .gz-rl[data-v="witness"], .gz-pattern[data-view="witness"] .gz-rc[data-v="witness"],
.gz-pattern[data-view="favour"] .gz-fv, .gz-pattern[data-view="favour"] .gz-beam, .gz-pattern[data-view="favour"] .gz-fulc,
.gz-pattern.is-one .gz-one { opacity: 1; visibility: visible; transition: opacity .45s .4s; }
.gz-pattern[data-view="favour"] .gz-beam, .gz-pattern[data-view="favour"] .gz-fulc { transition-delay: 0s; }
.gz-one { color: var(--text-2); font: 600 15px/1.2 var(--font-display); white-space: nowrap; }
.gz-beam { height: 3px; background: var(--brand-navy); transform-origin: 50% 0; }
.gz-fulc { width: 24px; height: 18px; background: var(--brand-navy); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.gz-fv b { display: block; color: var(--adv); font: 800 clamp(36px, 4.4vw, 60px)/.95 var(--font-display); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.gz-fv span { display: block; max-width: 12em; margin-top: 5px; color: var(--text-2); font: 600 13.5px/1.25 var(--font-display); }
.gz-fv.us { left: auto; right: 0; text-align: right; }
.gz-field.is-compact .gz-fv span { max-width: 9em; }
.gz-fv.us b { color: var(--slate-9); }
.gz-pts { position: absolute; inset: 0; }
.gz-pt { position: absolute; left: 0; top: 0; width: var(--gz-s); height: var(--gz-s); padding: 0; border: 0; border-radius: 0; background: none; cursor: pointer; }
.gz-pt::before { content: ''; position: absolute; inset: -3px; }
.gz-pt .gz-m { display: block; width: 100%; height: 100%; transition: opacity .25s, box-shadow .15s, transform .2s var(--spring); }
.gz-field.is-big .gz-pt .gz-m.alt, .gz-field.is-big .gz-pt .gz-m.dis { border-width: 3px; }
.gz-pt.is-hero .gz-m { box-shadow: 0 0 0 1.5px #ffffff, 0 0 0 3px var(--brand-navy); }
.gz-field.is-compact .gz-pt.is-hero .gz-m { box-shadow: 0 0 0 1.5px var(--brand-navy); }
.gz-pt.is-hot, .gz-pt.is-sel { z-index: 3; }
.gz-pt.is-hot .gz-m { transform: scale(1.3); }
.gz-pt.is-sel .gz-m { box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--brand-azure); }
.gz-field[data-dim="imp"] .gz-pt:not(.g-imp) .gz-m, .gz-field[data-dim="alt"] .gz-pt:not(.g-alt) .gz-m,
.gz-field[data-dim="dis"] .gz-pt:not(.g-dis) .gz-m, .gz-field[data-dim="hero"] .gz-pt:not(.is-hero) .gz-m { opacity: .2; }

/* the finding under the pointer, in a line */
.gz-read { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; align-items: start; min-height: 104px; margin-top: 12px; padding: 12px 14px; border: 1px solid var(--border-row); border-radius: var(--r-2); background: var(--sky-2); }
.gz-read p { margin: 0; }
.gz-read-0 { align-self: center; color: var(--text-3); font-size: 15px; }
.gz-read-g { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 9px; color: var(--adv-fg); font: 700 15.5px/1.3 var(--font-display); letter-spacing: -0.01em; }
.gz-read-g.g-dis { color: var(--open-fg); }
.gz-read-g span { color: var(--text-3); font: 500 12px/1.3 var(--font-mono); letter-spacing: 0; }
.gz-read-d { margin-top: 5px !important; color: var(--text); font-size: 15px; line-height: 1.4; }
.gz-read-d b { color: var(--brand-navy); font-weight: 600; }
.gz-read-k { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 18px; margin: 8px 0 0; }
.gz-read-k dt { color: var(--text-3); font: 700 11px/1.3 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.gz-read-k dd { margin: 2px 0 0; color: var(--brand-navy); font-size: 14.5px; line-height: 1.3; }
.gz-read-k dd small { display: block; color: var(--text-3); font-size: 13px; }
.gz-vn { margin-right: 7px; color: var(--azure-11); font: 500 12.5px/1 var(--font-mono); }
.gz-read-n { display: flex; gap: 4px; }
.gz-step { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--slate-6); border-radius: var(--r-2); background: #ffffff; cursor: pointer; transition: border-color .15s; }
.gz-step:hover { border-color: var(--brand-azure); }
.gz-step i { width: 8px; height: 8px; border-right: 2px solid var(--azure-11); border-bottom: 2px solid var(--azure-11); transform: translateX(-2px) rotate(-45deg); }
.gz-step[data-step="-1"] i { transform: translateX(2px) rotate(135deg); }

/* what the sorting shows: three lines that light as each is found */
.gz-tally { margin: 8px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--border-row); }
.gz-tally li { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--border-row); color: var(--text-2); font: 600 clamp(16px, 1.5vw, 19px)/1.25 var(--font-display); letter-spacing: -0.015em; transition: color .3s; }
.gz-tally i { flex: none; box-sizing: border-box; width: 11px; height: 11px; border: 2px solid var(--slate-7); background: #ffffff; transition: background .3s, border-color .3s, transform .45s var(--spring); }
.gz-tally li.on { color: var(--brand-navy); font-weight: 700; }
.gz-tally li.on i { border-color: var(--brand-navy); background: var(--brand-navy); transform: scale(1.18); }
.gz-tally li.on.fav { color: var(--adv-fg); }
.gz-tally li.on.fav i { border-color: var(--adv); background: var(--adv); }
.gz-say { margin-top: 14px; font-size: 15px; font-weight: 500; color: var(--text-2); }

/* what it goes to: the party's pleaded case, and the witness whose documents these are */
.gz-close { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); margin-top: clamp(26px, 3vw, 36px); border: 1px solid var(--border); border-radius: var(--r-3); background: #ffffff; box-shadow: var(--shadow-2); }
.gz-cred { position: absolute; left: 18px; top: -14px; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 5px 11px 5px 10px; border: 1px solid var(--slate-7); border-radius: var(--r-2); background: #ffffff; color: var(--text-2); font: 700 11.5px/1.3 var(--font-display); letter-spacing: .09em; text-transform: uppercase; transition: background .35s, color .35s, border-color .35s, transform .5s var(--spring); }
.gz-cred i { box-sizing: border-box; width: 9px; height: 9px; border: 2px solid var(--slate-7); background: #ffffff; transition: background .35s, border-color .35s; }
.gz-pattern.has-all .gz-cred { border-color: var(--brand-navy); background: var(--brand-navy); color: #ffffff; transform: scale(1.06); }
.gz-pattern.has-all .gz-cred i { border-color: #ffffff; background: #ffffff; }
.gz-cp { min-width: 0; padding: 26px 22px 20px; border-top: 3px solid transparent; border-radius: var(--r-3) 0 0 var(--r-3); transition: border-color .4s, background .4s; }
.gz-cp + .gz-cp { border-left: 1px solid var(--border-row); border-radius: 0 var(--r-3) var(--r-3) 0; }
.gz-cp-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 14px; margin: 0; }
.gz-cp-h > span:not(.gz-l) { color: var(--text-3); font: 500 12px/1.3 var(--font-mono); }
.gz-quote { margin: 12px 0 0; padding: 0; color: var(--text); font: 400 clamp(18px, 1.85vw, 25px)/1.4 var(--font-serif); }
.gz-cp p { margin: 10px 0 0; color: var(--text-2); font-size: 15px; line-height: 1.4; }
.gz-cp p.gz-cp-h { margin: 0; }
.gz-pattern.has-issue .gz-cp-party { border-top-color: var(--open); }
.gz-pattern.has-witness .gz-cp-wit { border-top-color: var(--brand-azure); background: var(--sky-2); }
.gz-xx { display: flex; align-items: center; gap: 12px; }
.gz-xx .num { flex: none; min-width: 1.2em; }
.gz-xx span { color: var(--text-2); font-size: 15px; line-height: 1.3; }
.gz-xx em { display: block; color: var(--adv-fg); font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; visibility: hidden; opacity: 0; transition: opacity .4s, visibility 0s .4s; }
.gz-pattern.has-witness .gz-xx em { visibility: visible; opacity: 1; transition: opacity .4s; }

/* what the rules allow */
.gz-rules { display: grid; grid-template-columns: minmax(140px, .55fr) repeat(3, minmax(0, 1fr)); gap: 14px clamp(14px, 2vw, 28px); align-items: start; }
.gz-rules-l span { display: block; }
.gz-rules-l .gz-l + .gz-l { margin-top: 3px; }
.gz-rule { min-width: 0; padding-left: 14px; border-left: 3px solid var(--brand-azure); }
.gz-rule b { display: block; color: var(--brand-navy); font: 700 16px/1.25 var(--font-display); letter-spacing: -0.01em; }
.gz-rule-d { display: block; margin: 4px 0 8px; color: var(--text-2); font-size: 14.5px; line-height: 1.4; }
.gz-rule .rule { max-width: 100%; white-space: normal; }

@media (max-width: 1019px) {
  .gz-pat { grid-template-columns: 1fr; }
  .gz-keys { margin-left: 0; }
  .gz-rules { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gz-rules-l { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 2px 14px; }
  .gz-rules-l .gz-l + .gz-l { margin-top: 0; }
}
@media (max-width: 899px) {
  .gz-rules { grid-template-columns: 1fr; }
}
@media (max-width: 699px) {
  .gz-sort { display: flex; width: 100%; overflow: visible; }
  .gz-sort button { flex: 1 1 0; min-height: 46px; padding: 6px 8px; line-height: 1.2; white-space: normal; }
  .gz-sort button:nth-child(2) { flex-grow: 1.5; }
  .gz-fav { flex: 1 1 100%; justify-content: center; min-height: 44px; }
  .gz-key { min-height: 40px; font-size: 14px; }
  .gz-rl small, .gz-rc, .gz-fv span, .gz-read-k dd small { font-size: 14px; }
  .gz-read { grid-template-columns: 1fr; min-height: 168px; align-content: start; }
  .gz-read-k { grid-template-columns: 1fr; gap: 7px; }
  .gz-read-k > div { display: grid; grid-template-columns: 6.6em minmax(0, 1fr); gap: 10px; align-items: baseline; }
  .gz-read-k dd { margin: 0; }
  .gz-read-d .link-btn { display: inline-flex; align-items: center; min-height: 40px; }
  .gz-read-n { grid-row: 1; justify-self: end; margin-bottom: -46px; position: relative; z-index: 2; }
  .gz-read-g { padding-right: 96px; min-height: 40px; }
  .gz-read-0 { padding-right: 96px; min-height: 40px; align-self: start; }
  .gz-close { grid-template-columns: 1fr; }
  .gz-cp { border-radius: var(--r-3) var(--r-3) 0 0; }
  .gz-cp + .gz-cp { border-left: 0; border-top: 1px solid var(--border-row); border-radius: 0 0 var(--r-3) var(--r-3); }
  .gz-pattern.has-witness .gz-cp-wit { border-top-color: var(--brand-azure); }
}
