/*
 * anccer-trusted-partners — trusted-partners.css  v1.2.0
 *
 * Styles for the Trusted Partners directory, individual profile pages,
 * and the inline Trusted Partner badge used across ANCCER.
 *
 * Design token variables are inherited from the ANCCER theme.
 * All fallback values mirror the token values for standalone rendering.
 */

/* ── Page Layout ─────────────────────────────────────────────────────────── */

.tp-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

/* ── Breadcrumb ──────────────────────────────────────────────────────────── */

.tp-breadcrumb {
    margin-bottom: 28px;
}

.tp-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.8125rem;
    color: var(--color-text-muted, #65676b);
}

.tp-breadcrumb__list a {
    color: var(--color-primary-light, #2d6a9f);
    text-decoration: none;
}

.tp-breadcrumb__list a:hover {
    text-decoration: underline;
}

.tp-breadcrumb__sep {
    color: var(--color-text-subtle, #90949c);
    user-select: none;
}

.tp-breadcrumb__current {
    color: var(--color-text-muted, #65676b);
}

/* ── Page Header ─────────────────────────────────────────────────────────── */

.tp-page-header {
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--color-border, #e4e6eb);
}

.tp-page-header__title {
    font-size: clamp(1.75rem, 3vw, 2.375rem);
    font-weight: 800;
    color: var(--color-primary, #1a3a5c);
    margin: 0 0 12px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.tp-page-header__subtitle {
    font-size: 1.0625rem;
    color: var(--color-text-muted, #65676b);
    margin: 0;
    max-width: 700px;
    line-height: 1.6;
}

/* ── Introduction ────────────────────────────────────────────────────────── */

.tp-intro {
    background: linear-gradient(135deg, var(--color-bg, #f0f2f5) 0%, #f8fafc 100%);
    border: 1px solid var(--color-border, #e4e6eb);
    border-radius: 14px;
    padding: 28px 32px;
    margin-bottom: 36px;
}

.tp-intro p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--color-text-muted, #65676b);
    line-height: 1.65;
}

.tp-intro__note {
    margin-top: 12px !important;
    font-size: 0.875rem !important;
    color: var(--color-text-subtle, #90949c) !important;
}

.tp-intro strong {
    color: var(--color-text, #1c1e21);
}

/* ── Stats Row ───────────────────────────────────────────────────────────── */

.tp-intro__stats {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border, #e4e6eb);
}

.tp-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.tp-stat__value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary, #1a3a5c);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.tp-stat__label {
    font-size: 0.75rem;
    color: var(--color-text-subtle, #90949c);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.tp-stat__divider {
    width: 1px;
    height: 36px;
    background: var(--color-border, #e4e6eb);
    flex-shrink: 0;
}

/* ── Controls (Search + Filters) ─────────────────────────────────────────── */

.tp-controls {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tp-search-wrap {
    position: relative;
    max-width: 440px;
}

.tp-search-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-subtle, #90949c);
    pointer-events: none;
    flex-shrink: 0;
}

.tp-search {
    width: 100%;
    padding: 11px 14px 11px 40px;
    border: 1.5px solid var(--color-border, #e4e6eb);
    border-radius: 10px;
    font-size: 0.9375rem;
    font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    background: var(--color-surface, #ffffff);
    color: var(--color-text, #1c1e21);
    outline: none;
    transition: border-color 150ms ease, box-shadow 150ms ease;
    box-sizing: border-box;
}

.tp-search:focus {
    border-color: var(--color-primary-light, #2d6a9f);
    box-shadow: 0 0 0 3px rgba(45, 106, 159, 0.14);
}

.tp-search::placeholder {
    color: var(--color-text-subtle, #90949c);
}

/* ── Category Filter Chips ───────────────────────────────────────────────── */

.tp-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tp-filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border: 1.5px solid var(--color-border, #e4e6eb);
    border-radius: 20px;
    background: var(--color-surface, #ffffff);
    color: var(--color-text-muted, #65676b);
    font-size: 0.8125rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
    line-height: 1;
}

.tp-filter-chip:hover {
    background: var(--color-bg, #f0f2f5);
    border-color: var(--color-border-strong, #c8ccd4);
    color: var(--color-text, #1c1e21);
}

.tp-filter-chip:focus-visible {
    outline: 2px solid var(--color-primary-light, #2d6a9f);
    outline-offset: 2px;
}

.tp-filter-chip--active {
    background: var(--color-primary, #1a3a5c);
    border-color: var(--color-primary, #1a3a5c);
    color: #ffffff;
}

.tp-filter-chip--active:hover {
    background: var(--color-primary-dark, #0f2238);
    border-color: var(--color-primary-dark, #0f2238);
    color: #ffffff;
}

/* ── Result Count ────────────────────────────────────────────────────────── */

.tp-result-count {
    font-size: 0.8125rem;
    color: var(--color-text-subtle, #90949c);
}

/* ── Partner Grid ────────────────────────────────────────────────────────── */

.tp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 56px;
}

/* Mobile: 2 columns */
@media (max-width: 479px) {
    .tp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Large mobile / small tablet: 3 columns */
@media (min-width: 480px) and (max-width: 767px) {
    .tp-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet: 3 columns */
@media (min-width: 768px) and (max-width: 1023px) {
    .tp-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Laptop: 4 columns */
@media (min-width: 1024px) and (max-width: 1279px) {
    .tp-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop: 5 columns */
@media (min-width: 1280px) {
    .tp-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ── Partner Card ────────────────────────────────────────────────────────── */

.tp-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--color-surface, #ffffff);
    border: 1px solid var(--color-border, #e4e6eb);
    border-radius: 14px;
    padding: 28px 20px 20px;
    text-decoration: none;
    color: inherit;
    transition: transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 200ms ease,
                border-color 200ms ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    min-height: 208px;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tp-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.11), 0 2px 6px rgba(0, 0, 0, 0.07);
    border-color: var(--color-primary-light, #2d6a9f);
    text-decoration: none;
}

.tp-card:focus-visible {
    outline: 2px solid var(--color-primary-light, #2d6a9f);
    outline-offset: 3px;
    border-color: var(--color-primary-light, #2d6a9f);
}

/* ── Card Logo ───────────────────────────────────────────────────────────── */

.tp-card__logo {
    width: 100%;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.tp-card__logo img {
    max-width: min(140px, 85%);
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.65);
    transition: filter 220ms ease, transform 220ms ease;
    display: block;
}

.tp-card:hover .tp-card__logo img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.03);
}

/* Logo placeholder (no image) */
.tp-card__logo-placeholder {
    width: 96px;
    height: 54px;
    border-radius: 10px;
    background: var(--color-primary, #1a3a5c);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    flex-shrink: 0;
    letter-spacing: 0.05em;
    filter: grayscale(40%) opacity(0.7);
    transition: filter 220ms ease, transform 220ms ease;
}

.tp-card:hover .tp-card__logo-placeholder {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Per-category placeholder colors */
.tp-card__logo-placeholder[data-category="healthcare"]  { background: #1d4ed8; }
.tp-card__logo-placeholder[data-category="research"]    { background: #059669; }
.tp-card__logo-placeholder[data-category="government"]  { background: #b45309; }
.tp-card__logo-placeholder[data-category="support"]     { background: #be185d; }
.tp-card__logo-placeholder[data-category="technology"]  { background: #7c3aed; }
.tp-card__logo-placeholder[data-category="education"]   { background: #c2410c; }

/* ── Card Info ───────────────────────────────────────────────────────────── */

.tp-card__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    width: 100%;
    justify-content: flex-start;
}

.tp-card__name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text, #1c1e21);
    line-height: 1.35;
    margin: 0;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tp-card__category {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 4px);
    letter-spacing: 0.01em;
}

/* ── Card Action ─────────────────────────────────────────────────────────── */

.tp-card__action {
    margin-top: auto;
    padding-top: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.tp-card__action-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-primary-light, #2d6a9f);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 180ms ease, transform 180ms ease;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.tp-card__action-label svg {
    flex-shrink: 0;
    transition: transform 180ms ease;
}

.tp-card:hover .tp-card__action-label {
    opacity: 1;
    transform: translateY(0);
}

.tp-card:hover .tp-card__action-label svg {
    transform: translateX(2px);
}

/* Category colour coding — shared with profile page */
.tp-cat-chip--healthcare  { background: #dbeafe; color: #1d4ed8; }
.tp-cat-chip--research    { background: #d1fae5; color: #065f46; }
.tp-cat-chip--government  { background: #fef3c7; color: #92400e; }
.tp-cat-chip--support     { background: #fce7f3; color: #9d174d; }
.tp-cat-chip--technology  { background: #ede9fe; color: #5b21b6; }
.tp-cat-chip--education   { background: #ffedd5; color: #9a3412; }

/* ── Empty State ─────────────────────────────────────────────────────────── */

.tp-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-muted, #65676b);
}

.tp-empty__graphic {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
    opacity: 0.3;
    color: var(--color-primary, #1a3a5c);
}

.tp-empty p {
    margin: 0 0 16px;
    font-size: 0.9375rem;
}

.tp-empty__reset {
    background: none;
    border: 1.5px solid var(--color-border, #e4e6eb);
    border-radius: 8px;
    padding: 7px 18px;
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--color-text-muted, #65676b);
    cursor: pointer;
    transition: background 150ms ease, border-color 150ms ease;
}

.tp-empty__reset:hover {
    background: var(--color-bg, #f0f2f5);
    border-color: var(--color-border-strong, #c8ccd4);
    color: var(--color-text, #1c1e21);
}

/* ── Cards hidden by filter ──────────────────────────────────────────────── */
.tp-card[hidden],
.tp-grid .tp-card[hidden] {
    display: none !important;
}

/* ── Partnership CTA ─────────────────────────────────────────────────────── */

.tp-cta {
    margin-top: 16px;
    margin-bottom: 48px;
    background: linear-gradient(135deg, var(--color-primary, #1a3a5c) 0%, #0f2744 100%);
    border-radius: 18px;
    overflow: hidden;
}

.tp-cta__inner {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 40px 44px;
}

.tp-cta__icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 2px;
}

.tp-cta__content {
    flex: 1;
    min-width: 0;
}

.tp-cta__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px;
    line-height: 1.25;
}

.tp-cta__text {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
    margin: 0 0 24px;
    max-width: 600px;
}

.tp-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.tp-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 150ms ease, color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
    font-family: inherit;
    white-space: nowrap;
}

.tp-cta__btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.tp-cta__btn--primary {
    background: #ffffff;
    color: var(--color-primary, #1a3a5c);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.tp-cta__btn--primary:hover {
    background: #f0f4f8;
    color: var(--color-primary-dark, #0f2238);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tp-cta__btn--secondary {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.tp-cta__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.tp-cta__btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .tp-cta__inner {
        flex-direction: column;
        padding: 28px 24px;
        gap: 20px;
    }
    .tp-cta__icon {
        display: none;
    }
}

/* ── Disclaimer ──────────────────────────────────────────────────────────── */

.tp-disclaimer {
    padding-top: 24px;
    border-top: 1px solid var(--color-border, #e4e6eb);
    font-size: 0.8125rem;
    color: var(--color-text-subtle, #90949c);
    line-height: 1.6;
    margin: 0;
}

/* ── Single Partner Profile ──────────────────────────────────────────────── */

.tp-single {
    /* Namespace for single partner pages */
}

.tp-profile {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

/* ── Profile Header ──────────────────────────────────────────────────────── */

.tp-profile__header {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--color-border, #e4e6eb);
    flex-wrap: wrap;
}

.tp-profile__logo-wrap {
    flex-shrink: 0;
    width: 132px;
    height: 88px;
    background: var(--color-surface, #ffffff);
    border: 1px solid var(--color-border, #e4e6eb);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.tp-profile__logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.tp-profile__logo-placeholder {
    width: 104px;
    height: 60px;
    border-radius: 12px;
    background: var(--color-primary, #1a3a5c);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tp-profile__meta {
    flex: 1;
    min-width: 200px;
}

.tp-profile__name {
    font-size: clamp(1.375rem, 2.5vw, 1.875rem);
    font-weight: 800;
    color: var(--color-primary, #1a3a5c);
    margin: 0 0 12px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.tp-profile__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    align-items: center;
}

.tp-profile__cat-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.tp-profile__trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    background: var(--color-success-bg, #f0fdf4);
    color: var(--color-success, #16a34a);
    border: 1px solid #bbf7d0;
}

.tp-profile__trust-badge svg {
    flex-shrink: 0;
}

.tp-profile__website-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary-light, #2d6a9f);
    font-size: 0.9375rem;
    text-decoration: none;
    font-weight: 500;
}

.tp-profile__website-link:hover {
    text-decoration: underline;
}

.tp-profile__website-link svg {
    flex-shrink: 0;
    opacity: .7;
}

/* ── Profile Body (main + sidebar grid) ─────────────────────────────────── */

.tp-profile__body {
    display: grid;
    grid-template-columns: 1fr 288px;
    gap: 36px;
    align-items: start;
}

@media (max-width: 767px) {
    .tp-profile__header { flex-direction: column; }
    .tp-profile__body   { grid-template-columns: 1fr; }
}

/* ── Profile Content ─────────────────────────────────────────────────────── */

.tp-profile__content {
    min-width: 0;
}

.tp-profile__description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-text, #1c1e21);
}

.tp-profile__description p {
    margin: 0 0 18px;
}

.tp-profile__description p:last-child {
    margin-bottom: 0;
}

/* ── Profile Sidebar ─────────────────────────────────────────────────────── */

.tp-profile__sidebar-card {
    background: var(--color-surface, #ffffff);
    border: 1px solid var(--color-border, #e4e6eb);
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.tp-profile__sidebar-card h2 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--color-text-muted, #65676b);
    margin: 0 0 16px;
}

.tp-profile__detail-row {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 14px;
}

.tp-profile__detail-row:last-child {
    margin-bottom: 0;
}

.tp-profile__detail-label {
    font-size: 0.6875rem;
    color: var(--color-text-subtle, #90949c);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tp-profile__detail-value {
    font-size: 0.875rem;
    color: var(--color-text, #1c1e21);
    font-weight: 500;
}

/* ── Visit Website CTA (profile page) ───────────────────────────────────── */

.tp-profile__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    background: var(--color-primary, #1a3a5c);
    color: #ffffff;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
    box-sizing: border-box;
    margin-bottom: 0;
}

.tp-profile__cta:hover {
    background: var(--color-primary-dark, #0f2238);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 58, 92, 0.3);
}

.tp-profile__cta:focus-visible {
    outline: 2px solid var(--color-primary-light, #2d6a9f);
    outline-offset: 3px;
}

.tp-profile__back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--color-text-muted, #65676b);
    text-decoration: none;
    margin-top: 4px;
}

.tp-profile__back-link:hover {
    color: var(--color-primary, #1a3a5c);
    text-decoration: underline;
}

/* ── Inline Trusted Partner Badge ────────────────────────────────────────── */

.anccer-tp-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-success, #16a34a);
    background: var(--color-success-bg, #f0fdf4);
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 2px 8px 2px 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 150ms ease;
    vertical-align: middle;
    line-height: 1.4;
}

a.anccer-tp-badge:hover {
    background: #dcfce7;
    text-decoration: none;
}

.anccer-tp-badge svg {
    flex-shrink: 0;
    color: var(--color-success, #16a34a);
}

/* ── Logo Manager Admin Notice ───────────────────────────────────────────── */

.anccer-tp-logo-manager {
    background: #fff;
    border: 1px solid #e4e6eb;
    border-radius: 8px;
    padding: 0;
    margin: 20px 0;
    overflow: hidden;
}

.anccer-tp-logo-manager__header {
    background: linear-gradient(135deg, #1a3a5c, #0f2744);
    padding: 18px 24px;
    color: #fff;
}

.anccer-tp-logo-manager__header h2 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: #fff;
}

.anccer-tp-logo-manager__header p {
    font-size: 0.875rem;
    opacity: .8;
    margin: 0;
    color: #fff;
}

.anccer-tp-logo-manager__body {
    padding: 0;
}

.anccer-tp-logo-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.anccer-tp-logo-table th {
    background: #f8fafc;
    border-bottom: 1px solid #e4e6eb;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
}

.anccer-tp-logo-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #f0f2f5;
    vertical-align: middle;
}

.anccer-tp-logo-table tr:last-child td {
    border-bottom: none;
}

.anccer-tp-logo-table tr:hover td {
    background: #fafbfc;
}

.anccer-tp-logo-status--uploaded {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #16a34a;
    font-weight: 600;
    font-size: 12px;
}

.anccer-tp-logo-status--missing {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #dc2626;
    font-weight: 600;
    font-size: 12px;
}

.anccer-tp-logo-thumb {
    max-width: 60px;
    max-height: 36px;
    object-fit: contain;
    display: block;
}

/* ── Responsive adjustments ──────────────────────────────────────────────── */

@media (max-width: 599px) {
    .tp-page { padding: 24px 16px 56px; }
    .tp-intro { padding: 20px; }
    .tp-intro__stats { gap: 16px; }
    .tp-stat__value { font-size: 1.375rem; }
    .tp-filters { gap: 6px; }
    .tp-filter-chip { padding: 5px 12px; font-size: 0.75rem; }
}
