.pattern-atlas {
  padding-block: clamp(18px, 3vw, 40px) clamp(32px, 5vw, 68px);
}
.pa-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 18px;
  border-block: 1px solid var(--rule-strong);
  margin: 18px 0 28px;
}
.pa-categories a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-weight: 620;
  text-underline-offset: 4px;
}
.pa-group {
  margin: 0 0 clamp(34px, 5vw, 70px);
}
.pa-group > h2 {
  margin: 0 0 14px;
  font: 650 clamp(1.6rem, 3.2vw, 2.9rem)/1.1 var(--font-body, system-ui, sans-serif);
  letter-spacing: -0.055em;
}
.pa-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 37px) clamp(16px, 3vw, 36px);
}
.pa-specimen {
  min-width: 0;
  container-type: inline-size;
}
.pa-specimen h3 {
  font-size: clamp(1.1rem, 3.6cqi, 1.5rem);
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin: 12px 0 3px;
}
.pa-specimen h3 a {
  color: var(--ink);
  text-decoration: none;
}
.pa-specimen h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pa-specimen > p,
.pa-test p {
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
  max-width: 58ch;
  color: var(--ink-2);
}
.pa-test {
  margin-top: 7px;
}
.pa-test summary {
  font-size: 0.85rem;
  font-weight: 640;
  color: var(--ink);
  cursor: pointer;
  width: fit-content;
  padding-block: 4px;
}
.pa-test p {
  border-inline-start: 2px solid var(--rule-strong);
  padding-inline-start: 10px;
  margin: 4px 0;
}
.pa-stage {
  min-height: clamp(182px, 35cqi, 235px);
  border-radius: 6px;
  padding: clamp(13px, 4cqi, 27px);
  display: grid;
  align-content: center;
  isolation: isolate;
  color-scheme: light;
  color: #282d2a;
  background: #eeeae1;
}
.pa-stage * {
  box-sizing: border-box;
}
.pa-stage :is(h3, p, dl, dd, figure, fieldset, legend) {
  margin: 0;
}
.pa-stage :is(button, summary, input, label) {
  font: inherit;
}
.pa-stage :is(button, summary, label, a) {
  cursor: pointer;
}
.pa-stage a {
  color: inherit;
  text-underline-offset: 3px;
}
.pa-stage .pa-caption,
.pa-stage small {
  font: 550 clamp(10px, 2cqi, 12px)/1.4 var(--font-mono, ui-monospace, monospace);
  letter-spacing: 0.055em;
  text-transform: uppercase;
}
.pa-stage button {
  padding: 7px 11px;
  background: #f8f6ee;
  color: #26302a;
  border: 1px solid #74776e;
  border-radius: 4px;
}
.pa-stage b,
.pa-stage strong {
  color: inherit;
}
.pa-stage :is(a, button, summary, input):focus-visible {
  outline: 3px solid #3678c8;
  outline-offset: 2px;
}
.pa-stage .pa-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 600 0.82rem/1.3 var(--font-body, system-ui, sans-serif);
}
.pa-stage input {
  accent-color: #235b49;
}
.pa-stage .pa-check input {
  width: 16px;
  height: 16px;
  margin: 0;
}
.pa-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pa-spread {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: stretch;
  border: 1px solid #aeb8af;
  background: #f7f4e8;
}
.pa-spread > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  padding: clamp(12px, 3cqi, 22px);
}
.pa-spread strong {
  font:
    500 clamp(32px, 8.6cqi, 64px)/0.95 Georgia,
    serif;
  letter-spacing: -0.07em;
}
.pa-spread p {
  max-width: 25ch;
  font: 500 clamp(12px, 2.6cqi, 16px)/1.4 var(--font-body, system-ui, sans-serif);
}
.pa-aperture {
  height: 100%;
  width: 100%;
  display: block;
  min-height: 120px;
  max-height: 177px;
  background: #b9d4cc;
}
.pa-stage-sidebar-layout {
  background: #e4d9cc;
}
.pa-reader {
  display: grid;
  grid-template-columns: minmax(74px, 0.7fr) 1.3fr;
  background: #fcf6e8;
  border: 1px solid #bfb3a3;
  padding: 15px;
  gap: 18px;
}
.pa-reader nav {
  display: grid;
  gap: 4px;
  align-content: start;
  border-inline-end: 1px solid #c0b2a0;
  padding-right: 10px;
}
.pa-reader b {
  font-size: 0.82rem;
  margin-bottom: 6px;
}
.pa-reader a,
.pa-margin a {
  font-size: 0.78rem;
  text-decoration: underline;
}
.pa-reader p {
  font: 500 0.85rem/1.4 var(--font-body, system-ui, sans-serif);
}
.pa-reader p + p {
  margin-top: 12px;
}
.pa-reader strong,
.pa-record strong,
.pa-rail-content strong,
.pa-utility-document strong,
.pa-margin strong {
  display: block;
  font:
    500 clamp(22px, 4.6cqi, 32px)/1.08 Georgia,
    serif;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}
.pa-reader p:target,
.pa-margin aside:target {
  outline: 2px solid #92654a;
  outline-offset: 4px;
}
.pa-stage-auto-fit-grid {
  background: #f1dbb8;
}
.pa-swatches {
  background: #fff9ed;
  padding: 13px 15px 16px;
}
.pa-swatches-list {
  --tile-min: 73px;
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(min(100%, var(--tile-min)), 1fr)
  );
  gap: 8px 6px;
  margin-top: 10px;
}
.pa-swatches:has(input:checked) .pa-swatches-list {
  --tile-min: 43px;
}
.pa-swatches-list i {
  height: 26px;
  display: block;
  border-radius: 2px;
  background: #d89b35;
}
.pa-swatches-list > div:nth-child(2) i {
  background: #a84c40;
}
.pa-swatches-list > div:nth-child(3) i {
  background: #41668b;
}
.pa-swatches-list > div:nth-child(4) i {
  background: #518b7c;
}
.pa-swatches-list > div:nth-child(5) i {
  background: #d2bc94;
}
.pa-swatches-list > div:nth-child(6) i {
  background: #383a31;
}
.pa-swatches-list span {
  font: 500 clamp(10px, 2.1cqi, 12px)/1.3 var(--font-body, system-ui, sans-serif);
}
.pa-stage-comparison-table {
  background: #d6dfd3;
}
.pa-table {
  background: #f5f6ea;
  padding: 12px 16px;
}
.pa-table table {
  max-width: 100%;
  width: 100%;
  border-collapse: collapse;
  font: 500 0.8rem/1.3 var(--font-body, system-ui, sans-serif);
  color: #293a30;
}
.pa-table caption {
  text-align: left;
  font:
    500 clamp(21px, 4.4cqi, 30px)/1.2 Georgia,
    serif;
  padding-bottom: 7px;
}
.pa-table :is(th, td) {
  border-block-end: 1px solid #c4c9b9;
  text-align: left;
  padding: 5px 3px;
}
.pa-table th {
  font-weight: 640;
}
.pa-table i {
  display: block;
  width: 85%;
  height: 10px;
  border: 1px solid #bcb498;
  background: repeating-linear-gradient(3deg, #f4e5c2 0 2px, #ded3b6 2px 3px);
}
.pa-table .pa-stock-two {
  background: repeating-linear-gradient(94deg, #d1ab78 0 2px, #b88b55 2px 3px);
}
.pa-stage-image-card {
  background: #141b27;
  color: #f4f1e9;
}
.pa-image-card {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: stretch;
  border: 1px solid #596475;
  overflow: hidden;
  text-decoration: none;
  background: #0c111b;
}
.pa-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 118px;
  max-height: 170px;
}
.pa-image-card > div {
  padding: clamp(10px, 2.6cqi, 18px);
  align-self: center;
}
.pa-image-card strong {
  display: block;
  margin-top: 12px;
  font:
    500 clamp(23px, 5.5cqi, 43px)/1.05 Georgia,
    serif;
  letter-spacing: -0.06em;
}
.pa-image-card strong span {
  font: 500 0.7em var(--font-body, system-ui, sans-serif);
}
.pa-stage-metric-card {
  background: #a6c7b7;
}
.pa-metric {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 12px;
  background: #e9f2e8;
  border: 1px solid #82a795;
  padding: clamp(10px, 3cqi, 21px);
}
.pa-metric strong {
  display: block;
  font: 600 clamp(48px, 12cqi, 76px)/1 var(--font-body, system-ui, sans-serif);
  letter-spacing: -0.075em;
  font-variant-numeric: tabular-nums;
}
.pa-metric strong span {
  font-size: 0.38em;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.pa-metric p {
  font-size: 0.8rem;
}
.pa-metric svg {
  width: 100%;
  height: auto;
}
.pa-stage-event-card {
  background: #c8bbd4;
}
.pa-ticket {
  display: grid;
  grid-template-columns: minmax(66px, 0.45fr) minmax(0, 1fr);
  background: #fff6e2;
  color: #412842;
  border-block: 4px solid #412842;
}
.pa-ticket > div {
  padding: 14px clamp(10px, 2.8cqi, 20px);
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 8px;
}
.pa-ticket > div:first-child {
  border-right: 2px dashed #c6aaa8;
  align-items: center;
}
.pa-ticket-date strong {
  font:
    500 clamp(45px, 12cqi, 82px)/0.8 Georgia,
    serif;
  letter-spacing: -0.09em;
}
.pa-ticket > div + div > strong {
  font:
    540 clamp(21px, 4.7cqi, 32px)/1.03 Georgia,
    serif;
  letter-spacing: -0.045em;
}
.pa-stage-record-card {
  background: #d6cdbb;
}
.pa-record {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(12px, 3cqi, 22px);
  background: #f6f0e4;
}
.pa-record > img {
  width: 100%;
  height: 100%;
  max-height: 182px;
  object-fit: cover;
}
.pa-record > div {
  padding: 13px 12px 13px 0;
}
.pa-record strong {
  margin: 7px 0;
}
.pa-record summary,
.pa-record details p,
.pa-record details a {
  font-size: 0.78rem;
}
.pa-record summary {
  font-weight: 650;
}
.pa-record details p {
  margin: 5px 0;
}
.pa-stage-navigation-rail {
  background: #c2d2cc;
}
.pa-rail {
  display: grid;
  grid-template-columns: 0.67fr 1.33fr;
  min-height: 136px;
  background: #f5f0e6;
  border: 1px solid #9ca89e;
}
.pa-rail fieldset {
  min-width: 0;
  padding: 12px;
  border: 0;
  background: #253f3b;
  color: #f2eeda;
}
.pa-rail legend {
  float: left;
  width: 100%;
  margin-bottom: 7px;
  color: #e5c98a;
  font: 600 0.73rem/1.4 var(--font-mono, ui-monospace, monospace);
}
.pa-rail label {
  display: block;
  clear: both;
  position: relative;
}
.pa-rail input,
.pa-reveal input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.pa-rail label span {
  display: block;
  padding: 4px 6px;
  font-size: 0.8rem;
}
.pa-rail label input:checked + span {
  background: #d9e7d4;
  color: #263b33;
  border-radius: 3px;
}
.pa-rail input:focus-visible + span,
.pa-reveal input:focus-visible + span {
  outline: 3px solid #3877c4;
  outline-offset: 1px;
}
.pa-rail-content {
  padding: clamp(12px, 4cqi, 25px);
  align-self: center;
}
.pa-rail-content strong {
  margin: 9px 0;
}
.pa-rail-content p {
  font-size: 0.82rem;
}
.pa-rail:has([value="proofs"]:checked) :is(.pa-room-paper, .pa-room-delivery),
.pa-rail:has([value="paper"]:checked) :is(.pa-room-proofs, .pa-room-delivery),
.pa-rail:has([value="delivery"]:checked) :is(.pa-room-paper, .pa-room-proofs) {
  display: none;
}
.pa-stage-utility-header {
  background: #d6d8e1;
}
.pa-utility {
  background: #f9f7ef;
  border: 1px solid #9a9ca3;
  min-height: 135px;
}
.pa-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 8px;
  padding: 8px 12px;
  background: #343c55;
  color: #fff8e5;
}
.pa-top b {
  font-size: 0.9rem;
}
.pa-top details {
  font-size: 0.76rem;
}
.pa-top summary {
  font-weight: 650;
}
.pa-top a {
  display: block;
  padding: 3px 0;
}
.pa-utility-document {
  padding: clamp(12px, 3cqi, 20px);
}
.pa-utility-document strong {
  margin: 5px 0;
}
.pa-utility-document p {
  font-size: 0.75rem;
}
.pa-stage-inspector-drawer {
  background: #dcb4a5;
}
.pa-inspector {
  display: grid;
  grid-template-columns: 1fr minmax(98px, 0.85fr);
  border: 1px solid #b39585;
  background: #f5e9d6;
}
.pa-inspector-cover {
  display: grid;
  place-items: center;
  padding: 12px;
  background: repeating-linear-gradient(
    150deg,
    #e8c0a5 0 10px,
    #eac8b0 10px 11px
  );
}
.pa-inspector-cover span {
  font:
    500 clamp(25px, 6cqi, 38px)/0.86 Georgia,
    serif;
  letter-spacing: -0.045em;
  background: #a54439;
  color: #ffedda;
  border-left: 4px double #f3bc9c;
  padding: 12px 14px;
  box-shadow: 3px 3px 0 #714336;
}
.pa-inspector details {
  padding: 12px;
  font-size: 0.75rem;
}
.pa-inspector summary {
  font-weight: 650;
}
.pa-inspector dl {
  display: grid;
  gap: 2px;
  margin-top: 8px;
}
.pa-inspector dt {
  font-weight: 600;
}
.pa-inspector dd + dt {
  margin-top: 4px;
}
.pa-stage-command-menu {
  background: #26302f;
}
.pa-commands {
  padding: clamp(12px, 4cqi, 28px);
  background: #344540;
  color: #f3f2e2;
  border: 1px solid #72877d;
  display: grid;
  gap: 12px;
}
.pa-commands > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #edf1dc;
}
#atlas-jump-menu {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(22rem, calc(100vw - 32px));
  height: fit-content;
  max-height: 80vh;
  overflow: auto;
  background: #f5f3e9;
  color: #26302a;
  padding: 17px;
  border: 1px solid #6b7971;
  border-radius: 8px;
  box-shadow: 0 12px 40px #172e2a44;
}
#atlas-jump-menu:popover-open {
  display: grid;
  gap: 5px;
}
#atlas-jump-menu::backdrop {
  background: #12241e55;
}
#atlas-jump-menu > a {
  display: block;
  padding: 7px 0;
}
#atlas-jump-menu button {
  justify-self: start;
}
.pa-stage-modular-poster {
  background: #302a3f;
}
.pa-poster {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: stretch;
  background: #e0bd5a;
  color: #272329;
}
.pa-poster > div:first-child {
  padding: clamp(12px, 3cqi, 21px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.pa-poster b {
  font: 750 clamp(27px, 6.4cqi, 50px)/0.91 var(--font-body, system-ui, sans-serif);
  letter-spacing: -0.065em;
}
.pa-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
  background: #c65e47;
}
.pa-tiles i {
  display: block;
  aspect-ratio: 1;
  background: #342a3f;
  border-radius: 0 100% 0 0;
}
.pa-tiles i:nth-child(3n + 2) {
  transform: rotate(180deg);
}
.pa-tiles i:nth-child(3n) {
  transform: rotate(270deg);
}
.pa-stage-contact-sheet {
  background: #262b2a;
}
.pa-contact {
  color: #f8f1db;
}
.pa-contact > strong {
  display: block;
  font:
    500 clamp(25px, 5cqi, 36px)/1.1 Georgia,
    serif;
  letter-spacing: -0.05em;
  margin-bottom: 12px;
}
.pa-contact > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}
.pa-contact img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.1;
  object-fit: cover;
}
.pa-contact figcaption {
  font: 500 0.7rem/1.4 var(--font-mono, ui-monospace, monospace);
  margin-top: 4px;
}
.pa-stage-figure-ground {
  background: #c46a55;
}
.pa-figure {
  color: #fff0dc;
}
.pa-figure-print {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: #f0d4b7;
  color: #783e43;
}
.pa-figure-print span {
  font:
    550 clamp(14px, 3.7cqi, 27px)/1 Georgia,
    serif;
}
.pa-figure-print svg {
  width: 34%;
  max-height: 104px;
}
.pa-figure:has(:checked) .pa-figure-print {
  color: #f0d4b7;
  background: #783e43;
}
.pa-figure > .pa-check {
  margin-top: 9px;
  background: #f6e9da;
  color: #39292b;
  padding: 4px 8px;
  border-radius: 3px;
}
.pa-stage-marginalia {
  background: #ddd3b9;
}
.pa-margin {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr;
  gap: clamp(10px, 2.6cqi, 18px);
  background: #faf3df;
  padding: clamp(12px, 3cqi, 22px);
}
.pa-margin strong {
  margin: 7px 0;
}
.pa-margin p {
  font:
    500 clamp(12px, 2.8cqi, 15px)/1.4 Georgia,
    serif;
}
.pa-margin sup a {
  padding-inline: 3px;
  color: #82482e;
}
.pa-margin aside {
  border-inline-start: 1px solid #bba788;
  padding-inline-start: 10px;
  align-self: end;
}
.pa-margin aside b,
.pa-margin aside p,
.pa-margin aside a {
  font-size: 0.72rem;
}
.pa-margin aside p {
  margin: 4px 0;
}
.pa-stage-crop-reveal {
  background: #d9c7ae;
}
.pa-reveal {
  border: 1px solid #a89480;
  background: #f7f0df;
}
.pa-reveal-photo {
  position: relative;
  isolation: isolate;
  aspect-ratio: 3.5;
  background: #ddd1bb;
}
.pa-reveal-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}
.pa-reveal-photo img + img {
  filter: none;
  clip-path: inset(0 50% 0 0);
}
.pa-reveal:has([value="25"]:checked) .pa-reveal-photo img + img {
  clip-path: inset(0 75% 0 0);
}
.pa-reveal:has([value="75"]:checked) .pa-reveal-photo img + img {
  clip-path: inset(0 25% 0 0);
}
.pa-reveal fieldset {
  border: 0;
  padding: 7px 10px;
}
.pa-reveal legend {
  float: left;
  padding: 5px 8px 5px 0;
  font-size: 0.76rem;
  font-weight: 600;
}
.pa-reveal label {
  position: relative;
  display: inline-flex;
}
.pa-reveal label span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  font-size: 0.76rem;
  padding: 3px 6px;
}
.pa-reveal input:checked + span {
  background: #493e32;
  color: #fff3dc;
  border-radius: 3px;
}
.pa-stage-focus-ring {
  background: #b8c7d8;
}
.pa-focus {
  background: #f4f5f3;
  padding: 16px;
  border: 1px solid #8290a0;
}
.pa-focus strong {
  display: block;
  font:
    500 clamp(26px, 5cqi, 34px)/1.05 Georgia,
    serif;
  margin-bottom: 13px;
}
.pa-focus > div {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.pa-focus a {
  padding: 6px 9px;
  border: 1px solid #8e9da9;
  border-radius: 4px;
  font-size: 0.8rem;
}
.pa-focus a:focus-visible {
  outline: 3px solid #104c8a;
  outline-offset: 2px;
  background: #fff;
}
.pa-stage-depth-stack {
  background: #ddd9bc;
}
.pa-stack {
  display: grid;
  gap: 5px;
  justify-items: center;
}
.pa-stack > div {
  height: 118px;
  width: 150px;
  position: relative;
}
.pa-stack i {
  display: block;
  position: absolute;
  inset: 28px 20px 15px;
  background: #405a51;
  border: 1px solid #4b5348;
  transform: skewY(-11deg) translate(6px, 6px);
  transition: transform 0.32s ease;
}
.pa-stack i:nth-child(2) {
  background: #f8e8bc;
  transform: skewY(-11deg) translate(3px, 3px);
}
.pa-stack i:nth-child(3) {
  background: #c56d46;
  transform: skewY(-11deg);
  display: grid;
  place-items: center;
}
.pa-stack b {
  font:
    500 24px Georgia,
    serif;
  color: #312f24;
}
.pa-stack:has(input:checked) i:first-child {
  transform: skewY(-11deg) translate(18px, 17px);
}
.pa-stack:has(input:checked) i:nth-child(3) {
  transform: skewY(-11deg) translate(-12px, -13px);
}
.pa-stage-timing-curve {
  background: #c8ddcf;
}
.pa-timing {
  background: #eaf1e3;
  padding: 16px;
  display: grid;
  gap: 13px;
}
.pa-timing > div {
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: center;
  gap: 8px;
}
.pa-timing > div > span {
  font: 500 0.76rem var(--font-mono, ui-monospace, monospace);
}
.pa-timing i {
  display: block;
  height: 13px;
  border-radius: 7px;
  background: #b5ccbb;
  position: relative;
}
.pa-timing i b {
  display: block;
  position: absolute;
  left: 0;
  top: 1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #27604e;
}
.pa-timing > div:nth-child(2) i b {
  background: #98532e;
}
.pa-reduced {
  display: none;
  font-size: 0.78rem;
}
@keyframes pa-travel {
  0%,
  12% {
    left: 0;
  }
  88%,
  100% {
    left: calc(100% - 11px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  html:not([data-reduce-motion="on"]) .pa-timing:has(input:checked) i b {
    animation: pa-travel 2.3s linear infinite alternate;
  }
  html:not([data-reduce-motion="on"])
    .pa-timing:has(input:checked)
    > div:nth-child(2)
    i
    b {
    animation-timing-function: ease-in-out;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pa-stack i {
    transition: none;
  }
  .pa-timing:has(:checked) .pa-reduced {
    display: block;
  }
}
html[data-reduce-motion="on"] .pa-stack i {
  transition: none;
}
html[data-reduce-motion="on"] .pa-timing:has(:checked) .pa-reduced {
  display: block;
}
@media (max-width: 48rem) {
  .pa-gallery {
    grid-template-columns: minmax(0, 1fr);
  }
  .pa-categories {
    gap: 0 12px;
  }
  .pa-stage {
    min-height: 160px;
  }
}
@media (pointer: coarse) {
  .pa-stage :is(button, summary, .pa-check),
  .pa-stage .pa-reveal label span,
  .pa-rail label span,
  .pa-focus a,
  .pa-test summary {
    min-height: 44px;
    align-content: center;
  }
  .pa-focus a,
  .pa-reader nav a {
    display: inline-flex;
    align-items: center;
  }
  .pa-reader nav a {
    min-height: 44px;
  }
}


.pa-stage {font-family:var(--font-body, system-ui, sans-serif);}
.pa-stage img.fold-art {display:block;width:100%;height:auto;}
.pa-source label {display:block;margin:6px 0;font-size:.8rem;color:var(--ink-2);}
.pa-source textarea {box-sizing:border-box;width:100%;resize:vertical;font:500 .75rem/1.5 var(--font-mono, ui-monospace, monospace);padding:10px;border:1px solid var(--rule-strong);color:var(--ink);background:var(--well);border-radius:5px;}
.pa-source>div {display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:5px 0;font-size:.8rem;}
.pa-source button {padding:5px 10px;border:1px solid var(--rule-strong);border-radius:4px;background:var(--surface);color:var(--ink);font:inherit;cursor:pointer;}
@media(pointer:coarse){.pa-test summary,.pa-source button {min-height:44px;align-content:center;}}
