/* Essential: original typography, responsive layout, and reading styles. */

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 30px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 19px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
p,
figure,
pre,
dl {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 400;
}

p + p {
  margin-top: 1.2em;
}

h2,
h3,
[id] {
  scroll-margin-top: 30px;
}

::selection {
  background: var(--selection-bg);
  color: var(--selection-ink);
}

.skip {
  position: fixed;
  top: 0;
  left: 20px;
  padding: 10px 20px;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--paper);
  z-index: 9;
}

.skip:focus {
  transform: none;
}

pre {
  font: 12px/1.9 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

summary {
  cursor: pointer;
}

footer a {
  display: inline-block;
  padding: 3px 0;
}

@media (prefers-reduced-motion: no-preference) {
  a,
  button,
  summary {
    transition:
      color 120ms ease-out,
      border-color 120ms ease-out,
      background-color 120ms ease-out;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 18px;
  }
}

@media print {
  body {
    background: white !important;
    color: black !important;
    font-size: 11pt !important;
  }

  .skip {
    display: none !important;
  }

  a {
    color: inherit !important;
  }

  h1,
  h2,
  h3 {
    break-after: avoid;
  }

  figure,
  pre {
    break-inside: avoid;
  }

  details {
    display: block;
  }

  details > * {
    display: block !important;
  }

  details::details-content {
    content-visibility: visible !important;
    display: block !important;
  }

  details summary {
    list-style: none;
  }

  footer {
    break-inside: avoid;
  }

  a[href^='https://github.com']
  {
    text-decoration: underline;
  }

  * {
    box-shadow: none !important;
    position: static !important;
  }
}

:root {
  --paper: #fff;
  --ink: #202020;
  --muted: #686868;
  --line: #e0e0e0;
  --accent: #202020;
  --rule: #deded8;
  --selection-bg: #222;
  --selection-ink: #fff;
  color-scheme: light;
  --sans: Arial, Helvetica, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 19px;
  line-height: 1.65;
}

.essential {
  max-width: 566px;
  margin: 105px auto 75px;
  padding: 0 24px;
}

.essential h1 {
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -1.8px;
  font-weight: 600;
  margin-bottom: 40px;
}

.essential h1 a {
  text-decoration: none;
}

.essential .opening {
  font-size: 24px;
  letter-spacing: -0.5px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.essential p {
  margin-top: 0;
  margin-bottom: 23px;
}

.essential .links {
  margin-top: 30px;
  margin-bottom: 58px;
  display: flex;
  gap: 26px;
  font-size: 15px;
}

.essential h2 {
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
  margin: 0 0 15px;
  letter-spacing: 0.015em;
}

.essential section {
  margin-top: 40px;
}

.essential .small {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.essential .small a {
  color: var(--ink);
}

.essential footer {
  border-top: 1px solid var(--line);
  margin-top: 55px;
  padding-top: 17px;
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}

.essential footer a {
  color: var(--ink);
}

@media (max-width: 700px) {
  .essential {
    margin-top: 68px;
    margin-bottom: 40px;
    padding: 0 27px;
    max-width: 570px;
  }

  .essential h1 {
    font-size: 35px;
    margin-bottom: 32px;
  }

  .essential .opening {
    font-size: 23px;
  }

  .essential .links {
    margin-bottom: 43px;
  }

  .essential p {
    font-size: 18px;
  }

  .essential .small {
    font-size: 14px;
  }

  .essential section {
    margin-top: 34px;
  }

  .essential footer {
    margin-top: 42px;
  }
}

@media print {
  .essential {
    margin: 20px auto;
    padding: 0;
    max-width: 36em;
  }

  .essential h1 {
    font-size: 25pt;
  }

  .essential .opening {
    font-size: 15pt;
  }

  .essential section {
    margin-top: 20px;
  }

  .essential .links {
    margin-bottom: 25px;
  }

  .essential footer {
    margin-top: 30px;
  }
}

.link-icon {
  display: inline-block;
  width: 0.86em;
  height: 0.86em;
  vertical-align: -0.03em;
  margin-left: 0.16em;
  flex: none;
  overflow: visible;
  pointer-events: none;
}

.site a {
  overflow-wrap: anywhere;
}

.site code {
  font-family: var(--mono);
  font-size: 0.87em;
  overflow-wrap: anywhere;
}

.site-colophon {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  max-width: 1296px;
  margin: 40px auto 0;
  padding: 0 clamp(24px, 5vw, 72px);
  width: 100%;
  font: 12px/1.7 var(--mono);
  color: var(--muted);
}

.site-colophon nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-colophon a {
  display: inline-block;
  padding: 5px 0;
}

.essential-site .essential {
  margin-top: 105px;
}

.essential-site .essential .site-colophon {
  padding: 17px 0 0;
  max-width: none;
  margin: 50px 0 0;
}

.essential-site .essential h2 {
  font-size: 14px;
}

.essential-site .essential .small {
  font-size: 15px;
}

.essential-site ::selection {
  background: var(--selection-bg);
  color: var(--selection-ink);
}

.chapter-grid {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 85px clamp(24px, 5vw, 72px) 40px;
  display: grid;
  grid-template-columns: minmax(170px, 0.8fr) minmax(0, 2fr);
  gap: 10%;
}

.chapter-sidebar {
  align-self: start;
}

.chapter-brand {
  display: inline-block;
  font: 500 22px/1.2 var(--sans);
  letter-spacing: -1.5px;
  text-decoration: none;
  padding: 0 0 24px;
  color: var(--ink) !important;
}

.chapter-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font: 14px/1.5 var(--mono);
}

.chapter-nav a {
  padding: 5px 0;
  text-decoration: none;
}

.chapter-nav a:hover,
.chapter-nav a[aria-current] {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.chapter-nav span {
  display: inline-block;
  min-width: 28px;
  color: var(--muted);
  font-size: 12px;
}

.chapter {
  min-width: 0;
  max-width: 690px;
  font: 17px/1.75 var(--sans);
}

.chapter-title {
  margin-bottom: 35px;
}

.chapter-kicker {
  font: 12px/1.6 var(--mono);
  color: var(--muted);
  margin-bottom: 18px !important;
}

.chapter h1 {
  font-size: 34px;
  line-height: 1.22;
  letter-spacing: -1.35px;
  font-weight: 400;
  margin: 0 0 24px;
}

.chapter-intro {
  font-size: 19px;
  line-height: 1.65;
}

.chapter p {
  margin: 0 0 20px;
}

.chapter p:last-child {
  margin-bottom: 0;
}

.chapter section {
  margin: 42px 0 0;
  scroll-margin-top: 30px;
}

.chapter h2 {
  font-size: 19px;
  line-height: 1.4;
  font-weight: 500;
  margin: 0 0 17px;
  letter-spacing: -0.3px;
}

.chapter-contents {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font: 14px/1.55 var(--sans);
}

.chapter-contents a {
  padding: 3px 0;
}

.chapter .annotation {
  font: 14px/1.65 var(--sans);
  color: var(--muted);
}

.chapter pre {
  margin: 23px 0;
  padding: 17px 0 17px 20px;
  border-left: 1px solid var(--rule);
  font: 14px/1.8 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.chapter pre code {
  font: inherit;
}

.fact-list {
  margin: 24px 0;
}

.fact-list > div {
  display: grid;
  grid-template-columns: minmax(110px, 0.65fr) minmax(0, 1.5fr);
  gap: 25px;
  padding: 17px 0;
  border-top: 1px solid var(--rule);
}

.fact-list > div:last-child {
  border-bottom: 1px solid var(--rule);
}

.fact-list dt {
  font-size: 15px;
  font-weight: 500;
}

.fact-list dd {
  margin: 0;
  font-size: 16px;
}

.chapter table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  table-layout: fixed;
  font-size: 15px;
  line-height: 1.6;
}

.chapter caption {
  text-align: left;
  font: 12px/1.6 var(--mono);
  color: var(--muted);
  margin-bottom: 15px;
}

.chapter th,
.chapter td {
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
  padding: 14px 12px 14px 0;
  overflow-wrap: anywhere;
}

.chapter th {
  font-weight: 500;
}

.chapter th:first-child {
  width: 34%;
}

.chapter-next {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 45px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
}

.chapter-next a {
  padding: 5px 0;
}

.essential-site.reading-page .chapter-grid {
  display: block;
  max-width: 614px;
  padding-top: 55px;
}

.essential-site.reading-page .chapter-sidebar {
  margin-bottom: 62px;
}

.essential-site.reading-page .chapter-nav {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 7px 20px;
  font-family: var(--sans);
}

.essential-site.reading-page .chapter-nav span {
  display: none;
}

.essential-site.reading-page .chapter-brand {
  font-size: 26px;
  font-weight: 600;
}

.essential-site.reading-page .chapter h1 {
  font-size: 30px;
  font-weight: 500;
}

.essential-site.reading-page .chapter-kicker {
  display: none;
}

.essential-site.reading-page .chapter-contents {
  border: 0;
  padding: 0 0 12px;
  gap: 8px 18px;
}

@media (max-width: 800px) {
  .chapter-grid {
    grid-template-columns: minmax(140px, 0.7fr) minmax(0, 2fr);
    gap: 30px;
  }

  .chapter h1 {
    font-size: 29px;
  }
}

@media (max-width: 650px) {
  .site-colophon {
    display: block;
  }

  .site-colophon nav {
    margin-top: 8px;
  }

  .essential-site .essential {
    margin-top: 65px;
  }

  .essential-site .essential .links {
    flex-wrap: wrap;
  }

  .chapter-grid {
    display: block;
    padding: 35px 27px;
  }

  .chapter-sidebar {
    margin-bottom: 45px;
  }

  .chapter-brand {
    padding-bottom: 20px;
  }

  .chapter-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 18px;
    font-size: 14px;
  }

  .chapter-nav span {
    display: none;
  }

  .chapter {
    padding-top: 0;
    font-size: 16px;
  }

  .chapter h1 {
    font-size: 28px;
    letter-spacing: -1px;
  }

  .chapter-intro {
    font-size: 18px;
  }

  .essential-site.reading-page .chapter-grid {
    padding-top: 35px;
  }

  .essential-site.reading-page .chapter-sidebar {
    margin-bottom: 42px;
  }

  .chapter section {
    margin-top: 36px;
  }

  .fact-list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .chapter pre {
    padding-left: 12px;
    font-size: 13px;
  }

  .chapter-contents {
    display: block;
  }

  .chapter-contents a {
    display: block;
    padding: 6px 0;
  }

  .chapter table {
    font-size: 14px;
  }

  .chapter th:first-child {
    width: 38%;
  }
}

@media print {
  .chapter-nav,
  .chapter-contents,
  .chapter-next,
  .site-colophon {
    display: none !important;
  }

  .chapter-grid {
    display: block !important;
    padding: 0 !important;
    margin: 0;
    max-width: none;
    width: 100%;
  }

  .chapter-sidebar {
    margin: 0 0 20px;
  }

  .chapter-brand {
    padding: 0;
  }

  .chapter {
    padding: 0;
    max-width: none;
    font-size: 11pt;
  }

  .chapter h1 {
    font-size: 24pt !important;
  }

  .chapter-intro {
    font-size: 12pt;
  }

  .chapter section {
    break-inside: auto;
    margin-top: 25px;
  }

  .chapter h2 {
    break-after: avoid;
  }

  .chapter table {
    font-size: 10pt;
  }

  .chapter tr,
  .fact-list > div {
    break-inside: avoid;
  }

  .chapter pre {
    font-size: 9pt;
  }
}

.site > .site-colophon {
  padding-bottom: 40px;
}

/* Theme follows the system until the reader makes a choice. */
:root[data-theme="dark"] {
  --paper: #171818;
  --ink: #e9e8e4;
  --muted: #aaa9a4;
  --line: #3b3d3c;
  --rule: #3b3d3c;
  --accent: #fff;
  --selection-bg: #deddd7;
  --selection-ink: #171818;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #171818;
    --ink: #e9e8e4;
    --muted: #aaa9a4;
    --line: #3b3d3c;
    --rule: #3b3d3c;
    --accent: #fff;
    --selection-bg: #deddd7;
    --selection-ink: #171818;
    color-scheme: dark;
  }
}

/* Quiet, keyboard-accessible control in the footer. */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 5px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.theme-toggle[hidden] {
  display: none;
}
.theme-toggle:hover {
  color: var(--accent);
}
.theme-label {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.theme-symbol {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1;
}
.essential footer .theme-toggle {
  color: var(--ink);
}
@media print {
  :root,
  :root[data-theme],
  :root:not([data-theme="light"]) {
    --paper: #fff !important;
    --ink: #202020 !important;
    --muted: #686868 !important;
    --line: #e0e0e0 !important;
    --rule: #deded8 !important;
    --accent: #202020 !important;
    color-scheme: light !important;
  }
  .theme-toggle {
    display: none !important;
  }
}

/* Original mark with Host Grotesk Medium lettering. */
@font-face {
  font-family: "Host Grotesk";
  src: url("fonts/HostGrotesk-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  vertical-align: middle;
}
.brand-name {
  order: -1;
  font:
    500 44px/1 "Host Grotesk",
    Arial,
    sans-serif;
  letter-spacing: -1.5px;
}
.brand-mark {
  display: block;
  width: 52px;
  height: auto;
  flex: none;
}
.chapter-brand .brand-lockup {
  gap: 9px;
}
.chapter-brand .brand-name {
  font-size: 31px;
  letter-spacing: -1px;
}
.chapter-brand .brand-mark {
  width: 38px;
}
.site-colophon nav {
  align-items: center;
}
.wordmark-dark {
  display: none;
}
:root[data-theme="dark"] .wordmark-light {
  display: none;
}
:root[data-theme="dark"] .wordmark-dark {
  display: block;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .wordmark-light {
    display: none;
  }
  :root:not([data-theme="light"]) .wordmark-dark {
    display: block;
  }
}
@media print {
  .wordmark-light {
    display: block !important;
  }
  .wordmark-dark {
    display: none !important;
  }
}

/* Commands share the reading column's quiet rule and palette. */
.command-block {
  min-width: 0;
  margin: 23px 0;
  border-left: 1px solid var(--rule);
  padding-left: 20px;
}
.command-block figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font: 12px/1.5 var(--sans);
}
.copy-command {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-height: 44px;
  min-width: 78px;
  flex: none;
  padding: 8px 0 8px 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
}
.copy-command[hidden] {
  display: none;
}
.copy-command:hover {
  color: var(--ink);
}
.copy-command:disabled {
  cursor: wait;
}
.chapter .command-block pre {
  margin: 0;
  padding: 4px 0 12px;
  border: 0;
  overflow-x: auto;
  white-space: pre;
  overflow-wrap: normal;
}
.chapter .command-block code {
  overflow-wrap: normal;
}
.command-block pre:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.chapter .copy-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  margin: 0;
}
.chapter .copy-status.copy-error {
  position: static;
  width: auto;
  height: auto;
  clip-path: none;
  color: var(--muted);
  font-size: 13px;
}
/* Platform names and download actions share a calm, aligned row. */
.download-files {
  list-style: none;
  margin: 24px 0;
  padding: 0;
}
.download-files li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}
.download-files li:last-child {
  border-bottom: 1px solid var(--rule);
}
.download-platform {
  display: grid;
  gap: 2px;
  font-size: 16px;
  line-height: 1.5;
}
.download-arch {
  color: var(--muted);
  font-size: 13px;
}
.download-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
  font-size: 14px;
}
.download-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
@media (max-width: 420px) {
  .download-files li {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .download-links {
    gap: 24px;
  }
}
.build-option {
  margin-top: 28px;
  border-top: 1px solid var(--rule);
  padding-top: 18px;
}
.build-option summary {
  cursor: pointer;
}
.build-option > p {
  margin-top: 18px;
}
@media (max-width: 650px) {
  .command-block {
    padding-left: 12px;
  }
}
@media print {
  .copy-command,
  .copy-status {
    display: none !important;
  }
  .chapter .command-block pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
}

/* Archive comparison: two stores and one changing output. */
.archive-comparison {
  --diagram-accent: #b84b28;
  margin: 28px 0;
  padding: 20px 0;
  border-block: 1px solid var(--rule);
}
:root[data-theme="dark"] .archive-comparison {
  --diagram-accent: #ec7f5b;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .archive-comparison {
    --diagram-accent: #ec7f5b;
  }
}
.archive-comparison figcaption {
  font-size: 16px;
}
.archive-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 12px 0 24px;
}
.archive-controls[hidden] {
  display: none;
}
.archive-controls button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  padding: 10px 0;
  min-height: 44px;
  font: 13px/1.5 var(--sans);
  color: var(--muted);
}
.archive-controls button[aria-pressed="true"] {
  color: var(--ink);
  border-color: var(--diagram-accent);
}
.comparison-rows {
  display: grid;
  gap: 28px;
}
.comparison-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}
.comparison-row > span {
  font-size: 14px;
}
.comparison-row svg {
  display: block;
  width: 100%;
  height: auto;
}
.comparison-row svg text {
  fill: var(--ink);
  font:
    18px Arial,
    sans-serif;
  text-anchor: middle;
}
.comparison-row .token {
  fill: var(--paper);
  stroke: var(--muted);
  stroke-width: 1;
}
.comparison-row .focus-token {
  stroke: var(--diagram-accent);
  stroke-width: 2;
}
.comparison-row .accent {
  stroke: var(--diagram-accent);
  fill: none;
}
.chapter .archive-caption {
  min-height: 48px;
  margin: 24px 0 0;
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 420px) {
  .comparison-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .comparison-rows {
    gap: 24px;
  }
}
@media print {
  .archive-controls {
    display: none !important;
  }
  .archive-comparison {
    --diagram-accent: #202020 !important;
    break-inside: avoid;
  }
}

/* Keep the reading measure and footer alignment steady across viewports. */
@media screen {
  .essential-site.reading-page .chapter-grid {
    max-width: 614px;
    padding-left: 48px;
    padding-right: 48px;
  }
  .reading-page > .site-colophon {
    max-width: 614px;
    margin-top: 12px;
    padding: 0 48px 40px;
    font-size: 11px;
    gap: 16px;
  }
  .reading-page > .site-colophon nav {
    gap: 16px;
  }
  .chapter h1,
  .chapter h2 {
    text-wrap: balance;
  }
  .chapter ul:not(.download-files),
  .chapter ol {
    margin: 20px 0;
    padding-left: 22px;
  }
  .chapter li + li {
    margin-top: 10px;
  }
  .chapter .download-files li + li {
    margin-top: 0;
  }
}
@media screen and (max-width: 650px) {
  .essential-site.reading-page .chapter-grid {
    padding-left: 27px;
    padding-right: 27px;
  }
  .reading-page > .site-colophon {
    padding-left: 27px;
    padding-right: 27px;
  }
  .essential-site.reading-page .chapter h1 {
    font-size: 28px;
    letter-spacing: -1px;
  }
}

/* Underline the Source label, not the gap or external-link icon. */
.source-link {
  text-decoration: none;
}
.source-link span {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* Donation destinations remain selectable, including without JavaScript. */
.donation-methods {
  margin: 24px 0;
  border-bottom: 1px solid var(--rule);
}
.donation-method {
  border-top: 1px solid var(--rule);
  padding: 14px 0 24px;
}
.donation-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.donation-heading h3 {
  font: 500 16px/1.5 var(--sans);
}
.donation-heading .copy-command {
  font: 13px/1.5 var(--sans);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.chapter .donation-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 12px;
}
.donation-method code {
  display: block;
  font: 13px/1.8 var(--mono);
  overflow-wrap: anywhere;
  user-select: all;
}
@media print {
  .donation-method {
    break-inside: avoid;
  }
}

.donation-qr {
  margin-top: 16px;
}
.donation-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}
.donation-actions .copy-command {
  min-width: 0;
  padding-inline: 0;
}
.qr-toggle {
  border: 0;
  background: none;
  padding: 10px 0;
  min-height: 44px;
  color: var(--muted);
  font: 13px/1.5 var(--sans);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.qr-toggle:hover {
  color: var(--ink);
}
@media print {
  .qr-toggle {
    display: none;
  }
}
.donation-qr img {
  display: block;
  width: 224px;
  max-width: 100%;
  height: auto;
  margin-top: 12px;
  background: white;
  image-rendering: pixelated;
}
