/* VOZLAB V9.4 — Consolidación visual y navegación. No modifica datos ni permisos. */
:root{--bg:#0c0d17;--side:#111320;--panel:#161826;--panel2:#202235;--line:#34354a;--text:#f7f7fc;--muted:#c2bdcf;--faint:#a6a0b6;--purple:#c397fc;--blue:#8ac6f2;--rad:17px}
html{scroll-padding-top:95px} body{font-size:15px;letter-spacing:.002em;line-height:1.53}button,input,select,textarea{font-size:14px}
::selection{background:#65449c;color:white}
.fine{font-size:12px;color:#b9b4c9}.overline,.top-kicker{font-size:11px;letter-spacing:1.4px;color:#c5a8e7}
.field-label{font-size:13px;color:#dad5e5;margin:15px 0 7px}
.field{background:#121421;border-color:#47455f;color:#f8f7ff;min-height:44px;font-size:14px;line-height:1.5}
.field:focus{border-color:#af88ed;box-shadow:0 0 0 3px #8755bd33}
.field::placeholder{color:#aaa5b7}
.button{font-size:13px;font-weight:700;min-height:44px;border-radius:12px;padding:10px 16px;transition:background .15s,box-shadow .15s,border-color .15s;color:#f8f6ff}
.button.primary{background:linear-gradient(110deg,#8859cc,#67419f);border-color:#ab83e0;box-shadow:0 4px 13px #7545bd20}
.button.primary:hover:not(:disabled){background:linear-gradient(110deg,#9c6fe4,#744eb0);box-shadow:0 6px 20px #6f3db744}
.button.secondary{background:#29263d;border-color:#514663}.button.ghost{color:#e8daff;border-color:#61516f}
.button.small{min-height:38px;font-size:12px;padding:7px 12px}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #92d3ff;outline-offset:3px}
.shell{background:var(--bg)}
.sidebar{width:264px;min-width:264px;padding:23px 15px 18px;background:linear-gradient(180deg,#151525 0%,#10131f 90%);border-right:1px solid #353345}
.sidebar .brand{padding:0 8px 24px}.brand-title{letter-spacing:1.25px;font-size:21px}.brand-caption{font-size:10px;letter-spacing:1.15px;line-height:1.4}
.sidebar #mainNav{padding:0 5px 14px!important;gap:6px;scrollbar-color:#5b4a70 transparent}
.sidebar .nav-title{display:none}
.v94-nav-group{display:grid;gap:4px;margin-bottom:8px}
.v94-nav-heading{padding:14px 9px 7px;font-size:10px;letter-spacing:1.35px;text-transform:uppercase;color:#b8accc;font-weight:800;line-height:1.3}
.sidebar .nav-item{font-size:13.5px;font-weight:590;padding:10px 11px;border-radius:10px;min-height:43px;gap:12px;margin:0;color:#cbc5d9;white-space:normal}
.sidebar .nav-item:hover{background:#29273c;color:#fff;border-color:#37344e}
.sidebar .nav-item.active{background:#362848;color:#fff;border-color:#745490;box-shadow:inset 3px 0 #c18aff}
.nav-ico{font-family:inherit!important;color:#a5a2ba!important;display:inline-flex;align-items:center;justify-content:center;font-size:18px!important;width:20px!important;height:22px;flex:0 0 20px}
.nav-item.active .nav-ico{color:#dfbaff!important}.v94-icon{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.sidebar-bottom{border-top:1px solid #302a40;padding-top:15px}.sidebar-bottom .bottom-card{padding:12px 13px;background:#1c2030;border-color:#37354f}.sidebar-bottom .bottom-card .overline{font-size:10px}.sidebar-bottom .bottom-card p{font-size:12px}
.main-area{width:calc(100% - 264px);max-width:1540px;padding:0 36px 40px}
.topbar{min-height:78px;height:auto;padding:14px 0;margin-bottom:24px;position:sticky;top:0;z-index:20;background:rgba(12,13,23,.96);backdrop-filter:blur(18px);border-bottom-color:#343344}
.top-kicker{font-size:10px;color:#c6b7dc}.top-caption{font-size:14px;color:#e7e3ee;margin-top:2px}
.role-chip{font-size:11px;border-color:#554366;background:#2d253d;color:#e7d0ff}.identity{font-size:13px}.logout-btn{font-size:12px;border:1px solid #49405c;text-decoration:none;padding:8px 12px;border-radius:10px}
.logout-btn:hover{background:#242039;color:white}
h1{font-size:clamp(27px,3vw,40px);line-height:1.15;letter-spacing:-1px}h2{font-size:20px;letter-spacing:-.4px}h3{font-size:16px}
.page-heading{margin-bottom:22px}.page-heading p{font-size:14px;color:#c7bfda}.page-heading h1{margin-bottom:7px}
.card{background:#171928;border:1px solid #39384d;box-shadow:0 5px 25px rgba(0,0,0,.09);border-radius:18px}
.card-heading p,.next-step p,.access-strip p{font-size:13px}
.tag{font-size:10px}.stat{background:#191a2b;padding:18px 15px}.stat-label{font-size:12px;color:#c7c2d3}.stat-number{font-size:26px}
.hero{background:radial-gradient(circle at 77% 50%,#7653a254,transparent 38%),linear-gradient(112deg,#27203f,#19223d 74%,#1c3546);border-color:#58446b;box-shadow:0 16px 45px #00000025}
.hero h1 span{color:#d3b1ff}.hero p{font-size:14px;color:#e2d9ef}
.access-strip{background:#1c1e2d;border-color:#444055}.routine-row{background:#222336}.routine-row strong{font-size:13px}.routine-row small{font-size:12px;color:#bdb7c8}.routine-row em{font-size:12px}
.v94-welcome{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:0 2px 20px}
.v94-welcome>div:first-child{display:grid;gap:4px}.v94-welcome-eyebrow{color:#c7a8ef;font-size:11px;font-weight:750;letter-spacing:1.4px}
.v94-welcome strong{font-size:24px;letter-spacing:-.6px;line-height:1.2}.v94-welcome>div span:last-child{font-size:13px;color:#c4bfd0}
.v94-welcome-mark{width:42px;height:42px;border-radius:13px;border:1px solid #654c80;background:linear-gradient(140deg,#4d2e72,#243d5f);display:grid;place-items:center;color:#e4c8ff;font-size:26px}
.v94-quick{margin:17px 0 2px;padding:18px 20px;background:#181a2a;border:1px solid #3a3950;border-radius:16px}
.v94-quick-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 13px}.v94-quick-title strong{font-size:14px}.v94-quick-title small{font-size:12px;color:#bcb5c9}
.v94-quick-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.v94-quick-link{min-width:0;text-align:left;display:flex;align-items:center;gap:11px;padding:13px 12px;border:1px solid #4b415f;border-radius:13px;background:#23243a;color:#f4effd;font-weight:650;font-size:13px;cursor:pointer;transition:background .15s,border-color .15s}
.v94-quick-link:hover{background:#342844;border-color:#9875c7}.v94-quick-icon{width:34px;height:34px;background:#3a3056;color:#d5b9f8;border-radius:11px;display:grid;place-items:center;flex-shrink:0}
.v94-quick-link .v94-icon{width:18px;height:18px}.v94-quick-text{line-height:1.25;min-width:0;overflow-wrap:anywhere}
.v94-network-notice{background:#433721;color:#ffdf9d;padding:13px 17px;border:1px solid #8f7540;border-radius:11px;margin-bottom:20px}
.toast{background:#2c2640;border-color:#9c79ca;color:#fff;font-size:13px;max-width:min(430px,calc(100% - 32px));padding:14px 18px}
.toast[data-tone="error"]{background:#4c2335;border-color:#b87582}.toast[data-tone="success"]{background:#214136;border-color:#5fa98a}
.v94-skip{position:fixed;top:8px;left:8px;z-index:999;background:#f8f5ff;color:#1f1631;border-radius:8px;padding:10px 14px;font-weight:750;transform:translateY(-200%)}.v94-skip:focus{transform:translateY(0)}
.modal-card{max-height:90dvh;overflow-y:auto}.modal-overlay{padding:12px}
@media(max-width:1150px){.sidebar{width:244px;min-width:244px}.main-area{width:calc(100% - 244px);padding:0 25px 30px}.v94-quick-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.main-area{width:100%;padding:0 19px 27px}.topbar{position:sticky;top:0;z-index:60;padding:10px 0;min-height:68px;margin-bottom:20px}.v94-quick-list{grid-template-columns:repeat(2,minmax(0,1fr))}.v94-nav-group{width:100%;flex-shrink:0;display:grid;gap:4px}.shell .sidebar #mainNav{gap:0!important}.shell .sidebar .nav-item{font-size:14px!important;min-height:46px!important}.v94-nav-heading{padding:15px 10px 5px}.v92-menu-toggle{font-size:22px}}
@media(max-width:570px){.main-area{padding:0 14px 25px}.v94-welcome{padding-bottom:14px}.v94-welcome strong{font-size:20px}.v94-welcome-mark{width:35px;height:35px}.hero{min-height:220px;padding:23px 21px}.hero h1{font-size:30px}.topbar{margin-bottom:16px}.top-caption{font-size:12px;max-width:200px}.top-kicker{font-size:9px;letter-spacing:.7px}.top-account .role-chip{display:none}.identity-avatar{width:32px;height:32px}.logout-btn{padding:7px 9px;font-size:11px}.v94-quick{padding:13px}.v94-quick-list{grid-template-columns:1fr 1fr;gap:8px}.v94-quick-link{flex-direction:column;align-items:flex-start;gap:7px;min-height:88px}.v94-quick-icon{height:31px;width:31px}.v94-quick-text{font-size:12px}.v94-quick-title small{display:none}.stat-label{font-size:11px}.field{font-size:16px}.page-heading p{font-size:13px}}
@media(max-width:390px){.v94-quick-list{grid-template-columns:1fr 1fr}.v94-quick-link{padding:10px}.top-caption{max-width:150px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Ajustes de legibilidad de módulos heredados */
.lesson-info b,.admin-entry strong{font-size:13px}
.lesson-info small,.admin-entry small,.v7-person-main small,.v92-thread-student,.v92-thread-last,.v93-attachment,.v9-product .resource-content p{font-size:12px;color:#c3bdd0}
.v92-thread-date{font-size:11px}
.lesson-row,.stage-btn,.v92-thread,.admin-entry,.v7-person{border-color:#424056}
.lesson-row:hover,.v92-thread:hover{border-color:#9d7ccd}
.admin-entry .button{min-height:38px}
.resource-card .resource-content p{line-height:1.55}
@media(max-width:570px){.v92-history{max-height:42vh}.v92-conversation-card .v9-message-board{height:45vh;max-height:50vh;min-height:260px}.card-heading{flex-wrap:wrap}.admin-entry{flex-wrap:wrap}.admin-entry-actions{width:100%}}
/* La identidad de cada academia también se refleja en las acciones principales. */
.button.primary{background:linear-gradient(110deg,color-mix(in srgb,var(--v9-primary,#8052bc) 70%,#b786f0),color-mix(in srgb,var(--v9-accent,#417ba1) 32%,#70419f));border-color:color-mix(in srgb,var(--v9-primary,#9669c9) 50%,#c1ade3)}
.button.primary:hover:not(:disabled){background:linear-gradient(110deg,color-mix(in srgb,var(--v9-primary,#8052bc) 58%,#c598fc),color-mix(in srgb,var(--v9-accent,#417ba1) 42%,#895db5))}
