/* CI Redes V83 · Gestión integrada, cursos y Wi-Fi con jerarquía visual sobria. */

/* Gestor: mismo panel derecho y mismo menú persistente que Secretaría. */
#ci-dashboard-content>#ci-v83-gestor-pane{min-width:0;border:1px solid #e0e9ef;background:#fff;
 border-radius:15px;padding:24px;box-shadow:none;container-type:inline-size}
#ci-v83-gestor-pane .ci-v83-gestor-head{margin:0 0 18px}
#ci-v83-gestor-pane .ci-v83-gestor-head h2{font-size:24px;line-height:1.2;color:#003049;
 letter-spacing:-.02em;margin:0 0 7px}
#ci-v83-gestor-pane .ci-v83-gestor-head p{color:#647d8c;margin:0;font-size:12px}
#ci-v83-gestor-pane #v12-app{display:block;min-width:0}
#ci-v83-gestor-pane #v12-app[hidden]{display:none!important}
#ci-v83-gestor-pane .ci-gestor-directory{border:0;padding:0;background:transparent;box-shadow:none}
#ci-v83-gestor-pane .ci-gestor-heading h2{font-size:19px}
#ci-v83-gestor-pane .ci-gestor-heading p{font-size:11px}
#ci-v83-gestor-pane .ci-gestor-count{padding:8px 13px}
#ci-v83-gestor-pane .ci-gestor-count strong{font-size:22px}
#ci-v83-gestor-pane .ci-gestor-item{padding:13px 15px;border-radius:10px;gap:12px}
#ci-v83-gestor-pane .ci-gestor-item strong{font-size:13px}
#ci-v83-gestor-pane .ci-gestor-item p,#ci-v83-gestor-pane .ci-gestor-item small{font-size:11px}
#ci-v83-gestor-pane .ci-gestor-pagination{flex-wrap:wrap;justify-content:center}
#ci-v83-gestor-pane .ci-v83-gestor-error{padding:12px 16px;border:1px solid #edcdd0;border-radius:9px;color:#952637}
@container (max-width:680px){
 #ci-v83-gestor-pane .ci-gestor-item{display:grid;grid-template-columns:1fr;gap:10px}
 #ci-v83-gestor-pane .ci-gestor-item button{justify-self:start}
 #ci-v83-gestor-pane .ci-gestor-heading{align-items:center;gap:9px}
 #ci-v83-gestor-pane .ci-gestor-toolbar{display:grid;grid-template-columns:1fr}
 #ci-v83-gestor-pane .ci-gestor-toolbar label,#ci-v83-gestor-pane .ci-gestor-toolbar button{width:100%}
}
@media(max-width:640px){#ci-dashboard-content>#ci-v83-gestor-pane{padding:16px}}

/* Roles en Inicio: breve, visible solo con permisos reales. */
#ci-dashboard-content>#ci-v83-role-overview{background:#fff;border:1px solid #e0e9ef;
 border-radius:15px;padding:22px 25px;min-width:0}
#ci-v83-role-overview[hidden]{display:none!important}
.ci-v83-role-overview-head{margin-bottom:15px}
.ci-v83-role-overview-head h2{margin:5px 0 0;font-size:20px;color:#003049}
.ci-v83-role-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:13px}
.ci-v83-role-card{border:1px solid #dfe8ed;border-radius:10px;padding:17px;background:#f9fbfc;
 display:flex;flex-direction:column;gap:8px}
.ci-v83-role-card h3{color:#003049;font-size:15px;margin:0;font-weight:800}
.ci-v83-role-card p{color:#5a7889;font-size:12px;line-height:1.65;margin:0;flex:1}
.ci-v83-role-action{font-size:12px;font-weight:750;text-decoration:none;color:#17617f;
 padding-top:8px;align-self:start}
.ci-v83-role-action:hover{text-decoration:underline}

/* Cursos: mantener las cuatro cifras durante NetAcad, sin página en blanco en Mis cursos. */
#ci-cursos.ci-v80-netacad-selected > .ci-v16-academic-kpis{display:grid!important}
#ci-courses-list .ci-v82-course-empty{grid-column:1/-1;border:1px dashed #d3e2e9;
 border-radius:11px;background:#fafcfd;padding:22px;max-width:100%}
#ci-courses-list .ci-v82-course-empty strong{display:block;margin-bottom:6px;font-size:15px;color:#003049}
#ci-courses-list .ci-v82-course-empty p{font-size:12px;color:#607b8b;line-height:1.5;margin:0 0 13px}
#ci-courses-list .ci-v82-course-empty .ci-btn{min-height:39px;padding:9px 15px;font-size:12px}

/* Wi-Fi Redes: tres vistas en lugar de una página interminable. */
#ci-v80-wifi-shell #ci-wifi-planes > .ci-panel{padding:0;border:0;box-shadow:none;background:transparent}
#ci-v80-wifi-shell #ci-wifi-planes{margin:0;width:100%;max-width:none}
#ci-v80-wifi-shell #ci-w47-my-plan{gap:0;min-width:0}
#ci-w47-my-plan .ci-v83-wifi-tabs{display:flex;flex-wrap:wrap;gap:7px;
 border-bottom:1px solid #e4edf2;padding:0 0 12px;margin:0 0 16px}
#ci-w47-my-plan .ci-v83-wifi-tab{border:1px solid transparent;background:#fff;
 padding:10px 14px;border-radius:8px;min-height:41px;
 font:750 12px 'DM Sans',system-ui,sans-serif;color:#547184;cursor:pointer}
#ci-w47-my-plan .ci-v83-wifi-tab[aria-selected=true]{background:#eaf3f8;
 border-color:#cbdfe9;color:#003049}
#ci-w47-my-plan .ci-v83-wifi-tab:focus-visible{outline:2px solid #669bbc;outline-offset:2px}
#ci-w47-my-plan .ci-v83-wifi-panel{display:grid;gap:15px;min-width:0}
#ci-w47-my-plan .ci-v83-wifi-panel[hidden]{display:none!important}
#ci-w47-my-plan .ci-v83-wifi-panel>h3{font-size:21px;line-height:1.3;margin:0}
#ci-w47-my-plan .ci-v83-wifi-panel>.ci-w47-subtle{margin:-8px 0 0}
#ci-w47-my-plan .ci-v83-wifi-panel .ci-w47-user-grid{margin:0;gap:10px}
#ci-w47-my-plan .ci-v83-wifi-panel .ci-w47-user-stat{padding:16px 18px;min-height:95px;
 border-radius:11px;gap:5px;align-content:center;position:relative;overflow:hidden}
#ci-w47-my-plan .ci-v83-wifi-panel .ci-w47-user-stat strong{font-size:21px;z-index:1}
#ci-w47-my-plan .ci-v83-wifi-panel .ci-w47-user-stat small{font-size:11px}
#ci-w47-my-plan .ci-v83-wifi-panel .ci-w50-info-chip{font-size:10px;z-index:1}
#ci-w47-my-plan .ci-v83-tier-emblem{position:absolute;right:14px;top:14px;
 font-size:28px;font-weight:600;line-height:1;opacity:.72}
#ci-w47-my-plan .ci-w61-bronze .ci-v83-tier-emblem{color:#b27a50}
#ci-w47-my-plan .ci-w61-silver .ci-v83-tier-emblem{color:#8a9baa}
#ci-w47-my-plan .ci-w61-gold .ci-v83-tier-emblem{color:#c59b35}
#ci-w47-my-plan .ci-w61-bronze::after,
#ci-w47-my-plan .ci-w61-silver::after,
#ci-w47-my-plan .ci-w61-gold::after{
 content:"";position:absolute;inset:-40% auto -40% -55%;width:35%;
 pointer-events:none;transform:skewX(-18deg);
 background:linear-gradient(90deg,transparent,rgba(255,255,255,.48),transparent);
 animation:ci-v83-tier-shine 5.6s ease-in-out infinite;
}
#ci-w47-my-plan .ci-w61-bronze::after{animation-delay:.6s}
#ci-w47-my-plan .ci-w61-silver::after{animation-delay:1.2s}
#ci-w47-my-plan .ci-w61-gold::after{animation-delay:0s}
@keyframes ci-v83-tier-shine{0%,65%{left:-55%;opacity:0}72%{opacity:.85}92%,100%{left:135%;opacity:0}}
#ci-w47-my-plan .ci-w61-hint{font-size:11px;margin:0;line-height:1.5}
#ci-w47-my-plan .ci-v83-wifi-panel .ci-w47-student-credentials{margin:0;padding:18px;
 border-radius:11px;gap:10px}
#ci-w47-my-plan .ci-w47-student-credentials h4{font-size:16px}
#ci-w47-my-plan .ci-v83-wifi-panel .ci-w50-password-form{padding-top:12px;gap:9px}
#ci-w47-my-plan .ci-w50-password-form input{min-height:42px}
#ci-w47-my-plan .ci-v83-wifi-panel .ci-w50-resources{display:grid;gap:12px;margin:0}
#ci-w47-my-plan .ci-v83-wifi-panel .ci-w50-plan-image{max-height:270px;max-width:100%;border-radius:10px}
#ci-w47-my-plan .ci-v83-wifi-panel .ci-w61-plan-contact{padding:15px;background:#f6f9fb;
 border-color:#e1eaf0;border-radius:11px}
#ci-w47-my-plan .ci-v83-wifi-empty{font-size:12px;color:#678293;padding:16px;border:1px dashed #d7e5ed;border-radius:10px}
@media(max-width:640px){
 #ci-w47-my-plan .ci-v83-wifi-tab{flex:1 1 auto;padding:9px 10px;font-size:11px}
 #ci-w47-my-plan .ci-v83-wifi-panel .ci-w47-user-grid{grid-template-columns:1fr}
 #ci-w47-my-plan .ci-v83-wifi-panel .ci-w47-user-stat{padding:14px 16px;min-height:84px}
}
@media(prefers-reduced-motion:reduce){
 #ci-w47-my-plan .ci-w61-bronze::after,
 #ci-w47-my-plan .ci-w61-silver::after,
 #ci-w47-my-plan .ci-w61-gold::after{animation:none;display:none}
}

/* Administrador: edición de textos en una pantalla ligera, sin paneles duplicados. */
.ci-v83-admin-copy-layout{max-width:1240px;margin-inline:auto}
.ci-v83-admin-copy{min-width:0;padding:20px 0 35px}
.ci-v83-admin-copy>header h1{font-size:clamp(25px,3vw,33px);color:#003049;margin:8px 0}
.ci-v83-admin-copy>header p{font-size:13px;color:#678292;max-width:690px;line-height:1.5;margin:0 0 16px}
#ci-v83-copy-status{font-size:12px;color:#467188}
#ci-v83-copy-status.error{color:#a72d36}
.ci-v83-copy-forms{display:grid;gap:16px}
.ci-v83-copy-form{display:grid;gap:11px;max-width:660px;background:#fff;
 border:1px solid #e0e8ee;border-radius:12px;padding:20px}
.ci-v83-copy-form h2{font-size:20px;color:#003049;margin:0}
.ci-v83-copy-form label{display:grid;gap:7px;font-size:12px;font-weight:750;color:#355a6d}
.ci-v83-copy-form input,.ci-v83-copy-form textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid #cadde8;
 border-radius:9px;padding:11px 12px;font:500 13px/1.5 'DM Sans',system-ui,sans-serif;color:#003049;background:#fff}
.ci-v83-copy-form .ci-v83-copy-tip{margin:0;font-size:11px;line-height:1.55;color:#688390}
.ci-v83-copy-form .ci-btn{justify-self:start;min-height:40px}
.ci-v83-copy-result{margin:0;color:#23664c;font-size:12px;line-height:1.5}
@media(max-width:690px){.ci-v83-copy-form{padding:16px}}
