/* TNI accreditation directory — isolated from the legacy site template. */
.abp {
  --abp-bg: #f5f7f6;
  --abp-surface: #ffffff;
  --abp-surface-2: #edf2f3;
  --abp-line: #cdd9da;
  --abp-text: #203039;
  --abp-muted: #52646a;
  --abp-link: #126386;
  --abp-accent: #bd9862;
  --abp-accent-ink: #192a30;
  --abp-green: #145b45;
  --abp-green-bg: #e2f2e8;
  --abp-neutral-bg: #edf1f2;
  color: var(--abp-text);
  background: var(--abp-bg);
  min-height: 68vh;
  padding: 0 20px 72px;
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color-scheme: light;
  box-sizing: border-box;
}
.abp *, .abp *::before, .abp *::after { box-sizing: border-box; }
.abp :is(h1,h2,h3,p,dl) { margin-top: 0; }
.abp a { color: var(--abp-link); text-decoration: none; }
.abp a:hover { text-decoration: underline; }
.abp a:focus-visible, .abp :is(button,input,select):focus-visible, .abp [tabindex]:focus-visible {
  outline: 3px solid var(--abp-accent); outline-offset: 3px;
}
.abp-wrap { max-width: 1180px; margin: 0 auto; }
.abp-crumb { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 22px 0; color: var(--abp-muted); font-size: 13px; }
.abp-crumb span[aria-hidden] { color: #87999e; }
.abp-page-head { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 22px 0 29px; }
.abp-eyebrow { font-size: 11px; text-transform: uppercase; font-weight: 800; letter-spacing: .15em; color: #795326; margin-bottom: 8px; }
.abp h1 { font-size: clamp(28px, 3.4vw, 41px); letter-spacing: -.026em; line-height: 1.18; font-weight: 700; color: var(--abp-text); margin-bottom: 15px; }
.abp-lead { max-width: 690px; color: var(--abp-muted); font-size: 16px; margin-bottom: 0; }
.abp-count { min-width: 125px; padding: 18px 20px; border: 1px solid var(--abp-line); background: linear-gradient(150deg, #f1f5f2, #e7efeb); border-radius: 12px; text-align: center; }
.abp-count strong { display: block; color: var(--abp-text); font-size: 28px; font-weight: 700; line-height: 1.1; }
.abp-count span { display: block; color: var(--abp-muted); font-size: 12px; margin-top: 8px; }
.abp-filters { border: 1px solid var(--abp-line); background: var(--abp-surface); padding: 20px; border-radius: 12px; display: flex; align-items: end; gap: 14px; flex-wrap: wrap; box-shadow: 0 4px 22px #00000014; }
.abp-field { flex: 1 1 165px; min-width: 135px; }
.abp-search-field { flex: 2 1 300px; }
.abp-state-field { flex: 0 1 170px; }
.abp-field label { font-size: 12px; font-weight: 700; letter-spacing: .01em; display: block; margin-bottom: 7px; color: var(--abp-muted); }
.abp-field input, .abp-field select { font: inherit; display: block; width: 100%; min-height: 43px; padding: 9px 11px; border: 1px solid #9db1b8; border-radius: 6px; background-color: #ffffff; color: var(--abp-text); }
.abp-field input::placeholder { color: #65767d; opacity: 1; }
.abp-btn { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 17px; border-radius: 6px; font: inherit; font-size: 13px; font-weight: 750; border: 1px solid transparent; white-space: nowrap; cursor: pointer; text-decoration: none !important; }
.abp .abp-btn-primary { background: var(--abp-accent); color: var(--abp-accent-ink); }
.abp .abp-btn-primary:hover { background: #d7b780; color: #192a30; }
.abp-reset { font-size: 13px; font-weight: 600; padding: 12px 2px; white-space: nowrap; }
.abp-results { margin-top: 27px; background: var(--abp-surface); border: 1px solid var(--abp-line); border-radius: 12px; overflow: hidden; }
.abp-results-head { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 19px 22px; border-bottom: 1px solid var(--abp-line); }
.abp h2 { font-size: 20px; line-height: 1.35; font-weight: 700; margin-bottom: 5px; color: var(--abp-text); }
.abp-results-head p { color: var(--abp-muted); font-size: 13px; margin-bottom: 0; }
.abp-sort-help { color: var(--abp-muted); font-size: 12px; }
.abp-table-scroll { width: 100%; overflow-x: auto; }
.abp-table { width: 100%; min-width: 690px; border-collapse: collapse; table-layout: auto; font-size: 14px; margin: 0; }
.abp-table th, .abp-table td { text-align: left; border: 0; padding: 17px 18px; vertical-align: middle; background: #fff; color: var(--abp-text); }
.abp-table th { background: var(--abp-surface-2); color: var(--abp-muted); font-size: 12px; font-weight: 700; white-space: nowrap; border-bottom: 1px solid var(--abp-line); }
.abp-table tr { border-bottom: 1px solid #dbe4e5; }
.abp-table tbody tr:nth-child(even) td { background: #f5f8f8; }
.abp-table tbody tr:hover td { background: #e9f3f4; }
.abp-table tbody tr:last-child { border-bottom: 0; }
.abp-table tbody tr:hover { background: #e9f3f4; }
.abp-table th:first-child { width: 52%; }
.abp-table th:nth-child(2) { width: 12%; }
.abp-table th:nth-child(3) { width: 19%; }
.abp .abp-th-link { display: inline-flex; align-items: center; color: var(--abp-muted); font-weight: 700; gap: 9px; text-decoration: none; }
.abp .abp-th-link:hover { color: var(--abp-text); }
.abp-sort-icon { color: var(--abp-accent); font-size: 11px; }
.abp .abp-program-link { color: var(--abp-text); font-weight: 700; text-decoration: none; display: block; line-height: 1.45; }
.abp .abp-program-link:hover { color: var(--abp-link); text-decoration: underline; }
.abp-program-sub, .abp-city { display: block; margin-top: 4px; font-size: 12px; color: var(--abp-muted); }
.abp-jurisdiction { display: inline-block; font-weight: 750; letter-spacing: .025em; }
.abp-type { display: inline-block; padding: 4px 10px; border-radius: 4px; border: 1px solid #bfcbd0; color: #405059; background: var(--abp-neutral-bg); font-size: 12px; white-space: nowrap; }
.abp-type-nelap { border-color: #b6d9c7; color: #145e45; background: var(--abp-green-bg); }
.abp-external { display: inline-flex; gap: 5px; white-space: nowrap; font-size: 13px; }
.abp-muted { color: var(--abp-muted); }
.abp-pages { padding: 19px 22px; display: flex; align-items: center; justify-content: center; gap: 30px; border-top: 1px solid var(--abp-line); color: var(--abp-muted); font-size: 13px; }
.abp-pages a { font-weight: 750; }
.abp-empty { text-align: center; padding: 54px 20px; }
.abp-disclaimer { margin: 21px 0 0; max-width: 890px; color: var(--abp-muted); font-size: 12px; }
.abp-notice { background: var(--abp-surface); border: 1px solid var(--abp-line); border-radius: 12px; padding: 36px; margin-top: 30px; }
.abp-back { display: inline-block; margin: 6px 0 22px; font-size: 13px; font-weight: 700; }
.abp-profile-header { display: flex; justify-content: space-between; align-items: end; gap: 30px; padding: 12px 0 28px; border-bottom: 1px solid var(--abp-line); margin-bottom: 27px; }
.abp-profile-header h1 { max-width: 810px; margin-bottom: 13px; }
.abp-profile-header .abp-btn { margin-bottom: 8px; }
.abp-header-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; color: var(--abp-muted); }
.abp-profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 315px; gap: 22px; align-items: start; }
.abp-profile-main, .abp-profile-aside { min-width: 0; display: grid; gap: 20px; }
.abp-card { background: var(--abp-surface); border: 1px solid var(--abp-line); border-radius: 10px; padding: 23px 26px; min-width: 0; }
.abp-card h2 { padding-bottom: 14px; border-bottom: 1px solid var(--abp-line); margin-bottom: 21px; }
.abp-card h3 { font-size: 14px; font-weight: 750; margin: 15px 0 9px; color: var(--abp-text); }
.abp-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 28px; margin-bottom: 0; }
.abp-fact { min-width: 0; }
.abp-fact-wide { grid-column: 1 / -1; }
.abp-fact dt { color: var(--abp-muted); font-size: 12px; font-weight: 700; margin-bottom: 5px; }
.abp-fact dd { margin: 0; overflow-wrap: anywhere; }
.abp-status { font-weight: 700; display: inline-block; font-size: 12px; border-radius: 4px; padding: 4px 9px; white-space: nowrap; }
.abp-status-yes { color: #145e45; background: #ddf2e6; }
.abp-status-no { color: #43535b; background: #e8edf0; }
.abp-status-na { color: #775523; background: #f7eedc; }
.abp-program-types { display: grid; }
.abp-status-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid #dbe4e5; padding: 12px 0; }
.abp-status-row:first-child { padding-top: 0; }
.abp-status-row:last-child { border-bottom: 0; padding-bottom: 0; }
.abp-status-row-other { align-items: start; }
.abp-status-row-other > :last-child { text-align: right; overflow-wrap: anywhere; }
.abp-section-description { font-size: 13px; color: var(--abp-muted); margin-bottom: 15px; }
.abp-foa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.abp-foa-item { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; background: var(--abp-surface-2); padding: 12px 14px; border: 1px solid #d8e2df; border-radius: 6px; font-size: 13px; }
.abp-foa-item > span:first-child { font-weight: 650; }
.abp-other { margin-top: 17px; overflow-wrap: anywhere; }
.abp-prose { white-space: normal; overflow-wrap: anywhere; line-height: 1.75; }
.abp-side-card { padding: 20px 22px; }
.abp-profile-aside address { font-style: normal; line-height: 1.8; }
.abp-phone { margin-top: 16px; color: var(--abp-muted); }
.abp-contact { padding: 1px 0 15px; margin-bottom: 10px; border-bottom: 1px solid var(--abp-line); }
.abp-contact:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.abp-contact-name { font-weight: 700; color: var(--abp-text); }
.abp-contact p { margin: 4px 0; overflow-wrap: anywhere; font-size: 13px; }
.abp-aside-note { border-left: 3px solid var(--abp-accent); padding: 10px 16px; font-size: 12px; color: var(--abp-muted); line-height: 1.65; }
.abp-aside-note strong { color: var(--abp-text); }
.abp-aside-note p { margin: 3px 0 0; }
.abp-bottom-back { margin-top: 30px; font-size: 13px; font-weight: 750; }
.abp-fallback-header { padding: 24px; background: #070808; color: white; font-size: 24px; }
.abp-fallback-header a { color: white; }
@media (max-width: 900px) {
  .abp-profile-layout { grid-template-columns: 1fr; }
  .abp-profile-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .abp-aside-note { grid-column: 1 / -1; }
}
@media (max-width: 650px) {
  .abp { padding: 0 14px 44px; }
  .abp-crumb { padding: 14px 0; }
  .abp-page-head, .abp-profile-header { display: block; }
  .abp-count { margin-top: 20px; width: 145px; }
  .abp-desktop-break { display: none; }
  .abp-filters { padding: 15px; }
  .abp-field, .abp-state-field, .abp-search-field { flex: 1 1 100%; }
  .abp-results-head { align-items: start; }
  .abp-sort-help { display: none; }
  .abp-profile-header .abp-btn { margin-top: 20px; }
  .abp-facts, .abp-foa-grid, .abp-profile-aside { grid-template-columns: 1fr; }
  .abp-card { padding: 18px; }
  .abp-page-head { padding-top: 16px; }
}
@media print {
  .abp { background: #fff !important; color: #111 !important; padding: 10px; min-height: 0; }
  .abp :is(h1,h2,h3), .abp-card h2, .abp-fact dt { color: #111 !important; }
  .abp-card, .abp-results { background: #fff !important; box-shadow: none; border-color: #bbb; break-inside: avoid; }
  .abp-profile-layout { display: block; }
  .abp-profile-main, .abp-profile-aside { display: block; }
  .abp-card { margin-bottom: 12px; }
  .abp-filters, .abp-back, .abp-bottom-back, .abp-pages, .abp-disclaimer { display: none; }
  .abp a { color: #115943 !important; }
  .abp-status { color: #111 !important; background: #eee !important; }
}

/* Theme integration: the 2015 shell controls only header, navigation and footer. */
.abp { isolation: isolate; }
.abp .abp-btn-primary, .abp .abp-btn-primary:visited { color: #192a30; }
.abp .abp-program-link:visited { color: #203039; }
.abp .abp-program-link:hover, .abp .abp-program-link:focus-visible { color: #126386; }
.abp a:visited:not(.abp-program-link):not(.abp-btn) { color: #235979; }
.abp .abp-type-nelap { color: #145e45; }
.abp .abp-fact dd, .abp .abp-contact p { color: #203039; }
.abp input, .abp select { color-scheme: light; }
@media print { .abp-table th, .abp-table td { color:#111 !important; background:#fff !important; } }
