/* MISIARIUM 11.2.21: one-click, always visible student sign-in.
   The existing profile entry and all server-side session checks stay unchanged. */
.magic90-top .magic90-links > a.m11221-student-entry,
.magic90-top a.m11221-student-entry-mobile {
    align-items:center;
    justify-content:center;
    min-height:44px;
    min-width:144px;
    padding:9px 15px;
    border:2px solid #bdf7dc;
    border-radius:14px;
    background:#bdf7dc !important;
    color:#122e37 !important;
    box-shadow:0 0 0 1px rgba(255,255,255,.11),0 4px 13px rgba(0,0,0,.22);
    font:800 .90rem/1.25 Manrope,Segoe UI,Arial,sans-serif;
    text-decoration:none;
    white-space:nowrap;
}
.magic90-top .magic90-links > a.m11221-student-entry:hover,
.magic90-top a.m11221-student-entry-mobile:hover {
    background:#e2ffed !important;
    color:#10282f !important;
    border-color:#e2ffed;
}
.magic90-top .magic90-links > a.m11221-student-entry:focus-visible,
.magic90-top a.m11221-student-entry-mobile:focus-visible {
    outline:3px solid #ffcf63 !important;
    outline-offset:4px;
}
.magic90-top a.m11221-student-entry-mobile {display:none;}
@media (max-width:760px) {
    .magic90-top .topinner {justify-content:space-between;gap:8px 11px;}
    .magic90-top a.m11221-student-entry-mobile {
        display:inline-flex !important;
        order:1;
        flex:0 0 auto;
        min-height:46px;
        padding:8px 13px;
        margin-left:auto;
    }
    .magic90-top .top-mobile-nav {
        display:block !important;
        order:2;
        width:auto;
        flex:0 0 auto;
        margin-left:0;
    }
    .magic90-top .top-meta {
        order:3 !important;
        width:100%;
        margin:0;
        justify-content:center;
        flex-wrap:wrap;
        white-space:normal;
    }
    .magic90-top .top-mobile-nav nav a[href*="student/index.php"] {
        background:#bdf7dc !important;
        color:#122e37 !important;
        font-weight:800;
    }
}
@media (max-width:420px) {
    .magic90-top .m1023-brand {font-size:.80rem !important;}
    .magic90-top .m1023-brand img {width:34px;height:34px;}
    .magic90-top a.m11221-student-entry-mobile {
        margin-left:0;
        font-size:.84rem;
        min-width:0;
        padding:8px 10px;
    }
    .magic90-top .top-meta {font-size:.62rem;}
}
@media print {
    .magic90-top a.m11221-student-entry-mobile {display:none !important;}
}
