/* Levers 1 to 3 (ch-levers-1-3.js). Every class starts with pa-. Mock pieces come from kit.css (pk-). */

/* ---------- shared ---------- */
.scene.pa-w .ps-stack__i, .scene.pa-p1 .ps-stack__i, .scene.pa-p2 .ps-stack__i, .scene.pa-how .ps-stack__i { display: grid; gap: 10px; justify-items: start; align-content: start; }
.scene.pa-w .ps-note { color: rgb(255 255 255 / .86); }
.scene.pa-w .ps-tag--line { color: rgb(255 255 255 / .82); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .26); }

/* labels over 3D: opaque chips, 15 px (14 on compact and phone) */
.scene .pa-lab { font-size: 15px; line-height: 1.2; color: #fff; }
.scene .pa-lab--o { box-shadow: inset 0 0 0 1px rgb(255 127 50 / .7), 0 0 18px -4px rgb(255 127 50 / .45); }
.scene .pa-lab--g { box-shadow: inset 0 0 0 1px rgb(164 240 184 / .6); }
.scene .pa-lab--a { box-shadow: inset 0 0 0 1px rgb(156 231 221 / .7), 0 0 18px -4px rgb(156 231 221 / .4); }
.scene .pa-lab--r { box-shadow: inset 0 0 0 1px rgb(240 168 152 / .75), 0 0 18px -4px rgb(240 168 152 / .4); }
.scene .pa-lab--w { box-shadow: inset 0 0 0 1px rgb(255 214 160 / .7), 0 0 18px -4px rgb(255 190 120 / .45); }
.scene .pa-lab--grey { box-shadow: inset 0 0 0 1px rgb(200 208 222 / .45); }

/* ---------- l1-proof: a dot for every page ---------- */
.pa-p1__wrap { position: absolute; inset: 0; }
.pa-p1__cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.pa-p1__k, .pa-p1__cap { position: absolute; left: 0; top: 0; will-change: transform; }
.pa-p1__k { display: grid; gap: 2px; white-space: nowrap; }
.pa-p1--narrow .pa-p1__k { display: flex; align-items: baseline; gap: 8px; }
.pa-p1--narrow .pa-p1__v { font-size: clamp(20px, 2.4vw, 30px); }
.pa-p1__v { font-size: clamp(28px, 2.9vw, 48px); line-height: 1; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: #111; }
.pa-p1__l { font-size: clamp(15px, 1.15vw, 18px); line-height: 1.3; color: var(--s-muted); }
.pa-p1__cap { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--s-muted); white-space: nowrap; }
.pa-p1__cap i { width: 8px; height: 8px; border-radius: 50%; background: #111; }
.scene .pa-p1__q { margin: 2px 0; padding: 10px 16px 10px 18px; border-radius: 8px; background: #FFF4EC; box-shadow: inset 3px 0 0 var(--cta, #FF7F32); font-size: clamp(17px, 1.5vw, 24px); line-height: 1.25; font-weight: 500; letter-spacing: -.01em; color: #111; }

/* ---------- product mocks: shared ---------- */
.pa-how .ps-vis { min-height: 0; }

/* ---------- l1-how: the sitemap and the search list ---------- */
.pa-h1__stage { position: absolute; inset: 0; }
.pa-h1__win { position: absolute; left: 0; top: 0; width: min(100%, 980px); max-height: 100%; transition: width .7s cubic-bezier(.2,.7,.2,1), height .7s cubic-bezier(.2,.7,.2,1); }
.pa-h1__win .pk-win__body { padding: 16px 20px 20px; }
.pa-xml { display: grid; gap: 4px; font-size: 17px; line-height: 1.4; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .35s; }
.pa-xml.is-on { opacity: 1; }
.pa-xml__r { display: flex; align-items: center; min-height: 28px; padding: 0 8px 0 24px; border-radius: 4px; white-space: nowrap; transition: background .35s; }
.pa-xml__r--head { padding-left: 0; }
.pa-xml__tag { color: #9AA0A6; }
.pa-xml__u { color: #202124; margin: 0 2px; }
.pa-xml__dir { background: none; color: inherit; padding: 1px 2px; border-radius: 3px; transition: background .35s, color .35s; }
.pa-xml__r--loc.is-lit { background: #FFF4EC; }
.pa-xml__r--loc.is-lit .pa-xml__dir { background: #FF7F32; color: #fff; }
.pa-xml__pre { display: none; }
.pa-h1__ex { position: absolute; z-index: 2; }
.pa-h1__win .pa-h1__ex { right: 14px; top: 54px; }
.pa-h1__stage > .pa-h1__ex { right: 0; bottom: 0; }
.pk-win__bar > .pa-h1__ex { position: static; flex: none; }
/* beat 2: the browser steps back into a narrow pane (its lines become bars), the search list comes in */
.pa-h1__card { position: absolute; right: 0; top: 0; width: 56%; display: grid; align-content: start; gap: 6px; padding: 12px 6px 6px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / .08), 0 30px 60px -30px rgb(30 40 60 / .35); opacity: 0; transform: translateY(16px); transition: opacity .5s .25s, transform .7s .2s cubic-bezier(.2,.7,.2,1); }
.pa-h1__tools { display: flex; align-items: center; gap: 10px; padding: 0 12px 8px; border-bottom: 1px solid #E8EAED; }
.pa-h1__search { display: inline-flex; align-items: center; width: 160px; height: 30px; padding: 0 10px; border-radius: 15px; box-shadow: inset 0 0 0 1px #DADCE0; }
.pa-h1__tb { font-size: 17px; }
.pa-h1__tb .pk-tb__r { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.25fr) auto; min-height: 58px; padding: 0 16px; }
.pa-h1__tb .pk-tb__r--head { min-height: 42px; font-size: 15px; }
.pa-vol { display: inline-flex; align-items: center; justify-content: flex-end; gap: 10px; width: 100%; }
.pa-vol__bar { position: relative; width: 96px; height: 14px; border-radius: 3px; box-shadow: inset 0 0 0 1px #E3E5E8; overflow: hidden; flex: none; }
.pa-vol__bar i { position: absolute; left: 2px; top: 2px; bottom: 2px; width: calc((100% - 4px) * var(--v)); background: radial-gradient(circle, #1A73E8 1.4px, transparent 1.8px) 0 0 / 4px 4px; }
.pa-vol__n { min-width: 3.2em; text-align: right; }
.pa-strike { position: relative; }
.pa-strike::after { content: ""; position: absolute; left: -2px; right: -2px; top: 54%; height: 2px; border-radius: 1px; background: #A4372A; transform: scaleX(0); transform-origin: left; transition: transform .45s .1s; }
.pk-tb__r.is-rose .pa-strike { color: #A4372A; }
.pk-tb__r.is-rose .pa-strike::after { transform: scaleX(1); }
.pk-tb__r.is-rose .pa-vol__bar i { background-image: radial-gradient(circle, #C5705F 1.4px, transparent 1.8px); }
.pa-h1__tb .pk-chip { opacity: 0; transform: scale(.85); transition: opacity .35s, transform .35s; }
.pa-h1__tb .pk-chip.is-on { opacity: 1; transform: none; }
.pa-b1 .pa-h1__win { width: 40%; }
.pa-b1 .pa-h1__card { opacity: 1; transform: none; }
.pa-b1 .pa-xml__tag, .pa-b1 .pa-xml__dom, .pa-b1 .pa-xml__rest { display: none; }
.pa-b1 .pa-xml__u { display: inline-flex; align-items: center; gap: 8px; }
.pa-b1 .pa-xml__pre { display: inline-flex; }
.pa-b1 .pa-xml__r--loc.is-lit { background: none; }

/* ---------- l2-proof: a unit chart (beat 1), then the signup line (beat 2) ---------- */
.pa-p2__wrap { position: absolute; inset: 0; }
.pa-p2__dots { position: absolute; inset: 0; transition: opacity .45s, visibility 0s .45s; }
.pa-p2__dcv { position: absolute; inset: 0; width: 100%; height: 100%; }
.pa-p2__val, .pa-p2__cap, .pa-p2__key { position: absolute; left: 0; top: 0; white-space: nowrap; will-change: transform; }
.pa-p2__val { display: grid; justify-items: center; font-weight: 500; line-height: 1.05; color: #111; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .35s; }
.pa-p2__val.is-on { opacity: 1; }
.pa-p2__val small { font-size: clamp(15px, 1.2vw, 18px); font-weight: 500; color: var(--s-muted); }
.pa-p2__val span { font-size: clamp(30px, 3.2vw, 54px); letter-spacing: -.03em; }
.pa-p2__val--o span { color: var(--cta, #FF7F32); }
.pa-p2__cap { font-size: clamp(15px, 1.15vw, 18px); color: #111; font-weight: 500; }
.pa-p2__key { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--s-muted); }
.pa-p2__key i { width: 9px; height: 9px; border-radius: 50%; background: #A9A6A0; box-shadow: 13px 0 0 #FF7F32; margin-right: 13px; }
.pa-p2__chart { position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .5s .25s, visibility 0s .75s; }
.pa-p2__cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.pa-p2__ct { position: absolute; left: 0; top: 0; font-size: clamp(15px, 1.2vw, 18px); font-weight: 500; color: #111; white-space: nowrap; }
.pa-p2__pv, .pa-p2__pm { position: absolute; left: 0; top: 0; white-space: nowrap; }
.pa-p2__pv { font-size: clamp(18px, 1.7vw, 28px); font-weight: 500; line-height: 1.1; color: #111; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .3s; }
.pa-p2__pv.is-on { opacity: 1; }
.pa-p2__pv--o { color: #D9601C; }
.pa-p2__pm { font-size: clamp(14px, 1.1vw, 17px); line-height: 1.2; color: var(--s-muted); }
.pa-p2__pulse { position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; opacity: 0; }
.pa-p2__pulse.is-on { animation: pa-pulse 1.8s ease-out infinite; }
.pa-p2__pulse.is-on { opacity: 1; }
@keyframes pa-pulse { 0% { box-shadow: 0 0 0 0 rgb(255 127 50 / .6); } 100% { box-shadow: 0 0 0 18px rgb(255 127 50 / 0); } }
.pa-p2--b1 .pa-p2__dots { opacity: 0; visibility: hidden; }
.pa-p2--b1 .pa-p2__chart { opacity: 1; visibility: visible; transition: opacity .5s .25s, visibility 0s; }
.scene:not(.is-active) .pa-p2__dots, .scene:not(.is-active) .pa-p2__chart { transition: none; }

/* ---------- l2-how: the data sheet ---------- */
.pa-h2__stage { position: absolute; inset: 0; }
.pa-h2__win { position: absolute; left: 0; top: 0; width: min(100%, 1040px); max-height: 100%; }
.pa-h2__ex { margin-left: auto; }
.pa-h2__tools { display: flex; align-items: center; gap: 14px; padding: 9px 16px; border-bottom: 1px solid #E3E5E8; background: #F8F9FA; }
.pa-h2__fx { display: flex; align-items: center; gap: 12px; padding: 6px 16px; border-bottom: 1px solid #E3E5E8; }
.pa-h2__fxi { display: inline-flex; gap: 2px; padding-right: 12px; border-right: 1px solid #E3E5E8; }
.pa-h2__fxi i { width: 7px; height: 9px; border-radius: 2px; background: #9AA0A6; }
.pa-h2__sheet { font-size: 17px; }
.pa-h2__sheet .pk-sheet__r { grid-template-columns: 40px minmax(0, 1fr) minmax(0, .7fr) minmax(0, 1.5fr) minmax(0, .8fr); position: relative; }
.pa-h2__sheet .pk-sheet__r > span { padding: 10px 12px; min-height: 44px; }
.pa-h2__sheet .pk-sheet__r--letters > span { min-height: 0; padding: 4px; }
.pa-h2__empty { box-shadow: inset 0 0 0 2px #D96A55; animation: pa-empty 1.2s ease-in-out infinite; }
@keyframes pa-empty { 50% { background: #F6C9BE; } }
.pa-h2__chip { position: absolute; right: 12px; top: 50%; translate: 0 -50%; opacity: 0; transition: opacity .35s; }
.pa-h2__chip.is-on { opacity: 1; }
.pa-h2__tabs { display: flex; gap: 4px; padding: 8px 16px; background: #F8F9FA; border-top: 1px solid #E3E5E8; }
.pa-h2__tabs span { display: inline-flex; padding: 6px 12px; border-radius: 4px; }
.pa-h2__tabs .is-on { background: #E6F4EA; }

/* ---------- l3-how: Claude Code checks a batch ---------- */
.pa-h3__stage { position: absolute; inset: 0; display: grid; align-items: start; }
.pa-h3__win { width: min(100%, 840px); height: min(100%, 540px); font-size: 17px; }
.pa-h3__bad .pk-ln__t { flex: 1; }
.pa-h3__win .pk-win__body { padding: 18px 22px 20px; gap: 8px; }
.pa-h3__ex { margin-left: auto; }
.pa-h3__file { display: flex; align-items: center; gap: 10px; font-size: 17px; color: #fff; }
.pa-h3__file b { font-weight: 500; }
.pa-h3__fi { display: inline-grid; color: #D97757; }
.pa-h3__ok { display: none; color: #6FD39A; }
.pa-h3__specs { display: grid; gap: 6px; margin: 4px 0 6px 8px; padding: 8px 0 8px 18px; border-left: 2px solid rgb(217 119 87 / .55); }
.pa-h3__spec { position: relative; font-size: 17px; line-height: 1.4; color: #EDE7E1; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s; }
.pa-h3__spec::before { content: ""; position: absolute; left: -14px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: #D97757; }
.pa-h3__spec.is-on { opacity: 1; transform: none; }
.pa-h3__run { display: none; gap: 8px; }
.pa-h3__prog { position: relative; height: 10px; border-radius: 5px; background: rgb(255 255 255 / .1); overflow: hidden; margin: 6px 0 4px; }
.pa-h3__prog i { position: absolute; inset: 0; background: linear-gradient(90deg, #D97757, #FFB27F); transform-origin: left; transform: scaleX(0); }
.pa-k1 .pa-h3__prog i { transform: scaleX(1); transition: transform 1.3s cubic-bezier(.4,.1,.3,1); }
.pa-h3__res, .pa-h3__bad { opacity: 0; transition: opacity .35s; }
.pa-k2 .pa-h3__res, .pa-k3 .pa-h3__bad { opacity: 1; }
.pa-h3__res { font-size: 18px; font-weight: 500; }
.pa-h3__bad { display: grid; gap: 6px; padding: 10px 12px; border-radius: 8px; background: rgb(225 120 100 / .1); box-shadow: inset 0 0 0 1px rgb(240 168 152 / .25); }
.pa-h3__win .pk-ln { font-size: 17px; }
.pa-ran .pa-h3__specs, .pa-chk .pa-h3__specs { display: none; }
/* beat 2: three yes or no checks, each answered in turn */
.pa-h3__cks { display: none; gap: 10px; margin: 6px 0 4px; }
.pa-chk .pa-h3__cks { display: grid; }
.pa-chk .pa-h3__ok { display: inline-grid; }
.pa-h3__ck { display: flex; align-items: baseline; gap: 10px; padding: 8px 12px; border-radius: 8px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); color: #EDE7E1; line-height: 1.35; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s, background .3s, box-shadow .3s; }
.pa-h3__ck.is-on { opacity: 1; transform: none; }
.pa-h3__cki { display: inline-grid; align-self: center; flex: none; opacity: 0; transition: opacity .3s; }
.pa-h3__ckq { min-width: 0; }
.pa-h3__yn { margin-left: auto; padding: 1px 10px; border-radius: 10px; font-weight: 500; opacity: 0; transition: opacity .3s; }
.pa-h3__ck.is-ans .pa-h3__cki, .pa-h3__ck.is-ans .pa-h3__yn { opacity: 1; }
.pa-h3__ck--ok .pa-h3__cki { color: #6FD39A; }
.pa-h3__ck--ok .pa-h3__yn { color: #0E2A19; background: #6FD39A; }
.pa-h3__ck--bad .pa-h3__cki { color: #F0A898; }
.pa-h3__ck--bad .pa-h3__yn { color: #3A140C; background: #F0A898; }
.pa-h3__ck--bad.is-ans { background: rgb(225 120 100 / .12); box-shadow: inset 0 0 0 1px rgb(240 168 152 / .4); }
.scene:not(.is-active) .pa-h3__ck, .scene:not(.is-active) .pa-h3__cki, .scene:not(.is-active) .pa-h3__yn { transition: none; }
.pa-ran .pa-h3__run { display: grid; }
.pa-ran .pa-h3__ok { display: inline-grid; }
.pa-h3__caret::after { content: ""; display: inline-block; width: 9px; height: 1.1em; vertical-align: -0.2em; background: rgb(255 255 255 / .75); animation: pa-blink 1s steps(1) infinite; }
@keyframes pa-blink { 50% { opacity: 0; } }
.scene.pa-h3 .ps-stat__v { font-size: clamp(36px, 3.8vw, 64px); }

/* compact and phone */
@media (max-width: 959px), (max-height: 599px) {
  .scene .pa-lab { font-size: 14px; }
  .pa-p1__v { font-size: clamp(22px, 3.4vw, 30px); }
  .pa-p1__l, .pa-p1__cap { font-size: 14px; }
  .scene .pa-p1__q { font-size: 15px; padding: 6px 10px 6px 12px; }
  /* the mocks need the height: the text goes left under the title, the mock right */
  .scene.pa-how .ps--stage { grid-template-columns: minmax(0, .38fr) minmax(0, .62fr); grid-template-rows: auto minmax(0, 1fr); column-gap: 24px; }
  .scene.pa-how .ps--stage .ps-side { grid-column: 1; grid-row: 2; }
  .scene.pa-how .ps--stage .ps-vis { grid-column: 2; grid-row: 2; }
  .pa-h1__win .pk-win__body { padding: 8px 10px; }
  .pa-xml { font-size: 14px; gap: 1px; }
  .pa-xml__r { min-height: 20px; padding-left: 6px; }
  .pa-xml__r--head, .pa-xml__r--bar, .pa-xml__tag { display: none; }
  .pa-xml__u { margin: 0; }
  .pa-h1__win { width: 100%; }
  .pa-b1 .pa-h1__win { width: 100%; }
  .pa-h1__card { width: 100%; top: 40px; padding-top: 4px; }
  /* beat 2: the four folders stay as real text in one row under the address bar, the search list below them */
  .pa-b1 .pa-h1__win .pk-win__body { padding: 4px 10px 6px; }
  .pa-b1 .pa-xml { display: flex; flex-wrap: wrap; gap: 2px 6px; }
  .pa-b1 .pa-xml__r--loc { padding: 0; min-height: 22px; }
  .pa-b1 .pa-xml__pre { display: none; }
  .pa-b1 .pa-h1__card { top: 72px; }
  .pa-h1__tools { display: none; }
  .pa-h1__tb { font-size: 14px; }
  .pa-h1__tb .pk-tb__r { min-height: 30px; padding: 0 8px; column-gap: 8px; }
  .pa-h1__tb .pk-tb__r--head { min-height: 26px; font-size: 14px; }
  .pa-vol__bar { width: 44px; height: 12px; }
  .pa-p1--narrow .pa-p1__k { display: flex; align-items: baseline; gap: 8px; }
  .pa-h2__win { width: 100%; }
  .pa-h2__tools, .pa-h2__fx, .pa-h2__tabs { display: none; }
  .pa-h2__sheet { font-size: 14px; }
  .pa-h2__sheet .pk-sheet__r { grid-template-columns: 18px minmax(0, 1fr) minmax(0, .62fr) minmax(0, 1.6fr) minmax(0, .85fr); }
  .pa-h2__sheet .pk-sheet__r > span { padding: 5px 6px; min-height: 30px; }
  .pa-h2__chip { right: 6px; }
  .pa-h2__sheet .pk-sheet__r:nth-last-child(-n+2) { display: none; }
  .pa-h2__sheet .pk-sheet__r > span { text-overflow: clip; }
  .pa-h2__sheet .pk-sheet__r > span:nth-child(4) { white-space: normal; }
  .pa-h2__win .pk-sheet__meta { display: none; }
  .pa-p2__val small, .pa-p2__cap, .pa-p2__ct, .pa-p2__pm, .pa-p2__key { font-size: 14px; }
  .pa-p2__val span { font-size: 24px; }
  .pa-p2__pv { font-size: 17px; }
  .pa-h3__win, .pa-h3__win .pk-ln, .pa-h3__file, .pa-h3__spec, .pa-h3__ck { font-size: 14px; }
  .pa-h3__cks { gap: 5px; margin: 3px 0 2px; }
  .pa-h3__ck { padding: 4px 8px; gap: 7px; }
  .pa-h3__yn { padding: 0 7px; }
  .pa-h3__res { font-size: 15px; }
  .pa-h3__win .pk-win__body { padding: 10px 12px; gap: 5px; }
  .pa-h3__specs { gap: 2px; padding: 4px 0 4px 16px; margin: 2px 0 2px 6px; }
  .pa-h3__bad { padding: 6px 8px; gap: 3px; }
  .scene.pa-h3 .ps-stat__v { font-size: 30px; }
  .scene.pa-h3 .ps-stat { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
  .scene.pa-h3 .ps--split { grid-template-columns: minmax(0, .42fr) minmax(0, .58fr); }
}
@media (max-width: 759px) and (orientation: portrait) {
  .scene.pa-w .ps-scrim--right { display: none; }
  .scene.pa-how .ps--stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr); }
  .scene.pa-how .ps--stage .ps-side { grid-column: 1; grid-row: 2; }
  .scene.pa-how .ps--stage .ps-vis { grid-column: 1; grid-row: 3; }
  .pa-xml__u { white-space: normal; overflow-wrap: anywhere; }
  .pa-xml__r { white-space: normal; }
}
/* l3-why: a narrower text column, so the filter column gets more of the frame */
.scene.pa-w3 .ps--right { grid-template-columns: minmax(0, 1fr) minmax(0, 18em); }
/* compact 3D worlds: a narrower text column, so the world keeps the height and most of the width */
@media (max-width: 959px), (max-height: 599px) {
  .scene.pa-w .ps--right { grid-template-columns: minmax(0, 1fr) minmax(0, 15.5em); column-gap: 20px; }
  .scene.pa-w3 .ps--right { grid-template-columns: minmax(0, 1fr) minmax(0, 14em); }
}
@media (max-width: 759px) and (orientation: portrait) {
  .scene.pa-w .ps--right { grid-template-columns: minmax(0, 1fr); }
}
@media (max-height: 439px), (max-width: 759px) and (orientation: portrait) {
  .pa-h3__prompt { display: none; }
  .pa-h3__ck { padding: 3px 8px; }
  .pa-h3__win { height: auto; max-height: 100%; }
  .pa-h3__spec { line-height: 1.25; }
  .pa-h3__specs { margin: 0 0 0 6px; padding: 2px 0 2px 14px; gap: 1px; }
  .pa-h3__win .pk-win__body { padding: 8px 12px; gap: 3px; }
}
@media (max-height: 439px) {
  .scene.pa-h3 .ps-stat__v { font-size: 32px; }
  .pa-h2__sheet .pk-sheet__r > span { padding: 3px 4px; min-height: 25px; white-space: nowrap; }
  .pa-h2__sheet .pk-sheet__r { grid-template-columns: 14px minmax(0, .95fr) minmax(0, .58fr) minmax(0, 1.72fr) minmax(0, .8fr); }
}
/* shorter desktop frames: the sitemap keeps its four addresses in view */
@media (min-width: 960px) and (min-height: 600px) and (max-height: 780px) {
  .pa-xml { font-size: 16px; gap: 2px; }
  .pa-xml__r { min-height: 25px; }
  .pa-xml__r--bar:nth-child(n+5) { display: none; }
}
@media (max-width: 759px) and (orientation: portrait) {
  .scene.pa-h3 .ps--split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-height: 439px) {
  .scene.pa-p1 .ps--split { grid-template-columns: minmax(0, .44fr) minmax(0, .56fr); }
  .scene .pa-p1__q { font-size: 14px; padding: 4px 10px; }
}
@media (max-width: 959px), (max-height: 599px) {
  .scene.pa-h3 .ps-stack__i { gap: 4px; }
  .scene.pa-h3 .ps-stat__v { font-size: 28px; }
}

/* the shortest frames: l1-how beat 2 keeps the folders and the three searches clear of the HUD; l3-how beat 3 keeps all
 * three blocked reasons in view */
@media (max-height: 439px) {
  .pa-b1 .pa-h1__card { top: 62px; padding-top: 2px; }
  .pa-b1 .pa-h1__win .pk-win__body { padding: 3px 8px 4px; }
  .pa-b1 .pa-xml__r--loc { min-height: 20px; }
  .pa-b1 .pa-h1__tb .pk-tb__r--head { display: none; }
  .pa-b1 .pa-h1__tb .pk-tb__r { min-height: 27px; }
  .pa-ran .pa-h3__prog, .pa-ran .pa-h3__file, .pa-chk .pa-h3__file { display: none; }
  .pa-h3__ck { padding: 2px 8px; line-height: 1.3; }
  .pa-h3__cks { gap: 4px; margin: 2px 0; }
  .pa-h3__bad { padding: 4px 8px; gap: 1px; }
  .pa-h3__win .pk-win__body { gap: 2px; }
}
