@import url('https://fonts.googleapis.com/css2?family='Outfit':wght@700;800&family=Rubik:wght@400;500&display=swap');
:root{--red:#FF3544;--blue:#4582FF;--violet:#8E56FF;--turq:#00D6D3;--orange:#FFA53D;--ink:#0F2239;--gray:#636363;--white:#fff;--bg:#f7f9fd;--line:#e8edf5;--shadow:0 18px 55px rgba(15,34,57,.10);--shadow2:0 10px 28px rgba(15,34,57,.08);--r:26px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:'Plus Jakarta Sans',Arial,sans-serif;background:linear-gradient(135deg,#f8fbff,#fff 45%,#faf7ff);min-height:100vh;overflow-x:hidden}button,input,textarea{font:inherit}button,a{touch-action:manipulation}.hidden{display:none!important}
.ambient{position:fixed;border-radius:50%;filter:blur(3px);pointer-events:none;z-index:-2;opacity:.24;animation:drift 18s ease-in-out infinite alternate}.ambient-a{width:430px;height:430px;background:radial-gradient(circle,var(--blue),transparent 67%);top:-190px;left:-120px}.ambient-b{width:520px;height:520px;background:radial-gradient(circle,var(--violet),transparent 68%);right:-220px;top:22%;animation-delay:-7s}.ambient-c{width:420px;height:420px;background:radial-gradient(circle,var(--red),transparent 67%);left:28%;bottom:-260px;animation-delay:-13s}.grain{position:fixed;inset:0;pointer-events:none;z-index:-1;opacity:.14;background-image:radial-gradient(rgba(15,34,57,.18) .7px,transparent .7px);background-size:24px 24px;mask-image:linear-gradient(to bottom,black,transparent 80%)}@keyframes drift{to{transform:translate3d(45px,35px,0) scale(1.08)}}
/* LOGIN */.login-screen{min-height:100vh;padding:28px;display:grid;place-items:center}.login-shell{width:min(1260px,100%);min-height:720px;background:rgba(255,255,255,.84);backdrop-filter:blur(22px);border:1px solid rgba(255,255,255,.9);border-radius:34px;box-shadow:0 30px 90px rgba(15,34,57,.13);display:grid;grid-template-columns:1.12fr .88fr;overflow:hidden}.login-visual{padding:42px 50px;position:relative;background:linear-gradient(145deg,rgba(69,130,255,.10),rgba(142,86,255,.08) 45%,rgba(255,53,68,.06));display:flex;flex-direction:column}.brand-lockup{display:flex;align-items:center;gap:18px}.brand-lockup img{width:235px;height:auto}.brand-lockup span{font-family:'Outfit';font-weight:800;border-left:1px solid #cfd8e6;padding-left:18px}.login-message{margin-top:64px;max-width:620px}.eyebrow,.mini-label,.hero-label,.dept-kicker,.top-kicker{font-family:'Outfit';font-size:11px;letter-spacing:.16em;font-weight:800}.eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--blue)}.eyebrow i{width:8px;height:8px;border-radius:50%;background:var(--turq);box-shadow:0 0 0 7px rgba(0,214,211,.12)}.eyebrow.dark{color:var(--ink)}.login-message h1{font:800 clamp(38px,5vw,66px)/1.03 'Outfit';margin:17px 0 20px;letter-spacing:-.04em}.login-message h1 span{background:linear-gradient(90deg,var(--blue),var(--violet),var(--red));-webkit-background-clip:text;background-clip:text;color:transparent}.login-message p{font-size:18px;line-height:1.75;color:var(--gray);max-width:600px}.student-art{margin-top:auto;width:88%;max-width:580px;align-self:center;animation:float 7s ease-in-out infinite}.student-art img{display:block;width:100%;height:auto}.login-footnote{font-size:12px;color:#8490a4;margin:20px 0 0}.login-form-wrap{display:grid;place-items:center;padding:46px;background:rgba(255,255,255,.78)}.login-card{width:min(430px,100%)}.mobile-logo{display:none;width:230px;margin:0 auto 30px}.mini-label{color:var(--blue)}.login-card h2{font:800 33px/1.15 'Outfit';margin:10px 0 8px}.login-card>p{color:var(--gray);line-height:1.6;margin:0 0 30px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:17px}.field>span{font-size:13px;font-weight:500;color:#44536a}.input-wrap{height:54px;border:1px solid #dce3ee;border-radius:16px;background:#fff;display:flex;align-items:center;padding:0 16px;transition:.3s}.input-wrap:focus-within{border-color:var(--blue);box-shadow:0 0 0 4px rgba(69,130,255,.10)}.input-wrap b{font-weight:400;margin-right:10px}.input-wrap input,.field input,.field textarea{border:0;outline:0;background:transparent;width:100%;color:var(--ink)}.login-row{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin:3px 0 20px}.login-row a{color:var(--blue);text-decoration:none}.check{display:flex;gap:7px;align-items:center;color:var(--gray)}.btn{border:0;border-radius:30px;padding:14px 23px;font-weight:500;cursor:pointer;transition:transform .3s ease,box-shadow .3s ease,background .3s ease;display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none}.btn:hover:not(:disabled){transform:translateY(-2px)}.btn-primary{background:var(--red);color:white;box-shadow:0 12px 24px rgba(255,53,68,.23)}.btn-primary:hover{box-shadow:0 16px 30px rgba(255,53,68,.30)}.btn-outline{background:#fff;color:var(--ink);border:1px solid #dbe3ef}.btn-disabled{background:#edf1f6;color:#99a3b3;cursor:not-allowed}.btn-full{width:100%}.form-error{display:none;color:#b7192e;background:#fff1f3;border:1px solid #ffd0d5;padding:11px 13px;border-radius:12px;margin-top:12px;font-size:13px}.form-error.show{display:block}.privacy-note{display:flex;gap:10px;background:#f5f8fc;border-radius:14px;padding:13px;margin-top:16px;color:#627086;font-size:12px;line-height:1.45}.privacy-note p{margin:0}@keyframes float{50%{transform:translateY(-10px)}}
/* APP */.app{display:grid;grid-template-columns:278px minmax(0,1fr);min-height:100vh}.sidebar{position:fixed;left:0;top:0;bottom:0;width:278px;background:rgba(255,255,255,.91);backdrop-filter:blur(18px);border-right:1px solid var(--line);z-index:40;display:flex;flex-direction:column}.side-head{padding:26px 23px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.side-head img{width:202px}.side-close{display:none}.side-nav{padding:18px 14px;overflow:auto}.nav-link{width:100%;border:0;background:transparent;border-radius:17px;padding:10px 12px;display:flex;align-items:center;gap:12px;text-align:left;color:#59667a;cursor:pointer;margin-bottom:5px;transition:.3s}.nav-link:hover,.nav-link.active{background:linear-gradient(90deg,#eef4ff,#f7f4ff);color:var(--ink);transform:translateX(3px)}.nav-link.active{box-shadow:inset 3px 0 0 var(--blue)}.nav-link span:last-child{display:flex;flex-direction:column;gap:2px}.nav-link b{font-size:13px}.nav-link small{font-size:10px;color:#8a96a8}.nav-icon{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;background:#edf3ff;color:var(--blue);font:800 17px 'Outfit'}.nav-icon.finance{background:#fff0f2;color:var(--red)}.nav-icon.control{background:#eef4ff}.nav-icon.academy{background:#f3efff;color:var(--violet)}.nav-icon.tutor{background:#effcfb;color:#009d9a}.nav-icon.service{background:#fff6e9;color:#d57a00}.nav-icon.support{background:#f0f7ff;color:#2475d7}.nav-separator{padding:19px 9px 9px;font:800 9px 'Outfit';letter-spacing:.16em;color:#a2abba}.side-footer{margin-top:auto;padding:16px;border-top:1px solid var(--line)}.logout{width:100%;border:0;background:#f8fafc;border-radius:14px;padding:11px;color:#69778b;cursor:pointer}.side-footer small{display:block;text-align:center;margin-top:13px;color:#abb3c0;font-size:9px}.workspace{grid-column:2;min-width:0;padding-bottom:38px}.topbar{height:82px;background:rgba(255,255,255,.75);backdrop-filter:blur(18px);border-bottom:1px solid rgba(228,234,243,.8);display:flex;align-items:center;justify-content:space-between;padding:0 34px;position:sticky;top:0;z-index:25}.topbar-left{display:flex;align-items:center;gap:12px}.topbar-left>div{display:flex;flex-direction:column;gap:3px}.top-kicker{color:#8c97a7;font-size:8px}.topbar-left strong{font:800 18px 'Outfit'}.menu-btn{display:none;border:0;background:#f1f5fa;width:40px;height:40px;border-radius:13px}.top-actions{display:flex;align-items:center;gap:13px}.round-btn{width:40px;height:40px;border:1px solid var(--line);background:#fff;border-radius:50%;position:relative;cursor:pointer}.round-btn i{position:absolute;width:7px;height:7px;background:var(--red);border-radius:50%;right:6px;top:6px}.user-chip{display:flex;align-items:center;gap:10px}.avatar{width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,var(--blue),var(--violet));color:#fff;display:grid;place-items:center;font:800 13px 'Outfit';box-shadow:0 8px 18px rgba(69,130,255,.22)}.user-chip>div:last-child{display:flex;flex-direction:column;gap:2px}.user-chip b{font-size:12px}.user-chip small{font-size:9px;color:#8b96a6}.page{display:none;padding:34px;animation:pageIn .65s ease both}.page.active{display:block}@keyframes pageIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}.welcome-strip{display:flex;justify-content:space-between;align-items:center;margin:0 0 24px}.welcome-strip h2{font:800 28px 'Outfit';margin:8px 0 3px}.welcome-strip p{margin:0;color:var(--gray)}.active-chip{font:800 9px 'Outfit';letter-spacing:.08em;color:#008f8b;background:#ecfbf9;padding:9px 12px;border-radius:999px}.portal-hero{min-height:280px;border-radius:30px;padding:38px 42px;background:linear-gradient(120deg,#fff 0%,#f1f6ff 45%,#f9f4ff 72%,#fff4f1 100%);border:1px solid #edf0f6;box-shadow:var(--shadow2);display:grid;grid-template-columns:1.08fr .92fr;overflow:hidden;position:relative}.portal-hero:before{content:"";position:absolute;width:290px;height:290px;border-radius:50%;right:-90px;top:-150px;background:rgba(255,53,68,.09);animation:drift 12s ease-in-out infinite alternate}.hero-copy{position:relative;z-index:2;align-self:center}.hero-label{color:var(--blue)}.hero-copy h3{font:800 clamp(30px,4vw,49px)/1.05 'Outfit';letter-spacing:-.035em;margin:10px 0 15px}.hero-copy h3 span{color:var(--red)}.hero-copy p{font-size:15px;line-height:1.7;color:var(--gray);max-width:620px}.hero-chips{display:flex;gap:9px;flex-wrap:wrap;margin-top:19px}.hero-chips span{font-size:10px;background:#fff;padding:8px 10px;border-radius:999px;border:1px solid #e9edf4}.hero-art{position:relative;display:grid;place-items:center}.hero-art img{width:min(100%,430px);position:relative;z-index:1;filter:drop-shadow(0 14px 18px rgba(15,34,57,.08))}.section-heading{display:flex;justify-content:space-between;align-items:end;margin:33px 0 17px}.section-heading span{font:800 9px 'Outfit';letter-spacing:.15em;color:var(--blue)}.section-heading h3{font:800 24px 'Outfit';margin:6px 0 4px}.section-heading p{margin:0;color:var(--gray);font-size:13px}.section-heading.compact{margin-top:28px}.text-btn{border:0;background:transparent;color:var(--blue);font-weight:500;cursor:pointer}.department-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.department-card{min-height:226px;border:1px solid #e8edf5;background:#fff;border-radius:24px;padding:23px;text-align:left;position:relative;overflow:hidden;cursor:pointer;box-shadow:0 8px 25px rgba(15,34,57,.055);transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}.department-card:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:#dce4f1}.department-card h4{font:800 18px 'Outfit';margin:7px 0 7px}.department-card p{font-size:12px;line-height:1.55;color:#758197;margin:0;padding-right:18px}.dept-kicker{font-size:8px}.finance-card .dept-kicker{color:var(--red)}.control-card .dept-kicker{color:var(--blue)}.academy-card .dept-kicker{color:var(--violet)}.tutor-card .dept-kicker{color:#00a3a0}.service-card .dept-kicker{color:#dd8105}.support-card .dept-kicker{color:#2475d7}.card-art{height:64px;display:flex;align-items:center;position:relative}.icon-shape{width:54px;height:54px;border-radius:18px;background:#f1f5ff;display:grid;place-items:center;font:800 24px 'Outfit';color:var(--blue);position:relative;z-index:2}.finance-card .icon-shape{background:#fff0f2;color:var(--red)}.control-card .icon-shape{background:#edf4ff}.academy-card .icon-shape{background:#f3eeff;color:var(--violet)}.tutor-card .icon-shape{background:#ebfbfa;color:#00a3a0}.service-card .icon-shape{background:#fff5e6;color:#dd8105}.support-card .icon-shape{background:#eef7ff;color:#2475d7}.card-art i{position:absolute;width:42px;height:42px;border-radius:50%;left:35px;top:2px;background:currentColor;opacity:.06}.card-arrow{position:absolute;right:20px;bottom:18px;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#f5f7fa;color:#708097;transition:.3s}.department-card:hover .card-arrow{background:var(--ink);color:#fff;transform:translateX(2px)}
/* SHARED PAGES */.page-heading{margin-bottom:24px}.back-btn{border:0;background:transparent;color:#718097;padding:0;margin-bottom:16px;cursor:pointer}.dept-badge{display:block;width:max-content;font:800 9px 'Outfit';letter-spacing:.14em;padding:7px 10px;border-radius:999px;margin-bottom:10px}.dept-badge.finance{background:#fff0f2;color:var(--red)}.dept-badge.control{background:#edf4ff;color:var(--blue)}.dept-badge.academy{background:#f3eeff;color:var(--violet)}.dept-badge.tutor{background:#ebfbfa;color:#009f9c}.dept-badge.service{background:#fff5e6;color:#d97e00}.dept-badge.support{background:#eef7ff;color:#2475d7}.page-heading h2{font:800 30px 'Outfit';margin:0 0 8px}.page-heading p{margin:0;color:var(--gray);max-width:760px;line-height:1.6}.module-grid{display:grid;gap:18px}.module-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.module-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:25px;box-shadow:var(--shadow2);position:relative}.module-icon{width:52px;height:52px;border-radius:17px;display:grid;place-items:center;font:800 22px 'Outfit';margin-bottom:18px}.module-icon.finance{background:#fff0f2;color:var(--red)}.module-icon.orange{background:#fff5e7;color:#d77b00}.module-icon.violet{background:#f3efff;color:var(--violet)}.module-card h3{font:800 18px 'Outfit';margin:0 0 7px}.module-card p{color:#748094;font-size:13px;line-height:1.6;min-height:62px}.pending-pill{display:inline-block;background:#fff6e7;color:#b46700;font:800 8px 'Outfit';letter-spacing:.1em;padding:7px 9px;border-radius:999px;margin-bottom:12px}.info-banner{display:flex;gap:13px;align-items:flex-start;background:#f6f9fd;border:1px solid #e7edf5;border-radius:18px;padding:17px 20px;margin-top:18px}.info-banner b{font-size:13px}.info-banner p{margin:4px 0 0;color:#718097;font-size:12px}.subnav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.subtab{border:1px solid var(--line);background:#fff;padding:11px 17px;border-radius:999px;color:#718097;cursor:pointer;transition:.3s}.subtab.active{background:var(--ink);border-color:var(--ink);color:#fff}.control-pane{display:none}.control-pane.active{display:block;animation:pageIn .45s ease}.form-layout{display:grid;grid-template-columns:.72fr 1.28fr;gap:22px}.form-intro,.request-form,.process-card{background:#fff;border:1px solid var(--line);border-radius:25px;padding:27px;box-shadow:var(--shadow2)}.step-number{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#edf4ff;color:var(--blue);font:800 12px 'Outfit'}.form-intro h3,.process-card h3{font:800 21px 'Outfit';margin:16px 0 8px}.form-intro>p,.process-card p{color:#748094;line-height:1.6;font-size:13px}.notice{padding:16px;border-radius:17px;margin-top:20px}.notice.warning{background:#fff8ec;border:1px solid #ffe1af}.notice b{font-size:12px}.notice p{font-size:11px;margin:4px 0 0;line-height:1.55}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.request-form .field{margin-bottom:15px}.request-form input,.request-form textarea{background:#f8fafc;border:1px solid #e1e7f0;border-radius:14px;padding:13px 14px;transition:.3s}.request-form input:focus,.request-form textarea:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(69,130,255,.08)}.field.full{grid-column:1/-1}.confirm-box{display:flex;gap:10px;align-items:flex-start;background:#f7f9fc;padding:13px;border-radius:14px;font-size:11px;line-height:1.5;margin:2px 0 17px}.confirm-box input{margin-top:2px}.form-status{font-size:12px;margin-top:13px;line-height:1.5}.form-status.error{color:#b7192e}.form-status.success{color:#008e8a}.process-card{display:flex;gap:22px;align-items:flex-start}.process-card.wide{max-width:920px}.process-icon{width:64px;height:64px;flex:0 0 64px;border-radius:20px;background:#edf4ff;color:var(--blue);display:grid;place-items:center;font-size:27px}.process-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.steps{padding:0;list-style:none;counter-reset:step;display:grid;gap:11px;margin:18px 0 0}.steps li{counter-increment:step;display:grid;grid-template-columns:34px 1fr;column-gap:10px;position:relative}.steps li:before{content:counter(step);grid-row:1/3;width:30px;height:30px;border-radius:10px;background:#f0f5ff;color:var(--blue);display:grid;place-items:center;font:800 10px 'Outfit'}.steps b{font-size:12px}.steps span{font-size:11px;color:#758197;line-height:1.45;margin-top:3px}.delivery-chip{margin-top:17px;background:#effbf9;color:#008d89;padding:9px 12px;border-radius:12px;width:max-content;font-size:11px;font-weight:500}
/* ACADEMIA */.academy-hero{background:linear-gradient(120deg,#f4f0ff,#edf5ff);border:1px solid #e5e3f4;border-radius:25px;padding:27px;display:grid;grid-template-columns:1fr 240px;align-items:center;overflow:hidden}.academy-hero h3{font:800 24px 'Outfit';margin:8px 0}.academy-hero p{color:#6d7890;font-size:13px;line-height:1.6}.academy-visual{height:150px;display:grid;place-items:center;position:relative}.academy-visual span{font-size:68px;position:relative;z-index:2;filter:drop-shadow(0 10px 12px rgba(15,34,57,.12))}.academy-visual i{position:absolute;width:140px;height:140px;border-radius:50%;background:rgba(142,86,255,.14);animation:pulse 3s infinite}.course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.course-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:21px;box-shadow:var(--shadow2);transition:.3s;cursor:pointer}.course-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.course-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.course-icon{width:44px;height:44px;border-radius:15px;background:#f3efff;display:grid;place-items:center;font-size:21px}.source{font:800 8px 'Outfit';color:var(--violet);background:#f6f2ff;padding:7px 9px;border-radius:999px}.course-card h4{font:800 15px 'Outfit';margin:0 0 5px}.course-card p{font-size:11px;color:#7c8798;margin:0 0 16px}.progress{height:6px;border-radius:999px;background:#eef1f5;overflow:hidden}.progress span{display:block;height:100%;background:linear-gradient(90deg,var(--blue),var(--violet));border-radius:inherit}.course-foot{display:flex;justify-content:space-between;margin-top:11px;font-size:10px;color:#778296}.course-foot b{color:var(--ink)}
/* TUTOR */.tutor-layout{display:grid;grid-template-columns:330px 1fr;gap:20px}.tutor-profile{background:linear-gradient(145deg,#fff,#effbf9);border:1px solid #e2f2ef;border-radius:26px;padding:28px;box-shadow:var(--shadow2);text-align:center}.tutor-avatar{width:84px;height:84px;border-radius:28px;background:linear-gradient(135deg,var(--turq),var(--blue));color:#fff;display:grid;place-items:center;margin:0 auto 18px;font:800 22px 'Outfit';box-shadow:0 15px 30px rgba(0,214,211,.18)}.tutor-profile h3{font:800 18px 'Outfit';margin:9px 0 5px}.tutor-profile p{font-size:11px;color:#758197;line-height:1.5;min-height:48px}.reason-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.reason-card{border:1px solid var(--line);background:#fff;border-radius:20px;padding:18px;text-align:left;display:grid;grid-template-columns:40px 1fr;column-gap:12px;align-items:start;cursor:pointer;transition:.3s}.reason-card:hover{transform:translateY(-4px);box-shadow:var(--shadow2)}.reason-card>span{grid-row:1/3;width:40px;height:40px;border-radius:13px;background:#effbf9;display:grid;place-items:center}.reason-card b{font-size:12px}.reason-card small{font-size:10px;color:#7b8799;line-height:1.45;margin-top:4px}
/* SERVICE */.construction{background:#fff;border:1px solid var(--line);border-radius:28px;padding:45px;text-align:center;box-shadow:var(--shadow2);max-width:940px;margin:auto}.construction-art{width:110px;height:110px;margin:0 auto 15px;display:grid;place-items:center;position:relative}.construction-art span{width:78px;height:78px;border-radius:27px;background:#fff5e6;color:#d77b00;display:grid;place-items:center;font-size:40px;position:relative;z-index:2}.construction-art i{position:absolute;width:100px;height:100px;border-radius:50%;background:#fff0cf;animation:pulse 3s infinite}.construction h3{font:800 25px 'Outfit';margin:13px 0 8px}.construction>p{color:#758197;max-width:650px;margin:0 auto;line-height:1.6;font-size:13px}.coming-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:28px}.coming-grid>div{background:#f9fafc;border-radius:18px;padding:18px;text-align:left}.coming-grid b{font-size:12px}.coming-grid small{display:block;margin-top:5px;font-size:10px;color:#7c8798;line-height:1.4}
/* SUPPORT */.support-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.support-card{border:1px solid var(--line);background:#fff;border-radius:21px;padding:21px;text-align:left;cursor:pointer;transition:.3s}.support-card:hover{transform:translateY(-5px);box-shadow:var(--shadow2);border-color:#cfe0f5}.support-card>span{display:grid;place-items:center;width:45px;height:45px;border-radius:15px;background:#eef7ff;margin-bottom:14px;font:800 17px 'Outfit'}.support-card b{display:block;font:800 13px 'Outfit';margin-bottom:5px}.support-card small{font-size:10px;color:#7d8899;line-height:1.4}
/* ASSISTANT/MODAL */.assistant-wrap{position:fixed;right:24px;bottom:24px;z-index:70}.assistant-fab{width:60px;height:60px;border:0;border-radius:22px;background:linear-gradient(135deg,var(--red),#ff6874);color:white;font-size:23px;cursor:pointer;box-shadow:0 16px 35px rgba(255,53,68,.3);position:relative;transition:.3s}.assistant-fab:hover{transform:translateY(-4px)}.assistant-fab i{position:absolute;inset:-8px;border:1px solid rgba(255,53,68,.28);border-radius:28px;animation:pulse 2.4s infinite}.assistant-panel{position:absolute;right:0;bottom:72px;width:310px;background:#fff;border:1px solid var(--line);border-radius:23px;box-shadow:0 25px 60px rgba(15,34,57,.18);padding:16px;opacity:0;transform:translateY(12px) scale(.97);pointer-events:none;transition:.3s}.assistant-panel.show{opacity:1;transform:none;pointer-events:auto}.assistant-head{display:flex;align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px solid var(--line)}.assistant-avatar{width:39px;height:39px;border-radius:13px;background:#fff0f2;color:var(--red);display:grid;place-items:center}.assistant-head>div:nth-child(2){display:flex;flex-direction:column;gap:2px}.assistant-head b{font:800 12px 'Outfit'}.assistant-head small{font-size:9px;color:#8691a2}.assistant-head button{margin-left:auto;border:0;background:transparent;font-size:22px;color:#8b95a4;cursor:pointer}.assistant-options{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}.assistant-options button{border:0;background:#f7f9fc;border-radius:13px;padding:10px;text-align:left;font-size:10px;color:#46546a;cursor:pointer;transition:.3s}.assistant-options button:hover{background:#eef4ff;color:var(--blue)}.assistant-note{font-size:9px;color:#9aa3b1;margin:11px 3px 0}.modal{position:fixed;inset:0;background:rgba(9,20,38,.48);backdrop-filter:blur(6px);z-index:100;display:none;place-items:center;padding:20px}.modal.show{display:grid}.modal-card{width:min(470px,100%);background:#fff;border-radius:26px;padding:27px;box-shadow:0 28px 80px rgba(0,0,0,.22);position:relative;text-align:center;animation:pageIn .35s ease}.modal-close{position:absolute;right:16px;top:12px;border:0;background:transparent;font-size:25px;color:#8792a2;cursor:pointer}.modal-icon{width:56px;height:56px;border-radius:19px;background:#eef4ff;color:var(--blue);display:grid;place-items:center;margin:0 auto 14px;font-size:24px}.modal-card h3{font:800 20px 'Outfit';margin:0 0 8px}.modal-card p{font-size:12px;color:#718097;line-height:1.55}.modal-card #modalActions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:18px}.site-footer{display:flex;justify-content:space-between;gap:15px;padding:25px 2px 0;color:#9aa3b1;font-size:9px}@keyframes pulse{0%{transform:scale(.86);opacity:.72}70%{transform:scale(1.12);opacity:0}100%{opacity:0}}
.scrim{display:none}
@media(max-width:1120px){.department-grid,.course-grid,.support-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.module-grid.three{grid-template-columns:1fr 1fr}.portal-hero{grid-template-columns:1fr 360px}.form-layout{grid-template-columns:1fr}.tutor-layout{grid-template-columns:1fr}.tutor-profile{display:grid;grid-template-columns:auto 1fr auto;column-gap:18px;text-align:left;align-items:center}.tutor-avatar{margin:0;grid-row:1/4}.tutor-profile .mini-label,.tutor-profile h3,.tutor-profile p{grid-column:2}.tutor-profile .btn{grid-column:3;grid-row:1/4}}
@media(max-width:850px){.app{display:block}.sidebar{transform:translateX(-105%);transition:.3s}.sidebar.open{transform:none}.side-close,.menu-btn{display:block}.side-close{border:0;background:#f3f6fa;width:36px;height:36px;border-radius:12px;font-size:20px}.scrim.show{display:block;position:fixed;inset:0;background:rgba(9,20,38,.35);z-index:35}.workspace{min-height:100vh}.topbar{padding:0 18px}.page{padding:24px 18px}.login-shell{grid-template-columns:1fr}.login-visual{display:none}.login-form-wrap{min-height:100vh;padding:30px}.mobile-logo{display:block}.portal-hero{grid-template-columns:1fr}.hero-art{max-height:230px}.hero-art img{width:310px}.module-grid.three{grid-template-columns:1fr}.coming-grid{grid-template-columns:1fr}.site-footer{flex-direction:column}.user-chip>div:last-child{display:none}}
@media(max-width:600px){.topbar{height:70px}.top-actions{gap:7px}.round-btn{width:37px;height:37px}.avatar{width:38px;height:38px}.page{padding:20px 14px}.welcome-strip{align-items:flex-start}.active-chip{display:none}.portal-hero{padding:25px 22px;border-radius:23px}.hero-copy h3{font-size:31px}.hero-art img{width:260px}.department-grid,.course-grid,.support-grid,.reason-grid{grid-template-columns:1fr}.department-card{min-height:190px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.process-card{flex-direction:column}.tutor-profile{display:block;text-align:center}.tutor-avatar{margin:0 auto 18px}.tutor-profile .btn{margin-top:8px}.assistant-wrap{right:15px;bottom:15px}.assistant-panel{width:min(310px,calc(100vw - 30px))}.assistant-fab{width:56px;height:56px}.construction{padding:30px 20px}.login-form-wrap{padding:25px 20px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}.ambient{display:none}}


/* V4.2 Modern iconography + youthful typography */
body{letter-spacing:-.01em}
.nav-link b,.department-card h4,.module-card h3,.page-heading h2,.section-heading h3,.welcome-strip h2,.hero-copy h3,.login-card h2,.login-message h1{letter-spacing:-.03em}
.nav-icon svg,.icon-shape svg{display:block;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.nav-icon svg{width:20px;height:20px}
.icon-shape svg{width:25px;height:25px}
.nav-icon,.icon-shape{font-size:0}
.nav-icon{box-shadow:inset 0 1px 0 rgba(255,255,255,.65),0 8px 18px rgba(32,69,122,.06)}
.icon-shape{box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 10px 22px rgba(32,69,122,.07)}
.department-card{background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)}
.department-card:before{content:"";position:absolute;inset:auto -24px -24px auto;width:110px;height:110px;border-radius:24px;background:linear-gradient(135deg,rgba(69,130,255,.06),rgba(142,86,255,.04));transform:rotate(20deg)}
.department-card > *{position:relative;z-index:1}
.card-art i{filter:blur(4px)}
.dept-kicker{font-size:9px}
.login-card h2{font-size:35px}
.field>span,.request-form .field>span{font-weight:600}


/* V4.3 image-based department icons */
.nav-image{padding:2px;background:linear-gradient(180deg,#fff 0%,#f6f9ff 100%)}
.nav-image img{width:26px;height:26px;display:block;border-radius:10px}
.icon-illustration{display:inline-flex;align-items:center;justify-content:center;width:74px;height:74px;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#f7faff 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 14px 26px rgba(32,69,122,.08);position:relative;z-index:1}
.icon-illustration img{width:62px;height:62px;display:block;filter:drop-shadow(0 6px 10px rgba(25,52,103,.12))}
.card-art{min-width:92px}
.department-card{align-items:center}
.department-card h4{font-size:20px}
.department-card p{max-width:38ch}
@media (max-width: 860px){.icon-illustration{width:66px;height:66px}.icon-illustration img{width:54px;height:54px}.nav-image img{width:24px;height:24px}}


/* V4.4 — lighter typography, professional photography and guided chatbot */
body{font-weight:400}
.nav-link b{font-weight:600;letter-spacing:-.018em}
.nav-link small{font-weight:400}
.department-card h4{font-weight:600;letter-spacing:-.025em}
.department-card p{font-weight:400}
.dept-kicker{font-weight:600;letter-spacing:.11em}
.section-heading h3,.page-heading h2,.welcome-strip h2{font-weight:650}
.hero-copy h3{font-weight:600;letter-spacing:-.045em}
.hero-copy p{font-weight:400}
.btn{font-weight:600}
.module-card h3,.process-card h3,.form-intro h3{font-weight:600}
.login-card h2{font-weight:600}
.login-message h1{font-weight:600}
.login-message p,.login-card>p{font-weight:400}

.student-art{display:none!important}
.student-photo{margin-top:36px;flex:1;min-height:330px;border-radius:26px;overflow:hidden;box-shadow:0 18px 45px rgba(15,34,57,.11);border:1px solid rgba(255,255,255,.9);position:relative}
.student-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.05),transparent 40%)}
.student-photo img{width:100%;height:100%;min-height:330px;object-fit:cover;object-position:78% center;display:block;transform:scale(1.02)}

.portal-hero{grid-template-columns:1fr 1fr;padding:0;min-height:300px}
.hero-copy{padding:38px 18px 38px 42px}
.hero-photo{min-height:300px;position:relative;overflow:hidden}
.hero-photo:before{content:"";position:absolute;z-index:2;inset:0;background:linear-gradient(90deg,#f2f6ff 0%,rgba(242,246,255,.72) 10%,transparent 38%)}
.hero-photo img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:80% center;display:block}

.department-card{min-height:220px}
.icon-illustration{width:68px;height:68px}
.icon-illustration img{width:56px;height:56px}
.card-arrow{font-weight:500}

/* Chatbot */
.chatbot-panel{width:370px;max-height:min(650px,78vh);padding:0;overflow:hidden;display:flex;flex-direction:column}
.chatbot-status{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:7px;padding:10px 16px;border-bottom:1px solid #edf1f6;background:#fbfcff;font-size:11px;color:#526176}
.chatbot-status i{width:8px;height:8px;border-radius:50%;background:#00b9a9;box-shadow:0 0 0 5px rgba(0,214,211,.12)}
.chatbot-status span{font-weight:600}
.chatbot-status small{text-align:right;color:#8b96a6;font-size:9px}
.chatbot-messages{padding:16px;overflow:auto;min-height:220px;max-height:350px;display:flex;flex-direction:column;gap:11px;background:linear-gradient(180deg,#fff,#fbfcff)}
.chat-row{display:flex;gap:8px;align-items:flex-end}
.chat-row.user{justify-content:flex-end}
.chat-bubble{max-width:84%;padding:11px 13px;border-radius:16px;font-size:12px;line-height:1.5;box-shadow:0 4px 14px rgba(15,34,57,.05)}
.chat-row.bot .chat-bubble{background:#f0f5ff;color:#243247;border-bottom-left-radius:5px}
.chat-row.user .chat-bubble{background:linear-gradient(135deg,#4582FF,#6f67ff);color:white;border-bottom-right-radius:5px}
.chatbot-quick{padding:0 14px 12px;display:flex;gap:7px;flex-wrap:wrap;background:#fff}
.chatbot-quick button{border:1px solid #e1e7f0;background:#fff;border-radius:999px;padding:8px 10px;font-size:10px;color:#44536a;cursor:pointer;transition:.25s}
.chatbot-quick button:hover{border-color:#4582FF;color:#4582FF;transform:translateY(-1px)}
.chatbot-form{display:grid;grid-template-columns:1fr 42px;gap:8px;padding:12px 14px 14px;border-top:1px solid #edf1f6;background:#fff}
.chatbot-form input{border:1px solid #dfe6f0;background:#f8fafc;border-radius:16px;padding:11px 13px;outline:0;font-size:12px}
.chatbot-form input:focus{border-color:#4582FF;box-shadow:0 0 0 4px rgba(69,130,255,.08)}
.chatbot-form button{border:0;border-radius:14px;background:#FF3544;color:#fff;font-size:18px;cursor:pointer}
.chatbot-form button:hover{transform:translateY(-1px)}

@media(max-width:900px){
  .portal-hero{grid-template-columns:1fr}
  .hero-copy{padding:30px 28px 12px}
  .hero-photo{min-height:260px}
  .student-photo{min-height:260px}
}
@media(max-width:600px){
  .chatbot-panel{width:min(340px,calc(100vw - 30px))}
  .hero-copy{padding:25px 22px 10px}
}

/* V4.5 Ventanilla Digital */
.chatbot-status small{font-size:9px}
.chatbot-quick button{font-weight:500}
.chatbot-quick button:last-child{background:#f8fafc}
.chat-bubble{font-weight:400}


/* V4.5.3 — cierre y limpieza de conversación */
.chatbot-footer{
  display:flex;
  justify-content:center;
  padding:0 14px 14px;
  background:#fff;
}
.chatbot-end{
  border:0;
  background:transparent;
  color:#7b8798;
  font-size:10px;
  font-weight:500;
  cursor:pointer;
  padding:7px 10px;
  border-radius:999px;
  transition:.2s ease;
}
.chatbot-end:hover{
  background:#f5f7fa;
  color:#FF3544;
}


/* V4.5.4 — Academia simplificada: Moodle + tutoriales */
.academy-simple-hero{display:grid;grid-template-columns:1.35fr .65fr;align-items:center;gap:20px;padding:28px 30px;margin-bottom:26px;border-radius:26px;background:linear-gradient(135deg,#f4f7ff,#fff);border:1px solid #e7edf7;box-shadow:0 12px 34px rgba(15,34,57,.055);overflow:hidden}
.academy-simple-copy h3{font-size:28px;font-weight:600;letter-spacing:-.035em;margin:5px 0 8px}.academy-simple-copy p{color:#69778b;max-width:640px;margin:0 0 18px;line-height:1.6}.academy-simple-visual{min-height:155px;display:grid;place-items:center;position:relative}.academy-simple-visual span{font-size:64px;position:relative;z-index:2}.academy-simple-visual i{position:absolute;width:150px;height:150px;border-radius:50%;background:linear-gradient(135deg,rgba(69,130,255,.14),rgba(142,86,255,.10))}
.tutorial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}.tutorial-card{display:flex;flex-direction:column;gap:12px;min-height:235px;padding:21px;border:1px solid #e7edf4;border-radius:22px;background:#fff;box-shadow:0 9px 28px rgba(15,34,57,.045);transition:.25s ease}.tutorial-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(15,34,57,.07)}.tutorial-icon{width:54px;height:54px;border-radius:17px;display:grid;place-items:center;font-size:25px;background:#f3f6fb}.tutorial-icon.payment{background:#fff2f3}.tutorial-icon.moodle{background:#eef5ff}.tutorial-icon.canva{background:#f2f8ff}.tutorial-kicker{font-size:9px;font-weight:600;letter-spacing:.1em;color:#8490a1}.tutorial-card h4{font-size:17px;font-weight:600;letter-spacing:-.018em;margin:4px 0 7px;color:#203049}.tutorial-card p{font-size:12px;line-height:1.55;color:#6d798a;margin:0}.tutorial-action{margin-top:auto;align-self:flex-start;border:0;border-radius:999px;padding:9px 13px;background:#f0f5ff;color:#376fe0;font-size:11px;font-weight:500;cursor:pointer;transition:.2s}.tutorial-action:hover{background:#e6efff}.academia-note{margin-top:6px}
@media(max-width:900px){.academy-simple-hero{grid-template-columns:1fr}.academy-simple-visual{display:none}.tutorial-grid{grid-template-columns:1fr}}

/* V4.6 — inicio por secciones */
.sectioned-home{display:grid;gap:22px;max-width:1180px;margin:0 auto}
.home-section{border-radius:28px;padding:26px;border:1px solid rgba(15,34,57,.07);box-shadow:0 14px 38px rgba(15,34,57,.055);overflow:hidden;position:relative}
.home-section::after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;right:-85px;top:-95px;opacity:.32;pointer-events:none}
.home-academia{background:linear-gradient(135deg,#f3f7ff 0%,#fff 76%)}.home-academia::after{background:#c8dcff}
.home-servicios{background:linear-gradient(135deg,#fff9ed 0%,#fff 76%)}.home-servicios::after{background:#ffd77c}
.home-soporte{background:linear-gradient(135deg,#f8f3ff 0%,#fff 76%)}.home-soporte::after{background:#d8c4ff}
.home-section-head{display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:start;margin-bottom:20px;position:relative;z-index:1}
.home-section-number{width:50px;height:50px;display:grid;place-items:center;border-radius:17px;background:#fff;color:#8391a5;font-size:12px;font-weight:600;box-shadow:0 8px 22px rgba(15,34,57,.07)}
.home-section-head span{font-size:10px;font-weight:600;letter-spacing:.13em;color:#6d7a8d}
.home-section-head h2{margin:4px 0 5px;font-family:'Outfit',sans-serif;font-size:26px;line-height:1.1;font-weight:600;letter-spacing:-.035em;color:#14283f}
.home-section-head p{margin:0;font-size:13px;line-height:1.55;color:#6a788c}
.home-option-grid{display:grid;gap:14px;position:relative;z-index:1}.home-option-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.home-option-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.home-option{min-height:112px;border:1px solid rgba(15,34,57,.07);border-radius:20px;background:rgba(255,255,255,.88);display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:17px;cursor:pointer;text-align:left;box-shadow:0 8px 22px rgba(15,34,57,.04);transition:.25s ease}
.home-option:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(15,34,57,.085);border-color:rgba(69,130,255,.2)}
.home-option-icon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:#f4f7fb;font-size:22px;overflow:hidden}.home-option-icon img{width:48px;height:48px;object-fit:contain}.home-option-icon.tutorial{background:#f1eaff;color:#7750d9;font-size:20px}
.home-option b{display:block;margin-bottom:5px;font-size:15px;font-weight:600;color:#1c3048}.home-option small{display:block;font-size:11px;line-height:1.48;color:#748195}.home-option>i{font-style:normal;font-size:19px;font-weight:400;color:#9aa7b7}
.moodle-access-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px;margin-bottom:20px;border:1px solid #e4eaf3;background:linear-gradient(135deg,#f5f8ff,#fff);border-radius:23px}.moodle-access-bar h3{margin:4px 0 5px;font-weight:600}.moodle-access-bar p{margin:0;color:#6f7d91;font-size:12px}.moodle-access-actions{display:flex;gap:9px;flex-wrap:wrap}
.course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:18px}.course-card{min-height:190px}.course-fallback{grid-column:1/-1;min-height:auto}

/* Asistente UIM */
.assistant-fab{width:66px!important;height:66px!important;padding:3px!important;border-radius:50%!important;overflow:visible!important;background:#fff!important;box-shadow:0 12px 32px rgba(15,34,57,.22)!important}.assistant-fab img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}.assistant-fab i{position:absolute;right:2px!important;bottom:3px!important;width:13px!important;height:13px!important;border:3px solid #fff;background:#00c7ad!important}
.assistant-avatar{width:48px!important;height:48px!important;padding:2px!important;border-radius:50%!important;overflow:hidden;background:#fff!important;flex:0 0 auto}.assistant-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.assistant-head>div:nth-child(2) b{font-size:17px!important;font-weight:600!important}.assistant-head>div:nth-child(2) small{font-size:11px!important;font-weight:400!important}
.chatbot-panel{width:405px!important}.chatbot-status{font-size:12px!important;padding:11px 16px!important}.chatbot-status small{font-size:10px!important}.chatbot-messages{min-height:260px!important;max-height:390px!important;gap:13px!important}
.chat-message-avatar{width:31px;height:31px;border-radius:50%;object-fit:cover;flex:0 0 auto;box-shadow:0 3px 10px rgba(15,34,57,.1)}.chat-bubble{font-size:14px!important;line-height:1.55!important;padding:12px 14px!important;font-weight:400!important}.chatbot-quick button{font-size:12px!important;line-height:1.25!important;padding:9px 12px!important;font-weight:500!important}.chatbot-form input{font-size:13px!important;padding:12px 14px!important}.chatbot-form button{font-size:19px!important}.chatbot-end{font-size:11px!important}
@media(max-width:980px){.home-option-grid.three,.course-grid{grid-template-columns:1fr}.home-option-grid.two{grid-template-columns:1fr}.moodle-access-bar{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.home-section{padding:19px}.home-section-head h2{font-size:22px}.home-option{min-height:100px}.chatbot-panel{width:min(370px,calc(100vw - 24px))!important}.chat-bubble{font-size:13.5px!important}}


/* ==========================================================
   V4.7 — Inicio juvenil por secciones + sesión Moodle única
   Paleta UIM: #FF3544 #4582FF #8E56FF #00D6D3 #FFA53D
   ========================================================== */
body{background:#fff!important;color:#0F2239}
.ambient,.grain{display:none!important}
.app{display:block!important;min-height:100vh;background:#fff}
.sidebar,.scrim{display:none!important}
.workspace{grid-column:auto!important;width:100%;padding-bottom:22px;background:#fff;min-height:100vh}
.menu-btn{display:none!important}
.modern-topbar{height:86px;padding:0 clamp(22px,4vw,58px);background:#fff!important;border-bottom:1px solid #edf0f5;box-shadow:0 8px 26px rgba(15,34,57,.055);position:sticky;top:0;z-index:25}
.topbar-brand{display:flex;align-items:center;gap:18px}.topbar-brand img{width:220px;height:auto}.topbar-brand>span{height:33px;width:1px;background:#d8deea}.topbar-brand>b{font:600 11px 'Outfit',sans-serif;letter-spacing:.25em;color:#0F2239}
.top-logout{border:0;background:#f5f7fb;color:#69778b;border-radius:999px;padding:9px 13px;font-size:11px;cursor:pointer}.top-logout:hover{color:#FF3544;background:#fff1f3}
.page{padding:34px clamp(22px,4vw,62px)}
#page-inicio{padding-top:28px}
.modern-home{max-width:1280px;margin:0 auto}
.modern-hero{min-height:270px;display:grid;place-items:center;position:relative;overflow:hidden;border-radius:30px;background:#fff;padding:30px 24px 18px}
.modern-hero:before{content:"";position:absolute;width:340px;height:340px;border-radius:50%;left:-210px;top:0;background:radial-gradient(circle,rgba(69,130,255,.10),transparent 68%)}
.modern-hero:after{content:"";position:absolute;width:320px;height:320px;border-radius:50%;right:-175px;top:8px;background:radial-gradient(circle,rgba(142,86,255,.09),transparent 68%)}
.hero-copy-v47{text-align:center;position:relative;z-index:2}.hero-copy-v47>span{font:600 11px 'Outfit';letter-spacing:.24em;color:#4582FF}.hero-copy-v47 h1{margin:12px 0 8px;font:600 clamp(42px,5.2vw,68px)/1.02 'Outfit';letter-spacing:-.055em;color:#0F2239}.hero-copy-v47 h1 em{font-style:normal;color:#FF3544}.hero-copy-v47 p{margin:0;color:#65738a;font-size:17px}.hero-copy-v47 p strong{font-weight:600;color:#4582FF}.hero-copy-v47 small{display:block;margin-top:14px;color:#7f8ba0;font-size:12px}
.hero-doodle{position:absolute;inset:0;pointer-events:none}.hero-doodle i{position:absolute;width:12px;height:12px;border-radius:50%;background:#FF3544;left:16%;top:42%}.hero-doodle b{position:absolute;color:#8E56FF;font-size:28px;right:20%;top:22%;font-weight:400}.hero-doodle span{position:absolute;color:#4582FF;font-size:38px;left:28%;bottom:18%;transform:rotate(-18deg)}
.section-entry-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:6px}
.section-entry{--accent:#4582FF;position:relative;min-height:330px;border:1px solid #e9edf4;border-radius:26px;background:#fff;padding:30px 24px 22px;text-align:center;cursor:pointer;box-shadow:0 12px 32px rgba(15,34,57,.07);overflow:hidden;transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}
.section-entry:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:var(--accent)}.section-entry:after{content:"";position:absolute;left:-8%;right:-8%;bottom:-55px;height:92px;border-radius:50% 50% 0 0;background:color-mix(in srgb,var(--accent) 11%,white)}
.section-entry:hover{transform:translateY(-6px);box-shadow:0 20px 45px rgba(15,34,57,.11);border-color:color-mix(in srgb,var(--accent) 22%,#e9edf4)}
.section-entry.servicios{--accent:#FF3544}.section-entry.control{--accent:#4582FF}.section-entry.soporte{--accent:#8E56FF}
.section-entry-icon{width:108px;height:108px;border-radius:50%;background:color-mix(in srgb,var(--accent) 10%,white);display:grid;place-items:center;margin:10px auto 22px}.section-entry-icon img{width:78px;height:78px;object-fit:contain}.section-entry h2{margin:0 0 10px;font:600 24px 'Outfit';color:#0F2239}.section-entry p{margin:0 auto;color:#738095;font-size:12px;line-height:1.65;max-width:220px}.section-enter{position:absolute;z-index:2;left:26px;right:26px;bottom:22px;border:1px solid color-mix(in srgb,var(--accent) 23%,#e7ebf2);height:46px;border-radius:999px;display:flex;align-items:center;justify-content:space-between;padding:0 10px 0 18px;color:var(--accent);font-size:13px;font-weight:600;background:#fff}.section-enter span{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:#fff;font-size:17px}

.hub-page{max-width:1120px;margin:0 auto;padding-top:14px}.back-pill{border:0;background:#f5f7fb;color:#627086;border-radius:999px;padding:9px 14px;font-size:11px;cursor:pointer;margin-bottom:24px}.back-pill:hover{color:#4582FF;background:#edf4ff}.hub-heading{text-align:center;margin:4px auto 30px;max-width:720px}.hub-heading>span{font:600 10px 'Outfit';letter-spacing:.18em;color:#4582FF}.services-hub .hub-heading>span{color:#FF3544}.control-hub .hub-heading>span{color:#4582FF}.support-hub .hub-heading>span{color:#8E56FF}.hub-heading h2{font:600 36px 'Outfit';letter-spacing:-.04em;margin:8px 0}.hub-heading p{margin:0;color:#728096;font-size:14px;line-height:1.6}.hub-grid{display:grid;gap:18px}.hub-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.hub-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-card{min-height:180px;border:1px solid #e8edf4;border-radius:24px;background:#fff;padding:22px;display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;text-align:left;cursor:pointer;box-shadow:0 10px 28px rgba(15,34,57,.055);transition:.25s}.hub-card:hover{transform:translateY(-4px);box-shadow:0 16px 36px rgba(15,34,57,.09)}.hub-icon{width:62px;height:62px;border-radius:20px;display:grid;place-items:center;font-size:24px;background:#f4f7fb;color:#0F2239}.hub-icon img{width:52px;height:52px;object-fit:contain}.hub-icon.blue{background:#eef4ff}.hub-icon.red{background:#fff0f2;color:#FF3544}.hub-icon.violet{background:#f3efff;color:#8E56FF}.hub-icon.turquoise{background:#ecfbfa}.hub-icon.orange{background:#fff6e9}.hub-card h3{margin:0 0 6px;font:600 18px 'Outfit';color:#0F2239}.hub-card p{margin:0;color:#748195;font-size:12px;line-height:1.55}.hub-card>i{font-style:normal;color:#9aa6b6;font-size:20px}

/* Materias dentro de Campus: no se abre Moodle al entrar */
.moodle-access-bar{background:#fff!important;border-color:#e6ebf3!important;box-shadow:0 10px 28px rgba(15,34,57,.05)}
.course-card{cursor:pointer}.course-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(15,34,57,.085)}
.course-detail-shell{max-width:1050px;margin:0 auto}.course-detail-head{text-align:center;margin:4px auto 30px}.course-detail-head>span{font:600 10px 'Outfit';letter-spacing:.18em;color:#4582FF}.course-detail-head h2{font:600 36px 'Outfit';letter-spacing:-.04em;margin:8px 0}.course-detail-head p{margin:0;color:#758196}.course-sections{display:grid;gap:16px}.course-section-card{border:1px solid #e8edf4;border-radius:22px;padding:20px;background:#fff;box-shadow:0 9px 26px rgba(15,34,57,.045)}.course-section-head{display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:start;padding-bottom:14px;border-bottom:1px solid #edf0f5}.course-section-head>span{width:38px;height:38px;border-radius:13px;background:#eef4ff;color:#4582FF;display:grid;place-items:center;font-size:10px;font-weight:600}.course-section-head h3{margin:0 0 4px;font:600 18px 'Outfit'}.course-section-head p{margin:0;color:#78859a;font-size:11px;line-height:1.5}.course-module-list{display:grid;gap:8px;padding-top:12px}.course-module{display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;padding:10px 12px;border-radius:14px;background:#f8fafc}.module-type{width:32px;height:32px;border-radius:10px;background:#fff;display:grid;place-items:center}.course-module b{display:block;font-size:12px;font-weight:600}.course-module small{display:block;color:#8a95a5;font-size:9px;margin-top:2px}.module-done{font-style:normal;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#ecfbf9;color:#009d9a;font-size:11px}.course-no-modules,.course-loading,.course-empty{padding:26px;border:1px dashed #dce3ed;border-radius:18px;text-align:center;color:#78859a;background:#fbfcfe}.course-empty b{display:block;color:#0F2239;margin-bottom:6px}

/* Chat juvenil y limpio */
.chatbot-panel{border:1px solid #e7ebf2!important;box-shadow:0 22px 60px rgba(15,34,57,.16)!important}.assistant-head{background:#fff!important;border-bottom:1px solid #edf0f5!important;color:#0F2239!important}.assistant-head button{color:#6f7d91!important}.chatbot-messages{background:#fff!important}.chat-row.bot .chat-bubble{background:#f5f7fb!important;color:#23364e!important}.chat-row.user .chat-bubble{background:#4582FF!important}.chatbot-form button{background:#4582FF!important}.chatbot-quick button:hover{border-color:#8E56FF!important;color:#8E56FF!important}.assistant-fab{border:3px solid #fff!important;box-shadow:0 15px 32px rgba(69,130,255,.28)!important}

@media(max-width:1100px){.section-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-grid.three{grid-template-columns:1fr}.hub-grid.two{grid-template-columns:1fr}}
@media(max-width:720px){.modern-topbar{padding:0 16px;height:76px}.topbar-brand img{width:170px}.topbar-brand>span,.topbar-brand>b{display:none}.top-logout{display:none}.page{padding:24px 16px}.modern-hero{min-height:220px}.hero-copy-v47 h1{font-size:42px}.section-entry-grid{grid-template-columns:1fr}.section-entry{min-height:290px}.user-chip>div:last-child{display:none}.hub-heading h2,.course-detail-head h2{font-size:30px}.chatbot-panel{width:min(380px,calc(100vw - 18px))!important}}
/* Fallback tipográfico seguro si Google Fonts no carga */
.hero-copy-v47 h1,.section-entry h2,.hub-heading h2,.hub-card h3,.course-detail-head h2,.course-section-head h3,.topbar-brand>b{font-family:'Outfit','Plus Jakarta Sans',Arial,sans-serif!important}


/* ============================================================
   V4.8 — Visual fiel a la última propuesta aprobada
   ============================================================ */

body{
  background:#fff!important;
}
.ambient,.grain{display:none!important}
.sidebar,.scrim{display:none!important}
.workspace{
  margin-left:0!important;
  width:100%!important;
  min-height:100vh;
  background:#fff!important;
}
.modern-topbar{
  position:sticky;
  top:0;
  z-index:50;
  margin:14px 18px 0;
  width:calc(100% - 36px);
  border-radius:18px;
  background:#fff!important;
  border:1px solid #edf1f6;
  box-shadow:0 8px 28px rgba(15,34,57,.07);
  padding:12px 26px;
}
.topbar-brand img{max-height:42px}
.topbar-brand>b{
  font-size:12px!important;
  letter-spacing:.28em!important;
  font-weight:600!important;
  color:#0F2239!important;
}
.topbar-brand>span{height:34px!important;background:#dfe5ee!important}
.top-actions{gap:14px}
.round-btn{background:#fff!important;border:1px solid #edf1f6!important}
.user-chip{background:transparent!important;border:0!important;padding:0!important}
.avatar{
  background:linear-gradient(135deg,#4582FF,#8E56FF)!important;
  color:#fff!important;
  font-weight:600!important;
}
.top-logout{
  background:#fff!important;
  border:1px solid #edf1f6!important;
  color:#636363!important;
}

.page{
  padding:0!important;
}
.approved-home{
  width:min(1240px,calc(100% - 64px));
  margin:0 auto;
  padding:30px 0 20px;
}
.approved-hero{
  min-height:300px;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  align-items:center;
  gap:24px;
}
.approved-hero-copy{
  padding:18px 0 10px 8px;
}
.approved-hero-copy h1{
  margin:0;
  font-family:'Outfit',sans-serif;
  font-size:clamp(48px,5vw,72px);
  line-height:.98;
  letter-spacing:-.055em;
  font-weight:650;
  color:#0F2239;
}
.approved-hero-copy h1 span{
  color:#FF3544;
}
.approved-hero-copy p{
  margin:25px 0 0;
  font-size:19px;
  line-height:1.4;
  color:#52647e;
  font-weight:400;
}
.approved-hero-accent{
  width:92px;
  height:4px;
  background:linear-gradient(90deg,#FFA53D 0 45%,#FF3544 45% 66%,transparent 66%);
  border-radius:99px;
  margin-top:22px;
}
.approved-hero-art{
  min-height:295px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.approved-hero-art img{
  width:100%;
  max-width:680px;
  height:auto;
  object-fit:contain;
  display:block;
  mix-blend-mode:multiply;
}

.home-question{
  width:62%;
  margin:2px 0 14px 280px;
  color:#75839a;
  font-size:13px;
  font-weight:400;
  text-align:center;
}
.home-question span{color:#245feb;font-weight:600}
.home-question i{
  display:block;
  margin-top:2px;
  font-size:18px;
  line-height:1;
  font-style:normal;
  color:#697b9c;
}

.approved-sections{
  width:64%;
  display:grid;
  gap:13px;
}
.approved-section-card{
  position:relative;
  min-height:132px;
  display:grid;
  grid-template-columns:100px 1fr 45px;
  align-items:center;
  gap:17px;
  padding:18px 24px 18px 32px;
  border:1px solid #edf1f6;
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 28px rgba(15,34,57,.065);
  cursor:pointer;
  text-align:left;
  overflow:hidden;
  transition:transform .22s ease,box-shadow .22s ease;
}
.approved-section-card::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:7px;
  border-radius:18px 0 0 18px;
}
.approved-section-card.academia::before{background:#245FEB}
.approved-section-card.servicios::before{background:#FF3544}
.approved-section-card.soporte::before{background:#7C3AED}
.approved-section-card:hover{
  transform:translateY(-3px);
  box-shadow:0 15px 38px rgba(15,34,57,.10);
}
.approved-section-icon{
  width:78px;
  height:78px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#f2f6ff;
}
.approved-section-card.servicios .approved-section-icon{background:#fff1f2}
.approved-section-card.soporte .approved-section-icon{background:#f5f0ff}
.approved-section-icon img{
  width:62px;
  height:62px;
  object-fit:contain;
}
.approved-section-copy h2{
  margin:0 0 7px;
  font-family:'Outfit',sans-serif;
  font-size:22px;
  font-weight:650;
  letter-spacing:-.03em;
}
.approved-section-card.academia h2{color:#245FEB}
.approved-section-card.servicios h2{color:#FF3544}
.approved-section-card.soporte h2{color:#6D35E8}
.approved-section-copy p{
  margin:0;
  color:#687890;
  font-size:13px;
  line-height:1.5;
}
.approved-arrow{
  justify-self:end;
  font-size:40px;
  font-weight:300;
  line-height:1;
  color:#0F2239;
}
.approved-footer-note{
  display:flex;
  align-items:center;
  gap:15px;
  margin-top:28px;
  color:#8c98ac;
}
.approved-footer-note strong{
  font-size:28px;
  color:#a8b2c2;
  letter-spacing:-.04em;
}
.approved-footer-note span{
  font-size:12px;
  font-style:italic;
}

/* Section pages only show options after entry */
.modern-section-page{
  width:min(1100px,calc(100% - 64px));
  margin:0 auto;
  padding:42px 0 60px!important;
}
.modern-section-heading{
  padding:22px 0 18px;
}
.modern-section-heading>span{
  font-size:10px;
  font-weight:650;
  letter-spacing:.16em;
}
.modern-section-heading.academy>span{color:#245FEB}
.modern-section-heading.services>span{color:#FF3544}
.modern-section-heading.support>span{color:#6D35E8}
.modern-section-heading h2{
  margin:6px 0;
  font-family:'Outfit',sans-serif;
  font-size:34px;
  line-height:1.1;
  font-weight:650;
  letter-spacing:-.035em;
  color:#0F2239;
}
.modern-section-heading p{
  margin:0;
  color:#718096;
  font-size:14px;
}
.modern-option-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:14px;
}
.modern-option-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.modern-option-card{
  min-height:170px;
  padding:20px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:15px;
  align-items:center;
  background:#fff;
  border:1px solid #e8edf5;
  border-radius:22px;
  box-shadow:0 8px 28px rgba(15,34,57,.055);
  text-align:left;
  cursor:pointer;
  transition:.22s ease;
}
.modern-option-card:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 34px rgba(15,34,57,.09);
}
.modern-option-icon{
  width:62px;height:62px;border-radius:19px;display:grid;place-items:center;
  font-size:22px;overflow:hidden;
}
.modern-option-icon img{width:54px;height:54px;object-fit:contain}
.modern-option-icon.blue{background:#eff5ff}
.modern-option-icon.red{background:#fff0f1}
.modern-option-icon.turquoise{background:#ecfbfb}
.modern-option-icon.orange{background:#fff6e8}
.modern-option-icon.violet{background:#f4efff}
.modern-option-card h3{
  margin:0 0 6px;
  font-size:18px;
  font-weight:600;
  color:#1c3048;
}
.modern-option-card p{
  margin:0;
  font-size:12px;
  line-height:1.5;
  color:#718096;
}
.modern-option-card i{
  font-style:normal;
  font-size:22px;
  color:#8c99aa;
}

/* Chatbot closer to approved mockup */
.assistant-wrap{
  z-index:80!important;
}
.assistant-fab{
  width:68px!important;height:68px!important;
  right:28px!important;bottom:24px!important;
  border:0!important;
  background:#0f45c8!important;
  padding:4px!important;
  box-shadow:0 10px 30px rgba(15,69,200,.28)!important;
}
.assistant-panel{
  right:32px!important;
  bottom:105px!important;
}
.chatbot-panel{
  width:430px!important;
  max-height:600px!important;
  border-radius:26px!important;
  border:1px solid #e4e8f2!important;
  box-shadow:0 18px 50px rgba(15,34,57,.15)!important;
}
.assistant-head{
  padding:15px 16px!important;
  background:#fff!important;
}
.assistant-avatar{
  width:56px!important;height:56px!important;
}
.assistant-head>div:nth-child(2) b{
  font-size:17px!important;
}
.chatbot-status{
  background:#fff!important;
  border-bottom:1px solid #f0f2f6!important;
}
.chatbot-messages{
  background:#fff!important;
}
.chat-bubble{
  font-size:15px!important;
}
.chatbot-quick button{
  font-size:12.5px!important;
  background:#fff!important;
  border:1px solid #dfe6f2!important;
}
.chatbot-quick button:hover{
  color:#245FEB!important;
  border-color:#8bb0ff!important;
}
.chatbot-form input{
  background:#fff!important;
}
.chatbot-form button{
  background:linear-gradient(135deg,#245FEB,#6D35E8)!important;
}
.chatbot-end{color:#7b8798!important}

/* Small screen */
@media(max-width:1100px){
  .approved-home{width:min(100% - 36px,980px)}
  .approved-sections{width:75%}
  .home-question{width:75%;margin-left:0}
}
@media(max-width:850px){
  .approved-hero{grid-template-columns:1fr}
  .approved-hero-art{min-height:210px}
  .approved-hero-art img{max-width:600px}
  .approved-sections,.home-question{width:100%}
  .home-question{margin:8px 0 14px}
  .approved-section-card{grid-template-columns:80px 1fr 32px}
  .modern-option-grid,.modern-option-grid.two{grid-template-columns:1fr}
}
@media(max-width:600px){
  .modern-topbar{margin:8px;width:calc(100% - 16px);padding:10px 14px}
  .topbar-brand>b,.topbar-brand>span{display:none}
  .approved-home{width:calc(100% - 28px);padding-top:22px}
  .approved-hero-copy h1{font-size:48px}
  .approved-hero-copy p{font-size:16px}
  .approved-section-card{padding:14px 16px;min-height:112px;grid-template-columns:64px 1fr 26px}
  .approved-section-icon{width:58px;height:58px}
  .approved-section-icon img{width:50px;height:50px}
  .approved-section-copy h2{font-size:18px}
  .approved-section-copy p{font-size:11px}
  .modern-section-page{width:calc(100% - 28px)}
  .chatbot-panel{width:min(390px,calc(100vw - 20px))!important}
}


/* ==============================================================
   V4.9 — diseño aprobado
   ============================================================== */

body{
  background:#fff!important;
  color:#0F2239!important;
}
.workspace{
  background:#fff!important;
}
.modern-topbar{
  margin:12px 18px 0!important;
  width:calc(100% - 36px)!important;
  border-radius:18px!important;
  min-height:74px!important;
  background:#fff!important;
  border:1px solid #eef1f6!important;
  box-shadow:0 7px 24px rgba(15,34,57,.065)!important;
}
.topbar-brand img{max-height:46px!important}
.topbar-brand>b{
  color:#0F2239!important;
  font-size:13px!important;
  font-weight:600!important;
  letter-spacing:.25em!important;
}
.user-chip{background:#fff!important}
.v49-home{
  position:relative;
  min-height:calc(100vh - 100px);
  width:min(1440px,calc(100% - 40px));
  margin:0 auto;
  padding:60px 52px 24px;
  overflow:hidden;
  background:#fff;
}
.v49-background-student{
  position:absolute;
  top:15px;
  right:-10px;
  width:56%;
  max-width:760px;
  height:460px;
  overflow:hidden;
  opacity:.18;
  pointer-events:none;
  z-index:0;
  mask-image:linear-gradient(90deg,transparent 0%,#000 24%,#000 84%,transparent 100%);
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 24%,#000 84%,transparent 100%);
}
.v49-background-student img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  filter:saturate(.72) brightness(1.12);
}
.v49-home:after{
  content:"";
  position:absolute;
  right:1%;
  top:80px;
  width:430px;
  height:430px;
  border:1px solid rgba(142,86,255,.14);
  border-radius:50%;
  pointer-events:none;
}
.v49-intro{
  position:relative;
  z-index:2;
  width:54%;
  padding:20px 0 22px;
}
.v49-kicker{
  display:block;
  color:#245FEB;
  font-size:12px;
  letter-spacing:.22em;
  font-weight:650;
}
.v49-redline{
  width:54px;
  height:4px;
  margin:16px 0 27px;
  border-radius:100px;
  background:#FF3544;
}
.v49-intro h1{
  margin:0;
  font-family:'Outfit',sans-serif;
  font-size:clamp(48px,5.5vw,78px);
  line-height:.97;
  letter-spacing:-.055em;
  font-weight:650;
  color:#0F2239;
}
.v49-intro h1 strong{
  color:#FF3544;
  font-weight:650;
}
.v49-intro p{
  margin:22px 0 0;
  color:#0F2239;
  font-size:25px;
  font-weight:400;
  letter-spacing:-.018em;
}
.v49-purple-scribble{
  width:150px;
  height:14px;
  margin:7px 0 0 180px;
  border-top:4px solid #8E56FF;
  border-radius:50%;
  transform:rotate(-2deg);
}
.v49-cards{
  position:relative;
  z-index:4;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:26px;
  width:74%;
  margin-top:18px;
}
.v49-card{
  position:relative;
  min-height:390px;
  border:1px solid #e4e8ef;
  border-radius:22px;
  background:rgba(255,255,255,.96);
  box-shadow:0 12px 34px rgba(15,34,57,.075);
  padding:34px 30px 26px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  cursor:pointer;
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.v49-card:before{
  content:"";
  position:absolute;
  top:-1px;
  left:0;
  right:0;
  height:4px;
  border-radius:22px 22px 0 0;
}
.v49-card.academia:before{background:#4582FF}
.v49-card.servicios:before{background:#FF3544}
.v49-card.soporte:before{background:#8E56FF}
.v49-card:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 42px rgba(15,34,57,.12);
}
.v49-card-icon{
  width:118px;
  height:118px;
  display:grid;
  place-items:center;
  border-radius:50%;
  margin-bottom:22px;
}
.v49-card.academia .v49-card-icon{background:#edf4ff}
.v49-card.servicios .v49-card-icon{background:#fff0f2}
.v49-card.soporte .v49-card-icon{background:#f4efff}
.v49-card-icon img{
  width:92px;
  height:92px;
  object-fit:contain;
}
.v49-card h2{
  margin:0 0 15px;
  font-family:'Outfit',sans-serif;
  font-size:27px;
  font-weight:650;
  letter-spacing:-.025em;
}
.v49-card.academia h2{color:#245FEB}
.v49-card.servicios h2{color:#FF3544}
.v49-card.soporte h2{color:#7C3AED}
.v49-card p{
  margin:0;
  max-width:255px;
  color:#5f6f86;
  font-size:16px;
  line-height:1.6;
  font-weight:400;
}
.v49-go{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  margin-top:auto;
  border-radius:50%;
  font-size:25px;
  color:#fff;
  box-shadow:0 6px 18px rgba(15,34,57,.10);
}
.v49-card.academia .v49-go{background:#245FEB}
.v49-card.servicios .v49-go{background:#FF3544}
.v49-card.soporte .v49-go{background:#7C3AED}
.v49-footer{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:20px;
  margin-top:34px;
  padding:0 6px;
  color:#8793a8;
}
.v49-footer-brand{
  display:flex;
  align-items:center;
  gap:20px;
}
.v49-footer-brand b{
  font-size:31px;
  color:#a2aec0;
  letter-spacing:-.04em;
}
.v49-footer-brand span{
  font-size:12px;
  font-style:italic;
}
.v49-footer-copy{
  font-size:11px;
}
.v49-footer-copy i{
  display:inline-block;
  width:5px;
  height:5px;
  margin:0 10px 2px;
  border-radius:50%;
  background:#FF3544;
}

/* Chatbot card matching approved version */
.assistant-wrap{z-index:100!important}
.assistant-fab{
  width:68px!important;
  height:68px!important;
  right:28px!important;
  bottom:22px!important;
  border-radius:50%!important;
  border:4px solid #fff!important;
  background:linear-gradient(135deg,#245FEB,#7C3AED)!important;
  box-shadow:0 12px 28px rgba(76,67,230,.28)!important;
  overflow:visible!important;
}
.assistant-fab img{
  width:100%;
  height:100%;
  border-radius:50%;
  object-fit:cover;
}
.assistant-panel{
  right:30px!important;
  bottom:104px!important;
}
.chatbot-panel{
  width:400px!important;
  border-radius:24px!important;
  border:1px solid #e6eaf2!important;
  box-shadow:0 20px 48px rgba(15,34,57,.15)!important;
  background:#fff!important;
}
.assistant-head{
  background:#fff!important;
}
.assistant-avatar{
  width:60px!important;
  height:60px!important;
}
.assistant-head>div:nth-child(2) b{
  font-size:18px!important;
  font-weight:600!important;
}
.assistant-head>div:nth-child(2) small{
  font-size:12px!important;
}
.chatbot-status{
  background:#fff!important;
}
.chatbot-messages{
  background:#fff!important;
}
.chat-bubble{
  font-size:15px!important;
  line-height:1.55!important;
}
.chatbot-quick button{
  font-size:13px!important;
  padding:10px 13px!important;
}
.chatbot-form input{
  font-size:14px!important;
}
.chatbot-form button{
  background:linear-gradient(135deg,#245FEB,#7C3AED)!important;
}

/* Keep internal sections functional but consistent */
.modern-section-page,
.hub-page{
  background:#fff!important;
}

@media(max-width:1150px){
  .v49-home{padding-left:28px;padding-right:28px}
  .v49-cards{width:88%}
}
@media(max-width:900px){
  .v49-background-student{width:75%;opacity:.10}
  .v49-intro{width:100%}
  .v49-cards{width:100%;grid-template-columns:1fr}
  .v49-card{min-height:260px}
  .v49-footer{grid-template-columns:1fr}
}
@media(max-width:600px){
  .v49-home{width:calc(100% - 18px);padding:35px 16px 20px}
  .v49-intro h1{font-size:48px}
  .v49-intro p{font-size:21px}
  .v49-purple-scribble{margin-left:70px}
  .v49-card{min-height:245px}
  .chatbot-panel{width:min(380px,calc(100vw - 18px))!important}
}


/* ==============================================================
   V4.10 — DISEÑO APROBADO
   ============================================================== */
:root{
  --uim-red:#FF3544;
  --uim-blue:#245FEB;
  --uim-blue2:#4582FF;
  --uim-violet:#7C3AED;
  --uim-violet2:#8E56FF;
  --uim-navy:#0F2239;
}
html,body{background:#fff!important}
body{color:var(--uim-navy)!important}
.ambient,.grain{display:none!important}
.sidebar,.scrim{display:none!important}
.workspace{margin-left:0!important;width:100%!important;min-height:100vh!important;background:#fff!important}
.page{padding:0!important}

/* Encabezado */
.v410-topbar{
  position:sticky;top:0;z-index:60;
  min-height:108px;width:100%;
  padding:0 34px;
  display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;
  background:rgba(255,255,255,.985);
  border-bottom:1px solid #eceff4;
  box-shadow:0 3px 12px rgba(15,34,57,.035);
}
.v410-brand{justify-self:start}
.v410-brand img{width:auto;max-width:300px;max-height:62px;object-fit:contain;display:block}
.v410-campus-title{
  justify-self:center;font-family:'Outfit',sans-serif;
  font-size:26px;letter-spacing:.18em;font-weight:600;white-space:nowrap;color:#0a1742
}
.v410-campus-title strong{color:#FF3544;font-weight:600}
.v410-user-area{justify-self:end;display:flex;align-items:center;gap:13px}
.v410-bell{position:relative;width:46px;height:46px;border:0;background:#fff;color:#0a1742;font-size:27px;cursor:pointer}
.v410-bell i{
  position:absolute;top:1px;right:0;width:21px;height:21px;display:grid;place-items:center;
  border-radius:50%;background:#FF1F2D;color:#fff;font-style:normal;font-size:10px;font-weight:700
}
.v410-divider{width:1px;height:38px;background:#e1e5ec}
.v410-user-area .avatar{
  width:55px;height:55px;border-radius:50%;
  background:linear-gradient(135deg,#245FEB,#7C3AED)!important;color:#fff!important;font-size:16px;font-weight:600!important
}
.v410-user-text{display:flex;flex-direction:column;gap:2px;min-width:110px}
.v410-user-text b{font-size:14px;font-weight:600;color:#0a1742}
.v410-user-text small{font-size:11px;color:#738099}
.v410-chevron{border:0;background:transparent;color:#0a1742;font-size:22px;cursor:pointer;padding:5px 7px}

/* Inicio */
.v410-home{
  position:relative;min-height:calc(100vh - 108px);max-width:1536px;margin:0 auto;
  padding:106px 72px 26px;overflow:hidden;background:#fff
}
.v410-student-bg{
  position:absolute;z-index:0;top:0;right:-15px;width:52%;height:500px;opacity:.18;
  pointer-events:none;overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 18%,#000 80%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0%,#000 18%,#000 80%,transparent 100%)
}
.v410-student-bg:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fff 0%,transparent 25%,transparent 70%,#fff 100%)}
.v410-student-bg img{width:100%;height:100%;object-fit:cover;object-position:center top;filter:saturate(.7) brightness(1.13)}
.v410-decor{position:absolute;width:92px;height:92px;background-image:radial-gradient(#7d8cff 2px,transparent 2px);background-size:15px 15px;opacity:.28;z-index:0}
.v410-decor.dots-left{left:0;top:25px}.v410-decor.dots-right{right:0;top:82px}
.v410-line-art{position:absolute;right:-90px;top:105px;width:470px;height:470px;border:1px solid rgba(142,86,255,.18);border-radius:50%;z-index:0}
.v410-intro{position:relative;z-index:2;width:56%;min-width:650px}
.v410-kicker{display:block;margin-bottom:14px;font-size:12px;font-weight:650;letter-spacing:.23em;color:#0a1742}
.v410-red-line{display:block;width:58px;height:4px;margin-bottom:26px;border-radius:99px;background:#FF3544}
.v410-intro h1{
  margin:0;font-family:'Outfit',sans-serif;font-size:clamp(55px,5.5vw,82px);line-height:.98;
  font-weight:650;letter-spacing:-.052em;color:#071247
}
.v410-intro h1 strong{color:#FF3544;font-weight:650}
.v410-intro p{margin:24px 0 0;font-size:25px;line-height:1.25;font-weight:400;color:#0a1742}
.v410-underline{
  display:block;width:155px;height:12px;margin:6px 0 0 200px;
  border-top:4px solid #7C3AED;border-radius:50%;transform:rotate(-2deg)
}
.v410-main-grid{
  position:relative;z-index:4;display:grid;grid-template-columns:minmax(0,1fr) 335px;
  align-items:end;gap:34px;margin-top:38px
}
.v410-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:27px}
.v410-card{
  position:relative;min-height:420px;padding:35px 26px 29px;
  display:flex;flex-direction:column;align-items:center;text-align:center;
  background:rgba(255,255,255,.97);border:1px solid #e5e9f0;border-radius:20px;
  box-shadow:0 13px 34px rgba(15,34,57,.075);cursor:pointer;transition:transform .24s ease,box-shadow .24s ease
}
.v410-card:before{content:"";position:absolute;top:-1px;left:0;right:0;height:4px;border-radius:20px 20px 0 0}
.v410-card.academia:before{background:#245FEB}.v410-card.servicios:before{background:#FF3544}.v410-card.soporte:before{background:#7C3AED}
.v410-card:hover{transform:translateY(-5px);box-shadow:0 19px 43px rgba(15,34,57,.12)}
.v410-card-icon{width:120px;height:120px;margin-bottom:19px;border-radius:50%;display:grid;place-items:center}
.v410-card.academia .v410-card-icon{background:#edf4ff}.v410-card.servicios .v410-card-icon{background:#fff0f2}.v410-card.soporte .v410-card-icon{background:#f4efff}
.v410-card-icon img{width:94px;height:94px;object-fit:contain}
.v410-card h2{margin:0 0 15px;font-family:'Outfit',sans-serif;font-size:27px;line-height:1.1;font-weight:650;letter-spacing:-.025em}
.v410-card.academia h2{color:#245FEB}.v410-card.servicios h2{color:#FF171D}.v410-card.soporte h2{color:#6F2BE8}
.v410-card p{margin:0;font-size:16px;line-height:1.62;color:#52647e;font-weight:400}
.v410-arrow{width:54px;height:54px;margin-top:auto;display:grid;place-items:center;border-radius:50%;color:#fff;font-size:27px;font-weight:400}
.v410-card.academia .v410-arrow{background:#245FEB}.v410-card.servicios .v410-arrow{background:#FF171D}.v410-card.soporte .v410-arrow{background:#7025EF}

/* Vista compacta del asistente */
.v410-assistant-preview{
  position:relative;min-height:270px;padding:22px 22px 20px;
  border:1px solid #e7eaf0;border-radius:23px;background:rgba(255,255,255,.98);
  box-shadow:0 17px 40px rgba(15,34,57,.10)
}
.v410-preview-close{position:absolute;right:18px;top:13px;border:0;background:transparent;color:#071247;font-size:25px;cursor:pointer}
.v410-preview-top{display:flex;align-items:center;gap:14px;padding-right:24px}
.v410-preview-top img{width:78px;height:78px;object-fit:cover;border-radius:50%}
.v410-preview-top div{display:flex;flex-direction:column;gap:7px}
.v410-preview-top b{font-size:18px;font-weight:600;color:#071247}
.v410-preview-top span{font-size:12px;color:#64738b}
.v410-preview-top span i{display:inline-block;width:10px;height:10px;margin-right:6px;border-radius:50%;background:#00B95A}
.v410-assistant-preview>p{margin:12px 0 23px 94px;color:#071247;font-size:13px}
.v410-open-chat{
  width:100%;min-height:58px;border:0;border-radius:17px;
  background:linear-gradient(90deg,#7C22ED,#6C24F4);color:#fff;font-size:17px;font-weight:600;
  cursor:pointer;box-shadow:0 8px 22px rgba(124,34,237,.2)
}
.v410-open-chat span{margin-left:7px}

/* Pie */
.v410-footer{
  position:relative;z-index:3;margin-top:38px;
  display:grid;grid-template-columns:1fr auto;align-items:center;gap:20px;color:#7e8ba2
}
.v410-footer>div:first-child{display:flex;align-items:center;gap:18px}
.v410-footer>div:first-child b{font-size:31px;letter-spacing:-.05em;color:#98a6bd}
.v410-footer>div:first-child span{font-size:12px;font-style:italic}
.v410-footer>div:last-child{font-size:11px}
.v410-footer>div:last-child strong{color:#FF3544;font-weight:600}
.v410-footer i{display:inline-block;width:1px;height:22px;margin:0 18px -7px;background:#d7dce6}

/* Chat completo */
.assistant-fab{
  width:70px!important;height:70px!important;right:28px!important;bottom:22px!important;padding:4px!important;
  border:4px solid #fff!important;background:linear-gradient(135deg,#245FEB,#7C3AED)!important;
  box-shadow:0 12px 28px rgba(69,70,220,.28)!important
}
.assistant-fab img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.assistant-panel{right:28px!important;bottom:103px!important}
.chatbot-panel{
  width:410px!important;max-height:620px!important;border-radius:24px!important;background:#fff!important;
  border:1px solid #e5e9f0!important;box-shadow:0 22px 55px rgba(15,34,57,.16)!important
}
.assistant-head{background:#fff!important}.assistant-avatar{width:58px!important;height:58px!important}
.chat-bubble{font-size:15px!important;line-height:1.55!important}
.chatbot-quick button{font-size:13px!important;padding:10px 13px!important}
.chatbot-form input{font-size:14px!important}
.chatbot-form button{background:linear-gradient(135deg,#245FEB,#7C3AED)!important}

/* Secciones internas */
.modern-section-page,.hub-page{
  background:#fff!important;width:min(1120px,calc(100% - 60px))!important;
  margin:0 auto!important;padding-top:44px!important
}
.modern-option-card{border-radius:20px!important;box-shadow:0 9px 26px rgba(15,34,57,.055)!important}

/* Responsive */
@media(max-width:1200px){
  .v410-home{padding-left:38px;padding-right:38px}
  .v410-main-grid{grid-template-columns:1fr}
  .v410-assistant-preview{max-width:360px;justify-self:end}
}
@media(max-width:980px){
  .v410-topbar{grid-template-columns:1fr auto}.v410-campus-title{display:none}
  .v410-home{padding-top:60px}.v410-intro{width:100%;min-width:0}
  .v410-student-bg{width:72%;opacity:.11}.v410-cards{grid-template-columns:1fr}.v410-card{min-height:285px}
  .v410-footer{grid-template-columns:1fr}
}
@media(max-width:620px){
  .v410-topbar{min-height:82px;padding:0 15px}.v410-brand img{max-height:44px;max-width:220px}
  .v410-user-text,.v410-divider{display:none}.v410-user-area .avatar{width:44px;height:44px}
  .v410-home{padding:45px 17px 22px}.v410-intro h1{font-size:47px}.v410-intro p{font-size:21px}
  .v410-underline{margin-left:75px}.v410-student-bg{width:100%;height:380px;opacity:.07}
  .v410-card{min-height:255px}.v410-assistant-preview{width:100%;max-width:none}
  .v410-footer>div:last-child{line-height:1.8}.chatbot-panel{width:min(390px,calc(100vw - 18px))!important}
}


/* ============================================================
   V4.11 — MENÚ LATERAL + CHATBOT FASE 1
   ============================================================ */

:root{
  --v411-sidebar:245px;
  --v411-topbar:108px;
  --v411-blue:#245FEB;
  --v411-red:#FF3544;
  --v411-violet:#7025EF;
  --v411-navy:#071247;
}

/* Structure */
.v411-topbar{
  position:fixed!important;
  z-index:120!important;
  left:0!important;
  top:0!important;
  width:100vw!important;
  min-height:var(--v411-topbar)!important;
  padding:0 34px!important;
  display:grid!important;
  grid-template-columns:1fr auto 1fr!important;
  align-items:center!important;
  background:rgba(255,255,255,.985)!important;
  border-bottom:1px solid #eceff4!important;
  box-shadow:0 3px 14px rgba(15,34,57,.05)!important;
}
.v411-top-left{display:flex;align-items:center;gap:24px;justify-self:start}
.v411-top-left img{max-width:285px;max-height:62px;object-fit:contain}
.v411-menu-btn{
  width:44px;height:44px;border:0;background:transparent;
  color:#273660;font-size:28px;cursor:pointer;border-radius:12px
}
.v411-menu-btn:hover{background:#f4f6fb}
.v411-campus-title{
  justify-self:center;font-family:'Outfit',sans-serif;
  font-size:26px;letter-spacing:.18em;font-weight:600;color:#071247;white-space:nowrap
}
.v411-campus-title strong{color:#FF3544;font-weight:600}
.v411-user-area{justify-self:end;display:flex;align-items:center;gap:13px}
.v411-bell{position:relative;width:46px;height:46px;border:0;background:#fff;color:#071247;font-size:27px;cursor:pointer}
.v411-bell i{
  position:absolute;top:1px;right:0;width:21px;height:21px;
  display:grid;place-items:center;border-radius:50%;
  background:#FF1F2D;color:#fff;font-size:10px;font-style:normal;font-weight:700
}
.v411-divider{width:1px;height:38px;background:#e1e5ec}
.v411-user-area .avatar{
  width:55px!important;height:55px!important;
  background:linear-gradient(135deg,#245FEB,#7025EF)!important;
  color:#fff!important;font-size:16px!important;font-weight:600!important
}
.v411-user-text{display:flex;flex-direction:column;gap:2px;min-width:110px}
.v411-user-text b{font-size:14px;font-weight:600;color:#071247}
.v411-user-text small{font-size:11px;color:#738099}
.v411-chevron{border:0;background:transparent;color:#071247;font-size:22px;cursor:pointer}

/* Sidebar */
.v411-sidebar{
  display:flex!important;
  position:fixed!important;
  z-index:105!important;
  top:var(--v411-topbar)!important;
  left:0!important;
  bottom:0!important;
  width:var(--v411-sidebar)!important;
  padding:34px 16px 18px!important;
  flex-direction:column!important;
  justify-content:space-between!important;
  background:#fff!important;
  border-right:1px solid #e9edf4!important;
  box-shadow:4px 0 18px rgba(15,34,57,.035)!important;
  transform:none!important;
}
.v411-side-nav{display:grid;gap:14px}
.v411-sidebar .nav-link{
  min-height:64px!important;
  padding:0 18px!important;
  display:flex!important;
  align-items:center!important;
  gap:15px!important;
  border:0!important;
  border-radius:15px!important;
  background:transparent!important;
  color:#071247!important;
  text-align:left!important;
  box-shadow:none!important;
}
.v411-sidebar .nav-link:hover{background:#f6f7fb!important}
.v411-sidebar .nav-link.active{
  color:#245FEB!important;
  background:linear-gradient(90deg,#f0f4ff,#fafaff)!important;
}
.v411-sidebar .nav-link b{font-size:15px!important;font-weight:500!important}
.v411-side-icon{
  width:34px;height:34px;display:grid;place-items:center;
  font-size:25px;color:#071247
}
.v411-sidebar .nav-link.active .v411-side-icon{color:#245FEB}
.v411-side-icon.advisor{font-size:24px}
.v411-assistant-link{margin-top:4px!important}
.v411-side-footer{
  padding:20px 14px 4px;border-top:1px solid #e5e8ef;
  display:flex;flex-direction:column;gap:7px
}
.v411-side-footer>b{font-size:32px;letter-spacing:-.05em;color:#8190ff}
.v411-side-footer>span{font-size:11px;color:#6f7e96;font-style:italic}
.v411-side-footer .logout{
  margin-top:13px;border:0;background:transparent;text-align:left;
  color:#76849a;font-size:11px;cursor:pointer;padding:4px 0
}

.workspace{
  margin-left:var(--v411-sidebar)!important;
  width:calc(100% - var(--v411-sidebar))!important;
  padding-top:var(--v411-topbar)!important;
  min-height:100vh!important;background:#fff!important;
}
body.sidebar-collapsed .v411-sidebar{
  transform:translateX(-100%)!important;
}
body.sidebar-collapsed .workspace{
  margin-left:0!important;width:100%!important;
}

/* Home */
.v411-home{
  position:relative;min-height:calc(100vh - var(--v411-topbar));
  max-width:1420px;margin:0 auto;padding:105px 88px 32px;
  overflow:hidden;background:#fff
}
.v411-dots{
  position:absolute;top:28px;left:42px;width:95px;height:80px;
  background-image:radial-gradient(#8c99ff 2px,transparent 2px);
  background-size:15px 15px;opacity:.35
}
.v411-student-bg{
  position:absolute;z-index:0;right:0;top:0;width:49%;height:510px;
  opacity:.20;overflow:hidden;pointer-events:none;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 20%,#000 82%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0%,#000 20%,#000 82%,transparent 100%)
}
.v411-student-bg:after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,#fff 0%,transparent 25%,transparent 75%,#fff 100%)
}
.v411-student-bg img{width:100%;height:100%;object-fit:cover;object-position:center top;filter:brightness(1.1) saturate(.72)}
.v411-intro{position:relative;z-index:2;width:65%;min-width:640px}
.v411-kicker{display:block;font-size:12px;font-weight:650;letter-spacing:.23em;color:#071247}
.v411-redline{display:block;width:53px;height:4px;margin:16px 0 26px;border-radius:99px;background:#FF3544}
.v411-intro h1{
  margin:0;font-family:'Outfit',sans-serif;
  font-size:clamp(54px,5.1vw,78px);line-height:.98;
  font-weight:650;letter-spacing:-.052em;color:#071247
}
.v411-intro h1 strong{color:#FF3544;font-weight:650}
.v411-intro p{margin:22px 0 0;font-size:24px;color:#071247;font-weight:400}
.v411-underline{
  display:block;width:140px;height:12px;margin:7px 0 0 175px;
  border-top:4px solid #7025EF;border-radius:50%;transform:rotate(-2deg)
}
.v411-cards{
  position:relative;z-index:3;
  width:76%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;margin-top:40px
}
.v411-card{
  position:relative;min-height:365px;padding:31px 23px 27px;
  display:flex;flex-direction:column;align-items:center;text-align:center;
  border:1px solid #e5e9f0;border-radius:19px;background:rgba(255,255,255,.97);
  box-shadow:0 12px 32px rgba(15,34,57,.07);cursor:pointer;
  transition:transform .23s ease,box-shadow .23s ease
}
.v411-card:before{
  content:"";position:absolute;top:-1px;left:0;right:0;height:4px;border-radius:19px 19px 0 0
}
.v411-card.academia:before{background:#245FEB}
.v411-card.servicios:before{background:#FF3544}
.v411-card.soporte:before{background:#7025EF}
.v411-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(15,34,57,.11)}
.v411-card-icon{width:105px;height:105px;border-radius:50%;display:grid;place-items:center;margin-bottom:19px}
.v411-card.academia .v411-card-icon{background:#edf4ff}
.v411-card.servicios .v411-card-icon{background:#fff0f2}
.v411-card.soporte .v411-card-icon{background:#f4efff}
.v411-card-icon img{width:84px;height:84px;object-fit:contain}
.v411-card h2{
  margin:0 0 15px;font-family:'Outfit',sans-serif;
  font-size:25px;font-weight:650;letter-spacing:-.025em
}
.v411-card.academia h2{color:#245FEB}
.v411-card.servicios h2{color:#FF171D}
.v411-card.soporte h2{color:#7025EF}
.v411-card p{margin:0;font-size:14px;line-height:1.62;color:#52647e}
.v411-arrow{
  width:48px;height:48px;margin-top:auto;display:grid;place-items:center;
  border-radius:50%;color:#fff;font-size:24px
}
.v411-card.academia .v411-arrow{background:#245FEB}
.v411-card.servicios .v411-arrow{background:#FF171D}
.v411-card.soporte .v411-arrow{background:#7025EF}
.v411-footer{
  position:relative;z-index:3;margin-top:36px;
  display:flex;align-items:center;gap:15px;
  color:#6f7e96;font-size:11px
}
.v411-footer b{color:#FF3544;font-weight:600}
.v411-footer i{width:1px;height:20px;background:#d9dee7}

/* Persistent assistant */
.assistant-wrap{z-index:130!important}
.assistant-fab{display:none!important}
.assistant-panel{
  position:fixed!important;
  z-index:135!important;
  top:150px!important;
  right:24px!important;
  bottom:auto!important;
}
.chatbot-panel{
  width:365px!important;
  max-height:calc(100vh - 175px)!important;
  border-radius:24px!important;background:#fff!important;
  border:1px solid #e4e8ef!important;
  box-shadow:0 20px 52px rgba(15,34,57,.14)!important;
  overflow:hidden!important;
}
.assistant-head{padding:15px 17px!important;background:#fff!important}
.assistant-avatar{
  width:64px!important;height:64px!important;border-radius:50%!important;
  overflow:hidden!important;background:#fff!important
}
.assistant-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important}
.assistant-head>div:nth-child(2) b{font-size:18px!important;font-weight:600!important}
.assistant-head>div:nth-child(2) small{font-size:11px!important;color:#75829a!important}
#assistantClose{
  width:36px!important;height:36px!important;border-radius:50%!important;
  font-size:23px!important
}
.chatbot-status{font-size:12px!important;padding:9px 18px!important}
.chatbot-status small{display:none!important}
.chatbot-messages{
  min-height:190px!important;max-height:310px!important;
  padding:14px!important;background:#f8f9fc!important
}
.chat-message-avatar{
  width:31px!important;height:31px!important;object-fit:cover!important;border-radius:50%!important
}
.chat-bubble{
  font-size:14px!important;line-height:1.5!important;
  padding:11px 13px!important;font-weight:400!important
}
.chatbot-quick{
  padding:10px 14px!important;display:grid!important;gap:8px!important;background:#fff!important
}
.chatbot-quick button{
  width:100%!important;text-align:left!important;
  border:1px solid #dfe4ed!important;border-radius:999px!important;
  background:#fff!important;color:#202c4e!important;
  font-size:12px!important;font-weight:500!important;padding:10px 14px!important
}
.chatbot-quick button:hover{border-color:#8E56FF!important;color:#7025EF!important;background:#fbf9ff!important}
.chatbot-form{padding:11px 14px!important;background:#fff!important;border-top:1px solid #edf0f5!important}
.chatbot-form input{font-size:13px!important;border-radius:15px!important}
.chatbot-form button{background:#7025EF!important}
.chatbot-footer{padding:0 14px 10px!important}
.chatbot-end{font-size:10px!important}

/* While the assistant is open, leave visual breathing room on wide screens. */
@media(min-width:1180px){
  .modern-section-page,.hub-page,#page-academia>.page-heading,#page-finanzas>.page-heading,
  #page-control>.page-heading,#page-tutor>.page-heading,#page-servicio>.page-heading,
  #page-tutoriales>.page-heading,#page-soporte>.page-heading{
    max-width:calc(100% - 390px)!important;
    margin-left:0!important;
  }
}

/* Responsive */
@media(max-width:1180px){
  .v411-cards{width:100%}
  .assistant-panel{top:130px!important}
}
@media(max-width:980px){
  .v411-topbar{grid-template-columns:1fr auto!important;min-height:86px!important;padding:0 16px!important}
  .v411-campus-title{display:none!important}
  .v411-top-left img{max-width:220px;max-height:48px}
  .v411-sidebar{
    top:86px!important;transform:translateX(-100%)!important;
    box-shadow:12px 0 28px rgba(15,34,57,.12)!important
  }
  .v411-sidebar.open{transform:translateX(0)!important}
  .workspace{margin-left:0!important;width:100%!important;padding-top:86px!important}
  .v411-home{padding:68px 24px 25px}
  .v411-intro{width:100%;min-width:0}
  .v411-student-bg{width:70%;opacity:.10}
  .v411-cards{grid-template-columns:1fr}
  .assistant-fab{display:grid!important}
  .assistant-panel{top:auto!important;bottom:100px!important;right:14px!important}
}
@media(max-width:620px){
  .v411-user-text,.v411-divider{display:none}
  .v411-user-area .avatar{width:44px!important;height:44px!important}
  .v411-home{padding:48px 16px 22px}
  .v411-intro h1{font-size:47px}
  .v411-intro p{font-size:21px}
  .v411-underline{margin-left:75px}
  .v411-student-bg{width:100%;height:360px;opacity:.07}
  .v411-card{min-height:250px}
  .chatbot-panel{width:min(380px,calc(100vw - 18px))!important}
}


/* ============================================================
   V4.12 — diseño con menú colapsable + mascota robot
   ============================================================ */

:root{
  --v412-rail:76px;
  --v412-menu:238px;
  --v412-top:90px;
  --v412-navy:#0F2239;
  --v412-blue:#4582FF;
  --v412-red:#FF3544;
  --v412-violet:#8E56FF;
  --v412-turquoise:#00D6D3;
  --v412-orange:#FFA53D;
}

body{background:#fff!important}
#app.hidden{display:none!important}

/* LOGIN: no sidebar, no application navigation */
.v412-login{
  position:fixed!important;
  inset:0!important;
  z-index:500!important;
  min-height:100vh!important;
  background:#fff!important;
  overflow:auto!important;
}
.v412-login-brand{
  position:absolute;
  left:54px;top:34px;
  z-index:3;
  display:flex;align-items:center;gap:22px;
}
.v412-login-brand img{
  width:270px;height:auto;object-fit:contain;
}
.v412-login-brand span{
  color:var(--v412-navy);
  font-family:'Montserrat','Outfit',sans-serif;
  font-size:20px;font-weight:600;
}
.v412-login-photo{
  position:absolute;
  right:0;top:0;
  width:38%;height:100%;
  overflow:hidden;
  opacity:.48;
  pointer-events:none;
}
.v412-login-photo:before{
  content:"";
  position:absolute;inset:0;z-index:2;
  background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.15) 48%,rgba(255,255,255,.05) 100%);
}
.v412-login-photo img{
  width:100%;height:100%;object-fit:cover;object-position:center;
  filter:saturate(.75) brightness(1.08);
}
.v412-login-center{
  position:relative;z-index:4;
  width:min(520px,calc(100% - 40px));
  margin:135px auto 80px;
}
.v412-login-heading{text-align:center;margin-bottom:26px}
.v412-login-heading>span{
  color:var(--v412-red);
  font-size:11px;font-weight:600;letter-spacing:.18em;
}
.v412-login-heading h1{
  margin:8px 0 5px;
  color:var(--v412-navy);
  font-family:'Montserrat','Outfit',sans-serif;
  font-size:32px;font-weight:600;
}
.v412-login-heading p{margin:0;color:#6f7e92;font-size:14px}
.v412-login-card{
  padding:31px 34px;
  border:1px solid #e4e9f1;
  border-radius:24px;
  background:rgba(255,255,255,.97);
  box-shadow:0 18px 45px rgba(15,34,57,.09);
}
.v412-user-symbol{
  width:74px;height:74px;margin:0 auto 23px;
  display:grid;place-items:center;
  border-radius:50%;
  background:#f1f5ff;color:var(--v412-blue);
  font-size:34px;
}
.v412-login-card label>span{
  display:block;margin-bottom:7px;
  color:#263b58;font-size:13px;font-weight:500;
}
.v412-login-card input[type="text"],
.v412-login-card input[type="password"],
.v412-login-card #user,
.v412-login-card #pass{
  width:100%;height:50px;
  border:1px solid #d8e0eb;border-radius:12px;
  padding:0 15px;font-size:14px;outline:none;
  background:#fff;color:var(--v412-navy);
}
.v412-login-card input:focus{
  border-color:var(--v412-blue);
  box-shadow:0 0 0 3px rgba(69,130,255,.10);
}
.v412-login-card>label{display:block;margin-bottom:18px}
.v412-login-tools{
  display:flex;justify-content:space-between;gap:12px;
  align-items:center;margin:3px 0 20px;
  font-size:11px;color:#64748b;
}
.v412-login-tools label{display:flex!important;align-items:center;gap:6px;margin:0!important}
.v412-login-tools a{color:#245FEB;text-decoration:none}
.v412-login-button{
  width:100%;height:54px;border:0;border-radius:14px;
  background:linear-gradient(90deg,#245FEB,#4582FF);
  color:#fff;font-size:15px;font-weight:600;cursor:pointer;
}
.v412-login-button b{margin-left:8px}
.v412-login-card>small{
  display:block;margin-top:17px;
  color:#8692a4;font-size:10px;line-height:1.55;text-align:center;
}
.v412-login-footer{
  position:absolute;bottom:24px;left:0;right:0;
  text-align:center;color:#98a3b3;font-size:10px;
}

/* TOPBAR after login */
.v412-topbar{
  position:fixed!important;
  top:0!important;left:var(--v412-rail)!important;right:0!important;
  z-index:120!important;height:var(--v412-top)!important;
  padding:0 30px!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  background:#fff!important;border-bottom:1px solid #e7ebf1!important;
}
.v412-top-brand{display:flex;align-items:center;gap:18px}
.v412-top-brand img{width:235px;height:auto}
.v412-top-brand span{
  font-family:'Montserrat','Outfit',sans-serif;
  color:var(--v412-navy);font-size:20px;font-weight:600;
}
.v412-user-area{display:flex;align-items:center;gap:13px}
.v412-bell{
  position:relative;width:42px;height:42px;border:0;background:transparent;
  font-size:25px;color:var(--v412-navy);cursor:pointer;
}
.v412-bell i{
  position:absolute;right:0;top:0;
  width:18px;height:18px;border-radius:50%;
  display:grid;place-items:center;background:var(--v412-red);
  color:#fff;font-style:normal;font-size:9px;font-weight:700;
}
.v412-user-area .avatar{
  width:48px!important;height:48px!important;
  background:linear-gradient(135deg,#245FEB,#8E56FF)!important;
  color:#fff!important;font-weight:600!important;
}
.v412-user-text{display:flex;flex-direction:column}
.v412-user-text b{font-size:13px;font-weight:600;color:var(--v412-navy)}
.v412-user-text small{font-size:10px;color:#77859a}
.v412-profile-arrow{border:0;background:transparent;font-size:20px;color:var(--v412-navy);cursor:pointer}

/* SIDEBAR: hidden on login because it lives inside #app.
   Collapsed after login; hamburger expands it. */
.v412-sidebar{
  display:flex!important;
  position:fixed!important;
  z-index:130!important;
  top:0!important;left:0!important;bottom:0!important;
  width:var(--v412-rail)!important;
  padding:18px 10px!important;
  flex-direction:column!important;
  justify-content:space-between!important;
  background:#072a5d!important;
  border:0!important;
  box-shadow:none!important;
  overflow:hidden!important;
  transition:width .25s ease!important;
}
body.sidebar-expanded .v412-sidebar{width:var(--v412-menu)!important}
.v412-side-top{height:55px;display:flex;align-items:center}
.v412-side-menu{
  width:52px;height:48px;border:0;border-radius:13px;
  background:transparent;color:#fff;font-size:25px;cursor:pointer;
}
.v412-side-menu:hover{background:rgba(255,255,255,.08)}
.v412-side-nav{display:grid;gap:12px;margin-top:18px}
.v412-sidebar .nav-link,
.v412-sidebar .logout{
  width:100%!important;min-height:56px!important;
  padding:0 14px!important;
  display:flex!important;align-items:center!important;gap:18px!important;
  border:0!important;border-radius:14px!important;
  background:transparent!important;color:#fff!important;
  white-space:nowrap!important;overflow:hidden!important;
  text-align:left!important;cursor:pointer!important;
}
.v412-sidebar .nav-link:hover,
.v412-sidebar .logout:hover{background:rgba(255,255,255,.08)!important}
.v412-sidebar .nav-link.active{
  background:linear-gradient(135deg,#FF3544,#ff6670)!important;
  box-shadow:0 7px 20px rgba(255,53,68,.22)!important;
}
.v412-sidebar .nav-link>span,
.v412-sidebar .logout>span{
  width:28px;min-width:28px;text-align:center;
  font-size:24px;line-height:1;
}
.v412-sidebar .nav-link>b,
.v412-sidebar .logout>b{
  opacity:0;transform:translateX(-8px);
  transition:.2s ease;
  font-size:14px;font-weight:500;
}
body.sidebar-expanded .v412-sidebar .nav-link>b,
body.sidebar-expanded .v412-sidebar .logout>b{
  opacity:1;transform:none;
}
.v412-side-bottom{margin-top:auto}
body.sidebar-expanded .v412-topbar{left:var(--v412-menu)!important}
.workspace{
  margin-left:var(--v412-rail)!important;
  width:calc(100% - var(--v412-rail))!important;
  padding-top:var(--v412-top)!important;
  min-height:100vh!important;
  transition:margin-left .25s ease,width .25s ease!important;
}
body.sidebar-expanded .workspace{
  margin-left:var(--v412-menu)!important;
  width:calc(100% - var(--v412-menu))!important;
}

/* HOME */
.v412-home{
  position:relative;min-height:calc(100vh - var(--v412-top));
  padding:82px 70px 28px;
  overflow:hidden;background:#fff;
}
.v412-student-bg{
  position:absolute;right:0;top:0;width:38%;height:100%;
  opacity:.20;overflow:hidden;pointer-events:none;
}
.v412-student-bg:before{
  content:"";position:absolute;inset:0;z-index:2;
  background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.02) 100%);
}
.v412-student-bg img{width:100%;height:100%;object-fit:cover;object-position:center top;filter:saturate(.78) brightness(1.08)}
.v412-home-heading{
  position:relative;z-index:3;text-align:center;margin-bottom:42px;
}
.v412-home-heading h1{
  margin:0;color:#071247;
  font-family:'Montserrat','Outfit',sans-serif;
  font-size:42px;font-weight:600;letter-spacing:-.03em;
}
.v412-home-heading span{
  display:block;width:64px;height:4px;margin:18px auto 0;
  border-radius:99px;background:var(--v412-red);
}
.v412-home-cards{
  position:relative;z-index:4;
  width:min(1120px,82%);
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:24px;margin:0 auto;
}
.v412-home-card{
  min-height:395px;padding:20px 20px 26px;
  border:1px solid #e4e9f1;border-radius:22px;
  background:rgba(255,255,255,.96);
  box-shadow:0 13px 35px rgba(15,34,57,.07);
  text-align:center;cursor:pointer;
  transition:transform .22s ease,box-shadow .22s ease;
}
.v412-home-card:hover{transform:translateY(-5px);box-shadow:0 19px 43px rgba(15,34,57,.11)}
.v412-home-card img{
  width:100%;height:205px;object-fit:contain;
  border-radius:18px;
}
.v412-home-card h2{
  margin:18px 0 9px;color:#071247;
  font-family:'Montserrat','Outfit',sans-serif;
  font-size:20px;font-weight:600;
}
.v412-home-card i{
  display:block;width:36px;height:2px;margin:0 auto 16px;background:#FF8790;
}
.v412-home-card p{
  margin:0;color:#6f7e92;font-size:12px;line-height:1.65;
}
.v412-home-footer{
  position:relative;z-index:3;
  margin-top:48px;color:#8793a5;font-size:10px;
}

/* CHATBOT ROBOT */
.assistant-wrap{z-index:160!important}
.assistant-fab{
  display:grid!important;
  position:fixed!important;
  right:22px!important;bottom:20px!important;
  width:78px!important;height:78px!important;
  padding:4px!important;border:5px solid #fff!important;
  border-radius:50%!important;
  background:#fff!important;
  box-shadow:0 12px 32px rgba(15,34,57,.20)!important;
}
.assistant-fab img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.assistant-panel{
  position:fixed!important;
  right:26px!important;top:130px!important;bottom:auto!important;
  z-index:165!important;
}
.chatbot-panel{
  width:390px!important;
  max-height:calc(100vh - 155px)!important;
  border-radius:24px!important;
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid #e3e8f0!important;
  box-shadow:0 22px 55px rgba(15,34,57,.16)!important;
}
.assistant-head{
  background:linear-gradient(90deg,#245FEB,#4582FF)!important;
  color:#fff!important;padding:14px 17px!important;
}
.assistant-avatar{
  width:62px!important;height:62px!important;border:4px solid #fff!important;
  border-radius:50%!important;overflow:hidden!important;background:#fff!important;
}
.assistant-avatar img{width:100%!important;height:100%!important;object-fit:cover!important}
.assistant-head>div:nth-child(2) b{color:#fff!important;font-size:17px!important;font-weight:600!important}
.assistant-head>div:nth-child(2) small{color:rgba(255,255,255,.85)!important}
#assistantClose{color:#fff!important;background:rgba(255,255,255,.12)!important}
.chatbot-messages{background:#f7f9fc!important}
.chat-bubble{font-size:14px!important;line-height:1.55!important}
.chat-message-avatar{
  width:34px!important;height:34px!important;object-fit:cover!important;border-radius:50%!important;
}
.chatbot-quick button{
  width:100%!important;border-radius:999px!important;
  border:1px solid #dde4ef!important;background:#fff!important;
  font-size:12px!important;font-weight:500!important;
}
.chatbot-form button{background:linear-gradient(135deg,#245FEB,#8E56FF)!important}

/* Internal pages */
.modern-section-page,.hub-page{
  width:min(1100px,calc(100% - 60px))!important;
  margin:0 auto!important;padding-top:42px!important;
}
.modern-option-card{border-radius:20px!important}

/* Responsive */
@media(max-width:1180px){
  .v412-home-cards{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}
  .v412-login-photo{width:44%;opacity:.32}
}
@media(max-width:980px){
  .v412-sidebar{
    transform:translateX(-100%)!important;
    width:230px!important;
  }
  .v412-sidebar.open{transform:translateX(0)!important}
  .v412-sidebar .nav-link>b,.v412-sidebar .logout>b{opacity:1!important;transform:none!important}
  .v412-topbar{left:0!important}
  .workspace,body.sidebar-expanded .workspace{
    margin-left:0!important;width:100%!important;
  }
  .v412-home{padding:58px 22px 26px}
  .v412-student-bg{width:55%;opacity:.10}
}
@media(max-width:700px){
  .v412-login-brand{left:18px;top:20px}
  .v412-login-brand img{width:210px}
  .v412-login-brand span{display:none}
  .v412-login-photo{display:none}
  .v412-login-center{margin-top:105px}
  .v412-top-brand span{display:none}
  .v412-top-brand img{width:205px}
  .v412-user-text{display:none}
  .v412-home-heading h1{font-size:32px}
  .v412-home-cards{grid-template-columns:1fr}
  .v412-home-card{min-height:330px}
  .assistant-panel{right:9px!important;top:auto!important;bottom:105px!important}
  .chatbot-panel{width:min(390px,calc(100vw - 18px))!important}
}


/* ============================================================
   V4.13 — DISEÑO APROBADO: claro, juvenil, moderno
   ============================================================ */
:root{
  --v413-side:286px;
  --v413-side-collapsed:82px;
  --v413-top:92px;
  --v413-navy:#0F2239;
  --v413-blue:#4582FF;
  --v413-red:#FF3544;
  --v413-violet:#8E56FF;
  --v413-turquoise:#00D6D3;
  --v413-orange:#FFA53D;
  --v413-gray:#636363;
}
body{background:#fff!important}
#app.hidden{display:none!important}

/* Login remains isolated; app menu never appears before login. */

/* Sidebar */
.v413-sidebar{
  display:flex!important;
  position:fixed!important;
  inset:0 auto 0 0!important;
  width:var(--v413-side)!important;
  z-index:130!important;
  flex-direction:column!important;
  background:#fff!important;
  border-right:1px solid #e9edf4!important;
  box-shadow:5px 0 22px rgba(15,34,57,.035)!important;
  overflow:hidden!important;
  transition:width .25s ease!important;
}
.v413-sidebar-brand{
  min-height:135px;
  display:flex;align-items:flex-start;justify-content:center;
  padding:25px 18px 16px;position:relative;
}
.v413-sidebar-brand img{width:230px;height:auto;object-fit:contain}
.v413-collapse{
  position:absolute;right:-1px;bottom:-20px;
  width:40px;height:40px;border-radius:50%;
  border:1px solid #e1e6ef;background:#fff;color:#355083;
  box-shadow:0 5px 16px rgba(15,34,57,.08);cursor:pointer;font-size:24px;z-index:2
}
.v413-side-nav{display:grid;gap:8px;padding:24px 20px}
.v413-sidebar .nav-link{
  width:100%!important;min-height:58px!important;
  display:flex!important;align-items:center!important;gap:17px!important;
  padding:0 19px!important;border:0!important;border-radius:16px!important;
  background:transparent!important;color:#17335e!important;
  cursor:pointer!important;text-align:left!important;white-space:nowrap!important;
  box-shadow:none!important;
}
.v413-sidebar .nav-link:hover{background:#f5f7fc!important}
.v413-sidebar .nav-link.active{
  background:linear-gradient(90deg,#edf3ff,#f6f7ff)!important;
  color:#245FEB!important
}
.v413-sidebar .nav-link>span{width:29px;min-width:29px;text-align:center;font-size:24px}
.v413-sidebar .nav-link>b{font-size:14px;font-weight:500!important}
.v413-assistant-side b::after{
  content:"Nuevo";margin-left:8px;padding:2px 7px;border-radius:99px;
  background:#8E56FF;color:#fff;font-size:8px
}
.v413-side-footer{margin-top:auto;padding:18px 22px 28px}
.v413-side-footer .logout{
  width:100%;min-height:48px;border:0;background:transparent;
  color:#17335e;display:flex;align-items:center;gap:14px;cursor:pointer
}
.v413-side-footer .logout span{font-size:23px}.v413-side-footer .logout b{font-size:13px;font-weight:500}

/* collapsed sidebar */
body:not(.sidebar-expanded) .v413-sidebar{width:var(--v413-side-collapsed)!important}
body:not(.sidebar-expanded) .v413-sidebar-brand img{display:none}
body:not(.sidebar-expanded) .v413-sidebar-brand{min-height:92px}
body:not(.sidebar-expanded) .v413-sidebar-brand .v413-collapse{
  right:19px;bottom:20px;transform:rotate(180deg)
}
body:not(.sidebar-expanded) .v413-side-nav{padding-left:10px;padding-right:10px}
body:not(.sidebar-expanded) .v413-sidebar .nav-link{padding:0 16px!important}
body:not(.sidebar-expanded) .v413-sidebar .nav-link>b,
body:not(.sidebar-expanded) .v413-side-footer .logout>b{display:none}
body:not(.sidebar-expanded) .v413-assistant-side b::after{display:none}

/* topbar */
.v413-topbar{
  position:fixed!important;top:0!important;right:0!important;left:var(--v413-side)!important;
  height:var(--v413-top)!important;z-index:115!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  padding:0 42px!important;background:rgba(255,255,255,.96)!important;
  border-bottom:1px solid #edf0f5!important;
  transition:left .25s ease!important;
}
body:not(.sidebar-expanded) .v413-topbar{left:var(--v413-side-collapsed)!important}
.v413-user-area{
  margin-left:auto;display:flex;align-items:center;gap:12px;
  padding:8px 15px;border-radius:999px;background:#fff;
  box-shadow:0 4px 18px rgba(15,34,57,.055);border:1px solid #eef1f6
}
.v413-bell{position:relative;width:38px;height:38px;border:0;background:transparent;color:#17335e;font-size:23px;cursor:pointer}
.v413-bell i{
  position:absolute;top:1px;right:0;width:17px;height:17px;border-radius:50%;
  display:grid;place-items:center;background:#FF3544;color:#fff;font-size:8px;font-style:normal;font-weight:700
}
.v413-user-area .avatar{width:42px!important;height:42px!important;background:linear-gradient(135deg,#4582FF,#8E56FF)!important;color:#fff!important}
.v413-user-text{display:flex;flex-direction:column;min-width:104px}
.v413-user-text b{font-size:12px;font-weight:600;color:#0F2239}
.v413-user-text small{font-size:9px;color:#7e8ba1}
.v413-profile-arrow{border:0;background:transparent;color:#17335e;font-size:19px;cursor:pointer}

/* workspace */
.workspace{
  margin-left:var(--v413-side)!important;
  width:calc(100% - var(--v413-side))!important;
  padding-top:var(--v413-top)!important;
  min-height:100vh!important;
  transition:margin-left .25s ease,width .25s ease!important;
  background:#fff!important;
}
body:not(.sidebar-expanded) .workspace{
  margin-left:var(--v413-side-collapsed)!important;
  width:calc(100% - var(--v413-side-collapsed))!important;
}

/* home */
.v413-home{
  position:relative;min-height:calc(100vh - var(--v413-top));
  padding:56px 46px 26px;
  overflow:hidden;background:#fff
}
.v413-student-bg{
  position:absolute;right:0;top:0;width:39%;height:100%;
  overflow:hidden;opacity:.22;pointer-events:none
}
.v413-student-bg::before{
  content:"";position:absolute;inset:0;z-index:2;
  background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.18) 54%,rgba(255,255,255,.04) 100%)
}
.v413-student-bg img{width:100%;height:100%;object-fit:cover;object-position:center top;filter:saturate(.78) brightness(1.08)}
.v413-home-head{
  position:relative;z-index:4;
  width:min(720px,66%);margin:0 0 34px 0
}
.v413-home-head h1{
  margin:0;font-family:'Montserrat','Outfit',sans-serif;
  font-size:49px;font-weight:650;letter-spacing:-.045em;color:#071247
}
.v413-home-head p{
  margin:20px 0 0;font-size:28px;font-weight:400;color:#3c4e76
}
.v413-home-head span{
  display:block;width:44px;height:4px;margin-top:14px;background:#FF3544;border-radius:99px
}
.v413-primary-grid{
  position:relative;z-index:4;
  width:min(760px,67%);
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:25px
}
.v413-primary-card{
  min-height:305px;padding:22px 26px 24px;
  border:1px solid #e5e9f1;border-radius:22px;
  background:rgba(255,255,255,.97);
  box-shadow:0 12px 32px rgba(15,34,57,.065);
  text-align:center;cursor:pointer;position:relative;
  transition:transform .22s ease,box-shadow .22s ease
}
.v413-primary-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(15,34,57,.10)}
.v413-primary-card img{
  display:block;width:100%;height:132px;object-fit:contain;margin:0 auto 8px
}
.v413-primary-card h2{
  margin:0 0 10px;font-family:'Montserrat','Outfit',sans-serif;
  font-size:20px;font-weight:600;color:#071247
}
.v413-primary-card p{margin:0 auto;max-width:260px;font-size:12px;line-height:1.55;color:#65748c}
.v413-primary-card i{
  width:44px;height:44px;margin:18px auto 0;border-radius:50%;
  display:grid;place-items:center;color:#fff;font-style:normal;font-size:22px;
  box-shadow:0 6px 16px rgba(15,34,57,.10)
}
.v413-primary-card.academia i{background:#245FEB}
.v413-primary-card.servicios i{background:#11bf91}
.v413-primary-card.tutor i{background:#8E56FF}
.v413-primary-card.soporte i{background:#FF3544}
.v413-footer{position:relative;z-index:4;margin-top:30px;color:#8995a7;font-size:10px}

/* chatbot */
.assistant-wrap{z-index:160!important}
.assistant-fab{
  display:grid!important;position:fixed!important;right:20px!important;bottom:18px!important;
  width:76px!important;height:76px!important;padding:4px!important;border:4px solid #fff!important;
  background:#fff!important;box-shadow:0 12px 32px rgba(15,34,57,.18)!important
}
.assistant-fab img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.assistant-panel{
  position:fixed!important;right:24px!important;top:126px!important;bottom:auto!important;z-index:165!important
}
.chatbot-panel{
  width:390px!important;max-height:calc(100vh - 150px)!important;
  border-radius:22px!important;border:1px solid #e3e8f0!important;
  box-shadow:0 22px 55px rgba(15,34,57,.14)!important;background:#fff!important;overflow:hidden!important
}
.assistant-head{
  background:linear-gradient(90deg,#245FEB,#1f55d0)!important;
  color:#fff!important;padding:13px 16px!important
}
.assistant-avatar{
  width:61px!important;height:61px!important;border-radius:50%!important;
  overflow:hidden!important;background:#fff!important;border:3px solid #fff!important
}
.assistant-avatar img{width:100%!important;height:100%!important;object-fit:cover!important}
.assistant-head>div:nth-child(2) b{color:#fff!important;font-size:16px!important;font-weight:600!important}
.assistant-head>div:nth-child(2) small{color:rgba(255,255,255,.85)!important}
#assistantClose{color:#fff!important;background:rgba(255,255,255,.12)!important}
.chatbot-status{background:#fff!important;padding:7px 15px!important}
.chatbot-messages{background:#fbfcfe!important;min-height:170px!important;max-height:260px!important}
.chat-bubble{font-size:13.5px!important;line-height:1.5!important}
.chat-message-avatar{width:31px!important;height:31px!important;object-fit:cover!important;border-radius:50%!important}
.chatbot-quick{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;padding:11px 13px!important;background:#fff!important
}
.chatbot-quick button{
  width:100%!important;min-height:42px!important;
  border:1px solid #dde4ef!important;border-radius:10px!important;
  background:#fff!important;color:#263c67!important;
  font-size:10.5px!important;font-weight:500!important;padding:8px 9px!important;text-align:left!important
}
.chatbot-quick button:hover{border-color:#8E56FF!important;color:#6d43dc!important;background:#fbfaff!important}
.chatbot-form{padding:10px 13px!important}
.chatbot-form input{font-size:12.5px!important}
.chatbot-form button{background:linear-gradient(135deg,#4582FF,#8E56FF)!important}
.chatbot-end{font-size:9px!important}

/* internal pages */
.modern-section-page,.hub-page{
  width:min(1050px,calc(100% - 56px))!important;margin:0 auto!important;padding-top:38px!important
}
.modern-option-card{border-radius:20px!important}

/* responsive */
@media(max-width:1180px){
  .v413-primary-grid,.v413-home-head{width:100%;max-width:760px}
  .v413-student-bg{width:48%;opacity:.13}
}
@media(max-width:980px){
  .v413-sidebar{
    width:260px!important;transform:translateX(-100%)!important;
    transition:transform .25s ease!important
  }
  .v413-sidebar.open{transform:translateX(0)!important}
  .v413-sidebar-brand img{display:block!important;width:210px}
  .v413-sidebar .nav-link>b,.v413-side-footer .logout>b{display:block!important}
  .v413-topbar{left:0!important}
  .workspace,body:not(.sidebar-expanded) .workspace{
    margin-left:0!important;width:100%!important
  }
  .v413-home{padding:42px 22px 26px}
}
@media(max-width:700px){
  .v413-home-head h1{font-size:38px}
  .v413-home-head p{font-size:22px}
  .v413-primary-grid{grid-template-columns:1fr}
  .v413-student-bg{width:100%;opacity:.07}
  .v413-user-text{display:none}
  .assistant-panel{right:8px!important;top:auto!important;bottom:104px!important}
  .chatbot-panel{width:min(390px,calc(100vw - 16px))!important}
}


/* ============================================================
   V4.14 — línea gráfica consolidada UIM
   Fondo claro · juvenil · moderno · 4 acciones principales
   ============================================================ */
:root{
  --uim-red:#FF3544;
  --uim-blue:#4582FF;
  --uim-violet:#8E56FF;
  --uim-turquoise:#00D6D3;
  --uim-orange:#FFA53D;
  --uim-navy:#0F2239;
  --uim-gray:#636363;
  --sidebar-w:270px;
  --sidebar-mini:80px;
  --topbar-h:84px;
}
html,body{background:#fff!important;font-family:'Rubik',sans-serif!important;color:var(--uim-navy)}
button,input,textarea{font-family:'Rubik',sans-serif!important}
h1,h2,h3,h4,.v414-page-brand{font-family:'Montserrat',sans-serif!important}
.ambient,.grain{display:none!important}
#app.hidden{display:none!important}

/* LOGIN */
.v414-login{
  position:fixed!important;inset:0!important;z-index:500!important;
  background:#fff!important;overflow:auto!important;padding:0!important
}
.v414-login-shell{
  min-height:calc(100vh - 46px);display:grid;
  grid-template-columns:minmax(470px,54%) minmax(360px,46%);
  background:#fff
}
.v414-login-copy{
  align-self:center;width:min(540px,calc(100% - 72px));margin:0 auto;padding:55px 0
}
.v414-login-logo{width:285px;height:auto;object-fit:contain;margin-bottom:52px}
.v414-login-eyebrow{
  display:block;color:var(--uim-blue);font-size:11px;font-weight:500;letter-spacing:.18em;margin-bottom:12px
}
.v414-login-copy h1{
  margin:0 0 10px;font-size:38px;line-height:1.1;font-weight:600;letter-spacing:-.035em;color:var(--uim-navy)
}
.v414-login-copy>p{margin:0 0 26px;color:#75839a;font-size:15px;line-height:1.55}
.v414-login-card{
  border:1px solid #e5eaf2;border-radius:22px;background:#fff;
  padding:29px 30px 27px;box-shadow:0 16px 42px rgba(15,34,57,.075)
}
.v414-field{display:block;margin-bottom:17px}
.v414-field>span{display:block;margin-bottom:8px;font-size:12px;font-weight:500;color:#344962}
.v414-field>div{
  height:52px;display:flex;align-items:center;gap:11px;padding:0 14px;
  border:1px solid #dbe2ec;border-radius:13px;background:#fff;transition:.2s
}
.v414-field>div:focus-within{border-color:var(--uim-blue);box-shadow:0 0 0 3px rgba(69,130,255,.10)}
.v414-field svg{width:20px;height:20px;fill:none;stroke:#718199;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.v414-field input{flex:1;height:48px;border:0!important;outline:0!important;box-shadow:none!important;padding:0!important;font-size:14px;color:var(--uim-navy)}
.v414-login-row{
  margin:3px 0 20px;display:flex;justify-content:space-between;gap:15px;
  font-size:11px;color:#8995a7
}
.v414-login-row a{color:var(--uim-blue);text-decoration:none;font-weight:500}
.v414-login-submit{
  width:100%;height:54px;border:0;border-radius:30px;background:var(--uim-red);
  color:#fff;font-size:14px;font-weight:500;cursor:pointer;transition:.25s
}
.v414-login-submit:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(255,53,68,.20)}
.v414-login-submit span{margin-left:8px;font-size:19px}
.v414-login-card>small{display:block;margin-top:15px;text-align:center;font-size:10px;line-height:1.5;color:#919caf}
.v414-login-visual{position:relative;overflow:hidden;background:#f6f8fc}
.v414-login-visual::before{
  content:"";position:absolute;z-index:2;inset:0;
  background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.14) 34%,rgba(255,255,255,0) 75%)
}
.v414-login-visual img{width:100%;height:100%;object-fit:cover;object-position:center top;filter:saturate(.82) brightness(1.06)}
.v414-login-visual-card{
  position:absolute;z-index:3;left:48px;bottom:70px;width:310px;
  padding:22px 24px;border:1px solid rgba(255,255,255,.85);border-radius:20px;
  background:rgba(255,255,255,.88);backdrop-filter:blur(8px);box-shadow:0 12px 35px rgba(15,34,57,.10)
}
.v414-login-visual-card span{display:block;font-family:'Montserrat';font-size:18px;font-weight:600;color:var(--uim-navy);margin-bottom:7px}
.v414-login-visual-card small{font-size:11px;color:#708097}
.v414-login>footer{height:46px;display:grid;place-items:center;border-top:1px solid #eef1f5;color:#96a0b0;font-size:10px}

/* SIDEBAR */
.v414-sidebar{
  display:flex!important;position:fixed!important;z-index:130!important;
  left:0!important;top:0!important;bottom:0!important;width:var(--sidebar-w)!important;
  flex-direction:column!important;background:#fff!important;border-right:1px solid #e9edf4!important;
  box-shadow:4px 0 22px rgba(15,34,57,.03)!important;overflow:hidden!important;transition:width .25s ease!important
}
.v414-brand{
  min-height:126px;display:flex;align-items:center;justify-content:center;
  padding:20px 22px;position:relative;border-bottom:1px solid #f0f2f6
}
.v414-brand img{width:220px;height:auto;object-fit:contain}
.v414-collapse{
  position:absolute;right:-1px;bottom:-19px;width:38px;height:38px;border:1px solid #e2e7ef;
  border-radius:50%;background:#fff;color:#405a7e;box-shadow:0 5px 16px rgba(15,34,57,.07);
  font-size:22px;cursor:pointer;z-index:3
}
.v414-nav{display:grid;gap:5px;padding:30px 18px 18px}
.v414-sidebar .nav-link,.v414-sidebar .logout{
  min-height:54px;width:100%!important;display:flex!important;align-items:center!important;gap:15px!important;
  padding:0 16px!important;border:0!important;border-radius:15px!important;background:transparent!important;
  color:#29415f!important;text-align:left!important;cursor:pointer!important;white-space:nowrap!important;box-shadow:none!important
}
.v414-sidebar .nav-link:hover,.v414-sidebar .logout:hover{background:#f6f8fc!important}
.v414-sidebar .nav-link.active{background:#eef3ff!important;color:#245FEB!important}
.v414-nav-icon{width:27px;min-width:27px;height:27px;display:grid;place-items:center}
.v414-nav-icon svg{
  width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round
}
.v414-sidebar .nav-link b,.v414-sidebar .logout b{font-size:13px;font-weight:500!important}
.v414-bot-nav i{
  margin-left:auto;padding:3px 7px;border-radius:99px;background:#efe9ff;color:#7652df;font-size:8px;font-style:normal
}
.v414-nav-footer{margin-top:auto;padding:17px 18px 25px;border-top:1px solid #eef1f5}

/* Collapsed after user chooses it */
body:not(.sidebar-expanded) .v414-sidebar{width:var(--sidebar-mini)!important}
body:not(.sidebar-expanded) .v414-brand{min-height:84px;padding:10px}
body:not(.sidebar-expanded) .v414-brand img{display:none}
body:not(.sidebar-expanded) .v414-collapse{right:20px;bottom:22px;transform:rotate(180deg)}
body:not(.sidebar-expanded) .v414-nav{padding-left:11px;padding-right:11px}
body:not(.sidebar-expanded) .v414-sidebar .nav-link{padding:0 15px!important}
body:not(.sidebar-expanded) .v414-sidebar .nav-link b,
body:not(.sidebar-expanded) .v414-sidebar .nav-link i,
body:not(.sidebar-expanded) .v414-sidebar .logout b{display:none}

/* TOP BAR */
.v414-topbar{
  position:fixed!important;z-index:115!important;top:0!important;right:0!important;left:var(--sidebar-w)!important;
  height:var(--topbar-h)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
  padding:0 32px!important;background:rgba(255,255,255,.97)!important;border-bottom:1px solid #edf0f5!important;
  transition:left .25s ease!important
}
body:not(.sidebar-expanded) .v414-topbar{left:var(--sidebar-mini)!important}
.v414-page-brand{display:flex;align-items:baseline;gap:8px;color:var(--uim-navy);font-size:17px;font-weight:500}
.v414-page-brand b{color:var(--uim-red);font-weight:600}
.v414-user-pill{
  display:flex;align-items:center;gap:10px;padding:7px 13px 7px 9px;border:1px solid #edf0f5;
  border-radius:999px;background:#fff;box-shadow:0 4px 16px rgba(15,34,57,.045)
}
.v414-bell{position:relative;width:34px;height:34px;border:0;background:transparent;color:#395171;cursor:pointer}
.v414-bell svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.v414-bell i{
  position:absolute;right:-2px;top:-2px;width:17px;height:17px;border-radius:50%;
  display:grid;place-items:center;background:var(--uim-red);color:#fff;font-size:8px;font-style:normal;font-weight:600
}
.v414-user-pill .avatar{width:40px!important;height:40px!important;background:linear-gradient(135deg,var(--uim-blue),var(--uim-violet))!important;color:#fff!important;font-weight:500!important}
.v414-user-pill>div:nth-of-type(2){display:flex;flex-direction:column;min-width:105px}
.v414-user-pill b{font-size:11px;font-weight:500;color:var(--uim-navy)}
.v414-user-pill small{font-size:9px;color:#8a96a8}
.v414-chevron{border:0;background:transparent;color:#526784;font-size:18px;cursor:pointer}

/* WORKSPACE */
.workspace{
  margin-left:var(--sidebar-w)!important;width:calc(100% - var(--sidebar-w))!important;
  padding-top:var(--topbar-h)!important;min-height:100vh!important;background:#fff!important;
  transition:margin-left .25s ease,width .25s ease!important
}
body:not(.sidebar-expanded) .workspace{margin-left:var(--sidebar-mini)!important;width:calc(100% - var(--sidebar-mini))!important}

/* HOME */
.v414-home{
  position:relative;min-height:calc(100vh - var(--topbar-h));padding:48px 42px 28px;
  overflow:hidden;background:#fff
}
.v414-photo{
  position:absolute;right:0;top:0;width:38%;height:100%;opacity:.16;overflow:hidden;pointer-events:none
}
.v414-photo::before{content:"";position:absolute;z-index:2;inset:0;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.15) 52%,rgba(255,255,255,.02) 100%)}
.v414-photo img{width:100%;height:100%;object-fit:cover;object-position:center top;filter:saturate(.78) brightness(1.08)}
.v414-dot-pattern{
  position:absolute;top:35px;right:38%;width:95px;height:95px;opacity:.22;
  background-image:radial-gradient(var(--uim-blue) 2px,transparent 2px);background-size:14px 14px
}
.v414-heading{position:relative;z-index:4;width:min(760px,66%);margin-bottom:28px}
.v414-heading>span{display:block;color:var(--uim-blue);font-size:10px;font-weight:500;letter-spacing:.15em;margin-bottom:8px}
.v414-heading h1{margin:0;font-size:44px;line-height:1.08;font-weight:600;letter-spacing:-.04em;color:var(--uim-navy)}
.v414-heading h1 strong{color:var(--uim-red);font-weight:600}
.v414-heading p{margin:17px 0 0;font-size:24px;color:#435777;font-weight:400}
.v414-heading i{display:block;width:46px;height:4px;margin-top:13px;border-radius:99px;background:var(--uim-red)}
.v414-grid{
  position:relative;z-index:4;width:min(780px,67%);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px
}
.v414-card{
  min-height:294px;padding:22px 24px 20px;border:1px solid #e6eaf1;border-radius:22px;background:rgba(255,255,255,.97);
  box-shadow:0 10px 30px rgba(15,34,57,.055);text-align:left;cursor:pointer;transition:.22s ease
}
.v414-card:hover{transform:translateY(-4px);box-shadow:0 17px 38px rgba(15,34,57,.095)}
.v414-ill{
  width:100%;height:128px;border-radius:17px;display:grid;place-items:center;overflow:hidden;margin-bottom:12px
}
.v414-card.academia .v414-ill{background:linear-gradient(135deg,#f2f6ff,#fbfcff)}
.v414-card.servicios .v414-ill{background:linear-gradient(135deg,#eefcf8,#fbfffd)}
.v414-card.tutor .v414-ill{background:linear-gradient(135deg,#f5f1ff,#fcfaff)}
.v414-card.soporte .v414-ill{background:linear-gradient(135deg,#fff1f4,#fffafb)}
.v414-ill img{max-width:92%;max-height:118px;object-fit:contain}
.v414-card h2{margin:0 0 7px;font-size:18px;font-weight:600;color:var(--uim-navy)}
.v414-card p{margin:0;min-height:40px;font-size:11.5px;line-height:1.55;color:#738096}
.v414-card>span{
  display:inline-flex;align-items:center;gap:7px;margin-top:15px;padding:8px 13px;border-radius:30px;
  font-size:10.5px;font-weight:500;color:#fff
}
.v414-card>span b{font-size:15px;font-weight:400}
.v414-card.academia>span{background:var(--uim-blue)}
.v414-card.servicios>span{background:#18b98d}
.v414-card.tutor>span{background:var(--uim-violet)}
.v414-card.soporte>span{background:#ef456e}
.v414-footer{position:relative;z-index:4;margin-top:24px;color:#96a0af;font-size:9.5px}

/* CHATBOT */
.assistant-wrap{z-index:160!important}
.assistant-fab{
  display:grid!important;position:fixed!important;right:20px!important;bottom:20px!important;width:74px!important;height:74px!important;
  padding:4px!important;border:4px solid #fff!important;background:#fff!important;box-shadow:0 12px 32px rgba(15,34,57,.17)!important
}
.assistant-fab img{width:100%;height:100%;object-fit:contain;border-radius:50%}
.assistant-panel{position:fixed!important;z-index:165!important;right:24px!important;top:112px!important;bottom:auto!important}
.chatbot-panel{
  width:400px!important;max-height:calc(100vh - 138px)!important;border-radius:22px!important;
  border:1px solid #e3e8f0!important;background:#fff!important;box-shadow:0 22px 55px rgba(15,34,57,.14)!important;overflow:hidden!important
}
.assistant-head{padding:12px 15px!important;background:linear-gradient(90deg,#2f64d7,#2450be)!important;color:#fff!important}
.assistant-avatar{width:58px!important;height:58px!important;border-radius:50%!important;background:#fff!important;border:3px solid #fff!important;overflow:hidden!important}
.assistant-avatar img{width:100%!important;height:100%!important;object-fit:contain!important}
.assistant-head>div:nth-child(2) b{font-size:15px!important;font-weight:500!important;color:#fff!important}
.assistant-head>div:nth-child(2) small{font-size:10px!important;color:rgba(255,255,255,.82)!important}
#assistantClose{color:#fff!important;background:rgba(255,255,255,.12)!important}
.chatbot-status{padding:7px 14px!important;background:#fff!important;font-size:10px!important}
.chatbot-status small{font-size:9px!important}
.chatbot-messages{min-height:155px!important;max-height:270px!important;padding:12px!important;background:#f9fbfe!important}
.chat-bubble{font-size:12.5px!important;line-height:1.5!important;padding:10px 12px!important}
.chat-message-avatar{width:30px!important;height:30px!important;object-fit:contain!important;border-radius:50%!important}
.chatbot-quick{
  padding:10px 12px!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:7px!important;background:#fff!important;max-height:205px!important;overflow:auto!important
}
.chatbot-quick button{
  width:100%!important;min-height:40px!important;padding:7px 9px!important;border:1px solid #dee5ef!important;border-radius:11px!important;
  background:#fff!important;color:#334a6b!important;font-size:10px!important;font-weight:500!important;text-align:left!important
}
.chatbot-quick button:hover{border-color:#a998eb!important;background:#faf9ff!important;color:#6e52d7!important}
.chatbot-form{padding:10px 12px!important;border-top:1px solid #edf0f5!important}
.chatbot-form input{font-size:12px!important;border-radius:12px!important}
.chatbot-form button{background:linear-gradient(135deg,var(--uim-blue),var(--uim-violet))!important}
.chatbot-footer{padding:0 12px 8px!important}
.chatbot-end{font-size:9px!important;color:#8491a3!important}

/* existing internal pages normalized */
.modern-section-page,.hub-page{width:min(1040px,calc(100% - 54px))!important;margin:0 auto!important;padding-top:38px!important}
.modern-option-card,.hub-card,.module-card{border-radius:20px!important;box-shadow:0 8px 26px rgba(15,34,57,.05)!important}

/* responsive */
@media(max-width:1200px){
  .v414-grid,.v414-heading{width:100%;max-width:780px}
  .v414-photo{width:48%;opacity:.10}
}
@media(max-width:980px){
  .v414-login-shell{grid-template-columns:1fr}.v414-login-visual{display:none}
  .v414-sidebar{width:255px!important;transform:translateX(-100%)!important}
  .v414-sidebar.open{transform:translateX(0)!important}
  .v414-sidebar .nav-link b,.v414-sidebar .nav-link i,.v414-sidebar .logout b{display:block!important}
  .v414-brand img{display:block!important;width:210px}
  .v414-topbar{left:0!important}
  .workspace,body:not(.sidebar-expanded) .workspace{margin-left:0!important;width:100%!important}
  .v414-home{padding:40px 22px 25px}
}
@media(max-width:700px){
  .v414-login-copy{width:calc(100% - 32px);padding-top:30px}.v414-login-logo{width:235px;margin-bottom:34px}
  .v414-login-copy h1{font-size:31px}.v414-login-row{flex-direction:column}
  .v414-page-brand{font-size:14px}.v414-user-pill>div:nth-of-type(2){display:none}
  .v414-heading h1{font-size:36px}.v414-heading p{font-size:20px}
  .v414-grid{grid-template-columns:1fr}.v414-photo{width:100%;opacity:.06}
  .assistant-panel{right:8px!important;top:auto!important;bottom:102px!important}
  .chatbot-panel{width:min(400px,calc(100vw - 16px))!important}
}


/* V4.14.1 visual polish */
.v414-ill img{
  width:auto!important;
  max-width:96%!important;
  max-height:122px!important;
  object-fit:contain!important;
  mix-blend-mode:multiply;
}
.assistant-avatar img,.assistant-fab img,.chat-message-avatar{
  object-fit:contain!important;
}
.assistant-avatar{padding:2px!important}
.site-footer{display:none!important}
.v414-photo{opacity:.14!important}
.v414-login-visual img{object-position:center top!important}


/* ============================================================
   V4.15 — DISEÑO DEFINITIVO APROBADO
   ============================================================ */
:root{
  --v415-side:224px;
  --v415-mini:76px;
  --v415-top:92px;
  --v415-navy:#0F2239;
  --v415-blue:#245BFF;
  --v415-cyan:#12C7C4;
  --v415-violet:#8750F8;
  --v415-orange:#FF8200;
  --v415-red:#FF3544;
}
html,body{background:#fff!important}
#app.hidden{display:none!important}

/* Sidebar */
.v415-sidebar{
  display:flex!important;
  position:fixed!important;z-index:130!important;
  top:0!important;left:0!important;bottom:0!important;
  width:var(--v415-side)!important;
  flex-direction:column!important;
  background:#fff!important;
  border-right:1px solid #edf0f5!important;
  box-shadow:4px 0 18px rgba(15,34,57,.025)!important;
  overflow:hidden!important;
  transition:width .25s ease!important
}
.v415-side-head{
  min-height:124px;padding:22px 18px 14px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px
}
.v415-side-head img{width:188px;height:auto;object-fit:contain}
.v415-menu-button{
  position:absolute;left:24px;top:31px;width:44px;height:44px;border:1px solid #e6eaf1;border-radius:50%;
  background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer
}
.v415-menu-button span{display:block;width:18px;height:2px;border-radius:2px;background:#17335e}
.v415-nav{display:grid;gap:8px;padding:32px 14px 16px}
.v415-sidebar .nav-link{
  width:100%!important;min-height:57px!important;
  display:flex!important;align-items:center!important;gap:14px!important;
  padding:0 13px!important;border:0!important;border-radius:16px!important;
  background:transparent!important;color:#233e64!important;text-align:left!important;cursor:pointer!important;
  box-shadow:none!important
}
.v415-sidebar .nav-link.active{background:#fff0f2!important;color:var(--v415-red)!important}
.v415-sidebar .nav-link b{font-size:13px;font-weight:500!important}
.v415-i{
  width:42px;height:42px;min-width:42px;border-radius:11px;
  display:grid;place-items:center;color:#fff
}
.v415-i svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.v415-i.home{background:linear-gradient(135deg,#FF5571,#FF3544)}
.v415-i.academia{background:linear-gradient(135deg,#4D8CFF,#245BFF)}
.v415-i.servicios{background:linear-gradient(135deg,#28D7D2,#08B9B6)}
.v415-i.control{background:linear-gradient(135deg,#9C6BFF,#7842F2)}
.v415-i.soporte{background:linear-gradient(135deg,#FF9E2C,#FF7200)}
.v415-side-footer{margin-top:auto;padding:16px 19px 24px}
.v415-side-footer .logout{
  width:100%;min-height:48px;border:0;background:transparent;color:#29415f;
  display:flex;align-items:center;gap:12px;cursor:pointer;padding:0 10px
}
.v415-side-footer .logout svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.v415-side-footer .logout b{font-size:12px;font-weight:500}

/* collapsed */
body:not(.sidebar-expanded) .v415-sidebar{width:var(--v415-mini)!important}
body:not(.sidebar-expanded) .v415-side-head img{display:none}
body:not(.sidebar-expanded) .v415-side-head{min-height:92px;padding:0}
body:not(.sidebar-expanded) .v415-menu-button{left:16px;top:24px}
body:not(.sidebar-expanded) .v415-nav{padding-left:10px;padding-right:10px}
body:not(.sidebar-expanded) .v415-sidebar .nav-link{padding:0 7px!important}
body:not(.sidebar-expanded) .v415-sidebar .nav-link b,
body:not(.sidebar-expanded) .v415-side-footer .logout b{display:none}

/* Top bar */
.v415-topbar{
  position:fixed!important;z-index:115!important;
  left:var(--v415-side)!important;right:0!important;top:0!important;
  height:var(--v415-top)!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  padding:0 32px!important;background:#fff!important;border-bottom:1px solid #edf0f5!important;
  transition:left .25s ease!important
}
body:not(.sidebar-expanded) .v415-topbar{left:var(--v415-mini)!important}
.v415-user{
  margin-left:auto;display:flex;align-items:center;gap:11px;
  padding:7px 12px;border-radius:999px;background:#fff;border:1px solid #edf0f5;
  box-shadow:0 4px 15px rgba(15,34,57,.035)
}
.v415-bell{position:relative;width:36px;height:36px;border:0;background:transparent;color:#17335e;cursor:pointer}
.v415-bell svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.v415-bell i{
  position:absolute;top:-1px;right:-1px;width:17px;height:17px;border-radius:50%;
  display:grid;place-items:center;background:var(--v415-red);color:#fff;font-size:8px;font-style:normal;font-weight:600
}
.v415-user .avatar{width:40px!important;height:40px!important;background:linear-gradient(135deg,#4582FF,#8E56FF)!important;color:#fff!important}
.v415-user>div:nth-of-type(2){display:flex;flex-direction:column;min-width:100px}
.v415-user b{font-size:11px;font-weight:500;color:var(--v415-navy)}
.v415-user small{font-size:9px;color:#8a96a8}
.v415-user-arrow{border:0;background:transparent;font-size:18px;color:#536881;cursor:pointer}

/* Workspace */
.workspace{
  margin-left:var(--v415-side)!important;width:calc(100% - var(--v415-side))!important;
  padding-top:var(--v415-top)!important;min-height:100vh!important;background:#fff!important;
  transition:margin-left .25s ease,width .25s ease!important
}
body:not(.sidebar-expanded) .workspace{
  margin-left:var(--v415-mini)!important;width:calc(100% - var(--v415-mini))!important
}

/* Home */
.v415-home{
  position:relative;min-height:calc(100vh - var(--v415-top));
  padding:58px 54px 28px;overflow:hidden;background:#fff
}
.v415-watermark{
  position:absolute;z-index:0;right:285px;top:38px;width:380px;height:360px;
  opacity:.045;pointer-events:none
}
.v415-watermark img{width:100%;height:100%;object-fit:contain;filter:grayscale(1)}
.v415-heading{position:relative;z-index:3;margin:0 0 48px}
.v415-heading h1{
  margin:0;font-family:'Montserrat',sans-serif;font-size:47px;line-height:1.05;font-weight:650;
  letter-spacing:-.045em;color:#071247
}
.v415-heading h1 strong{
  font-weight:650;background:linear-gradient(90deg,#FF3544 0%,#FF3544 34%,#8E56FF 67%,#4582FF 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent
}
.v415-heading p{margin:14px 0 0;font-size:17px;color:#526684}
.v415-heading>span{display:block;width:42px;height:4px;margin-top:16px;border-radius:99px;background:#245BFF}
.v415-quick{position:relative;z-index:3}
.v415-quick>h2{
  margin:0;font-family:'Montserrat',sans-serif;font-size:20px;font-weight:600;color:#071247
}
.v415-quick>i{display:block;width:36px;height:3px;margin:9px 0 24px;border-radius:99px;background:#245BFF}
.v415-grid{
  width:min(825px,76%);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px
}
.v415-card{
  min-height:360px;padding:17px 17px 19px;border:1px solid #e7ebf2;border-radius:22px;
  background:rgba(255,255,255,.985);box-shadow:0 10px 28px rgba(15,34,57,.05);
  text-align:center;cursor:pointer;transition:.22s ease;overflow:hidden;position:relative
}
.v415-card:hover{transform:translateY(-4px);box-shadow:0 17px 38px rgba(15,34,57,.085)}
.v415-card::after{
  content:"";position:absolute;left:-16px;right:-16px;bottom:-18px;height:54px;border-radius:50% 50% 0 0 / 100% 100% 0 0;opacity:.17
}
.v415-card.academia::after{background:#4582FF}
.v415-card.servicios::after{background:#00D6D3}
.v415-card.control::after{background:#8E56FF}
.v415-card.soporte::after{background:#FFA53D}
.v415-card>img{width:100%;height:128px;object-fit:contain;margin:1px auto 9px}
.v415-card h3{margin:0 0 9px;font-family:'Montserrat';font-size:17px;font-weight:600}
.v415-card.academia h3{color:#071247}
.v415-card.servicios h3{color:#00AAA7}
.v415-card.control h3{color:#7443E8}
.v415-card.soporte h3{color:#FF7200}
.v415-card p{margin:0 auto;min-height:60px;font-size:10.8px;line-height:1.55;color:#66758d}
.v415-card>span{
  position:relative;z-index:2;display:flex;align-items:center;justify-content:center;gap:9px;
  width:100%;height:38px;margin-top:18px;border-radius:30px;color:#fff;font-size:10.5px;font-weight:500
}
.v415-card>span b{font-size:16px;font-weight:400}
.v415-card.academia>span{background:#245BFF}
.v415-card.servicios>span{background:#08B9B6}
.v415-card.control>span{background:#7842F2}
.v415-card.soporte>span{background:#FF7200}
.v415-footer{
  position:absolute;z-index:3;left:54px;bottom:18px;color:#8f9aaa;font-size:9px
}
.v415-footer div{margin-top:5px;display:flex;align-items:center;gap:9px}
.v415-footer a{color:#7d8aa0;text-decoration:none}
.v415-footer i{width:1px;height:11px;background:#d6dce5}

/* Chatbot — right panel of approved design */
.assistant-wrap{z-index:160!important}
.assistant-fab{
  display:grid!important;position:fixed!important;right:20px!important;bottom:18px!important;
  width:74px!important;height:74px!important;padding:4px!important;border:4px solid #fff!important;
  background:#fff!important;box-shadow:0 12px 32px rgba(15,34,57,.16)!important
}
.assistant-fab img{width:100%!important;height:100%!important;object-fit:contain!important;border-radius:50%!important}
.assistant-panel{
  position:fixed!important;z-index:165!important;right:22px!important;top:110px!important;bottom:auto!important
}
.chatbot-panel{
  width:385px!important;max-height:calc(100vh - 134px)!important;border-radius:21px!important;
  border:1px solid #e2e7ef!important;background:#fff!important;
  box-shadow:0 20px 48px rgba(15,34,57,.13)!important;overflow:hidden!important
}
.assistant-head{
  padding:12px 15px!important;background:linear-gradient(90deg,#2D62D8,#3159D1)!important;color:#fff!important
}
.assistant-avatar{
  width:57px!important;height:57px!important;border-radius:50%!important;border:3px solid #fff!important;
  background:#fff!important;overflow:hidden!important
}
.assistant-avatar img{width:100%!important;height:100%!important;object-fit:contain!important}
.assistant-head>div:nth-child(2) b{color:#fff!important;font-size:15px!important;font-weight:500!important}
.assistant-head>div:nth-child(2) small{color:#cbffd6!important;font-size:9.5px!important}
#assistantClose{color:#fff!important;background:rgba(255,255,255,.10)!important}
.chatbot-status{padding:7px 13px!important;background:#fff!important;font-size:10px!important}
.chatbot-messages{min-height:160px!important;max-height:240px!important;padding:12px!important;background:#fbfcfe!important}
.chat-bubble{font-size:12px!important;line-height:1.5!important;padding:10px 11px!important}
.chat-message-avatar{width:28px!important;height:28px!important;object-fit:contain!important}
.chatbot-quick{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:7px!important;padding:9px 11px!important;max-height:205px!important;overflow:auto!important;background:#fff!important
}
.chatbot-quick button{
  width:100%!important;min-height:39px!important;padding:7px 8px!important;border:1px solid #dfe5ee!important;
  border-radius:10px!important;background:#fff!important;color:#314868!important;
  font-size:9.8px!important;font-weight:500!important;text-align:left!important
}
.chatbot-quick button:hover{border-color:#8E56FF!important;color:#6f4ed7!important;background:#fbfaff!important}
.chatbot-form{padding:10px 11px!important;border-top:1px solid #edf0f5!important}
.chatbot-form input{font-size:11.5px!important;border-radius:11px!important}
.chatbot-form button{background:#245BFF!important}
.chatbot-footer{padding:0 11px 8px!important}.chatbot-end{font-size:8.5px!important;color:#8491a3!important}

/* No extra dashboard blocks */
#page-inicio .modern-section-page,
#page-inicio .hub-page,
#page-inicio .dashboard-widgets,
#page-inicio .announcements,
#page-inicio .upcoming,
#page-inicio .progress-widget{display:none!important}

/* Keep internal modules functional */
.modern-section-page,.hub-page{width:min(1040px,calc(100% - 52px))!important;margin:0 auto!important;padding-top:36px!important}

@media(max-width:1180px){
  .v415-grid{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}
  .v415-watermark{right:20px}
}
@media(max-width:980px){
  .v415-sidebar{width:245px!important;transform:translateX(-100%)!important}
  .v415-sidebar.open{transform:translateX(0)!important}
  .v415-side-head img{display:block!important;width:185px}
  .v415-sidebar .nav-link b,.v415-side-footer .logout b{display:block!important}
  .v415-topbar{left:0!important}
  .workspace,body:not(.sidebar-expanded) .workspace{margin-left:0!important;width:100%!important}
  .v415-home{padding:40px 22px 28px}
  .v415-footer{position:relative;left:auto;bottom:auto;margin-top:28px}
}
@media(max-width:700px){
  .v415-heading h1{font-size:38px}.v415-heading p{font-size:15px}
  .v415-grid{grid-template-columns:1fr}
  .v415-user>div:nth-of-type(2){display:none}
  .assistant-panel{right:8px!important;top:auto!important;bottom:103px!important}
  .chatbot-panel{width:min(385px,calc(100vw - 16px))!important}
}


/* ==========================================================
   V4.16 — DISEÑO APROBADO
   Login juvenil + dashboard claro con 4 accesos y chatbot UIMi
   ========================================================== */
:root{
  --v416-side:112px;
  --v416-side-expanded:240px;
  --v416-top:94px;
  --v416-navy:#092759;
  --v416-red:#FF3544;
  --v416-blue:#4582FF;
  --v416-turquoise:#00D6D3;
  --v416-violet:#8E56FF;
  --v416-orange:#FFA53D;
}

/* ---------- LOGIN ---------- */
.v416-login{
  position:fixed!important;inset:0!important;z-index:500!important;
  background:#fbfcff!important;overflow:auto!important;min-height:100vh!important;
}
.v416-login-bg{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.v416-login-student{
  position:absolute;left:0;top:90px;bottom:0;width:37%;opacity:.22;
  -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 62%,transparent 100%);
  mask-image:linear-gradient(90deg,#000 0%,#000 62%,transparent 100%);
}
.v416-login-student img{width:100%;height:100%;object-fit:cover;object-position:center top;filter:saturate(.72) brightness(1.12)}
.v416-orb{position:absolute;border-radius:50%;filter:blur(.2px);opacity:.26}
.v416-orb.orb-a{width:380px;height:380px;right:95px;top:85px;background:linear-gradient(135deg,#e8dcff,#edf2ff)}
.v416-orb.orb-b{width:330px;height:330px;right:20px;bottom:-100px;background:linear-gradient(135deg,#d8fbfb,#e9f1ff)}
.v416-dotgrid{
  position:absolute;right:42px;top:35px;width:90px;height:90px;opacity:.25;
  background-image:radial-gradient(#4582FF 2px,transparent 2px);background-size:14px 14px;
}
.v416-login-card{
  position:relative;z-index:4;width:min(630px,calc(100% - 34px));margin:65px auto 88px;
  padding:44px 70px 48px;border-radius:36px;background:rgba(255,255,255,.96);
  border:1px solid #edf0f6;box-shadow:0 20px 60px rgba(15,34,57,.08);
}
.v416-login-logo{display:block;width:285px;height:auto;margin:0 auto 48px;object-fit:contain}
.v416-login-title{margin-bottom:28px}
.v416-login-title>span{font-size:20px;color:#687891}
.v416-login-title h1{
  margin:2px 0 10px;font-family:'Montserrat',sans-serif;font-size:37px;font-weight:600;
  line-height:1.05;color:var(--v416-navy);letter-spacing:-.04em
}
.v416-login-title h1 strong{color:var(--v416-red);font-weight:600}
.v416-login-title i{display:block;width:43px;height:4px;border-radius:99px;background:var(--v416-red);margin-bottom:15px}
.v416-login-title p{margin:0;color:#718098;font-size:14px}
.v416-login-field{display:block;margin-bottom:18px}
.v416-login-field>span{display:block;margin:0 0 8px;font-size:12px;font-weight:500;color:#324968}
.v416-login-field>div{
  height:52px;padding:0 14px;display:flex;align-items:center;gap:11px;border-radius:13px;
  border:1px solid #dbe2ec;background:#fff
}
.v416-login-field>div:focus-within{border-color:#8caeff;box-shadow:0 0 0 3px rgba(69,130,255,.09)}
.v416-login-field svg{width:20px;height:20px;fill:none;stroke:#8493aa;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.v416-login-field input{flex:1;height:48px;border:0!important;outline:0!important;padding:0!important;box-shadow:none!important;font-size:14px}
.v416-login-links{
  display:flex;justify-content:space-between;gap:16px;margin:2px 0 20px;font-size:11px;color:#929bad
}
.v416-login-links a{color:#397CFF;text-decoration:none;font-weight:500}
.v416-login-submit{
  width:100%;height:55px;border:0;border-radius:14px;background:var(--v416-red);
  color:#fff;font-size:15px;font-weight:500;cursor:pointer;transition:.25s
}
.v416-login-submit:hover{transform:translateY(-1px);box-shadow:0 11px 25px rgba(255,53,68,.22)}
.v416-login-submit b{font-size:20px;margin-left:10px;font-weight:400}
.v416-login-help{margin-top:23px;text-align:center;font-size:12px;color:#64748a}
.v416-login-help b{color:#7955EF;margin-right:8px}
.v416-login-robot{
  position:absolute;z-index:5;right:80px;bottom:70px;display:flex;align-items:flex-end;gap:5px
}
.v416-login-robot>img{width:175px;height:175px;object-fit:contain}
.v416-login-robot>div{
  width:220px;padding:18px 20px;border-radius:20px;background:rgba(255,255,255,.95);
  border:1px solid #e8ebf3;box-shadow:0 14px 38px rgba(15,34,57,.08)
}
.v416-login-robot b{display:block;color:#7750E8;font-size:12px;margin-bottom:8px}
.v416-login-robot span{display:block;color:#5f6f87;font-size:11px;margin-bottom:10px}
.v416-login-robot small{color:#77879c;font-size:10px}
.v416-login-robot small i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#27C86C;margin-right:5px}
.v416-login>footer{
  position:absolute;z-index:4;left:0;right:0;bottom:17px;text-align:center;color:#929dad;font-size:10px
}

/* ---------- SIDEBAR ---------- */
.v416-sidebar{
  display:flex!important;position:fixed!important;z-index:140!important;left:0!important;top:0!important;bottom:0!important;
  width:var(--v416-side)!important;flex-direction:column!important;background:#082B5E!important;
  box-shadow:none!important;border:0!important;overflow:hidden!important;transition:width .25s ease!important
}
body.sidebar-expanded .v416-sidebar{width:var(--v416-side-expanded)!important}
.v416-side-logo{height:92px;display:grid;place-items:center;background:#fff;overflow:hidden}
.v416-side-logo img{width:190px;display:none}
body.sidebar-expanded .v416-side-logo img{display:block}
.v416-hamburger{
  width:58px;height:58px;margin:12px auto 14px;border:0;background:transparent;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer
}
.v416-hamburger span{width:25px;height:3px;border-radius:3px;background:#fff}
.v416-side-nav{display:grid;gap:11px;padding:0 11px}
.v416-sidebar .nav-link{
  width:100%!important;min-height:75px!important;padding:0 14px!important;
  display:flex!important;align-items:center!important;gap:16px!important;border:0!important;border-radius:18px!important;
  background:transparent!important;color:#fff!important;text-align:left!important;cursor:pointer!important;box-shadow:none!important
}
.v416-sidebar .nav-link.active{background:#fff!important;color:var(--v416-navy)!important}
.v416-side-icon{
  width:48px;height:48px;min-width:48px;display:grid;place-items:center;border-radius:13px;color:#fff
}
.v416-sidebar .nav-link.active .v416-side-icon{background:var(--v416-red);color:#fff}
.v416-side-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.v416-sidebar .nav-link b{display:none;font-size:13px;font-weight:500}
body.sidebar-expanded .v416-sidebar .nav-link b{display:block}
.v416-side-bottom{margin-top:auto;padding:15px 12px 28px}
.v416-side-bottom .logout{
  width:100%;min-height:55px;padding:0 14px;border:0;background:transparent;color:#fff;
  display:flex;align-items:center;gap:16px;cursor:pointer
}
.v416-side-bottom .logout svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.v416-side-bottom .logout b{display:none;font-size:12px;font-weight:500}
body.sidebar-expanded .v416-side-bottom .logout b{display:block}

/* ---------- TOPBAR ---------- */
.v416-topbar{
  position:fixed!important;z-index:125!important;top:0!important;left:var(--v416-side)!important;right:0!important;
  height:var(--v416-top)!important;padding:0 34px!important;display:flex!important;align-items:center!important;
  justify-content:space-between!important;background:rgba(255,255,255,.97)!important;border-bottom:1px solid #edf0f5!important;
  transition:left .25s ease!important
}
body.sidebar-expanded .v416-topbar{left:var(--v416-side-expanded)!important}
.v416-top-brand{display:flex;align-items:baseline;gap:8px;font-family:'Montserrat';color:var(--v416-navy);font-size:18px;font-weight:500}
.v416-top-brand b{color:var(--v416-red);font-weight:600}
.v416-profile{
  margin-left:auto;display:flex;align-items:center;gap:10px;padding:6px 10px;border-radius:999px;background:#fff
}
.v416-bell{position:relative;width:38px;height:38px;border:0;background:transparent;color:#294764;cursor:pointer}
.v416-bell svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.v416-bell i{
  position:absolute;right:0;top:0;width:17px;height:17px;border-radius:50%;display:grid;place-items:center;
  background:var(--v416-red);color:#fff;font-style:normal;font-size:8px;font-weight:600
}
.v416-profile .avatar{width:42px!important;height:42px!important;background:linear-gradient(135deg,#4582FF,#8E56FF)!important;color:#fff!important}
.v416-profile>div:nth-of-type(2){display:flex;flex-direction:column;min-width:105px}
.v416-profile b{font-size:11px;font-weight:500;color:var(--v416-navy)}
.v416-profile small{font-size:9px;color:#8995a6}
.v416-chevron{border:0;background:transparent;color:#425a77;font-size:18px;cursor:pointer}

/* ---------- WORKSPACE / HOME ---------- */
.workspace{
  margin-left:var(--v416-side)!important;width:calc(100% - var(--v416-side))!important;
  padding-top:var(--v416-top)!important;min-height:100vh!important;background:#fff!important;
  transition:margin-left .25s ease,width .25s ease!important
}
body.sidebar-expanded .workspace{margin-left:var(--v416-side-expanded)!important;width:calc(100% - var(--v416-side-expanded))!important}
.v416-home{
  position:relative;min-height:calc(100vh - var(--v416-top));padding:72px 52px 28px;overflow:hidden;background:#fff
}
.v416-home-student{
  position:absolute;right:0;top:0;width:39%;height:100%;opacity:.19;overflow:hidden;pointer-events:none;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 20%,#000 100%);
  mask-image:linear-gradient(90deg,transparent 0%,#000 20%,#000 100%);
}
.v416-home-student img{width:100%;height:100%;object-fit:cover;object-position:center top;filter:saturate(.72) brightness(1.10)}
.v416-watermark{position:absolute;left:40px;top:25px;width:350px;height:330px;opacity:.035;filter:grayscale(1);pointer-events:none}
.v416-watermark img{width:100%;height:100%;object-fit:contain}
.v416-shape{
  position:absolute;left:0;top:140px;width:320px;height:610px;border-radius:0 55% 55% 0;
  background:linear-gradient(160deg,rgba(69,130,255,.08),rgba(142,86,255,.035));pointer-events:none
}
.v416-home-heading{position:relative;z-index:4;text-align:center;margin:0 auto 35px}
.v416-home-heading h1{
  margin:0;font-family:'Montserrat';font-size:53px;line-height:1.05;font-weight:600;letter-spacing:-.045em;color:var(--v416-navy)
}
.v416-home-heading h1 strong{color:var(--v416-red);font-weight:600}
.v416-home-heading i{display:block;width:76px;height:4px;margin:16px auto;border-radius:99px;background:var(--v416-red)}
.v416-home-heading p{margin:0;color:#5c6e88;font-size:20px}
.v416-main-cards{
  position:relative;z-index:4;width:min(1120px,82%);margin:0 auto;
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:23px
}
.v416-card{
  min-height:440px;padding:22px 22px 24px;border-radius:29px;border:1px solid rgba(69,130,255,.18);
  box-shadow:0 12px 32px rgba(15,34,57,.055);text-align:center;cursor:pointer;transition:.25s ease;position:relative
}
.v416-card.academia{background:linear-gradient(180deg,rgba(69,130,255,.12),rgba(69,130,255,.035))}
.v416-card.servicios{background:linear-gradient(180deg,rgba(0,214,211,.13),rgba(0,214,211,.035));border-color:rgba(0,214,211,.23)}
.v416-card.tutor{background:linear-gradient(180deg,rgba(142,86,255,.13),rgba(142,86,255,.035));border-color:rgba(142,86,255,.22)}
.v416-card.soporte{background:linear-gradient(180deg,rgba(255,53,68,.12),rgba(255,53,68,.035));border-color:rgba(255,53,68,.20)}
.v416-card:hover{transform:translateY(-7px) scale(1.01);box-shadow:0 22px 42px rgba(15,34,57,.10)}
.v416-card-art{height:225px;display:grid;place-items:center}
.v416-card-art img{max-width:100%;max-height:215px;object-fit:contain;mix-blend-mode:multiply}
.v416-card h2{margin:7px 0 10px;font-family:'Montserrat';font-size:21px;font-weight:600}
.v416-card.academia h2{color:#245BFF}
.v416-card.servicios h2{color:#00AAA7}
.v416-card.tutor h2{color:#7B43ED}
.v416-card.soporte h2{color:#FF3544}
.v416-card>i{display:block;width:36px;height:2px;margin:0 auto 15px;border-radius:99px}
.v416-card.academia>i{background:#245BFF}.v416-card.servicios>i{background:#00B9B5}.v416-card.tutor>i{background:#8E56FF}.v416-card.soporte>i{background:#FF3544}
.v416-card p{margin:0 auto;color:#66768d;font-size:12px;line-height:1.6;max-width:230px}
.v416-card>span{
  position:absolute;left:50%;bottom:22px;transform:translateX(-50%);
  width:45px;height:45px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:23px
}
.v416-card.academia>span{background:#245BFF}.v416-card.servicios>span{background:#00B9B5}.v416-card.tutor>span{background:#7B43ED}.v416-card.soporte>span{background:#FF3544}
.v416-home-footer{position:absolute;left:35px;bottom:18px;color:#8994a5;font-size:9.5px}

/* ---------- CONTACT STRIPS ---------- */
.v416-contact-strip{
  margin:22px 0;padding:18px 20px;border-radius:18px;display:flex;align-items:center;justify-content:space-between;gap:20px
}
.v416-contact-strip>div{display:flex;flex-direction:column;gap:4px}
.v416-contact-strip b{font-size:13px;color:#163252}.v416-contact-strip span{font-size:11px;color:#6b7a91}
.finance-contact{background:#fff3f4;border:1px solid rgba(255,53,68,.16)}
.academia-contact{background:#f1f6ff;border:1px solid rgba(69,130,255,.16)}

/* ---------- CHATBOT ---------- */
.assistant-wrap{z-index:170!important}
.assistant-fab{
  display:grid!important;position:fixed!important;right:18px!important;bottom:18px!important;
  width:82px!important;height:82px!important;padding:3px!important;border:4px solid #fff!important;
  background:#fff!important;box-shadow:0 13px 34px rgba(15,34,57,.17)!important
}
.assistant-fab img{width:100%!important;height:100%!important;object-fit:contain!important}
.assistant-panel{
  position:fixed!important;z-index:175!important;right:26px!important;bottom:28px!important;top:auto!important
}
.chatbot-panel{
  width:390px!important;max-height:610px!important;border-radius:25px!important;border:1px solid #e5e9f1!important;
  background:#fff!important;box-shadow:0 24px 56px rgba(15,34,57,.15)!important;overflow:hidden!important
}
.assistant-head{
  min-height:58px!important;padding:10px 15px!important;background:linear-gradient(90deg,#194AB7,#2A61E5)!important;color:#fff!important
}
.assistant-avatar{width:48px!important;height:48px!important;border:3px solid #fff!important;background:#fff!important}
.assistant-avatar img{width:100%!important;height:100%!important;object-fit:contain!important}
.assistant-head>div:nth-child(2) b{font-size:14px!important;font-weight:500!important;color:#fff!important}
.assistant-head>div:nth-child(2) small{font-size:9px!important;color:#c8ffd5!important}
#assistantClose{color:#fff!important;background:rgba(255,255,255,.10)!important}
.chatbot-status{display:none!important}
.chatbot-messages{min-height:120px!important;max-height:240px!important;background:#fff!important;padding:12px 13px!important}
.chat-bubble{font-size:12px!important;line-height:1.5!important;padding:10px 11px!important}
.chat-message-avatar{width:28px!important;height:28px!important;object-fit:contain!important}
.chatbot-quick{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;
  max-height:190px!important;overflow:auto!important;padding:8px 12px!important;background:#fff!important
}
.chatbot-quick button{
  min-height:39px!important;padding:7px 9px!important;border:1px solid #dde4ef!important;border-radius:11px!important;
  background:#fff!important;color:#314967!important;font-size:10px!important;font-weight:500!important;text-align:left!important
}
.chatbot-quick button:hover{border-color:#8E56FF!important;background:#faf9ff!important;color:#694bd1!important}
.chatbot-form{padding:10px 12px!important;border-top:1px solid #eef1f5!important}
.chatbot-form input{font-size:11.5px!important;border-radius:12px!important}
.chatbot-form button{background:#245BFF!important}
.chatbot-footer{padding:0 12px 9px!important}.chatbot-end{font-size:9px!important}

/* Internal sections remain functional but visually normalized */
.modern-section-page,.hub-page{width:min(1050px,calc(100% - 55px))!important;margin:0 auto!important;padding-top:40px!important}
.modern-option-card,.hub-card,.module-card{border-radius:21px!important;box-shadow:0 9px 28px rgba(15,34,57,.05)!important}

@media(max-width:1260px){
  .v416-main-cards{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px}
  .v416-home-student{width:50%;opacity:.10}
  .v416-login-robot{right:25px}
}
@media(max-width:980px){
  .v416-sidebar{width:245px!important;transform:translateX(-100%)!important}
  .v416-sidebar.open{transform:translateX(0)!important}
  .v416-side-logo img{display:block!important;width:185px}
  .v416-sidebar .nav-link b,.v416-side-bottom .logout b{display:block!important}
  .v416-topbar{left:0!important}
  .workspace,body.sidebar-expanded .workspace{margin-left:0!important;width:100%!important}
  .v416-login-student{opacity:.10;width:55%}.v416-login-robot{display:none}
}
@media(max-width:700px){
  .v416-login-card{width:calc(100% - 24px);padding:32px 22px;margin-top:25px}
  .v416-login-logo{width:235px;margin-bottom:35px}.v416-login-title h1{font-size:31px}
  .v416-home{padding:40px 17px 30px}.v416-home-heading h1{font-size:38px}.v416-home-heading p{font-size:17px}
  .v416-main-cards{grid-template-columns:1fr}.v416-card{min-height:385px}.v416-card-art{height:185px}
  .v416-profile>div:nth-of-type(2){display:none}
  .assistant-panel{right:8px!important;bottom:105px!important}
  .chatbot-panel{width:min(390px,calc(100vw - 16px))!important}
}


/* ==========================================================
   V4.18 CORRECTIVA
   ========================================================== */

/* Login: no assistant, no overlap, no absolute footer */
.v416-login-robot{display:none!important}
.v416-login{
  position:fixed!important;
  inset:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  min-height:100vh!important;
  padding:24px 18px 62px!important;
  box-sizing:border-box!important;
}
.v416-login-card{
  margin:18px auto 24px!important;
  min-height:auto!important;
  padding-top:32px!important;
  padding-bottom:34px!important;
}
.v416-login-logo{margin-bottom:31px!important}
.v416-login>footer{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  width:100%!important;
  margin:10px auto 0!important;
  padding:10px 0 0!important;
  text-align:center!important;
  line-height:1.35!important;
  pointer-events:none!important;
}
.v416-login-submit{
  position:relative!important;
  z-index:3!important;
  margin-bottom:0!important;
}
.v416-login-help{margin-top:22px!important}

/* Correct contaminated background: only clean student image is used */
.v416-home-student{
  width:40%!important;
  opacity:.16!important;
}
.v416-home-student img{
  object-position:center center!important;
  filter:saturate(.72) brightness(1.08)!important;
}

/* Keep assistant button compact and separated from content */
.assistant-fab{
  width:62px!important;
  height:62px!important;
  right:0!important;
  bottom:0!important;
}
.assistant-wrap{
  right:18px!important;
  bottom:18px!important;
}
.assistant-panel{
  right:0!important;
  bottom:78px!important;
}

/* Department contact strips */
.v416-contact-strip{
  flex-wrap:wrap!important;
}
.v416-contact-strip>div{
  flex:1 1 390px!important;
}
.v416-contact-strip .btn{
  flex:0 1 auto!important;
  white-space:normal!important;
  text-align:center!important;
}

/* Small-height desktop screens like the reported 1106x557 viewport */
@media (min-width:701px) and (max-height:700px){
  .v416-login{
    position:absolute!important;
    min-height:100vh!important;
  }
  .v416-login-card{
    width:min(560px,calc(100% - 34px))!important;
    padding:26px 54px 28px!important;
    margin:10px auto 18px!important;
  }
  .v416-login-logo{
    width:235px!important;
    margin-bottom:20px!important;
  }
  .v416-login-title{
    margin-bottom:18px!important;
  }
  .v416-login-title>span{font-size:17px!important}
  .v416-login-title h1{font-size:31px!important}
  .v416-login-title p{font-size:12px!important}
  .v416-login-field{margin-bottom:12px!important}
  .v416-login-field>div{height:47px!important}
  .v416-login-links{margin-bottom:14px!important}
  .v416-login-submit{height:50px!important}
  .v416-login-help{margin-top:16px!important}
  .v416-login>footer{font-size:9px!important}
}

@media(max-width:700px){
  .v416-login{
    padding:12px 12px 44px!important;
  }
  .v416-login-card{
    margin:8px auto 16px!important;
  }
  .v416-login>footer{
    margin-top:8px!important;
  }
}


/* ==========================================================
   V4.19 — CORRECCIÓN DE FLECHAS / TEXTO
   ========================================================== */

/* Tarjetas principales: la flecha ocupa una zona independiente */
.v416-card{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  padding-bottom:24px!important;
}
.v416-card-art{
  flex:0 0 auto!important;
}
.v416-card h2,
.v416-card>i,
.v416-card p{
  flex:0 0 auto!important;
}
.v416-card p{
  min-height:76px!important;
  margin-bottom:18px!important;
  padding:0 4px!important;
}
.v416-card>span{
  position:static!important;
  left:auto!important;
  bottom:auto!important;
  transform:none!important;
  margin-top:auto!important;
  flex:0 0 45px!important;
  width:45px!important;
  height:45px!important;
  line-height:45px!important;
}

/* Accesos internos: flecha siempre a la derecha y nunca encima del texto */
.modern-option-card,
.hub-card,
.module-card{
  position:relative!important;
  padding-right:58px!important;
}
.modern-option-card>i,
.hub-card>i,
.module-card>i{
  position:absolute!important;
  right:20px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:28px!important;
  height:28px!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
  pointer-events:none!important;
  z-index:2!important;
}
.modern-option-card>div,
.hub-card>div,
.module-card>div{
  min-width:0!important;
  padding-right:8px!important;
}
.modern-option-card h3,
.modern-option-card p,
.hub-card h3,
.hub-card p,
.module-card h3,
.module-card p{
  max-width:100%!important;
  overflow-wrap:anywhere!important;
}

/* En pantallas angostas reservamos aún más espacio */
@media(max-width:700px){
  .v416-card p{
    min-height:auto!important;
    margin-bottom:20px!important;
  }
  .modern-option-card,
  .hub-card,
  .module-card{
    padding-right:54px!important;
  }
  .modern-option-card>i,
  .hub-card>i,
  .module-card>i{
    right:16px!important;
  }
}


/* ==========================================================
   V4.20 — TUTORIAL DE PAGOS EN SOPORTE
   ========================================================== */
.tutorial-card.tutorial-ready{
  border-color:rgba(0,214,211,.28)!important;
  background:linear-gradient(135deg,#fff,rgba(0,214,211,.055))!important;
}
.tutorial-card.tutorial-ready .tutorial-kicker{
  color:#00AAA7!important;
}
.tutorial-card.tutorial-ready .tutorial-action{
  border-color:#00B9B5!important;
  color:#008F8C!important;
}
.tutorial-card.tutorial-ready .tutorial-action:hover{
  background:#00B9B5!important;
  color:#fff!important;
}


/* ==========================================================
   V4.21 — ACADEMIA: TEXTO COMPLETO + SSO MOODLE
   ========================================================== */
#page-hub-academia .modern-option-grid{
  grid-template-columns:repeat(3,minmax(285px,1fr))!important;
  gap:22px!important;
}
#page-hub-academia .modern-option-card{
  min-height:190px!important;
  grid-template-columns:72px minmax(185px,1fr) 34px!important;
  gap:18px!important;
  padding:24px 22px!important;
  padding-right:22px!important;
  align-items:center!important;
}
#page-hub-academia .modern-option-card>div{
  min-width:0!important;
  width:100%!important;
  padding-right:4px!important;
}
#page-hub-academia .modern-option-card h3{
  margin:0 0 8px!important;
  font-size:20px!important;
  line-height:1.18!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}
#page-hub-academia .modern-option-card p{
  margin:0!important;
  font-size:13px!important;
  line-height:1.52!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}
#page-hub-academia .modern-option-card>i{
  position:static!important;
  right:auto!important;
  top:auto!important;
  transform:none!important;
  width:34px!important;
  height:34px!important;
  display:grid!important;
  place-items:center!important;
  font-size:25px!important;
}
#page-hub-academia .modern-option-icon{
  width:68px!important;
  height:68px!important;
}
#page-hub-academia .modern-option-icon img{
  width:58px!important;
  height:58px!important;
}

/* Never split words inside navigation cards. */
.modern-option-card h3,
.modern-option-card p,
.hub-card h3,
.hub-card p{
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}

/* Responsive: cards stack before text becomes too narrow. */
@media(max-width:1180px){
  #page-hub-academia .modern-option-grid{
    grid-template-columns:1fr!important;
  }
  #page-hub-academia .modern-option-card{
    grid-template-columns:72px minmax(0,1fr) 34px!important;
    min-height:145px!important;
  }
}
@media(max-width:620px){
  #page-hub-academia .modern-option-card{
    grid-template-columns:58px minmax(0,1fr) 28px!important;
    gap:12px!important;
    padding:18px 16px!important;
  }
  #page-hub-academia .modern-option-icon{
    width:56px!important;height:56px!important;
  }
  #page-hub-academia .modern-option-icon img{
    width:48px!important;height:48px!important;
  }
  #page-hub-academia .modern-option-card h3{font-size:18px!important}
  #page-hub-academia .modern-option-card p{font-size:12px!important}
}


/* ============================================================
   V4.22 — DISEÑO APROBADO / NO CAMBIAR LAS 4 TARJETAS
   Académica · Tutor académico · Finanzas · Soporte
   ============================================================ */

#page-hub-academia .academy-final-v422{
  width:calc(100% - 430px)!important;
  max-width:1000px!important;
  margin-left:54px!important;
  margin-right:auto!important;
  padding-top:54px!important;
}
#page-hub-academia .modern-section-heading{
  margin-top:52px!important;
}
#page-hub-academia .modern-section-heading h2{
  font-size:42px!important;
  line-height:1.06!important;
  letter-spacing:-.035em!important;
}
#page-hub-academia .modern-section-heading p{
  font-size:16px!important;
  line-height:1.5!important;
}

.academy-final-grid{
  width:100%!important;
  margin:38px auto 0!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
  align-items:stretch!important;
}
.academy-final-card{
  min-width:0!important;
  min-height:438px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  padding:0 18px 20px!important;
  border-radius:22px!important;
  border:1px solid rgba(69,130,255,.18)!important;
  box-shadow:0 10px 30px rgba(15,34,57,.055)!important;
  cursor:pointer!important;
  text-align:center!important;
  overflow:hidden!important;
  transition:transform .22s ease,box-shadow .22s ease!important;
}
.academy-final-card:hover{
  transform:translateY(-5px)!important;
  box-shadow:0 18px 40px rgba(15,34,57,.10)!important;
}
.academy-final-card.academica{
  background:linear-gradient(180deg,rgba(69,130,255,.15),rgba(69,130,255,.045))!important;
}
.academy-final-card.tutor{
  background:linear-gradient(180deg,rgba(142,86,255,.14),rgba(142,86,255,.045))!important;
  border-color:rgba(142,86,255,.22)!important;
}
.academy-final-card.finanzas{
  background:linear-gradient(180deg,rgba(0,214,211,.14),rgba(0,214,211,.045))!important;
  border-color:rgba(0,214,211,.22)!important;
}
.academy-final-card.soporte{
  background:linear-gradient(180deg,rgba(255,53,68,.12),rgba(255,53,68,.042))!important;
  border-color:rgba(255,53,68,.20)!important;
}
.academy-final-art{
  width:calc(100% + 36px)!important;
  height:220px!important;
  margin:0 -18px 8px!important;
  overflow:hidden!important;
}
.academy-final-art img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  display:block!important;
}
.academy-final-card h3{
  width:100%!important;
  margin:3px 0 11px!important;
  font-family:'Montserrat',sans-serif!important;
  font-size:20px!important;
  line-height:1.18!important;
  font-weight:600!important;
  color:#0F2239!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}
.academy-final-card p{
  width:100%!important;
  margin:0!important;
  min-height:82px!important;
  font-family:'Rubik',sans-serif!important;
  font-size:13.5px!important;
  line-height:1.58!important;
  color:#405675!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}
.academy-final-card p b{
  font-weight:500!important;
  color:#243C62!important;
}
.academy-final-card>span{
  position:static!important;
  width:44px!important;
  height:44px!important;
  min-height:44px!important;
  margin-top:auto!important;
  border-radius:50%!important;
  background:#fff!important;
  display:grid!important;
  place-items:center!important;
  color:#245BFF!important;
  font-size:24px!important;
  box-shadow:0 8px 20px rgba(15,34,57,.08)!important;
}

/* General text fit across all modules */
.modern-option-card h3,.modern-option-card p,
.hub-card h3,.hub-card p,
.module-card h3,.module-card p,
.finance-card h3,.finance-card p,
.process-card h3,.process-card p,
.tutorial-card h4,.tutorial-card p,
.info-banner b,.info-banner p,
.v416-contact-strip b,.v416-contact-strip span,
.field span,.confirm-box span,
.chat-bubble,.chatbot-quick button{
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}
.modern-option-card h3,.hub-card h3,.module-card h3,
.finance-card h3,.process-card h3{
  font-size:18px!important;
  line-height:1.28!important;
}
.modern-option-card p,.hub-card p,.module-card p,
.finance-card p,.process-card p,.tutorial-card p{
  font-size:13px!important;
  line-height:1.55!important;
}
.field span{
  font-size:12.5px!important;
  line-height:1.3!important;
}
.field input,.field textarea,.field select{
  font-size:14px!important;
}

/* Sidebar text alignment remains left */
.v416-side-nav{
  padding-left:14px!important;
  padding-right:14px!important;
}
.v416-sidebar .nav-link{
  justify-content:flex-start!important;
  text-align:left!important;
}
.v416-sidebar .nav-link b{
  text-align:left!important;
}

/* UIMi stays available after login */
.chatbot-panel{
  width:390px!important;
}
.chatbot-quick button{
  line-height:1.28!important;
}

/* Responsive before text gets compressed */
@media(max-width:1450px){
  #page-hub-academia .academy-final-v422{
    width:calc(100% - 410px)!important;
    margin-left:36px!important;
  }
  .academy-final-grid{
    grid-template-columns:repeat(2,minmax(260px,1fr))!important;
    max-width:690px!important;
  }
}
@media(max-width:1080px){
  #page-hub-academia .academy-final-v422{
    width:calc(100% - 44px)!important;
    max-width:none!important;
    margin:0 22px!important;
  }
  .academy-final-grid{
    grid-template-columns:repeat(2,minmax(245px,1fr))!important;
    max-width:740px!important;
  }
}
@media(max-width:650px){
  .academy-final-grid{
    grid-template-columns:1fr!important;
  }
  .academy-final-card{
    min-height:420px!important;
  }
}


/* ============================================================
   V4.23 — Ajustes solicitados sin cambiar el diseño aprobado
   ============================================================ */

/* Inicio: 4 tarjetas con mejor legibilidad */
.v416-card h2{font-size:23px!important;line-height:1.18!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important}
.v416-card p{font-size:13.8px!important;line-height:1.6!important;max-width:250px!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important}

/* Página Académica: solo materias activas */
#page-academia .page-heading h2{font-size:36px!important}
#page-academia .page-heading p{font-size:15px!important;max-width:820px!important}
#page-academia .moodle-access-bar{margin-bottom:22px!important}
#page-academia .moodle-access-bar h3{font-size:24px!important;line-height:1.2!important}
#page-academia .moodle-access-bar p{font-size:14px!important;line-height:1.55!important}
#page-academia .course-grid{grid-template-columns:repeat(3,minmax(250px,1fr))!important;gap:18px!important;align-items:stretch!important}
#page-academia .course-card{padding:24px!important;min-height:210px!important}
#page-academia .course-card h4{font-size:18px!important;line-height:1.3!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important}
#page-academia .course-card p{font-size:13px!important;line-height:1.55!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important}
#page-academia .course-foot{font-size:12px!important}

/* Finanzas: iconos más representativos + texto más grande */
#page-finanzas .page-heading h2{font-size:36px!important}
#page-finanzas .page-heading p{font-size:15px!important}
#page-finanzas .module-grid{align-items:stretch!important}
#page-finanzas .module-card{padding:28px!important}
#page-finanzas .module-icon{width:60px!important;height:60px!important;border-radius:18px!important}
#page-finanzas .module-icon img{width:30px!important;height:30px!important;object-fit:contain!important;display:block!important}
#page-finanzas .module-card h3{font-size:22px!important;line-height:1.25!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important}
#page-finanzas .module-card p{font-size:14px!important;line-height:1.65!important;min-height:74px!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important}
#page-finanzas .btn{font-size:14px!important}

/* Tutor: títulos más amigables y letra más grande */
#page-tutor .page-heading h2{font-size:36px!important}
#page-tutor .page-heading p{font-size:15px!important;max-width:860px!important}
#page-tutor .tutor-profile h3{font-size:22px!important}
#page-tutor .tutor-profile p{font-size:13px!important;line-height:1.6!important;min-height:54px!important}
#page-tutor .reason-grid{gap:16px!important}
#page-tutor .reason-card{grid-template-columns:54px 1fr!important;column-gap:14px!important;padding:20px!important;border-radius:22px!important}
#page-tutor .reason-card>span{width:54px!important;height:54px!important;border-radius:16px!important;font-size:24px!important}
#page-tutor .reason-card b{font-size:15px!important;line-height:1.35!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important}
#page-tutor .reason-card small{font-size:12.2px!important;line-height:1.55!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important}

/* General fit improvements across all boxes */
.modern-option-card h3,.modern-option-card p,.hub-card h3,.hub-card p,
.module-card h3,.module-card p,.course-card h4,.course-card p,
.reason-card b,.reason-card small,.info-banner b,.info-banner p,
.page-heading h2,.page-heading p,.v416-contact-strip b,.v416-contact-strip span{
  white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;
}

@media(max-width:1180px){
  #page-academia .course-grid{grid-template-columns:repeat(2,minmax(230px,1fr))!important}
}
@media(max-width:980px){
  #page-academia .course-grid{grid-template-columns:1fr!important}
  #page-finanzas .module-grid.three{grid-template-columns:1fr!important}
}


/* ============================================================
   V4.26 — Academia = enlaces directos a Moodle, sin espejo
   ============================================================ */
#page-academia .course-grid{grid-template-columns:repeat(3,minmax(250px,1fr))!important;gap:18px!important;align-items:stretch!important}
#page-academia .course-card{width:100%!important;text-align:left!important;appearance:none!important;font-family:inherit!important}
#page-academia button.course-card{cursor:pointer!important}
#page-academia button.course-card:hover{transform:translateY(-5px)!important;box-shadow:0 16px 34px rgba(15,34,57,.10)!important;border-color:rgba(69,130,255,.28)!important}
#page-academia .course-card h4{font-size:18px!important;line-height:1.3!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important}
#page-academia .course-card p{font-size:13px!important;line-height:1.55!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important}
#page-academia .course-foot{margin-top:auto!important;padding-top:16px!important;font-size:12px!important}
#page-academia .course-foot span{color:#4582FF!important;font-weight:500!important}
#page-academia .academy-course-link{min-height:190px!important;display:flex!important;flex-direction:column!important}
#page-academia .course-fallback-actions{display:flex!important;gap:10px!important;flex-wrap:wrap!important;margin-top:14px!important}
#page-academia .academy-link-only{margin-bottom:22px!important}
@media(max-width:1180px){#page-academia .course-grid{grid-template-columns:repeat(2,minmax(230px,1fr))!important}}
@media(max-width:700px){#page-academia .course-grid{grid-template-columns:1fr!important}}
