@font-face {
  font-family: "Black Ops One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/BlackOpsOne-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/Rajdhani-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/Rajdhani-Medium.ttf") format("truetype");
}

@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/Rajdhani-SemiBold.ttf") format("truetype");
}

@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/Rajdhani-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/JetBrainsMono-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/JetBrainsMono-SemiBold.ttf") format("truetype");
}

.representative-design {
  --rep-void: #080a0b;
  --rep-ink: #0d1011;
  --rep-panel: #111517;
  --rep-raised: #171d20;
  --rep-line: #2b3235;
  --rep-line-soft: rgb(125 137 139 / 18%);
  --rep-danger: #e5483f;
  --rep-danger-hot: #ff5a4f;
  --rep-amber: #e7a63b;
  --rep-infection: #49bca9;
  --rep-paper: #eee9de;
  --rep-muted: #90989a;
  --rep-faint: #5f686b;
  background:
    radial-gradient(ellipse at 5% 28%, rgb(73 188 169 / 5%), transparent 22rem),
    radial-gradient(circle at 70% 12%, rgb(229 72 63 / 8%), transparent 30rem),
    radial-gradient(ellipse at 82% 72%, rgb(229 72 63 / 4%), transparent 28rem),
    var(--rep-void);
  color: var(--rep-paper);
  font-family: "Rajdhani", system-ui, sans-serif;
  font-size: 17px;
  font-synthesis: none;
  min-width: 320px;
}

.representative-design::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 22%, rgb(229 72 63 / 5%) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 68%, rgb(73 188 169 / 4%) 0 1px, transparent 2px),
    linear-gradient(rgb(231 166 59 / 2.8%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(231 166 59 / 2.8%) 1px, transparent 1px);
  background-size: 79px 83px, 113px 107px, 48px 48px, 48px 48px;
  content: "";
  pointer-events: none;
}

.representative-design::after {
  position: fixed;
  z-index: 0;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgb(255 255 255 / 1.2%) 3px 4px);
  content: "";
  opacity: 0.24;
  pointer-events: none;
}

.representative-design main,
.representative-design .rep-header,
.representative-design .rep-footer {
  position: relative;
  z-index: 1;
}

.representative-design a {
  color: inherit;
}

.representative-design .rep-shell {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

.representative-design .rep-label,
.representative-design .rep-eyebrow,
.representative-design .rep-section-code,
.representative-design .rep-signal,
.representative-design .rep-card-index,
.representative-design .rep-card-foot,
.representative-design .rep-article-head dl,
.representative-design .rep-toc,
.representative-design .rep-rail,
.representative-design .rep-breadcrumbs {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.rep-header {
  position: sticky !important;
  top: 0;
  z-index: 40 !important;
  border-bottom: 1px solid var(--rep-line);
  background: rgb(8 10 11 / 91%);
  backdrop-filter: blur(16px);
}

.rep-signal {
  display: flex;
  min-height: 29px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100% - 1320px) / 2));
  border-bottom: 1px solid var(--rep-line-soft);
  background: #0a0d0e;
  color: var(--rep-faint);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rep-signal > div {
  display: flex;
  gap: 20px;
}

.rep-signal .rep-live {
  color: var(--rep-amber);
}

.rep-signal i,
.rep-current footer i,
.rep-article-head aside strong i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--rep-danger);
  box-shadow: 0 0 12px var(--rep-danger);
}

.rep-nav {
  display: grid;
  width: min(1320px, calc(100% - 48px));
  min-height: 74px;
  margin-inline: auto;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
}

.rep-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.rep-brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  object-fit: contain;
}

.rep-brand > span:last-child {
  display: grid;
  gap: 2px;
}

.rep-brand strong {
  font-family: "Black Ops One", Impact, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.rep-brand small {
  color: var(--rep-amber);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.53rem;
  letter-spacing: 0.21em;
}

.rep-nav nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.rep-nav #primary-nav a {
  position: relative;
  padding: 25px 15px 23px;
  color: #abb1b2;
  font-family: "Rajdhani", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.rep-nav #primary-nav a::after {
  position: absolute;
  right: 15px;
  bottom: 16px;
  left: 15px;
  height: 2px;
  background: var(--rep-danger);
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: 160ms ease;
}

.rep-nav #primary-nav a:hover,
.rep-nav #primary-nav a[aria-current="page"] {
  color: var(--rep-paper);
}

.rep-nav #primary-nav a:hover::after,
.rep-nav #primary-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.rep-language {
  position: relative;
  z-index: 20;
  justify-self: end;
}

.rep-language summary {
  display: flex;
  min-width: 82px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--rep-line);
  background: var(--rep-panel);
  color: var(--rep-paper);
  cursor: pointer;
  font-family: "Rajdhani", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  list-style: none;
  text-transform: uppercase;
}

.rep-language summary::-webkit-details-marker {
  display: none;
}

.rep-language summary::after {
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--rep-amber);
  border-bottom: 1px solid var(--rep-amber);
  content: "";
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.rep-language[open] summary {
  border-color: var(--rep-danger);
  background: #171313;
}

.rep-language[open] summary::after {
  transform: rotate(225deg) translate(-1px, -1px);
}

.rep-language > div {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 250px;
  padding: 12px;
  border: 1px solid #3b4244;
  background: rgb(8 10 11 / 98%);
  box-shadow: 0 22px 56px rgb(0 0 0 / 62%);
}

.rep-language > div > small {
  display: block;
  padding: 2px 8px 10px;
  color: var(--rep-faint);
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.14em;
}

.rep-language a {
  display: grid;
  min-height: 54px;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--rep-line-soft);
  background: var(--rep-raised);
  text-decoration: none;
}

.rep-language a b {
  color: var(--rep-paper);
  font-family: "Rajdhani", system-ui, sans-serif;
  font-size: 15px;
}

.rep-language a span {
  color: #b7bdbd;
  font-size: 14px;
  font-weight: 600;
}

.rep-language a i {
  color: var(--rep-amber);
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.1em;
}

.rep-menu {
  display: none;
}

.rep-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: calc(100svh - 108px);
  min-height: 560px;
  border-bottom: 1px solid rgb(229 72 63 / 24%);
  background: #070809;
}

.rep-hero::before,
.rep-hero::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  pointer-events: none;
}

.rep-hero::before {
  background: url("/assets/media/nmrih2-hero-user.png") center center / cover no-repeat;
}

.rep-hero::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(7 8 9 / 82%) 0%, rgb(7 8 9 / 68%) 35%, rgb(7 8 9 / 18%) 66%, rgb(7 8 9 / 25%) 100%),
    linear-gradient(180deg, rgb(7 8 9 / 10%) 0%, transparent 48%, var(--rep-void) 100%),
    repeating-linear-gradient(0deg, transparent 0 4px, rgb(255 255 255 / 1.6%) 4px 5px);
}

.rep-hero-inner {
  display: grid;
  height: 100%;
  grid-template-columns: minmax(0, 610px) 1fr;
  align-items: center;
  padding-block: 34px 46px;
}

.rep-hero-copy {
  position: relative;
  z-index: 1;
}

.rep-hero-source {
  position: absolute;
  right: max(24px, calc((100% - 1320px) / 2));
  bottom: 18px;
  z-index: 2;
  padding: 7px 9px;
  border: 1px solid rgb(73 188 169 / 22%);
  background: rgb(7 9 10 / 72%);
  color: #8c9898 !important;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.48rem;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.rep-hero-source:hover {
  border-color: var(--rep-infection);
  color: var(--rep-infection) !important;
}

.rep-eyebrow {
  margin: 0 0 18px;
  color: var(--rep-amber);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.7;
  text-transform: uppercase;
}

.rep-eyebrow span {
  color: var(--rep-danger-hot);
}

.rep-hero h1,
.rep-article-head h1 {
  margin: 0;
  font-family: "Black Ops One", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 0.96;
  text-wrap: balance;
}

.rep-hero h1 {
  max-width: 760px;
  font-size: 60px;
}

.rep-hero h1 em {
  color: var(--rep-danger);
  font-style: normal;
  text-shadow: 0 0 36px rgb(229 72 63 / 26%);
}

.rep-lede {
  max-width: 650px;
  margin: 28px 0 0;
  color: #b8bdbd;
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  font-weight: 500;
  line-height: 1.65;
}

.rep-actions,
.rep-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.rep-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 18px;
  border: 1px solid var(--rep-line);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.rep-primary {
  border-color: var(--rep-danger);
  background: var(--rep-danger);
  color: #fff !important;
}

.rep-primary:hover {
  background: var(--rep-danger-hot);
}

.rep-secondary {
  background: rgb(17 21 23 / 78%);
  color: var(--rep-paper) !important;
}

.rep-secondary:hover {
  border-color: var(--rep-amber);
  color: var(--rep-amber) !important;
}

.rep-stat-row {
  display: grid;
  max-width: 590px;
  margin: 42px 0 0;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rep-line);
  border-bottom: 1px solid var(--rep-line);
}

.rep-stat-row div {
  display: grid;
  padding: 14px 18px;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}

.rep-stat-row div + div {
  border-left: 1px solid var(--rep-line);
}

.rep-stat-row dt {
  color: var(--rep-amber);
  font-family: "Black Ops One", Impact, sans-serif;
  font-size: 1.45rem;
}

.rep-stat-row dd {
  margin: 0;
  color: var(--rep-faint);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.11em;
  line-height: 1.5;
}

.rep-board {
  position: relative;
  border: 1px solid #374044;
  background: linear-gradient(145deg, rgb(23 29 32 / 96%), rgb(8 10 11 / 96%));
  box-shadow: 0 30px 90px rgb(0 0 0 / 44%);
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 32px 100%, 0 calc(100% - 32px));
}

.rep-field-feed {
  border-color: #344441;
  background: #090c0d;
  box-shadow: 0 32px 100px rgb(0 0 0 / 58%), 0 0 50px rgb(73 188 169 / 5%);
}

.rep-field-feed .rep-board-head b {
  color: var(--rep-infection);
}

.rep-field-feed .rep-board-head i {
  background: var(--rep-infection);
  box-shadow: 0 0 12px var(--rep-infection);
}

.rep-feed-visual {
  position: relative;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  background: #07090a;
}

.rep-feed-visual::before {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: 57%;
  width: 1px;
  background: linear-gradient(transparent, rgb(229 72 63 / 70%), transparent);
  box-shadow: 0 0 18px rgb(229 72 63 / 46%);
  content: "";
  opacity: 0.7;
}

.rep-feed-visual img {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: 50% center;
  filter: saturate(0.8) contrast(1.08) brightness(0.78);
}

.rep-feed-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(8 10 11 / 5%), transparent 42%, rgb(8 10 11 / 36%)),
    linear-gradient(180deg, rgb(8 10 11 / 10%), transparent 48%, rgb(8 10 11 / 86%)),
    repeating-linear-gradient(0deg, transparent 0 4px, rgb(255 255 255 / 2%) 4px 5px);
  pointer-events: none;
}

.rep-feed-status {
  position: absolute;
  z-index: 4;
  bottom: 50px;
  left: 20px;
  display: grid;
  min-width: 235px;
  padding: 14px 16px;
  border-left: 2px solid var(--rep-danger);
  background: rgb(8 10 11 / 78%);
  backdrop-filter: blur(6px);
  font-family: "JetBrains Mono", monospace;
}

.rep-feed-status span,
.rep-feed-status small {
  color: #778184;
  font-size: 0.48rem;
  letter-spacing: 0.11em;
}

.rep-feed-status b {
  margin: 5px 0;
  color: var(--rep-danger-hot);
  font-size: 0.76rem;
}

.rep-feed-radar {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  width: 210px;
  border: 1px solid rgb(73 188 169 / 32%);
  background: rgb(8 10 11 / 68%);
  color: #50716d;
  backdrop-filter: blur(4px);
}

.rep-feed-radar circle:not(.hot) {
  fill: rgb(8 10 11 / 90%);
  stroke: var(--rep-amber);
  stroke-width: 1.5;
}

.rep-feed-radar circle:not([r="3"]):not([r="5"]) {
  fill: none;
  stroke: rgb(73 188 169 / 34%);
  stroke-dasharray: 5 6;
  stroke-width: 1;
}

.rep-feed-radar path:not(:first-child) {
  fill: none;
  stroke: var(--rep-amber);
  stroke-dasharray: 5 4;
  stroke-width: 1.2;
}

.rep-feed-radar .hot {
  fill: var(--rep-danger);
  stroke: var(--rep-danger-hot);
  stroke-width: 2;
}

.rep-feed-visual figcaption {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-top: 1px solid rgb(73 188 169 / 20%);
  background: rgb(7 9 10 / 88%);
  color: #778184;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.48rem;
  letter-spacing: 0.09em;
}

.rep-feed-visual figcaption a {
  color: var(--rep-infection);
  text-decoration: none;
}

.rep-field-feed .rep-legend span:first-child i {
  border-color: var(--rep-infection);
  background: var(--rep-infection);
}

.rep-board::before,
.rep-board::after {
  position: absolute;
  z-index: 3;
  width: 60px;
  height: 3px;
  background: var(--rep-danger);
  content: "";
}

.rep-board::before {
  top: -1px;
  left: 28px;
}

.rep-board::after {
  right: 28px;
  bottom: -1px;
}

.rep-board-head,
.rep-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-bottom: 1px solid var(--rep-line);
  color: var(--rep-faint);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.54rem;
  letter-spacing: 0.12em;
}

.rep-board-head b {
  color: var(--rep-amber);
  font-weight: 500;
}

.rep-board-head i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--rep-amber);
  box-shadow: 0 0 10px var(--rep-amber);
}

.rep-radar {
  position: relative;
  min-height: 430px;
  overflow: hidden;
}

.rep-radar svg {
  display: block;
  width: 100%;
  min-height: 430px;
  color: #5f6c70;
}

.rep-radar .ring {
  fill: none;
  stroke: #4b5558;
  stroke-dasharray: 6 8;
  stroke-width: 1;
}

.rep-radar .ring.thin {
  opacity: 0.5;
}

.rep-route {
  fill: none;
  stroke: var(--rep-amber);
  stroke-dasharray: 7 5;
  stroke-width: 1.8;
}

.rep-route-alt {
  opacity: 0.38;
  stroke: #8b9699;
}

.rep-node circle:first-child {
  fill: var(--rep-panel);
  stroke: var(--rep-amber);
  stroke-width: 1.5;
}

.rep-node circle:nth-child(2) {
  fill: var(--rep-amber);
}

.rep-node text {
  fill: #aeb5b6;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.rep-node.priority circle:first-child {
  stroke: var(--rep-danger);
}

.rep-node.priority circle:nth-child(2) {
  fill: var(--rep-danger);
}

.rep-node.priority text {
  fill: var(--rep-danger-hot);
}

.rep-scan {
  fill: none;
  stroke: rgb(229 72 63 / 50%);
  stroke-width: 1;
}

.rep-board-readout {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  min-width: 180px;
  padding: 12px 14px;
  border-left: 2px solid var(--rep-danger);
  background: rgb(8 10 11 / 88%);
  font-family: "JetBrains Mono", monospace;
}

.rep-board-readout span,
.rep-board-readout small {
  color: var(--rep-faint);
  font-size: 0.49rem;
  letter-spacing: 0.11em;
}

.rep-board-readout b {
  margin: 4px 0;
  color: var(--rep-paper);
  font-size: 0.8rem;
}

.rep-legend {
  justify-content: flex-start;
  gap: 24px;
  border-top: 1px solid var(--rep-line);
  border-bottom: 0;
}

.rep-legend i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border: 1px solid var(--rep-amber);
  border-radius: 50%;
}

.rep-legend span:nth-child(2) i {
  border-color: #7f898c;
}

.rep-legend span:nth-child(3) i {
  border-color: var(--rep-danger);
  background: var(--rep-danger);
}

.rep-alert {
  border-block: 1px solid rgb(229 72 63 / 35%);
  background: linear-gradient(90deg, rgb(229 72 63 / 14%), rgb(229 72 63 / 3%) 60%, transparent);
}

.rep-alert .rep-shell {
  display: grid;
  min-height: 58px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.rep-alert span,
.rep-alert a {
  color: var(--rep-danger-hot);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-decoration: none;
}

.rep-alert p {
  margin: 0;
  color: #b9bdbc;
  font-weight: 500;
}

.rep-section {
  padding-block: 104px;
}

.rep-section + .rep-section {
  border-top: 1px solid var(--rep-line-soft);
}

.rep-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.rep-section-head.compact {
  margin-bottom: 24px;
}

.rep-section-head .rep-eyebrow {
  margin-bottom: 8px;
}

.rep-section-head h2,
.rep-doctrine h2,
.rep-related h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}

.rep-section-head > a {
  padding-bottom: 5px;
  color: var(--rep-amber);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.rep-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.rep-guide-card {
  position: relative;
  display: flex;
  min-height: 246px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--rep-line);
  background:
    linear-gradient(160deg, rgb(231 166 59 / 5%), transparent 45%),
    var(--rep-panel);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  transition: border-color 160ms ease, transform 160ms ease;
}

.rep-guide-card:hover {
  border-color: var(--rep-amber);
  transform: translateY(-3px);
}

.rep-guide-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 18px;
  height: 1px;
  background: var(--rep-amber);
  content: "";
  transform: rotate(-45deg);
  transform-origin: right;
}

.rep-card-index {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rep-card-index span {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid var(--rep-danger);
  color: var(--rep-danger-hot);
  font-size: 0.62rem;
}

.rep-card-index b {
  max-width: 120px;
  color: var(--rep-faint);
  font-size: 0.48rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: right;
  text-transform: uppercase;
}

.rep-guide-card > p {
  margin: 24px 0 7px;
  color: var(--rep-amber);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.55rem;
  letter-spacing: 0.13em;
}

.rep-guide-card h3 {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.2;
}

.rep-guide-card h3 a {
  text-decoration: none;
}

.rep-card-foot {
  display: flex;
  margin-top: auto;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  color: var(--rep-faint);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
}

.rep-card-foot a {
  color: var(--rep-paper);
  text-decoration: none;
}

.rep-card-foot a b {
  color: var(--rep-danger-hot);
}

.rep-command-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
}

.rep-directory-list {
  border-top: 1px solid var(--rep-line);
}

.rep-directory-list a {
  display: grid;
  min-height: 78px;
  grid-template-columns: 44px 1fr auto 20px;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--rep-line);
  text-decoration: none;
}

.rep-directory-list a:hover strong {
  color: var(--rep-amber);
}

.rep-directory-list a > span {
  color: var(--rep-danger-hot);
  font-family: "Black Ops One", Impact, sans-serif;
  font-size: 1rem;
}

.rep-directory-list strong {
  font-size: 1.18rem;
  letter-spacing: 0.02em;
}

.rep-directory-list b {
  color: var(--rep-faint);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.rep-directory-list i {
  color: var(--rep-danger-hot);
  font-style: normal;
}

.rep-current {
  align-self: start;
  padding: 28px;
  border: 1px solid var(--rep-line);
  background: var(--rep-panel);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

.rep-current > div > a {
  display: grid;
  grid-template-columns: 34px 1fr 20px;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--rep-line);
  text-decoration: none;
}

.rep-current > div > a > span {
  color: var(--rep-danger-hot);
  font-family: "Black Ops One", Impact, sans-serif;
  font-size: 0.8rem;
}

.rep-current a div {
  display: grid;
  gap: 5px;
}

.rep-current a small {
  color: var(--rep-faint);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.48rem;
  letter-spacing: 0.09em;
}

.rep-current a strong {
  font-size: 0.96rem;
  line-height: 1.15;
}

.rep-current a > i {
  color: var(--rep-amber);
  font-style: normal;
}

.rep-current footer {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgb(231 166 59 / 24%);
  background: rgb(231 166 59 / 5%);
  font-family: "JetBrains Mono", monospace;
}

.rep-current footer b {
  color: var(--rep-amber);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
}

.rep-current footer i {
  background: var(--rep-amber);
  box-shadow: 0 0 10px var(--rep-amber);
}

.rep-current footer span {
  color: var(--rep-faint);
  font-size: 0.52rem;
  line-height: 1.5;
}

.rep-doctrine {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
}

.rep-doctrine > div > p:last-child {
  max-width: 600px;
  color: #aeb4b4;
  font-size: 1.06rem;
  line-height: 1.7;
}

.rep-doctrine dl {
  margin: 0;
  border-top: 1px solid var(--rep-line);
}

.rep-doctrine dl > div {
  display: grid;
  min-height: 90px;
  grid-template-columns: 50px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--rep-line);
}

.rep-doctrine dt {
  color: var(--rep-danger-hot);
  font-family: "Black Ops One", Impact, sans-serif;
}

.rep-doctrine dd {
  display: grid;
  gap: 3px;
  margin: 0;
}

.rep-doctrine dd strong {
  letter-spacing: 0.06em;
}

.rep-doctrine dd span {
  color: var(--rep-faint);
  font-size: 0.9rem;
}

/* Guide index and supporting pages */
.rep-index-hero,
.rep-info-hero {
  padding-block: 88px 70px;
  border-bottom: 1px solid var(--rep-line);
}

.rep-index-hero h1,
.rep-info-hero h1,
.rep-not-found h1 {
  max-width: 960px;
  margin: 0;
  font-family: "Black Ops One", Impact, sans-serif;
  font-size: 60px;
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 0.98;
}

.rep-index-hero > p:not(.rep-eyebrow),
.rep-info-hero > p:not(.rep-eyebrow),
.rep-not-found > p:not(.rep-eyebrow) {
  max-width: 780px;
  margin: 24px 0 0;
  color: #b4baba;
  font-size: 1.15rem;
  line-height: 1.6;
}

.rep-guide-search {
  display: grid;
  max-width: 780px;
  margin-top: 38px;
  gap: 8px;
}

.rep-guide-search span {
  color: var(--rep-amber);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.54rem;
  letter-spacing: 0.12em;
}

.rep-guide-search input {
  min-height: 52px;
  width: 100%;
  padding: 0 16px;
  border: 1px solid var(--rep-line);
  border-left: 3px solid var(--rep-danger);
  border-radius: 0;
  outline: 0;
  background: var(--rep-panel);
  color: var(--rep-paper);
  font-family: "Rajdhani", system-ui, sans-serif;
  font-size: 1rem;
}

.rep-guide-search input:focus {
  border-color: var(--rep-amber);
}

.rep-index-groups {
  padding-block: 64px 20px;
}

.rep-index-group {
  padding-block: 0 60px;
  scroll-margin-top: 130px;
}

.rep-index-group + .rep-index-group {
  padding-top: 56px;
  border-top: 1px solid var(--rep-line-soft);
}

.rep-index-marker {
  display: grid;
  margin-bottom: 30px;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 16px;
}

.rep-index-marker > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--rep-danger);
  color: var(--rep-danger-hot);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
}

.rep-index-marker .rep-eyebrow {
  margin-bottom: 4px;
}

.rep-index-marker h2,
.rep-empty-state h2,
.rep-source-policy h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  line-height: 1;
}

.rep-index-group .rep-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rep-empty-state {
  margin-block: 60px 100px;
  padding: 34px;
  border: 1px solid var(--rep-line);
  background: var(--rep-panel);
}

.rep-empty-state p:last-child {
  color: var(--rep-muted);
}

.rep-protocol-grid {
  display: grid;
  padding-block: 78px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rep-protocol-grid article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--rep-line);
  background:
    linear-gradient(145deg, rgb(229 72 63 / 6%), transparent 42%),
    var(--rep-panel);
}

.rep-protocol-grid article > span {
  color: var(--rep-danger-hot);
  font-family: "Black Ops One", Impact, sans-serif;
}

.rep-protocol-grid h2 {
  margin: 42px 0 12px;
  font-size: 1.55rem;
}

.rep-protocol-grid p {
  margin: 0;
  color: #a9b0b0;
  line-height: 1.65;
}

.rep-source-policy {
  padding-block: 78px 30px;
  border-top: 1px solid var(--rep-line-soft);
}

.rep-source-policy > div {
  margin-top: 30px;
  border-top: 1px solid var(--rep-line);
}

.rep-source-policy a {
  display: grid;
  min-height: 68px;
  grid-template-columns: 42px 1fr auto 20px;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--rep-line-soft);
  text-decoration: none;
}

.rep-source-policy a > span {
  color: var(--rep-danger-hot);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.54rem;
}

.rep-source-policy a strong {
  font-size: 0.95rem;
}

.rep-source-policy a small {
  color: var(--rep-faint);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.5rem;
}

.rep-source-policy a i {
  color: var(--rep-amber);
  font-style: normal;
}

.rep-not-found {
  display: flex;
  min-height: calc(100svh - 108px);
  flex-direction: column;
  justify-content: center;
  padding-block: 90px;
}

.rep-not-found > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.rep-footer {
  margin-top: 70px;
  border-top: 1px solid var(--rep-line);
  background: #090b0c;
}

.rep-footer-grid {
  display: grid;
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: 64px;
  grid-template-columns: 1.6fr 0.7fr 0.7fr;
  gap: 70px;
}

.rep-footer-grid > div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.rep-footer-grid p {
  max-width: 500px;
  margin: 18px 0 0;
  color: var(--rep-faint);
  line-height: 1.6;
}

.rep-footer-grid > div > a:not(.rep-brand) {
  color: #9da4a5;
  font-size: 0.92rem;
  text-decoration: none;
}

.rep-footer-grid > div > a:hover {
  color: var(--rep-amber);
}

.rep-footer-grid .rep-label {
  margin-bottom: 7px;
  color: var(--rep-amber);
  font-size: 0.54rem;
  letter-spacing: 0.13em;
}

.rep-footer-base {
  display: flex;
  width: min(1320px, calc(100% - 48px));
  min-height: 48px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--rep-line-soft);
  color: var(--rep-faint);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.5rem;
  letter-spacing: 0.1em;
}

/* Representative article */
.rep-breadcrumbs {
  display: flex;
  gap: 10px;
  padding-block: 28px;
  color: var(--rep-faint);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rep-breadcrumbs a {
  color: var(--rep-amber);
  text-decoration: none;
}

.rep-article-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: end;
  gap: 72px;
  padding: 42px 0 60px;
  border-bottom: 1px solid var(--rep-line);
}

.rep-article-head h1 {
  max-width: 980px;
  font-size: 48px;
}

.rep-article-head > div > p:not(.rep-eyebrow) {
  max-width: 800px;
  margin: 24px 0 0;
  color: #b4baba;
  font-size: 1.22rem;
  line-height: 1.55;
}

.rep-article-head dl {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin: 32px 0 0;
}

.rep-article-head dl div {
  display: grid;
  gap: 4px;
}

.rep-article-head dt {
  color: var(--rep-faint);
  font-size: 0.49rem;
  letter-spacing: 0.1em;
}

.rep-article-head dd {
  margin: 0;
  color: var(--rep-paper);
  font-size: 0.62rem;
}

.rep-article-head > aside {
  padding: 22px;
  border: 1px solid var(--rep-line);
  border-top: 2px solid var(--rep-danger);
  background: var(--rep-panel);
}

.rep-article-head > aside > span,
.rep-article-head > aside > small {
  color: var(--rep-faint);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.5rem;
  letter-spacing: 0.1em;
}

.rep-article-head > aside strong {
  display: block;
  margin: 13px 0 10px;
  color: var(--rep-amber);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.rep-article-head > aside p {
  color: #9da4a5;
  font-size: 0.92rem;
  line-height: 1.45;
}

.rep-article-grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 760px) 230px;
  justify-content: space-between;
  gap: 54px;
  padding-block: 70px 30px;
}

.rep-toc {
  position: sticky;
  top: 128px;
  align-self: start;
}

.rep-toc > span,
.rep-rail > span {
  display: block;
  margin-bottom: 13px;
  color: var(--rep-amber);
  font-size: 0.54rem;
  letter-spacing: 0.12em;
}

.rep-toc nav {
  display: grid;
  border-top: 1px solid var(--rep-line);
}

.rep-toc nav a {
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rep-line-soft);
  color: #8f9799;
  font-family: "Rajdhani", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.rep-toc nav a:hover {
  color: var(--rep-paper);
}

.rep-toc nav b {
  color: var(--rep-danger-hot);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.5rem;
  font-weight: 500;
}

.rep-toc > div {
  display: grid;
  margin-top: 24px;
  grid-template-columns: 8px 1fr;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgb(231 166 59 / 22%);
  background: rgb(231 166 59 / 4%);
}

.rep-toc > div i {
  width: 6px;
  height: 6px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--rep-amber);
  box-shadow: 0 0 9px var(--rep-amber);
}

.rep-toc > div p {
  margin: 0;
  color: var(--rep-faint);
  font-family: "Rajdhani", system-ui, sans-serif;
  font-size: 0.78rem;
  line-height: 1.45;
}

.rep-toc > div strong {
  display: block;
  margin-bottom: 3px;
  color: var(--rep-amber);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.48rem;
}

.rep-reading {
  min-width: 0;
}

.rep-answer {
  position: relative;
  padding: 32px;
  border: 1px solid rgb(229 72 63 / 48%);
  border-left: 3px solid var(--rep-danger);
  background:
    linear-gradient(120deg, rgb(229 72 63 / 10%), transparent 52%),
    var(--rep-panel);
}

.rep-answer > span {
  color: var(--rep-danger-hot);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.rep-answer h2 {
  margin: 13px 0 9px;
  font-size: 1.8rem;
  line-height: 1.08;
}

.rep-answer p {
  margin: 0;
  color: #c5c9c8;
  line-height: 1.64;
}

.rep-answer > div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.rep-answer > small {
  display: block;
  margin-top: 16px;
  color: var(--rep-faint);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.5rem;
  line-height: 1.5;
}

.rep-content-section {
  padding-block: 52px;
  border-bottom: 1px solid var(--rep-line-soft);
  scroll-margin-top: 130px;
}

.rep-section-code {
  margin: 0 0 8px;
  color: var(--rep-danger-hot);
  font-size: 0.54rem;
  letter-spacing: 0.13em;
}

.rep-content-section h2 {
  margin: 0 0 20px;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.rep-content-section > p:not(.rep-section-code),
.rep-content-section li {
  color: #b8bdbc;
  font-size: 1.04rem;
  line-height: 1.72;
}

.rep-content-section > p:not(.rep-section-code) {
  margin: 0 0 18px;
}

.rep-article-media {
  margin: 28px 0;
  border: 1px solid var(--rep-line);
  background: #080a0b;
}

.rep-article-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06) brightness(0.84);
}

.rep-article-media figcaption {
  display: flex;
  min-height: 42px;
  padding: 10px 13px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--rep-line);
  color: var(--rep-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.52rem;
  line-height: 1.45;
}

.rep-article-media figcaption a {
  flex: 0 0 auto;
  color: var(--rep-amber);
  text-decoration: none;
}

.rep-content-section ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.rep-content-section ul li {
  position: relative;
  padding-left: 24px;
}

.rep-content-section ul li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 9px;
  height: 2px;
  background: var(--rep-danger);
  content: "";
}

.rep-inline-actions a {
  padding: 12px 14px;
  border: 1px solid var(--rep-line);
  background: var(--rep-panel);
  color: var(--rep-amber);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.rep-table {
  margin-top: 26px;
  overflow-x: auto;
  border: 1px solid var(--rep-line);
}

.rep-table table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
}

.rep-table th {
  padding: 12px 16px;
  border-bottom: 1px solid var(--rep-line);
  background: #0d1011;
  color: var(--rep-amber);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.rep-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--rep-line-soft);
  color: #aeb4b4;
  font-size: 0.93rem;
  line-height: 1.45;
}

.rep-table tbody tr:last-child td {
  border-bottom: 0;
}

.rep-callout {
  margin-top: 26px;
  padding: 19px 20px;
  border-left: 2px solid var(--rep-amber);
  background: rgb(231 166 59 / 6%);
}

.rep-callout span {
  color: var(--rep-amber);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.rep-callout p {
  margin: 8px 0 0;
  color: #abb1b1;
  line-height: 1.6;
}

.rep-faq details {
  border-top: 1px solid var(--rep-line);
}

.rep-faq details:last-child {
  border-bottom: 1px solid var(--rep-line);
}

.rep-faq summary {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 600;
}

.rep-faq summary span {
  color: var(--rep-danger-hot);
  font-family: "JetBrains Mono", monospace;
}

.rep-faq details p {
  margin: 0;
  padding: 0 34px 20px 0;
  color: #aeb4b4;
  line-height: 1.6;
}

.rep-sources ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rep-sources li a {
  display: grid;
  grid-template-columns: 32px 1fr 20px;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--rep-line-soft);
  text-decoration: none;
}

.rep-sources li > a > span {
  color: var(--rep-danger-hot);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.54rem;
}

.rep-sources li div {
  display: grid;
  gap: 4px;
}

.rep-sources li strong {
  color: var(--rep-paper);
  font-size: 0.94rem;
}

.rep-sources li small {
  color: var(--rep-faint);
  font-size: 0.78rem;
  line-height: 1.35;
}

.rep-sources li i {
  color: var(--rep-amber);
  font-style: normal;
}

.rep-rail {
  position: sticky;
  top: 128px;
  align-self: start;
  padding: 20px;
  border: 1px solid var(--rep-line);
  border-top: 2px solid var(--rep-amber);
  background: var(--rep-panel);
}

.rep-rail > strong {
  display: block;
  color: var(--rep-paper);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.rep-rail > p {
  color: #959d9e;
  font-family: "Rajdhani", system-ui, sans-serif;
  font-size: 0.88rem;
  line-height: 1.48;
}

.rep-rail dl {
  margin: 18px 0 0;
  border-top: 1px solid var(--rep-line);
}

.rep-rail dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rep-line-soft);
}

.rep-rail dt {
  color: var(--rep-faint);
  font-size: 0.48rem;
}

.rep-rail dd {
  margin: 0;
  color: var(--rep-amber);
  font-size: 0.5rem;
}

.rep-related {
  padding-block: 90px;
}

.rep-related .rep-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1180px) {
  .rep-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rep-index-group .rep-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rep-article-grid {
    grid-template-columns: 190px minmax(0, 760px);
    justify-content: center;
  }

  .rep-rail {
    display: none;
  }
}

@media (max-width: 960px) {
  .rep-nav {
    grid-template-columns: auto 1fr auto;
  }

  .rep-menu {
    display: grid;
    width: 43px;
    height: 43px;
    margin-left: auto;
    place-content: center;
    border: 1px solid var(--rep-line);
    background: var(--rep-panel);
  }

  .rep-menu span {
    display: block;
    width: 18px;
    height: 1px;
    margin: 2px;
    background: var(--rep-paper);
  }

  .rep-menu b {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0 0 0 0);
  }

  .rep-nav nav {
    position: absolute;
    top: 103px;
    right: 24px;
    left: 24px;
    display: none;
    padding: 12px;
    border: 1px solid var(--rep-line);
    background: #0b0e0f;
    box-shadow: 0 22px 50px rgb(0 0 0 / 48%);
  }

  .rep-nav nav[data-open] {
    display: grid;
  }

  .rep-nav #primary-nav a {
    padding: 14px;
    border-bottom: 1px solid var(--rep-line-soft);
  }

  .rep-nav #primary-nav a::after {
    display: none;
  }

  .rep-language summary {
    min-width: 64px;
    min-height: 43px;
  }

  .rep-language > div {
    width: 220px;
  }

  .rep-hero {
    height: auto;
    min-height: calc(100svh - 103px);
  }

  .rep-hero-inner {
    min-height: inherit;
    grid-template-columns: minmax(0, 560px) 1fr;
    padding-block: 60px 74px;
  }

  .rep-board {
    width: min(720px, 100%);
  }

  .rep-command-layout,
  .rep-doctrine {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .rep-article-head {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .rep-article-head > aside {
    max-width: 500px;
  }

  .rep-article-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .rep-toc {
    position: static;
  }

  .rep-toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rep-toc nav a:nth-child(odd) {
    padding-right: 16px;
  }

  .rep-toc > div {
    max-width: 420px;
  }
}

@media (max-width: 680px) {
  .representative-design {
    font-size: 16px;
  }

  .representative-design .rep-shell,
  .rep-nav,
  .rep-footer-grid,
  .rep-footer-base {
    width: min(100% - 28px, 1320px);
  }

  .rep-signal {
    min-height: 27px;
    padding-inline: 14px;
  }

  .rep-signal > div span:not(.rep-live),
  .rep-signal > div:last-child span:first-child {
    display: none;
  }

  .rep-nav {
    min-height: 68px;
    gap: 12px;
  }

  .rep-brand-mark {
    width: 40px;
    height: 40px;
  }

  .rep-brand strong {
    font-size: 0.82rem;
  }

  .rep-brand small {
    font-size: 0.44rem;
  }

  .rep-nav nav {
    top: 95px;
    right: 14px;
    left: 14px;
  }

  .rep-hero {
    min-height: calc(100svh - 95px);
  }

  .rep-hero::before {
    background-image: url("/assets/media/nmrih2-hero-user.png");
    background-position: 72% center;
  }

  .rep-hero::after {
    background:
      linear-gradient(90deg, rgb(7 8 9 / 90%) 0%, rgb(7 8 9 / 70%) 58%, rgb(7 8 9 / 20%) 100%),
      linear-gradient(180deg, rgb(7 8 9 / 20%) 0%, transparent 42%, var(--rep-void) 100%),
      repeating-linear-gradient(0deg, transparent 0 4px, rgb(255 255 255 / 1.4%) 4px 5px);
  }

  .rep-hero-inner {
    min-height: inherit;
    grid-template-columns: minmax(0, 1fr);
    padding-block: 38px 68px;
  }

  .rep-hero-copy {
    width: 100%;
  }

  .rep-hero h1 {
    font-size: 44px;
  }

  .rep-lede {
    margin-top: 22px;
    font-size: 1rem;
  }

  .rep-actions {
    display: grid;
  }

  .rep-button {
    width: 100%;
  }

  .rep-stat-row {
    margin-top: 24px;
  }

  .rep-stat-row div {
    padding: 12px 7px;
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .rep-stat-row dt {
    font-size: 1.18rem;
  }

  .rep-stat-row dd {
    font-size: 10px;
  }

  .rep-hero-source {
    right: 14px;
    bottom: 10px;
    font-size: 0.42rem;
  }

  .rep-radar,
  .rep-radar svg {
    min-height: 390px;
  }

  .rep-feed-visual {
    min-height: 300px;
  }

  .rep-feed-radar {
    display: none;
  }

  .rep-feed-status {
    right: 14px;
    bottom: 45px;
    left: 14px;
    min-width: 0;
  }

  .rep-feed-visual figcaption {
    padding-inline: 12px;
  }

  .rep-board-head span {
    max-width: 150px;
  }

  .rep-board-readout {
    right: 12px;
    bottom: 12px;
    min-width: 158px;
  }

  .rep-legend {
    gap: 12px;
    font-size: 0.44rem;
  }

  .rep-alert .rep-shell {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 8px;
    padding-block: 16px;
  }

  .rep-alert a {
    margin-top: 4px;
  }

  .rep-section {
    padding-block: 70px;
  }

  .rep-section-head {
    display: grid;
    align-items: start;
  }

  .rep-card-grid,
  .rep-related .rep-card-grid,
  .rep-index-group .rep-card-grid {
    grid-template-columns: 1fr;
  }

  .rep-index-hero,
  .rep-info-hero {
    padding-block: 62px 54px;
  }

  .rep-index-hero h1,
  .rep-info-hero h1,
  .rep-not-found h1 {
    font-size: 42px;
  }

  .rep-index-groups,
  .rep-protocol-grid,
  .rep-source-policy {
    padding-block: 58px;
  }

  .rep-index-group {
    padding-bottom: 58px;
  }

  .rep-index-group + .rep-index-group {
    padding-top: 54px;
  }

  .rep-protocol-grid {
    grid-template-columns: 1fr;
  }

  .rep-source-policy a {
    grid-template-columns: 32px 1fr 18px;
  }

  .rep-source-policy a small {
    display: none;
  }

  .rep-not-found > div {
    display: grid;
  }

  .rep-guide-card {
    min-height: 245px;
  }

  .rep-directory-list a {
    grid-template-columns: 36px 1fr 18px;
  }

  .rep-directory-list b {
    display: none;
  }

  .rep-current {
    padding: 20px;
  }

  .rep-doctrine {
    gap: 46px;
  }

  .rep-footer-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .rep-footer-base {
    display: grid;
    gap: 7px;
    padding-block: 16px;
  }

  .rep-breadcrumbs {
    overflow: hidden;
    white-space: nowrap;
  }

  .rep-article-head {
    padding-top: 26px;
  }

  .rep-article-head h1 {
    font-size: clamp(2.25rem, 12vw, 48px);
  }

  .rep-article-head > div > p:not(.rep-eyebrow) {
    font-size: 1.05rem;
  }

  .rep-article-head dl {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .rep-article-grid {
    padding-top: 42px;
  }

  .rep-toc nav {
    grid-template-columns: 1fr;
  }

  .rep-answer {
    padding: 24px 20px;
  }

  .rep-answer > div {
    display: grid;
  }

  .rep-content-section {
    padding-block: 42px;
  }

  .rep-table {
    margin-right: -14px;
    margin-left: -14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rep-guide-card,
  .rep-nav #primary-nav a::after {
    transition: none;
  }
}
