
:root{--student-sidebar-width:268px}.student-space-shell{display:block;min-height:100vh}.student-space-sidebar{position:fixed!important;inset:0 auto 0 0;width:var(--student-sidebar-width)!important;height:100vh!important;background:#172033!important;color:#fff!important;overflow:hidden;z-index:1000}.student-space-main{margin-left:var(--student-sidebar-width);min-height:100vh}.student-space-nav{overflow-y:auto;flex:1;padding:10px 12px}.student-space-nav a,.student-space-sidebar-bottom a{color:#d7dfed!important;font-size:15px;font-weight:500}.student-space-nav a i,.student-space-sidebar-bottom a i{color:#aebbd0!important}.student-space-nav a:hover,.student-space-nav a.is-active,.student-space-sidebar-bottom a:hover{background:#303b50!important;color:#fff!important}.student-space-nav a.is-active i{color:#fff!important}.student-space-profile strong{color:#fff!important}.student-space-profile{flex:0 0 auto}.student-space-brand{flex:0 0 auto}.student-space-sidebar-bottom{flex:0 0 auto}.student-space-topbar{position:sticky;top:0}.student-avatar-menu,.menu-user-profile{position:relative}.student-avatar-trigger,.public-avatar-trigger{border:0;background:transparent;display:flex;align-items:center;gap:8px;cursor:pointer}.student-avatar-trigger img,.public-avatar-trigger img{width:40px;height:40px;border-radius:50%;object-fit:cover}.student-avatar-dropdown,.public-avatar-dropdown{display:none;position:absolute;right:0;top:calc(100% + 10px);width:220px;background:#fff;border:1px solid #e1e6ef;border-radius:10px;box-shadow:0 14px 35px rgba(25,35,60,.18);padding:8px;z-index:1200}.student-avatar-menu.is-open .student-avatar-dropdown,.menu-user-profile.is-open .public-avatar-dropdown{display:block}.student-avatar-dropdown a,.public-avatar-dropdown a{display:flex!important;align-items:center;gap:12px;padding:11px 12px!important;color:#354057!important;text-decoration:none!important;border-radius:7px}.student-avatar-dropdown a:hover,.public-avatar-dropdown a:hover{background:#f3f5fa!important}.public-avatar-trigger{color:#273247!important}.menu-user-profile{list-style:none}.student-gateway-status{display:flex;gap:13px;align-items:center;background:#eef8ff;border:1px solid #b9dcf6;border-radius:10px;padding:15px;margin-bottom:18px}.student-gateway-status strong,.student-gateway-status span{display:block}.billing-cycle-switch{display:flex;justify-content:center;gap:4px;margin:0 0 22px}.billing-cycle-switch button{border:1px solid #d4dbea;background:#fff;padding:9px 18px}.billing-cycle-switch button:first-child{border-radius:8px 0 0 8px}.billing-cycle-switch button:last-child{border-radius:0 8px 8px 0}.billing-cycle-switch button.is-active{background:#5b2bd9;color:#fff;border-color:#5b2bd9}.student-plan-card header p{min-height:38px;color:#758096}.student-subscription-alert a{display:inline-block;margin-top:8px;font-weight:700}
@media(max-width:780px){.student-space-sidebar{left:calc(-1 * var(--student-sidebar-width))!important;transition:left .25s}.student-space-shell.is-menu-open .student-space-sidebar{left:0!important}.student-space-main{margin-left:0}.student-plan-grid{grid-template-columns:1fr!important}}


/* Fase 10.2: contraste e legibilidade do menu lateral */
.student-space-sidebar,
.student-space-sidebar * { color: #fff; }
.student-space-sidebar { background: #121b2d !important; }
.student-space-nav a,
.student-space-sidebar-bottom a {
    color: #eaf0fb !important;
    font-weight: 600 !important;
    opacity: 1 !important;
}
.student-space-nav a span,
.student-space-nav a strong,
.student-space-sidebar-bottom a span,
.student-space-profile strong { color: inherit !important; }
.student-space-nav a i,
.student-space-sidebar-bottom a i {
    color: #b9c9e5 !important;
    opacity: 1 !important;
}
.student-space-nav a:hover,
.student-space-nav a:focus,
.student-space-nav a.is-active,
.student-space-sidebar-bottom a:hover,
.student-space-sidebar-bottom a:focus {
    background: #33415c !important;
    color: #ffffff !important;
}
.student-space-nav a.is-active {
    box-shadow: inset 4px 0 0 #7c4dff;
}
.student-space-profile { border-bottom: 1px solid rgba(255,255,255,.1); }
.student-space-profile strong { color: #fff !important; }
.student-space-profile span:not(.student-plan-badge) { color: #c9d5e8 !important; }
.student-space-brand { background: rgba(255,255,255,.025); }

/* Fase 11.1 — cores oficiais da Mania de Aprovação */
:root{--student-sidebar-width:268px;--mania-purple:#2a0f57;--mania-purple-2:#4b168f;--mania-orange:#ff7a00;--mania-yellow:#ffd500}
.student-space-sidebar{background:linear-gradient(180deg,var(--mania-purple) 0%,#35106e 58%,var(--mania-purple-2) 100%)!important;border-right:4px solid var(--mania-orange)}
.student-space-brand{background:rgba(255,255,255,.04)!important;border-bottom:1px solid rgba(255,255,255,.12)}
.student-space-nav a:hover,.student-space-nav a:focus,.student-space-nav a.is-active,.student-space-sidebar-bottom a:hover,.student-space-sidebar-bottom a:focus{background:rgba(255,255,255,.14)!important;color:#fff!important}
.student-space-nav a.is-active{box-shadow:inset 4px 0 0 var(--mania-orange)}
.student-plan-badge{background:#fff!important;color:var(--mania-purple-2)!important;border:1px solid #eadcff!important}
.student-space-topbar{border-top:4px solid var(--mania-orange)!important}
.student-study-button{background:linear-gradient(135deg,#5c20c7,#7b2ae8)!important}

/* Fase 11.2: logo original e ícones independentes do Font Awesome */
.student-space-brand{background:#fff!important;margin:14px;border-radius:14px;padding:14px!important;box-shadow:0 8px 20px rgba(22,12,55,.18)}
.student-space-brand img{filter:none!important;max-width:178px!important;height:auto!important}
.dropdown-svg-icon{display:inline-grid;place-items:center;width:24px;height:24px;flex:0 0 24px;border-radius:6px;background:#f1ecff;color:#5b2bd9;font-size:17px;font-weight:800;line-height:1}
.student-avatar-dropdown a:hover .dropdown-svg-icon,.public-avatar-dropdown a:hover .dropdown-svg-icon{background:#5b2bd9;color:#fff}
