.rules-body { background: #12110e; }
.rules-main {
  min-height: 100vh;
  padding: calc(var(--header-height) + 22px) max(24px, calc((100vw - 1480px) / 2)) 92px;
  color: #201d17;
  background: #171713;
}

.rules-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1400px, 100%);
  min-height: 42px;
  margin: 0 auto 16px;
  color: rgba(238, 230, 210, .62);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.rules-toolbar div { display: flex; gap: 24px; }
.rules-toolbar a { color: inherit; text-decoration: none; }

.rules-config {
  width: min(1400px, 100%);
  margin: 0 auto 18px;
  color: #eee6d2;
  background: #201e19;
  border: 1px solid rgba(238, 230, 210, .2);
}
.rules-config summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 28px;
  gap: 20px;
  align-items: center;
  min-height: 74px;
  padding: 14px 18px 14px 24px;
  cursor: pointer;
  list-style: none;
  color: #fff5e8;
  background: linear-gradient(112deg, #9d241a 0%, #7e2119 58%, #b63224 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, .13), inset 0 -1px rgba(56, 5, 2, .52);
}
.rules-config summary::-webkit-details-marker { display: none; }
.rules-config summary::after {
  content: "+";
  color: #ffd0be;
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  text-align: center;
  transition: transform 180ms ease;
}
.rules-config[open] summary::after { transform: rotate(45deg); }
.rules-config summary span {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 42px);
  line-height: .9;
}
.rules-config summary strong {
  color: rgba(255, 245, 232, .84);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.rules-config-form { padding: clamp(28px, 4vw, 58px); border-top: 1px solid rgba(238, 230, 210, .18); }
.rules-config-intro {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(340px, 1.2fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
  padding-bottom: 44px;
}
.rules-config-intro h1 { margin: 0; max-width: 13ch; font-family: var(--display); font-size: clamp(42px, 5vw, 72px); font-weight: 400; line-height: .9; }
.rules-config-intro p { max-width: 62ch; margin: 0; color: rgba(238, 230, 210, .72); font-size: 15px; line-height: 1.58; }
.rules-module-list { margin: 0; padding: 0; border: 0; border-top: 1px solid rgba(238, 230, 210, .22); }
.rules-module-list legend { padding: 30px 0 12px; color: #ad5549; font-family: "Arial Narrow", Arial, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.rules-module-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 17px 0;
  border-top: 1px solid rgba(238, 230, 210, .14);
  cursor: pointer;
}
.rules-module-row input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: #8f2b22; }
.rules-module-row span { display: grid; gap: 2px; }
.rules-module-row strong { font-family: var(--display); font-size: 23px; font-weight: 400; line-height: 1; }
.rules-module-row small { color: rgba(238, 230, 210, .62); font-size: 13px; line-height: 1.42; }
.rules-module-row em { padding-top: 4px; color: #ad5549; font-family: "Arial Narrow", Arial, sans-serif; font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.rules-module-row.is-required, .rules-module-row.is-unavailable { cursor: default; }
.rules-module-row.is-unavailable { opacity: .48; }
.rules-config-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; padding-top: 34px; }
.rules-config-actions button { min-height: 48px; padding: 0 18px; font-family: "Arial Narrow", Arial, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.rules-build { color: #f0e8d8; background: #7e2119; border: 1px solid #7e2119; }
.rules-reset { color: #eee6d2; background: transparent; border: 1px solid rgba(238, 230, 210, .36); }
.rules-config-actions [data-rules-status] { flex: 1 1 260px; margin: 0; color: rgba(238, 230, 210, .6); font-size: 13px; line-height: 1.4; }

.rules-reader {
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
  width: min(1400px, 100%);
  margin: 0 auto;
  background-color: #e4ddcc;
  background-image: linear-gradient(rgba(243, 240, 232, .9), rgba(232, 224, 208, .92)), url("/assets/parchment-aged.webp");
  background-position: center;
  background-size: cover;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .42);
}
.rules-toc { min-width: 0; padding: 46px 34px 60px; border-right: 1px solid rgba(33, 29, 23, .24); }
.rules-toc-sticky { position: sticky; top: calc(var(--header-height) + 24px); max-height: calc(100dvh - var(--header-height) - 48px); padding-right: 8px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(126, 33, 25, .45) transparent; }
.rules-toc-kicker { margin: 0 0 14px; color: #7e2119; font-family: "Arial Narrow", Arial, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.rules-toc nav { display: grid; border-top: 1px solid rgba(33, 29, 23, .22); }
.rules-toc nav a {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  color: rgba(32, 29, 23, .56);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(33, 29, 23, .15);
  transition: color 150ms ease, padding-left 150ms ease;
}
.rules-toc nav a span { color: #201d17; font-size: 12px; letter-spacing: .01em; }
.rules-toc nav a.is-current { color: #7e2119; padding-left: 6px; }
.rules-toc nav a.is-current span { color: #7e2119; }
.rules-toc-note { margin: 24px 0 0; color: rgba(32, 29, 23, .58); font-size: 12px; line-height: 1.48; }

.rules-document { min-width: 0; padding: 0 clamp(32px, 6vw, 88px) 80px; }
.rules-document-head { padding: clamp(54px, 7vw, 100px) 0 50px; border-bottom: 3px solid #7e2119; }
.rules-document-head > p { margin: 0 0 14px; color: #7e2119; font-family: "Arial Narrow", Arial, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.rules-document-head h1 { max-width: 10ch; margin: 0; font-family: var(--display); font-size: clamp(64px, 9vw, 126px); font-weight: 400; letter-spacing: -.04em; line-height: .78; text-wrap: balance; }
.rules-edition { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 30px; color: rgba(32, 29, 23, .58); font-family: "Arial Narrow", Arial, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.rules-document > section {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 42px);
  padding: clamp(48px, 7vw, 86px) 0;
  scroll-margin-top: calc(var(--header-height) + 22px);
  border-bottom: 1px solid rgba(33, 29, 23, .28);
}
.rules-section-number { padding-top: 8px; color: #7e2119; font-family: var(--display); font-size: 24px; line-height: 1; }
.rules-section-body { min-width: 0; max-width: 860px; }
.rules-section-body h2 { margin: 0 0 24px; font-family: var(--display); font-size: clamp(42px, 5.2vw, 72px); font-weight: 400; letter-spacing: -.025em; line-height: .9; text-wrap: balance; }
.rules-section-body h3 { margin: 38px 0 12px; color: #7e2119; font-family: "Arial Narrow", Arial, sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }
.rules-section-body p, .rules-section-body li, .rules-section-body dd { font-size: 16px; line-height: 1.64; text-wrap: pretty; }
.rules-section-body p { margin: 0; }
.rules-section-body p + p { margin-top: 16px; }
.rules-section-body ul, .rules-section-body ol { margin: 18px 0 0; padding-left: 1.25em; }
.rules-section-body li + li { margin-top: 7px; }
.rules-section-body strong { color: #6f2019; }
.rules-lede { max-width: 58ch; font-size: 19px !important; line-height: 1.55 !important; }
.rules-section-body table { width: 100%; margin: 24px 0; border-collapse: collapse; border-top: 2px solid #7e2119; }
.rules-section-body th, .rules-section-body td { padding: 12px 14px; font-size: 14px; line-height: 1.45; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(33, 29, 23, .24); }
.rules-section-body th { font-weight: 700; background: rgba(126, 33, 25, .08); }
.rules-section-body th:nth-child(2), .rules-section-body td:nth-child(2) { white-space: nowrap; }
.rules-section-body code { padding: .08em .28em; color: #6d1f18; font-family: Consolas, "Courier New", monospace; font-size: .9em; background: rgba(126, 33, 25, .08); }
.rules-section-body pre { max-width: 100%; margin: 24px 0; padding: 18px 20px; overflow-x: auto; color: #f2eee3; background: #211d17; border-left: 3px solid #a52a20; }
.rules-section-body pre code { padding: 0; color: inherit; font-size: 14px; line-height: 1.55; background: transparent; }
.rules-section-body > p:has(> img) { margin: 32px 0 8px; }
.rules-section-body img { display: block; width: 100%; height: auto; border: 1px solid rgba(33, 29, 23, .22); background: #e8e2d5; }
.rules-figure { margin: 28px 0 24px; }
.rules-figure a, .rules-figure picture { display: block; }
.rules-figure a { cursor: zoom-in; }
.rules-figure a:focus-visible { outline: 3px solid #8d2b22; outline-offset: 5px; }
.rules-figure img { width: 100%; height: auto; border: 0; background: #f2ede2; }
@media (max-width: 760px) {
  .rules-figure { margin-inline: -12px; }
}
.rules-document > .rules-introduction { display: block; padding: 48px 56px 56px; }
.rules-introduction .rules-section-body > :last-child { margin-bottom: 0; }

.rules-callout, .rules-open, .rules-example { margin-top: 28px; padding: 20px 22px; border-left: 3px solid #7e2119; }
.rules-callout { color: #eee6d2; background: #211f1a; }
.rules-open { background: rgba(126, 33, 25, .07); border-top: 1px solid rgba(126, 33, 25, .28); border-right: 1px solid rgba(126, 33, 25, .28); border-bottom: 1px solid rgba(126, 33, 25, .28); }
.rules-example { background: rgba(255, 255, 255, .32); border-top: 1px solid rgba(33, 29, 23, .18); border-right: 1px solid rgba(33, 29, 23, .18); border-bottom: 1px solid rgba(33, 29, 23, .18); }
.rules-callout > strong, .rules-open > strong, .rules-example > strong { display: block; margin-bottom: 7px; color: #ad5549; font-family: "Arial Narrow", Arial, sans-serif; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.rules-open > strong, .rules-example > strong { color: #7e2119; }
.rules-callout p, .rules-open p, .rules-example p { font-size: 14px; line-height: 1.55; }
.rules-callout p { color: rgba(238, 230, 210, .82); }

.rules-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0 0 24px !important; padding: 0 !important; list-style: none; border-top: 1px solid rgba(33, 29, 23, .28); }
.rules-facts li { display: grid; gap: 2px; margin: 0 !important; padding: 14px 0; border-bottom: 1px solid rgba(33, 29, 23, .2); }
.rules-facts strong { font-family: "Arial Narrow", Arial, sans-serif; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.rules-facts span { font-size: 14px; line-height: 1.4; }

.rules-procedure { margin: 24px 0 0 !important; padding: 0 !important; list-style: none; border-top: 1px solid rgba(33, 29, 23, .28); }
.rules-procedure li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; margin: 0 !important; padding: 14px 0; border-bottom: 1px solid rgba(33, 29, 23, .2); }
.rules-procedure li > span { color: #7e2119; font-family: var(--display); font-size: 22px; line-height: 1; }
.rules-procedure strong { display: block; font-family: "Arial Narrow", Arial, sans-serif; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.rules-procedure p { color: rgba(32, 29, 23, .72); font-size: 14px; line-height: 1.48; }

.rules-action-list { margin: 24px 0 0; border-top: 1px solid rgba(33, 29, 23, .28); }
.rules-action-list > div { display: grid; grid-template-columns: minmax(140px, .35fr) minmax(0, .65fr); gap: 22px; padding: 12px 0; border-bottom: 1px solid rgba(33, 29, 23, .2); }
.rules-action-list dt { color: #7e2119; font-family: "Arial Narrow", Arial, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .06em; line-height: 1.4; text-transform: uppercase; }
.rules-action-list dd { margin: 0; font-size: 14px; line-height: 1.5; }

.rules-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 26px; color: #eee6d2; background: #211f1a; border-left: 1px solid rgba(238, 230, 210, .18); }
.rules-stat-grid > div { display: grid; gap: 5px; padding: 15px 12px; border-top: 1px solid rgba(238, 230, 210, .18); border-right: 1px solid rgba(238, 230, 210, .18); border-bottom: 1px solid rgba(238, 230, 210, .18); }
.rules-stat-grid strong { color: #ad5549; font-family: "Arial Narrow", Arial, sans-serif; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.rules-stat-grid span { color: rgba(238, 230, 210, .76); font-size: 12px; line-height: 1.35; }

.rules-resolution-table { margin-top: 20px; border-top: 1px solid rgba(33, 29, 23, .34); }
.rules-resolution-table > div { display: grid; grid-template-columns: minmax(122px, .4fr) minmax(240px, 1.15fr) minmax(120px, .45fr); gap: 16px; align-items: start; padding: 13px 0; border-bottom: 1px solid rgba(33, 29, 23, .22); }
.rules-resolution-table > div > * { font-size: 13px; line-height: 1.45; }
.rules-resolution-head > span { color: #7e2119; font-family: "Arial Narrow", Arial, sans-serif; font-size: 10px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rules-boundary-list { columns: 2; column-gap: 42px; }
.rules-boundary-list li { break-inside: avoid; }
.rules-revision-note { margin-top: 30px !important; padding-top: 22px; color: rgba(32, 29, 23, .72); border-top: 2px solid #7e2119; }

.rules-module-slot:empty { display: none; }
.rules-inserted-module { margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(33, 29, 23, .26); }
.rules-inserted-module h3 { margin-top: 0; }
.rules-inserted-module h3 small { display: block; margin-top: 7px; color: rgba(32, 29, 23, .52); font-size: 9px; letter-spacing: .1em; }

.rules-float-nav {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 24;
  display: grid;
  grid-template-columns: minmax(132px, 190px) repeat(3, 44px);
  color: #eee6d2;
  background: #211f1a;
  border: 1px solid rgba(238, 230, 210, .28);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .34);
}
.rules-float-nav details { position: relative; min-width: 0; }
.rules-float-nav summary { display: flex; align-items: center; height: 44px; padding: 0 12px; overflow: hidden; cursor: pointer; list-style: none; }
.rules-float-nav summary::-webkit-details-marker { display: none; }
.rules-float-nav summary span { overflow: hidden; font-family: "Arial Narrow", Arial, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.rules-float-nav details nav { position: absolute; right: 0; bottom: calc(100% + 8px); display: grid; width: min(260px, calc(100vw - 32px)); max-height: min(60vh, 520px); overflow-y: auto; background: #211f1a; border: 1px solid rgba(238, 230, 210, .28); box-shadow: 0 14px 40px rgba(0, 0, 0, .34); }
.rules-float-nav details nav a { padding: 10px 14px; color: rgba(238, 230, 210, .74); font-family: "Arial Narrow", Arial, sans-serif; font-size: 11px; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; border-bottom: 1px solid rgba(238, 230, 210, .12); }
.rules-float-nav button, .rules-float-nav .rules-to-top { display: grid; width: 44px; height: 44px; padding: 0; place-items: center; color: #eee6d2; background: transparent; border: 0; border-left: 1px solid rgba(238, 230, 210, .18); font-size: 17px; text-decoration: none; cursor: pointer; }
.rules-float-nav button:disabled { opacity: .3; cursor: default; }

@media (hover: hover) and (pointer: fine) {
  .rules-toolbar a:hover { color: #eee6d2; text-decoration: underline; }
  .rules-config summary:hover { background: linear-gradient(112deg, #b12b20 0%, #8d2119 58%, #c33b2c 100%); }
  .rules-module-row:not(.is-required, .is-unavailable):hover strong { color: #ad5549; }
  .rules-build:hover { background: #682019; }
  .rules-reset:hover { background: #eee6d2; color: #211f1a; }
  .rules-toc nav a:hover { color: #7e2119; padding-left: 6px; }
  .rules-float-nav summary:hover, .rules-float-nav button:hover, .rules-float-nav .rules-to-top:hover { background: #302c25; }
  .rules-float-nav details nav a:hover { color: #fff; background: #302c25; }
}

@media (max-width: 980px) {
  .rules-main { padding-inline: 18px; }
  .rules-reader { grid-template-columns: 210px minmax(0, 1fr); }
  .rules-toc { padding-inline: 24px; }
  .rules-document { padding-inline: 34px; }
  .rules-config-intro { grid-template-columns: 1fr; gap: 18px; }
  .rules-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rules-resolution-table > div { grid-template-columns: minmax(100px, .35fr) minmax(180px, 1fr); }
  .rules-resolution-table > div > :last-child { grid-column: 2; color: #7e2119; }
  .rules-resolution-head > :last-child { display: none; }
}

@media (max-width: 720px) {
  .rules-main { padding: calc(var(--header-height) + 10px) 0 54px; }
  .rules-toolbar { width: calc(100% - 32px); margin-bottom: 8px; }
  .rules-toolbar > span { max-width: 16ch; line-height: 1.35; }
  .rules-toolbar div { gap: 13px; }
  .rules-config { width: calc(100% - 32px); margin-bottom: 10px; }
  .rules-config summary { grid-template-columns: minmax(0, 1fr) 24px; gap: 8px 12px; min-height: 66px; padding: 12px 14px; }
  .rules-config summary span { font-size: 29px; }
  .rules-config summary strong { grid-column: 1; grid-row: 2; }
  .rules-config summary::after { grid-column: 2; grid-row: 1 / 3; }
  .rules-config-form { padding: 28px 16px 32px; }
  .rules-config-intro h1 { font-size: 40px; }
  .rules-config-intro p { font-size: 14px; }
  .rules-module-row { grid-template-columns: 22px minmax(0, 1fr); gap: 12px; }
  .rules-module-row em { grid-column: 2; padding-top: 0; }
  .rules-config-actions { align-items: stretch; }
  .rules-config-actions button { flex: 1 1 100%; }

  .rules-reader { display: block; width: 100%; box-shadow: none; }
  .rules-toc { padding: 24px 16px 28px; border-right: 0; border-bottom: 1px solid rgba(33, 29, 23, .24); }
  .rules-toc-sticky { position: static; max-height: none; padding-right: 0; overflow: visible; }
  .rules-toc nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rules-toc nav a { padding: 9px 4px 9px 0; }
  .rules-toc nav a:nth-child(odd) { border-right: 1px solid rgba(33, 29, 23, .15); }
  .rules-toc nav a:nth-child(even) { padding-left: 12px; }
  .rules-toc-note { display: none; }
  .rules-document { padding: 0 16px 72px; }
  .rules-document-head { padding: 46px 0 32px; }
  .rules-document-head h1 { font-size: clamp(54px, 19vw, 78px); line-height: .82; }
  .rules-document > section { grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 44px 0; }
  .rules-section-number { font-size: 19px; }
  .rules-section-body h2 { margin-bottom: 20px; font-size: clamp(38px, 12vw, 54px); }
  .rules-section-body h3 { margin-top: 32px; }
  .rules-section-body p, .rules-section-body li, .rules-section-body dd { font-size: 15px; line-height: 1.58; }
  .rules-section-body { overflow-wrap: anywhere; }
  .rules-section-body table { table-layout: fixed; }
  .rules-section-body th, .rules-section-body td { min-width: 0; padding: 10px 7px; overflow-wrap: break-word; font-size: 13px; hyphens: auto; }
  .rules-section-body th:first-child, .rules-section-body td:first-child { width: 29%; }
  .rules-section-body th:nth-child(2), .rules-section-body td:nth-child(2) { width: 25%; }
  .rules-section-body th:nth-child(2) { white-space: normal; }
  .rules-section-body > p:has(> img) { margin-inline: -8px; }
  .rules-document > .rules-introduction { padding: 36px 12px 42px; }
  .rules-lede { font-size: 17px !important; }
  .rules-facts { grid-template-columns: 1fr; }
  .rules-action-list > div { grid-template-columns: 1fr; gap: 3px; }
  .rules-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rules-resolution-table > div { grid-template-columns: 1fr; gap: 5px; }
  .rules-resolution-table > div > :last-child { grid-column: 1; }
  .rules-resolution-head { display: none !important; }
  .rules-boundary-list { columns: 1; }
  .rules-callout, .rules-open, .rules-example { margin-inline: -4px; padding: 18px; }

  .rules-float-nav { right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); grid-template-columns: minmax(108px, 1fr) repeat(3, 42px); max-width: calc(100vw - 16px); }
  .rules-float-nav summary, .rules-float-nav button, .rules-float-nav .rules-to-top { height: 42px; }
  .rules-float-nav button, .rules-float-nav .rules-to-top { width: 42px; }
}

@media (max-width: 380px) {
  .rules-toc nav { grid-template-columns: 1fr; }
  .rules-toc nav a:nth-child(odd) { border-right: 0; }
  .rules-toc nav a:nth-child(even) { padding-left: 0; }
  .rules-document { padding-inline: 13px; }
  .rules-document > section { grid-template-columns: 24px minmax(0, 1fr); gap: 8px; }
  .rules-float-nav { grid-template-columns: 92px repeat(3, 42px); }
}

@media print {
  @page { size: A4 portrait; margin: 14mm 13mm; }
  .rules-body { background: white; }
  .rules-body .site-header, .rules-body .site-footer, .rules-toolbar, .rules-config, .rules-toc, .rules-float-nav { display: none !important; }
  .rules-main { padding: 0; background: white; }
  .rules-reader { display: block; width: auto; box-shadow: none; background: white; }
  .rules-document { padding: 0; }
  .rules-document-head { padding-top: 0; }
  .rules-document > section { break-inside: avoid; }
}
