.rt-acc-tools { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin: 10px 0 0; }
.rt-btn { font: inherit; font-size: 14px; font-weight: 600; min-height: 40px; padding: 6px 16px; color: var(--teal); background: var(--teal-mist); border: 1px solid #c7e0db; border-radius: 999px; cursor: pointer; }
.rt-btn:hover { background: var(--teal-soft); color: var(--navy); }
.rt-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.rt-acc-tools + .pl-acc { margin-top: 8px; }

.rt-host [id] { scroll-margin-top: calc(var(--header-h, 61px) + 20px); }
.rt-host > .rt-main { min-width: 0; }
.rt-host > .rt-panel { display: none; }
.rt-host .read-index-wide { display: none; }
.rt-host .read-index-narrow { display: block; margin: 0 0 20px; }
.rt-host .rt-sub a { padding-left: 26px; font-size: 14px; }
.rt-panel .read-index ol { max-height: calc(100vh - var(--header-h, 61px) - 120px); overflow-y: auto; }
@media (min-width: 1100px) {
  .rt-host { display: grid; grid-template-columns: minmax(0, 1fr) clamp(240px, 22vw, 320px); column-gap: 48px; align-items: start; }
  .rt-host > .rt-panel { display: block; position: sticky; top: calc(var(--header-h, 61px) + 24px); padding-top: 24px; font-size: 15px; line-height: 1.5; }
  .rt-host .read-index-wide { display: block; }
  .rt-host .read-index-narrow { display: none; }
}

.rt-brief { background: var(--teal-mist); border: 1px solid #c7e0db; border-radius: var(--radius); padding: 16px 18px; margin: 0 0 24px; max-width: 46em; }
.rt-brief .read-h { margin: 0 0 8px; font-size: 14px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.rt-brief ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.rt-brief li::marker { color: var(--teal); }
.rt-brief p { margin: 0; }

.rt-scroll { overflow-x: auto; margin: 16px 0 24px; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: #fff; }
.rt-overview { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.rt-overview caption { text-align: left; padding: 12px 14px 4px; font-weight: 650; color: var(--navy); }
.rt-overview th, .rt-overview td { text-align: left; vertical-align: top; padding: 9px 14px; border-top: 1px solid var(--line-soft); }
.rt-overview thead th { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-top: 0; }
.rt-overview td:first-child { min-width: 14em; font-weight: 600; }
.rt-overview td:first-child a { color: var(--navy); text-decoration: none; }
.rt-overview td:first-child a:hover { color: var(--teal); text-decoration: underline; }
.rt-overview td:last-child { color: var(--ink-soft); }

.prose ul.rt-cards, ul.rt-cards { list-style: none; margin: 12px 0 0; padding: 0; max-width: none; display: grid; gap: 12px; font-size: 15.5px; line-height: 1.45; }
ul.rt-cards li { margin: 0; max-width: none; padding: 12px 16px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); box-shadow: 0 1px 2px rgba(18, 48, 74, .05); color: var(--ink-soft); }
ul.rt-cards li:hover { border-color: #bfdcd7; box-shadow: var(--shadow); }
ul.rt-cards a { display: block; font-weight: 650; color: var(--navy); text-decoration: none; }
ul.rt-cards a:hover { color: var(--teal); text-decoration: underline; }
@media (min-width: 700px) { ul.rt-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.rt-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.rt-jump a { display: inline-block; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--teal); background: var(--teal-mist); border: 1px solid #c7e0db; border-radius: 999px; padding: 8px 14px; }
.rt-jump a:hover { background: var(--teal-soft); color: var(--navy); }

.rt-acc-note { margin: 0 0 8px; color: var(--muted); font-size: 15px; }

@media print { .rt-acc-tools, .rt-panel, .rt-narrow { display: none !important; } }

@media (min-width: 900px) {
  .wp-brief { margin-bottom: 16px; padding: 14px 18px; }
}

@media (min-width: 900px) {
  .rt-host .dm-doc { max-width: none; }
  .rt-host .dm-doc :where(p, li) { max-width: 860px; }
}
