.sgpp-academy,
.sgpp-academy-login {
    max-width: 1120px;
    margin: 24px auto 48px;
    padding: 0 18px;
    color: #1e293b;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
}
.sgpp-academy-back {
    display: inline-block;
    margin: 0 0 18px;
    color: #004b8d;
    font-weight: 700;
    text-decoration: none;
}
.sgpp-academy-hero {
    background: linear-gradient(135deg, #004b8d, #73af2b);
    border-radius: 12px;
    color: #fff;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(0, 75, 141, .18);
}
.sgpp-academy-hero p,
.sgpp-academy-hero h1 {
    margin: 0;
    color: #fff;
}
.sgpp-academy-hero p {
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 12px;
    opacity: .84;
}
.sgpp-academy-hero h1 {
    margin-top: 8px;
    font-size: 30px;
    line-height: 1.18;
}
.sgpp-academy-version {
    margin-top: 10px;
    font-size: 13px;
    opacity: .9;
}
.sgpp-academy-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .75fr);
    gap: 18px;
    margin-top: 18px;
}
.sgpp-academy-card,
.sgpp-academy-login {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 22px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
    margin-top: 18px;
}
.sgpp-academy-card h2,
.sgpp-academy-card h3 {
    margin: 0 0 10px;
    color: #004b8d;
    line-height: 1.2;
}
.sgpp-academy-card h2 {
    font-size: 30px;
}
.sgpp-academy-card h3 {
    font-size: 22px;
}
.sgpp-academy-card-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}
.sgpp-academy-card-head p {
    margin: 4px 0 0;
    color: #64748b;
}
.sgpp-academy-percent {
    color: #004b8d;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
}
.sgpp-academy-bar {
    height: 10px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
    margin: 14px 0;
}
.sgpp-academy-bar span {
    display: block;
    height: 100%;
    background: #73af2b;
}
.sgpp-academy-status {
    margin: 0;
}
.sgpp-academy-status div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #eef2f7;
    padding: 9px 0;
}
.sgpp-academy-status dt {
    color: #64748b;
}
.sgpp-academy-status dd {
    margin: 0;
    font-weight: 700;
    text-align: right;
}
.sgpp-academy-alert {
    border: 1px solid #bfdbfe;
    border-left: 5px solid #004b8d;
    background: #eff6ff;
    color: #1e3a8a;
    border-radius: 10px;
    padding: 15px 18px;
    margin-top: 18px;
}
.sgpp-academy-alert.is-success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    border-left-color: #73af2b;
    color: #166534;
}
.sgpp-academy-alert.is-warning {
    background: #fffbeb;
    border-color: #fde68a;
    border-left-color: #f59e0b;
    color: #92400e;
}
.sgpp-academy-alert p {
    margin: 6px 0 0;
}
.sgpp-academy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.sgpp-academy-module-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}
.sgpp-academy-module-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
}
.sgpp-academy-module-row.is-done {
    border-color: #bbf7d0;
    background: #f0fdf4;
}
.sgpp-academy-module-row.is-locked {
    background: #f8fafc;
    color: #64748b;
}
.sgpp-academy-module-row p {
    margin: 4px 0;
    color: #64748b;
}
.sgpp-academy-module-row span {
    font-size: 12px;
}
.sgpp-academy-button,
.sgpp-academy-login a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 0;
    background: #004b8d;
    color: #fff;
    font-weight: 800;
    padding: 10px 16px;
    text-decoration: none;
    cursor: pointer;
}
.sgpp-academy-button.is-secondary {
    background: #73af2b;
}
.sgpp-academy-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-weight: 800;
    padding: 6px 12px;
}
.sgpp-academy-badge.is-locked {
    background: #e2e8f0;
    color: #475569;
}
.sgpp-academy-module-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}
.sgpp-academy-content {
    line-height: 1.7;
}
.sgpp-academy-content h2 {
    margin: 24px 0 10px;
    color: #004b8d;
    font-size: 28px;
    line-height: 1.24;
}
.sgpp-academy-content h3 {
    margin: 20px 0 8px;
    color: #004b8d;
    font-size: 21px;
    line-height: 1.3;
}
.sgpp-academy-content p {
    margin: 0 0 14px;
}
.sgpp-academy-content > p {
    border: 1px solid #bfdbfe;
    border-left: 5px solid #004b8d;
    border-radius: 8px;
    background: #eff6ff;
    color: #1e3a8a;
    padding: 14px 16px;
    margin: 12px 0 18px;
}
.sgpp-academy-content .sgpp-info {
    border: 1px solid #bfdbfe;
    border-left: 5px solid #004b8d;
    border-radius: 8px;
    background: #eff6ff;
    color: #1e3a8a;
    padding: 14px 16px;
    margin: 16px 0 22px;
}
.sgpp-academy-content .sgpp-info strong {
    display: block;
    margin-bottom: 6px;
    color: #004b8d;
    font-size: 15px;
}
.sgpp-academy-content .sgpp-info p {
    margin-bottom: 8px;
}
.sgpp-academy-content .sgpp-info p:last-child {
    margin-bottom: 0;
}
.sgpp-academy-content .sgpp-note,
.sgpp-academy-content .sgpp-tip,
.sgpp-academy-content .sgpp-warning,
.sgpp-academy-content .sgpp-rule,
.sgpp-academy-content .sgpp-nogo {
    border: 1px solid #dbe3ed;
    border-left: 5px solid #004b8d;
    border-radius: 8px;
    padding: 12px 14px;
    margin: 16px 0;
    background: #f8fafc;
}
.sgpp-academy-content .sgpp-tip { border-left-color: #73af2b; background: #f7fee7; }
.sgpp-academy-content .sgpp-warning,
.sgpp-academy-content .sgpp-nogo { border-left-color: #d97706; background: #fffbeb; }
.sgpp-academy-content .sgpp-rule { border-left-color: #0f766e; background: #ecfdf5; }
.sgpp-academy-content .sgpp-note strong,
.sgpp-academy-content .sgpp-tip strong,
.sgpp-academy-content .sgpp-warning strong,
.sgpp-academy-content .sgpp-rule strong,
.sgpp-academy-content .sgpp-nogo strong { display: block; margin-bottom: 4px; color: #0f172a; }
.sgpp-academy-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}
.sgpp-academy-content td,
.sgpp-academy-content th {
    border: 1px solid #dbe3ed;
    padding: 8px 10px;
}
.sgpp-academy-question {
    border: 1px solid #dbe3ed;
    border-radius: 8px;
    padding: 14px;
    margin: 14px 0;
}
.sgpp-academy-question legend {
    padding: 0 6px;
    color: #0f172a;
    font-weight: 800;
}
.sgpp-academy-question label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 8px 0;
    cursor: pointer;
}
.sgpp-academy-question input[type="radio"],
.sgpp-academy-question input[type="checkbox"] {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    float: none !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    border: 1px solid #64748b !important;
    transform: none !important;
    flex: 0 0 18px;
    accent-color: #004b8d;
}
.sgpp-academy-question input[type="radio"] {
    -webkit-appearance: radio !important;
    appearance: auto !important;
    border-radius: 50% !important;
}
.sgpp-academy-question input[type="checkbox"] {
    -webkit-appearance: checkbox !important;
    appearance: auto !important;
}
@media (max-width: 760px) {
    .sgpp-academy-grid,
    .sgpp-academy-module-row {
        grid-template-columns: 1fr;
    }
    .sgpp-academy-card-head {
        display: block;
    }
    .sgpp-academy-hero {
        padding: 22px;
    }
    .sgpp-academy-hero h1 {
        font-size: 24px;
    }
    .sgpp-academy-button {
        width: 100%;
        margin-top: 10px;
    }
}
