.kursy-pro-points,
.kursy-pro-exams,
.kursy-pro-certs {
    --kp-navy: #1a2340;
    --kp-navy-2: #2a3556;
    --kp-burgundy: #6b1f2e;
    --kp-burgundy-2: #8a2a3c;
    --kp-ink: #26304a;
    --kp-muted: #6b7280;
    --kp-line: #e6e8ef;
    --kp-bg: #f6f7fb;

    font-size: 14px;
    line-height: 1.5;
    color: var(--kp-ink);
}

.kursy-pro-loading {
    display: flex;
    justify-content: center;
    padding: 32px;
}
.kursy-pro-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(26, 35, 64, .15);
    border-top-color: var(--kp-burgundy, #6b1f2e);
    border-radius: 50%;
    animation: kursy-pro-spin .7s linear infinite;
}
@keyframes kursy-pro-spin {
    to { transform: rotate(360deg); }
}

.kursy-pro-msg {
    padding: 18px 20px;
    background: #f6f7fb;
    border: 1px solid #e6e8ef;
    border-radius: 12px;
    color: #4b5563;
}

.kursy-pro-cta,
.kursy-pro-finish-btn:not(.kursy-btn-soft),
.kursy-pro-exam-start,
.kursy-pro-exam-submit,
.kursy-pro-cert-save,
.kursy-pro-cert-download,
button.kursy-pro-goto:not(.kursy-btn-soft),
a.kursy-pro-goto:not(.kursy-btn-soft),
.kursy-pro-review-form input[type="submit"],
.kursy-pro-review-form .wpcf7-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 16px !important;
    border: 1px solid #8a2436 !important;
    border-radius: 10px !important;
    background: #8a2436 !important;
    background-image: none !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    height: auto !important;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: background-color 0.15s ease, border-color 0.15s ease !important;
}

.kursy-pro-cta:hover,
.kursy-pro-finish-btn:not(.kursy-btn-soft):hover,
.kursy-pro-exam-start:hover,
.kursy-pro-exam-submit:hover,
.kursy-pro-cert-save:hover,
.kursy-pro-cert-download:hover,
button.kursy-pro-goto:not(.kursy-btn-soft):hover,
a.kursy-pro-goto:not(.kursy-btn-soft):hover,
.kursy-pro-review-form input[type="submit"]:hover,
.kursy-pro-review-form .wpcf7-submit:hover {
    background: #76202f !important;
    border-color: #76202f !important;
    color: #fff !important;
    box-shadow: none !important;
}

.kursy-pro-cta i,
.kursy-pro-finish-btn:not(.kursy-btn-soft) i,
.kursy-pro-exam-start i,
.kursy-pro-exam-submit i,
.kursy-pro-cert-save i,
.kursy-pro-cert-download i,
button.kursy-pro-goto:not(.kursy-btn-soft) i,
a.kursy-pro-goto:not(.kursy-btn-soft) i {
    color: #fff !important;
    margin: 0 !important;
}

.kursy-pro-cta:disabled,
.kursy-pro-exam-submit:disabled,
.kursy-pro-cert-save:disabled {
    opacity: 0.6;
    cursor: default;
    transform: none;
    box-shadow: none !important;
}

.kursy-pro-cta-soft,
.kursy-pro-finish-btn.kursy-btn-soft,
button.kursy-pro-goto.kursy-btn-soft,
a.kursy-pro-goto.kursy-btn-soft {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 16px !important;
    border: 1px solid #d9b9c0 !important;
    border-radius: 10px !important;
    background: #fff !important;
    background-image: none !important;
    color: #8a2436 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    height: auto !important;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease !important;
}

.kursy-pro-cta-soft:hover,
.kursy-pro-finish-btn.kursy-btn-soft:hover,
button.kursy-pro-goto.kursy-btn-soft:hover,
a.kursy-pro-goto.kursy-btn-soft:hover {
    background: #fbf1f3 !important;
    border-color: #8a2436 !important;
    color: #8a2436 !important;
}

.kursy-pro-cta-soft i,
.kursy-pro-finish-btn.kursy-btn-soft i,
button.kursy-pro-goto.kursy-btn-soft i,
a.kursy-pro-goto.kursy-btn-soft i {
    color: #8a2436 !important;
    margin: 0 !important;
}

.kursy-pro-career {
    border: 1px solid #e6e8ef;
    border-radius: 12px;
    background: #fff;
    padding: 20px 22px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.kursy-pro-career-head {
    margin-bottom: 14px;
}
.kursy-pro-career-title {
    margin: 0 0 3px;
    font-size: 17px;
    font-weight: 800;
    color: #1a2340;
}
.kursy-pro-career-sub {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

.kursy-pro-career-path {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}
.kursy-pro-career-step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 0;
}

.kursy-pro-career-step::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e6e8ef;
    z-index: 0;
}
.kursy-pro-career-step:first-child::before { top: 50%; }
.kursy-pro-career-step:last-child::before { bottom: 50%; }

.kursy-pro-career-node {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f1f6;
    color: #9aa1b2;
    font-size: 17px;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px #e6e8ef;
}
.kursy-pro-career-info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.kursy-pro-career-name {
    font-size: 15px;
    font-weight: 700;
    color: #26304a;
}
.kursy-pro-career-req {
    font-size: 12px;
    color: #9aa1b2;
}
.kursy-pro-career-bar {
    height: 6px;
    max-width: 260px;
    margin-top: 5px;
    border-radius: 999px;
    background: #eceef4;
    overflow: hidden;
}
.kursy-pro-career-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: #8a2436;
    transition: width .5s ease;
}
.kursy-pro-career-hint {
    margin-top: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #6b1f2e;
}
.kursy-pro-career-badge {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: #9aa1b2;
    white-space: nowrap;
}

.kursy-pro-career-step.is-done .kursy-pro-career-node {
    background: #1b2740;
    color: #fff;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px #1b2740;
}
.kursy-pro-career-step.is-done .kursy-pro-career-badge { color: #1a7a4f; }

.kursy-pro-career-step.is-current .kursy-pro-career-node {
    background: #8a2436;
    color: #fff;
    box-shadow: 0 0 0 2px #fff, 0 0 0 6px rgba(138, 36, 54, .14);
}
.kursy-pro-career-step.is-current .kursy-pro-career-name { color: #1a2340; }
.kursy-pro-career-step.is-current .kursy-pro-career-badge { color: #6b1f2e; }

.kursy-pro-career-step.is-locked { opacity: .68; }

.kursy-pro-subhead {
    margin: 24px 0 12px;
    font-size: 15px;
    font-weight: 800;
    color: #26304a;
}
.kursy-pro-points-log {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #e6e8ef;
    border-radius: 14px;
    overflow: hidden;
}
.kursy-pro-points-log-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #eef0f5;
    background: #fff;
}
.kursy-pro-points-log-item:last-child {
    border-bottom: 0;
}
.kursy-pro-log-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f2eef0;
    color: #6b1f2e;
}
.kursy-pro-log-label {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 600;
    color: #26304a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.kursy-pro-log-date {
    color: #9aa1b2;
    font-size: 13px;
}
.kursy-pro-log-points {
    font-weight: 800;
    color: #1a7a4f;
}

.kursy-pro-exam-list {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.kursy-pro-exam-card {
    border: 1px solid #e6e8ef;
    border-radius: 14px;
    background: #fff;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.kursy-pro-exam-card.is-locked { opacity: .85; }
.kursy-pro-exam-course {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #9aa1b2;
}
.kursy-pro-exam-title {
    display: block;
    font-weight: 700;
    font-size: 16px;
    color: #26304a;
    margin-top: 2px;
}
.kursy-pro-exam-meta {
    display: block;
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}
.kursy-pro-exam-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}
.kursy-pro-exam-status {
    font-size: 13px;
    font-weight: 600;
    color: #26304a;
}

.kursy-pro-exam-region:empty {
    display: none;
}
.kursy-pro-exam-form,
.kursy-pro-exam-result {
    border: 1px solid #e6e8ef;
    border-radius: 12px;
    background: #fff;
    padding: 24px;
    margin-bottom: 18px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06);
}
.kursy-pro-exam-head h3 {
    margin: 0 0 4px;
    color: #1a2340;
}
.kursy-pro-exam-head p {
    margin: 0 0 16px;
    color: #6b7280;
    font-size: 14px;
}
.kursy-pro-exam-q {
    border: 0;
    border-top: 1px solid #eef0f5;
    margin: 0;
    padding: 18px 0;
}
.kursy-pro-exam-q legend {
    font-weight: 700;
    color: #26304a;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 0;
}
.kursy-pro-exam-qnum {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1a2340;
    color: #fff;
    font-size: 13px;
}
.kursy-pro-exam-a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid #e6e8ef;
    border-radius: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}
.kursy-pro-exam-a:hover {
    border-color: #b9808c;
    background: #fbf6f7;
}
.kursy-pro-exam-a:has(input:checked) {
    border-color: #8a2436;
    background: #fbf1f3;
    box-shadow: inset 0 0 0 1px #8a2436;
}
.kursy-pro-exam-a input {
    accent-color: #6b1f2e;
    flex: 0 0 auto;
}
.kursy-pro-exam-qtext {
    font-weight: 700;
}
.kursy-pro-exam-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
    color: #6b1f2e;
    background: #fbf1f3;
    border-radius: 8px;
    padding: 4px 10px;
}
.kursy-pro-exam-qimg {
    margin: 0 0 12px;
}
.kursy-pro-exam-qimg img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}
.kursy-pro-exam-a-text {
    flex: 1 1 auto;
}
.kursy-pro-exam-a-media {
    display: block;
    flex: 0 0 auto;
}
.kursy-pro-exam-a-media img {
    display: block;
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

.kursy-pro-exam-answers.is-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}
.kursy-pro-exam-answers.is-image-grid .kursy-pro-exam-a {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    margin-bottom: 0;
    gap: 8px;
    position: relative;
    padding-top: 34px;
}
.kursy-pro-exam-answers.is-image-grid .kursy-pro-exam-a input {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 18px;
    height: 18px;
}
.kursy-pro-exam-answers.is-image-grid .kursy-pro-exam-a-media img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}
.kursy-pro-exam-a.has-image:hover {
    box-shadow: 0 6px 16px rgba(107, 31, 46, .14);
}

.kursy-pro-exam-actions {
    margin-top: 18px;
}

.kursy-pro-exam-result {
    text-align: center;
}
.kursy-pro-exam-result-icon {
    font-size: 48px;
    margin-bottom: 8px;
}
.kursy-pro-exam-result.is-passed .kursy-pro-exam-result-icon { color: #1a7a4f; }
.kursy-pro-exam-result.is-failed .kursy-pro-exam-result-icon { color: #6b1f2e; }
.kursy-pro-exam-score {
    font-size: 40px;
    font-weight: 800;
    color: #1a2340;
    margin: 6px 0;
}
.kursy-pro-exam-result-meta {
    color: #6b7280;
    margin-bottom: 16px;
}

.kursy-pro-exam-review {
    text-align: left;
    margin: 8px 0 18px;
    border-top: 1px solid #eef0f5;
    padding-top: 14px;
}
.kursy-pro-exam-review h4 {
    margin: 0 0 10px;
    font-size: 15px;
    color: #26304a;
}
.kursy-pro-exam-review-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.kursy-pro-exam-review-item {
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f7f8fb;
    border: 1px solid #eef0f5;
}
.kursy-pro-exam-review-item.is-ok {
    background: #f1f9f4;
    border-color: #d5ecdd;
}
.kursy-pro-exam-review-item.is-bad {
    background: #fdf2f4;
    border-color: #f2d9df;
}
.kursy-pro-exam-review-mark {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    color: #fff;
}
.kursy-pro-exam-review-item.is-ok .kursy-pro-exam-review-mark { background: #1a7a4f; }
.kursy-pro-exam-review-item.is-bad .kursy-pro-exam-review-mark { background: #b3384a; }
.kursy-pro-exam-review-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.kursy-pro-exam-review-q {
    font-weight: 600;
    color: #26304a;
    font-size: 14px;
}
.kursy-pro-exam-review-exp {
    font-size: 13px;
    color: #5b6472;
    display: inline-flex;
    align-items: flex-start;
    gap: 6px;
}
.kursy-pro-exam-review-exp i {
    color: #8a2436;
    margin-top: 2px;
}

.kursy-pro-certs {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.kursy-pro-cert-card {
    position: relative;
    border-radius: 12px;
    border: 1px solid #e6e8ef;
    background: #fff;
    padding: 20px 20px 18px;
    overflow: hidden;
}
.kursy-pro-cert-card.is-issued {
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06);
}
.kursy-pro-cert-ribbon {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #8a2436;
    color: #fff;
    font-size: 18px;
}
.kursy-pro-cert-card.is-locked .kursy-pro-cert-ribbon {
    background: #cbd0dd;
    color: #fff;
}
.kursy-pro-cert-course {
    display: block;
    font-weight: 700;
    font-size: 17px;
    color: #1a2340;
    padding-right: 48px;
}
.kursy-pro-cert-number {
    display: block;
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}
.kursy-pro-cert-name-row {
    margin-top: 14px;
}
.kursy-pro-cert-name-row label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #9aa1b2;
    margin-bottom: 6px;
}
.kursy-pro-cert-name-edit {
    display: flex;
    gap: 8px;
}
.kursy-pro-cert-name-input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 8px 12px;
    border: 1px solid #d7dbe6;
    border-radius: 10px;
    font-size: 14px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.kursy-pro-cert-name-input:focus {
    outline: none;
    border-color: #8a2436;
    box-shadow: 0 0 0 3px rgba(138, 36, 54, .12);
}
.kursy-pro-cert-saved {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    color: #1a7a4f;
    font-weight: 600;
}
.kursy-pro-cert-foot {
    margin-top: 16px;
}
.kursy-pro-cert-download {
    width: 100%;
    justify-content: center;
}
.kursy-pro-cert-progress {
    height: 8px;
    background: #eceef4;
    border-radius: 999px;
    overflow: hidden;
    margin: 12px 0 6px;
}
.kursy-pro-cert-progress span {
    display: block;
    height: 100%;
    background: #8a2436;
}
.kursy-pro-cert-progress-label {
    font-size: 12px;
    color: #9aa1b2;
}

.kursy-pro-finish {
    margin-top: 22px;
}
.kursy-pro-finish:empty {
    display: none;
}
.kursy-pro-finish-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    border-radius: 12px;
    border: 1px solid #e6e8ef;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06);
}

.kursy-pro-exam-region-inline {
    margin-top: 16px;
}

.kursy-pro-review-card {
    margin-bottom: 16px;
    padding: 20px 22px;
    border-radius: 12px;
    border: 1px solid #e6e8ef;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06);
}
.kursy-pro-review-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.kursy-pro-review-icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 20px;
    color: #fff;
    background: #8a2436;
}
.kursy-pro-review-intro {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.kursy-pro-review-intro strong {
    font-size: 16px;
    font-weight: 800;
    color: #1a2340;
    line-height: 1.25;
}
.kursy-pro-review-intro span {
    font-size: 13px;
    color: #6b7280;
}
.kursy-pro-review-form .wpcf7 {
    margin: 0;
}
.kursy-pro-review-form .wpcf7-form p {
    margin: 0 0 12px;
}
.kursy-pro-review-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #26304a;
}
.kursy-pro-review-form input[type="text"],
.kursy-pro-review-form input[type="email"],
.kursy-pro-review-form input[type="url"],
.kursy-pro-review-form input[type="tel"],
.kursy-pro-review-form input[type="number"],
.kursy-pro-review-form textarea,
.kursy-pro-review-form select {
    width: 100%;
    margin-top: 5px;
    padding: 10px 12px;
    border: 1px solid #d7dbe6;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.4;
    color: #26304a;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.kursy-pro-review-form textarea {
    min-height: 96px;
    resize: vertical;
}
.kursy-pro-review-form input:focus,
.kursy-pro-review-form textarea:focus,
.kursy-pro-review-form select:focus {
    outline: none;
    border-color: #8a2436;
    box-shadow: 0 0 0 3px rgba(138, 36, 54, .12);
}

.kursy-pro-finish-icon {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 22px;
    color: #fff;
}
.kursy-pro-finish--exam .kursy-pro-finish-icon { background: #1b2740; }
.kursy-pro-finish--cert .kursy-pro-finish-icon { background: #8a2436; }
.kursy-pro-finish--done .kursy-pro-finish-icon { background: #2a3556; }

.kursy-pro-finish-text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.kursy-pro-finish-title {
    font-size: 17px;
    font-weight: 800;
    color: #1a2340;
    line-height: 1.25;
}
.kursy-pro-finish-msg {
    font-size: 14px;
    color: #4b5563;
}
.kursy-pro-finish-actions {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

@media (max-width: 680px) {
    .kursy-pro-finish-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .kursy-pro-finish-actions {
        width: 100%;
    }
    .kursy-pro-finish-actions .kursy-btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}

.kursy-pro-panel-hero {
    display: block;
    margin: 0 0 18px;
    padding: 16px 18px;
    border-radius: 12px;
    background: #fff;
    color: #1b2740;
    border: 1px solid #e6e8ef;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
    transition: border-color .15s ease, box-shadow .15s ease;
    -webkit-tap-highlight-color: transparent;
}
.kursy-pro-panel-hero:hover {
    border-color: #d7dbe6;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 12px rgba(16, 24, 40, .06);
}
.kursy-pro-panel-hero:focus-visible {
    outline: 2px solid #8a2436;
    outline-offset: 2px;
}
.kursy-pro-panel-hero.is-loading { opacity: .7; }

.kursy-pro-panel-hero-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.kursy-pro-panel-hero-caption {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .09em;
    font-weight: 700;
    color: #9aa1b2;
}
.kursy-pro-panel-hero-points {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    white-space: nowrap;
}
.kursy-pro-panel-hero-total {
    font-size: 15px;
    font-weight: 800;
    color: #1b2740;
}
.kursy-pro-panel-hero-level {
    margin-top: 3px;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: #1b2740;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.kursy-pro-panel-hero-bar {
    height: 6px;
    margin-top: 13px;
    border-radius: 999px;
    background: #eef1f5;
    overflow: hidden;
}
.kursy-pro-panel-hero-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: #8a2436;
    transition: width .5s cubic-bezier(.2, .9, .3, 1);
}
.kursy-pro-panel-hero-hint {
    display: block;
    margin-top: 9px;
    font-size: 12px;
    color: #9aa1b2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .kursy-pro-panel-hero {
        padding: 14px 16px;
    }
    .kursy-pro-panel-hero-level { font-size: 19px; }
}

.kursy-pro-toasts {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 340px;
}

.kursy-pro-toast {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fff;
    color: #1a2340;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .12);
    border: 1px solid #e6e8ef;
    overflow: hidden;
    cursor: pointer;
    pointer-events: auto;
    transform: translateX(120%);
    opacity: 0;
    transition: transform .32s cubic-bezier(.2, .9, .3, 1.2), opacity .32s ease;
}
.kursy-pro-toast.is-in { transform: translateX(0); opacity: 1; }
.kursy-pro-toast.is-out { transform: translateX(120%); opacity: 0; }

.kursy-pro-toast-icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f2eef0;
    color: #6b1f2e;
    font-size: 18px;
}
.kursy-pro-toast-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}
.kursy-pro-toast-title {
    font-size: 15px;
    font-weight: 800;
}
.kursy-pro-toast-msg {
    font-size: 13px;
    opacity: .8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.kursy-pro-toast-chip {
    flex: 0 0 auto;
    margin-left: auto;
    align-self: center;
    font-weight: 800;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #1a7a4f;
    color: #fff;
    box-shadow: none;
}

.kursy-pro-toast--reward .kursy-pro-toast-icon { background: #ecebf1; color: #1a2340; }

.kursy-pro-toast--level {
    background: #1b2740;
    color: #fff;
    border-color: transparent;
}
.kursy-pro-toast--level .kursy-pro-toast-icon { background: rgba(255,255,255,.15); color: #fff; }
.kursy-pro-toast--level .kursy-pro-toast-chip { background: #fff; color: #1b2740; box-shadow: none; }

.kursy-pro-toast--course {
    background: #8a2436;
    color: #fff;
    border-color: transparent;
}
.kursy-pro-toast--course .kursy-pro-toast-icon { background: rgba(255,255,255,.16); color: #fff; }

.kursy-pro-toast--progress .kursy-pro-toast-icon { background: #efeaf0; color: #6b1f2e; }
.kursy-pro-toast--progress { border-color: #eadfe2; }

.kursy-pro-toast--muted {
    background: #f6f7fb;
    color: #6b7280;
    box-shadow: 0 8px 20px rgba(26, 35, 64, .12);
}
.kursy-pro-toast--muted .kursy-pro-toast-icon { background: #ececf0; color: #9aa1b2; }
.kursy-pro-toast--muted .kursy-pro-toast-chip { background: #cbd0dd; color: #4b5563; box-shadow: none; }

.kursy-pro-confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.kursy-pro-confetti i {
    position: absolute;
    top: -12px;
    width: 8px;
    height: 8px;
    border-radius: 1px;
    opacity: 0;
    animation: kursy-pro-fall 1.4s ease-in forwards;
}
@keyframes kursy-pro-fall {
    0% { top: -12px; opacity: 0; }
    15% { opacity: 1; }
    100% { top: 120%; opacity: 0; }
}

@media (max-width: 600px) {
    .kursy-pro-career {
        padding: 16px;
    }
    .kursy-pro-career-node {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
    .kursy-pro-career-step::before { left: 19px; }
    .kursy-pro-career-name { font-size: 14px; }
    .kursy-pro-career-badge { font-size: 11px; }
    .kursy-pro-career-bar { max-width: none; }

    .kursy-pro-toasts {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }
    .kursy-pro-toast { transform: translateY(120%); }
    .kursy-pro-toast.is-in { transform: translateY(0); }
    .kursy-pro-toast.is-out { transform: translateY(120%); }
}

.kursy-pro-cta:focus-visible,
.kursy-pro-cta-soft:focus-visible,
.kursy-pro-finish-btn:focus-visible,
.kursy-pro-exam-start:focus-visible,
.kursy-pro-exam-submit:focus-visible,
.kursy-pro-cert-save:focus-visible,
.kursy-pro-cert-download:focus-visible,
.kursy-pro-goto:focus-visible,
.kursy-pro-toast:focus-visible {
    outline: 2px solid #8a2436;
    outline-offset: 2px;
}
.kursy-pro-exam-a:focus-within {
    border-color: #8a2436;
    box-shadow: 0 0 0 2px rgba(138, 36, 54, .25);
}

@media (prefers-reduced-motion: reduce) {
    .kursy-pro-toast,
    .kursy-pro-career-bar span,
    .kursy-pro-panel-hero-bar span,
    .kursy-pro-cert-progress span,
    .kursy-pro-exam-a {
        transition: none !important;
    }
    .kursy-pro-confetti { display: none !important; }
    .kursy-pro-spinner { animation-duration: 1.6s; }
}
