@import url("/assets/css/admin-core.css?v=admin-core-20260728-1");

:root {
    --admin-shell-max-width: 1600px;
}

html {
    scroll-behavior: smooth;
}

.edu-public-shell,
.learning-shell {
    min-height: 100vh;
    color: #102033;
}

.edu-public-shell {
    background: #f6f8fb;
}

.edu-public-header {
    height: 72px;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0 7vw;
    background: #32c10f;
    box-shadow: 0 8px 20px rgba(24, 134, 18, 0.18);
    position: sticky;
    top: 0;
    z-index: 10;
}

.edu-brand,
.learning-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #083052;
    text-decoration: none;
    font-weight: 900;
    font-size: 26px;
}

.edu-brand img,
.learning-brand img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.edu-brand span span,
.learning-brand span span {
    color: #ecff47;
}

.edu-public-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex: 1;
}

.edu-public-nav a,
.edu-link-button {
    color: #0e2a3f;
    font-weight: 700;
    text-decoration: none;
}

.edu-public-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.edu-primary-button,
.edu-link-button {
    border: 0;
    min-height: 40px;
    padding: 10px 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.edu-primary-button {
    background: #0b2e4f;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.edu-link-button {
    background: rgba(255, 255, 255, 0.26);
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
    gap: 52px;
    min-height: 560px;
    padding: 74px 7vw 56px;
    align-items: center;
    background-color: #f6f8fb;
    background-image: url("/logo.png");
    background-repeat: no-repeat;
    background-size: 220px auto;
    background-position: right 8vw bottom 42px;
}

.hero-copy {
    max-width: 650px;
}

.hero-kicker {
    color: #18840e;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.hero-copy h1 {
    margin: 16px 0 18px;
    font-size: 52px;
    line-height: 1.05;
    font-weight: 900;
    color: #0a2744;
}

.hero-copy p {
    font-size: 18px;
    line-height: 1.7;
    color: #4d5b6c;
    max-width: 590px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 30px;
}

.hero-primary,
.hero-secondary {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 900;
    text-decoration: none;
}

.hero-primary {
    background: #32c10f;
    color: #09284a;
}

.hero-secondary {
    background: #fff;
    color: #0a2744;
    border: 1px solid #dbe3ec;
}

.hero-preview {
    background: #fff;
    border: 1px solid #dfe7f1;
    border-radius: 8px;
    box-shadow: 0 26px 60px rgba(22, 48, 78, 0.14);
    padding: 18px;
}

.preview-top {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.preview-top span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dfe7f1;
}

.preview-grid {
    display: grid;
    gap: 14px;
}

.preview-card {
    min-height: 112px;
    border-radius: 8px;
    padding: 20px;
    display: grid;
    gap: 8px;
    color: #0a2744;
}

.preview-card i {
    font-size: 24px;
}

.preview-card strong {
    font-size: 20px;
}

.preview-card small {
    color: #5b6878;
}

.preview-green {
    background: #ecfbe9;
}

.preview-blue {
    background: #eef7ff;
}

.preview-yellow {
    background: #fff8df;
}

.home-section {
    padding: 56px 7vw;
}

.section-heading span {
    color: #25a615;
    font-weight: 900;
}

.section-heading h2,
.home-band h2 {
    margin: 8px 0 24px;
    color: #0a2744;
    font-size: 34px;
    font-weight: 900;
}

.program-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.program-category-card {
    min-height: 150px;
    background: #fff;
    border: 1px solid #dfe7f1;
    border-radius: 8px;
    padding: 22px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
}

.category-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #edffe7;
    color: #22a80f;
}

.program-category-card strong {
    color: #0a2744;
    font-size: 20px;
}

.program-category-card p {
    margin: 8px 0 14px;
    color: #697789;
}

.program-category-card a {
    color: #13710c;
    font-weight: 900;
    text-decoration: none;
}

.home-band {
    margin: 0 7vw 64px;
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 34px;
    border-radius: 8px;
    background: #0a2744;
    color: #fff;
}

.home-band p {
    margin: 0;
    max-width: 680px;
    color: #d9e6f3;
}

.home-band a {
    min-height: 46px;
    border-radius: 999px;
    padding: 12px 20px;
    display: inline-flex;
    align-items: center;
    background: #b9ff21;
    color: #0a2744;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.auth-page {
    min-height: calc(100vh - 85px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 20px;
    background:
        radial-gradient(circle at 8% 15%, rgba(10, 104, 172, 0.12), transparent 30%),
        radial-gradient(circle at 92% 82%, rgba(237, 52, 57, 0.08), transparent 27%),
        #f4f7fb;
}

.auth-shell {
    width: min(100%, 1060px);
    display: grid;
    grid-template-columns: minmax(340px, 0.9fr) minmax(430px, 1.1fr);
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(10, 104, 172, 0.12);
    border-radius: 20px;
    box-shadow: 0 28px 80px rgba(15, 42, 67, 0.14);
}

.auth-story {
    position: relative;
    isolation: isolate;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    padding: 42px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(145deg, #07375c 0%, #0a68ac 66%, #1385c9 100%);
}

.auth-story::before,
.auth-story::after {
    position: absolute;
    z-index: -1;
    content: "";
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.auth-story::before {
    width: 330px;
    height: 330px;
    right: -140px;
    top: -95px;
}

.auth-story::after {
    width: 260px;
    height: 260px;
    left: -135px;
    bottom: -90px;
    background: rgba(255, 255, 255, 0.04);
}

.auth-brand {
    width: fit-content;
    max-width: 220px;
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 20, 40, 0.14);
}

.auth-brand img {
    display: block;
    max-width: 180px;
    max-height: 38px;
    object-fit: contain;
}

.auth-story-content {
    margin: auto 0;
}

.auth-story-kicker {
    display: inline-flex;
    margin-bottom: 14px;
    color: #bde4ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.auth-story-content h2 {
    max-width: 380px;
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 800;
    line-height: 1.15;
}

.auth-story-content > p {
    max-width: 390px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.75;
}

.auth-benefits {
    display: grid;
    gap: 13px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.auth-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
}

.auth-benefits i {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.auth-back-home {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.auth-back-home:hover {
    color: #fff;
}

.auth-panel {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 46px 52px;
    background: #fff;
}

.auth-panel-heading {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.auth-panel-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(10, 104, 172, 0.1);
    color: var(--primary-color, #0a68ac);
    font-size: 18px;
}

.auth-kicker {
    display: block;
    margin-bottom: 5px;
    color: var(--primary-color, #0a68ac);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.auth-panel h1 {
    margin: 0 0 5px;
    color: #102a43;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.15;
}

.auth-panel-heading p {
    margin: 0;
    color: #6b7d90;
    font-size: 14px;
}

.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid #ffd2c7;
    border-radius: 10px;
    background: #fff5f2;
    color: #a12c19;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.5;
}

.auth-alert i {
    margin-top: 3px;
}

.auth-form {
    display: grid;
    gap: 17px;
}

.auth-field {
    display: grid;
    gap: 7px;
}

.auth-field > label {
    margin: 0;
    color: #263f57;
    font-size: 13px;
    font-weight: 750;
}

.auth-input-wrap {
    position: relative;
}

.auth-input-wrap > i {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 1;
    color: #8092a5;
    font-size: 14px;
    transform: translateY(-50%);
    pointer-events: none;
}

.auth-input-wrap input {
    width: 100%;
    height: 48px;
    border: 1px solid #cbd8e5;
    border-radius: 10px;
    padding: 0 14px 0 43px;
    background: #fff;
    color: #102a43;
    font-size: 14px;
    outline: 0;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.auth-input-wrap input::placeholder {
    color: #9aa9b8;
}

.auth-input-wrap:focus-within > i {
    color: var(--primary-color, #0a68ac);
}

.auth-input-wrap input:focus {
    border-color: var(--primary-color, #0a68ac);
    box-shadow: 0 0 0 3px rgba(10, 104, 172, 0.12);
}

.auth-field-hint {
    color: #718397;
    font-size: 12px;
    line-height: 1.45;
}

.auth-form .auth-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    color: #53677b;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
}

.auth-form .auth-checkbox input {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    margin: 1px 0 0;
    padding: 0;
    accent-color: var(--primary-color, #0a68ac);
}

.auth-terms a {
    color: var(--primary-color, #0a68ac);
    font-weight: 700;
}

.auth-submit {
    width: 100%;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-color, #0a68ac), #0787cc);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(10, 104, 172, 0.2);
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.auth-submit:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 13px 28px rgba(10, 104, 172, 0.26);
}

.auth-submit:disabled {
    cursor: wait;
    opacity: 0.82;
}

.auth-submit-spinner {
    width: 18px;
    height: 18px;
    display: none;
    border: 2px solid rgba(255, 255, 255, 0.38);
    border-top-color: #fff;
    border-radius: 50%;
    animation: auth-submit-spin 0.7s linear infinite;
}

.auth-submit-loading-text {
    display: none;
}

.auth-form[data-submitting="true"] .auth-submit-spinner,
.auth-form[data-submitting="true"] .auth-submit-loading-text {
    display: inline-flex;
}

.auth-form[data-submitting="true"] .auth-submit-text {
    display: none;
}

.auth-form[data-submitting="true"] .auth-submit-arrow {
    display: none;
}

@keyframes auth-submit-spin {
    to {
        transform: rotate(360deg);
    }
}

.auth-switch {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e6edf4;
    color: #65788b;
    font-size: 13px;
    text-align: center;
}

.auth-switch a {
    color: var(--primary-color, #0a68ac);
    font-weight: 800;
    text-decoration: none;
}

.auth-security-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 18px 0 0;
    color: #77899b;
    font-size: 12px;
    line-height: 1.55;
}

.auth-security-note i {
    margin-top: 3px;
    color: #4c9c6b;
}

.auth-page-register .auth-story,
.auth-page-register .auth-panel {
    min-height: 700px;
}

@media (max-width: 900px) {
    .auth-shell {
        max-width: 660px;
        grid-template-columns: 1fr;
    }

    .auth-story {
        min-height: auto;
        padding: 30px 34px;
    }

    .auth-story-content {
        margin: 42px 0 34px;
    }

    .auth-story-content h2 {
        max-width: 520px;
        font-size: 32px;
    }

    .auth-benefits {
        grid-template-columns: repeat(3, 1fr);
    }

    .auth-benefits li {
        align-items: flex-start;
        font-size: 12px;
    }

    .auth-page-register .auth-story,
    .auth-page-register .auth-panel {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .auth-page {
        min-height: auto;
        padding: 24px 12px 36px;
    }

    .auth-shell {
        border-radius: 14px;
    }

    .auth-story {
        padding: 22px;
    }

    .auth-brand {
        min-height: 50px;
        padding: 8px 12px;
    }

    .auth-brand img {
        max-width: 150px;
        max-height: 32px;
    }

    .auth-story-content {
        margin: 28px 0 22px;
    }

    .auth-story-content h2 {
        margin-bottom: 10px;
        font-size: 25px;
    }

    .auth-story-content > p {
        font-size: 13px;
        line-height: 1.6;
    }

    .auth-benefits {
        display: none;
    }

    .auth-panel {
        padding: 30px 22px;
    }

    .auth-panel-heading {
        gap: 12px;
        margin-bottom: 22px;
    }

    .auth-panel-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 11px;
    }

    .auth-panel h1 {
        font-size: 27px;
    }
}

.learning-shell {
    background: #f5f6fb;
    color: #0f1d33;
}

.learning-topbar {
    height: 76px;
    display: grid;
    grid-template-columns: minmax(210px, 260px) minmax(280px, 520px) 1fr;
    align-items: center;
    gap: 26px;
    padding: 0 7vw;
    background: linear-gradient(115deg, var(--primary-color, #0a68ac), #08758a);
    box-shadow: 0 6px 18px rgba(10, 80, 120, 0.22);
}

.learning-search {
    height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.learning-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-weight: 700;
}

.learning-search input::placeholder {
    color: rgba(255, 255, 255, 0.92);
}

.learning-profile {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.learning-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f6ffe8;
    color: var(--primary-color, #0a68ac);
    font-weight: 900;
}

.learning-coins {
    color: #fff;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 800;
    text-decoration: none;
}

.learning-coins:hover { background: rgba(255, 255, 255, .32); color: #fff; }

.learning-subnav {
    height: 62px;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0 13vw;
    border-bottom: 1px solid #e2e7ef;
    background: #fff;
    position: relative;
    z-index: 20;
}

.learning-subnav a,
.learning-subnav button {
    color: #0f1d33;
    font-weight: 800;
    text-decoration: none;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.learning-subnav a.active { color: var(--primary-color, #0a68ac); }

.learning-program-menu {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.learning-program-toggle {
    height: 100%;
}

.learning-program-toggle i {
    transition: transform 0.18s ease;
}

.learning-program-menu:hover .learning-program-toggle i,
.learning-program-menu:focus-within .learning-program-toggle i {
    transform: rotate(180deg);
}

.learning-mega-menu {
    width: min(980px, calc(100vw - 40px));
    min-height: 420px;
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #dfe5ee;
    box-shadow: 0 24px 50px rgba(15, 29, 51, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.learning-program-menu:hover .learning-mega-menu,
.learning-program-menu:focus-within .learning-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.learning-mega-cats {
    padding: 18px;
    border-right: 1px solid #e2e7ef;
    background: #fff;
}

.learning-mega-cat {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #0f1d33;
    text-decoration: none;
    border-radius: 8px;
    padding: 10px 12px;
    font-weight: 700;
}

.learning-mega-cat:hover,
.learning-mega-cat:focus {
    background: #f4f9ff;
    color: #0b4f92;
}

.learning-mega-cat span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.learning-mega-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 42px;
    align-content: start;
    padding: 24px 26px;
    max-height: 70vh;
    overflow: auto;
}

.learning-mega-group h3 {
    margin: 0 0 14px;
    color: #0d1e34;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0;
}

.learning-mega-programs {
    display: grid;
    gap: 16px;
}

.learning-mega-program {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    color: #0d1e34;
    text-decoration: none;
}

.learning-mega-program:hover strong,
.learning-mega-program:focus strong {
    color: #0b66c3;
}

.learning-mega-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #f1f7ff;
    color: #0b66c3;
}

.learning-mega-program strong {
    display: block;
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 900;
}

.learning-mega-program small {
    display: block;
    color: #697789;
    font-size: 14px;
    line-height: 1.7;
}

.learning-mega-empty {
    grid-column: 1 / -1;
    display: grid;
    place-items: center;
    min-height: 240px;
    color: #697789;
    font-weight: 800;
}

.learning-main {
    max-width: 1460px;
    margin: 0 auto;
    padding: 28px 24px 56px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr) 340px;
    gap: 22px;
    align-items: start;
}

.interest-panel,
.task-card,
.programs-panel,
.stat-card {
    background: #fff;
    border: 1px solid #dfe5ee;
    border-radius: 8px;
}

.interest-panel,
.task-card,
.programs-panel,
.stat-card {
    padding: 20px;
}

.interest-panel h2,
.task-card h2,
.programs-panel h2,
.stat-card h2 {
    margin: 0;
    color: #0d1e34;
    font-size: 21px;
    font-weight: 900;
}

.interest-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.interest-card {
    min-height: 126px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    text-align: left;
    color: #0a2744;
    background: #edfbea;
}

.interest-card:nth-child(2) {
    background: #f1f7ff;
}

.interest-card:nth-child(3) {
    background: #fff7d9;
}

.interest-card span {
    font-size: 18px;
    font-weight: 900;
}

.interest-card > i {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #b8ff21;
    color: #13710c;
    align-self: flex-end;
}

.interest-card.active {
    border-color: #32c10f;
    box-shadow: 0 0 0 3px rgba(50, 193, 15, 0.12);
}

.today-panel {
    display: grid;
    gap: 18px;
}

.task-content {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    border-radius: 8px;
    background: #dff1ff;
}

.hint-card,
.start-card {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
}

.hint-card {
    display: grid;
    align-content: start;
    gap: 12px;
}

.hint-icon,
.book-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eaffdf;
    color: #28ad13;
}

.hint-card strong,
.start-card h3 {
    color: #0d1e34;
    font-size: 20px;
    font-weight: 900;
}

.hint-card p,
.start-card p {
    color: #657386;
    line-height: 1.55;
}

.start-card {
    min-height: 340px;
    display: grid;
    place-items: center;
    text-align: center;
}

.book-icon {
    width: 82px;
    height: 82px;
    margin-bottom: 10px;
    font-size: 34px;
    background: #7cdc48;
    color: #fff;
}

.program-chips {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.program-chips button {
    border: 0;
    border-radius: 999px;
    background: #eef8ff;
    color: #175476;
    padding: 9px 14px;
    font-weight: 900;
}

.panel-title {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
}

.panel-title span {
    color: #13710c;
    font-weight: 900;
}

.learning-menu {
    display: grid;
    gap: 18px;
}

.menu-category header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.menu-category header > i {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #edfbea;
    color: #22a80f;
}

.menu-category strong {
    display: block;
    color: #0d1e34;
    font-weight: 900;
}

.menu-category small {
    color: #6d7a89;
    font-weight: 800;
}

.menu-programs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.program-card {
    min-height: 164px;
    border: 1px solid #dfe7f0;
    border-radius: 8px;
    padding: 18px;
    background: #fbfff9;
}

.program-card:nth-child(3n + 2) {
    background: #f5faff;
}

.program-card:nth-child(3n) {
    background: #fff9e8;
}

.program-card span {
    color: #14760d;
    font-weight: 900;
    font-size: 13px;
}

.program-card strong {
    margin-top: 10px;
    font-size: 20px;
}

.program-card p {
    margin: 10px 0;
    color: #697789;
}

.subject-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.subject-list em {
    font-style: normal;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #dfe7f0;
    padding: 5px 9px;
    color: #516171;
    font-weight: 700;
    font-size: 12px;
}

.stats-column {
    display: grid;
    gap: 18px;
}

.streak-summary {
    margin: 18px 0;
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    border-radius: 8px;
    background: #f0faef;
}

.streak-summary strong {
    font-size: 42px;
    color: #13710c;
}

.streak-summary span {
    color: #32c10f;
    font-weight: 900;
}

.streak-summary p {
    margin: 4px 0 0;
    font-weight: 900;
}

.week-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 9px;
    margin-bottom: 16px;
}

.week-row div {
    display: grid;
    place-items: center;
    gap: 8px;
}

.week-row span {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e5e9ef;
}

.stats-list {
    display: grid;
    gap: 10px;
    margin: 0;
}

.stats-list div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-radius: 8px;
    background: #f7f7fb;
    padding: 12px;
}

.stats-list dt {
    font-weight: 900;
}

.stats-list dd {
    margin: 0;
    color: #27b913;
    font-weight: 900;
}

.ranking-card {
    display: grid;
    gap: 16px;
}

.ranking-row {
    display: grid;
    grid-template-columns: 22px 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.ranking-row span,
.ranking-row b {
    color: #14760d;
    font-weight: 900;
}

.ranking-row em {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #edffe7;
    color: #13710c;
    font-style: normal;
    font-weight: 900;
}

.ranking-row strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-articles-section {
    padding-top: 0;
}

.home-article-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home-article-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dfe7f0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(13, 42, 72, 0.08);
}

.home-article-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    display: block;
    background: #eff7ee;
    padding: 18px;
}

.home-article-body {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.home-article-body span {
    color: #27b913;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.home-article-body h3 {
    margin: 0;
    min-height: 54px;
    color: #08182f;
    font-size: 18px;
    line-height: 1.35;
}

.home-article-body p {
    margin: 0;
    min-height: 66px;
    color: #5f6b7a;
    line-height: 1.5;
}

.home-article-body small {
    color: #7a8593;
    font-weight: 800;
}

@media (max-width: 1180px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .interest-list,
    .menu-programs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .learning-topbar,
    .home-hero,
    .program-category-grid,
    .home-article-grid {
        grid-template-columns: 1fr;
    }

    .learning-topbar {
        height: auto;
        padding: 16px 20px;
    }

    .learning-profile {
        justify-self: start;
    }

    .learning-subnav {
        padding: 0 20px;
        overflow-x: auto;
    }

    .learning-mega-menu {
        width: min(760px, calc(100vw - 40px));
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .learning-mega-content {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        font-size: 40px;
    }

    .home-band {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 820px) {
    .edu-public-header {
        height: auto;
        min-height: 72px;
        padding: 14px 18px;
        flex-wrap: wrap;
    }

    .edu-public-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .edu-brand,
    .learning-brand {
        font-size: 22px;
    }

    .learning-program-menu {
        position: static;
    }

    .learning-mega-menu {
        left: 20px;
        right: 20px;
        width: auto;
        grid-template-columns: 1fr;
    }

    .learning-mega-cats {
        border-right: 0;
        border-bottom: 1px solid #e2e7ef;
    }
}

@media (max-width: 720px) {
    .task-content,
    .interest-list,
    .menu-programs,
    .home-article-grid {
        grid-template-columns: 1fr;
    }

    .panel-title {
        align-items: flex-start;
        flex-direction: column;
    }
}
