/* Shared listing UI. Detail pages keep their existing layout. */
.odb-body--listing { background: #eefaff; }
.odb-body--listing * { letter-spacing: 0; }
.odb-body--listing .odb-container { width: calc(100% - 48px); max-width: 1200px; padding: 0 0 32px; }
.odb-body--listing .odb-header { padding: 8px 0; box-shadow: 0 1px 0 #dcedf6; }
.odb-body--listing .odb-header__inner { width: calc(100% - 48px); max-width: 1200px; min-height: 48px; margin: auto; padding: 0; gap: 20px; }
.odb-body--listing .odb-header__logo { width: 90px; height: 34px; flex-shrink: 0; }
.odb-body--listing .odb-header__logo img { width: 90px; height: 34px; }
.odb-body--listing .odb-nav { margin: 0; gap: 22px; font-size: 12px; }
.odb-body--listing .odb-header__right { gap: 14px; font-size: 12px; }
.odb-body--listing .odb-header__login, .odb-body--listing .odb-header__agency { margin: 0; }
.odb-body--listing .odb-header__register { height: 36px; padding: 0 14px; border-radius: 6px; box-shadow: none; }
.odb-body--listing .odb-breadcrumb { padding-top: 18px; font-size: 11px; }
.odb-body--listing .odb-category-hero { padding-top: 28px; }
.odb-category-hero__title { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.odb-body--listing .odb-category-hero h1 { font-size: 30px; line-height: 1.5; overflow-wrap: anywhere; }
.odb-category-hero__count { flex-shrink: 0; background: #d8f2ff; color: #0867af; border-radius: 20px; padding: 5px 13px; font-size: 12px; font-weight: 700; }
.odb-body--listing .odb-pagehead__lead { font-size: 14px; line-height: 1.9; color: #526681; max-width: 900px; margin-top: 10px; }
.odb-body--listing .odb-search { margin-top: 18px; }
.odb-body--listing .odb-search input[type="search"] { height: 50px; padding: 0 54px 0 48px; font-size: 14px; border-color: #d6e9f5; border-radius: 8px; }
.odb-body--listing .odb-search > svg { left: 18px; top: 15px; width: 20px; height: 20px; color: #6985aa; }
.odb-search__submit { position: absolute; right: 6px; top: 6px; width: 38px; height: 38px; border: 0; border-radius: 6px; color: var(--odb-primary); background: #eef8ff; cursor: pointer; }
.odb-body--listing .odb-search__submit svg { position: static; width: 8px; height: 14px; }
.odb-category-tabs, .odb-subcategory-tabs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin; padding: 2px 0 4px; margin-top: 18px; }
.odb-category-tabs a, .odb-subcategory-tabs a { display: inline-flex; align-items: center; justify-content: center; min-width: 116px; min-height: 40px; padding: 8px 20px; flex-shrink: 0; border: 1px solid #dcecf5; background: #fff; border-radius: 24px; color: var(--odb-ink); font-size: 13px; font-weight: 700; white-space: nowrap; }
.odb-category-tabs a.is-active, .odb-subcategory-tabs a.is-active { background: #087ac5; border-color: #087ac5; color: #fff; }
.odb-category-tabs a:hover:not(.is-active), .odb-subcategory-tabs a:hover:not(.is-active) { border-color: #7dc7ed; color: #0871b5; }
.odb-subcategory-tabs { margin-top: 6px; }
.odb-subcategory-tabs a { min-width: 96px; min-height: 36px; padding: 6px 18px; font-size: 12px; }
.odb-app-navigation { margin-top: 8px; }
.odb-app-group { display: flex; align-items: center; gap: 14px; min-width: 0; margin-top: 8px; }
.odb-app-group__label { flex: 0 0 104px; font-size: 13px; font-weight: 700; color: #36577b; }
.odb-app-group[data-app-group="virtual"] .odb-app-group__label { color: #75528e; }
.odb-app-group .odb-subcategory-tabs { margin: 0; min-width: 0; }
.odb-subcategory-tabs a, .odb-subcategory-tabs .odb-app-unavailable { gap: 7px; }
.odb-app-icon { width: 24px; height: 24px; object-fit: contain; border-radius: 5px; flex: 0 0 24px; background: #fff; }
.odb-app-unavailable { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 96px; min-height: 36px; padding: 6px 18px; flex-shrink: 0; border: 1px solid #deebf3; border-radius: 24px; background: #f5fafd; color: #7d91a5; font-size: 12px; white-space: nowrap; }
.odb-app-unavailable small { font-size: 10px; }
@media (max-width: 767px) {
    .odb-app-group { display: block; margin-top: 12px; }
    .odb-app-group__label { margin-bottom: 6px; font-size: 12px; }
    .odb-app-group .odb-subcategory-tabs { gap: 6px; }
}
.odb-category-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 16px; padding: 18px; border: 1px solid #e0edf5; border-radius: 8px; background: #fff; }
.odb-category-filters__heading { display: flex; align-items: center; gap: 10px; }
.odb-category-filters__heading > svg { width: 23px; height: 23px; color: #0784d3; }
.odb-category-filters h2 { font-size: 14px; color: var(--odb-ink); }
.odb-category-filters__options { display: flex; flex-wrap: wrap; gap: 8px; }
.odb-category-filters__options label { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 7px 12px; border: 1px solid #dce8f4; border-radius: 6px; color: #4c6384; font-size: 12px; cursor: pointer; }
.odb-category-filters__options label:has(input:checked) { background: #e9f7ff; border-color: #86cbee; color: #0769ab; }
.odb-category-filters input[type="checkbox"] { width: 15px; height: 15px; margin: 0; accent-color: #087ac5; }
.odb-filter-reset { margin-left: auto; font-size: 12px; color: #0871b5; text-decoration: underline !important; }
.odb-body--listing .odb-comparison-drawer { margin-top: 22px; padding: 18px; background: #fff; border: 1px solid #e0edf5; border-radius: 8px; }
.odb-comparison-drawer summary { display: flex; align-items: center; gap: 12px; cursor: pointer; list-style: none; }
.odb-comparison-drawer summary::-webkit-details-marker { display: none; }
.odb-comparison-drawer h2, .odb-category-results h2 { font-size: 20px; line-height: 1.5; color: var(--odb-ink); }
.odb-section-icon { width: 34px; height: 34px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: #0784d3; background: #e5f7ff; border-radius: 6px; }
.odb-section-icon svg { width: 23px; height: 23px; }
.odb-section-description { display: block; margin-top: 4px; font-size: 13px; line-height: 1.7; color: #637c9c; }
.odb-comparison-drawer__toggle { width: 8px; height: 14px; flex-shrink: 0; margin-left: auto; color: #087ac5; transform: rotate(90deg); }
.odb-comparison-drawer[open] .odb-comparison-drawer__toggle { transform: rotate(-90deg); }
.odb-body--listing .odb-compare__scroll { max-height: 326px; overflow: auto; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: #a1b9cd #f0f8fc; border: 1px solid #e0edf5; border-radius: 6px; margin-top: 16px; }
.odb-body--listing .odb-compare__table { table-layout: fixed; width: 100%; min-width: 700px; border-spacing: 0; border-collapse: separate; font-size: 13px; }
.odb-body--listing .odb-compare__table thead th { position: sticky; top: 0; z-index: 2; height: 44px; padding: 10px; background: #eef8ff; color: #597394; font-size: 12px; font-weight: 500; text-align: center; border-bottom: 1px solid #e0edf5; }
.odb-body--listing .odb-compare__table thead th:first-child { text-align: left; padding-left: 16px; width: 34%; }
.odb-body--listing .odb-compare__table thead th:nth-child(2) { width: 28%; }
.odb-body--listing .odb-compare__table thead th:nth-child(3) { width: 18%; }
.odb-body--listing .odb-compare__table thead th:nth-child(4) { width: 14%; }
.odb-body--listing .odb-compare__table thead th:last-child { width: 6%; }
.odb-body--listing .odb-compare__table tbody th, .odb-body--listing .odb-compare__table td { height: 56px; padding: 8px 10px; background: #fff; border-bottom: 1px solid #e9f1f8; color: #50688a; text-align: center; font-weight: 400; }
.odb-body--listing .odb-compare__table tbody th { position: static; text-align: left; padding-left: 16px; }
.odb-comparison-office { display: flex; align-items: center; gap: 12px; height: 38px; color: #0871b5 !important; font-weight: 700; }
.odb-comparison-office > span:last-child, .odb-comparison-value { min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; line-height: 18px; }
.odb-comparison-logo { width: 36px; height: 36px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e5eef5; border-radius: 50%; background: #fff; color: #6884a1; }
.odb-comparison-logo img { width: 28px; height: 28px; object-fit: contain; }
.odb-comparison-logo--dark { background: #20252a; }
.odb-comparison-detail { display: inline-flex; justify-content: center; align-items: center; width: 28px; height: 36px; color: #0784d3 !important; }
.odb-comparison-detail svg { width: 7px; height: 12px; }
.odb-recruiting { display: inline-block; padding: 3px 10px; background: #ffe9ef; color: #b52d58; border-radius: 20px; font-size: 11px; white-space: nowrap; }
.odb-category-results { margin-top: 28px; }
.odb-category-results__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 14px; }
.odb-section-heading { display: flex; align-items: center; gap: 12px; min-width: 0; }
.odb-section-heading > div { min-width: 0; }
.odb-category-sort { display: flex; flex-shrink: 0; align-items: center; border: 1px solid #e2edf5; background: #fff; padding: 3px; border-radius: 22px; }
.odb-category-sort a { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 5px 15px; border-radius: 18px; font-size: 12px; color: #687b98; font-weight: 700; white-space: nowrap; }
.odb-category-sort a.is-active { color: #076eb6; background: #dff5ff; }
.odb-sort-block { max-width: 390px; min-width: 0; }
.odb-sort-note { margin-top: 7px; font-size: 11px; line-height: 1.7; color: #687b98; }
.odb-results-count { margin: 10px 0; font-size: 14px; color: var(--odb-ink); }
.odb-results-count strong { font-size: 20px; margin-right: 3px; }
.odb-body--listing .odb-agency-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.odb-body--listing .odb-agency-card { display: flex; flex-direction: column; min-width: 0; min-height: 320px; padding: 12px 16px 16px; border: 1px solid #dfeef7; border-radius: 8px; background: #fff; box-shadow: none; transition: border-color .15s, box-shadow .15s; }
.odb-body--listing .odb-agency-card:hover { border-color: #96cdec; box-shadow: 0 3px 14px #1671a30b; transform: none; }
.odb-body--listing .odb-agency-card:focus-within { outline: 2px solid #087ac5; outline-offset: 2px; }
.odb-agency-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; min-height: 22px; font-size: 10px; }
.odb-card-verified, .odb-card-rich { display: inline-flex; align-items: center; gap: 3px; padding: 3px 6px; border-radius: 12px; background: #eef2ff; color: #4967b1; }
.odb-card-verified svg { width: 10px; height: 10px; }
.odb-card-rich { background: #e4faec; color: #23764a; }
.odb-card-apps { margin-top: 10px; }
.odb-card-apps__label { font-size: 11px; color: #687f9c; }
.odb-card-apps ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 5px 0 0; padding: 0; }
.odb-card-apps li { position: relative; width: 34px; height: 34px; flex-shrink: 0; border-radius: 6px; background: #fff; }
.odb-card-apps img { display: block; width: 32px; height: 32px; object-fit: contain; border-radius: 6px; }
.odb-card-apps a { position: relative; z-index: 2; display: block; width: 34px; height: 34px; }
.odb-card-apps img[hidden], .odb-card-apps__fallback[hidden] { display: none; }
.odb-card-apps__fallback { font-size: 8px; line-height: 12px; overflow-wrap: anywhere; }
.odb-card-apps__tooltip { display: none; position: absolute; bottom: calc(100% + 5px); left: 0; padding: 4px 6px; border-radius: 4px; background: #172a42; color: #fff; font-size: 10px; white-space: nowrap; z-index: 4; }
.odb-card-apps li:hover .odb-card-apps__tooltip, .odb-card-apps a:focus-visible .odb-card-apps__tooltip { display: block; }
.odb-card-apps li:last-child .odb-card-apps__tooltip { left: auto; right: 0; }
.odb-agency-card__likes { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; color: #7286a6; white-space: nowrap; font-size: 11px; }
.odb-agency-card__likes svg { width: 15px; height: 15px; }
.odb-body--listing .odb-agency-card .odb-card__logo { width: 78px; height: 78px; margin: 8px auto 12px; flex-shrink: 0; }
.odb-body--listing .odb-agency-card .odb-card__head { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 5px; min-height: 18px; }
.odb-body--listing .odb-agency-card .odb-card__name { color: #0871b5; font-size: 15px; line-height: 1.5; min-height: 23px; overflow-wrap: anywhere; }
.odb-agency-card__intro { font-size: 13px; color: #607a9b; line-height: 1.7; margin-top: 7px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.odb-body--listing .odb-agency-card .odb-card__attrs { display: grid; gap: 4px; margin-top: 10px; font-size: 11px; line-height: 1.6; }
.odb-body--listing .odb-agency-card .odb-card__attrs > div { display: flex; gap: 8px; }
.odb-body--listing .odb-agency-card .odb-card__attrs dt { color: #7588a1; flex-shrink: 0; }
.odb-body--listing .odb-agency-card .odb-card__attrs dd { color: #48627f; min-width: 0; overflow-wrap: anywhere; white-space: normal; }
.odb-body--listing .odb-agency-card .odb-card__foot { margin-top: auto; padding-top: 12px; border: 0; }
.odb-body--listing .odb-agency-card .odb-card__tags { display: flex; flex-wrap: wrap; gap: 5px; }
.odb-body--listing .odb-agency-card .odb-mtag { border: 0; border-radius: 14px; padding: 3px 8px; font-size: 10px; background: #e9f6ff; color: #0867af; }
.odb-body--listing .odb-entry { font-size: 10px; background: #e2f8ed; color: #24774b; border: 0; padding: 2px 6px; border-radius: 4px; }
.odb-category-links { margin-top: 26px; }
.odb-category-links h2 { font-size: 15px; color: var(--odb-ink); margin-bottom: 12px; }
.odb-category-links ul { display: flex; flex-wrap: wrap; gap: 10px; }
.odb-category-links li { flex: 1 1 220px; min-width: 0; }
.odb-category-links a { display: flex; align-items: center; gap: 8px; padding: 12px; min-height: 44px; background: #fff; border: 1px solid #dfeef7; border-radius: 24px; font-size: 12px; font-weight: 700; }
.odb-category-links .odb-ptag { flex-shrink: 0; }
.odb-category-links a > svg { margin-left: auto; width: 7px; height: 12px; color: #0784d3; flex-shrink: 0; }
.odb-office-cta { display: flex; align-items: center; gap: 16px; margin-top: 22px; padding: 20px; background: #fff; border-top: 1px solid #dcecf5; border-bottom: 1px solid #dcecf5; }
.odb-office-cta__icon { color: #0784d3; background: #e6f7ff; padding: 10px; border-radius: 6px; display: flex; flex-shrink: 0; }
.odb-office-cta__icon svg { width: 28px; height: 28px; }
.odb-office-cta h2 { font-size: 16px; color: var(--odb-ink); }
.odb-office-cta p { margin-top: 4px; font-size: 12px; line-height: 1.8; color: #607a9b; }
.odb-office-cta > a { display: inline-flex; align-items: center; justify-content: center; gap: 12px; margin-left: auto; padding: 14px 20px; min-height: 48px; background: #087ac5; color: #fff; border-radius: 6px; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.odb-office-cta > a svg { width: 8px; height: 12px; }
.odb-section-all { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; color: #0871b5 !important; font-size: 13px; font-weight: 700; }
.odb-section-all svg { width: 7px; height: 12px; }
.odb-category-sections .odb-category-results { margin-top: 32px; }
.odb-body--listing .odb-editorial { background: transparent; border: 0; border-radius: 0; padding: 24px 0; box-shadow: none; }
.odb-body--listing :is(a, button, input, summary):focus-visible { outline: 2px solid #087ac5; outline-offset: 3px; }
@media (max-width: 1149px) {
  .odb-body--listing .odb-nav a:not(:first-child) { display: none; }
  .odb-body--listing .odb-header__inner { flex-wrap: nowrap; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .odb-body--listing .odb-agency-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .odb-body--listing .odb-container, .odb-body--listing .odb-header__inner { width: calc(100% - 32px); }
  .odb-body--listing .odb-header { height: auto; padding: 8px 0; }
  .odb-body--listing .odb-header__inner { gap: 12px; min-height: 38px; }
  .odb-body--listing .odb-nav, .odb-body--listing .odb-header__agency { display: none; }
  .odb-body--listing .odb-header__login { display: inline-flex; }
  .odb-body--listing .odb-header__right { gap: 10px; font-size: 11px; }
  .odb-body--listing .odb-header__register { height: 34px; padding: 0 9px; font-size: 11px; }
  .odb-body--listing .odb-header__logo, .odb-body--listing .odb-header__logo img { width: 76px; height: 29px; }
  .odb-body--listing .odb-breadcrumb { font-size: 10px; line-height: 1.7; padding-top: 14px; }
  .odb-body--listing .odb-category-hero { padding-top: 20px; }
  .odb-body--listing .odb-category-hero h1 { font-size: 23px; line-height: 1.5; }
  .odb-category-hero__title { gap: 8px; align-items: flex-start; }
  .odb-category-hero__count { font-size: 11px; padding: 4px 10px; }
  .odb-body--listing .odb-pagehead__lead { font-size: 12px; margin-top: 10px; }
  .odb-body--listing .odb-search input[type="search"] { font-size: 12px; }
  .odb-category-tabs { margin-top: 14px; gap: 7px; }
  .odb-category-tabs a { min-width: 90px; min-height: 38px; font-size: 12px; padding: 8px 15px; }
  .odb-category-filters { padding: 14px; gap: 12px; }
  .odb-category-filters__options { gap: 7px; }
  .odb-category-filters__options label { padding: 7px 9px; }
  .odb-body--listing .odb-comparison-drawer { padding: 14px; margin-top: 18px; }
  .odb-comparison-drawer h2, .odb-category-results h2 { font-size: 17px; }
  .odb-section-description { font-size: 11px; }
  .odb-section-icon { width: 28px; height: 28px; }
  .odb-section-icon svg { width: 19px; height: 19px; }
  .odb-comparison-drawer summary, .odb-section-heading { gap: 8px; }
  .odb-category-results__head { gap: 12px; }
  .odb-category-sort { max-width: 100%; }
  .odb-category-sort a { min-height: 30px; padding: 5px 12px; font-size: 11px; }
  .odb-body--listing .odb-agency-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .odb-body--listing .odb-agency-card { min-height: 320px; padding: 10px 8px 12px; }
  .odb-body--listing .odb-agency-card .odb-card__logo { width: 64px; height: 64px; margin: 8px auto; }
  .odb-body--listing .odb-agency-card .odb-card__head { gap: 4px; }
  .odb-body--listing .odb-agency-card .odb-card__name { font-size: 13px; min-height: 20px; }
  .odb-agency-card__intro { font-size: 12px; line-height: 1.6; }
  .odb-body--listing .odb-agency-card .odb-card__attrs > div { display: block; font-size: 10px; }
  .odb-body--listing .odb-agency-card .odb-card__tags { gap: 4px; }
  .odb-body--listing .odb-agency-card .odb-mtag { height: auto; min-height: 20px; padding: 3px 6px; line-height: 1.5; }
  .odb-category-links ul { gap: 8px; }
  .odb-category-links li { flex-basis: 100%; }
  .odb-office-cta { flex-wrap: wrap; gap: 12px; padding: 18px 0; }
  .odb-office-cta > div { flex: 1; min-width: 0; }
  .odb-office-cta > a { width: 100%; margin: 0; }
}
