/* The existing site shell stays in place. Only authority detail pages use this layout. */
#main.modern-main:has(> .xrp-profile) {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.xrp-profile {
  --xrp-paper: #edeff2;
  --xrp-white: #fff;
  --xrp-ink: #18212b;
  --xrp-muted: #4d5763;
  --xrp-line: #d4d9df;
  --xrp-yellow: #ffc82c;
  --xrp-green: #27744e;
  --xrp-amber: #84550c;
  color: var(--xrp-ink);
  background: var(--xrp-paper);
  font: 14px/1.58 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.xrp-profile *, .xrp-profile *::before, .xrp-profile *::after { box-sizing: border-box; }
.xrp-profile a { color: inherit; text-decoration: none; }
.xrp-profile a:hover { text-decoration: underline; text-underline-offset: 3px; }
.xrp-profile :is(a, button, input, summary, [tabindex]):focus-visible { outline: 2px solid #1e5c98; outline-offset: 3px; }
.xrp-profile :is(h1, h2, h3, p, ul, dl, dd) { margin: 0; }
.xrp-profile :is(h1, h2, h3) { color: var(--xrp-ink); overflow-wrap: anywhere; }
.xrp-profile .xrp-shell.container { min-width: 0; padding-inline: 0; }
.xrp-profile .xrp-visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.xrp-profile [hidden] { display: none !important; }

.xrp-profile .xrp-hero { background: var(--xrp-white); padding: 20px 0 0; }
.xrp-profile .xrp-crumbs { display: flex; flex-wrap: wrap; gap: 5px 8px; color: var(--xrp-muted); font-size: 12px; margin: 0 0 16px; }
.xrp-profile .xrp-brand { margin-bottom: 18px; }
.xrp-profile .xrp-logo-space { display: flex; align-items: center; height: 94px; min-width: 0; max-width: 100%; }
.xrp-profile .xrp-logo { display: block; width: auto; height: auto; max-height: 100%; max-width: min(250px, 100%); object-fit: contain; }
/* AFSC's original white artwork is used against this blue in its official masthead. */
.xrp-profile .xrp-logo[src$="f51b97fa9d906c3f81782ce08409bff77f7e2a91e9501aceb67e25fbd3848156.png"] {
  background: #0e477b;
}
.xrp-profile .xrp-wordmark { color: #1c3652; font-size: 16px; font-weight: 760; line-height: 1.2; letter-spacing: -.025em; overflow-wrap: anywhere; }
.xrp-profile .xrp-logo-credit { margin: 4px 0 8px; color: var(--xrp-muted); font-size: 11px; overflow-wrap: anywhere; }
.xrp-profile .xrp-logo-credit a { text-decoration: underline; text-underline-offset: 2px; }
.xrp-profile .xrp-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; color: var(--xrp-muted); font-size: 12px; }
.xrp-profile .xrp-tag { padding: 1px 6px; border-radius: 4px; background: #edf0f2; color: #36424e; font-weight: 700; }
.xrp-profile .xrp-hero h1 {
  max-width: 940px; margin: 8px 0 8px; font: 650 clamp(30px, 4.1vw, 46px)/1.13 Georgia, "Times New Roman", serif;
  letter-spacing: -.018em;
}
.xrp-profile .xrp-summary { max-width: 680px; color: var(--xrp-muted); font-size: 14px; line-height: 1.65; }
.xrp-profile .xrp-hero-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin: 17px 0 20px; }
.xrp-profile .xrp-meta-values { display: flex; align-items: center; gap: 6px 17px; flex-wrap: wrap; color: var(--xrp-muted); font-size: 12px; }
.xrp-profile .xrp-meta-values strong { color: var(--xrp-ink); font-weight: 600; margin-inline-start: 3px; }
.xrp-profile .xrp-actions { display: flex; align-items: center; gap: 7px; }
.xrp-profile .xrp-btn {
  display: inline-flex; justify-content: center; align-items: center; min-height: 34px; padding: 6px 12px;
  border: 1px solid var(--xrp-line); border-radius: 7px; background: var(--xrp-white); color: var(--xrp-ink);
  font: 650 12px/1.35 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; cursor: pointer;
}
.xrp-profile .xrp-btn:hover { background: #f5f6f8; text-decoration: none; }
.xrp-profile .xrp-btn-primary { background: var(--xrp-yellow); border-color: #efbd26; color: #1b1f24; }
.xrp-profile .xrp-btn-primary:hover { background: #f4bb1d; }
.xrp-profile .xrp-copy { width: 34px; padding: 5px; }
.xrp-profile .xrp-copy.is-copied { border-color: #83b697; color: var(--xrp-green); }

.xrp-profile .xrp-verdict { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--xrp-line); }
.xrp-profile .xrp-verdict > a { min-width: 0; padding: 15px 18px 17px; min-height: 93px; border-inline-end: 1px solid #e2e5e9; }
.xrp-profile .xrp-verdict > a:last-child { border-inline-end: 0; }
.xrp-profile .xrp-verdict > a:hover { background: #f7f8fa; text-decoration: none; }
.xrp-profile .xrp-verdict strong { display: flex; align-items: baseline; gap: 7px; font-size: 13px; line-height: 1.45; margin: 4px 0 2px; overflow-wrap: anywhere; }
.xrp-profile .xrp-verdict small, .xrp-profile .xrp-key { display: block; color: var(--xrp-muted); font-size: 11px; line-height: 1.35; }
.xrp-profile .xrp-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex: 0 0 7px; background: #7d8793; }
.xrp-profile .xrp-dot.xrp-tone-ok { background: #31865b; box-shadow: 0 0 0 3px #dceee3; }
.xrp-profile .xrp-dot.xrp-tone-limit { background: #a36b1d; box-shadow: 0 0 0 3px #f4e6ca; }

.xrp-profile .xrp-subnav { position: sticky; top: 0; z-index: 3; background: #fcfcfd; border-block: 1px solid var(--xrp-line); }
.xrp-profile .xrp-subnav .xrp-shell { display: flex; gap: 21px; overflow-x: auto; scrollbar-width: thin; overscroll-behavior-x: contain; }
.xrp-profile .xrp-subnav a { display: flex; gap: 5px; align-items: center; min-height: 46px; padding: 0 1px; white-space: nowrap; color: var(--xrp-muted); font-size: 13px; border-bottom: 2px solid transparent; }
.xrp-profile .xrp-subnav a[aria-current] { border-bottom-color: var(--xrp-ink); color: var(--xrp-ink); font-weight: 700; }
.xrp-profile .xrp-subnav a:hover { text-decoration: none; color: var(--xrp-ink); }
.xrp-profile .xrp-count { display: inline-flex; align-items: center; padding: 0 6px; border: 1px solid var(--xrp-line); border-radius: 999px; font: 600 11px/1.65 system-ui, sans-serif; background: #f6f7f9; color: var(--xrp-muted); vertical-align: middle; font-variant-numeric: tabular-nums; }

.xrp-profile .xrp-main-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(220px,25.5%); gap: clamp(22px,4vw,46px); align-items: start; padding-block: 24px 56px; }
.xrp-profile .xrp-main-column { min-width: 0; padding-top: 24px; }
.xrp-profile .xrp-section { margin-bottom: 40px; scroll-margin-top: 66px; min-width: 0; }
.xrp-profile .xrp-section:last-child { margin-bottom: 0; }
.xrp-profile .xrp-section-head { margin: 0 0 13px; }
.xrp-profile .xrp-eyebrow { display: flex; align-items: center; gap: 10px; color: var(--xrp-muted); font-size: 10px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.xrp-profile .xrp-eyebrow::after { content: ""; height: 1px; flex: 1; background: var(--xrp-line); }
.xrp-profile .xrp-section-head h2 { margin: 6px 0 4px; font: 650 clamp(21px,2.3vw,28px)/1.25 Georgia, "Times New Roman", serif; }
.xrp-profile .xrp-section-lead { font-size: 13px; color: var(--xrp-muted); }
.xrp-profile .xrp-grid-two { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.xrp-profile .xrp-card { background: var(--xrp-white); border: 1px solid var(--xrp-line); border-radius: 10px; min-width: 0; }
.xrp-profile .xrp-permission { padding: 15px 17px; }
.xrp-profile .xrp-permission header { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 6px 8px; margin-bottom: 8px; }
.xrp-profile .xrp-permission h3 { font-size: 14px; font-weight: 700; }
.xrp-profile .xrp-permission p { color: var(--xrp-muted); font-size: 13px; overflow-wrap: anywhere; }
.xrp-profile .xrp-permission small { display: block; margin-top: 9px; color: var(--xrp-muted); font-size: 11px; }
.xrp-profile .xrp-status { max-width: 100%; border: 1px solid #d9dfe5; border-radius: 999px; padding: 2px 8px; background: #f0f2f4; color: #46515f; font-size: 11px; line-height: 1.35; overflow-wrap: anywhere; }
.xrp-profile .xrp-status.xrp-tone-ok { border-color: #c7dfcf; background: #e6f1e9; color: #245c41; }
.xrp-profile .xrp-status.xrp-tone-limit { border-color: #e8d3a6; background: #f8edd5; color: #6c460b; }
.xrp-profile .xrp-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 13px; padding: 11px 13px; border: 1px solid #e8d5a9; border-inline-start: 2px solid #d49529; border-radius: 7px; background: #f7eedc; color: #684718; font-size: 12px; }
.xrp-profile .xrp-note svg { flex: 0 0 14px; margin-top: 2px; }
.xrp-profile .xrp-evidence { margin-top: 10px; padding: 10px 13px; font-size: 12px; }
.xrp-profile .xrp-evidence summary { cursor: pointer; font-weight: 650; }
.xrp-profile .xrp-evidence ul { padding-inline-start: 17px; margin-top: 8px; }
.xrp-profile .xrp-evidence li { margin: 5px 0; overflow-wrap: anywhere; }

.xrp-profile .xrp-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px 14px; margin: 0 0 10px; }
.xrp-profile .xrp-search { display: flex; align-items: stretch; gap: 7px; flex: 1 1 240px; max-width: 525px; min-width: 0; }
.xrp-profile .xrp-search input { min-width: 0; flex: 1; width: 100%; min-height: 36px; margin: 0; padding: 7px 10px; border: 1px solid var(--xrp-line); border-radius: 7px; background: var(--xrp-white); color: var(--xrp-ink); font: inherit; font-size: 13px; }
.xrp-profile .xrp-search button { flex: 0 0 43px; padding: 0; }
.xrp-profile .xrp-result-count { font-size: 12px; color: var(--xrp-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.xrp-profile .xrp-table-card { background: var(--xrp-white); border: 1px solid var(--xrp-line); border-radius: 9px; overflow: hidden; }
.xrp-profile .xrp-table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
.xrp-profile .xrp-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: start; font-size: 12px; }
.xrp-profile .xrp-table th { background: #f4f6f8; padding: 8px 12px; text-align: start; font-size: 11px; font-weight: 650; color: #45505c; }
.xrp-profile .xrp-table th:nth-child(1) { width: 55%; }
.xrp-profile .xrp-table th:nth-child(2) { width: 21%; }
.xrp-profile .xrp-table th:nth-child(3) { width: 24%; }
.xrp-profile .xrp-table td { padding: 9px 12px; border-top: 1px solid #e3e6ea; vertical-align: top; line-height: 1.45; overflow-wrap: anywhere; }
.xrp-profile .xrp-table tbody tr:hover { background: #fafbfc; }
.xrp-profile .xrp-entity { font-weight: 650; }
.xrp-profile .xrp-number { font-variant-numeric: tabular-nums; }
.xrp-profile .xrp-row-subtitle { display: block; margin-top: 3px; color: var(--xrp-muted); font-size: 11px; }
.xrp-profile .xrp-row-links { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 6px; margin-top: 3px; color: #1c5689; font-size: 11px; }
.xrp-profile .xrp-table .xrp-empty { color: var(--xrp-muted); padding: 19px 12px; }
.xrp-profile .xrp-empty a { text-decoration: underline; }
.xrp-profile .xrp-pager { display: flex; gap: 6px; flex-wrap: wrap; padding: 10px 12px; border-top: 1px solid var(--xrp-line); }
.xrp-profile .xrp-pager :is(a, span) { min-width: 32px; padding: 3px 7px; border: 1px solid var(--xrp-line); border-radius: 5px; text-align: center; font-size: 12px; }
.xrp-profile .xrp-pager [aria-current] { background: #f7ebc2; border-color: #e5cd75; font-weight: 700; }

.xrp-profile .xrp-secondary { margin-top: 40px; }
.xrp-profile .xrp-secondary .xrp-section { margin-bottom: 34px; }
.xrp-profile .xrp-details-card { padding: 14px 16px; font-size: 13px; overflow-wrap: anywhere; }
.xrp-profile .xrp-details-card p + p { margin-top: 10px; }
.xrp-profile .xrp-details-card ul { padding-inline-start: 17px; }
.xrp-profile .xrp-details-card li + li { margin-top: 4px; }
.xrp-profile .xrp-details-card a, .xrp-profile .xrp-evidence a { color: #1c5689; }
.xrp-profile .xrp-muted { color: var(--xrp-muted); }
.xrp-profile .xrp-rail { min-width: 0; }
.xrp-profile .xrp-rail-card { padding: 15px 16px; }
.xrp-profile .xrp-rail-card h2 { font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.xrp-profile .xrp-facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 6px 9px; font-size: 12px; line-height: 1.48; }
.xrp-profile .xrp-facts dt { color: var(--xrp-muted); overflow-wrap: anywhere; }
.xrp-profile .xrp-facts dd { text-align: end; overflow-wrap: anywhere; }
.xrp-profile .xrp-reading { margin-top: 12px; color: var(--xrp-muted); background: #f8f9fa; font-size: 12px; }
.xrp-profile .xrp-reading ul { padding-inline-start: 15px; margin-bottom: 7px; }
.xrp-profile .xrp-reading li + li { margin-top: 4px; }
.xrp-profile .xrp-back { margin-top: 12px; font-size: 12px; color: var(--xrp-muted); }

.xrp-catalog .xrp-hero { border-bottom: 1px solid var(--xrp-line); padding-bottom: 26px; }
.xrp-catalog .xrp-catalog-record-link { margin-top: 14px; }
.xrp-catalog .xrp-catalog-main { padding-block: 22px 48px; }
.xrp-catalog .xrp-catalog-search { display: grid; grid-template-columns: minmax(0,2fr) repeat(2,minmax(120px,1fr)) auto; gap: 12px; align-items: end; padding: 15px; }
.xrp-catalog .xrp-catalog-search label { display: block; font-size: 12px; color: var(--xrp-muted); margin-bottom: 4px; }
.xrp-catalog .xrp-catalog-search :is(input, select) {
  display: block; width: 100%; min-width: 0; min-height: 36px; padding: 6px 8px;
  border: 1px solid var(--xrp-line); border-radius: 6px; background: white; color: var(--xrp-ink); font: inherit;
}
.xrp-catalog .xrp-catalog-search .xrp-btn { min-height: 36px; }
.xrp-catalog .xrp-catalog-summary { display: flex; gap: 10px; flex-wrap: wrap; justify-content: space-between; margin: 14px 0; color: var(--xrp-muted); font-size: 12px; }
.xrp-catalog .xrp-catalog-summary a, .xrp-catalog .xrp-catalog-empty a { color: #1c5689; text-decoration: underline; text-underline-offset: 3px; }
.xrp-catalog .xrp-catalog-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.xrp-catalog .xrp-catalog-card { display: flex; flex-direction: column; align-items: stretch; padding: 14px; }
.xrp-catalog .xrp-catalog-mark { justify-content: center; margin-bottom: 12px; text-align: center; }
.xrp-catalog .xrp-catalog-mark .xrp-wordmark { font-size: 18px; }
.xrp-catalog .xrp-catalog-mark.xrp-catalog-mark--fallback {
  height: auto; min-height: 42px; justify-content: flex-start; text-align: left;
}
.xrp-catalog .xrp-catalog-mark--fallback .xrp-wordmark {
  max-width: 100%; padding: 7px 10px; border: 1px solid #dce4ee; border-radius: 7px;
  background: #edf2f7; font-size: 14px; overflow-wrap: anywhere;
}
.xrp-catalog .xrp-catalog-abbr { font-size: 10px; font-weight: 750; letter-spacing: .045em; color: var(--xrp-muted); }
.xrp-catalog .xrp-catalog-card h3 { margin: 3px 0 6px; font-size: 14px; line-height: 1.42; }
.xrp-catalog .xrp-catalog-location { font-size: 12px; color: var(--xrp-muted); overflow-wrap: anywhere; }
.xrp-catalog .xrp-catalog-labels { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; min-height: 28px; margin: 8px 0 9px; font-size: 11px; }
.xrp-catalog .xrp-catalog-card-foot { display: flex; align-items: end; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 9px; border-top: 1px solid var(--xrp-line); font-size: 11px; color: var(--xrp-muted); }
.xrp-catalog .xrp-catalog-card-foot span { display: block; }
.xrp-catalog .xrp-catalog-card-foot a { color: var(--xrp-ink); white-space: nowrap; }
.xrp-catalog .xrp-catalog-card-foot a span { display: inline; }
.xrp-catalog .xrp-catalog-empty { grid-column: 1/-1; padding: 16px; }
.xrp-catalog .xrp-catalog-pages { justify-content: center; border: 0; padding: 20px 0 0; }
.xrp-catalog .xrp-catalog-pages :is(a, span) { min-width: 44px; padding: 9px 12px; text-align: center; }
.xrp-catalog .xrp-catalog-pages a { background: var(--xrp-white); }

@media (min-width: 851px) and (max-width: 1000px) {
  .xrp-catalog .xrp-catalog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 850px) {
  .xrp-profile .xrp-main-grid { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .xrp-profile .xrp-main-column { padding-top: 0; }
  .xrp-profile .xrp-rail { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; align-items: start; }
  .xrp-profile .xrp-reading { margin: 0; }
  .xrp-profile .xrp-back { margin-top: 0; }
  .xrp-catalog .xrp-catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .xrp-catalog .xrp-catalog-search { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 560px) {
  .xrp-profile .xrp-logo-space { height: 82px; }
  .xrp-profile .xrp-hero { padding-top: 14px; }
  .xrp-profile .xrp-verdict { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .xrp-profile .xrp-verdict > a { padding: 10px 9px 12px; min-height: 72px; }
  .xrp-profile .xrp-verdict > a:nth-child(2) { border-inline-end: 0; }
  .xrp-profile .xrp-verdict > a:nth-child(n+3) { border-top: 1px solid #e2e5e9; }
  .xrp-profile .xrp-subnav .xrp-shell { gap: 14px; }
  .xrp-profile .xrp-subnav a { min-height: 43px; font-size: 12px; }
  .xrp-profile .xrp-section { margin-bottom: 28px; }
  .xrp-profile .xrp-grid-two, .xrp-profile .xrp-rail { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .xrp-profile .xrp-secondary { margin-top: 28px; }
  .xrp-profile .xrp-secondary .xrp-section { margin-bottom: 20px; }
  .xrp-profile .xrp-search { flex-basis: 100%; }
  .xrp-profile .xrp-search input { font-size: 16px; }
  .xrp-profile .xrp-table :is(th, td) { padding-inline: 7px; }
  .xrp-profile .xrp-table th:nth-child(1) { width: 46%; }
  .xrp-profile .xrp-table th:nth-child(2) { width: 25%; }
  .xrp-profile .xrp-table th:nth-child(3) { width: 29%; }
  .xrp-catalog .xrp-catalog-grid { grid-template-columns: minmax(0,1fr); }
  .xrp-catalog .xrp-catalog-search > div:first-child { grid-column: 1/-1; }
  .xrp-catalog .xrp-catalog-search :is(input, select) { font-size: 16px; }
  .xrp-catalog .xrp-catalog-search .xrp-btn { grid-column: 1/-1; }
}

.navigation .nav-link,.navigation .nav-link:hover,.navigation .nav-link.active,.navigation .nav-link:focus-visible{border-bottom:0!important;text-decoration:none!important;box-shadow:none!important}.navigation .nav-link:after,.navigation .nav-link:before{display:none!important}.navigation .nav-link:hover,.navigation .nav-link:focus-visible{background:#ffe873;color:#755500!important}.navigation .nav-link.active{background:#ffe568;color:#102a43!important;font-weight:700}

.news-navigation-dropdown{position:relative;align-self:stretch}.news-navigation-dropdown>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:6px;height:100%}.news-navigation-dropdown>summary::-webkit-details-marker{display:none}.news-navigation-menu{display:none;position:absolute;top:100%;left:0;min-width:190px;background:#fff;border:1px solid #e0e5ed;box-shadow:0 8px 20px #132c4620;z-index:1050;padding:6px 0}.news-navigation-dropdown[open]>.news-navigation-menu,.news-navigation-dropdown:hover>.news-navigation-menu,.news-navigation-dropdown:focus-within>.news-navigation-menu{display:block}.news-navigation-menu>a{display:block;padding:11px 16px;color:#172d46;white-space:nowrap;text-decoration:none!important}.news-navigation-menu>a:hover,.news-navigation-menu>a[aria-current=page]{background:#fff0a6;color:#775800}.navigation,.navigation .nav-inner{overflow:visible}
