.probpr-site {
    --site-primary: #1647ff;
    --site-accent: #18b6a3;
    --site-button: #1647ff;
    --site-bg: #f4f7fb;
    --site-surface: #ffffff;
    --site-text: #07111f;
    --site-muted: #667085;
    --site-border: #e4eaf2;
    --site-soft: #eef5ff;
    --site-radius: 24px;
    --site-shadow: 0 22px 55px rgba(15, 23, 42, 0.09);
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--site-primary) 14%, transparent), transparent 34rem),
        linear-gradient(180deg, #ffffff 0%, var(--site-bg) 42%, #ffffff 100%);
    color: var(--site-text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

.probpr-site *,
.probpr-site *::before,
.probpr-site *::after {
    box-sizing: border-box;
}

.probpr-site a {
    color: inherit;
}

.probpr-site-container {
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto;
}

.probpr-site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.75);
}

.probpr-site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 82px;
}

.probpr-site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--site-text);
    text-decoration: none;
}

.probpr-site-brand img,
.probpr-site-brand-mark {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 16px;
}

.probpr-site-brand img {
    object-fit: contain;
    background: #ffffff;
    border: 1px solid var(--site-border);
}

.probpr-site-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--site-primary);
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
    box-shadow: 0 14px 30px color-mix(in srgb, var(--site-primary) 28%, transparent);
}

.probpr-site-brand-text {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.probpr-site-brand-text strong {
    max-width: 420px;
    overflow: hidden;
    color: var(--site-text);
    font-size: 16px;
    line-height: 1.18;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.probpr-site-brand-text small {
    color: var(--site-muted);
    font-size: 12px;
    font-weight: 650;
}

.probpr-site-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border: 1px solid var(--site-border);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.probpr-site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 13px;
    border-radius: 999px;
    color: var(--site-muted);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.probpr-site-nav a:hover,
.probpr-site-nav a.is-active {
    background: var(--site-soft);
    color: var(--site-primary);
}

.probpr-site-main {
    min-height: 62vh;
}

.probpr-site-hero {
    padding: 70px 0 32px;
}

.probpr-site-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 26px;
    align-items: stretch;
}

.probpr-site-eyebrow {
    display: inline-flex;
    align-items: center;
    color: var(--site-primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.probpr-site-hero-copy h1,
.probpr-site-page-head h1,
.probpr-site-event-hero h1 {
    margin: 12px 0 0;
    color: var(--site-text);
    font-size: clamp(34px, 5vw, 62px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 900;
}

.probpr-site-hero-copy p,
.probpr-site-page-head p {
    max-width: 680px;
    margin: 18px 0 0;
    color: var(--site-muted);
    font-size: 18px;
    line-height: 1.6;
}

.probpr-site-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.probpr-site-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 18px;
    border: 1px solid var(--site-button);
    border-radius: 999px;
    background: var(--site-button);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 16px 34px color-mix(in srgb, var(--site-button) 22%, transparent);
}

.probpr-site-button:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.probpr-site-button-light {
    border-color: var(--site-border);
    background: #ffffff;
    color: var(--site-primary) !important;
    box-shadow: none;
}

.probpr-site-hero-card {
    display: flex;
    min-height: 280px;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px;
    border: 1px solid var(--site-border);
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--site-accent) 26%, transparent), transparent 17rem),
        linear-gradient(160deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: var(--site-shadow);
}

.probpr-site-hero-card span {
    color: var(--site-muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.probpr-site-hero-card strong {
    display: block;
    margin-top: 8px;
    color: var(--site-text);
    font-size: 25px;
    line-height: 1.12;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.probpr-site-hero-card small {
    margin-top: 14px;
    color: var(--site-primary);
    font-size: 14px;
    font-weight: 850;
}

.probpr-site-section {
    padding: 34px 0;
}

.probpr-site-section-soft {
    background: rgba(255, 255, 255, 0.55);
}

.probpr-site-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.probpr-site-stat {
    padding: 22px;
    border: 1px solid var(--site-border);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.probpr-site-stat span,
.probpr-site-page-count span,
.probpr-site-detail-card span,
.probpr-site-register-card span {
    display: block;
    color: var(--site-muted);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.probpr-site-stat strong {
    display: block;
    margin-top: 8px;
    color: var(--site-text);
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
}

.probpr-site-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.probpr-site-section-head h2 {
    margin: 7px 0 0;
    color: var(--site-text);
    font-size: 34px;
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.probpr-site-section-head > a {
    color: var(--site-primary);
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
}

.probpr-site-section-head > a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.probpr-site-event-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.probpr-site-event-card {
    display: flex;
    min-height: 270px;
    flex-direction: column;
    padding: 20px;
    border: 1px solid var(--site-border);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.055);
}

.probpr-site-event-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.probpr-site-event-card-top span {
    color: var(--site-primary);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 900;
}

.probpr-site-event-card-top small {
    flex: 0 0 auto;
    color: var(--site-muted);
    font-size: 12px;
    font-weight: 800;
}

.probpr-site-event-card h3 {
    margin: 0;
    color: var(--site-text);
    font-size: 19px;
    line-height: 1.22;
    letter-spacing: -0.02em;
    font-weight: 900;
}

.probpr-site-event-card h3 a {
    text-decoration: none;
}

.probpr-site-event-card h3 a:hover {
    color: var(--site-primary);
}

.probpr-site-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.probpr-site-event-meta span,
.probpr-site-specialties span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--site-soft);
    color: var(--site-primary);
    font-size: 12px;
    font-weight: 850;
}

.probpr-site-event-topic {
    margin-top: 12px;
    color: var(--site-muted);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 650;
}

.probpr-site-card-link {
    margin-top: auto;
    padding-top: 18px;
    color: var(--site-primary);
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.probpr-site-card-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.probpr-site-empty {
    padding: 28px;
    border: 1px dashed var(--site-border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.75);
    color: var(--site-muted);
    font-size: 15px;
    line-height: 1.5;
    font-weight: 700;
}

.probpr-site-page-head {
    padding: 54px 0 24px;
}

.probpr-site-page-head-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.probpr-site-page-head h1,
.probpr-site-event-hero h1 {
    font-size: clamp(34px, 4.4vw, 54px);
}

.probpr-site-page-count {
    min-width: 150px;
    padding: 18px;
    border: 1px solid var(--site-border);
    border-radius: 24px;
    background: #ffffff;
    text-align: right;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.probpr-site-page-count strong {
    display: block;
    margin-top: 6px;
    color: var(--site-text);
    font-size: 32px;
    line-height: 1;
    font-weight: 900;
}

.probpr-site-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    margin-bottom: 18px;
    padding: 10px;
    border: 1px solid var(--site-border);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.probpr-site-search input {
    width: 100%;
    min-height: 44px;
    padding: 9px 12px;
    border: 0;
    border-radius: 14px;
    background: #f8fafc;
    color: var(--site-text);
    font: inherit;
    outline: none;
}

.probpr-site-search button,
.probpr-site-search a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 16px;
    border: 0;
    border-radius: 14px;
    background: var(--site-button);
    color: #ffffff;
    font: inherit;
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
}

.probpr-site-search a {
    border: 1px solid var(--site-border);
    background: #ffffff;
    color: var(--site-muted);
}

.probpr-site-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 26px;
}

.probpr-site-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--site-border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--site-muted);
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

.probpr-site-pagination a.is-active,
.probpr-site-pagination a:hover {
    border-color: var(--site-primary);
    background: var(--site-primary);
    color: #ffffff;
}

.probpr-site-event-hero {
    padding: 54px 0 34px;
}

.probpr-site-event-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
    align-items: start;
}

.probpr-site-back {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--site-muted);
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
}

.probpr-site-back:hover {
    color: var(--site-primary);
}

.probpr-site-event-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.probpr-site-event-hero-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 11px;
    border: 1px solid var(--site-border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--site-muted);
    font-size: 13px;
    font-weight: 850;
}

.probpr-site-register-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    border: 1px solid var(--site-border);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--site-shadow);
}

.probpr-site-register-card strong {
    color: var(--site-text);
    font-size: 32px;
    line-height: 1;
    font-weight: 900;
}

.probpr-site-register-card small {
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 650;
}

.probpr-site-muted-box {
    padding: 12px;
    border-radius: 16px;
    background: #f8fafc;
    color: var(--site-muted);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
}

.probpr-site-event-details {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.probpr-site-detail-card {
    padding: 18px;
    border: 1px solid var(--site-border);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.probpr-site-detail-card strong {
    display: block;
    margin-top: 8px;
    color: var(--site-text);
    font-size: 17px;
    line-height: 1.25;
    font-weight: 900;
}

.probpr-site-detail-card-wide {
    grid-column: span 2;
}

.probpr-site-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.probpr-site-footer {
    margin-top: 30px;
    padding: 34px 0;
    border-top: 1px solid var(--site-border);
    background: #ffffff;
}

.probpr-site-footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    align-items: flex-start;
}

.probpr-site-footer strong {
    color: var(--site-text);
    font-size: 16px;
    font-weight: 900;
}

.probpr-site-footer p {
    max-width: 600px;
    margin: 8px 0 0;
    color: var(--site-muted);
    font-size: 13px;
    line-height: 1.5;
}

.probpr-site-footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

.probpr-site-footer-contacts a {
    color: var(--site-primary);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.probpr-site-footer-contacts a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.probpr-site-template-error {
    max-width: 720px;
    margin: 40px auto;
    padding: 18px;
    border-radius: 16px;
    background: #fff1f2;
    color: #9f1239;
    font-weight: 800;
}

@media (max-width: 980px) {
    .probpr-site-header-inner,
    .probpr-site-footer-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .probpr-site-nav {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
    }

    .probpr-site-brand-text strong {
        max-width: 100%;
        white-space: normal;
    }

    .probpr-site-hero-grid,
    .probpr-site-event-hero-grid {
        grid-template-columns: 1fr;
    }

    .probpr-site-event-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .probpr-site-event-details,
    .probpr-site-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .probpr-site-footer-contacts {
        align-items: flex-start;
    }
}

@media (max-width: 680px) {
    .probpr-site-container {
        width: min(100% - 24px, 1160px);
    }

    .probpr-site-header-inner {
        min-height: 74px;
        padding: 12px 0;
    }

    .probpr-site-hero,
    .probpr-site-page-head,
    .probpr-site-event-hero {
        padding-top: 34px;
    }

    .probpr-site-hero-copy h1,
    .probpr-site-page-head h1,
    .probpr-site-event-hero h1 {
        font-size: 36px;
    }

    .probpr-site-hero-copy p,
    .probpr-site-page-head p {
        font-size: 16px;
    }

    .probpr-site-event-grid,
    .probpr-site-event-details,
    .probpr-site-stats {
        grid-template-columns: 1fr;
    }

    .probpr-site-detail-card-wide {
        grid-column: auto;
    }

    .probpr-site-page-head-inner,
    .probpr-site-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .probpr-site-page-count {
        width: 100%;
        text-align: left;
    }

    .probpr-site-search {
        grid-template-columns: 1fr;
    }
}


/* Афіші заходів */
.probpr-site-event-card {
    overflow: hidden;
}

.probpr-site-event-card-poster {
    display: block;
    aspect-ratio: 4 / 5;
    background: #eef2ff;
}

.probpr-site-event-card-poster img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.probpr-site-event-card-body {
    padding: 22px;
}

.probpr-site-register-stack {
    display: grid;
    gap: 18px;
}

.probpr-site-event-poster-card {
    border-radius: 24px;
    overflow: hidden;
    background: #eef2ff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.probpr-site-event-poster-card img {
    width: 100%;
    display: block;
    object-fit: cover;
}


/* Афіші 1:1 — компактний квадратний формат */
.probpr-site-event-card-poster {
    aspect-ratio: 1 / 1;
    max-height: 220px;
}

.probpr-site-event-card-poster img {
    object-fit: cover;
}

.probpr-site-event-poster-card {
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
}

.probpr-site-event-poster-card img {
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
}

@media (max-width: 960px) {
    .probpr-site-event-poster-card {
        max-width: 220px;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 640px) {
    .probpr-site-event-card-poster {
        max-height: 190px;
    }

    .probpr-site-event-poster-card {
        max-width: 190px;
    }
}


/* Компактні картки заходів з афішею */
.probpr-site-event-grid {
    gap: 14px;
}

.probpr-site-event-card {
    min-height: 0;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
    padding: 14px;
    border-radius: 22px;
}

.probpr-site-event-card.no-poster {
    grid-template-columns: 1fr;
}

.probpr-site-event-card-poster {
    width: 96px;
    height: 96px;
    max-height: none;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid var(--site-border);
    overflow: hidden;
    align-self: start;
}

.probpr-site-event-card-poster img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.probpr-site-event-card-body {
    min-width: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.probpr-site-event-card-top {
    gap: 8px;
    margin-bottom: 8px;
}

.probpr-site-event-card-top span,
.probpr-site-event-card-top small {
    font-size: 11px;
}

.probpr-site-event-card h3 {
    font-size: 16px;
    line-height: 1.25;
}

.probpr-site-event-meta {
    gap: 6px;
    margin-top: 10px;
}

.probpr-site-event-meta span {
    min-height: 24px;
    padding: 4px 8px;
    font-size: 11px;
}

.probpr-site-event-topic {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.35;
}

.probpr-site-card-link {
    padding-top: 10px;
    font-size: 13px;
}

/* На сторінці конкретного заходу афішу не показуємо */
.probpr-site-event-poster-card,
.probpr-site-register-stack {
    display: none;
}

@media (max-width: 980px) {
    .probpr-site-event-card {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .probpr-site-event-card-poster {
        width: 88px;
        height: 88px;
    }
}

@media (max-width: 680px) {
    .probpr-site-event-card {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
        border-radius: 20px;
    }

    .probpr-site-event-card-poster {
        width: 82px;
        height: 82px;
        border-radius: 14px;
    }

    .probpr-site-event-card h3 {
        font-size: 15px;
    }
}


/* ВАРІАНТ 2: акуратна компактна картка заходу */
.probpr-site-event-grid {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 14px;
}

.probpr-site-event-card {
    position: relative;
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
}

.probpr-site-event-card.no-poster {
    grid-template-columns: minmax(0, 1fr);
}

.probpr-site-event-card-poster {
    width: 118px;
    height: 118px;
    max-height: none;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: #ffffff;
    overflow: hidden;
    align-self: start;
    display: flex;
    align-items: center;
    justify-content: center;
}

.probpr-site-event-card-poster img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.probpr-site-event-card-body {
    min-width: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.probpr-site-event-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 7px;
}

.probpr-site-event-card-top span {
    max-width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--site-primary);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 900;
}

.probpr-site-event-card-top small {
    flex: 0 0 auto;
    color: #64748b;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 850;
}

.probpr-site-event-card h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.25;
    letter-spacing: -0.015em;
    font-weight: 900;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.probpr-site-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 9px;
}

.probpr-site-event-meta span {
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f1f5ff;
    color: var(--site-primary);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 850;
}

.probpr-site-event-topic {
    margin-top: 7px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 650;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.probpr-site-card-link {
    align-self: flex-start;
    margin-top: 10px;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--site-primary);
    color: #ffffff !important;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    text-decoration: none;
}

.probpr-site-card-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(22, 71, 255, 0.18);
}

@media (max-width: 760px) {
    .probpr-site-event-grid {
        grid-template-columns: 1fr;
    }

    .probpr-site-event-card {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
        border-radius: 20px;
    }

    .probpr-site-event-card-poster {
        width: 100px;
        height: 100px;
        border-radius: 16px;
    }

    .probpr-site-event-card h3 {
        font-size: 15px;
        -webkit-line-clamp: 3;
    }

    .probpr-site-event-meta span {
        font-size: 10.5px;
    }
}

@media (max-width: 460px) {
    .probpr-site-event-card {
        grid-template-columns: 86px minmax(0, 1fr);
    }

    .probpr-site-event-card-poster {
        width: 86px;
        height: 86px;
    }

    .probpr-site-event-card-top small {
        display: none;
    }

    .probpr-site-event-card h3 {
        font-size: 14px;
    }
}


/* Згортання великого списку спеціальностей на сторінці заходу */
.probpr-site-section-count {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--site-muted);
    font-size: 13px;
    font-weight: 800;
    border: 1px solid var(--site-border);
}

.probpr-site-specialties-box {
    position: relative;
}

.probpr-site-specialties-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.probpr-site-specialties-box.is-collapsible .probpr-site-specialties {
    max-height: 190px;
    overflow: hidden;
    position: relative;
}

.probpr-site-specialties-box.is-collapsible .probpr-site-specialties::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 58px;
    background: linear-gradient(to bottom, rgba(248, 250, 252, 0), #f8fafc 78%);
    pointer-events: none;
}

.probpr-site-specialties-box.is-collapsible .probpr-site-specialties-toggle:checked ~ .probpr-site-specialties {
    max-height: none;
    overflow: visible;
}

.probpr-site-specialties-box.is-collapsible .probpr-site-specialties-toggle:checked ~ .probpr-site-specialties::after {
    display: none;
}

.probpr-site-specialties-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin-top: 16px;
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--site-primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 10px 22px rgba(22, 71, 255, 0.16);
}

.probpr-site-specialties-more:hover {
    transform: translateY(-1px);
}

.probpr-site-specialties-more-close {
    display: none;
}

.probpr-site-specialties-toggle:checked ~ .probpr-site-specialties-more .probpr-site-specialties-more-open {
    display: none;
}

.probpr-site-specialties-toggle:checked ~ .probpr-site-specialties-more .probpr-site-specialties-more-close {
    display: inline;
}

@media (max-width: 680px) {
    .probpr-site-specialties-box.is-collapsible .probpr-site-specialties {
        max-height: 220px;
    }

    .probpr-site-section-count {
        font-size: 12px;
    }
}


/* Документи МОЗ та компактна програма на сторінці заходу */
.probpr-site-documents-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 22px;
    border-radius: 26px;
    border: 1px solid var(--site-border);
    background: #ffffff;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.055);
}

.probpr-site-documents-card h2 {
    margin: 4px 0 6px;
    color: var(--site-text);
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-weight: 950;
}

.probpr-site-documents-card p {
    margin: 0;
    color: var(--site-muted);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 650;
}

.probpr-site-document-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.probpr-site-document-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--site-primary);
    color: #ffffff !important;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(22, 71, 255, 0.16);
}

.probpr-site-document-button-light {
    background: var(--site-soft);
    color: var(--site-primary) !important;
    box-shadow: none;
}

.probpr-site-document-button:hover {
    transform: translateY(-1px);
}

.probpr-site-program-box {
    position: relative;
}

.probpr-site-program-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.probpr-site-program-timeline {
    display: grid;
    gap: 12px;
}

.probpr-site-program-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid var(--site-border);
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.045);
}

.probpr-site-program-time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    align-self: flex-start;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--site-soft);
    color: var(--site-primary);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.probpr-site-program-content h3 {
    margin: 0;
    color: var(--site-text);
    font-size: 17px;
    line-height: 1.28;
    letter-spacing: -0.015em;
    font-weight: 900;
}

.probpr-site-program-content p {
    margin: 7px 0 0;
    color: var(--site-muted);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 620;
}

.probpr-site-program-lecturer {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 9px;
    color: var(--site-muted);
    font-size: 13px;
    line-height: 1.35;
}

.probpr-site-program-lecturer strong {
    color: var(--site-text);
    font-weight: 850;
}

.probpr-site-program-box.is-collapsible .probpr-site-program-timeline {
    max-height: 430px;
    overflow: hidden;
    position: relative;
}

.probpr-site-program-box.is-collapsible .probpr-site-program-timeline::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 74px;
    background: linear-gradient(to bottom, rgba(248, 250, 252, 0), #f8fafc 78%);
    pointer-events: none;
}

.probpr-site-program-box.is-collapsible .probpr-site-program-toggle:checked ~ .probpr-site-program-timeline {
    max-height: none;
    overflow: visible;
}

.probpr-site-program-box.is-collapsible .probpr-site-program-toggle:checked ~ .probpr-site-program-timeline::after {
    display: none;
}

.probpr-site-program-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin-top: 16px;
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--site-primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 10px 22px rgba(22, 71, 255, 0.16);
}

.probpr-site-program-more:hover {
    transform: translateY(-1px);
}

.probpr-site-program-more-close {
    display: none;
}

.probpr-site-program-toggle:checked ~ .probpr-site-program-more .probpr-site-program-more-open {
    display: none;
}

.probpr-site-program-toggle:checked ~ .probpr-site-program-more .probpr-site-program-more-close {
    display: inline;
}

@media (max-width: 760px) {
    .probpr-site-documents-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .probpr-site-document-actions {
        justify-content: flex-start;
    }

    .probpr-site-program-item {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .probpr-site-program-time {
        justify-content: flex-start;
        width: fit-content;
    }
}


/* Фото лектора у програмі заходу */
.probpr-site-program-lecturer {
    align-items: center;
    gap: 10px;
}

.probpr-site-program-lecturer-photo {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
    background: #eef2ff;
}

.probpr-site-program-lecturer-info {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.probpr-site-program-lecturer-info strong {
    color: var(--site-text);
    font-weight: 850;
}

.probpr-site-program-lecturer-info span {
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.35;
}

@media (max-width: 760px) {
    .probpr-site-program-lecturer-photo {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }
}


/* Сторінка "Про провайдера" */
.probpr-site-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 22px;
    align-items: start;
}

.probpr-site-about-card,
.probpr-site-docs-card {
    border: 1px solid var(--site-border);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.06);
    padding: 26px;
}

.probpr-site-about-content {
    color: var(--site-text);
    font-size: 16px;
    line-height: 1.72;
}

.probpr-site-about-content p {
    margin: 0 0 14px;
}

.probpr-site-about-content p:last-child {
    margin-bottom: 0;
}

.probpr-site-about-actions {
    margin-top: 22px;
}

.probpr-site-docs-card h2 {
    margin: 8px 0 10px;
    color: var(--site-text);
    font-size: 24px;
    line-height: 1.15;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.probpr-site-docs-card p {
    margin: 0 0 18px;
    color: var(--site-muted);
    font-size: 14px;
    line-height: 1.55;
}

.probpr-site-doc-links {
    display: grid;
    gap: 10px;
}

.probpr-site-doc-links a {
    display: grid;
    gap: 3px;
    padding: 13px 14px;
    border: 1px solid var(--site-border);
    border-radius: 16px;
    background: var(--site-soft);
    color: var(--site-text);
    text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.probpr-site-doc-links a:hover {
    transform: translateY(-1px);
    border-color: rgba(22, 71, 255, 0.28);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.probpr-site-doc-links span {
    font-size: 14px;
    line-height: 1.25;
    font-weight: 850;
}

.probpr-site-doc-links small {
    color: var(--site-primary);
    font-size: 12px;
    font-weight: 850;
}

@media (max-width: 960px) {
    .probpr-site-about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .probpr-site-about-card,
    .probpr-site-docs-card {
        padding: 20px;
        border-radius: 24px;
    }
}


/* Мінісайт: фільтри каталогу та блок курсів */
.probpr-site-filters {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
    padding: 12px;
    border: 1px solid var(--site-border);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.probpr-site-filter-main {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(220px, 0.75fr) auto;
    gap: 10px;
    align-items: end;
}

.probpr-site-filter-main label {
    display: grid;
    gap: 6px;
}

.probpr-site-filter-main label > span {
    color: var(--site-muted);
    font-size: 12px;
    font-weight: 850;
}

.probpr-site-filter-main input,
.probpr-site-filter-main select,
.probpr-site-specialty-search {
    width: 100%;
    min-height: 44px;
    padding: 9px 12px;
    border: 0;
    border-radius: 14px;
    background: #f8fafc;
    color: var(--site-text);
    font: inherit;
    outline: none;
}

.probpr-site-filter-actions {
    display: flex;
    gap: 8px;
}

.probpr-site-filter-actions button,
.probpr-site-filter-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 15px;
    border: 0;
    border-radius: 14px;
    background: var(--site-button);
    color: #ffffff;
    font: inherit;
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
}

.probpr-site-filter-actions a {
    border: 1px solid var(--site-border);
    background: #ffffff;
    color: var(--site-muted);
}

.probpr-site-specialty-filter {
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    background: #f8fafc;
    overflow: hidden;
}

.probpr-site-specialty-filter summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 46px;
    padding: 10px 14px;
    cursor: pointer;
    list-style: none;
}

.probpr-site-specialty-filter summary::-webkit-details-marker {
    display: none;
}

.probpr-site-specialty-filter summary span {
    color: var(--site-text);
    font-size: 14px;
    font-weight: 900;
}

.probpr-site-specialty-filter summary strong {
    color: var(--site-primary);
    font-size: 13px;
    font-weight: 900;
}

.probpr-site-specialty-filter-panel {
    display: grid;
    gap: 10px;
    padding: 0 14px 14px;
}

.probpr-site-specialty-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 8px;
    max-height: 230px;
    overflow: auto;
    padding: 2px;
}

.probpr-site-specialty-list label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-height: 38px;
    padding: 9px 10px;
    border-radius: 13px;
    background: #ffffff;
    color: var(--site-text);
    font-size: 13px;
    line-height: 1.25;
    font-weight: 700;
    cursor: pointer;
}

.probpr-site-specialty-list input {
    margin-top: 2px;
    accent-color: var(--site-primary);
}

.probpr-site-specialty-filter-panel small {
    color: var(--site-muted);
    font-size: 12px;
}

@media (max-width: 760px) {
    .probpr-site-filter-main {
        grid-template-columns: 1fr;
    }

    .probpr-site-filter-actions {
        flex-wrap: wrap;
    }

    .probpr-site-filter-actions button,
    .probpr-site-filter-actions a {
        flex: 1 1 140px;
    }

    .probpr-site-specialty-list {
        grid-template-columns: 1fr;
        max-height: 260px;
    }
}


/* Виправлення фільтра спеціальностей: пошук + видимі обрані */
.probpr-site-specialty-filter summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
}

.probpr-site-specialty-filter summary > span {
    grid-column: 1;
}

.probpr-site-specialty-filter summary > strong {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
}

.probpr-site-specialty-filter summary > small {
    grid-column: 1;
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.probpr-site-specialty-list label[style*="display: none"] {
    display: none !important;
}

.probpr-site-specialty-no-results {
    padding: 10px 12px;
    border-radius: 14px;
    background: #ffffff;
    color: var(--site-muted);
    font-size: 13px;
    font-weight: 750;
}

@media (max-width: 520px) {
    .probpr-site-specialty-filter summary {
        grid-template-columns: 1fr;
    }

    .probpr-site-specialty-filter summary > strong {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
    }
}


/* Мінісайт: вхід, реєстрація, кабінет слухача */
.probpr-site-header-inner {
    gap: 14px;
}

.probpr-site-auth-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.probpr-site-auth-link,
.probpr-site-auth-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--site-text);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.probpr-site-auth-link.is-active {
    color: var(--site-primary);
    background: var(--site-soft);
}

.probpr-site-auth-button {
    background: var(--site-button);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(22, 71, 255, 0.14);
}

.probpr-site-auth-button.is-light {
    background: #ffffff;
    color: var(--site-muted);
    border: 1px solid var(--site-border);
    box-shadow: none;
}

.probpr-site-auth-section {
    padding: 56px 0 72px;
}

.probpr-site-auth-wrap {
    display: flex;
    justify-content: center;
}

.probpr-site-auth-card {
    width: min(100%, 560px);
    padding: 30px;
    border: 1px solid var(--site-border);
    border-radius: 30px;
    background: #ffffff;
    box-shadow: var(--site-shadow);
}

.probpr-site-auth-card h1 {
    margin: 8px 0 10px;
    color: var(--site-text);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.probpr-site-auth-card p {
    margin: 0 0 20px;
    color: var(--site-muted);
    font-size: 15px;
    line-height: 1.6;
}

.probpr-site-auth-form {
    display: grid;
    gap: 13px;
}

.probpr-site-auth-form label {
    display: grid;
    gap: 7px;
}

.probpr-site-auth-form label > span {
    color: var(--site-muted);
    font-size: 13px;
    font-weight: 850;
}

.probpr-site-auth-form input[type="text"],
.probpr-site-auth-form input[type="email"],
.probpr-site-auth-form input[type="tel"],
.probpr-site-auth-form input[type="password"] {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid var(--site-border);
    border-radius: 16px;
    background: #f8fafc;
    color: var(--site-text);
    font: inherit;
    outline: none;
}

.probpr-site-auth-form input:focus {
    border-color: color-mix(in srgb, var(--site-primary) 45%, var(--site-border));
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--site-primary) 11%, transparent);
}

.probpr-site-auth-check {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: flex-start;
    gap: 9px !important;
    color: var(--site-muted);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
}

.probpr-site-auth-check input {
    margin-top: 2px;
    accent-color: var(--site-primary);
}

.probpr-site-auth-form button {
    min-height: 48px;
    border: 0;
    border-radius: 16px;
    background: var(--site-button);
    color: #ffffff;
    font: inherit;
    font-size: 15px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(22, 71, 255, 0.16);
}

.probpr-site-auth-footer,
.probpr-site-auth-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    color: var(--site-muted);
    font-size: 14px;
    font-weight: 750;
}

.probpr-site-auth-footer a {
    color: var(--site-primary);
    font-weight: 900;
    text-decoration: none;
}

.probpr-site-auth-messages {
    display: grid;
    gap: 8px;
    margin: 16px 0;
}

.probpr-site-auth-message {
    padding: 11px 13px;
    border-radius: 14px;
    background: #f8fafc;
    color: var(--site-text);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 800;
    border: 1px solid var(--site-border);
}

.probpr-site-auth-message.is-danger {
    background: #fff1f2;
    color: #9f1239;
    border-color: #fecdd3;
}

.probpr-site-auth-message.is-success {
    background: #ecfdf5;
    color: #047857;
    border-color: #bbf7d0;
}

.probpr-site-account-box {
    display: grid;
    gap: 5px;
    margin: 16px 0 20px;
    padding: 16px;
    border-radius: 20px;
    background: var(--site-soft);
    border: 1px solid var(--site-border);
}

.probpr-site-account-box span {
    color: var(--site-muted);
    font-size: 12px;
    font-weight: 850;
}

.probpr-site-account-box strong {
    color: var(--site-text);
    font-size: 20px;
    line-height: 1.2;
    font-weight: 950;
}

.probpr-site-account-box small {
    color: var(--site-muted);
    font-size: 13px;
    font-weight: 750;
}

@media (max-width: 1060px) {
    .probpr-site-header-inner {
        flex-wrap: wrap;
    }

    .probpr-site-auth-nav {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    .probpr-site-auth-card {
        padding: 22px;
        border-radius: 24px;
    }

    .probpr-site-auth-nav {
        gap: 6px;
    }

    .probpr-site-auth-link,
    .probpr-site-auth-button {
        min-height: 36px;
        padding: 7px 10px;
        font-size: 12px;
    }
}


/* Реєстрація: обов'язкові дані для сертифіката */
.probpr-site-auth-card-wide {
    width: min(100%, 860px);
}

.probpr-site-auth-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.probpr-site-auth-field-wide {
    grid-column: 1 / -1;
}

.probpr-site-auth-form select,
.probpr-site-auth-form input[type="date"] {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid var(--site-border);
    border-radius: 16px;
    background: #f8fafc;
    color: var(--site-text);
    font: inherit;
    outline: none;
}

.probpr-site-register-specialties {
    margin-top: 4px;
}

.probpr-site-certificate-profile {
    margin: 18px 0 20px;
    padding: 18px;
    border: 1px solid var(--site-border);
    border-radius: 22px;
    background: #f8fafc;
}

.probpr-site-certificate-profile h2 {
    margin: 0 0 14px;
    color: var(--site-text);
    font-size: 20px;
    line-height: 1.2;
    font-weight: 950;
}

.probpr-site-certificate-profile dl {
    display: grid;
    gap: 9px;
    margin: 0;
}

.probpr-site-certificate-profile dl > div {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.probpr-site-certificate-profile dl > div:last-child {
    border-bottom: 0;
}

.probpr-site-certificate-profile dt {
    color: var(--site-muted);
    font-size: 13px;
    font-weight: 850;
}

.probpr-site-certificate-profile dd {
    margin: 0;
    color: var(--site-text);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 800;
}

@media (max-width: 720px) {
    .probpr-site-auth-form-grid {
        grid-template-columns: 1fr;
    }

    .probpr-site-certificate-profile dl > div {
        grid-template-columns: 1fr;
        gap: 3px;
    }
}


/* Реєстрація: виправлення списку спеціальностей + пояснення ProBPR */
.probpr-site-auth-info,
.probpr-site-auth-privacy {
    margin: 14px 0;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid var(--site-border);
    background: #f8fafc;
    color: var(--site-muted);
    font-size: 14px;
    line-height: 1.5;
}

.probpr-site-auth-info {
    display: grid;
    gap: 5px;
}

.probpr-site-auth-info strong {
    color: var(--site-text);
    font-size: 14px;
    font-weight: 950;
}

.probpr-site-auth-info span {
    color: var(--site-muted);
    font-weight: 700;
}

.probpr-site-auth-privacy {
    background: #ffffff;
    font-size: 13px;
    font-weight: 750;
}

.probpr-site-register-specialties .probpr-site-specialty-filter-panel {
    gap: 12px;
}

.probpr-site-register-specialties .probpr-site-specialty-list {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 8px;
    max-height: 340px;
    overflow: auto;
    align-items: start;
}

.probpr-site-register-specialties .probpr-site-specialty-list label,
.probpr-site-register-specialties label[data-probpr-register-specialty-item] {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 9px !important;
    min-height: 44px !important;
    height: auto !important;
    max-height: none !important;
    padding: 10px 12px !important;
    overflow: visible !important;
    text-align: left !important;
}

.probpr-site-register-specialties .probpr-site-specialty-list input[type="checkbox"],
.probpr-site-register-specialties label[data-probpr-register-specialty-item] input[type="checkbox"] {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 0 !important;
}

.probpr-site-register-specialties .probpr-site-specialty-list label span,
.probpr-site-register-specialties label[data-probpr-register-specialty-item] span {
    display: block !important;
    min-width: 0;
    color: var(--site-text);
    font-size: 13px;
    line-height: 1.3;
    font-weight: 800;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

@media (max-width: 760px) {
    .probpr-site-register-specialties .probpr-site-specialty-list {
        grid-template-columns: 1fr;
        max-height: 360px;
    }
}


/* Кабінет слухача: дані з профілю ProBPR, без WP-логіна */
.probpr-site-auth-message.is-warning {
    background: #fffbeb;
    color: #92400e;
    border-color: #fde68a;
}

.probpr-site-account-box strong {
    word-break: break-word;
}

.probpr-site-certificate-profile dd {
    word-break: break-word;
}


/* Кабінет слухача v1 */
.probpr-user-cabinet-section {
    padding-top: 36px;
}

.probpr-user-cabinet {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.probpr-user-sidebar {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 14px;
}

.probpr-user-card,
.probpr-user-panel,
.probpr-user-hero {
    border: 1px solid var(--site-border);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--site-shadow);
}

.probpr-user-card {
    display: grid;
    gap: 8px;
    padding: 20px;
    text-align: center;
}

.probpr-user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 4px;
    border-radius: 20px;
    background: var(--site-button);
    color: #ffffff;
    font-size: 24px;
    font-weight: 950;
}

.probpr-user-card strong {
    color: var(--site-text);
    font-size: 17px;
    line-height: 1.25;
    font-weight: 950;
}

.probpr-user-card span {
    color: var(--site-muted);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 750;
    word-break: break-word;
}

.probpr-user-tabs {
    display: grid;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--site-border);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--site-shadow);
}

.probpr-user-tabs a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 16px;
    color: var(--site-muted);
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
}

.probpr-user-tabs a.is-active,
.probpr-user-tabs a:hover {
    background: var(--site-soft);
    color: var(--site-primary);
}

.probpr-user-main {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.probpr-user-hero {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 26px;
    overflow: hidden;
}

.probpr-user-hero h1 {
    margin: 8px 0 8px;
    color: var(--site-text);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.probpr-user-hero p,
.probpr-user-panel p {
    margin: 0;
    color: var(--site-muted);
    font-size: 15px;
    line-height: 1.55;
}

.probpr-user-profile-progress {
    display: grid;
    align-content: center;
    justify-items: center;
    min-width: 150px;
    min-height: 132px;
    padding: 18px;
    border-radius: 28px;
    background: var(--site-soft);
    text-align: center;
}

.probpr-user-profile-progress strong {
    color: var(--site-primary);
    font-size: 38px;
    line-height: 1;
    font-weight: 950;
}

.probpr-user-profile-progress span {
    margin-top: 6px;
    color: var(--site-muted);
    font-size: 13px;
    font-weight: 850;
}

.probpr-user-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.probpr-user-stats a {
    display: grid;
    gap: 5px;
    min-height: 104px;
    padding: 18px;
    border: 1px solid var(--site-border);
    border-radius: 24px;
    background: #ffffff;
    color: var(--site-text);
    text-decoration: none;
    box-shadow: var(--site-shadow);
}

.probpr-user-stats span {
    color: var(--site-primary);
    font-size: 30px;
    line-height: 1;
    font-weight: 950;
}

.probpr-user-stats strong {
    color: var(--site-muted);
    font-size: 13px;
    line-height: 1.3;
    font-weight: 850;
}

.probpr-user-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.probpr-user-panel {
    padding: 22px;
}

.probpr-user-panel h2 {
    margin: 0 0 14px;
    color: var(--site-text);
    font-size: 22px;
    line-height: 1.2;
    font-weight: 950;
}

.probpr-user-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.probpr-user-panel-head h2 {
    margin: 0;
}

.probpr-user-panel-head a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--site-primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.probpr-user-mini-list,
.probpr-user-course-list,
.probpr-user-cert-list {
    display: grid;
    gap: 10px;
}

.probpr-user-mini-list article,
.probpr-user-course-list article,
.probpr-user-cert-list article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--site-border);
    border-radius: 18px;
    background: #f8fafc;
}

.probpr-user-mini-list strong,
.probpr-user-course-list h3,
.probpr-user-cert-list h3 {
    display: block;
    margin: 0 0 5px;
    color: var(--site-text);
    font-size: 15px;
    line-height: 1.3;
    font-weight: 950;
}

.probpr-user-mini-list span,
.probpr-user-course-list span,
.probpr-user-cert-list span,
.probpr-user-course-list p,
.probpr-user-cert-list p {
    color: var(--site-muted);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 750;
}

.probpr-user-card-statuses {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    min-width: 180px;
}

.probpr-user-card-statuses span,
.probpr-user-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--site-muted);
    border: 1px solid var(--site-border);
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
}

.probpr-user-empty {
    display: grid;
    justify-items: start;
    gap: 10px;
    padding: 24px;
    border: 1px dashed var(--site-border);
    border-radius: 22px;
    background: #f8fafc;
}

.probpr-user-empty.is-small {
    padding: 18px;
}

.probpr-user-empty strong {
    color: var(--site-text);
    font-size: 16px;
    font-weight: 950;
}

.probpr-user-empty span {
    color: var(--site-muted);
    font-size: 14px;
    line-height: 1.45;
    font-weight: 750;
}

.probpr-user-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 2px;
}

.probpr-user-table-wrap {
    overflow-x: auto;
}

.probpr-user-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 720px;
}

.probpr-user-table th,
.probpr-user-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--site-border);
    text-align: left;
    vertical-align: top;
}

.probpr-user-table th {
    color: var(--site-muted);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.probpr-user-table td {
    color: var(--site-text);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 750;
}

.probpr-user-profile-list {
    display: grid;
    gap: 0;
    margin: 0;
}

.probpr-user-profile-list > div {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--site-border);
}

.probpr-user-profile-list > div:last-child {
    border-bottom: 0;
}

.probpr-user-profile-list dt {
    color: var(--site-muted);
    font-size: 13px;
    font-weight: 900;
}

.probpr-user-profile-list dd {
    margin: 0;
    color: var(--site-text);
    font-size: 14px;
    line-height: 1.45;
    font-weight: 800;
    word-break: break-word;
}

.probpr-site-field-note {
    margin-top: 4px;
    color: var(--site-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.probpr-site-profile-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 16px;
    border: 0;
    border-radius: 16px;
    background: var(--site-button);
    color: #ffffff;
    font: inherit;
    font-size: 15px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(22, 71, 255, 0.16);
}

.probpr-site-auth-message.is-warning {
    background: #fffbeb;
    color: #92400e;
    border-color: #fde68a;
}

.probpr-user-cert-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    min-width: 190px;
}

.probpr-user-cert-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--site-primary);
    border: 1px solid var(--site-border);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.probpr-user-cert-actions a.is-download {
    background: var(--site-primary);
    color: #ffffff;
    border-color: var(--site-primary);
}

@media (max-width: 1040px) {
    .probpr-user-cabinet {
        grid-template-columns: 1fr;
    }

    .probpr-user-sidebar {
        position: static;
    }

    .probpr-user-tabs {
        display: flex;
        overflow-x: auto;
        padding: 8px;
    }

    .probpr-user-tabs a {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

@media (max-width: 760px) {
    .probpr-user-hero {
        flex-direction: column;
    }

    .probpr-user-profile-progress {
        min-width: 0;
        min-height: 96px;
    }

    .probpr-user-stats,
    .probpr-user-grid-2 {
        grid-template-columns: 1fr;
    }

    .probpr-user-course-list article,
    .probpr-user-cert-list article,
    .probpr-user-mini-list article {
        align-items: flex-start;
        flex-direction: column;
    }

    .probpr-user-card-statuses,
    .probpr-user-cert-actions {
        justify-content: flex-start;
        min-width: 0;
    }

    .probpr-user-profile-list > div {
        grid-template-columns: 1fr;
        gap: 3px;
    }
}


/* Кабінет слухача: групи спеціальностей і стабільний пошук */
.probpr-account-specialty-groups {
    display: grid;
    gap: 14px;
    max-height: 420px;
    overflow: auto;
    padding-right: 4px;
}

.probpr-account-specialty-group {
    display: grid;
    gap: 8px;
}

.probpr-account-specialty-group-title {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 8px 10px;
    border: 1px solid var(--site-border);
    border-radius: 14px;
    background: #ffffff;
    color: var(--site-primary);
    font-size: 13px;
    line-height: 1.25;
    font-weight: 950;
}

.probpr-account-specialty-group-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 8px;
}

.probpr-account-specialties label[data-probpr-account-specialty-item] {
    display: flex !important;
    align-items: flex-start !important;
    gap: 9px !important;
    height: auto !important;
    min-height: 52px !important;
    max-height: none !important;
    padding: 10px 12px !important;
    border: 1px solid var(--site-border);
    border-radius: 15px;
    background: #f8fafc;
    overflow: visible !important;
    cursor: pointer;
}

.probpr-account-specialties label[data-probpr-account-specialty-item][hidden],
.probpr-account-specialty-group[hidden] {
    display: none !important;
}

.probpr-account-specialties label[data-probpr-account-specialty-item] input[type="checkbox"] {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 2px 0 0 !important;
    accent-color: var(--site-primary);
}

.probpr-account-specialties label[data-probpr-account-specialty-item] span {
    display: grid !important;
    gap: 3px;
    min-width: 0;
}

.probpr-account-specialties label[data-probpr-account-specialty-item] strong {
    color: var(--site-text);
    font-size: 13px;
    line-height: 1.3;
    font-weight: 900;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

.probpr-account-specialties label[data-probpr-account-specialty-item] small {
    color: var(--site-muted);
    font-size: 11px;
    line-height: 1.25;
    font-weight: 750;
}

@media (max-width: 760px) {
    .probpr-account-specialty-group-items {
        grid-template-columns: 1fr;
    }

    .probpr-account-specialty-groups {
        max-height: 460px;
    }
}


/* Реєстрація слухача: групи спеціальностей і стабільний пошук */
.probpr-register-specialty-groups {
    display: grid;
    gap: 14px;
    max-height: 420px;
    overflow: auto;
    padding-right: 4px;
}

.probpr-register-specialty-group {
    display: grid;
    gap: 8px;
}

.probpr-register-specialty-group-title {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 8px 10px;
    border: 1px solid var(--site-border);
    border-radius: 14px;
    background: #ffffff;
    color: var(--site-primary);
    font-size: 13px;
    line-height: 1.25;
    font-weight: 950;
}

.probpr-register-specialty-group-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 8px;
}

.probpr-register-specialties label[data-probpr-register-specialty-item] {
    display: flex !important;
    align-items: flex-start !important;
    gap: 9px !important;
    height: auto !important;
    min-height: 52px !important;
    max-height: none !important;
    padding: 10px 12px !important;
    border: 1px solid var(--site-border);
    border-radius: 15px;
    background: #f8fafc;
    overflow: visible !important;
    cursor: pointer;
}

.probpr-register-specialties label[data-probpr-register-specialty-item][hidden],
.probpr-register-specialty-group[hidden] {
    display: none !important;
}

.probpr-register-specialties label[data-probpr-register-specialty-item] input[type="checkbox"] {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 2px 0 0 !important;
    accent-color: var(--site-primary);
}

.probpr-register-specialties label[data-probpr-register-specialty-item] span {
    display: grid !important;
    gap: 3px;
    min-width: 0;
}

.probpr-register-specialties label[data-probpr-register-specialty-item] strong {
    color: var(--site-text);
    font-size: 13px;
    line-height: 1.3;
    font-weight: 900;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

.probpr-register-specialties label[data-probpr-register-specialty-item] small {
    color: var(--site-muted);
    font-size: 11px;
    line-height: 1.25;
    font-weight: 750;
}

@media (max-width: 760px) {
    .probpr-register-specialty-group-items {
        grid-template-columns: 1fr;
    }

    .probpr-register-specialty-groups {
        max-height: 460px;
    }
}


/* Сторінка Заходи: групи спеціальностей у фільтрах */
.probpr-events-specialty-groups {
    display: grid;
    gap: 14px;
    max-height: 420px;
    overflow: auto;
    padding-right: 4px;
}

.probpr-events-specialty-group {
    display: grid;
    gap: 8px;
}

.probpr-events-specialty-group-title {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 8px 10px;
    border: 1px solid var(--site-border);
    border-radius: 14px;
    background: #ffffff;
    color: var(--site-primary);
    font-size: 13px;
    line-height: 1.25;
    font-weight: 950;
}

.probpr-events-specialty-group-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 8px;
}

.probpr-events-specialties label[data-probpr-specialty-item] {
    display: flex !important;
    align-items: flex-start !important;
    gap: 9px !important;
    height: auto !important;
    min-height: 52px !important;
    max-height: none !important;
    padding: 10px 12px !important;
    border: 1px solid var(--site-border);
    border-radius: 15px;
    background: #f8fafc;
    overflow: visible !important;
    cursor: pointer;
}

.probpr-events-specialties label[data-probpr-specialty-item][hidden],
.probpr-events-specialty-group[hidden] {
    display: none !important;
}

.probpr-events-specialties label[data-probpr-specialty-item] input[type="checkbox"] {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 2px 0 0 !important;
    accent-color: var(--site-primary);
}

.probpr-events-specialties label[data-probpr-specialty-item] span {
    display: grid !important;
    gap: 3px;
    min-width: 0;
}

.probpr-events-specialties label[data-probpr-specialty-item] strong {
    color: var(--site-text);
    font-size: 13px;
    line-height: 1.3;
    font-weight: 900;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

.probpr-events-specialties label[data-probpr-specialty-item] small {
    color: var(--site-muted);
    font-size: 11px;
    line-height: 1.25;
    font-weight: 750;
}

@media (max-width: 760px) {
    .probpr-events-specialty-group-items {
        grid-template-columns: 1fr;
    }

    .probpr-events-specialty-groups {
        max-height: 460px;
    }
}


/* Сторінка Заходи: помітна кнопка Обрати/Згорнути у фільтрі спеціальностей */
.probpr-events-specialties summary {
    align-items: center;
}

.probpr-events-specialty-toggle-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 11px;
    border-radius: 999px;
    background: var(--site-primary);
    color: #ffffff;
    font-style: normal;
    font-size: 12px;
    line-height: 1;
    font-weight: 950;
    white-space: nowrap;
}

.probpr-events-specialties[open] .probpr-events-specialty-toggle-text {
    background: #111827;
    color: #ffffff;
}

.probpr-events-specialties summary:hover .probpr-events-specialty-toggle-text {
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .probpr-events-specialties summary {
        grid-template-columns: 1fr auto;
    }

    .probpr-events-specialties summary small {
        grid-column: 1 / -1;
    }

    .probpr-events-specialty-toggle-text {
        min-height: 28px;
        padding: 6px 10px;
    }
}




/* Сторінка заходу: персональна відповідність спеціальностей */
.probpr-site-section-tight {
    padding-top: 12px;
    padding-bottom: 22px;
}

.probpr-site-specialty-match-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--site-border);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.probpr-site-specialty-match-card.is-match {
    border-color: color-mix(in srgb, var(--site-accent) 34%, var(--site-border));
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--site-accent) 13%, transparent), transparent 18rem),
        #ffffff;
}

.probpr-site-specialty-match-card.is-empty {
    background: #f8fafc;
}

.probpr-site-specialty-match-head h2 {
    margin: 6px 0 0;
    color: var(--site-text);
    font-size: 22px;
    line-height: 1.18;
    letter-spacing: -0.025em;
    font-weight: 950;
}

.probpr-site-specialty-match-card p {
    max-width: 860px;
    margin: 0;
    color: var(--site-muted);
    font-size: 14px;
    line-height: 1.55;
    font-weight: 750;
}

.probpr-site-specialty-match-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.probpr-site-specialty-match-list span {
    display: inline-grid;
    gap: 3px;
    max-width: 220px;
    min-height: 46px;
    padding: 9px 11px;
    border-radius: 16px;
    background: var(--site-soft);
    color: var(--site-primary);
}

.probpr-site-specialty-match-list strong {
    min-width: 0;
    color: var(--site-text);
    font-size: 13px;
    line-height: 1.25;
    font-weight: 900;
}

.probpr-site-specialty-match-list small {
    display: block;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    color: var(--site-muted);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 750;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Сторінка заходу: спеціальність + група малим підписом */
.probpr-site-specialties-with-groups span {
    display: inline-grid;
    gap: 3px;
    align-items: start;
    min-height: 46px;
    max-width: 220px;
    padding-top: 9px;
    padding-bottom: 9px;
    white-space: normal;
}

.probpr-site-specialties-with-groups strong {
    min-width: 0;
    color: var(--site-text);
    font-size: 13px;
    line-height: 1.25;
    font-weight: 900;
}

.probpr-site-specialties-with-groups small {
    display: block;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    color: var(--site-muted);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 750;
    white-space: nowrap;
    text-overflow: ellipsis;
}


/* Кабінет слухача: статуси, таймери, пагінація */
.probpr-user-subtitle {
    display: block;
    margin: -2px 0 5px;
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 750;
}

.probpr-user-badge.is-success {
    border-color: #bbf7d0;
    background: #ecfdf5;
    color: #047857;
}

.probpr-user-badge.is-warning {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

.probpr-user-badge.is-danger {
    border-color: #fecdd3;
    background: #fff1f2;
    color: #9f1239;
}

.probpr-user-badge.is-info {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.probpr-user-badge.is-muted {
    border-color: var(--site-border);
    background: #f8fafc;
    color: var(--site-muted);
}

.probpr-user-badge.is-timer {
    font-weight: 950;
}

.probpr-user-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.probpr-user-inline-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--site-primary);
    color: #ffffff !important;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    text-decoration: none;
}

.probpr-user-table td .probpr-user-badge + .probpr-user-badge {
    margin-left: 5px;
    margin-top: 5px;
}

.probpr-user-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin-top: 18px;
}

.probpr-user-pagination a,
.probpr-user-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--site-border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--site-muted);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.probpr-user-pagination a.is-active,
.probpr-user-pagination a:hover {
    border-color: var(--site-primary);
    background: var(--site-primary);
    color: #ffffff;
}

/* Навчальна кімната слухача */
.probpr-room-hero {
    padding: 42px 0 20px;
}

.probpr-room-hero-card,
.probpr-room-lock-card,
.probpr-room-panel {
    border: 1px solid var(--site-border);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--site-shadow);
}

.probpr-room-hero-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 26px;
}

.probpr-room-hero-card h1 {
    margin: 8px 0 0;
    color: var(--site-text);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.045em;
    font-weight: 950;
}

.probpr-room-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.probpr-room-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--site-soft);
    color: var(--site-primary);
    font-size: 12px;
    font-weight: 850;
}

.probpr-room-status {
    display: grid;
    justify-items: end;
    gap: 10px;
    flex: 0 0 auto;
}

.probpr-room-lock-card {
    padding: 26px;
}

.probpr-room-lock-card h2,
.probpr-room-panel h2 {
    margin: 0 0 10px;
    color: var(--site-text);
    font-size: 24px;
    line-height: 1.18;
    font-weight: 950;
    letter-spacing: -0.025em;
}

.probpr-room-lock-card p,
.probpr-room-panel p {
    margin: 0;
    color: var(--site-muted);
    font-size: 14px;
    line-height: 1.55;
    font-weight: 700;
}

.probpr-room-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.probpr-room-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.probpr-room-nav {
    position: sticky;
    top: 98px;
    display: grid;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--site-border);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--site-shadow);
}

.probpr-room-nav a {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 9px 11px;
    border-radius: 14px;
    color: var(--site-muted);
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

.probpr-room-nav a:hover {
    background: var(--site-soft);
    color: var(--site-primary);
}

.probpr-room-main {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.probpr-room-panel {
    padding: 22px;
    scroll-margin-top: 110px;
}

.probpr-room-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.probpr-room-panel-head h2 {
    margin: 0;
}

.probpr-room-overview-grid,
.probpr-room-test-box {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.probpr-room-overview-grid > div,
.probpr-room-test-box > div,
.probpr-room-certificate-card {
    padding: 14px;
    border: 1px solid var(--site-border);
    border-radius: 18px;
    background: #f8fafc;
}

.probpr-room-overview-grid span,
.probpr-room-test-box span,
.probpr-room-certificate-card span {
    display: block;
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 850;
}

.probpr-room-overview-grid strong,
.probpr-room-test-box strong,
.probpr-room-certificate-card strong {
    display: block;
    margin-top: 5px;
    color: var(--site-text);
    font-size: 15px;
    line-height: 1.25;
    font-weight: 950;
    word-break: break-word;
}

.probpr-room-materials {
    display: grid;
    gap: 14px;
}

.probpr-room-materials article {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--site-border);
    border-radius: 20px;
    background: #f8fafc;
}

.probpr-room-materials article.is-locked {
    opacity: 0.72;
}

.probpr-room-material-head span {
    display: inline-flex;
    margin-bottom: 6px;
    color: var(--site-primary);
    font-size: 12px;
    font-weight: 900;
}

.probpr-room-material-head strong {
    display: block;
    color: var(--site-text);
    font-size: 17px;
    line-height: 1.25;
    font-weight: 950;
}

.probpr-room-material-head p {
    margin-top: 6px;
}

.probpr-room-video {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    background: #0f172a;
    aspect-ratio: 16 / 9;
}

.probpr-room-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.probpr-room-link-button,
.probpr-room-disabled-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 38px;
    padding: 9px 13px;
    border-radius: 999px;
    background: var(--site-primary);
    color: #ffffff !important;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 900;
    text-decoration: none;
}

.probpr-room-disabled-button {
    background: #f1f5f9;
    color: var(--site-muted) !important;
    border: 1px solid var(--site-border);
}

.probpr-room-certificate-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

@media (max-width: 980px) {
    .probpr-room-layout {
        grid-template-columns: 1fr;
    }

    .probpr-room-nav {
        position: static;
        display: flex;
        overflow-x: auto;
    }

    .probpr-room-nav a {
        white-space: nowrap;
    }

    .probpr-room-overview-grid,
    .probpr-room-test-box {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .probpr-room-hero-card,
    .probpr-room-certificate-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .probpr-room-status {
        justify-items: start;
    }

    .probpr-room-overview-grid,
    .probpr-room-test-box {
        grid-template-columns: 1fr;
    }

    .probpr-room-panel,
    .probpr-room-lock-card,
    .probpr-room-hero-card {
        padding: 18px;
        border-radius: 24px;
    }
}

/* ProBPR custom YouTube player: власні кнопки без кліку в YouTube iframe */
.probpr-y-player {
    position: relative;
    display: grid;
    overflow: hidden;
    border-radius: 22px;
    background: #0f172a;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
}

.probpr-y-player-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #020617;
}

.probpr-y-player-iframe,
.probpr-y-player-iframe iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.probpr-y-player-iframe iframe {
    border: 0;
    pointer-events: none;
}

.probpr-y-player-big-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 4;
    width: 72px;
    height: 72px;
    transform: translate(-50%, -50%);
    border: 0;
    border-radius: 50%;
    background: rgba(22, 71, 255, 0.96);
    color: #ffffff;
    font-size: 30px;
    line-height: 1;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.probpr-y-player-big-play:hover {
    transform: translate(-50%, -50%) scale(1.04);
}

.probpr-y-player.is-playing .probpr-y-player-big-play {
    display: none;
}

.probpr-y-player-loader {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    background: rgba(2, 6, 23, 0.45);
}

.probpr-y-player-loader[hidden] {
    display: none;
}

.probpr-y-player-loader span {
    width: 38px;
    height: 38px;
    border: 4px solid rgba(255, 255, 255, 0.22);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: probprYPlayerSpin 0.9s linear infinite;
}

@keyframes probprYPlayerSpin {
    to {
        transform: rotate(360deg);
    }
}

.probpr-y-player-controls {
    display: grid;
    gap: 0;
    padding: 10px 12px 12px;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
    color: #ffffff;
}

.probpr-y-player-progress-wrap {
    position: relative;
    height: 20px;
    display: flex;
    align-items: center;
}

.probpr-y-player-progress {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 20px;
    margin: 0;
    appearance: none;
    background: transparent;
    cursor: pointer;
}

.probpr-y-player-progress::-webkit-slider-runnable-track {
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
}

.probpr-y-player-progress::-moz-range-track {
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
}

.probpr-y-player-progress::-webkit-slider-thumb {
    width: 14px;
    height: 14px;
    margin-top: -4.5px;
    appearance: none;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(22, 71, 255, 0.34);
}

.probpr-y-player-progress::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(22, 71, 255, 0.34);
}

.probpr-y-player-progress-fill {
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 1;
    width: 0;
    height: 5px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: var(--site-primary);
    pointer-events: none;
}

.probpr-y-player-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
}

.probpr-y-player-left,
.probpr-y-player-right,
.probpr-y-player-volume {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.probpr-y-player-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    color: #ffffff;
    font: inherit;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    cursor: pointer;
}

.probpr-y-player-btn:hover {
    background: rgba(255, 255, 255, 0.18);
}

.probpr-y-player-volume-range {
    width: 84px;
    accent-color: #ffffff;
}

.probpr-y-player-rate-wrap {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    max-width: 86px;
}

.probpr-y-player-rate {
    width: 82px;
    min-height: 34px;
    padding: 6px 25px 6px 11px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.09);
    color: #ffffff;
    font: inherit;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    cursor: pointer;
}

.probpr-y-player-rate:hover,
.probpr-y-player-rate:focus {
    background-color: rgba(255, 255, 255, 0.18);
    outline: none;
}

.probpr-y-player-rate option {
    color: #111827;
    background: #ffffff;
}

.probpr-y-player-rate:disabled {
    opacity: 0.55;
    cursor: default;
}

.probpr-y-player-time,
.probpr-y-player-title {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 750;
    white-space: nowrap;
}

.probpr-y-player-title {
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.probpr-y-player-playlist {
    display: grid;
    gap: 6px;
    max-height: 220px;
    overflow: auto;
    padding: 10px 12px 12px;
    background: #020617;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.probpr-y-player-playlist[hidden] {
    display: none;
}

.probpr-y-player-playlist-item {
    display: flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.78);
    font: inherit;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.probpr-y-player-playlist-item:hover,
.probpr-y-player-playlist-item.is-active {
    border-color: rgba(255, 255, 255, 0.18);
    background: var(--site-primary);
    color: #ffffff;
}

.probpr-y-player.is-error {
    background: #111827;
}

.probpr-y-player.is-error .probpr-y-player-stage {
    min-height: 260px;
}

.probpr-y-player.is-error .probpr-y-player-controls {
    display: none;
}

@media (max-width: 760px) {
    .probpr-y-player-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .probpr-y-player-left,
    .probpr-y-player-right {
        width: 100%;
        flex-wrap: wrap;
    }

    .probpr-y-player-right {
        justify-content: space-between;
    }

    .probpr-y-player-title {
        max-width: min(100%, 260px);
    }

    .probpr-y-player-volume-range {
        width: 70px;
    }

    .probpr-y-player-rate {
        min-height: 32px;
    }
}


/* Відновлення перегляду відео */
.probpr-video-resume {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    background: linear-gradient(135deg, rgba(22, 71, 255, 0.30), rgba(15, 23, 42, 0.96));
    color: #ffffff;
}

.probpr-video-resume[hidden] {
    display: none !important;
}

.probpr-video-resume-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.probpr-video-resume-copy strong {
    font-size: 14px;
    line-height: 1.25;
    font-weight: 950;
}

.probpr-video-resume-copy span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    line-height: 1.35;
}

.probpr-video-resume-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: 0 0 auto;
}

.probpr-video-resume-primary,
.probpr-video-resume-secondary {
    min-height: 36px;
    padding: 8px 13px;
    border-radius: 999px;
    font: inherit;
    font-size: 12px;
    line-height: 1.15;
    font-weight: 900;
    white-space: nowrap;
    cursor: pointer;
}

.probpr-video-resume-primary {
    border: 1px solid #ffffff;
    background: #ffffff;
    color: #0f172a;
}

.probpr-video-resume-secondary {
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.probpr-video-resume-primary:hover,
.probpr-video-resume-secondary:hover {
    transform: translateY(-1px);
}

@media (max-width: 760px) {
    .probpr-video-resume {
        align-items: stretch;
        flex-direction: column;
        padding: 12px;
    }

    .probpr-video-resume-actions {
        justify-content: stretch;
        flex-wrap: wrap;
    }

    .probpr-video-resume-primary,
    .probpr-video-resume-secondary {
        flex: 1 1 160px;
    }
}

/* ProBPR YouTube player shield: прозорий екран над iframe */
.probpr-y-player-shield {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: transparent;
    cursor: pointer;
}

.probpr-y-player-shield:focus {
    outline: none;
}

.probpr-y-player-shield:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.7);
    outline-offset: -6px;
}

.probpr-y-player-loader {
    z-index: 5;
}

.probpr-y-player-big-play {
    z-index: 6;
}

/* Fix: у fullscreen наші кнопки плеєра залишаються поверх відео */
.probpr-y-player:fullscreen,
.probpr-y-player:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    background: #020617;
}

.probpr-y-player:fullscreen .probpr-y-player-stage,
.probpr-y-player:-webkit-full-screen .probpr-y-player-stage {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
}

.probpr-y-player:fullscreen .probpr-y-player-controls,
.probpr-y-player:-webkit-full-screen .probpr-y-player-controls {
    position: relative;
    z-index: 20;
    flex: 0 0 auto;
}

.probpr-y-player:fullscreen .probpr-y-player-shield,
.probpr-y-player:-webkit-full-screen .probpr-y-player-shield {
    z-index: 10;
}

.probpr-y-player:fullscreen .probpr-y-player-big-play,
.probpr-y-player:-webkit-full-screen .probpr-y-player-big-play {
    z-index: 30;
}

.probpr-y-player:fullscreen .probpr-y-player-loader,
.probpr-y-player:-webkit-full-screen .probpr-y-player-loader {
    z-index: 28;
}

.probpr-y-player:fullscreen .probpr-y-player-playlist,
.probpr-y-player:-webkit-full-screen .probpr-y-player-playlist {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 86px;
    z-index: 25;
    max-height: min(320px, 45vh);
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.96);
    backdrop-filter: blur(10px);
}

@media (max-width: 760px) {
    .probpr-y-player:fullscreen .probpr-y-player-playlist,
    .probpr-y-player:-webkit-full-screen .probpr-y-player-playlist {
        left: 10px;
        right: 10px;
        bottom: 118px;
        max-height: min(280px, 40vh);
    }
}

/* ProBPR вебінарна кімната: власний чат / питання */
.probpr-room-chat-role {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
}

.probpr-room-chat-role.is-provider,
.probpr-room-chat-message.is-provider .probpr-room-chat-message-head span {
    background: #eef2ff;
    color: #1647ff;
}

.probpr-room-chat-role.is-lecturer,
.probpr-room-chat-message.is-lecturer .probpr-room-chat-message-head span {
    background: #ecfdf5;
    color: #047857;
}

.probpr-room-chat-role.is-moderator,
.probpr-room-chat-message.is-moderator .probpr-room-chat-message-head span {
    background: #fff7ed;
    color: #c2410c;
}

.probpr-room-chat-role.is-listener,
.probpr-room-chat-message.is-listener .probpr-room-chat-message-head span {
    background: #f1f5f9;
    color: #64748b;
}

.probpr-room-chat {
    display: grid;
    gap: 12px;
}

.probpr-room-chat-messages {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 260px;
    max-height: 430px;
    overflow: auto;
    padding: 12px;
    border: 1px solid var(--site-border);
    border-radius: 20px;
    background: #f8fafc;
    scroll-behavior: smooth;
}

.probpr-room-chat-empty {
    padding: 14px;
    border: 1px dashed var(--site-border);
    border-radius: 16px;
    background: #ffffff;
    color: var(--site-muted);
    font-size: 14px;
    line-height: 1.45;
    font-weight: 750;
}

.probpr-room-chat-message {
    display: grid;
    gap: 7px;
    padding: 12px;
    border: 1px solid var(--site-border);
    border-radius: 18px;
    background: #ffffff;
}

.probpr-room-chat-message-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.probpr-room-chat-message-head strong {
    color: var(--site-text);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 950;
}

.probpr-room-chat-message-head span {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 3px 7px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 900;
}

.probpr-room-chat-message-head small {
    margin-left: auto;
    color: var(--site-muted);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 750;
}

.probpr-room-chat-message-body {
    color: var(--site-text);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 680;
    word-break: break-word;
}

.probpr-room-chat-message-body p {
    margin: 0;
    color: inherit;
    font: inherit;
}

.probpr-room-chat-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
}

.probpr-room-chat-form textarea {
    width: 100%;
    min-height: 52px;
    max-height: 160px;
    resize: vertical;
    padding: 11px 12px;
    border: 1px solid var(--site-border);
    border-radius: 16px;
    background: #ffffff;
    color: var(--site-text);
    font: inherit;
    font-size: 14px;
    line-height: 1.45;
    outline: none;
}

.probpr-room-chat-form textarea:focus {
    border-color: color-mix(in srgb, var(--site-primary) 45%, var(--site-border));
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--site-primary) 11%, transparent);
}

.probpr-room-chat-form button {
    min-height: 52px;
    padding: 11px 16px;
    border: 0;
    border-radius: 16px;
    background: var(--site-primary);
    color: #ffffff;
    font: inherit;
    font-size: 14px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(22, 71, 255, 0.16);
}

.probpr-room-chat-form button:disabled {
    opacity: 0.6;
    cursor: wait;
}

.probpr-room-chat-note {
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 750;
}

.probpr-room-chat-note[data-type="success"] {
    color: #047857;
}

.probpr-room-chat-note[data-type="error"] {
    color: #b91c1c;
}

@media (max-width: 680px) {
    .probpr-room-chat-messages {
        max-height: 360px;
    }

    .probpr-room-chat-form {
        grid-template-columns: 1fr;
    }

    .probpr-room-chat-form button {
        width: 100%;
    }

    .probpr-room-chat-message-head small {
        width: 100%;
        margin-left: 0;
    }
}

/* ProBPR room chat: moderation and pinned messages */
.probpr-room-chat-message.is-pinned {
    border-color: color-mix(in srgb, var(--site-primary) 32%, var(--site-border));
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(22, 71, 255, 0.08);
}

.probpr-room-chat-message-head em {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 3px 7px;
    border-radius: 999px;
    background: var(--site-primary);
    color: #ffffff;
    font-size: 11px;
    line-height: 1.2;
    font-style: normal;
    font-weight: 900;
}

.probpr-room-chat-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}

.probpr-room-chat-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 5px 9px;
    border: 1px solid var(--site-border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--site-muted);
    font: inherit;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 850;
    cursor: pointer;
}

.probpr-room-chat-actions button:hover {
    border-color: color-mix(in srgb, var(--site-primary) 35%, var(--site-border));
    color: var(--site-primary);
}

/* ProBPR room chat v2: компактні повідомлення для великих вебінарів */
.probpr-room-chat-messages {
    gap: 6px;
    min-height: 300px;
    max-height: 560px;
    padding: 8px;
}

.probpr-room-chat-message {
    gap: 5px;
    padding: 7px 9px;
    border-radius: 12px;
    box-shadow: none;
}

.probpr-room-chat-message-compact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
}

.probpr-room-chat-message-text {
    min-width: 0;
    color: var(--site-text);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 680;
    word-break: break-word;
}

.probpr-room-chat-message-text strong {
    color: var(--site-text);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 950;
}

.probpr-room-chat-message-text span {
    color: inherit;
}

.probpr-room-chat-message-text p {
    display: inline;
    margin: 0;
    color: inherit;
    font: inherit;
}

.probpr-room-chat-message-meta {
    display: grid;
    justify-items: end;
    gap: 3px;
    min-width: 92px;
}

.probpr-room-chat-message-meta span,
.probpr-room-chat-message-meta em {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 10.5px;
    line-height: 1.2;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

.probpr-room-chat-message-meta small {
    color: var(--site-muted);
    font-size: 10.5px;
    line-height: 1.2;
    font-weight: 750;
    white-space: nowrap;
}

.probpr-room-chat-message.is-provider .probpr-room-chat-message-meta span {
    background: #eef2ff;
    color: #1647ff;
}

.probpr-room-chat-message.is-lecturer .probpr-room-chat-message-meta span {
    background: #ecfdf5;
    color: #047857;
}

.probpr-room-chat-message.is-moderator .probpr-room-chat-message-meta span {
    background: #fff7ed;
    color: #c2410c;
}

.probpr-room-chat-message.is-listener .probpr-room-chat-message-meta span {
    background: #f1f5f9;
    color: #64748b;
}

.probpr-room-chat-message-meta em {
    background: var(--site-primary);
    color: #ffffff;
}

.probpr-room-chat-actions {
    margin-top: 0;
    gap: 4px;
}

.probpr-room-chat-actions button {
    min-height: 24px;
    padding: 4px 8px;
    font-size: 10.5px;
}

.probpr-room-chat-form {
    gap: 8px;
}

.probpr-room-chat-form textarea {
    min-height: 42px;
    padding: 9px 11px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.35;
}

.probpr-room-chat-form button {
    min-height: 42px;
    padding: 9px 14px;
    border-radius: 14px;
    font-size: 13px;
}

.probpr-room-chat-note {
    font-size: 11.5px;
}

@media (max-width: 680px) {
    .probpr-room-chat-messages {
        max-height: 430px;
    }

    .probpr-room-chat-message-compact {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .probpr-room-chat-message-meta {
        display: flex;
        flex-wrap: wrap;
        justify-items: start;
        justify-content: flex-start;
        min-width: 0;
    }
}

/* ProBPR room chat v3: ультракомпактний рядок + роль як значок + меню ⋯ */
.probpr-room-chat-messages {
    gap: 4px;
    min-height: 320px;
    max-height: 620px;
    padding: 6px;
}

.probpr-room-chat-message {
    padding: 5px 7px;
    border-radius: 10px;
}

.probpr-room-chat-message.is-pinned {
    box-shadow: none;
    border-color: color-mix(in srgb, var(--site-primary) 28%, var(--site-border));
}

.probpr-room-chat-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
}

.probpr-room-chat-line {
    display: flex;
    align-items: baseline;
    gap: 5px;
    min-width: 0;
    color: var(--site-text);
    font-size: 12.5px;
    line-height: 1.28;
    font-weight: 650;
    word-break: break-word;
}

.probpr-room-chat-line strong {
    flex: 0 0 auto;
    color: var(--site-text);
    font-size: 12.5px;
    line-height: 1.28;
    font-weight: 950;
}

.probpr-room-chat-text {
    min-width: 0;
    color: var(--site-text);
}

.probpr-room-chat-text p {
    display: inline;
    margin: 0;
    color: inherit;
    font: inherit;
}

.probpr-room-chat-role-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 10px;
    line-height: 1;
    font-weight: 950;
    transform: translateY(2px);
}

.probpr-room-chat-role-dot.is-provider {
    background: #1647ff;
}

.probpr-room-chat-role-dot.is-lecturer {
    background: #047857;
}

.probpr-room-chat-role-dot.is-moderator {
    background: #c2410c;
}

.probpr-room-chat-role-dot.is-listener {
    background: #64748b;
}

.probpr-room-chat-pin {
    flex: 0 0 auto;
    font-size: 11px;
    line-height: 1;
    transform: translateY(1px);
}

.probpr-room-chat-side {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    min-width: 74px;
}

.probpr-room-chat-side small {
    color: var(--site-muted);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 750;
    white-space: nowrap;
}

.probpr-room-chat-menu {
    position: relative;
    flex: 0 0 auto;
}

.probpr-room-chat-menu summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    color: var(--site-muted);
    font-size: 17px;
    line-height: 1;
    font-weight: 950;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.probpr-room-chat-menu summary::-webkit-details-marker {
    display: none;
}

.probpr-room-chat-menu summary:hover {
    background: #f1f5f9;
    color: var(--site-primary);
}

.probpr-room-chat-menu-list {
    position: absolute;
    right: 0;
    top: 26px;
    z-index: 40;
    display: grid;
    gap: 4px;
    min-width: 128px;
    padding: 6px;
    border: 1px solid var(--site-border);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
}

.probpr-room-chat-menu-list button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 30px;
    padding: 7px 9px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--site-text);
    font: inherit;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 850;
    text-align: left;
    cursor: pointer;
}

.probpr-room-chat-menu-list button:hover {
    background: var(--site-soft);
    color: var(--site-primary);
}

.probpr-room-chat-form textarea {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 12.5px;
}

.probpr-room-chat-form button {
    min-height: 38px;
    padding: 8px 13px;
    font-size: 12.5px;
}

@media (max-width: 680px) {
    .probpr-room-chat-messages {
        max-height: 460px;
    }

    .probpr-room-chat-row {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .probpr-room-chat-side {
        justify-content: flex-start;
        margin-left: 23px;
    }

    .probpr-room-chat-menu-list {
        left: 0;
        right: auto;
    }
}

/* ProBPR user cabinet: hidden lecturer/moderator room access */
.probpr-user-staff-panel {
    margin-bottom: 18px;
}

.probpr-user-staff-room-list {
    display: grid;
    gap: 10px;
}

.probpr-user-staff-room-list article {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 13px 14px;
    border: 1px solid var(--site-border);
    border-radius: 18px;
    background: #ffffff;
}

.probpr-user-staff-room-list.is-compact article {
    padding: 11px 12px;
    border-radius: 16px;
}

.probpr-user-staff-room-list article > div:first-child {
    min-width: 0;
}

.probpr-user-staff-room-list h3,
.probpr-user-staff-room-list strong {
    display: block;
    margin: 4px 0 2px;
    color: var(--site-text);
    font-size: 15px;
    line-height: 1.25;
    font-weight: 950;
}

.probpr-user-staff-room-list p,
.probpr-user-staff-room-list small {
    display: block;
    margin: 0;
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 750;
}

.probpr-user-room-role {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--site-primary);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 950;
}

.probpr-user-staff-room-list article > a,
.probpr-user-staff-room-list .probpr-user-inline-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--site-primary);
    color: #ffffff;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 950;
    text-decoration: none;
    white-space: nowrap;
}

@media (max-width: 680px) {
    .probpr-user-staff-room-list article {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ProBPR user cabinet: switch to provider cabinet for provider team members */
.probpr-user-provider-switch {
    display: grid;
    gap: 3px;
    padding: 12px 13px;
    margin: 12px 0;
    border: 1px solid color-mix(in srgb, var(--site-primary) 24%, var(--site-border));
    border-radius: 16px;
    background: color-mix(in srgb, var(--site-primary) 8%, #ffffff);
    color: var(--site-primary);
    text-decoration: none;
}

.probpr-user-provider-switch strong {
    color: var(--site-primary);
    font-size: 14px;
    line-height: 1.2;
    font-weight: 950;
}

.probpr-user-provider-switch span {
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.25;
    font-weight: 800;
}

.probpr-user-provider-switch:hover {
    border-color: color-mix(in srgb, var(--site-primary) 55%, var(--site-border));
    box-shadow: 0 12px 26px rgba(22, 71, 255, 0.1);
}

.probpr-user-hero-side {
    display: grid;
    gap: 10px;
    justify-items: end;
}

.probpr-user-provider-button,
.probpr-user-provider-access-note a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--site-primary);
    color: #ffffff;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 950;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(22, 71, 255, 0.16);
}

.probpr-user-provider-access-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
    padding: 13px 14px;
    border: 1px solid color-mix(in srgb, var(--site-primary) 24%, var(--site-border));
    border-radius: 18px;
    background: color-mix(in srgb, var(--site-primary) 7%, #ffffff);
}

.probpr-user-provider-access-note div {
    display: grid;
    gap: 3px;
}

.probpr-user-provider-access-note strong {
    color: var(--site-text);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 950;
}

.probpr-user-provider-access-note span {
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.25;
    font-weight: 800;
}

@media (max-width: 760px) {
    .probpr-user-hero-side {
        justify-items: stretch;
    }

    .probpr-user-provider-button {
        width: 100%;
    }

    .probpr-user-provider-access-note {
        align-items: stretch;
        flex-direction: column;
    }
}

/* ProBPR room chat modes */
.probpr-room-chat-private {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    border-radius: 999px;
    background: #f59e0b;
    color: #ffffff;
    font-size: 10px;
    line-height: 1;
    font-weight: 950;
    transform: translateY(2px);
}

.probpr-room-chat-message.is-staff-only {
    border-style: dashed;
    background: #fffbeb;
}

.probpr-room-chat-form textarea:disabled,
.probpr-room-chat-form button:disabled {
    opacity: 0.58;
    cursor: not-allowed;
}

/* ProBPR room: проходження тесту */
.probpr-room-submit-messages {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.probpr-room-test-form {
    display: grid;
    gap: 16px;
    margin-top: 16px;
}

.probpr-room-test-questions {
    display: grid;
    gap: 14px;
}

.probpr-room-test-question {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--site-border);
    border-radius: 18px;
    background: #ffffff;
}

.probpr-room-test-question legend {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 0;
    color: var(--site-text);
    font-size: 15px;
    line-height: 1.45;
    font-weight: 950;
}

.probpr-room-test-question legend span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: var(--site-primary);
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
    font-weight: 950;
    transform: translateY(1px);
}

.probpr-room-test-question > small {
    margin-left: 33px;
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 750;
}

.probpr-room-test-answers {
    display: grid;
    gap: 8px;
}

.probpr-room-test-answers label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 10px 11px;
    border: 1px solid var(--site-border);
    border-radius: 14px;
    background: #f8fafc;
    cursor: pointer;
}

.probpr-room-test-answers label:hover {
    border-color: color-mix(in srgb, var(--site-primary) 38%, var(--site-border));
    background: #ffffff;
}

.probpr-room-test-answers input {
    margin-top: 3px;
}

.probpr-room-test-answers span {
    color: var(--site-text);
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
}

.probpr-room-test-note {
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 750;
}

@media (max-width: 680px) {
    .probpr-room-test-question {
        padding: 12px;
        border-radius: 16px;
    }

    .probpr-room-test-question legend {
        font-size: 14px;
    }

    .probpr-room-test-answers span {
        font-size: 13.5px;
    }
}

/* ProBPR room: AJAX test result */
.probpr-room-test-ajax-status {
    display: none;
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 850;
}

.probpr-room-test-ajax-status:not(:empty) {
    display: block;
}

.probpr-room-test-ajax-status.is-info {
    background: #eff6ff;
    color: #1d4ed8;
}

.probpr-room-test-ajax-status.is-error {
    background: #fef2f2;
    color: #b91c1c;
}

.probpr-room-test-form.is-loading {
    opacity: 0.78;
    pointer-events: none;
}

.probpr-room-test-result {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 14px 0 16px;
    padding: 14px;
    border: 1px solid var(--site-border);
    border-radius: 18px;
    background: #ffffff;
}

.probpr-room-test-result > div {
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 15px;
    background: #f8fafc;
}

.probpr-room-test-result span {
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.25;
    font-weight: 850;
}

.probpr-room-test-result strong {
    color: var(--site-text);
    font-size: 24px;
    line-height: 1.1;
    font-weight: 950;
}

.probpr-room-test-result small {
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 750;
}

.probpr-room-test-result.is-passed {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.probpr-room-test-result.is-failed {
    border-color: #fecaca;
    background: #fef2f2;
}

.probpr-room-panel.is-result-highlighted {
    animation: probprRoomResultPulse 1.4s ease-out 1;
}

@keyframes probprRoomResultPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.24);
    }

    100% {
        box-shadow: 0 0 0 18px rgba(37, 99, 235, 0);
    }
}

@media (max-width: 680px) {
    .probpr-room-test-result {
        grid-template-columns: 1fr;
    }
}

/* ProBPR room: automatic certificate after passed test */
.probpr-room-certificate-card.is-issued {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.probpr-room-certificate-card.is-issued > div:first-child span {
    color: #15803d;
}

.probpr-room-certificate-card.is-issued > div:first-child strong {
    color: #14532d;
}

/* ProBPR room chat: fixed message area with scrollbar */
.probpr-room-chat {
    min-height: 0;
}

.probpr-room-chat-messages {
    display: grid;
    align-content: start;
    height: min(56vh, 520px) !important;
    min-height: 280px;
    max-height: min(56vh, 520px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.probpr-room-chat-messages::-webkit-scrollbar {
    width: 8px;
}

.probpr-room-chat-messages::-webkit-scrollbar-track {
    background: #eef2f7;
    border-radius: 999px;
}

.probpr-room-chat-messages::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

.probpr-room-chat-messages::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

@media (max-width: 680px) {
    .probpr-room-chat-messages {
        height: min(48vh, 390px) !important;
        min-height: 240px;
        max-height: min(48vh, 390px) !important;
    }
}

/* ProBPR certificate correction request */
.probpr-certificate-correction-box {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid var(--site-border);
    border-radius: 18px;
    background: #ffffff;
}

.probpr-certificate-correction-head {
    display: grid;
    gap: 3px;
    margin-bottom: 12px;
}

.probpr-certificate-correction-head strong {
    color: var(--site-text);
    font-size: 15px;
    line-height: 1.25;
    font-weight: 950;
}

.probpr-certificate-correction-head span,
.probpr-certificate-correction-status {
    color: var(--site-muted);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 750;
}

.probpr-certificate-correction-status {
    padding: 11px 12px;
    border-radius: 14px;
    background: #fffbeb;
    color: #92400e;
}

.probpr-certificate-correction-form {
    display: grid;
    gap: 10px;
}

.probpr-certificate-correction-form label {
    display: grid;
    gap: 5px;
}

.probpr-certificate-correction-form label span {
    color: var(--site-text);
    font-size: 12px;
    line-height: 1.25;
    font-weight: 900;
}

.probpr-certificate-correction-form input,
.probpr-certificate-correction-form textarea {
    width: 100%;
    border: 1px solid var(--site-border);
    border-radius: 13px;
    padding: 10px 11px;
    color: var(--site-text);
    font-size: 14px;
    line-height: 1.4;
    background: #f8fafc;
    outline: none;
}

.probpr-certificate-correction-form input:focus,
.probpr-certificate-correction-form textarea:focus {
    border-color: color-mix(in srgb, var(--site-primary) 48%, var(--site-border));
    background: #ffffff;
}

/* ProBPR client-side PDF certificate */
.probpr-cert-pdf-status {
    align-self: center;
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 800;
}

.probpr-site-button.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.probpr-cert-pdf-source {
    position: fixed;
    left: -100000px;
    top: 0;
    width: 1123px;
    height: 794px;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}

.probpr-cert-pdf-source.is-rendering {
    opacity: 1;
}

.probpr-cert-pdf-sheet {
    width: 1123px;
    height: 794px;
    background: #ffffff;
    color: #0f172a;
    font-family: Georgia, "Times New Roman", serif;
    padding: 30px;
    box-sizing: border-box;
}

.probpr-cert-pdf-border {
    width: 100%;
    height: 100%;
    border: 3px solid #1f2a7a;
    border-radius: 18px;
    padding: 30px 34px;
    box-sizing: border-box;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 68%, #f4f7ff 100%);
}

.probpr-cert-pdf-header,
.probpr-cert-pdf-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
}

.probpr-cert-pdf-kicker {
    color: #1f2a7a;
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 8px;
}

.probpr-cert-pdf-header h1 {
    margin: 0;
    color: #1f2a7a;
    font-size: 58px;
    line-height: 0.95;
    letter-spacing: -0.035em;
    text-transform: uppercase;
}

.probpr-cert-pdf-header p {
    margin: 9px 0 0;
    color: #334155;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
}

.probpr-cert-pdf-number {
    width: 295px;
    padding: 13px 15px;
    border: 1px solid #c7d2fe;
    border-radius: 14px;
    background: #eef2ff;
    text-align: right;
    box-sizing: border-box;
}

.probpr-cert-pdf-number span,
.probpr-cert-pdf-person span,
.probpr-cert-pdf-topic span,
.probpr-cert-pdf-specialties span,
.probpr-cert-pdf-grid span,
.probpr-cert-pdf-provider span,
.probpr-cert-pdf-qr span {
    display: block;
    color: #64748b;
    font-family: Arial, sans-serif;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.probpr-cert-pdf-number strong {
    display: block;
    margin-top: 6px;
    color: #1f2a7a;
    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.probpr-cert-pdf-person {
    text-align: center;
}

.probpr-cert-pdf-person strong {
    display: block;
    margin-top: 8px;
    padding: 0 18px 10px;
    border-bottom: 2px solid #cbd5e1;
    color: #0f172a;
    font-size: 36px;
    line-height: 1.1;
    font-weight: 700;
}

.probpr-cert-pdf-main {
    display: grid;
    gap: 12px;
    align-content: start;
}

.probpr-cert-pdf-topic,
.probpr-cert-pdf-specialties {
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.9);
}

.probpr-cert-pdf-topic strong {
    display: block;
    margin-top: 5px;
    color: #0f172a;
    font-size: 24px;
    line-height: 1.13;
    font-weight: 700;
}

.probpr-cert-pdf-specialties strong {
    display: block;
    margin-top: 5px;
    color: #0f172a;
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.32;
    font-weight: 700;
}

.probpr-cert-pdf-specialties.is-sm strong {
    font-size: 11px;
    line-height: 1.26;
}

.probpr-cert-pdf-specialties.is-xs strong {
    font-size: 9.2px;
    line-height: 1.2;
}

.probpr-cert-pdf-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
}

.probpr-cert-pdf-grid div {
    min-height: 58px;
    padding: 10px 11px;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
    background: #ffffff;
    box-sizing: border-box;
}

.probpr-cert-pdf-grid strong {
    display: block;
    margin-top: 5px;
    color: #0f172a;
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.18;
    font-weight: 900;
}

.probpr-cert-pdf-provider {
    max-width: 720px;
}

.probpr-cert-pdf-provider strong {
    display: block;
    margin-top: 6px;
    color: #0f172a;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 700;
}

.probpr-cert-pdf-qr {
    width: 118px;
    text-align: center;
}

.probpr-cert-pdf-qr img {
    display: block;
    width: 96px;
    height: 96px;
    margin: 0 auto 6px;
    padding: 4px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
}

/* ProBPR PDF certificate crop/fit fixes */
.probpr-cert-pdf-sheet {
    overflow: hidden;
}

.probpr-cert-pdf-number {
    width: 330px;
}

.probpr-cert-pdf-number strong {
    font-size: 16px;
    word-break: break-all;
    overflow-wrap: anywhere;
}

.probpr-cert-pdf-header h1 {
    font-size: 52px;
}

.probpr-cert-pdf-specialties.is-xxs strong {
    font-size: 7.2px;
    line-height: 1.08;
    letter-spacing: -0.01em;
}


/* Certificate V2 visual settings override */
.probpr-cert-pdf-sheet {
    font-family: var(--probpr-cert-main-font-family, Georgia, "Times New Roman", serif) !important;
}
.probpr-cert-pdf-person strong,
.probpr-cert-pdf-topic strong,
.probpr-cert-pdf-provider strong {
    font-family: var(--probpr-cert-main-font-family, Georgia, "Times New Roman", serif) !important;
}
.probpr-cert-pdf-specialties strong,
.probpr-cert-pdf-specialties.is-sm strong,
.probpr-cert-pdf-specialties.is-xs strong,
.probpr-cert-pdf-specialties.is-xxs strong {
    font-family: var(--probpr-cert-main-font-family, Georgia, "Times New Roman", serif) !important;
    font-size: var(--probpr-cert-specialties-font-size, 9.8px) !important;
}


/* ProBPR paid registration MVP */
.probpr-site-registration-form {
    display: grid;
    gap: 10px;
    margin: 0;
}

.probpr-site-registration-form .probpr-site-button {
    width: 100%;
    justify-content: center;
    border: 0;
    cursor: pointer;
}

.probpr-site-registration-messages {
    margin: 0;
}

.probpr-site-register-card .probpr-site-button-light {
    justify-content: center;
}

.probpr-site-muted-box.is-success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #bbf7d0;
}

.probpr-site-muted-box.is-warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}


/* ProBPR colleagues MVP */
.probpr-user-colleagues-panel .probpr-user-panel-head {
    align-items: flex-start;
    gap: 16px;
}

.probpr-user-colleagues-panel .probpr-user-panel-head p {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
}

.probpr-colleague-list {
    display: grid;
    gap: 12px;
}

.probpr-colleague-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.probpr-colleague-card-main {
    display: flex;
    gap: 12px;
    align-items: center;
}

.probpr-colleague-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 18px;
    font-weight: 800;
}

.probpr-colleague-card h3 {
    margin: 0;
    color: #0f172a;
    font-size: 16px;
    line-height: 1.25;
}

.probpr-colleague-card p {
    margin: 3px 0 0;
    color: #475569;
    font-size: 13px;
}

.probpr-colleague-card small {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.35;
}

.probpr-colleague-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.probpr-colleague-meta div {
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    background: #f8fafc;
}

.probpr-colleague-meta dt {
    margin: 0 0 4px;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.probpr-colleague-meta dd {
    margin: 0;
    color: #0f172a;
    font-size: 13px;
    line-height: 1.4;
}

.probpr-colleague-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.probpr-colleague-actions a,
.probpr-colleague-actions button {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.probpr-colleague-actions button {
    color: #b91c1c;
    border-color: #fecaca;
}

.probpr-colleague-actions form {
    margin: 0;
}

.probpr-user-colleague-form-panel textarea {
    width: 100%;
    resize: vertical;
}

@media (max-width: 760px) {
    .probpr-colleague-meta {
        grid-template-columns: 1fr;
    }

    .probpr-colleague-actions {
        justify-content: flex-start;
    }
}


/* ProBPR event registration targets MVP */
.probpr-site-registration-targets-form {
    display: grid;
    gap: 12px;
}

.probpr-registration-targets {
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #f8fafc;
}

.probpr-registration-targets-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 2px 6px;
}

.probpr-registration-targets-head strong {
    color: #0f172a;
    font-size: 13px;
}

.probpr-registration-targets-head a {
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.probpr-registration-target {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    cursor: pointer;
}

.probpr-registration-target input {
    margin-top: 3px;
}

.probpr-registration-target span {
    display: grid;
    gap: 2px;
}

.probpr-registration-target strong {
    color: #0f172a;
    font-size: 13px;
    line-height: 1.25;
}

.probpr-registration-target small {
    color: #64748b;
    font-size: 12px;
    line-height: 1.35;
}

.probpr-registration-target.is-self {
    border-color: #bfdbfe;
    background: #eff6ff;
}


/* ProBPR cart MVP */
.probpr-registration-form-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.probpr-registration-form-actions .probpr-site-button {
    width: 100%;
    min-width: 0;
    text-align: center;
    white-space: normal;
}

.probpr-site-register-card > .probpr-site-button,
.probpr-site-register-card > .probpr-site-button-light {
    width: 100%;
}

button.probpr-site-button,
button.probpr-site-button-light {
    appearance: none;
    cursor: pointer;
    font-family: inherit;
}

.probpr-site-auth-link.is-active {
    color: var(--site-primary);
    font-weight: 800;
}

.probpr-site-cart-section {
    background: #f8fafc;
}

.probpr-site-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: start;
}

.probpr-site-cart-main,
.probpr-site-cart-summary {
    padding: 22px;
    border: 1px solid var(--site-border);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.probpr-site-cart-main h1 {
    margin: 8px 0 10px;
    color: var(--site-text);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.05;
}

.probpr-site-cart-main > p {
    max-width: 760px;
    margin: 0 0 18px;
    color: var(--site-muted);
    line-height: 1.55;
}

.probpr-cart-items {
    display: grid;
    gap: 12px;
}

.probpr-cart-item {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(240px, 1.2fr) auto 40px;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
}

.probpr-cart-item.is-invalid {
    border-color: #fecaca;
    background: #fff7f7;
}

.probpr-cart-item-person {
    display: flex;
    gap: 10px;
    align-items: center;
    min-width: 0;
}

.probpr-cart-item-person > span {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 13px;
    background: #eef2ff;
    color: #3730a3;
    font-weight: 900;
}

.probpr-cart-item-person strong,
.probpr-cart-item-event strong,
.probpr-cart-item-event a {
    display: block;
    color: #0f172a;
    font-size: 14px;
    line-height: 1.3;
    text-decoration: none;
}

.probpr-cart-item-person small,
.probpr-cart-item-event small {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.35;
}

.probpr-cart-item-event {
    min-width: 0;
}

.probpr-cart-item-price {
    white-space: nowrap;
    text-align: right;
}

.probpr-cart-item-price strong {
    color: #0f172a;
    font-size: 14px;
}

.probpr-cart-item-remove {
    margin: 0;
}

.probpr-cart-item-remove button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #fecaca;
    border-radius: 999px;
    background: #ffffff;
    color: #b91c1c;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.probpr-site-cart-summary {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 14px;
}

.probpr-site-cart-summary > span {
    color: var(--site-muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.probpr-site-cart-summary > strong {
    color: var(--site-text);
    font-size: 32px;
    line-height: 1.1;
}

.probpr-site-cart-summary dl {
    display: grid;
    gap: 8px;
    margin: 0;
}

.probpr-site-cart-summary dl div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-top: 1px solid #eef2f7;
}

.probpr-site-cart-summary dt,
.probpr-site-cart-summary dd {
    margin: 0;
    font-size: 13px;
}

.probpr-site-cart-summary dt {
    color: #64748b;
}

.probpr-site-cart-summary dd {
    color: #0f172a;
    font-weight: 800;
}

.probpr-site-cart-summary form {
    margin: 0;
}

.probpr-site-cart-summary .probpr-site-button {
    width: 100%;
}

.probpr-cart-clear-button {
    width: 100%;
    min-height: 36px;
    border: 0;
    background: transparent;
    color: #b91c1c;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

@media (max-width: 980px) {
    .probpr-site-cart-layout {
        grid-template-columns: 1fr;
    }

    .probpr-site-cart-summary {
        position: static;
    }

    .probpr-cart-item {
        grid-template-columns: 1fr;
    }

    .probpr-cart-item-price {
        text-align: left;
    }

    .probpr-cart-item-remove {
        justify-self: start;
    }
}


/* ProBPR payment checkout polish */
.probpr-site-payment-section {
    min-height: calc(100vh - 92px);
    padding: 54px 0 86px;
    background:
        radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--site-primary) 14%, transparent), transparent 32%),
        linear-gradient(135deg, #f8fbff 0%, #f4f7fb 48%, #ffffff 100%);
}

.probpr-payment-shell {
    width: min(100%, 1080px);
    margin: 0 auto;
}

.probpr-payment-heading {
    max-width: 720px;
    margin-bottom: 22px;
}

.probpr-payment-heading h1 {
    margin: 10px 0 12px;
    color: var(--site-text);
    font-size: clamp(34px, 4.5vw, 52px);
    line-height: 1.03;
    letter-spacing: -0.05em;
}

.probpr-payment-heading p {
    margin: 0;
    color: var(--site-muted);
    font-size: 17px;
    line-height: 1.58;
}

.probpr-payment-alert {
    margin: 0 0 18px;
}

.probpr-payment-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    align-items: stretch;
    padding: 22px;
    border: 1px solid var(--site-border);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.09);
    backdrop-filter: blur(10px);
}

.probpr-payment-card-main,
.probpr-payment-side {
    min-width: 0;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: #ffffff;
}

.probpr-payment-card-main {
    padding: 22px;
}

.probpr-payment-order-head {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid #eef2f7;
}

.probpr-payment-order-head span {
    display: block;
    margin-bottom: 4px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.probpr-payment-order-head strong {
    color: #0f172a;
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.probpr-payment-status {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.probpr-payment-status.is-paid {
    background: #ecfdf5;
    color: #047857;
}

.probpr-payment-status.is-failed,
.probpr-payment-status.is-cancelled,
.probpr-payment-status.is-expired {
    background: #fef2f2;
    color: #b91c1c;
}

.probpr-payment-items {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.probpr-payment-items h2,
.probpr-payment-empty-items h2 {
    margin: 0 0 4px;
    color: #0f172a;
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.probpr-payment-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 13px 14px;
    border: 1px solid #eef2f7;
    border-radius: 18px;
    background: #f8fafc;
}

.probpr-payment-item strong {
    display: block;
    color: #0f172a;
    font-size: 14px;
    line-height: 1.35;
}

.probpr-payment-item small {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.35;
}

.probpr-payment-item > span {
    white-space: nowrap;
    color: #0f172a;
    font-size: 14px;
    font-weight: 900;
}

.probpr-payment-empty-items {
    margin-top: 18px;
    padding: 16px;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    background: #f8fafc;
}

.probpr-payment-empty-items p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
}

.probpr-payment-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0 0;
}

.probpr-payment-meta div {
    min-width: 0;
    padding: 12px;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    background: #ffffff;
}

.probpr-payment-meta dt,
.probpr-payment-meta dd {
    margin: 0;
}

.probpr-payment-meta dt {
    margin-bottom: 4px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.probpr-payment-meta dd {
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.35;
}

.probpr-payment-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
}

.probpr-payment-side > span {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.probpr-payment-side > strong {
    color: #0f172a;
    font-size: 38px;
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.probpr-payment-side > p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.probpr-site-payment-gateway {
    margin-top: 2px;
}

.probpr-site-payment-gateway .probpr-payment-gateway-form {
    display: grid;
    gap: 10px;
    margin: 0;
}

.probpr-site-payment-gateway .probpr-payment-gateway-form .probpr-button,
.probpr-site-payment-gateway .probpr-payment-gateway-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 12px 18px;
    border: 0;
    border-radius: 999px;
    background: var(--site-button);
    color: #ffffff !important;
    font-family: inherit;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 18px 34px color-mix(in srgb, var(--site-button) 26%, transparent);
    cursor: pointer;
}

.probpr-site-payment-gateway .probpr-payment-gateway-form .probpr-button:hover,
.probpr-site-payment-gateway .probpr-payment-gateway-form button:hover {
    transform: translateY(-1px);
}

.probpr-site-payment-actions {
    display: grid;
    gap: 10px;
    margin-top: auto;
}

.probpr-site-payment-actions .probpr-site-button {
    width: 100%;
}

.probpr-payment-cancel-link {
    display: inline-flex;
    justify-content: center;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.probpr-payment-cancel-link:hover {
    color: var(--site-primary);
    text-decoration: none;
}

@media (max-width: 940px) {
    .probpr-payment-card {
        grid-template-columns: 1fr;
        padding: 14px;
        border-radius: 26px;
    }

    .probpr-payment-meta {
        grid-template-columns: 1fr;
    }

    .probpr-payment-side {
        order: -1;
    }
}

@media (max-width: 560px) {
    .probpr-site-payment-section {
        padding: 34px 0 58px;
    }

    .probpr-payment-card-main,
    .probpr-payment-side {
        padding: 16px;
        border-radius: 20px;
    }

    .probpr-payment-order-head strong {
        font-size: 20px;
    }

    .probpr-payment-side > strong {
        font-size: 32px;
    }

    .probpr-payment-item {
        grid-template-columns: 1fr;
    }

    .probpr-payment-item > span {
        white-space: normal;
    }
}


/* ProBPR mandatory topic restore */
.probpr-site-required-topic-chip {
    border-color: color-mix(in srgb, var(--site-accent) 28%, var(--site-border)) !important;
    background: color-mix(in srgb, var(--site-accent) 13%, #ffffff) !important;
    color: color-mix(in srgb, var(--site-accent) 72%, var(--site-text)) !important;
}

/* Certificate V2 accent color settings */
.probpr-cert-pdf-border {
    border-color: var(--probpr-cert-accent-color, #1f2a7a) !important;
    background: radial-gradient(circle at 92% 94%, rgba(var(--probpr-cert-accent-rgb, 31, 42, 122), 0.10) 0 0, rgba(var(--probpr-cert-accent-rgb, 31, 42, 122), 0.10) 150px, transparent 151px), linear-gradient(135deg, #ffffff 0%, #ffffff 66%, var(--probpr-cert-accent-bg, #f7f9ff) 100%) !important;
}
.probpr-cert-pdf-kicker,
.probpr-cert-pdf-header h1,
.probpr-cert-pdf-number strong {
    color: var(--probpr-cert-accent-color, #1f2a7a) !important;
}
.probpr-cert-pdf-number {
    border-color: var(--probpr-cert-accent-border, #c7d2fe) !important;
    background: var(--probpr-cert-accent-soft, #eef2ff) !important;
}
.probpr-cert-pdf-meta-line.is-points strong {
    background: var(--probpr-cert-accent-color, #1f2a7a) !important;
    box-shadow: 0 8px 18px rgba(var(--probpr-cert-accent-rgb, 31, 42, 122), 0.18) !important;
}
.probpr-certificate-color-field {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
}
.probpr-certificate-color-field input[type="color"] {
    width: 64px;
    height: 40px;
    padding: 2px;
    border: 1px solid #dbe4f0;
    border-radius: 10px;
    background: #ffffff;
}

/* ProBPR v46: event marketing price */
.probpr-site-price-chip.has-sale {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.probpr-site-price-chip.has-sale em {
    display: inline-flex;
    padding: 2px 7px;
    border-radius: 999px;
    background: #fee2e2;
    color: #b91c1c;
    font-style: normal;
    font-size: 11px;
    font-weight: 800;
}

.probpr-site-price-chip.has-sale del {
    color: #94a3b8;
    font-weight: 700;
}

.probpr-site-price-chip.has-sale strong {
    color: #dc2626;
    font-weight: 900;
}

.probpr-site-event-sale-note {
    margin-top: 8px;
    color: #b91c1c;
    font-weight: 700;
    font-size: 13px;
}

.probpr-site-sale-price-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 70%);
    border: 1px solid #fed7aa;
    margin: 8px 0 14px;
}

.probpr-site-sale-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: #dc2626;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.probpr-site-sale-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.probpr-site-sale-price-row del {
    color: #94a3b8;
    font-weight: 800;
    font-size: 18px;
}

.probpr-site-register-card .probpr-site-sale-price-row strong {
    color: #dc2626;
    font-size: 32px;
    line-height: 1;
}

.probpr-site-sale-note,
.probpr-site-sale-countdown {
    color: #9a3412;
    font-weight: 700;
}



.probpr-promotions-head .probpr-button{white-space:nowrap}.probpr-promo-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 18px}.probpr-promo-metric{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:16px;box-shadow:0 8px 24px rgba(15,23,42,.05)}.probpr-promo-metric span{display:block;color:#64748b;font-size:13px;font-weight:700}.probpr-promo-metric strong{display:block;margin-top:7px;font-size:26px;line-height:1.1;color:#0f172a}.probpr-promo-metric small{display:block;margin-top:7px;color:#64748b}.probpr-promo-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}.probpr-promo-tab{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 13px;border:1px solid #dbe3ef;border-radius:999px;text-decoration:none;color:#334155;background:#fff;font-weight:800;font-size:13px}.probpr-promo-tab.is-active{background:#0f172a;color:#fff;border-color:#0f172a}.probpr-promo-grid{display:grid;gap:14px;margin-bottom:14px}.probpr-promo-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.probpr-promo-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.probpr-promo-form-head{display:flex;justify-content:space-between;gap:18px;margin-bottom:16px}.probpr-promo-form-head h3{margin:0 0 6px;font-size:20px}.probpr-promo-form-head p,.probpr-promo-events-head small,.probpr-promo-table small,.probpr-muted{color:#64748b}.probpr-field{display:flex;flex-direction:column;gap:7px}.probpr-field span{font-size:13px;font-weight:800;color:#334155}.probpr-field input,.probpr-field select,.probpr-promo-event-search,.probpr-promo-filters input,.probpr-promo-filters select{width:100%;min-height:42px;border:1px solid #cbd5e1;border-radius:12px;padding:9px 11px;background:#fff;color:#0f172a}.probpr-promo-check{display:flex;align-items:center;gap:10px;margin-top:27px;padding:11px 12px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;font-weight:800;color:#334155}.probpr-promo-events-box{border:1px solid #e2e8f0;border-radius:18px;padding:14px;background:#f8fafc;margin:4px 0 16px}.probpr-promo-events-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px}.probpr-promo-events-head strong,.probpr-promo-events-head small{display:block}.probpr-promo-event-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}.probpr-promo-event-actions span{margin-left:auto;color:#64748b;font-size:13px;font-weight:800}.probpr-promo-events-list{max-height:320px;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.probpr-promo-event-option{display:flex;gap:10px;align-items:flex-start;padding:10px;border:1px solid #e2e8f0;background:#fff;border-radius:12px}.probpr-promo-event-option.is-hidden{display:none}.probpr-promo-event-option strong,.probpr-promo-event-option small{display:block}.probpr-promo-event-option small{color:#64748b;margin-top:3px}.probpr-promo-preview{display:flex;align-items:center;gap:12px;background:linear-gradient(135deg,#eff6ff,#f8fafc);border:1px solid #bfdbfe;border-radius:18px;padding:14px 16px;margin-bottom:16px}.probpr-promo-preview span{color:#2563eb;font-weight:800}.probpr-promo-preview strong{font-size:22px;color:#0f172a;letter-spacing:.04em}.probpr-promo-preview small{color:#475569}.probpr-promo-toolbar{margin-bottom:14px}.probpr-promo-filters{display:grid;grid-template-columns:1.5fr .8fr .8fr auto;gap:10px}.probpr-promo-empty,.probpr-promo-empty-small{text-align:center;padding:32px 20px;color:#64748b}.probpr-promo-code{display:inline-block;padding:4px 8px;border-radius:8px;background:#eef2ff;color:#3730a3;letter-spacing:.04em}.probpr-promo-status{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:#e2e8f0;color:#334155;font-size:12px;font-weight:900}.probpr-promo-status.is-активний{background:#dcfce7;color:#166534}.probpr-promo-status.is-вимкнений{background:#fee2e2;color:#991b1b}.probpr-promo-status.is-запланований{background:#e0f2fe;color:#075985}.probpr-promo-status.is-завершений,.probpr-promo-status.is-вичерпано-ліміт{background:#f1f5f9;color:#475569}.probpr-promo-table td small{display:block;margin-top:4px}.probpr-promo-actions{display:flex;gap:8px;flex-wrap:wrap}.probpr-promo-actions a,.probpr-promo-actions button{appearance:none;border:0;background:transparent;color:#2563eb;font-weight:800;font-size:13px;text-decoration:none;cursor:pointer;padding:0}.probpr-promo-actions button{color:#dc2626}.probpr-site-promo-box{margin:18px 0;padding:14px;border:1px solid #dbeafe;border-radius:16px;background:#eff6ff}.probpr-site-promo-box form{display:flex;gap:8px;margin-top:10px}.probpr-site-promo-box input{flex:1;min-height:42px;border:1px solid #bfdbfe;border-radius:12px;padding:9px 11px}.probpr-site-promo-applied{display:flex;align-items:center;justify-content:space-between;gap:12px}.probpr-site-promo-applied strong{color:#1d4ed8}.probpr-site-cart-summary .probpr-cart-summary-row{display:flex;justify-content:space-between;gap:12px;margin-top:10px;color:#475569}.probpr-site-cart-summary .probpr-cart-summary-row.is-discount{color:#16a34a;font-weight:800}.probpr-site-cart-summary .probpr-cart-summary-row.is-total{border-top:1px solid #e2e8f0;padding-top:12px;color:#0f172a;font-weight:900}@media(max-width:900px){.probpr-promo-summary-grid,.probpr-promo-grid.four,.probpr-promo-grid.two,.probpr-promo-events-list,.probpr-promo-filters{grid-template-columns:1fr}.probpr-promo-events-head,.probpr-site-promo-box form{display:block}.probpr-promo-event-search{margin-top:10px}.probpr-promo-event-actions span{margin-left:0;width:100%}}

/* ProBPR v48 — cart/order discount and public cancel actions */
.probpr-user-order-price-breakdown,
.probpr-order-price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.35;
    opacity: .78;
}

.probpr-user-order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 6px;
}

.probpr-user-order-cancel-form,
.probpr-payment-cancel-form {
    display: inline-flex;
    margin: 0;
}

.probpr-user-order-cancel-form button,
.probpr-payment-cancel-form button {
    border: 0;
    background: transparent;
    color: #b42318;
    cursor: pointer;
    padding: 0;
    font: inherit;
    text-decoration: underline;
}

.probpr-payment-meta div dd + small {
    display: block;
    margin-top: 2px;
}

.probpr-cart-summary-row.is-discount strong,
.probpr-user-order-price-breakdown span:nth-child(2) {
    color: #0f7a4f;
}

/* ProBPR v48.1 — cart promo block layout fix */
.probpr-site-cart-summary,
.probpr-site-cart-summary * {
    box-sizing: border-box;
}

.probpr-site-cart-summary .probpr-site-promo-box {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 14px 0 8px;
    padding: 14px;
    overflow: hidden;
}

.probpr-site-cart-summary .probpr-site-promo-box > span {
    display: block;
    margin-bottom: 10px;
    color: #1e293b;
    font-size: 15px;
    font-weight: 800;
}

.probpr-site-cart-summary .probpr-site-promo-box form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.probpr-site-cart-summary .probpr-site-promo-box input[type="text"] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.probpr-site-cart-summary .probpr-site-promo-box .probpr-site-button,
.probpr-site-cart-summary .probpr-site-promo-box button {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    white-space: normal;
}

.probpr-site-cart-summary .probpr-site-promo-applied {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: stretch;
}

.probpr-site-cart-summary .probpr-site-promo-applied > div {
    min-width: 0;
}

.probpr-site-cart-summary .probpr-site-promo-applied form,
.probpr-site-cart-summary .probpr-site-promo-applied .probpr-cart-clear-button {
    width: 100%;
}

.probpr-site-cart-summary .probpr-cart-summary-row {
    align-items: flex-start;
}

.probpr-site-cart-summary .probpr-cart-summary-row span,
.probpr-site-cart-summary .probpr-cart-summary-row strong {
    min-width: 0;
}

.probpr-site-cart-summary .probpr-cart-summary-row strong {
    text-align: right;
}

/* ProBPR v48.2 — center cancel order action on checkout */
.probpr-site-payment-actions .probpr-payment-cancel-form {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2px 0 0;
}

.probpr-site-payment-actions .probpr-payment-cancel-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* ProBPR v49 — account colleagues UI */
.probpr-user-colleagues-panel .probpr-user-panel-head {
    align-items: flex-start;
    gap: 18px;
}

.probpr-user-colleagues-panel .probpr-user-panel-head p {
    margin: 6px 0 0;
    color: #64748b;
    line-height: 1.55;
}

.probpr-user-info-note {
    display: grid;
    gap: 6px;
    margin: 16px 0 20px;
    padding: 14px 16px;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    background: #eff6ff;
    color: #334155;
}

.probpr-user-info-note strong {
    color: #0f172a;
    font-size: 15px;
}

.probpr-user-info-note span {
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
}

.probpr-user-actions-row.is-compact {
    margin: 0 0 18px;
}

.probpr-user-colleague-form-panel {
    margin-top: 16px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #f8fafc;
}

.probpr-user-colleague-form-panel h3 {
    margin: 0 0 6px;
    color: #0f172a;
    font-size: 20px;
}

.probpr-user-colleague-form-panel > p {
    margin: 0 0 18px;
    color: #64748b;
    line-height: 1.55;
}

.probpr-colleague-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.probpr-colleague-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.probpr-colleague-card-main {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.probpr-colleague-avatar {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    font-weight: 900;
    font-size: 20px;
}

.probpr-colleague-card h3 {
    margin: 0 0 4px;
    color: #0f172a;
    font-size: 18px;
    line-height: 1.25;
}

.probpr-colleague-card p,
.probpr-colleague-card small {
    margin: 0;
    color: #64748b;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.probpr-colleague-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.probpr-colleague-meta div {
    min-width: 0;
    padding: 10px 12px;
    border-radius: 16px;
    background: #f8fafc;
}

.probpr-colleague-meta div.is-wide {
    grid-column: 1 / -1;
}

.probpr-colleague-meta dt {
    margin: 0 0 4px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.probpr-colleague-meta dd {
    margin: 0;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.probpr-colleague-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding-top: 2px;
}

.probpr-colleague-actions a,
.probpr-colleague-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid #dbeafe;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.probpr-colleague-actions button {
    border-color: #fee2e2;
    background: #fff1f2;
    color: #be123c;
}

.probpr-colleague-actions form {
    margin: 0;
}

.probpr-user-colleague-form-panel textarea {
    min-height: 92px;
    resize: vertical;
}

@media (max-width: 760px) {
    .probpr-user-colleagues-panel .probpr-user-panel-head {
        align-items: stretch;
    }

    .probpr-colleague-meta {
        grid-template-columns: 1fr;
    }

    .probpr-colleague-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .probpr-colleague-actions a,
    .probpr-colleague-actions button {
        width: 100%;
    }
}

/* ProBPR v52 — полірування кабінету слухача */
.probpr-user-main .probpr-site-auth-message {
    border-radius: 18px;
    font-weight: 800;
    line-height: 1.45;
}

.probpr-user-panel-head > div {
    min-width: 0;
}

.probpr-user-panel-head > div p {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 700;
}

.probpr-user-empty {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.probpr-user-empty.is-small {
    justify-items: start;
    gap: 5px;
}

.probpr-user-empty.is-small strong {
    font-size: 14px;
}

.probpr-user-empty.is-small span {
    font-size: 13px;
}

.probpr-user-order-list {
    display: grid;
    gap: 12px;
}

.probpr-user-order-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 250px);
    gap: 16px;
    align-items: start;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055);
}

.probpr-user-order-card.is-success {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.probpr-user-order-card.is-warning,
.probpr-user-order-card.is-info {
    background: #fffbeb;
    border-color: #fde68a;
}

.probpr-user-order-card.is-danger {
    background: #fff1f2;
    border-color: #fecdd3;
}

.probpr-user-order-card.is-muted {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.probpr-user-order-card-main {
    min-width: 0;
    display: grid;
    gap: 8px;
}

.probpr-user-order-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    justify-content: space-between;
}

.probpr-user-order-topline strong {
    color: #0f172a;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 950;
}

.probpr-user-order-topline span {
    color: #64748b;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 800;
}

.probpr-user-order-title {
    color: #0f172a;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.probpr-user-order-title span {
    display: inline-flex;
    margin-left: 5px;
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}

.probpr-user-order-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.probpr-user-order-discount-note {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(15, 122, 79, 0.08);
    color: #0f7a4f;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
}

.probpr-user-order-side {
    display: grid;
    justify-items: end;
    gap: 8px;
    text-align: right;
}

.probpr-user-order-side > strong {
    color: #0f172a;
    font-size: 22px;
    line-height: 1.1;
    font-weight: 950;
}

.probpr-user-order-price-breakdown {
    align-items: flex-end;
    margin-top: 0;
    color: #64748b;
    opacity: 1;
}

.probpr-user-order-price-breakdown span {
    font-size: 12px;
    font-weight: 800;
}

.probpr-user-order-actions {
    justify-content: flex-end;
    margin-top: 2px;
}

.probpr-user-order-actions > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--site-primary);
    color: #ffffff;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 950;
    text-decoration: none;
}

.probpr-user-order-cancel-form button {
    font-size: 13px;
    font-weight: 850;
}

.probpr-user-profile-list dd:empty::before,
.probpr-colleague-meta dd:empty::before {
    content: 'Не вказано';
    color: #94a3b8;
}

.probpr-user-cert-list article {
    align-items: flex-start;
}

.probpr-user-cert-actions a {
    background: #ffffff;
}

@media (max-width: 820px) {
    .probpr-user-cert-actions {
        width: 100%;
        min-width: 0;
    }

    .probpr-user-order-card {
        grid-template-columns: 1fr;
    }

    .probpr-user-order-side {
        justify-items: start;
        text-align: left;
        padding-top: 10px;
        border-top: 1px solid rgba(148, 163, 184, 0.35);
    }

    .probpr-user-order-price-breakdown {
        align-items: flex-start;
    }

    .probpr-user-order-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .probpr-user-panel {
        padding: 18px;
        border-radius: 22px;
    }

    .probpr-user-panel-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .probpr-user-order-card {
        padding: 14px;
        border-radius: 18px;
    }

    .probpr-user-order-side > strong {
        font-size: 20px;
    }
}


/* ProBPR v53 — public site polish */
.probpr-site-hero-copy .probpr-site-eyebrow,
.probpr-site-page-head .probpr-site-eyebrow,
.probpr-site-event-hero .probpr-site-eyebrow {
    letter-spacing: .06em;
}

.probpr-site-empty {
    display: grid;
    gap: 6px;
    padding: 22px 24px;
    border: 1px dashed rgba(148, 163, 184, 0.55);
    border-radius: 22px;
    background: rgba(248, 250, 252, 0.92);
    color: #64748b;
}

.probpr-site-empty strong {
    color: #0f172a;
    font-size: 16px;
    font-weight: 950;
}

.probpr-site-empty span {
    font-size: 14px;
    line-height: 1.45;
}

.probpr-site-event-card-body h3 {
    line-height: 1.22;
}

.probpr-site-card-link {
    justify-content: center;
    min-height: 38px;
}

.probpr-site-register-card {
    overflow: hidden;
}

.probpr-site-register-card > small {
    color: #64748b;
    line-height: 1.45;
}

.probpr-registration-targets-head {
    gap: 12px;
}

.probpr-registration-targets-head a {
    white-space: nowrap;
}

.probpr-site-registration-form .probpr-site-muted-box,
.probpr-site-register-card .probpr-site-muted-box {
    line-height: 1.45;
}

.probpr-site-cart-main > p,
.probpr-payment-heading > p {
    max-width: 720px;
    color: #64748b;
    line-height: 1.55;
}

.probpr-cart-item {
    align-items: center;
}

.probpr-cart-item-event a,
.probpr-cart-item-event strong {
    line-height: 1.25;
}

.probpr-site-promo-box > span,
.probpr-site-promo-applied span {
    font-weight: 900;
}

.probpr-site-cart-summary > strong,
.probpr-payment-side > strong {
    letter-spacing: -0.03em;
}

.probpr-cart-summary-row span,
.probpr-payment-meta dt,
.probpr-site-payment-summary dt {
    color: #64748b;
}

.probpr-payment-empty-items p {
    color: #64748b;
    line-height: 1.5;
}

.probpr-site-payment-actions {
    gap: 10px;
}

.probpr-payment-cancel-form {
    width: 100%;
    display: flex;
    justify-content: center;
}

.probpr-payment-cancel-link {
    text-align: center;
}

@media (max-width: 900px) {
    .probpr-site-cart-layout,
    .probpr-payment-card,
    .probpr-site-event-hero-grid {
        gap: 18px;
    }

    .probpr-site-cart-summary,
    .probpr-payment-side,
    .probpr-site-register-card {
        position: static;
    }
}

@media (max-width: 620px) {
    .probpr-site-hero-actions,
    .probpr-registration-form-actions,
    .probpr-site-payment-actions,
    .probpr-site-filter-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .probpr-site-button,
    .probpr-site-auth-button,
    .probpr-site-auth-link,
    .probpr-site-card-link,
    .probpr-site-filter-actions button,
    .probpr-site-filter-actions a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .probpr-registration-targets-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .probpr-registration-targets-head a {
        white-space: normal;
    }

    .probpr-cart-item {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .probpr-cart-item-remove {
        justify-self: stretch;
    }

    .probpr-cart-item-remove button {
        width: 100%;
        min-height: 34px;
        border-radius: 12px;
    }
}

/* ProBPR v53.1 — акуратні клікабельні картки заходів */
.probpr-site-event-grid {
    align-items: stretch;
}

.probpr-site-event-card,
a.probpr-site-event-card {
    height: 100%;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background-color .16s ease;
}

.probpr-site-event-card-clickable:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.26);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.09);
}

.probpr-site-event-card-clickable:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.24);
    outline-offset: 3px;
}

.probpr-site-event-card-body {
    height: 100%;
}

.probpr-site-event-card h3 {
    color: var(--site-text);
    transition: color .16s ease;
}

.probpr-site-event-card-clickable:hover h3 {
    color: var(--site-primary);
}

.probpr-site-event-card-top small {
    color: #7b8798;
    font-size: 10.5px;
    font-weight: 750;
}

.probpr-site-event-card-top span {
    font-size: 11px;
}

.probpr-site-event-meta {
    margin-top: 10px;
}

.probpr-site-event-meta > span {
    min-height: 23px;
    padding: 4px 8px;
    font-size: 10.5px;
}

.probpr-site-card-link {
    align-self: flex-start;
    margin-top: auto;
    padding: 9px 0 0;
    border-radius: 0;
    background: transparent;
    color: var(--site-primary) !important;
    box-shadow: none;
    font-size: 12.5px;
    line-height: 1.2;
    font-weight: 900;
    text-decoration: none;
    transform: none;
}

.probpr-site-card-link:hover,
.probpr-site-event-card-clickable:hover .probpr-site-card-link {
    box-shadow: none;
    transform: none;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.probpr-site-price-chip.has-sale {
    gap: 5px;
}

.probpr-site-price-chip.has-sale strong {
    order: 1;
    color: #dc2626;
    font-weight: 950;
}

.probpr-site-price-chip.has-sale del {
    order: 2;
    color: #94a3b8;
    font-size: 10.5px;
    font-weight: 750;
}

.probpr-site-price-chip.has-sale em {
    order: 3;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 850;
}

.probpr-site-event-card-poster {
    transition: border-color .16s ease, background-color .16s ease;
}

.probpr-site-event-card-clickable:hover .probpr-site-event-card-poster {
    border-color: rgba(37, 99, 235, 0.22);
    background: #f8fbff;
}

@media (min-width: 761px) {
    .probpr-site-event-card {
        min-height: 188px;
    }
}

@media (max-width: 760px) {
    .probpr-site-card-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-top: 12px;
        padding: 8px 11px;
        border-radius: 999px;
        background: #eef3ff;
        color: var(--site-primary) !important;
        text-decoration: none;
    }

    .probpr-site-event-card-clickable:hover .probpr-site-card-link {
        text-decoration: none;
    }
}

/* ProBPR v53.2 — полірування сторінки конкретного заходу */
.probpr-site-event-hero {
    padding: 38px 0 26px;
}

.probpr-site-event-hero-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 20px;
    align-items: stretch;
}

.probpr-site-event-hero-main {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    min-width: 0;
    padding: 24px;
    border: 1px solid rgba(219, 228, 240, 0.95);
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(248,251,255,0.94) 100%);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
}

.probpr-site-event-hero-main.no-poster {
    grid-template-columns: 1fr;
}

.probpr-site-event-hero-poster {
    overflow: hidden;
    border: 1px solid var(--site-border);
    border-radius: 24px;
    background: #eef2ff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.probpr-site-event-hero-poster img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.probpr-site-event-hero-copy {
    min-width: 0;
}

.probpr-site-event-hero .probpr-site-back {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin-bottom: 12px;
    padding: 7px 11px;
    border: 1px solid var(--site-border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--site-muted);
    font-size: 12.5px;
    font-weight: 850;
}

.probpr-site-event-hero .probpr-site-eyebrow {
    letter-spacing: 0.065em;
}

.probpr-site-event-hero h1 {
    max-width: 760px;
    margin-top: 9px;
    font-size: clamp(30px, 3.6vw, 52px);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.probpr-site-event-hero-meta {
    gap: 7px;
    margin-top: 16px;
}

.probpr-site-event-hero-meta span {
    min-height: 28px;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.2;
}

.probpr-site-register-card {
    position: sticky;
    top: 104px;
    gap: 12px;
    padding: 22px;
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.09);
}

.probpr-site-register-label,
.probpr-site-register-card > span:first-child {
    color: var(--site-muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.065em;
    text-transform: uppercase;
}

.probpr-site-register-price,
.probpr-site-register-card > strong {
    margin-top: 2px;
    font-size: 34px;
    letter-spacing: -0.04em;
}

.probpr-site-register-card .probpr-site-button {
    width: 100%;
    min-height: 48px;
}

.probpr-site-register-card .probpr-site-button-light {
    box-shadow: none;
}

.probpr-site-register-card .probpr-site-sale-price-block {
    width: 100%;
    margin: 2px 0 4px;
    padding: 14px;
    border-radius: 18px;
}

.probpr-site-register-card .probpr-site-sale-price-row {
    align-items: center;
}

.probpr-site-register-card .probpr-site-sale-price-row strong {
    font-size: 34px;
    letter-spacing: -0.04em;
}

.probpr-site-registration-targets-form {
    gap: 14px;
}

.probpr-registration-targets {
    gap: 9px;
    padding: 12px;
    border-color: #dbeafe;
    border-radius: 20px;
    background: #f8fbff;
}

.probpr-registration-targets-head {
    padding-bottom: 8px;
}

.probpr-registration-targets-head strong {
    font-size: 14px;
    font-weight: 900;
}

.probpr-registration-targets-head a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #eef3ff;
    color: var(--site-primary);
    font-size: 12px;
    font-weight: 900;
}

.probpr-registration-target {
    align-items: center;
    padding: 11px 12px;
    border-radius: 16px;
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.probpr-registration-target:hover {
    border-color: #bfdbfe;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.probpr-registration-target input {
    width: 17px;
    height: 17px;
    accent-color: var(--site-primary);
}

.probpr-registration-target:has(input:checked) {
    border-color: #93c5fd;
    background: #eff6ff;
}

.probpr-registration-form-actions {
    gap: 9px;
}

.probpr-site-event-details {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.probpr-site-detail-card {
    padding: 16px;
    border-radius: 20px;
}

.probpr-site-detail-card span {
    font-size: 11.5px;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.probpr-site-detail-card strong {
    margin-top: 7px;
    font-size: 16px;
}

.probpr-site-detail-card-wide {
    grid-column: span 2;
}

.probpr-site-specialty-match-card,
.probpr-site-documents-card,
.probpr-site-program-item {
    border-radius: 22px;
}

@media (max-width: 1100px) {
    .probpr-site-event-hero-grid {
        grid-template-columns: 1fr;
    }

    .probpr-site-register-card {
        position: static;
    }
}

@media (max-width: 760px) {
    .probpr-site-event-hero {
        padding-top: 24px;
    }

    .probpr-site-event-hero-main {
        grid-template-columns: 1fr;
        padding: 18px;
        border-radius: 26px;
    }

    .probpr-site-event-hero-poster {
        width: min(220px, 100%);
    }

    .probpr-site-event-hero h1 {
        font-size: clamp(28px, 9vw, 40px);
        letter-spacing: -0.038em;
    }

    .probpr-site-event-hero-meta span {
        font-size: 11.5px;
    }

    .probpr-site-register-card {
        padding: 18px;
        border-radius: 24px;
    }

    .probpr-site-register-price,
    .probpr-site-register-card > strong,
    .probpr-site-register-card .probpr-site-sale-price-row strong {
        font-size: 30px;
    }

    .probpr-registration-targets-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .probpr-registration-targets-head a {
        width: 100%;
    }

    .probpr-site-detail-card-wide {
        grid-column: auto;
    }
}

/* ProBPR v53.3 — офіційні програми всередині першого екрана заходу */
.probpr-site-event-hero {
    padding: 34px 0 22px;
}

.probpr-site-event-hero-main {
    align-content: start;
    gap: 20px 24px;
    padding: 24px 26px 22px;
}

.probpr-site-event-hero h1 {
    max-width: 720px;
    font-size: clamp(30px, 3.15vw, 46px);
    line-height: 1.07;
    letter-spacing: -0.042em;
}

.probpr-site-event-hero-poster {
    align-self: start;
}

.probpr-site-hero-documents {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 12px;
    padding: 18px;
    border: 1px solid rgba(219, 228, 240, 0.92);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055);
}

.probpr-site-hero-documents-copy {
    min-width: 220px;
}

.probpr-site-hero-documents-copy .probpr-site-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--site-primary);
    font-size: 10.5px;
    letter-spacing: 0.095em;
}

.probpr-site-hero-documents-copy strong {
    display: block;
    color: var(--site-text);
    font-size: 21px;
    line-height: 1.12;
    letter-spacing: -0.035em;
    font-weight: 950;
}

.probpr-site-hero-documents-copy small {
    display: block;
    margin-top: 6px;
    color: var(--site-muted);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 650;
}

.probpr-site-hero-document-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
}

.probpr-site-hero-document-actions .probpr-site-document-button {
    min-height: 38px;
    padding: 9px 13px;
    font-size: 12px;
    box-shadow: 0 10px 22px rgba(22, 71, 255, 0.13);
}

.probpr-site-hero-document-actions .probpr-site-document-button-light {
    box-shadow: none;
}

.probpr-site-event-hero + .probpr-site-section {
    padding-top: 20px;
}

@media (max-width: 1180px) {
    .probpr-site-event-hero-main {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .probpr-site-event-hero h1 {
        font-size: clamp(30px, 3.5vw, 42px);
    }

    .probpr-site-hero-documents {
        align-items: flex-start;
        flex-direction: column;
    }

    .probpr-site-hero-document-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .probpr-site-event-hero {
        padding-top: 22px;
    }

    .probpr-site-event-hero-main {
        gap: 16px;
        padding: 17px;
    }

    .probpr-site-event-hero h1 {
        font-size: clamp(27px, 8vw, 38px);
        line-height: 1.08;
    }

    .probpr-site-hero-documents {
        margin-top: 4px;
        padding: 15px;
        border-radius: 18px;
    }

    .probpr-site-hero-documents-copy {
        min-width: 0;
    }

    .probpr-site-hero-documents-copy strong {
        font-size: 19px;
    }

    .probpr-site-hero-document-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .probpr-site-hero-document-actions .probpr-site-document-button {
        width: 100%;
        min-height: 40px;
        text-align: center;
    }
}


/* ProBPR v53.4 — компактніший перший екран заходу без дублювання деталей */
.probpr-site-event-hero-main.has-poster {
    grid-template-columns: 210px minmax(0, 1fr);
}

.probpr-site-event-hero-poster-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-self: start;
    min-width: 0;
}

.probpr-site-event-hero-poster-stack .probpr-site-back {
    align-self: flex-start;
    margin: 0;
    white-space: nowrap;
}

.probpr-site-event-hero-copy {
    padding-top: 32px;
}

.probpr-site-event-hero-main.no-poster .probpr-site-event-hero-copy {
    padding-top: 0;
}

.probpr-site-event-hero h1 {
    margin-top: 0;
}

.probpr-site-event-type-chip {
    background: #eef3ff !important;
    color: #1d4ed8 !important;
    border-color: rgba(147, 197, 253, 0.75) !important;
}

.probpr-site-event-hero-meta .probpr-site-required-topic-chip {
    max-width: 100%;
}

.probpr-site-event-hero + .probpr-site-section {
    padding-top: 30px;
}

.probpr-site-event-details {
    display: none;
}

@media (max-width: 1180px) {
    .probpr-site-event-hero-main.has-poster {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .probpr-site-event-hero-copy {
        padding-top: 28px;
    }
}

@media (max-width: 760px) {
    .probpr-site-event-hero-main.has-poster {
        grid-template-columns: 1fr;
    }

    .probpr-site-event-hero-poster-stack {
        gap: 12px;
    }

    .probpr-site-event-hero-poster-stack .probpr-site-back {
        width: 100%;
        justify-content: center;
    }

    .probpr-site-event-hero-copy {
        padding-top: 0;
    }

    .probpr-site-event-hero-meta {
        gap: 6px;
    }

    .probpr-site-event-hero + .probpr-site-section {
        padding-top: 22px;
    }
}


/* ProBPR v53.5 — фінальне мікрополірування hero-блоку заходу з підтримкою довгих назв */
.probpr-site-event-hero-main.has-poster {
    grid-template-columns: 195px minmax(0, 1fr);
    gap: 18px 24px;
}

.probpr-site-event-hero-poster-stack {
    gap: 12px;
}

.probpr-site-event-hero-copy {
    padding-top: 26px;
}

.probpr-site-event-hero h1,
.probpr-site-event-title {
    max-width: 720px;
    font-size: clamp(28px, 2.85vw, 42px);
    line-height: 1.075;
    letter-spacing: -0.04em;
    overflow-wrap: anywhere;
    word-break: normal;
}

.probpr-site-event-title.is-long {
    max-width: 760px;
    font-size: clamp(26px, 2.55vw, 38px);
    line-height: 1.085;
    letter-spacing: -0.038em;
}

.probpr-site-event-title.is-very-long {
    max-width: 780px;
    font-size: clamp(24px, 2.25vw, 34px);
    line-height: 1.1;
    letter-spacing: -0.034em;
}

.probpr-site-event-hero-meta {
    margin-top: 14px;
}

.probpr-site-hero-documents {
    margin-top: 8px;
    padding: 14px 16px;
    border-radius: 20px;
    gap: 14px;
}

.probpr-site-hero-documents-copy .probpr-site-eyebrow {
    margin-bottom: 4px;
    font-size: 10px;
}

.probpr-site-hero-documents-copy strong {
    font-size: 20px;
    line-height: 1.1;
}

.probpr-site-hero-documents-copy small {
    margin-top: 5px;
    font-size: 12.5px;
    line-height: 1.35;
}

.probpr-site-hero-document-actions {
    gap: 8px;
}

.probpr-site-hero-document-actions .probpr-site-document-button {
    min-height: 34px;
    padding: 8px 12px;
    font-size: 11.5px;
}

@media (max-width: 1180px) {
    .probpr-site-event-hero-main.has-poster {
        grid-template-columns: 180px minmax(0, 1fr);
    }

    .probpr-site-event-hero-copy {
        padding-top: 22px;
    }

    .probpr-site-event-hero h1,
    .probpr-site-event-title {
        font-size: clamp(27px, 3vw, 38px);
    }

    .probpr-site-event-title.is-long {
        font-size: clamp(25px, 2.75vw, 35px);
    }

    .probpr-site-event-title.is-very-long {
        font-size: clamp(23px, 2.45vw, 32px);
    }
}

@media (max-width: 760px) {
    .probpr-site-event-hero-main.has-poster {
        grid-template-columns: 1fr;
    }

    .probpr-site-event-hero-copy {
        padding-top: 0;
    }

    .probpr-site-event-hero h1,
    .probpr-site-event-title,
    .probpr-site-event-title.is-long,
    .probpr-site-event-title.is-very-long {
        font-size: clamp(25px, 7.2vw, 34px);
        line-height: 1.09;
        letter-spacing: -0.034em;
    }

    .probpr-site-hero-documents {
        padding: 14px;
    }

    .probpr-site-hero-documents-copy strong {
        font-size: 18px;
    }
}

/* ProBPR v53.6 — прибираємо зайву порожнечу всередині hero-картки заходу */
.probpr-site-event-hero-grid {
    align-items: start;
}

.probpr-site-event-hero-main.has-poster {
    align-self: start;
    padding-bottom: 18px;
}

.probpr-site-event-hero-copy {
    padding-top: 22px;
}

.probpr-site-event-hero-poster-stack {
    gap: 11px;
}

.probpr-site-hero-documents {
    margin-top: 4px;
}

.probpr-site-event-title,
.probpr-site-event-hero h1 {
    margin-bottom: 0;
}

@media (max-width: 1180px) {
    .probpr-site-event-hero-copy {
        padding-top: 18px;
    }
}

@media (max-width: 760px) {
    .probpr-site-event-hero-main.has-poster {
        padding-bottom: 16px;
    }

    .probpr-site-event-hero-copy {
        padding-top: 0;
    }

    .probpr-site-hero-documents {
        margin-top: 2px;
    }
}

/* ProBPR v53.7 — обмеження дуже довгих назв заходу в hero-блоці */
.probpr-site-event-title,
.probpr-site-event-hero h1.probpr-site-event-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.1em * 8);
}

.probpr-site-event-title.is-long,
.probpr-site-event-title.is-very-long {
    -webkit-line-clamp: 8;
    max-height: calc(1.11em * 8);
}

@media (max-width: 760px) {
    .probpr-site-event-title,
    .probpr-site-event-title.is-long,
    .probpr-site-event-title.is-very-long,
    .probpr-site-event-hero h1.probpr-site-event-title {
        -webkit-line-clamp: 7;
        max-height: calc(1.1em * 7);
    }
}

/* ProBPR v53.8 — checkout payment side polish */
.probpr-payment-side {
    align-items: center;
    text-align: center;
}

.probpr-payment-side > span,
.probpr-payment-side > strong,
.probpr-payment-side > p {
    width: 100%;
    text-align: center;
}

.probpr-payment-side > span {
    margin-bottom: -2px;
}

.probpr-payment-side > strong {
    font-size: clamp(36px, 3.2vw, 44px);
    line-height: 1;
}

.probpr-payment-side > p {
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
}

.probpr-site-payment-gateway,
.probpr-site-payment-actions {
    width: 100%;
}

.probpr-site-payment-actions .probpr-site-button,
.probpr-site-payment-gateway .probpr-payment-gateway-form .probpr-button,
.probpr-site-payment-gateway .probpr-payment-gateway-form button {
    text-align: center;
}

@media (max-width: 560px) {
    .probpr-payment-side > strong {
        font-size: 34px;
    }
}


/* ProBPR v54.3.8 — тип заходу над афішею в картках */
.probpr-site-event-card.has-poster {
    grid-template-columns: 118px minmax(0, 1fr);
}

.probpr-site-event-card-visual {
    width: 118px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    align-self: start;
}

.probpr-site-event-card-type-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    max-width: 118px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef3ff;
    color: var(--site-primary);
    font-size: 10.5px;
    line-height: 1.15;
    font-weight: 900;
    text-align: center;
    letter-spacing: -0.01em;
}

.probpr-site-event-card.has-poster .probpr-site-event-card-top {
    justify-content: flex-end;
    min-height: 20px;
    margin-bottom: 6px;
}

.probpr-site-event-card.has-poster .probpr-site-event-card-top > span[aria-hidden="true"] {
    display: none;
}

.probpr-site-event-card.has-poster .probpr-site-event-card-poster {
    margin-top: 0;
}

@media (max-width: 760px) {
    .probpr-site-event-card.has-poster {
        grid-template-columns: 100px minmax(0, 1fr);
    }

    .probpr-site-event-card-visual {
        width: 100px;
        gap: 6px;
    }

    .probpr-site-event-card-type-badge {
        max-width: 100px;
        min-height: 22px;
        padding: 4px 7px;
        font-size: 9.8px;
    }
}

@media (max-width: 460px) {
    .probpr-site-event-card.has-poster {
        grid-template-columns: 86px minmax(0, 1fr);
    }

    .probpr-site-event-card-visual {
        width: 86px;
    }

    .probpr-site-event-card-type-badge {
        max-width: 86px;
        min-height: 21px;
        padding: 4px 6px;
        font-size: 9.2px;
    }
}


/* ProBPR v54.3.9 — free registration UI */
.probpr-site-price-chip.is-free {
    background: #eaf7ef;
    color: #137a39;
    border-color: rgba(19, 122, 57, .18);
}

.probpr-site-register-price.is-free {
    color: #137a39;
}

.probpr-site-free-note,
.probpr-site-cart-free-note {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.45;
}

.probpr-registration-form-actions.is-free-registration {
    gap: 10px;
}

.probpr-registration-form-actions.is-free-registration .probpr-site-button:first-child {
    box-shadow: 0 18px 40px rgba(37, 72, 255, .24);
}

.probpr-site-cart-summary > .probpr-site-cart-free-note {
    text-align: center;
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 680px) {
    .probpr-registration-form-actions.is-free-registration {
        display: flex;
        flex-direction: column;
    }
}


/* ProBPR v78.20.8 — provider contacts, support and footer links */
.probpr-site-section-tight {
    padding-top: 18px;
    padding-bottom: 18px;
}

.probpr-site-contact-card {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, .75fr) minmax(220px, .55fr);
    gap: 18px;
    align-items: stretch;
    padding: 24px;
    border: 1px solid var(--site-border);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--site-accent) 20%, transparent), transparent 18rem),
        #ffffff;
    box-shadow: 0 16px 44px rgba(15, 23, 42, .06);
}

.probpr-site-contact-copy h2 {
    margin: 7px 0 8px;
    color: var(--site-text);
    font-size: 28px;
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: -.035em;
}

.probpr-site-contact-copy p,
.probpr-site-contact-hours p {
    margin: 0;
    color: var(--site-muted);
    font-size: 14px;
    line-height: 1.55;
}

.probpr-site-contact-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.probpr-site-contact-actions a,
.probpr-site-event-support-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 12px;
    border: 1px solid color-mix(in srgb, var(--site-primary) 18%, var(--site-border));
    border-radius: 999px;
    background: #fff;
    color: var(--site-primary);
    font-size: 13px;
    font-weight: 850;
    line-height: 1.2;
    text-decoration: none;
}

.probpr-site-contact-actions a:hover,
.probpr-site-event-support-card a:hover {
    border-color: color-mix(in srgb, var(--site-primary) 36%, var(--site-border));
    text-decoration: none;
}

.probpr-site-contact-hours {
    padding: 14px;
    border-radius: 20px;
    background: color-mix(in srgb, var(--site-primary) 7%, #ffffff);
}

.probpr-site-contact-hours strong {
    display: block;
    margin-bottom: 6px;
    color: var(--site-text);
    font-size: 13px;
    font-weight: 900;
}

.probpr-site-event-support-card {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    padding: 14px;
    border: 1px solid var(--site-border);
    border-radius: 18px;
    background: #ffffff;
}

.probpr-site-event-support-card strong {
    color: var(--site-text);
    font-size: 15px;
    font-weight: 950;
}

.probpr-site-event-support-card p,
.probpr-site-event-support-card small {
    margin: 0;
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 700;
}

.probpr-site-event-support-card > div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.probpr-site-event-support-card a {
    min-height: 30px;
    padding: 6px 10px;
    font-size: 12px;
}

.probpr-site-footer-grid-v2 {
    display: grid;
    grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(160px, .65fr));
    gap: 24px;
    align-items: start;
}

.probpr-site-footer-brand small {
    display: block;
    margin-top: 6px;
    color: var(--site-muted);
    font-size: 12px;
    font-weight: 800;
}

.probpr-site-footer-column {
    display: grid;
    gap: 7px;
    justify-items: start;
}

.probpr-site-footer-column h3 {
    margin: 0 0 4px;
    color: var(--site-text);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 950;
}

.probpr-site-footer-column a,
.probpr-site-footer-column span {
    color: var(--site-muted);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 750;
    text-decoration: none;
}

.probpr-site-footer-column a:hover {
    color: var(--site-primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.probpr-site-footer-hours {
    display: grid;
    gap: 3px;
    margin-top: 4px;
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.45;
}

.probpr-site-footer-hours b {
    color: var(--site-text);
    font-size: 12px;
}

@media (max-width: 980px) {
    .probpr-site-contact-card,
    .probpr-site-footer-grid-v2 {
        grid-template-columns: 1fr;
    }

    .probpr-site-footer-column,
    .probpr-site-footer-contacts {
        align-items: flex-start;
        justify-items: start;
    }
}



.probpr-site-contact-aside {
    display: grid;
    gap: 12px;
}

@media (min-width: 981px) {
    .probpr-site-contact-aside {
        grid-column: 2;
    }
}


/* ProBPR v78.20.8.1 — visual cleanup for provider contacts */
.probpr-site-section-contact-strip {
    padding-top: 8px !important;
    padding-bottom: 34px !important;
}

.probpr-site-contact-strip {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(320px, auto);
    gap: 14px 22px;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid color-mix(in srgb, var(--site-primary) 10%, var(--site-border));
    border-radius: 24px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 18px 46px rgba(15, 23, 42, .055);
}

.probpr-site-contact-strip-copy h2 {
    margin: 5px 0 6px;
    color: var(--site-text);
    font-size: 22px;
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -.03em;
}

.probpr-site-contact-strip-copy p {
    max-width: 660px;
    margin: 0;
    color: var(--site-muted);
    font-size: 13px;
    line-height: 1.45;
}

.probpr-site-contact-strip-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.probpr-contact-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 34px;
    max-width: 260px;
    padding: 7px 12px;
    border: 1px solid color-mix(in srgb, var(--site-primary) 14%, var(--site-border));
    border-radius: 999px;
    background: #ffffff;
    color: var(--site-primary);
    font-size: 12px;
    line-height: 1.15;
    font-weight: 850;
    text-decoration: none !important;
    white-space: nowrap;
}

.probpr-contact-pill strong {
    max-width: 170px;
    overflow: hidden;
    font-weight: 850;
    text-overflow: ellipsis;
}

.probpr-contact-pill.is-primary {
    background: var(--site-primary);
    color: #ffffff;
    border-color: var(--site-primary);
    box-shadow: 0 12px 26px color-mix(in srgb, var(--site-primary) 20%, transparent);
}

.probpr-site-contact-strip-hours {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
    padding-top: 10px;
    border-top: 1px dashed color-mix(in srgb, var(--site-primary) 12%, var(--site-border));
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.35;
}

.probpr-site-contact-strip-hours span {
    color: var(--site-text);
    font-weight: 900;
}

.probpr-site-contact-strip-hours strong {
    color: var(--site-muted);
    font-weight: 750;
}

/* Event page support card */
.probpr-site-event-support-card-v2 {
    gap: 7px !important;
    margin-top: 14px !important;
    padding: 14px !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--site-primary) 4%, #ffffff) 100%) !important;
}

.probpr-site-event-support-label {
    width: max-content;
    padding: 3px 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--site-primary) 9%, #ffffff);
    color: var(--site-primary);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.probpr-site-event-support-card-v2 strong {
    font-size: 14px !important;
    line-height: 1.2 !important;
}

.probpr-site-event-support-card-v2 p {
    font-size: 12px !important;
    font-weight: 650 !important;
}

.probpr-site-event-support-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
}

.probpr-site-event-support-card-v2 a {
    min-height: 28px !important;
    padding: 5px 9px !important;
    font-size: 11px !important;
}

.probpr-site-event-support-card-v2 a.is-primary {
    background: var(--site-primary) !important;
    color: #ffffff !important;
    border-color: var(--site-primary) !important;
}

.probpr-site-event-support-card-v2 small {
    padding-top: 2px;
    font-size: 11px !important;
    font-weight: 650 !important;
}

/* Footer v3 */
.probpr-site-footer-v3 {
    padding: 30px 0 !important;
}

.probpr-site-footer-grid-v3 {
    display: grid !important;
    grid-template-columns: minmax(300px, 1.15fr) minmax(260px, .9fr) minmax(180px, .55fr) minmax(180px, .55fr);
    gap: 22px;
    align-items: start;
}

.probpr-site-footer-v3 .probpr-site-footer-brand p {
    max-width: 420px;
}

.probpr-site-footer-v3 .probpr-site-footer-column,
.probpr-site-footer-v3 .probpr-site-footer-contacts,
.probpr-site-footer-v3 .probpr-site-footer-contacts-v3 {
    align-items: flex-start !important;
    justify-items: start !important;
    text-align: left !important;
}

.probpr-site-footer-list {
    display: grid;
    gap: 7px;
}

.probpr-site-footer-list a {
    display: grid;
    gap: 2px;
    color: var(--site-text) !important;
    text-decoration: none !important;
}

.probpr-site-footer-list a span {
    color: var(--site-muted);
    font-size: 10px;
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.probpr-site-footer-list a strong {
    max-width: 260px;
    overflow: hidden;
    color: var(--site-primary);
    font-size: 13px;
    line-height: 1.25;
    font-weight: 850;
    text-overflow: ellipsis;
}

.probpr-site-footer-meta {
    display: grid;
    gap: 5px;
    margin-top: 11px;
    padding-top: 11px;
    border-top: 1px dashed var(--site-border);
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.4;
}

.probpr-site-footer-meta a,
.probpr-site-footer-meta span {
    color: var(--site-muted) !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    text-decoration: none !important;
}

.probpr-site-footer-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.probpr-site-footer-pills a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid var(--site-border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--site-muted) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.1;
    text-decoration: none !important;
}

.probpr-site-footer-pills a:hover {
    color: var(--site-primary) !important;
    border-color: color-mix(in srgb, var(--site-primary) 24%, var(--site-border));
    text-decoration: none !important;
}

@media (max-width: 1080px) {
    .probpr-site-footer-grid-v3 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 860px) {
    .probpr-site-contact-strip {
        grid-template-columns: 1fr;
    }

    .probpr-site-contact-strip-actions {
        justify-content: flex-start;
    }

    .probpr-site-footer-grid-v3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .probpr-site-contact-strip {
        padding: 16px;
        border-radius: 20px;
    }

    .probpr-contact-pill {
        width: 100%;
        max-width: none;
        justify-content: flex-start;
    }
}


/* ProBPR v78.20.8.2 — stronger provider mini-site footer */
.probpr-site-footer-v4 {
    margin-top: 0 !important;
    padding: 28px 0 42px !important;
    border-top: 1px solid color-mix(in srgb, var(--site-primary) 8%, var(--site-border)) !important;
    background:
        radial-gradient(circle at 15% 0%, color-mix(in srgb, var(--site-primary) 7%, transparent), transparent 24rem),
        #ffffff !important;
}

.probpr-site-footer-shell {
    display: grid;
    grid-template-columns: minmax(280px, .82fr) minmax(0, 1.58fr);
    gap: 28px;
    align-items: stretch;
    padding: 26px;
    border: 1px solid var(--site-border);
    border-radius: 30px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 22px 56px rgba(15, 23, 42, .055);
}

.probpr-site-footer-brand-v4 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    min-height: 180px;
    padding: 22px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--site-primary) 13%, transparent), transparent 18rem),
        color-mix(in srgb, var(--site-primary) 4%, #ffffff);
}

.probpr-site-footer-brand-v4 strong {
    display: block;
    color: var(--site-text);
    font-size: 22px;
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -.03em;
}

.probpr-site-footer-brand-v4 small {
    display: block;
    margin-top: 8px;
    color: var(--site-primary);
    font-size: 12px;
    line-height: 1.25;
    font-weight: 900;
}

.probpr-site-footer-brand-v4 p {
    max-width: 440px;
    margin: 0;
    color: var(--site-muted);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 650;
}

.probpr-site-footer-content-v4 {
    display: grid;
    grid-template-columns: minmax(270px, 1.15fr) repeat(2, minmax(160px, .65fr));
    gap: 16px;
    align-items: stretch;
}

.probpr-site-footer-card-v4 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-height: 180px;
    padding: 20px;
    border: 1px solid color-mix(in srgb, var(--site-primary) 8%, var(--site-border));
    border-radius: 24px;
    background: #ffffff;
}

.probpr-site-footer-card-v4 h3 {
    margin: 0;
    color: var(--site-text);
    font-size: 14px;
    line-height: 1.2;
    font-weight: 950;
    letter-spacing: -.01em;
}

.probpr-site-footer-contact-list-v4 {
    display: grid;
    gap: 9px;
    width: 100%;
}

.probpr-site-footer-contact-row-v4 {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid color-mix(in srgb, var(--site-primary) 8%, var(--site-border));
    border-radius: 16px;
    background: color-mix(in srgb, var(--site-primary) 3%, #ffffff);
    text-align: left;
    text-decoration: none !important;
}

.probpr-site-footer-contact-row-v4 span,
.probpr-site-footer-mini-group-v4 > span {
    color: var(--site-muted);
    font-size: 10px;
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.probpr-site-footer-contact-row-v4 strong {
    max-width: 100%;
    overflow: hidden;
    color: var(--site-primary);
    font-size: 13px;
    line-height: 1.25;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.probpr-site-footer-mini-group-v4 {
    display: grid;
    gap: 7px;
    width: 100%;
}

.probpr-site-footer-pills-v4,
.probpr-site-footer-links-v4 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.probpr-site-footer-pills-v4 a,
.probpr-site-footer-links-v4 a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 7px 11px;
    border: 1px solid var(--site-border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--site-muted) !important;
    font-size: 12px !important;
    line-height: 1.1;
    font-weight: 850 !important;
    text-decoration: none !important;
}

.probpr-site-footer-pills-v4 a:hover,
.probpr-site-footer-links-v4 a:hover {
    border-color: color-mix(in srgb, var(--site-primary) 28%, var(--site-border));
    color: var(--site-primary) !important;
    text-decoration: none !important;
}

.probpr-site-footer-meta-v4 {
    display: grid;
    gap: 6px;
    width: 100%;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed var(--site-border);
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.42;
    text-align: left;
}

.probpr-site-footer-meta-v4 a,
.probpr-site-footer-meta-v4 span {
    color: var(--site-muted) !important;
    font-size: 12px !important;
    line-height: 1.42;
    font-weight: 650 !important;
    text-decoration: none !important;
}

.probpr-site-footer-meta-v4 b {
    color: var(--site-text);
    font-weight: 900;
}

@media (max-width: 1160px) {
    .probpr-site-footer-shell,
    .probpr-site-footer-content-v4 {
        grid-template-columns: 1fr;
    }

    .probpr-site-footer-brand-v4,
    .probpr-site-footer-card-v4 {
        min-height: 0;
    }
}

@media (max-width: 640px) {
    .probpr-site-footer-shell {
        padding: 16px;
        border-radius: 24px;
    }

    .probpr-site-footer-brand-v4,
    .probpr-site-footer-card-v4 {
        padding: 16px;
        border-radius: 20px;
    }

    .probpr-site-footer-pills-v4 a,
    .probpr-site-footer-links-v4 a {
        width: 100%;
        justify-content: flex-start;
    }
}


/* ProBPR v78.20.8.3 — compact balanced footer */
.probpr-site-footer-v4 {
    padding: 22px 0 30px !important;
}

.probpr-site-footer-shell {
    display: grid !important;
    grid-template-columns: minmax(260px, .9fr) minmax(0, 1.6fr) !important;
    gap: 18px !important;
    align-items: start !important;
    padding: 18px !important;
    border-radius: 26px !important;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .045) !important;
}

.probpr-site-footer-brand-v4 {
    min-height: 0 !important;
    height: auto !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    padding: 18px !important;
    border-radius: 20px !important;
}

.probpr-site-footer-brand-v4 strong {
    font-size: 18px !important;
    line-height: 1.12 !important;
}

.probpr-site-footer-brand-v4 small {
    margin-top: 5px !important;
    font-size: 11px !important;
}

.probpr-site-footer-brand-v4 p {
    max-width: 360px !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

.probpr-site-footer-content-v4 {
    display: grid !important;
    grid-template-columns: minmax(300px, 1.35fr) minmax(180px, .65fr) !important;
    gap: 14px !important;
    align-items: stretch !important;
}

.probpr-site-footer-card-v4 {
    min-height: 0 !important;
    height: auto !important;
    gap: 10px !important;
    padding: 16px !important;
    border-radius: 20px !important;
}

.probpr-site-footer-card-v4 h3 {
    font-size: 13px !important;
}

.probpr-site-footer-contact-list-v4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
}

.probpr-site-footer-contact-row-v4 {
    min-height: 58px !important;
    padding: 9px 11px !important;
    border-radius: 14px !important;
}

.probpr-site-footer-contact-row-v4 span,
.probpr-site-footer-mini-group-v4 > span {
    font-size: 9.5px !important;
}

.probpr-site-footer-contact-row-v4 strong {
    font-size: 12px !important;
}

.probpr-site-footer-mini-group-v4 {
    margin-top: 2px !important;
    gap: 6px !important;
}

.probpr-site-footer-pills-v4,
.probpr-site-footer-links-v4 {
    gap: 7px !important;
}

.probpr-site-footer-pills-v4 a,
.probpr-site-footer-links-v4 a {
    min-height: 29px !important;
    padding: 6px 10px !important;
    font-size: 11.5px !important;
}

.probpr-site-footer-meta-v4 {
    margin-top: 2px !important;
    padding-top: 10px !important;
    gap: 5px !important;
    font-size: 11.5px !important;
}

.probpr-site-footer-meta-v4 a,
.probpr-site-footer-meta-v4 span {
    font-size: 11.5px !important;
}

.probpr-site-footer-card-v4:not(.probpr-site-footer-contacts-v4) {
    justify-content: flex-start !important;
}

@media (min-width: 1161px) {
    .probpr-site-footer-shell {
        max-width: 1080px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 1160px) {
    .probpr-site-footer-shell,
    .probpr-site-footer-content-v4 {
        grid-template-columns: 1fr !important;
    }

    .probpr-site-footer-contact-list-v4 {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    .probpr-site-footer-v4 {
        padding: 18px 0 26px !important;
    }

    .probpr-site-footer-shell {
        padding: 14px !important;
        border-radius: 22px !important;
    }

    .probpr-site-footer-brand-v4,
    .probpr-site-footer-card-v4 {
        padding: 14px !important;
        border-radius: 18px !important;
    }
}


/* ProBPR v78.20.8.4 — wide desktop footer */
.probpr-site-footer-v4 .probpr-site-container {
    width: min(100% - 72px, 1480px) !important;
}

.probpr-site-footer-shell {
    max-width: none !important;
    width: 100% !important;
    grid-template-columns: minmax(300px, .72fr) minmax(0, 1.95fr) !important;
    gap: 18px !important;
}

.probpr-site-footer-content-v4 {
    grid-template-columns: minmax(430px, 1.45fr) minmax(220px, .55fr) minmax(220px, .55fr) !important;
    gap: 14px !important;
}

.probpr-site-footer-brand-v4 {
    min-height: 0 !important;
}

.probpr-site-footer-card-v4 {
    min-height: 0 !important;
}

.probpr-site-footer-contacts-v4 {
    min-width: 0 !important;
}

.probpr-site-footer-contact-list-v4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.probpr-site-footer-contact-row-v4 strong {
    white-space: nowrap !important;
}

@media (min-width: 1161px) {
    .probpr-site-footer-shell {
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 1280px) {
    .probpr-site-footer-v4 .probpr-site-container {
        width: min(100% - 42px, 1160px) !important;
    }

    .probpr-site-footer-shell,
    .probpr-site-footer-content-v4 {
        grid-template-columns: 1fr !important;
    }

    .probpr-site-footer-contact-list-v4 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 680px) {
    .probpr-site-footer-v4 .probpr-site-container {
        width: min(100% - 24px, 1160px) !important;
    }

    .probpr-site-footer-contact-list-v4 {
        grid-template-columns: 1fr !important;
    }
}


/* ProBPR v78.20.8.5 — footer logo and combined communication block */
.probpr-site-footer-v5 {
    margin-top: 0 !important;
    padding: 22px 0 32px !important;
    border-top: 1px solid color-mix(in srgb, var(--site-primary) 8%, var(--site-border)) !important;
    background:
        radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--site-primary) 7%, transparent), transparent 24rem),
        #ffffff !important;
}

.probpr-site-footer-v5 .probpr-site-container {
    width: min(100% - 72px, 1480px) !important;
}

.probpr-site-footer-shell-v5 {
    display: grid;
    grid-template-columns: minmax(310px, .62fr) minmax(620px, 1.55fr) minmax(180px, .42fr);
    gap: 16px;
    align-items: stretch;
    width: 100%;
    padding: 18px;
    border: 1px solid var(--site-border);
    border-radius: 28px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .045);
}

.probpr-site-footer-brand-v5,
.probpr-site-footer-communication-v5,
.probpr-site-footer-docs-v5 {
    min-height: 0;
    padding: 16px;
    border: 1px solid color-mix(in srgb, var(--site-primary) 8%, var(--site-border));
    border-radius: 22px;
    background: #ffffff;
}

.probpr-site-footer-brand-v5 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--site-primary) 12%, transparent), transparent 18rem),
        color-mix(in srgb, var(--site-primary) 4%, #ffffff);
}

.probpr-site-footer-brand-head-v5 {
    display: flex;
    gap: 12px;
    align-items: center;
    min-width: 0;
}

.probpr-site-footer-logo-v5,
.probpr-site-footer-logo-fallback-v5 {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 18px;
}

.probpr-site-footer-logo-v5 {
    object-fit: contain;
    background: #ffffff;
    border: 1px solid color-mix(in srgb, var(--site-primary) 10%, var(--site-border));
}

.probpr-site-footer-logo-fallback-v5 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--site-primary);
    color: #ffffff;
    font-size: 22px;
    font-weight: 950;
    box-shadow: 0 14px 30px color-mix(in srgb, var(--site-primary) 22%, transparent);
}

.probpr-site-footer-brand-v5 strong {
    display: block;
    color: var(--site-text);
    font-size: 18px;
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: -.025em;
}

.probpr-site-footer-brand-v5 small {
    display: block;
    margin-top: 5px;
    color: var(--site-primary);
    font-size: 11px;
    line-height: 1.25;
    font-weight: 900;
}

.probpr-site-footer-brand-v5 p {
    max-width: 420px;
    margin: 0;
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 650;
}

.probpr-site-footer-communication-v5 {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: 12px 16px;
    align-content: start;
}

.probpr-site-footer-block-head-v5 {
    grid-row: span 2;
    align-self: start;
    display: grid;
    gap: 4px;
    min-width: 0;
}

.probpr-site-footer-block-head-v5 h3,
.probpr-site-footer-docs-v5 h3 {
    margin: 0;
    color: var(--site-text);
    font-size: 14px;
    line-height: 1.15;
    font-weight: 950;
}

.probpr-site-footer-block-head-v5 span {
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
}

.probpr-site-footer-quick-grid-v5 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.probpr-site-footer-quick-card-v5 {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid color-mix(in srgb, var(--site-primary) 9%, var(--site-border));
    border-radius: 15px;
    background: color-mix(in srgb, var(--site-primary) 3%, #ffffff);
    text-align: left;
    text-decoration: none !important;
}

.probpr-site-footer-quick-card-v5 span,
.probpr-site-footer-link-group-v5 > span {
    color: var(--site-muted);
    font-size: 9.5px;
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.probpr-site-footer-quick-card-v5 strong {
    max-width: 100%;
    overflow: hidden;
    color: var(--site-primary);
    font-size: 12px;
    line-height: 1.25;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.probpr-site-footer-online-line-v5 {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    gap: 10px;
    align-items: start;
}

.probpr-site-footer-link-group-v5 {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.probpr-site-footer-link-group-v5 div,
.probpr-site-footer-docs-v5 div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.probpr-site-footer-link-group-v5 a,
.probpr-site-footer-docs-v5 a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 29px;
    padding: 6px 10px;
    border: 1px solid var(--site-border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--site-muted) !important;
    font-size: 11.5px !important;
    line-height: 1.1;
    font-weight: 850 !important;
    text-decoration: none !important;
}

.probpr-site-footer-link-group-v5 a:hover,
.probpr-site-footer-docs-v5 a:hover {
    color: var(--site-primary) !important;
    border-color: color-mix(in srgb, var(--site-primary) 28%, var(--site-border));
    text-decoration: none !important;
}

.probpr-site-footer-meta-line-v5 {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    padding-top: 10px;
    border-top: 1px dashed var(--site-border);
    color: var(--site-muted);
    font-size: 11.5px;
    line-height: 1.35;
}

.probpr-site-footer-meta-line-v5 a,
.probpr-site-footer-meta-line-v5 span {
    color: var(--site-muted) !important;
    font-size: 11.5px !important;
    font-weight: 650 !important;
    text-decoration: none !important;
}

.probpr-site-footer-meta-line-v5 b {
    color: var(--site-text);
    font-weight: 900;
}

.probpr-site-footer-docs-v5 {
    display: grid;
    align-content: start;
    gap: 12px;
}

@media (max-width: 1280px) {
    .probpr-site-footer-v5 .probpr-site-container {
        width: min(100% - 42px, 1160px) !important;
    }

    .probpr-site-footer-shell-v5 {
        grid-template-columns: 1fr;
    }

    .probpr-site-footer-communication-v5 {
        grid-template-columns: 1fr;
    }

    .probpr-site-footer-block-head-v5 {
        grid-row: auto;
    }

    .probpr-site-footer-meta-line-v5 {
        grid-column: auto;
    }
}

@media (max-width: 760px) {
    .probpr-site-footer-v5 .probpr-site-container {
        width: min(100% - 24px, 1160px) !important;
    }

    .probpr-site-footer-shell-v5 {
        padding: 14px;
        border-radius: 22px;
    }

    .probpr-site-footer-brand-v5,
    .probpr-site-footer-communication-v5,
    .probpr-site-footer-docs-v5 {
        padding: 14px;
        border-radius: 18px;
    }

    .probpr-site-footer-quick-grid-v5,
    .probpr-site-footer-online-line-v5 {
        grid-template-columns: 1fr;
    }

    .probpr-site-footer-link-group-v5 a,
    .probpr-site-footer-docs-v5 a {
        width: 100%;
        justify-content: flex-start;
    }
}


/* ProBPR v78.20.8.6 — redesigned footer */
.probpr-site-footer-v6 {
    margin-top: 0 !important;
    padding: 20px 0 30px !important;
    border-top: 1px solid color-mix(in srgb, var(--site-primary) 8%, var(--site-border)) !important;
    background:
        radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--site-primary) 6%, transparent), transparent 24rem),
        #ffffff !important;
}

.probpr-site-footer-v6 .probpr-site-container {
    width: min(100% - 72px, 1480px) !important;
}

.probpr-site-footer-shell-v6 {
    display: grid;
    grid-template-columns: minmax(280px, .58fr) minmax(640px, 1.72fr) minmax(170px, .42fr);
    gap: 14px;
    align-items: stretch;
    width: 100%;
    padding: 14px;
    border: 1px solid var(--site-border);
    border-radius: 26px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .04);
}

.probpr-site-footer-brand-v6,
.probpr-site-footer-communication-v6,
.probpr-site-footer-docs-v6 {
    min-height: 0;
    padding: 16px;
    border: 1px solid color-mix(in srgb, var(--site-primary) 8%, var(--site-border));
    border-radius: 20px;
    background: #ffffff;
}

.probpr-site-footer-brand-v6 {
    display: grid;
    align-content: start;
    gap: 12px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--site-primary) 8%, #ffffff) 0%, #ffffff 65%);
}

.probpr-site-footer-brand-text-v6 strong {
    display: block;
    color: var(--site-text);
    font-size: 18px;
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: -.025em;
}

.probpr-site-footer-brand-text-v6 small {
    display: block;
    margin-top: 5px;
    color: var(--site-primary);
    font-size: 11px;
    line-height: 1.25;
    font-weight: 900;
}

.probpr-site-footer-logo-tray-v6 {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: min(100%, 190px);
    min-height: 54px;
    padding: 8px 10px;
    border: 1px solid color-mix(in srgb, var(--site-primary) 9%, var(--site-border));
    border-radius: 16px;
    background: rgba(255, 255, 255, .88);
}

.probpr-site-footer-logo-tray-v6 img {
    display: block;
    max-width: 160px;
    max-height: 42px;
    object-fit: contain;
}

.probpr-site-footer-logo-tray-v6.is-fallback span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--site-primary);
    color: #ffffff;
    font-size: 20px;
    font-weight: 950;
}

.probpr-site-footer-brand-v6 p {
    max-width: 340px;
    margin: 0;
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 650;
}

.probpr-site-footer-communication-v6 {
    display: grid;
    grid-template-columns: minmax(165px, .44fr) minmax(330px, .84fr) minmax(260px, .72fr);
    gap: 12px 14px;
    align-content: start;
    align-items: start;
}

.probpr-site-footer-communication-head-v6 {
    min-width: 0;
}

.probpr-site-footer-communication-head-v6 h3,
.probpr-site-footer-docs-v6 h3 {
    margin: 0;
    color: var(--site-text);
    font-size: 14px;
    line-height: 1.15;
    font-weight: 950;
}

.probpr-site-footer-communication-head-v6 span {
    display: block;
    margin-top: 5px;
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
}

.probpr-site-footer-contact-row-v6 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.probpr-site-footer-contact-row-v6 a {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid color-mix(in srgb, var(--site-primary) 9%, var(--site-border));
    border-radius: 15px;
    background: color-mix(in srgb, var(--site-primary) 3%, #ffffff);
    text-decoration: none !important;
}

.probpr-site-footer-contact-row-v6 a span,
.probpr-site-footer-link-group-v6 > span {
    color: var(--site-muted);
    font-size: 9.5px;
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.probpr-site-footer-contact-row-v6 a strong {
    max-width: 100%;
    overflow: hidden;
    color: var(--site-primary);
    font-size: 12px;
    line-height: 1.25;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.probpr-site-footer-online-grid-v6 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    min-width: 0;
}

.probpr-site-footer-link-group-v6 {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.probpr-site-footer-link-group-v6 div,
.probpr-site-footer-docs-v6 div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.probpr-site-footer-link-group-v6 a,
.probpr-site-footer-docs-v6 a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 29px;
    padding: 6px 10px;
    border: 1px solid var(--site-border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--site-muted) !important;
    font-size: 11.5px !important;
    line-height: 1.1;
    font-weight: 850 !important;
    text-decoration: none !important;
}

.probpr-site-footer-link-group-v6 a:hover,
.probpr-site-footer-docs-v6 a:hover {
    color: var(--site-primary) !important;
    border-color: color-mix(in srgb, var(--site-primary) 28%, var(--site-border));
    text-decoration: none !important;
}

.probpr-site-footer-meta-v6 {
    grid-column: 2 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    padding-top: 9px;
    border-top: 1px dashed var(--site-border);
    color: var(--site-muted);
    font-size: 11.5px;
    line-height: 1.35;
}

.probpr-site-footer-meta-v6 a,
.probpr-site-footer-meta-v6 span {
    color: var(--site-muted) !important;
    font-size: 11.5px !important;
    font-weight: 650 !important;
    text-decoration: none !important;
}

.probpr-site-footer-meta-v6 b {
    color: var(--site-text);
    font-weight: 900;
}

.probpr-site-footer-docs-v6 {
    display: grid;
    align-content: start;
    gap: 11px;
}

@media (max-width: 1340px) {
    .probpr-site-footer-v6 .probpr-site-container {
        width: min(100% - 42px, 1160px) !important;
    }

    .probpr-site-footer-shell-v6 {
        grid-template-columns: 1fr;
    }

    .probpr-site-footer-communication-v6 {
        grid-template-columns: 1fr;
    }

    .probpr-site-footer-meta-v6 {
        grid-column: auto;
    }
}

@media (max-width: 760px) {
    .probpr-site-footer-v6 .probpr-site-container {
        width: min(100% - 24px, 1160px) !important;
    }

    .probpr-site-footer-shell-v6 {
        padding: 12px;
        border-radius: 22px;
    }

    .probpr-site-footer-brand-v6,
    .probpr-site-footer-communication-v6,
    .probpr-site-footer-docs-v6 {
        padding: 14px;
        border-radius: 18px;
    }

    .probpr-site-footer-contact-row-v6 {
        grid-template-columns: 1fr;
    }

    .probpr-site-footer-link-group-v6 a,
    .probpr-site-footer-docs-v6 a {
        width: 100%;
        justify-content: flex-start;
    }
}


/* ProBPR v78.20.8.7 — footer as clean labeled rows */
.probpr-site-footer-v7 {
    margin-top: 0 !important;
    padding: 20px 0 30px !important;
    border-top: 1px solid color-mix(in srgb, var(--site-primary) 8%, var(--site-border)) !important;
    background:
        radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--site-primary) 5%, transparent), transparent 24rem),
        #ffffff !important;
}

.probpr-site-footer-v7 .probpr-site-container {
    width: min(100% - 72px, 1480px) !important;
}

.probpr-site-footer-shell-v7 {
    display: grid;
    grid-template-columns: minmax(270px, .48fr) minmax(680px, 1.72fr) minmax(170px, .36fr);
    gap: 14px;
    align-items: stretch;
    width: 100%;
    padding: 14px;
    border: 1px solid var(--site-border);
    border-radius: 26px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .04);
}

.probpr-site-footer-brand-v7,
.probpr-site-footer-communication-v7,
.probpr-site-footer-docs-v7 {
    min-height: 0;
    padding: 16px;
    border: 1px solid color-mix(in srgb, var(--site-primary) 8%, var(--site-border));
    border-radius: 20px;
    background: #ffffff;
}

.probpr-site-footer-brand-v7 {
    display: grid;
    align-content: start;
    gap: 12px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--site-primary) 8%, #ffffff) 0%, #ffffff 70%);
}

.probpr-site-footer-brand-text-v7 strong {
    display: block;
    color: var(--site-text);
    font-size: 18px;
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: -.025em;
}

.probpr-site-footer-brand-text-v7 small {
    display: block;
    margin-top: 5px;
    color: var(--site-primary);
    font-size: 11px;
    line-height: 1.25;
    font-weight: 900;
}

.probpr-site-footer-logo-tray-v7 {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: min(100%, 190px);
    min-height: 54px;
    padding: 8px 10px;
    border: 1px solid color-mix(in srgb, var(--site-primary) 9%, var(--site-border));
    border-radius: 16px;
    background: rgba(255, 255, 255, .9);
}

.probpr-site-footer-logo-tray-v7 img {
    display: block;
    max-width: 160px;
    max-height: 42px;
    object-fit: contain;
}

.probpr-site-footer-logo-tray-v7.is-fallback span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--site-primary);
    color: #ffffff;
    font-size: 20px;
    font-weight: 950;
}

.probpr-site-footer-brand-v7 p {
    max-width: 340px;
    margin: 0;
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 650;
}

.probpr-site-footer-communication-v7 {
    display: grid;
    align-content: start;
    gap: 9px;
}

.probpr-site-footer-communication-head-v7 {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 1px;
}

.probpr-site-footer-communication-head-v7 h3,
.probpr-site-footer-docs-v7 h3 {
    margin: 0;
    color: var(--site-text);
    font-size: 14px;
    line-height: 1.15;
    font-weight: 950;
}

.probpr-site-footer-communication-head-v7 span {
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
}

.probpr-site-footer-line-v7 {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 34px;
    padding-top: 8px;
    border-top: 1px dashed color-mix(in srgb, var(--site-primary) 8%, var(--site-border));
}

.probpr-site-footer-line-label-v7 {
    color: var(--site-muted);
    font-size: 10px;
    line-height: 1.15;
    font-weight: 950;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.probpr-site-footer-line-content-v7 {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    min-width: 0;
}

.probpr-site-footer-info-pill-v7 {
    display: grid;
    gap: 2px;
    min-width: 190px;
    max-width: 280px;
    padding: 8px 11px;
    border: 1px solid color-mix(in srgb, var(--site-primary) 9%, var(--site-border));
    border-radius: 14px;
    background: color-mix(in srgb, var(--site-primary) 3%, #ffffff);
    text-decoration: none !important;
}

.probpr-site-footer-info-pill-v7 span {
    color: var(--site-muted);
    font-size: 9.5px;
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.probpr-site-footer-info-pill-v7 strong {
    max-width: 100%;
    overflow: hidden;
    color: var(--site-primary);
    font-size: 12px;
    line-height: 1.22;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.probpr-site-footer-link-pill-v7,
.probpr-site-footer-docs-v7 a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 29px;
    padding: 6px 10px;
    border: 1px solid var(--site-border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--site-muted) !important;
    font-size: 11.5px !important;
    line-height: 1.1;
    font-weight: 850 !important;
    text-decoration: none !important;
}

.probpr-site-footer-link-pill-v7.is-primary {
    background: var(--site-primary);
    border-color: var(--site-primary);
    color: #ffffff !important;
}

.probpr-site-footer-link-pill-v7:hover,
.probpr-site-footer-docs-v7 a:hover {
    color: var(--site-primary) !important;
    border-color: color-mix(in srgb, var(--site-primary) 28%, var(--site-border));
    text-decoration: none !important;
}

.probpr-site-footer-link-pill-v7.is-primary:hover {
    color: #ffffff !important;
}

.probpr-site-footer-line-v7.is-meta {
    align-items: start;
}

.probpr-site-footer-text-v7,
.probpr-site-footer-text-link-v7 {
    color: var(--site-muted) !important;
    font-size: 11.5px !important;
    line-height: 1.35;
    font-weight: 650 !important;
    text-decoration: none !important;
}

.probpr-site-footer-docs-v7 {
    display: grid;
    align-content: start;
    gap: 11px;
}

.probpr-site-footer-docs-v7 div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

@media (max-width: 1340px) {
    .probpr-site-footer-v7 .probpr-site-container {
        width: min(100% - 42px, 1160px) !important;
    }

    .probpr-site-footer-shell-v7 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .probpr-site-footer-v7 .probpr-site-container {
        width: min(100% - 24px, 1160px) !important;
    }

    .probpr-site-footer-shell-v7 {
        padding: 12px;
        border-radius: 22px;
    }

    .probpr-site-footer-brand-v7,
    .probpr-site-footer-communication-v7,
    .probpr-site-footer-docs-v7 {
        padding: 14px;
        border-radius: 18px;
    }

    .probpr-site-footer-communication-head-v7 {
        display: grid;
        gap: 4px;
    }

    .probpr-site-footer-line-v7 {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .probpr-site-footer-info-pill-v7,
    .probpr-site-footer-link-pill-v7,
    .probpr-site-footer-docs-v7 a {
        width: 100%;
        max-width: none;
        justify-content: flex-start;
    }
}


/* ProBPR v78.20.9 — automatic legal pages */
.probpr-site-legal-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 22px;
    align-items: start;
}

.probpr-site-legal-card,
.probpr-site-legal-details-card,
.probpr-site-legal-note {
    border: 1px solid var(--site-border);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 16px 44px rgba(15, 23, 42, .045);
}

.probpr-site-legal-card {
    padding: 26px;
}

.probpr-site-legal-section + .probpr-site-legal-section {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px dashed var(--site-border);
}

.probpr-site-legal-section h2 {
    margin: 0 0 9px;
    color: var(--site-text);
    font-size: 20px;
    line-height: 1.2;
    font-weight: 950;
    letter-spacing: -.02em;
}

.probpr-site-legal-section p {
    margin: 0;
    color: var(--site-muted);
    font-size: 15px;
    line-height: 1.72;
    font-weight: 560;
}

.probpr-site-legal-aside {
    display: grid;
    gap: 14px;
}

.probpr-site-legal-details-card {
    padding: 18px;
}

.probpr-site-legal-details-card h2 {
    margin: 0 0 12px;
    color: var(--site-text);
    font-size: 16px;
    line-height: 1.2;
    font-weight: 950;
}

.probpr-site-legal-details-card dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

.probpr-site-legal-details-card dl div {
    display: grid;
    gap: 3px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--site-border);
}

.probpr-site-legal-details-card dl div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.probpr-site-legal-details-card dt {
    color: var(--site-muted);
    font-size: 10px;
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.probpr-site-legal-details-card dd {
    margin: 0;
    color: var(--site-text);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 800;
    word-break: break-word;
}

.probpr-site-legal-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.probpr-site-legal-contact-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
    padding: 7px 11px;
    border: 1px solid var(--site-border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.1;
    font-weight: 850;
    text-decoration: none;
}

.probpr-site-legal-contact-actions a.is-primary {
    background: var(--site-primary);
    border-color: var(--site-primary);
    color: #ffffff;
}

.probpr-site-legal-faq {
    display: grid;
    gap: 9px;
}

.probpr-site-legal-faq div {
    padding: 12px 14px;
    border: 1px solid var(--site-border);
    border-radius: 16px;
    background: color-mix(in srgb, var(--site-primary) 3%, #ffffff);
    color: var(--site-text);
    font-size: 14px;
    line-height: 1.45;
    font-weight: 720;
}

.probpr-site-legal-note {
    display: grid;
    gap: 5px;
    padding: 16px;
    background: color-mix(in srgb, var(--site-primary) 4%, #ffffff);
}

.probpr-site-legal-note strong {
    color: var(--site-text);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 950;
}

.probpr-site-legal-note span {
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 650;
}

@media (max-width: 980px) {
    .probpr-site-legal-grid {
        grid-template-columns: 1fr;
    }

    .probpr-site-legal-card {
        padding: 18px;
    }
}


/* ProBPR v78.20.9.1 — footer docs inline + compact social icons */
.probpr-site-footer-v8 {
    margin-top: 0 !important;
    padding: 20px 0 30px !important;
    border-top: 1px solid color-mix(in srgb, var(--site-primary) 8%, var(--site-border)) !important;
    background:
        radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--site-primary) 5%, transparent), transparent 24rem),
        #ffffff !important;
}

.probpr-site-footer-v8 .probpr-site-container {
    width: min(100% - 72px, 1480px) !important;
}

.probpr-site-footer-shell-v8 {
    display: grid;
    grid-template-columns: minmax(270px, .42fr) minmax(720px, 1.58fr);
    gap: 14px;
    align-items: stretch;
    width: 100%;
    padding: 14px;
    border: 1px solid var(--site-border);
    border-radius: 26px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .04);
}

.probpr-site-footer-brand-v8,
.probpr-site-footer-communication-v8 {
    min-height: 0;
    padding: 16px;
    border: 1px solid color-mix(in srgb, var(--site-primary) 8%, var(--site-border));
    border-radius: 20px;
    background: #ffffff;
}

.probpr-site-footer-brand-v8 {
    display: grid;
    align-content: start;
    gap: 12px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--site-primary) 8%, #ffffff) 0%, #ffffff 70%);
}

.probpr-site-footer-brand-text-v8 strong {
    display: block;
    color: var(--site-text);
    font-size: 18px;
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: -.025em;
}

.probpr-site-footer-brand-text-v8 small {
    display: block;
    margin-top: 5px;
    color: var(--site-primary);
    font-size: 11px;
    line-height: 1.25;
    font-weight: 900;
}

.probpr-site-footer-logo-tray-v8 {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: min(100%, 190px);
    min-height: 54px;
    padding: 8px 10px;
    border: 1px solid color-mix(in srgb, var(--site-primary) 9%, var(--site-border));
    border-radius: 16px;
    background: rgba(255, 255, 255, .9);
}

.probpr-site-footer-logo-tray-v8 img {
    display: block;
    max-width: 160px;
    max-height: 42px;
    object-fit: contain;
}

.probpr-site-footer-logo-tray-v8.is-fallback span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--site-primary);
    color: #ffffff;
    font-size: 20px;
    font-weight: 950;
}

.probpr-site-footer-brand-v8 p {
    max-width: 340px;
    margin: 0;
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 650;
}

.probpr-site-footer-communication-v8 {
    display: grid;
    align-content: start;
    gap: 8px;
}

.probpr-site-footer-communication-head-v8 {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 1px;
}

.probpr-site-footer-communication-head-v8 h3 {
    margin: 0;
    color: var(--site-text);
    font-size: 14px;
    line-height: 1.15;
    font-weight: 950;
}

.probpr-site-footer-communication-head-v8 span {
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
}

.probpr-site-footer-line-v8 {
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 32px;
    padding-top: 8px;
    border-top: 1px dashed color-mix(in srgb, var(--site-primary) 8%, var(--site-border));
}

.probpr-site-footer-line-label-v8 {
    color: var(--site-muted);
    font-size: 10px;
    line-height: 1.15;
    font-weight: 950;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.probpr-site-footer-line-content-v8 {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    min-width: 0;
}

.probpr-site-footer-info-pill-v8 {
    display: grid;
    gap: 2px;
    min-width: 190px;
    max-width: 280px;
    padding: 8px 11px;
    border: 1px solid color-mix(in srgb, var(--site-primary) 9%, var(--site-border));
    border-radius: 14px;
    background: color-mix(in srgb, var(--site-primary) 3%, #ffffff);
    text-decoration: none !important;
}

.probpr-site-footer-info-pill-v8 span {
    color: var(--site-muted);
    font-size: 9.5px;
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.probpr-site-footer-info-pill-v8 strong {
    max-width: 100%;
    overflow: hidden;
    color: var(--site-primary);
    font-size: 12px;
    line-height: 1.22;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.probpr-site-footer-icon-row-v8 {
    gap: 8px;
}

.probpr-site-footer-icon-link-v8 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--site-border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--site-muted) !important;
    font-size: 11px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.01em;
    text-decoration: none !important;
    transition: transform .16s ease, border-color .16s ease, color .16s ease, background .16s ease;
}

.probpr-site-footer-icon-link-v8:hover {
    transform: translateY(-1px);
    color: var(--site-primary) !important;
    border-color: color-mix(in srgb, var(--site-primary) 28%, var(--site-border));
    text-decoration: none !important;
}

.probpr-site-footer-icon-link-v8.is-primary {
    background: var(--site-primary);
    border-color: var(--site-primary);
    color: #ffffff !important;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--site-primary) 18%, transparent);
}

.probpr-site-footer-icon-link-v8.is-primary:hover {
    color: #ffffff !important;
}

.probpr-site-footer-text-v8,
.probpr-site-footer-text-link-v8 {
    color: var(--site-muted) !important;
    font-size: 11.5px !important;
    line-height: 1.35;
    font-weight: 650 !important;
    text-decoration: none !important;
}

.probpr-site-footer-docs-inline-v8 a {
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    padding: 6px 10px;
    border: 1px solid var(--site-border);
    border-radius: 999px;
    background: color-mix(in srgb, var(--site-primary) 2%, #ffffff);
    color: var(--site-muted) !important;
    font-size: 11.5px !important;
    line-height: 1.1;
    font-weight: 850 !important;
    text-decoration: none !important;
}

.probpr-site-footer-docs-inline-v8 a:hover {
    color: var(--site-primary) !important;
    border-color: color-mix(in srgb, var(--site-primary) 28%, var(--site-border));
    text-decoration: none !important;
}

@media (max-width: 1340px) {
    .probpr-site-footer-v8 .probpr-site-container {
        width: min(100% - 42px, 1160px) !important;
    }

    .probpr-site-footer-shell-v8 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .probpr-site-footer-v8 .probpr-site-container {
        width: min(100% - 24px, 1160px) !important;
    }

    .probpr-site-footer-shell-v8 {
        padding: 12px;
        border-radius: 22px;
    }

    .probpr-site-footer-brand-v8,
    .probpr-site-footer-communication-v8 {
        padding: 14px;
        border-radius: 18px;
    }

    .probpr-site-footer-communication-head-v8 {
        display: grid;
        gap: 4px;
    }

    .probpr-site-footer-line-v8 {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .probpr-site-footer-info-pill-v8,
    .probpr-site-footer-docs-inline-v8 a {
        width: 100%;
        max-width: none;
        justify-content: flex-start;
    }
}


/* v78.20.9.2 — Real SVG Footer Icons */
.probpr-site-footer-icon-svg-v8,
.probpr-site-footer-info-icon-v8,
.probpr-site-footer-doc-icon-v8 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    line-height: 0;
}

.probpr-site-footer-icon-svg-v8 svg,
.probpr-site-footer-info-icon-v8 svg,
.probpr-site-footer-doc-icon-v8 svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    display: block;
}

.probpr-site-footer-info-pill-v8.has-icon {
    display: flex;
    align-items: center;
    gap: 10px;
}

.probpr-site-footer-info-icon-v8 {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--site-primary) 7%, #ffffff);
    color: var(--site-primary);
    border: 1px solid color-mix(in srgb, var(--site-primary) 10%, var(--site-border));
}

.probpr-site-footer-info-copy-v8 {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.probpr-site-footer-info-copy-v8 span {
    color: var(--site-muted);
    font-size: 9.5px;
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.probpr-site-footer-info-copy-v8 strong {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: var(--site-primary);
    font-size: 12px;
    line-height: 1.22;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.probpr-site-footer-icon-link-v8 {
    position: relative;
}

.probpr-site-footer-icon-link-v8 .probpr-site-footer-icon-svg-v8 {
    color: inherit;
}

.probpr-site-footer-icon-link-v8 .probpr-site-footer-icon-svg-v8 svg {
    width: 17px;
    height: 17px;
}

.probpr-site-footer-icon-link-v8[aria-label="Viber"] .probpr-site-footer-icon-svg-v8 svg {
    width: 18px;
    height: 18px;
}

.probpr-site-footer-docs-inline-v8 a {
    gap: 7px;
}

.probpr-site-footer-doc-icon-v8 {
    color: var(--site-primary);
}

.probpr-site-footer-doc-icon-v8 svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 760px) {
    .probpr-site-footer-info-pill-v8.has-icon {
        width: 100%;
        max-width: none;
    }
}




/* ProBPR v78.20.9.3 — Premium SVG icon style */
.probpr-site-footer-icon-link-v8 {
    --probpr-footer-icon-color: var(--site-primary);
    --probpr-footer-icon-bg: color-mix(in srgb, var(--probpr-footer-icon-color) 8%, #ffffff);
    --probpr-footer-icon-border: color-mix(in srgb, var(--probpr-footer-icon-color) 18%, var(--site-border));
    width: 36px !important;
    height: 36px !important;
    border-color: var(--probpr-footer-icon-border) !important;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,.9), transparent 48%),
        var(--probpr-footer-icon-bg) !important;
    color: var(--probpr-footer-icon-color) !important;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--probpr-footer-icon-color) 10%, transparent);
}

.probpr-site-footer-icon-link-v8:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--probpr-footer-icon-color) 36%, var(--site-border)) !important;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,.96), transparent 48%),
        color-mix(in srgb, var(--probpr-footer-icon-color) 12%, #ffffff) !important;
    color: var(--probpr-footer-icon-color) !important;
    box-shadow: 0 14px 30px color-mix(in srgb, var(--probpr-footer-icon-color) 18%, transparent);
}

.probpr-site-footer-icon-link-v8.is-primary {
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,.38), transparent 45%),
        var(--probpr-footer-icon-color) !important;
    border-color: var(--probpr-footer-icon-color) !important;
    color: #ffffff !important;
}

.probpr-site-footer-icon-link-v8.is-primary:hover {
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,.42), transparent 45%),
        color-mix(in srgb, var(--probpr-footer-icon-color) 92%, #000000) !important;
    color: #ffffff !important;
}

.probpr-site-footer-icon-link-v8.is-telegram { --probpr-footer-icon-color: #229ED9; }
.probpr-site-footer-icon-link-v8.is-viber { --probpr-footer-icon-color: #7360F2; }
.probpr-site-footer-icon-link-v8.is-facebook { --probpr-footer-icon-color: #1877F2; }
.probpr-site-footer-icon-link-v8.is-instagram { --probpr-footer-icon-color: #E4405F; }
.probpr-site-footer-icon-link-v8.is-youtube { --probpr-footer-icon-color: #FF0033; }
.probpr-site-footer-icon-link-v8.is-tiktok { --probpr-footer-icon-color: #111827; }
.probpr-site-footer-icon-link-v8.is-linkedin { --probpr-footer-icon-color: #0A66C2; }
.probpr-site-footer-icon-link-v8.is-website { --probpr-footer-icon-color: var(--site-accent); }

.probpr-site-footer-icon-link-v8 .probpr-site-footer-icon-svg-v8 svg {
    width: 17px;
    height: 17px;
}

.probpr-site-footer-icon-link-v8.is-viber .probpr-site-footer-icon-svg-v8 svg {
    width: 19px;
    height: 19px;
}

.probpr-site-footer-icon-link-v8.is-youtube .probpr-site-footer-icon-svg-v8 svg {
    width: 18px;
    height: 18px;
}

.probpr-site-footer-info-pill-v8.has-icon {
    background:
        radial-gradient(circle at 20% 15%, color-mix(in srgb, var(--site-primary) 8%, transparent), transparent 55%),
        color-mix(in srgb, var(--site-primary) 2%, #ffffff) !important;
}

.probpr-site-footer-info-pill-v8.has-icon:hover {
    border-color: color-mix(in srgb, var(--site-primary) 22%, var(--site-border));
    box-shadow: 0 10px 24px rgba(15, 23, 42, .045);
}

.probpr-site-footer-info-icon-v8 {
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,.95), transparent 48%),
        color-mix(in srgb, var(--site-primary) 10%, #ffffff) !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.6);
}

.probpr-site-footer-docs-inline-v8 a {
    background:
        radial-gradient(circle at 10% 10%, color-mix(in srgb, var(--site-primary) 6%, transparent), transparent 60%),
        #ffffff !important;
}

.probpr-site-footer-docs-inline-v8 a:hover {
    box-shadow: 0 10px 24px rgba(15, 23, 42, .045);
}

.probpr-site-footer-doc-icon-v8 {
    width: 22px;
    height: 22px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--site-primary) 8%, #ffffff);
    color: var(--site-primary);
}

.probpr-site-footer-doc-icon-v8 svg {
    width: 12px !important;
    height: 12px !important;
}


/* ProBPR v78.20.9.4 — Mobile Site Polish
   CSS-only: center only compact visual blocks, keep long readable text left-aligned. */
@media (max-width: 680px) {
    .probpr-site {
        overflow-x: hidden;
    }

    .probpr-site-container {
        width: min(100% - 24px, 1160px) !important;
    }

    /* Header: keep brand readable, make menu smoother on iPhone */
    .probpr-site-header {
        background: rgba(255, 255, 255, .94);
    }

    .probpr-site-header-inner {
        align-items: stretch;
        gap: 12px;
        padding: 14px 0 12px !important;
    }

    .probpr-site-brand {
        align-self: center;
        max-width: 100%;
    }

    .probpr-site-brand img,
    .probpr-site-brand-mark {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
        border-radius: 18px;
    }

    .probpr-site-brand-text strong {
        font-size: 18px;
        line-height: 1.12;
        white-space: normal;
    }

    .probpr-site-brand-text small {
        font-size: 13px;
        line-height: 1.25;
    }

    .probpr-site-nav {
        width: 100%;
        max-width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
    }

    .probpr-site-nav::-webkit-scrollbar {
        display: none;
    }

    .probpr-site-nav a {
        scroll-snap-align: start;
        min-height: 42px;
        padding: 9px 15px;
        font-size: 14px;
    }

    .probpr-site-auth-nav {
        display: grid;
        grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
        gap: 10px;
        width: 100%;
    }

    .probpr-site-auth-link,
    .probpr-site-auth-button {
        width: 100%;
        min-height: 46px;
        font-size: 14px;
    }

    /* Main page: center compact visual blocks, not long descriptions */
    .probpr-site-hero {
        padding-top: 36px !important;
    }

    .probpr-site-hero-actions {
        justify-content: center;
    }

    .probpr-site-hero-actions .probpr-site-button {
        width: 100%;
    }

    .probpr-site-hero-card {
        align-items: center;
        text-align: center;
    }

    .probpr-site-stats .probpr-site-stat {
        text-align: center;
    }

    .probpr-site-stats .probpr-site-stat span {
        margin-left: auto;
        margin-right: auto;
    }

    /* Support/contact card on home */
    .probpr-site-contact-card,
    .probpr-site-contact-strip {
        text-align: center;
        justify-items: center;
    }

    .probpr-site-contact-copy,
    .probpr-site-contact-strip-copy {
        text-align: center;
    }

    .probpr-site-contact-actions,
    .probpr-site-contact-strip-actions {
        width: 100%;
        align-items: stretch;
        justify-content: center;
    }

    .probpr-site-contact-actions a,
    .probpr-contact-pill {
        width: 100%;
        max-width: none;
    }

    .probpr-site-contact-strip-hours {
        justify-content: center;
        text-align: center;
    }

    .probpr-site-empty {
        text-align: center;
    }

    .probpr-site-empty strong,
    .probpr-site-empty b {
        display: block;
    }

    /* Catalog filters: fix oversized Apply button on mobile */
    .probpr-site-filters {
        padding: 14px;
        border-radius: 24px;
    }

    .probpr-site-filter-main {
        grid-template-columns: 1fr !important;
        align-items: stretch !important;
        gap: 12px;
    }

    .probpr-site-filter-actions {
        display: grid !important;
        grid-template-columns: 1fr;
        align-items: stretch !important;
        gap: 8px;
        width: 100%;
        min-height: 0 !important;
        height: auto !important;
    }

    .probpr-site-filter-actions button,
    .probpr-site-filter-actions a {
        width: 100%;
        min-height: 52px !important;
        height: 52px !important;
        max-height: 52px !important;
        padding: 0 16px !important;
        border-radius: 17px;
        font-size: 15px;
        line-height: 1.2;
        flex: none !important;
        align-self: stretch !important;
    }

    .probpr-site-filter-main input,
    .probpr-site-filter-main select,
    .probpr-site-specialty-search {
        min-height: 50px;
        border-radius: 16px;
        font-size: 15px;
    }

    /* Footer final version: center visual identity and icon groups */
    .probpr-site-footer-v8 {
        padding-top: 18px !important;
        padding-bottom: 28px !important;
    }

    .probpr-site-footer-v8 .probpr-site-container {
        width: min(100% - 24px, 1160px) !important;
    }

    .probpr-site-footer-shell-v8 {
        padding: 12px !important;
        gap: 12px;
        border-radius: 24px;
    }

    .probpr-site-footer-brand-v8 {
        text-align: center;
        justify-items: center;
        align-content: center;
    }

    .probpr-site-footer-logo-tray-v8 {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .probpr-site-footer-brand-v8 p {
        margin-left: auto;
        margin-right: auto;
    }

    .probpr-site-footer-communication-v8 {
        gap: 10px;
    }

    .probpr-site-footer-communication-head-v8 {
        display: grid !important;
        justify-items: center;
        text-align: center;
        gap: 5px;
    }

    .probpr-site-footer-line-v8 {
        grid-template-columns: 1fr !important;
        justify-items: center;
        gap: 8px;
        padding-top: 11px;
    }

    .probpr-site-footer-line-label-v8 {
        text-align: center;
        justify-self: center;
    }

    .probpr-site-footer-line-content-v8 {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .probpr-site-footer-info-pill-v8.has-icon {
        justify-content: flex-start;
        text-align: left;
    }

    .probpr-site-footer-icon-row-v8 {
        justify-content: center;
    }

    .probpr-site-footer-docs-inline-v8 {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .probpr-site-footer-docs-inline-v8 a {
        width: 100%;
        justify-content: flex-start;
        text-align: left;
    }

    /* Legal pages: do not center body text, only make cards softer */
    .probpr-site-legal-card,
    .probpr-site-legal-details-card,
    .probpr-site-legal-note {
        border-radius: 22px;
    }

    .probpr-site-legal-section h2 {
        font-size: 22px;
        line-height: 1.15;
    }

    .probpr-site-legal-section p {
        font-size: 16px;
        line-height: 1.65;
    }
}

@media (max-width: 430px) {
    .probpr-site-brand-text strong {
        font-size: 17px;
    }

    .probpr-site-brand-text small {
        font-size: 12px;
    }

    .probpr-site-hero-copy h1,
    .probpr-site-page-head h1,
    .probpr-site-event-hero h1 {
        font-size: 34px !important;
        letter-spacing: -.045em;
    }

    .probpr-site-page-head p,
    .probpr-site-hero-copy p {
        font-size: 16px !important;
    }

    .probpr-site-auth-nav {
        grid-template-columns: .9fr 1.1fr;
    }
}


/* ProBPR v78.20.9.5 — mobile centered section labels + footer title cleanup */

/* Footer: the separate "Контакти та онлайн" title was removed in PHP.
   This makes "Зв’язок із провайдером" the main centered block title. */
.probpr-site-footer-communication-head-v8.is-single-title {
    justify-content: center;
    text-align: center;
}

.probpr-site-footer-communication-head-v8.is-single-title h3 {
    width: 100%;
    font-size: 16px;
    letter-spacing: -.015em;
}

/* Mobile: center only short blue labels/eyebrows.
   Long descriptions and legal text remain left-aligned for readability. */
@media (max-width: 680px) {
    .probpr-site-page-head-inner {
        align-items: center !important;
    }

    .probpr-site-page-head-inner > div:first-child {
        width: 100%;
    }

    .probpr-site-page-head .probpr-site-eyebrow,
    .probpr-site-about-card > .probpr-site-eyebrow,
    .probpr-site-docs-card > .probpr-site-eyebrow {
        display: flex;
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .probpr-site-about-card > .probpr-site-eyebrow,
    .probpr-site-docs-card > .probpr-site-eyebrow {
        margin-left: auto;
        margin-right: auto;
    }

    .probpr-site-footer-communication-head-v8.is-single-title {
        justify-items: center;
        padding-bottom: 2px;
    }

    .probpr-site-footer-communication-head-v8.is-single-title h3 {
        font-size: 18px;
        line-height: 1.18;
    }

    /* About page: keep the card balanced without centering long paragraphs. */
    .probpr-site-about-card h2,
    .probpr-site-docs-card h2 {
        text-align: center;
    }

    .probpr-site-about-card p,
    .probpr-site-docs-card p {
        text-align: left;
    }
}


/* ProBPR v78.20.9.6 — About page mobile title fixes */
@media (max-width: 680px) {
    /* About page top: the H1 is now provider name, no duplicate subtitle below it. */
    .probpr-site-page-head .probpr-site-page-head-inner > div:first-child {
        text-align: center;
    }

    .probpr-site-page-head .probpr-site-page-head-inner > div:first-child h1 {
        text-align: center;
    }

    /* Profile label inside about card: center the blue "Профіль" label. */
    .probpr-site-about-card .probpr-site-section-head {
        align-items: center !important;
        text-align: center;
    }

    .probpr-site-about-card .probpr-site-section-head > div {
        width: 100%;
        display: grid;
        justify-items: center;
        text-align: center;
    }

    .probpr-site-about-card .probpr-site-section-head .probpr-site-eyebrow {
        display: flex;
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .probpr-site-about-card .probpr-site-section-head h2 {
        text-align: center;
    }

    .probpr-site-about-content {
        text-align: left;
    }
}


/* ProBPR v78.20.9.7 — Mobile logged-in auth buttons */
@media (max-width: 680px) {
    .probpr-site-auth-nav.is-logged-in {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        align-items: stretch;
    }

    .probpr-site-auth-nav.is-logged-in .probpr-site-auth-link,
    .probpr-site-auth-nav.is-logged-in .probpr-site-auth-button {
        width: 100%;
        min-height: 42px;
        padding: 8px 8px;
        border-radius: 999px;
        font-size: 13.5px;
        line-height: 1.1;
        font-weight: 950;
        text-align: center;
        justify-content: center;
    }

    .probpr-site-auth-nav.is-logged-in .probpr-site-auth-button.is-light {
        border: 1px solid var(--site-border);
        background: #ffffff;
        color: var(--site-muted);
        box-shadow: none;
    }

    .probpr-site-auth-nav.is-logged-in .probpr-site-auth-link.is-active,
    .probpr-site-auth-nav.is-logged-in .probpr-site-auth-button.is-active {
        background: var(--site-soft);
        color: var(--site-primary);
    }
}

@media (max-width: 430px) {
    .probpr-site-auth-nav.is-logged-in {
        gap: 7px;
    }

    .probpr-site-auth-nav.is-logged-in .probpr-site-auth-link,
    .probpr-site-auth-nav.is-logged-in .probpr-site-auth-button {
        min-height: 40px;
        padding-left: 6px;
        padding-right: 6px;
        font-size: 13px;
    }
}


/* ProBPR v78.20.10 — safe color customization layer */
.probpr-site {
    color-scheme: light;
}

.probpr-site .probpr-site-button,
.probpr-site .probpr-site-auth-button,
.probpr-site .probpr-site-search button,
.probpr-site .probpr-site-filter-actions button,
.probpr-site .probpr-site-card-link,
.probpr-site .probpr-contact-pill.is-primary,
.probpr-site .probpr-site-footer-icon-link-v8.is-primary {
    background-color: var(--site-button) !important;
    border-color: var(--site-button) !important;
}

.probpr-site .probpr-site-button:hover,
.probpr-site .probpr-site-auth-button:hover,
.probpr-site .probpr-site-search button:hover,
.probpr-site .probpr-site-filter-actions button:hover {
    filter: brightness(.96);
}

.probpr-site .probpr-site-eyebrow,
.probpr-site .probpr-site-nav a.is-active,
.probpr-site .probpr-site-nav a:hover,
.probpr-site .probpr-site-card-link:not(.probpr-site-button),
.probpr-site .probpr-site-footer-line-label-v8,
.probpr-site .probpr-site-footer-doc-icon-v8,
.probpr-site .probpr-site-footer-info-icon-v8 {
    color: var(--site-primary);
}

.probpr-site .probpr-site-nav a.is-active,
.probpr-site .probpr-site-nav a:hover {
    background: color-mix(in srgb, var(--site-primary) 9%, #ffffff);
}

.probpr-site .probpr-site-hero-card,
.probpr-site .probpr-site-contact-card,
.probpr-site .probpr-site-footer-brand-v8 {
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--site-accent) 12%, transparent), transparent 18rem),
        #ffffff;
}


/* ProBPR v78.20.10.1 — fix button contrast for theme customizer */
.probpr-site .probpr-site-button:not(.probpr-site-button-light),
.probpr-site .probpr-site-auth-button:not(.is-light),
.probpr-site .probpr-site-search button,
.probpr-site .probpr-site-filter-actions button,
.probpr-site .probpr-site-card-link,
.probpr-site .probpr-contact-pill.is-primary,
.probpr-site .probpr-site-footer-icon-link-v8.is-primary {
    background-color: var(--site-button) !important;
    border-color: var(--site-button) !important;
}

.probpr-site .probpr-site-button:not(.probpr-site-button-light),
.probpr-site .probpr-site-button:not(.probpr-site-button-light) *,
.probpr-site .probpr-site-auth-button:not(.is-light),
.probpr-site .probpr-site-auth-button:not(.is-light) *,
.probpr-site .probpr-site-search button,
.probpr-site .probpr-site-search button *,
.probpr-site .probpr-site-filter-actions button,
.probpr-site .probpr-site-filter-actions button * {
    color: #ffffff !important;
}

.probpr-site .probpr-site-button.probpr-site-button-light,
.probpr-site .probpr-site-button.probpr-site-button-light *,
.probpr-site .probpr-site-auth-button.is-light,
.probpr-site .probpr-site-auth-button.is-light * {
    background: #ffffff !important;
    border-color: var(--site-border) !important;
    color: var(--site-primary) !important;
    box-shadow: none !important;
}


/* ProBPR v78.20.10.11.1 — event card vertical alignment fix
   Повертаємо прийняту структуру: тип заходу залишається над афішею.
   Піднімаємо назву/дату/бали/ціну праворуч до рівня типу заходу.
   Також примусово повертаємо видимий текст кнопки "Деталі заходу". */

.probpr-site .probpr-site-event-card,
.probpr-site a.probpr-site-event-card {
    overflow: hidden;
}

.probpr-site .probpr-site-event-card.has-poster {
    align-items: start;
}

.probpr-site .probpr-site-event-card.has-poster .probpr-site-event-card-body {
    position: relative;
    align-self: stretch;
    min-height: 118px;
    padding-top: 0 !important;
}

.probpr-site .probpr-site-event-card.has-poster .probpr-site-event-card-top {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0;
    display: flex;
    justify-content: flex-end !important;
    pointer-events: none;
}

.probpr-site .probpr-site-event-card.has-poster .probpr-site-event-card-top > span[aria-hidden="true"] {
    display: none !important;
}

.probpr-site .probpr-site-event-card.has-poster .probpr-site-event-card-top small {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 22px;
    margin: 0;
    color: #64748b;
    font-size: 11px;
    line-height: 1.15;
    font-weight: 850;
    white-space: nowrap;
}

.probpr-site .probpr-site-event-card.has-poster h3 {
    margin-top: 0 !important;
    padding-right: 92px;
    min-height: 24px;
}

.probpr-site .probpr-site-event-card.has-poster .probpr-site-event-meta {
    margin-top: 9px;
}

.probpr-site .probpr-site-card-link,
.probpr-site a.probpr-site-event-card .probpr-site-card-link,
.probpr-site .probpr-site-event-card .probpr-site-card-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 132px;
    min-height: 38px;
    margin-top: auto;
    padding: 9px 14px !important;
    border: 1px solid var(--site-button) !important;
    border-radius: 999px !important;
    background: var(--site-button) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(22, 71, 255, 0.16) !important;
    font-size: 12.5px;
    line-height: 1.15;
    font-weight: 950;
    text-decoration: none !important;
    text-align: center;
    transform: none;
}

.probpr-site .probpr-site-card-link *,
.probpr-site a.probpr-site-event-card .probpr-site-card-link * {
    color: #ffffff !important;
}

.probpr-site .probpr-site-event-card-clickable:hover .probpr-site-card-link {
    filter: brightness(.96);
    box-shadow: 0 12px 26px rgba(22, 71, 255, 0.20) !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

@media (max-width: 760px) {
    .probpr-site .probpr-site-event-card.has-poster .probpr-site-event-card-body {
        min-height: 100px;
    }

    .probpr-site .probpr-site-event-card.has-poster h3 {
        padding-right: 78px;
    }

    .probpr-site .probpr-site-card-link,
    .probpr-site a.probpr-site-event-card .probpr-site-card-link,
    .probpr-site .probpr-site-event-card .probpr-site-card-link {
        width: auto !important;
        min-width: 124px;
        min-height: 36px;
        margin-top: 12px;
        padding: 8px 12px !important;
        background: var(--site-button) !important;
        color: #ffffff !important;
    }
}

@media (max-width: 520px) {
    .probpr-site .probpr-site-event-card.has-poster .probpr-site-event-card-top {
        position: static;
        justify-content: flex-start !important;
        margin-bottom: 6px !important;
    }

    .probpr-site .probpr-site-event-card.has-poster .probpr-site-event-card-top small {
        font-size: 10.5px;
    }

    .probpr-site .probpr-site-event-card.has-poster h3 {
        padding-right: 0;
    }
}

@media (max-width: 460px) {
    .probpr-site .probpr-site-card-link,
    .probpr-site a.probpr-site-event-card .probpr-site-card-link,
    .probpr-site .probpr-site-event-card .probpr-site-card-link {
        width: 100% !important;
        min-width: 0;
    }
}


/* ProBPR v78.20.10.12 — mobile event page centering polish
   Без sticky CTA. На мобільному центруємо афішу, бейджі та ціновий блок.
   Назву заходу і блок підтримки залишаємо читабельно зліва. */
@media (max-width: 760px) {
    .probpr-site .probpr-site-event-hero-main {
        justify-items: stretch;
    }

    .probpr-site .probpr-site-event-hero-poster {
        justify-self: center;
        margin-left: auto;
        margin-right: auto;
    }

    .probpr-site .probpr-site-event-hero .probpr-site-back {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .probpr-site .probpr-site-event-hero-meta {
        justify-content: center;
    }

    .probpr-site .probpr-site-event-hero-meta span {
        justify-content: center;
        text-align: center;
    }

    .probpr-site .probpr-site-register-card {
        text-align: center;
    }

    .probpr-site .probpr-site-register-label,
    .probpr-site .probpr-site-register-card > span:first-child,
    .probpr-site .probpr-site-register-price,
    .probpr-site .probpr-site-register-card > strong,
    .probpr-site .probpr-site-register-card > small,
    .probpr-site .probpr-site-free-note,
    .probpr-site .probpr-site-register-card .probpr-site-muted-box {
        text-align: center;
    }

    .probpr-site .probpr-site-register-card > small,
    .probpr-site .probpr-site-free-note,
    .probpr-site .probpr-site-register-card .probpr-site-muted-box {
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .probpr-site .probpr-site-register-card .probpr-site-sale-price-block {
        text-align: center;
    }

    .probpr-site .probpr-site-register-card .probpr-site-sale-price-row {
        justify-content: center;
        text-align: center;
    }

    .probpr-site .probpr-registration-form-actions {
        justify-items: stretch;
    }

    .probpr-site .probpr-site-register-card .probpr-site-button,
    .probpr-site .probpr-site-register-card .probpr-site-button-light,
    .probpr-site .probpr-registration-form-actions .probpr-site-button,
    .probpr-site .probpr-registration-form-actions .probpr-site-button-light {
        justify-content: center;
        text-align: center;
    }

    .probpr-site .probpr-site-event-support-card,
    .probpr-site .probpr-site-event-support-card-v2 {
        text-align: left;
    }

    .probpr-site .probpr-site-event-support-label {
        margin-left: 0;
        margin-right: auto;
    }

    .probpr-site .probpr-site-event-support-actions,
    .probpr-site .probpr-site-event-support-card > div {
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    .probpr-site .probpr-site-event-hero-poster {
        width: min(240px, 100%);
    }

    .probpr-site .probpr-site-event-hero h1 {
        font-size: clamp(30px, 9.5vw, 42px);
        line-height: 1.06;
    }

    .probpr-site .probpr-site-register-price,
    .probpr-site .probpr-site-register-card > strong,
    .probpr-site .probpr-site-register-card .probpr-site-sale-price-row strong {
        font-size: clamp(36px, 10.5vw, 46px);
        line-height: 1;
    }
}


/* ProBPR v78.20.10.13 — event hero date range visibility
   Повертає повний діапазон дати в hero-картці заходу та не дає йому обрізатися на мобільному. */
.probpr-site .probpr-site-event-hero-meta .probpr-site-event-hero-date {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}

@media (max-width: 760px) {
    .probpr-site .probpr-site-event-hero-meta .probpr-site-event-hero-date {
        flex-basis: 100%;
        width: fit-content;
        max-width: min(440px, 100%);
        margin-left: auto;
        margin-right: auto;
    }
}


/* ProBPR v78.20.10.22 — payment result success page polish */
.probpr-payment-result-section {
    padding-top: 56px;
}

.probpr-payment-result-shell {
    width: min(100%, 1080px);
    margin: 0 auto;
}

.probpr-payment-result-heading {
    margin-bottom: 24px;
}

.probpr-payment-result-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    align-items: stretch;
    padding: 22px;
    border: 1px solid var(--site-border);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 28px 76px rgba(15, 23, 42, 0.10);
    backdrop-filter: blur(12px);
}

.probpr-payment-result-main,
.probpr-payment-result-side {
    min-width: 0;
    border: 1px solid #e2e8f0;
    border-radius: 26px;
    background: #ffffff;
}

.probpr-payment-result-main {
    display: grid;
    gap: 20px;
    padding: 24px;
}

.probpr-payment-result-state {
    display: flex;
    gap: 16px;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eef2f7;
}

.probpr-payment-result-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 28px;
    font-weight: 1000;
    box-shadow: inset 0 0 0 1px rgba(194, 65, 12, 0.10);
}

.probpr-payment-result-shell.is-success .probpr-payment-result-icon {
    background: #ecfdf5;
    color: #047857;
    box-shadow: inset 0 0 0 1px rgba(4, 120, 87, 0.12);
}

.probpr-payment-result-shell.is-failed .probpr-payment-result-icon {
    background: #fef2f2;
    color: #b91c1c;
    box-shadow: inset 0 0 0 1px rgba(185, 28, 28, 0.12);
}

.probpr-payment-result-state span {
    display: block;
    margin-bottom: 4px;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.probpr-payment-result-state strong {
    color: #0f172a;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.probpr-payment-result-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.probpr-payment-result-summary div {
    min-width: 0;
    padding: 14px;
    border: 1px solid #eef2f7;
    border-radius: 18px;
    background: #f8fafc;
}

.probpr-payment-result-summary dt,
.probpr-payment-result-summary dd {
    margin: 0;
}

.probpr-payment-result-summary dt {
    margin-bottom: 6px;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.probpr-payment-result-summary dd {
    color: #0f172a;
    font-size: 15px;
    font-weight: 950;
    line-height: 1.35;
}

.probpr-payment-result-note {
    padding: 14px 16px;
    border: 1px solid color-mix(in srgb, var(--site-primary) 16%, #e2e8f0);
    border-radius: 18px;
    background: color-mix(in srgb, var(--site-primary) 7%, #ffffff);
    color: #475569;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.55;
}

.probpr-payment-result-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
}

.probpr-payment-result-side > span {
    color: #64748b;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.probpr-payment-result-side > strong {
    color: #0f172a;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.probpr-payment-result-side > p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
}

.probpr-payment-result-shell.is-success .probpr-payment-result-side {
    border-color: color-mix(in srgb, #22c55e 24%, #e2e8f0);
    background:
        radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.10), transparent 48%),
        #ffffff;
}

.probpr-payment-result-shell.is-success .probpr-payment-result-side > strong {
    color: #047857;
}

@media (max-width: 940px) {
    .probpr-payment-result-card {
        grid-template-columns: 1fr;
        padding: 14px;
        border-radius: 28px;
    }

    .probpr-payment-result-side {
        order: -1;
    }

    .probpr-payment-result-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .probpr-payment-result-section {
        padding-top: 34px;
    }

    .probpr-payment-result-main,
    .probpr-payment-result-side {
        padding: 16px;
        border-radius: 22px;
    }

    .probpr-payment-result-state {
        align-items: flex-start;
    }

    .probpr-payment-result-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        border-radius: 16px;
        font-size: 22px;
    }
}


/* ProBPR v79 — блок відгуку в навчальній кімнаті */
.probpr-room-review-panel {
    border-color: rgba(37, 99, 235, .18);
}

.probpr-room-review-form {
    display: grid;
    gap: 18px;
    margin-top: 16px;
}

.probpr-room-review-rating,
.probpr-room-review-field,
.probpr-room-review-name-mode,
.probpr-room-review-consents {
    display: grid;
    gap: 10px;
}

.probpr-room-review-rating > span,
.probpr-room-review-field > span,
.probpr-room-review-name-mode > span {
    color: #5f6c85;
    font-weight: 800;
}

.probpr-room-review-stars {
    direction: rtl;
    display: inline-flex;
    justify-content: flex-end;
    gap: 4px;
    width: max-content;
}

.probpr-room-review-stars input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.probpr-room-review-stars label {
    cursor: pointer;
    color: #cbd5e1;
    font-size: 34px;
    line-height: 1;
    transition: color .15s ease, transform .15s ease;
}

.probpr-room-review-stars label:hover,
.probpr-room-review-stars label:hover ~ label,
.probpr-room-review-stars input:checked ~ label {
    color: #1d95d2;
}

.probpr-room-review-stars label:hover {
    transform: translateY(-1px);
}

.probpr-room-review-stars input:focus-visible + label {
    outline: 3px solid rgba(45, 99, 189, .22);
    outline-offset: 3px;
    border-radius: 6px;
}

.probpr-room-review-rating-hint {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.probpr-room-review-rating-hint.is-selected {
    color: #1d4ed8;
}

.probpr-room-review-field textarea {
    width: 100%;
    min-height: 120px;
    resize: vertical;
    border: 1px solid #dbe4f0;
    border-radius: 18px;
    padding: 14px 16px;
    color: #0f172a;
    background: #f8fafc;
    font: inherit;
    line-height: 1.5;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.probpr-room-review-field textarea:focus {
    background: #fff;
    border-color: #2d63bd;
    box-shadow: 0 0 0 4px rgba(45, 99, 189, .12);
}

.probpr-room-review-name-mode,
.probpr-room-review-consents {
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #f8fafc;
}

.probpr-room-review-name-mode label,
.probpr-room-review-consents label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #334155;
    font-weight: 700;
    line-height: 1.45;
}

.probpr-room-review-name-mode input,
.probpr-room-review-consents input {
    margin-top: 3px;
    flex: 0 0 auto;
}

.probpr-room-review-done {
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid #bfdbfe;
    border-radius: 20px;
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    color: #1e3a8a;
}

.probpr-room-review-done strong {
    font-size: 20px;
    color: #0f172a;
}

@media (max-width: 640px) {
    .probpr-room-review-stars label {
        font-size: 30px;
    }

    .probpr-room-review-name-mode,
    .probpr-room-review-consents {
        padding: 12px;
    }
}


/* ProBPR v79 — публічний блок відгуків на головній */
.probpr-site-section-reviews {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.probpr-site-review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.probpr-site-review-card {
    display: grid;
    gap: 14px;
    padding: 22px;
    border: 1px solid #dbeafe;
    border-radius: 28px;
    background: #eef7ff;
    color: #0f172a;
    min-height: 260px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .05);
}

.probpr-site-review-head {
    display: flex;
    gap: 14px;
    align-items: center;
}

.probpr-site-review-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2d63bd;
    color: #fff;
    font-weight: 900;
    letter-spacing: .03em;
}

.probpr-site-review-head strong {
    display: block;
    font-size: 18px;
    font-weight: 900;
}

.probpr-site-review-head span {
    display: block;
    color: #2563eb;
    line-height: 1.35;
    margin-top: 3px;
}

.probpr-site-review-stars {
    color: #1d95d2;
    letter-spacing: 2px;
    font-size: 22px;
}

.probpr-site-review-card p {
    margin: 0;
    color: #1f2937;
    line-height: 1.55;
}

.probpr-site-review-verified {
    align-self: end;
    color: #2563eb;
    font-size: 13px;
    font-weight: 800;
}

@media (max-width: 980px) {
    .probpr-site-review-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .probpr-site-review-grid {
        grid-template-columns: 1fr;
    }

    .probpr-site-review-card {
        border-radius: 24px;
        min-height: auto;
    }
}

/* ProBPR electronic course: one player + compact collapsible program */
.probpr-course-learning {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 18px;
    align-items: start;
}

.probpr-course-learning.is-program-expanded {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
}

.probpr-course-learning-main {
    min-width: 0;
}

.probpr-course-current {
    display: grid;
    gap: 4px;
    margin-bottom: 12px;
}

.probpr-course-current > span {
    color: var(--site-primary);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.probpr-course-current > strong {
    color: var(--site-text);
    font-size: clamp(18px, 2vw, 25px);
    line-height: 1.2;
}

.probpr-course-current > small {
    color: var(--site-muted);
    font-size: 13px;
    font-weight: 750;
}

.probpr-course-current > small[hidden] {
    display: none;
}

.probpr-course-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.probpr-course-nav-button {
    display: grid;
    gap: 4px;
    min-height: 66px;
    padding: 12px 14px;
    border: 1px solid var(--site-border);
    border-radius: 16px;
    background: #ffffff;
    color: var(--site-text);
    text-align: left;
    cursor: pointer;
}

.probpr-course-nav-button.is-next {
    text-align: right;
}

.probpr-course-nav-button span {
    color: var(--site-primary);
    font-size: 12px;
    font-weight: 900;
}

.probpr-course-nav-button small {
    overflow: hidden;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.probpr-course-nav-button:disabled {
    opacity: 0.48;
    cursor: default;
}

.probpr-course-program {
    position: sticky;
    top: 96px;
    overflow: hidden;
    border: 1px solid var(--site-border);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.probpr-course-program-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px;
    border-bottom: 1px solid var(--site-border);
}

.probpr-course-program-head > div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.probpr-course-program-head span {
    color: var(--site-muted);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.probpr-course-program-head strong {
    color: var(--site-text);
    font-size: 13px;
}

.probpr-course-program-head button {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid var(--site-border);
    border-radius: 999px;
    background: #f8fafc;
    color: var(--site-primary);
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.probpr-course-program-current {
    display: grid;
    gap: 4px;
    padding: 14px;
}

.probpr-course-program-current small {
    color: var(--site-primary);
    font-size: 11px;
    line-height: 1.25;
    font-weight: 900;
}

.probpr-course-program-current small[hidden] {
    display: none;
}

.probpr-course-program-current strong {
    color: var(--site-text);
    font-size: 14px;
    line-height: 1.35;
}

.probpr-course-program-body {
    max-height: min(58vh, 620px);
    overflow: auto;
    padding: 0 10px 12px;
    border-top: 1px solid var(--site-border);
}

.probpr-course-program-body[hidden] {
    display: none !important;
}

.probpr-course-module {
    border-bottom: 1px solid var(--site-border);
}

.probpr-course-module:last-child {
    border-bottom: 0;
}

.probpr-course-module summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 4px;
    cursor: pointer;
    list-style: none;
}

.probpr-course-module summary::-webkit-details-marker {
    display: none;
}

.probpr-course-module summary strong {
    color: var(--site-text);
    font-size: 13px;
    line-height: 1.3;
}

.probpr-course-module summary span {
    flex: 0 0 auto;
    color: var(--site-muted);
    font-size: 11px;
    font-weight: 800;
}

.probpr-course-module > p {
    margin: -4px 4px 10px;
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.45;
}

.probpr-course-lesson-list {
    display: grid;
    gap: 6px;
    padding-bottom: 10px;
}

.probpr-course-lesson-list.is-without-module {
    padding-top: 10px;
}

.probpr-course-lesson-button {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 1px 8px;
    width: 100%;
    padding: 9px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--site-text);
    text-align: left;
    cursor: pointer;
}

.probpr-course-lesson-button > span {
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eef2ff;
    color: var(--site-primary);
    font-size: 11px;
    font-weight: 950;
}

.probpr-course-lesson-button > strong {
    overflow: hidden;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 800;
    text-overflow: ellipsis;
}

.probpr-course-lesson-button > small {
    grid-column: 2;
    color: var(--site-muted);
    font-size: 10px;
    font-weight: 750;
}

.probpr-course-lesson-button:hover,
.probpr-course-lesson-button.is-active {
    border-color: rgba(22, 71, 255, 0.2);
    background: rgba(22, 71, 255, 0.07);
}

.probpr-course-lesson-button.is-active > span {
    background: var(--site-primary);
    color: #ffffff;
}

.probpr-course-learning.is-program-expanded .probpr-course-program-current {
    display: none;
}

@media (max-width: 1080px) {
    .probpr-course-learning,
    .probpr-course-learning.is-program-expanded {
        grid-template-columns: minmax(0, 1fr) 230px;
    }
}

@media (max-width: 820px) {
    .probpr-course-learning,
    .probpr-course-learning.is-program-expanded {
        grid-template-columns: 1fr;
    }

    .probpr-course-program {
        position: static;
        order: -1;
    }

    .probpr-course-program-body {
        max-height: 52vh;
    }
}

@media (max-width: 560px) {
    .probpr-course-navigation {
        grid-template-columns: 1fr;
    }

    .probpr-course-nav-button.is-next {
        text-align: left;
    }

    .probpr-course-program-head,
    .probpr-course-program-current {
        padding: 12px;
    }
}

/* ProBPR video lesson progress */
.probpr-video-learning-progress {
    display: grid;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid var(--site-border);
    border-top: 0;
    background: #f8fafc;
}

.probpr-video-learning-progress > div:first-child,
.probpr-course-overall-progress > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.probpr-video-learning-progress span,
.probpr-course-overall-progress span {
    color: var(--site-muted);
    font-size: 12px;
    font-weight: 850;
}

.probpr-video-learning-progress strong,
.probpr-course-overall-progress strong {
    color: var(--site-text);
    font-size: 13px;
}

.probpr-video-learning-progress small,
.probpr-course-overall-progress small {
    color: var(--site-muted);
    font-size: 11px;
    line-height: 1.4;
}

.probpr-video-learning-progress-track,
.probpr-course-overall-progress-track {
    overflow: hidden;
    height: 7px;
    border-radius: 999px;
    background: #e2e8f0;
}

.probpr-video-learning-progress-track > span,
.probpr-course-overall-progress-track > span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--site-primary);
    transition: width 220ms ease;
}

.probpr-video-learning-progress.is-completed {
    background: #f0fdf4;
}

.probpr-video-learning-progress.is-completed [data-probpr-video-progress-status] {
    color: #15803d;
}


.probpr-video-progress-sync {
    display: block;
    margin-top: 7px;
    font-weight: 750;
}

.probpr-video-progress-sync.is-success {
    color: #18794e;
}

.probpr-video-progress-sync.is-error {
    color: #b42318;
}

.probpr-video-learning-progress.is-optional {
    background: #fffdf4;
}

.probpr-course-overall-progress {
    display: grid;
    gap: 7px;
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid var(--site-border);
    border-radius: 14px;
    background: #f8fafc;
}

.probpr-course-learning.is-course-completed .probpr-course-overall-progress {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.probpr-course-lesson-button.is-in-progress > span {
    background: #fef3c7;
    color: #a16207;
}

.probpr-course-lesson-button.is-completed > span {
    background: #dcfce7;
    color: #15803d;
}

.probpr-course-lesson-button.is-completed > strong {
    color: #166534;
}

.probpr-course-lesson-button.is-active.is-completed > span,
.probpr-course-lesson-button.is-active.is-in-progress > span {
    background: var(--site-primary);
    color: #ffffff;
}

.probpr-course-lesson-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.probpr-course-lesson-meta > span:last-child {
    margin-left: auto;
    color: var(--site-primary);
    font-weight: 900;
}

@media (max-width: 560px) {
    .probpr-course-overall-progress {
        padding: 9px 10px;
    }

    .probpr-video-learning-progress {
        padding: 10px 12px;
    }
}

/* ProBPR 82.3.0 — student preview mode */
.probpr-student-preview-banner {
    position: sticky;
    top: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1320px;
    margin: 0 auto 18px;
    padding: 13px 18px;
    border: 1px solid rgba(124, 58, 237, .24);
    border-radius: 16px;
    background: rgba(245, 243, 255, .97);
    box-shadow: 0 12px 32px rgba(76, 29, 149, .12);
    color: #312e81;
}
.probpr-student-preview-banner > div {
    display: grid;
    gap: 3px;
}
.probpr-student-preview-banner strong {
    font-weight: 900;
}
.probpr-student-preview-banner span {
    font-size: 13px;
    line-height: 1.45;
    color: #5b5f7a;
}
.probpr-student-preview-banner a {
    flex: 0 0 auto;
    padding: 9px 14px;
    border-radius: 999px;
    background: #6d28d9;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}
.probpr-preview-readonly-note {
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid #ddd6fe;
    border-radius: 14px;
    background: #f5f3ff;
    color: #5b21b6;
    font-size: 14px;
    font-weight: 700;
}
@media (max-width: 720px) {
    .probpr-student-preview-banner {
        position: static;
        align-items: flex-start;
        flex-direction: column;
        margin: 0 14px 14px;
    }
    .probpr-student-preview-banner a {
        width: 100%;
        text-align: center;
    }
}

/* ProBPR 82.3.3 fullscreen learning progress: keep the video unobstructed. */
.probpr-y-player:fullscreen .probpr-video-learning-progress,
.probpr-y-player:-webkit-full-screen .probpr-video-learning-progress {
    display: none !important;
}


/* ProBPR 82.4.0 — test gate and certificate requirements */
.probpr-room-learning-lock {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    margin: 18px 0;
    padding: 18px;
    border: 1px solid #fde68a;
    border-radius: 18px;
    background: #fffbeb;
}
.probpr-room-learning-lock-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #fef3c7;
    color: #b45309;
    font-weight: 900;
}
.probpr-room-learning-lock strong,
.probpr-room-learning-lock span,
.probpr-room-learning-lock small {
    display: block;
}
.probpr-room-learning-lock span {
    margin-top: 4px;
    color: #92400e;
}
.probpr-room-learning-lock small {
    margin-top: 5px;
    color: #a16207;
}
.probpr-room-certificate-checklist {
    display: grid;
    gap: 10px;
    margin: 0 0 16px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #f8fafc;
}
.probpr-room-certificate-checklist > strong {
    color: #0f172a;
    font-size: 15px;
}
.probpr-room-certificate-checklist > div {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #fff;
}
.probpr-room-certificate-checklist > div > span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    flex: 0 0 28px;
    border-radius: 50%;
    font-weight: 900;
}
.probpr-room-certificate-checklist .is-complete > span {
    background: #dcfce7;
    color: #15803d;
}
.probpr-room-certificate-checklist .is-pending > span {
    background: #fef3c7;
    color: #b45309;
}
.probpr-room-certificate-checklist b,
.probpr-room-certificate-checklist small {
    display: block;
}
.probpr-room-certificate-checklist small {
    margin-top: 2px;
    color: #64748b;
}
@media (max-width: 720px) {
    .probpr-room-learning-lock {
        grid-template-columns: auto 1fr;
    }
    .probpr-room-learning-lock .probpr-site-button {
        grid-column: 1 / -1;
        width: 100%;
        justify-content: center;
    }
}


/* Програма електронного курсу та програми без часу. */
.probpr-site-program-item.without-program-marker {
    grid-template-columns: minmax(0, 1fr);
}

.probpr-site-program-time.is-lesson-number {
    min-width: 76px;
    padding-inline: 12px;
}

.probpr-site-program-module {
    display: grid;
    gap: 4px;
    margin: 10px 0 2px;
    padding: 16px 18px;
    border: 1px solid color-mix(in srgb, var(--site-primary) 20%, var(--site-border));
    border-radius: 20px;
    background: color-mix(in srgb, var(--site-primary) 6%, #ffffff);
}

.probpr-site-program-module:first-child {
    margin-top: 0;
}

.probpr-site-program-module span {
    color: var(--site-primary);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.probpr-site-program-module strong {
    color: var(--site-text);
    font-size: 18px;
    line-height: 1.3;
    font-weight: 900;
}

.probpr-site-program-module p {
    margin: 2px 0 0;
    color: var(--site-muted);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 620;
}

@media (max-width: 760px) {
    .probpr-site-program-module {
        padding: 14px 16px;
        border-radius: 18px;
    }

    .probpr-site-program-time.is-lesson-number {
        min-width: 0;
    }
}
