.thb-pill-emerald,.thb-pill-emerald-soft,.thb-pill-blue{ display: flex; justify-content: center; align-items: center; gap: 2px; background: #12d8c3; border: 1px solid #12d8c3; border-radius: 100px; padding: 2px 8px; color: white; font-size: 13px; }
#thb-app.thb {
  --thb-bg: #ffffff;
  --thb-card: #ffffff;
  --thb-border: rgba(219, 228, 236, 0.95);
  --thb-text: #1f2937;
  --thb-muted: #66758a;
  --thb-primary: #0f3a58;
  --thb-accent: #21c6ad;
  --thb-accent-dark: #118a79;
  --thb-hover-border: #21c6ad;
  background: transparent !important;
  color: var(--thb-text);
  padding: 18px 0 32px;
  font-family: var(--e-global-typography-text-font-family), Sans-serif !important;
  position: relative;
}

#thb-app.thb,
#thb-app.thb * {
  box-sizing: border-box !important;
}

/* Every icon in the board is Lucide-style stroke art. WordPress themes
 * (Hello, Elementor, OceanWP) often inject `fill: currentColor` on every
 * SVG via their reset stylesheets — that turns our outlined briefcase,
 * location pin, verified mark, etc. into solid black/blue blobs.
 * Force `fill: none` on every SVG inside the board, then re-allow filled
 * decorative graphics that genuinely need it (avatar fallback shapes). */
#thb-app svg,
#thb-app svg * {
  fill: none !important;
}
#thb-app .thb-avatar-fallback-shape,
#thb-app .thb-avatar-fallback-shape * {
  fill: revert !important;
}

#thb-app.thb h1,
#thb-app.thb h2,
#thb-app.thb h3,
#thb-app.thb h4,
#thb-app.thb h5,
#thb-app.thb h6,
#thb-app.thb p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.35 !important;
}

#thb-app.thb h1,
#thb-app.thb h2,
#thb-app.thb h3,
#thb-app.thb h4,
#thb-app.thb h5,
#thb-app.thb h6 {
  font-family: var(--e-global-typography-secondary-font-family), Sans-serif !important;
}

#thb-app .thb-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 1200px;
  margin: 0px auto 30px;
  /* Elementor site cyan; tuned to match the reference tab bar. */
  background: #3ec8de !important;
  /* Softly rounded — not fully round — to match the Elementor reference. */
  border-radius: 16px;
  padding: 6px;
  gap: 4px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.16);
}

#thb-app .thb-tab-slider {
  position: absolute;
  top: 6px;
  left: 6px;
  width: calc((100% - 28px) / 5);
  height: calc(100% - 12px);
  border-radius: 12px;
  /* Elementor site purple accent for the active pill. */
  background: #4a2ea6 !important;
  box-shadow: 0 4px 12px rgba(74, 46, 166, 0.25);
  transition: transform .28s ease;
}

#thb-app .thb-tab {
  position: relative;
  z-index: 2;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  /* Inherit the site's Elementor secondary typography so tab labels
     match the rest of the theme. */
  font-family: var(--e-global-typography-secondary-font-family, inherit), Sans-serif !important;
  font-weight: var(--e-global-typography-secondary-font-weight, 600) !important;
  text-transform: var(--e-global-typography-secondary-text-transform, none) !important;
  line-height: var(--e-global-typography-secondary-line-height, 1.2) !important;
  font-size: 15px !important;
  padding: 10px 16px !important;
  cursor: pointer !important;
  letter-spacing: 0 !important;
  transition: color .22s ease !important;
  white-space: nowrap !important;
}

#thb-app .thb-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
#thb-app .thb-tab-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
#thb-app .thb-tab-text {
  display: inline-block;
}
#thb-app .thb-tab.is-active {
  color: #ffffff !important;
}
#thb-app .thb-tab:not(.is-active):hover {
  color: rgba(255, 255, 255, 0.85) !important;
}

#thb-app .thb-layout {
  display: grid;
  grid-template-columns: minmax(290px, 330px) minmax(0, 1fr);
  gap: 16px;
  max-width: 90%;
  margin: 0 auto;
  align-items: start;
}

#thb-app .thb-filters {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  position: sticky;
  top: 20px;
  height: fit-content;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  backdrop-filter: none;
  /* Inherit site typography for every child that doesn't override. */
  font-family: var(--e-global-typography-secondary-font-family, inherit), Sans-serif;
}

#thb-app .thb-filter-header {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  line-height: 1;
  font-family: var(--e-global-typography-secondary-font-family, inherit), Sans-serif;
}
#thb-app .thb-filter-header > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}
/* "Reset" button now lives inline in the filter header. !important on every
 * paint property so WP themes (especially Hello/Elementor) can't override.
 */
#thb-app .thb-filter-header .thb-reset-btn,
#thb-app .thb-filter-header .thb-reset-btn:visited,
#thb-app .thb-filter-header .thb-reset-btn:focus {
  font-size: 13px !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  line-height: 1 !important;
  color: #334155 !important;
  background: #fff !important;
  background-image: none !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 999px !important;
  padding: 8px 14px !important;
  margin: 0 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease !important;
}
#thb-app .thb-filter-header .thb-reset-btn:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04) !important;
}
#thb-app .thb-filter-header .thb-reset-btn svg {
  flex-shrink: 0;
  display: inline-block !important;
}
#thb-app .thb-filter-header > span {
  /* Keep the "Filters" label using the existing header colour/size; flex layout
   * is on the parent. */
  flex: 1 1 auto;
}

/* "Showing N <Stakeholder> of TOTAL" — centered, no toggle. */
#thb-app .thb-result-summary {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  padding: 0 2px 16px;
  letter-spacing: 0.01em;
  text-align: center;
}
#thb-app .thb-result-count {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
/* Tiny inline spinner shown while the background "of TOTAL" fetch is in
 * flight. Matches the muted text colour so it reads as "more is coming"
 * rather than as an error or important alert. */
#thb-app .thb-result-spinner {
  display: inline-block;
  width: 11px;
  height: 11px;
  border: 2px solid #cbd5e1;
  border-top-color: #475569;
  border-radius: 50%;
  vertical-align: middle;
  animation: thb-result-spin 0.7s linear infinite;
}
#thb-app .thb-result-pending {
  color: #94a3b8;
  font-weight: 500;
  font-size: 13px;
}
@keyframes thb-result-spin {
  to { transform: rotate(360deg); }
}

/* Filter-panel skeleton shown while the lookups call is in flight. Mirrors the
 * shape of the real filters (heading + 3 checkbox rows per group) so the panel
 * doesn't visibly jump when the real content swaps in. */
#thb-app .thb-filter-skeleton {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 4px 0;
}
#thb-app .thb-fs-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#thb-app .thb-fs-title {
  height: 14px;
  width: 45%;
  border-radius: 4px;
  background: linear-gradient(90deg, #eef2f7 0%, #f7fafc 50%, #eef2f7 100%);
  background-size: 200% 100%;
  animation: thb-skel-shimmer 1.4s infinite linear;
}
#thb-app .thb-fs-row {
  height: 12px;
  width: 85%;
  border-radius: 4px;
  background: linear-gradient(90deg, #eef2f7 0%, #f7fafc 50%, #eef2f7 100%);
  background-size: 200% 100%;
  animation: thb-skel-shimmer 1.4s infinite linear;
}
@keyframes thb-skel-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

#thb-app .thb-filter-group {
  margin-bottom: 14px;
  border-bottom: 0;
  padding-bottom: 0;
}

#thb-app .thb-filter-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  color: #374151;
}

#thb-app .thb-input,
#thb-app .thb-select {
  width: 100%;
  border: 1px solid #d1d5db !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
  font-size: 14px !important;
  background: #fff !important;
  color: var(--thb-text) !important;
  box-shadow: none;
}

#thb-app .thb-range {
  display: grid;
  gap: 10px;
}

#thb-app .thb-range-track {
  position: relative;
  height: 36px;
  display: flex;
  align-items: center;
}

#thb-app .thb-range-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 10px;
  border-radius: 999px;
  background: #d7f6f1;
}

#thb-app .thb-range-track-fill {
  position: absolute;
  height: 10px;
  border-radius: 999px;
  background: var(--thb-accent);
}

#thb-app .thb-range-slider {
  position: absolute;
  left: 0;
  width: 100%;
  height: 36px;
  margin: 0;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

#thb-app .thb-range-slider::-webkit-slider-runnable-track {
  height: 10px;
  background: transparent;
}

#thb-app .thb-range-slider::-moz-range-track {
  height: 10px;
  background: transparent;
}

#thb-app .thb-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: 26px;
  height: 26px;
  margin-top: -8px;
  border-radius: 50%;
  border: 3px solid #18b8a0;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

#thb-app .thb-range-slider::-moz-range-thumb {
  pointer-events: auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 3px solid #18b8a0;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

#thb-app .thb-range-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

#thb-app .thb-range-input {
  min-width: 0;
}

#thb-app .thb-checks {
  max-height: 190px;
  overflow: auto;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}

#thb-app .thb-checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin: 0 0 8px;
}

/* (Per-skill count rule removed — the server-side count is exact-match
 * while the listing filter is substring-match, so the numbers can't agree
 * and were misleading. The count is still computed server-side and used
 * to drop orphan skills, just no longer rendered.) */

#thb-app .thb-checks-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

#thb-app .thb-checks-inline label {
  margin: 0;
}

#thb-app .thb-checks input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  border: 1.5px solid #b7c4d1 !important;
  border-radius: 4px !important;
  background: #fff !important;
  display: inline-grid !important;
  place-content: center !important;
  margin: 0 !important;
  cursor: pointer !important;
}

#thb-app .thb-checks input[type="checkbox"]::before {
  content: "" !important;
  width: 10px !important;
  height: 10px !important;
  transform: scale(0) !important;
  transition: transform .12s ease-in-out !important;
  clip-path: polygon(14% 44%, 0 59%, 42% 100%, 100% 16%, 84% 0, 42% 62%) !important;
  background: #fff !important;
}

#thb-app .thb-checks input[type="checkbox"]:checked {
  background: #17b39c !important;
  border-color: #17b39c !important;
}

#thb-app .thb-checks input[type="checkbox"]:checked::before {
  transform: scale(1) !important;
}

#thb-app .thb-reset-btn {
  width: fit-content !important;
  border: 1px solid #d1d5db !important;
  background: #fff !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  color: #374151 !important;
  box-shadow: none;
}

#thb-app .thb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

#thb-app .thb-card {
  background: #fff;
  border: 1px solid #f3f4f6 !important;
  border-radius: 20px;
  padding: 16px;
  transition: transform .22s ease, border-color .28s ease, box-shadow .28s ease;
  display: flex;
  flex-direction: column;
  height: fit-content;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

#thb-app .thb-card:hover {
  border-color: #12d8c3 !important;
  box-shadow: 0 10px 15px rgba(15, 23, 42, 0.08) !important;
  transform: translateY(-2px);
}

#thb-app .thb-head {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 8px;
  align-items: start;
}

#thb-app .thb-avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  background: #f8fafc;
  box-shadow: none;
}

#thb-app .thb-avatar-fallback {
  display: grid;
  place-items: center;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  color: #2563eb;
}

#thb-app .thb-gender {
  width: auto !important;
  height: auto !important;
  align-self: start;
  justify-self: end;
  color: #2563eb !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#thb-app .thb-gender svg {
  width: 20px !important;
  height: 20px !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  fill: none !important;
}

#thb-app .thb-name {
  font-size: 14px;
  line-height: 1.25;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
  word-break: break-word;
  text-transform: uppercase;
  color: #111827;
  max-width: 215px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-family: var(--e-global-typography-24d1e98-font-family), Sans-serif !important;
}

#thb-app .thb-card-academia .thb-name {
  font-size: 13px;
  line-height: 1.25;
}

#thb-app .thb-location {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 6px;
  color: #374151;
  font-size: 13px;
  line-height: 1.25;
}

#thb-app .thb-location-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #6b7280;
}

#thb-app .thb-location-icon svg {
  width: 14px;
  height: 14px;
  /* Lucide-style stroke icons rely on no fill so the pin reads as an outline,
   * not a black blob. The icon attribute already says fill="none" but WP
   * themes (Elementor, Hello) frequently force `fill: currentColor` on every
   * SVG, so re-assert it here. */
  fill: none !important;
}

#thb-app .thb-location-text {
  min-width: 0;
}

#thb-app .thb-faculty-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

#thb-app .thb-faculty-stats-single {
  overflow-x: auto;
}

#thb-app .thb-faculty-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #d4dee7;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 700;
  color: #334154;
  background: #f6fafc;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

#thb-app .thb-faculty-chip svg {
  width: 14px;
  height: 14px;
  color: #17a68f;
  flex: 0 0 auto;
}

#thb-app .thb-badge {
  display: inline-block;
  font-weight: 700;
  color: #0f9a84;
  background: #d9f6ef;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

#thb-app .thb-badge-experience {
  color: #059669;
  background: #ecfdf5;
  border-color: #a7f3d0;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:2px;
}

#thb-app .thb-gender-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  white-space: nowrap;
}

#thb-app .thb-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-right: 1px;
}

#thb-app .thb-chip-icon svg {
  width: 16px;
  height: 16px;
  /* Same reason as the location pin — chip icons are stroke-only Lucide
   * glyphs and need fill explicitly disabled or themes paint them solid. */
  fill: none !important;
}

#thb-app .thb-gender-female {
  color: #7c3aed;
  background: #f5e4ff;
  border-color: rgba(185, 64, 255, 0.22);
}

#thb-app .thb-gender-male {
  color: #1e677d;
  background: #e4f7fb;
  border-color: rgba(30, 103, 125, 0.18);
}

#thb-app .thb-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

#thb-app .thb-badge-staff {
  background: #edf5fb;
  color: #2d495f;
  border-color: #d3e2ee;
}

#thb-app .thb-desc {
  margin: 16px 0 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.6;
}

#thb-app .thb-desc[data-collapsed="1"] .thb-desc-txt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#thb-app .thb-link {
  color: #0f766e !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

#thb-app .thb-link:hover {
  color: #1b3b52 !important;
}

#thb-app .thb-sec {
  border-top: 1px solid #e5e7eb;
  padding-top: 12px;
  margin-top: 12px;
}

#thb-app .thb-sec-title {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #374151;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#thb-app .thb-sec-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  color: #374151;
}

#thb-app .thb-sec-title-icon svg {
  width: 14px;
  height: 14px;
}

#thb-app .thb-chips { display: flex; flex-wrap: wrap; gap: 7px; }

#thb-app .thb-chips-scroll {
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 2px;
}

#thb-app .thb-chips-scroll::-webkit-scrollbar {
  height: 6px;
}

#thb-app .thb-chips-scroll::-webkit-scrollbar-thumb {
  background: #c8d3df;
  border-radius: 999px;
}

#thb-app .thb-chip {
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  color: #334155;
}

#thb-app .thb-chip:hover,
#thb-app .thb-badge:hover,
#thb-app .thb-faculty-chip:hover {
  background: #eef2ff !important;
  border-color: #c7d2fe !important;
  color: #1e3a8a !important;
}

#thb-app .thb-view-btn {
  margin-top: auto;
  width: 100%;
  border: 0 !important;
  border-radius: 24px !important;
  padding: 12px 16px !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  background: #12D8C3 !important;
  background-image: none !important;
  cursor: pointer !important;
  text-decoration: none !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  overflow: hidden !important;
  font-family: var(--e-global-typography-accent-font-family), Sans-serif !important;
  margin-top: 18px;
}

#thb-app .thb-view-btn .thb-btn-text {
  display: inline-block !important;
  transform: translateX(0) !important;
  transition: transform .22s ease !important;
}

#thb-app .thb-view-btn .thb-btn-icon {
  display: inline-block !important;
  margin-left: 0 !important;
  max-width: 18px !important;
  opacity: 1 !important;
  transform: translateX(0) !important;
  transition: transform .22s ease !important;
}

#thb-app .thb-view-btn .thb-btn-icon svg {
  width: 18px !important;
  height: 18px !important;
  display: block;
}

#thb-app .thb-view-btn:hover { background: #5340FF !important; }
#thb-app .thb-view-btn:hover .thb-btn-text { transform: translateX(-2px) !important; }

#thb-app .thb-loading,
#thb-app .thb-empty {
  text-align: center;
  padding: 16px;
  color: #506071;
  background: transparent;
}

/* Empty-state card ("No profiles matching the criteria"). Uses the
   site's Elementor secondary typography so it doesn't feel bolted-on. */
#thb-app .thb-verification-notice {
  grid-column: 1 / -1;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}
#thb-app .thb-verification-card {
  max-width: 460px;
  width: 100%;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
  font-family: var(--e-global-typography-secondary-font-family, inherit), Sans-serif;
}
#thb-app .thb-verification-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  color: #4a2ea6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#thb-app .thb-verification-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}
#thb-app .thb-verification-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
  line-height: 1.3;
  font-family: var(--e-global-typography-secondary-font-family, inherit), Sans-serif;
}
#thb-app .thb-verification-sub {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #64748b;
}

/* Filter labels / inputs pick up the site font too. */
#thb-app .thb-filter-label,
#thb-app .thb-input,
#thb-app .thb-select {
  font-family: var(--e-global-typography-secondary-font-family, inherit), Sans-serif;
}

#thb-app .thb-empty { display: none; }

#thb-app .thb-empty-title {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #273445 !important;
}

#thb-app .thb-empty-sub {
  font-size: 14px !important;
  color: #5e6d7f !important;
  margin-top: 6px !important;
}

#thb-app .thb-scroll-hint {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 6px auto 2px !important;
  border: 1px solid #d3dde7 !important;
  background: #f8fbfd !important;
  color: #567086 !important;
  border-radius: 999px !important;
  padding: 6px 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

#thb-app .thb-load-error {
  color: black;
  padding: 10px 12px;
  text-align: left;
}

/* Skeleton grid mirrors the real `.thb-grid`: hard 3 columns on desktop,
 * collapsing to 1 column at the same breakpoints (defined further down).
 * Using `repeat(3, ...)` instead of `auto-fill` avoids the case where the
 * skeleton briefly shows 4 cards on wide screens before the real grid (which
 * is locked to 3) paints over it. */
#thb-app .thb-skel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

#thb-app .thb-skel-card {
  height: 280px;
  border-radius: 20px;
  border: 1px solid #f3f4f6;
  background:
    linear-gradient(90deg, #eef2f7 25%, #f7f9fc 37%, #eef2f7 63%),
    #eef2f7;
  background-size: 400% 100%;
  animation: thb-skel 1.2s ease-in-out infinite;
}

@keyframes thb-skel {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

@media (max-width: 1100px) {
  #thb-app .thb-layout { grid-template-columns: 1fr; }
  #thb-app .thb-filters { position: static; }
  #thb-app .thb-grid { grid-template-columns: 1fr; }
  #thb-app .thb-skel-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  #thb-app.thb { padding-top: 22px; }
  #thb-app .thb-header { margin-bottom: 20px; }
  #thb-app .thb-title { font-size: clamp(30px, 8vw, 40px); }
  #thb-app .thb-subtitle { font-size: 15px; }
  #thb-app .thb-layout { gap: 18px; }
  #thb-app .thb-tabs { max-width: 100%; grid-template-columns: 1fr; border-radius: 18px; }
  #thb-app .thb-tab-slider { display: none; }
  #thb-app .thb-tab { justify-content: flex-start !important; border-radius: 10px; padding: 12px; }
  #thb-app .thb-tab.is-active { background: #4a2ea6 !important; }
  #thb-app .thb-name { font-size: 22px; }
  #thb-app .thb-grid { grid-template-columns: 1fr; }
  #thb-app .thb-skel-grid { grid-template-columns: 1fr; }
}

#thb-app.thb .thb-header {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#thb-app.thb .thb-header > div {
  width: 100%;
}

#thb-app.thb .thb-kicker {
  color: #1b3b52;
  letter-spacing: 0.08em;
}

#thb-app.thb .thb-title {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
}

#thb-app.thb .thb-subtitle {
  max-width: 760px;
  margin: 8px auto 0;
  font-size: 14px;
  color: #475569;
}

#thb-app.thb .thb-results {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#thb-app.thb .thb-empty,
#thb-app.thb .thb-loading {
  margin-top: 2px;
}

#thb-app[data-fixed-stakeholder="it_professional"] .thb-desc {
  display: none !important;
}

#thb-app .thb-layout,
#thb-app .thb-results {
  background: transparent !important;
}

#thb-app .thb-page-header,
#thb-app .thb-board-header {
  max-width: 1180px;
  margin: 0 auto 12px;
}

#thb-app .thb-page-header .thb-title {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  text-align: center;
}

#thb-app .thb-page-header .thb-subtitle {
  margin-top: 6px;
  text-align: center;
}

#thb-app .thb-board-header {
  margin-top: 4px;
  margin-bottom: 12px;
}

#thb-app .thb-board-header .thb-kicker {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

#thb-app .thb-board-header .thb-title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  text-align: center;
}

#thb-app .thb-board-header .thb-subtitle {
  margin-top: 4px;
  text-align: center;
  font-size: 13px;
}

#thb-app .thb-hero,
#thb-app .thb-section,
#thb-app .thb-cta {
  max-width: 1180px;
  margin: 0 auto 28px;
}

#thb-app .thb-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 22px;
  align-items: stretch;
}

#thb-app .thb-hero-copy,
#thb-app .thb-hero-art,
#thb-app .thb-about-visual,
#thb-app .thb-stats-total,
#thb-app .thb-stat-card,
#thb-app .thb-progress-card,
#thb-app .thb-cta {
  border: 1px solid rgba(219, 228, 236, 0.95);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
}

#thb-app .thb-hero-copy {
  border-radius: 30px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: var(--e-global-typography-text-font-family), Sans-serif !important;
}

#thb-app .thb-kicker {
  color: #21a98f;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

#thb-app .thb-title {
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #0f172a;
  margin-top: 12px;
  font-family: var(--e-global-typography-primary-font-family), Sans-serif !important;
}

#thb-app .thb-subtitle {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: #5f6c7b;
}

#thb-app .thb-hero-art {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  min-height: 240px;
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.9), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(33, 198, 173, 0.18), transparent 26%),
    linear-gradient(135deg, #e8fbf7 0%, #f4f7ff 48%, #eef9f8 100%);
}

#thb-app .thb-hero-orbit,
#thb-app .thb-hero-glow {
  position: absolute;
  border-radius: 999px;
}

#thb-app .thb-hero-orbit {
  inset: 18% auto auto 8%;
  width: 46%;
  height: 46%;
  border: 1px solid rgba(33, 198, 173, 0.2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.1));
  filter: blur(1px);
}

#thb-app .thb-hero-orbit-alt {
  inset: auto 6% 10% auto;
  width: 42%;
  height: 42%;
  border-color: rgba(79, 70, 229, 0.15);
}

#thb-app .thb-hero-glow {
  inset: 18% 12% 16% 16%;
  background: radial-gradient(circle, rgba(33, 198, 173, 0.12), transparent 68%);
}

#thb-app .thb-hero-card {
  position: absolute;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(219, 228, 236, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

#thb-app .thb-hero-card strong {
  font-size: 32px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #0f172a;
}

#thb-app .thb-hero-card-label {
  font-size: 12px;
  font-weight: 900;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

#thb-app .thb-verified {
  color: #2563eb !important;
}

#thb-app .thb-verified svg {
  width: 24px !important;
  height: 24px !important;
}

#thb-app .thb-hero-card-a {
  top: 22px;
  left: 22px;
}

#thb-app .thb-hero-card-b {
  right: 22px;
  bottom: 22px;
}

#thb-app .thb-board-header {
  margin-top: 18px;
}

#thb-app .thb-section {
  padding-top: 6px;
}

#thb-app .thb-section-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

#thb-app .thb-section-heading-center {
  align-items: center;
  text-align: center;
}

#thb-app .thb-section-heading h2,
#thb-app .thb-cta h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 900;
  color: #0f172a;
  font-family: var(--e-global-typography-secondary-font-family), Sans-serif !important;
}

#thb-app .thb-section-kicker {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #6b7a8c;
}

#thb-app .thb-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 22px;
  align-items: stretch;
}

#thb-app .thb-about-copy {
  border-radius: 28px;
  padding: 26px;
  background: transparent;
}

#thb-app .thb-about-copy p {
  font-size: 16px;
  line-height: 1.7;
  color: #334155;
  max-width: 640px;
}

#thb-app .thb-about-points {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  max-width: 560px;
}

#thb-app .thb-about-point {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(219, 228, 236, 0.95);
  background: #fff;
  font-weight: 700;
  color: #223041;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

#thb-app .thb-about-visual {
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(15, 58, 88, 0.88), rgba(33, 198, 173, 0.18)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.75), transparent 32%),
    linear-gradient(180deg, #dbeafe 0%, #eff6ff 100%);
  min-height: 320px;
}

#thb-app .thb-stats-grid {
  display: grid;
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

#thb-app .thb-stats-total {
  border-radius: 28px;
  padding: 24px;
  background: linear-gradient(160deg, #0a0b39 0%, #10395a 52%, #19a3a0 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

#thb-app .thb-total-label,
#thb-app .thb-total-pill {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

#thb-app .thb-total-value {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
  margin-top: 12px;
}

#thb-app .thb-total-meta {
  margin-top: 12px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

#thb-app .thb-total-meta strong {
  font-size: 20px;
}

#thb-app .thb-stats-total p,
#thb-app .thb-stats-total span {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

#thb-app .thb-stats-stack,
#thb-app .thb-upcoming-grid,
#thb-app .thb-progress-grid {
  display: grid;
  gap: 14px;
}

#thb-app .thb-stats-stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#thb-app .thb-upcoming-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

#thb-app .thb-stat-card,
#thb-app .thb-progress-card {
  border-radius: 24px;
  padding: 18px;
}

#thb-app .thb-stat-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#thb-app .thb-stat-card-soft {
  background: #fff;
}

#thb-app .thb-stat-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

#thb-app .thb-stat-value,
#thb-app .thb-progress-value {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #0f172a;
}

#thb-app .thb-stat-status {
  font-size: 12px;
  color: #6b7a8c;
  text-align: right;
}

#thb-app .thb-stat-status strong {
  display: block;
  color: #4f46e5;
  font-size: 18px;
}

#thb-app .thb-stat-title,
#thb-app .thb-progress-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
  font-family: var(--e-global-typography-24d1e98-font-family), Sans-serif !important;
}

#thb-app .thb-stat-desc,
#thb-app .thb-progress-card p,
#thb-app .thb-progress-card span {
  color: #4f5d6d;
  font-size: 14px;
  line-height: 1.65;
}

#thb-app .thb-progress-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#thb-app .thb-progress-card {
  background: linear-gradient(180deg, #f8f7ff 0%, #eefcf9 100%);
  display: flex;
  flex-direction: column;
}

#thb-app .thb-progress-grid .thb-progress-card:last-child {
  justify-content: space-between;
}

#thb-app .thb-progress-card p {
  margin-top: 8px;
  font-weight: 700;
}

#thb-app .thb-progress-card span {
  display: block;
  margin-top: 10px;
}

#thb-app .thb-cta {
  border-radius: 28px;
  padding: 32px 28px;
  text-align: center;
  background: linear-gradient(90deg, #6d28d9 0%, #4f46e5 35%, #2f80ed 65%, #a855f7 100%);
  color: #fff;
}

#thb-app .thb-cta h2 {
  color: #fff;
}

#thb-app .thb-cta p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
}

#thb-app .thb-header.thb-board-header {
  margin: 36px auto 18px;
}

#thb-app .thb-header.thb-board-header .thb-title {
  font-size: clamp(28px, 3vw, 44px);
}

#thb-app .thb-header.thb-board-header .thb-subtitle {
  max-width: 780px;
}
