.rtr {
  --rtr-bg: #f4f5f7;
  --rtr-panel: #fff;
  --rtr-panel-soft: #f8f9fb;
  --rtr-text: #1b2028;
  --rtr-muted: #515b68;
  --rtr-line: #dce1e7;
  --rtr-red: #b62024;
  --rtr-red-bg: #fbeaec;
  --rtr-badge: #794008;
  --rtr-badge-bg: #fff1d8;
  --rtr-header: #212631;
  --rb-ink: var(--rtr-text);
  --redico-text-link: var(--rtr-red);
  --rx-readable-field-text: var(--rtr-text);
  --rx-readable-field-bg: var(--rtr-panel);
  --rx-readable-placeholder: var(--rtr-muted);
  background: var(--rtr-bg);
  color: var(--rtr-text);
  padding-block: 22px 76px;
}

:where([data-theme="dark"], [data-rd-theme="dark"], .dark, .theme-dark) .rtr {
  --rtr-bg: #171a20;
  --rtr-panel: #232831;
  --rtr-panel-soft: #292f3b;
  --rtr-text: #f3f5f8;
  --rtr-muted: #c2c9d3;
  --rtr-line: #414957;
  --rtr-red: #ff9a9a;
  --rtr-red-bg: #422c31;
  --rtr-badge: #ffd899;
  --rtr-badge-bg: #493b2a;
  --rtr-header: #232831;
}

.rtr [hidden] { display: none !important; }
.rtr :where(h1, h2, h3, p, ul, dl, dd) { margin: 0; }
.rtr :where(h1, h2, h3) { color: var(--rtr-text); font-family: Manrope, system-ui, sans-serif; }
.rtr :where(h1, h2, h3, p, dt, dd, li, a, label) { overflow-wrap: anywhere; }
.rtr :where(a, button, input):focus-visible { outline: 3px solid var(--rtr-red); outline-offset: 4px; }
.rtr :where([id]) { scroll-margin-top: 112px; }
.rtr-shell { width: min(1280px, calc(100% - 56px)); margin-inline: auto; }

.rtr-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(280px, 1fr);
  gap: 14px;
  margin-block: 18px 42px;
}

.rtr-hero-main, .rtr-hero-aside, .rtr-article-facts {
  border: 1px solid var(--rtr-line);
  border-radius: 24px;
  min-width: 0;
}

.rtr-hero-main {
  background: var(--rtr-panel);
  padding: clamp(23px, 3.65vw, 50px);
}

.rtr-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--rtr-red);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 13px;
}

.rtr-kicker span { background: currentColor; width: 8px; height: 8px; border-radius: 100%; }

.rtr h1 {
  font-size: clamp(35px, 4.35vw, 66px);
  font-weight: 800;
  letter-spacing: -.052em;
  line-height: 1.04;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.rtr-lead { max-width: 58ch; color: var(--rtr-muted); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.5; margin-top: 17px; }
.rtr-search { margin-top: 27px; }
.rtr-search label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 750; }
.rtr-search-field { position: relative; }

.rtr-search-field input {
  appearance: none;
  display: block;
  border: 1px solid var(--rtr-line);
  border-radius: 12px;
  background: var(--rtr-bg);
  color: var(--rtr-text);
  font: inherit;
  padding: 13px 99px 13px 15px;
  min-height: 52px;
  width: 100%;
}

.rtr-search-field input::placeholder { color: var(--rtr-muted); }
.rtr-search-field input::-webkit-search-cancel-button { appearance: none; }
.rtr-search-field button { position: absolute; inset: 4px 6px 4px auto; border: 0; border-radius: 8px; background: transparent; color: var(--rtr-red); cursor: pointer; font: inherit; font-weight: 750; padding-inline: 8px; }
.rtr-hero-links { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; margin-top: 17px; }
.rtr-hero-links a, .rtr-source a, .rtr-empty a { color: var(--rtr-red); text-decoration: underline; text-underline-offset: .19em; font-size: 14px; font-weight: 730; }

.rtr-hero-aside {
  --rb-ink: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  background: var(--rtr-header);
  color: #ecedf0;
  padding: clamp(22px, 2.8vw, 38px);
}

.rtr-hero-aside h2 { font-size: clamp(21px, 2vw, 28px); color: #fff; line-height: 1.17; letter-spacing: -.027em; }
.rtr-index-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding-bottom: 20px; border-bottom: 1px solid #515764; }
.rtr-index-facts strong { display: block; color: #fff; font-family: Manrope, system-ui, sans-serif; font-weight: 800; font-size: clamp(34px, 4vw, 50px); line-height: 1.06; letter-spacing: -.04em; }
.rtr-index-facts span { display: block; font-size: 13px; line-height: 1.36; margin-top: 5px; }
.rtr-aside-content > p { color: #d2d7df; margin-block: 9px 17px; font-size: 15px; line-height: 1.55; }

.rtr a.rtr-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  max-width: 100%;
  background: #bf2228;
  color: #fff;
  border-radius: 10px;
  padding: 9px 16px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.rtr a.rtr-button:hover { background: #a61a21; }
.rtr-hero-aside .rtr-button:focus-visible { outline-color: #ffb6b8; }
.rtr-directory-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 13px; }
.rtr-directory h2, .rtr-quote h2, .rtr-related h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.037em; font-weight: 790; line-height: 1.12; }
.rtr-status-filters { display: inline-flex; flex-wrap: wrap; gap: 5px; }

.rtr-status-filters button, .rtr-group-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--rtr-line);
  border-radius: 100px;
  padding: 7px 13px;
  background: var(--rtr-panel);
  color: var(--rtr-text);
  font: inherit;
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
  cursor: pointer;
}

.rtr-status-filters button[aria-pressed="true"], .rtr-group-nav a:hover { border-color: var(--rtr-red); background: var(--rtr-red-bg); color: var(--rtr-red); }
.rtr-group-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 16px 13px; }
.rtr-result { color: var(--rtr-muted); font-size: 14px; min-height: 22px; }
.rtr-empty { background: var(--rtr-panel); border: 1px solid var(--rtr-line); border-radius: 16px; padding: 20px; margin-top: 15px; }
.rtr-empty a { display: inline-block; margin-top: 9px; }
.rtr-group { margin-top: 28px; }
.rtr-group h3 { font-size: clamp(20px, 2.35vw, 30px); font-weight: 790; line-height: 1.17; margin: 0 0 11px; letter-spacing: -.024em; }

.rtr-card-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.rtr-card-grid > li { display: flex; min-width: 0; }

.rtr-reg-card {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  min-height: 131px;
  padding: 15px 37px 14px 16px;
  border: 1px solid var(--rtr-line);
  border-radius: 14px;
  background: var(--rtr-panel);
  color: var(--rtr-text);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.rtr-reg-card:hover { border-color: var(--rtr-red); color: var(--rtr-text); }
.rtr-reg-top { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 9px; margin-bottom: 8px; }
.rtr-code { color: var(--rtr-red); font: 750 13px/1.35 system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.rtr-chip { border-radius: 99px; padding: 3px 7px; font-size: 11px; line-height: 1.3; font-weight: 750; }
.rtr-chip--pending { color: var(--rtr-badge); background: var(--rtr-badge-bg); }
.rtr-reg-name { font-size: 17px; line-height: 1.26; font-weight: 800; }
.rtr-reg-caption { color: var(--rtr-muted); font-size: 13px; line-height: 1.42; margin-top: 6px; }
.rtr-arrow { position: absolute; inset: 14px 14px auto auto; color: var(--rtr-red); font-size: 18px; line-height: 1; }

.rtr-article-hero { margin-bottom: 12px; }
.rtr-article-hero .rtr-hero-main { border-top: 3px solid var(--rtr-red); }
.rtr-article h1 { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.09; hyphens: auto; }
.rtr-article .rtr-kicker {
  display: inline-flex;
  max-width: 100%;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--rtr-red-bg);
  color: var(--rtr-red);
}
.rtr-article .rtr-kicker--pending { background: var(--rtr-badge-bg); color: var(--rtr-badge); }
.rtr-article .rtr-kicker span { flex: 0 0 auto; }
.rtr-article-facts {
  display: grid;
  align-content: center;
  background: var(--rtr-panel-soft);
  padding: 10px clamp(17px, 3vw, 36px);
}
.rtr-article-facts > div { min-width: 0; padding-block: 14px; }
.rtr-article-facts > div + div { border-top: 1px solid var(--rtr-line); }
.rtr-article-facts dt { color: var(--rtr-muted); font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.rtr-article-facts dd { font-size: 16px; line-height: 1.45; font-weight: 760; }
.rtr-article-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
  border: 1px solid var(--rtr-line);
  border-radius: 14px;
  background: var(--rtr-panel);
}
.rtr-article-nav a {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 44px;
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--rtr-panel-soft);
  color: var(--rtr-text);
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: .18em;
}
.rtr-article-nav a:hover { background: var(--rtr-red-bg); color: var(--rtr-red); }
.rtr-summary, .rtr-faq { margin-block: 24px; }
.rtr-summary > h2, .rtr-faq > h2 { margin-bottom: 12px; font-size: clamp(23px, 2.8vw, 34px); line-height: 1.15; font-weight: 790; letter-spacing: -.032em; }
.rtr-article-grid, .rtr-faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rtr-content-card, .rtr-source, .rtr-quote { border: 1px solid var(--rtr-line); border-radius: 19px; background: var(--rtr-panel); padding: clamp(17px, 2.4vw, 28px); min-width: 0; }
.rtr-content-card h2, .rtr-content-card h3, .rtr-source h2 { font-size: clamp(19px, 2.15vw, 26px); font-weight: 790; line-height: 1.19; letter-spacing: -.026em; }
.rtr-content-card p, .rtr-source p, .rtr-quote > div > p { color: var(--rtr-muted); font-size: 16px; line-height: 1.62; margin-top: 9px; }
.rtr-content-card p { max-width: 66ch; }
.rtr-source { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: center; gap: 14px 22px; margin: 14px 0 26px; }
.rtr-source cite { font-style: normal; }
.rtr-source .rtr-edition { font-size: 13px; }
.rtr-source-links { display: grid; gap: 6px; min-width: 0; }
.rtr-source-links a { min-width: 0; padding: 10px 12px; background: var(--rtr-panel-soft); border: 1px solid var(--rtr-line); border-radius: 8px; }
.rtr-quote { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(14px, 3vw, 32px); align-items: start; margin-top: 34px; border-top: 3px solid var(--rtr-red); }
.rtr-quote > div > p { max-width: 54ch; }
.rtr-form-panel {
  min-width: 0;
  border: 1px solid #dce1e7;
  border-radius: 14px;
  background: #fff;
  color: #1b2028;
  --rb-ink: #1b2028;
  --redico-text-link: #962329;
}
.rtr-form-panel :where(.rx-ux-form-slot, .rx-ux-form, .rd-field, .rd-control) {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.rtr .rtr-form-panel .rx-ux-form {
  --rdc-ink: #1b2028 !important;
  --rdc-muted: #4f5865 !important;
  --rx-readable-field-text: #1b2028 !important;
  --rx-readable-field-bg: #fff !important;
  --rx-readable-placeholder: #515b68 !important;
  --rx-readable-muted: #4f5865 !important;
  color: #1b2028;
}
.rtr-form-panel :where(input, textarea, button):focus-visible { outline-color: #b62024; }
.rtr-related { margin-top: 33px; }
.rtr-related ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 8px; padding: 0; margin-top: 12px; list-style: none; }
.rtr-related li { display: flex; min-width: 0; }
.rtr-related li a { display: flex; flex: 1; align-items: center; min-height: 44px; border: 1px solid var(--rtr-line); background: var(--rtr-panel); color: var(--rtr-text); text-decoration: underline; text-underline-offset: .16em; font-size: 14px; padding: 10px 12px; border-radius: 9px; }
.rtr-related li a:hover { color: var(--rtr-red); }

.rtr-pressure-calculator { min-width: 0; max-width: 100%; margin-block: 15px 24px; }
.rtr-pressure-calculator .rx-2col.rx-ux-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) !important; gap: clamp(14px, 2.6vw, 35px) !important; padding: clamp(14px, 2.3vw, 32px) !important; }
.rtr-pressure-calculator #calc { min-width: 0; max-width: 100%; --rb-ink: #1b2028; --rx-readable-field-text: #1b2028; --rx-readable-field-bg: #fff; --redico-text-link: #962329; }
.rtr-pressure-calculator #calc .c032-2col { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }

@media (max-width: 900px) {
  .rtr-shell { width: calc(100% - 36px); }
  .rtr-hero { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 29px; }
  .rtr-desktop-break { display: none; }
  .rtr-hero-aside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
  .rtr-index-facts { align-items: start; align-content: start; border-bottom: 0; padding: 0; }
  .rtr-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rtr-article-hero { margin-bottom: 12px; }
  .rtr-pressure-calculator .rx-2col.rx-ux-hero { grid-template-columns: minmax(0, 1fr) !important; }
}

@media (max-width: 570px) {
  .rtr { padding-block: 10px 44px; }
  .rtr-shell { width: calc(100% - 24px); }
  .rtr-hero-main, .rtr-hero-aside, .rtr-article-facts { border-radius: 17px; }
  .rtr-hero-main { padding: 19px 16px; }
  .rtr h1 { font-size: clamp(30px, 8.45vw, 43px); }
  .rtr-article h1 { font-size: clamp(27px, 7.5vw, 37px); }
  .rtr-hero-aside { grid-template-columns: minmax(0, 1fr); gap: 15px; padding: 17px 16px; }
  .rtr-index-facts { gap: 11px; padding-bottom: 13px; border-bottom: 1px solid #515764; }
  .rtr-search { margin-top: 18px; }
  .rtr-search-field input { font-size: 16px; padding: 11px 78px 11px 10px; }
  .rtr-search-field button { font-size: 13px; }
  .rtr-card-grid, .rtr-article-grid, .rtr-faq-grid, .rtr-quote, .rtr-source { grid-template-columns: minmax(0, 1fr); }
  .rtr-reg-card { min-height: 110px; }
  .rtr-group-nav { gap: 6px; }
  .rtr-group { margin-top: 21px; }
  .rtr-quote { margin-top: 27px; }
  .rtr-article-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px; }
  .rtr-article-nav a { padding: 7px 8px; font-size: 13px; }
  .rtr-article-nav a:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .rtr-pressure-calculator #calc .c032-2col { grid-template-columns: minmax(0, 1fr) !important; }
}
.rtr .rtr-summary-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 6px;
  font-weight: 760;
  text-underline-offset: .18em;
}

.rtr-depth { display: grid; gap: 20px; margin-block: 24px; min-width: 0; }
.rtr-depth-section {
  min-width: 0;
  padding: clamp(15px, 2.6vw, 30px);
  border: 1px solid var(--rtr-line);
  border-radius: 19px;
  background: var(--rtr-panel);
  color: var(--rtr-text);
}
.rtr-depth-section > h2 { font-size: clamp(22px, 2.8vw, 33px); line-height: 1.2; }
.rtr-depth-section > p, .rtr-depth-note p, .rtr-depth-steps p { color: var(--rtr-muted); line-height: 1.6; }
.rtr-depth-section > p { max-width: 79ch; margin-top: 10px; }
.rtr-depth-table {
  width: 100%;
  margin-block: 16px;
  border-collapse: collapse;
  table-layout: fixed;
  color: var(--rtr-text);
  background: var(--rtr-panel);
  font-size: 15px;
  line-height: 1.52;
}
.rtr-depth-table caption { text-align: left; padding: 8px 0; font-weight: 800; color: var(--rtr-text); }
.rtr-depth-table th, .rtr-depth-table td {
  vertical-align: top;
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--rtr-line);
  overflow-wrap: anywhere;
}
.rtr-depth-table thead th { background: var(--rtr-panel-soft); font-weight: 800; }
.rtr-depth-table tbody th { font-weight: 750; }
.rtr-depth-table tbody tr:nth-child(even) { background: var(--rtr-panel-soft); }
.rtr-table-field { display: none; }
.rtr-depth-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rtr-depth-note {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--rtr-line);
  border-radius: 12px;
  background: var(--rtr-panel-soft);
}
.rtr-depth-note h3, .rtr-depth-steps h3 { font-size: 17px; line-height: 1.3; }
.rtr-depth-note p, .rtr-depth-steps p, .rtr-depth-note ul { margin-top: 6px; }
.rtr-depth-note ul { padding-inline-start: 20px; }
.rtr-depth-note li { margin-block: 6px; line-height: 1.45; }
.rtr-depth-steps { display: grid; gap: 14px; padding-inline-start: 22px; margin-block: 18px; }
.rtr-depth-steps li::marker { color: var(--rtr-red); font-weight: 800; }
.rtr-depth-ref a { display: inline-block; margin-inline-start: 6px; }

@media (max-width: 680px) {
  .rtr-depth-pair { grid-template-columns: minmax(0, 1fr); }
  .rtr-depth-table, .rtr-depth-table tbody { display: block; }
  .rtr-depth-table caption { display: block; }
  .rtr-depth-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .rtr-depth-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 10px;
    border: 1px solid var(--rtr-line);
    border-radius: 10px;
  }
  .rtr-depth-table tbody tr th, .rtr-depth-table td { min-width: 0; border: 0; }
  .rtr-depth-table tbody tr > * + * { border-top: 1px solid var(--rtr-line); }
  .rtr-table-field { display: block; font-weight: 750; color: var(--rtr-muted); margin-bottom: 4px; }
}
