/* LAITNO LX-P05D / V63.106 */
/* Existing Home, Profile and Learning Report UI only. */

:root :is(.home-page,.profile-v58,.learning-report-page) {
    --lx106-edge:#cfdeed;
    --lx106-shadow:0 3px 12px #163c6810;
    --lx106-inset:#b7cde330;
    --lx106-focus:#245fb5;
}

:root[data-theme-resolved="dark"]
:is(.home-page,.profile-v58,.learning-report-page) {
    --lx106-edge:#4b6580;
    --lx106-shadow:0 3px 12px #00000020;
    --lx106-inset:#638bb630;
    --lx106-focus:#bfdcff;
}

/* Level cards: preserve existing status colors. */

:root .home-page .home-level-card {
    border-radius:20px;
    box-shadow:
        var(--lx106-shadow),
        inset 0 0 0 1px var(--lx106-inset);
}

:root .home-page .home-level-card strong {
    font-weight:850;
    font-variant-numeric:tabular-nums;
}

:root .home-page .home-level-card :is(small,p) {
    line-height:1.75;
    overflow-wrap:anywhere;
}

:root .home-page .home-level-card:focus-visible {
    outline:2px solid var(--lx106-focus);
    outline-offset:-3px;
}

/* Report heading hierarchy, no data or chart replacement. */

:root .learning-report-page h1 {
    font-weight:850;
    line-height:1.45;
    overflow-wrap:anywhere;
}

:root .learning-report-page h2 {
    font-weight:800;
    line-height:1.6;
    overflow-wrap:anywhere;
}

:root .learning-report-page :is(strong,b) {
    font-variant-numeric:tabular-nums;
}

/* Existing goal track finish is kept intact. */

:root .profile-v58
:is(.profile-goal-track,.profile-level-track) {
    border-radius:999px;
}

@media (prefers-contrast:more) {
    :root .home-page .home-level-card {
        box-shadow:inset 0 0 0 2px currentColor;
    }

    :root .home-page .home-level-card:focus-visible {
        outline:3px solid currentColor;
        outline-offset:-4px;
    }
}

:root .profile-v58 .profile-section-v58:has(:is(.profile-goal-track,.profile-level-track)),
:root .profile-v58 .profile-identity-card:has(:is(.profile-goal-track,.profile-level-track)) {
        border-radius:20px;
        border-color:var(--lx106-edge);
        box-shadow:
            var(--lx106-shadow),
            inset 0 0 0 1px var(--lx106-inset);
    }
    
@media (prefers-contrast:more) {
:root .profile-v58 .profile-section-v58:has(:is(.profile-goal-track,.profile-level-track)),
:root .profile-v58 .profile-identity-card:has(:is(.profile-goal-track,.profile-level-track)) {
            box-shadow:inset 0 0 0 2px currentColor;
        }
        }
