/* ==========================================================================
   College of Physiotherapists of Ontario — Bootstrap 5 theme
   Tokens sampled directly from the supplied design PDF.

   Load order matters:
     1. bootstrap/dist/css/bootstrap.min.css
     2. bootstrap-icons/font/bootstrap-icons.css
     3. this file
   ========================================================================== */

/* --- Fonts ---------------------------------------------------------------
   The PDF ships outlined type, so the exact brand faces can't be read out of
   it. These are close free substitutes:
     display serif  -> Spectral  (narrow, moderate contrast, wedge serifs)
     UI sans        -> Figtree   (geometric-humanist, single-storey g)

   Self-hosted from /fonts rather than pulled from Google Fonts. For a public
   regulator that matters: no third-party request on every page load, nothing
   to disclose in a privacy assessment, and the site still renders correctly
   if the CDN is blocked on a hospital or government network.

   To drop in the College's licensed brand faces, replace the files in
   web/public/fonts, update the @font-face src lines, and change ONLY the two
   variables below — nothing else in this stylesheet names a font.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Figtree';
  src: url('fonts/figtree-variable.woff2') format('woff2') format('woff2-variations');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('fonts/spectral-400.woff2') format('woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('fonts/spectral-500.woff2') format('woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('fonts/spectral-600.woff2') format('woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --cpo-font-serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --cpo-font-sans: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Brand ---------------------------------------------------------------- */
  --cpo-blue:        #005ea2;   /* primary: buttons, table headers, links   */
  --cpo-blue-dark:   #004e85;   /* hover / active                            */
  --cpo-blue-darker: #003f6b;
  --cpo-navy:        #1a4460;   /* footer, display headings                  */
  --cpo-navy-ink:    #1e3a5f;   /* serif h1 on light backgrounds             */
  --cpo-blue-pale:   #deedff;   /* soft accents                              */
  --cpo-blue-tint:   #f0f4fa;   /* selected / alternating table rows         */
  --cpo-band:        #dbe9fa;   /* header and footer band, as on the portal  */

  /* Surfaces ------------------------------------------------------------- */
  --cpo-bg:          #ffffff;
  --cpo-surface:     #ffffff;
  --cpo-border:      #e4e9f1;
  --cpo-border-soft: #eef1f5;

  /* Ink ------------------------------------------------------------------ */
  --cpo-ink:         #1f2937;
  --cpo-ink-strong:  #111827;
  --cpo-muted:       #6c737f;
  --cpo-muted-soft:  #899099;

  /* Status --------------------------------------------------------------- */
  --cpo-active-bg:   #d1fae5;
  --cpo-active-ink:  #065f46;
  --cpo-active-dot:  #059669;
  --cpo-revoked-bg:  #fde8e6;
  --cpo-revoked-ink: #c0392b;
  --cpo-cancel-bg:   #e5e7eb;
  --cpo-cancel-ink:  #4b5563;

  /* Shape ---------------------------------------------------------------- */
  --cpo-radius:      12px;
  --cpo-radius-lg:   16px;
  --cpo-shadow:      0 1px 2px rgb(16 24 40 / .04), 0 4px 16px rgb(16 24 40 / .06);
  --cpo-shadow-sm:   0 1px 2px rgb(16 24 40 / .05);

  /* --- Bootstrap 5 overrides -------------------------------------------- */
  --bs-primary: var(--cpo-blue);
  --bs-primary-rgb: 0, 94, 162;
  --bs-success-rgb: 25, 135, 84;
  --bs-white-rgb: 255, 255, 255;
  --bs-danger-rgb: 220, 53, 69;
  --bs-link-color: var(--cpo-blue);
  --bs-link-color-rgb: 0, 94, 162;
  --bs-link-hover-color: var(--cpo-blue-dark);
  --bs-body-bg: var(--cpo-bg);
  --bs-body-color: var(--cpo-ink);
  --bs-body-font-family: var(--cpo-font-sans);
  --bs-body-font-size: 0.9375rem;
  --bs-body-line-height: 1.6;
  --bs-border-color: var(--cpo-border);
  --bs-border-radius: var(--cpo-radius);
  --bs-border-radius-lg: var(--cpo-radius-lg);
  --bs-secondary-color: var(--cpo-muted);
  --bs-emphasis-color: var(--cpo-ink-strong);
  --bs-focus-ring-color: rgb(0 94 162 / .25);
  --bs-focus-ring-width: 3px;
}

/* --- Base ----------------------------------------------------------------- */
body {
  background: var(--cpo-bg);
  color: var(--cpo-ink);
  font-family: var(--cpo-font-sans);
  -webkit-font-smoothing: antialiased;
}

.cpo-display,
.cpo-page-title,
h1.cpo-display {
  font-family: var(--cpo-font-serif);
  font-weight: 500;
  color: var(--cpo-navy-ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.cpo-page-title { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.cpo-entity-title { font-family: var(--cpo-font-serif); font-weight: 500; color: var(--cpo-navy-ink); }

/* Section headings inside cards are SANS and bold — the serif is reserved for
   page and entity titles. Getting this backwards is the fastest way to make
   the rebuild look "almost right but off". */
.cpo-section-title {
  font-family: var(--cpo-font-sans);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--cpo-ink-strong);
  letter-spacing: -0.005em;
}

.cpo-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--cpo-blue);
}

.cpo-label {
  font-size: 0.8125rem;
  color: var(--cpo-muted);
  margin-bottom: 0.125rem;
}
.cpo-value { font-size: 0.9375rem; color: var(--cpo-ink); }
.cpo-muted { color: var(--cpo-muted) !important; }

/* --- Inline icons --------------------------------------------------------- */
.cpo-i {
  width: 1em; height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.125em;
  flex: none;
}

/* --- Header --------------------------------------------------------------- */
/* The portal runs its header and footer on the same pale blue band, with the
   content well white between them. */
.cpo-header {
  background: var(--cpo-band);
  border-bottom: 0;
}
.cpo-header .navbar-brand { padding-block: 0.85rem; }

/* The supplied lockup is one flat blue, which reads on every surface the site
   uses; nothing needs a reversed copy. */
.cpo-logo { display: block; height: auto; max-width: 100%; }

@media (max-width: 575.98px) {
  .cpo-header .cpo-logo { width: 132px; }
}

/* --- Buttons -------------------------------------------------------------- */
.btn-cpo {
  --bs-btn-bg: var(--cpo-blue);
  --bs-btn-border-color: var(--cpo-blue);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--cpo-blue-dark);
  --bs-btn-hover-border-color: var(--cpo-blue-dark);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--cpo-blue-darker);
  --bs-btn-active-border-color: var(--cpo-blue-darker);
  --bs-btn-disabled-bg: #9fbcd6;
  --bs-btn-disabled-border-color: #9fbcd6;
  --bs-btn-disabled-color: #fff;
  border-radius: 8px;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
}

.btn-cpo-outline {
  --bs-btn-color: var(--cpo-ink);
  --bs-btn-border-color: var(--cpo-border);
  --bs-btn-bg: #fff;
  --bs-btn-hover-bg: var(--cpo-blue-tint);
  --bs-btn-hover-border-color: #cddbe9;
  --bs-btn-hover-color: var(--cpo-blue);
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.45rem 1.05rem;
}
.btn-cpo-outline.active,
.btn-check:checked + .btn-cpo-outline {
  background: var(--cpo-blue-pale);
  border-color: #b9d6f5;
  color: var(--cpo-blue-dark);
}

.cpo-textlink {
  color: var(--cpo-blue);
  text-decoration: none;
  font-weight: 500;
}
.cpo-textlink:hover { color: var(--cpo-blue-dark); text-decoration: underline; }

/* --- Disclosure ----------------------------------------------------------- */
.cpo-details > summary {
  cursor: pointer;
  color: var(--cpo-blue);
  font-weight: 500;
  list-style-position: outside;
}
.cpo-details > summary:hover { color: var(--cpo-blue-dark); text-decoration: underline; }
.cpo-details > summary:focus-visible {
  outline: 2px solid var(--cpo-blue);
  outline-offset: 2px;
  border-radius: 2px;
}
.cpo-registration-history-details > summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  list-style: none;
}
.cpo-registration-history-details > summary::-webkit-details-marker {
  display: none;
}
.cpo-registration-history-details > summary::before {
  content: '';
  width: 0;
  height: 0;
  flex: 0 0 auto;
  border-block: 0.45rem solid transparent;
  border-inline-start: 0.65rem solid var(--cpo-blue);
}
.cpo-registration-history-details[open] > summary::before {
  transform: rotate(90deg);
}

/* --- Cards ---------------------------------------------------------------- */
.cpo-card {
  background: var(--cpo-surface);
  border: 1px solid var(--cpo-border);
  border-radius: var(--cpo-radius-lg);
  box-shadow: var(--cpo-shadow);
}
.cpo-card-pad { padding: 1.5rem 1.75rem; }
.cpo-card-head {
  padding: 1.25rem 1.75rem 0.9rem;
  border-bottom: 1px solid var(--cpo-border-soft);
}

/* Status accent bar on entity headers, per the Revoked / Cancelled screens. */
.cpo-card--accent { position: relative; overflow: hidden; }
.cpo-card--accent::before {
  content: '';
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 5px;
  background: var(--cpo-accent, transparent);
}
.cpo-card--revoked   { --cpo-accent: var(--cpo-revoked-ink); }
.cpo-card--cancelled { --cpo-accent: var(--cpo-muted-soft); }
.cpo-card--active    { --cpo-accent: var(--cpo-active-dot); }

.cpo-controlled-acts-intro {
  margin-bottom: 1.25rem;
}
.cpo-controlled-acts-list {
  display: grid;
  gap: .75rem;
}
.cpo-controlled-act {
  padding: 1rem;
  background: var(--cpo-blue-tint);
  border: 1px solid var(--cpo-border-soft);
  border-radius: var(--cpo-radius);
  font-size: 1rem;
}
.cpo-controlled-act__title-row {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.cpo-controlled-act__icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: .2rem;
  color: var(--cpo-active-dot);
}
.cpo-controlled-act__content {
  min-width: 0;
}
.cpo-controlled-act__name {
  font-weight: 600;
  line-height: 1.25;
}
.cpo-controlled-act__description {
  margin-top: .5rem;
  margin-left: calc(1.25rem + .75rem);
  color: var(--cpo-muted);
  font-size: .875rem;
  line-height: 1.35;
}
.cpo-employment-location__name {
  font-size: 0.9375rem;
  font-weight: 600;
}
.cpo-employment-location__address {
  color: var(--cpo-muted);
  font-size: 0.875rem;
  line-height: 1.35;
}
.cpo-employment-check {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--cpo-blue);
}
.cpo-data-table-card__head {
  padding: 2rem 2.5rem 1.9rem;
}
.cpo-data-table-card__title {
  text-transform: none;
}
.cpo-data-table-card__body {
  padding: 0;
}
.cpo-data-table-wrap {
  overflow: hidden;
}
.table.cpo-table.cpo-data-table {
  min-width: 900px;
}
.table.cpo-table.cpo-data-table > thead th {
  background: #f5f7f9;
  color: #58677a;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  padding: 1.15rem 1.6rem;
  border-bottom: 1px solid var(--cpo-border);
}
.table.cpo-table.cpo-data-table > tbody td {
  padding: 1.35rem 1.6rem;
  vertical-align: top;
  font-size: 0.9375rem;
}
.table.cpo-table.cpo-data-table tr > :nth-child(1) { width: 18%; white-space: nowrap; }
.table.cpo-table.cpo-data-table tr > :nth-child(2) { width: 27%; }
.table.cpo-table.cpo-data-table tr > :nth-child(3) { width: 18%; }
.table.cpo-table.cpo-data-table tr > :nth-child(4) { width: 13%; }
.table.cpo-table.cpo-data-table tr > :nth-child(5) { width: 12%; }
.table.cpo-table.cpo-data-table tr > :nth-child(6) { width: 12%; }
.table.cpo-table.cpo-registration-history-table {
  min-width: 0;
}
.table.cpo-table.cpo-registration-history-table tr > :nth-child(1),
.table.cpo-table.cpo-registration-history-table tr > :nth-child(2),
.table.cpo-table.cpo-registration-history-table tr > :nth-child(3),
.table.cpo-table.cpo-registration-history-table tr > :nth-child(4) {
  width: 25%;
}
.cpo-data-table-empty {
  padding: 1.5rem 2.5rem 1.75rem;
  line-height: 1.5;
}

/* --- Status badges -------------------------------------------------------- */
.cpo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  vertical-align: middle;
}
.cpo-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.cpo-badge--active    { background: var(--cpo-active-bg);  color: var(--cpo-active-ink); }
.cpo-badge--active::before { background: var(--cpo-active-dot); }
.cpo-badge--revoked   { background: var(--cpo-revoked-bg); color: var(--cpo-revoked-ink); }
.cpo-badge--cancelled { background: var(--cpo-cancel-bg);  color: var(--cpo-cancel-ink); }
.cpo-badge--suspended { background: #fef3c7; color: #92400e; }

/* Clear/Alert indicator for public-register notices in registration history. */
.cpo-notice-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 0.35rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
}
.cpo-notice-status .cpo-i { width: 1rem; height: 1rem; }
.cpo-notice-status--clear { background: var(--cpo-active-bg); color: var(--cpo-active-ink); }
.cpo-notice-status--alert { background: var(--cpo-revoked-bg); color: var(--cpo-revoked-ink); }

.cpo-registrant-alert {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  background: #c0392b;
  color: #fff;
  font-weight: 600;
  text-align: center;
}
.cpo-registrant-alert a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

.cpo-public-notices {
  padding: 1.5rem;
  border-radius: var(--cpo-radius);
  background: #fef2f2;
}
.cpo-public-notices__list {
  overflow: hidden;
  background: #fff;
}
.cpo-public-notice { border-bottom: 1px solid var(--cpo-border); }
.cpo-public-notice > summary {
  position: relative;
  padding: 1.25rem 3.5rem 1.25rem 1.5rem;
  color: var(--cpo-blue-dark);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.cpo-public-notice > summary::-webkit-details-marker { display: none; }
.cpo-public-notice > summary::after {
  content: '+';
  position: absolute;
  inset-inline-end: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
}
.cpo-public-notice[open] > summary::after { content: '−'; }
.cpo-public-notice__body { padding: 0 1.5rem 1.5rem; }
.cpo-public-notice__description > :last-child { margin-bottom: 0; }
.cpo-public-notices__more {
  display: block;
  width: min(100%, 36rem);
  margin: 1.5rem auto;
  background: #c0392b;
  color: #fff;
  font-weight: 700;
}
.cpo-public-notices__more:hover,
.cpo-public-notices__more:focus-visible {
  background: #a93226;
  color: #fff;
}
.cpo-public-notices__less-label { display: none; }
.cpo-public-notices__more[aria-expanded="true"] .cpo-public-notices__more-label { display: none; }
.cpo-public-notices__more[aria-expanded="true"] .cpo-public-notices__less-label { display: inline; }
.cpo-notice-toggle {
  display: block;
  width: fit-content;
  margin: 1.5rem auto;
}
.cpo-notice-toggle__less-label { display: none; }
.cpo-notice-toggle[aria-expanded="true"] .cpo-notice-toggle__more-label { display: none; }
.cpo-notice-toggle[aria-expanded="true"] .cpo-notice-toggle__less-label { display: inline; }

.cpo-registration-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.cpo-registration-status::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--cpo-muted-soft);
  flex: none;
}
.cpo-registration-status--active { color: var(--cpo-active-ink); }
.cpo-registration-status--active::before { background: var(--cpo-active-dot); }
.cpo-registration-status--revoked { color: var(--cpo-revoked-ink); }
.cpo-registration-status--revoked::before { background: var(--cpo-revoked-ink); }
.cpo-registration-status--suspended { color: #92400e; }
.cpo-registration-status--suspended::before { background: #d97706; }

/* --- Search bar ----------------------------------------------------------- */
.cpo-searchfield {
  border: 1px solid var(--cpo-border);
  border-radius: 10px;
  background: #fff;
  padding: 0.85rem 1rem 0.85rem 2.85rem;
  font-size: 1rem;
  color: var(--cpo-ink);
  width: 100%;
}
.cpo-searchfield::placeholder { color: #9ca3af; }
.cpo-searchfield:focus {
  outline: 0;
  border-color: var(--cpo-blue);
  box-shadow: 0 0 0 3px rgb(0 94 162 / .15);
}
.cpo-searchfield-wrap { position: relative; }
.cpo-searchfield-wrap .cpo-searchicon {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 1rem;
  display: flex;
  align-items: center;
  color: var(--cpo-muted-soft);
  pointer-events: none;
}

.cpo-suggest {
  position: absolute;
  z-index: 1050;
  inset-inline: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid var(--cpo-border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgb(16 24 40 / .14);
  padding: 0.35rem;
  max-height: 22rem;
  overflow: auto;
}
.cpo-suggest button {
  display: flex;
  width: 100%;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  border: 0;
  background: none;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  text-align: start;
  color: var(--cpo-ink);
}
.cpo-suggest button:hover { background: var(--cpo-blue-tint); }

/* --- Facets --------------------------------------------------------------- */
.cpo-facet-group + .cpo-facet-group {
  border-top: 1px solid var(--cpo-border-soft);
  margin-top: 0.9rem;
  padding-top: 0.9rem;
}
.cpo-facet-legend {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cpo-muted);
  margin-bottom: 0.5rem;
}
.cpo-facet-list { max-height: 14rem; overflow-y: auto; margin: 0; padding: 0; list-style: none; }
.cpo-facet-item .form-check { margin-bottom: 0.15rem; }
.cpo-facet-item .form-check-label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: center;
  width: 100%;
  font-size: 0.875rem;
  cursor: pointer;
}
.cpo-facet-count {
  color: var(--cpo-muted);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}
.cpo-facet-item .form-check-input:checked { background-color: var(--cpo-blue); border-color: var(--cpo-blue); }

.cpo-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--cpo-blue-pale);
  color: var(--cpo-blue-dark);
  border: 1px solid #c3dcf7;
  border-radius: 999px;
  padding: 0.2rem 0.4rem 0.2rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
}
/* A button in the client, a link in the server application — same affordance. */
  .cpo-chip button, .cpo-chip a {
    border: 0; background: none; color: inherit; line-height: 1;
    padding: 0.1rem 0.25rem; border-radius: 999px; opacity: .7;
    text-decoration: none;
  }
  .cpo-chip button:hover, .cpo-chip a:hover {
    opacity: 1; background: rgb(0 94 162 / .12); color: inherit; text-decoration: none;
  }

/* --- Tables --------------------------------------------------------------- */
.cpo-table-wrap {
  background: #fff;
  border: 1px solid var(--cpo-border);
  border-radius: var(--cpo-radius-lg);
  box-shadow: var(--cpo-shadow);
  overflow: hidden;
}
.table.cpo-table { margin: 0; --bs-table-bg: transparent; }
.table.cpo-table > thead th {
  background: var(--cpo-blue);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.9rem 1.25rem;
  border: 0;
  white-space: nowrap;
}
.table.cpo-table > tbody td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--cpo-border-soft);
  vertical-align: middle;
  font-size: 0.9375rem;
}
.table.cpo-table > tbody tr:last-child td { border-bottom: 0; }
.table.cpo-table > tbody tr:hover { background: var(--cpo-blue-tint); }
.table.cpo-table--zebra > tbody tr:nth-child(odd) { background: var(--cpo-blue-tint); }
.table.cpo-table--zebra > tbody tr:nth-child(odd):hover { background: #e6eefa; }

/* --- Results list --------------------------------------------------------- */
.cpo-result {
  position: relative;
  background: #fff;
  border: 1px solid var(--cpo-border);
  border-radius: var(--cpo-radius);
  box-shadow: var(--cpo-shadow-sm);
  padding: 1.15rem 1.35rem;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.cpo-result:hover { border-color: #cddbe9; box-shadow: var(--cpo-shadow); }
.cpo-result__heading { padding-right: 7.5rem; }
.cpo-result__discipline-status {
  position: absolute;
  top: 1.15rem;
  right: 1.35rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-weight: 600;
  line-height: 1.5;
}
.cpo-result__discipline-status .cpo-i { width: 1rem; height: 1rem; }
.cpo-result__discipline-status.cpo-notice-status--clear { background: transparent; color: var(--cpo-active-ink); }
.cpo-result__discipline-status.cpo-notice-status--alert { background: transparent; color: var(--cpo-revoked-ink); }
.cpo-result-title {
  font-family: var(--cpo-font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--cpo-navy-ink);
  margin: 0;
}
.cpo-result-title a { color: inherit; text-decoration: none; }
.cpo-result-title a:hover { color: var(--cpo-blue); text-decoration: underline; }
.cpo-result mark { background: #fdf3c7; padding: 0 .12em; border-radius: 2px; color: inherit; }
.cpo-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem;
  font-size: 0.8125rem; color: var(--cpo-muted);
}
.cpo-meta .bi { font-size: .875rem; }

.cpo-tag {
  background: #f1f4f8;
  color: var(--cpo-muted);
  border-radius: 5px;
  padding: .1rem .5rem;
  font-size: .75rem;
}

/* Other-jurisdiction pills on the registrant page. */
.cpo-jurisdictions-panel {
  background: var(--cpo-blue-pale);
  padding: 1.25rem 1.5rem;
}
.cpo-jurisdictions-title {
  color: var(--cpo-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: .65rem;
}
.cpo-jurisdictions-list {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
}
.cpo-other-professions {
  border-top: 1px solid var(--cpo-border-soft);
  margin-top: 1rem;
  padding: 1.25rem 1.5rem 0;
}
.cpo-jurisdiction-pill {
  align-items: center;
  background: var(--cpo-surface);
  border: 2px solid #b7d8f5;
  border-radius: 999px;
  color: var(--cpo-navy-ink);
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  min-height: 2.75rem;
  padding: .55rem 1.25rem;
}
.cpo-jurisdiction-pill--secondary {
  background: var(--cpo-blue-pale);
}

/* --- Winnowing panel ------------------------------------------------------ */
.cpo-winnow { background: #fff; }
.cpo-winnow .form-range { accent-color: var(--cpo-blue); }
.cpo-winnow .form-check-input:checked { background-color: var(--cpo-blue); border-color: var(--cpo-blue); }
.cpo-stat-pill {
  background: var(--cpo-blue-tint);
  border: 1px solid #dbe5f2;
  color: var(--cpo-blue-dark);
  border-radius: 999px;
  padding: .15rem .7rem;
  font-size: .75rem;
  font-weight: 600;
}

/* --- Footer --------------------------------------------------------------- */
.cpo-footer {
  background: var(--cpo-band);
  color: var(--cpo-ink);
  padding: 3rem 0 2.25rem;
}
.cpo-footer h2, .cpo-footer .cpo-footer-head {
  font-family: var(--cpo-font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cpo-ink-strong);
  margin-bottom: 1rem;
}
.cpo-footer a { color: var(--cpo-blue); text-decoration: none; }
.cpo-footer a:hover { color: var(--cpo-blue-dark); text-decoration: underline; }
.cpo-footer address { font-style: normal; margin: 0; }
.cpo-footer .cpo-footer-note { font-size: .875rem; line-height: 1.65; }
.cpo-footer-legal { color: var(--cpo-muted); }

.cpo-social a {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 4px;
  background: var(--cpo-blue);
  color: #fff;
  font-size: 1.05rem;
}
.cpo-social a:hover { background: var(--cpo-blue-dark); color: #fff; }

/* --- Skip link & focus ---------------------------------------------------- */
.cpo-skip {
  position: absolute;
  inset-inline-start: -9999px;
  z-index: 2000;
  background: var(--cpo-blue);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 0 0 8px 0;
}
.cpo-skip:focus { inset-inline-start: 0; top: 0; }

:focus-visible { outline: 3px solid rgb(0 94 162 / .45); outline-offset: 2px; }

/* --- Print ---------------------------------------------------------------- */
@media print {
  .cpo-header, .cpo-footer, .cpo-noprint { display: none !important; }
  body { background: #fff; }
  .cpo-card, .cpo-table-wrap { box-shadow: none; border-color: #ccc; }
}


/* ---- Mockup navigator chrome (NOT part of the product) ------------------ */
.mk-bar{position:sticky;top:0;z-index:1100;background:#0f1a24;color:#cbd5e1;
  border-bottom:1px solid #1e2c3a;padding:.5rem .9rem}
.mk-bar .mk-title{font-size:.6875rem;letter-spacing:.1em;text-transform:uppercase;
  color:#7c8ea1;font-weight:700;margin-right:.35rem}
.mk-bar button{background:transparent;border:1px solid #2b3d4f;color:#cbd5e1;
  border-radius:999px;padding:.25rem .8rem;font-size:.8125rem;font-weight:500}
.mk-bar button:hover{background:#18293a;color:#fff}
.mk-bar button[aria-current="true"]{background:#005ea2;border-color:#005ea2;color:#fff}
.mk-screen{display:none}
.mk-screen.is-on{display:block}
.mk-note{background:#fffbeb;border:1px solid #fde68a;color:#7c5b12;border-radius:10px;
  padding:.6rem .9rem;font-size:.8125rem}
.mk-shell{min-height:100vh;display:flex;flex-direction:column}
.mk-shell>main{flex:1 0 auto}
