/* =========================================================
   Academia SaaS — Hoja de estilos principal
   Paleta inspirada en el diseño de referencia (sidebar oscuro + header cian)
   ========================================================= */
:root{
  --sidebar-bg:#073b8f;
  --sidebar-bg-2:#0752b5;
  --sidebar-active:#0b64df;
  --sidebar-text:#dce9ff;
  --sidebar-text-hover:#ffffff;
  --header:#0752b5;
  --header-2:#063b8a;
  --brand:#073b8f;
  --bg:#eef1f4;
  --card:#ffffff;
  --text:#39434f;
  --muted:#8a96a3;
  --line:#e6ebf0;
  --blue:#0752b5;
  --yellow:#fbb13c;
  --orange:#f27100;
  --red:#f04e4e;
  --green:#08bd32;
  --navy:#073b8f;
  --radius:8px;
  --shadow:0 2px 10px rgba(40,55,75,.06);
  --shadow-lg:0 8px 30px rgba(40,55,75,.12);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:'Segoe UI',system-ui,-apple-system,Roboto,Helvetica,Arial,sans-serif;
  background:var(--bg);color:var(--text);font-size:14px;line-height:1.5;
}
a{text-decoration:none;color:inherit}
.clearfix::after{content:"";display:table;clear:both}

/* ---------- Layout ---------- */
.app{display:flex;min-height:100vh}
.sidebar{
  width:230px;background:linear-gradient(180deg,var(--sidebar-bg),var(--sidebar-bg-2));
  color:var(--sidebar-text);flex-shrink:0;position:fixed;top:0;bottom:0;left:0;
  display:flex;flex-direction:column;z-index:30;transition:transform .25s ease;
}
.sidebar__brand{
  height:64px;display:flex;align-items:center;gap:10px;padding:0 22px;
  background:rgba(0,0,0,.18);font-weight:700;font-size:17px;letter-spacing:.5px;color:#fff;
}
.sidebar__brand .logo{
  width:34px;height:34px;border-radius:8px;background:var(--sidebar-active);
  display:flex;align-items:center;justify-content:center;font-weight:800;color:#08323d;
}
.sidebar__nav{padding:14px 0;overflow-y:auto;flex:1}
.nav-section{padding:16px 22px 6px;font-size:11px;letter-spacing:1.5px;text-transform:uppercase;color:#6c7a8a}
.nav-item{
  display:flex;align-items:center;gap:13px;padding:12px 22px;color:var(--sidebar-text);
  font-size:14px;border-left:3px solid transparent;transition:.15s;cursor:pointer;
}
.nav-item svg{width:18px;height:18px;flex-shrink:0;opacity:.85}
.nav-count{margin-left:auto;min-width:20px;padding:2px 6px;border-radius:999px;background:#f97316;color:#fff;font-size:11px;font-weight:700;line-height:1.4;text-align:center}
.nav-item:hover{background:rgba(255,255,255,.04);color:var(--sidebar-text-hover)}
.nav-item.active{
  background:rgba(31,191,230,.12);color:#fff;border-left-color:var(--sidebar-active);font-weight:600;
}
.nav-item.active svg{opacity:1}

/* ---------- Main ---------- */
.main{flex:1;margin-left:230px;display:flex;flex-direction:column;min-height:100vh;min-width:0;max-width:100%}
.topbar{
  height:64px;background:linear-gradient(90deg,var(--header),var(--header-2));
  display:flex;align-items:center;padding:0 24px;color:#fff;position:sticky;top:0;z-index:20;
  box-shadow:0 2px 8px rgba(23,168,207,.25);
}
.topbar__crumb{font-size:15px;font-weight:500;display:flex;align-items:center;gap:8px;opacity:.95}
.topbar__crumb .sep{opacity:.6}
.topbar__crumb strong{font-weight:700}
.topbar__spacer{flex:1}
.topbar__right{display:flex;align-items:center;gap:18px}
.topbar__icon{width:20px;height:20px;cursor:pointer;opacity:.9}
.topbar__user{display:flex;align-items:center;gap:10px;cursor:pointer;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left}
.topbar__user:focus-visible{outline:2px solid #fff;outline-offset:4px;border-radius:6px}
.avatar{
  width:36px;height:36px;border-radius:50%;background:#fff;color:var(--header-2);
  display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px;
}
.profile-avatar{width:110px;height:110px;border-radius:50%;overflow:hidden;margin:6px auto 12px;background:#eef4ff}
.profile-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.profile-avatar--fallback{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#1fbfe6,#1597c4);color:#fff;font-size:38px;font-weight:700}
.hamb{display:none;cursor:pointer;background:transparent;border:0;color:inherit;padding:0;width:38px;height:38px;flex:0 0 38px;align-items:center;justify-content:center;border-radius:6px}
.hamb svg{width:22px;height:22px}
.hamb:focus-visible{outline:2px solid #fff;outline-offset:2px}
.dropdown{position:relative}
.dropdown__menu{
  position:absolute;right:0;top:calc(100% + 10px);background:#fff;color:var(--text);border:1px solid var(--line);border-radius:12px;
  box-shadow:var(--shadow-lg);width:220px;padding:7px;display:none;z-index:50;
}
.dropdown.open .dropdown__menu{display:block}
.dropdown__menu a,.dropdown__menu button{
  display:flex;align-items:center;gap:11px;width:100%;min-height:42px;padding:9px 11px;border:0;background:none;
  font-family:inherit;font-size:13.5px;font-weight:500;line-height:1.35;border-radius:8px;cursor:pointer;color:var(--text);text-align:left;text-decoration:none;
}
.dropdown__menu a:hover,.dropdown__menu button:hover{background:var(--bg)}
.dropdown__menu form{margin:0;border-top:1px solid var(--line);padding-top:6px;margin-top:5px}
.dropdown__menu form button{color:#b42318}
.dropdown__menu svg{width:18px;height:18px;flex:0 0 18px;color:#526171}
.dropdown__menu form svg{color:inherit}
.dropdown__menu span{display:block;white-space:nowrap}

.content{padding:24px;flex:1}
.page-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;flex-wrap:wrap;gap:12px}
.page-head h1{font-size:22px;margin:0;font-weight:700;color:var(--navy)}
.page-head p{margin:2px 0 0;color:var(--muted);font-size:13px}

/* ---------- Cards / grid ---------- */
.grid{display:grid;gap:20px}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.grid-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid > *{min-width:0}
.card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px}
.card__title{font-size:13px;text-transform:uppercase;letter-spacing:.8px;color:var(--navy);font-weight:700;margin:0 0 14px}

/* Stat cards */
.stat{display:flex;align-items:center;gap:16px}
.stat__icon{
  width:54px;height:54px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.stat__icon svg{width:26px;height:26px;color:#fff}
.stat__num{font-size:26px;font-weight:700;color:var(--navy);line-height:1}
.stat__label{font-size:13px;color:var(--muted);margin-top:4px}
.bg-blue{background:linear-gradient(135deg,#1fbfe6,#1597c4)}
.bg-yellow{background:linear-gradient(135deg,#fbb13c,#f59118)}
.bg-orange{background:linear-gradient(135deg,#f4663b,#e1431b)}
.bg-green{background:linear-gradient(135deg,#2fc28a,#1f9c6c)}
.bg-red{background:linear-gradient(135deg,#f04e4e,#d12f2f)}
.bg-navy{background:linear-gradient(135deg,#46586f,#2f3c4d)}

/* data list (the two-column dotted list in the mock) */
.dl{display:grid;grid-template-columns:1fr 1fr;gap:6px 40px}
.dl__row{display:flex;align-items:center;justify-content:space-between;padding:7px 0;border-bottom:1px dashed var(--line)}
.dl__row span:first-child{color:var(--muted)}
.dl__row span:last-child{font-weight:700;color:var(--navy)}

/* progress bars */
.prog{margin-bottom:16px}
.prog__label{display:flex;justify-content:space-between;font-size:13px;margin-bottom:6px;color:var(--muted)}
.prog__bar{height:9px;border-radius:20px;background:var(--line);overflow:hidden}
.prog__fill{height:100%;border-radius:20px}

/* circular stats */
.rings{display:flex;justify-content:space-around;text-align:center;flex-wrap:wrap;gap:10px}
.ring{position:relative;width:96px;height:96px}
.ring svg{transform:rotate(-90deg)}
.ring__val{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:18px;color:var(--navy)}
.ring__lbl{font-size:12px;color:var(--muted);margin-top:8px;text-transform:uppercase;letter-spacing:.5px}

/* tables */
.table-wrap{overflow-x:auto}
table.tbl{width:100%;border-collapse:collapse;font-size:13.5px}
table.tbl th{
  text-align:left;padding:12px 14px;background:#f7f9fb;color:var(--navy);font-weight:700;
  font-size:12px;text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid var(--line);
}
table.tbl td{padding:12px 14px;border-bottom:1px solid var(--line);vertical-align:middle}
table.tbl tbody tr:hover{background:#f9fbfc}
.badge{display:inline-block;padding:3px 10px;border-radius:20px;font-size:12px;font-weight:600}
.badge--green{background:#e3f7ee;color:#1f9c6c}
.badge--yellow{background:#fef2dd;color:#c9810f}
.badge--red{background:#fde4e4;color:#d12f2f}
.badge--blue{background:#e1f6fc;color:#1597c4}
.badge--gray{background:#eef1f4;color:#76838f}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:7px;padding:9px 16px;border-radius:6px;font-size:13.5px;
  font-weight:600;border:0;cursor:pointer;transition:.15s}
.btn svg{width:16px;height:16px}
.btn--primary{background:var(--header);color:#fff}
.btn--primary:hover{background:var(--header-2)}
.btn--light{background:#fff;color:var(--navy);border:1px solid var(--line)}
.btn--light:hover{background:var(--bg)}
.btn--sm{padding:6px 11px;font-size:12.5px}
.btn--danger{background:var(--red);color:#fff}
.btn--ghost{background:transparent;color:var(--muted);padding:6px}
.act{display:inline-flex;gap:6px}
.act a{width:30px;height:30px;border-radius:6px;display:flex;align-items:center;justify-content:center;background:var(--bg)}
.act a svg{width:15px;height:15px}
.act a:hover{background:var(--header);color:#fff}

/* forms */
.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.form-group{display:flex;flex-direction:column;gap:6px}
.form-group[hidden]{display:none!important}
.docente-niveles{min-width:0;margin:0;padding:0;border:0}
.docente-niveles legend{padding:0;color:var(--navy);font-size:13px;font-weight:700}
.docente-niveles__hint{margin:0;color:var(--muted);font-size:12px}
.docente-niveles__options{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:9px}
.docente-niveles__option{display:flex;align-items:center;gap:9px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer}
.docente-niveles__option:has(input:checked){border-color:var(--header);background:#f2f7ff;color:var(--header)}
.docente-niveles__option input{width:16px;height:16px;margin:0;accent-color:var(--header)}
.docente-niveles__option span{font-size:13px;font-weight:700}
.form-group.full{grid-column:1/-1}
label{font-size:13px;font-weight:600;color:var(--navy)}
.input,select.input,textarea.input{
  padding:10px 12px;border:1px solid var(--line);border-radius:6px;font-size:14px;background:#fff;
  font-family:inherit;color:var(--text);transition:.15s;width:100%;
}
.input:focus{outline:none;border-color:var(--header);box-shadow:0 0 0 3px rgba(31,191,230,.15)}
.password-field{display:flex;align-items:stretch;gap:8px}.password-field .input{min-width:0;flex:1}.password-toggle{flex:0 0 auto;padding:0 14px;border:1px solid var(--line);border-radius:6px;background:#f7f9fc;color:var(--navy);font:inherit;font-size:13px;font-weight:700;cursor:pointer}.password-toggle:hover{border-color:var(--header);background:#edf5ff;color:var(--header)}.password-toggle:focus-visible{outline:3px solid rgba(31,191,230,.3);outline-offset:2px}
.form-error{color:var(--red);font-size:12.5px}
.has-error .input{border-color:var(--red)}
.form-actions{display:flex;gap:10px;margin-top:22px}

/* alerts */
.alert{padding:12px 16px;border-radius:6px;margin-bottom:18px;font-size:13.5px;display:flex;align-items:center;gap:10px}
.alert--success{background:#e3f7ee;color:#1f9c6c;border:1px solid #bfead8}
.alert--info{background:#eef5ff;color:#174a85;border:1px solid #c5dcff}
.alert--error{background:#fde4e4;color:#d12f2f;border:1px solid #f6c9c9}
.alert--warning{background:#fff5df;color:#8a5a00;border:1px solid #f1d79b}
.alert svg{width:18px;height:18px;flex:0 0 18px}
.flash-success{display:flex;align-items:center;gap:12px;max-width:100%;margin:0 0 18px;padding:12px 14px;border:1px solid #bfead8;border-radius:12px;background:linear-gradient(110deg,#f0fbf6,#e7f7ef);color:#145c43;box-shadow:0 3px 12px rgba(17,112,77,.07)}
.flash-success__icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:#d5f3e4;color:#14845a}
.flash-success__icon svg{width:18px;height:18px;flex:0 0 18px}
.flash-success__copy{display:grid;gap:1px;min-width:0}
.flash-success__copy strong{font-size:13px;color:#126747}
.flash-success__copy>span{font-size:13px;line-height:1.45;color:#356b59;overflow-wrap:anywhere}
.flash-success__close{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;margin-left:auto;border:0;border-radius:7px;background:transparent;color:#477461;font-size:21px;cursor:pointer}
.flash-success__close:hover{background:rgba(20,132,90,.1)}

/* pagination */
.pagination{display:flex;gap:6px;list-style:none;padding:0;margin:18px 0 0;justify-content:flex-end}
.pagination a,.pagination span{padding:7px 12px;border-radius:6px;background:#fff;border:1px solid var(--line);font-size:13px}
.pagination .active span{background:var(--header);color:#fff;border-color:var(--header)}

/* mini chart helpers */
.chart-box{position:relative;height:240px}
.chart-box--sm{height:170px}

/* ---------- Login ---------- */
.login-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#26313f 0%,#2f3c4d 45%,#17a8cf 120%);padding:20px}
.login-card{background:#fff;width:100%;max-width:410px;border-radius:14px;box-shadow:var(--shadow-lg);overflow:hidden}
.login-card__head{background:linear-gradient(90deg,var(--header),var(--header-2));padding:34px 30px;text-align:center;color:#fff}
.login-card__head .logo{width:58px;height:58px;border-radius:14px;background:rgba(255,255,255,.15);
  display:flex;align-items:center;justify-content:center;margin:0 auto 14px;font-size:26px;font-weight:800}
.login-card__head h1{margin:0;font-size:21px;font-weight:700}
.login-card__head p{margin:6px 0 0;opacity:.9;font-size:13px}
.login-card__body{padding:30px}
.login-card__body .form-group{margin-bottom:18px}
.login-foot{text-align:center;color:var(--muted);font-size:12.5px;margin-top:18px}
.login-demo{background:var(--bg);border-radius:8px;padding:12px 14px;font-size:12.5px;color:var(--muted);margin-top:18px}
.login-demo b{color:var(--navy)}

/* utils */
.text-muted{color:var(--muted)}
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
.flex{display:flex}.between{justify-content:space-between}.center{align-items:center}.gap{gap:12px}
.w-100{width:100%}
.toolbar{display:flex;gap:12px;align-items:center;margin-bottom:18px;flex-wrap:wrap}
.toolbar .search{flex:1;min-width:200px}
.empty{text-align:center;padding:40px;color:var(--muted)}

/* =================== RESPONSIVE =================== */
.overlay{display:none}

/* Pantallas medianas / laptops chicas: grids de 4 y 3 a 2 columnas */
@media(max-width:1200px){
  .grid-4,.grid-5{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}
@media(max-width:1100px){
  .grid-3{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}

/* Tablet y menores: el sidebar se colapsa y se abre con el botón ☰ */
@media(max-width:1024px){
  .sidebar{transform:translateX(-100%);box-shadow:0 0 40px rgba(0,0,0,.35)}
  .sidebar.open{transform:translateX(0)}
  .main{margin-left:0}
  .hamb{display:flex;margin-right:8px}
  .overlay.show{display:block;position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:25}
}

/* Móviles: todo a una sola columna (el !important vence estilos en línea) */
@media(max-width:768px){
  .grid-2,.grid-3,.grid-4,.grid-5{grid-template-columns:1fr !important}
  .grid[style]{grid-template-columns:1fr !important}
  .dl{grid-template-columns:1fr}
  .form-grid{grid-template-columns:1fr}
  .content{padding:16px}
  .page-head h1{font-size:19px}
  .topbar{padding:0 14px}
  .topbar__crumb span:first-child,.topbar__crumb .sep{display:none}
  .topbar__user>span:not(.avatar){display:none}
  .rings{gap:18px}
}

@media(max-width:420px){
  .dropdown__menu{right:-4px;width:min(220px,calc(100vw - 24px))}
  .flash-success{gap:9px;padding:10px}
  .flash-success__copy>span{font-size:12px}
}

/* Móviles pequeños */
@media(max-width:420px){
  .content{padding:12px}
  .card{padding:16px}
  .stat__num{font-size:22px}
  .btn{padding:8px 12px;font-size:13px}
  .page-head{gap:10px}
  .page-head .btn{width:100%;justify-content:center}
}

/* acción tipo botón (formularios de borrado) */
.act form{display:inline;margin:0}
.act button.icon-btn{width:30px;height:30px;border-radius:6px;display:flex;align-items:center;justify-content:center;
  background:var(--bg);border:0;cursor:pointer;color:var(--muted)}
.act button.icon-btn svg{width:15px;height:15px}
.act button.icon-btn:hover{background:var(--red);color:#fff}

/* =================== PANEL SUPER ADMIN =================== */
.app--super .sidebar{background:linear-gradient(180deg,#2a2350,#3a2f6b)}
.app--super .sidebar__brand{background:rgba(0,0,0,.22)}
.app--super .sidebar__brand .logo{background:#8b7bf0;color:#fff}
.app--super .nav-item.active{background:rgba(139,123,240,.18);border-left-color:#8b7bf0}
.app--super .topbar{background:linear-gradient(90deg,#6c5ce7,#4834b5);box-shadow:0 2px 8px rgba(72,52,181,.3)}
.app--super .avatar{color:#4834b5}
.super-badge{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.18);padding:4px 12px;border-radius:20px;font-size:12px;font-weight:600}
.impersonate-bar{background:#fff4d6;border:1px solid #f4d58a;color:#8a6d1a;padding:10px 18px;border-radius:8px;margin-bottom:18px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13.5px}
.impersonate-bar a{background:#8a6d1a;color:#fff;padding:6px 14px;border-radius:6px;font-weight:600;font-size:13px}
.plan-card{border:2px solid var(--line);border-radius:12px;padding:22px;position:relative;transition:.2s}
.plan-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.plan-card h3{font-size:18px;margin-bottom:4px;color:var(--navy)}
.plan-card .precio{font-size:30px;font-weight:800;color:var(--navy);margin:8px 0}
.plan-card .precio small{font-size:14px;font-weight:500;color:var(--muted)}
.plan-card ul{list-style:none;padding:0;margin:14px 0 0}
.plan-card li{padding:6px 0;font-size:13.5px;color:var(--text);display:flex;gap:8px;align-items:flex-start}
.plan-card li::before{content:"✓";color:var(--green);font-weight:700}

/* =================== LANDING / PÚBLICO =================== */
.pub-nav{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.pub-nav__in{max-width:1140px;margin:0 auto;padding:14px 24px;display:flex;align-items:center;gap:16px}
.pub-brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:19px;color:var(--navy)}
.pub-brand .logo{width:36px;height:36px;border-radius:9px;background:linear-gradient(135deg,#1fbfe6,#1597c4);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800}
.pub-nav__sp{flex:1}
.pub-nav a.lnk{color:var(--navy);font-weight:600;font-size:14px;padding:8px 6px}
.hero{background:linear-gradient(135deg,#26313f 0%,#2f3c4d 45%,#17a8cf 130%);color:#fff;padding:80px 24px 90px;text-align:center}
.hero h1{font-size:44px;line-height:1.1;margin:0 auto 18px;max-width:760px;font-weight:800}
.hero p{font-size:18px;opacity:.92;max-width:620px;margin:0 auto 30px}
.hero .cta{display:inline-flex;gap:12px;flex-wrap:wrap;justify-content:center}
.btn--white{background:#fff;color:#17a8cf}
.btn--white:hover{background:#eaf9ff}
.btn--outline{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.5)}
.btn--lg{padding:14px 26px;font-size:15px}
.section{max-width:1140px;margin:0 auto;padding:70px 24px}
.section h2{text-align:center;font-size:30px;color:var(--navy);margin:0 0 8px}
.section .sub{text-align:center;color:var(--muted);max-width:560px;margin:0 auto 44px}
.feat{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.feat__item{background:#fff;border:1px solid var(--line);border-radius:12px;padding:26px;transition:.2s}
.feat__item:hover{box-shadow:var(--shadow-lg);transform:translateY(-3px)}
.feat__ic{width:50px;height:50px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.feat__ic svg{width:24px;height:24px;color:#fff}
.feat__item h3{margin:0 0 6px;color:var(--navy);font-size:17px}
.feat__item p{margin:0;color:var(--muted);font-size:14px}
.pricing{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;align-items:stretch}
.price{background:#fff;border:2px solid var(--line);border-radius:16px;padding:30px;display:flex;flex-direction:column}
.price.dest{border-color:var(--blue);box-shadow:0 12px 40px rgba(31,191,230,.18);position:relative}
.price.dest::after{content:"Más popular";position:absolute;top:-13px;left:50%;transform:translateX(-50%);background:var(--blue);color:#fff;font-size:12px;font-weight:700;padding:4px 14px;border-radius:20px}
.price h3{margin:0;color:var(--navy);font-size:20px}
.price .amt{font-size:38px;font-weight:800;color:var(--navy);margin:12px 0 2px}
.price .amt small{font-size:15px;font-weight:500;color:var(--muted)}
.price ul{list-style:none;padding:0;margin:18px 0 24px;flex:1}
.price li{padding:7px 0;font-size:14px;display:flex;gap:8px;color:var(--text);border-bottom:1px dashed var(--line)}
.price li::before{content:"✓";color:var(--green);font-weight:800}
.pub-foot{background:#26313f;color:#aeb8c4;text-align:center;padding:34px 24px;font-size:13.5px}
.cta-band{background:linear-gradient(90deg,#1fbfe6,#17a8cf);color:#fff;text-align:center;padding:56px 24px}
.cta-band h2{color:#fff;font-size:28px;margin:0 0 10px}
.auth-card-wide{max-width:560px}
@media(max-width:860px){.feat,.pricing{grid-template-columns:1fr}.hero h1{font-size:32px}.hero p{font-size:16px}}

/* =================== HERO MEJORADO (landing) =================== */
.hero2{position:relative;overflow:hidden;background:radial-gradient(1200px 600px at 50% -10%, #1f4a63 0%, #26313f 45%, #1a222e 100%);color:#fff;text-align:center;padding:70px 24px 80px}
.hero2::before{content:"";position:absolute;inset:0;background:radial-gradient(700px 360px at 80% 10%, rgba(31,191,230,.25), transparent 60%),radial-gradient(600px 320px at 15% 30%, rgba(23,168,207,.18), transparent 60%);pointer-events:none}
.hero2 > *{position:relative;z-index:1}
.badge-pill{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.18);color:#cde9f4;padding:8px 18px;border-radius:30px;font-size:13.5px;font-weight:600;margin-bottom:26px}
.hero2 h1{font-size:52px;line-height:1.05;font-weight:800;margin:0 auto 20px;max-width:880px;letter-spacing:-1px}
.hero2 h1 .grad{color:#7fe0ff}
.hero2 p.lead{font-size:18px;color:#b9c6d3;max-width:600px;margin:0 auto 34px}
.hero2 .cta{display:inline-flex;gap:14px;flex-wrap:wrap;justify-content:center}
.btn--grad{background:linear-gradient(90deg,#1fbfe6,#17a8cf);color:#fff;box-shadow:0 10px 30px rgba(31,191,230,.4)}
.btn--grad:hover{filter:brightness(1.06)}
.btn--glass{background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.22)}
.btn--glass:hover{background:rgba(255,255,255,.16)}
.hero-stats{display:flex;justify-content:center;gap:50px;margin-top:54px;flex-wrap:wrap}
.hero-stats .s b{display:block;font-size:34px;font-weight:800;color:#7fe0ff}
.hero-stats .s span{color:#9fb0bf;font-size:13.5px}

/* =================== LOGIN SPLIT =================== */
.auth{display:flex;min-height:100vh}
.auth__side{flex:1;position:relative;overflow:hidden;background:linear-gradient(160deg,#26313f 0%,#2f3c4d 40%,#17a8cf 130%);color:#fff;padding:54px 56px;display:flex;flex-direction:column;justify-content:center}
.auth__side::before{content:"";position:absolute;inset:0;background:radial-gradient(500px 300px at 80% 15%, rgba(31,191,230,.30), transparent 60%),radial-gradient(420px 280px at 10% 85%, rgba(31,191,230,.18), transparent 60%)}
.auth__side > *{position:relative;z-index:1}
.auth__brand{text-align:center;margin-bottom:38px}
.auth__logo{width:84px;height:84px;border-radius:22px;background:linear-gradient(135deg,#1fbfe6,#1597c4);display:flex;align-items:center;justify-content:center;font-size:40px;font-weight:800;margin:0 auto 16px;box-shadow:0 12px 34px rgba(31,191,230,.45)}
.auth__brand h1{font-size:30px;margin:0;font-weight:800}
.auth__brand .tagline{letter-spacing:3px;font-size:12px;color:#9fd9ec;margin-top:8px;text-transform:uppercase}
.auth__feats{max-width:380px;margin:0 auto;width:100%}
.auth__feat{display:flex;gap:15px;align-items:flex-start;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.10)}
.auth__feat .ic{width:46px;height:46px;border-radius:12px;background:rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.auth__feat .ic svg{width:22px;height:22px;color:#fff}
.auth__feat h4{margin:0 0 2px;font-size:15px}
.auth__feat p{margin:0;font-size:13px;color:#bcd6e2}
.auth__ministats{display:flex;gap:14px;margin-top:30px;max-width:380px;margin-left:auto;margin-right:auto}
.auth__ministats .m{flex:1;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:14px;text-align:center}
.auth__ministats .m b{display:block;font-size:22px;font-weight:800}
.auth__ministats .m span{font-size:11.5px;color:#bcd6e2}
.auth__main{width:480px;max-width:46%;background:#fff;padding:50px 46px;display:flex;flex-direction:column;justify-content:center}
.auth__main h2{font-size:28px;color:var(--navy);margin:0 0 6px}
.auth__main .muted{color:var(--muted);margin:0 0 26px;font-size:14px}
.field{margin-bottom:18px}
.field label{display:block;font-size:13px;font-weight:600;color:var(--navy);margin-bottom:7px}
.field .wrap{position:relative}
.field .wrap svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:var(--muted)}
.field input{width:100%;padding:13px 14px 13px 42px;border:1px solid var(--line);border-radius:10px;font-size:14.5px;background:#f7f9fb;transition:.15s}
.field input:focus{outline:none;border-color:var(--header);background:#fff;box-shadow:0 0 0 3px rgba(31,191,230,.15)}
.auth__row{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;font-size:13.5px}
.auth__row label{display:flex;align-items:center;gap:7px;color:var(--muted);font-weight:500}
.auth__row a{color:var(--header);font-weight:600}
.btn-login{width:100%;justify-content:center;padding:14px;font-size:15px;background:linear-gradient(90deg,#1fbfe6,#17a8cf);color:#fff;border:0;border-radius:10px;font-weight:700;cursor:pointer;box-shadow:0 8px 22px rgba(31,191,230,.35);display:flex;align-items:center;gap:8px}
.btn-login:hover{filter:brightness(1.05)}
.auth__sep{text-align:center;color:var(--muted);font-size:12px;letter-spacing:1px;text-transform:uppercase;margin:24px 0 14px;position:relative}
.auth__sep::before,.auth__sep::after{content:"";position:absolute;top:50%;width:32%;height:1px;background:var(--line)}
.auth__sep::before{left:0}.auth__sep::after{right:0}
.demo-box{background:#f7f9fb;border:1px solid var(--line);border-radius:12px;padding:8px}
.demo-box .h{display:flex;align-items:center;gap:7px;color:var(--header-2);font-weight:700;font-size:12.5px;padding:8px 10px}
.demo-row{display:flex;align-items:center;justify-content:space-between;padding:10px;border-radius:8px;cursor:pointer;transition:.12s}
.demo-row:hover{background:#fff;box-shadow:var(--shadow)}
.demo-row span{font-size:13.5px;color:var(--text)}
.demo-row .tag{font-size:11px;font-weight:700;padding:3px 9px;border-radius:20px}
.auth__foot{text-align:center;color:var(--muted);font-size:12px;margin-top:24px}
@media(max-width:920px){
  .auth__side{display:none}
  .auth__main{width:100%;max-width:100%;min-height:100vh}
}

/* Fix tamaño de íconos en login (botón y cabecera de demos) */
.btn-login svg{width:18px;height:18px;flex-shrink:0}
.demo-box .h svg{width:15px;height:15px;flex-shrink:0}
.demo-row .tag{flex-shrink:0}

/* Insignia "Aplicación SaaS" en el panel de login */
.saas-pill{display:inline-flex;align-items:center;gap:7px;margin-top:14px;padding:6px 16px;border-radius:30px;
  background:rgba(31,191,230,.18);border:1px solid rgba(31,191,230,.45);color:#9fe3f6;
  font-size:12px;font-weight:700;letter-spacing:.5px;text-transform:uppercase}

/* =================== PORTAL / PANEL SIMPLE (estudiante/docente) =================== */
.portal{min-height:100vh;background:var(--bg)}
.portal__bar{height:62px;background:linear-gradient(90deg,var(--header),var(--header-2));color:#fff;
  display:flex;align-items:center;padding:0 24px;gap:14px;position:sticky;top:0;z-index:20;box-shadow:0 2px 8px rgba(23,168,207,.25)}
.portal__bar .logo{width:34px;height:34px;border-radius:8px;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;font-weight:800}
.portal__bar b{font-size:16px}
.portal__bar .sp{flex:1}
.portal__wrap{max-width:1080px;margin:0 auto;padding:26px 22px}
.portal__hi{display:flex;align-items:center;gap:16px;margin-bottom:22px;flex-wrap:wrap}
.portal__hi .av{width:60px;height:60px;border-radius:50%;background:linear-gradient(135deg,#1fbfe6,#1597c4);color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:700}
.portal__hi h1{margin:0;font-size:24px;color:var(--navy)}
.portal__hi p{margin:2px 0 0;color:var(--muted);font-size:13.5px}
.portal-tabs{display:flex;gap:8px;margin-bottom:18px;flex-wrap:wrap}
.portal-tabs a{padding:9px 16px;border-radius:8px;font-weight:600;font-size:13.5px;color:var(--navy);background:#fff;border:1px solid var(--line)}
.portal-tabs a.active{background:var(--header);color:#fff;border-color:var(--header)}

/* =================== CHECKOUT =================== */
.checkout{display:grid;grid-template-columns:1.2fr 1fr;gap:22px;max-width:880px;margin:0 auto}
.pay-card{background:linear-gradient(135deg,#26313f,#17a8cf);color:#fff;border-radius:14px;padding:24px;margin-bottom:18px;box-shadow:var(--shadow-lg)}
.pay-card .chip{width:42px;height:30px;border-radius:6px;background:linear-gradient(135deg,#f6d365,#fda085);margin-bottom:22px}
.pay-card .num{font-size:20px;letter-spacing:3px;font-family:monospace;margin-bottom:18px}
.pay-card .row{display:flex;justify-content:space-between;font-size:12px;opacity:.85;text-transform:uppercase}
.pay-card .row b{display:block;font-size:14px;letter-spacing:1px;opacity:1;text-transform:none}
.demo-note{background:#fef2dd;color:#c9810f;border:1px solid #f4d58a;border-radius:8px;padding:10px 14px;font-size:12.5px;margin-bottom:16px}
@media(max-width:760px){.checkout{grid-template-columns:1fr}}
.crm-filters{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,250px) auto auto;gap:10px;margin-bottom:18px;align-items:center}
.crm-detail-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.8fr);gap:18px;margin-bottom:18px;align-items:start}
.crm-history-grid{grid-template-columns:1fr 1fr}
.crm-side-stack{display:grid;gap:18px}
.crm-form{max-width:980px}
.crm-compact-form{display:grid;gap:8px}
.crm-compact-form label{font-size:12px;font-weight:600;color:var(--navy);margin-top:4px}
.crm-actions{display:flex;gap:10px;margin-top:18px}
.crm-muted,.crm-task small,.crm-history small,.crm-timeline small{display:block;color:var(--muted);font-size:12px;margin-top:4px}
.crm-stage{display:inline-flex;border-radius:999px;padding:5px 9px;background:#eaf2ff;color:#1749a6;font-size:12px;font-weight:600;white-space:nowrap}
.crm-empty{text-align:center;color:var(--muted);padding:22px}
.crm-pagination{margin-top:14px}
.crm-bulk-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:14px;margin:0 0 14px;background:#f1f6ff;border:1px solid #d8e5f8;border-radius:10px}
.crm-bulk-actions>div{flex:1 1 220px}
.crm-bulk-actions .input{flex:1 1 170px;max-width:230px}
.crm-error{color:#a92727;margin:8px 0}
.table-scroll-hint{display:none}
.crm-timeline{display:grid;gap:2px}
.crm-timeline article{position:relative;border-left:2px solid var(--line);padding:0 0 18px 17px;margin-left:5px}
.crm-timeline-dot{position:absolute;left:-6px;top:3px;width:10px;height:10px;border-radius:50%;background:var(--header)}
.crm-timeline p{margin:6px 0;color:var(--text);font-size:13px;white-space:pre-line}
.crm-task,.crm-history{display:grid;gap:5px;padding:12px 0;border-bottom:1px solid var(--line)}
.crm-task>span,.crm-history>span{font-size:13px;color:var(--text)}
.crm-task form{margin-top:3px}
.crm-divider{border:0;border-top:1px solid var(--line);margin:14px 0}
@media(max-width:900px){.crm-detail-grid,.crm-history-grid{grid-template-columns:1fr}}
@media(max-width:1000px){.crm-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.crm-filters{grid-template-columns:1fr}.crm-actions{flex-wrap:wrap}.crm-actions .btn{flex:1;justify-content:center}.crm-bulk-actions .input,.crm-bulk-actions .btn{max-width:none;width:100%;flex-basis:100%}}
@media(max-width:768px){.table-scroll-hint{display:block;color:var(--muted);font-size:12px;margin:0 0 10px}.table-wrap{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}}
.sidebar__brand{height:76px}
.sidebar__brand .pea-logo{width:54px;height:54px;background:#fff;border-radius:7px;padding:2px;flex-shrink:0}
.pea-logo img{width:100%;height:100%;object-fit:contain}
.sidebar__brand>span:last-child{font-size:13px;line-height:1.2}
.crm-kpis{margin-bottom:8px}
.crm-pipeline{display:grid;gap:2px}
.crm-pipeline-row{display:flex;justify-content:space-between;align-items:center;padding:10px 5px;border-bottom:1px solid var(--line)}
.crm-pipeline-row:hover,.crm-quick-link:hover{color:var(--header)}
.crm-pipeline-row strong{background:#eef4ff;color:var(--navy);border-radius:20px;min-width:32px;text-align:center;padding:3px 8px}
.crm-task{color:var(--text)}
.crm-task--late{border-left:3px solid var(--red);padding-left:10px}
.crm-quick-link{display:flex;justify-content:space-between;padding:14px 2px;border-bottom:1px solid var(--line);font-weight:600}
.crm-checkbox{display:flex;align-items:flex-start;gap:8px;color:var(--muted);font-size:12px;font-weight:400}
.budget-form{margin-bottom:16px}
.budget-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.budget-submit{justify-content:end}
.budget-submit .btn{margin-top:auto;justify-content:center}
.gasto-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px}
.gasto-details small{display:block;color:var(--muted);font-size:12px}
.gasto-details strong{display:block;color:var(--navy);margin-top:3px}
.gasto-warning,.gasto-over{color:var(--red)!important;font-weight:700}
.crm-actions-head{display:flex;gap:8px;flex-wrap:wrap}
.crm-import-form{max-width:1000px}
.crm-import-form .alert{display:block}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.crm-csv-preview{margin:20px 0;padding:16px;border:1px solid var(--line);border-radius:8px;background:#fbfcfe}
.crm-import-confirm{display:flex;align-items:flex-start;gap:9px;margin-top:18px;color:var(--text);font-size:13px}
.crm-import-result{margin-bottom:18px}
.crm-import-result .grid>div{display:grid;gap:4px;padding:8px}
.crm-import-result strong{font-size:22px;color:var(--navy)}
.crm-import-result small{color:var(--muted)}
.crm-agenda-kpis a{color:inherit;text-decoration:none}
.crm-agenda-head__actions{display:flex;gap:10px;flex-wrap:wrap}
.crm-agenda-create{margin:0 0 18px;padding:0;overflow:hidden;border:1px solid var(--line)}
.crm-agenda-create>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 20px;cursor:pointer;list-style:none}
.crm-agenda-create>summary::-webkit-details-marker{display:none}
.crm-agenda-create>summary span:first-child{display:grid;gap:3px}
.crm-agenda-create>summary strong{color:var(--navy);font-size:16px}
.crm-agenda-create>summary small{color:var(--muted);font-size:12px}
.crm-agenda-create__plus{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#edf4ff;color:var(--blue);font-size:24px;line-height:1}
.crm-agenda-create[open] .crm-agenda-create__plus{transform:rotate(45deg)}
.crm-agenda-create__form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0 20px 20px;border-top:1px solid var(--line)}
.crm-agenda-create__form label{display:grid;align-content:start;gap:6px;padding-top:14px;color:var(--text);font-size:12px;font-weight:650}
.crm-agenda-create__form .input{width:100%;min-height:42px}
.crm-agenda-create__wide{grid-column:1/-1}
.crm-agenda-create__footer{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:4px}
.crm-agenda-create__footer small{max-width:560px;color:var(--muted);font-size:11px;line-height:1.5}
.crm-agenda-type{display:inline-flex;margin:1px 0 4px;padding:3px 8px;border-radius:999px;background:#eef4ff;color:#174a94;font-size:11px;font-weight:700}
.crm-agenda-detail{margin-top:4px;color:var(--muted);font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}
.crm-agenda-card{margin-top:18px}
.crm-agenda-filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;padding:4px 0 18px}
.crm-agenda-filters label{display:grid;gap:6px;min-width:180px}
.crm-agenda-head .btn{white-space:nowrap}
.crm-agenda-kpi{display:flex;align-items:center;gap:14px;min-width:0;padding:18px;color:var(--text);transition:transform .15s ease,box-shadow .15s ease}
.crm-agenda-kpi:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg)}
.crm-agenda-kpi__icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:12px;background:#eef4ff;color:var(--blue);font-size:21px;font-weight:700}
.crm-agenda-kpi--late .crm-agenda-kpi__icon{background:#fff0ef;color:var(--red)}
.crm-agenda-kpi--today .crm-agenda-kpi__icon{background:#fff5e7;color:var(--orange)}
.crm-agenda-kpi--week .crm-agenda-kpi__icon{background:#e8f8ef;color:#16895c}
.crm-agenda-kpi__copy{display:grid;gap:2px;min-width:0}
.crm-agenda-kpi__copy strong{color:var(--navy);font-size:24px;line-height:1.1}
.crm-agenda-kpi__copy small{color:var(--muted);font-size:12px}
.crm-agenda-kpi__arrow{margin-left:auto;color:#a1adbb;font-size:24px}
.crm-google-card{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:14px;margin:16px 0;padding:18px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow)}
.crm-google-card__brand{display:grid;place-items:center;width:42px;height:42px;border:1px solid #e5e9ef;border-radius:12px;background:#fff;color:#4285f4;font-size:22px;font-weight:800}
.crm-google-card__heading{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.crm-google-card__heading h2{margin:0;color:var(--navy);font-size:15px}
.crm-google-card__copy p{margin:3px 0;color:var(--text);font-size:12px}
.crm-google-card__copy small{display:block;color:var(--muted);font-size:11px;line-height:1.45}
.crm-google-status{padding:3px 8px;border-radius:20px;background:#f2f4f7;color:#667085;font-size:10px;font-weight:700}
.crm-google-status--connected{background:#e3f7ee;color:#16895c}
.crm-google-card__actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.crm-google-card__actions form{margin:0}
.crm-google-card__actions button[disabled]{opacity:.55;cursor:not-allowed}
.crm-google-disconnect{padding:7px 4px;border:0;background:transparent;color:var(--muted);font-size:12px;cursor:pointer}
.crm-google-card__setup{grid-column:2/-1;color:#8a5a00;font-size:11px}
.crm-overdue{color:var(--red);font-weight:700}
.crm-pagination{padding-top:16px}
.crm-agenda-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;padding-bottom:16px;border-bottom:1px solid var(--line)}
.crm-agenda-toolbar h2{margin:0;color:var(--navy);font-size:17px}
.crm-agenda-toolbar p{margin:4px 0 0;color:var(--muted);font-size:12px}
.crm-agenda-filters{align-items:flex-end;gap:9px;padding:0}
.crm-agenda-filters label{min-width:150px;color:var(--text);font-size:12px;font-weight:600}
.crm-agenda-list{display:grid;margin-top:4px}
.crm-agenda-item{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:16px;padding:16px 4px;border-bottom:1px solid var(--line)}
.crm-agenda-item--late{border-left:3px solid var(--red);padding-left:12px;background:linear-gradient(90deg,#fff7f6,transparent 45%)}
.crm-agenda-item--done .crm-agenda-item__body h3{text-decoration:line-through;color:var(--muted)}
.crm-agenda-date{display:grid;align-content:center;justify-items:center;width:48px;height:54px;border:1px solid var(--line);border-radius:10px;background:#f8faff;color:var(--navy)}
.crm-agenda-date strong{font-size:20px;line-height:1.1}
.crm-agenda-date span{font-size:11px;text-transform:uppercase;color:var(--muted)}
.crm-agenda-item__body{min-width:0}
.crm-agenda-item__top{display:flex;align-items:center;gap:8px;margin-bottom:3px}
.crm-agenda-time{color:var(--muted);font-size:12px;font-weight:600}
.crm-agenda-item__body h3{margin:0 0 2px;color:var(--text);font-size:14px}
.crm-agenda-contact{color:var(--blue);font-size:12px;font-weight:600}
.crm-agenda-responsable{margin-top:4px;color:var(--muted);font-size:11px}
.crm-agenda-responsable strong{color:var(--text)}
.crm-agenda-item__action{min-width:135px;text-align:right}
.crm-agenda-item__action{display:grid;justify-items:stretch;gap:7px}
.crm-agenda-edit{position:relative;text-align:left}
.crm-agenda-edit summary{list-style:none;cursor:pointer;justify-content:center}
.crm-agenda-edit summary::-webkit-details-marker{display:none}
.crm-agenda-edit__form{position:absolute;z-index:5;top:calc(100% + 8px);right:0;display:grid;gap:10px;width:min(420px,calc(100vw - 48px));padding:16px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 16px 40px #142b4d24}
.crm-agenda-edit__form label{display:grid;gap:5px;color:var(--text);font-size:12px;font-weight:600}
.crm-agenda-edit__wide{grid-column:1/-1}
.crm-agenda-edit[open] .crm-agenda-edit__form{grid-template-columns:1fr 1fr}
.crm-agenda-edit__form>.btn,.crm-agenda-edit__form>.alert{grid-column:1/-1}
.crm-agenda-empty{display:grid;justify-items:center;gap:8px;padding:44px 20px;text-align:center}
.crm-agenda-empty__icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#eef4ff;color:var(--blue);font-size:22px}
.crm-agenda-empty h3{margin:4px 0 0;color:var(--navy);font-size:17px}
.crm-agenda-empty p{max-width:520px;margin:0 0 8px;color:var(--muted);font-size:13px}
@media(max-width:900px){.crm-agenda-toolbar{align-items:stretch}.crm-agenda-filters{width:100%}.crm-agenda-filters label{flex:1}}
@media(max-width:620px){.crm-agenda-head__actions{width:100%}.crm-agenda-head__actions .btn{flex:1;justify-content:center}.crm-agenda-create__form{grid-template-columns:1fr}.crm-agenda-create__wide,.crm-agenda-create__footer{grid-column:auto}.crm-agenda-create__footer{align-items:stretch;flex-direction:column}.crm-agenda-create__footer .btn{justify-content:center}.crm-agenda-edit__form{position:fixed;top:50%;left:50%;right:auto;transform:translate(-50%,-50%);max-height:85vh;overflow:auto;width:min(480px,calc(100vw - 28px));box-shadow:0 0 0 100vh #10233c80,0 16px 40px #142b4d24}}
@media(max-width:900px){.crm-google-card{grid-template-columns:44px minmax(0,1fr)}.crm-google-card__actions{grid-column:2;justify-content:flex-start}.crm-google-card__setup{grid-column:2}}
@media(max-width:620px){.crm-agenda-kpi{padding:14px}.crm-agenda-kpi__icon{width:38px;height:38px;flex-basis:38px}.crm-agenda-filters{display:grid;grid-template-columns:1fr 1fr}.crm-agenda-filters label{min-width:0}.crm-agenda-filters .btn{grid-column:1/-1}.crm-agenda-item{grid-template-columns:48px minmax(0,1fr);gap:12px}.crm-agenda-date{width:44px;height:50px}.crm-agenda-item__action{grid-column:2;text-align:left;min-width:0}.crm-agenda-item__action .btn{width:100%;justify-content:center}}
@media(max-width:480px){.crm-google-card{grid-template-columns:36px minmax(0,1fr);gap:10px;padding:14px}.crm-google-card__brand{width:36px;height:36px}.crm-google-card__actions{grid-column:1/-1}.crm-google-card__actions .btn{width:100%;justify-content:center}.crm-google-card__actions form{width:100%}.crm-google-card__setup{grid-column:1/-1}}
@media(max-width:420px){.crm-agenda-head .btn{width:100%;justify-content:center}.crm-agenda-filters{grid-template-columns:1fr}.crm-agenda-filters .btn{grid-column:auto}.crm-agenda-kpi__copy small{font-size:11px}}
.crm-template-head .btn{white-space:nowrap}
.crm-template-create{margin:0 0 24px;padding:0;overflow:hidden;border:1px solid var(--line)}
.crm-template-create>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;cursor:pointer;list-style:none}
.crm-template-create>summary::-webkit-details-marker{display:none}
.crm-template-create>summary span:first-child{display:grid;gap:3px}
.crm-template-create>summary strong{color:var(--navy);font-size:16px}
.crm-template-create>summary small{color:var(--muted);font-size:12px}
.crm-template-create__plus{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#edf4ff;color:var(--blue);font-size:24px;line-height:1}
.crm-template-create[open] .crm-template-create__plus{transform:rotate(45deg)}
.crm-template-create__form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0 20px 20px;border-top:1px solid var(--line)}
.crm-template-create__form>label{display:grid;align-content:start;gap:6px;padding-top:14px;color:var(--text);font-size:12px;font-weight:650}
.crm-template-create__form .input{width:100%}
.crm-template-create__wide{grid-column:1/-1}
.crm-template-recipients{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;border:0;padding:12px 0 0;margin:0;min-width:0}
.crm-template-recipients legend{padding:0 0 8px;color:var(--navy);font-size:13px;font-weight:700}
.crm-template-recipient{display:flex;align-items:center;gap:8px;min-height:38px;padding:8px 10px;border:1px solid var(--line);border-radius:9px;color:var(--text);font-size:12px;cursor:pointer}
.crm-template-recipient input{accent-color:var(--blue)}
.crm-template-recipient small{margin-left:auto;color:var(--muted);font-size:10px}
.crm-template-create__footer{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:4px}
.crm-template-create__footer small{max-width:520px;color:var(--muted);font-size:11px;line-height:1.5}
.crm-template-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px}
.crm-template-section-head h2{margin:0;color:var(--navy);font-size:18px}
.crm-template-section-head p{margin:4px 0 0;color:var(--muted);font-size:12px}
.crm-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:14px}
.crm-template-card{display:grid;align-content:start;gap:14px;min-width:0}
.crm-template-tags{display:flex;gap:7px;flex-wrap:wrap}
.crm-template-heading h2{font-size:18px;color:var(--navy);margin:9px 0 4px}
.crm-template-heading p{margin:0;color:var(--muted);font-size:13px}
.crm-template-heading .crm-template-author{margin-top:8px;font-size:11px}
.crm-template-heading .crm-template-assignees{margin-top:8px;padding:8px 10px;border-left:3px solid var(--blue);border-radius:0 8px 8px 0;background:#f3f7ff;color:var(--muted);font-size:11px;line-height:1.5}
.crm-template-assignees strong{color:var(--navy)}
.crm-template-text{min-height:145px;line-height:1.55;white-space:pre-wrap;background:#f8faff!important;resize:vertical}
.crm-template-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.crm-template-actions [role=status]{font-size:12px;color:var(--green)}
.crm-template-assign{width:100%}
.crm-template-assign>summary{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;list-style:none}
.crm-template-assign>summary::-webkit-details-marker{display:none}
.crm-template-recipients-form{display:grid;gap:10px;width:100%;padding:14px;margin-top:8px;border:1px solid var(--line);border-radius:10px;background:#fff}
.crm-template-recipients-form>small{color:var(--muted);font-size:11px;line-height:1.5}
.crm-template-recipients-form>.btn{justify-self:start}
.crm-template-recipients-form .alert{margin:0}
.crm-template-edit{width:100%}
.crm-template-edit>summary{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;list-style:none}
.crm-template-edit>summary::-webkit-details-marker{display:none}
.crm-template-edit__form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;padding:14px;margin-top:8px;border:1px solid var(--line);border-radius:10px;background:#fff}
.crm-template-edit__form>label{display:grid;align-content:start;gap:6px;color:var(--text);font-size:12px;font-weight:650}
.crm-template-edit__form .input{width:100%}
.crm-template-edit__wide{grid-column:1/-1}
.crm-template-edit__form>.alert,.crm-template-edit__form>button{grid-column:1/-1}
.crm-template-empty{grid-column:1/-1;display:grid;justify-items:center;gap:8px;padding:40px 20px;text-align:center}
.crm-template-empty>span{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#eef4ff;color:var(--blue);font-size:20px}
.crm-template-empty h2{margin:3px 0 0;color:var(--navy);font-size:17px}
.crm-template-empty p{max-width:460px;margin:0;color:var(--muted);font-size:13px}
.crm-sla-card--late{border-left:4px solid var(--red)}
.crm-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.crm-section-head .card__title{margin-bottom:14px}
.crm-kpi-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:10px 0 18px}
.crm-kpi-summary div{display:grid;gap:4px}
.crm-kpi-summary strong{font-size:24px;color:var(--navy)}
.crm-kpi-summary span{font-size:12px;color:var(--muted)}
.crm-first-contact-status p{margin:10px 0 0;color:var(--text);font-size:13px}
.crm-goals-card{margin-top:18px}
.crm-goal-period{display:flex;align-items:flex-end;gap:10px;margin-bottom:18px}
.crm-commission-summary{display:grid;gap:5px;padding:14px 16px;margin:0 0 18px;border-radius:8px;background:#f2f7ff;color:var(--navy)}
.crm-commission-summary strong{font-size:22px}
.crm-commission-summary small{color:var(--muted)}
.crm-goal-track{height:6px;min-width:90px;margin:6px 0 3px;border-radius:6px;background:#e8edf3;overflow:hidden}
.crm-goal-track span{display:block;height:100%;border-radius:6px;background:var(--green)}
.crm-goals-head .btn{white-space:nowrap}
.crm-goals-card{padding:24px}
.crm-goals-toolbar,.crm-goal-list-head{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.crm-goals-toolbar{padding-bottom:20px;border-bottom:1px solid var(--line)}
.crm-goals-toolbar h2,.crm-goal-list-head h2{margin:0;color:var(--navy);font-size:17px}
.crm-goals-toolbar p,.crm-goal-list-head p{margin:4px 0 0;color:var(--muted);font-size:13px}
.crm-goal-period{display:flex;align-items:flex-end;gap:10px;margin:0}
.crm-goal-period label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.crm-goal-period .input{min-width:190px}
.crm-goal-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:20px 0}
.crm-goal-summary__item{display:grid;align-content:center;gap:5px;min-height:112px;padding:18px 20px;border:1px solid var(--line);border-radius:10px;background:#fbfcfe}
.crm-goal-summary__item>span,.crm-goal-summary__item div>span{color:var(--muted);font-size:13px}
.crm-goal-summary__item>strong{color:var(--navy);font-size:25px;line-height:1.2}
.crm-goal-summary__item small{color:var(--muted);font-size:12px}
.crm-goal-summary__item--progress>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:10px}
.crm-goal-summary__item--progress>div:first-child strong{color:var(--navy);font-size:20px}
.crm-commission-summary{grid-template-columns:1fr auto;align-items:center;margin-bottom:20px}
.crm-commission-summary>div{display:grid;gap:4px}
.crm-commission-summary strong{font-size:20px}
.crm-goal-list-head{margin:4px 0 14px}
.crm-goal-edit-hint{color:var(--muted);font-size:12px}
.crm-goal-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.crm-goal-person{min-width:0;padding:18px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:var(--shadow)}
.crm-goal-person__head{display:flex;align-items:center;gap:12px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.crm-goal-person__avatar{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:50%;background:#eaf1ff;color:var(--navy);font-weight:700}
.crm-goal-person__head h3{margin:0;color:var(--text);font-size:15px}
.crm-goal-person__head span:not(.crm-goal-status){color:var(--muted);font-size:12px}
.crm-goal-status{margin-left:auto;padding:5px 9px;border-radius:20px;background:#f2f4f7;color:#667085;font-size:11px;white-space:nowrap}
.crm-goal-status--done{background:#e3f7ee;color:#1f9c6c}
.crm-goal-metrics{display:grid;gap:15px;padding:17px 0}
.crm-goal-metric__line{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}
.crm-goal-metric__line>span{color:var(--muted)}
.crm-goal-metric__line strong{color:var(--navy);font-size:14px;text-align:right}
.crm-goal-metric__line strong small{color:var(--muted);font-size:12px;font-weight:500}
.crm-goal-metric>.crm-goal-track{height:8px;margin:7px 0 4px}
.crm-goal-metric>small{color:var(--muted);font-size:11px}
.crm-goal-editor{display:grid;grid-template-columns:minmax(110px,.8fr) minmax(180px,1.4fr) auto;align-items:end;gap:10px;padding-top:15px;border-top:1px solid var(--line)}
.crm-goal-editor>label{display:grid;gap:6px;color:var(--text);font-size:12px;font-weight:600}
.crm-currency-input{position:relative;display:block}
.crm-currency-input>span{position:absolute;left:11px;top:50%;transform:translateY(-50%);color:var(--muted)}
.crm-currency-input .input{padding-left:26px;width:100%}
.crm-goal-editor .btn{white-space:nowrap}
.crm-goal-commission{padding-top:13px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}
.crm-goal-commission strong{color:var(--navy)}
.crm-goal-empty{display:grid;justify-items:center;gap:8px;padding:42px 20px;text-align:center;border:1px dashed #d7dfeb;border-radius:10px;background:#fbfcfe}
.crm-goal-empty__icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#eaf1ff;color:var(--blue);font-size:25px}
.crm-goal-empty h2{margin:4px 0 0;color:var(--navy);font-size:18px}
.crm-goal-empty p{max-width:480px;margin:0 0 8px;color:var(--muted);font-size:13px}
@media(max-width:1000px){.crm-goal-people{grid-template-columns:1fr}.crm-goal-summary{grid-template-columns:1fr 1fr}}
@media(max-width:680px){.crm-goals-card{padding:16px}.crm-goal-summary{grid-template-columns:1fr}.crm-commission-summary{grid-template-columns:1fr}.crm-goal-period{width:100%;flex-wrap:wrap}.crm-goal-period .input{flex:1;min-width:150px}.crm-goal-period .btn{flex:0 0 auto}.crm-goal-editor{grid-template-columns:1fr 1fr}.crm-goal-editor .btn{grid-column:1/-1}.crm-goal-status{font-size:10px;padding:4px 7px}}
@media(max-width:420px){.crm-goals-head .btn{width:100%;justify-content:center}.crm-goal-editor{grid-template-columns:1fr}.crm-goal-editor .btn{grid-column:auto}.crm-goal-person{padding:14px}.crm-goal-person__head{gap:8px}.crm-goal-person__head h3{font-size:13px}.crm-goal-status{white-space:normal;text-align:center}}
@media(max-width:850px){.crm-template-grid{grid-template-columns:1fr}}
@media(max-width:620px){.crm-template-head .btn{width:100%;justify-content:center}.crm-template-create__form,.crm-template-edit__form{grid-template-columns:1fr}.crm-template-create__wide,.crm-template-create__footer,.crm-template-edit__wide,.crm-template-edit__form>.alert,.crm-template-edit__form>button{grid-column:auto}.crm-template-create__footer{align-items:stretch;flex-direction:column}.crm-template-create__footer .btn{justify-content:center}.crm-template-recipients{grid-template-columns:1fr}.crm-template-section-head{align-items:flex-start}.crm-template-grid{grid-template-columns:1fr}}
@media(max-width:760px){.budget-form-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.budget-form-grid,.gasto-details{grid-template-columns:1fr}}

.campus-quiz-builder{display:grid;gap:12px;padding:14px;border:1px solid #dce7f4;border-radius:12px;background:#f8fbff}
.campus-quiz-builder[hidden]{display:none}
.campus-quiz-question,.campus-quiz-student-question{display:grid;gap:12px;padding:14px;border:1px solid #e1e9f3;border-radius:10px;background:#fff}
.campus-quiz-question legend,.campus-quiz-student-question legend{padding:0 5px;color:#173b70;font-weight:750}
.campus-quiz-editor{display:grid;gap:10px;padding:12px;border:1px solid #e1e9f3;border-radius:10px;background:#f7faff}
.campus-quiz-editor summary{color:#174d91;font-size:12px;font-weight:750;cursor:pointer}
.campus-quiz-editor__help,.campus-quiz-editor__locked{margin:0;color:#687b93;font-size:11px;line-height:1.5}
.campus-quiz-editor__locked{padding:10px;border-radius:8px;color:#7d4b27;background:#fff4e8}
.campus-quiz-student-question{margin:14px 0}
.campus-quiz-option{display:flex!important;grid-template-columns:none!important;align-items:center;gap:10px;padding:11px 12px;border:1px solid #e4eaf2;border-radius:9px;background:#fff;cursor:pointer}
.campus-quiz-option:has(input:checked){border-color:#1764c0;background:#f1f7ff}
.campus-quiz-option input{width:17px;min-height:17px;accent-color:#1764c0}
.campus-quiz-form>small{color:#718198}
.campus-quiz-result{font-size:16px;color:#173b70}
.campus-quiz-result-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.campus-quiz-result-row>strong{color:#145ab0;font-size:18px}
.campus-answer-review{flex:1 0 100%;padding:11px 13px;border:1px solid #e2eaf4;border-radius:10px;background:#f8fbff;color:#405775;font-size:12px}
.campus-answer-review summary{color:#145ab0;font-weight:750;cursor:pointer}
.campus-answer-review ol{display:grid;gap:10px;margin:12px 0 0;padding-left:22px}
.campus-answer-review li{padding-left:3px}
.campus-answer-review p{margin:5px 0;color:#63748a}
.campus-answer-review .is-correct,.campus-answer-review .is-incorrect{font-size:11px;font-weight:750}
.campus-answer-review .is-correct{color:#16834a}
.campus-answer-review .is-incorrect{color:#a65b10}

/* Búsqueda acotada de estudiantes y docentes en ventas de cafetería */
.cafeteria-persona-resultados{display:grid;gap:6px;max-height:240px;overflow:auto;margin-top:8px}
.cafeteria-persona-opcion{display:block;width:100%;padding:10px 12px;border:1px solid #e1e8f0;border-radius:9px;background:#fff;color:#26384d;text-align:left;cursor:pointer}
.cafeteria-persona-opcion:hover,.cafeteria-persona-opcion:focus-visible{border-color:#1760b5;background:#f2f7ff;outline:none}
.cafeteria-persona-resultados small{padding:8px 2px;color:#718198}

/* =================== CAMPUS ESTUDIANTIL PEA =================== */
.campus-owner-note{margin-bottom:18px}
.campus-welcome{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:10px 0 22px}
.campus-eyebrow{display:block;color:#2473c9;font-size:10px;font-weight:850;letter-spacing:1.25px;text-transform:uppercase}
.campus-welcome h1,.campus-course-hero h1{margin:7px 0;color:#123b79;font-size:30px;line-height:1.15}
.campus-welcome p,.campus-course-hero p{margin:0;color:#738297;font-size:14px}
.campus-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}
.campus-stat{display:flex;align-items:center;gap:12px;min-height:88px;padding:16px;background:#fff;border:1px solid #e8edf4;border-radius:14px;box-shadow:0 5px 18px rgba(25,57,96,.045)}
.campus-stat__icon{display:flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;border-radius:13px;font-size:19px;font-weight:850}
.campus-stat__icon svg{width:20px;height:20px}.campus-stat__icon--blue{color:#1261c3;background:#e9f1ff}.campus-stat__icon--cyan{color:#087b9c;background:#e4f8fc}.campus-stat__icon--orange{color:#b46504;background:#fff3e4}.campus-stat__icon--green{color:#178457;background:#e7f7ef}
.campus-stat strong{display:block;color:#123b79;font-size:22px;line-height:1.1}.campus-stat span:not(.campus-stat__icon){display:block;margin-top:4px;color:#718198;font-size:12px}
.campus-continue{overflow:hidden;position:relative;margin-bottom:18px;padding:21px 24px;color:#fff;background:linear-gradient(118deg,#0d2c64 0%,#0d4da2 72%,#0877bb 100%);border-radius:18px;box-shadow:0 12px 28px rgba(13,57,120,.17)}
.campus-continue__top{display:flex;justify-content:space-between;align-items:center;color:#c9d9f0;font-size:12px}.campus-pill{padding:6px 10px;border:1px solid rgba(255,255,255,.23);border-radius:30px;color:#fff;font-size:10px;font-weight:800;letter-spacing:.8px}
.campus-continue__body{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 120px;align-items:center;gap:20px;padding:18px 0 2px}.campus-continue__eyebrow{margin:0 0 6px;color:#b9d4ff;font-size:10px;font-weight:800;letter-spacing:1px}.campus-continue h2{max-width:780px;margin:0 0 7px;color:#fff;font-size:24px}.campus-continue p:not(.campus-continue__eyebrow){margin:0;color:#d9e5f6;font-size:13px}.campus-continue__art{display:flex;align-items:center;justify-content:center;width:104px;height:104px;border:1px solid rgba(255,255,255,.18);border-radius:50%;color:#b7d8ff;background:rgba(255,255,255,.08)}.campus-continue__art svg{width:45px;height:45px}.campus-progress{max-width:540px;margin:17px 0}.campus-progress__labels{display:flex;justify-content:space-between;gap:12px;margin-bottom:7px;color:#e4edfa;font-size:11px}.campus-progress__track{overflow:hidden;height:8px;background:rgba(255,255,255,.2);border-radius:30px}.campus-progress__track span{display:block;height:100%;background:#54d3ed;border-radius:inherit}.campus-ready-note{max-width:680px;margin:16px 0;padding:11px 13px;border:1px solid rgba(255,255,255,.17);border-radius:10px;color:#d8e7f8;background:rgba(255,255,255,.08);font-size:12px}.btn--white{display:inline-flex;align-items:center;gap:10px;padding:10px 15px;border-radius:9px;color:#123b79;background:#fff;font-weight:750;text-decoration:none}
.campus-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:16px;margin-bottom:16px}.campus-panel{min-width:0;padding:20px;background:#fff;border:1px solid #e7ecf3;border-radius:15px;box-shadow:0 5px 18px rgba(25,57,96,.04)}.campus-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.campus-section-head h2{margin:3px 0 0;color:#173b70;font-size:19px}.campus-counter{display:grid;place-items:center;min-width:30px;height:30px;padding:0 8px;border-radius:30px;color:#145ab0;background:#eaf2ff;font-weight:800;font-size:12px}
.campus-course-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 0;border-top:1px solid #edf0f5}.campus-course-card__icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;color:#125db7;background:#eef4ff}.campus-course-card__icon svg{width:19px;height:19px}.campus-course-card h3,.campus-task-row h3{margin:0;color:#243953;font-size:14px}.campus-course-card p,.campus-task-row p{margin:4px 0;color:#79879a;font-size:11px}.campus-course-card small,.campus-task-row small{color:#738197;font-size:10px}.campus-mini-progress{overflow:hidden;height:5px;margin:9px 0 4px;background:#e9eff6;border-radius:20px}.campus-mini-progress span{display:block;height:100%;background:#28a5d7;border-radius:inherit}
.campus-task-row{display:grid;grid-template-columns:24px minmax(0,1fr) 24px;align-items:center;gap:10px;padding:13px 0;border-top:1px solid #edf0f5}.campus-task-row__mark{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;color:#1261c3;background:#edf4ff;font-weight:900}.campus-task-row__mark.is-done{color:#168258;background:#e7f7ee}.campus-task-row>a{display:grid;place-items:center;width:24px;height:24px;color:#738197}.campus-task-row>a svg{width:16px;height:16px;transform:rotate(-90deg)}.campus-feedback-tag{color:#138055!important}
.campus-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:190px;padding:20px;text-align:center;color:#7a8798}.campus-empty>span{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;color:#2469c3;background:#eef4ff}.campus-empty svg{width:22px;height:22px}.campus-empty h3{margin:12px 0 4px;color:#2d4769;font-size:15px}.campus-empty p{max-width:340px;margin:0;color:#7c899a;font-size:12px}.campus-empty--compact{min-height:145px}
.campus-official-note{padding:11px 13px;border:1px solid #e3ebf6;border-radius:10px;color:#687b94;background:#f6f9fd;font-size:11px;line-height:1.5}.campus-record-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:17px 0 12px}.campus-record-stats strong{display:block;color:#164684;font-size:20px}.campus-record-stats span{display:block;margin-top:3px;color:#77869a;font-size:11px}.campus-record-list>div{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid #edf0f5;color:#4d5d72;font-size:11px}.campus-record-list b{color:#174b8c}.campus-state{display:inline-flex;align-items:center;padding:5px 8px;border-radius:30px;font-size:10px;font-weight:750;white-space:nowrap}.campus-state--pagado,.campus-state--submitted{color:#11754e;background:#e7f7ee}.campus-state--pendiente{color:#a45b00;background:#fff3df}.campus-state--anulado,.campus-state--closed{color:#a13d42;background:#fff0f0}.campus-state--draft{color:#596b82;background:#eef1f5}.campus-muted{color:#78879a;font-size:12px}.campus-help{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:16px 0;padding:18px 20px;border:1px solid #e4ebf4;border-radius:14px;background:#f8fbff}.campus-help h2{margin:4px 0;color:#183d72;font-size:18px}.campus-help p{margin:0;color:#74849a;font-size:12px}
.campus-course-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:4px 0 13px;color:#7b8a9e;font-size:11px}.campus-back{color:#205ca5;font-weight:750;text-decoration:none}.campus-course-hero{display:grid;grid-template-columns:minmax(0,1fr) 220px;align-items:center;gap:25px;margin-bottom:16px;padding:23px 25px;border:1px solid #e7ecf3;border-radius:17px;background:#fff;box-shadow:0 6px 20px rgba(25,57,96,.05)}.campus-course-hero h1{font-size:26px}.campus-course-meta{display:flex;flex-wrap:wrap;gap:15px;margin-top:15px;color:#66788f;font-size:11px}.campus-course-meta span{display:flex;align-items:center;gap:6px}.campus-course-meta svg{width:15px;height:15px;color:#2869b8}.campus-course-hero__progress{padding:14px;border:1px solid #edf1f6;border-radius:12px;background:#f8faff}.campus-course-hero__progress strong{display:block;color:#1358ac;font-size:25px}.campus-course-hero__progress>span,.campus-course-hero__progress small{display:block;margin:2px 0 10px;color:#78889b;font-size:10px}.campus-course-hero__progress .campus-progress__track{background:#e3eaf3}.campus-course-hero__progress .campus-progress__track span{background:#2ba5d3}.campus-course-layout{display:grid;grid-template-columns:minmax(260px,.82fr) minmax(0,1.18fr);align-items:start;gap:16px}.campus-roadmap{position:sticky;top:78px}.campus-module{padding:13px 0;border-top:1px solid #edf0f5}.campus-module__head,.campus-author-form__heading{display:flex;align-items:center;gap:10px;margin-bottom:9px}.campus-module__number{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:9px;color:#155db1;background:#eef4ff;font-size:11px;font-weight:850}.campus-module__head h3,.campus-author-form__heading h3,.campus-author-form__heading h4{margin:0;color:#273d5a;font-size:13px}.campus-module__head small{display:block;margin-top:4px;color:#78879a;font-size:10px}.campus-lesson-link{display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:8px;color:#586b84;text-decoration:none;font-size:11px}.campus-lesson-link>span:first-child{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;color:#2766b2;background:#eff4fa}.campus-lesson-link.is-current{color:#1457a6;background:#eef5ff;font-weight:750}.campus-lesson-link.is-complete>span:first-child{color:#18855c;background:#e7f7ef}.campus-course-main{display:grid;gap:16px}.campus-lesson-content h2{margin:6px 0 12px;color:#173d76;font-size:22px}.campus-lesson-summary{color:#61758e;font-size:13px}.campus-lesson-body{padding:16px;border-radius:10px;color:#40536b;background:#f8faff;white-space:pre-line;font-size:13px;line-height:1.65}.campus-video-link{display:inline-flex;margin:3px 0 13px;padding:9px 12px;border-radius:9px;color:#165aab;background:#edf4ff;font-size:12px;font-weight:750;text-decoration:none}.campus-resources{margin-top:17px}.campus-resources h3{color:#2c4668;font-size:14px}.campus-resource-row{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:9px;padding:11px 0;border-top:1px solid #edf0f5;font-size:11px}.campus-resource-row>span{color:#1d67ba}.campus-resource-row svg{width:16px;height:16px}.campus-resource-row b{color:#40546e}.campus-resource-row a,.campus-download-link{color:#165db1;font-weight:750;text-decoration:none}.campus-lesson-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:18px;padding-top:14px;border-top:1px solid #edf0f5}.campus-complete-chip{color:#177950;font-size:12px;font-weight:750}.campus-lesson-nav{display:flex;gap:15px}.campus-lesson-nav a{color:#1d5ca8;font-size:11px;font-weight:700;text-decoration:none}.campus-lesson-placeholder{text-align:center;padding:50px 20px}.campus-lesson-placeholder__icon{display:inline-grid;place-items:center;width:54px;height:54px;border-radius:16px;color:#2068bc;background:#eef4ff}.campus-lesson-placeholder__icon svg{width:25px;height:25px}.campus-lesson-placeholder h2{color:#173d76;font-size:18px}.campus-lesson-placeholder p{color:#7a899b;font-size:12px}
.campus-activity-card{scroll-margin-top:85px;padding:16px 0;border-top:1px solid #edf0f5}.campus-activity-card__head,.campus-submission-card__head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.campus-activity-card h3,.campus-submission-card h3{margin:4px 0;color:#283f5d;font-size:15px}.campus-activity-label{color:#7c8b9f;font-size:10px}.campus-activity-instructions{color:#5c6f86;font-size:12px;line-height:1.6;white-space:pre-line}.campus-activity-meta{display:flex;gap:12px;flex-wrap:wrap;color:#75859a;font-size:10px}.campus-submit-form{display:grid;gap:11px;margin-top:14px;padding:14px;border:1px solid #e7edf5;border-radius:11px;background:#fafcff}.campus-submit-form label,.campus-feedback-form label{display:grid;gap:5px;color:#314967;font-size:11px;font-weight:750}.campus-submit-form label span{display:inline;color:#7d8b9d;font-weight:400}.campus-submit-form textarea,.campus-feedback-form textarea{width:100%;padding:9px 10px;border:1px solid #dce4ef;border-radius:8px;color:#354b66;font:inherit;resize:vertical}.campus-submit-form input[type=file]{max-width:100%;font-size:11px}.campus-submit-form>small{color:#7d8999;font-size:10px}.campus-submit-form .btn{justify-self:start}.campus-submission-note{display:grid;gap:5px;margin-top:12px;padding:12px;border-radius:10px;color:#537067;background:#eff9f3;font-size:11px}.campus-submission-note>span{color:#657f74}.campus-feedback{margin-top:8px;padding-top:9px;border-top:1px solid #d8ede0}.campus-feedback p,.campus-submission-note>p{margin:4px 0 0;color:#435d50;white-space:pre-line}.campus-teacher-note{margin-bottom:16px;padding:11px 13px;border:1px solid #e5edf8;border-radius:10px;color:#62758d;background:#f6f9fd;font-size:11px}.campus-course-hero--teacher{margin-bottom:14px}.campus-teacher-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);align-items:start;gap:16px}.campus-author-form{display:grid;gap:11px;padding:15px;margin:12px 0;border:1px solid #e8edf4;border-radius:12px;background:#fbfcfe}.campus-author-form h3,.campus-author-form h4{margin:0;color:#23436d;font-size:14px}.campus-author-form label,.campus-resource-form label{display:grid;gap:5px;color:#3b526f;font-size:11px;font-weight:700}.campus-author-form input,.campus-author-form textarea,.campus-author-form select,.campus-resource-form input{width:100%;padding:9px 10px;border:1px solid #dce4ef;border-radius:8px;color:#344a65;background:#fff;font:inherit}.campus-author-form input[type=checkbox],.campus-check input{width:auto}.campus-author-form textarea{resize:vertical}.campus-check{display:flex!important;align-items:center;gap:8px!important;color:#53677f!important;font-weight:550!important}.campus-author-module{margin-top:15px;padding:14px;border:1px solid #e6ecf4;border-radius:13px;background:#f7faff}.campus-author-module>.campus-author-form{background:#fff}.campus-author-form--edit{margin:10px 0;background:#fff}.campus-author-form--lesson{margin-left:15px;border-left:3px solid #c8d9f1}.campus-author-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.campus-resource-form{display:grid;gap:9px;margin:10px 0 14px 15px;padding:12px;border:1px dashed #ced9e8;border-radius:10px;background:#fff}.campus-resource-form h5{margin:0;color:#345171;font-size:11px}.campus-resource-form>small{color:#75849a;font-size:10px}.campus-existing-resource{display:flex;justify-content:space-between;gap:10px;padding:6px 0;color:#354c69;font-size:10px}.campus-existing-resource small{color:#7d8999}.campus-activity-manage{padding:13px 0;border-top:1px solid #edf0f5}.campus-activity-manage p{color:#75849a;font-size:10px}.campus-activity-manage>.btn{margin-top:6px}.campus-author-activities>.campus-author-form{position:sticky;top:78px}.campus-submission-list{margin-top:15px}.campus-submission-card{padding:16px 0;border-top:1px solid #edf0f5}.campus-submission-card__head p{margin:5px 0;color:#7c899a;font-size:10px}.campus-download-link{display:inline-flex;margin:8px 0;padding:8px 10px;border-radius:8px;background:#eef5ff;font-size:11px}.campus-student-comment{margin:10px 0;padding:11px;border-radius:9px;background:#f7f9fc;color:#536981;font-size:11px}.campus-student-comment p{margin:5px 0 0;white-space:pre-line}.campus-feedback-form{display:grid;gap:10px;margin-top:11px}.campus-feedback-form .btn{justify-self:start}
@media(max-width:1000px){.campus-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.campus-grid,.campus-teacher-grid{grid-template-columns:1fr}.campus-author-activities>.campus-author-form{position:static}.campus-course-layout{grid-template-columns:minmax(240px,.7fr) minmax(0,1.3fr)}}
@media(max-width:700px){.campus-welcome{align-items:flex-start;flex-direction:column}.campus-welcome .btn{width:100%;justify-content:center}.campus-continue__body{grid-template-columns:1fr}.campus-continue__art{display:none}.campus-course-hero{grid-template-columns:1fr}.campus-course-hero__progress{max-width:none}.campus-course-layout{grid-template-columns:1fr}.campus-roadmap{position:static}.campus-help{align-items:flex-start;flex-direction:column}.campus-help .btn{width:100%;justify-content:center}.campus-course-card{grid-template-columns:38px minmax(0,1fr)}.campus-course-card>.btn{grid-column:2;justify-self:start}.campus-author-row{grid-template-columns:1fr}}
@media(max-width:480px){.portal__wrap{padding:18px 14px}.campus-welcome h1,.campus-course-hero h1{font-size:24px}.campus-stats{gap:9px}.campus-stat{min-height:78px;padding:11px;gap:8px}.campus-stat__icon{flex-basis:34px;width:34px;height:34px;border-radius:10px}.campus-stat strong{font-size:18px}.campus-stat span:not(.campus-stat__icon){font-size:10px}.campus-continue{padding:17px}.campus-continue h2{font-size:20px}.campus-panel{padding:15px}.campus-record-stats{grid-template-columns:1fr 1fr}.campus-activity-card__head{flex-direction:column}.campus-activity-card__head .campus-state{align-self:flex-start}.campus-submit-form .btn{width:100%;justify-content:center}.campus-course-meta{display:grid;gap:8px}}
.campus-official-card{display:flex;align-items:flex-start;gap:15px;margin:18px 0;padding:22px;border:1px solid #dce8f8;border-radius:16px;background:linear-gradient(120deg,#f7faff,#eef5ff)}.campus-official-card__icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;color:#fff;background:#1d67bd;font-weight:800}.campus-official-card h2{margin:5px 0;color:#174684;font-size:17px}.campus-official-card p{margin:0;color:#697c94;font-size:12px;line-height:1.6}
.maintenance-banner{position:relative;z-index:1100;display:flex;align-items:flex-start;gap:12px;padding:13px 22px;border-bottom:1px solid #f0d89a;background:#fff8e5;color:#6f4b08}.maintenance-banner--active{border-color:#f2b8a9;background:#fff0ec;color:#8c3526}.maintenance-banner__icon{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border-radius:50%;background:#f4d778;color:#604300;font-weight:850}.maintenance-banner--active .maintenance-banner__icon{background:#e97e66;color:#fff}.maintenance-banner strong{font-size:13px}.maintenance-banner p{margin:2px 0 3px;font-size:12px;line-height:1.45}.maintenance-banner small{font-size:10px;opacity:.8}.maintenance-admin-card .form-actions{margin-top:0}.maintenance-admin-card .crm-muted{line-height:1.55}@media(max-width:600px){.maintenance-banner{padding:12px 14px}.maintenance-admin-card .flex.between.center{align-items:flex-start;flex-direction:column}}
.lead-forms-layout{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(0,1.5fr);align-items:start;gap:16px}.lead-form-create-card{position:sticky;top:84px}.lead-form-security-note{display:grid;gap:4px;margin-top:18px;padding:12px;border-radius:10px;background:#f3f7fc;color:#4d627d;font-size:11px;line-height:1.5}.lead-form-security-note strong{color:#174684}.lead-form-item{display:block;padding:18px 0;border-top:1px solid #e9edf3}.lead-form-item__title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.lead-form-item h3{margin:0;color:#193c6b;font-size:15px}.lead-form-item p{margin:5px 0 10px;color:#75849a;font-size:11px}.lead-form-url{display:flex;gap:7px;align-items:center}.lead-form-url .input{min-width:0;font-size:10px}.lead-form-item small{display:block;margin-top:6px;color:#75849a;font-size:10px}.lead-form-toggle{margin-top:9px}.lead-form-note{margin-top:14px;padding:11px;border-radius:9px;background:#f7f9fc;color:#77869a;font-size:10px;line-height:1.5}.lead-forms-empty{padding:30px 10px;text-align:center}.lead-capture-page{min-height:100vh;background:radial-gradient(ellipse at 18% 8%,#e6f2ff 0,transparent 38%),#f4f7fb;color:#132b4b;font-family:"DM Sans",Arial,sans-serif}.lead-capture-shell{width:min(720px,100%);margin:auto;padding:28px 20px}.lead-capture-brand{display:flex;align-items:center;gap:12px;margin-bottom:22px;color:#083b82;font-size:13px;font-weight:850;letter-spacing:.5px}.lead-capture-brand img{width:62px;height:62px;object-fit:contain;border-radius:12px;background:#fff}.lead-capture-brand small{font-size:9px;letter-spacing:1.4px;color:#697b91}.lead-capture-card{padding:32px;border:1px solid #e1e9f3;border-radius:20px;background:#fff;box-shadow:0 18px 55px #173b6812}.lead-capture-kicker{color:#0875c9;font-size:10px;font-weight:850;letter-spacing:1.5px}.lead-capture-card h1{margin:5px 0;color:#0a3676;font-size:28px;line-height:1.2}.lead-capture-card>p{margin:0 0 20px;color:#708097;font-size:13px;line-height:1.55}.lead-capture-interest{display:flex;justify-content:space-between;gap:12px;margin:0 0 18px;padding:11px 13px;border-radius:10px;background:#eff6ff;color:#204c86;font-size:11px}.lead-capture-interest span{color:#71839c}.lead-capture-form{display:grid;gap:13px}.lead-capture-form>label:not(.lead-consent),.lead-capture-row label{display:grid;gap:5px;color:#324d70;font-size:11px;font-weight:750}.lead-capture-form input:not([type=checkbox]),.lead-capture-form select{width:100%;min-height:42px;padding:9px 11px;border:1px solid #dce5f0;border-radius:9px;background:#fff;color:#344a65;font:inherit;font-weight:500}.lead-capture-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.lead-consent{display:flex;align-items:flex-start;gap:9px;color:#4b607c;font-size:10px;line-height:1.5}.lead-consent input{margin-top:2px;accent-color:#0752ba}.lead-consent--minor{display:none;padding:10px;border-radius:9px;background:#fff8e7}.lead-consent--minor.is-required{display:flex}.lead-privacy-note{margin:0;color:#8995a5;font-size:9px;line-height:1.5}.lead-capture-form .button{width:100%;border:0;cursor:pointer}.lead-capture-footer{padding:18px;text-align:center;color:#8995a5;font-size:10px}.lead-honeypot{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.lead-capture-success{text-align:center;padding:45px 32px}.lead-success-mark{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 16px;border-radius:50%;background:#e8f8ef;color:#17945d;font-size:28px;font-weight:800}.lead-capture-success .button{margin-top:8px}
@media(max-width:1000px){.lead-forms-layout{grid-template-columns:1fr}.lead-form-create-card{position:static}}
@media(max-width:600px){.lead-form-item{grid-template-columns:1fr}.lead-form-url{align-items:stretch;flex-direction:column}.lead-form-url .btn{align-self:flex-start}.lead-capture-shell{padding:18px 13px}.lead-capture-card{padding:22px 17px;border-radius:16px}.lead-capture-card h1{font-size:24px}.lead-capture-row{grid-template-columns:1fr}.lead-capture-success{padding:34px 22px}}
.payment-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 16px}
.payment-account{min-width:0;padding:16px;border:1px solid var(--line);border-radius:12px;background:#f7faff}
.payment-account strong{display:block;margin:6px 0;color:var(--navy);font-size:21px;font-weight:800;letter-spacing:.02em;overflow-wrap:anywhere}
.payment-account small{color:var(--muted);font-size:12px}
@media(max-width:700px){.payment-account-grid{grid-template-columns:1fr}}
.pea-social-footer{display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 20px;background:#fff;border-top:1px solid #e7edf5;color:#718096;font-size:12px}.pea-social-links{display:flex;align-items:center;justify-content:center;gap:8px}.pea-social-links a{width:30px;height:30px;display:grid;place-items:center;border:1px solid #dfe8f3;border-radius:50%;color:#0752b5;background:#f5f9ff;transition:color .18s ease,background-color .18s ease,transform .18s ease}.pea-social-links svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.pea-social-links .social-dot{fill:currentColor;stroke:none}.pea-social-links a:hover,.pea-social-links a:focus-visible{color:#fff;background:#0752b5;transform:translateY(-2px)}.pea-social-links a:focus-visible{outline:3px solid #f58220;outline-offset:3px}@media(max-width:520px){.pea-social-footer{flex-wrap:wrap;padding:10px 14px;gap:7px}.pea-social-footer .pea-social-links{width:100%}}
.lead-capture-footer .pea-social-links{justify-content:center;margin:8px auto 0}
.pea-developer-credit{display:block;color:#8793a3;font-size:10px;font-weight:500;line-height:1.4;text-align:center}.pea-developer-credit a{color:inherit;text-decoration:none}.pea-developer-credit a:hover,.pea-developer-credit a:focus-visible{text-decoration:underline;color:#0752b5}.pea-social-footer .pea-developer-credit{width:100%;margin:0}.pea-site-shortcut{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border:1px solid #dfe8f3;border-radius:999px;color:#52647b;text-decoration:none;font-size:11px;font-weight:600;white-space:nowrap}.pea-site-shortcut svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.pea-site-shortcut:hover,.pea-site-shortcut:focus-visible{color:#0752b5;background:#f5f9ff}.pea-site-shortcut:focus-visible{outline:3px solid #f58220;outline-offset:2px}
.site-footer .pea-site-shortcut{grid-column:1/-1;justify-self:center}.pea-social-footer .pea-site-shortcut{margin:0 auto}
.pea-password-toggle [hidden]{display:none!important}
