:root{
  --adm-mostaza:#E9B221;
  --adm-mostaza-claro:#F6CE58;
  --adm-mostaza-suave:#FFF4CB;
  --adm-azul:#0054A6;
  --adm-azul-oscuro:#062E67;
  --adm-turquesa:#3E92AC;
  --adm-texto:#173B68;
  --adm-muted:#6D8098;
  --adm-fondo:#F6FAFD;
  --adm-borde:#E4ECF4;
  --adm-verde:#12824C;
  --adm-rojo:#B42318;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Arial,Helvetica,sans-serif;color:var(--adm-texto);background:radial-gradient(circle at 0 0,rgba(233,178,33,.35),transparent 34%),radial-gradient(circle at 100% 10%,rgba(62,146,172,.20),transparent 32%),linear-gradient(135deg,#fff4cf 0%,#f7fbff 55%,#edf8fb 100%);}
a{color:inherit}.adm-page{min-height:100vh;padding:28px}.adm-hero-catalogo{position:relative;max-width:1120px;margin:0 auto;padding:36px 20px 54px}.adm-hero-glow{position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 50% 0,rgba(255,255,255,.6),transparent 45%)}.adm-catalogo-header{text-align:center;position:relative}.adm-logo-distrito{width:240px;max-width:75%;display:block;margin:0 auto 18px;filter:drop-shadow(0 14px 25px rgba(6,46,103,.16))}.adm-catalogo-header h1{font-size:42px;margin:0;color:var(--adm-azul-oscuro);letter-spacing:-.8px}.adm-catalogo-header p{font-size:17px;color:var(--adm-muted);margin:10px 0 16px}.adm-periodo-pill{display:inline-flex;gap:6px;align-items:center;border:1px solid rgba(233,178,33,.45);background:rgba(255,255,255,.82);border-radius:999px;padding:9px 16px;color:#7B5A00;box-shadow:0 10px 28px rgba(111,80,0,.08)}.adm-catalogo-tools{position:relative;display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap;margin:32px auto 30px}.adm-search-box{width:440px;max-width:100%;display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.94);border-radius:999px;padding:12px 18px;border:1px solid rgba(255,255,255,.9);box-shadow:0 18px 45px rgba(6,46,103,.11)}.adm-search-box input{border:0;outline:0;background:transparent;width:100%;font-size:15px;color:var(--adm-texto)}.adm-admin-link,.adm-back{display:inline-flex;align-items:center;text-decoration:none;border:1px solid rgba(0,84,166,.18);background:rgba(255,255,255,.85);border-radius:999px;padding:11px 16px;color:var(--adm-azul);font-weight:700;box-shadow:0 12px 30px rgba(6,46,103,.08)}.adm-grid-instituciones{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;position:relative}.adm-card-institucion{position:relative;min-height:142px;display:flex;flex-direction:column;justify-content:center;gap:12px;text-align:center;text-decoration:none;color:#fff;border-radius:24px;overflow:hidden;padding:24px 22px;box-shadow:0 24px 50px rgba(6,46,103,.20);transition:.18s ease;isolation:isolate}.adm-card-institucion:nth-child(6n+1){background:linear-gradient(135deg,#F0A23A,#D87A0A)}.adm-card-institucion:nth-child(6n+2){background:linear-gradient(135deg,#0B8EDD,#0054A6)}.adm-card-institucion:nth-child(6n+3){background:linear-gradient(135deg,#35B8C7,#005D78)}.adm-card-institucion:nth-child(6n+4){background:linear-gradient(135deg,#64D247,#219B2D)}.adm-card-institucion:nth-child(6n+5){background:linear-gradient(135deg,#9B6CFF,#2C58C9)}.adm-card-institucion:nth-child(6n){background:linear-gradient(135deg,#28BFA8,#047A72)}.adm-card-institucion:before{content:"";position:absolute;right:-55px;top:-50px;width:170px;height:170px;border-radius:50%;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.10);z-index:-1}.adm-card-institucion:after{content:"";position:absolute;left:0;right:0;bottom:0;height:48%;background:linear-gradient(0deg,rgba(0,0,0,.18),transparent);z-index:-1}.adm-card-institucion:hover{transform:translateY(-4px);box-shadow:0 30px 60px rgba(6,46,103,.28)}.adm-card-star{position:absolute;top:18px;left:50%;transform:translateX(-50%);width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center}.adm-card-name{font-size:17px;font-weight:800;line-height:1.35;margin-top:20px;text-shadow:0 2px 12px rgba(0,0,0,.18)}.adm-card-action{font-size:12px;font-weight:800;letter-spacing:.5px;text-transform:uppercase;opacity:.9}.adm-header-proceso,.adm-dashboard-header{max-width:1180px;margin:0 auto 22px}.adm-header-card{display:flex;align-items:center;gap:18px;background:rgba(255,255,255,.92);border:1px solid rgba(255,255,255,.94);border-radius:28px;padding:18px 22px;box-shadow:0 24px 50px rgba(6,46,103,.12);margin-top:14px}.adm-logo-inst{width:120px;max-height:86px;object-fit:contain}.adm-header-card h1{margin:0;font-size:30px;color:var(--adm-azul-oscuro)}.adm-header-card p{margin:5px 0;color:var(--adm-muted);font-weight:700}.adm-header-card span{display:inline-flex;border-radius:999px;background:var(--adm-mostaza-suave);color:#7B5A00;padding:6px 12px;font-weight:800;font-size:12px}.adm-layout-proceso{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:310px minmax(0,1fr);gap:22px;align-items:start}.adm-timeline-card,.adm-form-card,.adm-error-card,.adm-admin-login-card,.adm-table-card{background:rgba(255,255,255,.94);border-radius:28px;border:1px solid rgba(255,255,255,.92);box-shadow:0 24px 50px rgba(6,46,103,.12)}.adm-timeline-card{padding:22px;position:sticky;top:20px}.adm-timeline-card h3{margin:0 0 16px;color:var(--adm-azul-oscuro)}.adm-timeline{list-style:none;margin:0;padding:0}.adm-timeline li{position:relative;display:flex;align-items:center;gap:10px;padding:12px 0 12px 2px;color:var(--adm-muted);font-weight:700}.adm-timeline li:not(:last-child):after{content:"";position:absolute;left:12px;top:38px;bottom:-10px;width:2px;background:#E7EDF4}.adm-timeline span{width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid #D8E4EE;background:#fff;color:#B6C5D3;font-size:12px;z-index:1}.adm-timeline li.active{color:var(--adm-azul)}.adm-timeline li.active span{border-color:var(--adm-mostaza);background:var(--adm-mostaza);color:#fff}.adm-timeline li.done{color:var(--adm-verde)}.adm-timeline li.done span{border-color:var(--adm-verde);background:var(--adm-verde);color:#fff}.adm-mini-state{margin-top:18px;background:#F6FAFD;border:1px solid var(--adm-borde);border-radius:18px;padding:14px}.adm-mini-state strong{display:block;font-size:13px;color:var(--adm-muted)}.adm-mini-state span{display:inline-block;margin-top:8px;background:#EAF4FF;color:var(--adm-azul);border-radius:999px;padding:7px 12px;font-size:12px;font-weight:900}.adm-form-card{padding:28px}.adm-step h2{margin:0 0 10px;font-size:28px;color:var(--adm-azul-oscuro)}.adm-lead,.adm-info-note{color:var(--adm-muted);font-size:15px;line-height:1.55}.adm-consent-box{background:#F8FBFE;border:1px solid var(--adm-borde);border-radius:22px;padding:20px;margin:20px 0}.adm-check-label{display:flex;gap:12px;align-items:flex-start;font-size:16px;font-weight:700;line-height:1.45}.adm-check-label input{width:20px;height:20px;margin-top:2px}.adm-pdf-link{display:inline-flex;margin-top:15px;color:var(--adm-azul);font-weight:800}.adm-grid-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.adm-grid-form label{display:flex;flex-direction:column;gap:7px;font-weight:800;color:#244967;font-size:14px}.adm-grid-form input,.adm-grid-form select,.adm-admin-form input,.adm-admin-form select,.adm-table-title input{width:100%;height:46px;border-radius:14px;border:1px solid #D9E5EF;background:#fff;padding:0 13px;font-size:15px;color:var(--adm-texto);outline:none}.adm-grid-form input:focus,.adm-grid-form select:focus,.adm-admin-form input:focus,.adm-admin-form select:focus,.adm-table-title input:focus{border-color:var(--adm-azul);box-shadow:0 0 0 4px rgba(0,84,166,.10)}.adm-col-span{grid-column:1 / -1}.adm-horarios-col{grid-column:1 / -1;background:#F8FBFE;border:1px solid var(--adm-borde);border-radius:18px;padding:16px}.adm-horarios{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.adm-slot{border:1px solid #CFE0EF;border-radius:12px;background:#fff;color:var(--adm-azul);font-weight:900;padding:10px 16px;cursor:pointer}.adm-slot.selected{background:var(--adm-azul);color:#fff;border-color:var(--adm-azul)}.adm-muted{color:var(--adm-muted);font-weight:600}.adm-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:22px}.adm-actions-center{justify-content:center;flex-wrap:wrap}.adm-btn{border:0;border-radius:999px;padding:12px 20px;font-size:14px;font-weight:900;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;transition:.15s ease}.adm-btn:disabled{opacity:.55;cursor:not-allowed}.adm-btn-primary{background:linear-gradient(135deg,var(--adm-azul),var(--adm-turquesa));color:#fff;box-shadow:0 14px 30px rgba(0,84,166,.22)}.adm-btn-primary:hover{transform:translateY(-1px)}.adm-btn-light{background:#EFF6FD;color:var(--adm-azul);border:1px solid #D9E7F5}.adm-alert{border-radius:16px;padding:13px 16px;margin-bottom:18px;font-size:14px;line-height:1.35}.adm-alert-ok{background:#EAF8F0;color:#0B6B3E;border:1px solid #C7ECD8}.adm-alert-error{background:#FEF0EF;color:#A61B12;border:1px solid #F5CBC7}.adm-code-box{display:flex;justify-content:center;gap:12px;margin:28px 0}.adm-code-input{width:62px;height:70px;text-align:center;font-size:32px;font-weight:900;border-radius:18px;border:1px solid #D9E5EF;color:var(--adm-azul-oscuro);outline:none}.adm-code-input:focus{border-color:var(--adm-mostaza);box-shadow:0 0 0 5px rgba(233,178,33,.16)}.adm-final{text-align:center;padding:16px}.adm-final-icon{width:82px;height:82px;border-radius:50%;background:linear-gradient(135deg,var(--adm-verde),#31B574);color:#fff;font-size:44px;display:flex;align-items:center;justify-content:center;margin:0 auto 18px}.adm-expediente-code{display:inline-block;background:#F5F9FC;border:1px solid var(--adm-borde);border-radius:14px;padding:12px 16px;margin:12px 0 20px}.adm-error-card{max-width:680px;margin:12vh auto;padding:30px;text-align:center}.adm-error-card img{width:210px;max-width:80%;margin-bottom:14px}.adm-error-card pre{white-space:pre-wrap;text-align:left;background:#F8FBFE;border:1px solid var(--adm-borde);border-radius:14px;padding:12px;color:#7A3B00;max-height:180px;overflow:auto}.adm-admin-page{display:flex;align-items:center;justify-content:center}.adm-admin-login-card{width:460px;max-width:100%;padding:28px}.adm-logo-login{width:210px}.adm-admin-login-card h1{margin:0;color:var(--adm-azul-oscuro);font-size:30px;text-align:center}.adm-admin-login-card p{text-align:center;color:var(--adm-muted)}.adm-admin-form{display:grid;gap:14px;margin-top:18px}.adm-admin-form label{display:grid;gap:7px;font-weight:800;color:#244967}.adm-btn-full{width:100%}.adm-default-note{margin-top:16px;background:#FFF8E0;border:1px solid #F1DEA1;border-radius:14px;padding:12px;font-size:13px;color:#7B5A00}.adm-dashboard-page{max-width:1220px;margin:0 auto}.adm-dashboard-header{display:flex;justify-content:space-between;gap:16px;align-items:center;background:rgba(255,255,255,.94);border-radius:28px;padding:22px;border:1px solid rgba(255,255,255,.9);box-shadow:0 24px 50px rgba(6,46,103,.12)}.adm-dashboard-header h1{margin:12px 0 4px;color:var(--adm-azul-oscuro)}.adm-dashboard-header p{margin:0;color:var(--adm-muted)}.adm-admin-user{text-align:right;display:grid;gap:4px;color:var(--adm-muted)}.adm-admin-user strong{color:var(--adm-azul-oscuro)}.adm-admin-user a{color:var(--adm-rojo);font-weight:800}.adm-kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin:22px 0}.adm-kpi{background:rgba(255,255,255,.94);border:1px solid rgba(255,255,255,.92);border-radius:22px;padding:18px;box-shadow:0 18px 36px rgba(6,46,103,.10)}.adm-kpi span{display:block;color:var(--adm-muted);font-weight:800;font-size:13px}.adm-kpi strong{display:block;font-size:36px;color:var(--adm-azul-oscuro);margin-top:8px}.adm-table-card{padding:20px}.adm-table-title{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px}.adm-table-title h2{margin:0;color:var(--adm-azul-oscuro)}.adm-table-title input{max-width:320px}.adm-table-wrap{overflow:auto}.adm-table{width:100%;border-collapse:collapse;background:#fff;border-radius:16px;overflow:hidden}.adm-table th{background:#F1F6FB;color:#315673;text-align:left;font-size:12px;text-transform:uppercase;letter-spacing:.4px}.adm-table th,.adm-table td{padding:12px;border-bottom:1px solid #E8F0F7;vertical-align:middle}.adm-table td{font-size:13px}.adm-table small{color:var(--adm-muted)}.adm-badge{display:inline-flex;background:#EAF4FF;color:var(--adm-azul);border-radius:999px;padding:6px 10px;font-size:11px;font-weight:900}.adm-empty{text-align:center;color:var(--adm-muted);padding:28px!important}
@media (max-width: 980px){.adm-grid-instituciones{grid-template-columns:repeat(2,minmax(0,1fr))}.adm-layout-proceso{grid-template-columns:1fr}.adm-timeline-card{position:static}.adm-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.adm-dashboard-header{align-items:flex-start;flex-direction:column}.adm-admin-user{text-align:left}.adm-grid-form{grid-template-columns:1fr}}
@media (max-width: 620px){.adm-page{padding:16px}.adm-grid-instituciones{grid-template-columns:1fr}.adm-catalogo-header h1{font-size:32px}.adm-header-card{align-items:flex-start;flex-direction:column}.adm-form-card{padding:20px}.adm-code-input{width:52px;height:62px}.adm-kpi-grid{grid-template-columns:1fr}.adm-table-title{align-items:stretch;flex-direction:column}.adm-actions{justify-content:stretch;flex-direction:column}.adm-btn{width:100%}}

/* ==========================================================
   Mejora visual corporativa Fase 1 - Admisiones 2027-2028
   Mantiene la misma lógica del sistema original, solo mejora UI.
   ========================================================== */
:root{
  --adm-navy:#062A5C;
  --adm-navy-2:#073E7B;
  --adm-gold:#E9B221;
  --adm-gold-2:#F6CE58;
  --adm-cyan:#3E92AC;
  --adm-ink:#123153;
  --adm-soft:#F4F8FC;
  --adm-line:#DDE9F4;
  --adm-shadow-soft:0 22px 50px rgba(6,46,103,.12);
  --adm-shadow-strong:0 30px 72px rgba(6,46,103,.18);
}
html,body{
  background:
    radial-gradient(circle at 12% 8%, rgba(233,178,33,.30), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(62,146,172,.22), transparent 32%),
    linear-gradient(135deg,#FFF9E7 0%,#F8FBFF 45%,#EEF8FB 100%);
}
.adm-ui-corporativa{position:relative;overflow:hidden;padding-top:28px;}
.adm-bg-shape{position:fixed;pointer-events:none;border-radius:999px;filter:blur(.2px);opacity:.75;z-index:0;}
.adm-bg-shape-1{width:410px;height:410px;left:-190px;top:120px;background:linear-gradient(135deg,rgba(233,178,33,.22),rgba(233,178,33,0));}
.adm-bg-shape-2{width:460px;height:460px;right:-210px;top:170px;background:linear-gradient(135deg,rgba(62,146,172,.18),rgba(62,146,172,0));}
.adm-header-proceso,.adm-layout-proceso{position:relative;z-index:1;}
.adm-topbar-proceso{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;}
.adm-topbar-note{font-size:13px;font-weight:800;color:rgba(6,42,92,.66);background:rgba(255,255,255,.62);border:1px solid rgba(255,255,255,.9);border-radius:999px;padding:10px 14px;backdrop-filter:blur(10px);box-shadow:0 12px 30px rgba(6,46,103,.07);}
.adm-back{background:#fff;color:var(--adm-navy-2);border:1px solid rgba(0,84,166,.14);box-shadow:0 12px 28px rgba(6,46,103,.08);letter-spacing:-.1px;}
.adm-back:hover{transform:translateY(-1px);box-shadow:0 16px 34px rgba(6,46,103,.14);}
.adm-header-card-corporate{position:relative;overflow:hidden;padding:26px 28px;border-radius:32px;background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(255,255,255,.83));border:1px solid rgba(255,255,255,.95);box-shadow:var(--adm-shadow-strong);}
.adm-header-card-corporate:before{content:"";position:absolute;inset:0 0 auto 0;height:6px;background:linear-gradient(90deg,var(--adm-gold),var(--adm-navy-2),var(--adm-cyan));}
.adm-header-card-corporate:after{content:"";position:absolute;right:-90px;top:-120px;width:310px;height:310px;border-radius:50%;background:radial-gradient(circle,rgba(0,84,166,.12),transparent 68%);}
.adm-brand-logo-wrap{position:relative;z-index:1;width:138px;min-width:138px;height:104px;border-radius:24px;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 1px rgba(6,46,103,.05),0 18px 36px rgba(6,46,103,.10);}
.adm-logo-inst{width:112px;max-height:82px;object-fit:contain;}
.adm-header-text{position:relative;z-index:1;flex:1;min-width:0;}
.adm-eyebrow{display:inline-flex;align-items:center;gap:8px;color:#8A6700;text-transform:uppercase;letter-spacing:.9px;font-size:11px;font-weight:900;margin-bottom:6px;}
.adm-eyebrow:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--adm-gold);box-shadow:0 0 0 4px rgba(233,178,33,.18);}
.adm-header-card h1{font-size:36px;line-height:1.05;letter-spacing:-1.1px;color:var(--adm-navy);}
.adm-header-card p{font-size:16px;color:#5F7590;margin-top:8px;}
.adm-header-badges{display:flex;flex-wrap:wrap;gap:9px;margin-top:11px;}
.adm-header-badges span,.adm-header-card .adm-header-badges span{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:900;background:#FFF3C9;color:#765700;border:1px solid rgba(233,178,33,.32);}
.adm-header-badges span:nth-child(2),.adm-header-card .adm-header-badges span:nth-child(2){background:#EAF4FF;color:var(--adm-navy-2);border-color:#D6E8FA;}
.adm-header-status-card{position:relative;z-index:1;width:230px;border-radius:22px;background:linear-gradient(135deg,var(--adm-navy),var(--adm-navy-2));padding:18px;color:#fff;box-shadow:0 20px 40px rgba(0,84,166,.20);}
.adm-header-status-card small{display:block;opacity:.78;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;}
.adm-header-status-card strong{display:block;margin:7px 0 6px;font-size:20px;letter-spacing:.4px;}
.adm-header-status-card span{display:block!important;background:transparent!important;border:0!important;color:rgba(255,255,255,.78)!important;padding:0!important;font-size:12px!important;font-weight:700!important;line-height:1.45;}
.adm-layout-proceso{grid-template-columns:300px minmax(0,1fr);gap:24px;}
.adm-timeline-card,.adm-form-card{background:rgba(255,255,255,.88);border:1px solid rgba(255,255,255,.92);box-shadow:var(--adm-shadow-strong);backdrop-filter:blur(16px);}
.adm-timeline-card{border-radius:30px;padding:22px 22px 24px;}
.adm-timeline-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px;}
.adm-timeline-title-row h3{font-size:19px;line-height:1.2;margin:0;color:var(--adm-navy);}
.adm-timeline-count{white-space:nowrap;background:#EDF6FC;color:var(--adm-navy-2);border:1px solid #DAEAF4;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:900;}
.adm-timeline li{padding:13px 0 13px 4px;color:#6B7E94;font-size:15px;}
.adm-timeline li:not(:last-child):after{left:15px;top:42px;bottom:-12px;background:linear-gradient(180deg,#DCE8F3,#EDF3F9);}
.adm-timeline span{width:30px;height:30px;border:2px solid #DCE8F3;background:#fff;color:#A8BACB;box-shadow:0 8px 18px rgba(6,46,103,.06);}
.adm-timeline li.active{color:var(--adm-navy-2);font-weight:900;}
.adm-timeline li.active span{border-color:var(--adm-gold);background:linear-gradient(135deg,var(--adm-gold),var(--adm-gold-2));color:#fff;box-shadow:0 12px 24px rgba(233,178,33,.30);}
.adm-timeline li.done{color:#0B6B3E;}
.adm-timeline li.done span{border-color:#23A864;background:linear-gradient(135deg,#12824C,#34B979);box-shadow:0 12px 24px rgba(18,130,76,.22);}
.adm-mini-state{background:linear-gradient(135deg,#F8FBFE,#EFF7FD);border-color:#DDEBF5;border-radius:22px;padding:16px;margin-top:20px;}
.adm-mini-state strong{font-size:12px;text-transform:uppercase;letter-spacing:.4px;}
.adm-mini-state span{background:#E8F2FF;color:var(--adm-navy-2);padding:8px 13px;box-shadow:inset 0 0 0 1px rgba(0,84,166,.06);}
.adm-form-card{position:relative;overflow:hidden;border-radius:30px;padding:0;}
.adm-form-card:before{content:"";position:absolute;left:0;right:0;top:0;height:6px;background:linear-gradient(90deg,var(--adm-gold),var(--adm-navy-2),var(--adm-cyan));}
.adm-form-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 28px 20px;border-bottom:1px solid rgba(221,233,244,.86);background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(247,251,255,.86));}
.adm-form-toolbar strong{display:block;color:var(--adm-navy);font-size:18px;letter-spacing:-.2px;}
.adm-form-toolbar small{display:block;color:#6B7E94;font-weight:700;margin-top:4px;line-height:1.35;}
.adm-lock-pill{white-space:nowrap;border-radius:999px;background:#EAF8F1;color:#0B6B3E;border:1px solid #CFECDB;padding:10px 13px;font-size:12px;font-weight:900;}
.adm-form-card>.adm-alert,.adm-form-card>.adm-step{margin-left:28px;margin-right:28px;}
.adm-form-card>.adm-alert{margin-top:22px;}
.adm-form-card>.adm-step{padding:26px 0 30px;}
.adm-step h2{position:relative;font-size:31px;letter-spacing:-.8px;line-height:1.12;color:var(--adm-navy);margin-bottom:12px;}
.adm-step h2:after{content:"";display:block;width:62px;height:4px;border-radius:999px;background:linear-gradient(90deg,var(--adm-gold),var(--adm-cyan));margin-top:12px;}
.adm-lead,.adm-info-note{color:#60758C;font-size:15.5px;line-height:1.6;}
.adm-consent-box{position:relative;background:linear-gradient(135deg,#F8FBFF,#FFFFFF);border:1px solid #DBE8F4;border-radius:24px;padding:24px;box-shadow:0 16px 34px rgba(6,46,103,.07);}
.adm-consent-box:before{content:"";position:absolute;left:0;top:22px;bottom:22px;width:5px;border-radius:0 999px 999px 0;background:var(--adm-gold);}
.adm-check-label{color:var(--adm-navy);font-size:16px;}
.adm-check-label input{accent-color:var(--adm-navy-2);}
.adm-pdf-link{color:var(--adm-navy-2);text-decoration:none;gap:8px;align-items:center;}
.adm-pdf-link:before{content:"📄";font-size:16px;}
.adm-pdf-link:hover{text-decoration:underline;}
.adm-grid-form{gap:18px 18px;}
.adm-grid-form label{color:#244763;font-size:13px;letter-spacing:.1px;}
.adm-grid-form input,.adm-grid-form select,.adm-admin-form input,.adm-admin-form select,.adm-table-title input{height:50px;border-radius:16px;border-color:#DCE8F3;background:#fff;box-shadow:0 8px 18px rgba(6,46,103,.035);transition:border-color .16s ease, box-shadow .16s ease, transform .16s ease;}
.adm-grid-form input:focus,.adm-grid-form select:focus,.adm-admin-form input:focus,.adm-admin-form select:focus,.adm-table-title input:focus{border-color:var(--adm-navy-2);box-shadow:0 0 0 4px rgba(0,84,166,.10),0 12px 24px rgba(6,46,103,.07);}
.adm-horarios-col{background:linear-gradient(135deg,#F8FBFE,#FFFFFF);border-color:#DCE8F3;border-radius:22px;padding:18px;}
.adm-slot{border-color:#D4E5F2;border-radius:14px;box-shadow:0 8px 18px rgba(6,46,103,.05);}
.adm-slot:hover{transform:translateY(-1px);border-color:var(--adm-navy-2);}
.adm-slot.selected{background:linear-gradient(135deg,var(--adm-navy-2),var(--adm-cyan));}
.adm-actions{padding-top:2px;}
.adm-btn{min-height:46px;letter-spacing:.1px;}
.adm-btn-primary{background:linear-gradient(135deg,var(--adm-navy-2),var(--adm-cyan));box-shadow:0 16px 32px rgba(0,84,166,.22);}
.adm-btn-primary:hover{box-shadow:0 20px 38px rgba(0,84,166,.30);}
.adm-btn-light{background:#F2F7FC;color:var(--adm-navy-2);}
.adm-code-input{background:#fff;border-color:#DCE8F3;box-shadow:0 14px 26px rgba(6,46,103,.08);}
.adm-final-icon{background:linear-gradient(135deg,#12824C,#34B979);box-shadow:0 20px 44px rgba(18,130,76,.22);}
.adm-catalogo-header h1{color:var(--adm-navy);}
.adm-card-institucion{border:1px solid rgba(255,255,255,.28);}
.adm-card-institucion:hover{transform:translateY(-5px) scale(1.01);}
@media (max-width: 980px){
  .adm-topbar-proceso{align-items:flex-start;flex-direction:column;}
  .adm-header-card-corporate{align-items:flex-start;flex-direction:column;}
  .adm-header-status-card{width:100%;}
  .adm-layout-proceso{grid-template-columns:1fr;}
  .adm-timeline-card{position:static;}
  .adm-timeline{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 12px;}
  .adm-timeline li:not(:last-child):after{display:none;}
}
@media (max-width: 620px){
  .adm-ui-corporativa{padding-top:16px;}
  .adm-topbar-note{display:none;}
  .adm-brand-logo-wrap{width:118px;min-width:118px;height:92px;}
  .adm-header-card h1{font-size:30px;}
  .adm-form-toolbar{align-items:flex-start;flex-direction:column;padding:22px 20px 18px;}
  .adm-form-card>.adm-alert,.adm-form-card>.adm-step{margin-left:20px;margin-right:20px;}
  .adm-step h2{font-size:27px;}
  .adm-timeline{grid-template-columns:1fr;}
  .adm-lock-pill{white-space:normal;}
}

/* ============================================================
   UI PROCESO ADMISIONES - ESTILO SIMILAR A MATRICULAS EN LINEA
   Ajuste visual 2027-2028: cabecera blanca + franja azul + cards
   ============================================================ */
.adm-ui-corporativa.adm-proceso-page{
  padding:22px 58px 42px;
  background:
    radial-gradient(circle at 0% 0%, rgba(233,178,33,.38) 0, rgba(233,178,33,.18) 18%, transparent 38%),
    radial-gradient(circle at 100% 16%, rgba(62,146,172,.23) 0, rgba(62,146,172,.13) 24%, transparent 46%),
    linear-gradient(135deg,#fff7d9 0%,#f7fbff 46%,#edf9fb 100%);
}
.adm-ui-corporativa .adm-bg-shape{display:none;}
.adm-ui-corporativa .adm-header-matricula-style,
.adm-ui-corporativa .adm-layout-matricula{max-width:1180px;}
.adm-ui-corporativa .adm-topbar-matricula{
  justify-content:flex-start;
  margin-bottom:12px;
}
.adm-ui-corporativa .adm-topbar-matricula .adm-back{
  background:rgba(255,255,255,.92);
  color:#0054A6;
  border:1px solid rgba(0,84,166,.16);
  border-radius:999px;
  padding:11px 17px;
  font-size:15px;
  font-weight:900;
  box-shadow:0 12px 26px rgba(0,84,166,.09);
}
.adm-ui-corporativa .adm-hero-matricula{
  min-height:126px;
  margin-top:0;
  padding:30px 28px 30px 34px;
  border:0;
  border-radius:24px;
  background:rgba(255,255,255,.95);
  box-shadow:0 20px 48px rgba(0,84,166,.12);
  overflow:hidden;
  gap:28px;
}
.adm-ui-corporativa .adm-hero-matricula:before{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  width:10px;
  height:auto;
  background:linear-gradient(180deg,#E9B221 0%,#0054A6 56%,#3E92AC 100%);
  border-radius:24px 0 0 24px;
}
.adm-ui-corporativa .adm-hero-matricula:after{
  content:"";
  position:absolute;
  left:-86px;
  top:-94px;
  width:258px;
  height:258px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(233,178,33,.18) 0,rgba(233,178,33,.10) 38%,rgba(0,84,166,.07) 39%,transparent 70%);
}
.adm-ui-corporativa .adm-brand-logo-matricula{
  position:relative;
  z-index:2;
  width:132px;
  min-width:132px;
  height:98px;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.adm-ui-corporativa .adm-brand-logo-matricula .adm-logo-inst{
  width:125px;
  max-height:90px;
  object-fit:contain;
  filter:drop-shadow(0 8px 14px rgba(6,46,103,.09));
}
.adm-ui-corporativa .adm-header-text-matricula{z-index:2;}
.adm-ui-corporativa .adm-header-text-matricula h1{
  font-size:25px;
  line-height:1.15;
  letter-spacing:-.35px;
  color:#0054A6;
  margin:0 0 8px;
  font-weight:900;
}
.adm-ui-corporativa .adm-header-text-matricula p{
  margin:0;
  font-size:13px;
  color:#506B8A;
  font-weight:900;
}
.adm-ui-corporativa .adm-header-badges-matricula{margin-top:13px;}
.adm-ui-corporativa .adm-header-badges-matricula span{
  padding:7px 13px;
  border-radius:999px;
  font-size:11px;
  letter-spacing:.1px;
  background:#FFF2BE!important;
  color:#705000!important;
  border:1px solid rgba(233,178,33,.46)!important;
}
.adm-ui-corporativa .adm-header-badges-matricula span:nth-child(2){
  background:#EAF4FF!important;
  color:#0054A6!important;
  border-color:#D5E7F8!important;
}
.adm-ui-corporativa .adm-header-action{
  position:relative;
  z-index:2;
  margin-left:auto;
  align-self:center;
  text-decoration:none;
  border:0;
  border-radius:999px;
  padding:15px 26px;
  background:linear-gradient(135deg,#E02020,#B70F1C);
  color:#fff;
  font-weight:900;
  box-shadow:0 18px 32px rgba(183,15,28,.22);
  white-space:nowrap;
}
.adm-ui-corporativa .adm-header-action:before{content:"← ";font-weight:900;}
.adm-ui-corporativa .adm-process-strip{
  position:relative;
  overflow:hidden;
  min-height:98px;
  margin-top:20px;
  padding:17px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  border-radius:24px;
  background:linear-gradient(110deg,#0054A6 0%,#0874BE 56%,#5EB3D1 100%);
  box-shadow:0 18px 40px rgba(0,84,166,.19);
}
.adm-ui-corporativa .adm-process-strip:before{
  content:"";
  position:absolute;
  left:-58px;
  top:-72px;
  width:200px;
  height:200px;
  border-radius:50%;
  background:rgba(233,178,33,.22);
}
.adm-ui-corporativa .adm-process-strip:after{
  content:"";
  position:absolute;
  right:-62px;
  bottom:-92px;
  width:220px;
  height:220px;
  border-radius:50%;
  background:rgba(255,255,255,.15);
}
.adm-ui-corporativa .adm-strip-left,
.adm-ui-corporativa .adm-strip-right{position:relative;z-index:1;display:flex;align-items:center;gap:14px;}
.adm-ui-corporativa .adm-strip-chip{
  display:inline-flex;
  align-items:center;
  gap:7px;
  border-radius:999px;
  padding:10px 17px;
  background:#E9B221;
  color:#002B5F;
  font-size:12px;
  font-weight:900;
  letter-spacing:.3px;
  box-shadow:0 10px 22px rgba(0,0,0,.08);
}
.adm-ui-corporativa .adm-strip-user{
  display:inline-flex;
  align-items:center;
  min-height:50px;
  border-radius:17px;
  padding:10px 20px;
  background:rgba(255,255,255,.12);
  color:#fff;
  border:1px solid rgba(255,255,255,.25);
  font-size:13px;
  font-weight:900;
  letter-spacing:.15px;
}
.adm-ui-corporativa .adm-strip-right{
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  min-width:118px;
  min-height:66px;
  border-left:5px solid #E9B221;
  padding:10px 18px;
  border-radius:18px;
  color:#fff;
  background:rgba(255,255,255,.17);
  border-top:1px solid rgba(255,255,255,.25);
  border-right:1px solid rgba(255,255,255,.25);
  border-bottom:1px solid rgba(255,255,255,.25);
}
.adm-ui-corporativa .adm-strip-right strong{font-size:25px;line-height:1;}
.adm-ui-corporativa .adm-strip-right span{font-size:10px;font-weight:900;letter-spacing:.5px;}
.adm-ui-corporativa .adm-layout-matricula{
  grid-template-columns:300px minmax(0,1fr);
  gap:24px;
  margin-top:30px;
}
.adm-ui-corporativa .adm-layout-matricula .adm-timeline-card,
.adm-ui-corporativa .adm-layout-matricula .adm-form-card{
  border:1px solid rgba(0,84,166,.10);
  background:rgba(255,255,255,.88);
  box-shadow:0 22px 46px rgba(0,84,166,.10);
}
.adm-ui-corporativa .adm-layout-matricula .adm-timeline-card{
  border-radius:24px;
  padding:24px 20px;
  overflow:hidden;
}
.adm-ui-corporativa .adm-layout-matricula .adm-timeline-card:before{
  content:"";
  display:block;
  height:9px;
  margin:-24px -20px 20px;
  background:linear-gradient(90deg,#1CB879 0%,#0054A6 60%,#3E92AC 100%);
}
.adm-ui-corporativa .adm-timeline-title-row h3{
  font-size:20px;
  color:#00306B;
}
.adm-ui-corporativa .adm-timeline-count{
  background:#EAF4FF;
  color:#0054A6;
}
.adm-ui-corporativa .adm-timeline li{
  padding:13px 0;
  font-size:15px;
  color:#64758C;
}
.adm-ui-corporativa .adm-timeline li.active{
  color:#0054A6;
}
.adm-ui-corporativa .adm-timeline li.active span{
  background:#E9B221;
  border-color:#E9B221;
  box-shadow:0 10px 20px rgba(233,178,33,.26);
}
.adm-ui-corporativa .adm-mini-state{
  border-radius:17px;
  background:#F4FAFF;
  border-color:#D5E8F7;
}
.adm-ui-corporativa .adm-layout-matricula .adm-form-card{
  border-radius:24px;
  overflow:hidden;
}
.adm-ui-corporativa .adm-layout-matricula .adm-form-card:before{
  height:9px;
  background:linear-gradient(90deg,#1CB879 0%,#0054A6 55%,#3E92AC 100%);
}
.adm-ui-corporativa .adm-form-toolbar{
  padding:23px 28px 21px;
  background:linear-gradient(135deg,#FFFFFF 0%,#F4FAFF 100%);
  border-bottom:1px solid #DFEAF4;
}
.adm-ui-corporativa .adm-form-toolbar .adm-eyebrow{
  color:#705000;
}
.adm-ui-corporativa .adm-form-toolbar strong{
  color:#00306B;
  font-size:20px;
}
.adm-ui-corporativa .adm-lock-pill{
  background:#EAF8F0;
  color:#087044;
  border-color:#CDEDDC;
}
.adm-ui-corporativa .adm-step h2{
  color:#00306B;
  font-size:30px;
}
.adm-ui-corporativa .adm-step h2:after{
  width:54px;
  height:4px;
  background:linear-gradient(90deg,#E9B221,#1CB879);
}
.adm-ui-corporativa .adm-consent-box{
  border-radius:22px;
  background:#fff;
  border:1px solid #D9E8F6;
  box-shadow:0 18px 36px rgba(0,84,166,.08);
}
.adm-ui-corporativa .adm-consent-box:before{
  background:#E9B221;
}
.adm-ui-corporativa .adm-btn-primary{
  background:linear-gradient(135deg,#0054A6,#3E92AC);
  color:#fff;
  box-shadow:0 17px 32px rgba(0,84,166,.22);
}
.adm-ui-corporativa .adm-btn-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 22px 40px rgba(0,84,166,.28);
}
@media (max-width:980px){
  .adm-ui-corporativa.adm-proceso-page{padding:18px 20px 34px;}
  .adm-ui-corporativa .adm-hero-matricula{align-items:flex-start;flex-direction:column;padding:26px 24px;}
  .adm-ui-corporativa .adm-header-action{margin-left:0;}
  .adm-ui-corporativa .adm-process-strip{align-items:flex-start;flex-direction:column;}
  .adm-ui-corporativa .adm-layout-matricula{grid-template-columns:1fr;}
}
@media (max-width:620px){
  .adm-ui-corporativa.adm-proceso-page{padding:14px 14px 26px;}
  .adm-ui-corporativa .adm-brand-logo-matricula{width:112px;min-width:112px;height:76px;}
  .adm-ui-corporativa .adm-brand-logo-matricula .adm-logo-inst{width:108px;max-height:74px;}
  .adm-ui-corporativa .adm-header-text-matricula h1{font-size:22px;}
  .adm-ui-corporativa .adm-strip-left{align-items:flex-start;flex-direction:column;}
  .adm-ui-corporativa .adm-strip-user{width:100%;}
  .adm-ui-corporativa .adm-form-toolbar{padding:22px 20px;}
}


/* ============================================================
   Ajustes solicitados 2026-07-01: logo estrella, sin expediente,
   sin contador de aspirante y mejor responsive móvil.
   ============================================================ */
.adm-ui-corporativa .adm-hero-matricula{
  align-items:center;
}
.adm-ui-corporativa .adm-brand-logo-matricula{
  width:134px;
  min-width:134px;
  height:104px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.adm-ui-corporativa .adm-brand-logo-matricula .adm-logo-estrella,
.adm-ui-corporativa .adm-brand-logo-matricula .adm-logo-inst{
  width:108px;
  max-height:90px;
  object-fit:contain;
}
.adm-ui-corporativa .adm-header-badges-matricula span:nth-child(2){display:none!important;}
.adm-ui-corporativa .adm-header-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
}
.adm-ui-corporativa .adm-header-action:before{content:none!important;}
.adm-ui-corporativa .adm-header-action-home{display:none;}
.adm-ui-corporativa .adm-process-strip{
  min-height:78px;
  justify-content:flex-start;
}
.adm-ui-corporativa .adm-strip-left{
  width:100%;
  flex-wrap:wrap;
}
.adm-ui-corporativa .adm-strip-right{display:none!important;}

@media (max-width:980px){
  .adm-ui-corporativa .adm-hero-matricula{
    position:relative;
    display:grid;
    grid-template-columns:132px minmax(0,1fr) auto;
    align-items:center;
    gap:20px;
    padding:24px 24px 24px 30px;
  }
  .adm-ui-corporativa .adm-header-action{
    margin-left:0;
    justify-self:end;
    align-self:center;
  }
  .adm-ui-corporativa .adm-process-strip{
    align-items:center;
    flex-direction:row;
  }
}

@media (max-width:620px){
  .adm-ui-corporativa.adm-proceso-page{
    padding:12px 10px 24px;
    overflow-x:hidden;
  }
  .adm-ui-corporativa .adm-topbar-matricula{display:none!important;}
  .adm-ui-corporativa .adm-header-matricula-style,
  .adm-ui-corporativa .adm-layout-matricula{width:100%;max-width:100%;}
  .adm-ui-corporativa .adm-hero-matricula{
    grid-template-columns:90px minmax(0,1fr) 52px;
    min-height:auto;
    padding:18px 14px 20px 18px;
    gap:12px;
    border-radius:22px;
  }
  .adm-ui-corporativa .adm-hero-matricula:before{width:7px;border-radius:22px 0 0 22px;}
  .adm-ui-corporativa .adm-hero-matricula:after{left:-130px;top:-135px;width:240px;height:240px;}
  .adm-ui-corporativa .adm-brand-logo-matricula{
    width:82px!important;
    min-width:82px!important;
    height:82px!important;
    grid-column:1;
    grid-row:1;
  }
  .adm-ui-corporativa .adm-brand-logo-matricula .adm-logo-estrella,
  .adm-ui-corporativa .adm-brand-logo-matricula .adm-logo-inst{
    width:70px!important;
    max-height:70px!important;
  }
  .adm-ui-corporativa .adm-header-text-matricula{
    grid-column:2;
    grid-row:1;
    min-width:0;
  }
  .adm-ui-corporativa .adm-header-text-matricula h1{
    font-size:21px;
    line-height:1.12;
    margin-bottom:6px;
  }
  .adm-ui-corporativa .adm-header-text-matricula p{
    font-size:12px;
    line-height:1.25;
  }
  .adm-ui-corporativa .adm-header-badges-matricula{margin-top:10px;}
  .adm-ui-corporativa .adm-header-badges-matricula span{
    font-size:10.5px;
    padding:6px 11px;
  }
  .adm-ui-corporativa .adm-header-action{
    grid-column:3;
    grid-row:1;
    justify-self:end;
    align-self:start;
    width:48px;
    height:48px;
    min-width:48px;
    padding:0;
    border-radius:50%;
    box-shadow:0 14px 26px rgba(183,15,28,.25);
  }
  .adm-ui-corporativa .adm-header-action-arrow,
  .adm-ui-corporativa .adm-header-action-text{display:none!important;}
  .adm-ui-corporativa .adm-header-action-home{
    display:block;
    font-size:25px;
    line-height:1;
    color:#fff;
    transform:translateY(-1px);
  }
  .adm-ui-corporativa .adm-process-strip{
    margin-top:16px;
    min-height:auto;
    padding:16px;
    border-radius:22px;
  }
  .adm-ui-corporativa .adm-strip-left{
    flex-direction:row;
    align-items:center;
    gap:10px;
  }
  .adm-ui-corporativa .adm-strip-chip{
    font-size:11px;
    padding:9px 13px;
  }
  .adm-ui-corporativa .adm-strip-user{
    width:auto;
    min-height:42px;
    font-size:11.5px;
    padding:9px 13px;
  }
  .adm-ui-corporativa .adm-layout-matricula{
    margin-top:18px;
    gap:16px;
  }
  .adm-ui-corporativa .adm-layout-matricula .adm-timeline-card,
  .adm-ui-corporativa .adm-layout-matricula .adm-form-card{border-radius:22px;}
  .adm-ui-corporativa .adm-timeline-title-row{gap:10px;}
  .adm-ui-corporativa .adm-timeline-title-row h3{font-size:18px;}
  .adm-ui-corporativa .adm-form-toolbar{padding:19px 16px;}
  .adm-ui-corporativa .adm-form-card>.adm-alert,
  .adm-ui-corporativa .adm-form-card>.adm-step{margin-left:16px;margin-right:16px;}
  .adm-ui-corporativa .adm-step h2{font-size:25px;}
  .adm-ui-corporativa .adm-consent-box{padding:18px 16px;}
  .adm-ui-corporativa .adm-check-label{font-size:14px;}
}

@media (max-width:390px){
  .adm-ui-corporativa .adm-hero-matricula{grid-template-columns:76px minmax(0,1fr) 46px;gap:10px;padding:16px 12px 18px 16px;}
  .adm-ui-corporativa .adm-brand-logo-matricula{width:70px!important;min-width:70px!important;height:70px!important;}
  .adm-ui-corporativa .adm-brand-logo-matricula .adm-logo-estrella,
  .adm-ui-corporativa .adm-brand-logo-matricula .adm-logo-inst{width:62px!important;max-height:62px!important;}
  .adm-ui-corporativa .adm-header-text-matricula h1{font-size:19px;}
  .adm-ui-corporativa .adm-header-action{width:44px;height:44px;min-width:44px;}
  .adm-ui-corporativa .adm-header-action-home{font-size:23px;}
  .adm-ui-corporativa .adm-strip-left{flex-direction:column;align-items:flex-start;}
}


/* ============================================================
   Ajuste botón Catálogo 2026-07-01
   - Desktop: fondo rojo completo con texto e icono blancos.
   - Móvil/tablet: solo icono de casa, alineado a la derecha.
   ============================================================ */
.adm-ui-corporativa .adm-header-action{
  background:linear-gradient(135deg,#E01B23 0%,#B90F1C 100%)!important;
  color:#fff!important;
  border:0!important;
  border-radius:999px!important;
  padding:15px 28px!important;
  min-height:54px;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  font-size:17px!important;
  line-height:1!important;
  font-weight:900!important;
  text-decoration:none!important;
  box-shadow:0 18px 34px rgba(183,15,28,.26)!important;
}
.adm-ui-corporativa .adm-header-action:before{content:none!important;display:none!important;}
.adm-ui-corporativa .adm-header-action span{
  background:transparent!important;
  color:#fff!important;
  border:0!important;
  border-radius:0!important;
  padding:0!important;
  margin:0!important;
  box-shadow:none!important;
  font:inherit!important;
  line-height:1!important;
}
.adm-ui-corporativa .adm-header-action-arrow,
.adm-ui-corporativa .adm-header-action-text{
  display:inline-flex!important;
  align-items:center!important;
  color:#fff!important;
}
.adm-ui-corporativa .adm-header-action-arrow{font-size:18px!important;}
.adm-ui-corporativa .adm-header-action-home{display:none!important;}
.adm-ui-corporativa .adm-header-action-home svg{
  width:22px;
  height:22px;
  display:block;
  fill:currentColor;
}
.adm-ui-corporativa .adm-header-action:hover{
  transform:translateY(-1px);
  box-shadow:0 22px 42px rgba(183,15,28,.32)!important;
}

@media (max-width:980px){
  .adm-ui-corporativa .adm-header-action{
    justify-self:end!important;
    align-self:start!important;
    margin-left:auto!important;
    width:50px!important;
    height:50px!important;
    min-width:50px!important;
    min-height:50px!important;
    padding:0!important;
    border-radius:50%!important;
  }
  .adm-ui-corporativa .adm-header-action-arrow,
  .adm-ui-corporativa .adm-header-action-text{
    display:none!important;
  }
  .adm-ui-corporativa .adm-header-action-home{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    color:#fff!important;
    width:100%!important;
    height:100%!important;
  }
  .adm-ui-corporativa .adm-header-action-home svg{
    width:23px!important;
    height:23px!important;
  }
}

@media (max-width:420px){
  .adm-ui-corporativa .adm-header-action{
    width:46px!important;
    height:46px!important;
    min-width:46px!important;
    min-height:46px!important;
  }
  .adm-ui-corporativa .adm-header-action-home svg{
    width:21px!important;
    height:21px!important;
  }
}

/* ============================================================
   Ajustes Fase 1 - 2026-07-02
   Consentimiento en modal, validaciones y botones verdes.
   ============================================================ */
.adm-ui-corporativa .adm-btn-primary{
  background:linear-gradient(135deg,#12824C 0%,#21A665 54%,#3AC17F 100%)!important;
  color:#fff!important;
  box-shadow:0 17px 32px rgba(18,130,76,.26)!important;
}
.adm-ui-corporativa .adm-btn-primary:hover:not(:disabled){
  transform:translateY(-1px);
  box-shadow:0 22px 42px rgba(18,130,76,.34)!important;
}
.adm-ui-corporativa .adm-btn-primary:disabled{
  background:linear-gradient(135deg,#8DB9A1,#A7CCB8)!important;
  box-shadow:none!important;
  opacity:.72;
}
.adm-ui-corporativa .adm-consent-box .adm-pdf-link{display:none!important;}
.adm-consent-inline-link{
  color:#0054A6;
  font-weight:900;
  text-decoration:underline;
  text-underline-offset:3px;
  cursor:pointer;
}
.adm-consent-inline-link:hover{color:#00306B;}
.adm-field-error{
  border-color:#E02020!important;
  box-shadow:0 0 0 4px rgba(224,27,35,.10)!important;
}
.adm-field-loading{
  background-image:linear-gradient(90deg,rgba(18,130,76,.08),rgba(18,130,76,.14),rgba(18,130,76,.08));
  background-size:220% 100%;
  animation:admFieldLoading 1.1s linear infinite;
}
@keyframes admFieldLoading{0%{background-position:220% 0}100%{background-position:-220% 0}}
body.adm-modal-open{overflow:hidden;}
.adm-modal-pdf[hidden]{display:none!important;}
.adm-modal-pdf{
  position:fixed;
  inset:0;
  z-index:99999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
}
.adm-modal-pdf-backdrop{
  position:absolute;
  inset:0;
  background:rgba(6,42,92,.64);
  backdrop-filter:blur(6px);
}
.adm-modal-pdf-dialog{
  position:relative;
  z-index:1;
  width:min(980px,96vw);
  height:min(88vh,820px);
  background:#fff;
  border-radius:24px;
  box-shadow:0 30px 80px rgba(0,0,0,.32);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  border:1px solid rgba(255,255,255,.7);
}
.adm-modal-pdf-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding:18px 20px;
  background:linear-gradient(135deg,#FFFFFF 0%,#F3FAFF 100%);
  border-bottom:1px solid #DDE9F4;
}
.adm-modal-pdf-header h3{
  margin:4px 0 0;
  color:#00306B;
  font-size:22px;
  line-height:1.15;
}
.adm-modal-pdf-close{
  width:44px;
  height:44px;
  min-width:44px;
  border:0;
  border-radius:50%;
  background:linear-gradient(135deg,#E01B23,#B90F1C);
  color:#fff;
  font-size:28px;
  line-height:1;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 12px 26px rgba(183,15,28,.22);
}
.adm-modal-pdf iframe{
  width:100%;
  height:100%;
  border:0;
  background:#F6FAFD;
}
@media (max-width:620px){
  .adm-modal-pdf{padding:10px;align-items:stretch;}
  .adm-modal-pdf-dialog{width:100%;height:94vh;border-radius:18px;}
  .adm-modal-pdf-header{padding:14px 14px;}
  .adm-modal-pdf-header h3{font-size:18px;}
  .adm-modal-pdf-close{width:40px;height:40px;min-width:40px;font-size:25px;}
}

/* ============================================================
   Visor PDF sin controles nativos - Consentimiento admisiones
   Renderiza el PDF en canvas para lectura únicamente.
   ============================================================ */
.adm-modal-pdf-body{
  flex:1;
  min-height:0;
  overflow:auto;
  padding:14px;
  background:#DFE7EE;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  user-select:none;
  -webkit-user-select:none;
}
.adm-pdf-pages{
  width:100%;
  max-width:980px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
}
.adm-pdf-page{
  width:100%;
  display:flex;
  justify-content:center;
  background:#fff;
  box-shadow:0 8px 18px rgba(23,50,77,.16);
}
.adm-pdf-canvas{
  display:block;
  max-width:100%;
  height:auto;
  background:#fff;
  user-select:none;
  -webkit-user-select:none;
}
.adm-pdf-loading{
  max-width:620px;
  margin:24px auto;
  padding:16px;
  border-radius:16px;
  background:#fff;
  color:#425B72;
  font-size:14px;
  font-weight:800;
  text-align:center;
  box-shadow:0 8px 18px rgba(23,50,77,.10);
}
.adm-pdf-loading.is-error{
  color:#B42318;
  background:#FFF3F2;
}
.adm-pdf-note{
  margin:0;
  padding:10px 14px;
  background:#F8FBFF;
  border-top:1px solid #DCE8F1;
  color:#60738A;
  font-size:12px;
  font-weight:700;
  text-align:center;
}
.adm-modal-pdf iframe{display:none!important;}
@media print{
  .adm-modal-pdf{display:none!important;}
}
@media (max-width:620px){
  .adm-modal-pdf-body{padding:10px;}
  .adm-pdf-pages{gap:10px;}
  .adm-pdf-note{font-size:11px;}
}


/* ============================================================
   Corrección visor PDF 2026-07-02
   Evita área negra y mejora presentación de lectura protegida.
   ============================================================ */
.adm-modal-pdf-backdrop{
  background:rgba(6,42,92,.70)!important;
}
.adm-modal-pdf-dialog{
  width:min(920px,94vw)!important;
  height:min(90vh,830px)!important;
  border-radius:22px!important;
  background:#FFFFFF!important;
}
.adm-modal-pdf-body{
  background:linear-gradient(135deg,#EEF4F9 0%,#F8FBFE 100%)!important;
  padding:18px!important;
}
.adm-pdf-pages{
  max-width:100%!important;
  gap:18px!important;
}
.adm-pdf-page{
  width:auto!important;
  max-width:100%!important;
  padding:0!important;
  background:#FFFFFF!important;
  border:1px solid #D8E5EF;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 14px 32px rgba(6,42,92,.16)!important;
}
.adm-pdf-canvas{
  background:#FFFFFF!important;
  display:block!important;
  max-width:100%!important;
  height:auto!important;
}
.adm-pdf-note{
  background:#FFFFFF!important;
  color:#496179!important;
}
@media (max-width:620px){
  .adm-modal-pdf-dialog{width:100%!important;height:94vh!important;border-radius:18px!important;}
  .adm-modal-pdf-body{padding:10px!important;}
  .adm-pdf-page{border-radius:8px;}
}

/* ============================================================
   Validación aspirante existente - modal resumen 7 etapas
   ============================================================ */
.adm-btn-blocked{
  background:linear-gradient(135deg,#D92D20,#B42318)!important;
  box-shadow:none!important;
}
.adm-modal-aspirante[hidden]{display:none!important;}
.adm-modal-aspirante{
  position:fixed;
  inset:0;
  z-index:100000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
}
.adm-modal-aspirante-backdrop{
  position:absolute;
  inset:0;
  background:rgba(6,42,92,.72);
  backdrop-filter:blur(7px);
}
.adm-modal-aspirante-dialog{
  position:relative;
  z-index:1;
  width:min(980px,94vw);
  max-height:90vh;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border-radius:26px;
  background:#FFFFFF;
  box-shadow:0 32px 90px rgba(0,0,0,.28);
  border:1px solid rgba(255,255,255,.9);
}
.adm-modal-aspirante-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  padding:22px 24px;
  background:linear-gradient(135deg,#FFFFFF 0%,#F4FAFF 100%);
  border-bottom:1px solid #DDE9F4;
}
.adm-modal-aspirante-header h3{
  margin:4px 0 6px;
  color:#00306B;
  font-size:23px;
  line-height:1.15;
}
.adm-modal-aspirante-header p{
  margin:0;
  color:#60758C;
  font-size:14px;
  font-weight:700;
  line-height:1.45;
}
.adm-modal-aspirante-close{
  width:44px;
  height:44px;
  min-width:44px;
  border:0;
  border-radius:50%;
  background:#D81324;
  color:#fff;
  font-size:30px;
  line-height:1;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 14px 28px rgba(216,19,36,.25);
}
.adm-modal-aspirante-body{
  overflow:auto;
  padding:22px;
  background:linear-gradient(135deg,#F7FBFE,#EFF6FB);
}
.adm-aspirante-warning{
  display:grid;
  gap:5px;
  margin-bottom:18px;
  padding:15px 16px;
  border-radius:18px;
  background:#FFF2F1;
  color:#A61B12;
  border:1px solid #F5C8C4;
}
.adm-aspirante-warning strong{font-size:15px;}
.adm-aspirante-warning span{font-size:13px;font-weight:700;line-height:1.45;}
.adm-aspirante-warning-continuar{
  background:#EFFAF5;
  color:#0B6B3E;
  border-color:#BCE9D0;
}
.adm-aspirante-warning-continuar b{color:#075E39;}

.adm-aspirante-warning-finalizado{
  position:relative;
  padding-left:58px;
  background:linear-gradient(135deg,#EEF8FF 0%,#F8FCFF 100%);
  color:#00306B;
  border-color:#BFDDF4;
  box-shadow:0 14px 30px rgba(0,84,166,.08);
}
.adm-aspirante-warning-finalizado:before{
  content:"✓";
  position:absolute;
  left:17px;
  top:50%;
  transform:translateY(-50%);
  width:28px;
  height:28px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#12824C,#31B574);
  color:#fff;
  font-weight:900;
  box-shadow:0 10px 20px rgba(18,130,76,.20);
}
.adm-aspirante-warning-finalizado strong{color:#00306B;}
.adm-aspirante-warning-finalizado span{color:#244967;}
.adm-aspirante-warning-bloqueado{
  background:#FFF8E8;
  color:#765700;
  border-color:#F0D99B;
}
.adm-aspirante-warning-bloqueado strong{color:#765700;}
.adm-btn-continuar-proceso{
  background:linear-gradient(135deg,#12824C 0%,#21A665 54%,#3AC17F 100%)!important;
  color:#fff!important;
  box-shadow:0 17px 32px rgba(18,130,76,.26)!important;
}
.adm-resumen-head{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-bottom:16px;
}
.adm-resumen-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:16px;
  margin-bottom:16px;
}
.adm-resumen-grid section,
.adm-etapas-resumen{
  background:#FFFFFF;
  border:1px solid #DDE9F4;
  border-radius:20px;
  padding:16px;
  box-shadow:0 14px 30px rgba(6,42,92,.07);
}
.adm-resumen-grid h4,
.adm-etapas-resumen h4{
  margin:0 0 12px;
  color:#00306B;
  font-size:17px;
}
.adm-resumen-item{
  display:grid;
  gap:4px;
  padding:9px 0;
  border-bottom:1px solid #EEF3F8;
}
.adm-resumen-item:last-child{border-bottom:0;}
.adm-resumen-item span{
  color:#60758C;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.45px;
  font-weight:900;
}
.adm-resumen-item strong{
  color:#173B68;
  font-size:14px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.adm-etapas-resumen ol{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
}
.adm-etapas-resumen li{
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  gap:10px;
  align-items:start;
  padding:10px;
  border:1px solid #E4EEF7;
  border-radius:16px;
  background:#F8FBFE;
}
.adm-etapas-resumen li>span{
  width:34px;
  height:34px;
  border-radius:50%;
  background:linear-gradient(135deg,#12824C,#34B979);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
}
.adm-etapas-resumen strong{
  display:block;
  color:#00306B;
  font-size:14px;
}
.adm-etapas-resumen em{
  display:inline-flex;
  margin:5px 0;
  padding:5px 9px;
  border-radius:999px;
  background:#EAF4FF;
  color:#0054A6;
  font-style:normal;
  font-size:11px;
  font-weight:900;
}
.adm-etapas-resumen p{
  margin:0;
  color:#60758C;
  font-size:13px;
  font-weight:700;
  line-height:1.4;
}
.adm-modal-empty{
  background:#FFFFFF;
  border:1px solid #DDE9F4;
  border-radius:18px;
  padding:18px;
  color:#60758C;
  font-weight:800;
  text-align:center;
}
.adm-modal-aspirante-footer{
  display:flex;
  justify-content:flex-end;
  gap:12px;
  padding:16px 22px;
  background:#FFFFFF;
  border-top:1px solid #DDE9F4;
}
@media (max-width:860px){
  .adm-resumen-head{grid-template-columns:repeat(2,minmax(0,1fr));}
  .adm-resumen-grid{grid-template-columns:1fr;}
}
@media (max-width:620px){
  .adm-modal-aspirante{padding:10px;align-items:stretch;}
  .adm-modal-aspirante-dialog{width:100%;max-height:94vh;border-radius:20px;}
  .adm-modal-aspirante-header{padding:18px 16px;}
  .adm-modal-aspirante-header h3{font-size:20px;}
  .adm-modal-aspirante-body{padding:14px;}
  .adm-resumen-head{grid-template-columns:1fr;}
  .adm-modal-aspirante-footer{padding:14px 16px;}
  .adm-modal-aspirante-footer .adm-btn{width:100%;}
}

/* ============================================================
   Popup moderno de edad mínima y limpieza visual de validaciones
   2026-07-02
   ============================================================ */
.adm-modal-edad[hidden]{display:none!important;}
.adm-modal-edad{
  position:fixed;
  inset:0;
  z-index:10080;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
}
.adm-modal-edad-backdrop{
  position:absolute;
  inset:0;
  background:rgba(6,42,92,.58);
  backdrop-filter:blur(6px);
}
.adm-modal-edad-dialog{
  position:relative;
  z-index:1;
  width:min(560px,100%);
  border-radius:30px;
  padding:28px 28px 24px;
  background:
    radial-gradient(circle at 14% 0%, rgba(233,178,33,.16), transparent 34%),
    linear-gradient(135deg,#ffffff 0%,#f8fbff 100%);
  border:1px solid rgba(255,255,255,.94);
  box-shadow:0 32px 80px rgba(6,42,92,.30);
  overflow:hidden;
  animation:admEdadIn .18s ease-out;
}
.adm-modal-edad-dialog:before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:7px;
  background:linear-gradient(90deg,#E9B221,#E05A2A,#B42318);
}
.adm-modal-edad-close{
  position:absolute;
  top:18px;
  right:18px;
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  background:#DA111D;
  color:#fff;
  font-size:28px;
  line-height:1;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 16px 30px rgba(218,17,29,.25);
}
.adm-modal-edad-icon{
  width:66px;
  height:66px;
  border-radius:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:16px;
  background:linear-gradient(135deg,#FFF1B8,#E9B221);
  color:#7B5400;
  font-size:38px;
  font-weight:1000;
  box-shadow:0 18px 38px rgba(233,178,33,.22);
}
.adm-modal-edad h3{
  margin:6px 52px 8px 0;
  color:#062A5C;
  font-size:27px;
  line-height:1.12;
  letter-spacing:-.5px;
}
.adm-modal-edad-text{
  margin:0 0 18px;
  color:#506B8A;
  font-size:15px;
  line-height:1.55;
}
.adm-modal-edad-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin:18px 0 20px;
}
.adm-modal-edad-grid div{
  padding:14px 15px;
  border:1px solid #DCE8F3;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 24px rgba(6,46,103,.06);
}
.adm-modal-edad-grid span{
  display:block;
  margin-bottom:5px;
  color:#70859D;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.45px;
}
.adm-modal-edad-grid strong{
  display:block;
  color:#062A5C;
  font-size:14px;
  line-height:1.3;
}
.adm-modal-edad-actions{
  display:flex;
  justify-content:flex-end;
  gap:12px;
}
.adm-modal-edad-actions .adm-btn{
  min-width:150px;
}
.adm-alert[hidden]{display:none!important;}
@keyframes admEdadIn{
  from{opacity:0;transform:translateY(16px) scale(.98);}
  to{opacity:1;transform:translateY(0) scale(1);}
}
@media (max-width:620px){
  .adm-modal-edad{padding:14px;align-items:flex-end;}
  .adm-modal-edad-dialog{border-radius:24px;padding:24px 18px 18px;}
  .adm-modal-edad-close{top:14px;right:14px;width:38px;height:38px;font-size:25px;}
  .adm-modal-edad-icon{width:56px;height:56px;border-radius:18px;font-size:32px;}
  .adm-modal-edad h3{font-size:23px;margin-right:46px;}
  .adm-modal-edad-grid{grid-template-columns:1fr;}
  .adm-modal-edad-actions .adm-btn{width:100%;}
}

/* ============================================================
   Modal moderno para confirmación de agendamiento
   2026-07-02
   ============================================================ */
.adm-modal-agenda[hidden]{display:none!important;}
.adm-modal-agenda{
  position:fixed;
  inset:0;
  z-index:10090;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
}
.adm-modal-agenda-backdrop{
  position:absolute;
  inset:0;
  background:rgba(6,42,92,.58);
  backdrop-filter:blur(7px);
}
.adm-modal-agenda-dialog{
  position:relative;
  z-index:1;
  width:min(590px,100%);
  border-radius:30px;
  padding:30px 30px 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(233,178,33,.18), transparent 34%),
    radial-gradient(circle at 100% 6%, rgba(35,168,100,.14), transparent 30%),
    linear-gradient(135deg,#ffffff 0%,#f8fbff 100%);
  border:1px solid rgba(255,255,255,.95);
  box-shadow:0 34px 84px rgba(6,42,92,.31);
  overflow:hidden;
  animation:admAgendaIn .18s ease-out;
}
.adm-modal-agenda-dialog:before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:7px;
  background:linear-gradient(90deg,#E9B221,#23A864,#0054A6,#3E92AC);
}
.adm-modal-agenda-close{
  position:absolute;
  top:18px;
  right:18px;
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  background:#DA111D;
  color:#fff;
  font-size:28px;
  line-height:1;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 16px 30px rgba(218,17,29,.25);
}
.adm-modal-agenda-icon{
  width:68px;
  height:68px;
  border-radius:23px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:16px;
  background:linear-gradient(135deg,#EAF8F0,#23A864);
  color:#fff;
  font-size:34px;
  box-shadow:0 18px 38px rgba(35,168,100,.22);
}
.adm-modal-agenda h3{
  margin:6px 52px 8px 0;
  color:#062A5C;
  font-size:27px;
  line-height:1.12;
  letter-spacing:-.5px;
}
.adm-modal-agenda-text{
  margin:0 0 18px;
  color:#506B8A;
  font-size:15px;
  line-height:1.55;
}
.adm-modal-agenda-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin:18px 0 14px;
}
.adm-modal-agenda-grid div{
  padding:16px 16px;
  border:1px solid #DCE8F3;
  border-radius:19px;
  background:#fff;
  box-shadow:0 10px 24px rgba(6,46,103,.06);
}
.adm-modal-agenda-grid span{
  display:block;
  margin-bottom:7px;
  color:#70859D;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.45px;
}
.adm-modal-agenda-grid strong{
  display:block;
  color:#062A5C;
  font-size:20px;
  line-height:1.2;
}
.adm-modal-agenda-note{
  margin:0 0 20px;
  padding:13px 15px;
  border-radius:17px;
  background:#F2FBF6;
  border:1px solid #CFECDD;
  color:#0B6B3E;
  font-size:13px;
  font-weight:800;
}
.adm-modal-agenda-actions{
  display:flex;
  justify-content:flex-end;
  gap:12px;
}
.adm-modal-agenda-actions .adm-btn{
  min-width:150px;
}
@keyframes admAgendaIn{
  from{opacity:0;transform:translateY(16px) scale(.98);}
  to{opacity:1;transform:translateY(0) scale(1);}
}
@media (max-width:620px){
  .adm-modal-agenda{padding:14px;align-items:flex-end;}
  .adm-modal-agenda-dialog{border-radius:24px;padding:24px 18px 18px;}
  .adm-modal-agenda-close{top:14px;right:14px;width:38px;height:38px;font-size:25px;}
  .adm-modal-agenda-icon{width:56px;height:56px;border-radius:18px;font-size:29px;}
  .adm-modal-agenda h3{font-size:23px;margin-right:46px;}
  .adm-modal-agenda-grid{grid-template-columns:1fr;}
  .adm-modal-agenda-actions{flex-direction:column-reverse;}
  .adm-modal-agenda-actions .adm-btn{width:100%;}
}


/* ============================================================
   Resultado final: acciones y código de expediente simplificado
   ============================================================ */
.adm-final .adm-expediente-code{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:18px auto 22px;
  padding:13px 18px;
  border-radius:18px;
  background:linear-gradient(135deg,#F8FBFF,#FFFFFF);
  border:1px solid #D7E8F7;
  color:#123153;
  box-shadow:0 14px 30px rgba(0,84,166,.08);
  font-weight:800;
}
.adm-final .adm-expediente-code[hidden]{display:none!important;}
.adm-final .adm-expediente-code strong{
  color:#0054A6;
  letter-spacing:.8px;
  font-size:18px;
}
.adm-final-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-top:6px;
}
.adm-final-actions .adm-btn{
  min-width:190px;
}
.adm-btn-finalizar{
  background:linear-gradient(135deg,#E01B23 0%,#B90F1C 100%);
  color:#fff;
  box-shadow:0 16px 32px rgba(183,15,28,.24);
}
.adm-btn-finalizar:hover{
  transform:translateY(-1px);
  box-shadow:0 20px 40px rgba(183,15,28,.31);
}
@media (max-width:620px){
  .adm-final-actions{flex-direction:column;align-items:stretch;}
  .adm-final-actions .adm-btn{width:100%;min-width:0;}
  .adm-final .adm-expediente-code{display:flex;justify-content:center;flex-wrap:wrap;width:100%;text-align:center;}
}


/* Ajuste 2026-07-06: ocultar correctamente botón Continuar proceso cuando el expediente está al 100%. */
.adm-modal-aspirante-footer .adm-btn[hidden],
.adm-modal-aspirante-footer button[hidden],
#btnContinuarProcesoAspirante[hidden]{
  display:none!important;
}

/* ===== FASE 2.0: BASE ADMINISTRATIVA, PERFILES Y PERMISOS ===== */
.adm-admin-v2 .adm-back-secondary{margin-left:8px;background:#F4F8FC;color:#234F7A}.adm-profile-banner{display:flex;align-items:center;gap:18px;background:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.92);border-radius:26px;padding:20px 22px;box-shadow:0 20px 42px rgba(6,46,103,.10);margin:20px 0}.adm-profile-banner h2{margin:0;color:var(--adm-azul-oscuro);font-size:24px}.adm-profile-banner p{margin:5px 0 0;color:var(--adm-muted);line-height:1.45}.adm-profile-icon{width:58px;height:58px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#EAF4FF,#FFF8E0);font-size:30px;flex:0 0 auto}.adm-badge-strong{margin-left:auto;background:#E9F8EF;color:#0B6B3E;border:1px solid #CBEEDB}.adm-kpi-grid-v2{grid-template-columns:repeat(5,minmax(0,1fr))}.adm-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.adm-module-card{display:flex;gap:14px;align-items:flex-start;background:rgba(255,255,255,.94);border:1px solid rgba(255,255,255,.94);border-radius:22px;padding:18px;box-shadow:0 18px 36px rgba(6,46,103,.09)}.adm-module-icon{width:48px;height:48px;border-radius:16px;background:#F1F6FB;display:flex;align-items:center;justify-content:center;font-size:26px;flex:0 0 auto}.adm-module-card h3{margin:0;color:var(--adm-azul-oscuro);font-size:17px}.adm-module-card p{margin:6px 0 10px;color:var(--adm-muted);font-size:13px;line-height:1.42}.adm-module-state{display:inline-flex;border-radius:999px;background:#FFF8E0;color:#7B5A00;border:1px solid #F1DEA1;padding:5px 9px;font-size:11px;font-weight:900}.adm-admin-section{margin:22px 0}.adm-title-stack{align-items:flex-start}.adm-title-stack p{margin:6px 0 0;color:var(--adm-muted);line-height:1.5}.adm-admin-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:end;background:#F8FBFE;border:1px solid var(--adm-borde);border-radius:20px;padding:16px;margin:16px 0}.adm-admin-search label{display:grid;gap:7px;font-weight:800;color:#244967}.adm-admin-search input{height:48px;border-radius:15px;border:1px solid #D9E5EF;padding:0 14px;font-size:15px;outline:none}.adm-admin-two-col{display:grid;grid-template-columns:1.05fr .95fr;gap:16px;margin:16px 0}.adm-subcard{background:#fff;border:1px solid #E4EDF5;border-radius:20px;padding:16px}.adm-subcard h3{margin:0 0 12px;color:var(--adm-azul-oscuro)}.adm-subcard-highlight{background:linear-gradient(180deg,#fff,#F8FBFE)}.adm-table-small-wrap{max-height:420px}.adm-table-small th,.adm-table-small td{font-size:12px;padding:9px}.adm-btn-mini{padding:7px 10px;font-size:12px}.adm-selected-employee{display:grid;gap:4px;background:#EAF4FF;border:1px solid #CFE0EF;border-radius:16px;padding:12px;margin-bottom:14px}.adm-selected-employee strong{color:var(--adm-azul-oscuro)}.adm-selected-employee span{color:var(--adm-muted);font-weight:800}.adm-profile-form{display:grid;gap:14px}.adm-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.adm-check-card{display:grid;grid-template-columns:auto 1fr;gap:2px 9px;border:1px solid #DCE8F3;border-radius:15px;padding:11px;cursor:pointer;background:#fff}.adm-check-card input{grid-row:1 / span 2;margin-top:3px}.adm-check-card span{font-weight:900;color:#244967}.adm-check-card small{color:var(--adm-muted);line-height:1.3}.adm-grados-evaluador-box{background:#FFFDF5;border:1px solid #F1DEA1;border-radius:18px;padding:14px}.adm-grados-evaluador-box h4{margin:0 0 6px;color:#7B5A00}.adm-grados-evaluador-box p{margin:0 0 10px;color:#8A6B19;font-size:12px;line-height:1.4}.adm-grade-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.adm-grade-grid label{background:#fff;border:1px solid #F1DEA1;border-radius:12px;padding:8px;font-weight:700;color:#315673;font-size:12px}.adm-users-list{margin-top:18px}.adm-current-user-box{display:grid;gap:4px;text-align:center;background:#F8FBFE;border:1px solid var(--adm-borde);border-radius:18px;padding:13px;margin:14px 0}.adm-current-user-box strong{color:var(--adm-azul-oscuro)}.adm-current-user-box span{color:var(--adm-muted);font-weight:800}.adm-select-profile-card{width:720px}.adm-profile-select-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.adm-profile-select-card{text-decoration:none;background:#fff;border:1px solid #DCE8F3;border-radius:18px;padding:16px;display:grid;gap:7px;transition:.16s ease}.adm-profile-select-card:hover{transform:translateY(-2px);box-shadow:0 16px 32px rgba(6,46,103,.12);border-color:#9FC6EB}.adm-profile-select-card strong{color:var(--adm-azul-oscuro)}.adm-profile-select-card span{color:var(--adm-muted);font-size:13px;line-height:1.4}
@media (max-width: 980px){.adm-kpi-grid-v2,.adm-module-grid,.adm-admin-two-col{grid-template-columns:1fr}.adm-admin-search{grid-template-columns:1fr}.adm-check-grid,.adm-grade-grid,.adm-profile-select-grid{grid-template-columns:1fr}.adm-badge-strong{margin-left:0}.adm-profile-banner{align-items:flex-start;flex-direction:column}.adm-select-profile-card{width:100%}}

/* ===== AJUSTE FASE 2.0 - UI ADMINISTRATIVA MODERNA + EMPLEADOS ACTIVOS ===== */
.adm-admin-access-page,
.adm-admin-modern{
  background:
    radial-gradient(circle at 8% 8%,rgba(233,178,33,.24),transparent 28%),
    radial-gradient(circle at 92% 12%,rgba(62,146,172,.22),transparent 30%),
    linear-gradient(135deg,#F7FBFF 0%,#EFF7FC 46%,#FFF8E0 100%);
}
.adm-admin-modern{
  max-width:1360px;
  padding-top:34px;
  padding-bottom:50px;
}
.adm-admin-hero-header{
  max-width:1280px;
  position:relative;
  overflow:hidden;
  align-items:stretch;
  padding:0;
  border:1px solid rgba(255,255,255,.82);
  background:linear-gradient(135deg,#062E67 0%,#0054A6 52%,#3E92AC 100%);
  box-shadow:0 26px 70px rgba(6,46,103,.22);
}
.adm-admin-hero-header:before{
  content:"";
  position:absolute;
  width:360px;
  height:360px;
  right:-120px;
  top:-155px;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
}
.adm-admin-hero-left{
  position:relative;
  z-index:1;
  padding:26px 30px;
  color:#fff;
  min-width:0;
}
.adm-admin-hero-left h1{
  color:#fff;
  font-size:34px;
  letter-spacing:-.7px;
  margin:12px 0 8px;
}
.adm-admin-hero-left p{
  color:rgba(255,255,255,.82);
  font-weight:700;
}
.adm-admin-hero-left p strong{color:#fff;}
.adm-admin-nav-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
.adm-admin-hero-header .adm-back{
  background:rgba(255,255,255,.14);
  color:#fff;
  border-color:rgba(255,255,255,.28);
  box-shadow:none;
  backdrop-filter:blur(10px);
}
.adm-admin-hero-header .adm-back:hover{background:rgba(255,255,255,.22);}
.adm-admin-eyebrow,
.adm-section-kicker{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  align-items:center;
  gap:8px;
  border-radius:999px;
  padding:7px 12px;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.6px;
}
.adm-admin-eyebrow{margin-top:18px;background:rgba(255,255,255,.16);color:#fff;border:1px solid rgba(255,255,255,.20);}
.adm-section-kicker{background:#EAF4FF;color:#0054A6;border:1px solid #CFE0EF;margin-bottom:8px;}
.adm-admin-user-card{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:auto minmax(170px,1fr);
  gap:12px;
  align-items:center;
  min-width:310px;
  margin:18px;
  padding:18px;
  border-radius:24px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(255,255,255,.85);
  box-shadow:0 20px 50px rgba(0,0,0,.12);
}
.adm-user-avatar{
  width:50px;
  height:50px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#EAF4FF,#FFF8E0);
  color:#0054A6;
  font-size:24px;
}
.adm-admin-user-card strong{display:block;color:#062E67;font-size:16px;line-height:1.18;}
.adm-admin-user-card span{display:block;color:#315673;font-weight:900;font-size:12px;margin-top:4px;}
.adm-admin-user-card small{display:block;color:#6D8098;font-weight:700;margin-top:3px;}
.adm-admin-user-card a{grid-column:1 / -1;text-align:center;color:#B42318;font-weight:900;text-decoration:none;background:#FEF0EF;border:1px solid #F5CBC7;border-radius:999px;padding:8px 12px;}
.adm-profile-banner-modern,
.adm-admin-users-card,
.adm-audit-card,
.adm-latest-card{
  max-width:1280px;
  margin-left:auto;
  margin-right:auto;
  border:1px solid rgba(255,255,255,.90);
  background:rgba(255,255,255,.90);
  backdrop-filter:blur(14px);
  box-shadow:0 22px 60px rgba(6,46,103,.12);
}
.adm-profile-banner-modern{padding:22px 24px;border-radius:28px;}
.adm-profile-banner-modern .adm-profile-icon{box-shadow:0 14px 32px rgba(0,84,166,.12);}
.adm-profile-banner-modern h2{font-size:26px;letter-spacing:-.4px;}
.adm-profile-copy{min-width:0;}
.adm-badge-strong{box-shadow:0 10px 24px rgba(18,130,76,.09);}
.adm-kpi-grid-modern{
  max-width:1280px;
  margin-left:auto;
  margin-right:auto;
  gap:18px;
}
.adm-kpi-grid-modern .adm-kpi{
  position:relative;
  overflow:hidden;
  min-height:132px;
  padding:18px 18px 16px;
  border-radius:26px;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,251,254,.96));
  border:1px solid rgba(255,255,255,.92);
  transition:transform .16s ease, box-shadow .16s ease;
}
.adm-kpi-grid-modern .adm-kpi:after{
  content:"";
  position:absolute;
  right:-32px;
  top:-32px;
  width:92px;
  height:92px;
  border-radius:50%;
  background:rgba(0,84,166,.07);
}
.adm-kpi-grid-modern .adm-kpi:hover{transform:translateY(-3px);box-shadow:0 26px 54px rgba(6,46,103,.16);}
.adm-kpi-grid-modern .adm-kpi i{
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  background:#F1F6FB;
  font-style:normal;
  margin-bottom:12px;
  font-size:21px;
}
.adm-kpi-grid-modern .adm-kpi span{font-size:12px;text-transform:uppercase;letter-spacing:.35px;}
.adm-kpi-grid-modern .adm-kpi strong{font-size:34px;margin-top:5px;}
.adm-module-grid-modern{max-width:1280px;margin-left:auto;margin-right:auto;}
.adm-module-grid-modern .adm-module-card{
  border-radius:26px;
  padding:20px;
  background:linear-gradient(145deg,#FFFFFF,#F7FBFF);
  border:1px solid rgba(218,232,244,.90);
  box-shadow:0 20px 48px rgba(6,46,103,.10);
  transition:transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.adm-module-grid-modern .adm-module-card:hover{transform:translateY(-3px);border-color:#BBD7EF;box-shadow:0 26px 54px rgba(6,46,103,.15);}
.adm-module-grid-modern .adm-module-icon{background:linear-gradient(135deg,#EAF4FF,#FFF8E0);box-shadow:inset 0 0 0 1px rgba(255,255,255,.72);}
.adm-section-title-modern{align-items:flex-start;}
.adm-section-title-modern h2{font-size:25px;letter-spacing:-.35px;}
.adm-active-filter-pill{
  white-space:nowrap;
  border-radius:999px;
  background:#EAF8F0;
  color:#0B6B3E;
  border:1px solid #C7ECD8;
  padding:10px 14px;
  font-size:12px;
  font-weight:900;
}
.adm-admin-search-modern{
  border-radius:24px;
  background:linear-gradient(135deg,#F8FBFE,#FFFFFF);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.9);
  padding:18px;
}
.adm-admin-search-modern input{font-weight:800;}
.adm-admin-two-col-modern{grid-template-columns:minmax(0,1fr) minmax(390px,.95fr);gap:18px;}
.adm-subcard{
  border-radius:24px;
  box-shadow:0 16px 36px rgba(6,46,103,.07);
}
.adm-subcard-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;}
.adm-subcard-title-row h3{margin:0;}
.adm-subcard-title-row span{display:inline-flex;border-radius:999px;background:#F1F6FB;color:#315673;padding:6px 10px;font-size:11px;font-weight:900;}
.adm-search-results-card,
.adm-assign-profile-card{min-height:420px;}
.adm-table-modern{border-collapse:separate;border-spacing:0;box-shadow:none;}
.adm-table-modern th{background:#EDF5FC;color:#062E67;font-weight:900;}
.adm-table-modern th:first-child{border-top-left-radius:14px;}
.adm-table-modern th:last-child{border-top-right-radius:14px;}
.adm-table-modern td{background:#fff;}
.adm-table-modern tbody tr:hover td{background:#F8FBFE;}
.adm-status-active{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:5px 9px;
  background:#EAF8F0;
  color:#0B6B3E;
  font-size:10px;
  font-weight:900;
  border:1px solid #C7ECD8;
}
.adm-selected-employee-modern{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px;
  background:linear-gradient(135deg,#EAF4FF,#FFFFFF);
}
.adm-selected-avatar{
  width:42px;
  height:42px;
  border-radius:15px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#0054A6;
  color:#fff;
  font-weight:900;
}
.adm-selected-employee-modern div:nth-child(2){min-width:0;flex:1;}
.adm-selected-employee-modern small{display:block;color:#6D8098;font-weight:700;margin-top:4px;word-break:break-word;}
.adm-selected-employee-modern em{font-style:normal;font-size:10px;font-weight:900;color:#0B6B3E;background:#EAF8F0;border:1px solid #C7ECD8;border-radius:999px;padding:6px 9px;}
.adm-check-grid-modern .adm-check-card,
.adm-grade-grid-modern label{
  transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease,background .14s ease;
}
.adm-check-grid-modern .adm-check-card:hover,
.adm-grade-grid-modern label:hover{transform:translateY(-1px);border-color:#9FC6EB;box-shadow:0 12px 24px rgba(6,46,103,.08);}
.adm-check-card input,
.adm-grade-grid label input{accent-color:#0054A6;}
.adm-check-card:has(input:checked){border-color:#0054A6;background:#F5FAFF;box-shadow:0 12px 26px rgba(0,84,166,.10);}
.adm-grade-grid label:has(input:checked){border-color:#E9B221;background:#FFF8E0;color:#7B5A00;}
.adm-empty-state-card{
  min-height:300px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:9px;
  color:#6D8098;
  background:linear-gradient(135deg,#F8FBFE,#FFFFFF);
  border:1px dashed #CFE0EF;
  border-radius:22px;
  padding:24px;
}
.adm-empty-state-card div{font-size:42px;}
.adm-empty-state-card strong{color:#062E67;font-size:18px;}
.adm-empty-state-card p{margin:0;line-height:1.45;}
.adm-users-list-modern{margin-top:20px;}
.adm-progress-mini{width:92px;height:8px;border-radius:999px;background:#E8F0F7;overflow:hidden;margin-bottom:5px;}
.adm-progress-mini span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0054A6,#3E92AC);}
.adm-table-title-actions input{max-width:360px;}
/* Login administrativo */
.adm-admin-login-shell{
  width:min(1120px,100%);
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:22px;
  align-items:stretch;
}
.adm-admin-login-side,
.adm-admin-login-modern,
.adm-select-profile-modern{
  border-radius:34px;
  border:1px solid rgba(255,255,255,.88);
  box-shadow:0 28px 76px rgba(6,46,103,.14);
}
.adm-admin-login-side{
  position:relative;
  overflow:hidden;
  padding:34px;
  background:linear-gradient(135deg,#062E67 0%,#0054A6 56%,#3E92AC 100%);
  color:#fff;
}
.adm-admin-login-side:after{content:"";position:absolute;right:-100px;bottom:-100px;width:300px;height:300px;border-radius:50%;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);}
.adm-admin-login-side .adm-back{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.28);color:#fff;box-shadow:none;}
.adm-admin-login-side .adm-logo-login{filter:brightness(0) invert(1) drop-shadow(0 18px 32px rgba(0,0,0,.18));margin:34px auto 20px;}
.adm-admin-login-side h1{font-size:42px;letter-spacing:-.8px;margin:12px 0 10px;}
.adm-admin-login-side p{color:rgba(255,255,255,.82);font-size:16px;line-height:1.58;max-width:520px;}
.adm-login-feature-list{display:grid;gap:12px;margin-top:30px;position:relative;z-index:1;}
.adm-login-feature-list div{display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.18);border-radius:18px;padding:13px;backdrop-filter:blur(10px);}
.adm-login-feature-list strong{width:32px;height:32px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#E9B221;color:#062E67;}
.adm-login-feature-list span{font-weight:800;}
.adm-admin-login-modern{width:auto;max-width:none;padding:30px;background:rgba(255,255,255,.94);align-self:center;}
.adm-login-card-head{display:flex;gap:14px;align-items:center;margin-bottom:20px;}
.adm-login-icon{width:56px;height:56px;border-radius:20px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#EAF4FF,#FFF8E0);font-size:28px;}
.adm-admin-login-modern h2{margin:0;color:#062E67;font-size:30px;letter-spacing:-.5px;}
.adm-admin-login-modern p{text-align:left;margin:5px 0 0;line-height:1.45;}
.adm-admin-form-modern label{font-size:13px;letter-spacing:.15px;}
.adm-admin-form-modern input,
.adm-admin-form-modern select{height:54px;border-radius:18px;}
.adm-default-note-modern{line-height:1.45;border-radius:18px;}
.adm-default-note-modern code{font-size:12px;background:rgba(255,255,255,.72);border:1px solid rgba(241,222,161,.9);border-radius:8px;padding:2px 5px;}
/* Selector de perfil */
.adm-select-profile-modern{width:min(900px,100%);padding:34px;background:rgba(255,255,255,.95);}
.adm-select-profile-modern .adm-logo-login{margin-top:16px;}
.adm-select-profile-modern h1{font-size:34px;letter-spacing:-.6px;}
.adm-current-user-box-modern{grid-template-columns:auto 1fr;text-align:left;align-items:center;background:linear-gradient(135deg,#F8FBFE,#FFFFFF);}
.adm-profile-select-grid-modern .adm-profile-select-card{position:relative;padding:18px 18px 42px;border-radius:22px;overflow:hidden;}
.adm-profile-select-grid-modern .adm-profile-select-card:after{content:"";position:absolute;right:-28px;top:-28px;width:82px;height:82px;border-radius:50%;background:rgba(0,84,166,.06);}
.adm-profile-select-grid-modern .adm-profile-select-card em{position:absolute;left:18px;bottom:14px;font-style:normal;color:#0054A6;font-size:12px;font-weight:900;}
@media (max-width:980px){
  .adm-admin-hero-header{flex-direction:column;}
  .adm-admin-user-card{margin:0 18px 18px;}
  .adm-admin-two-col-modern,.adm-admin-login-shell{grid-template-columns:1fr;}
  .adm-admin-login-side{display:none;}
  .adm-admin-page{align-items:flex-start;}
}
@media (max-width:620px){
  .adm-admin-modern{padding:16px;}
  .adm-admin-hero-left{padding:22px;}
  .adm-admin-hero-left h1{font-size:28px;}
  .adm-admin-user-card{grid-template-columns:1fr;text-align:center;}
  .adm-user-avatar{margin:auto;}
  .adm-active-filter-pill{white-space:normal;}
  .adm-table-title-actions{align-items:stretch;flex-direction:column;}
  .adm-table-title-actions input{max-width:none;}
  .adm-admin-login-modern,.adm-select-profile-modern{padding:24px;border-radius:28px;}
}

/* ===== AJUSTE 2026-07-06: LOGIN CORPORATIVO Y WORKSPACE ADMINISTRATIVO COMPACTO ===== */
.adm-admin-login-clean-page{
  align-items:center;
  justify-content:center;
  padding:34px 20px;
  background:
    radial-gradient(circle at 10% 0%, rgba(233,178,33,.18), transparent 30%),
    radial-gradient(circle at 90% 12%, rgba(62,146,172,.18), transparent 32%),
    linear-gradient(135deg,#F8FBFF 0%,#EEF7FC 52%,#FFF9E7 100%);
}
.adm-admin-login-clean{
  width:min(475px,100%);
  position:relative;
  overflow:hidden;
  border-radius:34px;
  padding:28px 30px 30px;
  background:rgba(255,255,255,.94);
  border:1px solid rgba(255,255,255,.92);
  box-shadow:0 34px 90px rgba(6,46,103,.16);
  backdrop-filter:blur(16px);
}
.adm-admin-login-clean:before{
  content:"";
  position:absolute;
  left:0;right:0;top:0;height:7px;
  background:linear-gradient(90deg,#E9B221,#0054A6,#3E92AC);
}
.adm-admin-login-clean:after{
  content:"";
  position:absolute;
  width:210px;height:210px;
  right:-105px;top:-105px;
  border-radius:50%;
  background:rgba(0,84,166,.055);
  border:1px solid rgba(0,84,166,.08);
  pointer-events:none;
}
.adm-login-clean-back{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  text-decoration:none;
  margin-bottom:22px;
  color:#0054A6;
  font-weight:900;
  font-size:13px;
  border:1px solid #D5E7F8;
  background:#F7FBFF;
  border-radius:999px;
  padding:10px 14px;
}
.adm-login-clean-brand{
  position:relative;
  z-index:1;
  text-align:center;
  margin-bottom:22px;
}
.adm-logo-login-clean{
  width:190px;
  margin:2px auto 14px;
  filter:drop-shadow(0 14px 24px rgba(6,46,103,.12));
}
.adm-login-clean-brand span{
  display:inline-flex;
  border-radius:999px;
  padding:7px 12px;
  background:#EAF4FF;
  border:1px solid #D5E7F8;
  color:#0054A6;
  font-size:11px;
  letter-spacing:.7px;
  text-transform:uppercase;
  font-weight:900;
}
.adm-login-clean-brand h1{
  margin:13px 0 7px;
  color:#062E67;
  font-size:31px;
  line-height:1.12;
  letter-spacing:-.6px;
}
.adm-login-clean-brand p{
  margin:0 auto;
  max-width:330px;
  color:#61768E;
  line-height:1.48;
  font-weight:700;
}
.adm-admin-form-clean{
  position:relative;
  z-index:1;
  gap:15px;
}
.adm-admin-form-clean label{
  color:#173D66;
  font-size:13px;
  letter-spacing:.15px;
}
.adm-admin-form-clean input,
.adm-admin-form-clean select{
  height:52px;
  border-radius:18px;
  background:#FFFFFF;
  border:1px solid #D9E7F5;
  box-shadow:0 10px 22px rgba(6,46,103,.045);
}
.adm-admin-form-clean .adm-btn{
  min-height:52px;
  margin-top:4px;
  font-size:15px;
}
.adm-login-clean-footer{
  position:relative;
  z-index:1;
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-top:18px;
  padding:13px 14px;
  border-radius:18px;
  background:#FFFBEC;
  border:1px solid #F1DEA1;
  color:#7A5A00;
  line-height:1.35;
  font-size:12px;
}
.adm-login-clean-footer strong{white-space:nowrap;color:#6A4A00;}
.adm-login-clean-footer span{display:block;}
.adm-admin-workspace-page{
  max-width:none;
  padding:22px 28px 38px;
}
.adm-admin-hero-compact{
  max-width:1420px;
  min-height:auto;
  margin-bottom:16px;
  border-radius:24px;
}
.adm-admin-hero-compact .adm-admin-hero-left{padding:20px 24px;}
.adm-admin-hero-compact .adm-admin-eyebrow{margin-top:12px;padding:6px 10px;font-size:10px;}
.adm-admin-hero-compact .adm-admin-hero-left h1{font-size:28px;margin:9px 0 4px;}
.adm-admin-hero-compact .adm-admin-hero-left p{margin:0;font-size:13px;}
.adm-admin-user-card-compact{
  min-width:280px;
  margin:14px;
  padding:13px;
  border-radius:20px;
  grid-template-columns:auto minmax(150px,1fr) auto;
}
.adm-admin-user-card-compact .adm-user-avatar{width:42px;height:42px;border-radius:15px;font-size:21px;}
.adm-admin-user-card-compact strong{font-size:14px;}
.adm-admin-user-card-compact span{font-size:11px;}
.adm-admin-user-card-compact small{font-size:11px;}
.adm-admin-user-card-compact a{
  grid-column:auto;
  padding:8px 13px;
  align-self:center;
  min-width:72px;
}
.adm-admin-workspace-shell{
  width:min(1420px,100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:270px minmax(0,1fr);
  gap:16px;
  align-items:start;
}
.adm-workspace-menu{
  position:sticky;
  top:16px;
  display:grid;
  gap:10px;
  padding:14px;
  border-radius:26px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.92);
  box-shadow:0 22px 60px rgba(6,46,103,.12);
  backdrop-filter:blur(14px);
}
.adm-workspace-menu-title{
  padding:12px 12px 14px;
  border-radius:20px;
  background:linear-gradient(135deg,#F7FBFF,#EEF7FC);
  border:1px solid #DCEAF6;
}
.adm-workspace-menu-title span{
  display:block;
  color:#61768E;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.7px;
  font-weight:900;
  margin-bottom:4px;
}
.adm-workspace-menu-title strong{
  display:block;
  color:#062E67;
  line-height:1.2;
  font-size:15px;
}
.adm-workspace-tab{
  width:100%;
  border:1px solid #E0EBF5;
  background:#fff;
  border-radius:18px;
  padding:12px;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:2px 10px;
  text-align:left;
  cursor:pointer;
  transition:transform .14s ease, box-shadow .14s ease, border-color .14s ease, background .14s ease;
}
.adm-workspace-tab i{
  grid-row:1 / span 2;
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:#F1F6FB;
  font-style:normal;
  font-size:20px;
}
.adm-workspace-tab span{
  color:#062E67;
  font-size:14px;
  font-weight:900;
  align-self:end;
}
.adm-workspace-tab small{
  color:#6B7E94;
  font-size:11px;
  font-weight:700;
  line-height:1.25;
}
.adm-workspace-tab:hover{
  transform:translateY(-1px);
  border-color:#BBD7EF;
  box-shadow:0 14px 28px rgba(6,46,103,.09);
}
.adm-workspace-tab.is-active{
  border-color:#0054A6;
  background:linear-gradient(135deg,#F7FBFF,#EAF4FF);
  box-shadow:0 18px 34px rgba(0,84,166,.13);
}
.adm-workspace-tab.is-active i{
  background:linear-gradient(135deg,#0054A6,#3E92AC);
  color:#fff;
}
.adm-workspace-menu-note{
  margin-top:4px;
  padding:12px;
  border-radius:18px;
  background:#FFFBEC;
  border:1px solid #F1DEA1;
  color:#7A5A00;
  line-height:1.35;
  font-size:12px;
}
.adm-workspace-menu-note strong{display:block;margin-bottom:3px;}
.adm-workspace-content{min-width:0;}
.adm-workspace-panel{display:none;animation:admWorkspaceFade .18s ease;}
.adm-workspace-panel.is-active{display:block;}
@keyframes admWorkspaceFade{from{opacity:.55;transform:translateY(5px)}to{opacity:1;transform:none}}
.adm-admin-panel-card,
.adm-profile-banner-compact,
.adm-admin-workspace-page .adm-latest-card,
.adm-admin-workspace-page .adm-admin-users-card,
.adm-admin-workspace-page .adm-audit-card{
  max-width:none;
  margin:0;
}
.adm-profile-banner-compact{
  padding:16px 18px;
  border-radius:24px;
  margin-bottom:14px;
}
.adm-profile-banner-compact .adm-profile-icon{
  width:50px;height:50px;border-radius:17px;font-size:25px;
}
.adm-profile-banner-compact h2{font-size:22px;}
.adm-profile-banner-compact p{font-size:13px;}
.adm-kpi-grid-compact{
  max-width:none;
  margin:0 0 14px;
  gap:12px;
}
.adm-kpi-grid-compact .adm-kpi{
  min-height:106px;
  padding:15px;
  border-radius:22px;
}
.adm-kpi-grid-compact .adm-kpi i{width:38px;height:38px;font-size:20px;border-radius:14px;}
.adm-kpi-grid-compact .adm-kpi span{font-size:11px;}
.adm-kpi-grid-compact .adm-kpi strong{font-size:28px;}
.adm-module-grid-compact{
  max-width:none;
  margin:0;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.adm-module-grid-compact .adm-module-card{
  padding:15px;
  border-radius:22px;
}
.adm-module-grid-compact .adm-module-icon{
  width:42px;height:42px;border-radius:15px;font-size:22px;
}
.adm-module-grid-compact .adm-module-card h3{font-size:15px;}
.adm-module-grid-compact .adm-module-card p{font-size:12px;margin:4px 0 8px;}
.adm-admin-panel-card{
  border-radius:26px;
  padding:18px;
}
.adm-admin-panel-head{
  margin-bottom:12px;
}
.adm-admin-panel-head h2{font-size:24px;margin-bottom:3px;}
.adm-admin-panel-head p{font-size:13px;max-width:850px;}
.adm-admin-panel-card .adm-admin-search-modern{margin:12px 0;}
.adm-admin-panel-card .adm-admin-two-col-modern{margin:12px 0;}
.adm-admin-panel-card .adm-users-list-modern{margin-top:14px;}
.adm-admin-workspace-page .adm-search-results-card,
.adm-admin-workspace-page .adm-assign-profile-card{min-height:330px;}
.adm-admin-workspace-page .adm-table-small-wrap{max-height:340px;}
.adm-admin-workspace-page .adm-empty-state-card{min-height:245px;}
@media (max-width:1180px){
  .adm-admin-workspace-shell{grid-template-columns:220px minmax(0,1fr);}
  .adm-module-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr));}
  .adm-kpi-grid-compact{grid-template-columns:repeat(3,minmax(0,1fr));}
  .adm-admin-user-card-compact{grid-template-columns:auto minmax(140px,1fr);}
  .adm-admin-user-card-compact a{grid-column:1 / -1;}
}
@media (max-width:980px){
  .adm-admin-workspace-page{padding:16px;}
  .adm-admin-workspace-shell{grid-template-columns:1fr;}
  .adm-workspace-menu{
    position:static;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .adm-workspace-menu-title,
  .adm-workspace-menu-note{grid-column:1 / -1;}
  .adm-kpi-grid-compact,.adm-module-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr));}
  .adm-admin-user-card-compact{margin:0 14px 14px;}
  .adm-login-clean-footer{flex-direction:column;gap:3px;}
}
@media (max-width:620px){
  .adm-admin-login-clean{padding:24px 20px;border-radius:28px;}
  .adm-logo-login-clean{width:160px;}
  .adm-login-clean-brand h1{font-size:27px;}
  .adm-workspace-menu{grid-template-columns:1fr;}
  .adm-kpi-grid-compact,.adm-module-grid-compact{grid-template-columns:1fr;}
  .adm-profile-banner-compact{align-items:flex-start;flex-direction:column;}
  .adm-admin-panel-card{padding:14px;border-radius:22px;}
}

/* ===== AJUSTE 2026-07-06: ADMINISTRATIVO MÁS VIVO, MODERNO Y CORPORATIVO ===== */
.adm-admin-workspace-page{
  min-height:100vh;
  max-width:none;
  padding:20px 26px 34px;
  background:
    radial-gradient(circle at 5% 8%, rgba(233,178,33,.28), transparent 26%),
    radial-gradient(circle at 88% 4%, rgba(0,84,166,.24), transparent 30%),
    radial-gradient(circle at 78% 70%, rgba(62,146,172,.28), transparent 34%),
    linear-gradient(135deg,#F7FBFF 0%,#EAF5FB 44%,#FFF7DD 100%);
}
.adm-admin-workspace-page:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:
    linear-gradient(120deg, rgba(255,255,255,.58) 0 1px, transparent 1px 90px),
    linear-gradient(30deg, rgba(0,84,166,.05) 0 1px, transparent 1px 105px);
  opacity:.65;
  z-index:0;
}
.adm-admin-workspace-page > *{position:relative;z-index:1;}
.adm-admin-hero-compact{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.68);
  background:
    radial-gradient(circle at 76% -35%, rgba(255,255,255,.30), transparent 34%),
    linear-gradient(135deg,#062E67 0%,#0054A6 52%,#2294B6 100%);
  box-shadow:0 22px 60px rgba(6,46,103,.25);
}
.adm-admin-hero-compact:before{
  content:"";
  position:absolute;
  right:-110px;
  top:-125px;
  width:360px;
  height:360px;
  border-radius:50%;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.24);
}
.adm-admin-hero-compact:after{
  content:"";
  position:absolute;
  right:220px;
  bottom:-95px;
  width:250px;
  height:250px;
  border-radius:50%;
  background:rgba(233,178,33,.20);
  border:1px solid rgba(233,178,33,.22);
}
.adm-admin-hero-compact .adm-admin-hero-left{position:relative;z-index:1;}
.adm-admin-hero-compact .adm-admin-eyebrow{
  color:#062E67;
  background:linear-gradient(135deg,#FFE07D,#E9B221);
  border:0;
  box-shadow:0 10px 24px rgba(111,80,0,.22);
}
.adm-admin-hero-compact .adm-back{
  color:#fff;
  background:rgba(255,255,255,.16);
  border-color:rgba(255,255,255,.28);
  box-shadow:none;
}
.adm-admin-hero-compact .adm-back:hover{background:rgba(255,255,255,.24);}
.adm-admin-hero-compact h1,
.adm-admin-hero-compact p,
.adm-admin-hero-compact p strong{color:#fff;}
.adm-admin-hero-compact p{opacity:.94;}
.adm-admin-user-card-compact{
  position:relative;
  z-index:1;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(255,255,255,.82);
  box-shadow:0 20px 46px rgba(0,35,84,.22);
}
.adm-admin-user-card-compact .adm-user-avatar{
  background:linear-gradient(135deg,#6D3CCB,#0054A6);
  color:#fff;
  box-shadow:0 12px 22px rgba(0,84,166,.25);
}
.adm-admin-user-card-compact a{
  background:linear-gradient(135deg,#FFF1EE,#FFE1DB);
  color:#C21F13;
  border-color:#FFD0C8;
  box-shadow:0 10px 18px rgba(194,31,19,.08);
}
.adm-admin-workspace-shell{gap:18px;}
.adm-workspace-menu{
  padding:16px;
  border:1px solid rgba(255,255,255,.55);
  background:
    radial-gradient(circle at 20% -18%, rgba(233,178,33,.25), transparent 34%),
    linear-gradient(180deg,#062E67 0%,#08437F 52%,#0A6790 100%);
  box-shadow:0 26px 66px rgba(6,46,103,.28);
  color:#fff;
}
.adm-workspace-menu-title{
  background:rgba(255,255,255,.13);
  border-color:rgba(255,255,255,.22);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
}
.adm-workspace-menu-title span{color:rgba(255,255,255,.70);}
.adm-workspace-menu-title strong{color:#fff;}
.adm-workspace-tab{
  background:rgba(255,255,255,.105);
  border-color:rgba(255,255,255,.18);
  color:#fff;
  box-shadow:none;
}
.adm-workspace-tab i{
  background:rgba(255,255,255,.16);
  color:#fff;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);
}
.adm-workspace-tab span{color:#fff;}
.adm-workspace-tab small{color:rgba(255,255,255,.68);}
.adm-workspace-tab:hover{
  transform:translateY(-2px);
  border-color:rgba(255,255,255,.38);
  background:rgba(255,255,255,.17);
  box-shadow:0 16px 30px rgba(0,20,60,.18);
}
.adm-workspace-tab.is-active{
  background:linear-gradient(135deg,#FFFFFF 0%,#F2FAFF 100%);
  border-color:#FFFFFF;
  box-shadow:0 18px 36px rgba(0,20,60,.26);
}
.adm-workspace-tab.is-active i{
  color:#062E67;
  background:linear-gradient(135deg,#FFE07D,#E9B221);
  box-shadow:0 12px 22px rgba(233,178,33,.25);
}
.adm-workspace-tab.is-active span{color:#062E67;}
.adm-workspace-tab.is-active small{color:#526B84;}
.adm-workspace-menu-note{
  background:rgba(233,178,33,.18);
  border-color:rgba(233,178,33,.38);
  color:#FFF6D6;
}
.adm-workspace-menu-note strong{color:#fff;}
.adm-workspace-content{
  background:rgba(255,255,255,.38);
  border:1px solid rgba(255,255,255,.65);
  border-radius:30px;
  padding:0;
  box-shadow:0 24px 64px rgba(6,46,103,.12);
  backdrop-filter:blur(10px);
}
.adm-workspace-panel.is-active{padding:0;}
.adm-admin-panel-card,
.adm-profile-banner-compact,
.adm-admin-workspace-page .adm-latest-card,
.adm-admin-workspace-page .adm-admin-users-card,
.adm-admin-workspace-page .adm-audit-card{
  background:rgba(255,255,255,.96);
  border:1px solid rgba(255,255,255,.86);
  box-shadow:0 22px 52px rgba(6,46,103,.12);
}
.adm-admin-panel-card{padding:20px;}
.adm-admin-panel-head{
  padding:14px 16px;
  border-radius:22px;
  background:
    radial-gradient(circle at 100% -60%, rgba(233,178,33,.22), transparent 38%),
    linear-gradient(135deg,#F7FBFF,#FFFFFF 58%,#FFF9E7);
  border:1px solid #E2EEF8;
}
.adm-section-kicker{
  background:linear-gradient(135deg,#E9B221,#F4C84C);
  color:#062E67;
  border:0;
  box-shadow:0 8px 18px rgba(233,178,33,.20);
}
.adm-admin-panel-head h2,
.adm-section-title-modern h2{color:#062E67;}
.adm-profile-banner-compact{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 100% -45%, rgba(233,178,33,.30), transparent 32%),
    linear-gradient(135deg,#FFFFFF 0%,#EAF4FF 72%,#FFF7DF 100%);
  border-color:#D6E9F7;
}
.adm-profile-banner-compact:after{
  content:"";
  position:absolute;
  right:-55px;
  bottom:-75px;
  width:190px;
  height:190px;
  border-radius:50%;
  background:rgba(0,84,166,.08);
}
.adm-profile-banner-compact > *{position:relative;z-index:1;}
.adm-profile-banner-compact .adm-profile-icon{
  color:#fff;
  background:linear-gradient(135deg,#0054A6,#3E92AC);
  box-shadow:0 16px 28px rgba(0,84,166,.24);
}
.adm-badge-strong,
.adm-active-filter-pill{
  background:linear-gradient(135deg,#EAF8F0,#D7F5E4);
  border-color:#AEE8C7;
  color:#075E35;
  box-shadow:0 10px 20px rgba(11,107,62,.08);
}
.adm-kpi-grid-compact .adm-kpi{
  border:1px solid rgba(255,255,255,.90);
  background:linear-gradient(145deg,#FFFFFF 0%,#F5FBFF 100%);
  box-shadow:0 20px 42px rgba(6,46,103,.12);
}
.adm-kpi-grid-compact .adm-kpi:nth-child(1) i{background:linear-gradient(135deg,#E8F2FF,#BFDFFF);color:#0054A6;}
.adm-kpi-grid-compact .adm-kpi:nth-child(2) i{background:linear-gradient(135deg,#FFF2C7,#FFE07D);color:#795B00;}
.adm-kpi-grid-compact .adm-kpi:nth-child(3) i{background:linear-gradient(135deg,#EAF8F0,#BDEFD0);color:#0B6B3E;}
.adm-kpi-grid-compact .adm-kpi:nth-child(4) i{background:linear-gradient(135deg,#EAF7FF,#B9EEF7);color:#0C6678;}
.adm-kpi-grid-compact .adm-kpi:nth-child(5) i{background:linear-gradient(135deg,#F0E8FF,#D8C4FF);color:#5626A5;}
.adm-kpi-grid-compact .adm-kpi:before{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;
  width:5px;
  background:linear-gradient(180deg,#E9B221,#0054A6,#3E92AC);
}
.adm-kpi-grid-compact .adm-kpi:hover{transform:translateY(-4px);box-shadow:0 28px 58px rgba(6,46,103,.18);}
.adm-module-grid-compact .adm-module-card,
.adm-subcard{
  background:linear-gradient(145deg,#FFFFFF,#F7FBFF);
  border:1px solid #DCEAF6;
  box-shadow:0 18px 40px rgba(6,46,103,.10);
}
.adm-module-grid-compact .adm-module-card:nth-child(3n+1) .adm-module-icon{background:linear-gradient(135deg,#EAF4FF,#BFDFFF);color:#0054A6;}
.adm-module-grid-compact .adm-module-card:nth-child(3n+2) .adm-module-icon{background:linear-gradient(135deg,#FFF8E0,#FFE07D);color:#7B5A00;}
.adm-module-grid-compact .adm-module-card:nth-child(3n) .adm-module-icon{background:linear-gradient(135deg,#EAF8F0,#BDEFD0);color:#0B6B3E;}
.adm-module-state,
.adm-subcard-title-row span{
  background:#FFF4CB;
  color:#745400;
  border:1px solid #F1DEA1;
}
.adm-admin-search-modern{
  border:1px solid #D9EAF7;
  background:linear-gradient(135deg,#FFFFFF,#F5FBFF);
  box-shadow:0 18px 38px rgba(6,46,103,.08);
}
.adm-admin-search-modern input,
.adm-table-title input{
  border-color:#CFE0EF;
  background:#fff;
  box-shadow:0 10px 20px rgba(6,46,103,.05);
}
.adm-btn-primary{
  background:linear-gradient(135deg,#062E67 0%,#0054A6 56%,#3E92AC 100%);
  box-shadow:0 16px 28px rgba(0,84,166,.25);
}
.adm-btn-primary:hover{box-shadow:0 20px 36px rgba(0,84,166,.30);}
.adm-btn-light,
.adm-btn-mini{
  background:#EAF4FF;
  border-color:#CFE0EF;
  color:#0054A6;
}
.adm-table-modern th{
  color:#fff;
  background:linear-gradient(135deg,#062E67,#0054A6);
}
.adm-table-modern tbody tr:hover td{background:#F0F8FF;}
.adm-status-active,
.adm-active-filter-pill{
  background:linear-gradient(135deg,#EAF8F0,#D8F5E5);
}
.adm-selected-employee-modern{
  border:1px solid #CFE0EF;
  border-radius:20px;
  background:linear-gradient(135deg,#EAF4FF,#FFFFFF 62%,#FFF8E0);
  box-shadow:0 16px 34px rgba(6,46,103,.10);
}
.adm-empty-state-card{
  background:
    radial-gradient(circle at 50% -45%, rgba(0,84,166,.13), transparent 38%),
    linear-gradient(135deg,#FFFFFF,#F3FAFF);
  border-color:#BBD7EF;
}
.adm-empty-state-card div{filter:drop-shadow(0 10px 18px rgba(6,46,103,.16));}
@media (max-width:980px){
  .adm-workspace-content{padding:0;}
  .adm-workspace-menu{background:linear-gradient(135deg,#062E67,#0A6790);}
}

/* ============================================================
   AJUSTE FASE 2.0 - CABECERA Y ÁREA DE TRABAJO MÁS COMPACTAS
   ============================================================ */
.adm-admin-workspace-page{
  padding:12px 24px 30px;
  background:
    radial-gradient(circle at 4% 0%, rgba(233,178,33,.30) 0, rgba(233,178,33,.12) 22%, transparent 42%),
    radial-gradient(circle at 96% 0%, rgba(62,146,172,.28) 0, rgba(62,146,172,.11) 24%, transparent 46%),
    linear-gradient(135deg,#F4F9FF 0%,#EEF7FC 46%,#FFF7D8 100%);
}
.adm-admin-hero-compact{
  width:min(1420px,100%);
  min-height:118px;
  margin:0 auto 14px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  border-radius:22px;
  background:
    radial-gradient(circle at 76% 50%, rgba(233,178,33,.22) 0, rgba(233,178,33,.08) 18%, transparent 30%),
    linear-gradient(120deg,#062E67 0%,#0054A6 50%,#2690B3 100%);
  border:1px solid rgba(255,255,255,.26);
  box-shadow:0 18px 42px rgba(6,46,103,.22);
}
.adm-admin-hero-compact:before{
  width:270px;
  height:270px;
  right:150px;
  top:-118px;
  background:rgba(255,255,255,.10);
}
.adm-admin-hero-compact:after{
  content:"";
  position:absolute;
  right:-55px;
  bottom:-95px;
  width:230px;
  height:230px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.18);
}
.adm-admin-hero-compact .adm-admin-hero-left{
  padding:18px 24px 18px 26px;
}
.adm-admin-hero-compact .adm-admin-nav-row{
  margin-bottom:8px;
}
.adm-admin-hero-compact .adm-back{
  padding:8px 14px;
  font-size:13px;
  border-radius:999px;
  background:rgba(255,255,255,.13);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);
}
.adm-admin-hero-compact .adm-admin-eyebrow{
  margin:0;
  padding:5px 11px;
  font-size:10px;
  color:#062E67;
  background:linear-gradient(135deg,#FFD34D,#E9B221);
  border:0;
  box-shadow:0 10px 24px rgba(0,0,0,.10);
}
.adm-admin-hero-compact .adm-admin-hero-left h1{
  font-size:26px;
  margin:8px 0 6px;
  line-height:1.05;
  letter-spacing:-.45px;
}
.adm-admin-institution-meta{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin:0!important;
}
.adm-admin-institution-name{
  display:inline-flex;
  align-items:center;
  max-width:100%;
  padding:5px 12px;
  border-radius:999px;
  color:#062E67!important;
  background:rgba(255,255,255,.94);
  box-shadow:0 10px 24px rgba(0,0,0,.10);
  font-size:14px;
  font-weight:1000;
  letter-spacing:.05px;
}
.adm-admin-period-chip{
  display:inline-flex;
  align-items:center;
  padding:5px 11px;
  border-radius:999px;
  color:#FFF7D0;
  background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.22);
  font-size:12px;
  font-weight:900;
}
.adm-admin-user-card-compact{
  min-width:270px;
  margin:12px 16px 12px 12px;
  padding:11px;
  border-radius:19px;
  grid-template-columns:auto minmax(145px,1fr) auto;
  box-shadow:0 18px 38px rgba(0,0,0,.13);
}
.adm-admin-user-card-compact .adm-user-avatar{
  width:40px;
  height:40px;
  border-radius:14px;
  background:linear-gradient(135deg,#5637C8,#1E87C8);
  color:#fff;
}
.adm-admin-user-card-compact a{
  padding:9px 14px;
  border-radius:999px;
  background:#FFF1ED;
  border-color:#FFC8BD;
  color:#C31B10;
  font-size:14px;
}
.adm-admin-workspace-shell{
  width:min(1420px,100%);
  grid-template-columns:250px minmax(0,1fr);
  gap:14px;
}
.adm-admin-panel-card{
  padding:13px;
  border-radius:24px;
  background:rgba(255,255,255,.93);
  box-shadow:0 18px 44px rgba(6,46,103,.13);
}
.adm-admin-panel-head-compact{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:0 0 10px;
  padding:12px 14px;
  border-radius:20px;
  background:
    radial-gradient(circle at 98% 0%, rgba(233,178,33,.28) 0, rgba(233,178,33,.11) 30%, transparent 52%),
    linear-gradient(135deg,#F8FBFF 0%,#FFFFFF 62%,#FFF9E7 100%);
  border:1px solid #DCEAF6;
  min-height:auto;
}
.adm-admin-panel-head-main{
  min-width:0;
  display:flex;
  align-items:center;
  gap:12px;
}
.adm-panel-head-icon{
  width:44px;
  height:44px;
  min-width:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  color:#fff;
  background:linear-gradient(135deg,#0054A6,#3E92AC);
  box-shadow:0 14px 28px rgba(0,84,166,.18);
  font-size:21px;
}
.adm-admin-panel-head-compact .adm-section-kicker{
  margin:0 0 5px;
  padding:5px 10px;
  font-size:10px;
  color:#062E67;
  background:#FFD34D;
  border-color:rgba(233,178,33,.35);
}
.adm-admin-panel-head-compact h2{
  margin:0;
  font-size:23px;
  line-height:1.08;
  letter-spacing:-.38px;
}
.adm-admin-panel-head-compact p{
  margin:4px 0 0;
  font-size:12.5px;
  line-height:1.38;
  max-width:760px;
}
.adm-admin-panel-head-compact .adm-active-filter-pill{
  padding:8px 14px;
  border-radius:999px;
  background:linear-gradient(135deg,#E9FFF3,#D9F7E8);
  border-color:#BDEBCE;
  box-shadow:0 12px 24px rgba(18,130,76,.08);
}
.adm-admin-search-modern{
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  padding:11px 12px;
  margin:10px 0;
  border-radius:20px;
  background:linear-gradient(135deg,#F8FCFF,#F1F8FE);
  border:1px solid #D8E8F5;
  box-shadow:none;
}
.adm-admin-search-modern label{
  gap:6px;
  font-size:13px;
}
.adm-admin-search-modern input{
  height:45px;
  border-radius:15px;
  font-size:14px;
  box-shadow:0 10px 22px rgba(6,46,103,.04);
}
.adm-admin-search-modern .adm-btn{
  min-height:45px;
  padding:0 21px;
  box-shadow:0 14px 28px rgba(0,84,166,.18);
}
.adm-admin-panel-card .adm-admin-two-col-modern{
  margin:10px 0;
}
.adm-subcard{
  border-radius:20px;
  padding:13px;
}
.adm-subcard-title-row h3{
  font-size:17px;
}
.adm-admin-workspace-page .adm-search-results-card,
.adm-admin-workspace-page .adm-assign-profile-card{
  min-height:300px;
}
.adm-admin-workspace-page .adm-table-small-wrap{
  max-height:320px;
}
@media (max-width:1180px){
  .adm-admin-hero-compact{grid-template-columns:1fr;}
  .adm-admin-user-card-compact{margin:0 18px 16px;}
  .adm-admin-workspace-shell{grid-template-columns:220px minmax(0,1fr);}
}
@media (max-width:980px){
  .adm-admin-workspace-page{padding:12px;}
  .adm-admin-hero-compact{border-radius:20px;}
  .adm-admin-hero-compact .adm-admin-hero-left{padding:16px;}
  .adm-admin-user-card-compact{grid-template-columns:auto 1fr;}
  .adm-admin-user-card-compact a{grid-column:1 / -1;}
  .adm-admin-panel-head-compact{align-items:flex-start;flex-direction:column;}
  .adm-admin-search-modern{grid-template-columns:1fr;}
}
@media (max-width:620px){
  .adm-admin-panel-head-main{align-items:flex-start;}
  .adm-panel-head-icon{width:38px;height:38px;min-width:38px;border-radius:14px;font-size:18px;}
  .adm-admin-panel-head-compact h2{font-size:20px;}
  .adm-admin-institution-meta{gap:6px;}
}

/* ============================================================
   AJUSTE FASE 2.0 - CABECERA ADMINISTRATIVA MÁS COMPACTA Y PREMIUM
   ============================================================ */
.adm-admin-workspace-page{
  padding-top:10px;
}
.adm-admin-hero-compact{
  min-height:88px;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  margin-bottom:12px;
  border-radius:20px;
  background:
    radial-gradient(circle at 88% 50%, rgba(233,178,33,.30) 0, rgba(233,178,33,.11) 20%, transparent 34%),
    radial-gradient(circle at 64% -80%, rgba(255,255,255,.20) 0, rgba(255,255,255,.08) 28%, transparent 45%),
    linear-gradient(115deg,#062E67 0%,#0054A6 48%,#1F91B7 100%);
  box-shadow:0 16px 36px rgba(6,46,103,.22);
}
.adm-admin-hero-compact:before{
  width:245px;
  height:245px;
  right:118px;
  top:-135px;
  background:rgba(255,255,255,.095);
  border-color:rgba(255,255,255,.17);
}
.adm-admin-hero-compact:after{
  right:-80px;
  bottom:-110px;
  width:230px;
  height:230px;
  background:rgba(255,255,255,.075);
  border-color:rgba(255,255,255,.16);
}
.adm-admin-hero-compact .adm-admin-hero-left{
  padding:13px 22px 13px 24px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:14px;
}
.adm-admin-hero-compact .adm-admin-nav-row{
  margin:0;
  align-self:center;
}
.adm-admin-hero-compact .adm-back{
  height:36px;
  padding:0 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  font-size:13px;
  font-weight:900;
  background:rgba(255,255,255,.15);
  border:1px solid rgba(255,255,255,.26);
  color:#fff;
  white-space:nowrap;
}
.adm-admin-compact-brand{
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:5px;
}
.adm-admin-small-label{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  align-items:center;
  padding:4px 10px;
  border-radius:999px;
  background:linear-gradient(135deg,#FFE07D,#E9B221);
  color:#062E67;
  font-size:10px;
  line-height:1;
  letter-spacing:.9px;
  text-transform:uppercase;
  font-weight:1000;
  box-shadow:0 10px 20px rgba(28,58,99,.16);
}
.adm-admin-institution-meta{
  display:flex;
  align-items:center;
  gap:9px;
  flex-wrap:wrap;
  margin:0!important;
}
.adm-admin-institution-name{
  min-width:0;
  max-width:100%;
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:7px 15px;
  border-radius:16px;
  color:#062E67!important;
  background:linear-gradient(135deg,#FFFFFF 0%,#F3FAFF 100%);
  border:1px solid rgba(255,255,255,.72);
  box-shadow:0 14px 28px rgba(0,26,76,.17);
  font-size:18px;
  line-height:1.05;
  font-weight:1000;
  letter-spacing:-.2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.adm-admin-institution-name i{
  width:24px;
  height:24px;
  min-width:24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:9px;
  font-style:normal;
  color:#062E67;
  background:linear-gradient(135deg,#FFE07D,#E9B221);
  box-shadow:0 8px 16px rgba(233,178,33,.25);
  font-size:13px;
}
.adm-admin-period-chip{
  height:36px;
  display:inline-flex;
  align-items:center;
  padding:0 13px;
  border-radius:999px;
  color:#fff;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.28);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
  font-size:12px;
  font-weight:950;
  white-space:nowrap;
}
.adm-admin-user-card-compact{
  min-width:250px;
  margin:10px 14px 10px 8px;
  padding:10px 11px;
  border-radius:18px;
  grid-template-columns:auto minmax(132px,1fr) auto;
  background:rgba(255,255,255,.95);
  border:1px solid rgba(255,255,255,.78);
  box-shadow:0 16px 34px rgba(0,35,84,.18);
}
.adm-admin-user-card-compact .adm-user-avatar{
  width:38px;
  height:38px;
  min-width:38px;
  border-radius:14px;
  font-size:19px;
}
.adm-admin-user-card-compact strong{
  font-size:13px;
  line-height:1.1;
}
.adm-admin-user-card-compact span,
.adm-admin-user-card-compact small{
  font-size:10.5px;
  margin-top:2px;
}
.adm-admin-user-card-compact a{
  min-width:62px;
  padding:8px 12px;
  font-size:13px;
  line-height:1;
}
@media (max-width:1180px){
  .adm-admin-hero-compact{grid-template-columns:1fr;gap:0;}
  .adm-admin-hero-compact .adm-admin-hero-left{grid-template-columns:1fr;gap:9px;}
  .adm-admin-user-card-compact{width:auto;margin:0 14px 12px;}
}
@media (max-width:700px){
  .adm-admin-hero-compact .adm-admin-hero-left{padding:14px;}
  .adm-admin-institution-name{font-size:15px;white-space:normal;}
  .adm-admin-period-chip{height:32px;}
  .adm-admin-small-label{font-size:9px;}
}


/* ============================================================
   AJUSTE FASE 2.0 - RESPONSIVE PANEL ADMINISTRATIVO
   Corrige el comportamiento móvil del workspace, menú, tablas y formularios.
   ============================================================ */
html, body{
  overflow-x:hidden;
}
.adm-admin-workspace-page,
.adm-admin-workspace-page *{
  max-width:100%;
}
.adm-admin-workspace-page{
  width:100%;
}
.adm-workspace-content,
.adm-workspace-panel,
.adm-admin-panel-card,
.adm-subcard{
  min-width:0;
}
.adm-admin-workspace-page .adm-table-wrap,
.adm-admin-workspace-page .adm-table-small-wrap{
  width:100%;
  max-width:100%;
  overflow-x:auto;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  border-radius:18px;
}
.adm-admin-workspace-page .adm-table-modern{
  min-width:760px;
}
.adm-admin-workspace-page .adm-table-small{
  min-width:640px;
}
.adm-admin-workspace-page .adm-table-modern th,
.adm-admin-workspace-page .adm-table-modern td{
  overflow-wrap:anywhere;
}
.adm-admin-workspace-page input,
.adm-admin-workspace-page select,
.adm-admin-workspace-page button,
.adm-admin-workspace-page .adm-btn{
  max-width:100%;
}

@media (max-width:1100px){
  .adm-admin-workspace-page{
    padding:10px 12px 26px!important;
  }
  .adm-admin-workspace-shell{
    width:100%!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  .adm-workspace-menu{
    position:static!important;
    top:auto!important;
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:9px!important;
    padding:10px!important;
    border-radius:22px!important;
  }
  .adm-workspace-menu-title{
    grid-column:1 / -1!important;
    padding:10px 12px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
  }
  .adm-workspace-menu-title span{
    margin:0!important;
    white-space:nowrap!important;
  }
  .adm-workspace-menu-title strong{
    text-align:right!important;
    font-size:13px!important;
  }
  .adm-workspace-menu-note{
    display:none!important;
  }
  .adm-workspace-tab{
    min-height:70px!important;
    padding:10px!important;
    border-radius:17px!important;
  }
  .adm-workspace-tab i{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    border-radius:13px!important;
    font-size:18px!important;
  }
  .adm-workspace-tab span{
    font-size:13px!important;
  }
  .adm-workspace-tab small{
    font-size:10px!important;
  }
  .adm-admin-two-col-modern,
  .adm-admin-two-col{
    grid-template-columns:1fr!important;
  }
  .adm-admin-workspace-page .adm-search-results-card,
  .adm-admin-workspace-page .adm-assign-profile-card{
    min-height:auto!important;
  }
}

@media (max-width:820px){
  .adm-admin-hero-compact{
    width:100%!important;
    min-height:0!important;
    grid-template-columns:1fr!important;
    gap:0!important;
    border-radius:18px!important;
    margin-bottom:10px!important;
  }
  .adm-admin-hero-compact .adm-admin-hero-left{
    grid-template-columns:1fr!important;
    gap:9px!important;
    padding:13px 14px 10px!important;
  }
  .adm-admin-hero-compact .adm-admin-nav-row{
    width:100%!important;
    display:flex!important;
    gap:8px!important;
    flex-wrap:wrap!important;
  }
  .adm-admin-hero-compact .adm-back{
    height:32px!important;
    padding:0 12px!important;
    font-size:12px!important;
  }
  .adm-admin-small-label{
    width:fit-content!important;
    font-size:9px!important;
    padding:4px 9px!important;
  }
  .adm-admin-institution-meta{
    width:100%!important;
    gap:7px!important;
  }
  .adm-admin-institution-name{
    width:100%!important;
    max-width:100%!important;
    white-space:normal!important;
    font-size:15px!important;
    line-height:1.18!important;
    padding:8px 11px!important;
    border-radius:15px!important;
  }
  .adm-admin-institution-name i{
    width:22px!important;
    height:22px!important;
    min-width:22px!important;
    border-radius:8px!important;
  }
  .adm-admin-period-chip{
    height:30px!important;
    font-size:11px!important;
    padding:0 10px!important;
  }
  .adm-admin-user-card-compact{
    width:calc(100% - 24px)!important;
    min-width:0!important;
    margin:0 12px 12px!important;
    grid-template-columns:auto minmax(0,1fr) auto!important;
    align-items:center!important;
    padding:9px!important;
    border-radius:16px!important;
  }
  .adm-admin-user-card-compact .adm-user-avatar{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    font-size:16px!important;
  }
  .adm-admin-user-card-compact strong{
    font-size:12px!important;
  }
  .adm-admin-user-card-compact span,
  .adm-admin-user-card-compact small{
    font-size:10px!important;
  }
  .adm-admin-user-card-compact a{
    min-width:58px!important;
    padding:8px 10px!important;
    font-size:12px!important;
  }
  .adm-workspace-menu{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    border-radius:20px!important;
  }
  .adm-workspace-tab{
    grid-template-columns:auto minmax(0,1fr)!important;
    min-height:64px!important;
  }
  .adm-profile-banner-compact{
    padding:13px!important;
    border-radius:20px!important;
    margin-bottom:10px!important;
  }
  .adm-kpi-grid-compact,
  .adm-module-grid-compact{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
  }
  .adm-kpi-grid-compact .adm-kpi{
    min-height:92px!important;
    padding:12px!important;
  }
  .adm-kpi-grid-compact .adm-kpi strong{
    font-size:24px!important;
  }
  .adm-admin-panel-card{
    padding:11px!important;
    border-radius:20px!important;
  }
  .adm-admin-panel-head-compact{
    padding:11px!important;
    border-radius:17px!important;
  }
  .adm-admin-panel-head-main{
    width:100%!important;
    min-width:0!important;
  }
  .adm-admin-panel-head-compact h2{
    font-size:20px!important;
  }
  .adm-admin-panel-head-compact p{
    font-size:12px!important;
  }
  .adm-active-filter-pill{
    width:max-content!important;
    max-width:100%!important;
    font-size:11px!important;
  }
  .adm-admin-search-modern{
    grid-template-columns:1fr!important;
    gap:10px!important;
    padding:10px!important;
    border-radius:18px!important;
  }
  .adm-admin-search-modern input{
    height:43px!important;
    font-size:13px!important;
  }
  .adm-admin-search-modern .adm-btn{
    width:100%!important;
    min-height:43px!important;
  }
  .adm-subcard{
    padding:11px!important;
    border-radius:18px!important;
  }
  .adm-subcard-title-row{
    align-items:flex-start!important;
    flex-direction:column!important;
    gap:6px!important;
  }
}

@media (max-width:560px){
  .adm-admin-workspace-page{
    padding:8px 8px 22px!important;
  }
  .adm-workspace-menu{
    grid-template-columns:1fr!important;
    gap:8px!important;
    padding:9px!important;
  }
  .adm-workspace-menu-title{
    align-items:flex-start!important;
    flex-direction:column!important;
  }
  .adm-workspace-menu-title strong{
    text-align:left!important;
  }
  .adm-workspace-tab{
    min-height:58px!important;
    padding:9px!important;
  }
  .adm-workspace-tab small{
    display:none!important;
  }
  .adm-kpi-grid-compact,
  .adm-module-grid-compact{
    grid-template-columns:1fr!important;
  }
  .adm-admin-user-card-compact{
    grid-template-columns:auto minmax(0,1fr)!important;
  }
  .adm-admin-user-card-compact a{
    grid-column:1 / -1!important;
    width:100%!important;
    margin-top:4px!important;
  }
  .adm-admin-institution-name{
    font-size:14px!important;
  }
  .adm-panel-head-icon{
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
    font-size:16px!important;
  }
  .adm-admin-panel-head-main{
    align-items:flex-start!important;
  }
  .adm-admin-panel-head-compact h2,
  .adm-table-title h2{
    font-size:18px!important;
    line-height:1.15!important;
  }
  .adm-table-title,
  .adm-table-title-actions{
    align-items:stretch!important;
    flex-direction:column!important;
  }
  .adm-table-title input{
    max-width:none!important;
  }
  .adm-check-grid,
  .adm-grade-grid{
    grid-template-columns:1fr!important;
  }
  .adm-empty-state-card{
    min-height:180px!important;
    padding:20px 14px!important;
  }
  .adm-admin-workspace-page .adm-table-modern{
    min-width:680px;
  }
  .adm-admin-workspace-page .adm-table-small{
    min-width:600px;
  }
}


/* ============================================================
   AJUSTE FASE 2.0 - FOTO DE USUARIO Y TABLA EMPLEADOS
   Muestra la foto institucional del empleado y optimiza la tabla
   de búsqueda colocando la acción como primera columna.
   ============================================================ */
.adm-user-avatar-photo{
  position:relative;
  overflow:hidden;
  flex:0 0 auto;
}
.adm-user-avatar-photo img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:inherit;
  z-index:2;
  background:#fff;
}
.adm-user-avatar-photo span{
  position:relative;
  z-index:1;
  display:flex;
  width:100%;
  height:100%;
  align-items:center;
  justify-content:center;
}
.adm-user-avatar-photo.has-photo span{
  opacity:0;
}
.adm-user-avatar-photo.adm-avatar-default span{
  opacity:1;
}
.adm-search-results-card .adm-table-small th:first-child,
.adm-search-results-card .adm-table-small td:first-child{
  width:112px;
  min-width:112px;
  text-align:center;
  white-space:nowrap;
}
.adm-search-results-card .adm-table-small th:nth-child(2),
.adm-search-results-card .adm-table-small td:nth-child(2){
  min-width:190px;
}
.adm-search-results-card .adm-table-small th:nth-child(3),
.adm-search-results-card .adm-table-small td:nth-child(3){
  min-width:110px;
}
.adm-search-results-card .adm-table-small th:nth-child(4),
.adm-search-results-card .adm-table-small td:nth-child(4){
  min-width:260px;
}
.adm-action-cell .adm-btn-mini{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:92px;
}
@media (max-width:700px){
  .adm-search-results-card .adm-table-small{
    min-width:680px!important;
  }
  .adm-action-cell .adm-btn-mini{
    min-width:86px;
    padding-left:8px!important;
    padding-right:8px!important;
  }
}

/* ============================================================
   AJUSTE FASE 2.0 - ADMIN GENERAL COMPLETO
   Edición/eliminación de perfiles, módulos clicables y paneles
   de configuración/reportes base.
   ============================================================ */
.adm-module-card-link{
  width:100%;
  appearance:none;
  border:1px solid rgba(0,84,166,.16);
  cursor:pointer;
  text-align:left;
  font-family:inherit;
}
.adm-module-card-link:hover{
  transform:translateY(-3px);
  border-color:rgba(233,178,33,.65);
  box-shadow:0 18px 34px rgba(0,84,166,.20);
}
.adm-module-card-link:focus-visible,
.adm-workspace-tab:focus-visible,
.adm-btn:focus-visible{
  outline:3px solid rgba(233,178,33,.55);
  outline-offset:3px;
}
.adm-module-card-disabled{
  opacity:.72;
  filter:saturate(.78);
}
.adm-admin-alert{
  margin:12px 0 14px;
}
.adm-form-actions-admin{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin-top:14px;
}
.adm-btn-danger-outline,
.adm-btn-danger-mini{
  border:1px solid rgba(220,53,69,.28)!important;
  background:linear-gradient(135deg,#fff5f5,#ffffff)!important;
  color:#bb1f2d!important;
  box-shadow:0 10px 20px rgba(220,53,69,.08)!important;
}
.adm-btn-danger-outline:hover,
.adm-btn-danger-mini:hover{
  background:linear-gradient(135deg,#ffe5e8,#fff7f8)!important;
  color:#9e1724!important;
  border-color:rgba(220,53,69,.5)!important;
}
.adm-btn-danger-mini{
  min-height:34px!important;
  padding:8px 12px!important;
  border-radius:999px!important;
  font-weight:900!important;
  font-size:12px!important;
  cursor:pointer;
}
.adm-row-actions{
  min-width:180px;
  white-space:nowrap;
}
.adm-row-actions .adm-btn,
.adm-row-actions button{
  margin:2px 3px 2px 0;
  vertical-align:middle;
}
.adm-users-list-modern .adm-table-modern th:first-child,
.adm-users-list-modern .adm-table-modern td:first-child{
  width:190px;
  min-width:190px;
}
.adm-users-list-modern .adm-table-modern th:nth-child(2),
.adm-users-list-modern .adm-table-modern td:nth-child(2){
  min-width:240px;
}
.adm-users-list-modern .adm-table-modern th:nth-child(5),
.adm-users-list-modern .adm-table-modern td:nth-child(5){
  min-width:180px;
}
.adm-admin-status-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin:16px 0;
}
.adm-admin-status-grid article{
  min-height:118px;
  padding:18px;
  border-radius:22px;
  border:1px solid rgba(0,84,166,.12);
  background:linear-gradient(145deg,#ffffff 0%,#f0f7ff 100%);
  box-shadow:0 16px 32px rgba(0,84,166,.10);
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:7px;
  overflow:hidden;
  position:relative;
}
.adm-admin-status-grid article:after{
  content:"";
  position:absolute;
  width:78px;
  height:78px;
  border-radius:999px;
  right:-26px;
  top:-26px;
  background:rgba(233,178,33,.20);
}
.adm-admin-status-grid i{
  width:42px;
  height:42px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#004a93,#2f9db9);
  color:#fff;
  font-style:normal;
  box-shadow:0 10px 18px rgba(0,84,166,.18);
}
.adm-admin-status-grid span{
  color:#567096;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
  font-size:11px;
}
.adm-admin-status-grid strong{
  color:#00316e;
  font-size:18px;
  line-height:1.2;
  word-break:break-word;
}
.adm-admin-actions-strip{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  padding:14px;
  border-radius:20px;
  background:linear-gradient(135deg,rgba(0,84,166,.08),rgba(62,146,172,.10));
  border:1px solid rgba(0,84,166,.10);
}
.adm-report-summary-grid article:nth-child(1) i{background:linear-gradient(135deg,#004a93,#0b67c2)}
.adm-report-summary-grid article:nth-child(2) i{background:linear-gradient(135deg,#e9a421,#f5c84d)}
.adm-report-summary-grid article:nth-child(3) i{background:linear-gradient(135deg,#5b2db5,#7d55dc)}
.adm-report-summary-grid article:nth-child(4) i{background:linear-gradient(135deg,#00866b,#25b79b)}
@media (max-width:1100px){
  .adm-admin-status-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:700px){
  .adm-users-list-modern .adm-table-modern{min-width:980px!important;}
  .adm-admin-status-grid{grid-template-columns:1fr;}
  .adm-admin-actions-strip{flex-direction:column;}
  .adm-admin-actions-strip .adm-btn{width:100%;}
  .adm-row-actions{min-width:170px;}
}
@media print{
  .adm-dashboard-header,
  .adm-workspace-menu,
  .adm-admin-actions-strip,
  .adm-admin-search,
  .adm-row-actions,
  .adm-action-cell,
  .adm-btn{
    display:none!important;
  }
  .adm-admin-workspace-shell,
  .adm-workspace-content,
  .adm-workspace-panel.is-active{
    display:block!important;
    width:100%!important;
    padding:0!important;
    margin:0!important;
    box-shadow:none!important;
  }
  .adm-workspace-panel{display:none!important;}
  .adm-workspace-panel.is-active{display:block!important;}
}


/* === Fase 2.0 - Tablas configurables, filtros y exportación === */
.adm-table-manager{
  margin:12px 0 16px;
  padding:0;
  border-radius:22px;
  border:1px solid rgba(0,84,166,.14);
  background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(239,248,255,.94));
  box-shadow:0 12px 28px rgba(6,46,103,.07);
  overflow:hidden;
}
.adm-table-manager[open]{box-shadow:0 16px 34px rgba(6,46,103,.08);}
.adm-table-manager-toggle{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:68px;
  padding:13px 16px;
  cursor:pointer;
  list-style:none;
  user-select:none;
  outline:none;
  transition:background .16s ease,border-color .16s ease;
}
.adm-table-manager-toggle::-webkit-details-marker{display:none;}
.adm-table-manager-toggle:hover{background:rgba(234,244,255,.64);}
.adm-table-manager-toggle:focus-visible{box-shadow:inset 0 0 0 3px rgba(0,84,166,.18);}
.adm-table-manager[open]>.adm-table-manager-toggle{background:rgba(244,250,255,.78);border-bottom:1px solid rgba(0,84,166,.12);}
.adm-table-manager-toggle-copy{display:grid;grid-template-columns:auto 1fr;column-gap:11px;align-items:center;min-width:0;}
.adm-table-manager-toggle-copy:before{
  content:'▸';
  grid-row:1 / span 2;
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:11px;
  background:#eaf3ff;
  color:#0054a6;
  font-size:18px;
  font-weight:900;
  transition:transform .16s ease,background .16s ease;
}
.adm-table-manager[open] .adm-table-manager-toggle-copy:before{transform:rotate(90deg);background:#dcecff;}
.adm-table-manager-toggle-copy strong{display:block;color:#07336e;font-size:16px;line-height:1.2;}
.adm-table-manager-toggle-copy small{display:block;color:#58708f;font-size:12px;line-height:1.35;margin-top:3px;font-weight:700;}
.adm-table-manager-toggle-action{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex:0 0 auto;color:#0054a6;font-size:12px;font-weight:900;white-space:nowrap;}
.adm-table-manager-toggle-hide{display:none;}
.adm-table-manager[open] .adm-table-manager-toggle-show{display:none;}
.adm-table-manager[open] .adm-table-manager-toggle-hide{display:inline;}
.adm-table-manager-toggle-arrow{width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .16s ease;margin-top:-4px;}
.adm-table-manager[open] .adm-table-manager-toggle-arrow{transform:rotate(225deg);margin-top:5px;}
.adm-table-manager-body{padding:14px;}
.adm-table-manager-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;}
.adm-table-manager-top strong{display:block;color:#07336e;font-size:16px;line-height:1.2;}
.adm-table-manager-top span{display:block;color:#58708f;font-size:12px;margin-top:2px;}
.adm-table-manager-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;}
.adm-table-manager-search{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:10px;align-items:end;margin-bottom:10px;}
.adm-table-manager-search label,.adm-table-filter-grid label{display:grid;gap:5px;font-weight:900;color:#173f69;font-size:12px;}
.adm-table-manager-search input,.adm-table-filter-grid input{height:42px;border-radius:14px;border:1px solid #cfe0ef;padding:0 12px;background:#fff;color:#082d5f;outline:none;box-shadow:0 8px 16px rgba(6,46,103,.04);}
.adm-table-manager-search input:focus,.adm-table-filter-grid input:focus{border-color:#0054a6;box-shadow:0 0 0 4px rgba(0,84,166,.10);}
.adm-table-manager-search [data-adm-visible-count]{align-self:center;justify-self:end;background:#fff7db;color:#71530a;border:1px solid #f1dea1;border-radius:999px;padding:8px 12px;font-weight:900;font-size:12px;white-space:nowrap;}

.adm-table-pagination{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 10px;
  padding:10px 12px;
  border:1px solid rgba(0,84,166,.12);
  border-radius:16px;
  background:linear-gradient(135deg,rgba(255,255,255,.86),rgba(246,251,255,.78));
}
.adm-table-pagination label{
  display:flex;
  align-items:center;
  gap:8px;
  color:#173f69;
  font-weight:900;
  font-size:12px;
}
.adm-table-pagination select{
  height:36px;
  min-width:86px;
  border-radius:12px;
  border:1px solid #cfe0ef;
  padding:0 10px;
  background:#fff;
  color:#082d5f;
  font-weight:900;
  outline:none;
  box-shadow:0 8px 16px rgba(6,46,103,.04);
}
.adm-table-pagination select:focus{border-color:#0054a6;box-shadow:0 0 0 4px rgba(0,84,166,.10);}
.adm-table-page-buttons{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;}
.adm-table-page-buttons [data-adm-page-status]{
  min-width:120px;
  text-align:center;
  background:#eaf3ff;
  color:#07336e;
  border:1px solid #cfe0ef;
  border-radius:999px;
  padding:8px 12px;
  font-weight:900;
  font-size:12px;
  white-space:nowrap;
}
.adm-table-page-buttons .adm-btn:disabled{
  opacity:.45;
  cursor:not-allowed;
  filter:grayscale(.2);
}
.adm-table-manager-details{border:1px solid rgba(0,84,166,.12);border-radius:16px;background:rgba(255,255,255,.72);padding:0;margin-top:8px;overflow:hidden;}
.adm-table-manager-details summary{cursor:pointer;list-style:none;padding:10px 12px;font-weight:900;color:#003b7c;display:flex;align-items:center;gap:8px;}
.adm-table-manager-details summary::-webkit-details-marker{display:none;}
.adm-table-manager-details summary:before{content:'▸';display:inline-block;transition:.16s ease;color:#e9b221;}
.adm-table-manager-details[open] summary:before{transform:rotate(90deg);}
.adm-table-column-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px;padding:0 12px 12px;}
.adm-table-column-option{display:flex;align-items:center;gap:8px;min-height:38px;border:1px solid #dbe8f4;border-radius:14px;background:#fff;padding:8px 10px;color:#103c6b;font-weight:900;font-size:12px;}
.adm-table-column-option input{width:16px;height:16px;accent-color:#0054a6;}
.adm-table-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;padding:0 12px 12px;}
.adm-table-filter-grid label span{font-size:12px;color:#244967;}
.adm-table-modern th{position:relative;}
.adm-table-modern tbody tr[style*="display: none"]{display:none!important;}
@media (max-width: 760px){
  .adm-table-manager{padding:0;border-radius:18px;margin:10px 0 14px;}
  .adm-table-manager-toggle{min-height:62px;padding:11px 12px;gap:10px;}
  .adm-table-manager-toggle-copy{column-gap:9px;}
  .adm-table-manager-toggle-copy:before{width:31px;height:31px;border-radius:10px;font-size:16px;}
  .adm-table-manager-toggle-copy strong{font-size:14px;}
  .adm-table-manager-toggle-copy small{font-size:10px;}
  .adm-table-manager-toggle-action{font-size:0;gap:4px;}
  .adm-table-manager-toggle-action:before{content:'Abrir';font-size:11px;}
  .adm-table-manager[open] .adm-table-manager-toggle-action:before{content:'Cerrar';}
  .adm-table-manager-toggle-show,.adm-table-manager-toggle-hide{display:none!important;}
  .adm-table-manager-body{padding:12px;}
  .adm-table-manager-top{align-items:flex-start;flex-direction:column;}
  .adm-table-manager-actions{width:100%;justify-content:stretch;}
  .adm-table-manager-actions .adm-btn{flex:1 1 45%;}
  .adm-table-manager-search{grid-template-columns:1fr;}
  .adm-table-manager-search [data-adm-visible-count]{justify-self:start;}
  .adm-table-pagination{align-items:stretch;flex-direction:column;}
  .adm-table-page-buttons{justify-content:stretch;}
  .adm-table-page-buttons .adm-btn{flex:1 1 80px;}
  .adm-table-page-buttons [data-adm-page-status]{flex:1 1 100%;order:-1;}
  .adm-table-column-grid,.adm-table-filter-grid{grid-template-columns:1fr;}
}

/* === Fase 2.1 - Expediente Digital del Aspirante === */
body.adm-expediente-open{overflow:hidden;}
.adm-aspirantes-module-card{position:relative;}
.adm-expediente-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin:12px 0 16px;}
.adm-expediente-modal[hidden]{display:none!important;}
.adm-expediente-modal{position:fixed;inset:0;z-index:9998;display:flex;align-items:center;justify-content:center;padding:18px;}
.adm-expediente-modal-backdrop{position:absolute;inset:0;background:rgba(5,22,45,.58);backdrop-filter:blur(5px);}
.adm-expediente-dialog{position:relative;width:min(1240px,96vw);max-height:94vh;overflow:hidden;display:flex;flex-direction:column;border-radius:28px;background:#f7fbff;border:1px solid rgba(255,255,255,.85);box-shadow:0 34px 90px rgba(0,20,55,.38);}
.adm-expediente-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 24px;background:linear-gradient(135deg,#ffffff,#eef7ff);border-bottom:1px solid #dbe8f4;}
.adm-expediente-header h3{margin:2px 0 4px;color:#07336e;font-size:24px;line-height:1.18;}
.adm-expediente-header p{margin:0;color:#58708f;font-weight:800;}
.adm-expediente-close{width:44px;height:44px;border:0;border-radius:50%;background:#fff;color:#07336e;font-size:30px;line-height:1;cursor:pointer;box-shadow:0 12px 28px rgba(6,46,103,.12);}
.adm-expediente-alert{margin:12px 18px 0;border-radius:16px;padding:12px 14px;font-weight:900;}
.adm-expediente-alert.is-ok{background:#e9f8ef;color:#0b6b3e;border:1px solid #cbeedb;}
.adm-expediente-alert.is-error{background:#fff1f0;color:#a61b12;border:1px solid #f5cbc7;}
.adm-expediente-body{padding:18px;overflow:auto;}
.adm-expediente-loading{min-height:280px;display:flex;align-items:center;justify-content:center;text-align:center;color:#58708f;font-weight:900;background:#fff;border:1px dashed #cfe0ef;border-radius:22px;}
.adm-expediente-loading.is-error{color:#a61b12;background:#fff5f5;border-color:#f5cbc7;}
.adm-exp-hero{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px;}
.adm-exp-hero>div{background:#fff;border:1px solid #dfeaf4;border-radius:20px;padding:14px;box-shadow:0 12px 26px rgba(6,46,103,.07);}
.adm-exp-hero span{display:block;color:#58708f;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.35px;}
.adm-exp-hero strong{display:block;margin-top:5px;color:#07336e;font-size:18px;line-height:1.2;}
.adm-exp-hero small{display:block;color:#6a8199;font-weight:800;margin-top:4px;}
.adm-exp-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.adm-exp-card{background:#fff;border:1px solid #dfeaf4;border-radius:22px;padding:16px;box-shadow:0 14px 30px rgba(6,46,103,.07);}
.adm-exp-card-wide{grid-column:1 / -1;}
.adm-exp-card h4{margin:0 0 12px;color:#07336e;font-size:18px;}
.adm-exp-help{margin:0 0 12px;color:#58708f;font-weight:700;line-height:1.45;}
.adm-exp-info-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.adm-exp-info-list div{background:#f8fbfe;border:1px solid #e4edf5;border-radius:15px;padding:10px 12px;}
.adm-exp-info-list span{display:block;color:#58708f;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.35px;}
.adm-exp-info-list strong{display:block;margin-top:4px;color:#173f69;font-size:13px;line-height:1.35;word-break:break-word;}
.adm-exp-muted{color:#8fa1b4!important;font-weight:800!important;}
.adm-exp-state-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;}
.adm-exp-state-form select,.adm-exp-doc-table select,.adm-exp-doc-table input,.adm-exp-observacion-form textarea{width:100%;border-radius:14px;border:1px solid #cfe0ef;background:#fff;color:#082d5f;outline:none;box-shadow:0 8px 16px rgba(6,46,103,.04);}
.adm-exp-state-form select,.adm-exp-doc-table select,.adm-exp-doc-table input{height:42px;padding:0 10px;font-weight:800;}
.adm-exp-observacion-form textarea{min-height:110px;padding:11px 12px;resize:vertical;font-weight:700;line-height:1.45;}
.adm-exp-state-form select:focus,.adm-exp-doc-table select:focus,.adm-exp-doc-table input:focus,.adm-exp-observacion-form textarea:focus{border-color:#0054a6;box-shadow:0 0 0 4px rgba(0,84,166,.10);}
.adm-exp-timeline{list-style:none;margin:0;padding:0;display:grid;gap:10px;max-height:420px;overflow:auto;}
.adm-exp-timeline li{display:grid;grid-template-columns:24px 1fr;gap:10px;position:relative;}
.adm-exp-timeline li:not(:last-child):after{content:"";position:absolute;left:11px;top:25px;bottom:-12px;width:2px;background:#dfeaf4;}
.adm-exp-timeline i{width:24px;height:24px;border-radius:50%;background:linear-gradient(135deg,#0054a6,#3e92ac);box-shadow:0 0 0 5px #eaf4ff;z-index:1;margin-top:3px;}
.adm-exp-timeline div{background:#f8fbfe;border:1px solid #e4edf5;border-radius:16px;padding:10px 12px;}
.adm-exp-timeline strong{display:block;color:#07336e;}
.adm-exp-timeline span{display:block;color:#7b5a00;font-weight:900;font-size:12px;margin:3px 0;}
.adm-exp-timeline p{margin:0;color:#45677f;line-height:1.38;}
.adm-exp-timeline small{display:inline-flex;margin-top:6px;border-radius:999px;background:#fff8e0;color:#7b5a00;border:1px solid #f1dea1;padding:4px 8px;font-weight:900;font-size:10px;}
.adm-exp-table-wrap{overflow:auto;border:1px solid #e4edf5;border-radius:16px;}
.adm-exp-mini-table,.adm-exp-doc-table{width:100%;border-collapse:collapse;background:#fff;}
.adm-exp-mini-table th,.adm-exp-doc-table th{background:#f1f6fb;color:#315673;text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.35px;white-space:nowrap;}
.adm-exp-mini-table th,.adm-exp-mini-table td,.adm-exp-doc-table th,.adm-exp-doc-table td{padding:10px;border-bottom:1px solid #e8f0f7;vertical-align:middle;font-size:12px;}
.adm-exp-doc-table td:first-child strong{display:block;color:#07336e;min-width:220px;}
.adm-exp-doc-table td:first-child small,.adm-exp-doc-table td:nth-child(4) small{display:block;color:#7e91a4;font-weight:800;margin-top:3px;}
.adm-exp-observaciones-list{display:grid;gap:10px;margin-bottom:12px;max-height:360px;overflow:auto;}
.adm-exp-observaciones-list article{background:#f8fbfe;border:1px solid #e4edf5;border-radius:16px;padding:12px;}
.adm-exp-observaciones-list header{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:7px;}
.adm-exp-observaciones-list strong{color:#07336e;}
.adm-exp-observaciones-list span{color:#7b5a00;font-weight:900;font-size:12px;white-space:nowrap;}
.adm-exp-observaciones-list p{margin:0;color:#315673;line-height:1.45;white-space:pre-wrap;}
.adm-exp-observaciones-list small{display:block;color:#6a8199;margin-top:7px;font-weight:800;}
.adm-exp-observacion-form{display:grid;gap:10px;border-top:1px solid #e4edf5;padding-top:12px;}
.adm-exp-observacion-form label{display:grid;gap:7px;color:#173f69;font-weight:900;}
.adm-exp-empty{padding:16px;border-radius:16px;background:#f8fbfe;border:1px dashed #cfe0ef;color:#6a8199;text-align:center;font-weight:900;}
@media (max-width:980px){
  .adm-expediente-dialog{width:100%;max-height:96vh;border-radius:22px;}
  .adm-expediente-header{padding:16px;}
  .adm-expediente-header h3{font-size:20px;}
  .adm-exp-hero,.adm-exp-grid,.adm-exp-info-list,.adm-expediente-summary-grid{grid-template-columns:1fr;}
  .adm-exp-card-wide{grid-column:auto;}
  .adm-exp-state-form{grid-template-columns:1fr;}
  .adm-exp-doc-table{min-width:860px;}
  .adm-exp-mini-table{min-width:780px;}
}

/* ============================================================
   MEJORAS FASE 2.1 - Tabla Aspirantes y Expediente Digital
   Ajuste solicitado: columnas amplias, documentación con colores
   y modal más moderno/elegante.
   ============================================================ */
.adm-aspirantes-module-card{
  overflow:hidden;
}
.adm-aspirantes-table-wrap{
  position:relative;
  max-height:66vh;
  border:1px solid #d7e7f7;
  border-radius:22px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9), 0 18px 40px rgba(6,46,103,.08);
}
.adm-admin-workspace-page .adm-table-wrap.adm-aspirantes-table-wrap{
  overflow:auto;
}
.adm-admin-workspace-page .adm-aspirantes-table,
.adm-aspirantes-table{
  min-width:2360px!important;
  table-layout:fixed;
  border-spacing:0;
}
.adm-aspirantes-table th,
.adm-aspirantes-table td{
  padding:14px 10px!important;
  line-height:1.35!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
  hyphens:auto;
  vertical-align:middle!important;
}
.adm-aspirantes-table thead th{
  position:sticky!important;
  top:0;
  z-index:4;
  min-height:54px;
  text-align:left;
  letter-spacing:.45px;
  font-size:11px!important;
  box-shadow:0 8px 18px rgba(0,34,82,.12);
}
.adm-aspirantes-table tbody td{
  color:#052b5c;
  font-size:12px!important;
}
.adm-aspirantes-table tbody tr:nth-child(even) td{
  background:#fbfdff;
}
.adm-aspirantes-table tbody tr:hover td{
  background:#eef7ff!important;
}
.adm-aspirantes-table th:nth-child(1),
.adm-aspirantes-table td:nth-child(1){
  width:125px;
  min-width:125px;
  text-align:center;
  position:sticky;
  left:0;
  z-index:3;
  box-shadow:10px 0 20px rgba(0,32,84,.06);
}
.adm-aspirantes-table thead th:nth-child(1){z-index:6;}
.adm-aspirantes-table th:nth-child(2),
.adm-aspirantes-table td:nth-child(2){width:115px;}
.adm-aspirantes-table th:nth-child(3),
.adm-aspirantes-table td:nth-child(3){width:190px;}
.adm-aspirantes-table th:nth-child(4),
.adm-aspirantes-table td:nth-child(4){width:170px;}
.adm-aspirantes-table th:nth-child(5),
.adm-aspirantes-table td:nth-child(5){width:115px;}
.adm-aspirantes-table th:nth-child(6),
.adm-aspirantes-table td:nth-child(6){width:105px;}
.adm-aspirantes-table th:nth-child(7),
.adm-aspirantes-table td:nth-child(7){width:190px;}
.adm-aspirantes-table th:nth-child(8),
.adm-aspirantes-table td:nth-child(8){width:185px;}
.adm-aspirantes-table th:nth-child(9),
.adm-aspirantes-table td:nth-child(9){width:115px;}
.adm-aspirantes-table th:nth-child(10),
.adm-aspirantes-table td:nth-child(10){width:160px;}
.adm-aspirantes-table th:nth-child(11),
.adm-aspirantes-table td:nth-child(11){width:175px;}
.adm-aspirantes-table th:nth-child(12),
.adm-aspirantes-table td:nth-child(12){width:110px;}
.adm-aspirantes-table th:nth-child(13),
.adm-aspirantes-table td:nth-child(13){width:80px;}
.adm-aspirantes-table th:nth-child(14),
.adm-aspirantes-table td:nth-child(14){width:160px;}
.adm-aspirantes-table th:nth-child(15),
.adm-aspirantes-table td:nth-child(15){width:170px;}
.adm-aspirantes-table th:nth-child(16),
.adm-aspirantes-table td:nth-child(16){width:135px;}
.adm-aspirantes-table th:nth-child(17),
.adm-aspirantes-table td:nth-child(17){width:120px;}
.adm-aspirantes-table th:nth-child(18),
.adm-aspirantes-table td:nth-child(18){width:115px;text-align:center;}
.adm-aspirantes-table th:nth-child(19),
.adm-aspirantes-table td:nth-child(19){width:145px;}
.adm-aspirantes-table th:nth-child(20),
.adm-aspirantes-table td:nth-child(20){width:155px;}
.adm-aspirantes-table .adm-btn-mini{
  min-width:86px;
  white-space:normal;
  border-radius:999px;
  padding:8px 12px;
  line-height:1.2;
  box-shadow:0 12px 24px rgba(0,84,166,.14);
}
.adm-aspirantes-table td:nth-child(14) .adm-badge{
  display:inline-flex;
  justify-content:center;
  min-width:112px;
  padding:7px 10px;
  border-radius:999px;
  background:linear-gradient(135deg,#eaf4ff,#d7ebff);
  border:1px solid #c3dff7;
  color:#0054a6;
  font-size:10px;
  font-weight:1000;
}
.adm-aspirantes-table .adm-progress-mini{
  min-width:92px;
  height:7px;
  background:#dcecf8;
}
.adm-expediente-modal{
  padding:24px;
}
.adm-expediente-modal-backdrop{
  background:radial-gradient(circle at 12% 10%,rgba(233,178,33,.25),transparent 28%),radial-gradient(circle at 86% 12%,rgba(62,146,172,.28),transparent 30%),rgba(5,22,45,.70);
  backdrop-filter:blur(8px);
}
.adm-expediente-dialog{
  width:min(1360px,97vw);
  max-height:94vh;
  border-radius:34px;
  background:linear-gradient(180deg,#f8fbff 0%,#eef6ff 100%);
  border:1px solid rgba(255,255,255,.92);
  box-shadow:0 34px 92px rgba(0,20,55,.44), inset 0 1px 0 rgba(255,255,255,.85);
}
.adm-expediente-header{
  position:relative;
  overflow:hidden;
  align-items:center;
  padding:24px 28px;
  color:#fff;
  background:linear-gradient(135deg,#062e67 0%,#0054a6 52%,#3e92ac 100%);
  border-bottom:0;
}
.adm-expediente-header:before{
  content:'';
  position:absolute;
  right:-70px;
  top:-100px;
  width:280px;
  height:280px;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
}
.adm-expediente-header:after{
  content:'';
  position:absolute;
  left:42%;
  bottom:-90px;
  width:220px;
  height:220px;
  border-radius:50%;
  background:rgba(233,178,33,.18);
}
.adm-expediente-header-main{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap:16px;
  min-width:0;
}
.adm-expediente-header-icon{
  width:62px;
  height:62px;
  min-width:62px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:22px;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.32);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 18px 34px rgba(0,22,61,.20);
  font-size:32px;
}
.adm-expediente-header .adm-section-kicker{
  color:#ffdf78;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  padding:6px 10px;
  border-radius:999px;
}
.adm-expediente-header h3{
  color:#fff;
  font-size:28px;
  letter-spacing:-.45px;
  text-shadow:0 8px 22px rgba(0,20,55,.26);
}
.adm-expediente-header p{
  color:rgba(255,255,255,.86);
}
.adm-expediente-close{
  position:relative;
  z-index:2;
  color:#fff;
  background:rgba(255,255,255,.15);
  border:1px solid rgba(255,255,255,.26);
  box-shadow:0 16px 30px rgba(0,25,64,.18);
}
.adm-expediente-close:hover{
  background:rgba(255,255,255,.25);
  transform:translateY(-1px);
}
.adm-expediente-alert{
  margin:14px 20px 0;
  border-radius:18px;
  box-shadow:0 12px 26px rgba(6,46,103,.08);
}
.adm-expediente-body{
  padding:20px;
  background:radial-gradient(circle at top left,rgba(233,178,33,.12),transparent 32%),radial-gradient(circle at bottom right,rgba(62,146,172,.12),transparent 35%);
}
.adm-exp-hero{
  gap:14px;
  margin-bottom:18px;
}
.adm-exp-hero-card{
  position:relative;
  overflow:hidden;
  min-height:126px;
  padding:18px 18px 16px!important;
  border-radius:24px!important;
  background:linear-gradient(135deg,#ffffff 0%,#f4faff 100%)!important;
  border:1px solid rgba(214,231,247,.92)!important;
  box-shadow:0 18px 34px rgba(6,46,103,.09)!important;
}
.adm-exp-hero-card:before{
  content:'';
  position:absolute;
  right:-28px;
  top:-34px;
  width:112px;
  height:112px;
  border-radius:50%;
  opacity:.22;
}
.adm-exp-hero-card i{
  position:relative;
  z-index:1;
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:15px;
  margin-bottom:9px;
  font-style:normal;
  background:#eaf4ff;
  color:#0054a6;
  font-size:19px;
}
.adm-exp-hero-state:before{background:#0054a6;}
.adm-exp-hero-progress:before{background:#3e92ac;}
.adm-exp-hero-docs:before{background:#23a65a;}
.adm-exp-hero-date:before{background:#e9b221;}
.adm-exp-hero strong{
  font-size:21px;
  color:#062e67;
}
.adm-exp-grid{
  gap:16px;
}
.adm-exp-card{
  position:relative;
  overflow:hidden;
  border-radius:26px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(214,231,247,.95);
  box-shadow:0 18px 42px rgba(6,46,103,.09);
}
.adm-exp-card:before{
  content:'';
  position:absolute;
  inset:0 0 auto;
  height:5px;
  background:linear-gradient(90deg,#e9b221,#0054a6,#3e92ac);
}
.adm-exp-card-title{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:14px;
}
.adm-exp-card-title h4{
  margin:0;
  color:#062e67;
  font-size:19px;
}
.adm-exp-card-title p{
  margin:3px 0 0;
  color:#6a8199;
  font-weight:800;
  font-size:12px;
}
.adm-exp-card-icon{
  width:44px;
  height:44px;
  min-width:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  background:linear-gradient(135deg,#eaf4ff,#fff8e0);
  border:1px solid #d8e9f8;
  box-shadow:0 10px 20px rgba(6,46,103,.08);
  font-size:22px;
}
.adm-exp-info-list{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.adm-exp-info-list div{
  border-radius:18px;
  background:linear-gradient(135deg,#f8fbff,#ffffff);
  border:1px solid #e1edf7;
  box-shadow:0 10px 22px rgba(6,46,103,.045);
}
.adm-exp-state-card{
  background:linear-gradient(135deg,#ffffff 0%,#f0f8ff 100%);
}
.adm-exp-state-current{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:12px 0;
  padding:12px 14px;
  border-radius:18px;
  background:linear-gradient(135deg,#eaf4ff,#ffffff);
  border:1px solid #cfe0ef;
}
.adm-exp-state-current span{
  color:#58708f;
  font-size:11px;
  font-weight:1000;
  letter-spacing:.35px;
  text-transform:uppercase;
}
.adm-exp-state-current strong{
  color:#0054a6;
  font-weight:1000;
  text-align:right;
}
.adm-exp-state-form select,
.adm-exp-doc-table select,
.adm-exp-doc-table input,
.adm-exp-observacion-form textarea{
  border-radius:16px;
  border-color:#c9dff2;
  background:#fff;
}
.adm-exp-state-form .adm-btn{
  border-radius:18px;
  min-height:42px;
  box-shadow:0 16px 30px rgba(0,84,166,.20);
}
.adm-exp-timeline i{
  background:linear-gradient(135deg,#e9b221,#0054a6);
  box-shadow:0 0 0 6px #eef7ff;
}
.adm-exp-timeline div,
.adm-exp-observaciones-list article{
  background:linear-gradient(135deg,#ffffff,#f8fbff);
  box-shadow:0 10px 22px rgba(6,46,103,.045);
}
.adm-exp-table-wrap{
  border-radius:20px;
  border-color:#dbeaf8;
  box-shadow:0 14px 30px rgba(6,46,103,.055);
}
.adm-exp-mini-table th,
.adm-exp-doc-table th{
  color:#07336e;
  background:linear-gradient(135deg,#eaf4ff,#f7fbff);
}
.adm-exp-doc-help{
  margin-top:-2px;
}
.adm-exp-doc-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:12px 0 16px;
}
.adm-doc-summary-card{
  display:flex;
  align-items:center;
  gap:11px;
  padding:13px;
  border-radius:20px;
  border:1px solid transparent;
  box-shadow:0 12px 24px rgba(6,46,103,.06);
}
.adm-doc-summary-card i{
  width:40px;
  height:40px;
  min-width:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:15px;
  background:rgba(255,255,255,.62);
  font-style:normal;
  font-size:20px;
}
.adm-doc-summary-card strong{
  display:block;
  color:#062e67;
  font-size:22px;
  line-height:1;
}
.adm-doc-summary-card span{
  display:block;
  color:#173f69;
  font-size:12px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.35px;
}
.adm-doc-summary-card small{
  display:block;
  color:#58708f;
  font-weight:800;
  font-size:11px;
}
.adm-doc-summary-card.is-pendiente{background:linear-gradient(135deg,#fff9e8,#ffffff);border-color:#f0dc9c;}
.adm-doc-summary-card.is-recibido{background:linear-gradient(135deg,#eafaf1,#ffffff);border-color:#bfead2;}
.adm-doc-summary-card.is-observado{background:linear-gradient(135deg,#fff1ed,#ffffff);border-color:#f5c3b8;}
.adm-doc-summary-card.is-no-aplica{background:linear-gradient(135deg,#f1f5f9,#ffffff);border-color:#d8e2ec;}
.adm-exp-doc-table-wrap{
  overflow:auto;
}
.adm-exp-doc-table{
  min-width:1040px;
}
.adm-exp-doc-table th,
.adm-exp-doc-table td{
  padding:12px!important;
}
.adm-exp-doc-table tbody tr.adm-doc-row td{
  transition:.16s ease;
}
.adm-exp-doc-table tbody tr.adm-doc-row.is-pendiente td{background:#fffdf6;}
.adm-exp-doc-table tbody tr.adm-doc-row.is-recibido td{background:#f5fff9;}
.adm-exp-doc-table tbody tr.adm-doc-row.is-observado td{background:#fff8f6;}
.adm-exp-doc-table tbody tr.adm-doc-row.is-no-aplica td{background:#f9fbfd;}
.adm-doc-state-control{
  display:grid;
  gap:8px;
  min-width:178px;
}
.adm-doc-state-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  width:max-content;
  min-width:122px;
  padding:7px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.32px;
  border:1px solid transparent;
}
.adm-doc-state-badge i{font-style:normal;}
.adm-doc-state-badge.is-pendiente,
.adm-doc-select.is-pendiente{background:#fff7d6;color:#7b5a00;border-color:#ebd383;}
.adm-doc-state-badge.is-recibido,
.adm-doc-select.is-recibido{background:#e7f8ee;color:#0a6b3c;border-color:#b9e7cd;}
.adm-doc-state-badge.is-observado,
.adm-doc-select.is-observado{background:#ffe8e2;color:#9d2819;border-color:#f4b8ab;}
.adm-doc-state-badge.is-no-aplica,
.adm-doc-select.is-no-aplica{background:#edf2f7;color:#4b6176;border-color:#d6e1eb;}
.adm-doc-select{
  font-weight:1000!important;
}
.adm-doc-save-btn{
  border-radius:999px;
  min-width:86px;
}
.adm-exp-observacion-form{
  background:linear-gradient(135deg,#f8fbff,#ffffff);
  border:1px solid #e1edf7;
  border-radius:20px;
  padding:14px;
}

@media (max-width:1180px){
  .adm-exp-info-list{grid-template-columns:repeat(2,minmax(0,1fr));}
  .adm-exp-doc-summary{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:980px){
  .adm-expediente-modal{padding:10px;}
  .adm-expediente-dialog{border-radius:24px;}
  .adm-expediente-header-main{align-items:flex-start;}
  .adm-expediente-header-icon{width:50px;height:50px;min-width:50px;border-radius:18px;font-size:25px;}
  .adm-expediente-header h3{font-size:20px;}
  .adm-exp-info-list,
  .adm-exp-doc-summary{grid-template-columns:1fr;}
  .adm-aspirantes-table-wrap{max-height:72vh;}
}


/* === Ajuste Fase 2.1 - Cabecera del modal Expediente Digital === */
.adm-expediente-header{
  min-height:auto;
  align-items:flex-start;
  gap:20px;
  padding:22px 28px 24px;
  overflow:hidden;
}
.adm-expediente-header-main{
  flex:1 1 auto;
  min-width:0;
  max-width:calc(100% - 76px);
  align-items:flex-start;
}
.adm-expediente-header-main > div:last-child{
  min-width:0;
  flex:1 1 auto;
  padding-right:8px;
}
.adm-expediente-header .adm-section-kicker{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  margin-bottom:8px;
  white-space:normal;
  line-height:1.15;
  position:relative;
  z-index:2;
}
.adm-expediente-header h3{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px 10px;
  max-width:100%;
  margin:0 0 8px;
  line-height:1.16;
  overflow-wrap:anywhere;
  word-break:normal;
  position:relative;
  z-index:2;
}
.adm-exp-title-code{
  display:inline-flex;
  align-items:center;
  max-width:100%;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.24);
  font-size:.82em;
  line-height:1.1;
  white-space:nowrap;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18);
}
.adm-exp-title-sep{
  color:#ffdf78;
  font-weight:900;
}
.adm-exp-title-name{
  flex:1 1 360px;
  min-width:220px;
  max-width:100%;
  line-height:1.16;
  overflow-wrap:anywhere;
}
.adm-expediente-header p[data-adm-expediente-subtitle]{
  display:flex;
  flex-wrap:wrap;
  gap:6px 10px;
  align-items:center;
  max-width:100%;
  margin:0;
  line-height:1.35;
  position:relative;
  z-index:2;
}
.adm-exp-subtitle-item{
  display:inline-flex;
  align-items:center;
  gap:4px;
  max-width:100%;
  padding:4px 9px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  color:rgba(255,255,255,.92);
  overflow-wrap:anywhere;
}
.adm-exp-subtitle-item b{
  color:#ffdf78;
  font-weight:900;
}
.adm-exp-subtitle-dot{
  color:#ffdf78;
  font-weight:900;
}
.adm-expediente-close{
  flex:0 0 46px;
  margin-top:6px;
}

@media (max-width:980px){
  .adm-expediente-header{
    padding:18px 16px 20px;
    gap:12px;
  }
  .adm-expediente-header-main{
    max-width:calc(100% - 58px);
    gap:12px;
  }
  .adm-exp-title-code{
    white-space:normal;
  }
  .adm-exp-title-name{
    flex-basis:100%;
    min-width:0;
  }
  .adm-exp-subtitle-dot{
    display:none;
  }
  .adm-exp-subtitle-item{
    width:100%;
    justify-content:flex-start;
    border-radius:14px;
  }
  .adm-expediente-close{
    flex-basis:42px;
    width:42px;
    height:42px;
    margin-top:0;
  }
}

@media (max-width:620px){
  .adm-expediente-header{
    flex-direction:column;
  }
  .adm-expediente-header-main{
    max-width:100%;
    width:100%;
  }
  .adm-expediente-close{
    position:absolute;
    top:14px;
    right:14px;
  }
  .adm-expediente-header-main > div:last-child{
    padding-right:48px;
  }
}

/* === Corrección Fase 2.1 - Cabecera visible del Expediente Digital === */
.adm-expediente-dialog{
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
.adm-expediente-header{
  flex:0 0 auto!important;
  min-height:132px!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  align-items:flex-start!important;
  padding:22px 84px 26px 28px!important;
  position:relative!important;
  z-index:4!important;
}
.adm-expediente-header:before,
.adm-expediente-header:after{
  pointer-events:none;
  z-index:0;
}
.adm-expediente-header-main{
  position:relative!important;
  z-index:3!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  align-items:flex-start!important;
}
.adm-expediente-header-main > div:last-child{
  min-width:0!important;
  width:100%!important;
  padding-right:0!important;
}
.adm-expediente-header .adm-section-kicker{
  max-width:100%!important;
  margin-bottom:10px!important;
  flex-wrap:wrap!important;
}
.adm-expediente-header h3{
  width:100%!important;
  max-width:100%!important;
  margin:0 0 10px!important;
  line-height:1.18!important;
  font-size:clamp(20px,2vw,28px)!important;
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:flex-start!important;
  gap:7px 10px!important;
  white-space:normal!important;
  overflow:visible!important;
}
.adm-exp-title-code{
  flex:0 0 auto!important;
  max-width:100%!important;
  white-space:nowrap!important;
}
.adm-exp-title-sep{
  flex:0 0 auto!important;
  line-height:1.18!important;
}
.adm-exp-title-name{
  flex:1 1 520px!important;
  min-width:260px!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow:visible!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
.adm-expediente-header p[data-adm-expediente-subtitle]{
  width:100%!important;
  max-width:100%!important;
  line-height:1.35!important;
  overflow:visible!important;
}
.adm-expediente-close{
  position:absolute!important;
  top:28px!important;
  right:28px!important;
  z-index:6!important;
  flex:0 0 auto!important;
  margin:0!important;
}
.adm-expediente-alert{
  flex:0 0 auto!important;
}
.adm-expediente-body{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow:auto!important;
  position:relative!important;
  z-index:1!important;
}

@media (max-width:980px){
  .adm-expediente-header{
    min-height:150px!important;
    padding:18px 70px 22px 16px!important;
  }
  .adm-expediente-header-icon{
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
  }
  .adm-exp-title-code{
    white-space:normal!important;
  }
  .adm-exp-title-sep{
    display:none!important;
  }
  .adm-exp-title-name{
    flex-basis:100%!important;
    min-width:0!important;
  }
  .adm-expediente-close{
    top:18px!important;
    right:18px!important;
  }
}

@media (max-width:620px){
  .adm-expediente-header{
    min-height:180px!important;
    padding:16px 64px 20px 14px!important;
  }
  .adm-expediente-header-main{
    flex-direction:column!important;
    gap:10px!important;
  }
  .adm-expediente-header-main > div:last-child{
    padding-right:0!important;
  }
  .adm-expediente-header .adm-section-kicker{
    padding-right:0!important;
  }
  .adm-expediente-header h3{
    font-size:20px!important;
  }
  .adm-expediente-close{
    top:14px!important;
    right:14px!important;
  }
}

/* === Corrección Fase 2.1 - Retirar círculo naranja de cabecera del Expediente Digital === */
.adm-expediente-header:after{
  display:none!important;
  content:none!important;
}

/* ============================================================
   Ajuste Fase 2.1 - Avance visual y filtro porcentual
   ============================================================ */
.adm-aspirantes-table .adm-avance-cell{
  text-align:left;
}
.adm-aspirantes-table .adm-avance-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-width:118px;
  margin-bottom:8px;
  padding:6px 9px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:1000;
  line-height:1;
  box-shadow:0 10px 18px rgba(6,46,103,.06);
}
.adm-aspirantes-table .adm-avance-chip strong{
  font-size:13px;
  letter-spacing:.2px;
}
.adm-aspirantes-table .adm-avance-chip span{
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.45px;
}
.adm-aspirantes-table .adm-avance-cell .adm-progress-mini{
  width:118px;
  min-width:118px;
  height:8px;
  margin:0;
  background:#edf3f8;
  box-shadow:inset 0 1px 2px rgba(5,22,45,.08);
}
.adm-aspirantes-table .adm-avance-completo .adm-avance-chip{
  color:#0d6b3f;
  background:linear-gradient(135deg,#e8fff2,#d3f8df);
  border-color:#b7e9c7;
}
.adm-aspirantes-table .adm-avance-completo .adm-progress-mini span{
  background:linear-gradient(90deg,#11a05a,#54c878)!important;
}
.adm-aspirantes-table .adm-avance-pendiente .adm-avance-chip{
  color:#a65b00;
  background:linear-gradient(135deg,#fff5e5,#ffe4bf);
  border-color:#f6c77f;
}
.adm-aspirantes-table .adm-avance-pendiente .adm-progress-mini span{
  background:linear-gradient(90deg,#f59e0b,#f6bf47)!important;
}
.adm-table-filter-percent{
  display:grid;
  gap:5px;
  font-weight:900;
  color:#173f69;
  font-size:12px;
}
.adm-percent-filter-box{
  display:grid;
  gap:8px;
  padding:10px;
  border:1px solid #cfe0ef;
  border-radius:16px;
  background:linear-gradient(135deg,#ffffff,#f7fbff);
  box-shadow:0 8px 18px rgba(6,46,103,.05);
}
.adm-percent-filter-box select,
.adm-percent-filter-box input{
  width:100%;
  height:40px;
  border-radius:13px;
  border:1px solid #cfe0ef;
  padding:0 11px;
  background:#fff;
  color:#082d5f;
  font-weight:900;
  outline:none;
}
.adm-percent-filter-box select:focus,
.adm-percent-filter-box input:focus{
  border-color:#0054a6;
  box-shadow:0 0 0 4px rgba(0,84,166,.10);
}
.adm-percent-filter-range{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.adm-percent-filter-box small{
  color:#7a5a10;
  background:#fff7db;
  border:1px solid #f1dea1;
  border-radius:12px;
  padding:7px 9px;
  line-height:1.35;
  font-weight:900;
}
@media (max-width:760px){
  .adm-percent-filter-range{grid-template-columns:1fr;}
}

/* Fase 2.2 - Secretaría: contacto con representantes y confirmación de citas */
.adm-contacto-module-card{position:relative;overflow:hidden;}
.adm-contacto-module-card:before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:linear-gradient(90deg,#0054a6,#3e92ac,#e9b221);}
.adm-contacto-summary-grid article i{background:#eef7ff;color:#0054a6;}
.adm-contacto-alert-strip{display:flex;gap:12px;align-items:flex-start;background:#fff8e6;border:1px solid #f1dea1;color:#6f5200;border-radius:18px;padding:13px 15px;margin:14px 0;font-weight:800;}
.adm-contacto-alert-strip strong{white-space:nowrap;color:#7b5a00;}
.adm-contacto-alert-strip span{line-height:1.45;}
.adm-contact-status{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.25px;border:1px solid #dce8f4;background:#f7fbff;color:#315673;white-space:nowrap;}
.adm-contact-sin-contacto{background:#fff3e0;color:#8a5200;border-color:#f0c77b;box-shadow:0 0 0 3px rgba(233,178,33,.12);}
.adm-contact-alerta{background:#fff0ee;color:#9b1c1c;border-color:#f0a6a0;box-shadow:0 0 0 3px rgba(220,38,38,.10);}
.adm-contact-en-gestion{background:#edf7ff;color:#0054a6;border-color:#b7d8f8;}
.adm-contact-ok{background:#edfdf4;color:#08733f;border-color:#a8e5bf;}
.adm-contact-pendiente{background:#f7fbff;color:#58708f;border-color:#dbe8f4;}
.adm-row-alert-contacto td{background:#fffaf0!important;}
.adm-row-alert-contacto-fuerte td{background:#fff4f2!important;}
.adm-row-alert-contacto td:first-child,.adm-row-alert-contacto-fuerte td:first-child{box-shadow:inset 5px 0 0 #e9b221;}
.adm-row-alert-contacto-fuerte td:first-child{box-shadow:inset 5px 0 0 #dc2626;}
.adm-contact-help{background:#f6fbff;border:1px solid #dceaf6;border-radius:16px;padding:12px 14px;}
.adm-contact-summary-box{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px;}
.adm-contact-summary-box article{border:1px solid #e4edf5;background:#f8fbfe;border-radius:16px;padding:12px;display:grid;grid-template-columns:34px 1fr;gap:9px;align-items:center;}
.adm-contact-summary-box i{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:#eaf4ff;font-style:normal;}
.adm-contact-summary-box span{display:block;color:#58708f;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.35px;}
.adm-contact-summary-box strong{display:block;color:#07336e;font-size:13px;line-height:1.25;word-break:break-word;}
.adm-contact-summary-box small{display:block;color:#7e91a4;font-weight:800;margin-top:2px;}
.adm-contact-attempt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0;}
.adm-contact-attempt{border:1px solid #dfeaf4;background:#fff;border-radius:18px;padding:13px;box-shadow:0 12px 24px rgba(6,46,103,.06);display:grid;gap:10px;position:relative;overflow:hidden;}
.adm-contact-attempt:before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:#cbd9e6;}
.adm-contact-attempt.is-exitoso:before{background:#23a65a;}
.adm-contact-attempt.is-parcial:before{background:#e9b221;}
.adm-contact-attempt.is-fallido:before{background:#dc2626;}
.adm-contact-attempt header{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;}
.adm-contact-attempt header span{display:block;color:#58708f;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.35px;}
.adm-contact-attempt header strong{display:flex;gap:6px;align-items:center;color:#07336e;font-size:15px;line-height:1.2;}
.adm-contact-attempt header strong i{font-style:normal;}
.adm-contact-attempt header small,.adm-contact-attempt header em{color:#7e91a4;font-size:11px;font-weight:900;font-style:normal;}
.adm-contact-attempt-meta{background:#f8fbfe;border:1px solid #e4edf5;border-radius:13px;padding:8px 10px;}
.adm-contact-attempt-meta small{display:block;color:#58708f;font-size:10px;font-weight:900;text-transform:uppercase;}
.adm-contact-attempt-meta b{display:block;color:#315673;font-size:12px;word-break:break-word;}
.adm-contact-attempt label,.adm-contact-confirm-box label{display:grid;gap:6px;color:#173f69;font-weight:900;}
.adm-contact-attempt textarea,.adm-contact-confirm-box textarea{width:100%;min-height:88px;border-radius:14px;border:1px solid #cfe0ef;background:#fff;color:#082d5f;outline:none;padding:10px 11px;resize:vertical;font-weight:700;line-height:1.4;box-shadow:0 8px 16px rgba(6,46,103,.04);}
.adm-contact-attempt textarea:focus,.adm-contact-confirm-box textarea:focus{border-color:#0054a6;box-shadow:0 0 0 4px rgba(0,84,166,.10);}
.adm-contact-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center;}
.adm-contact-confirm-box{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(220px,.8fr) auto;gap:12px;align-items:center;border-radius:18px;border:1px solid #dfeaf4;background:linear-gradient(135deg,#f8fbfe,#fff);padding:14px;margin-top:12px;}
.adm-contact-confirm-box span{display:block;color:#58708f;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.35px;}
.adm-contact-confirm-box strong{display:block;color:#07336e;font-size:18px;margin:3px 0;}
.adm-contact-confirm-box p{margin:0;color:#45677f;line-height:1.4;font-weight:700;}
.adm-contact-confirm-box.is-confirmed{background:#f1fff7;border-color:#a8e5bf;}
.adm-contact-confirm-box.is-confirmed strong{color:#08733f;}
.adm-contact-confirm-box button[disabled]{opacity:.65;cursor:not-allowed;}
.adm-contacto-table td small{color:#6a8199;font-weight:800;}
@media (max-width:1100px){
  .adm-contact-summary-box{grid-template-columns:repeat(2,minmax(0,1fr));}
  .adm-contact-attempt-grid{grid-template-columns:1fr;}
  .adm-contact-confirm-box{grid-template-columns:1fr;}
}
@media (max-width:700px){
  .adm-contact-summary-box{grid-template-columns:1fr;}
  .adm-contacto-alert-strip{display:block;}
  .adm-contacto-alert-strip strong{display:block;margin-bottom:5px;}
}

/* ============================================================
   Corrección Fase 2.2 - Cabecera compacta de tabla Aspirantes
   Evita que la cabecera de la tabla dinámica se estire verticalmente
   al combinar columnas nuevas de Secretaría con encabezado fijo.
   ============================================================ */
.adm-admin-workspace-page .adm-table-wrap.adm-aspirantes-table-wrap{
  overflow:auto!important;
  max-height:66vh;
}
.adm-admin-workspace-page .adm-aspirantes-table{
  min-width:2920px!important;
  width:2920px!important;
  max-width:none!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
.adm-admin-workspace-page .adm-aspirantes-table thead,
.adm-admin-workspace-page .adm-aspirantes-table thead tr{
  height:58px!important;
  max-height:58px!important;
  min-height:0!important;
}
.adm-admin-workspace-page .adm-aspirantes-table thead th{
  height:58px!important;
  max-height:58px!important;
  min-height:0!important;
  padding:9px 10px!important;
  line-height:1.18!important;
  vertical-align:middle!important;
  white-space:normal!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  hyphens:none!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
  background:linear-gradient(135deg,#062E67,#0054A6)!important;
}
.adm-admin-workspace-page .adm-aspirantes-table th,
.adm-admin-workspace-page .adm-aspirantes-table td{
  box-sizing:border-box!important;
}
.adm-admin-workspace-page .adm-aspirantes-table tbody td{
  height:auto!important;
  min-height:0!important;
  padding:12px 10px!important;
  vertical-align:middle!important;
}
.adm-admin-workspace-page .adm-aspirantes-table th:nth-child(1),
.adm-admin-workspace-page .adm-aspirantes-table td:nth-child(1){width:125px!important;min-width:125px!important;max-width:125px!important;}
.adm-admin-workspace-page .adm-aspirantes-table th:nth-child(2),
.adm-admin-workspace-page .adm-aspirantes-table td:nth-child(2){width:115px!important;min-width:115px!important;max-width:115px!important;}
.adm-admin-workspace-page .adm-aspirantes-table th:nth-child(3),
.adm-admin-workspace-page .adm-aspirantes-table td:nth-child(3){width:190px!important;min-width:190px!important;max-width:190px!important;}
.adm-admin-workspace-page .adm-aspirantes-table th:nth-child(4),
.adm-admin-workspace-page .adm-aspirantes-table td:nth-child(4){width:170px!important;min-width:170px!important;max-width:170px!important;}
.adm-admin-workspace-page .adm-aspirantes-table th:nth-child(5),
.adm-admin-workspace-page .adm-aspirantes-table td:nth-child(5){width:115px!important;min-width:115px!important;max-width:115px!important;}
.adm-admin-workspace-page .adm-aspirantes-table th:nth-child(6),
.adm-admin-workspace-page .adm-aspirantes-table td:nth-child(6){width:105px!important;min-width:105px!important;max-width:105px!important;}
.adm-admin-workspace-page .adm-aspirantes-table th:nth-child(7),
.adm-admin-workspace-page .adm-aspirantes-table td:nth-child(7){width:190px!important;min-width:190px!important;max-width:190px!important;}
.adm-admin-workspace-page .adm-aspirantes-table th:nth-child(8),
.adm-admin-workspace-page .adm-aspirantes-table td:nth-child(8){width:185px!important;min-width:185px!important;max-width:185px!important;}
.adm-admin-workspace-page .adm-aspirantes-table th:nth-child(9),
.adm-admin-workspace-page .adm-aspirantes-table td:nth-child(9){width:120px!important;min-width:120px!important;max-width:120px!important;}
.adm-admin-workspace-page .adm-aspirantes-table th:nth-child(10),
.adm-admin-workspace-page .adm-aspirantes-table td:nth-child(10){width:160px!important;min-width:160px!important;max-width:160px!important;}
.adm-admin-workspace-page .adm-aspirantes-table th:nth-child(11),
.adm-admin-workspace-page .adm-aspirantes-table td:nth-child(11){width:185px!important;min-width:185px!important;max-width:185px!important;}
.adm-admin-workspace-page .adm-aspirantes-table th:nth-child(12),
.adm-admin-workspace-page .adm-aspirantes-table td:nth-child(12){width:115px!important;min-width:115px!important;max-width:115px!important;}
.adm-admin-workspace-page .adm-aspirantes-table th:nth-child(13),
.adm-admin-workspace-page .adm-aspirantes-table td:nth-child(13){width:90px!important;min-width:90px!important;max-width:90px!important;}
.adm-admin-workspace-page .adm-aspirantes-table th:nth-child(14),
.adm-admin-workspace-page .adm-aspirantes-table td:nth-child(14){width:160px!important;min-width:160px!important;max-width:160px!important;}
.adm-admin-workspace-page .adm-aspirantes-table th:nth-child(15),
.adm-admin-workspace-page .adm-aspirantes-table td:nth-child(15){width:180px!important;min-width:180px!important;max-width:180px!important;}
.adm-admin-workspace-page .adm-aspirantes-table th:nth-child(16),
.adm-admin-workspace-page .adm-aspirantes-table td:nth-child(16){width:145px!important;min-width:145px!important;max-width:145px!important;}
.adm-admin-workspace-page .adm-aspirantes-table th:nth-child(17),
.adm-admin-workspace-page .adm-aspirantes-table td:nth-child(17){width:155px!important;min-width:155px!important;max-width:155px!important;}
.adm-admin-workspace-page .adm-aspirantes-table th:nth-child(18),
.adm-admin-workspace-page .adm-aspirantes-table td:nth-child(18){width:125px!important;min-width:125px!important;max-width:125px!important;text-align:center;}
.adm-admin-workspace-page .adm-aspirantes-table th:nth-child(19),
.adm-admin-workspace-page .adm-aspirantes-table td:nth-child(19){width:155px!important;min-width:155px!important;max-width:155px!important;}
.adm-admin-workspace-page .adm-aspirantes-table th:nth-child(20),
.adm-admin-workspace-page .adm-aspirantes-table td:nth-child(20){width:155px!important;min-width:155px!important;max-width:155px!important;}
.adm-admin-workspace-page .adm-aspirantes-table th:nth-child(21),
.adm-admin-workspace-page .adm-aspirantes-table td:nth-child(21){width:135px!important;min-width:135px!important;max-width:135px!important;}
.adm-admin-workspace-page .adm-aspirantes-table th:nth-child(22),
.adm-admin-workspace-page .adm-aspirantes-table td:nth-child(22){width:155px!important;min-width:155px!important;max-width:155px!important;}
.adm-admin-workspace-page .adm-aspirantes-table th:nth-child(23),
.adm-admin-workspace-page .adm-aspirantes-table td:nth-child(23){width:165px!important;min-width:165px!important;max-width:165px!important;}
@media (max-width:980px){
  .adm-admin-workspace-page .adm-aspirantes-table{min-width:2920px!important;width:2920px!important;max-width:none!important;}
  .adm-admin-workspace-page .adm-aspirantes-table thead,
  .adm-admin-workspace-page .adm-aspirantes-table thead tr,
  .adm-admin-workspace-page .adm-aspirantes-table thead th{height:62px!important;max-height:62px!important;}
}

/* ============================================================
   Ajustes Fase 2.2 - Contacto representante
   Tabla de Secretaría y panel de contacto más claro.
   ============================================================ */
.adm-admin-workspace-page .adm-contacto-table{
  min-width:2920px!important;
  width:2920px!important;
  max-width:none!important;
  table-layout:fixed!important;
}
.adm-admin-workspace-page .adm-contacto-table th,
.adm-admin-workspace-page .adm-contacto-table td{
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  vertical-align:middle!important;
}
.adm-admin-workspace-page .adm-contacto-table th:nth-child(1),
.adm-admin-workspace-page .adm-contacto-table td:nth-child(1){width:125px!important;min-width:125px!important;max-width:125px!important;}
.adm-admin-workspace-page .adm-contacto-table th:nth-child(2),
.adm-admin-workspace-page .adm-contacto-table td:nth-child(2){width:120px!important;min-width:120px!important;max-width:120px!important;}
.adm-admin-workspace-page .adm-contacto-table th:nth-child(3),
.adm-admin-workspace-page .adm-contacto-table td:nth-child(3){width:220px!important;min-width:220px!important;max-width:220px!important;}
.adm-admin-workspace-page .adm-contacto-table th:nth-child(4),
.adm-admin-workspace-page .adm-contacto-table td:nth-child(4){width:205px!important;min-width:205px!important;max-width:205px!important;}
.adm-admin-workspace-page .adm-contacto-table th:nth-child(5),
.adm-admin-workspace-page .adm-contacto-table td:nth-child(5){width:225px!important;min-width:225px!important;max-width:225px!important;}
.adm-admin-workspace-page .adm-contacto-table th:nth-child(6),
.adm-admin-workspace-page .adm-contacto-table td:nth-child(6){width:135px!important;min-width:135px!important;max-width:135px!important;}
.adm-admin-workspace-page .adm-contacto-table th:nth-child(7),
.adm-admin-workspace-page .adm-contacto-table td:nth-child(7){width:170px!important;min-width:170px!important;max-width:170px!important;}
.adm-admin-workspace-page .adm-contacto-table th:nth-child(8),
.adm-admin-workspace-page .adm-contacto-table td:nth-child(8){width:210px!important;min-width:210px!important;max-width:210px!important;}
.adm-admin-workspace-page .adm-contacto-table th:nth-child(9),
.adm-admin-workspace-page .adm-contacto-table td:nth-child(9){width:120px!important;min-width:120px!important;max-width:120px!important;}
.adm-admin-workspace-page .adm-contacto-table th:nth-child(10),
.adm-admin-workspace-page .adm-contacto-table td:nth-child(10){width:100px!important;min-width:100px!important;max-width:100px!important;}
.adm-admin-workspace-page .adm-contacto-table th:nth-child(11),
.adm-admin-workspace-page .adm-contacto-table td:nth-child(11){width:145px!important;min-width:145px!important;max-width:145px!important;}
.adm-admin-workspace-page .adm-contacto-table th:nth-child(12),
.adm-admin-workspace-page .adm-contacto-table td:nth-child(12){width:175px!important;min-width:175px!important;max-width:175px!important;}
.adm-admin-workspace-page .adm-contacto-table th:nth-child(13),
.adm-admin-workspace-page .adm-contacto-table td:nth-child(13){width:190px!important;min-width:190px!important;max-width:190px!important;}
.adm-admin-workspace-page .adm-contacto-table th:nth-child(14),
.adm-admin-workspace-page .adm-contacto-table td:nth-child(14){width:105px!important;min-width:105px!important;max-width:105px!important;text-align:center;}
.adm-admin-workspace-page .adm-contacto-table th:nth-child(15),
.adm-admin-workspace-page .adm-contacto-table td:nth-child(15){width:145px!important;min-width:145px!important;max-width:145px!important;}
.adm-admin-workspace-page .adm-contacto-table th:nth-child(16),
.adm-admin-workspace-page .adm-contacto-table td:nth-child(16){width:150px!important;min-width:150px!important;max-width:150px!important;}
.adm-admin-workspace-page .adm-contacto-table th:nth-child(17),
.adm-admin-workspace-page .adm-contacto-table td:nth-child(17){width:260px!important;min-width:260px!important;max-width:260px!important;}
.adm-admin-workspace-page .adm-contacto-table th:nth-child(18),
.adm-admin-workspace-page .adm-contacto-table td:nth-child(18){width:130px!important;min-width:130px!important;max-width:130px!important;}
.adm-admin-workspace-page .adm-contacto-table th:nth-child(19),
.adm-admin-workspace-page .adm-contacto-table td:nth-child(19){width:150px!important;min-width:150px!important;max-width:150px!important;}
.adm-contact-status-stack{display:flex;flex-direction:column;align-items:flex-start;gap:5px;max-width:100%;}
.adm-contact-status-stack small{font-size:10px!important;line-height:1.2;color:#6a8199;font-weight:900;}
.adm-contacto-table .adm-contact-status{
  max-width:100%;
  min-width:0;
  white-space:normal;
  line-height:1.15;
  text-align:center;
  padding:6px 9px;
}
.adm-intentos-chip{display:inline-flex;align-items:center;justify-content:center;min-width:62px;border-radius:999px;background:#eef7ff;border:1px solid #cfe5fa;color:#0054a6;font-weight:1000;padding:6px 8px;}
.adm-cita-status,.adm-estado-oficial-chip{display:inline-flex;align-items:center;justify-content:center;max-width:100%;border-radius:999px;padding:7px 10px;font-size:10px;font-weight:1000;text-transform:uppercase;letter-spacing:.22px;line-height:1.15;text-align:center;border:1px solid transparent;white-space:normal;}
.adm-cita-confirmada,.adm-estado-oficial-chip.is-confirmada{background:#ecfff4;color:#08733f;border-color:#a8e5bf;box-shadow:0 0 0 3px rgba(35,166,90,.10);}
.adm-cita-reservada,.adm-estado-oficial-chip.is-pendiente{background:#fff8e7;color:#875600;border-color:#f0c77b;box-shadow:0 0 0 3px rgba(233,178,33,.10);}
.adm-cita-pendiente{background:#f6fbff;color:#58708f;border-color:#dbe8f4;}
.adm-row-cita-confirmada td{background:#f4fff8!important;}
.adm-row-cita-pendiente td{background:#f8fbff!important;}
.adm-row-cita-confirmada td:first-child{box-shadow:inset 5px 0 0 #23a65a,10px 0 20px rgba(0,32,84,.06)!important;}
.adm-row-cita-pendiente td:first-child{box-shadow:inset 5px 0 0 #8fb6d9,10px 0 20px rgba(0,32,84,.06)!important;}
.adm-row-cita-confirmada:hover td,.adm-row-cita-pendiente:hover td{background:#eef7ff!important;}

.adm-contact-help{font-size:13px;line-height:1.45;color:#315673;}
.adm-contact-help b{color:#07336e;}
.adm-contact-preference-panel{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:14px;align-items:center;border-radius:20px;padding:14px 16px;margin:12px 0 14px;border:1px solid #dbe8f4;background:linear-gradient(135deg,#f8fbff,#ffffff);box-shadow:0 14px 28px rgba(6,46,103,.06);}
.adm-contact-preference-panel.is-whatsapp{background:linear-gradient(135deg,#edfff6,#ffffff);border-color:#ace6c6;}
.adm-contact-preference-panel.is-email{background:linear-gradient(135deg,#eef7ff,#ffffff);border-color:#b7d8f8;}
.adm-contact-preference-icon{width:52px;height:52px;border-radius:18px;display:grid;place-items:center;font-size:24px;background:#eaf4ff;box-shadow:inset 0 1px 0 rgba(255,255,255,.8);}
.adm-contact-preference-panel.is-whatsapp .adm-contact-preference-icon{background:#dffbea;}
.adm-contact-preference-panel.is-email .adm-contact-preference-icon{background:#dceeff;}
.adm-contact-preference-text span{display:block;color:#58708f;font-size:11px;font-weight:1000;text-transform:uppercase;letter-spacing:.35px;}
.adm-contact-preference-text strong{display:block;color:#07336e;font-size:18px;margin:2px 0;text-transform:uppercase;}
.adm-contact-preference-text p{margin:0;color:#45677f;font-weight:800;line-height:1.4;}
.adm-contact-preference-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;}
.adm-contact-primary-action{border:0;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:11px 15px;font-size:12px;font-weight:1000;cursor:pointer;white-space:nowrap;box-shadow:0 13px 26px rgba(6,46,103,.12);}
.adm-contact-primary-action i{font-style:normal;}
.adm-contact-primary-action.is-whatsapp{background:#20b45b;color:#fff;}
.adm-contact-primary-action.is-email{background:#0054a6;color:#fff;}
.adm-contact-primary-action.is-disabled{background:#eef4fa;color:#6a8199;box-shadow:none;cursor:default;}
.adm-contact-summary-enhanced{grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:12px;margin:10px 0 16px;}
.adm-contact-summary-enhanced .adm-contact-info-card{display:flex;flex-direction:column;gap:9px;align-items:stretch;padding:14px;background:#ffffff;border-color:#dceaf6;box-shadow:0 10px 22px rgba(6,46,103,.05);}
.adm-contact-info-main{display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;align-items:center;min-width:0;}
.adm-contact-summary-enhanced .adm-contact-info-main i{width:40px;height:40px;border-radius:14px;}
.adm-contact-value{font-size:14px!important;line-height:1.25!important;word-break:normal!important;overflow-wrap:anywhere!important;hyphens:none!important;}
.adm-contact-email-value{font-size:13px!important;}
.adm-contact-card-actions{display:flex;justify-content:flex-start;min-height:0;}
.adm-contact-inline-action{border:1px solid #cfe0ef;background:#f6fbff;color:#0054a6;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:1000;text-decoration:none;cursor:pointer;display:inline-flex;align-items:center;gap:5px;}
.adm-contact-inline-action:hover,.adm-contact-primary-action:hover{filter:brightness(.97);transform:translateY(-1px);}
.adm-contact-flow-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-end;margin:14px 0 8px;padding:0 2px;}
.adm-contact-flow-title span{display:block;color:#58708f;font-size:11px;font-weight:1000;text-transform:uppercase;letter-spacing:.35px;}
.adm-contact-flow-title strong{display:block;color:#07336e;font-size:16px;}
.adm-contact-flow-title em{font-style:normal;color:#7e91a4;font-size:11px;font-weight:900;text-align:right;}
.adm-contact-attempt{background:linear-gradient(180deg,#ffffff,#fbfdff);}
.adm-contact-attempt header strong{font-size:14px;}
.adm-contact-confirm-info ul{margin:8px 0 0 0;padding-left:18px;color:#45677f;font-weight:800;line-height:1.45;}
.adm-contact-confirm-info li{margin:2px 0;}
.adm-contact-confirm-box.is-confirmed .adm-contact-confirm-info ul{color:#315f47;}
@media (max-width:1100px){
  .adm-contact-preference-panel{grid-template-columns:48px minmax(0,1fr);}
  .adm-contact-preference-actions{grid-column:1 / -1;justify-content:flex-start;}
  .adm-contact-flow-title{display:block;}
  .adm-contact-flow-title em{display:block;text-align:left;margin-top:4px;}
}
@media (max-width:700px){
  .adm-contact-preference-panel{grid-template-columns:1fr;}
  .adm-contact-preference-icon{width:46px;height:46px;}
  .adm-contact-primary-action{width:100%;}
}

/* Fase 2.3 - Secretaría: documentación física, entrega de prospecto y registro académico base */
.adm-documentacion-module-card .adm-table-title,
.adm-exp-secretaria-card .adm-exp-card-title,
.adm-exp-prospecto-card .adm-exp-card-title,
.adm-exp-registro-academico-card .adm-exp-card-title {
  border-bottom: 1px solid rgba(0,84,166,.10);
}
.adm-documentacion-summary-grid article,
.adm-secretaria-resumen-grid article {
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(245,249,255,.96));
  border: 1px solid rgba(0,84,166,.10);
}
.adm-documentacion-alert-strip {
  margin: 14px 0 18px;
}
.adm-secretaria-resumen-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.adm-secretaria-resumen-grid article {
  border-radius: 18px;
  padding: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  box-shadow: 0 10px 28px rgba(4, 32, 69, .06);
}
.adm-secretaria-resumen-grid article i {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(233,178,33,.16);
  font-style: normal;
}
.adm-secretaria-resumen-grid article span,
.adm-secretaria-resumen-grid article small {
  display: block;
  color: #6D8098;
  font-size: 12px;
}
.adm-secretaria-resumen-grid article strong {
  display: block;
  color: #062E67;
  font-size: 15px;
  margin: 2px 0;
}
.adm-secretaria-form {
  display: grid;
  gap: 14px;
}
.adm-secretaria-current {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(0,84,166,.10);
  background: #F8FBFF;
}
.adm-secretaria-current i {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-style: normal;
  background: rgba(0,84,166,.10);
}
.adm-secretaria-current span,
.adm-secretaria-current small,
.adm-secretaria-user-line span {
  display: block;
  color: #6D8098;
  font-size: 12px;
}
.adm-secretaria-current strong,
.adm-secretaria-user-line strong {
  display: block;
  color: #062E67;
}
.adm-secretaria-current.is-recibido {
  background: rgba(32,154,106,.08);
  border-color: rgba(32,154,106,.22);
}
.adm-secretaria-current.is-observado {
  background: rgba(233,178,33,.12);
  border-color: rgba(233,178,33,.28);
}
.adm-secretaria-current.is-pendiente {
  background: rgba(109,128,152,.08);
}
.adm-secretaria-current.is-no-aplica {
  background: rgba(0,84,166,.07);
}
.adm-secretaria-grid-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 12px;
}
.adm-secretaria-grid-form-4 {
  grid-template-columns: repeat(4, minmax(150px, 1fr));
}
.adm-secretaria-form label {
  display: grid;
  gap: 6px;
  color: #284966;
  font-weight: 700;
  font-size: 13px;
}
.adm-secretaria-form input,
.adm-secretaria-form select,
.adm-secretaria-form textarea {
  width: 100%;
  border: 1px solid rgba(0,84,166,.18);
  border-radius: 12px;
  padding: 10px 12px;
  color: #062E67;
  background: #fff;
  outline: none;
}
.adm-secretaria-form textarea {
  resize: vertical;
  min-height: 92px;
}
.adm-secretaria-user-line {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,84,166,.06);
  border: 1px dashed rgba(0,84,166,.18);
}
.adm-documentacion-table small {
  color: #6D8098;
}
@media (max-width: 1100px) {
  .adm-secretaria-resumen-grid,
  .adm-secretaria-grid-form,
  .adm-secretaria-grid-form-4 {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }
}
@media (max-width: 720px) {
  .adm-secretaria-resumen-grid,
  .adm-secretaria-grid-form,
  .adm-secretaria-grid-form-4 {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Fase 2.4 - Secretaría: Dashboard, reportes, reagendamiento y correos
   ========================================================= */
.adm-secretaria-dashboard-panel,
.adm-reagendamiento-panel,
.adm-reportes-secretaria-panel,
.adm-correos-secretaria-panel {
  overflow: hidden;
}
.adm-secretaria-kpi-grid,
.adm-reportes-secretaria-grid,
.adm-correo-auto-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 14px;
  margin: 16px 0 20px;
}
.adm-secretaria-kpi-grid article,
.adm-reportes-secretaria-grid article,
.adm-correo-auto-card {
  border: 1px solid rgba(0,84,166,.12);
  background: linear-gradient(180deg, #fff, #f7fbff);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(6,46,103,.06);
}
.adm-secretaria-kpi-grid article i,
.adm-reportes-secretaria-grid article i,
.adm-correo-auto-card i {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(233,178,33,.16);
  font-style: normal;
  margin-bottom: 10px;
}
.adm-secretaria-kpi-grid article span,
.adm-reportes-secretaria-grid article span,
.adm-correo-auto-card p {
  display: block;
  color: #6D8098;
  font-size: 13px;
  line-height: 1.45;
}
.adm-secretaria-kpi-grid article strong,
.adm-reportes-secretaria-grid article strong,
.adm-correo-auto-card strong {
  display: block;
  margin-top: 6px;
  color: #062E67;
  font-size: 25px;
  line-height: 1;
}
.adm-secretaria-info-strip code {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 8px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(0,84,166,.14);
  color: #062E67;
  font-size: 12px;
  white-space: normal;
}
.adm-secretaria-report-block {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed rgba(0,84,166,.18);
}
.adm-secretaria-report-block h3 {
  margin: 0 0 12px;
  color: #062E67;
  font-size: 18px;
}
.adm-exp-reagenda-card {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,251,255,.96));
}
.adm-reagenda-shell {
  display: grid;
  gap: 16px;
}
.adm-reagenda-current {
  display: grid;
  grid-template-columns: repeat(3, minmax(170px, 1fr));
  gap: 14px;
}
.adm-reagenda-current article {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 86px;
  overflow: hidden;
  border-radius: 22px;
  padding: 16px;
  background: linear-gradient(135deg, #ffffff, #f4f9ff);
  border: 1px solid rgba(0,84,166,.14);
  box-shadow: 0 14px 30px rgba(6,46,103,.06);
}
.adm-reagenda-current article:after {
  content: '';
  position: absolute;
  right: -26px;
  top: -34px;
  width: 98px;
  height: 98px;
  border-radius: 50%;
  background: rgba(0,84,166,.055);
}
.adm-reagenda-current article i {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(233,178,33,.16);
  border: 1px solid rgba(233,178,33,.24);
  font-style: normal;
  font-size: 21px;
}
.adm-reagenda-current article div {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.adm-reagenda-current span,
.adm-reagenda-current small,
.adm-reagenda-actions > span,
.adm-reagenda-slots-head span,
.adm-reagenda-section-title span,
.adm-reagenda-footer span,
.adm-reagenda-observacion small {
  display: block;
  color: #6D8098;
  font-size: 12px;
  line-height: 1.35;
}
.adm-reagenda-current strong {
  display: block;
  color: #062E67;
  font-size: 17px;
  line-height: 1.15;
  margin: 4px 0 3px;
  word-break: break-word;
}
.adm-reagenda-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border-radius: 22px;
  background: rgba(0,84,166,.045);
  border: 1px solid rgba(0,84,166,.10);
}
.adm-reagenda-guide article {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.82);
}
.adm-reagenda-guide article.is-active {
  background: #fff;
  border-color: rgba(233,178,33,.36);
  box-shadow: 0 10px 22px rgba(233,178,33,.12);
}
.adm-reagenda-guide b {
  width: 30px;
  height: 30px;
  min-width: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eaf4ff;
  color: #0054A6;
  font-size: 13px;
}
.adm-reagenda-guide .is-active b {
  background: #E9B221;
  color: #fff;
}
.adm-reagenda-guide strong {
  display: block;
  color: #062E67;
  font-size: 13px;
}
.adm-reagenda-guide span {
  display: block;
  color: #6D8098;
  font-size: 12px;
  margin-top: 2px;
}
.adm-reagenda-form {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(0,84,166,.11);
  box-shadow: 0 16px 36px rgba(6,46,103,.055);
}
.adm-reagenda-section-title,
.adm-reagenda-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.adm-reagenda-section-title strong,
.adm-reagenda-footer strong,
.adm-reagenda-slots-head strong {
  display: block;
  color: #062E67;
  font-size: 17px;
  line-height: 1.2;
}
.adm-reagenda-section-title small,
.adm-reagenda-slots-head small {
  color: #6D8098;
  font-size: 12px;
  line-height: 1.4;
  max-width: 380px;
  text-align: right;
}
.adm-reagenda-form-grid {
  display: grid;
  grid-template-columns: minmax(190px, .9fr) minmax(180px, .8fr) minmax(210px, 1fr);
  gap: 12px;
}
.adm-reagenda-field,
.adm-reagenda-observacion {
  display: grid;
  gap: 7px;
  margin: 0;
  color: #284966;
  font-weight: 800;
  font-size: 13px;
}
.adm-reagenda-field input,
.adm-reagenda-observacion textarea {
  width: 100%;
  border: 1px solid rgba(0,84,166,.18);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fbfdff);
  color: #062E67;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.adm-reagenda-field input {
  height: 48px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 800;
}
.adm-reagenda-field input[readonly] {
  background: #f7fbff;
  color: #315673;
}
.adm-reagenda-field input:focus,
.adm-reagenda-observacion textarea:focus {
  border-color: #0054A6;
  box-shadow: 0 0 0 4px rgba(0,84,166,.10);
}
.adm-reagenda-observacion textarea {
  min-height: 94px;
  padding: 13px 14px;
  resize: vertical;
  font-size: 14px;
  line-height: 1.45;
}
.adm-reagenda-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px;
  border-radius: 18px;
  background: rgba(247,251,255,.9);
  border: 1px solid rgba(0,84,166,.09);
}
.adm-reagenda-actions .adm-reagenda-search-btn {
  gap: 8px;
  min-height: 45px;
  box-shadow: 0 10px 22px rgba(0,84,166,.08);
}
.adm-reagenda-actions > span {
  flex: 1 1 260px;
}
.adm-reagenda-actions > span b {
  color: #062E67;
}
.adm-reagenda-slots-wrap {
  display: grid;
  gap: 10px;
}
.adm-reagenda-slots-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.adm-reagenda-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  min-height: 82px;
  padding: 12px;
  border-radius: 20px;
  border: 1px dashed rgba(0,84,166,.20);
  background: linear-gradient(135deg, rgba(247,251,255,.92), rgba(255,255,255,.98));
}
.adm-reagenda-state {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 14px;
  border-radius: 16px;
  border: 1px dashed rgba(0,84,166,.16);
  background: rgba(255,255,255,.72);
  color: #6D8098;
  font-weight: 800;
  text-align: center;
}
.adm-reagenda-state-loading:before {
  content: '';
  width: 17px;
  height: 17px;
  margin-right: 10px;
  border-radius: 50%;
  border: 2px solid rgba(0,84,166,.18);
  border-top-color: #0054A6;
  animation: admSpin .8s linear infinite;
}
.adm-reagenda-state-error {
  color: #A61B12;
  background: rgba(254,240,239,.85);
  border-color: rgba(198,40,40,.22);
}
.adm-reagenda-slot {
  position: relative;
  border: 1px solid rgba(0,84,166,.16);
  background: #fff;
  color: #062E67;
  border-radius: 18px;
  padding: 14px 14px 34px;
  cursor: pointer;
  text-align: left;
  min-height: 96px;
  transition: .18s ease;
  box-shadow: 0 10px 22px rgba(6,46,103,.05);
}
.adm-reagenda-slot strong,
.adm-reagenda-slot small,
.adm-reagenda-slot em {
  display: block;
}
.adm-reagenda-slot strong {
  font-size: 22px;
  color: #062E67;
  line-height: 1;
}
.adm-reagenda-slot small {
  color: #6D8098;
  margin-top: 7px;
  line-height: 1.25;
}
.adm-reagenda-slot em {
  position: absolute;
  left: 12px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(32,154,106,.10);
  color: #1D7D54;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}
.adm-reagenda-slot:hover,
.adm-reagenda-slot.is-selected {
  border-color: #E9B221;
  box-shadow: 0 14px 28px rgba(233,178,33,.18);
  transform: translateY(-2px);
}
.adm-reagenda-slot.is-selected {
  background: linear-gradient(135deg, #fffdf6, #ffffff);
}
.adm-reagenda-slot.is-selected:after {
  content: '✓';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #E9B221;
  color: #fff;
  font-weight: 900;
}
.adm-reagenda-footer {
  padding: 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0,84,166,.06), rgba(62,146,172,.08));
  border: 1px solid rgba(0,84,166,.10);
}
.adm-reagenda-footer .adm-btn {
  min-height: 48px;
  white-space: nowrap;
}
@keyframes admSpin {
  to { transform: rotate(360deg); }
}
.adm-correo-auto-card h3 {
  margin: 0 0 8px;
  color: #062E67;
  font-size: 17px;
}
.adm-correo-auto-card .adm-btn {
  margin-top: 14px;
}
.adm-correo-secretaria-alert {
  margin: 14px 0;
}
.adm-correo-secretaria-alert.is-ok {
  border-color: rgba(46,125,50,.25);
  background: rgba(232,245,233,.95);
  color: #1b5e20;
}
.adm-correo-secretaria-alert.is-error {
  border-color: rgba(198,40,40,.25);
  background: rgba(255,235,238,.95);
  color: #b71c1c;
}
@media (max-width: 1200px) {
  .adm-secretaria-kpi-grid,
  .adm-reportes-secretaria-grid,
  .adm-correo-auto-grid {
    grid-template-columns: repeat(2, minmax(170px, 1fr));
  }
  .adm-reagenda-current,
  .adm-reagenda-guide,
  .adm-reagenda-form-grid {
    grid-template-columns: repeat(2, minmax(170px, 1fr));
  }
}
@media (max-width: 760px) {
  .adm-secretaria-kpi-grid,
  .adm-reportes-secretaria-grid,
  .adm-correo-auto-grid,
  .adm-reagenda-current,
  .adm-reagenda-guide,
  .adm-reagenda-form-grid {
    grid-template-columns: 1fr;
  }
  .adm-reagenda-form {
    padding: 14px;
  }
  .adm-reagenda-section-title,
  .adm-reagenda-slots-head,
  .adm-reagenda-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .adm-reagenda-section-title small,
  .adm-reagenda-slots-head small {
    max-width: none;
    text-align: left;
  }
  .adm-reagenda-footer .adm-btn,
  .adm-reagenda-actions .adm-btn {
    width: 100%;
  }
}

/* Fase 3.0 · DECE Administrador */
.adm-dece-panel .adm-section-kicker,
.adm-dece-info-strip strong { color: #243b86; }
.adm-dece-kpi-grid article { position: relative; overflow: hidden; }
.adm-dece-kpi-grid article:after { content: ''; position: absolute; right: -28px; top: -28px; width: 78px; height: 78px; border-radius: 999px; background: rgba(36,59,134,.08); }
.adm-dece-dashboard-cols,
.adm-dece-config-cols { gap: 18px; align-items: flex-start; }
.adm-dece-panel .adm-subcard { border-radius: 20px; border: 1px solid rgba(15,23,42,.09); background: rgba(255,255,255,.94); box-shadow: 0 12px 28px rgba(15,23,42,.06); }
.adm-dece-alert { margin: 0 0 16px; border-radius: 14px; }
.adm-dece-alert.is-ok { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.adm-dece-alert.is-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.adm-dece-assignment-table .adm-mini-select,
.adm-dece-assignment-table .adm-mini-textarea,
.adm-dece-config-form input,
.adm-dece-config-form select,
.adm-dece-config-form textarea,
.adm-dece-ponder-form input,
.adm-dece-ponder-form select { width: 100%; border: 1px solid rgba(148,163,184,.55); border-radius: 12px; padding: 9px 10px; background: #fff; color: #0f172a; font-size: 12px; outline: none; transition: border-color .15s ease, box-shadow .15s ease; }
.adm-dece-assignment-table .adm-mini-select:focus,
.adm-dece-assignment-table .adm-mini-textarea:focus,
.adm-dece-config-form input:focus,
.adm-dece-config-form select:focus,
.adm-dece-config-form textarea:focus,
.adm-dece-ponder-form input:focus,
.adm-dece-ponder-form select:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.adm-dece-assignment-table .adm-mini-textarea { min-width: 210px; resize: vertical; }
.adm-dece-config-form { margin: 0 0 20px; padding: 18px; border: 1px solid rgba(148,163,184,.22); border-radius: 22px; background: linear-gradient(180deg, rgba(248,250,252,.98), rgba(255,255,255,.95)); }
.adm-dece-config-form label,
.adm-dece-ponder-form label { display: flex; flex-direction: column; gap: 7px; font-size: 12px; font-weight: 700; color: #334155; }
.adm-dece-form-grid { display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: 14px; margin-bottom: 14px; }
.adm-dece-form-grid-2 { grid-template-columns: repeat(2, minmax(140px, 1fr)); }
.adm-dece-days { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 14px 0; padding: 12px; border-radius: 16px; background: rgba(239,246,255,.78); border: 1px solid rgba(147,197,253,.45); }
.adm-dece-days strong { color: #1e3a8a; margin-right: 6px; }
.adm-dece-days label { flex-direction: row; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; background: #fff; border: 1px solid rgba(148,163,184,.35); font-weight: 700; }
.adm-dece-days input { width: auto; }
.adm-dece-ponder-form .adm-table input,
.adm-dece-ponder-form .adm-table select { min-width: 95px; }
.adm-dece-ponder-form .adm-table input[name="descripcion[]"] { min-width: 280px; }
.adm-dece-config-cols .adm-subcard { padding: 18px; }
.adm-dece-config-cols .adm-subcard .adm-btn-full { margin-top: 12px; }
.adm-dece-info-strip { background: linear-gradient(135deg, #eef2ff, #ecfeff); border-color: rgba(59,130,246,.22); }
@media (max-width: 1180px) {
  .adm-dece-form-grid { grid-template-columns: repeat(2, minmax(160px, 1fr)); }
}
@media (max-width: 760px) {
  .adm-dece-form-grid,
  .adm-dece-form-grid-2 { grid-template-columns: 1fr; }
  .adm-dece-days { align-items: flex-start; }
}

/* Fase 3.0 DECE Administrador corregida */
.adm-dece-grade-assign-form {
  margin: 18px 0;
  border: 1px solid rgba(0,84,166,.18);
}
.adm-dece-print-content {
  max-width: 680px;
  max-height: 220px;
  overflow: auto;
  font-size: 12px;
  line-height: 1.45;
  background: rgba(245, 249, 255, .8);
  border: 1px solid rgba(0,84,166,.12);
  border-radius: 12px;
  padding: 10px 12px;
}
.adm-dece-print-content h3 {
  margin: 0 0 8px;
  color: #0b3b78;
}
.adm-dece-print-content ol,
.adm-dece-print-content ul {
  padding-left: 18px;
  margin: 6px 0;
}
.adm-dece-kpi-grid article span {
  min-height: 34px;
}

/* Mejora UI Banco de Evaluaciones DECE */
.adm-dece-evaluaciones-panel { overflow: visible; }
.adm-dece-eval-head { align-items: center; gap: 18px; }
.adm-dece-head-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.adm-dece-workflow { display: grid; grid-template-columns: repeat(4, minmax(160px, 1fr)); gap: 12px; margin: 16px 0 20px; }
.adm-dece-workflow article { display: grid; grid-template-columns: 42px 1fr; grid-template-areas: 'n t' 'n s'; gap: 2px 10px; padding: 14px; border-radius: 18px; border: 1px solid rgba(37,99,235,.14); background: linear-gradient(135deg, rgba(239,246,255,.96), rgba(255,251,235,.78)); box-shadow: 0 10px 24px rgba(15,23,42,.05); }
.adm-dece-workflow article strong { grid-area: n; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg,#0b3b78,#2b95b7); color: #fff; font-size: 18px; }
.adm-dece-workflow article span { grid-area: t; color: #0b2e63; font-weight: 900; }
.adm-dece-workflow article small { grid-area: s; color: #64748b; line-height: 1.35; }
.adm-dece-builder-layout { display: grid; grid-template-columns: minmax(440px, 1fr) minmax(360px, .95fr); gap: 20px; align-items: start; }
.adm-dece-builder-main { display: flex; flex-direction: column; gap: 18px; }
.adm-dece-step-card { position: relative; border: 1px solid rgba(37,99,235,.13); }
.adm-step-dot { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 8px; border-radius: 999px; background: #0b3b78; color: #fff; font-size: 14px; }
.adm-dece-config-form label small { color: #64748b; font-weight: 600; line-height: 1.25; }
.adm-dece-form-grid-3 { grid-template-columns: repeat(3, minmax(150px, 1fr)); }
.adm-dece-form-grid-4 { grid-template-columns: repeat(4, minmax(135px, 1fr)); }
.adm-dece-form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.adm-dece-options-box { margin: 14px 0; padding: 14px; border-radius: 18px; border: 1px solid rgba(37,99,235,.16); background: rgba(239,246,255,.68); }
.adm-dece-options-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.adm-dece-options-head strong { color: #0b3b78; display: block; font-size: 14px; }
.adm-dece-options-head small { color: #64748b; font-weight: 600; line-height: 1.35; }
.adm-dece-options-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.adm-dece-options-list { display: flex; flex-direction: column; gap: 9px; }
.adm-dece-option-row { display: grid; grid-template-columns: 34px minmax(160px,1fr) 110px auto; gap: 8px; align-items: center; padding: 8px; border-radius: 14px; background: #fff; border: 1px solid rgba(148,163,184,.26); }
.adm-dece-option-code { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: #eaf2ff; color: #0b3b78; font-weight: 900; }
.adm-dece-correct-radio { flex-direction: row !important; align-items: center; gap: 6px !important; margin: 0; white-space: nowrap; color: #0f766e !important; }
.adm-dece-correct-radio input { width: auto !important; }
.adm-dece-descriptive-note { margin: 14px 0; padding: 14px; border-radius: 16px; background: #fff7ed; border: 1px solid rgba(251,146,60,.25); color: #9a3412; font-size: 13px; line-height: 1.45; }
.adm-dece-review-panel { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 14px; max-height: calc(100vh - 32px); overflow: auto; padding: 4px 4px 18px; }
.adm-dece-review-title { position: sticky; top: 0; z-index: 2; padding: 10px 12px; border-radius: 16px; background: rgba(248,250,252,.96); backdrop-filter: blur(8px); border: 1px solid rgba(148,163,184,.22); }
.adm-dece-eval-card { border: 1px solid rgba(37,99,235,.15); border-radius: 22px; padding: 16px; background: #fff; box-shadow: 0 16px 34px rgba(15,23,42,.08); }
.adm-dece-eval-card.is-inactive { opacity: .76; background: #f8fafc; }
.adm-dece-eval-card header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.adm-dece-eval-card header strong { display: block; font-size: 16px; color: #0b2e63; line-height: 1.25; }
.adm-dece-eval-card header small { display: block; color: #64748b; margin-top: 3px; line-height: 1.3; }
.adm-dece-status { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 9px; font-size: 11px; font-weight: 900; white-space: nowrap; }
.adm-dece-status.is-active { background: #dcfce7; color: #166534; }
.adm-dece-status.is-inactive { background: #fee2e2; color: #991b1b; }
.adm-dece-eval-meta { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin: 10px 0; }
.adm-dece-eval-meta span { border-radius: 12px; padding: 8px 10px; background: rgba(239,246,255,.72); color: #334155; font-size: 12px; }
.adm-dece-grade-badges { margin: 10px 0; }
.adm-dece-grade-badges span, .adm-dece-grade-badges em { display: inline-flex; border-radius: 12px; padding: 7px 9px; background: #fff7ed; border: 1px solid rgba(251,191,36,.22); color: #92400e; font-size: 12px; font-style: normal; line-height: 1.35; }
.adm-dece-card-actions, .adm-dece-question-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.adm-btn-danger { background: #fff1f2; color: #be123c; border: 1px solid rgba(244,63,94,.28); }
.adm-btn-danger:hover { background: #ffe4e6; }
.adm-dece-question-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.adm-dece-question-item { border: 1px solid rgba(148,163,184,.26); border-radius: 16px; padding: 12px; background: linear-gradient(180deg,#fff,#f8fbff); }
.adm-dece-question-item.is-inactive { opacity: .62; }
.adm-dece-question-main { display: grid; grid-template-columns: 26px 1fr; gap: 4px 8px; }
.adm-dece-question-main b { color: #0b3b78; }
.adm-dece-question-main span { color: #0f172a; font-weight: 800; line-height: 1.35; }
.adm-dece-question-main small { grid-column: 2; color: #64748b; font-weight: 600; }
.adm-dece-option-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.adm-dece-option-chips span, .adm-dece-option-chips em { display: inline-flex; padding: 5px 8px; border-radius: 999px; background: #f1f5f9; color: #334155; font-size: 11px; font-style: normal; border: 1px solid rgba(148,163,184,.22); }
.adm-dece-option-chips span.is-correct { background: #dcfce7; color: #166534; border-color: rgba(34,197,94,.24); font-weight: 900; }
.adm-dece-question-empty, .adm-dece-empty-state { padding: 16px; border: 1px dashed rgba(148,163,184,.45); border-radius: 16px; color: #64748b; background: rgba(248,250,252,.8); text-align: center; }
.adm-dece-eval-card .adm-dece-print-content { display: none; }
.adm-dece-export-table { margin-top: 22px; }
@media (max-width: 1180px) {
  .adm-dece-workflow { grid-template-columns: repeat(2, minmax(160px, 1fr)); }
  .adm-dece-builder-layout { grid-template-columns: 1fr; }
  .adm-dece-review-panel { position: relative; top: auto; max-height: none; }
  .adm-dece-form-grid-3, .adm-dece-form-grid-4 { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
}
@media (max-width: 760px) {
  .adm-dece-eval-head, .adm-dece-options-head, .adm-dece-eval-card header { flex-direction: column; align-items: flex-start; }
  .adm-dece-workflow, .adm-dece-form-grid-3, .adm-dece-form-grid-4, .adm-dece-eval-meta { grid-template-columns: 1fr; }
  .adm-dece-option-row { grid-template-columns: 34px 1fr; }
  .adm-dece-correct-radio, .adm-dece-option-row .adm-btn { grid-column: 2; }
  .adm-dece-form-actions .adm-btn, .adm-dece-head-actions .adm-btn { width: 100%; }
}

/* Fase 3.0 DECE - Banco de evaluaciones en modales */
.adm-dece-action-board{
  display:grid;
  grid-template-columns:repeat(4,minmax(180px,1fr));
  gap:14px;
  margin:18px 0 20px;
}
.adm-dece-action-card{
  display:grid;
  grid-template-columns:48px 1fr;
  gap:10px 12px;
  align-items:start;
  padding:16px;
  border-radius:22px;
  border:1px solid rgba(37,99,235,.14);
  background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(239,246,255,.74));
  box-shadow:0 14px 30px rgba(15,23,42,.06);
}
.adm-dece-action-card .adm-btn{grid-column:1 / -1; width:100%; margin-top:4px;}
.adm-dece-action-card strong{display:block;color:#0b2e63;font-size:15px;line-height:1.25;}
.adm-dece-action-card small{display:block;margin-top:4px;color:#64748b;font-weight:600;line-height:1.35;}
.adm-dece-action-icon{width:48px;height:48px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(135deg,#eaf2ff,#fff7ed);font-size:24px;border:1px solid rgba(37,99,235,.12);}
.adm-dece-bank-layout{margin-top:8px;}
.adm-dece-review-panel-full{position:relative;top:auto;max-height:none;overflow:visible;padding:0;display:grid;grid-template-columns:repeat(2,minmax(320px,1fr));gap:16px;}
.adm-dece-review-panel-full .adm-dece-review-title{grid-column:1/-1;position:relative;top:auto;margin:0;}
.adm-dece-review-panel-full .adm-dece-empty-state{grid-column:1/-1;}
.adm-dece-review-panel-full .adm-dece-eval-card{min-height:100%;}
.adm-dece-modal[hidden]{display:none!important;}
.adm-dece-modal{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:22px;}
.adm-dece-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58);backdrop-filter:blur(5px);}
.adm-dece-modal-dialog{position:relative;z-index:1;width:min(780px,96vw);max-height:92vh;overflow:hidden;border-radius:26px;background:#fff;border:1px solid rgba(226,232,240,.92);box-shadow:0 34px 90px rgba(15,23,42,.34);}
.adm-dece-modal-dialog-wide{width:min(1120px,96vw);}
.adm-dece-modal-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:20px 22px;border-bottom:1px solid rgba(226,232,240,.95);background:linear-gradient(135deg,#ffffff,#eef6ff 58%,#fff7d6);}
.adm-dece-modal-header h3{margin:6px 0 4px;color:#0b2e63;font-size:22px;line-height:1.2;}
.adm-dece-modal-header p{margin:0;color:#475569;font-size:13px;line-height:1.4;}
.adm-dece-modal-close{width:42px;height:42px;min-width:42px;border:0;border-radius:14px;background:#fff;color:#0b3b78;font-size:28px;line-height:1;cursor:pointer;box-shadow:0 10px 22px rgba(15,23,42,.12);}
.adm-dece-modal-close:hover{background:#eff6ff;}
.adm-dece-modal-body{padding:20px 22px;max-height:calc(92vh - 115px);overflow:auto;background:linear-gradient(180deg,#ffffff,#f8fbff);}
.adm-dece-modal-body .adm-dece-config-form{margin:0;box-shadow:none;border-color:rgba(37,99,235,.13);background:#fff;}
.adm-dece-modal-body .adm-dece-form-actions{position:sticky;bottom:-20px;margin:16px -22px -20px;padding:14px 22px;background:rgba(255,255,255,.96);border-top:1px solid rgba(226,232,240,.92);backdrop-filter:blur(7px);}
.adm-dece-modal-body .adm-dece-form-actions .adm-btn{min-width:180px;}
.adm-dece-modal-body .adm-grade-grid-modern{max-height:360px;overflow:auto;padding-right:4px;}
@media (max-width:1200px){
  .adm-dece-action-board{grid-template-columns:repeat(2,minmax(180px,1fr));}
  .adm-dece-review-panel-full{grid-template-columns:1fr;}
}
@media (max-width:720px){
  .adm-dece-action-board{grid-template-columns:1fr;}
  .adm-dece-modal{padding:10px;align-items:flex-end;}
  .adm-dece-modal-dialog,.adm-dece-modal-dialog-wide{width:100%;max-height:94vh;border-radius:22px 22px 0 0;}
  .adm-dece-modal-header{padding:16px;}
  .adm-dece-modal-header h3{font-size:19px;}
  .adm-dece-modal-body{padding:16px;max-height:calc(94vh - 112px);}
  .adm-dece-modal-body .adm-dece-form-actions{margin:16px -16px -16px;padding:14px 16px;}
  .adm-dece-modal-body .adm-dece-form-actions .adm-btn{width:100%;}
}

/* Fase 3.0 DECE - interfaz limpia de evaluaciones en tabla dinámica y modal único */
.adm-dece-evaluaciones-clean .adm-dece-clean-summary{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  margin:16px 0;
  padding:14px 16px;
  border-radius:20px;
  background:linear-gradient(135deg,#f8fbff,#fff7db);
  border:1px solid rgba(37,99,235,.12);
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}
.adm-dece-clean-summary strong{display:block;color:#0b2e63;font-weight:900;line-height:1.2;}
.adm-dece-clean-summary span{display:block;color:#64748b;font-size:13px;font-weight:600;line-height:1.35;margin-top:2px;}
.adm-dece-clean-summary > div:last-child{min-width:150px;text-align:center;padding:10px 14px;border-radius:16px;background:#fff;border:1px solid rgba(148,163,184,.18);}
.adm-dece-clean-summary > div:last-child strong{font-size:24px;color:#0b3b78;}
.adm-dece-eval-table-wrap{margin-top:10px;}
.adm-dece-eval-table th:first-child,.adm-dece-eval-table td:first-child{min-width:360px;}
.adm-dece-table-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center;}
.adm-row-inactive{opacity:.72;background:#f8fafc;}
.adm-dece-modal-eval-builder{width:min(1280px,96vw);}
.adm-dece-modal-builder-grid{display:grid;grid-template-columns:minmax(360px,.9fr) minmax(440px,1.1fr);gap:18px;align-items:start;}
.adm-dece-question-builder-column{display:flex;flex-direction:column;gap:16px;min-width:0;}
.adm-dece-question-disabled-note{margin:0 0 12px;padding:12px 14px;border-radius:16px;background:#fff7ed;border:1px solid rgba(251,146,60,.28);color:#9a3412;font-size:13px;font-weight:700;line-height:1.35;}
.adm-dece-question-builder[data-dece-question-disabled="1"]{background:linear-gradient(180deg,#ffffff,#f8fafc);}
.adm-dece-question-builder[data-dece-question-disabled="1"] label,
.adm-dece-question-builder[data-dece-question-disabled="1"] .adm-dece-options-box,
.adm-dece-question-builder[data-dece-question-disabled="1"] .adm-dece-descriptive-note,
.adm-dece-question-builder[data-dece-question-disabled="1"] .adm-dece-form-actions{opacity:.58;}
.adm-dece-modal-eval-builder .adm-dece-modal-body .adm-dece-form-actions{position:static;bottom:auto;margin:14px 0 0;padding:0;background:transparent;border-top:0;backdrop-filter:none;}
.adm-dece-form-actions-inline{justify-content:flex-start;}
.adm-dece-modal-question-review{background:linear-gradient(180deg,#fff,#f8fbff);border:1px solid rgba(37,99,235,.12);box-shadow:none;}
.adm-dece-modal-question-list{display:flex;flex-direction:column;gap:10px;max-height:420px;overflow:auto;padding-right:4px;}
.adm-dece-modal-question-item{border:1px solid rgba(148,163,184,.26);border-radius:16px;padding:12px;background:#fff;box-shadow:0 8px 20px rgba(15,23,42,.04);}
.adm-dece-modal-question-item.is-inactive{opacity:.58;background:#f8fafc;}
.adm-dece-modal-question-item.is-new{border-color:rgba(34,197,94,.30);background:#f0fdf4;}
.adm-dece-modal-footer-actions{position:sticky;bottom:-20px;display:flex;justify-content:flex-end;gap:10px;margin:18px -22px -20px;padding:14px 22px;background:rgba(255,255,255,.96);border-top:1px solid rgba(226,232,240,.92);backdrop-filter:blur(7px);}
.adm-dece-hidden-sources{display:none!important;}
@media (max-width:1180px){
  .adm-dece-modal-builder-grid{grid-template-columns:1fr;}
  .adm-dece-eval-table th:first-child,.adm-dece-eval-table td:first-child{min-width:280px;}
}
@media (max-width:720px){
  .adm-dece-evaluaciones-clean .adm-dece-clean-summary{flex-direction:column;align-items:stretch;}
  .adm-dece-clean-summary > div:last-child{text-align:left;}
  .adm-dece-modal-footer-actions{margin:16px -16px -16px;padding:14px 16px;flex-direction:column;}
  .adm-dece-modal-footer-actions .adm-btn{width:100%;}
  .adm-dece-table-actions .adm-btn{width:100%;}
}

/* Fase 3.0 DECE - editor moderno de cuestionarios/evaluaciones */
.adm-dece-evaluaciones-clean .adm-dece-eval-head{margin-bottom:14px;}
.adm-dece-builder-shell{width:min(1360px,97vw);border-radius:28px;}
.adm-dece-builder-header{background:linear-gradient(135deg,#0b3b78 0%,#206a9d 48%,#5b7cfa 100%);color:#fff;border-bottom:0;}
.adm-dece-builder-header h3,.adm-dece-builder-header p,.adm-dece-builder-header .adm-section-kicker{color:#fff;}
.adm-dece-builder-header .adm-section-kicker{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.22);}
.adm-dece-builder-header-main{display:flex;gap:14px;align-items:center;}
.adm-dece-builder-icon{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.28);font-size:24px;box-shadow:inset 0 1px 0 rgba(255,255,255,.22);}
.adm-dece-builder-header .adm-dece-modal-close{background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.24);box-shadow:none;}
.adm-dece-builder-header .adm-dece-modal-close:hover{background:rgba(255,255,255,.24);}
.adm-dece-builder-body{background:#f6f9fd;padding:0;max-height:calc(92vh - 92px);}
.adm-dece-builder-body > .adm-dece-alert{margin:18px 18px 0;}
.adm-dece-builder-layout{display:grid;grid-template-columns:minmax(520px,1.05fr) minmax(390px,.95fr);gap:18px;padding:18px;align-items:start;}
.adm-dece-builder-main{display:flex;flex-direction:column;gap:16px;min-width:0;}
.adm-dece-eval-wizard-card,.adm-dece-question-editor,.adm-dece-builder-preview{border-radius:22px;border:1px solid rgba(148,163,184,.22);background:#fff;box-shadow:0 16px 38px rgba(15,23,42,.08);}
.adm-dece-eval-wizard-card,.adm-dece-question-editor{padding:16px!important;}
.adm-dece-builder-card-head,.adm-dece-preview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px;}
.adm-dece-builder-card-head h3,.adm-dece-preview-head h3{margin:0;color:#0b2e63;font-size:18px;line-height:1.2;}
.adm-dece-builder-card-head p,.adm-dece-preview-head p{margin:4px 0 0;color:#64748b;font-size:13px;font-weight:600;line-height:1.35;}
.adm-dece-builder-step{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#0b3b78,#2f97b8);color:#fff;font-weight:900;margin-right:8px;box-shadow:0 8px 18px rgba(37,99,235,.22);}
.adm-dece-mode-pill,.adm-dece-question-counter{white-space:nowrap;border-radius:999px;padding:8px 12px;background:#fff7db;border:1px solid #f6d36f;color:#8a5b00;font-weight:900;font-size:12px;}
.adm-dece-question-counter{background:#eaf4ff;border-color:#bfdbfe;color:#0b3b78;}
.adm-dece-title-field{font-size:15px;font-weight:900;color:#111827;}
.adm-dece-title-field input{font-size:17px!important;min-height:50px;border-radius:15px!important;}
.adm-dece-source-options{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:14px;margin:14px 0;}
.adm-dece-source-card{position:relative;min-height:150px;padding:16px;border-radius:20px;border:1px solid rgba(148,163,184,.22);background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:0 12px 26px rgba(15,23,42,.04);}
.adm-dece-source-card.is-active{border-color:rgba(37,99,235,.34);background:linear-gradient(135deg,#eff6ff,#fff);}
.adm-dece-source-card.is-muted{opacity:.82;}
.adm-dece-source-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:15px;background:#f3f0ff;border:1px solid rgba(91,124,250,.18);font-size:22px;margin-bottom:10px;}
.adm-dece-source-card strong{display:block;color:#0b2e63;font-size:15px;line-height:1.25;margin-bottom:6px;}
.adm-dece-source-card p{margin:0;color:#64748b;font-size:13px;font-weight:600;line-height:1.45;}
.adm-dece-source-badge{position:absolute;top:16px;right:16px;padding:7px 12px;border-radius:999px;background:linear-gradient(135deg,#5b7cfa,#7c3aed);color:#fff;font-weight:900;font-size:12px;}
.adm-dece-source-selected{display:inline-block;margin-top:10px;border-radius:999px;padding:7px 12px;background:#dcfce7;color:#166534;font-weight:900;font-size:12px;border:1px solid #bbf7d0;}
.adm-dece-advanced-box{border:1px solid rgba(148,163,184,.22);border-radius:18px;background:#fbfdff;padding:0;margin-top:10px;overflow:hidden;}
.adm-dece-advanced-box summary{cursor:pointer;list-style:none;padding:14px 16px;font-weight:900;color:#0b2e63;background:linear-gradient(135deg,#f8fbff,#ffffff);border-bottom:1px solid rgba(226,232,240,.72);}
.adm-dece-advanced-box summary::-webkit-details-marker{display:none;}
.adm-dece-advanced-box[open]{padding-bottom:14px;}
.adm-dece-advanced-box[open] summary{margin-bottom:14px;}
.adm-dece-advanced-box .adm-dece-form-grid,.adm-dece-advanced-box label{padding-left:14px;padding-right:14px;}
.adm-dece-question-editor[data-dece-question-disabled="1"]{background:linear-gradient(180deg,#fff,#f8fafc);}
.adm-dece-question-textarea textarea{min-height:120px;border-radius:16px!important;}
.adm-dece-options-editor{border-radius:18px;border:1px solid rgba(148,163,184,.24);background:#f8fbff;padding:12px;margin-top:8px;}
.adm-dece-options-editor .adm-dece-options-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px;}
.adm-dece-options-editor .adm-dece-options-head strong{color:#0b2e63;font-size:15px;}
.adm-dece-options-editor .adm-dece-options-head small{display:block;margin-top:3px;color:#64748b;font-size:12px;font-weight:600;}
.adm-dece-option-row{display:grid;grid-template-columns:42px minmax(150px,1fr) 116px 38px;gap:10px;align-items:center;padding:10px;border-radius:16px;background:#fff;border:1px solid rgba(148,163,184,.18);box-shadow:0 6px 14px rgba(15,23,42,.03);margin-bottom:8px;}
.adm-dece-option-row.is-correct{border-color:#86efac;background:#f0fdf4;box-shadow:0 6px 18px rgba(22,163,74,.08);}
.adm-dece-option-code{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#0b3b78,#2f97b8);color:#fff;font-weight:900;}
.adm-dece-option-row input[type="text"]{height:40px;border-radius:13px!important;margin:0!important;}
.adm-dece-correct-radio{margin:0!important;display:flex!important;align-items:center;justify-content:center;gap:6px;height:40px;border-radius:13px;background:#f8fafc;border:1px solid rgba(148,163,184,.22);font-size:12px;font-weight:900;color:#475569;}
.adm-dece-option-row.is-correct .adm-dece-correct-radio{background:#dcfce7;color:#166534;border-color:#86efac;}
.adm-dece-option-trash{width:36px;height:36px;border:0;border-radius:12px;background:#fff1f2;color:#be123c;cursor:pointer;font-size:16px;display:grid;place-items:center;}
.adm-dece-option-trash:hover{background:#ffe4e6;}
.adm-dece-builder-preview{position:sticky;top:0;padding:16px;max-height:calc(92vh - 132px);overflow:hidden;display:flex;flex-direction:column;}
.adm-dece-builder-preview .adm-dece-modal-question-list{max-height:none;overflow:auto;padding-right:6px;flex:1;}
.adm-dece-modal-question-item{border-radius:18px;border:1px solid rgba(148,163,184,.24);background:#fff;padding:14px;box-shadow:0 8px 20px rgba(15,23,42,.04);}
.adm-dece-question-main{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;align-items:start;}
.adm-dece-question-main b{width:32px;height:32px;border-radius:12px;background:#eff6ff;color:#0b3b78;display:grid;place-items:center;font-weight:900;}
.adm-dece-question-main span{font-weight:900;color:#111827;line-height:1.35;}
.adm-dece-question-main small{grid-column:2;color:#64748b;font-size:12px;font-weight:700;}
.adm-dece-option-chips{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 0 42px;}
.adm-dece-option-chips span,.adm-dece-option-chips em{border-radius:999px;padding:7px 10px;background:#f1f5f9;color:#475569;font-size:12px;font-weight:800;font-style:normal;}
.adm-dece-option-chips span.is-correct{background:#dcfce7;color:#166534;border:1px solid #bbf7d0;}
.adm-dece-question-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0 42px;}
.adm-dece-question-empty{padding:20px;border:1px dashed rgba(148,163,184,.45);border-radius:18px;background:#fff;color:#64748b;text-align:center;font-weight:700;}
.adm-dece-sticky-actions{border-top:1px solid rgba(226,232,240,.85);padding-top:14px!important;margin-top:14px!important;}
.adm-dece-modal-footer-actions{bottom:0;margin:0;padding:14px 18px;background:#fff;}
@media (max-width:1180px){
  .adm-dece-builder-layout{grid-template-columns:1fr;}
  .adm-dece-builder-preview{position:relative;max-height:none;}
}
@media (max-width:760px){
  .adm-dece-builder-layout{padding:12px;gap:12px;}
  .adm-dece-source-options{grid-template-columns:1fr;}
  .adm-dece-form-grid-4{grid-template-columns:1fr!important;}
  .adm-dece-option-row{grid-template-columns:36px 1fr;}
  .adm-dece-correct-radio,.adm-dece-option-trash{grid-column:2;justify-self:start;min-width:118px;}
  .adm-dece-builder-header-main{align-items:flex-start;}
}


/* Fase 3.0 DECE - Importación Excel de cuestionarios */
.adm-dece-source-options-import {
  align-items: stretch;
}
.adm-dece-excel-import-card {
  border-color: rgba(78, 84, 200, .24);
  background: linear-gradient(135deg, #ffffff 0%, #f7f5ff 100%);
}
.adm-dece-excel-import-card small {
  display: block;
  color: #5b6b84;
  font-weight: 700;
  line-height: 1.45;
  margin-top: 10px;
}
.adm-dece-excel-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.adm-dece-file-picker {
  align-items: center;
  background: #fff;
  border: 1px dashed #96b9e8;
  border-radius: 16px;
  color: #06498e;
  cursor: pointer;
  display: flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  padding: 9px 12px;
  text-align: center;
  transition: .18s ease;
}
.adm-dece-file-picker:hover {
  background: #eaf5ff;
  border-color: #0b6fb3;
}
.adm-dece-file-picker input[type="file"] {
  display: none;
}
.adm-dece-import-replace {
  align-items: center;
  background: #f8fbff;
  border: 1px solid #d8e8fb;
  border-radius: 14px;
  color: #42536b;
  display: flex;
  font-size: 12px;
  font-weight: 800;
  gap: 8px;
  grid-column: 1 / -1;
  line-height: 1.35;
  padding: 9px 12px;
}
.adm-dece-import-replace input {
  accent-color: #0b6fb3;
}
.adm-dece-excel-actions .adm-btn {
  width: 100%;
  justify-content: center;
  text-decoration: none;
}
@media (max-width: 720px) {
  .adm-dece-excel-actions { grid-template-columns: 1fr; }
}

/* Fase 3.0 DECE - tabla dinámica visual y mapa curso/grado */
.adm-dece-table-overview{
  display:grid;
  grid-template-columns:repeat(4,minmax(150px,1fr));
  gap:12px;
  margin:0 0 14px;
}
.adm-dece-table-overview article{
  position:relative;
  overflow:hidden;
  border-radius:18px;
  padding:14px 15px;
  background:linear-gradient(135deg,#ffffff 0%,#eff6ff 58%,#fff7db 100%);
  border:1px solid rgba(37,99,235,.13);
  box-shadow:0 12px 26px rgba(15,23,42,.06);
}
.adm-dece-table-overview article:after{
  content:'';
  position:absolute;
  right:-28px;
  top:-28px;
  width:82px;
  height:82px;
  border-radius:999px;
  background:rgba(0,84,166,.08);
}
.adm-dece-table-overview span{font-size:24px;display:block;margin-bottom:8px;}
.adm-dece-table-overview small{display:block;color:#55708d;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.25px;}
.adm-dece-table-overview strong{display:block;margin-top:4px;color:#082d5f;font-size:28px;line-height:1;}
.adm-dece-table-legend{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 12px;
  padding:12px 14px;
  border-radius:18px;
  background:rgba(248,251,255,.92);
  border:1px solid rgba(148,163,184,.18);
}
.adm-dece-table-legend span{display:inline-flex;align-items:center;gap:7px;color:#42536b;font-size:12px;font-weight:900;}
.adm-dece-dot{width:11px;height:11px;border-radius:999px;display:inline-block;box-shadow:0 0 0 4px rgba(148,163,184,.10);}
.adm-dece-dot.is-prueba{background:#2563eb;}
.adm-dece-dot.is-entrevista{background:#7c3aed;}
.adm-dece-dot.is-course{background:#16a34a;}
.adm-dece-eval-table-wrap{border-radius:22px;border:1px solid rgba(37,99,235,.12);box-shadow:0 18px 42px rgba(15,23,42,.07);background:#fff;}
.adm-dece-eval-table{min-width:1480px;border-collapse:separate!important;border-spacing:0 10px!important;background:linear-gradient(180deg,#f8fbff,#ffffff);padding:8px;}
.adm-dece-eval-table thead th{
  position:sticky;
  top:0;
  z-index:3;
  background:linear-gradient(135deg,#073b78 0%,#0054a6 100%)!important;
  color:#fff!important;
  border:0!important;
  padding:13px 12px!important;
  font-size:11px!important;
  letter-spacing:.55px;
  text-transform:uppercase;
  white-space:nowrap;
  vertical-align:middle;
}
.adm-dece-eval-table thead th:first-child{border-top-left-radius:16px!important;border-bottom-left-radius:16px!important;}
.adm-dece-eval-table thead th:last-child{border-top-right-radius:16px!important;border-bottom-right-radius:16px!important;}
.adm-dece-eval-table tbody tr{filter:drop-shadow(0 8px 16px rgba(15,23,42,.05));}
.adm-dece-eval-table tbody td{
  background:#fff!important;
  border-top:1px solid rgba(226,232,240,.90);
  border-bottom:1px solid rgba(226,232,240,.90);
  padding:14px 12px!important;
  color:#10254a;
  vertical-align:middle!important;
  font-size:13px!important;
  line-height:1.35;
}
.adm-dece-eval-table tbody td:first-child{border-left:1px solid rgba(226,232,240,.90);border-radius:18px 0 0 18px;}
.adm-dece-eval-table tbody td:last-child{border-right:1px solid rgba(226,232,240,.90);border-radius:0 18px 18px 0;}
.adm-dece-eval-table tbody tr:hover td{background:#f8fbff!important;border-color:rgba(37,99,235,.22);}
.adm-dece-eval-row-modern.has-no-grades td{background:linear-gradient(90deg,#fff 0%,#fff 78%,#fff7ed 100%)!important;}
.adm-dece-eval-row-modern.adm-row-inactive td{opacity:.76;background:#f8fafc!important;}
.adm-dece-eval-table th:first-child,.adm-dece-eval-table td:first-child{min-width:310px!important;width:310px;}
.adm-dece-eval-table th:nth-child(2),.adm-dece-eval-table td:nth-child(2){min-width:110px;width:110px;}
.adm-dece-eval-table th:nth-child(3),.adm-dece-eval-table td:nth-child(3){min-width:240px;width:240px;}
.adm-dece-eval-table th:nth-child(4),.adm-dece-eval-table td:nth-child(4){min-width:130px;width:130px;}
.adm-dece-eval-table th:nth-child(5),.adm-dece-eval-table td:nth-child(5){min-width:185px;width:185px;}
.adm-dece-eval-table th:nth-child(9),.adm-dece-eval-table td:nth-child(9){min-width:280px;width:280px;}
.adm-dece-table-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;align-items:stretch!important;}
.adm-dece-table-actions .adm-btn{width:100%;min-height:38px;white-space:nowrap;box-shadow:none;}
.adm-dece-code-badge{display:inline-flex;align-items:center;justify-content:center;min-width:64px;max-width:96px;border-radius:14px;padding:9px 10px;background:linear-gradient(135deg,#eaf4ff,#ffffff);border:1px solid #bfdbfe;color:#073b78;font-size:12px;font-weight:1000;text-align:center;word-break:break-word;}
.adm-dece-eval-name-cell strong{display:block;color:#082d5f;font-size:14px;font-weight:1000;line-height:1.25;text-transform:uppercase;}
.adm-dece-eval-name-cell small{display:block;margin-top:5px;color:#64748b;font-size:11px;font-weight:800;line-height:1.25;}
.adm-dece-chip{display:inline-flex;align-items:center;justify-content:center;min-height:30px;border-radius:999px;padding:7px 11px;font-size:11px;font-weight:1000;line-height:1.1;text-transform:uppercase;white-space:nowrap;border:1px solid transparent;}
.adm-dece-chip.is-prueba{background:#dbeafe;color:#1d4ed8;border-color:#bfdbfe;}
.adm-dece-chip.is-entrevista{background:#ede9fe;color:#6d28d9;border-color:#ddd6fe;}
.adm-dece-chip.is-instrumento{background:#ecfeff;color:#0e7490;border-color:#a5f3fc;white-space:normal;text-align:center;}
.adm-dece-chip.is-random{background:#fff7ed;color:#c2410c;border-color:#fed7aa;}
.adm-dece-chip.is-static{background:#f1f5f9;color:#475569;border-color:#e2e8f0;}
.adm-dece-metric-pill{display:inline-grid;place-items:center;min-width:58px;border-radius:16px;padding:8px 10px;background:#eef6ff;border:1px solid #d6eaff;color:#073b78;}
.adm-dece-metric-pill b{font-size:18px;line-height:1;font-weight:1000;}
.adm-dece-metric-pill small{font-size:10px;text-transform:uppercase;font-weight:900;color:#5b6b84;}
.adm-dece-metric-pill.is-soft{background:#fff7db;border-color:#f1dea1;color:#7B5A00;}
.adm-dece-grade-tags{display:flex;flex-wrap:wrap;gap:6px;max-width:260px;}
.adm-dece-grade-tags span{display:inline-flex;border-radius:999px;padding:7px 9px;background:#dcfce7;color:#166534;border:1px solid #bbf7d0;font-size:11px;font-weight:900;line-height:1.2;}
.adm-dece-grade-tags em{display:inline-flex;border-radius:999px;padding:7px 9px;background:#fff7ed;color:#9a3412;border:1px solid #fed7aa;font-size:11px;font-weight:900;font-style:normal;}
.adm-dece-percent-cell{min-width:90px;}
.adm-dece-percent-cell strong{display:block;color:#082d5f;font-size:12px;font-weight:1000;margin-bottom:5px;}
.adm-dece-percent-cell span{display:block;width:96px;height:8px;border-radius:999px;background:#e2e8f0;overflow:hidden;}
.adm-dece-percent-cell i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#0b3b78,#2f97b8);}
.adm-dece-date-pill{display:inline-flex;border-radius:12px;padding:7px 9px;background:#f8fafc;border:1px solid #e2e8f0;color:#42536b;font-size:11px;font-weight:800;white-space:normal;max-width:104px;text-align:center;}
.adm-dece-grade-map-dialog{width:min(1180px,96vw);}
.adm-dece-grade-map-header{background:linear-gradient(135deg,#0b3b78,#2563eb 52%,#f6c247 140%);color:#fff;border:0;}
.adm-dece-grade-map-header h3,.adm-dece-grade-map-header p,.adm-dece-grade-map-header .adm-section-kicker{color:#fff;}
.adm-dece-grade-map-header .adm-section-kicker{background:rgba(255,255,255,.15);border-color:rgba(255,255,255,.22);}
.adm-dece-grade-map-header .adm-dece-modal-close{background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.22);box-shadow:none;}
.adm-dece-grade-map-body{background:#f6f9fd;}
.adm-dece-grade-map-summary{display:grid;grid-template-columns:repeat(3,minmax(130px,1fr));gap:12px;margin-bottom:14px;}
.adm-dece-grade-map-summary article{border-radius:18px;padding:13px;background:#fff;border:1px solid rgba(148,163,184,.18);box-shadow:0 10px 22px rgba(15,23,42,.05);}
.adm-dece-grade-map-summary span{font-size:22px;display:block;}
.adm-dece-grade-map-summary small{display:block;color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase;}
.adm-dece-grade-map-summary strong{display:block;color:#0b2e63;font-size:24px;font-weight:1000;}
.adm-dece-grade-map-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;}
.adm-dece-grade-map-card{border-radius:22px;padding:14px;background:#fff;border:1px solid rgba(148,163,184,.20);box-shadow:0 14px 30px rgba(15,23,42,.06);}
.adm-dece-grade-map-card.has-evals{border-color:rgba(34,197,94,.28);}
.adm-dece-grade-map-card.is-empty{background:linear-gradient(135deg,#fff,#fff7ed);border-color:#fed7aa;}
.adm-dece-grade-map-card header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding-bottom:10px;border-bottom:1px solid rgba(226,232,240,.88);margin-bottom:10px;}
.adm-dece-grade-map-card header span{display:block;color:#082d5f;font-size:15px;font-weight:1000;line-height:1.25;}
.adm-dece-grade-map-card header small{display:block;margin-top:4px;color:#64748b;font-weight:800;font-size:12px;}
.adm-dece-grade-map-card header b{display:grid;place-items:center;width:36px;height:36px;border-radius:14px;background:#eff6ff;color:#0b3b78;font-size:17px;}
.adm-dece-grade-map-evals{display:flex;flex-direction:column;gap:9px;}
.adm-dece-grade-map-eval{border-radius:16px;padding:11px 12px;background:#f8fbff;border:1px solid rgba(37,99,235,.12);}
.adm-dece-grade-map-eval.is-inactive{opacity:.7;background:#f8fafc;}
.adm-dece-grade-map-eval strong{display:block;color:#0b2e63;font-weight:1000;font-size:12px;line-height:1.3;}
.adm-dece-grade-map-eval small{display:block;margin:3px 0 8px;color:#64748b;font-weight:800;font-size:11px;}
.adm-dece-grade-map-eval .adm-btn{min-height:32px;padding:6px 10px;}
.adm-dece-grade-map-empty{padding:14px;border-radius:16px;border:1px dashed #fdba74;background:#fff7ed;color:#9a3412;font-size:13px;font-weight:900;line-height:1.35;}
@media (max-width:980px){
  .adm-dece-table-overview{grid-template-columns:repeat(2,minmax(0,1fr));}
  .adm-dece-grade-map-summary{grid-template-columns:1fr;}
}
@media (max-width:720px){
  .adm-dece-table-overview{grid-template-columns:1fr;}
  .adm-dece-table-legend{align-items:flex-start;flex-direction:column;}
  .adm-dece-table-actions{grid-template-columns:1fr;}
}

/* Fase 3.0 · Ponderaciones DECE visual */
.adm-dece-ponder-panel {
  overflow: hidden;
}
.adm-dece-ponder-head {
  gap: 18px;
  align-items: stretch;
}
.adm-dece-ponder-total-pill {
  min-width: 210px;
  align-self: center;
  border-radius: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(148,163,184,.28);
  background: linear-gradient(135deg, #f8fafc, #ffffff);
  box-shadow: 0 16px 34px rgba(15,23,42,.08);
  display: grid;
  gap: 2px;
  text-align: right;
}
.adm-dece-ponder-total-pill small {
  color: #64748b;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 10px;
}
.adm-dece-ponder-total-pill strong {
  font-size: 28px;
  line-height: 1;
  color: #0f172a;
}
.adm-dece-ponder-total-pill span {
  font-size: 12px;
  font-weight: 800;
}
.adm-dece-ponder-total-pill.is-ok {
  border-color: rgba(16,185,129,.34);
  background: linear-gradient(135deg, #ecfdf5, #ffffff);
}
.adm-dece-ponder-total-pill.is-ok span,
.adm-dece-ponder-total-pill.is-ok strong { color: #047857; }
.adm-dece-ponder-total-pill.is-pending {
  border-color: rgba(245,158,11,.36);
  background: linear-gradient(135deg, #fffbeb, #ffffff);
}
.adm-dece-ponder-total-pill.is-pending span,
.adm-dece-ponder-total-pill.is-pending strong { color: #92400e; }
.adm-dece-ponder-total-pill.is-over {
  border-color: rgba(244,63,94,.35);
  background: linear-gradient(135deg, #fff1f2, #ffffff);
}
.adm-dece-ponder-total-pill.is-over span,
.adm-dece-ponder-total-pill.is-over strong { color: #be123c; }
.adm-dece-ponder-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 14px;
  margin: 2px 0 16px;
}
.adm-dece-ponder-overview article {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "icon label" "icon value" "icon note";
  column-gap: 12px;
  align-items: center;
  padding: 15px 16px;
  border-radius: 22px;
  border: 1px solid rgba(148,163,184,.22);
  background: #fff;
  box-shadow: 0 14px 32px rgba(15,23,42,.06);
}
.adm-dece-ponder-overview article:after {
  content: '';
  position: absolute;
  right: -28px;
  top: -28px;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: rgba(15,23,42,.035);
}
.adm-dece-ponder-overview span {
  grid-area: icon;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 20px;
  background: rgba(219,234,254,.9);
}
.adm-dece-ponder-overview small {
  grid-area: label;
  color: #64748b;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 10px;
}
.adm-dece-ponder-overview strong {
  grid-area: value;
  color: #0f172a;
  font-size: 24px;
  line-height: 1.05;
}
.adm-dece-ponder-overview em {
  grid-area: note;
  color: #64748b;
  font-style: normal;
  font-weight: 700;
  font-size: 11px;
}
.adm-dece-ponder-overview .is-total span { background: #dbeafe; }
.adm-dece-ponder-overview .is-active span { background: #dcfce7; }
.adm-dece-ponder-overview .is-required span { background: #fef3c7; }
.adm-dece-ponder-overview .is-inactive span { background: #f1f5f9; }
.adm-dece-ponder-progress-card {
  margin: 0 0 16px;
  border-radius: 20px;
  padding: 15px 16px;
  border: 1px solid rgba(148,163,184,.28);
  background: linear-gradient(135deg, #f8fafc, #ffffff);
}
.adm-dece-ponder-progress-card.is-ok { border-color: rgba(16,185,129,.34); background: linear-gradient(135deg, #ecfdf5, #ffffff); }
.adm-dece-ponder-progress-card.is-pending { border-color: rgba(245,158,11,.34); background: linear-gradient(135deg, #fffbeb, #ffffff); }
.adm-dece-ponder-progress-card.is-over { border-color: rgba(244,63,94,.34); background: linear-gradient(135deg, #fff1f2, #ffffff); }
.adm-dece-ponder-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.adm-dece-ponder-progress-head strong {
  color: #0f172a;
  font-size: 15px;
}
.adm-dece-ponder-progress-head span {
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(148,163,184,.22);
  font-size: 12px;
  font-weight: 900;
  color: #334155;
}
.adm-dece-ponder-progress-track {
  height: 13px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148,163,184,.18);
  box-shadow: inset 0 1px 2px rgba(15,23,42,.08);
}
.adm-dece-ponder-progress-track i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f4c81, #2d9cdb);
  transition: width .2s ease;
}
.adm-dece-ponder-progress-card.is-ok .adm-dece-ponder-progress-track i { background: linear-gradient(90deg, #059669, #34d399); }
.adm-dece-ponder-progress-card.is-pending .adm-dece-ponder-progress-track i { background: linear-gradient(90deg, #d97706, #fbbf24); }
.adm-dece-ponder-progress-card.is-over .adm-dece-ponder-progress-track i { background: linear-gradient(90deg, #e11d48, #fb7185); }
.adm-dece-ponder-progress-card p {
  margin: 9px 0 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}
.adm-dece-ponder-table-wrap {
  border-radius: 24px;
  border: 1px solid rgba(148,163,184,.24);
  background: linear-gradient(180deg, rgba(248,250,252,.92), rgba(255,255,255,.98));
  box-shadow: 0 18px 38px rgba(15,23,42,.07);
}
.adm-dece-ponder-table {
  min-width: 1050px;
  border-collapse: separate;
  border-spacing: 0 10px;
  background: transparent;
}
.adm-dece-ponder-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: linear-gradient(135deg, #073b77, #0f5fa8);
  color: #fff;
  border: 0;
  padding: 14px 12px;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.adm-dece-ponder-table thead th:first-child { border-radius: 16px 0 0 16px; }
.adm-dece-ponder-table thead th:last-child { border-radius: 0 16px 16px 0; }
.adm-dece-ponder-table tbody tr {
  background: #fff;
  box-shadow: 0 12px 24px rgba(15,23,42,.055);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.adm-dece-ponder-table tbody tr:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(15,23,42,.09);
}
.adm-dece-ponder-table tbody td {
  border-top: 1px solid rgba(148,163,184,.18);
  border-bottom: 1px solid rgba(148,163,184,.18);
  background: rgba(255,255,255,.97);
  padding: 12px;
  vertical-align: middle;
}
.adm-dece-ponder-table tbody td:first-child {
  border-left: 1px solid rgba(148,163,184,.18);
  border-radius: 18px 0 0 18px;
}
.adm-dece-ponder-table tbody td:last-child {
  border-right: 1px solid rgba(148,163,184,.18);
  border-radius: 0 18px 18px 0;
}
.adm-dece-ponder-row.is-inactive {
  opacity: .72;
}
.adm-dece-ponder-row.is-inactive td {
  background: rgba(248,250,252,.88);
}
.adm-dece-ponder-component {
  min-width: 245px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.adm-dece-ponder-dot {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: #dbeafe;
  border: 1px solid rgba(59,130,246,.24);
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.55);
  flex: 0 0 auto;
}
.adm-dece-ponder-row.is-comportamiento .adm-dece-ponder-dot { background: #ffedd5; border-color: rgba(249,115,22,.25); }
.adm-dece-ponder-row.is-dece .adm-dece-ponder-dot { background: #dbeafe; border-color: rgba(37,99,235,.25); }
.adm-dece-ponder-row.is-entrevista .adm-dece-ponder-dot { background: #ede9fe; border-color: rgba(124,58,237,.25); }
.adm-dece-ponder-row.is-rubrica .adm-dece-ponder-dot { background: #dcfce7; border-color: rgba(22,163,74,.25); }
.adm-dece-ponder-component strong {
  display: block;
  color: #0f376f;
  font-size: 13px;
  line-height: 1.2;
  word-break: break-word;
}
.adm-dece-ponder-component small {
  display: inline-flex;
  margin-top: 6px;
  border-radius: 999px;
  padding: 5px 9px;
  background: #ecfdf5;
  color: #047857;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.adm-dece-ponder-row.is-inactive .adm-dece-ponder-component small {
  background: #f1f5f9;
  color: #64748b;
}
.adm-dece-ponder-description input {
  min-width: 340px !important;
  min-height: 42px;
  background: #f8fafc !important;
  border-color: rgba(148,163,184,.36) !important;
}
.adm-dece-ponder-weight {
  min-width: 150px;
}
.adm-dece-weight-input {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}
.adm-dece-weight-input input {
  min-width: 104px !important;
  padding-right: 28px !important;
  font-weight: 900;
  text-align: right;
}
.adm-dece-weight-input span {
  margin-left: -30px;
  color: #64748b;
  font-weight: 900;
  pointer-events: none;
}
.adm-dece-weight-bar {
  margin-top: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(148,163,184,.16);
  overflow: hidden;
}
.adm-dece-weight-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f4c81, #2d9cdb);
}
.adm-dece-ponder-select-cell select {
  min-width: 132px !important;
  font-weight: 800;
  background: #f8fafc !important;
}
.adm-dece-ponder-date span {
  display: inline-flex;
  min-width: 122px;
  border-radius: 999px;
  padding: 8px 10px;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 11px;
  font-weight: 900;
  justify-content: center;
}
.adm-dece-ponder-help {
  margin: 16px 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,.26);
  background: #f8fafc;
  color: #334155;
  text-align: center;
  font-size: 14px;
}
.adm-dece-ponder-help strong {
  color: #0f172a;
}
.adm-dece-ponder-help.is-ok { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.adm-dece-ponder-help.is-ok strong { color: #047857; }
.adm-dece-ponder-help.is-pending { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.adm-dece-ponder-help.is-pending strong { color: #92400e; }
.adm-dece-ponder-help.is-over { background: #fff1f2; border-color: #fecdd3; color: #be123c; }
.adm-dece-ponder-help.is-over strong { color: #be123c; }
.adm-btn-disabled-visual {
  box-shadow: none !important;
  filter: saturate(.75);
}
@media (max-width: 980px) {
  .adm-dece-ponder-head { flex-direction: column; }
  .adm-dece-ponder-total-pill { width: 100%; text-align: left; }
  .adm-dece-ponder-overview { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
  .adm-dece-ponder-help { align-items: flex-start; flex-direction: column; text-align: left; }
}
@media (max-width: 620px) {
  .adm-dece-ponder-overview { grid-template-columns: 1fr; }
  .adm-dece-ponder-progress-head { align-items: flex-start; flex-direction: column; }
}

/* Fase 3.0 - Asignación DECE: tabla visual y selector de empleados */
.adm-dece-assignment-panel {
  overflow: hidden;
}
.adm-dece-assignment-head {
  align-items: flex-start;
  gap: 18px;
}
.adm-dece-assignment-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  min-width: 260px;
}
.adm-dece-assignment-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(191,219,254,.9);
  color: #0f2f5f;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(15, 76, 129, .08);
}
.adm-dece-assignment-legend i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}
.adm-dece-assignment-legend .is-green { background: #22c55e; }
.adm-dece-assignment-legend .is-yellow { background: #f59e0b; }
.adm-dece-assignment-legend .is-blue { background: #0ea5e9; }
.adm-dece-assignment-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(145px, 1fr));
  gap: 12px;
  margin: 16px 0 12px;
}
.adm-dece-assignment-summary article {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 14px 15px;
  border: 1px solid rgba(191,219,254,.9);
  background: linear-gradient(145deg, #ffffff 0%, #eef6ff 100%);
  box-shadow: 0 16px 32px rgba(15, 76, 129, .09);
}
.adm-dece-assignment-summary article:before {
  content: "";
  position: absolute;
  right: -24px;
  top: -28px;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  opacity: .16;
  background: #0f4c81;
}
.adm-dece-assignment-summary article span {
  display: block;
  color: #475569;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.adm-dece-assignment-summary article strong {
  display: block;
  margin-top: 3px;
  color: #0b2f63;
  font-size: 26px;
  line-height: 1;
  font-weight: 950;
}
.adm-dece-assignment-summary article small {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-weight: 800;
  line-height: 1.25;
}
.adm-dece-assignment-summary article.is-ok { background: linear-gradient(145deg, #ffffff, #ecfdf5); border-color: #bbf7d0; }
.adm-dece-assignment-summary article.is-ok:before { background: #22c55e; }
.adm-dece-assignment-summary article.is-warning { background: linear-gradient(145deg, #ffffff, #fffbeb); border-color: #fde68a; }
.adm-dece-assignment-summary article.is-warning:before { background: #f59e0b; }
.adm-dece-assignment-summary article.is-info { background: linear-gradient(145deg, #ffffff, #eff6ff); border-color: #bfdbfe; }
.adm-dece-assignment-summary article.is-info:before { background: #2563eb; }
.adm-dece-assignment-summary article.is-purple { background: linear-gradient(145deg, #ffffff, #f5f3ff); border-color: #ddd6fe; }
.adm-dece-assignment-summary article.is-purple:before { background: #7c3aed; }
.adm-dece-assignment-note {
  margin: 8px 0 15px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid #fde68a;
  background: linear-gradient(90deg, #fffbeb, #ffffff);
  color: #7c4a03;
  font-size: 13px;
  font-weight: 800;
}
.adm-dece-assignment-wrap {
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  background: #f8fbff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}
.adm-dece-assignment-table-v2 {
  border-collapse: separate !important;
  border-spacing: 0 10px !important;
  min-width: 1220px;
  background: transparent !important;
}
.adm-dece-assignment-table-v2 thead th {
  background: linear-gradient(135deg, #083b78 0%, #0054a6 58%, #0f8db3 100%) !important;
  color: #fff !important;
  border: 0 !important;
  font-size: 11px !important;
  letter-spacing: .045em;
  text-transform: uppercase;
  padding: 14px 12px !important;
  white-space: nowrap;
}
.adm-dece-assignment-table-v2 thead th:first-child { border-top-left-radius: 16px; border-bottom-left-radius: 16px; }
.adm-dece-assignment-table-v2 thead th:last-child { border-top-right-radius: 16px; border-bottom-right-radius: 16px; }
.adm-dece-assignment-table-v2 tbody tr.adm-dece-assignment-row {
  background: #fff !important;
  box-shadow: 0 14px 28px rgba(15, 76, 129, .08);
}
.adm-dece-assignment-table-v2 tbody tr.adm-dece-assignment-row td {
  padding: 14px 12px !important;
  border-top: 1px solid #e0edff !important;
  border-bottom: 1px solid #e0edff !important;
  vertical-align: middle;
  background: #fff !important;
}
.adm-dece-assignment-table-v2 tbody tr.adm-dece-assignment-row td:first-child {
  border-left: 5px solid #f59e0b !important;
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
}
.adm-dece-assignment-table-v2 tbody tr.adm-dece-assignment-row td:last-child {
  border-right: 1px solid #e0edff !important;
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
}
.adm-dece-assignment-table-v2 tbody tr.is-asignado td:first-child { border-left-color: #22c55e !important; }
.adm-dece-assignment-table-v2 tbody tr.is-proceso td:first-child { border-left-color: #0ea5e9 !important; }
.adm-dece-assignment-table-v2 tbody tr.is-finalizado td:first-child { border-left-color: #7c3aed !important; }
.adm-dece-assignment-table-v2 tbody tr.is-pendiente td:first-child { border-left-color: #f59e0b !important; }
.adm-dece-assignment-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 126px;
}
.adm-dece-assignment-actions .adm-btn-mini {
  width: 100%;
  justify-content: center;
  border-radius: 999px;
  padding: 9px 11px;
  font-weight: 950;
}
.adm-dece-cell-main,
.adm-dece-cell-person {
  min-width: 220px;
}
.adm-dece-cell-main strong,
.adm-dece-cell-person strong {
  display: block;
  color: #082f63;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.25;
}
.adm-dece-cell-main small,
.adm-dece-cell-person small {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}
.adm-dece-code-chip,
.adm-dece-grade-chip,
.adm-dece-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.1;
  white-space: normal;
}
.adm-dece-code-chip {
  margin-bottom: 7px;
  background: #e0f2fe;
  color: #075985;
  border: 1px solid #bae6fd;
  white-space: nowrap;
}
.adm-dece-grade-chip {
  max-width: 220px;
  background: #f5f3ff;
  color: #4c1d95;
  border: 1px solid #ddd6fe;
  text-align: left;
  justify-content: flex-start;
}
.adm-dece-date-cell {
  min-width: 150px;
}
.adm-dece-date-box {
  display: inline-flex;
  flex-direction: column;
  min-width: 116px;
  padding: 9px 10px;
  border-radius: 16px;
  background: linear-gradient(145deg, #eff6ff, #fff);
  border: 1px solid #bfdbfe;
  color: #0f2f5f;
  box-shadow: 0 8px 18px rgba(37,99,235,.08);
}
.adm-dece-date-box b {
  font-size: 13px;
  font-weight: 950;
}
.adm-dece-date-box small {
  color: #2563eb;
  font-size: 12px;
  font-weight: 950;
}
.adm-dece-status-badge {
  margin-top: 7px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}
.adm-dece-status-badge.is-cita-confirmada,
.adm-dece-status-badge.is-asignado {
  background: #dcfce7;
  color: #166534;
  border-color: #bbf7d0;
}
.adm-dece-status-badge.is-pendiente,
.adm-dece-status-badge.is-cita-reservada {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
}
.adm-dece-status-badge.is-proceso {
  background: #e0f2fe;
  color: #075985;
  border-color: #bae6fd;
}
.adm-dece-status-badge.is-finalizado {
  background: #f3e8ff;
  color: #6b21a8;
  border-color: #e9d5ff;
}
.adm-dece-status-badge.is-secretaria {
  background: #eef2ff;
  color: #3730a3;
  border-color: #c7d2fe;
  max-width: 170px;
  text-align: center;
}
.adm-dece-evaluator-cell {
  min-width: 270px;
}
.adm-dece-evaluator-select,
.adm-dece-state-select,
.adm-dece-note-textarea {
  border-radius: 14px !important;
  border: 1px solid #b8cae6 !important;
  background: linear-gradient(180deg, #fff, #f8fbff) !important;
  color: #0b2f63 !important;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(15,76,129,.06);
}
.adm-dece-evaluator-select {
  min-width: 260px !important;
  height: 42px;
}
.adm-dece-state-select {
  min-width: 150px !important;
  height: 42px;
}
.adm-dece-note-textarea {
  min-width: 210px !important;
  resize: vertical;
}
.adm-dece-empty-select {
  display: block;
  margin-top: 6px;
  color: #be123c;
  font-weight: 900;
}
@media (max-width: 1180px) {
  .adm-dece-assignment-summary { grid-template-columns: repeat(3, minmax(150px, 1fr)); }
  .adm-dece-assignment-head { flex-direction: column; }
  .adm-dece-assignment-legend { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .adm-dece-assignment-summary { grid-template-columns: 1fr; }
  .adm-dece-assignment-note { font-size: 12px; }
}

/* Fase 3.0 DECE · Dashboard Administrador - tablas visuales */
.adm-dece-dashboard-visual-cols {
  grid-template-columns: minmax(460px, 1fr) minmax(480px, 1fr);
  gap: 20px;
  align-items: start;
}
.adm-dece-dashboard-card {
  overflow: hidden;
  padding: 18px !important;
  border-radius: 24px !important;
  border: 1px solid rgba(37, 99, 235, .13) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,251,255,.96)) !important;
  box-shadow: 0 22px 48px rgba(15, 23, 42, .08) !important;
}
.adm-dece-dashboard-card-head {
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.adm-dece-dashboard-card-head h3 {
  margin: 0 !important;
  color: #082d5f !important;
  font-size: 18px;
  line-height: 1.2;
}
.adm-dece-dashboard-card-head small {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}
.adm-dece-dashboard-card-head > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border-radius: 999px;
  padding: 7px 12px;
  background: #fff7db;
  border: 1px solid #f3d772;
  color: #7B5A00;
  font-size: 12px;
  font-weight: 1000;
  white-space: nowrap;
}
.adm-dece-dashboard-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(239, 246, 255, .72);
  border: 1px solid rgba(147, 197, 253, .30);
}
.adm-dece-dashboard-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #334155;
  font-size: 11px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.adm-dece-dashboard-legend i {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(148, 163, 184, .10);
}
.adm-dece-dashboard-legend i.is-blue { background: #2563eb; }
.adm-dece-dashboard-legend i.is-green { background: #16a34a; }
.adm-dece-dashboard-legend i.is-amber { background: #f59e0b; }
.adm-dece-dashboard-legend i.is-purple { background: #7c3aed; }
.adm-dece-dashboard-table-wrap {
  max-height: 450px !important;
  border-radius: 20px;
  border: 1px solid rgba(37,99,235,.12);
  background: #f8fbff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.adm-dece-dashboard-table {
  min-width: 760px;
  border-collapse: separate !important;
  border-spacing: 0 8px !important;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  padding: 8px;
}
.adm-dece-evaluator-table { min-width: 980px; }
.adm-dece-dashboard-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: linear-gradient(135deg, #073b78 0%, #0054a6 100%) !important;
  color: #fff !important;
  border: 0 !important;
  padding: 12px 11px !important;
  font-size: 11px !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: middle;
}
.adm-dece-dashboard-table thead th:first-child { border-radius: 16px 0 0 16px; }
.adm-dece-dashboard-table thead th:last-child { border-radius: 0 16px 16px 0; }
.adm-dece-dashboard-table tbody tr {
  filter: drop-shadow(0 8px 15px rgba(15, 23, 42, .05));
}
.adm-dece-dashboard-table tbody td {
  background: #fff !important;
  border-top: 1px solid rgba(226,232,240,.90) !important;
  border-bottom: 1px solid rgba(226,232,240,.90) !important;
  color: #10254a;
  font-size: 12px !important;
  line-height: 1.35;
  padding: 12px 10px !important;
  vertical-align: middle !important;
}
.adm-dece-dashboard-table tbody td:first-child {
  border-left: 1px solid rgba(226,232,240,.90) !important;
  border-radius: 18px 0 0 18px;
}
.adm-dece-dashboard-table tbody td:last-child {
  border-right: 1px solid rgba(226,232,240,.90) !important;
  border-radius: 0 18px 18px 0;
}
.adm-dece-dashboard-table tbody tr:hover td {
  background: #f8fbff !important;
  border-color: rgba(37,99,235,.25) !important;
}
.adm-dece-dashboard-row.has-pending td:first-child {
  box-shadow: inset 5px 0 0 #f59e0b;
}
.adm-dece-dashboard-row.is-complete td:first-child {
  box-shadow: inset 5px 0 0 #16a34a;
}
.adm-dece-dashboard-row.is-empty td:first-child {
  box-shadow: inset 5px 0 0 #94a3b8;
}
.adm-dece-grade-distribution-table th:first-child,
.adm-dece-grade-distribution-table td:first-child { min-width: 250px; width: 250px; }
.adm-dece-grade-distribution-table th:nth-child(n+2):nth-child(-n+5),
.adm-dece-grade-distribution-table td:nth-child(n+2):nth-child(-n+5) { min-width: 104px; text-align: center; }
.adm-dece-grade-distribution-table th:nth-child(6),
.adm-dece-grade-distribution-table td:nth-child(6) { min-width: 135px; }
.adm-dece-grade-cell {
  display: grid;
  gap: 4px;
}
.adm-dece-grade-cell span {
  color: #082d5f;
  font-size: 13px;
  font-weight: 1000;
  line-height: 1.25;
}
.adm-dece-grade-cell small {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}
.adm-dece-count-pill {
  display: inline-grid;
  place-items: center;
  min-width: 72px;
  border-radius: 16px;
  padding: 8px 9px;
  border: 1px solid transparent;
  background: #f1f5f9;
}
.adm-dece-count-pill b {
  font-size: 18px;
  line-height: 1;
  font-weight: 1000;
}
.adm-dece-count-pill small {
  margin-top: 3px;
  font-size: 9px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.adm-dece-count-pill.is-total { background: #dbeafe; border-color: #bfdbfe; color: #1d4ed8; }
.adm-dece-count-pill.is-assigned { background: #dcfce7; border-color: #bbf7d0; color: #166534; }
.adm-dece-count-pill.is-pending { background: #fff7ed; border-color: #fed7aa; color: #c2410c; }
.adm-dece-count-pill.is-done { background: #ede9fe; border-color: #ddd6fe; color: #6d28d9; }
.adm-dece-progress-mini {
  display: grid;
  gap: 6px;
  min-width: 115px;
}
.adm-dece-progress-mini strong {
  color: #334155;
  font-size: 12px;
  font-weight: 1000;
}
.adm-dece-progress-mini span {
  display: block;
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  background: #e2e8f0;
}
.adm-dece-progress-mini i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}
.adm-dece-progress-mini.is-complete i { background: linear-gradient(90deg, #16a34a, #22c55e); }
.adm-dece-progress-mini.is-progress i { background: linear-gradient(90deg, #2563eb, #2f97b8); }
.adm-dece-progress-mini.is-empty i { background: #94a3b8; }
.adm-dece-evaluator-table th:first-child,
.adm-dece-evaluator-table td:first-child { min-width: 270px; width: 270px; }
.adm-dece-evaluator-table th:nth-child(2),
.adm-dece-evaluator-table td:nth-child(2) { min-width: 130px; width: 130px; }
.adm-dece-evaluator-table th:nth-child(3),
.adm-dece-evaluator-table td:nth-child(3) { min-width: 200px; width: 200px; }
.adm-dece-evaluator-table th:nth-child(4),
.adm-dece-evaluator-table td:nth-child(4) { min-width: 130px; width: 130px; text-align: center; }
.adm-dece-evaluator-table th:nth-child(5),
.adm-dece-evaluator-table td:nth-child(5) { min-width: 320px; width: 320px; }
.adm-dece-evaluator-cell {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr);
  gap: 10px;
  align-items: center;
}
.adm-dece-evaluator-cell b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #0b3b78, #2f97b8);
  color: #fff;
  font-size: 13px;
  font-weight: 1000;
  box-shadow: 0 10px 18px rgba(37,99,235,.18);
  text-transform: uppercase;
}
.adm-dece-evaluator-cell span {
  display: block;
  color: #082d5f;
  font-size: 13px;
  font-weight: 1000;
  line-height: 1.25;
  text-transform: uppercase;
}
.adm-dece-evaluator-cell small {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}
.adm-dece-doc-pill,
.adm-dece-email-pill,
.adm-dece-profile-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 1000;
  line-height: 1.2;
  border: 1px solid transparent;
  max-width: 100%;
}
.adm-dece-doc-pill { background: #f1f5f9; border-color: #e2e8f0; color: #334155; }
.adm-dece-email-pill { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; word-break: break-word; }
.adm-dece-profile-pill.is-ok { background: #dcfce7; border-color: #bbf7d0; color: #166534; }
.adm-dece-profile-pill.is-warning { background: #fff7ed; border-color: #fed7aa; color: #c2410c; }
.adm-dece-grade-tags-dashboard {
  max-width: 300px;
  max-height: 112px;
  overflow: auto;
  padding: 2px 2px 4px;
}
.adm-dece-grade-tags-dashboard span {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #166534;
  margin: 0 4px 5px 0;
}
.adm-dece-grade-tags-dashboard em {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #475569;
}
@media (max-width: 1180px) {
  .adm-dece-dashboard-visual-cols { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .adm-dece-dashboard-card { padding: 14px !important; }
  .adm-dece-dashboard-card-head { flex-direction: column; align-items: flex-start; }
  .adm-dece-dashboard-table { min-width: 720px; }
  .adm-dece-evaluator-table { min-width: 920px; }
}

/* Corrección Fase 3.0 DECE - modal editor de cuestionarios: botones inferiores siempre visibles */
.adm-dece-modal .adm-dece-builder-shell {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 44px);
  overflow: hidden;
}
.adm-dece-modal .adm-dece-builder-header {
  flex: 0 0 auto;
}
.adm-dece-modal .adm-dece-builder-body {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none !important;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 0;
  scrollbar-gutter: stable;
}
.adm-dece-modal .adm-dece-builder-layout {
  padding-bottom: 18px;
}
.adm-dece-modal .adm-dece-builder-preview {
  max-height: calc(100vh - 190px);
}
.adm-dece-modal .adm-dece-modal-footer-actions {
  position: sticky;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  margin: 0;
  padding: 16px 18px;
  min-height: 72px;
  align-items: center;
  background: rgba(255,255,255,.98);
  border-top: 1px solid rgba(203,213,225,.95);
  box-shadow: 0 -14px 34px rgba(15,23,42,.12);
  backdrop-filter: blur(10px);
}
.adm-dece-modal .adm-dece-modal-footer-actions .adm-btn {
  min-height: 46px;
}
.adm-dece-modal .adm-dece-sticky-actions {
  position: static !important;
  bottom: auto !important;
}
@media (max-width: 760px) {
  .adm-dece-modal .adm-dece-builder-shell {
    max-height: calc(100vh - 20px);
  }
  .adm-dece-modal .adm-dece-builder-body {
    max-height: none !important;
  }
  .adm-dece-modal .adm-dece-builder-preview {
    max-height: none;
  }
  .adm-dece-modal .adm-dece-modal-footer-actions {
    min-height: auto;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  }
}

/* Fase 3.0.1 - Agenda oficial configurada por DECE Administrador */
.adm-dece-agenda-panel{overflow:visible;}
.adm-dece-agenda-head{align-items:flex-start;}
.adm-dece-agenda-master-pill{display:inline-flex;align-items:center;gap:8px;padding:14px 18px;border-radius:999px;background:linear-gradient(135deg,#eaf5ff,#fff7df);border:1px solid #b8d8ff;color:#053b79;font-weight:900;box-shadow:0 14px 30px rgba(0,65,130,.10);white-space:nowrap;}
.adm-dece-agenda-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:16px 0 18px;}
.adm-dece-agenda-summary article{display:flex;align-items:center;gap:12px;padding:16px;border-radius:22px;border:1px solid #d8e8ff;background:#fff;box-shadow:0 15px 32px rgba(0,55,120,.08);}
.adm-dece-agenda-summary article span{width:44px;height:44px;border-radius:16px;display:grid;place-items:center;font-size:22px;background:#edf6ff;}
.adm-dece-agenda-summary article small{display:block;text-transform:uppercase;letter-spacing:.04em;font-weight:900;color:#59708f;font-size:11px;}
.adm-dece-agenda-summary article strong{display:block;font-size:24px;color:#07366e;line-height:1;}
.adm-dece-agenda-summary article.is-active span{background:#dcfce7;}
.adm-dece-agenda-summary article.is-inactive span{background:#f1f5f9;}
.adm-dece-agenda-summary article.is-reserved span{background:#fef3c7;}
.adm-dece-agenda-summary article.is-confirmed span{background:#dbeafe;}
.adm-dece-agenda-info{margin-bottom:18px;}
.adm-dece-agenda-layout{display:grid;grid-template-columns:minmax(330px,420px) minmax(0,1fr);gap:18px;align-items:start;}
.adm-dece-agenda-form-card,.adm-dece-agenda-table-card{border:1px solid #d7e8ff;border-radius:24px;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:0 18px 42px rgba(0,45,100,.08);padding:18px;}
.adm-dece-agenda-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.adm-dece-agenda-form-grid label,.adm-dece-agenda-form-card .adm-field-full{display:flex;flex-direction:column;gap:7px;font-weight:800;color:#18345d;font-size:12px;}
.adm-dece-agenda-form-grid input,.adm-dece-agenda-form-grid select,.adm-dece-agenda-form-card textarea{width:100%;border:1px solid #bdd0e8;border-radius:14px;padding:11px 12px;background:#fff;color:#052b5f;font-weight:700;outline:none;transition:border-color .2s,box-shadow .2s;}
.adm-dece-agenda-form-grid input:focus,.adm-dece-agenda-form-grid select:focus,.adm-dece-agenda-form-card textarea:focus{border-color:#0f6fb5;box-shadow:0 0 0 4px rgba(15,111,181,.12);}
.adm-dece-agenda-form-card .adm-field-full{margin-top:12px;}
.adm-dece-agenda-days{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:14px 0;padding:13px;border-radius:18px;background:#eef7ff;border:1px solid #c7dfff;}
.adm-dece-agenda-days strong{margin-right:6px;color:#053b79;}
.adm-dece-agenda-days label{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;background:#fff;border:1px solid #c9d8ea;color:#17375f;font-weight:900;cursor:pointer;}
.adm-dece-agenda-days input{accent-color:#0f6fb5;}
.adm-dece-agenda-table-wrap{max-height:620px;overflow:auto;border-radius:22px;border:1px solid #d7e8ff;}
.adm-dece-agenda-table{min-width:1040px;}
.adm-dece-agenda-table thead th{background:#074a91;color:#fff;letter-spacing:.04em;}
.adm-dece-agenda-row{background:#fff;}
.adm-dece-agenda-row.is-inactive{background:#f8fafc;color:#64748b;}
.adm-dece-agenda-row.is-active td:first-child{box-shadow:inset 5px 0 0 #22c55e;}
.adm-dece-agenda-row.is-inactive td:first-child{box-shadow:inset 5px 0 0 #94a3b8;}
.adm-dece-agenda-actions{min-width:150px;}
.adm-chip.adm-dece-agenda-grade{display:inline-flex;align-items:center;padding:8px 11px;border-radius:999px;background:#eaf5ff;color:#06437c;border:1px solid #bddbff;font-weight:900;}
.adm-dece-date-range{display:inline-flex;padding:8px 10px;border-radius:12px;background:#fff7e6;color:#805100;font-weight:900;border:1px solid #f5d48a;}
.adm-dece-hour-pill{display:inline-flex;padding:8px 10px;border-radius:12px;background:#eef2ff;color:#273c91;font-weight:900;border:1px solid #c7d2fe;}
.adm-dece-days-pills{display:flex;flex-wrap:wrap;gap:6px;max-width:180px;}
.adm-dece-days-pills span{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;background:#ecfdf5;border:1px solid #bbf7d0;color:#047857;font-weight:900;font-size:11px;}
.adm-btn-danger-soft{background:#fff1f2!important;border-color:#fecdd3!important;color:#be123c!important;}
.adm-btn-danger-soft:hover{background:#ffe4e6!important;}
@media (max-width:1100px){.adm-dece-agenda-layout{grid-template-columns:1fr}.adm-dece-agenda-summary{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:720px){.adm-dece-agenda-summary{grid-template-columns:1fr}.adm-dece-agenda-form-grid{grid-template-columns:1fr}.adm-dece-agenda-master-pill{width:100%;justify-content:center}.adm-dece-agenda-head{gap:12px;}}

/* Fase 3.0 - Agenda oficial DECE: vista limpia + modal */
.adm-dece-agenda-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;}
.adm-dece-agenda-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;min-width:260px;}
.adm-dece-agenda-new-btn{box-shadow:0 14px 30px rgba(0,84,166,.18);}
.adm-dece-agenda-command-center{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0 18px;}
.adm-dece-agenda-command-center article{display:flex;gap:12px;align-items:flex-start;padding:16px;border-radius:22px;background:linear-gradient(135deg,#ffffff,#f4f9ff 72%,#fff9df);border:1px solid rgba(161,199,239,.78);box-shadow:0 14px 35px rgba(0,55,120,.07);}
.adm-dece-agenda-command-center article>span{width:42px;height:42px;min-width:42px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,#e8f4ff,#fff4bf);font-size:20px;box-shadow:inset 0 0 0 1px rgba(0,84,166,.08);}
.adm-dece-agenda-command-center strong{display:block;color:#07366e;font-weight:900;font-size:14px;margin-bottom:4px;}
.adm-dece-agenda-command-center small{display:block;color:#55708f;font-weight:700;line-height:1.35;}
.adm-dece-agenda-table-card-full{padding:18px;border-radius:28px;background:linear-gradient(180deg,#ffffff,#f8fbff);border:1px solid rgba(178,211,244,.95);box-shadow:0 24px 55px rgba(0,45,100,.10);}
.adm-dece-agenda-table-titlebar{padding:10px 8px 16px;border-bottom:1px solid rgba(189,213,239,.65);margin-bottom:14px;}
.adm-dece-agenda-table-titlebar h3{display:flex;align-items:center;gap:8px;font-size:20px;color:#072f63;margin:0 0 4px;}
.adm-dece-agenda-table-titlebar h3:before{content:'📋';display:inline-grid;place-items:center;width:34px;height:34px;border-radius:13px;background:#eaf5ff;}
.adm-dece-agenda-table-wrap-clean{max-height:none;border-radius:24px;border:1px solid #d5e8ff;background:#fff;overflow:auto;box-shadow:inset 0 1px 0 rgba(255,255,255,.7);}
.adm-dece-agenda-table-clean{min-width:1180px;border-collapse:separate;border-spacing:0 10px;background:linear-gradient(180deg,#f8fbff,#fff);padding:10px;}
.adm-dece-agenda-table-clean thead th{position:sticky;top:0;z-index:2;background:linear-gradient(135deg,#063d7c,#0b67aa);color:#fff;border:0;text-transform:uppercase;font-size:11px;letter-spacing:.07em;padding:15px 12px;box-shadow:0 12px 24px rgba(3,54,109,.14);}
.adm-dece-agenda-table-clean thead th:first-child{border-radius:18px 0 0 18px;}
.adm-dece-agenda-table-clean thead th:last-child{border-radius:0 18px 18px 0;}
.adm-dece-agenda-table-clean tbody tr{background:#fff;box-shadow:0 10px 28px rgba(15,60,110,.07);}
.adm-dece-agenda-table-clean tbody td{border-top:1px solid #e1efff;border-bottom:1px solid #e1efff;padding:16px 12px;vertical-align:middle;}
.adm-dece-agenda-table-clean tbody td:first-child{border-left:1px solid #e1efff;border-radius:18px 0 0 18px;box-shadow:inset 5px 0 0 #22c55e;}
.adm-dece-agenda-table-clean tbody td:last-child{border-right:1px solid #e1efff;border-radius:0 18px 18px 0;}
.adm-dece-agenda-table-clean .adm-dece-agenda-row.is-inactive td:first-child{box-shadow:inset 5px 0 0 #94a3b8;}
.adm-dece-agenda-table-clean .adm-dece-agenda-row.is-inactive{filter:saturate(.82);}
.adm-dece-agenda-process-cell{display:flex;align-items:flex-start;gap:12px;min-width:260px;}
.adm-dece-agenda-icon{width:42px;height:42px;min-width:42px;border-radius:16px;display:grid;place-items:center;background:#dcfce7;border:1px solid #bbf7d0;}
.adm-dece-agenda-icon.is-inactive{background:#f1f5f9;border-color:#d9e2ef;}
.adm-dece-agenda-process-cell strong{display:block;color:#052e63;font-weight:950;font-size:14px;line-height:1.25;text-transform:uppercase;}
.adm-dece-agenda-process-cell small{display:block;color:#607895;font-weight:700;line-height:1.35;margin-top:4px;max-width:300px;}
.adm-dece-date-range{display:inline-flex;flex-direction:column;align-items:center;gap:2px;min-width:105px;padding:10px 12px;border-radius:18px;background:linear-gradient(180deg,#fff8df,#fff);border:1px solid #ffe29a;color:#784a00;font-weight:900;}
.adm-dece-date-range i{font-style:normal;font-size:10px;text-transform:uppercase;color:#b7791f;letter-spacing:.08em;}
.adm-dece-hour-pill{display:inline-flex;align-items:center;justify-content:center;padding:10px 13px;border-radius:999px;background:#eef6ff;border:1px solid #bbdcff;color:#063c78;font-weight:950;white-space:nowrap;}
.adm-dece-agenda-subnote{display:block;margin-top:7px;color:#657c99;font-weight:800;}
.adm-dece-days-pills-clean{display:flex;flex-wrap:wrap;gap:7px;max-width:210px;}
.adm-dece-days-pills-clean span{display:inline-flex;align-items:center;justify-content:center;padding:7px 9px;border-radius:999px;background:#dcfce7;color:#166534;border:1px solid #bbf7d0;font-size:11px;font-weight:950;}
.adm-dece-agenda-counts{display:flex;flex-direction:column;gap:7px;min-width:94px;}
.adm-dece-update-pill{display:inline-flex;align-items:center;justify-content:center;padding:9px 11px;border-radius:14px;background:#f1f5f9;color:#334155;border:1px solid #e2e8f0;font-weight:800;font-size:12px;}
.adm-dece-agenda-actions{display:flex;flex-direction:column;gap:8px;min-width:126px;}
.adm-dece-agenda-empty{padding:26px!important;text-align:center;}
.adm-dece-agenda-empty strong{display:block;color:#06366f;font-size:16px;margin-bottom:6px;}
.adm-dece-agenda-empty span{display:block;color:#64748b;margin-bottom:12px;}
.adm-dece-agenda-modal-dialog{width:min(980px,96vw);border-radius:30px;overflow:hidden;}
.adm-dece-agenda-modal-header{background:linear-gradient(135deg,#063d7c,#1976b9 58%,#46a6b8);color:#fff;border-bottom:0;}
.adm-dece-agenda-modal-header .adm-section-kicker{background:rgba(255,255,255,.18);color:#fff;border-color:rgba(255,255,255,.24);}
.adm-dece-agenda-modal-header h3,.adm-dece-agenda-modal-header p{color:#fff;}
.adm-dece-modal-title-flex{display:flex;align-items:center;gap:14px;}
.adm-dece-modal-title-icon{width:54px;height:54px;min-width:54px;border-radius:18px;display:grid;place-items:center;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.24);font-size:24px;}
.adm-dece-agenda-modal-header .adm-dece-modal-close{background:rgba(255,255,255,.16);color:#fff;border:1px solid rgba(255,255,255,.28);box-shadow:none;}
.adm-dece-agenda-modal-body{padding:0;background:#f8fbff;max-height:calc(92vh - 96px);}
.adm-dece-agenda-form-modal{border:0;border-radius:0;background:transparent;box-shadow:none;padding:0;}
.adm-dece-agenda-modal-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;padding:20px;}
.adm-dece-agenda-form-section{background:#fff;border:1px solid #d9eaff;border-radius:24px;padding:18px;box-shadow:0 16px 36px rgba(0,50,110,.07);}
.adm-dece-agenda-form-section.is-main,.adm-dece-agenda-form-section.is-days{grid-column:1/-1;}
.adm-dece-agenda-form-section-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:14px;}
.adm-dece-agenda-form-section-head>span{width:34px;height:34px;min-width:34px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,#074a91,#2c9ab7);color:#fff;font-weight:950;box-shadow:0 10px 20px rgba(0,84,166,.18);}
.adm-dece-agenda-form-section-head strong{display:block;color:#07366e;font-size:15px;font-weight:950;}
.adm-dece-agenda-form-section-head small{display:block;color:#607895;font-weight:700;margin-top:2px;}
.adm-dece-agenda-form-modal .adm-dece-agenda-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.adm-dece-agenda-form-modal .adm-dece-agenda-form-grid label,.adm-dece-agenda-form-modal .adm-field-full{display:flex;flex-direction:column;gap:7px;color:#18345d;font-weight:900;font-size:12px;}
.adm-dece-agenda-form-modal input,.adm-dece-agenda-form-modal select,.adm-dece-agenda-form-modal textarea{width:100%;border:1px solid #bdd0e8;border-radius:14px;padding:12px;background:#fff;color:#052b5f;font-weight:800;outline:none;transition:border-color .2s,box-shadow .2s,transform .2s;}
.adm-dece-agenda-form-modal input:focus,.adm-dece-agenda-form-modal select:focus,.adm-dece-agenda-form-modal textarea:focus{border-color:#0f6fb5;box-shadow:0 0 0 4px rgba(15,111,181,.12);}
.adm-dece-agenda-form-modal .adm-field-full{margin-top:12px;}
.adm-dece-agenda-form-modal .adm-dece-agenda-days{margin:0;padding:14px;border-radius:20px;background:linear-gradient(135deg,#eef7ff,#f8fffb);}
.adm-dece-agenda-form-modal .adm-dece-agenda-days label{min-width:82px;justify-content:center;}
.adm-dece-agenda-modal-actions{bottom:0;margin:0;padding:16px 20px;background:rgba(255,255,255,.96);border-top:1px solid #d9eaff;}
.adm-dece-agenda-modal-actions .adm-btn{min-width:160px;}
@media (max-width:1100px){.adm-dece-agenda-command-center{grid-template-columns:1fr}.adm-dece-agenda-head{flex-direction:column}.adm-dece-agenda-head-actions{width:100%;justify-content:flex-start}.adm-dece-agenda-modal-grid{grid-template-columns:1fr}.adm-dece-agenda-form-section{grid-column:1/-1}}
@media (max-width:720px){.adm-dece-agenda-head-actions .adm-btn,.adm-dece-agenda-head-actions .adm-dece-agenda-master-pill{width:100%;justify-content:center}.adm-dece-agenda-table-titlebar{align-items:stretch}.adm-dece-agenda-table-titlebar .adm-btn{width:100%}.adm-dece-agenda-form-modal .adm-dece-agenda-form-grid{grid-template-columns:1fr}.adm-dece-agenda-modal-actions{flex-direction:column}.adm-dece-agenda-modal-actions .adm-btn{width:100%;min-width:0}.adm-dece-modal-title-flex{align-items:flex-start}.adm-dece-modal-title-icon{width:46px;height:46px;min-width:46px}}

/* ============================================================
   Ajuste Fase 3.0 - Agenda oficial DECE
   Tabla dinámica más legible, sin bloques informativos redundantes
   y modal con botones inferiores visibles.
   ============================================================ */
.adm-dece-agenda-table-card-full{
  margin-top:18px;
}
.adm-dece-agenda-table-wrap-clean{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  border-radius:24px!important;
  padding-bottom:8px;
}
.adm-admin-workspace-page .adm-dece-agenda-table-clean,
.adm-dece-agenda-table-clean{
  width:1480px!important;
  min-width:1480px!important;
  max-width:none!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0 12px!important;
  padding:10px!important;
}
.adm-dece-agenda-table-clean col.adm-dece-col-actions{width:150px;}
.adm-dece-agenda-table-clean col.adm-dece-col-proceso{width:315px;}
.adm-dece-agenda-table-clean col.adm-dece-col-grado{width:210px;}
.adm-dece-agenda-table-clean col.adm-dece-col-fechas{width:165px;}
.adm-dece-agenda-table-clean col.adm-dece-col-horario{width:180px;}
.adm-dece-agenda-table-clean col.adm-dece-col-dias{width:170px;}
.adm-dece-agenda-table-clean col.adm-dece-col-citas{width:170px;}
.adm-dece-agenda-table-clean col.adm-dece-col-estado{width:115px;}
.adm-dece-agenda-table-clean col.adm-dece-col-actualizacion{width:135px;}
.adm-dece-agenda-table-clean thead th{
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  line-height:1.18!important;
  padding:18px 14px!important;
  vertical-align:middle!important;
}
.adm-dece-agenda-table-clean tbody td{
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  line-height:1.28!important;
  padding:18px 14px!important;
  vertical-align:middle!important;
}
.adm-dece-agenda-table-clean tbody tr{
  transition:transform .16s ease, box-shadow .16s ease;
}
.adm-dece-agenda-table-clean tbody tr:hover{
  transform:translateY(-1px);
  box-shadow:0 16px 36px rgba(0,65,130,.12);
}
.adm-dece-agenda-actions{
  min-width:0!important;
  width:100%;
  gap:10px!important;
  align-items:stretch;
}
.adm-dece-agenda-actions .adm-btn{
  width:100%;
  min-height:42px;
  box-shadow:0 10px 22px rgba(0,65,130,.08);
}
.adm-dece-agenda-process-cell{
  min-width:0!important;
  width:100%;
  align-items:center;
}
.adm-dece-agenda-process-cell strong{
  font-size:15px!important;
  letter-spacing:.01em;
}
.adm-dece-agenda-process-cell small{
  max-width:230px!important;
  display:-webkit-box!important;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.adm-chip.adm-dece-agenda-grade{
  width:100%;
  max-width:100%!important;
  min-height:46px;
  justify-content:center;
  text-align:center;
  line-height:1.25;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}
.adm-dece-date-range{
  width:100%;
  min-width:0!important;
}
.adm-dece-hour-pill{
  width:100%;
  white-space:nowrap!important;
}
.adm-dece-agenda-subnote{
  text-align:center;
  line-height:1.25;
}
.adm-dece-days-pills-clean{
  max-width:none!important;
  width:100%;
  justify-content:center;
}
.adm-dece-days-pills-clean span{
  min-width:45px;
  padding:7px 8px!important;
}
.adm-dece-agenda-counts{
  min-width:0!important;
  width:100%;
  display:grid!important;
  grid-template-columns:1fr 1fr;
  gap:8px!important;
}
.adm-dece-agenda-counts .adm-dece-count-pill{
  min-width:0;
  width:100%;
  min-height:58px;
}
.adm-dece-update-pill{
  width:100%;
  white-space:normal!important;
  line-height:1.25;
  text-align:center;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}
.adm-dece-status-badge{
  width:100%;
  justify-content:center;
}
.adm-dece-agenda-modal-dialog{
  max-height:94vh!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
.adm-dece-agenda-modal-header{
  flex:0 0 auto;
}
.adm-dece-agenda-modal-body{
  flex:1 1 auto!important;
  max-height:none!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:0!important;
  scroll-padding-bottom:110px;
}
.adm-dece-agenda-form-modal{
  min-height:100%;
  display:flex!important;
  flex-direction:column!important;
}
.adm-dece-agenda-modal-grid{
  flex:1 1 auto;
  padding-bottom:24px!important;
}
.adm-dece-agenda-modal-actions{
  position:sticky!important;
  bottom:0!important;
  z-index:20;
  display:flex!important;
  justify-content:flex-end!important;
  gap:12px!important;
  box-shadow:0 -16px 35px rgba(7,47,99,.10);
  padding:16px 20px calc(16px + env(safe-area-inset-bottom,0px))!important;
}
.adm-dece-agenda-modal-actions .adm-btn{
  min-height:46px;
}
@media (max-width:720px){
  .adm-dece-agenda-table-clean{
    width:1340px!important;
    min-width:1340px!important;
  }
  .adm-dece-agenda-modal-actions{
    position:sticky!important;
    flex-direction:column!important;
  }
}

/* Fase 3.0 · Ponderaciones integrales por curso/grado */
.adm-dece-ponder-integral-panel{overflow:visible;}
.adm-dece-ponder-integral-head{align-items:flex-start;gap:18px;}
.adm-dece-ponder-create-card{display:grid;grid-template-columns:minmax(260px,1fr) minmax(240px,360px) auto;gap:14px;align-items:center;margin:14px 0 18px;padding:16px;border:1px solid rgba(15,84,154,.16);border-radius:24px;background:linear-gradient(135deg,#f8fbff,#fffaf0);box-shadow:0 16px 35px rgba(8,54,110,.08);}
.adm-dece-ponder-create-card strong{display:block;color:#08366e;font-size:16px;margin-bottom:3px;}
.adm-dece-ponder-create-card span{display:block;color:#49627f;font-size:13px;line-height:1.35;}
.adm-dece-ponder-create-card select{width:100%;border:1px solid #bfd2ea;border-radius:16px;padding:12px 14px;background:#fff;color:#062d60;font-weight:700;box-shadow:inset 0 1px 0 rgba(255,255,255,.8);}
.adm-dece-ponder-integral-overview{grid-template-columns:repeat(4,minmax(150px,1fr));}
.adm-dece-ponder-configs{display:grid;gap:18px;margin-top:18px;}
.adm-dece-ponder-config-card{border:1px solid rgba(15,84,154,.16);border-radius:28px;background:linear-gradient(145deg,#ffffff 0%,#f4f9ff 100%);box-shadow:0 22px 45px rgba(8,54,110,.10);overflow:hidden;}
.adm-dece-ponder-config-card>header{display:flex;justify-content:space-between;gap:16px;padding:18px 20px;background:linear-gradient(135deg,#eef7ff,#fffdf5);border-bottom:1px solid rgba(15,84,154,.10);}
.adm-dece-ponder-config-card h3{margin:6px 0 4px;color:#062d60;font-size:20px;letter-spacing:-.02em;}
.adm-dece-ponder-config-card p{margin:0;color:#536a86;font-size:13px;line-height:1.35;}
.adm-dece-ponder-scope{display:inline-flex;align-items:center;border-radius:999px;padding:6px 11px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;}
.adm-dece-ponder-scope.is-general{background:#e9f3ff;color:#07549b;border:1px solid #bdd9fb;}
.adm-dece-ponder-scope.is-grade{background:#fff3d6;color:#8a5b00;border:1px solid #ffd582;}
.adm-dece-ponder-config-total{min-width:150px;border-radius:22px;padding:12px 16px;text-align:center;border:1px solid rgba(15,84,154,.16);background:#fff;box-shadow:0 12px 28px rgba(8,54,110,.08);}
.adm-dece-ponder-config-total small{display:block;color:#5c718d;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.07em;}
.adm-dece-ponder-config-total strong{display:block;font-size:24px;line-height:1.1;margin:4px 0;color:#073c78;}
.adm-dece-ponder-config-total span{display:inline-flex;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:900;}
.adm-dece-ponder-config-total.is-ok span{background:#dff8e8;color:#087234;}
.adm-dece-ponder-config-total.is-pending span{background:#fff2c7;color:#855800;}
.adm-dece-ponder-config-total.is-over span{background:#ffe1e6;color:#b51234;}
.adm-dece-ponder-config-card.is-ok{border-color:rgba(16,185,129,.28);}
.adm-dece-ponder-config-card.is-pending{border-color:rgba(245,158,11,.35);}
.adm-dece-ponder-config-card.is-over{border-color:rgba(225,29,72,.35);}
.adm-dece-ponder-component-grid{display:grid;grid-template-columns:repeat(2,minmax(260px,1fr));gap:14px;padding:18px;}
.adm-dece-ponder-component-card{position:relative;border:1px solid rgba(15,84,154,.14);border-radius:24px;padding:16px;background:#fff;box-shadow:0 14px 30px rgba(8,54,110,.07);overflow:hidden;}
.adm-dece-ponder-component-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:6px;background:#7aa7d8;}
.adm-dece-ponder-component-card.is-dece:before{background:#7c3aed;}
.adm-dece-ponder-component-card.is-vicerrectorado:before{background:#f97316;}
.adm-dece-ponder-component-card.is-rendimiento:before{background:#0ea5e9;}
.adm-dece-ponder-component-card.is-comportamiento:before{background:#22c55e;}
.adm-dece-ponder-component-card.is-inactive{opacity:.72;background:#f8fafc;}
.adm-dece-ponder-component-head{display:flex;gap:12px;align-items:center;margin-bottom:12px;}
.adm-dece-ponder-component-head>span{width:42px;height:42px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:#eff6ff;border:1px solid #cfe2fb;font-size:20px;}
.adm-dece-ponder-component-head strong{display:block;color:#062d60;font-size:15px;line-height:1.15;text-transform:uppercase;letter-spacing:.02em;}
.adm-dece-ponder-component-head small{display:inline-flex;margin-top:6px;border-radius:999px;padding:4px 8px;background:#e9f8ef;color:#087234;font-weight:900;font-size:10px;text-transform:uppercase;letter-spacing:.06em;}
.adm-dece-ponder-component-card.is-inactive .adm-dece-ponder-component-head small{background:#eef2f7;color:#748094;}
.adm-dece-ponder-component-card label{display:block;color:#18385f;font-weight:800;font-size:12px;margin:9px 0 5px;}
.adm-dece-ponder-component-card input[type="text"],.adm-dece-ponder-component-card input[type="number"],.adm-dece-ponder-component-card select{width:100%;border:1px solid #bfd2ea;border-radius:14px;padding:10px 12px;background:#fff;color:#062d60;font-weight:700;}
.adm-dece-ponder-mini-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;align-items:end;}
.adm-dece-ponder-component-card .adm-dece-weight-input{display:flex;align-items:center;border:1px solid #bfd2ea;border-radius:14px;background:#fff;overflow:hidden;}
.adm-dece-ponder-component-card .adm-dece-weight-input input{border:0;border-radius:0;text-align:center;padding:10px 4px;}
.adm-dece-ponder-component-card .adm-dece-weight-input i{font-style:normal;font-weight:900;color:#49627f;padding-right:10px;}
.adm-dece-ponder-component-card .adm-dece-weight-bar{height:8px;border-radius:999px;background:#e8eef6;margin:12px 0;overflow:hidden;}
.adm-dece-ponder-component-card .adm-dece-weight-bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#0b4d91,#2aa0c7);}
.adm-dece-ponder-component-card footer{display:flex;justify-content:space-between;gap:10px;align-items:center;border-top:1px dashed rgba(15,84,154,.16);padding-top:10px;margin-top:10px;color:#647895;font-size:12px;}
.adm-dece-ponder-component-card footer strong{color:#0b4d91;}
@media(max-width:1100px){.adm-dece-ponder-create-card{grid-template-columns:1fr}.adm-dece-ponder-component-grid{grid-template-columns:1fr}.adm-dece-ponder-integral-overview{grid-template-columns:repeat(2,minmax(150px,1fr));}.adm-dece-ponder-config-card>header{flex-direction:column}.adm-dece-ponder-config-total{text-align:left}}
@media(max-width:640px){.adm-dece-ponder-mini-grid{grid-template-columns:1fr}.adm-dece-ponder-integral-overview{grid-template-columns:1fr}}

/* Fase 3.0 · Ponderaciones integrales: general + excepciones por curso/grado */
.adm-dece-ponder-zoned-form{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.adm-dece-ponder-summary-strip{
  margin-top:16px!important;
  margin-bottom:0!important;
}
.adm-dece-ponder-rule-card{
  margin:0!important;
}
.adm-dece-ponder-zone{
  border:1px solid rgba(15,84,154,.14);
  border-radius:30px;
  background:linear-gradient(145deg,#ffffff 0%,#f7fbff 100%);
  box-shadow:0 24px 52px rgba(8,54,110,.09);
  overflow:hidden;
}
.adm-dece-ponder-zone-general{
  border-color:rgba(37,99,235,.18);
  background:linear-gradient(145deg,#ffffff 0%,#eef7ff 100%);
}
.adm-dece-ponder-zone-specific{
  border-color:rgba(245,158,11,.25);
  background:linear-gradient(145deg,#ffffff 0%,#fffaf0 100%);
}
.adm-dece-ponder-zone-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:20px 22px;
  border-bottom:1px solid rgba(15,84,154,.11);
  background:linear-gradient(135deg,rgba(255,255,255,.95),rgba(248,250,252,.84));
}
.adm-dece-ponder-zone-head h3{
  margin:6px 0 4px;
  color:#062d60;
  font-size:22px;
  letter-spacing:-.02em;
}
.adm-dece-ponder-zone-head p{
  margin:0;
  color:#49627f;
  font-size:13px;
  line-height:1.35;
  font-weight:700;
}
.adm-dece-ponder-zone-kicker{
  display:inline-flex;
  align-items:center;
  gap:7px;
  border-radius:999px;
  padding:7px 12px;
  font-size:11px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
  border:1px solid transparent;
}
.adm-dece-ponder-zone-kicker.is-general{
  color:#07549b;
  background:#e9f3ff;
  border-color:#bdd9fb;
}
.adm-dece-ponder-zone-kicker.is-grade{
  color:#8a5b00;
  background:#fff3d6;
  border-color:#ffd582;
}
.adm-dece-ponder-general-card{
  margin:18px;
  border-radius:26px;
  box-shadow:0 18px 38px rgba(8,54,110,.08);
}
.adm-dece-ponder-specific-count{
  min-width:128px;
  border:1px solid rgba(245,158,11,.26);
  border-radius:22px;
  padding:12px 14px;
  background:#fff;
  text-align:center;
  box-shadow:0 12px 28px rgba(120,70,0,.08);
}
.adm-dece-ponder-specific-count strong{
  display:block;
  color:#8a5b00;
  font-size:25px;
  line-height:1;
}
.adm-dece-ponder-specific-count span{
  color:#64748b;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.adm-dece-ponder-specific-create-card{
  display:grid;
  grid-template-columns:minmax(260px,1fr) minmax(220px,340px) auto;
  gap:14px;
  align-items:center;
  margin:18px;
  padding:16px;
  border:1px dashed rgba(217,119,6,.36);
  border-radius:24px;
  background:linear-gradient(135deg,#fff7ed,#ffffff);
  box-shadow:0 14px 30px rgba(120,70,0,.06);
}
.adm-dece-ponder-specific-create-card strong{
  display:block;
  color:#7c4a00;
  font-size:16px;
  margin-bottom:3px;
}
.adm-dece-ponder-specific-create-card span{
  display:block;
  color:#64748b;
  font-size:13px;
  line-height:1.35;
  font-weight:700;
}
.adm-dece-ponder-specific-create-card select{
  width:100%;
  min-height:44px;
  border:1px solid #f4c678;
  border-radius:16px;
  padding:11px 14px;
  background:#fff;
  color:#062d60;
  font-weight:800;
  outline:none;
}
.adm-dece-ponder-specific-list{
  display:grid;
  gap:16px;
  padding:0 18px 18px;
}
.adm-dece-ponder-specific-card{
  border-radius:26px;
  background:#fff;
  box-shadow:0 18px 38px rgba(8,54,110,.07);
}
.adm-dece-ponder-specific-card>header{
  padding:16px 18px;
  background:linear-gradient(135deg,#fffaf0,#f8fbff);
}
.adm-dece-ponder-specific-card h3{
  font-size:18px;
}
.adm-dece-ponder-specific-components{
  display:grid;
  gap:10px;
  padding:14px;
}
.adm-dece-ponder-specific-row{
  position:relative;
  display:grid;
  grid-template-columns:minmax(190px,1.15fr) minmax(220px,1.4fr) minmax(110px,.65fr) minmax(116px,.6fr) minmax(112px,.6fr) minmax(100px,.55fr);
  gap:10px;
  align-items:center;
  padding:12px 14px 12px 18px;
  border:1px solid rgba(148,163,184,.22);
  border-radius:20px;
  background:linear-gradient(135deg,#ffffff,#f8fbff);
  overflow:hidden;
}
.adm-dece-ponder-specific-row:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:5px;
  background:#7aa7d8;
}
.adm-dece-ponder-specific-row.is-dece:before{background:#7c3aed;}
.adm-dece-ponder-specific-row.is-vicerrectorado:before{background:#f97316;}
.adm-dece-ponder-specific-row.is-rendimiento:before{background:#0ea5e9;}
.adm-dece-ponder-specific-row.is-comportamiento:before{background:#22c55e;}
.adm-dece-ponder-specific-row.is-inactive{opacity:.72;background:#f8fafc;}
.adm-dece-ponder-specific-name{
  display:flex;
  gap:10px;
  align-items:center;
}
.adm-dece-ponder-specific-name>span{
  width:38px;
  height:38px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eff6ff;
  border:1px solid #cfe2fb;
  font-size:18px;
  flex:0 0 auto;
}
.adm-dece-ponder-specific-name strong{
  display:block;
  color:#062d60;
  font-size:13px;
  line-height:1.15;
  text-transform:uppercase;
}
.adm-dece-ponder-specific-name small{
  display:inline-flex;
  margin-top:5px;
  border-radius:999px;
  padding:4px 8px;
  background:#e9f8ef;
  color:#087234;
  font-size:9px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.adm-dece-ponder-specific-row.is-inactive .adm-dece-ponder-specific-name small{
  background:#eef2f7;
  color:#748094;
}
.adm-dece-ponder-specific-row input[type="text"],
.adm-dece-ponder-specific-row input[type="number"],
.adm-dece-ponder-specific-row select{
  width:100%;
  min-height:40px;
  border:1px solid #bfd2ea;
  border-radius:14px;
  padding:9px 11px;
  background:#fff;
  color:#062d60;
  font-weight:800;
}
.adm-dece-ponder-specific-row label{
  margin:0;
  color:#18385f;
  font-size:11px;
  font-weight:950;
}
.adm-dece-ponder-specific-row time{
  display:inline-flex;
  justify-content:center;
  border-radius:999px;
  padding:8px 9px;
  background:#eff6ff;
  color:#0b4d91;
  font-size:11px;
  font-weight:900;
  text-align:center;
}
.adm-dece-ponder-specific-weight .adm-dece-weight-input{
  margin-top:5px;
}
.adm-dece-ponder-specific-weight .adm-dece-weight-bar{
  display:block;
  height:7px;
  border-radius:999px;
  background:#e8eef6;
  margin-top:7px;
  overflow:hidden;
}
.adm-dece-ponder-specific-weight .adm-dece-weight-bar i{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#0b4d91,#2aa0c7);
}
.adm-dece-ponder-specific-empty{
  margin:18px;
  padding:22px;
  border-radius:24px;
  border:1px dashed rgba(148,163,184,.42);
  background:#fff;
  text-align:center;
  color:#64748b;
}
.adm-dece-ponder-specific-empty strong{
  display:block;
  color:#0f376f;
  font-size:16px;
  margin-bottom:4px;
}
@media(max-width:1200px){
  .adm-dece-ponder-specific-row{
    grid-template-columns:1fr 1fr;
  }
  .adm-dece-ponder-specific-row time{
    justify-content:flex-start;
  }
}
@media(max-width:820px){
  .adm-dece-ponder-zone-head,
  .adm-dece-ponder-specific-card>header{
    flex-direction:column;
    align-items:flex-start;
  }
  .adm-dece-ponder-specific-create-card{
    grid-template-columns:1fr;
  }
  .adm-dece-ponder-specific-row{
    grid-template-columns:1fr;
  }
}

/* Fase 3.1 - DECE Administrador: control de rendiciones y reseteos */
.adm-dece-rendiciones-panel{overflow:visible;}
.adm-dece-rendiciones-head{align-items:flex-start;gap:18px;}
.adm-dece-rendicion-kpis{display:grid;grid-template-columns:repeat(6,minmax(130px,1fr));gap:12px;margin:16px 0 14px;}
.adm-dece-rendicion-kpis article{border:1px solid rgba(15,23,42,.08);border-radius:18px;background:linear-gradient(145deg,#fff,#f8fafc);box-shadow:0 12px 30px rgba(15,23,42,.06);padding:14px 16px;display:flex;flex-direction:column;gap:3px;position:relative;overflow:hidden;}
.adm-dece-rendicion-kpis article:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:#94a3b8;}
.adm-dece-rendicion-kpis article span{font-size:22px;line-height:1;}
.adm-dece-rendicion-kpis article small{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#64748b;font-weight:800;}
.adm-dece-rendicion-kpis article strong{font-size:26px;color:#0f172a;line-height:1.1;}
.adm-dece-rendicion-kpis article.is-total:before{background:#2563eb;}
.adm-dece-rendicion-kpis article.is-pending:before{background:#f59e0b;}
.adm-dece-rendicion-kpis article.is-progress:before{background:#06b6d4;}
.adm-dece-rendicion-kpis article.is-done:before{background:#16a34a;}
.adm-dece-rendicion-kpis article.is-reset:before{background:#dc2626;}
.adm-dece-rendicion-kpis article.is-average:before{background:#7c3aed;}
.adm-dece-rendicion-rule{display:flex;gap:12px;align-items:flex-start;background:linear-gradient(135deg,#eff6ff,#f8fafc);border:1px solid rgba(37,99,235,.14);border-radius:18px;padding:14px 16px;margin:0 0 14px;color:#334155;}
.adm-dece-rendicion-rule strong{color:#1d4ed8;min-width:145px;}
.adm-dece-rendicion-rule p{margin:0;line-height:1.45;}
.adm-dece-rendiciones-table-wrap{max-width:100%;overflow-x:auto;padding-bottom:8px;}
.adm-dece-rendiciones-table{min-width:1450px;border-collapse:separate;border-spacing:0 8px;}
.adm-dece-rendiciones-table thead th{background:#0f4c81;color:#fff;border:0;padding:12px 14px;white-space:nowrap;}
.adm-dece-rendiciones-table tbody tr{box-shadow:0 10px 22px rgba(15,23,42,.06);}
.adm-dece-rendiciones-table tbody td{background:#fff;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;padding:12px 14px;vertical-align:middle;}
.adm-dece-rendiciones-table tbody td:first-child{border-left:1px solid #e2e8f0;border-radius:14px 0 0 14px;}
.adm-dece-rendiciones-table tbody td:last-child{border-right:1px solid #e2e8f0;border-radius:0 14px 14px 0;}
.adm-dece-rendicion-row.is-done td:first-child{box-shadow:inset 5px 0 0 #16a34a;}
.adm-dece-rendicion-row.is-pending td:first-child{box-shadow:inset 5px 0 0 #f59e0b;}
.adm-dece-rendicion-row.is-progress td:first-child{box-shadow:inset 5px 0 0 #06b6d4;}
.adm-dece-rendicion-row.is-reopen td:first-child{box-shadow:inset 5px 0 0 #7c3aed;}
.adm-dece-rendicion-row.is-reset td:first-child{box-shadow:inset 5px 0 0 #dc2626;}
.adm-dece-rendicion-state,.adm-dece-modalidad-pill,.adm-dece-attempt-pill,.adm-dece-grade-pill,.adm-dece-reset-count,.adm-dece-no-reset{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;}
.adm-dece-rendicion-state.is-pending{background:#fff7ed;color:#b45309;border:1px solid #fed7aa;}
.adm-dece-rendicion-state.is-progress{background:#ecfeff;color:#0e7490;border:1px solid #a5f3fc;}
.adm-dece-rendicion-state.is-done{background:#ecfdf5;color:#15803d;border:1px solid #bbf7d0;}
.adm-dece-rendicion-state.is-reopen{background:#f5f3ff;color:#6d28d9;border:1px solid #ddd6fe;}
.adm-dece-rendicion-state.is-reset{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca;}
.adm-dece-modalidad-pill.is-prueba{background:#dbeafe;color:#1d4ed8;border:1px solid #bfdbfe;}
.adm-dece-modalidad-pill.is-entrevista{background:#fce7f3;color:#be185d;border:1px solid #fbcfe8;}
.adm-dece-attempt-pill{background:#f1f5f9;color:#334155;border:1px solid #cbd5e1;}
.adm-dece-grade-pill{background:#eff6ff;color:#1e40af;border:1px solid #bfdbfe;text-transform:none;letter-spacing:0;}
.adm-dece-reset-count{background:#f8fafc;color:#64748b;border:1px solid #cbd5e1;min-width:34px;}
.adm-dece-reset-count.has-reset{background:#fef2f2;color:#b91c1c;border-color:#fecaca;}
.adm-dece-no-reset{background:#f1f5f9;color:#94a3b8;border:1px solid #e2e8f0;text-transform:none;letter-spacing:0;}
.adm-btn-danger{background:#dc2626!important;border-color:#dc2626!important;color:#fff!important;box-shadow:0 10px 22px rgba(220,38,38,.22)!important;}
.adm-btn-danger:hover{background:#b91c1c!important;border-color:#b91c1c!important;}
.adm-dece-reset-history-card{margin-top:18px;border:1px solid #e2e8f0;border-radius:20px;background:#fff;padding:16px;box-shadow:0 12px 30px rgba(15,23,42,.05);}
.adm-dece-reset-history-table{min-width:1100px;}
.adm-dece-reset-dialog .adm-dece-modal-dialog{max-width:860px;}
.adm-dece-reset-summary{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:10px;margin-bottom:14px;}
.adm-dece-reset-summary article{border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc;padding:11px 12px;}
.adm-dece-reset-summary small{display:block;color:#64748b;font-weight:800;text-transform:uppercase;font-size:10px;letter-spacing:.05em;margin-bottom:4px;}
.adm-dece-reset-summary strong{display:block;color:#0f172a;font-size:13px;line-height:1.25;}
.adm-dece-reset-form textarea{resize:vertical;min-height:110px;}
@media(max-width:1200px){.adm-dece-rendicion-kpis{grid-template-columns:repeat(3,1fr);} .adm-dece-reset-summary{grid-template-columns:repeat(2,1fr);}}
@media(max-width:720px){.adm-dece-rendicion-kpis{grid-template-columns:1fr;} .adm-dece-rendicion-rule{display:block;} .adm-dece-rendicion-rule strong{display:block;margin-bottom:6px;} .adm-dece-reset-summary{grid-template-columns:1fr;}}
.adm-dece-modal-dialog.adm-dece-reset-dialog{max-width:860px;}

/* Fase 3.2 - DECE Evaluador: asistencia, aplicación y resultados */
.adm-dece-evaluador-panel{overflow:visible;}
.adm-dece-evaluador-kpi-grid article{min-height:118px;}
.adm-dece-evaluador-table-wrap{
  position:relative;
  max-width:100%;
  max-height:72vh;
  overflow:auto!important;
  padding:0 0 12px;
  border:1px solid #d7e7f7;
  border-radius:24px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92),0 18px 42px rgba(6,46,103,.09);
}
.adm-dece-evaluador-table{
  min-width:2030px!important;
  width:2030px!important;
  max-width:none!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0 12px!important;
  margin:0!important;
}
.adm-dece-evaluador-table thead th{
  position:sticky!important;
  top:0;
  z-index:8;
  height:58px!important;
  min-height:0!important;
  padding:11px 14px!important;
  background:linear-gradient(135deg,#062E67,#0054A6)!important;
  color:#fff!important;
  border:0!important;
  text-align:left;
  vertical-align:middle!important;
  white-space:normal!important;
  line-height:1.15!important;
  letter-spacing:.42px;
  font-size:11px!important;
  font-weight:1000!important;
  text-transform:uppercase;
  box-shadow:0 10px 22px rgba(0,34,82,.14);
}
.adm-dece-evaluador-table th:first-child,
.adm-dece-evaluador-table td:first-child{
  position:sticky!important;
  left:0;
  z-index:7;
  width:430px!important;
  min-width:430px!important;
  max-width:430px!important;
  box-shadow:14px 0 28px rgba(0,39,88,.10);
}
.adm-dece-evaluador-table thead th:first-child{z-index:12;border-top-left-radius:18px;}
.adm-dece-evaluador-table thead th:last-child{border-top-right-radius:18px;}
.adm-dece-evaluador-table th:nth-child(2),.adm-dece-evaluador-table td:nth-child(2){width:145px!important;min-width:145px!important;max-width:145px!important;}
.adm-dece-evaluador-table th:nth-child(3),.adm-dece-evaluador-table td:nth-child(3){width:210px!important;min-width:210px!important;max-width:210px!important;}
.adm-dece-evaluador-table th:nth-child(4),.adm-dece-evaluador-table td:nth-child(4){width:230px!important;min-width:230px!important;max-width:230px!important;}
.adm-dece-evaluador-table th:nth-child(5),.adm-dece-evaluador-table td:nth-child(5){width:190px!important;min-width:190px!important;max-width:190px!important;}
.adm-dece-evaluador-table th:nth-child(6),.adm-dece-evaluador-table td:nth-child(6){width:120px!important;min-width:120px!important;max-width:120px!important;}
.adm-dece-evaluador-table th:nth-child(7),.adm-dece-evaluador-table td:nth-child(7){width:110px!important;min-width:110px!important;max-width:110px!important;}
.adm-dece-evaluador-table th:nth-child(8),.adm-dece-evaluador-table td:nth-child(8){width:145px!important;min-width:145px!important;max-width:145px!important;}
.adm-dece-evaluador-table th:nth-child(9),.adm-dece-evaluador-table td:nth-child(9){width:155px!important;min-width:155px!important;max-width:155px!important;}
.adm-dece-evaluador-table th:nth-child(10),.adm-dece-evaluador-table td:nth-child(10){width:125px!important;min-width:125px!important;max-width:125px!important;text-align:center;}
.adm-dece-evaluador-table th:nth-child(11),.adm-dece-evaluador-table td:nth-child(11){width:145px!important;min-width:145px!important;max-width:145px!important;text-align:center;}
.adm-dece-evaluador-table th:nth-child(12),.adm-dece-evaluador-table td:nth-child(12){width:170px!important;min-width:170px!important;max-width:170px!important;}
.adm-dece-evaluador-table tbody tr{transition:transform .18s ease,filter .18s ease;}
.adm-dece-evaluador-table tbody tr:hover{transform:translateY(-1px);}
.adm-dece-evaluador-table tbody td{
  height:auto!important;
  min-height:0!important;
  padding:14px!important;
  vertical-align:top!important;
  background:#fff!important;
  color:#052b5c!important;
  border-top:1px solid #dbeafe!important;
  border-bottom:1px solid #dbeafe!important;
  font-size:12px!important;
  line-height:1.35!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
}
.adm-dece-evaluador-table tbody td:first-child{
  background:linear-gradient(180deg,#f8fbff 0%,#eef7ff 100%)!important;
  border-left:1px solid #dbeafe!important;
  border-radius:18px 0 0 18px!important;
}
.adm-dece-evaluador-table tbody td:last-child{
  border-right:1px solid #dbeafe!important;
  border-radius:0 18px 18px 0!important;
}
.adm-dece-actions-cell{padding:10px!important;}
.adm-dece-evaluador-actions{display:block!important;text-align:left!important;}
.adm-dece-action-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:9px;}
.adm-dece-action-primary{min-width:0!important;width:100%;justify-content:center!important;gap:6px;box-shadow:0 12px 26px rgba(0,84,166,.16)!important;}
.adm-dece-action-primary span{font-size:13px;line-height:1;}
.adm-dece-action-section{
  border:1px solid #d7e7f7;
  border-radius:16px;
  background:rgba(255,255,255,.88);
  padding:10px;
  margin-top:9px;
  box-shadow:0 10px 24px rgba(0,84,166,.06);
}
.adm-dece-action-section label,
.adm-dece-eval-list-head strong{
  display:block;
  margin:0 0 7px;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.07em;
  font-weight:1000;
  color:#0a3f82;
}
.adm-dece-action-form{display:grid;gap:8px;align-items:start;}
.adm-dece-action-form-asistencia{grid-template-columns:108px 1fr;}
.adm-dece-action-form-asistencia button{grid-column:1 / -1;}
.adm-dece-action-form-observacion{grid-template-columns:1fr 118px;}
.adm-dece-asistencia-box select,
.adm-dece-asistencia-box textarea,
.adm-dece-observacion-box textarea,
.adm-dece-pregunta-item select,
.adm-dece-pregunta-item textarea,
.adm-eval-access-form input,
.adm-eval-access-form select{
  width:100%;
  border:1px solid #bdd7f2;
  border-radius:12px;
  padding:9px 10px;
  background:#fff;
  color:#062E67;
  outline:none;
  font-size:12px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
}
.adm-dece-asistencia-box textarea,
.adm-dece-observacion-box textarea,
.adm-dece-pregunta-item textarea{resize:vertical;min-height:48px;max-height:90px;}
.adm-dece-eval-list-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;}
.adm-dece-eval-list-head strong{margin:0;}
.adm-dece-eval-list-head span{font-size:10px;font-weight:900;color:#64748b;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:999px;padding:5px 8px;white-space:nowrap;}
.adm-dece-eval-pill-list{display:flex;flex-wrap:wrap;gap:7px;}
.adm-dece-eval-pill{
  flex:1 1 170px;
  min-width:150px!important;
  max-width:100%;
  border-radius:14px!important;
  padding:9px 10px!important;
  white-space:normal!important;
  text-align:left!important;
  justify-content:flex-start!important;
  align-items:flex-start!important;
  display:flex!important;
  flex-direction:column;
  gap:2px;
  line-height:1.2!important;
}
.adm-dece-eval-pill span{font-weight:1000;font-size:11px;color:inherit;}
.adm-dece-eval-pill small{font-size:10px;font-weight:900;opacity:.8;color:inherit;}
.adm-dece-eval-pill.is-pending{background:#fff7ed!important;border-color:#fed7aa!important;color:#9a3412!important;}
.adm-dece-eval-pill.is-done{background:#ecfdf5!important;border-color:#bbf7d0!important;color:#047857!important;}
.adm-dece-eval-pill:disabled{opacity:.58;filter:grayscale(.25);cursor:not-allowed;}
.adm-dece-eval-empty{display:block;width:100%;padding:10px;border:1px dashed #cbd5e1;border-radius:12px;background:#f8fafc;color:#64748b;font-weight:800;font-size:11px;}
.adm-code-pill,
.adm-state-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  max-width:100%;
  border-radius:999px;
  border:1px solid #cfe4fb;
  background:linear-gradient(135deg,#eef7ff,#ddecff);
  color:#0054A6;
  padding:7px 10px;
  font-weight:1000;
  font-size:11px;
  line-height:1.15;
  text-align:center;
}
.adm-code-pill{letter-spacing:.02em;box-shadow:0 10px 22px rgba(0,84,166,.09);}
.adm-state-chip{min-width:98px;text-transform:uppercase;}
.adm-state-chip.is-ok{background:#ecfdf5;border-color:#bbf7d0;color:#047857;}
.adm-state-chip.is-danger{background:#fef2f2;border-color:#fecaca;color:#b91c1c;}
.adm-state-chip.is-progress{background:#fff7ed;border-color:#fed7aa;color:#c2410c;}
.adm-state-chip.is-pending{background:#f8fafc;border-color:#cbd5e1;color:#475569;}
.adm-state-chip.is-neutral{background:#eef2ff;border-color:#c7d2fe;color:#3730a3;}
.adm-dece-person-cell strong{display:block;color:#062E67;font-size:13px;font-weight:1000;line-height:1.25;margin-bottom:3px;}
.adm-dece-person-cell small,
.adm-cell-note{display:block;color:#64748b;font-size:10.5px;font-weight:700;line-height:1.28;margin-top:3px;}
.adm-dece-grade-cell{font-weight:900;color:#062E67;}
.adm-dece-date-cell span{display:inline-flex;align-items:center;justify-content:center;min-width:78px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;padding:7px 8px;font-weight:900;color:#334155;}
.adm-mini-counter{display:inline-flex;min-width:72px;flex-direction:column;align-items:center;justify-content:center;border:1px solid #d7e7f7;border-radius:14px;background:linear-gradient(180deg,#fff,#f3f8ff);padding:8px 10px;box-shadow:0 8px 18px rgba(0,84,166,.06);}
.adm-mini-counter strong{display:block;font-size:20px;line-height:1;color:#0054A6;font-weight:1000;}
.adm-mini-counter span{margin-top:3px;color:#64748b;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;}
@media(max-width:1100px){
  .adm-dece-evaluador-table{min-width:1900px!important;width:1900px!important;}
  .adm-dece-evaluador-table th:first-child,.adm-dece-evaluador-table td:first-child{width:390px!important;min-width:390px!important;max-width:390px!important;}
  .adm-dece-action-form-asistencia,.adm-dece-action-form-observacion{grid-template-columns:1fr;}
}
.adm-inline-alert[hidden]{display:none!important;}
.adm-dece-evaluador-modal[hidden],.adm-modal[hidden]{display:none!important;}
.adm-dece-evaluador-modal .adm-form-actions .adm-btn[hidden]{display:none!important;}
.adm-dece-evaluador-modal{position:fixed;inset:0;z-index:2000;display:flex;align-items:center;justify-content:center;padding:22px;}
.adm-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58);backdrop-filter:blur(4px);}
.adm-modal-card{position:relative;background:#fff;border-radius:24px;box-shadow:0 28px 90px rgba(15,23,42,.28);max-width:760px;width:min(96vw,760px);max-height:92vh;overflow:auto;padding:22px;}
.adm-modal-card-wide{max-width:980px;width:min(96vw,980px);}
.adm-modal-close{position:absolute;right:16px;top:14px;border:0;background:#f1f5f9;color:#334155;border-radius:999px;width:34px;height:34px;font-size:24px;line-height:1;cursor:pointer;}
.adm-modal-head{border-bottom:1px solid #e2e8f0;padding-right:42px;margin-bottom:16px;padding-bottom:14px;}
.adm-modal-head span,.adm-section-kicker{display:inline-block;font-size:11px;text-transform:uppercase;letter-spacing:.06em;font-weight:900;color:#2563eb;margin-bottom:4px;}
.adm-modal-head h3{margin:0;color:#0f172a;font-size:24px;}
.adm-modal-head p{margin:4px 0 0;color:#64748b;}
.adm-dece-preguntas-box{display:flex;flex-direction:column;gap:12px;margin:14px 0;}
.adm-dece-pregunta-item{border:1px solid #e2e8f0;border-radius:18px;background:linear-gradient(145deg,#fff,#f8fafc);padding:14px;}
.adm-dece-pregunta-item h4{margin:0 0 4px;color:#0f172a;font-size:15px;line-height:1.35;}
.adm-dece-pregunta-item h4 span{color:#dc2626;}
.adm-dece-pregunta-item small{display:block;color:#64748b;margin-bottom:10px;}
.adm-dece-respuesta-options{display:grid;grid-template-columns:repeat(2,minmax(160px,1fr));gap:8px;}
.adm-dece-respuesta-options label{display:flex;align-items:flex-start;gap:8px;border:1px solid #e2e8f0;background:#fff;border-radius:12px;padding:10px;cursor:pointer;}
.adm-dece-respuesta-options input{margin-top:3px;}
.adm-field-full{display:block;margin:12px 0;}
.adm-field-full span{display:block;font-weight:800;color:#334155;margin-bottom:6px;}
.adm-field-full textarea{width:100%;border:1px solid #cbd5e1;border-radius:12px;padding:10px 12px;resize:vertical;}
.adm-evaluaciones-page .adm-portal-eval-hero{max-width:1180px;margin:0 auto;}
.adm-eval-access-card{display:grid;grid-template-columns:1fr 1.1fr;gap:22px;align-items:start;margin-top:22px;background:rgba(255,255,255,.92);border:1px solid rgba(226,232,240,.9);border-radius:28px;box-shadow:0 24px 70px rgba(15,23,42,.12);padding:24px;position:relative;z-index:1;}
.adm-eval-access-info h2{margin:0 0 8px;color:#0f172a;font-size:28px;}
.adm-eval-access-info p{color:#475569;line-height:1.5;margin:0;}
.adm-eval-access-form{display:grid;gap:14px;}
.adm-eval-access-form label span{display:block;font-weight:800;color:#334155;margin-bottom:6px;}
.adm-portal-eval-list,.adm-portal-eval-prueba{position:relative;z-index:1;margin-top:20px;}
.adm-portal-eval-head{background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:16px 18px;margin-bottom:12px;box-shadow:0 12px 30px rgba(15,23,42,.06);}
.adm-portal-eval-head h3{margin:0;color:#0f172a;}
.adm-portal-eval-head p{margin:4px 0 0;color:#64748b;}
.adm-portal-eval-grid{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:14px;}
.adm-portal-eval-card{background:#fff;border:1px solid #e2e8f0;border-radius:22px;padding:18px;box-shadow:0 14px 36px rgba(15,23,42,.08);display:flex;flex-direction:column;gap:10px;}
.adm-portal-eval-card span{font-size:11px;text-transform:uppercase;letter-spacing:.06em;font-weight:900;color:#2563eb;}
.adm-portal-eval-card h4{margin:0;color:#0f172a;font-size:18px;}
.adm-portal-eval-card p{margin:0;color:#64748b;line-height:1.4;flex:1;}
@media(max-width:980px){.adm-eval-access-card{grid-template-columns:1fr}.adm-portal-eval-grid{grid-template-columns:1fr 1fr}.adm-dece-respuesta-options{grid-template-columns:1fr}.adm-modal-card{padding:18px}}
@media(max-width:640px){.adm-portal-eval-grid{grid-template-columns:1fr}.adm-dece-evaluador-modal{padding:10px}.adm-modal-head h3{font-size:20px}.adm-eval-access-card{padding:18px;border-radius:22px}}

/* Fase 3.2 - mejora visual registro DECE Evaluador: estados claros por fila */
.adm-dece-evaluador-table-wrap{
  background:linear-gradient(135deg,#f8fbff 0%,#ffffff 48%,#f4fbff 100%)!important;
  border-color:#c9def4!important;
}
.adm-dece-evaluador-table{border-spacing:0 14px!important;}
.adm-dece-evaluador-table tbody tr{
  position:relative;
  filter:drop-shadow(0 12px 24px rgba(4,46,99,.055));
}
.adm-dece-evaluador-table tbody tr:hover{
  filter:drop-shadow(0 18px 32px rgba(4,46,99,.10));
}
.adm-dece-evaluador-table tbody tr td{
  border-top-width:1px!important;
  border-bottom-width:1px!important;
}
.adm-dece-evaluador-table tbody tr.adm-dece-row-is-ok td{
  border-top-color:#b7efd3!important;
  border-bottom-color:#b7efd3!important;
}
.adm-dece-evaluador-table tbody tr.adm-dece-row-is-ok td:first-child{border-left:5px solid #10b981!important;}
.adm-dece-evaluador-table tbody tr.adm-dece-row-is-progress td{
  border-top-color:#fed7aa!important;
  border-bottom-color:#fed7aa!important;
}
.adm-dece-evaluador-table tbody tr.adm-dece-row-is-progress td:first-child{border-left:5px solid #f59e0b!important;}
.adm-dece-evaluador-table tbody tr.adm-dece-row-is-danger td{
  border-top-color:#fecaca!important;
  border-bottom-color:#fecaca!important;
}
.adm-dece-evaluador-table tbody tr.adm-dece-row-is-danger td:first-child{border-left:5px solid #ef4444!important;}
.adm-dece-evaluador-table tbody tr.adm-dece-row-is-pending td{
  border-top-color:#dbeafe!important;
  border-bottom-color:#dbeafe!important;
}
.adm-dece-evaluador-table tbody tr.adm-dece-row-is-pending td:first-child{border-left:5px solid #94a3b8!important;}
.adm-dece-evaluador-table tbody td:first-child{
  background:linear-gradient(135deg,#f8fbff 0%,#edf7ff 100%)!important;
}
.adm-dece-row-status-board{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-bottom:10px;
}
.adm-dece-status-card{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-height:58px;
  padding:10px 9px;
  border-radius:16px;
  border:1px solid #dbeafe;
  background:#f8fafc;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 10px 18px rgba(15,23,42,.05);
}
.adm-dece-status-card small{
  font-size:9px;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:1000;
  color:#64748b;
}
.adm-dece-status-card strong{
  font-size:11px;
  line-height:1.15;
  font-weight:1000;
  color:#0f172a;
  text-transform:uppercase;
}
.adm-dece-status-card.is-ok{background:linear-gradient(135deg,#ecfdf5,#d1fae5);border-color:#a7f3d0;}
.adm-dece-status-card.is-ok small,.adm-dece-status-card.is-ok strong{color:#047857;}
.adm-dece-status-card.is-progress{background:linear-gradient(135deg,#fff7ed,#ffedd5);border-color:#fed7aa;}
.adm-dece-status-card.is-progress small,.adm-dece-status-card.is-progress strong{color:#c2410c;}
.adm-dece-status-card.is-danger{background:linear-gradient(135deg,#fef2f2,#fee2e2);border-color:#fecaca;}
.adm-dece-status-card.is-danger small,.adm-dece-status-card.is-danger strong{color:#b91c1c;}
.adm-dece-status-card.is-pending{background:linear-gradient(135deg,#f8fafc,#e2e8f0);border-color:#cbd5e1;}
.adm-dece-status-card.is-pending small,.adm-dece-status-card.is-pending strong{color:#475569;}
.adm-dece-status-card.is-neutral{background:linear-gradient(135deg,#eef2ff,#e0e7ff);border-color:#c7d2fe;}
.adm-dece-status-card.is-neutral small,.adm-dece-status-card.is-neutral strong{color:#3730a3;}
.adm-dece-action-toolbar{
  grid-template-columns:1fr 1fr!important;
  gap:9px!important;
}
.adm-dece-action-primary{
  min-height:46px!important;
  border-radius:17px!important;
  letter-spacing:.01em;
}
.adm-dece-btn-expediente{
  background:linear-gradient(135deg,#0054A6,#0b74d1)!important;
  color:#fff!important;
  border-color:#0b74d1!important;
}
.adm-dece-btn-finalizar.is-ready{
  background:linear-gradient(135deg,#059669,#10b981)!important;
  color:#fff!important;
  border-color:#10b981!important;
  box-shadow:0 14px 26px rgba(16,185,129,.20)!important;
}
.adm-dece-btn-finalizar.is-blocked:not(:disabled){
  background:linear-gradient(135deg,#f59e0b,#f97316)!important;
  color:#fff!important;
  border-color:#fdba74!important;
}
.adm-dece-btn-finalizar:disabled{
  background:linear-gradient(135deg,#e2e8f0,#cbd5e1)!important;
  color:#64748b!important;
  border-color:#cbd5e1!important;
  box-shadow:none!important;
}
.adm-dece-action-section{
  position:relative;
  overflow:hidden;
  border-width:1px!important;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.adm-dece-action-section:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(0,84,166,.09)!important;}
.adm-dece-action-section label,
.adm-dece-eval-list-head strong{
  display:flex!important;
  align-items:center;
  gap:7px;
}
.adm-dece-section-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  display:inline-block;
  background:#94a3b8;
  box-shadow:0 0 0 4px rgba(148,163,184,.16);
  flex:0 0 auto;
}
.adm-dece-action-section.is-ok{background:linear-gradient(135deg,#f0fdf4 0%,#ffffff 72%)!important;border-color:#a7f3d0!important;}
.adm-dece-action-section.is-ok .adm-dece-section-dot{background:#10b981;box-shadow:0 0 0 4px rgba(16,185,129,.16);}
.adm-dece-action-section.is-ok label,
.adm-dece-action-section.is-ok .adm-dece-eval-list-head strong{color:#047857!important;}
.adm-dece-action-section.is-progress{background:linear-gradient(135deg,#fff7ed 0%,#ffffff 72%)!important;border-color:#fed7aa!important;}
.adm-dece-action-section.is-progress .adm-dece-section-dot{background:#f59e0b;box-shadow:0 0 0 4px rgba(245,158,11,.16);}
.adm-dece-action-section.is-progress label,
.adm-dece-action-section.is-progress .adm-dece-eval-list-head strong{color:#c2410c!important;}
.adm-dece-action-section.is-danger{background:linear-gradient(135deg,#fef2f2 0%,#ffffff 72%)!important;border-color:#fecaca!important;}
.adm-dece-action-section.is-danger .adm-dece-section-dot{background:#ef4444;box-shadow:0 0 0 4px rgba(239,68,68,.15);}
.adm-dece-action-section.is-danger label,
.adm-dece-action-section.is-danger .adm-dece-eval-list-head strong{color:#b91c1c!important;}
.adm-dece-action-section.is-pending{background:linear-gradient(135deg,#f8fafc 0%,#ffffff 72%)!important;border-color:#cbd5e1!important;}
.adm-dece-action-section.is-neutral{background:linear-gradient(135deg,#eef7ff 0%,#ffffff 72%)!important;border-color:#bfdbfe!important;}
.adm-dece-action-section.is-neutral .adm-dece-section-dot{background:#0054A6;box-shadow:0 0 0 4px rgba(0,84,166,.14);}
.adm-dece-action-section.is-neutral label{color:#0054A6!important;}
.adm-dece-asistencia-box select,
.adm-dece-asistencia-box textarea,
.adm-dece-observacion-box textarea{
  border-radius:15px!important;
  min-height:44px;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.adm-dece-asistencia-box select:focus,
.adm-dece-asistencia-box textarea:focus,
.adm-dece-observacion-box textarea:focus{
  border-color:#0054A6!important;
  box-shadow:0 0 0 4px rgba(0,84,166,.10)!important;
}
.adm-dece-action-form .adm-btn-light{
  border-radius:18px!important;
  min-height:44px!important;
  background:linear-gradient(135deg,#eef7ff,#dbeafe)!important;
  border:1px solid #bfdbfe!important;
  color:#0054A6!important;
  font-weight:1000!important;
}
.adm-dece-action-section.is-ok .adm-btn-light{background:linear-gradient(135deg,#dcfce7,#bbf7d0)!important;border-color:#86efac!important;color:#047857!important;}
.adm-dece-action-section.is-danger .adm-btn-light{background:linear-gradient(135deg,#fee2e2,#fecaca)!important;border-color:#fca5a5!important;color:#b91c1c!important;}
.adm-dece-action-section.is-progress .adm-btn-light{background:linear-gradient(135deg,#ffedd5,#fed7aa)!important;border-color:#fdba74!important;color:#c2410c!important;}
.adm-dece-progress-track{
  height:8px;
  width:100%;
  border-radius:999px;
  overflow:hidden;
  background:#e2e8f0;
  margin:0 0 10px;
  box-shadow:inset 0 1px 2px rgba(15,23,42,.08);
}
.adm-dece-progress-track span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#0054A6,#3E92AC);
  min-width:0;
}
.adm-dece-eval-actions-list.is-ok .adm-dece-progress-track span{background:linear-gradient(90deg,#059669,#34d399);}
.adm-dece-eval-actions-list.is-progress .adm-dece-progress-track span{background:linear-gradient(90deg,#f59e0b,#f97316);}
.adm-dece-eval-actions-list.is-pending .adm-dece-progress-track span{background:linear-gradient(90deg,#94a3b8,#cbd5e1);}
.adm-dece-eval-actions-list.is-neutral .adm-dece-progress-track span{background:linear-gradient(90deg,#6366f1,#818cf8);}
.adm-dece-eval-pill{
  border-width:1px!important;
  position:relative;
  padding-left:13px!important;
}
.adm-dece-eval-pill::before{
  content:'';
  width:8px;
  height:8px;
  border-radius:999px;
  position:absolute;
  left:8px;
  top:11px;
  background:currentColor;
  opacity:.55;
}
.adm-dece-eval-pill span,
.adm-dece-eval-pill small{padding-left:10px;}
.adm-state-chip{
  gap:6px;
  box-shadow:0 8px 16px rgba(15,23,42,.06);
}
.adm-state-chip::before{
  content:'';
  width:8px;
  height:8px;
  border-radius:999px;
  background:currentColor;
  box-shadow:0 0 0 3px currentColor;
  opacity:.18;
}
.adm-state-chip.is-ok::before,
.adm-state-chip.is-progress::before,
.adm-state-chip.is-danger::before,
.adm-state-chip.is-pending::before,
.adm-state-chip.is-neutral::before{opacity:.22;}
.adm-mini-counter.is-ok{background:linear-gradient(135deg,#ecfdf5,#d1fae5)!important;border-color:#a7f3d0!important;}
.adm-mini-counter.is-ok strong,.adm-mini-counter.is-ok span{color:#047857!important;}
.adm-mini-counter.is-progress{background:linear-gradient(135deg,#fff7ed,#ffedd5)!important;border-color:#fed7aa!important;}
.adm-mini-counter.is-progress strong,.adm-mini-counter.is-progress span{color:#c2410c!important;}
.adm-mini-counter.is-pending{background:linear-gradient(135deg,#f8fafc,#e2e8f0)!important;border-color:#cbd5e1!important;}
.adm-mini-counter.is-pending strong,.adm-mini-counter.is-pending span{color:#475569!important;}
.adm-mini-counter.is-neutral{background:linear-gradient(135deg,#eef2ff,#e0e7ff)!important;border-color:#c7d2fe!important;}
.adm-mini-counter.is-neutral strong,.adm-mini-counter.is-neutral span{color:#3730a3!important;}
@media(max-width:1100px){
  .adm-dece-row-status-board{grid-template-columns:1fr;}
  .adm-dece-action-toolbar{grid-template-columns:1fr!important;}
}

/* Fase 3.2 - mejora integral portal público de evaluaciones DECE */
.adm-portal-eval-modern{
  min-height:100vh;
  background:
    radial-gradient(circle at 8% 18%,rgba(233,178,33,.24),transparent 32%),
    radial-gradient(circle at 88% 14%,rgba(0,84,166,.14),transparent 34%),
    linear-gradient(135deg,#fffdf6 0%,#f4fbff 44%,#eef8ff 100%);
}
.adm-portal-eval-modern .adm-portal-eval-hero{
  max-width:1180px;
  padding:28px 18px 56px;
  margin:0 auto;
}
.adm-portal-eval-shell{position:relative;z-index:1;}
.adm-portal-eval-header{text-align:center;max-width:820px;margin:0 auto 18px;}
.adm-portal-eval-header .adm-logo-distrito{max-width:220px;width:45vw;margin:0 auto 14px;display:block;filter:drop-shadow(0 8px 18px rgba(0,35,91,.10));}
.adm-portal-kicker,.adm-portal-dept-pill span{font-size:11px;font-weight:1000;text-transform:uppercase;letter-spacing:.08em;color:#0054A6;}
.adm-portal-eval-header h1{margin:8px 0 8px;color:#062E67;font-size:clamp(34px,4vw,52px);line-height:1.04;font-weight:1000;}
.adm-portal-eval-header p{margin:0 auto;color:#557094;font-size:17px;line-height:1.55;max-width:720px;}
.adm-portal-dept-pill{display:inline-flex;gap:10px;align-items:center;margin-top:18px;padding:9px 18px;border-radius:999px;background:rgba(255,255,255,.82);border:1px solid rgba(233,178,33,.55);box-shadow:0 12px 28px rgba(233,178,33,.12);}
.adm-portal-dept-pill strong{color:#8a6100;font-size:14px;}
.adm-portal-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px auto 22px;max-width:960px;}
.adm-portal-step{position:relative;display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:20px;background:rgba(255,255,255,.74);border:1px solid #dbeafe;box-shadow:0 12px 26px rgba(5,58,112,.06);opacity:.72;transition:.22s ease;}
.adm-portal-step span{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:999px;background:#edf6ff;color:#0054A6;border:1px solid #cfe4fb;font-weight:1000;}
.adm-portal-step strong{display:block;color:#0f2f5f;font-size:13px;font-weight:1000;line-height:1;}
.adm-portal-step small{display:block;color:#64748b;font-size:11px;font-weight:800;margin-top:3px;}
.adm-portal-step.is-active{opacity:1;background:linear-gradient(135deg,#ffffff,#eef7ff);border-color:#9cc9f1;box-shadow:0 18px 38px rgba(0,84,166,.13);transform:translateY(-1px);}
.adm-portal-step.is-active span{background:linear-gradient(135deg,#0054A6,#22a0c8);color:#fff;border-color:transparent;}
.adm-portal-step.is-done{opacity:1;background:#ecfdf5;border-color:#bbf7d0;}
.adm-portal-step.is-done span{background:#10b981;color:#fff;border-color:#10b981;}
.adm-eval-access-card-modern{grid-template-columns:minmax(300px,.95fr) minmax(360px,1.05fr);padding:30px;border-radius:32px;background:linear-gradient(135deg,rgba(255,255,255,.97),rgba(255,255,255,.88));border:1px solid rgba(203,225,246,.92);box-shadow:0 26px 78px rgba(4,46,99,.13);overflow:hidden;}
.adm-eval-access-card-modern:before{content:"";position:absolute;inset:-80px -120px auto auto;width:320px;height:320px;background:radial-gradient(circle,rgba(233,178,33,.20),transparent 68%);pointer-events:none;}
.adm-eval-access-info h2{color:#062E67;font-size:clamp(26px,3vw,36px);font-weight:1000;letter-spacing:-.03em;margin-bottom:10px;}
.adm-eval-access-info p{font-size:15.5px;color:#475569;max-width:520px;}
.adm-portal-checklist{display:grid;grid-template-columns:repeat(2,minmax(130px,1fr));gap:10px;margin-top:22px;}
.adm-portal-checklist div{display:flex;align-items:center;gap:8px;border:1px solid #d7e7f7;background:#f8fbff;border-radius:16px;padding:10px 12px;color:#0f3a6f;font-weight:900;font-size:12px;}
.adm-portal-checklist span{display:grid;place-items:center;width:22px;height:22px;border-radius:999px;background:#ecfdf5;color:#047857;font-weight:1000;}
.adm-eval-access-form-modern{position:relative;background:#fff;border:1px solid #d9e9f9;border-radius:24px;padding:18px;box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 14px 32px rgba(15,23,42,.06);}
.adm-eval-access-form-modern label span{color:#17365f;font-size:13px;font-weight:1000;}
.adm-eval-access-form-modern input,.adm-eval-access-form-modern select{width:100%;min-height:44px;border:1px solid #b9d7f5;border-radius:14px;background:#fbfdff;color:#0f2f5f;font-weight:800;padding:10px 13px;outline:none;transition:.18s ease;}
.adm-eval-access-form-modern input:focus,.adm-eval-access-form-modern select:focus{border-color:#0054A6;box-shadow:0 0 0 4px rgba(0,84,166,.10);background:#fff;}
.adm-portal-form-note{padding:12px 14px;border-radius:16px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:12px;line-height:1.4;}
.adm-portal-actions{gap:10px;flex-wrap:wrap;}
.adm-portal-actions .adm-btn{min-height:42px;border-radius:999px;padding-left:22px;padding-right:22px;font-weight:1000;}
.adm-portal-alert-modern{display:flex!important;align-items:flex-start;gap:12px;margin:18px 0;border-radius:18px;padding:14px 16px;box-shadow:0 14px 36px rgba(15,23,42,.08);}
.adm-portal-alert-modern[hidden]{display:none!important;}
.adm-portal-alert-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:999px;color:#fff;font-weight:1000;background:#0054A6;}
.adm-portal-alert-modern.is-ok .adm-portal-alert-icon{background:#10b981;}
.adm-portal-alert-modern.is-error .adm-portal-alert-icon{background:#ef4444;}
.adm-portal-alert-modern strong{display:block;color:#0f172a;font-weight:1000;margin-bottom:2px;}
.adm-portal-alert-modern p{margin:0;color:#334155;line-height:1.42;font-weight:700;}
.adm-portal-student-summary{display:grid;grid-template-columns:1fr 1.6fr 1.2fr 1fr;gap:12px;margin:18px 0 14px;}
.adm-portal-student-summary>div{background:rgba(255,255,255,.92);border:1px solid #dbeafe;border-radius:20px;padding:14px 16px;box-shadow:0 12px 30px rgba(4,46,99,.06);}
.adm-portal-student-summary span{display:block;color:#64748b;font-size:11px;text-transform:uppercase;letter-spacing:.06em;font-weight:1000;margin-bottom:5px;}
.adm-portal-student-summary strong{display:block;color:#062E67;font-size:14px;font-weight:1000;line-height:1.22;}
.adm-portal-student-summary strong.is-ok{display:inline-flex;align-items:center;border-radius:999px;background:#ecfdf5;border:1px solid #bbf7d0;color:#047857;padding:6px 10px;font-size:12px;}
.adm-portal-eval-head{display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(135deg,#fff,#f8fbff);border:1px solid #dbeafe;border-radius:24px;padding:20px 22px;margin-bottom:16px;box-shadow:0 14px 34px rgba(4,46,99,.07);}
.adm-portal-eval-head h3{margin:0;color:#062E67;font-size:22px;font-weight:1000;}
.adm-portal-eval-head p{margin:4px 0 0;color:#64748b;font-weight:700;}
.adm-portal-eval-head>strong{display:inline-flex;white-space:nowrap;background:#eef7ff;color:#0054A6;border:1px solid #cfe4fb;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:1000;}
.adm-portal-eval-grid{display:grid;grid-template-columns:repeat(3,minmax(230px,1fr));gap:16px;}
.adm-portal-eval-card{position:relative;overflow:hidden;background:linear-gradient(180deg,#fff,#f9fcff);border:1px solid #dbeafe;border-radius:24px;padding:20px;box-shadow:0 18px 42px rgba(4,46,99,.10);display:flex;flex-direction:column;gap:13px;transition:.18s ease;}
.adm-portal-eval-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:6px;background:linear-gradient(180deg,#0054A6,#22a0c8);}
.adm-portal-eval-card:hover{transform:translateY(-2px);box-shadow:0 24px 56px rgba(4,46,99,.15);}
.adm-portal-eval-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;}
.adm-portal-eval-card span{font-size:11px;text-transform:uppercase;letter-spacing:.07em;font-weight:1000;color:#0054A6;}
.adm-portal-eval-card em{font-style:normal;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:999px;padding:5px 9px;font-weight:1000;font-size:11px;}
.adm-portal-eval-card h4{margin:0;color:#0f172a;font-size:20px;line-height:1.18;font-weight:1000;}
.adm-portal-eval-card p{margin:0;color:#64748b;line-height:1.45;flex:1;font-weight:650;}
.adm-portal-eval-meta{display:flex;gap:8px;flex-wrap:wrap;}
.adm-portal-eval-meta small{border-radius:999px;background:#f1f5f9;border:1px solid #e2e8f0;color:#475569;padding:5px 9px;font-weight:900;font-size:11px;}
.adm-portal-test-card{border-radius:28px!important;border:1px solid #cfe4fb!important;background:rgba(255,255,255,.97)!important;box-shadow:0 24px 70px rgba(4,46,99,.13)!important;overflow:hidden;}
.adm-portal-test-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px;border-bottom:1px solid #dbeafe;background:linear-gradient(135deg,#ffffff,#f4fbff);}
.adm-portal-test-head h2{margin:0;color:#062E67;font-size:clamp(24px,3vw,34px);font-weight:1000;letter-spacing:-.02em;}
.adm-portal-test-head p{margin:6px 0 0;color:#64748b;font-weight:800;line-height:1.4;}
.adm-portal-test-counter{flex:0 0 auto;min-width:118px;text-align:center;border-radius:20px;background:#eef7ff;border:1px solid #cfe4fb;padding:12px 14px;box-shadow:0 10px 22px rgba(0,84,166,.07);}
.adm-portal-test-counter strong{display:block;color:#0054A6;font-size:24px;font-weight:1000;line-height:1;}
.adm-portal-test-counter span{display:block;color:#64748b;text-transform:uppercase;letter-spacing:.06em;font-size:10px;font-weight:1000;margin-top:6px;}
.adm-portal-progress-wrap{height:10px;background:#e5edf7;overflow:hidden;}
.adm-portal-progress-fill{height:100%;border-radius:0 999px 999px 0;background:linear-gradient(90deg,#0054A6,#22a0c8,#10b981);transition:width .25s ease;}
.adm-portal-test-instructions{display:flex;align-items:flex-start;gap:12px;margin:18px 22px 4px;padding:14px 16px;border:1px solid #fde68a;background:#fffbeb;border-radius:18px;color:#92400e;}
.adm-portal-test-instructions strong{font-weight:1000;white-space:nowrap;}
.adm-portal-test-instructions span{font-weight:750;line-height:1.35;}
.adm-portal-questions-box{padding:18px 22px 4px;margin:0;gap:16px;}
.adm-portal-question-item{position:relative;border:1px solid #dbeafe;background:linear-gradient(135deg,#fff,#f8fbff);border-radius:22px;padding:18px;box-shadow:0 12px 28px rgba(4,46,99,.055);transition:.18s ease;}
.adm-portal-question-item.is-answered{border-color:#bbf7d0;background:linear-gradient(135deg,#ffffff,#f0fdf4);}
.adm-portal-question-item.is-missing{border-color:#fecaca;background:linear-gradient(135deg,#ffffff,#fff5f5);box-shadow:0 0 0 4px rgba(239,68,68,.08);}
.adm-portal-question-top{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:10px;}
.adm-portal-question-number,.adm-portal-question-type,.adm-portal-required,.adm-portal-optional{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:10.5px;text-transform:uppercase;letter-spacing:.05em;font-weight:1000;}
.adm-portal-question-number{background:#eef7ff;color:#0054A6;border:1px solid #cfe4fb;}
.adm-portal-question-type{background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;}
.adm-portal-required{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca;}
.adm-portal-optional{background:#f8fafc;color:#64748b;border:1px solid #e2e8f0;}
.adm-portal-question-item h4{font-size:17px;line-height:1.42;color:#0f172a;margin-bottom:14px;font-weight:1000;}
.adm-portal-question-item h4 span{color:#dc2626;}
.adm-portal-question-help{display:block;margin-top:8px;color:#64748b;font-weight:750;}
.adm-portal-options{display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:10px;}
.adm-portal-options-two{grid-template-columns:repeat(2,minmax(140px,1fr));}
.adm-portal-option{position:relative;display:flex!important;align-items:center!important;gap:12px;border:1px solid #dbeafe!important;background:#fff!important;border-radius:16px!important;padding:12px 13px!important;cursor:pointer;transition:.16s ease;min-height:54px;}
.adm-portal-option:hover{border-color:#8dc0ef!important;box-shadow:0 10px 24px rgba(0,84,166,.08);transform:translateY(-1px);}
.adm-portal-option input{accent-color:#0054A6;}
.adm-portal-option:has(input:checked){border-color:#10b981!important;background:#ecfdf5!important;box-shadow:0 10px 24px rgba(16,185,129,.10);}
.adm-portal-option-mark{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:999px;background:#eef7ff;color:#0054A6;font-weight:1000;border:1px solid #cfe4fb;}
.adm-portal-option:has(input:checked) .adm-portal-option-mark{background:#10b981;border-color:#10b981;color:#fff;}
.adm-portal-option-text{color:#17365f;font-weight:850;line-height:1.28;}
.adm-portal-scale{display:grid;grid-template-columns:repeat(5,minmax(64px,1fr));gap:10px;max-width:520px;}
.adm-portal-scale label{cursor:pointer;}
.adm-portal-scale input{position:absolute;opacity:0;pointer-events:none;}
.adm-portal-scale span{display:grid;place-items:center;height:54px;border-radius:16px;border:1px solid #dbeafe;background:#fff;color:#0054A6;font-size:20px;font-weight:1000;transition:.16s ease;}
.adm-portal-scale label:hover span{border-color:#8dc0ef;box-shadow:0 10px 22px rgba(0,84,166,.08);}
.adm-portal-scale input:checked+span{background:linear-gradient(135deg,#0054A6,#22a0c8);border-color:transparent;color:#fff;box-shadow:0 12px 26px rgba(0,84,166,.18);}
.adm-portal-question-item textarea{width:100%;border:1px solid #bdd7f3;border-radius:16px;background:#fff;color:#0f2f5f;font-weight:750;line-height:1.45;padding:13px 14px;resize:vertical;outline:none;}
.adm-portal-question-item textarea:focus{border-color:#0054A6;box-shadow:0 0 0 4px rgba(0,84,166,.10);}
.adm-portal-submit-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 22px 22px;padding:16px 18px;border-radius:22px;background:linear-gradient(135deg,#f8fbff,#fff);border:1px solid #dbeafe;box-shadow:0 12px 28px rgba(4,46,99,.06);}
.adm-portal-submit-panel strong{display:block;color:#062E67;font-weight:1000;font-size:16px;}
.adm-portal-submit-panel span{display:block;color:#64748b;font-weight:750;margin-top:2px;}
.adm-portal-confirm-box{display:grid;grid-template-columns:auto 1fr;gap:14px;margin:0 22px 24px;padding:18px;border-radius:24px;background:#ecfdf5;border:1px solid #bbf7d0;box-shadow:0 18px 42px rgba(16,185,129,.14);}
.adm-portal-confirm-box[hidden]{display:none!important;}
.adm-portal-confirm-icon,.adm-portal-complete-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:999px;background:#10b981;color:#fff;font-weight:1000;font-size:24px;}
.adm-portal-confirm-box h3{margin:0;color:#065f46;font-size:20px;font-weight:1000;}
.adm-portal-confirm-box p{margin:6px 0 14px;color:#047857;font-weight:750;line-height:1.45;}
.adm-portal-complete-card{max-width:720px;margin:24px auto 0;text-align:center;background:rgba(255,255,255,.95);border:1px solid #bbf7d0;border-radius:30px;box-shadow:0 24px 70px rgba(16,185,129,.14);padding:34px 24px;}
.adm-portal-complete-card[hidden]{display:none!important;}
.adm-portal-complete-icon{margin:0 auto 14px;width:62px;height:62px;font-size:32px;}
.adm-portal-complete-card h2{margin:0 0 8px;color:#065f46;font-size:30px;font-weight:1000;}
.adm-portal-complete-card p{margin:0 auto 20px;max-width:560px;color:#047857;font-weight:800;line-height:1.5;}
@media(max-width:980px){
  .adm-portal-steps{grid-template-columns:repeat(2,1fr);}
  .adm-eval-access-card-modern{grid-template-columns:1fr;padding:22px;}
  .adm-portal-student-summary{grid-template-columns:1fr 1fr;}
  .adm-portal-eval-grid{grid-template-columns:1fr 1fr;}
  .adm-portal-options{grid-template-columns:1fr;}
  .adm-portal-test-head,.adm-portal-submit-panel{flex-direction:column;align-items:stretch;}
}
@media(max-width:640px){
  .adm-portal-eval-modern .adm-portal-eval-hero{padding:18px 10px 36px;}
  .adm-portal-steps{grid-template-columns:1fr;gap:8px;}
  .adm-portal-step{padding:11px 12px;}
  .adm-portal-checklist,.adm-portal-student-summary,.adm-portal-eval-grid,.adm-portal-scale{grid-template-columns:1fr;}
  .adm-portal-eval-head{flex-direction:column;align-items:flex-start;padding:16px;}
  .adm-portal-test-head,.adm-portal-questions-box,.adm-portal-test-instructions,.adm-portal-submit-panel,.adm-portal-confirm-box{margin-left:12px;margin-right:12px;}
  .adm-portal-test-head{padding:18px 16px;}
  .adm-portal-confirm-box{grid-template-columns:1fr;text-align:left;}
}

/* Fase 3.2 - Mejora visual modal Reseteo Controlado DECE */
.adm-dece-modal-dialog.adm-dece-reset-dialog{
  width:min(960px,96vw);
  max-width:960px;
  border-radius:30px;
  border:1px solid rgba(226,232,240,.92);
  overflow:hidden;
  background:#fff;
  box-shadow:0 40px 110px rgba(15,23,42,.38);
}
.adm-dece-reset-hero{
  position:relative;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:24px 26px 22px;
  background:
    radial-gradient(circle at 18% 10%, rgba(255,204,41,.35), transparent 30%),
    radial-gradient(circle at 88% 0%, rgba(37,99,235,.16), transparent 36%),
    linear-gradient(135deg,#ffffff 0%,#f8fbff 58%,#fff7d6 100%);
  border-bottom:1px solid rgba(226,232,240,.96);
}
.adm-dece-reset-title-wrap{
  display:flex;
  align-items:flex-start;
  gap:16px;
  min-width:0;
}
.adm-dece-reset-icon{
  width:58px;
  height:58px;
  min-width:58px;
  border-radius:20px;
  display:grid;
  place-items:center;
  font-size:28px;
  background:linear-gradient(135deg,#fff7cc,#ffffff);
  border:1px solid rgba(233,178,33,.38);
  box-shadow:0 16px 32px rgba(233,178,33,.16);
}
.adm-dece-reset-hero .adm-section-kicker{
  display:inline-flex;
  align-items:center;
  width:max-content;
  margin:0 0 8px;
  color:#003f8f;
  background:#ffcf2f;
  box-shadow:0 8px 18px rgba(233,178,33,.18);
}
.adm-dece-reset-hero h3{
  margin:0 0 7px;
  color:#073a79;
  font-size:25px;
  line-height:1.16;
  letter-spacing:-.02em;
}
.adm-dece-reset-hero p{
  margin:0;
  max-width:700px;
  color:#475569;
  font-size:14px;
  line-height:1.5;
}
.adm-dece-reset-close{
  width:48px;
  height:48px;
  min-width:48px;
  border-radius:17px;
  background:#fff;
  color:#0b3b78;
  box-shadow:0 14px 30px rgba(15,23,42,.12);
}
.adm-dece-reset-body{
  padding:22px 26px 0;
  background:linear-gradient(180deg,#fff,#f7fbff);
}
.adm-dece-reset-form{
  display:block;
  margin:0;
}
.adm-dece-reset-card{
  border:1px solid rgba(191,219,254,.82);
  border-radius:22px;
  background:rgba(255,255,255,.96);
  box-shadow:0 14px 34px rgba(15,23,42,.055);
}
.adm-dece-reset-summary-card{
  padding:16px;
  margin-bottom:16px;
}
.adm-dece-reset-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:13px;
}
.adm-dece-reset-card-head span{
  display:block;
  color:#64748b;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.adm-dece-reset-card-head strong{
  display:block;
  margin-top:3px;
  color:#0b2e63;
  font-size:15px;
}
.adm-dece-reset-card-head em{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:7px 12px;
  border-radius:999px;
  background:#eef6ff;
  border:1px solid #bfdbfe;
  color:#0b4f9f;
  font-style:normal;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
  white-space:nowrap;
}
.adm-dece-reset-summary{
  display:grid;
  grid-template-columns:repeat(5,minmax(130px,1fr));
  gap:12px;
  margin:0;
}
.adm-dece-reset-summary article{
  position:relative;
  overflow:hidden;
  min-height:86px;
  border:1px solid #dbe7f5;
  border-radius:18px;
  background:linear-gradient(180deg,#ffffff,#f8fafc);
  padding:14px 14px 12px;
  box-shadow:0 10px 24px rgba(15,23,42,.045);
}
.adm-dece-reset-summary article::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  background:#94a3b8;
  opacity:.95;
}
.adm-dece-reset-summary article.is-aspirante::before{background:#0054a6;}
.adm-dece-reset-summary article.is-evaluacion::before{background:#3e92ac;}
.adm-dece-reset-summary article.is-intento::before{background:#7c3aed;}
.adm-dece-reset-summary article.is-ok::before{background:#16a34a;}
.adm-dece-reset-summary article.is-warn::before{background:#f59e0b;}
.adm-dece-reset-summary article.is-error::before{background:#dc2626;}
.adm-dece-reset-summary article.is-neutral::before{background:#64748b;}
.adm-dece-reset-summary small{
  display:block;
  margin:0 0 7px;
  padding-left:3px;
  color:#64748b;
  font-weight:900;
  text-transform:uppercase;
  font-size:10px;
  line-height:1.2;
  letter-spacing:.07em;
}
.adm-dece-reset-summary strong{
  display:block;
  padding-left:3px;
  color:#0f172a;
  font-size:15px;
  line-height:1.25;
  overflow-wrap:anywhere;
}
.adm-dece-reset-content-grid{
  display:grid;
  grid-template-columns:minmax(360px,1.1fr) minmax(300px,.9fr);
  gap:16px;
  align-items:stretch;
  margin-bottom:0;
}
.adm-dece-reset-reason-panel,
.adm-dece-reset-impact-panel{
  padding:17px;
}
.adm-dece-reset-reason-field{
  display:flex!important;
  flex-direction:column!important;
  gap:7px;
  margin:0!important;
  color:#0b2e63;
  font-weight:900;
}
.adm-dece-reset-reason-field span{
  display:block;
  color:#073a79;
  font-size:15px;
}
.adm-dece-reset-reason-field small{
  display:block;
  color:#64748b;
  font-size:12px;
  line-height:1.35;
  font-weight:700;
}
.adm-dece-reset-form textarea[name="motivo"],
.adm-dece-reset-reason-field textarea{
  display:block!important;
  width:100%!important;
  min-height:154px!important;
  margin:4px 0 0!important;
  padding:14px 15px!important;
  border:1px solid #bfdbfe!important;
  border-radius:18px!important;
  background:#fff!important;
  color:#0f172a!important;
  font-size:14px!important;
  line-height:1.45!important;
  box-shadow:inset 0 1px 0 rgba(15,23,42,.03),0 10px 22px rgba(15,23,42,.035)!important;
  resize:vertical;
}
.adm-dece-reset-form textarea[name="motivo"]:focus,
.adm-dece-reset-reason-field textarea:focus{
  outline:none!important;
  border-color:#0054a6!important;
  box-shadow:0 0 0 4px rgba(0,84,166,.12),0 12px 26px rgba(15,23,42,.06)!important;
}
.adm-dece-reset-help{
  display:flex;
  align-items:flex-start;
  gap:9px;
  margin-top:12px;
  padding:11px 12px;
  border-radius:16px;
  background:#eff6ff;
  border:1px solid #bfdbfe;
  color:#31567c;
}
.adm-dece-reset-help span{
  width:24px;
  height:24px;
  min-width:24px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#fff;
  color:#0054a6;
  font-weight:900;
}
.adm-dece-reset-help p{
  margin:0;
  font-size:12px;
  line-height:1.4;
  font-weight:700;
}
.adm-dece-reset-impact-panel{
  background:
    radial-gradient(circle at 100% 0%, rgba(255,204,41,.16), transparent 38%),
    linear-gradient(180deg,#ffffff,#fbfdff);
}
.adm-dece-reset-impact-panel h4{
  margin:0 0 12px;
  color:#073a79;
  font-size:16px;
  line-height:1.25;
}
.adm-dece-reset-impact-panel ul{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:10px;
  margin:0 0 15px;
  padding:0;
}
.adm-dece-reset-impact-panel li{
  display:grid;
  grid-template-columns:30px 1fr;
  gap:10px;
  align-items:flex-start;
  color:#334155;
  font-size:13px;
  line-height:1.38;
  font-weight:700;
}
.adm-dece-reset-impact-panel li span{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:11px;
  background:#eef6ff;
  border:1px solid #bfdbfe;
  color:#0054a6;
  font-size:12px;
  font-weight:900;
}
.adm-dece-reset-impact-panel li b{
  color:#b91c1c;
}
.adm-dece-reset-confirm-card{
  display:flex!important;
  align-items:flex-start!important;
  gap:11px!important;
  margin:0!important;
  padding:13px!important;
  border-radius:18px!important;
  border:1px solid #fed7aa!important;
  background:#fff7ed!important;
  color:#7c2d12!important;
  cursor:pointer;
}
.adm-dece-reset-confirm-card input{
  width:20px;
  height:20px;
  min-width:20px;
  margin:2px 0 0!important;
  accent-color:#dc2626;
}
.adm-dece-reset-confirm-card span{
  display:block;
  min-width:0;
}
.adm-dece-reset-confirm-card strong{
  display:block;
  color:#7c2d12;
  font-size:13px;
  line-height:1.25;
}
.adm-dece-reset-confirm-card small{
  display:block;
  margin-top:4px;
  color:#9a3412;
  font-size:12px;
  line-height:1.35;
  font-weight:700;
}
.adm-dece-reset-actions{
  position:sticky;
  bottom:0;
  display:flex;
  justify-content:flex-end;
  gap:12px;
  margin:18px -26px 0;
  padding:16px 26px;
  background:rgba(255,255,255,.96);
  border-top:1px solid rgba(226,232,240,.95);
  backdrop-filter:blur(8px);
}
.adm-dece-reset-actions .adm-btn{
  min-width:170px;
  min-height:48px;
  border-radius:999px;
  font-weight:900;
}
.adm-dece-reset-actions .adm-btn-danger{
  background:linear-gradient(135deg,#dc2626,#ef4444)!important;
  box-shadow:0 16px 34px rgba(220,38,38,.28)!important;
}
.adm-dece-reset-actions .adm-btn-danger:disabled{
  cursor:not-allowed;
  opacity:.52;
  filter:grayscale(.25);
  box-shadow:none!important;
}
@media(max-width:1100px){
  .adm-dece-reset-summary{grid-template-columns:repeat(3,minmax(150px,1fr));}
}
@media(max-width:820px){
  .adm-dece-modal-dialog.adm-dece-reset-dialog{width:100%;max-height:94vh;border-radius:24px 24px 0 0;}
  .adm-dece-reset-hero{padding:18px;}
  .adm-dece-reset-title-wrap{gap:12px;}
  .adm-dece-reset-icon{width:48px;height:48px;min-width:48px;border-radius:16px;font-size:23px;}
  .adm-dece-reset-hero h3{font-size:21px;}
  .adm-dece-reset-body{padding:16px 16px 0;}
  .adm-dece-reset-summary{grid-template-columns:1fr 1fr;}
  .adm-dece-reset-content-grid{grid-template-columns:1fr;}
  .adm-dece-reset-actions{margin:16px -16px 0;padding:14px 16px;flex-direction:column-reverse;}
  .adm-dece-reset-actions .adm-btn{width:100%;min-width:0;}
}
@media(max-width:520px){
  .adm-dece-reset-hero{align-items:flex-start;}
  .adm-dece-reset-summary{grid-template-columns:1fr;}
  .adm-dece-reset-card-head{align-items:flex-start;flex-direction:column;}
}

/* Fase 3.2 - Ajuste limpio portal de evaluaciones y evaluación pregunta por pregunta */
.adm-portal-eval-header-clean{margin-bottom:22px!important;}
.adm-portal-eval-header-clean .adm-logo-distrito{max-width:190px!important;margin-bottom:10px!important;}
.adm-portal-eval-header-clean h1{font-size:clamp(34px,4vw,50px)!important;margin-top:6px!important;}
.adm-portal-eval-header-clean p{max-width:620px!important;font-size:16px!important;}
.adm-eval-access-card-clean{
  position:relative;
  display:grid!important;
  grid-template-columns:minmax(260px,.85fr) minmax(360px,1.15fr)!important;
  max-width:900px;
  margin:0 auto 22px;
  padding:26px!important;
  align-items:center;
}
.adm-eval-access-card-clean[hidden]{display:none!important;}
.adm-eval-access-info-clean{padding:8px 10px 8px 0;}
.adm-eval-access-info-clean h2{font-size:clamp(26px,3vw,34px)!important;margin:8px 0 10px!important;}
.adm-eval-access-info-clean p{color:#526b8d!important;font-weight:700!important;line-height:1.55!important;margin:0!important;}
.adm-eval-access-card-clean .adm-eval-access-form-modern{padding:20px!important;}
.adm-eval-access-card-clean .adm-portal-actions{justify-content:flex-start!important;margin-top:8px;}
.adm-portal-validado-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:10px 0 16px;
  padding:22px 24px;
  border-radius:28px;
  background:linear-gradient(135deg,#ffffff 0%,#f6fbff 62%,#fff7d9 100%);
  border:1px solid #cfe4fb;
  box-shadow:0 20px 55px rgba(4,46,99,.10);
}
.adm-portal-validado-card h2{margin:6px 0 5px;color:#062E67;font-size:30px;font-weight:1000;letter-spacing:-.02em;}
.adm-portal-validado-card p{margin:0;color:#526b8d;font-weight:750;line-height:1.45;}
.adm-portal-student-summary-clean{margin-top:0!important;}
.adm-portal-student-summary-clean>div{border-radius:18px!important;background:#fff!important;}
.adm-portal-eval-head-clean{margin-top:10px!important;}
.adm-portal-eval-list[hidden]{display:none!important;}
.adm-portal-test-locked{overflow:hidden!important;}
.adm-portal-test-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}
.adm-portal-test-modal[hidden]{display:none!important;}
.adm-portal-test-backdrop{
  position:absolute;
  inset:0;
  background:rgba(7,20,42,.74);
  backdrop-filter:blur(7px);
}
.adm-portal-test-dialog{
  position:relative;
  z-index:1;
  width:min(980px,96vw);
  max-height:94vh;
  overflow:auto;
  border-radius:32px;
  background:#fff;
  border:1px solid rgba(219,234,254,.92);
  box-shadow:0 42px 120px rgba(2,18,43,.45);
}
.adm-portal-test-head-modal{
  position:sticky;
  top:0;
  z-index:3;
  padding:22px 26px!important;
  background:
    radial-gradient(circle at 95% 0%,rgba(233,178,33,.22),transparent 32%),
    linear-gradient(135deg,#ffffff,#f3faff 68%,#fff9dd)!important;
}
.adm-portal-test-head-modal:after{
  content:"No cierre esta ventana hasta finalizar";
  display:inline-flex;
  margin-top:10px;
  padding:6px 10px;
  border-radius:999px;
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:#9a3412;
  font-size:11px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.adm-portal-test-counter-modal{background:#fff!important;}
.adm-portal-progress-wrap-modal{position:sticky;top:104px;z-index:4;height:12px!important;}
.adm-portal-test-form-modal{padding:0 24px 24px;}
.adm-portal-test-instructions-modal{margin:20px 0!important;border-radius:20px!important;}
.adm-portal-question-stage{
  border:1px solid #dbeafe;
  border-radius:28px;
  background:linear-gradient(180deg,#ffffff,#f8fbff);
  box-shadow:0 18px 48px rgba(4,46,99,.09);
  overflow:hidden;
}
.adm-portal-question-stage-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:15px 18px;
  border-bottom:1px solid #dbeafe;
  background:#f8fbff;
}
.adm-portal-question-stage-top span{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  background:#eef7ff;
  border:1px solid #cfe4fb;
  color:#0054A6;
  padding:7px 12px;
  font-size:12px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.adm-portal-question-stage-top small{color:#526b8d;font-weight:900;line-height:1.35;text-align:right;}
.adm-portal-questions-one{padding:22px!important;margin:0!important;display:block!important;}
.adm-portal-question-one{
  min-height:330px;
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
  padding:6px 4px 10px!important;
}
.adm-portal-question-one[hidden]{display:none!important;}
.adm-portal-question-one .adm-portal-question-top{margin-bottom:18px!important;}
.adm-portal-question-one h4{
  font-size:clamp(22px,2.6vw,32px)!important;
  line-height:1.28!important;
  color:#062E67!important;
  margin:0 0 24px!important;
  letter-spacing:-.02em;
}
.adm-portal-question-one .adm-portal-options{gap:14px!important;}
.adm-portal-question-one .adm-portal-option{
  min-height:68px!important;
  border-radius:20px!important;
  padding:15px 16px!important;
  font-size:15px!important;
}
.adm-portal-question-one .adm-portal-option-mark{width:38px!important;height:38px!important;flex-basis:38px!important;}
.adm-portal-question-one .adm-portal-option-text{font-size:15px!important;color:#0b2e63!important;}
.adm-portal-question-one .adm-portal-scale{max-width:680px!important;gap:14px!important;}
.adm-portal-question-one .adm-portal-scale span{height:68px!important;border-radius:20px!important;font-size:24px!important;}
.adm-portal-question-one textarea{min-height:170px!important;font-size:16px!important;border-radius:20px!important;}
.adm-portal-question-nav{
  position:sticky;
  bottom:0;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:18px;
  padding:16px;
  border-radius:24px;
  border:1px solid #dbeafe;
  background:rgba(255,255,255,.94);
  box-shadow:0 -10px 28px rgba(4,46,99,.08);
  backdrop-filter:blur(10px);
}
.adm-portal-question-nav .adm-btn{min-height:48px;border-radius:999px;padding:0 24px;font-weight:1000;}
.adm-btn-success{
  border:0;
  background:linear-gradient(135deg,#10b981,#059669)!important;
  color:#fff!important;
  box-shadow:0 14px 32px rgba(16,185,129,.25)!important;
}
.adm-btn-success:hover{filter:brightness(.98);transform:translateY(-1px);}
.adm-portal-question-nav .adm-btn[disabled]{opacity:.48!important;cursor:not-allowed!important;box-shadow:none!important;transform:none!important;}
.adm-portal-test-modal .adm-portal-alert-modern{margin:0 24px 16px;}
@media(max-width:980px){
  .adm-eval-access-card-clean{grid-template-columns:1fr!important;padding:22px!important;}
  .adm-portal-validado-card{flex-direction:column;align-items:flex-start;}
  .adm-portal-progress-wrap-modal{top:126px;}
}
@media(max-width:640px){
  .adm-portal-eval-header-clean .adm-logo-distrito{max-width:150px!important;}
  .adm-eval-access-card-clean{border-radius:24px!important;margin-left:0;margin-right:0;}
  .adm-portal-test-modal{padding:8px;align-items:stretch;}
  .adm-portal-test-dialog{width:100%;max-height:98vh;border-radius:24px;}
  .adm-portal-test-head-modal{padding:18px!important;flex-direction:column!important;}
  .adm-portal-progress-wrap-modal{top:168px;}
  .adm-portal-test-form-modal{padding:0 12px 14px;}
  .adm-portal-question-stage-top{flex-direction:column;align-items:flex-start;}
  .adm-portal-question-stage-top small{text-align:left;}
  .adm-portal-question-one{min-height:280px;}
  .adm-portal-question-one h4{font-size:22px!important;}
  .adm-portal-question-nav{flex-direction:column;align-items:stretch;}
  .adm-portal-question-nav .adm-btn{width:100%;}
}
.adm-portal-question-stage-top small.is-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:999px;padding:7px 10px;}

/* Fase 3.2 - refinamiento final acceso a evaluaciones y modal pregunta por pregunta */
.adm-portal-eval-modern{
  background:
    radial-gradient(circle at 12% 18%,rgba(233,178,33,.20),transparent 30%),
    radial-gradient(circle at 85% 10%,rgba(62,146,172,.18),transparent 32%),
    linear-gradient(135deg,#fffdf6 0%,#f6fbff 42%,#edf8ff 100%)!important;
}
.adm-portal-eval-modern .adm-portal-eval-hero{padding-top:34px!important;}
.adm-portal-eval-shell{max-width:1080px;margin:0 auto;}
.adm-portal-eval-header-clean{margin-bottom:24px!important;}
.adm-portal-eval-header-clean .adm-logo-distrito{max-width:170px!important;}
.adm-portal-eval-header-clean h1{
  font-size:clamp(38px,4.6vw,58px)!important;
  letter-spacing:-.055em!important;
  text-shadow:0 14px 32px rgba(0,35,91,.08);
}
.adm-portal-eval-header-clean p{font-weight:750!important;color:#466285!important;}
.adm-portal-dept-pill{background:rgba(255,255,255,.94)!important;box-shadow:0 16px 42px rgba(4,46,99,.08)!important;}
.adm-eval-access-card-clean{
  max-width:900px!important;
  min-height:300px;
  border-radius:34px!important;
  background:
    radial-gradient(circle at 5% 100%,rgba(0,84,166,.07),transparent 34%),
    linear-gradient(135deg,rgba(255,255,255,.98),rgba(255,255,255,.90) 62%,rgba(255,249,221,.72))!important;
  box-shadow:0 32px 90px rgba(4,46,99,.14)!important;
}
.adm-eval-access-info-clean:before{
  content:"✓";
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  margin-bottom:14px;
  border-radius:18px;
  background:linear-gradient(135deg,#0054A6,#2b95b7);
  color:#fff;
  font-size:23px;
  font-weight:1000;
  box-shadow:0 18px 36px rgba(0,84,166,.22);
}
.adm-eval-access-info-clean h2{font-size:clamp(30px,3.4vw,42px)!important;letter-spacing:-.045em!important;}
.adm-eval-access-info-clean p{max-width:390px;font-size:16px!important;}
.adm-eval-access-card-clean .adm-eval-access-form-modern{
  border-radius:28px!important;
  padding:22px!important;
  box-shadow:0 18px 48px rgba(4,46,99,.08)!important;
}
.adm-eval-access-card-clean .adm-eval-access-form-modern input,
.adm-eval-access-card-clean .adm-eval-access-form-modern select{
  min-height:52px!important;
  border-radius:18px!important;
  font-size:14px!important;
}
.adm-eval-access-card-clean .adm-portal-actions .adm-btn{min-height:48px!important;}
.adm-portal-validado-card-v2{
  position:relative;
  overflow:hidden;
  border-radius:32px!important;
  background:
    radial-gradient(circle at 92% 20%,rgba(233,178,33,.24),transparent 28%),
    linear-gradient(135deg,#ffffff 0%,#f3faff 72%,#fff8dc 100%)!important;
  border:1px solid rgba(190,219,248,.95)!important;
  box-shadow:0 26px 76px rgba(4,46,99,.12)!important;
  padding:24px 28px!important;
}
.adm-portal-validado-card-v2:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:8px;
  background:linear-gradient(180deg,#10b981,#0054A6);
}
.adm-portal-validado-card-v2 h2{font-size:clamp(28px,3vw,38px)!important;}
.adm-portal-validado-card-v2 p{font-size:15px!important;}
.adm-portal-student-summary-v2{grid-template-columns:1fr 1.7fr 1.3fr 1fr!important;gap:14px!important;margin:14px 0!important;}
.adm-portal-student-summary-v2>div{
  min-height:78px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  border-radius:22px!important;
  border-color:#d7e8fb!important;
  box-shadow:0 16px 36px rgba(4,46,99,.08)!important;
}
.adm-portal-eval-head-v2{
  border-radius:28px!important;
  padding:22px 24px!important;
  background:linear-gradient(135deg,#ffffff,#f7fbff)!important;
  box-shadow:0 18px 46px rgba(4,46,99,.09)!important;
}
.adm-portal-eval-head-v2 h3{font-size:clamp(22px,2.4vw,30px)!important;}
.adm-portal-eval-card-v2{
  max-width:340px;
  min-height:230px;
  border-radius:28px!important;
  padding:22px!important;
  background:
    radial-gradient(circle at 100% 0%,rgba(0,84,166,.08),transparent 36%),
    linear-gradient(180deg,#ffffff,#f8fbff)!important;
  box-shadow:0 26px 68px rgba(4,46,99,.13)!important;
}
.adm-portal-eval-card-v2:before{width:7px!important;background:linear-gradient(180deg,#0054A6,#10b981)!important;}
.adm-portal-eval-card-v2 h4{font-size:22px!important;color:#062E67!important;}
.adm-portal-start-btn{min-height:48px!important;border-radius:999px!important;background:linear-gradient(135deg,#00458e,#2293bd)!important;}
.adm-portal-test-backdrop{background:rgba(7,20,42,.78)!important;backdrop-filter:blur(9px)!important;}
.adm-portal-test-dialog{
  width:min(1040px,96vw)!important;
  border-radius:34px!important;
  overflow:auto!important;
  background:#fff!important;
}
.adm-portal-test-head-modal{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:22px!important;
  padding:24px 28px!important;
  border-bottom:1px solid #dbeafe!important;
}
.adm-portal-test-head-modal:after{display:none!important;content:none!important;}
.adm-portal-test-titleblock h2{font-size:clamp(30px,3.8vw,44px)!important;line-height:1.02!important;letter-spacing:-.045em!important;}
.adm-portal-test-titleblock p{font-size:16px!important;color:#536b8a!important;}
.adm-portal-test-head-tools{display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:flex-end;}
.adm-portal-finish-top{
  min-height:44px!important;
  border-radius:999px!important;
  padding:0 18px!important;
  background:#dc2626!important;
  border-color:#dc2626!important;
  color:#fff!important;
  box-shadow:0 16px 34px rgba(220,38,38,.22)!important;
}
.adm-portal-finish-top[disabled]{
  background:#fee2e2!important;
  border-color:#fecaca!important;
  color:#b91c1c!important;
  opacity:.70!important;
  box-shadow:none!important;
}
.adm-portal-finish-top.is-ready{animation:admPortalPulseRed 1.8s infinite;}
@keyframes admPortalPulseRed{0%,100%{box-shadow:0 16px 34px rgba(220,38,38,.22)}50%{box-shadow:0 20px 42px rgba(220,38,38,.36)}}
.adm-portal-test-counter-modal{
  min-width:120px!important;
  border-radius:22px!important;
  padding:13px 16px!important;
  box-shadow:0 14px 32px rgba(0,84,166,.10)!important;
}
.adm-portal-progress-wrap-modal{height:14px!important;background:#e9f2fb!important;}
.adm-portal-progress-fill{background:linear-gradient(90deg,#0054A6 0%,#2b95b7 55%,#10b981 100%)!important;}
.adm-portal-test-instructions-modal{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  margin:18px 0!important;
  padding:12px 18px!important;
  border-radius:999px!important;
  background:#fff8e1!important;
}
.adm-portal-question-stage{
  border-radius:30px!important;
  border-color:#cfe4fb!important;
  background:linear-gradient(180deg,#ffffff,#f7fbff)!important;
}
.adm-portal-question-stage-top{
  padding:18px 20px!important;
  background:linear-gradient(135deg,#f8fbff,#ffffff)!important;
}
.adm-portal-question-stage-top span{font-size:12.5px!important;padding:8px 14px!important;}
.adm-portal-question-stage-top small{font-size:13px!important;}
.adm-portal-question-one{min-height:360px!important;padding:12px 8px 18px!important;}
.adm-portal-question-one .adm-portal-question-top{display:flex!important;gap:8px!important;flex-wrap:wrap!important;}
.adm-portal-question-one h4{font-size:clamp(28px,3.4vw,40px)!important;margin-bottom:28px!important;}
.adm-portal-question-one .adm-portal-options{grid-template-columns:repeat(2,minmax(220px,1fr))!important;gap:16px!important;}
.adm-portal-question-one .adm-portal-option{
  min-height:76px!important;
  border-radius:24px!important;
  padding:17px 18px!important;
  border-width:2px!important;
  box-shadow:0 12px 26px rgba(4,46,99,.05);
}
.adm-portal-question-one .adm-portal-option:has(input:checked){box-shadow:0 18px 38px rgba(16,185,129,.14)!important;}
.adm-portal-question-one .adm-portal-option-mark{width:42px!important;height:42px!important;flex-basis:42px!important;font-size:16px!important;}
.adm-portal-question-one .adm-portal-option-text{font-size:17px!important;font-weight:1000!important;}
.adm-portal-question-nav{
  display:grid!important;
  grid-template-columns:1fr auto 1fr!important;
  align-items:center!important;
  gap:14px!important;
  margin-top:20px!important;
  padding:18px!important;
  border-radius:28px!important;
}
.adm-portal-prev-btn{justify-self:start!important;min-width:130px;background:#eef7ff!important;color:#0054A6!important;border-color:#cfe4fb!important;}
.adm-portal-next-btn{justify-self:center!important;min-width:190px;background:linear-gradient(135deg,#10b981,#059669)!important;}
.adm-portal-finish-bottom{justify-self:end!important;min-width:240px;background:linear-gradient(135deg,#10b981,#059669)!important;}
.adm-portal-question-nav .adm-btn[hidden]{display:none!important;}
.adm-portal-final-confirm{
  position:sticky;
  bottom:18px;
  z-index:6;
  margin:18px 24px 24px;
}
.adm-portal-final-confirm[hidden]{display:none!important;}
.adm-portal-final-confirm-card{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:16px;
  padding:20px;
  border-radius:28px;
  background:linear-gradient(135deg,#ffffff,#fff7ed);
  border:1px solid #fed7aa;
  box-shadow:0 28px 70px rgba(154,52,18,.18);
}
.adm-portal-final-confirm-icon{
  display:grid;
  place-items:center;
  width:50px;
  height:50px;
  border-radius:18px;
  background:#f97316;
  color:#fff;
  font-weight:1000;
  font-size:28px;
}
.adm-portal-final-confirm-card h3{margin:4px 0 6px;color:#7c2d12;font-size:24px;font-weight:1000;}
.adm-portal-final-confirm-card p{margin:0 0 14px;color:#9a3412;font-weight:800;line-height:1.45;}
.adm-portal-final-confirm-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;}
.adm-portal-final-confirm-actions .adm-btn{min-height:46px;border-radius:999px;padding:0 20px;font-weight:1000;}
@media(max-width:980px){
  .adm-portal-student-summary-v2{grid-template-columns:1fr 1fr!important;}
  .adm-portal-test-head-modal{grid-template-columns:1fr!important;align-items:flex-start!important;}
  .adm-portal-test-head-tools{justify-content:space-between;width:100%;}
  .adm-portal-question-one .adm-portal-options{grid-template-columns:1fr!important;}
}
@media(max-width:640px){
  .adm-portal-eval-modern .adm-portal-eval-hero{padding:22px 10px 36px!important;}
  .adm-portal-eval-header-clean h1{font-size:36px!important;}
  .adm-portal-student-summary-v2{grid-template-columns:1fr!important;}
  .adm-portal-test-head-tools{flex-direction:column;align-items:stretch;}
  .adm-portal-finish-top,.adm-portal-test-counter-modal{width:100%!important;}
  .adm-portal-test-instructions-modal{border-radius:20px!important;text-align:left!important;}
  .adm-portal-question-nav{grid-template-columns:1fr!important;}
  .adm-portal-prev-btn,.adm-portal-next-btn,.adm-portal-finish-bottom{justify-self:stretch!important;width:100%;min-width:0!important;}
  .adm-portal-final-confirm{margin-left:12px;margin-right:12px;}
  .adm-portal-final-confirm-card{grid-template-columns:1fr;}
  .adm-portal-final-confirm-actions{justify-content:stretch;}
  .adm-portal-final-confirm-actions .adm-btn{width:100%;}
}

/* Fase 3.2 - DECE Evaluador: flujo operativo ordenado por etapas */
.adm-dece-evaluador-table th:first-child,
.adm-dece-evaluador-table td:first-child{
  width:500px!important;
  min-width:500px!important;
  max-width:500px!important;
}
.adm-dece-actions-cell{padding:10px!important;}
.adm-dece-process-panel{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:12px;
  border-radius:24px;
  border:1px solid rgba(191,219,254,.95);
  background:
    radial-gradient(circle at 0% 0%,rgba(233,178,33,.16),transparent 34%),
    linear-gradient(180deg,#ffffff 0%,#f4f9ff 100%);
  box-shadow:0 18px 38px rgba(0,54,118,.10);
}
.adm-dece-process-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 12px 12px 14px;
  border-radius:18px;
  background:linear-gradient(135deg,#062E67 0%,#0054A6 72%,#3E92AC 100%);
  color:#fff;
  box-shadow:0 12px 24px rgba(0,84,166,.20);
}
.adm-dece-process-head span{
  display:block;
  margin-bottom:3px;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:1000;
  color:#FDE68A;
}
.adm-dece-process-head strong{
  display:block;
  font-size:14px;
  line-height:1.15;
  font-weight:1000;
  color:#fff;
}
.adm-dece-process-expediente{
  min-height:38px!important;
  padding:8px 12px!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.16)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.28)!important;
  box-shadow:none!important;
  white-space:nowrap!important;
}
.adm-dece-process-expediente:hover{background:rgba(255,255,255,.24)!important;}
.adm-dece-step{
  position:relative;
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:11px;
  align-items:start;
  padding:12px;
  border-radius:20px;
  border:1px solid #dbeafe;
  background:rgba(255,255,255,.92);
  box-shadow:0 12px 28px rgba(15,23,42,.06);
  overflow:hidden;
}
.adm-dece-step::before{
  content:'';
  position:absolute;
  inset:0 auto 0 0;
  width:6px;
  background:#94a3b8;
}
.adm-dece-step-badge{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:50%;
  border:1px solid #dbeafe;
  background:#f8fafc;
  color:#475569;
  font-weight:1000;
  font-size:14px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 8px 18px rgba(15,23,42,.08);
}
.adm-dece-step-body{min-width:0;position:relative;z-index:1;}
.adm-dece-step-title{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:6px;
}
.adm-dece-step-title strong{
  display:block;
  font-size:12px;
  line-height:1.15;
  font-weight:1000;
  color:#062E67;
  text-transform:uppercase;
  letter-spacing:.045em;
}
.adm-dece-step-title span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:24px;
  padding:5px 8px;
  border-radius:999px;
  border:1px solid #e2e8f0;
  background:#f8fafc;
  color:#64748b;
  font-size:9px;
  line-height:1;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.055em;
  white-space:nowrap;
}
.adm-dece-step p{
  margin:0 0 10px;
  color:#52637a;
  font-size:11px;
  line-height:1.35;
  font-weight:750;
}
.adm-dece-step-note{
  margin:-2px 0 9px;
  padding:8px 10px;
  border-radius:12px;
  background:#ecfdf5;
  border:1px solid #bbf7d0;
  color:#047857;
  font-size:10.5px;
  line-height:1.3;
  font-weight:900;
}
.adm-dece-observacion-registrada{
  margin:0 0 10px;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid #a7f3d0;
  background:linear-gradient(135deg,#ffffff 0%,#ecfdf5 100%);
  box-shadow:0 10px 22px rgba(16,185,129,.10);
}
.adm-dece-observacion-registrada span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-bottom:5px;
  padding:4px 9px;
  border-radius:999px;
  background:#d1fae5;
  border:1px solid #a7f3d0;
  color:#047857;
  font-size:9px;
  line-height:1;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.055em;
}
.adm-dece-observacion-registrada span::before{content:'💬';}
.adm-dece-observacion-registrada p{
  margin:0!important;
  color:#0f5132!important;
  font-size:11px!important;
  line-height:1.45!important;
  font-weight:800!important;
  white-space:normal;
  word-break:break-word;
}
.adm-dece-step.is-ok{
  border-color:#a7f3d0!important;
  background:linear-gradient(135deg,#ecfdf5 0%,#ffffff 76%)!important;
}
.adm-dece-step.is-ok::before{background:#10b981;}
.adm-dece-step.is-ok .adm-dece-step-badge{background:#10b981;border-color:#10b981;color:#fff;}
.adm-dece-step.is-ok .adm-dece-step-title strong{color:#047857!important;}
.adm-dece-step.is-ok .adm-dece-step-title span{background:#d1fae5;border-color:#a7f3d0;color:#047857;}
.adm-dece-step.is-progress,
.adm-dece-step.is-ready{
  border-color:#fed7aa!important;
  background:linear-gradient(135deg,#fff7ed 0%,#ffffff 76%)!important;
}
.adm-dece-step.is-progress::before{background:#f59e0b;}
.adm-dece-step.is-ready::before{background:#059669;}
.adm-dece-step.is-progress .adm-dece-step-badge{background:#f59e0b;border-color:#f59e0b;color:#fff;}
.adm-dece-step.is-ready .adm-dece-step-badge{background:#059669;border-color:#059669;color:#fff;}
.adm-dece-step.is-progress .adm-dece-step-title strong{color:#c2410c!important;}
.adm-dece-step.is-ready .adm-dece-step-title strong{color:#047857!important;}
.adm-dece-step.is-progress .adm-dece-step-title span{background:#ffedd5;border-color:#fed7aa;color:#c2410c;}
.adm-dece-step.is-ready .adm-dece-step-title span{background:#d1fae5;border-color:#a7f3d0;color:#047857;}
.adm-dece-step.is-danger{
  border-color:#fecaca!important;
  background:linear-gradient(135deg,#fef2f2 0%,#ffffff 76%)!important;
}
.adm-dece-step.is-danger::before{background:#ef4444;}
.adm-dece-step.is-danger .adm-dece-step-badge{background:#ef4444;border-color:#ef4444;color:#fff;}
.adm-dece-step.is-danger .adm-dece-step-title strong{color:#b91c1c!important;}
.adm-dece-step.is-danger .adm-dece-step-title span{background:#fee2e2;border-color:#fecaca;color:#b91c1c;}
.adm-dece-step.is-pending{
  border-color:#cbd5e1!important;
  background:linear-gradient(135deg,#f8fafc 0%,#ffffff 78%)!important;
}
.adm-dece-step.is-neutral{
  border-color:#c7d2fe!important;
  background:linear-gradient(135deg,#eef2ff 0%,#ffffff 78%)!important;
}
.adm-dece-step.is-neutral::before{background:#6366f1;}
.adm-dece-step.is-neutral .adm-dece-step-badge{background:#6366f1;border-color:#6366f1;color:#fff;}
.adm-dece-step.is-neutral .adm-dece-step-title strong{color:#3730a3!important;}
.adm-dece-step.is-neutral .adm-dece-step-title span{background:#e0e7ff;border-color:#c7d2fe;color:#3730a3;}
.adm-dece-step .adm-dece-action-form-asistencia{
  grid-template-columns:120px minmax(0,1fr);
  gap:8px;
}
.adm-dece-step .adm-dece-action-form-asistencia button{grid-column:1 / -1;}
.adm-dece-step .adm-dece-action-form-observacion{
  grid-template-columns:minmax(0,1fr) 128px;
  gap:8px;
}
.adm-dece-step select,
.adm-dece-step textarea{
  border-radius:14px!important;
  border-color:#c7dcf4!important;
  background:#fff!important;
  min-height:44px;
}
.adm-dece-step textarea{min-height:50px!important;}
.adm-dece-step .adm-btn-light{
  min-height:44px!important;
  border-radius:16px!important;
  font-weight:1000!important;
}
.adm-dece-step-eval-summary{
  display:flex;
  align-items:center;
  gap:7px;
  width:max-content;
  max-width:100%;
  margin:-2px 0 9px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid #dbeafe;
  background:#f8fbff;
  color:#0054A6;
  box-shadow:0 8px 16px rgba(0,84,166,.06);
}
.adm-dece-step-eval-summary strong{font-size:15px;font-weight:1000;line-height:1;color:#0054A6;}
.adm-dece-step-eval-summary span{font-size:10px;font-weight:1000;text-transform:uppercase;letter-spacing:.04em;color:#64748b;}
.adm-dece-step-evaluaciones.is-ok .adm-dece-step-eval-summary{background:#d1fae5;border-color:#a7f3d0;color:#047857;}
.adm-dece-step-evaluaciones.is-ok .adm-dece-step-eval-summary strong,
.adm-dece-step-evaluaciones.is-ok .adm-dece-step-eval-summary span{color:#047857;}
.adm-dece-step-final .adm-dece-btn-finalizar{
  width:100%;
  min-height:48px!important;
  border-radius:18px!important;
  justify-content:center!important;
  font-size:12px!important;
  letter-spacing:.02em;
}
.adm-dece-step-final .adm-dece-btn-finalizar.is-ready{
  background:linear-gradient(135deg,#059669,#10b981)!important;
  border-color:#10b981!important;
  color:#fff!important;
  box-shadow:0 16px 30px rgba(16,185,129,.22)!important;
}
.adm-dece-step-final .adm-dece-btn-finalizar:disabled{
  background:linear-gradient(135deg,#e2e8f0,#cbd5e1)!important;
  border-color:#cbd5e1!important;
  color:#64748b!important;
  cursor:not-allowed!important;
  box-shadow:none!important;
}
.adm-dece-step .adm-dece-eval-pill-list{margin-top:8px;}
.adm-dece-step .adm-dece-eval-pill{
  flex:1 1 100%;
  min-height:54px!important;
  border-radius:16px!important;
}
@media(max-width:1100px){
  .adm-dece-evaluador-table{min-width:2050px!important;width:2050px!important;}
  .adm-dece-evaluador-table th:first-child,
  .adm-dece-evaluador-table td:first-child{width:450px!important;min-width:450px!important;max-width:450px!important;}
  .adm-dece-step .adm-dece-action-form-asistencia,
  .adm-dece-step .adm-dece-action-form-observacion{grid-template-columns:1fr!important;}
}


/* Modal moderno para confirmar cierre de etapa DECE */
.adm-dece-finalizar-confirm[hidden]{display:none!important;}
.adm-dece-finalizar-confirm{position:fixed;inset:0;z-index:2600;display:flex;align-items:center;justify-content:center;padding:22px;}
.adm-dece-finalizar-card{position:relative;width:min(94vw,860px);max-height:92vh;overflow:auto;background:linear-gradient(145deg,#ffffff 0%,#f8fbff 58%,#fff8dc 100%);border:1px solid rgba(191,219,254,.95);border-radius:30px;box-shadow:0 32px 90px rgba(15,23,42,.35);padding:24px;}
.adm-dece-finalizar-close{position:absolute;right:18px;top:18px;width:42px;height:42px;border:0;border-radius:16px;background:#fff;color:#0b3b78;font-size:28px;line-height:1;cursor:pointer;box-shadow:0 10px 28px rgba(15,23,42,.12);transition:.18s ease;}
.adm-dece-finalizar-close:hover{transform:translateY(-1px);background:#eff6ff;color:#dc2626;}
.adm-dece-finalizar-head{display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:start;padding:6px 54px 18px 4px;border-bottom:1px solid rgba(191,219,254,.85);}
.adm-dece-finalizar-icon{width:58px;height:58px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(135deg,#0054A6,#16a34a);color:#fff;font-size:25px;box-shadow:0 18px 38px rgba(0,84,166,.22);}
.adm-dece-finalizar-head span{display:inline-flex;align-items:center;width:max-content;margin-bottom:7px;padding:7px 13px;border-radius:999px;background:#facc15;color:#0054A6;font-size:11px;font-weight:1000;text-transform:uppercase;letter-spacing:.08em;}
.adm-dece-finalizar-head h3{margin:0;color:#062E67;font-size:28px;line-height:1.13;font-weight:1000;}
.adm-dece-finalizar-head p{margin:8px 0 0;color:#475569;font-size:15px;font-weight:750;line-height:1.45;}
.adm-dece-finalizar-summary{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:12px;margin:18px 0;}
.adm-dece-finalizar-summary div{border:1px solid #dbeafe;background:rgba(255,255,255,.88);border-radius:18px;padding:14px 16px;box-shadow:0 12px 28px rgba(0,84,166,.07);}
.adm-dece-finalizar-summary span{display:block;color:#64748b;font-size:11px;font-weight:1000;text-transform:uppercase;letter-spacing:.07em;margin-bottom:5px;}
.adm-dece-finalizar-summary strong{display:block;color:#062E67;font-size:15px;font-weight:1000;line-height:1.22;text-transform:uppercase;}
.adm-dece-finalizar-warning{display:grid;gap:4px;margin:4px 0 18px;padding:16px 18px;border-radius:20px;border:1px solid #fed7aa;background:linear-gradient(135deg,#fff7ed,#fffbeb);color:#9a3412;}
.adm-dece-finalizar-warning strong{font-size:14px;font-weight:1000;text-transform:uppercase;letter-spacing:.04em;}
.adm-dece-finalizar-warning p{margin:0;font-weight:800;line-height:1.42;}
.adm-dece-finalizar-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding-top:8px;}
.adm-dece-finalizar-actions .adm-btn{min-width:170px;min-height:48px;border-radius:999px;font-weight:1000;}
.adm-dece-finalizar-ok{background:linear-gradient(135deg,#059669,#10b981)!important;border-color:#059669!important;box-shadow:0 18px 38px rgba(16,185,129,.28)!important;}
.adm-dece-finalizar-ok:hover{filter:brightness(1.03);transform:translateY(-1px);}
@media(max-width:760px){
  .adm-dece-finalizar-card{padding:18px;border-radius:24px;}
  .adm-dece-finalizar-head{grid-template-columns:1fr;padding-right:48px;}
  .adm-dece-finalizar-head h3{font-size:23px;}
  .adm-dece-finalizar-summary{grid-template-columns:1fr;}
  .adm-dece-finalizar-actions{flex-direction:column-reverse;align-items:stretch;}
  .adm-dece-finalizar-actions .adm-btn{width:100%;}
}

/* Fase 3.2 - DECE Evaluador: Proceso DECE colapsable por aspirante */
.adm-dece-process-panel.is-collapsed{
  gap:8px;
  padding:10px;
  box-shadow:0 12px 24px rgba(15,23,42,.08);
}
.adm-dece-process-panel.is-pendiente{
  border-color:#cbd5e1;
  background:
    radial-gradient(circle at 0% 0%,rgba(148,163,184,.16),transparent 35%),
    linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
}
.adm-dece-process-panel.is-finalizado{
  border-color:#86efac;
  background:
    radial-gradient(circle at 0% 0%,rgba(16,185,129,.16),transparent 35%),
    linear-gradient(180deg,#ecfdf5 0%,#ffffff 100%);
}
.adm-dece-process-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto auto auto;
  align-items:center!important;
  padding:10px!important;
  border-radius:20px!important;
}
.adm-dece-process-panel.is-pendiente .adm-dece-process-head{
  background:linear-gradient(135deg,#334155 0%,#475569 55%,#64748b 100%)!important;
  box-shadow:0 12px 24px rgba(51,65,85,.18)!important;
}
.adm-dece-process-panel.is-finalizado .adm-dece-process-head{
  background:linear-gradient(135deg,#047857 0%,#10b981 58%,#3E92AC 100%)!important;
  box-shadow:0 12px 24px rgba(16,185,129,.22)!important;
}
.adm-dece-process-toggle{
  width:100%;
  min-width:0;
  padding:0;
  border:0;
  background:transparent;
  color:#fff;
  text-align:left;
  cursor:pointer;
}
.adm-dece-process-toggle span{
  display:inline-flex!important;
  align-items:center;
  width:max-content;
  margin:0 0 3px!important;
  padding:4px 8px;
  border-radius:999px;
  background:rgba(253,230,138,.18);
  border:1px solid rgba(253,230,138,.28);
  color:#FDE68A!important;
  font-size:9px!important;
  line-height:1!important;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:1000;
}
.adm-dece-process-toggle strong{
  display:block;
  color:#fff!important;
  font-size:14px!important;
  line-height:1.12;
  font-weight:1000;
}
.adm-dece-process-toggle small{
  display:block;
  margin-top:3px;
  color:rgba(255,255,255,.82);
  font-size:10.5px;
  line-height:1.2;
  font-weight:850;
}
.adm-dece-process-head-meta{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:5px;
  min-width:88px;
}
.adm-dece-process-head-meta .adm-dece-process-status{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  margin:0!important;
  padding:6px 10px!important;
  border-radius:999px;
  font-size:9px!important;
  line-height:1!important;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.065em;
  white-space:nowrap;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.28);
  background:rgba(255,255,255,.16);
}
.adm-dece-process-head-meta .adm-dece-process-status.is-finalizado{
  background:#d1fae5!important;
  border-color:#a7f3d0!important;
  color:#047857!important;
}
.adm-dece-process-head-meta .adm-dece-process-status.is-pendiente{
  background:#f1f5f9!important;
  border-color:#e2e8f0!important;
  color:#334155!important;
}
.adm-dece-process-head-meta em{
  font-style:normal;
  color:rgba(255,255,255,.82);
  font-size:10px;
  font-weight:1000;
  white-space:nowrap;
}
.adm-dece-process-open{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.28);
  border-radius:14px;
  background:rgba(255,255,255,.15);
  color:#fff;
  font-size:18px;
  line-height:1;
  font-weight:1000;
  cursor:pointer;
  transition:.18s ease;
}
.adm-dece-process-open:hover,
.adm-dece-process-toggle:hover + .adm-dece-process-head-meta + .adm-dece-process-expediente + .adm-dece-process-open{
  background:rgba(255,255,255,.24);
  transform:translateY(-1px);
}
.adm-dece-process-panel:not(.is-collapsed) .adm-dece-process-open span{
  transform:rotate(180deg);
}
.adm-dece-process-expediente{
  min-height:38px!important;
  border-radius:14px!important;
}
.adm-dece-process-collapsed-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px;
  padding:8px;
  border-radius:18px;
  border:1px solid #dbeafe;
  background:rgba(255,255,255,.78);
}
.adm-dece-process-collapsed-summary span{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:30px;
  padding:6px 7px;
  border-radius:12px;
  border:1px solid #e2e8f0;
  background:#f8fafc;
  color:#475569;
  font-size:9px;
  line-height:1.12;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.035em;
  text-align:center;
}
.adm-dece-process-collapsed-summary span b{
  display:inline-grid;
  place-items:center;
  width:18px;
  height:18px;
  border-radius:999px;
  background:#e2e8f0;
  color:#334155;
  font-size:10px;
  flex:0 0 auto;
}
.adm-dece-process-collapsed-summary span.is-ok{background:#dcfce7;border-color:#86efac;color:#047857;}
.adm-dece-process-collapsed-summary span.is-ok b{background:#10b981;color:#fff;}
.adm-dece-process-collapsed-summary span.is-ready{background:#d1fae5;border-color:#6ee7b7;color:#047857;}
.adm-dece-process-collapsed-summary span.is-ready b{background:#059669;color:#fff;}
.adm-dece-process-collapsed-summary span.is-progress{background:#ffedd5;border-color:#fed7aa;color:#c2410c;}
.adm-dece-process-collapsed-summary span.is-progress b{background:#f59e0b;color:#fff;}
.adm-dece-process-collapsed-summary span.is-danger{background:#fee2e2;border-color:#fecaca;color:#b91c1c;}
.adm-dece-process-collapsed-summary span.is-danger b{background:#ef4444;color:#fff;}
.adm-dece-process-collapsed-summary span.is-neutral{background:#eef2ff;border-color:#c7d2fe;color:#3730a3;}
.adm-dece-process-collapsed-summary span.is-neutral b{background:#6366f1;color:#fff;}
.adm-dece-process-mini-progress{
  grid-column:1 / -1;
  height:7px;
  border-radius:999px;
  overflow:hidden;
  background:#e2e8f0;
}
.adm-dece-process-mini-progress i{
  display:block;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#0054A6,#10b981);
}
.adm-dece-process-panel.is-finalizado .adm-dece-process-mini-progress i{background:linear-gradient(90deg,#047857,#10b981);}
.adm-dece-process-body{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.adm-dece-process-body[hidden]{display:none!important;}
.adm-dece-process-panel:not(.is-collapsed) .adm-dece-process-collapsed-summary{
  background:#ffffff;
  border-color:#bfdbfe;
}
@media(max-width:1100px){
  .adm-dece-process-head{grid-template-columns:minmax(0,1fr) auto;}
  .adm-dece-process-head-meta{display:none;}
  .adm-dece-process-expediente{grid-column:1 / 2;justify-content:center!important;}
  .adm-dece-process-open{grid-column:2 / 3;grid-row:1 / 3;align-self:stretch;height:auto;}
  .adm-dece-process-collapsed-summary{grid-template-columns:repeat(2,minmax(0,1fr));}
}
.adm-dece-process-head .adm-dece-process-expediente span,
.adm-dece-process-head .adm-dece-process-open span{
  display:inline!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:inherit!important;
  font-size:inherit!important;
  line-height:1!important;
  letter-spacing:normal!important;
  text-transform:none!important;
}


/* =========================================================
   Gestión de cupos por curso/grado · Secretaría / Admin General
   ========================================================= */
.adm-cupos-manager{
  margin:22px 0;
  padding:20px;
  border:1px solid rgba(0,84,166,.16);
  border-radius:22px;
  background:linear-gradient(180deg,#ffffff,#f7fbff);
  box-shadow:0 18px 36px rgba(6,46,103,.08);
}
.adm-cupos-manager-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
}
.adm-cupos-manager-title{display:flex;align-items:flex-start;gap:14px;min-width:0;}
.adm-cupos-manager-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:52px;
  height:52px;
  flex:0 0 52px;
  border-radius:17px;
  background:linear-gradient(135deg,#eaf4ff,#fff4cc);
  border:1px solid rgba(0,84,166,.12);
  font-size:27px;
}
.adm-cupos-manager-title h3{margin:3px 0 5px;color:#062e67;font-size:21px;}
.adm-cupos-manager-title p{margin:0;color:#667c91;line-height:1.5;max-width:820px;}
.adm-cupos-manager-summary{display:grid;grid-template-columns:1fr;gap:8px;min-width:205px;}
.adm-cupos-manager-summary span{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:38px;
  padding:8px 12px;
  border-radius:13px;
  background:#fff;
  border:1px solid #dbe8f3;
  color:#60758a;
  font-size:12px;
  font-weight:800;
}
.adm-cupos-manager-summary strong{color:#062e67;font-size:14px;}
.adm-cupos-alert{margin:0 0 15px;padding:12px 14px;border-radius:14px;font-weight:800;}
.adm-cupos-alert.is-ok{background:#e9f8ef;border:1px solid #bfe8d0;color:#0b6b3e;}
.adm-cupos-alert.is-error{background:#fff1f2;border:1px solid #fecdd3;color:#b91c1c;}
.adm-cupos-table-wrap{
  max-height:560px;
  border:1px solid #dce8f3;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 24px rgba(6,46,103,.04);
}
.adm-cupos-edit-table{
  margin:0;
  min-width:900px;
  table-layout:fixed;
}
.adm-cupos-edit-table col.adm-cupos-col-grado{width:34%;}
.adm-cupos-edit-table col.adm-cupos-col-actual{width:13%;}
.adm-cupos-edit-table col.adm-cupos-col-editar{width:25%;}
.adm-cupos-edit-table col.adm-cupos-col-admitidos{width:12%;}
.adm-cupos-edit-table col.adm-cupos-col-restantes{width:16%;}
.adm-cupos-edit-table thead th{
  position:sticky;
  top:0;
  z-index:2;
  padding:14px 16px;
  background:#eef5fb!important;
  color:#315673!important;
  border-bottom:1px solid #dce8f3;
  font-size:11px;
  line-height:1.25;
  letter-spacing:.55px;
  white-space:normal;
}
.adm-cupos-edit-table .adm-cupos-th-center{text-align:center;}
.adm-cupos-edit-table tbody td{
  padding:13px 16px;
  transition:background .16s ease,border-color .16s ease;
}
.adm-cupos-edit-table tbody tr:last-child td{border-bottom:0;}
.adm-cupos-edit-table tbody tr:hover td{background:#f8fbfe;}
.adm-cupos-edit-table tr.is-changed td{background:#fffaf0;}
.adm-cupos-edit-table tr.is-changed:hover td{background:#fff7e5;}
.adm-cupos-grade-cell{padding-left:18px!important;}
.adm-cupos-grade-name{
  color:#143b5d;
  font-size:13px;
  font-weight:900;
  line-height:1.35;
}
.adm-cupos-grade-id{
  display:inline-flex;
  margin-top:6px;
  padding:3px 7px;
  border-radius:999px;
  background:#f1f6fb;
  color:#7890a6;
  font-size:9px;
  font-weight:900;
  letter-spacing:.35px;
}
.adm-cupos-number-cell{text-align:center;}
.adm-cupos-value{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  height:34px;
  padding:0 11px;
  border-radius:11px;
  font-size:14px;
  font-weight:900;
  line-height:1;
}
.adm-cupos-value-current{background:#eef5fb;color:#164b78;border:1px solid #d9e7f3;}
.adm-cupos-value-admitted{background:#f4f1ff;color:#6046a8;border:1px solid #e3dcfa;}
.adm-cupos-value-remaining{transition:background .16s ease,color .16s ease,border-color .16s ease;}
.adm-cupos-value-remaining.is-positive{background:#eaf8f0;color:#0b6b3e;border:1px solid #c8ead7;}
.adm-cupos-value-remaining.is-zero{background:#f4f6f8;color:#6f8294;border:1px solid #e1e7ec;}
.adm-cupos-value-remaining.is-over{background:#fff0f0;color:#b42318;border:1px solid #f2c8c5;}
.adm-cupos-editor-cell{text-align:center;}
.adm-cupo-editor{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  width:100%;
}
.adm-cupo-editor-caption{
  color:#71879b;
  font-size:9px;
  font-weight:900;
  letter-spacing:.45px;
  text-transform:uppercase;
}
.adm-cupo-stepper{
  display:inline-grid;
  grid-template-columns:38px minmax(70px,86px) 38px;
  align-items:center;
  overflow:hidden;
  border:1px solid #cad9e6;
  border-radius:13px;
  background:#fff;
  box-shadow:0 6px 14px rgba(6,46,103,.05);
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.adm-cupo-stepper:focus-within{
  border-color:#0054a6;
  box-shadow:0 0 0 3px rgba(0,84,166,.11),0 8px 18px rgba(6,46,103,.07);
}
.adm-cupo-stepper-btn{
  width:38px;
  height:40px;
  padding:0;
  border:0;
  background:#f2f7fc;
  color:#24577f;
  font-size:20px;
  font-weight:900;
  line-height:1;
  cursor:pointer;
  transition:background .14s ease,color .14s ease;
}
.adm-cupo-stepper-btn:first-child{border-right:1px solid #dce7f0;}
.adm-cupo-stepper-btn:last-child{border-left:1px solid #dce7f0;}
.adm-cupo-stepper-btn:hover{background:#e5f1fb;color:#0054a6;}
.adm-cupo-stepper-btn:disabled{background:#f7f9fb;color:#b5c1cc;cursor:not-allowed;}
.adm-cupo-stepper-btn:focus{position:relative;z-index:1;outline:2px solid rgba(0,84,166,.25);outline-offset:-2px;}
.adm-cupo-stepper input{
  width:100%;
  height:40px;
  padding:0 8px;
  border:0;
  border-radius:0;
  background:#fff;
  color:#123e63;
  font-size:16px;
  font-weight:900;
  text-align:center;
  outline:none;
  appearance:textfield;
  -moz-appearance:textfield;
}
.adm-cupo-stepper input::-webkit-outer-spin-button,
.adm-cupo-stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}
.adm-cupo-stepper.is-changed{border-color:#e9b221;background:#fffdf4;box-shadow:0 0 0 3px rgba(233,178,33,.12);}
.adm-cupo-stepper input.is-changed{background:#fffdf4;}
.adm-cupo-stepper.is-invalid{border-color:#dc2626;background:#fff5f5;box-shadow:0 0 0 3px rgba(220,38,38,.09);}
.adm-cupo-stepper input.is-invalid{background:#fff5f5;color:#b42318;}
.adm-cupos-manager-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:16px;
  padding-top:15px;
  border-top:1px dashed rgba(0,84,166,.18);
}
.adm-cupos-manager-actions p{margin:0;color:#687d91;font-size:12px;line-height:1.45;}
.adm-cupos-manager-actions>div{display:flex;gap:10px;flex:0 0 auto;}
@media(max-width:900px){
  .adm-cupos-manager-head,.adm-cupos-manager-actions{flex-direction:column;align-items:stretch;}
  .adm-cupos-manager-summary{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;}
  .adm-cupos-manager-actions>div{width:100%;}
  .adm-cupos-manager-actions .adm-btn{flex:1 1 50%;}
}
@media(max-width:760px){
  .adm-cupos-edit-table{min-width:790px;}
  .adm-cupos-edit-table col.adm-cupos-col-grado{width:31%;}
  .adm-cupos-edit-table col.adm-cupos-col-editar{width:28%;}
}
@media(max-width:560px){
  .adm-cupos-manager{padding:15px;border-radius:18px;}
  .adm-cupos-manager-title{display:block;}
  .adm-cupos-manager-icon{margin-bottom:10px;}
  .adm-cupos-manager-summary{grid-template-columns:1fr;}
  .adm-cupos-manager-actions>div{flex-direction:column;}
  .adm-cupos-manager-actions .adm-btn{width:100%;}
  .adm-cupos-table-wrap{border-radius:15px;}
  .adm-cupos-edit-table{min-width:760px;}
}

/* Fase 5.0 · Equipo Líder */
.adm-equipo-dashboard-card,.adm-equipo-analysis-card{overflow:visible;}
.adm-equipo-kpi-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin:18px 0 26px;
}
.adm-equipo-kpi-card{
  position:relative;
  min-height:116px;
  padding:18px 18px 16px;
  border:1px solid #dce8f2;
  border-radius:18px;
  background:linear-gradient(145deg,#fff 0%,#f7fbff 100%);
  box-shadow:0 9px 24px rgba(5,50,91,.07);
  overflow:hidden;
}
.adm-equipo-kpi-card:after{
  content:"";
  position:absolute;
  right:-20px;
  bottom:-24px;
  width:78px;
  height:78px;
  border-radius:50%;
  background:rgba(0,84,166,.055);
}
.adm-equipo-kpi-card i{display:block;margin-bottom:9px;font-size:25px;font-style:normal;line-height:1;}
.adm-equipo-kpi-card span{display:block;max-width:88%;color:#61778b;font-size:12px;font-weight:800;line-height:1.35;text-transform:uppercase;letter-spacing:.035em;}
.adm-equipo-kpi-card strong{position:relative;z-index:1;display:block;margin-top:7px;color:#0a477c;font-size:28px;font-weight:900;line-height:1;}
.adm-equipo-kpi-card.is-average{border-color:rgba(233,178,33,.55);background:linear-gradient(145deg,#fffdf4,#fff7d7);}
.adm-equipo-kpi-card.is-average strong{color:#9a6500;}
.adm-equipo-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:8px 0 13px;padding:14px 0 11px;border-bottom:1px solid #e2ebf3;}
.adm-equipo-section-heading div span{display:block;color:#6b8093;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;}
.adm-equipo-section-heading div strong{display:block;margin-top:3px;color:#123f64;font-size:18px;}
.adm-equipo-section-heading small{max-width:430px;color:#6d8295;text-align:right;}
.adm-equipo-info-strip{margin:16px 0 18px;}
.adm-equipo-cupos-table td,.adm-equipo-aspirantes-table td{vertical-align:middle;}
.adm-equipo-aspirantes-table{min-width:1820px;}
.adm-equipo-occupancy{width:130px;max-width:100%;height:8px;margin-bottom:5px;border-radius:999px;background:#e5edf3;overflow:hidden;}
.adm-equipo-occupancy span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#15905a,#e9b221);transition:width .25s ease;}
.adm-equipo-semaforo,.adm-equipo-decision,.adm-equipo-status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:28px;
  padding:5px 10px;
  border:1px solid transparent;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
  line-height:1.15;
  text-transform:uppercase;
  white-space:nowrap;
}
.adm-equipo-semaforo i{width:9px;height:9px;border-radius:50%;background:#93a4b2;box-shadow:0 0 0 4px rgba(147,164,178,.15);}
.adm-equipo-semaforo.is-green{color:#11683e;background:#eaf8f0;border-color:#bde5cd;}.adm-equipo-semaforo.is-green i{background:#1f9b5d;box-shadow:0 0 0 4px rgba(31,155,93,.15);}
.adm-equipo-semaforo.is-yellow{color:#856000;background:#fff7d8;border-color:#eedb8b;}.adm-equipo-semaforo.is-yellow i{background:#e9b221;box-shadow:0 0 0 4px rgba(233,178,33,.17);}
.adm-equipo-semaforo.is-red{color:#a12d2d;background:#fff0f0;border-color:#efc4c4;}.adm-equipo-semaforo.is-red i{background:#d93e3e;box-shadow:0 0 0 4px rgba(217,62,62,.14);}
.adm-equipo-semaforo.is-neutral{color:#637789;background:#f1f5f8;border-color:#dae3ea;}
.adm-equipo-decision.is-admitted{color:#11683e;background:#eaf8f0;border-color:#bde5cd;}
.adm-equipo-decision.is-waiting{color:#856000;background:#fff7d8;border-color:#eedb8b;}
.adm-equipo-decision.is-rejected{color:#a12d2d;background:#fff0f0;border-color:#efc4c4;}
.adm-equipo-decision.is-pending{color:#536b80;background:#eff4f8;border-color:#d7e2eb;}

.adm-equipo-modal,.adm-equipo-confirm-modal{position:fixed;inset:0;z-index:10080;display:flex;align-items:center;justify-content:center;padding:20px;}
.adm-equipo-modal[hidden],.adm-equipo-confirm-modal[hidden]{display:none!important;}
.adm-equipo-modal-backdrop{position:absolute;inset:0;background:rgba(3,25,45,.68);backdrop-filter:blur(3px);}
.adm-equipo-dialog{position:relative;z-index:1;display:flex;flex-direction:column;width:min(1280px,96vw);max-height:94vh;border:1px solid rgba(255,255,255,.32);border-radius:24px;background:#f4f8fb;box-shadow:0 30px 80px rgba(2,22,40,.35);overflow:hidden;}
.adm-equipo-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 25px;background:linear-gradient(125deg,#073f72,#0067b7);color:#fff;}
.adm-equipo-modal-header .adm-section-kicker{color:#dbeeff;}.adm-equipo-modal-header h3{margin:4px 0 3px;color:#fff;font-size:23px;}.adm-equipo-modal-header p{margin:0;color:#d7e9f7;}
.adm-equipo-modal-header .adm-expediente-close{flex:0 0 auto;color:#fff;background:rgba(255,255,255,.13);border-color:rgba(255,255,255,.25);}
.adm-equipo-modal-alert{position:relative;z-index:2;margin:14px 22px 0;padding:12px 15px;border-radius:12px;font-weight:800;}
.adm-equipo-modal-alert.is-ok{color:#11683e;background:#eaf8f0;border:1px solid #bde5cd;}.adm-equipo-modal-alert.is-error{color:#a12d2d;background:#fff0f0;border:1px solid #efc4c4;}
.adm-equipo-modal-body{padding:21px 22px 28px;overflow:auto;}
.adm-equipo-analysis-shell{display:grid;gap:18px;}
.adm-equipo-person-summary{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.75fr);gap:17px;}
.adm-equipo-person-summary>div,.adm-equipo-score-hero,.adm-equipo-detail-section,.adm-equipo-decision-panel{border:1px solid #dce7ef;border-radius:18px;background:#fff;box-shadow:0 7px 18px rgba(8,53,91,.055);}
.adm-equipo-person-summary>div:first-child{padding:19px 21px;}.adm-equipo-person-summary h4{margin:0 0 5px;color:#123e63;font-size:22px;}.adm-equipo-person-summary p{margin:0 0 13px;color:#657b8e;}
.adm-equipo-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 15px;}.adm-equipo-info-grid div{padding-top:8px;border-top:1px dashed #e1e9ef;}.adm-equipo-info-grid span{display:block;color:#75899a;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.055em;}.adm-equipo-info-grid strong{display:block;margin-top:3px;color:#1b4668;font-size:13px;}
.adm-equipo-score-hero{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;text-align:center;background:linear-gradient(145deg,#eff7fd,#fff);}.adm-equipo-score-hero>span{color:#698094;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.07em;}.adm-equipo-score-hero>strong{margin:8px 0 12px;color:#075596;font-size:48px;line-height:1;}.adm-equipo-score-hero small{display:block;margin-top:10px;color:#6d8293;line-height:1.4;}
.adm-equipo-missing{padding:13px 15px;border:1px solid #efd69f;border-radius:13px;color:#78560c;background:#fff9e8;font-weight:700;line-height:1.45;}
.adm-equipo-detail-section{padding:18px 19px;overflow:hidden;}
.adm-equipo-detail-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px;padding-bottom:11px;border-bottom:1px solid #e3ebf1;}.adm-equipo-detail-head h4{margin:0;color:#133f63;font-size:17px;}.adm-equipo-detail-head p{margin:3px 0 0;color:#6c8193;font-size:12px;}.adm-equipo-status.is-ok{color:#11683e;background:#eaf8f0;border-color:#bde5cd;}.adm-equipo-status.is-pending{color:#856000;background:#fff7d8;border-color:#eedb8b;}.adm-equipo-status.is-error{color:#a12d2d;background:#fff0f0;border-color:#efc4c4;}
.adm-equipo-area-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:13px;}.adm-equipo-area-meta div{padding:11px 12px;border-radius:12px;background:#f4f8fb;border:1px solid #e0e9f0;}.adm-equipo-area-meta span{display:block;color:#76899a;font-size:10px;font-weight:900;text-transform:uppercase;}.adm-equipo-area-meta strong{display:block;margin-top:4px;color:#184566;}
.adm-equipo-detail-section .adm-table-wrap{border-radius:13px;}.adm-equipo-detail-section .adm-table{min-width:760px;}
.adm-equipo-secretaria-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;}.adm-equipo-secretaria-grid div{padding:13px;border:1px solid #e0e9f0;border-radius:13px;background:#f8fbfd;}.adm-equipo-secretaria-grid span{display:block;color:#718696;font-size:10px;font-weight:900;text-transform:uppercase;}.adm-equipo-secretaria-grid strong{display:block;margin-top:5px;color:#173f60;}
.adm-equipo-two-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;}
.adm-equipo-observations{display:grid;gap:9px;}.adm-equipo-observations article{padding:12px 13px;border:1px solid #e0e8ef;border-radius:12px;background:#f8fbfd;}.adm-equipo-observations strong{display:block;margin-bottom:4px;color:#1c4a6e;font-size:12px;}.adm-equipo-observations p{margin:0;color:#61788b;line-height:1.45;}
.adm-equipo-decision-panel{padding:20px;border-color:#bfd8ea;background:linear-gradient(145deg,#fff,#f6fbff);}
.adm-equipo-decision-panel h4{margin:0 0 5px;color:#0d4674;font-size:19px;}.adm-equipo-decision-panel>p{margin:0 0 16px;color:#647c90;}
.adm-equipo-decision-grid{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr);gap:14px;}.adm-equipo-decision-grid label{display:flex;flex-direction:column;gap:6px;color:#234d6d;font-size:12px;font-weight:900;}.adm-equipo-decision-grid label.is-full{grid-column:1/-1;}.adm-equipo-decision-grid select,.adm-equipo-decision-grid textarea{width:100%;padding:11px 12px;border:1px solid #cddce8;border-radius:11px;background:#fff;color:#183e5d;outline:none;}.adm-equipo-decision-grid select:focus,.adm-equipo-decision-grid textarea:focus{border-color:#0054a6;box-shadow:0 0 0 3px rgba(0,84,166,.11);}
.adm-equipo-decision-actions{display:flex;align-items:center;justify-content:flex-end;gap:11px;margin-top:15px;padding-top:14px;border-top:1px dashed #d6e2eb;}

.adm-equipo-confirm-dialog{position:relative;z-index:1;width:min(560px,94vw);padding:23px;border:1px solid rgba(255,255,255,.5);border-radius:22px;background:#fff;box-shadow:0 30px 80px rgba(2,22,40,.35);}
.adm-equipo-confirm-dialog>header{display:flex;align-items:center;gap:13px;margin-bottom:17px;}.adm-equipo-confirm-dialog>header>i{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#edf6fd;font-size:24px;font-style:normal;}.adm-equipo-confirm-dialog header span{display:block;color:#6e8293;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.07em;}.adm-equipo-confirm-dialog h3{margin:2px 0 0;color:#143f61;font-size:21px;}
.adm-equipo-confirm-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}.adm-equipo-confirm-summary>div{padding:11px 12px;border:1px solid #e0e8ef;border-radius:12px;background:#f7fafc;}.adm-equipo-confirm-summary span{display:block;color:#778a99;font-size:10px;font-weight:900;text-transform:uppercase;}.adm-equipo-confirm-summary strong{display:block;margin-top:4px;color:#173f60;}
.adm-equipo-confirm-warning{margin:15px 0;padding:12px 13px;border:1px solid #efd69f;border-radius:12px;color:#76550e;background:#fff9e8;font-size:12px;font-weight:700;line-height:1.45;}.adm-equipo-confirm-dialog footer{display:flex;justify-content:flex-end;gap:10px;padding-top:2px;}

@media(max-width:1100px){
  .adm-equipo-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  .adm-equipo-person-summary{grid-template-columns:1fr;}
  .adm-equipo-score-hero{min-height:200px;}
  .adm-equipo-area-meta,.adm-equipo-secretaria-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:760px){
  .adm-equipo-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .adm-equipo-kpi-card{min-height:106px;padding:15px;}.adm-equipo-kpi-card strong{font-size:24px;}
  .adm-equipo-section-heading,.adm-equipo-detail-head{align-items:flex-start;flex-direction:column;}.adm-equipo-section-heading small{text-align:left;}
  .adm-equipo-modal{padding:0;align-items:stretch;}.adm-equipo-dialog{width:100%;max-height:100vh;border-radius:0;}.adm-equipo-modal-header{padding:18px 17px;}.adm-equipo-modal-header h3{font-size:19px;}.adm-equipo-modal-body{padding:15px;}
  .adm-equipo-info-grid,.adm-equipo-area-meta,.adm-equipo-secretaria-grid,.adm-equipo-two-column,.adm-equipo-decision-grid{grid-template-columns:1fr;}.adm-equipo-decision-grid label.is-full{grid-column:auto;}
  .adm-equipo-detail-section,.adm-equipo-decision-panel{padding:15px;}
  .adm-equipo-confirm-summary{grid-template-columns:1fr;}.adm-equipo-confirm-dialog{padding:18px;}.adm-equipo-confirm-dialog footer{flex-direction:column-reverse;}.adm-equipo-confirm-dialog footer .adm-btn{width:100%;}
  .adm-equipo-decision-actions{align-items:stretch;flex-direction:column;}.adm-equipo-decision-actions .adm-btn{width:100%;}
}
@media(max-width:480px){.adm-equipo-kpi-grid{grid-template-columns:1fr;}.adm-equipo-kpi-card{min-height:96px;}.adm-equipo-score-hero>strong{font-size:40px;}}

/* Ajustes estructurales del modal Equipo Líder */
.adm-equipo-person-summary{grid-template-columns:repeat(4,minmax(0,1fr));}
.adm-equipo-person-summary>article{
  padding:16px 17px;
  border:1px solid #dce7ef;
  border-radius:16px;
  background:#fff;
  box-shadow:0 7px 18px rgba(8,53,91,.05);
}
.adm-equipo-person-summary>article>span,.adm-equipo-info-grid>article>span,.adm-equipo-secretaria-grid>article>span{
  display:block;color:#75899a;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.055em;
}
.adm-equipo-person-summary>article>strong{display:block;margin-top:5px;color:#163f60;font-size:16px;}
.adm-equipo-person-summary>article>small{display:block;margin-top:5px;color:#6d8293;}
.adm-equipo-score-hero{flex-direction:row;justify-content:space-between;text-align:left;}
.adm-equipo-score-hero>div>span{display:block;color:#698094;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.07em;}
.adm-equipo-score-hero>div>strong{display:block;margin:8px 0 6px;color:#075596;font-size:48px;line-height:1;}
.adm-equipo-score-hero>div>small{display:block;color:#6d8293;}
.adm-equipo-info-grid{grid-template-columns:repeat(6,minmax(0,1fr));}
.adm-equipo-info-grid>article{
  padding:14px 13px;border:1px solid #dce7ef;border-radius:15px;background:#fff;box-shadow:0 6px 16px rgba(8,53,91,.045);
}
.adm-equipo-info-grid>article>i{display:block;margin-bottom:7px;font-size:21px;font-style:normal;}
.adm-equipo-info-grid>article>strong{display:block;margin-top:4px;color:#184566;font-size:16px;}
.adm-equipo-area-meta>span{padding:11px 12px;border-radius:12px;background:#f4f8fb;border:1px solid #e0e9f0;color:#718696;font-size:11px;font-weight:800;}
.adm-equipo-area-meta>span strong{display:block;margin-top:4px;color:#184566;font-size:13px;}
.adm-equipo-secretaria-grid>article{padding:13px;border:1px solid #e0e9f0;border-radius:13px;background:#f8fbfd;}
.adm-equipo-secretaria-grid>article>strong{display:block;margin-top:5px;color:#173f60;}
.adm-equipo-two-column>article{padding:18px 19px;border:1px solid #dce7ef;border-radius:18px;background:#fff;box-shadow:0 7px 18px rgba(8,53,91,.055);min-width:0;overflow:hidden;}
.adm-equipo-decision-panel>form>label,.adm-equipo-decision-grid label{display:flex;flex-direction:column;gap:6px;color:#234d6d;font-size:12px;font-weight:900;}
.adm-equipo-decision-panel>form>label{margin-top:13px;}
.adm-equipo-decision-grid input,.adm-equipo-decision-grid select,.adm-equipo-decision-grid textarea,.adm-equipo-decision-panel>form>label textarea{
  width:100%;padding:11px 12px;border:1px solid #cddce8;border-radius:11px;background:#fff;color:#183e5d;outline:none;box-sizing:border-box;
}
.adm-equipo-decision-grid input[readonly]{background:#f4f7f9;color:#536d81;}
.adm-equipo-decision-grid input:focus,.adm-equipo-decision-grid select:focus,.adm-equipo-decision-grid textarea:focus,.adm-equipo-decision-panel>form>label textarea:focus{border-color:#0054a6;box-shadow:0 0 0 3px rgba(0,84,166,.11);}
.adm-equipo-status.is-danger{color:#a12d2d;background:#fff0f0;border-color:#efc4c4;}
.adm-equipo-observations article header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:5px;}.adm-equipo-observations article header span{color:#778b9b;font-size:11px;}
@media(max-width:1100px){.adm-equipo-person-summary{grid-template-columns:repeat(2,minmax(0,1fr));}.adm-equipo-info-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:760px){.adm-equipo-person-summary,.adm-equipo-info-grid{grid-template-columns:1fr;}.adm-equipo-score-hero{align-items:flex-start;flex-direction:column;gap:15px;}.adm-equipo-two-column>article{padding:15px;}}

/* Fase 5.0 · Equipo Líder · mejora visual y navegación por grupos */
.adm-equipo-dashboard-card,.adm-equipo-analysis-card{
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.adm-equipo-dashboard-hero{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) 240px;
  gap:28px;
  align-items:center;
  min-height:235px;
  padding:32px 34px;
  border:1px solid rgba(255,255,255,.35);
  border-radius:28px;
  background:
    radial-gradient(circle at 88% 18%,rgba(255,255,255,.22) 0 75px,transparent 76px),
    radial-gradient(circle at 72% 112%,rgba(233,178,33,.26) 0 145px,transparent 146px),
    linear-gradient(125deg,#083c6b 0%,#005ca8 48%,#1489b4 100%);
  color:#fff;
  box-shadow:0 22px 48px rgba(5,45,82,.2);
  overflow:hidden;
}
.adm-equipo-dashboard-hero:before{
  content:"";
  position:absolute;
  left:-70px;
  bottom:-120px;
  width:270px;
  height:270px;
  border:34px solid rgba(255,255,255,.055);
  border-radius:50%;
}
.adm-equipo-dashboard-hero-copy{position:relative;z-index:1;max-width:760px;}
.adm-equipo-dashboard-hero .adm-section-kicker{display:inline-flex;color:#073c68;background:#ffd34f;border-color:rgba(255,255,255,.3);}
.adm-equipo-dashboard-hero h2{margin:13px 0 9px;color:#fff;font-size:clamp(25px,3vw,38px);line-height:1.08;letter-spacing:-.025em;}
.adm-equipo-dashboard-hero p{max-width:700px;margin:0;color:#d8eefb;font-size:14px;line-height:1.65;}
.adm-equipo-hero-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:22px;}
.adm-equipo-hero-actions .adm-btn{min-height:44px;padding:11px 18px;border-color:#fff;background:#fff;color:#07538f;box-shadow:0 10px 24px rgba(1,33,60,.2);}
.adm-equipo-hero-actions>span{display:inline-flex;align-items:center;gap:8px;color:#d8eefb;font-size:11px;font-weight:800;}
.adm-equipo-hero-actions>span i{width:9px;height:9px;border-radius:50%;background:#70efa9;box-shadow:0 0 0 5px rgba(112,239,169,.15);}
.adm-equipo-average-orbit{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:205px;
  height:205px;
  justify-self:end;
  border:1px solid rgba(255,255,255,.34);
  border-radius:50%;
  background:rgba(255,255,255,.13);
  box-shadow:inset 0 0 0 12px rgba(255,255,255,.055),0 18px 40px rgba(0,34,62,.18);
  backdrop-filter:blur(8px);
  text-align:center;
}
.adm-equipo-average-orbit:after{content:"";position:absolute;inset:17px;border:1px dashed rgba(255,255,255,.35);border-radius:50%;}
.adm-equipo-average-orbit span,.adm-equipo-average-orbit small{position:relative;z-index:1;color:#d8eefb;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.07em;}
.adm-equipo-average-orbit strong{position:relative;z-index:1;margin:7px 0 5px;color:#fff;font-size:45px;line-height:1;}

.adm-equipo-executive-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0;}
.adm-equipo-executive-strip>article{
  position:relative;
  display:flex;
  align-items:center;
  gap:14px;
  min-height:112px;
  padding:18px;
  border:1px solid #dbe7f0;
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 26px rgba(5,50,91,.065);
  overflow:hidden;
}
.adm-equipo-executive-strip>article:after{content:"";position:absolute;right:-28px;bottom:-38px;width:105px;height:105px;border-radius:50%;background:currentColor;opacity:.055;}
.adm-equipo-executive-strip>article>i{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:16px;background:#edf5fb;font-size:23px;font-style:normal;}
.adm-equipo-executive-strip span{display:block;color:#647c90;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.055em;}
.adm-equipo-executive-strip strong{display:block;margin:4px 0;color:#123f64;font-size:28px;line-height:1;}
.adm-equipo-executive-strip small{display:block;color:#7a8d9d;font-size:10px;}
.adm-equipo-executive-strip .is-blue{color:#287ccc}.adm-equipo-executive-strip .is-blue>i{background:#edf6ff}
.adm-equipo-executive-strip .is-teal{color:#1e9b85}.adm-equipo-executive-strip .is-teal>i{background:#e9f8f4}
.adm-equipo-executive-strip .is-violet{color:#7559c9}.adm-equipo-executive-strip .is-violet>i{background:#f1edff}
.adm-equipo-executive-strip .is-gold{color:#c98a10}.adm-equipo-executive-strip .is-gold>i{background:#fff6dc}

.adm-equipo-dashboard-layout{display:grid;grid-template-columns:1.08fr 1.16fr .9fr;gap:16px;margin-bottom:22px;}
.adm-equipo-dashboard-module{min-width:0;padding:20px;border:1px solid #dbe7f0;border-radius:22px;background:#fff;box-shadow:0 10px 28px rgba(5,50,91,.06);}
.adm-equipo-dashboard-module>header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px;padding-bottom:13px;border-bottom:1px solid #e6edf3;}
.adm-equipo-dashboard-module>header span{display:block;color:#73889a;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.075em;}
.adm-equipo-dashboard-module>header h3{margin:3px 0 0;color:#123f64;font-size:18px;}
.adm-equipo-dashboard-module>header>i{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#eef6fc;font-size:21px;font-style:normal;}
.adm-equipo-evaluation-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
.adm-equipo-evaluation-list article{display:grid;grid-template-columns:1fr auto;gap:4px 10px;padding:11px 12px;border:1px solid #e2ebf2;border-radius:14px;background:#f8fbfd;}
.adm-equipo-evaluation-list article.is-wide{grid-column:1/-1;}
.adm-equipo-evaluation-list span{align-self:end;color:#597186;font-size:11px;font-weight:800;}
.adm-equipo-evaluation-list strong{grid-row:1/3;grid-column:2;align-self:center;color:#123f64;font-size:22px;}
.adm-equipo-evaluation-list em{color:#7890a2;font-size:9px;font-style:normal;font-weight:900;text-transform:uppercase;}
.adm-equipo-evaluation-list em.is-ok{color:#188056}.adm-equipo-evaluation-list em.is-pending{color:#a77308;}
.adm-equipo-decision-visual{display:grid;grid-template-columns:150px minmax(0,1fr);gap:15px;align-items:center;}
.adm-equipo-donut{position:relative;display:grid;place-items:center;width:144px;height:144px;border-radius:50%;background:conic-gradient(#2f80ed 0 100%);box-shadow:inset 0 0 0 1px rgba(0,0,0,.025);}
.adm-equipo-donut:after{content:"";position:absolute;inset:24px;border-radius:50%;background:#fff;box-shadow:0 5px 15px rgba(5,50,91,.08);}
.adm-equipo-donut>div{position:relative;z-index:1;text-align:center;}
.adm-equipo-donut strong{display:block;color:#123f64;font-size:28px;line-height:1;}.adm-equipo-donut span{display:block;margin-top:5px;color:#7890a2;font-size:9px;font-weight:900;text-transform:uppercase;}
.adm-equipo-distribution-legend{display:grid;gap:7px;}
.adm-equipo-distribution-legend button{display:grid;grid-template-columns:10px 1fr auto;align-items:center;gap:8px;width:100%;padding:8px 9px;border:1px solid #e2ebf2;border-radius:11px;background:#f9fbfd;color:#234c6d;text-align:left;cursor:pointer;transition:.2s ease;}
.adm-equipo-distribution-legend button:hover{transform:translateX(3px);border-color:#b9d3e8;background:#fff;box-shadow:0 6px 15px rgba(5,50,91,.07);}
.adm-equipo-distribution-legend button i{width:9px;height:9px;border-radius:50%;}.adm-equipo-distribution-legend button span{font-size:11px;font-weight:800;}.adm-equipo-distribution-legend button strong{font-size:15px;}
.adm-equipo-distribution-legend .is-process i{background:#2f80ed}.adm-equipo-distribution-legend .is-admitted i{background:#28a86b}.adm-equipo-distribution-legend .is-waiting i{background:#e4a719}.adm-equipo-distribution-legend .is-rejected i{background:#e34b59}
.adm-equipo-distribution-bar{display:flex;height:9px;margin-top:15px;border-radius:999px;background:#edf2f6;overflow:hidden;}
.adm-equipo-distribution-bar span{display:block;width:0;height:100%;transition:width .35s ease;}.adm-equipo-distribution-bar .is-process{background:#2f80ed}.adm-equipo-distribution-bar .is-admitted{background:#28a86b}.adm-equipo-distribution-bar .is-waiting{background:#e4a719}.adm-equipo-distribution-bar .is-rejected{background:#e34b59}
.adm-equipo-click-hint{display:block;margin-top:8px;color:#7b8fa0;font-size:10px;text-align:center;}
.adm-equipo-capacity-grid{display:grid;gap:9px;}
.adm-equipo-capacity-grid article{padding:13px 14px;border:1px solid #e2ebf2;border-radius:14px;background:linear-gradient(135deg,#f8fbfd,#fff);}
.adm-equipo-capacity-grid span{display:block;color:#6f8495;font-size:10px;font-weight:900;text-transform:uppercase;}.adm-equipo-capacity-grid strong{display:block;margin:4px 0;color:#123f64;font-size:24px;}.adm-equipo-capacity-grid small{color:#8294a2;font-size:10px;}
.adm-equipo-capacity-note{display:flex;gap:9px;margin-top:12px;padding:10px 11px;border:1px solid #f0dc9d;border-radius:12px;background:#fff9e7;color:#77580d;font-size:10px;font-weight:700;line-height:1.45;}.adm-equipo-capacity-note i{font-style:normal;}
.adm-equipo-section-heading-modern{margin-top:0;padding:18px 20px;border:1px solid #dbe7f0;border-radius:20px;background:linear-gradient(135deg,#f8fbfd,#fff);}
.adm-equipo-section-heading-modern div small{display:block;margin-top:4px;color:#7a8fa0;}
.adm-equipo-heading-badge{padding:7px 11px;border:1px solid #c9deef;border-radius:999px;background:#edf7ff;color:#145d95;font-size:10px;font-weight:900;text-transform:uppercase;}
.adm-equipo-cupos-wrap{border:1px solid #dbe7f0;border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(5,50,91,.055);}
.adm-equipo-grade-row{cursor:pointer;transition:background .2s ease;}.adm-equipo-grade-row:hover{background:#f1f8fd!important;}
.adm-equipo-grade-link{display:grid;grid-template-columns:38px minmax(160px,1fr) 18px;align-items:center;gap:10px;width:100%;padding:0;border:0;background:transparent;color:#123f64;text-align:left;cursor:pointer;}
.adm-equipo-grade-link>.adm-equipo-grade-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#edf6fd;font-size:18px;}
.adm-equipo-grade-link strong{display:block;font-size:12px;line-height:1.35;}.adm-equipo-grade-link small{display:block;margin-top:2px;color:#758a9c;font-size:9px;font-weight:700;}.adm-equipo-grade-link>i{color:#2b78b4;font-size:24px;font-style:normal;}

.adm-equipo-analysis-hero{position:relative;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:26px 28px;border:1px solid rgba(255,255,255,.32);border-radius:25px;background:linear-gradient(125deg,#0c4779,#076eb4 55%,#15a0a1);color:#fff;box-shadow:0 18px 38px rgba(5,45,82,.17);overflow:hidden;}
.adm-equipo-analysis-hero:after{content:"";position:absolute;right:-65px;bottom:-100px;width:250px;height:250px;border:40px solid rgba(255,255,255,.07);border-radius:50%;}
.adm-equipo-analysis-hero>div{position:relative;z-index:1;}.adm-equipo-analysis-hero .adm-section-kicker{color:#073c68;background:#ffd34f;}.adm-equipo-analysis-hero h2{margin:11px 0 7px;color:#fff;font-size:29px;}.adm-equipo-analysis-hero p{max-width:760px;margin:0;color:#d9eef9;line-height:1.55;}
.adm-equipo-analysis-hero-badges{display:grid!important;gap:9px;min-width:210px;}.adm-equipo-analysis-hero-badges span{display:flex;align-items:center;gap:8px;padding:9px 11px;border:1px solid rgba(255,255,255,.24);border-radius:12px;background:rgba(255,255,255,.11);color:#fff;font-size:10px;font-weight:800;backdrop-filter:blur(6px);}.adm-equipo-analysis-hero-badges i{width:8px;height:8px;border-radius:50%;}.adm-equipo-analysis-hero-badges .is-server{background:#6defa4}.adm-equipo-analysis-hero-badges .is-trace{background:#ffd34f}
.adm-equipo-decision-overview{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(0,1.45fr);gap:18px;margin:18px 0;padding:20px;border:1px solid #dbe7f0;border-radius:23px;background:#fff;box-shadow:0 10px 28px rgba(5,50,91,.06);}
.adm-equipo-overview-copy{display:flex;flex-direction:column;justify-content:center;padding:7px 8px;}.adm-equipo-overview-copy>span,.adm-equipo-table-heading span{color:#718799;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.075em;}.adm-equipo-overview-copy h3,.adm-equipo-table-heading h3{margin:4px 0 7px;color:#123f64;font-size:20px;}.adm-equipo-overview-copy p{margin:0;color:#6e8395;font-size:12px;line-height:1.55;}.adm-equipo-distribution-bar.is-large{height:12px;margin-top:18px;}
.adm-equipo-overview-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;}
.adm-equipo-overview-groups button{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:145px;padding:15px;border:1px solid #e0e9f0;border-radius:17px;background:#f9fbfd;color:#183f60;text-align:left;cursor:pointer;overflow:hidden;transition:.22s ease;}
.adm-equipo-overview-groups button:after{content:"";position:absolute;right:-22px;bottom:-34px;width:88px;height:88px;border-radius:50%;background:currentColor;opacity:.065;}.adm-equipo-overview-groups button:hover{transform:translateY(-4px);box-shadow:0 12px 25px rgba(5,50,91,.1);}.adm-equipo-overview-groups button i{display:grid;place-items:center;width:34px;height:34px;margin-bottom:13px;border-radius:11px;background:#fff;font-size:17px;font-style:normal;box-shadow:0 5px 13px rgba(5,50,91,.08);}.adm-equipo-overview-groups button span{font-size:11px;font-weight:900;line-height:1.25;text-transform:uppercase;}.adm-equipo-overview-groups button strong{margin:5px 0;color:inherit;font-size:27px;line-height:1;}.adm-equipo-overview-groups button small{color:#718697;font-size:9px;line-height:1.35;}.adm-equipo-overview-groups .is-process{color:#286fb5;background:#eff7ff;border-color:#cfe3f5}.adm-equipo-overview-groups .is-admitted{color:#188056;background:#eefaf4;border-color:#cbe9d9}.adm-equipo-overview-groups .is-waiting{color:#9a6c0c;background:#fff9e8;border-color:#efdda5}.adm-equipo-overview-groups .is-rejected{color:#b33a45;background:#fff3f4;border-color:#efcdd1}
.adm-equipo-integrity-banner{display:flex;align-items:center;gap:13px;margin-bottom:17px;padding:15px 17px;border:1px solid #d7e6f1;border-radius:17px;background:linear-gradient(135deg,#f2f8fc,#fff);}.adm-equipo-integrity-banner>i{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:13px;background:#e4f2fb;font-size:20px;font-style:normal;}.adm-equipo-integrity-banner strong{display:block;color:#164568;font-size:12px;}.adm-equipo-integrity-banner span{display:block;margin-top:3px;color:#688093;font-size:11px;line-height:1.45;}
.adm-equipo-table-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:11px;padding:0 5px;}.adm-equipo-table-heading small{max-width:420px;color:#75899a;text-align:right;}

/* Modal agrupado por curso/grado y decisión */
.adm-equipo-roster-modal{position:fixed;inset:0;z-index:10095;display:flex;align-items:center;justify-content:center;padding:20px;}.adm-equipo-roster-modal[hidden]{display:none!important;}
.adm-equipo-roster-dialog{position:relative;z-index:1;display:flex;flex-direction:column;width:min(1180px,96vw);max-height:92vh;border:1px solid rgba(255,255,255,.42);border-radius:25px;background:#f4f8fb;box-shadow:0 32px 90px rgba(2,22,40,.38);overflow:hidden;}
.adm-equipo-roster-header{display:grid;grid-template-columns:54px minmax(0,1fr) 46px;align-items:center;gap:14px;padding:21px 23px;background:linear-gradient(125deg,#083f70,#0873b9 58%,#13a0a0);color:#fff;}.adm-equipo-roster-header-icon{display:grid;place-items:center;width:50px;height:50px;border:1px solid rgba(255,255,255,.25);border-radius:16px;background:rgba(255,255,255,.13);font-size:24px;}.adm-equipo-roster-header .adm-section-kicker{color:#08436f;background:#ffd34f;}.adm-equipo-roster-header h3{margin:6px 0 2px;color:#fff;font-size:22px;}.adm-equipo-roster-header p{margin:0;color:#d8edf8;}.adm-equipo-roster-header .adm-expediente-close{color:#fff;background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.25);}
.adm-equipo-roster-summary{display:grid;grid-template-columns:1.6fr repeat(3,1fr);gap:10px;padding:15px 18px 0;}.adm-equipo-roster-summary article{padding:12px 13px;border:1px solid #dce7ef;border-radius:14px;background:#fff;box-shadow:0 5px 14px rgba(5,50,91,.045);}.adm-equipo-roster-summary span{display:block;color:#74899a;font-size:9px;font-weight:900;text-transform:uppercase;}.adm-equipo-roster-summary strong{display:block;margin-top:4px;color:#173f60;font-size:14px;}.adm-equipo-roster-summary .is-process strong{color:#286fb5}.adm-equipo-roster-summary .is-admitted strong{color:#188056}.adm-equipo-roster-summary .is-waiting strong{color:#9a6c0c}.adm-equipo-roster-summary .is-rejected strong{color:#b33a45}
.adm-equipo-roster-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;padding:14px 18px;}.adm-equipo-roster-tabs button{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px 12px;border:1px solid #dbe6ee;border-radius:14px;background:#fff;color:#244d6d;text-align:left;cursor:pointer;transition:.2s ease;}.adm-equipo-roster-tabs button i{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#f1f6fa;font-size:16px;font-style:normal;}.adm-equipo-roster-tabs button span{font-size:10px;font-weight:900;text-transform:uppercase;}.adm-equipo-roster-tabs button strong{font-size:18px;}.adm-equipo-roster-tabs button:hover,.adm-equipo-roster-tabs button.is-active{transform:translateY(-2px);box-shadow:0 9px 20px rgba(5,50,91,.09);}.adm-equipo-roster-tabs .is-process.is-active{border-color:#98c7ee;background:#eff7ff;color:#286fb5}.adm-equipo-roster-tabs .is-admitted.is-active{border-color:#9ed8bb;background:#eefaf4;color:#188056}.adm-equipo-roster-tabs .is-waiting.is-active{border-color:#e2c86c;background:#fff9e8;color:#9a6c0c}.adm-equipo-roster-tabs .is-rejected.is-active{border-color:#e6a8af;background:#fff3f4;color:#b33a45}
.adm-equipo-roster-body{padding:0 18px 20px;overflow:auto;}.adm-equipo-roster-table-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;border:1px solid #dce7ef;border-radius:14px 14px 0 0;background:#fff;}.adm-equipo-roster-table-head>div{display:flex;align-items:center;gap:8px;color:#153f62;}.adm-equipo-roster-table-head>div span{font-size:18px;}.adm-equipo-roster-table-head small{color:#768b9c;font-weight:800;}.adm-equipo-roster-table{min-width:1080px;}.adm-equipo-roster-table td{vertical-align:middle;}.adm-equipo-roster-table td>small{display:block;margin-top:3px;color:#778b9b;}.adm-equipo-state-chip{display:inline-block;padding:5px 8px;border-radius:8px;background:#edf5fb;color:#245d88;font-size:9px;font-weight:900;text-transform:uppercase;}.adm-equipo-roster-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:230px;padding:25px;border:1px dashed #cbdce9;border-radius:18px;background:#fff;text-align:center;}.adm-equipo-roster-empty i{display:grid;place-items:center;width:58px;height:58px;margin-bottom:12px;border-radius:18px;background:#eef6fc;font-size:28px;font-style:normal;}.adm-equipo-roster-empty strong{color:#173f60;font-size:16px;}.adm-equipo-roster-empty span{margin-top:5px;color:#738899;}

/* Modal de análisis · lectura visual */
.adm-equipo-dialog{width:min(1420px,97vw);border-radius:28px;background:#eef5fa;}
.adm-equipo-modal-header{position:relative;padding:24px 28px;background:linear-gradient(125deg,#073e70 0%,#086db3 58%,#149aa7 100%);overflow:hidden;}.adm-equipo-modal-header:after{content:"";position:absolute;right:-70px;bottom:-125px;width:280px;height:280px;border:42px solid rgba(255,255,255,.065);border-radius:50%;}.adm-equipo-modal-header>div,.adm-equipo-modal-header>button{position:relative;z-index:1;}.adm-equipo-modal-header h3{font-size:27px;letter-spacing:-.015em;}.adm-equipo-modal-body{padding:20px 24px 30px;background:linear-gradient(180deg,#f1f7fb,#eaf2f7);}.adm-equipo-analysis-shell{gap:16px;}
.adm-equipo-person-summary>article{position:relative;min-height:92px;padding:17px 18px;border:1px solid #d5e4ee;border-radius:17px;background:linear-gradient(145deg,#fff,#f9fcfe);box-shadow:0 8px 20px rgba(8,53,91,.055);overflow:hidden;}.adm-equipo-person-summary>article:after{content:"";position:absolute;right:-25px;bottom:-35px;width:90px;height:90px;border-radius:50%;background:#0872b7;opacity:.045;}.adm-equipo-person-summary>article>strong{position:relative;z-index:1;font-size:17px;}.adm-equipo-person-summary>article>small{position:relative;z-index:1;}
.adm-equipo-score-hero{position:relative;min-height:145px;padding:23px 25px;border:0;border-radius:22px;background:linear-gradient(125deg,#0c4e80,#0874b8);color:#fff;box-shadow:0 15px 34px rgba(5,58,99,.17);overflow:hidden;}.adm-equipo-score-hero:after{content:"";position:absolute;right:10%;top:-85px;width:250px;height:250px;border:34px solid rgba(255,255,255,.07);border-radius:50%;}.adm-equipo-score-hero>div,.adm-equipo-score-hero>span{position:relative;z-index:1;}.adm-equipo-score-hero>div>span,.adm-equipo-score-hero>div>small{color:#d8eef9;}.adm-equipo-score-hero>div>strong{color:#fff;font-size:55px;}.adm-equipo-score-status{display:flex;flex-direction:column;align-items:flex-end;gap:8px;}.adm-equipo-score-status small{max-width:260px;color:#d8eef9!important;text-align:right;}.adm-equipo-score-hero.is-green{background:linear-gradient(125deg,#0d6a48,#1a9a67)}.adm-equipo-score-hero.is-yellow{background:linear-gradient(125deg,#8d6509,#d09a1b)}.adm-equipo-score-hero.is-red{background:linear-gradient(125deg,#8f3039,#d14b59)}.adm-equipo-score-hero.is-neutral{background:linear-gradient(125deg,#435c70,#70879a)}
.adm-equipo-quick-signals{padding:18px;border:1px solid #d7e4ed;border-radius:20px;background:#fff;box-shadow:0 8px 22px rgba(8,53,91,.055);}.adm-equipo-quick-title{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:13px;}.adm-equipo-quick-title span{display:block;color:#72889a;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.075em;}.adm-equipo-quick-title strong{display:block;margin-top:3px;color:#123f64;font-size:17px;}.adm-equipo-quick-title small{padding:6px 9px;border-radius:999px;background:#eef6fc;color:#28658f;font-size:9px;font-weight:900;text-transform:uppercase;}.adm-equipo-signal-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;}.adm-equipo-signal-grid article{padding:13px;border:1px solid #dfe9f0;border-radius:15px;background:#f9fbfd;}.adm-equipo-signal-grid header{display:grid;grid-template-columns:28px minmax(0,1fr);gap:6px 8px;align-items:center;}.adm-equipo-signal-grid header i{display:grid;place-items:center;grid-row:1/3;width:28px;height:28px;border-radius:9px;background:#fff;font-size:14px;font-style:normal;box-shadow:0 4px 10px rgba(5,50,91,.07);}.adm-equipo-signal-grid header span{color:#6d8395;font-size:9px;font-weight:900;text-transform:uppercase;}.adm-equipo-signal-grid header strong{color:#173f60;font-size:14px;}.adm-equipo-signal-grid article>div{height:6px;margin-top:11px;border-radius:999px;background:#e5edf3;overflow:hidden;}.adm-equipo-signal-grid article>div span{display:block;height:100%;border-radius:inherit;background:#2f80ed;}.adm-equipo-signal-grid .is-violet>div span{background:#7559c9}.adm-equipo-signal-grid .is-gold>div span{background:#e4a719}.adm-equipo-signal-grid .is-teal>div span{background:#1e9b85}.adm-equipo-signal-grid .is-capacity{background:linear-gradient(145deg,#eef7fd,#fff);}.adm-equipo-signal-grid .is-capacity small{display:block;margin-top:8px;color:#72889a;font-size:9px;line-height:1.4;}
.adm-equipo-detail-section,.adm-equipo-decision-panel,.adm-equipo-two-column>article{border-color:#d7e4ed;border-radius:20px;box-shadow:0 8px 22px rgba(8,53,91,.05);}.adm-equipo-detail-head{margin-bottom:13px;padding-bottom:12px;}.adm-equipo-detail-head>div>span{display:block;color:#738899;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.07em;}.adm-equipo-detail-head>div>strong{display:block;margin-top:3px;color:#123f64;font-size:16px;}.adm-equipo-area-meta>span{border-color:#dae6ee;background:linear-gradient(145deg,#f7fbfd,#fff);}.adm-equipo-secretaria-grid>article{border-color:#dae6ee;background:linear-gradient(145deg,#f8fbfd,#fff);}.adm-equipo-decision-panel{border:1px solid #bcd9ed;background:linear-gradient(145deg,#fff,#eef8ff);}.adm-equipo-decision-actions{justify-content:space-between;}.adm-equipo-decision-actions>span{max-width:700px;color:#60798d;font-size:11px;line-height:1.45;}

@media(max-width:1250px){
  .adm-equipo-dashboard-layout{grid-template-columns:1fr 1fr}.adm-equipo-dashboard-module.is-capacity{grid-column:1/-1}.adm-equipo-capacity-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.adm-equipo-overview-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.adm-equipo-signal-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.adm-equipo-signal-grid .is-capacity{grid-column:span 2}
}
@media(max-width:950px){
  .adm-equipo-dashboard-hero{grid-template-columns:1fr}.adm-equipo-average-orbit{justify-self:start;width:170px;height:170px}.adm-equipo-executive-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.adm-equipo-dashboard-layout{grid-template-columns:1fr}.adm-equipo-dashboard-module.is-capacity{grid-column:auto}.adm-equipo-decision-overview{grid-template-columns:1fr}.adm-equipo-roster-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.adm-equipo-roster-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .adm-equipo-dashboard-hero,.adm-equipo-analysis-hero{padding:22px 19px;border-radius:20px}.adm-equipo-dashboard-hero h2,.adm-equipo-analysis-hero h2{font-size:24px}.adm-equipo-average-orbit{width:150px;height:150px}.adm-equipo-average-orbit strong{font-size:36px}.adm-equipo-executive-strip{grid-template-columns:1fr}.adm-equipo-dashboard-layout{gap:12px}.adm-equipo-decision-visual{grid-template-columns:1fr}.adm-equipo-donut{margin:auto}.adm-equipo-capacity-grid{grid-template-columns:1fr}.adm-equipo-analysis-hero{align-items:flex-start;flex-direction:column}.adm-equipo-analysis-hero-badges{width:100%;min-width:0}.adm-equipo-overview-groups{grid-template-columns:1fr 1fr}.adm-equipo-overview-groups button{min-height:126px}.adm-equipo-table-heading{align-items:flex-start;flex-direction:column}.adm-equipo-table-heading small{text-align:left}.adm-equipo-roster-modal{padding:0;align-items:stretch}.adm-equipo-roster-dialog{width:100%;max-height:100vh;border-radius:0}.adm-equipo-roster-header{grid-template-columns:44px minmax(0,1fr) 42px;padding:17px}.adm-equipo-roster-header-icon{width:42px;height:42px}.adm-equipo-roster-summary{grid-template-columns:1fr 1fr;padding:12px}.adm-equipo-roster-tabs{padding:10px 12px}.adm-equipo-roster-body{padding:0 12px 16px}.adm-equipo-signal-grid{grid-template-columns:1fr 1fr}.adm-equipo-signal-grid .is-capacity{grid-column:1/-1}.adm-equipo-score-status{align-items:flex-start}.adm-equipo-score-status small{text-align:left}.adm-equipo-modal-body{padding:14px}.adm-equipo-score-hero>div>strong{font-size:44px}
}
@media(max-width:480px){
  .adm-equipo-overview-groups,.adm-equipo-roster-summary,.adm-equipo-roster-tabs,.adm-equipo-signal-grid{grid-template-columns:1fr}.adm-equipo-signal-grid .is-capacity{grid-column:auto}.adm-equipo-executive-strip>article{min-height:96px}.adm-equipo-dashboard-module{padding:15px}.adm-equipo-decision-overview{padding:14px}.adm-equipo-roster-header{grid-template-columns:1fr 42px}.adm-equipo-roster-header-icon{display:none}.adm-equipo-roster-tabs button{grid-template-columns:30px 1fr auto}.adm-equipo-score-hero>div>strong{font-size:38px}
}

/* Fase 5.0 · Prioridades visuales y grupo Listos para análisis */
.adm-equipo-distribution-legend .is-ready i{background:#7b61d1}
.adm-equipo-distribution-bar .is-ready{background:#7b61d1}
.adm-equipo-overview-groups{grid-template-columns:repeat(5,minmax(0,1fr))}
.adm-equipo-overview-groups .is-ready{color:#684db8;background:linear-gradient(145deg,#f2efff,#fbfaff);border-color:#d9cef7}
.adm-equipo-overview-groups .is-ready i{background:#fff;box-shadow:0 6px 15px rgba(104,77,184,.13)}

.adm-equipo-analysis-command{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:12px;margin:18px 0}
.adm-equipo-analysis-command article{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:13px;min-height:108px;padding:17px 18px;border:1px solid #dbe7f0;border-radius:19px;background:#fff;box-shadow:0 10px 24px rgba(5,50,91,.065);overflow:hidden}
.adm-equipo-analysis-command article:after{content:"";position:absolute;right:-28px;bottom:-46px;width:120px;height:120px;border-radius:50%;background:currentColor;opacity:.055}
.adm-equipo-analysis-command article[role="button"]{cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.adm-equipo-analysis-command article[role="button"]:hover,.adm-equipo-analysis-command article[role="button"]:focus{transform:translateY(-3px);box-shadow:0 14px 30px rgba(5,50,91,.11);outline:none}
.adm-equipo-analysis-command>article>i{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:#f2f6fa;font-size:22px;font-style:normal}
.adm-equipo-analysis-command span{display:block;color:#74899a;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.075em}
.adm-equipo-analysis-command strong{display:block;margin:4px 0;color:#123f64;font-size:16px;line-height:1.25}.adm-equipo-analysis-command strong b{font-size:24px}
.adm-equipo-analysis-command small{display:block;color:#74899a;font-size:10px;line-height:1.35}
.adm-equipo-analysis-command em{position:relative;z-index:1;align-self:end;color:#5d7488;font-size:10px;font-style:normal;font-weight:900;white-space:nowrap}
.adm-equipo-analysis-command .is-ready{color:#7656c8;border-color:#d9cef7;background:linear-gradient(145deg,#f2efff,#fff)}
.adm-equipo-analysis-command .is-ready>i{background:#e9e2ff}.adm-equipo-analysis-command .is-ready strong,.adm-equipo-analysis-command .is-ready em{color:#6548b6}
.adm-equipo-analysis-command .is-process{color:#2f80ed;border-color:#cfe3f5;background:linear-gradient(145deg,#edf6ff,#fff)}
.adm-equipo-analysis-command .is-process>i{background:#dfeeff}.adm-equipo-analysis-command .is-process strong,.adm-equipo-analysis-command .is-process em{color:#2168ad}
.adm-equipo-analysis-command .is-decided{color:#1d9b84;border-color:#cae9e1;background:linear-gradient(145deg,#ecfaf6,#fff)}
.adm-equipo-analysis-command .is-decided>i{background:#def5ef}.adm-equipo-analysis-command .is-decided strong,.adm-equipo-analysis-command .is-decided em{color:#14765f}

.adm-equipo-cupos-table{min-width:1280px}
.adm-equipo-cupos-table thead th{white-space:normal;line-height:1.2}
.adm-equipo-cupos-table tbody tr:nth-child(even){background:#f8fbfd}
.adm-equipo-cupos-table tbody tr.has-ready{background:linear-gradient(90deg,#f6f2ff 0,#fff 46%)}
.adm-equipo-cupos-table tbody tr.has-ready td:first-child{box-shadow:inset 5px 0 0 #7b61d1}
.adm-equipo-cupos-table tbody tr.has-ready .adm-equipo-grade-icon{background:#ece5ff;box-shadow:0 0 0 5px rgba(123,97,209,.08)}
.adm-equipo-cupos-table td:not(:first-child){text-align:center}
.adm-equipo-metric-chip{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:38px;padding:7px 10px;border:1px solid #dbe6ee;border-radius:999px;background:#f4f8fb;color:#315873;font-size:12px;font-weight:900;line-height:1}
.adm-equipo-metric-chip.is-total{color:#1767a4;background:#edf7ff;border-color:#cce3f5}
.adm-equipo-metric-chip.is-ready{color:#6c53b8;background:#f3efff;border-color:#d9cef7}
.adm-equipo-metric-chip.is-ready i{width:8px;height:8px;border-radius:50%;background:#9c86e2;box-shadow:0 0 0 4px rgba(123,97,209,.12)}
.adm-equipo-metric-chip.is-ready.has-candidates{color:#fff;background:linear-gradient(135deg,#6d54bd,#8f70db);border-color:#6d54bd;box-shadow:0 7px 18px rgba(109,84,189,.24);animation:admEquipoReadyPulse 1.8s ease-in-out infinite}
.adm-equipo-metric-chip.is-ready.has-candidates i{background:#fff;box-shadow:0 0 0 4px rgba(255,255,255,.18)}
.adm-equipo-metric-chip.is-capacity{color:#7a5a0a;background:#fff8e5;border-color:#ecdca8}
.adm-equipo-metric-chip.is-admitted{color:#17784d;background:#eaf8f0;border-color:#bde5cd}
.adm-equipo-metric-chip.is-remaining{color:#146d75;background:#eaf8f8;border-color:#bfe3e4}
.adm-equipo-metric-chip.is-waiting{color:#8b640d;background:#fff7dc;border-color:#ebd88d}
.adm-equipo-metric-chip.is-rejected{color:#a53542;background:#fff0f2;border-color:#efc7cc}
@keyframes admEquipoReadyPulse{0%,100%{transform:scale(1);box-shadow:0 7px 18px rgba(109,84,189,.22)}50%{transform:scale(1.06);box-shadow:0 10px 24px rgba(109,84,189,.34)}}

.adm-equipo-roster-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}
.adm-equipo-roster-tabs .is-ready.is-active{border-color:#b9a8ed;background:#f3efff;color:#684db8}
.adm-equipo-roster-summary .is-ready strong{color:#684db8}
.adm-equipo-roster-row.is-process td:first-child{box-shadow:inset 4px 0 0 #2f80ed}
.adm-equipo-roster-row.is-ready{background:#faf8ff}.adm-equipo-roster-row.is-ready td:first-child{box-shadow:inset 4px 0 0 #7b61d1}
.adm-equipo-roster-row.is-admitted td:first-child{box-shadow:inset 4px 0 0 #28a86b}
.adm-equipo-roster-row.is-waiting td:first-child{box-shadow:inset 4px 0 0 #e4a719}
.adm-equipo-roster-row.is-rejected td:first-child{box-shadow:inset 4px 0 0 #e34b59}

.adm-equipo-group-chip{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #dbe5ed;border-radius:999px;background:#f3f7fa;color:#4c6579;font-size:9px;font-weight:900;white-space:nowrap}
.adm-equipo-group-chip i{width:8px;height:8px;border-radius:50%;background:#8ea0ae;box-shadow:0 0 0 4px rgba(142,160,174,.12)}
.adm-equipo-group-chip.is-process{color:#286fb5;background:#edf6ff;border-color:#cfe3f5}.adm-equipo-group-chip.is-process i{background:#2f80ed;box-shadow:0 0 0 4px rgba(47,128,237,.12)}
.adm-equipo-group-chip.is-ready{color:#684db8;background:#f3efff;border-color:#d9cef7}.adm-equipo-group-chip.is-ready i{background:#7b61d1;box-shadow:0 0 0 4px rgba(123,97,209,.13)}
.adm-equipo-group-chip.is-admitted{color:#188056;background:#eefaf4;border-color:#cbe9d9}.adm-equipo-group-chip.is-admitted i{background:#28a86b;box-shadow:0 0 0 4px rgba(40,168,107,.12)}
.adm-equipo-group-chip.is-waiting{color:#9a6c0c;background:#fff9e8;border-color:#efdda5}.adm-equipo-group-chip.is-waiting i{background:#e4a719;box-shadow:0 0 0 4px rgba(228,167,25,.13)}
.adm-equipo-group-chip.is-rejected{color:#b33a45;background:#fff3f4;border-color:#efcdd1}.adm-equipo-group-chip.is-rejected i{background:#e34b59;box-shadow:0 0 0 4px rgba(227,75,89,.12)}

.adm-equipo-analysis-row{transition:background .2s ease,box-shadow .2s ease}
.adm-equipo-analysis-row:hover{filter:brightness(.995)}
.adm-equipo-analysis-row td:first-child{position:relative}
.adm-equipo-analysis-row.is-process{background:#f8fbff}.adm-equipo-analysis-row.is-process td:first-child{box-shadow:inset 5px 0 0 #2f80ed}
.adm-equipo-analysis-row.is-ready{background:linear-gradient(90deg,#f6f2ff,#fff 38%)}.adm-equipo-analysis-row.is-ready td:first-child{box-shadow:inset 5px 0 0 #7b61d1}
.adm-equipo-analysis-row.is-admitted{background:linear-gradient(90deg,#effaf4,#fff 38%)}.adm-equipo-analysis-row.is-admitted td:first-child{box-shadow:inset 5px 0 0 #28a86b}
.adm-equipo-analysis-row.is-waiting{background:linear-gradient(90deg,#fff9e8,#fff 38%)}.adm-equipo-analysis-row.is-waiting td:first-child{box-shadow:inset 5px 0 0 #e4a719}
.adm-equipo-analysis-row.is-rejected{background:linear-gradient(90deg,#fff3f4,#fff 38%)}.adm-equipo-analysis-row.is-rejected td:first-child{box-shadow:inset 5px 0 0 #e34b59}
.adm-equipo-progress-value{position:relative;display:block;min-width:95px;height:25px;border-radius:999px;background:#e8f0f6;overflow:hidden}
.adm-equipo-progress-value>i{position:absolute;inset:0 auto 0 0;border-radius:inherit;background:linear-gradient(90deg,#2f80ed,#16a0a5);opacity:.22}
.adm-equipo-progress-value>b{position:relative;z-index:1;display:grid;place-items:center;height:100%;color:#244f70;font-size:10px}
.adm-equipo-aspirantes-table td[data-equipo-cell="resultado_final"] strong{display:inline-block;padding:6px 9px;border-radius:9px;background:#edf6ff;color:#075996}

@media(max-width:1250px){
  .adm-equipo-overview-groups{grid-template-columns:repeat(3,minmax(0,1fr))}
  .adm-equipo-analysis-command{grid-template-columns:1fr 1fr}.adm-equipo-analysis-command .is-decided{grid-column:1/-1}
  .adm-equipo-roster-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:950px){
  .adm-equipo-overview-groups{grid-template-columns:repeat(2,minmax(0,1fr))}
  .adm-equipo-analysis-command{grid-template-columns:1fr}
  .adm-equipo-analysis-command .is-decided{grid-column:auto}
  .adm-equipo-roster-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .adm-equipo-overview-groups,.adm-equipo-roster-tabs{grid-template-columns:1fr}
  .adm-equipo-analysis-command article{grid-template-columns:42px minmax(0,1fr)}
  .adm-equipo-analysis-command article>em{grid-column:2;justify-self:start}
}


/* Fase 5.0 · Tabla agrupada Equipo Líder · resultados integrales por aspirante */
.adm-equipo-roster-table{min-width:1260px;table-layout:fixed;border-collapse:separate;border-spacing:0}
.adm-equipo-roster-table thead th{position:relative;padding:13px 12px;vertical-align:bottom;border-right:1px solid rgba(255,255,255,.13)}
.adm-equipo-roster-table thead th:last-child{border-right:0}
.adm-equipo-roster-table thead th.is-person{width:235px}.adm-equipo-roster-table thead th.is-state{width:170px}
.adm-equipo-roster-table thead th.is-dece,.adm-equipo-roster-table thead th.is-vice,.adm-equipo-roster-table thead th.is-rend,.adm-equipo-roster-table thead th.is-comp{width:112px}
.adm-equipo-roster-table thead th.is-final{width:130px}.adm-equipo-roster-table thead th.is-light{width:122px}.adm-equipo-roster-table thead th.is-actions{width:180px}
.adm-equipo-roster-table thead th.is-dece:after,.adm-equipo-roster-table thead th.is-vice:after,.adm-equipo-roster-table thead th.is-rend:after,.adm-equipo-roster-table thead th.is-comp:after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:4px;border-radius:999px 999px 0 0}
.adm-equipo-roster-table thead th.is-dece:after{background:#4f8de8}.adm-equipo-roster-table thead th.is-vice:after{background:#7b61d1}.adm-equipo-roster-table thead th.is-rend:after{background:#e4a719}.adm-equipo-roster-table thead th.is-comp:after{background:#1e9b85}
.adm-equipo-roster-th{display:block}.adm-equipo-roster-th strong{display:block;color:#fff;font-size:11px;font-weight:900;letter-spacing:.02em;text-transform:uppercase;line-height:1.15}
.adm-equipo-roster-th small{display:block;margin-top:4px;color:#d4e8f7;font-size:8px;font-weight:700;line-height:1.25;text-transform:none;letter-spacing:0}
.adm-equipo-roster-table tbody td{padding:13px 12px;border-bottom:1px solid #dfe9f0;background-clip:padding-box}
.adm-equipo-roster-table tbody tr:hover td{background-color:rgba(235,246,253,.5)}
.adm-equipo-roster-person>strong{display:block;color:#0b426d;font-size:12px;line-height:1.28}.adm-equipo-roster-person>small{line-height:1.35}
.adm-equipo-roster-state{text-align:left}.adm-equipo-roster-state .adm-equipo-state-chip{max-width:145px;white-space:normal;line-height:1.25}.adm-equipo-roster-state>small{font-weight:700}
.adm-equipo-roster-metric{text-align:center}.adm-equipo-roster-score{display:inline-flex;flex-direction:column;justify-content:center;gap:6px;min-width:88px;padding:8px 9px;border:1px solid #dce7ef;border-radius:13px;background:#f5f9fc;color:#315873;box-shadow:0 4px 10px rgba(5,50,91,.035)}
.adm-equipo-roster-score>b{display:block;font-size:12px;line-height:1}.adm-equipo-roster-score>small{display:block;color:#7f91a0;font-size:8px;font-weight:900;text-transform:uppercase}
.adm-equipo-roster-score>i{display:block;height:5px;border-radius:999px;background:rgba(49,88,115,.12);overflow:hidden}.adm-equipo-roster-score>i>span{display:block;height:100%;border-radius:inherit;background:currentColor}
.adm-equipo-roster-score.is-dece{color:#276fc4;background:#eef6ff;border-color:#c9def5}.adm-equipo-roster-score.is-vice{color:#684db8;background:#f3efff;border-color:#d9cef7}
.adm-equipo-roster-score.is-rend{color:#9a6b08;background:#fff8e5;border-color:#ecdca8}.adm-equipo-roster-score.is-comp{color:#147968;background:#eaf9f5;border-color:#bfe6dc}
.adm-equipo-roster-score.is-pending{color:#7890a2;background:#f4f7f9;border-color:#dce5eb}.adm-equipo-roster-score.is-pending>b{font-size:16px}.adm-equipo-roster-score.is-pending>small{margin:0}
.adm-equipo-roster-final{text-align:center}.adm-equipo-roster-final>strong{display:inline-flex;align-items:center;justify-content:center;min-width:86px;padding:9px 10px;border:1px solid #bcd9ed;border-radius:13px;background:linear-gradient(145deg,#edf7ff,#fff);color:#075996;font-size:13px;box-shadow:0 5px 12px rgba(7,89,150,.08)}
.adm-equipo-roster-final>.adm-muted{display:inline-block;padding:8px 9px;border-radius:11px;background:#f2f5f7;color:#7f91a0;font-weight:800;white-space:nowrap}
.adm-equipo-roster-light{text-align:center}.adm-equipo-roster-actions{justify-content:center;flex-wrap:nowrap}.adm-equipo-roster-actions .adm-btn{min-width:76px}
@media(max-width:760px){.adm-equipo-roster-table{min-width:1180px}.adm-equipo-roster-th small{display:none}.adm-equipo-roster-table thead th{padding-top:12px;padding-bottom:12px}}


/* Fase 5.0 · Claridad del cálculo: porcentajes normalizados y aportes en puntos */
.adm-equipo-roster-score{min-width:112px;gap:5px;padding:9px 10px}
.adm-equipo-roster-score>b{font-size:13px}
.adm-equipo-roster-score>small{min-height:11px;color:currentColor;font-size:8px;line-height:1.2;opacity:.82;text-transform:none;white-space:nowrap}
.adm-equipo-roster-score.is-pending>small{text-transform:uppercase}
.adm-equipo-roster-final-score{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;min-width:104px;padding:9px 11px;border:1px solid #bcd9ed;border-radius:13px;background:linear-gradient(145deg,#edf7ff,#fff);color:#075996;box-shadow:0 5px 12px rgba(7,89,150,.08)}
.adm-equipo-roster-final-score strong{font-size:14px;line-height:1.1}
.adm-equipo-roster-final-score small{margin-top:3px;color:#6f8799;font-size:8px;font-weight:800;white-space:nowrap}
.adm-equipo-component-result{display:inline-flex;flex-direction:column;gap:3px;min-width:98px;padding:6px 8px;border:1px solid #d7e5ef;border-radius:11px;background:#f7fbfe;color:#164f79;text-align:center}
.adm-equipo-component-result b{font-size:12px;line-height:1.1}
.adm-equipo-component-result small{color:#698397;font-size:8px;font-weight:800;line-height:1.2;white-space:nowrap}
.adm-equipo-component-result.is-pending{color:#7a8f9f;background:#f3f6f8}
.adm-equipo-final-points{display:inline-flex;flex-direction:column;align-items:center;gap:3px;min-width:104px;padding:7px 9px;border:1px solid #bdd9eb;border-radius:11px;background:linear-gradient(145deg,#edf7ff,#fff);color:#075996;text-align:center}
.adm-equipo-final-points strong{font-size:13px;line-height:1.1}
.adm-equipo-final-points small{color:#6f8799;font-size:8px;font-weight:800;white-space:nowrap}
.adm-equipo-signal-points{display:block;margin:7px 0 0;color:#58758b!important;font-size:9px!important;font-weight:800;line-height:1.25}
.adm-equipo-score-hero>div>strong{white-space:nowrap}
.adm-equipo-aspirantes-table thead th small{display:block;margin-top:3px;color:#dcecf7;font-size:8px;font-weight:700;line-height:1.15;text-transform:none}
@media(max-width:760px){.adm-equipo-roster-score{min-width:104px}.adm-equipo-component-result,.adm-equipo-final-points{min-width:94px}}

.adm-equipo-roster-table{min-width:1380px}
.adm-equipo-roster-table thead th.is-dece,.adm-equipo-roster-table thead th.is-vice,.adm-equipo-roster-table thead th.is-rend,.adm-equipo-roster-table thead th.is-comp{width:134px}
@media(max-width:760px){.adm-equipo-roster-table{min-width:1340px}}

/* Fase 5.1 · Resultado final, actas, notificaciones y cierre institucional */
.adm-result-query-link{display:inline-flex;align-items:center;gap:7px;margin-left:8px;padding:8px 12px;border:1px solid #c8ddec;border-radius:999px;background:#f4f9fd;color:#075996;font-size:12px;font-weight:800;text-decoration:none;white-space:nowrap}
.adm-result-query-link:hover{background:#e8f4fb;color:#034875}
.adm-result-final-panel{overflow:visible}
.adm-result-final-head{gap:20px}
.adm-result-final-head-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:9px}
.adm-result-final-alert{margin:14px 0 0}
.adm-result-kpi-grid{display:grid;grid-template-columns:repeat(9,minmax(105px,1fr));gap:11px;margin:18px 0}
.adm-result-kpi-grid article{position:relative;display:flex;flex-direction:column;min-height:112px;padding:15px;border:1px solid #d8e6ef;border-radius:16px;background:linear-gradient(145deg,#f8fcff,#fff);box-shadow:0 7px 19px rgba(9,61,99,.055);overflow:hidden}
.adm-result-kpi-grid article:after{content:"";position:absolute;right:-22px;bottom:-30px;width:78px;height:78px;border-radius:50%;background:rgba(35,126,190,.07)}
.adm-result-kpi-grid article>span{font-size:20px}.adm-result-kpi-grid article>small{display:block;margin-top:9px;color:#6c8294;font-size:9px;font-weight:900;line-height:1.3;text-transform:uppercase;letter-spacing:.035em}.adm-result-kpi-grid article>strong{display:block;margin-top:auto;color:#0a4f7e;font-size:25px;line-height:1}
.adm-result-kpi-grid article.is-success{border-color:#c9e8d8;background:linear-gradient(145deg,#effaf4,#fff)}.adm-result-kpi-grid article.is-success>strong{color:#1d8855}
.adm-result-kpi-grid article.is-warning{border-color:#f0dfaf;background:linear-gradient(145deg,#fff9e8,#fff)}.adm-result-kpi-grid article.is-warning>strong{color:#a16d00}
.adm-result-kpi-grid article.is-danger{border-color:#f0cdd1;background:linear-gradient(145deg,#fff3f4,#fff)}.adm-result-kpi-grid article.is-danger>strong{color:#c53d4c}
.adm-result-final-integrity{display:flex;align-items:flex-start;gap:13px;margin:14px 0;padding:15px 17px;border:1px solid #cfe0ec;border-left:5px solid #2f80b9;border-radius:15px;background:#f3f9fd;color:#214f70}
.adm-result-final-integrity>span{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:12px;background:#e2f0f9;font-size:19px}.adm-result-final-integrity strong{display:block;font-size:13px}.adm-result-final-integrity p{margin:4px 0 0;color:#638095;font-size:11px;line-height:1.55}
.adm-result-message-config{margin:18px 0;padding:18px;border:1px solid #d7e4ed;border-radius:18px;background:linear-gradient(145deg,#f8fbfd,#fff)}
.adm-result-message-config-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.adm-result-message-config-head span{color:#138075;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.adm-result-message-config-head h3{margin:4px 0;color:#0c456e;font-size:16px}.adm-result-message-config-head p{margin:0;color:#708696;font-size:11px}.adm-result-message-config-head>small{padding:7px 10px;border-radius:999px;background:#eaf4fa;color:#376782;font-size:10px;font-weight:800;white-space:nowrap}
.adm-result-message-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.adm-result-message-form{display:flex;flex-direction:column;gap:9px;padding:13px;border:1px solid #dce7ef;border-radius:14px;background:#fff}.adm-result-message-form label{color:#244f70;font-size:11px;font-weight:900}.adm-result-message-form textarea{display:block;width:100%;min-height:112px;margin-top:7px;padding:11px 12px;border:1px solid #cbdce8;border-radius:11px;background:#fbfdff;color:#23445c;font:inherit;font-weight:500;line-height:1.5;resize:vertical}.adm-result-message-form textarea:focus{outline:0;border-color:#2e82bd;box-shadow:0 0 0 3px rgba(46,130,189,.12)}.adm-result-message-form>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.adm-result-message-form>div small{color:#7d8f9c;font-size:9px;line-height:1.35}
.adm-result-filter-bar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;margin:18px 0 12px;padding:13px 14px;border:1px solid #d7e4ed;border-radius:14px;background:#f7fafc}.adm-result-filter-bar label{display:flex;flex-direction:column;gap:5px;color:#5d7486;font-size:9px;font-weight:900;text-transform:uppercase}.adm-result-filter-bar select{min-width:170px;padding:9px 34px 9px 10px;border:1px solid #cbdce8;border-radius:10px;background:#fff;color:#244f70;font-size:11px;font-weight:700}.adm-result-filter-bar>[data-resultado-conteo]{margin-left:auto;padding:8px 11px;border-radius:999px;background:#eaf4fa;color:#245e83;font-size:10px;font-weight:900;white-space:nowrap}
.adm-result-final-table{min-width:1880px}.adm-result-final-table thead th{vertical-align:bottom}.adm-result-final-table tbody td{vertical-align:top}.adm-result-actions{display:flex!important;min-width:220px;flex-wrap:wrap;align-items:flex-start;gap:5px}.adm-result-actions .adm-btn{margin:0}
.adm-result-state{display:inline-flex;align-items:center;justify-content:center;max-width:150px;padding:5px 8px;border-radius:999px;background:#edf2f5;color:#667d8e;font-size:8px;font-weight:900;line-height:1.2;text-transform:uppercase;white-space:normal;text-align:center}.adm-result-state.is-ok{background:#e6f6ee;color:#237d51}.adm-result-state.is-pending{background:#fff5d9;color:#9b6a04}.adm-result-state.is-error{background:#ffe9eb;color:#bd3543}
.adm-exp-final-artifacts>h5{margin:13px 0 8px;color:#15557f;font-size:12px}.adm-exp-final-artifacts>h5:first-child{margin-top:0}.adm-exp-result-final-card{border-color:#c9ddeb!important;background:linear-gradient(145deg,#f5faff,#fff)!important}

/* Modal moderno de confirmación para acciones de Fase 5.1 */
body.adm-result-confirm-open{overflow:hidden}
.adm-result-confirm-modal{position:fixed;inset:0;z-index:10080;display:grid;place-items:center;padding:18px}.adm-result-confirm-modal[hidden]{display:none!important}.adm-result-confirm-backdrop{position:absolute;inset:0;background:rgba(4,24,39,.62);backdrop-filter:blur(3px)}
.adm-result-confirm-dialog{position:relative;z-index:1;width:min(460px,100%);padding:26px;border:1px solid rgba(255,255,255,.55);border-radius:22px;background:#fff;box-shadow:0 28px 70px rgba(2,27,44,.3);text-align:center}.adm-result-confirm-x{position:absolute;right:13px;top:11px;width:34px;height:34px;border:0;border-radius:50%;background:#eef4f7;color:#61798a;font-size:22px;cursor:pointer}.adm-result-confirm-icon{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 13px;border-radius:18px;background:linear-gradient(145deg,#e6f3fb,#f8fcff);font-size:26px}.adm-result-confirm-dialog h3{margin:0;color:#0b456e;font-size:19px}.adm-result-confirm-dialog p{margin:10px 0 20px;color:#60798b;font-size:12px;line-height:1.6}.adm-result-confirm-actions{display:flex;justify-content:center;gap:9px}

/* Consulta pública del resultado final */
.adm-public-result-page{position:relative;min-height:100vh;padding:26px clamp(16px,4vw,60px) 55px;background:linear-gradient(160deg,#f6fbff 0%,#fff 48%,#f7fbf9 100%);overflow:hidden}.adm-public-result-page>.adm-bg-shape{pointer-events:none}
.adm-result-public-header{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:22px;max-width:1240px;margin:0 auto;padding:15px 18px;border:1px solid rgba(198,219,233,.82);border-radius:20px;background:rgba(255,255,255,.9);box-shadow:0 12px 34px rgba(8,64,103,.08);backdrop-filter:blur(8px)}
.adm-result-public-brand{display:flex;align-items:center;gap:15px}.adm-result-public-brand img{width:68px;height:68px;object-fit:contain}.adm-result-public-brand span{color:#148078;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.09em}.adm-result-public-brand h1{margin:3px 0;color:#0a4169;font-size:clamp(17px,2.2vw,24px);line-height:1.15}.adm-result-public-brand p{margin:0;color:#7890a1;font-size:11px;font-weight:700}.adm-result-public-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.adm-result-public-layout{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.7fr);gap:20px;max-width:1120px;margin:30px auto 0}.adm-result-query-card{padding:clamp(22px,4vw,38px);border:1px solid #d4e4ef;border-radius:25px;background:#fff;box-shadow:0 18px 50px rgba(8,64,103,.1)}.adm-result-query-icon{display:grid;place-items:center;width:55px;height:55px;margin-bottom:15px;border-radius:18px;background:linear-gradient(145deg,#e3f2fb,#f8fcff);font-size:25px}.adm-eyebrow{display:block;color:#148078;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.1em}.adm-result-query-card h2{margin:7px 0;color:#0b456e;font-size:clamp(21px,3vw,31px);line-height:1.15}.adm-result-query-card>p{max-width:760px;margin:0 0 22px;color:#667f91;font-size:12px;line-height:1.65}.adm-result-query-card form>label{display:block;margin-bottom:7px;color:#315a76;font-size:10px;font-weight:900;text-transform:uppercase}.adm-result-query-input{display:flex;gap:9px}.adm-result-query-input input{flex:1;min-width:0;padding:14px 15px;border:1px solid #c8dce9;border-radius:13px;background:#fbfdff;color:#183f5b;font-size:13px;font-weight:700;text-transform:uppercase}.adm-result-query-input input:focus{outline:0;border-color:#2b82bd;box-shadow:0 0 0 4px rgba(43,130,189,.12)}.adm-result-query-card .adm-alert{margin-top:14px}.adm-result-public-privacy{display:flex;align-items:flex-start;gap:10px;margin-top:18px;padding:12px 14px;border-radius:13px;background:#f4f8fb;color:#698092}.adm-result-public-privacy strong{color:#356079;font-size:10px;white-space:nowrap}.adm-result-public-privacy span{font-size:10px;line-height:1.45}
.adm-result-public-side{display:flex;flex-direction:column;gap:12px}.adm-result-info-card{display:flex;align-items:flex-start;gap:12px;padding:17px;border:1px solid #d7e5ee;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 9px 26px rgba(8,64,103,.055)}.adm-result-info-card>span{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:13px;background:#edf6fb;font-size:19px}.adm-result-info-card strong{display:block;color:#174d70;font-size:12px}.adm-result-info-card p{margin:5px 0 0;color:#748999;font-size:10px;line-height:1.5}
.adm-result-public-card{position:relative;z-index:1;max-width:1120px;margin:22px auto 0;padding:clamp(20px,4vw,34px);border:1px solid #cfe1ec;border-radius:25px;background:#fff;box-shadow:0 20px 55px rgba(8,64,103,.12)}.adm-result-public-card[hidden]{display:none!important}.adm-result-public-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:17px;border-bottom:1px solid #e3edf3}.adm-result-public-card-head h2{margin:6px 0 0;color:#0b456e;font-size:clamp(23px,3vw,34px)}.adm-result-public-card-head h2[data-decision="ADMITIDO"]{color:#1e8755}.adm-result-public-card-head h2[data-decision="LISTA-DE-ESPERA"]{color:#a36d00}.adm-result-public-card-head h2[data-decision="NO-ADMITIDO"]{color:#bd3543}.adm-result-public-status{display:inline-flex;padding:8px 12px;border-radius:999px;background:#edf3f6;color:#557184;font-size:9px;font-weight:900;text-transform:uppercase}.adm-result-public-status[data-estado="ADMITIDO"]{background:#e5f6ed;color:#237d51}.adm-result-public-status[data-estado="LISTA-DE-ESPERA"]{background:#fff4d4;color:#976500}.adm-result-public-status[data-estado="NO-ADMITIDO"]{background:#ffe7ea;color:#b63240}
.adm-result-public-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:19px 0}.adm-result-public-grid>div{padding:13px 14px;border:1px solid #dce8ef;border-radius:14px;background:#f9fcfe}.adm-result-public-grid small{display:block;color:#7c91a0;font-size:8px;font-weight:900;text-transform:uppercase}.adm-result-public-grid strong{display:block;margin-top:5px;color:#254e69;font-size:12px;line-height:1.35}.adm-result-public-message{padding:18px;border-left:5px solid #2d83bd;border-radius:14px;background:#f4f9fc}.adm-result-public-message h3{margin:0 0 7px;color:#174e72;font-size:14px}.adm-result-public-message p{margin:0;color:#516f83;font-size:12px;line-height:1.65}.adm-result-public-message>div{margin:13px 0;padding:12px 13px;border:1px solid #d7e4ed;border-radius:11px;background:#fff;color:#3b6178;font-size:11px;line-height:1.6;white-space:pre-line}.adm-result-public-message>strong{display:block;margin-top:13px;color:#0b4f7d;font-size:11px;line-height:1.5}

@media(max-width:1450px){.adm-result-kpi-grid{grid-template-columns:repeat(5,minmax(120px,1fr))}}
@media(max-width:1050px){.adm-result-kpi-grid{grid-template-columns:repeat(3,minmax(120px,1fr))}.adm-result-message-grid{grid-template-columns:1fr}.adm-result-public-layout{grid-template-columns:1fr}.adm-result-public-side{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.adm-result-final-head,.adm-result-public-header,.adm-result-public-card-head{flex-direction:column;align-items:stretch}.adm-result-final-head-actions,.adm-result-public-actions{justify-content:flex-start}.adm-result-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.adm-result-filter-bar{align-items:stretch}.adm-result-filter-bar label,.adm-result-filter-bar select{width:100%;min-width:0}.adm-result-filter-bar>[data-resultado-conteo]{margin-left:0}.adm-result-public-side{grid-template-columns:1fr}.adm-result-query-input{flex-direction:column}.adm-result-public-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.adm-result-public-brand img{width:56px;height:56px}.adm-result-public-actions .adm-btn{flex:1}.adm-result-public-privacy{flex-direction:column}.adm-result-confirm-actions{flex-direction:column}.adm-result-confirm-actions .adm-btn{width:100%}}
@media(max-width:480px){.adm-result-kpi-grid,.adm-result-public-grid{grid-template-columns:1fr}.adm-public-result-page{padding-left:11px;padding-right:11px}.adm-result-public-header{padding:13px}.adm-result-query-card,.adm-result-public-card{border-radius:19px}.adm-result-message-config-head{flex-direction:column}.adm-result-message-form>div{align-items:flex-start;flex-direction:column}}

/* Fase 6.0 · Reportes, dashboards e históricos consolidados */
.adm-reportes-consolidados-panel{overflow:visible;background:linear-gradient(160deg,#fff 0%,#f8fbfd 100%)}
.adm-reportes-consolidados-head{align-items:flex-start;gap:22px}
.adm-reportes-consolidados-actions{display:flex;align-items:flex-end;justify-content:flex-end;flex-wrap:wrap;gap:9px}
.adm-reportes-consolidados-actions label{display:flex;min-width:260px;flex-direction:column;gap:6px;color:#506d81;font-size:9px;font-weight:900;letter-spacing:.05em;text-transform:uppercase}
.adm-reportes-consolidados-actions select{width:100%;padding:10px 36px 10px 12px;border:1px solid #cbdde8;border-radius:11px;background:#fff;color:#174d70;font-size:11px;font-weight:800;box-shadow:0 4px 12px rgba(9,61,99,.04)}
.adm-reportes-consolidados-actions select:focus{outline:0;border-color:#2782bc;box-shadow:0 0 0 3px rgba(39,130,188,.12)}
.adm-reportes-periodo-summary{display:grid;grid-template-columns:1.25fr 1fr .55fr;gap:10px;margin:17px 0 0;padding:12px;border:1px solid #d7e5ed;border-radius:15px;background:#f7fafc}
.adm-reportes-periodo-summary>div{padding:10px 12px;border-radius:11px;background:#fff;box-shadow:0 4px 12px rgba(9,61,99,.035)}
.adm-reportes-periodo-summary span{display:block;color:#7890a1;font-size:8px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.adm-reportes-periodo-summary strong{display:block;margin-top:5px;color:#164e73;font-size:11px;line-height:1.35}
.adm-reportes-alert{margin:13px 0 0;padding:11px 13px;border-radius:12px;font-size:11px;font-weight:800;line-height:1.45}
.adm-reportes-alert.is-ok{border:1px solid #bfdfd0;background:#eaf7f1;color:#21764d}.adm-reportes-alert.is-error{border:1px solid #efc7cc;background:#fff0f2;color:#b33947}
.adm-report-kpi-grid{display:grid;grid-template-columns:repeat(8,minmax(112px,1fr));gap:11px;margin:18px 0}
.adm-report-kpi-grid article{position:relative;display:flex;min-height:123px;flex-direction:column;padding:15px;border:1px solid #d8e6ef;border-radius:17px;background:linear-gradient(145deg,#f8fcff,#fff);box-shadow:0 8px 21px rgba(7,59,96,.055);overflow:hidden}
.adm-report-kpi-grid article:after{content:"";position:absolute;right:-25px;bottom:-34px;width:86px;height:86px;border-radius:50%;background:rgba(30,123,184,.07)}
.adm-report-kpi-grid article>span{position:relative;z-index:1;font-size:21px}.adm-report-kpi-grid article>small{position:relative;z-index:1;display:block;margin-top:8px;color:#698193;font-size:8px;font-weight:900;line-height:1.25;letter-spacing:.04em;text-transform:uppercase}.adm-report-kpi-grid article>strong{position:relative;z-index:1;display:block;margin-top:auto;color:#0a527f;font-size:25px;line-height:1}.adm-report-kpi-grid article>strong b{font:inherit}.adm-report-kpi-grid article>em{position:relative;z-index:1;display:block;margin-top:5px;color:#8496a3;font-size:8px;font-style:normal;font-weight:800}
.adm-report-kpi-grid article.is-success{border-color:#c8e5d6;background:linear-gradient(145deg,#eefaf4,#fff)}.adm-report-kpi-grid article.is-success>strong{color:#238254}
.adm-report-kpi-grid article.is-warning{border-color:#ecdda9;background:linear-gradient(145deg,#fff8e7,#fff)}.adm-report-kpi-grid article.is-warning>strong{color:#9c6b05}
.adm-report-kpi-grid article.is-accent{border-color:#c9dcf2;background:linear-gradient(145deg,#f0f6ff,#fff)}.adm-report-kpi-grid article.is-accent>strong{color:#4d63ad}
.adm-report-kpi-grid article.is-closed{border-color:#d8d3ed;background:linear-gradient(145deg,#f6f3fc,#fff)}.adm-report-kpi-grid article.is-closed>strong{color:#66539c}
.adm-report-analysis-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:14px;margin:0 0 18px}
.adm-report-chart-card{padding:18px;border:1px solid #d7e5ed;border-radius:18px;background:#fff;box-shadow:0 9px 24px rgba(7,59,96,.055)}
.adm-report-chart-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}.adm-report-chart-card>header span{display:block;color:#168078;font-size:8px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.adm-report-chart-card>header h3{margin:4px 0 0;color:#0d4b73;font-size:15px}.adm-report-chart-card>header>strong{display:inline-flex;align-items:center;justify-content:center;min-width:48px;padding:8px 10px;border-radius:12px;background:#edf6fb;color:#145b88;font-size:17px}.adm-report-chart-card>header>strong b{font:inherit}
.adm-report-bar-row{margin-top:12px}.adm-report-bar-row>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px;color:#536f82;font-size:10px;font-weight:800}.adm-report-bar-row>div:first-child strong{color:#315b76;font-size:11px}.adm-report-bar-track{height:9px;border-radius:999px;background:#edf2f5;overflow:hidden}.adm-report-bar-track i{display:block;height:100%;border-radius:inherit;background:#6f8fa4;transition:width .35s ease}.adm-report-bar-row.is-admitted .adm-report-bar-track i{background:#37a26e}.adm-report-bar-row.is-waiting .adm-report-bar-track i{background:#e2a82e}.adm-report-bar-row.is-rejected .adm-report-bar-track i{background:#d75d68}.adm-report-bar-row.is-pending .adm-report-bar-track i{background:#8799a6}
.adm-report-capacity-card{display:grid;grid-template-columns:1fr 150px;grid-template-areas:"head ring" "meta ring";align-items:center;column-gap:20px}.adm-report-capacity-card>header{grid-area:head;margin:0}.adm-report-capacity-ring{grid-area:ring;display:grid;place-items:center;width:142px;height:142px;border-radius:50%;background:conic-gradient(#2a84bd var(--adm-report-progress,0%),#e9f0f4 0);box-shadow:inset 0 0 0 1px rgba(42,132,189,.08)}.adm-report-capacity-ring:before{content:"";grid-area:1/1;width:104px;height:104px;border-radius:50%;background:#fff;box-shadow:0 4px 14px rgba(7,59,96,.07)}.adm-report-capacity-ring>div{z-index:1;grid-area:1/1;text-align:center}.adm-report-capacity-ring strong{display:block;color:#115983;font-size:21px}.adm-report-capacity-ring span{display:block;margin-top:3px;color:#7b909e;font-size:8px;font-weight:900;text-transform:uppercase}.adm-report-capacity-meta{grid-area:meta;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:13px}.adm-report-capacity-meta>div{padding:9px;border-radius:11px;background:#f5f8fa;text-align:center}.adm-report-capacity-meta span{display:block;color:#7a8e9c;font-size:7px;font-weight:900;text-transform:uppercase}.adm-report-capacity-meta strong{display:block;margin-top:4px;color:#254f69;font-size:14px}
.adm-report-section{margin-top:17px;padding:17px;border:1px solid #d8e5ed;border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(7,59,96,.045)}
.adm-report-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:13px}.adm-report-section-head span{display:block;color:#158078;font-size:8px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.adm-report-section-head h3{margin:4px 0 0;color:#0d4b73;font-size:15px}.adm-report-section-head p{margin:4px 0 0;color:#718797;font-size:10px;line-height:1.45}
.adm-report-table{min-width:1180px}.adm-report-detail-table{min-width:2440px}.adm-report-table thead th{vertical-align:bottom}.adm-report-table tbody td{vertical-align:top}.adm-report-detail-wrap{max-height:650px}
.adm-report-state{display:inline-flex;align-items:center;justify-content:center;max-width:150px;padding:5px 8px;border-radius:999px;background:#edf2f5;color:#61798a;font-size:8px;font-weight:900;line-height:1.2;text-align:center;text-transform:uppercase;white-space:normal}.adm-report-state.is-ok{background:#e4f5ec;color:#237b50}.adm-report-state.is-pending{background:#fff4d7;color:#976600}.adm-report-state.is-error{background:#ffe8eb;color:#b83947}.adm-report-state.is-neutral{background:#eaf1f5;color:#506d80}
.adm-report-audit-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:14px}.adm-report-audit-grid .adm-report-section{min-width:0}.adm-report-audit-grid .adm-report-table{min-width:920px}.adm-report-audit-grid .adm-report-section:last-child .adm-report-table{min-width:720px}
@media(max-width:1500px){.adm-report-kpi-grid{grid-template-columns:repeat(4,minmax(125px,1fr))}}
@media(max-width:1180px){.adm-reportes-consolidados-head{flex-direction:column}.adm-reportes-consolidados-actions{justify-content:flex-start}.adm-report-analysis-grid,.adm-report-audit-grid{grid-template-columns:1fr}.adm-report-capacity-card{grid-template-columns:1fr 150px}.adm-reportes-periodo-summary{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.adm-reportes-consolidados-actions{width:100%;align-items:stretch;flex-direction:column}.adm-reportes-consolidados-actions label{min-width:0}.adm-reportes-consolidados-actions .adm-btn{width:100%}.adm-reportes-periodo-summary{grid-template-columns:1fr}.adm-report-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.adm-report-capacity-card{grid-template-columns:1fr;grid-template-areas:"head" "ring" "meta";justify-items:center}.adm-report-capacity-card>header{width:100%}.adm-report-capacity-ring{margin-top:16px}.adm-report-capacity-meta{width:100%}.adm-report-section{padding:12px}}
@media(max-width:460px){.adm-report-kpi-grid{grid-template-columns:1fr}.adm-report-capacity-meta{grid-template-columns:1fr}}


/* ============================================================
   FASE 6.0 · TABLAS DINÁMICAS RESPONSIVE Y MODERNAS
   Mejora visual exclusiva para Reportes, dashboards e históricos.
   ============================================================ */
.adm-reportes-consolidados-panel .adm-report-section{
  --adm-report-accent:#137f9a;
  --adm-report-soft:#eef9fb;
  position:relative;
  overflow:hidden;
  border-color:#d7e7ee;
  box-shadow:0 14px 34px rgba(7,59,96,.065);
}
.adm-reportes-consolidados-panel .adm-report-section:before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:4px;
  background:linear-gradient(90deg,var(--adm-report-accent),rgba(255,255,255,0));
}
.adm-reportes-consolidados-panel .adm-report-section-grades{--adm-report-accent:#1782ad;--adm-report-soft:#eef8fc}
.adm-reportes-consolidados-panel .adm-report-section-detail{--adm-report-accent:#5a61b7;--adm-report-soft:#f3f3ff}
.adm-reportes-consolidados-panel .adm-report-section-history{--adm-report-accent:#12846f;--adm-report-soft:#eefaf6}
.adm-reportes-consolidados-panel .adm-report-section-trace{--adm-report-accent:#b17918;--adm-report-soft:#fff9ec}
.adm-reportes-consolidados-panel .adm-report-section-exports{--adm-report-accent:#7b5ca7;--adm-report-soft:#f7f2fc}
.adm-reportes-consolidados-panel .adm-report-section-head{position:relative;z-index:1;align-items:center;margin-bottom:14px;padding:2px 2px 0}
.adm-reportes-consolidados-panel .adm-report-section-head>div:first-child{min-width:0}
.adm-reportes-consolidados-panel .adm-report-section-head>div:first-child>span{color:var(--adm-report-accent)}
.adm-reportes-consolidados-panel .adm-report-section-badge{display:flex;min-width:176px;align-items:center;gap:9px;padding:9px 12px;border:1px solid color-mix(in srgb,var(--adm-report-accent) 20%,#fff);border-radius:14px;background:var(--adm-report-soft);box-shadow:0 5px 14px rgba(7,59,96,.035)}
.adm-reportes-consolidados-panel .adm-report-section-badge i{display:grid;place-items:center;width:31px;height:31px;flex:0 0 31px;border-radius:10px;background:#fff;color:var(--adm-report-accent);font-size:15px;font-style:normal;box-shadow:0 4px 10px rgba(7,59,96,.07)}
.adm-reportes-consolidados-panel .adm-report-section-badge strong,.adm-reportes-consolidados-panel .adm-report-section-badge small{display:block}
.adm-reportes-consolidados-panel .adm-report-section-badge strong{color:#214f68;font-size:10px;line-height:1.2}
.adm-reportes-consolidados-panel .adm-report-section-badge small{margin-top:2px;color:#79909f;font-size:8px;font-weight:800}

.adm-reportes-consolidados-panel .adm-report-table-manager{position:relative;margin:10px 0 13px;padding:13px;border:1px solid color-mix(in srgb,var(--adm-report-accent) 20%,#dbe8ef);border-radius:17px;background:linear-gradient(145deg,#fff,var(--adm-report-soft));box-shadow:none}
.adm-reportes-consolidados-panel .adm-report-table-manager .adm-table-manager-top strong{color:#164f70;font-size:13px}
.adm-reportes-consolidados-panel .adm-report-table-manager .adm-table-manager-top span{font-size:10px;line-height:1.4}
.adm-reportes-consolidados-panel .adm-report-table-manager .adm-table-manager-actions .adm-btn{min-height:32px;padding:7px 12px;font-size:9px}
.adm-reportes-consolidados-panel .adm-report-table-manager .adm-table-manager-search input{height:38px;border-radius:11px}
.adm-reportes-consolidados-panel .adm-report-table-manager .adm-table-pagination{padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.82)}
.adm-reportes-consolidados-panel .adm-report-table-manager .adm-table-manager-details{border-radius:12px;background:rgba(255,255,255,.7)}
.adm-reportes-consolidados-panel .adm-report-table-manager .adm-table-manager-details summary{padding:9px 11px;font-size:10px}
.adm-reportes-consolidados-panel .adm-report-table-manager .adm-table-column-option{min-height:34px;border-radius:10px;font-size:9px}
.adm-reportes-consolidados-panel .adm-report-table-manager .adm-table-filter-grid label,.adm-reportes-consolidados-panel .adm-report-table-manager .adm-table-manager-search label{font-size:10px}

.adm-report-table-shell{position:relative;width:100%;max-width:100%;border:1px solid #d8e6ed;border-radius:16px;background:#f8fbfd;box-shadow:inset 0 1px 0 rgba(255,255,255,.9);overflow:auto;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#a9c3d3 #edf3f6}
.adm-report-table-shell::-webkit-scrollbar{height:9px;width:9px}.adm-report-table-shell::-webkit-scrollbar-track{background:#edf3f6;border-radius:999px}.adm-report-table-shell::-webkit-scrollbar-thumb{background:#a9c3d3;border:2px solid #edf3f6;border-radius:999px}
.adm-report-table{border-collapse:separate!important;border-spacing:0!important;background:#fff!important;border-radius:0!important;overflow:visible!important}
.adm-report-table thead th{position:sticky!important;top:0;z-index:4;min-height:46px;padding:12px 11px!important;border-bottom:1px solid #d6e5ec!important;background:linear-gradient(180deg,#f8fbfd 0%,#edf5f8 100%)!important;color:#31566d!important;font-size:9px!important;font-weight:900!important;line-height:1.25!important;letter-spacing:.055em!important;text-align:center!important;white-space:nowrap!important;text-transform:uppercase!important;box-shadow:0 2px 0 rgba(7,59,96,.025)}
.adm-report-table thead th:first-child{text-align:left!important}
.adm-report-table tbody td{padding:11px!important;border-right:1px solid #edf2f5!important;border-bottom:1px solid #e8f0f4!important;background:#fff!important;color:#3d596b!important;font-size:10px!important;line-height:1.35!important;text-align:center!important;vertical-align:middle!important;transition:background .16s ease,box-shadow .16s ease}
.adm-report-table tbody td:first-child{text-align:left!important}
.adm-report-table tbody tr:nth-child(even) td{background:#fbfdfe!important}
.adm-report-table tbody tr:hover td{background:#f1f8fb!important}
.adm-report-table tbody tr:last-child td{border-bottom:0!important}
.adm-report-table tbody td:last-child{border-right:0!important}
.adm-report-table tbody tr.is-row-admitted td:first-child{box-shadow:inset 4px 0 #35a46c}
.adm-report-table tbody tr.is-row-waiting td:first-child{box-shadow:inset 4px 0 #dda72f}
.adm-report-table tbody tr.is-row-rejected td:first-child{box-shadow:inset 4px 0 #d45d68}
.adm-report-table tbody tr.is-row-pending td:first-child{box-shadow:inset 4px 0 #9aabb6}
.adm-report-history-row.is-active-period td{background:#f3fbf8!important}.adm-report-history-row.is-active-period td:first-child{box-shadow:inset 4px 0 #2e9b72}
.adm-report-detail-wrap{max-height:690px}.adm-report-grades-table{min-width:1360px!important}.adm-report-detail-table{min-width:2840px!important}.adm-report-history-table{min-width:1580px!important}.adm-report-trace-table{min-width:1240px!important}.adm-report-exports-table{min-width:900px!important}
.adm-report-detail-table th:first-child,.adm-report-detail-table td:first-child{position:sticky;left:0;z-index:3}.adm-report-detail-table th:first-child{z-index:7}.adm-report-detail-table td:first-child{background:#f9fcfe!important;box-shadow:5px 0 12px rgba(7,59,96,.04)}

.adm-report-primary-cell,.adm-report-person-cell{min-width:150px;text-align:left!important;white-space:nowrap}
.adm-report-primary-cell>span:last-child,.adm-report-person-cell>span:last-child{display:inline-block;max-width:170px;min-width:0;vertical-align:middle;white-space:normal}
.adm-report-primary-cell>.adm-report-cell-icon,.adm-report-person-cell>.adm-report-avatar{display:inline-grid;margin-right:7px;vertical-align:middle}
.adm-report-file{display:flex;align-items:center;gap:8px;min-width:190px;text-align:left}
.adm-report-primary-cell strong,.adm-report-person-cell strong,.adm-report-code-cell strong,.adm-report-user-cell strong,.adm-report-file strong{display:block;color:#174d6e;font-size:10px;line-height:1.35;overflow-wrap:anywhere}
.adm-report-primary-cell small,.adm-report-person-cell small,.adm-report-code-cell small,.adm-report-user-cell small{display:block;margin-top:3px;color:#8497a4;font-size:8px;font-weight:700;line-height:1.35;overflow-wrap:anywhere}
.adm-report-cell-icon,.adm-report-avatar{display:grid;place-items:center;width:33px;height:33px;flex:0 0 33px;border:1px solid #d9e8ef;border-radius:11px;background:#eff8fb;font-size:15px;box-shadow:0 4px 10px rgba(7,59,96,.04)}
.adm-report-avatar{border:0;background:linear-gradient(145deg,#e7f4fb,#d9ebf6);color:#176188;font-size:10px;font-weight:900}.adm-report-person-cell.is-representative .adm-report-avatar{background:linear-gradient(145deg,#f2edfb,#e7dcf7);color:#6e4d9f}
.adm-report-code-cell{min-width:135px}.adm-report-action-cell{min-width:106px}.adm-report-expediente-btn{gap:5px;min-width:92px;padding:7px 10px!important;border-radius:10px!important;font-size:9px!important;box-shadow:none!important}
.adm-report-grade-chip,.adm-report-code-chip,.adm-report-module-chip,.adm-report-action-chip,.adm-report-type-chip,.adm-report-profile-chip{display:inline-flex;align-items:center;justify-content:center;max-width:180px;padding:6px 9px;border:1px solid #d7e5ec;border-radius:9px;background:#f3f8fa;color:#345d73;font-size:8px;font-weight:900;line-height:1.25;text-align:center;text-transform:uppercase;white-space:normal}
.adm-report-grade-chip{background:#edf5ff;color:#315d8d;border-color:#d2e1f1}.adm-report-code-chip{background:#eef7fa;color:#17627a;border-color:#d3e7ed}.adm-report-module-chip{background:#f2f0fb;color:#6953a0;border-color:#dfd9ef}.adm-report-action-chip{background:#fff6df;color:#8a6107;border-color:#f0dfae}.adm-report-type-chip{background:#eef7fb;color:#176682}.adm-report-profile-chip{background:#f4f0fa;color:#6b5095;border-color:#e1d8ed}
.adm-report-metric{display:inline-flex;min-width:34px;min-height:29px;align-items:center;justify-content:center;padding:5px 9px;border:1px solid #dce7ed;border-radius:10px;background:#f5f8fa;color:#496777;font-size:11px;font-weight:900}.adm-report-metric.is-info{border-color:#cde1ee;background:#edf7fc;color:#28739c}.adm-report-metric.is-complete{border-color:#cce7dc;background:#eef9f4;color:#29815a}.adm-report-metric.is-accent{border-color:#d7d7ee;background:#f3f2fb;color:#5d5aa0}.adm-report-metric.is-success{border-color:#c8e5d6;background:#eaf7f0;color:#277e52}.adm-report-metric.is-warning{border-color:#ebdca9;background:#fff7df;color:#946705}.adm-report-metric.is-danger{border-color:#edccd1;background:#fff0f2;color:#b33e4b}.adm-report-metric.is-muted{border-color:#dde5e9;background:#f2f5f6;color:#70838e}.adm-report-metric.is-available{border-color:#c9e7e8;background:#ebf9f8;color:#1f7c78}.adm-report-metric.is-closed{border-color:#dbd5ea;background:#f5f2fa;color:#6b5794}
.adm-report-score{display:inline-flex;align-items:baseline;gap:3px;color:#165b82;font-size:13px;font-weight:950;white-space:nowrap}.adm-report-score small{color:#8aa0ad;font-size:7px;font-weight:900}.adm-report-percent-chip{display:inline-flex;padding:6px 9px;border-radius:9px;background:#edf6fd;color:#276c99;font-size:10px;font-weight:900}
.adm-report-progress-inline{display:grid;grid-template-columns:minmax(68px,1fr) auto;align-items:center;gap:8px;min-width:115px}.adm-report-progress-inline>div{height:7px;border-radius:999px;background:#e6eef2;overflow:hidden}.adm-report-progress-inline>div i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#43a6c4,#2581a9)}.adm-report-progress-inline strong{color:#315c73;font-size:9px;white-space:nowrap}.adm-report-progress-inline.is-high>div i,.adm-report-progress-inline.is-complete>div i{background:linear-gradient(90deg,#40ad79,#23875b)}.adm-report-progress-inline.is-medium>div i{background:linear-gradient(90deg,#e7bc51,#d3921b)}.adm-report-progress-inline.is-low>div i{background:linear-gradient(90deg,#7eb5cf,#4c8eaf)}
.adm-report-result-pill{display:inline-flex;min-width:52px;justify-content:center;padding:6px 8px;border:1px solid #d2e3ed;border-radius:9px;background:#f4f9fc;color:#23698f;font-size:9px;font-weight:900}.adm-report-final-score{display:inline-flex;min-width:58px;flex-direction:column;align-items:center;padding:7px 9px;border:1px solid #cbdff0;border-radius:11px;background:linear-gradient(145deg,#eef7ff,#fff);box-shadow:0 4px 10px rgba(7,59,96,.04)}.adm-report-final-score strong{color:#175d8b;font-size:14px;line-height:1}.adm-report-final-score small{margin-top:3px;color:#8095a3;font-size:7px;font-weight:900;text-transform:uppercase}.adm-report-version{display:inline-grid;place-items:center;min-width:31px;height:31px;border-radius:50%;background:#edf0fb;color:#5a58a0;font-size:9px;font-weight:900}.adm-report-subline{display:block;margin-top:4px;color:#8799a5!important;font-size:7px!important;font-weight:800}.adm-report-date{display:inline-block;color:#526f81;font-size:8px;font-weight:800;line-height:1.4;white-space:normal}.adm-report-description-cell{min-width:230px;max-width:330px;color:#577080!important;line-height:1.5!important;text-align:left!important}.adm-report-user-cell{min-width:115px;text-align:left!important}
.adm-report-state{gap:5px;min-width:0;max-width:170px;padding:6px 9px;border:1px solid transparent;font-size:7px;letter-spacing:.025em}.adm-report-state i{display:inline-block;width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:currentColor}.adm-report-state.is-green{border-color:#c6e7d5;background:#e8f7ef;color:#267c50}.adm-report-state.is-yellow{border-color:#ecdca5;background:#fff7dc;color:#946600}.adm-report-state.is-red{border-color:#efcbd0;background:#fff0f2;color:#b43b49}.adm-report-state.is-neutral{border-color:#dce6eb;background:#f0f4f6;color:#5f7685}.adm-report-state.is-ok{border-color:#c6e7d5}.adm-report-state.is-pending{border-color:#ecdca5}.adm-report-state.is-error{border-color:#efcbd0}
.adm-report-change{display:grid;grid-template-columns:minmax(48px,1fr) auto minmax(48px,1fr);align-items:center;gap:6px;min-width:150px}.adm-report-change small,.adm-report-change strong{padding:5px 6px;border-radius:8px;font-size:7px;line-height:1.25;text-align:center;overflow-wrap:anywhere}.adm-report-change small{background:#f1f4f6;color:#70838f}.adm-report-change strong{background:#edf7f2;color:#2b7c55}.adm-report-change i{color:#9aadba;font-style:normal;font-weight:900}
.adm-report-format{display:inline-flex;min-width:46px;justify-content:center;padding:6px 8px;border-radius:9px;font-size:8px;font-weight:950;letter-spacing:.04em}.adm-report-format.is-pdf{border:1px solid #efcbd0;background:#fff0f2;color:#b63b49}.adm-report-format.is-excel{border:1px solid #c5e5d4;background:#eaf7f0;color:#277d51}.adm-report-file{min-width:190px}.adm-report-file i{font-style:normal}.adm-report-file strong{font-size:8px}

@media(max-width:1180px){
  .adm-reportes-consolidados-panel .adm-report-section-badge{min-width:150px}
  .adm-report-audit-grid{grid-template-columns:1fr!important}
  .adm-report-trace-table{min-width:1120px!important}.adm-report-exports-table{min-width:820px!important}
}
@media(max-width:820px){
  .adm-reportes-consolidados-panel .adm-report-section{padding:13px;border-radius:16px}
  .adm-reportes-consolidados-panel .adm-report-section-head{align-items:flex-start;flex-direction:column}
  .adm-reportes-consolidados-panel .adm-report-section-badge{width:100%;min-width:0}
  .adm-reportes-consolidados-panel .adm-report-table-manager{padding:11px}
  .adm-reportes-consolidados-panel .adm-report-table-manager .adm-table-manager-top{align-items:flex-start;flex-direction:column}
  .adm-reportes-consolidados-panel .adm-report-table-manager .adm-table-manager-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .adm-reportes-consolidados-panel .adm-report-table-manager .adm-table-manager-actions .adm-btn{width:100%}
  .adm-report-table-shell{border:0;background:transparent;box-shadow:none;overflow:visible}
  .adm-report-table{display:block!important;width:100%!important;min-width:0!important;background:transparent!important}
  .adm-report-table thead{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}
  .adm-report-table tbody{display:grid!important;gap:12px!important;width:100%!important}
  .adm-report-table tbody tr{display:block!important;width:100%!important;border:1px solid #dbe7ed!important;border-radius:15px!important;background:#fff!important;box-shadow:0 8px 20px rgba(7,59,96,.055)!important;overflow:hidden!important}
  .adm-report-table tbody tr[style*="display: none"]{display:none!important}
  .adm-report-table tbody td{position:static!important;display:grid!important;grid-template-columns:minmax(104px,38%) minmax(0,1fr)!important;align-items:center!important;gap:10px!important;width:100%!important;min-width:0!important;max-width:none!important;padding:10px 11px!important;border-right:0!important;border-bottom:1px solid #edf2f5!important;background:#fff!important;box-shadow:none!important;text-align:right!important;overflow-wrap:anywhere!important}
  .adm-report-table tbody td[style*="display: none"]{display:none!important}
  .adm-report-table tbody td:last-child{border-bottom:0!important}
  .adm-report-table tbody td:before{content:attr(data-label);display:block;color:#6b8291;font-size:8px;font-weight:900;line-height:1.3;letter-spacing:.045em;text-align:left;text-transform:uppercase}
  .adm-report-table tbody td>*{justify-self:end;max-width:100%}
  .adm-report-table tbody td.adm-report-primary-cell,.adm-report-table tbody td.adm-report-person-cell,.adm-report-table tbody td.adm-report-file{display:grid!important;grid-template-columns:minmax(104px,38%) minmax(0,1fr)!important}
  .adm-report-table tbody td.adm-report-primary-cell:before,.adm-report-table tbody td.adm-report-person-cell:before,.adm-report-table tbody td.adm-report-file:before{grid-column:1;grid-row:1}
  .adm-report-table tbody td.adm-report-primary-cell>*,.adm-report-table tbody td.adm-report-person-cell>*,.adm-report-table tbody td.adm-report-file>*{grid-column:2;grid-row:1}
  .adm-report-table tbody td.adm-report-primary-cell>span:last-child,.adm-report-table tbody td.adm-report-person-cell>span:last-child{display:block;text-align:right}
  .adm-report-table tbody td.adm-report-primary-cell .adm-report-cell-icon,.adm-report-table tbody td.adm-report-person-cell .adm-report-avatar{display:none}
  .adm-report-table tbody td.adm-report-description-cell{text-align:right!important}
  .adm-report-table tbody td.adm-report-user-cell{text-align:right!important}
  .adm-report-table .adm-row-actions{justify-content:stretch!important}.adm-report-table .adm-row-actions .adm-btn{width:100%;justify-self:stretch}
  .adm-report-progress-inline{width:min(190px,100%);min-width:0;grid-template-columns:minmax(70px,1fr) auto}
  .adm-report-change{width:min(210px,100%);min-width:0}
  .adm-report-file{min-width:0;text-align:right}.adm-report-file strong{text-align:right}
  .adm-report-table tbody tr .adm-empty{display:block!important;padding:25px 14px!important;text-align:center!important}.adm-report-table tbody tr .adm-empty:before{display:none}
  .adm-report-detail-wrap{max-height:none}
}
@media(max-width:480px){
  .adm-reportes-consolidados-panel .adm-report-section{padding:10px}
  .adm-report-table tbody td{grid-template-columns:minmax(92px,40%) minmax(0,1fr)!important;padding:9px 10px!important}
  .adm-report-table tbody td.adm-report-primary-cell,.adm-report-table tbody td.adm-report-person-cell,.adm-report-table tbody td.adm-report-file{grid-template-columns:minmax(92px,40%) minmax(0,1fr)!important}
  .adm-report-state{max-width:145px;font-size:6.8px}.adm-report-grade-chip,.adm-report-code-chip,.adm-report-module-chip,.adm-report-action-chip,.adm-report-type-chip,.adm-report-profile-chip{max-width:150px}
}


/* Fase 6.0 - Alineación clara del detalle consolidado por aspirante */
.adm-report-detail-table th.adm-report-person-heading{min-width:205px!important;padding-left:16px!important;text-align:left!important}
.adm-report-detail-table td.adm-report-person-cell{min-width:205px!important;padding-left:16px!important;padding-right:16px!important;text-align:left!important;white-space:normal!important}
.adm-report-detail-table td.adm-report-person-cell.is-representative{min-width:225px!important}
.adm-report-detail-table .adm-report-person-data{display:block!important;width:100%!important;max-width:none!important;margin:0!important;text-align:left!important;white-space:normal!important}
.adm-report-detail-table .adm-report-person-data strong{display:block!important;width:100%!important;color:#174d6e!important;font-size:10px!important;font-weight:900!important;line-height:1.35!important;text-align:left!important;overflow-wrap:anywhere!important}
.adm-report-detail-table .adm-report-person-data small{display:block!important;width:100%!important;margin-top:4px!important;color:#8497a4!important;font-size:8px!important;font-weight:700!important;line-height:1.35!important;text-align:left!important;overflow-wrap:anywhere!important}
@media(max-width:760px){
  .adm-report-detail-table td.adm-report-person-cell,.adm-report-detail-table td.adm-report-person-cell.is-representative{min-width:0!important;padding-left:11px!important;padding-right:11px!important}
  .adm-report-detail-table .adm-report-person-data{justify-self:stretch!important;text-align:left!important}
}


/* Fase 6.0 complementaria: ranking y comparación de evaluaciones */
.adm-ranking-panel{overflow:hidden;background:linear-gradient(180deg,#f8fbff 0,#fff 22%);border:1px solid #cfe0ee;box-shadow:0 18px 48px rgba(23,78,115,.10)}
.adm-ranking-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 26px;background:linear-gradient(135deg,#0b4f8a,#1775ad 58%,#28a0b8);color:#fff;border-radius:18px;margin-bottom:18px;box-shadow:0 16px 34px rgba(11,79,138,.20)}
.adm-ranking-hero h2{margin:4px 0 7px;font-size:clamp(22px,2.5vw,34px);line-height:1.08;color:#fff}.adm-ranking-hero p{margin:0;max-width:780px;color:rgba(255,255,255,.86);font-size:13px}.adm-ranking-hero .adm-section-kicker{color:#d9f4ff}
.adm-ranking-hero-badge{min-width:150px;display:flex;align-items:center;gap:10px;padding:13px 16px;border:1px solid rgba(255,255,255,.28);border-radius:16px;background:rgba(255,255,255,.14);backdrop-filter:blur(8px)}.adm-ranking-hero-badge i{font-style:normal;font-size:30px}.adm-ranking-hero-badge span{font-weight:800;font-size:12px;text-transform:uppercase;letter-spacing:.05em}
.adm-ranking-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 20px}.adm-ranking-kpis article{position:relative;display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:3px 11px;min-height:92px;padding:14px 15px;border:1px solid #d7e5ef;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(31,63,87,.07);overflow:hidden}.adm-ranking-kpis article:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:#3d8fc6}.adm-ranking-kpis article>i{grid-row:1/3;display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#edf6fd;font-style:normal;font-size:21px}.adm-ranking-kpis article span{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.035em;color:#577083}.adm-ranking-kpis article strong{font-size:23px;line-height:1;color:#123f61}.adm-ranking-kpis article small{grid-column:2/4;color:#6a7f8f;font-size:11px}.adm-ranking-kpis .is-dece:before{background:#7d5bbe}.adm-ranking-kpis .is-dece>i{background:#f1ebff}.adm-ranking-kpis .is-vice:before{background:#ef7f29}.adm-ranking-kpis .is-vice>i{background:#fff0e3}.adm-ranking-kpis .is-compare:before{background:#20a87a}.adm-ranking-kpis .is-compare>i{background:#e3f8f1}.adm-ranking-kpis .is-period:before{background:#2a77b8}
.adm-ranking-block{margin-top:18px;padding:0;border:1px solid #d7e5ef;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 10px 28px rgba(28,64,91,.07)}.adm-ranking-block-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 20px;border-bottom:1px solid #dce8f0;background:linear-gradient(90deg,#f4f9fd,#fff)}.adm-ranking-block-head span{display:inline-flex;padding:4px 9px;border-radius:999px;background:#e6f2fb;color:#145b8d;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.adm-ranking-block-head h3{margin:5px 0 2px;color:#103f62;font-size:19px}.adm-ranking-block-head p{margin:0;color:#6b7f8f;font-size:12px}.adm-ranking-block-head>b{white-space:nowrap;padding:8px 11px;border-radius:11px;background:#edf5fb;color:#175d8c;font-size:12px}.adm-ranking-block.is-dece .adm-ranking-block-head{border-left:5px solid #7d5bbe}.adm-ranking-block.is-vice .adm-ranking-block-head{border-left:5px solid #ef7f29}.adm-ranking-block.is-compare .adm-ranking-block-head{border-left:5px solid #20a87a}
.adm-ranking-table-wrap{max-height:680px;overflow:auto}.adm-ranking-table{min-width:1480px}.adm-ranking-compare-table{min-width:1700px}.adm-ranking-table thead th{position:sticky;top:0;z-index:3;background:#eef6fb!important;color:#174c70!important;border-bottom:2px solid #a9c8dc!important;font-size:10px;letter-spacing:.035em}.adm-ranking-table tbody tr:nth-child(even){background:#f9fcfe}.adm-ranking-table tbody tr:hover{background:#eef8ff}.adm-ranking-table tbody tr.is-ranking-top{background:linear-gradient(90deg,#fffdf0,#fff)}
.adm-ranking-position{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:54px;height:34px;padding:0 8px;border-radius:12px;border:1px solid #cad9e4;background:#f4f8fb;color:#31596f}.adm-ranking-position i{font-style:normal;font-size:16px}.adm-ranking-position b{font-size:12px}.adm-ranking-position.is-gold{background:#fff5c6;border-color:#edcf55;color:#7a5700}.adm-ranking-position.is-silver{background:#eff3f6;border-color:#b9c5ce;color:#52616c}.adm-ranking-position.is-bronze{background:#f7e4d3;border-color:#d7a477;color:#7c4b24}.adm-ranking-course-position{display:inline-flex;padding:6px 9px;border-radius:10px;background:#edf5fb;color:#185d8c;font-weight:900}.adm-ranking-person{text-align:left!important}.adm-ranking-person strong,.adm-ranking-person small{display:block;text-align:left}.adm-ranking-person small{margin-top:4px;color:#718493}.adm-ranking-count{display:inline-grid;place-items:center;min-width:34px;height:30px;padding:0 8px;border-radius:10px;background:#e7f3fb;color:#155f91;font-weight:900}.adm-ranking-detail{min-width:230px;max-width:340px;white-space:normal!important;line-height:1.45;color:#496475}
.adm-ranking-score{display:flex;flex-direction:column;align-items:stretch;gap:4px;min-width:105px}.adm-ranking-score strong{text-align:center;color:#123f61;font-size:14px}.adm-ranking-score>span{display:block;height:6px;border-radius:999px;background:#e5edf2;overflow:hidden}.adm-ranking-score>span i{display:block;height:100%;border-radius:inherit;background:#38a675}.adm-ranking-score.is-mid>span i{background:#e6a52e}.adm-ranking-score.is-low>span i{background:#da5a5a}.adm-ranking-score small{text-align:center;color:#718493;font-size:9px}.adm-ranking-score.is-empty{display:inline-flex;min-width:auto;padding:5px 8px;border-radius:9px;background:#f0f3f5;color:#82929d;font-size:10px;font-weight:700}
.adm-ranking-area-badge{display:inline-flex;align-items:center;justify-content:center;min-width:112px;padding:6px 9px;border-radius:999px;background:#edf3f7;color:#476475;font-size:10px;font-weight:900;text-transform:uppercase}.adm-ranking-area-badge.is-dece{background:#eee7ff;color:#6742a5}.adm-ranking-area-badge.is-vicerrectorado{background:#fff0e2;color:#b35c1c}.adm-ranking-area-badge.is-equilibrado{background:#e4f7ef;color:#16825d}
.adm-cron-installed-strip{display:grid!important;grid-template-columns:auto 1fr;align-items:start;gap:7px 14px}.adm-cron-installed-strip strong{grid-column:1/3}.adm-cron-installed-strip>span{grid-column:1/3}.adm-cron-installed-strip>code{grid-column:1/3;display:block;padding:9px 11px;border-radius:10px;background:#102c3f;color:#d8f3ff;white-space:normal;word-break:break-all;font-size:10px}
@media(max-width:1100px){.adm-ranking-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.adm-ranking-hero{align-items:flex-start}.adm-ranking-hero-badge{min-width:130px}}
@media(max-width:700px){.adm-ranking-hero{padding:20px;flex-direction:column}.adm-ranking-hero-badge{width:100%;box-sizing:border-box}.adm-ranking-kpis{grid-template-columns:1fr}.adm-ranking-block-head{align-items:flex-start;flex-direction:column}.adm-ranking-block-head>b{align-self:flex-start}.adm-ranking-table-wrap{max-height:none}.adm-cron-installed-strip{display:block!important}.adm-cron-installed-strip>*{margin-bottom:8px}}

/* =========================================================
   Control de automatización de correos y destinatarios
   ========================================================= */
.adm-correo-master-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}
.adm-correo-status-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:6px 11px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.02em;
  white-space:nowrap;
  border:1px solid transparent;
}
.adm-correo-status-pill.is-active{
  background:#e8f7ef;
  color:#16734a;
  border-color:#b9e6cf;
  box-shadow:0 6px 15px rgba(22,115,74,.09);
}
.adm-correo-status-pill.is-active::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  margin-right:7px;
  background:#21a366;
  box-shadow:0 0 0 4px rgba(33,163,102,.12);
}
.adm-correo-status-pill.is-paused{
  background:#fff4e5;
  color:#9a5a00;
  border-color:#ffd69a;
  box-shadow:0 6px 15px rgba(154,90,0,.08);
}
.adm-correo-status-pill.is-paused::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  margin-right:7px;
  background:#f59e0b;
  box-shadow:0 0 0 4px rgba(245,158,11,.12);
}
.adm-correo-card-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.adm-correo-card-top>i{margin-bottom:0!important;flex:0 0 auto}
.adm-correo-card-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin-top:14px;
}
.adm-correo-card-actions .adm-btn{margin-top:0!important}
.adm-correo-destinatarios-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(260px,1fr));
  gap:14px;
  margin:2px 0 18px;
}
.adm-correo-destinatarios-card{
  border:1px solid rgba(0,84,166,.13);
  border-radius:18px;
  padding:15px;
  background:linear-gradient(180deg,#fff,#f8fbfe);
  box-shadow:0 10px 24px rgba(6,46,103,.05);
}
.adm-correo-destinatarios-head{
  display:flex;
  align-items:center;
  gap:11px;
  padding-bottom:10px;
  border-bottom:1px solid rgba(0,84,166,.09);
}
.adm-correo-destinatarios-head>span{
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:13px;
  background:#eaf4ff;
  font-size:18px;
}
.adm-correo-destinatarios-head>div{display:flex;flex-direction:column;gap:2px}
.adm-correo-destinatarios-head strong{color:#062e67;font-size:14px}
.adm-correo-destinatarios-head small{color:#718096;font-size:11px}
.adm-correo-destinatarios-head code{
  padding:2px 5px;
  border-radius:5px;
  background:#eef5fb;
  color:#0b5a91;
  font-size:10px;
}
.adm-correo-destinatarios-card ul{
  list-style:none;
  margin:10px 0 0;
  padding:0;
  display:grid;
  gap:8px;
}
.adm-correo-destinatarios-card li{
  display:grid;
  grid-template-columns:minmax(120px,1fr) minmax(180px,1.25fr) auto;
  align-items:center;
  gap:8px;
  padding:9px 10px;
  border-radius:12px;
  background:#fff;
  border:1px solid #e5edf5;
}
.adm-correo-destinatarios-card li b{
  color:#173f62;
  font-size:12px;
  overflow-wrap:anywhere;
}
.adm-correo-destinatarios-card li span{
  color:#40566c;
  font-size:12px;
  overflow-wrap:anywhere;
}
.adm-correo-destinatarios-card li small{
  padding:3px 6px;
  border-radius:999px;
  background:#eef5fb;
  color:#5b7083;
  font-size:9px;
  font-weight:700;
}
.adm-correo-destinatarios-empty{
  margin:12px 0 0;
  padding:11px;
  border-radius:12px;
  background:#fff7e8;
  color:#8a5a00;
  font-size:12px;
}
@media(max-width:900px){
  .adm-correo-master-actions{justify-content:flex-start;width:100%}
  .adm-correo-destinatarios-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
  .adm-correo-card-actions{align-items:stretch;flex-direction:column}
  .adm-correo-card-actions .adm-btn{width:100%}
  .adm-correo-destinatarios-card li{grid-template-columns:1fr}
  .adm-correo-destinatarios-card li small{justify-self:start}
  .adm-correo-master-actions{align-items:stretch;flex-direction:column}
  .adm-correo-master-actions .adm-btn{width:100%}
}

/* ============================================================
   MEJORA TRANSVERSAL 2026-07-14
   Estandarización visual de tablas administrativas
   Solo presentación: no modifica procesos, datos ni permisos.
   ============================================================ */
.adm-admin-workspace-page .adm-ui-table-wrap{
  position:relative;
  border:1px solid #cddfeb;
  border-radius:18px;
  background:#fff;
  box-shadow:0 12px 28px rgba(15,58,94,.075);
  scrollbar-color:#8fb3cb #eef5f9;
  scrollbar-width:thin;
}
.adm-admin-workspace-page .adm-ui-table-wrap::-webkit-scrollbar{height:10px;width:10px}
.adm-admin-workspace-page .adm-ui-table-wrap::-webkit-scrollbar-track{background:#eef5f9;border-radius:999px}
.adm-admin-workspace-page .adm-ui-table-wrap::-webkit-scrollbar-thumb{background:#8fb3cb;border:2px solid #eef5f9;border-radius:999px}
.adm-admin-workspace-page .adm-ui-table{
  border-collapse:separate!important;
  border-spacing:0!important;
  margin:0!important;
  background:#fff;
}
.adm-admin-workspace-page .adm-ui-table th,
.adm-admin-workspace-page .adm-ui-table td{
  box-sizing:border-box;
  border-right:1px solid rgba(210,226,237,.72);
}
.adm-admin-workspace-page .adm-ui-table th:last-child,
.adm-admin-workspace-page .adm-ui-table td:last-child{border-right:0}
.adm-admin-workspace-page .adm-ui-table tbody tr:nth-child(even) td{background-color:#f9fcfe}
.adm-admin-workspace-page .adm-ui-table tbody tr:hover td{background-color:#eef7fc!important}
.adm-admin-workspace-page .adm-ui-table tbody tr:last-child td{border-bottom:0}
.adm-admin-workspace-page .adm-ui-table td.adm-cell-code{color:#0a4f87;font-weight:850;font-variant-numeric:tabular-nums}
.adm-admin-workspace-page .adm-ui-table td.adm-cell-person{color:#0b3865;font-weight:750;line-height:1.35}
.adm-admin-workspace-page .adm-ui-table td.adm-cell-course{color:#174d70;font-weight:750}
.adm-admin-workspace-page .adm-ui-table td.adm-cell-date{color:#355f79;font-variant-numeric:tabular-nums;white-space:normal}
.adm-admin-workspace-page .adm-ui-table td.adm-cell-contact{color:#0e6b91;overflow-wrap:anywhere}
.adm-admin-workspace-page .adm-ui-table td.adm-cell-detail{color:#49677a;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
.adm-admin-workspace-page .adm-ui-table td.adm-cell-count{text-align:center;color:#0d5484;font-weight:900;font-variant-numeric:tabular-nums}
.adm-admin-workspace-page .adm-ui-table td.adm-cell-score{text-align:center;font-weight:850;font-variant-numeric:tabular-nums}
.adm-admin-workspace-page .adm-ui-table td.adm-score-high{color:#08734a;background-image:linear-gradient(135deg,rgba(220,248,233,.58),rgba(255,255,255,0))}
.adm-admin-workspace-page .adm-ui-table td.adm-score-mid{color:#9a6200;background-image:linear-gradient(135deg,rgba(255,242,204,.62),rgba(255,255,255,0))}
.adm-admin-workspace-page .adm-ui-table td.adm-score-low{color:#ad3443;background-image:linear-gradient(135deg,rgba(255,226,230,.62),rgba(255,255,255,0))}
.adm-admin-workspace-page .adm-ui-table td.adm-cell-status{
  position:relative;
  font-weight:850;
  line-height:1.35;
}
.adm-admin-workspace-page .adm-ui-table td.adm-cell-status:before{
  content:"";
  position:absolute;
  left:7px;
  top:50%;
  width:7px;
  height:7px;
  border-radius:50%;
  transform:translateY(-50%);
  background:#7f9caf;
  box-shadow:0 0 0 4px rgba(127,156,175,.12);
}
.adm-admin-workspace-page .adm-ui-table td.adm-cell-status{padding-left:24px!important}
.adm-admin-workspace-page .adm-ui-table td.adm-tone-success{color:#08734a;background-image:linear-gradient(90deg,rgba(220,248,233,.72),rgba(255,255,255,0))}
.adm-admin-workspace-page .adm-ui-table td.adm-tone-success:before{background:#16a064;box-shadow:0 0 0 4px rgba(22,160,100,.12)}
.adm-admin-workspace-page .adm-ui-table td.adm-tone-warning{color:#9a6200;background-image:linear-gradient(90deg,rgba(255,242,204,.78),rgba(255,255,255,0))}
.adm-admin-workspace-page .adm-ui-table td.adm-tone-warning:before{background:#efa71e;box-shadow:0 0 0 4px rgba(239,167,30,.13)}
.adm-admin-workspace-page .adm-ui-table td.adm-tone-danger{color:#ad3443;background-image:linear-gradient(90deg,rgba(255,226,230,.76),rgba(255,255,255,0))}
.adm-admin-workspace-page .adm-ui-table td.adm-tone-danger:before{background:#dc4e5d;box-shadow:0 0 0 4px rgba(220,78,93,.12)}
.adm-admin-workspace-page .adm-ui-table td.adm-tone-violet{color:#6844a8;background-image:linear-gradient(90deg,rgba(239,232,255,.78),rgba(255,255,255,0))}
.adm-admin-workspace-page .adm-ui-table td.adm-tone-violet:before{background:#7c5ac7;box-shadow:0 0 0 4px rgba(124,90,199,.12)}
.adm-admin-workspace-page .adm-ui-table td.adm-tone-info{color:#175f88;background-image:linear-gradient(90deg,rgba(224,242,252,.72),rgba(255,255,255,0))}
.adm-admin-workspace-page .adm-ui-table td.adm-tone-info:before{background:#3692bd;box-shadow:0 0 0 4px rgba(54,146,189,.12)}
.adm-admin-workspace-page .adm-ui-table td.adm-tone-neutral:before{background:#9aaebc}
.adm-admin-workspace-page .adm-ui-table .adm-cell-action{
  background-color:#f7fbfe!important;
  text-align:center;
}
.adm-admin-workspace-page .adm-ui-table .adm-cell-action .adm-btn,
.adm-admin-workspace-page .adm-ui-table .adm-cell-action a.adm-btn{margin:2px}

/* Tablas que todavía no tenían una identidad visual propia. */
.adm-admin-workspace-page .adm-ui-basic-table{
  min-width:100%;
  overflow:hidden;
}
.adm-admin-workspace-page .adm-ui-basic-table thead th{
  position:sticky;
  top:0;
  z-index:3;
  height:auto!important;
  min-height:54px;
  padding:13px 12px!important;
  background:linear-gradient(135deg,#073a78 0%,#075ca1 58%,#087eaa 100%)!important;
  color:#fff!important;
  border-bottom:0!important;
  border-right:1px solid rgba(255,255,255,.12)!important;
  font-size:10px!important;
  font-weight:950!important;
  line-height:1.22!important;
  letter-spacing:.055em!important;
  text-align:left!important;
  text-transform:uppercase!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
  box-shadow:0 7px 18px rgba(4,50,99,.15);
}
.adm-admin-workspace-page .adm-ui-basic-table thead th.adm-col-count,
.adm-admin-workspace-page .adm-ui-basic-table thead th.adm-col-score{text-align:center!important}
.adm-admin-workspace-page .adm-ui-basic-table tbody td{
  min-height:52px;
  padding:12px!important;
  color:#163e61;
  font-size:12px!important;
  line-height:1.4!important;
  vertical-align:middle!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
}
.adm-admin-workspace-page .adm-ui-basic-table tbody tr{
  transition:transform .16s ease,box-shadow .16s ease;
}
.adm-admin-workspace-page .adm-ui-basic-table tbody tr:hover{
  box-shadow:inset 4px 0 0 #1d8db7;
}

/* Nunca mostrar dos o más tablas comprimidas en una misma fila. */
.adm-admin-workspace-page .adm-force-table-stack,
.adm-admin-workspace-page .adm-dece-dashboard-visual-cols{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-auto-flow:row!important;
  gap:20px!important;
  align-items:stretch!important;
}
.adm-admin-workspace-page .adm-force-table-stack > *,
.adm-admin-workspace-page .adm-dece-dashboard-visual-cols > *{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}
.adm-admin-workspace-page .adm-force-table-stack .adm-table-wrap,
.adm-admin-workspace-page .adm-dece-dashboard-visual-cols .adm-table-wrap{
  width:100%!important;
  max-width:100%!important;
}

/* ============================================================
   Módulo Aspirantes: estructura fija, compacta y legible.
   ============================================================ */
.adm-admin-workspace-page #tablaAspirantesAdmision{
  width:4215px!important;
  min-width:4215px!important;
  max-width:none!important;
  height:auto!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
.adm-admin-workspace-page #tablaAspirantesAdmision thead,
.adm-admin-workspace-page #tablaAspirantesAdmision tbody{
  height:auto!important;
}
.adm-admin-workspace-page #tablaAspirantesAdmision thead{display:table-header-group!important}
.adm-admin-workspace-page #tablaAspirantesAdmision tbody{display:table-row-group!important}
.adm-admin-workspace-page #tablaAspirantesAdmision tr{display:table-row!important;height:auto!important;min-height:0!important}
.adm-admin-workspace-page #tablaAspirantesAdmision thead th{
  display:table-cell!important;
  position:sticky!important;
  top:0!important;
  z-index:5;
  height:64px!important;
  min-height:64px!important;
  max-height:64px!important;
  padding:11px 12px!important;
  background:linear-gradient(135deg,#073a78 0%,#075ca1 58%,#087eaa 100%)!important;
  color:#fff!important;
  border-right:1px solid rgba(255,255,255,.13)!important;
  border-bottom:0!important;
  font-size:10px!important;
  font-weight:950!important;
  line-height:1.22!important;
  letter-spacing:.05em!important;
  vertical-align:middle!important;
  text-align:left!important;
  text-transform:uppercase!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
  box-shadow:0 8px 20px rgba(3,49,97,.16);
}
.adm-admin-workspace-page #tablaAspirantesAdmision tbody td{
  display:table-cell!important;
  height:auto!important;
  min-height:0!important;
  padding:13px 12px!important;
  vertical-align:middle!important;
  color:#123e68;
  font-size:12px!important;
  line-height:1.38!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
  hyphens:none!important;
}
.adm-admin-workspace-page #tablaAspirantesAdmision tbody tr{height:auto!important}
.adm-admin-workspace-page #tablaAspirantesAdmision tbody tr:nth-child(even) td{background-color:#f8fbfe!important}
.adm-admin-workspace-page #tablaAspirantesAdmision tbody tr:hover td{background-color:#eaf6fd!important}
.adm-admin-workspace-page #tablaAspirantesAdmision th:nth-child(1),.adm-admin-workspace-page #tablaAspirantesAdmision td:nth-child(1){width:150px!important;min-width:150px!important;max-width:150px!important}
.adm-admin-workspace-page #tablaAspirantesAdmision th:nth-child(2),.adm-admin-workspace-page #tablaAspirantesAdmision td:nth-child(2){width:120px!important;min-width:120px!important;max-width:120px!important}
.adm-admin-workspace-page #tablaAspirantesAdmision th:nth-child(3),.adm-admin-workspace-page #tablaAspirantesAdmision td:nth-child(3){width:220px!important;min-width:220px!important;max-width:220px!important}
.adm-admin-workspace-page #tablaAspirantesAdmision th:nth-child(4),.adm-admin-workspace-page #tablaAspirantesAdmision td:nth-child(4){width:185px!important;min-width:185px!important;max-width:185px!important}
.adm-admin-workspace-page #tablaAspirantesAdmision th:nth-child(5),.adm-admin-workspace-page #tablaAspirantesAdmision td:nth-child(5){width:140px!important;min-width:140px!important;max-width:140px!important}
.adm-admin-workspace-page #tablaAspirantesAdmision th:nth-child(6),.adm-admin-workspace-page #tablaAspirantesAdmision td:nth-child(6){width:120px!important;min-width:120px!important;max-width:120px!important}
.adm-admin-workspace-page #tablaAspirantesAdmision th:nth-child(7),.adm-admin-workspace-page #tablaAspirantesAdmision td:nth-child(7){width:220px!important;min-width:220px!important;max-width:220px!important}
.adm-admin-workspace-page #tablaAspirantesAdmision th:nth-child(8),.adm-admin-workspace-page #tablaAspirantesAdmision td:nth-child(8){width:200px!important;min-width:200px!important;max-width:200px!important}
.adm-admin-workspace-page #tablaAspirantesAdmision th:nth-child(9),.adm-admin-workspace-page #tablaAspirantesAdmision td:nth-child(9){width:140px!important;min-width:140px!important;max-width:140px!important}
.adm-admin-workspace-page #tablaAspirantesAdmision th:nth-child(10),.adm-admin-workspace-page #tablaAspirantesAdmision td:nth-child(10){width:190px!important;min-width:190px!important;max-width:190px!important}
.adm-admin-workspace-page #tablaAspirantesAdmision th:nth-child(11),.adm-admin-workspace-page #tablaAspirantesAdmision td:nth-child(11){width:210px!important;min-width:210px!important;max-width:210px!important}
.adm-admin-workspace-page #tablaAspirantesAdmision th:nth-child(12),.adm-admin-workspace-page #tablaAspirantesAdmision td:nth-child(12){width:125px!important;min-width:125px!important;max-width:125px!important}
.adm-admin-workspace-page #tablaAspirantesAdmision th:nth-child(13),.adm-admin-workspace-page #tablaAspirantesAdmision td:nth-child(13){width:100px!important;min-width:100px!important;max-width:100px!important}
.adm-admin-workspace-page #tablaAspirantesAdmision th:nth-child(14),.adm-admin-workspace-page #tablaAspirantesAdmision td:nth-child(14){width:170px!important;min-width:170px!important;max-width:170px!important}
.adm-admin-workspace-page #tablaAspirantesAdmision th:nth-child(15),.adm-admin-workspace-page #tablaAspirantesAdmision td:nth-child(15){width:185px!important;min-width:185px!important;max-width:185px!important}
.adm-admin-workspace-page #tablaAspirantesAdmision th:nth-child(16),.adm-admin-workspace-page #tablaAspirantesAdmision td:nth-child(16){width:150px!important;min-width:150px!important;max-width:150px!important}
.adm-admin-workspace-page #tablaAspirantesAdmision th:nth-child(17),.adm-admin-workspace-page #tablaAspirantesAdmision td:nth-child(17){width:160px!important;min-width:160px!important;max-width:160px!important}
.adm-admin-workspace-page #tablaAspirantesAdmision th:nth-child(18),.adm-admin-workspace-page #tablaAspirantesAdmision td:nth-child(18){width:160px!important;min-width:160px!important;max-width:160px!important}
.adm-admin-workspace-page #tablaAspirantesAdmision th:nth-child(19),.adm-admin-workspace-page #tablaAspirantesAdmision td:nth-child(19){width:170px!important;min-width:170px!important;max-width:170px!important}
.adm-admin-workspace-page #tablaAspirantesAdmision th:nth-child(20),.adm-admin-workspace-page #tablaAspirantesAdmision td:nth-child(20){width:170px!important;min-width:170px!important;max-width:170px!important}
.adm-admin-workspace-page #tablaAspirantesAdmision th:nth-child(21),.adm-admin-workspace-page #tablaAspirantesAdmision td:nth-child(21){width:155px!important;min-width:155px!important;max-width:155px!important}
.adm-admin-workspace-page #tablaAspirantesAdmision th:nth-child(22),.adm-admin-workspace-page #tablaAspirantesAdmision td:nth-child(22){width:175px!important;min-width:175px!important;max-width:175px!important}
.adm-admin-workspace-page #tablaAspirantesAdmision th:nth-child(23),.adm-admin-workspace-page #tablaAspirantesAdmision td:nth-child(23){width:170px!important;min-width:170px!important;max-width:170px!important}
.adm-admin-workspace-page #tablaAspirantesAdmision th:nth-child(24),.adm-admin-workspace-page #tablaAspirantesAdmision td:nth-child(24){width:120px!important;min-width:120px!important;max-width:120px!important;text-align:center}
.adm-admin-workspace-page #tablaAspirantesAdmision th:nth-child(25),.adm-admin-workspace-page #tablaAspirantesAdmision td:nth-child(25){width:150px!important;min-width:150px!important;max-width:150px!important}
.adm-admin-workspace-page #tablaAspirantesAdmision th:nth-child(26),.adm-admin-workspace-page #tablaAspirantesAdmision td:nth-child(26){width:160px!important;min-width:160px!important;max-width:160px!important}
.adm-admin-workspace-page #tablaAspirantesAdmision th:first-child,
.adm-admin-workspace-page #tablaAspirantesAdmision td:first-child{
  position:sticky!important;
  left:0!important;
  z-index:4;
  box-shadow:9px 0 18px rgba(5,48,91,.08);
}
.adm-admin-workspace-page #tablaAspirantesAdmision thead th:first-child{z-index:8}
.adm-admin-workspace-page #tablaAspirantesAdmision td:first-child{background:#f7fbfe!important}
.adm-admin-workspace-page #tablaAspirantesAdmision td:first-child .adm-btn{display:flex;width:100%;min-width:0;margin:3px 0;padding:8px 9px}

/* ============================================================
   Ranking y comparación: columnas reales, cabecera compacta y
   lectura horizontal sin cortar palabras letra por letra.
   ============================================================ */
/* Ajuste visual localizado de los indicadores del ranking.
   El valor del período conserva una sola línea, pero reduce su escala de
   forma controlada para no invadir ni recortarse dentro de la tarjeta. */
.adm-admin-workspace-page .adm-ranking-kpis article{min-width:0}
.adm-admin-workspace-page .adm-ranking-kpis article span{min-width:0}
.adm-admin-workspace-page .adm-ranking-kpis article.is-period strong{
  min-width:0;
  max-width:100%;
  justify-self:end;
  white-space:nowrap;
  font-size:clamp(16px,1.35vw,20px);
  letter-spacing:-.02em;
}
.adm-admin-workspace-page .adm-ranking-table-wrap{
  width:100%;
  max-width:100%;
  max-height:680px;
  overflow:auto!important;
  border:0;
  border-radius:0 0 17px 17px;
  box-shadow:none;
}
.adm-admin-workspace-page .adm-ranking-table{
  width:2010px!important;
  min-width:2010px!important;
  max-width:none!important;
  table-layout:fixed!important;
  height:auto!important;
}
.adm-admin-workspace-page .adm-ranking-compare-table{
  width:2250px!important;
  min-width:2250px!important;
}
.adm-admin-workspace-page .adm-ranking-table thead,
.adm-admin-workspace-page .adm-ranking-table tbody,
.adm-admin-workspace-page .adm-ranking-table tr{height:auto!important}
.adm-admin-workspace-page .adm-ranking-table thead th{
  position:sticky!important;
  top:0!important;
  z-index:5;
  height:62px!important;
  min-height:62px!important;
  max-height:62px!important;
  padding:10px 11px!important;
  background:linear-gradient(135deg,#073a78 0%,#075ca1 58%,#087eaa 100%)!important;
  color:#fff!important;
  border-right:1px solid rgba(255,255,255,.13)!important;
  border-bottom:0!important;
  font-size:9.5px!important;
  font-weight:950!important;
  line-height:1.2!important;
  letter-spacing:.05em!important;
  text-align:left!important;
  vertical-align:middle!important;
  text-transform:uppercase!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
  box-shadow:0 8px 18px rgba(3,49,97,.14);
}
.adm-admin-workspace-page .adm-ranking-table tbody td{
  height:auto!important;
  min-height:58px;
  padding:12px 11px!important;
  vertical-align:middle!important;
  font-size:11px!important;
  line-height:1.4!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
}
.adm-admin-workspace-page .adm-ranking-table:not(.adm-ranking-compare-table) th:nth-child(1),.adm-admin-workspace-page .adm-ranking-table:not(.adm-ranking-compare-table) td:nth-child(1){width:90px}
.adm-admin-workspace-page .adm-ranking-table:not(.adm-ranking-compare-table) th:nth-child(2),.adm-admin-workspace-page .adm-ranking-table:not(.adm-ranking-compare-table) td:nth-child(2){width:90px}
.adm-admin-workspace-page .adm-ranking-table:not(.adm-ranking-compare-table) th:nth-child(3),.adm-admin-workspace-page .adm-ranking-table:not(.adm-ranking-compare-table) td:nth-child(3){width:125px}
.adm-admin-workspace-page .adm-ranking-table:not(.adm-ranking-compare-table) th:nth-child(4),.adm-admin-workspace-page .adm-ranking-table:not(.adm-ranking-compare-table) td:nth-child(4){width:210px}
.adm-admin-workspace-page .adm-ranking-table:not(.adm-ranking-compare-table) th:nth-child(5),.adm-admin-workspace-page .adm-ranking-table:not(.adm-ranking-compare-table) td:nth-child(5){width:170px}
.adm-admin-workspace-page .adm-ranking-table:not(.adm-ranking-compare-table) th:nth-child(6),.adm-admin-workspace-page .adm-ranking-table:not(.adm-ranking-compare-table) td:nth-child(6){width:145px}
.adm-admin-workspace-page .adm-ranking-table:not(.adm-ranking-compare-table) th:nth-child(7),.adm-admin-workspace-page .adm-ranking-table:not(.adm-ranking-compare-table) td:nth-child(7){width:105px}
.adm-admin-workspace-page .adm-ranking-table:not(.adm-ranking-compare-table) th:nth-child(8),.adm-admin-workspace-page .adm-ranking-table:not(.adm-ranking-compare-table) td:nth-child(8){width:105px}
.adm-admin-workspace-page .adm-ranking-table:not(.adm-ranking-compare-table) th:nth-child(9),.adm-admin-workspace-page .adm-ranking-table:not(.adm-ranking-compare-table) td:nth-child(9){width:95px}
.adm-admin-workspace-page .adm-ranking-table:not(.adm-ranking-compare-table) th:nth-child(10),.adm-admin-workspace-page .adm-ranking-table:not(.adm-ranking-compare-table) td:nth-child(10){width:335px}
.adm-admin-workspace-page .adm-ranking-table:not(.adm-ranking-compare-table) th:nth-child(11),.adm-admin-workspace-page .adm-ranking-table:not(.adm-ranking-compare-table) td:nth-child(11){width:220px}
.adm-admin-workspace-page .adm-ranking-table:not(.adm-ranking-compare-table) th:nth-child(12),.adm-admin-workspace-page .adm-ranking-table:not(.adm-ranking-compare-table) td:nth-child(12){width:130px}
.adm-admin-workspace-page .adm-ranking-table:not(.adm-ranking-compare-table) th:nth-child(13),.adm-admin-workspace-page .adm-ranking-table:not(.adm-ranking-compare-table) td:nth-child(13){width:190px}
.adm-admin-workspace-page .adm-ranking-compare-table th:nth-child(1),.adm-admin-workspace-page .adm-ranking-compare-table td:nth-child(1){width:90px}
.adm-admin-workspace-page .adm-ranking-compare-table th:nth-child(2),.adm-admin-workspace-page .adm-ranking-compare-table td:nth-child(2){width:125px}
.adm-admin-workspace-page .adm-ranking-compare-table th:nth-child(3),.adm-admin-workspace-page .adm-ranking-compare-table td:nth-child(3){width:210px}
.adm-admin-workspace-page .adm-ranking-compare-table th:nth-child(4),.adm-admin-workspace-page .adm-ranking-compare-table td:nth-child(4){width:170px}
.adm-admin-workspace-page .adm-ranking-compare-table th:nth-child(5),.adm-admin-workspace-page .adm-ranking-compare-table td:nth-child(5){width:140px}
.adm-admin-workspace-page .adm-ranking-compare-table th:nth-child(6),.adm-admin-workspace-page .adm-ranking-compare-table td:nth-child(6){width:100px}
.adm-admin-workspace-page .adm-ranking-compare-table th:nth-child(7),.adm-admin-workspace-page .adm-ranking-compare-table td:nth-child(7){width:145px}
.adm-admin-workspace-page .adm-ranking-compare-table th:nth-child(8),.adm-admin-workspace-page .adm-ranking-compare-table td:nth-child(8){width:110px}
.adm-admin-workspace-page .adm-ranking-compare-table th:nth-child(9),.adm-admin-workspace-page .adm-ranking-compare-table td:nth-child(9){width:160px}
.adm-admin-workspace-page .adm-ranking-compare-table th:nth-child(10),.adm-admin-workspace-page .adm-ranking-compare-table td:nth-child(10){width:110px}
.adm-admin-workspace-page .adm-ranking-compare-table th:nth-child(11),.adm-admin-workspace-page .adm-ranking-compare-table td:nth-child(11){width:140px}
.adm-admin-workspace-page .adm-ranking-compare-table th:nth-child(12),.adm-admin-workspace-page .adm-ranking-compare-table td:nth-child(12){width:280px}
.adm-admin-workspace-page .adm-ranking-compare-table th:nth-child(13),.adm-admin-workspace-page .adm-ranking-compare-table td:nth-child(13){width:280px}
.adm-admin-workspace-page .adm-ranking-compare-table th:nth-child(14),.adm-admin-workspace-page .adm-ranking-compare-table td:nth-child(14){width:190px}
/* El estado oficial puede contener textos extensos (p. ej. DOCUMENTACIÓN
   PENDIENTE o EVALUACIÓN DECE EN PROCESO). Se limita el chip al ancho real
   de su celda y se permite el salto por palabras para evitar desbordes. */
.adm-admin-workspace-page .adm-ranking-table tbody td:last-child{
  text-align:center!important;
}
.adm-admin-workspace-page .adm-ranking-table tbody td:last-child .adm-dece-chip{
  display:flex!important;
  width:100%;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
  text-align:center;
  line-height:1.25;
  padding:7px 9px;
}
.adm-admin-workspace-page .adm-ranking-table th:first-child,
.adm-admin-workspace-page .adm-ranking-table td:first-child{
  position:sticky!important;
  left:0!important;
  z-index:4;
  box-shadow:8px 0 17px rgba(5,48,91,.08);
}
.adm-admin-workspace-page .adm-ranking-table thead th:first-child{z-index:8}
.adm-admin-workspace-page .adm-ranking-table tbody td:first-child{background:#fff!important}
.adm-admin-workspace-page .adm-ranking-block.is-dece .adm-ranking-table thead th{background:linear-gradient(135deg,#493486,#7154b5 58%,#5a78b8)!important}
.adm-admin-workspace-page .adm-ranking-block.is-vice .adm-ranking-table thead th{background:linear-gradient(135deg,#a94e13,#e77727 58%,#e99a36)!important}
.adm-admin-workspace-page .adm-ranking-block.is-compare .adm-ranking-table thead th{background:linear-gradient(135deg,#08634f,#15926f 58%,#2aa286)!important}

@media(max-width:760px){
  .adm-admin-workspace-page .adm-ui-basic-table thead th{min-height:50px;padding:11px 10px!important;font-size:9px!important}
  .adm-admin-workspace-page #tablaAspirantesAdmision thead th,
  .adm-admin-workspace-page .adm-ranking-table thead th{height:58px!important;min-height:58px!important;max-height:58px!important}
  .adm-admin-workspace-page .adm-force-table-stack,
  .adm-admin-workspace-page .adm-dece-dashboard-visual-cols{gap:14px!important}
}

@media print{
  .adm-admin-workspace-page .adm-ui-table-wrap{max-height:none!important;overflow:visible!important;box-shadow:none!important}
  .adm-admin-workspace-page .adm-force-table-stack,
  .adm-admin-workspace-page .adm-dece-dashboard-visual-cols{display:block!important}
  .adm-admin-workspace-page .adm-force-table-stack > *,
  .adm-admin-workspace-page .adm-dece-dashboard-visual-cols > *{margin-bottom:16px!important}
}
.adm-admin-workspace-page .adm-ui-table td.adm-cell-status.adm-has-rich-status{padding-left:12px!important;background-image:none!important}
.adm-admin-workspace-page .adm-ui-table td.adm-cell-status.adm-has-rich-status:before{display:none}

/* ============================================================
   Columnas clave ancladas en tablas dinámicas
   Mantiene visibles las combinaciones institucionales de
   ACCIONES, EXPEDIENTE, CÓDIGO, ASPIRANTE y EVALUACIÓN durante
   el desplazamiento horizontal, sin alterar datos ni procesos.
   ============================================================ */
.adm-admin-workspace-page .adm-table-wrap.adm-sticky-identity-wrap{
  isolation:isolate;
}
.adm-admin-workspace-page table.adm-sticky-identity-active{
  border-collapse:separate!important;
  border-spacing:0!important;
}

/* Neutraliza fijaciones antiguas de la primera columna cuando esa
   columna no pertenece al conjunto semántico solicitado. */
.adm-admin-workspace-page table.adm-sticky-identity-active thead th:first-child:not(.adm-sticky-column){
  left:auto!important;
  box-shadow:0 8px 20px rgba(3,49,97,.16)!important;
}
.adm-admin-workspace-page table.adm-sticky-identity-active tbody td:first-child:not(.adm-sticky-column){
  position:relative!important;
  left:auto!important;
  z-index:1!important;
  box-shadow:none!important;
}

.adm-admin-workspace-page table.adm-sticky-identity-active thead th.adm-sticky-column,
.adm-admin-workspace-page table.adm-sticky-identity-active tbody td.adm-sticky-column{
  position:sticky!important;
  left:var(--adm-sticky-left,0px)!important;
  background-clip:padding-box!important;
}
.adm-admin-workspace-page table.adm-sticky-identity-active thead th.adm-sticky-column{
  z-index:var(--adm-sticky-head-z,20)!important;
}
.adm-admin-workspace-page table.adm-sticky-identity-active tbody td.adm-sticky-column{
  z-index:var(--adm-sticky-body-z,10)!important;
}

/* El borde visual se coloca únicamente después de la última columna
   fijada, sin importar cuál combinación tenga cada tabla. */
.adm-admin-workspace-page table.adm-sticky-identity-active thead th.adm-sticky-last,
.adm-admin-workspace-page table.adm-sticky-identity-active tbody td.adm-sticky-last{
  box-shadow:10px 0 18px rgba(4,47,88,.12)!important;
}
.adm-admin-workspace-page .adm-table-wrap.adm-sticky-identity-scrolled table.adm-sticky-identity-active thead th.adm-sticky-last,
.adm-admin-workspace-page .adm-table-wrap.adm-sticky-identity-scrolled table.adm-sticky-identity-active tbody td.adm-sticky-last{
  box-shadow:14px 0 24px rgba(4,47,88,.20)!important;
}

/* Fondos opacos por fila para que el contenido desplazado nunca se
   vea debajo del conjunto de columnas ancladas. */
.adm-admin-workspace-page table.adm-sticky-identity-active tbody tr:nth-child(odd) td.adm-sticky-column{
  background-color:#fff!important;
}
.adm-admin-workspace-page table.adm-sticky-identity-active tbody tr:nth-child(even) td.adm-sticky-column{
  background-color:#f8fbfe!important;
}
.adm-admin-workspace-page table.adm-sticky-identity-active tbody tr:hover td.adm-sticky-column{
  background-color:#eaf6fd!important;
}

/* Tratamiento visual según el significado de cada columna fijada. */
.adm-admin-workspace-page table.adm-sticky-identity-active tbody td.adm-sticky-code,
.adm-admin-workspace-page table.adm-sticky-identity-active tbody td.adm-sticky-expediente{
  color:#07538d!important;
  font-weight:900!important;
}
.adm-admin-workspace-page table.adm-sticky-identity-active tbody td.adm-sticky-aspirante,
.adm-admin-workspace-page table.adm-sticky-identity-active tbody td.adm-sticky-aspirante-expediente,
.adm-admin-workspace-page table.adm-sticky-identity-active tbody td.adm-sticky-evaluacion{
  color:#0b3865!important;
  font-weight:850!important;
}
.adm-admin-workspace-page table.adm-sticky-identity-active tbody td.adm-sticky-actions{
  background-color:#f7fbfe!important;
}

/* Corrección estructural de la columna Acciones. Algunas vistas aplicaban
   display:flex o display:grid directamente al TD, provocando que solo la
   cabecera permaneciera fija. El TD conserva ahora su naturaleza de celda y
   los controles mantienen su distribución dentro de un contenedor interno. */
.adm-admin-workspace-page table[data-adm-managed-table] tbody td.adm-sticky-actions-cell{
  display:table-cell!important;
  overflow:visible!important;
  vertical-align:middle!important;
}
.adm-admin-workspace-page .adm-sticky-actions-inner{
  position:relative;
  z-index:1;
  width:100%;
  min-width:0;
  box-sizing:border-box;
}
.adm-admin-workspace-page .adm-sticky-actions-inner.is-flex{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  gap:5px;
}
.adm-admin-workspace-page .adm-sticky-actions-inner.is-column{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:8px;
}
.adm-admin-workspace-page .adm-sticky-actions-inner.is-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;
  gap:8px;
}
.adm-admin-workspace-page .adm-sticky-actions-inner > .adm-btn,
.adm-admin-workspace-page .adm-sticky-actions-inner > button{
  margin:0!important;
}

@media(max-width:1180px){
  .adm-admin-workspace-page .adm-sticky-actions-inner.is-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:760px){
  .adm-admin-workspace-page table.adm-sticky-identity-active tbody td.adm-sticky-column{
    font-size:11px!important;
  }
}

@media print{
  .adm-admin-workspace-page table.adm-sticky-identity-active thead th.adm-sticky-column,
  .adm-admin-workspace-page table.adm-sticky-identity-active tbody td.adm-sticky-column{
    position:static!important;
    left:auto!important;
    box-shadow:none!important;
  }
  .adm-admin-workspace-page table[data-adm-managed-table] tbody td.adm-sticky-actions-cell{
    display:none!important;
  }
}

/* =========================================================
   Mejora visual transversal — indicadores compactos
   Dashboard Secretaría, Módulo Aspirantes, DECE/Vicerrectorado
   Administrador, Contacto, Documentación, Asignaciones,
   Bancos de evaluaciones y Reportes de Secretaría.
   ========================================================= */
.adm-admin-workspace-page .adm-kpi-compact-grid{
  display:grid!important;
  align-items:stretch!important;
  gap:10px!important;
  margin:14px 0 18px!important;
}
.adm-admin-workspace-page .adm-kpi-compact-grid.adm-kpi-cols-6{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
}
.adm-admin-workspace-page .adm-kpi-compact-grid.adm-kpi-cols-5{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
}
.adm-admin-workspace-page .adm-kpi-compact-grid.adm-kpi-cols-4{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.adm-admin-workspace-page .adm-kpi-compact-grid article{
  --adm-kpi-accent:#1778bd;
  --adm-kpi-soft:#edf7ff;
  --adm-kpi-border:#cde5f5;
  --adm-kpi-value:#0a5386;
  position:relative!important;
  isolation:isolate;
  display:grid!important;
  grid-template-columns:36px minmax(0,1fr)!important;
  grid-template-rows:auto auto auto!important;
  align-content:start!important;
  align-items:center!important;
  column-gap:10px!important;
  row-gap:1px!important;
  min-width:0!important;
  min-height:106px!important;
  padding:12px 12px 10px 13px!important;
  border:1px solid var(--adm-kpi-border)!important;
  border-radius:16px!important;
  background:linear-gradient(145deg,#fff 5%,var(--adm-kpi-soft) 100%)!important;
  box-shadow:0 8px 20px rgba(10,63,99,.065)!important;
  overflow:hidden!important;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease!important;
}
.adm-admin-workspace-page .adm-kpi-compact-grid article:hover{
  transform:translateY(-2px);
  border-color:color-mix(in srgb,var(--adm-kpi-accent) 42%,#fff)!important;
  box-shadow:0 12px 25px rgba(10,63,99,.105)!important;
}
.adm-admin-workspace-page .adm-kpi-compact-grid article:before{
  content:""!important;
  position:absolute!important;
  inset:0 auto 0 0!important;
  width:3px!important;
  height:auto!important;
  border-radius:0!important;
  background:var(--adm-kpi-accent)!important;
  opacity:1!important;
  z-index:-1!important;
}
.adm-admin-workspace-page .adm-kpi-compact-grid article:after{
  content:""!important;
  position:absolute!important;
  right:-23px!important;
  bottom:-31px!important;
  top:auto!important;
  width:76px!important;
  height:76px!important;
  border-radius:50%!important;
  background:color-mix(in srgb,var(--adm-kpi-accent) 8%,transparent)!important;
  opacity:1!important;
  z-index:-1!important;
}
.adm-admin-workspace-page .adm-kpi-compact-grid article>i{
  grid-column:1!important;
  grid-row:1 / span 2!important;
  display:grid!important;
  place-items:center!important;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid color-mix(in srgb,var(--adm-kpi-accent) 18%,#fff)!important;
  border-radius:12px!important;
  background:color-mix(in srgb,var(--adm-kpi-accent) 11%,#fff)!important;
  color:var(--adm-kpi-accent)!important;
  font-size:18px!important;
  font-style:normal!important;
  line-height:1!important;
  box-shadow:none!important;
}
.adm-admin-workspace-page .adm-kpi-compact-grid article>span{
  grid-column:2!important;
  grid-row:1!important;
  display:block!important;
  min-width:0!important;
  margin:0!important;
  color:#60778a!important;
  font-size:9.5px!important;
  font-weight:950!important;
  line-height:1.22!important;
  letter-spacing:.035em!important;
  text-transform:uppercase!important;
  overflow-wrap:anywhere;
}
.adm-admin-workspace-page .adm-kpi-compact-grid article>strong{
  grid-column:2!important;
  grid-row:2!important;
  display:block!important;
  min-width:0!important;
  margin:3px 0 0!important;
  color:var(--adm-kpi-value)!important;
  font-size:23px!important;
  font-weight:1000!important;
  line-height:1!important;
  letter-spacing:-.025em!important;
  overflow-wrap:anywhere;
}
.adm-admin-workspace-page .adm-kpi-compact-grid article>small{
  grid-column:1 / -1!important;
  grid-row:3!important;
  display:block!important;
  min-width:0!important;
  margin:7px 0 0!important;
  color:#7a8f9f!important;
  font-size:9.5px!important;
  font-weight:800!important;
  line-height:1.25!important;
  letter-spacing:0!important;
  text-transform:none!important;
  overflow-wrap:anywhere;
}

/* Paleta alternada para facilitar la lectura sin saturar la interfaz. */
.adm-admin-workspace-page .adm-kpi-compact-grid article:nth-child(6n+1){--adm-kpi-accent:#1677bd;--adm-kpi-soft:#eef8ff;--adm-kpi-border:#cae4f5;--adm-kpi-value:#0b578d}
.adm-admin-workspace-page .adm-kpi-compact-grid article:nth-child(6n+2){--adm-kpi-accent:#1f9b66;--adm-kpi-soft:#eefaf4;--adm-kpi-border:#c8ead8;--adm-kpi-value:#168052}
.adm-admin-workspace-page .adm-kpi-compact-grid article:nth-child(6n+3){--adm-kpi-accent:#d99a13;--adm-kpi-soft:#fff9e9;--adm-kpi-border:#f0dda6;--adm-kpi-value:#9a6800}
.adm-admin-workspace-page .adm-kpi-compact-grid article:nth-child(6n+4){--adm-kpi-accent:#7557bd;--adm-kpi-soft:#f6f2ff;--adm-kpi-border:#ddd3f5;--adm-kpi-value:#6045a5}
.adm-admin-workspace-page .adm-kpi-compact-grid article:nth-child(6n+5){--adm-kpi-accent:#d35d69;--adm-kpi-soft:#fff2f4;--adm-kpi-border:#f1cdd2;--adm-kpi-value:#ba3d4c}
.adm-admin-workspace-page .adm-kpi-compact-grid article:nth-child(6n){--adm-kpi-accent:#168fa0;--adm-kpi-soft:#edfbfc;--adm-kpi-border:#c7e9ec;--adm-kpi-value:#0d7785}

/* Estados semánticos conservados en las tarjetas de asignación y banco. */
.adm-admin-workspace-page .adm-kpi-compact-grid article.is-total{--adm-kpi-accent:#1677bd;--adm-kpi-soft:#eef8ff;--adm-kpi-border:#cae4f5;--adm-kpi-value:#0b578d}
.adm-admin-workspace-page .adm-kpi-compact-grid article.is-ok,
.adm-admin-workspace-page .adm-kpi-compact-grid article.is-success{--adm-kpi-accent:#1f9b66;--adm-kpi-soft:#eefaf4;--adm-kpi-border:#c8ead8;--adm-kpi-value:#168052}
.adm-admin-workspace-page .adm-kpi-compact-grid article.is-warning{--adm-kpi-accent:#d99a13;--adm-kpi-soft:#fff9e9;--adm-kpi-border:#f0dda6;--adm-kpi-value:#9a6800}
.adm-admin-workspace-page .adm-kpi-compact-grid article.is-info{--adm-kpi-accent:#1677bd;--adm-kpi-soft:#eef8ff;--adm-kpi-border:#cae4f5;--adm-kpi-value:#0b578d}
.adm-admin-workspace-page .adm-kpi-compact-grid article.is-purple{--adm-kpi-accent:#7557bd;--adm-kpi-soft:#f6f2ff;--adm-kpi-border:#ddd3f5;--adm-kpi-value:#6045a5}
.adm-admin-workspace-page .adm-kpi-compact-grid article.is-danger{--adm-kpi-accent:#d35d69;--adm-kpi-soft:#fff2f4;--adm-kpi-border:#f1cdd2;--adm-kpi-value:#ba3d4c}

/* Ajustes particulares para que títulos extensos no aumenten la altura. */
.adm-admin-workspace-page [data-admin-panel="secretaria_dashboard"] .adm-kpi-compact-grid article>span,
.adm-admin-workspace-page [data-admin-panel="dece_dashboard"] .adm-kpi-compact-grid article>span,
.adm-admin-workspace-page [data-admin-panel="vicerrectorado_dashboard"] .adm-kpi-compact-grid article>span{
  min-height:23px;
}
.adm-admin-workspace-page .adm-dece-table-overview.adm-kpi-compact-grid{
  margin-top:2px!important;
}
.adm-admin-workspace-page .adm-dece-assignment-summary.adm-kpi-compact-grid article>small{
  min-height:24px;
}

@media(max-width:1500px){
  .adm-admin-workspace-page .adm-kpi-compact-grid.adm-kpi-cols-6{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .adm-admin-workspace-page .adm-kpi-compact-grid.adm-kpi-cols-5{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:1120px){
  .adm-admin-workspace-page .adm-kpi-compact-grid.adm-kpi-cols-6,
  .adm-admin-workspace-page .adm-kpi-compact-grid.adm-kpi-cols-5{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .adm-admin-workspace-page .adm-kpi-compact-grid.adm-kpi-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:720px){
  .adm-admin-workspace-page .adm-kpi-compact-grid.adm-kpi-cols-6,
  .adm-admin-workspace-page .adm-kpi-compact-grid.adm-kpi-cols-5,
  .adm-admin-workspace-page .adm-kpi-compact-grid.adm-kpi-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .adm-admin-workspace-page .adm-kpi-compact-grid article{min-height:101px!important;padding:11px!important}
}
@media(max-width:430px){
  .adm-admin-workspace-page .adm-kpi-compact-grid.adm-kpi-cols-6,
  .adm-admin-workspace-page .adm-kpi-compact-grid.adm-kpi-cols-5,
  .adm-admin-workspace-page .adm-kpi-compact-grid.adm-kpi-cols-4{grid-template-columns:1fr!important}
}
@media print{
  .adm-admin-workspace-page .adm-kpi-compact-grid article{
    break-inside:avoid;
    box-shadow:none!important;
    transform:none!important;
  }
}

/* ============================================================
   MEJORA VISUAL 2026-07-14
   Centro de correos automáticos de Secretaría
   Solo presentación: conserva acciones, datos y permisos existentes.
   ============================================================ */
.adm-correo-center{
  --correo-navy:#07366f;
  --correo-blue:#0a69a8;
  --correo-cyan:#2aa8c7;
  --correo-text:#173f62;
  --correo-muted:#687f94;
  --correo-line:#d7e6f1;
  padding:18px!important;
  background:
    radial-gradient(circle at 100% 0,rgba(42,168,199,.10),transparent 24%),
    linear-gradient(180deg,#f8fbfe 0,#fff 34%);
}
.adm-correo-control-hero{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:22px 24px;
  border:1px solid rgba(7,54,111,.12);
  border-radius:22px;
  background:
    radial-gradient(circle at 92% 15%,rgba(255,219,111,.30),transparent 28%),
    linear-gradient(135deg,#ffffff 0,#f3f9fd 57%,#fff8df 100%);
  box-shadow:0 14px 34px rgba(26,77,116,.09);
  overflow:hidden;
}
.adm-correo-control-hero::after{
  content:"";
  position:absolute;
  right:-46px;
  bottom:-70px;
  width:190px;
  height:190px;
  border-radius:50%;
  background:rgba(10,105,168,.055);
  pointer-events:none;
}
.adm-correo-control-copy{
  position:relative;
  z-index:1;
  min-width:0;
}
.adm-correo-control-title-row{
  display:flex;
  align-items:center;
  gap:15px;
  margin-top:8px;
}
.adm-correo-control-icon{
  display:grid;
  place-items:center;
  flex:0 0 54px;
  width:54px;
  height:54px;
  border-radius:17px;
  background:linear-gradient(145deg,#e2f5ff,#fff2c9);
  border:1px solid rgba(10,105,168,.13);
  box-shadow:0 10px 24px rgba(10,105,168,.10);
  font-size:25px;
}
.adm-correo-control-title-row h2{
  margin:0 0 6px;
  color:var(--correo-navy);
  font-size:clamp(22px,2.3vw,31px);
  line-height:1.08;
  letter-spacing:-.025em;
}
.adm-correo-control-title-row p{
  max-width:760px;
  margin:0;
  color:var(--correo-muted);
  font-size:13px;
  line-height:1.55;
}
.adm-correo-center .adm-correo-master-actions{
  position:relative;
  z-index:1;
  flex:0 0 auto;
  max-width:285px;
  justify-content:flex-end;
}
.adm-correo-center .adm-correo-master-actions .adm-btn{
  min-height:42px;
  padding:10px 16px;
  border-radius:13px;
  box-shadow:0 9px 20px rgba(7,54,111,.10);
}
.adm-correo-overview-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:14px 0 20px;
}
.adm-correo-overview-grid article{
  position:relative;
  display:grid;
  grid-template-columns:46px minmax(0,1fr);
  align-items:center;
  gap:12px;
  min-height:82px;
  padding:13px 15px;
  border:1px solid var(--correo-line);
  border-radius:17px;
  background:#fff;
  box-shadow:0 8px 22px rgba(31,74,107,.055);
  overflow:hidden;
}
.adm-correo-overview-grid article::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:#2684bd;
}
.adm-correo-overview-grid article.is-recipients::before{background:#20a46b}
.adm-correo-overview-grid article.is-history::before{background:#7e61bd}
.adm-correo-overview-icon{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  border-radius:14px;
  background:#eaf5fc;
  font-size:20px;
}
.adm-correo-overview-grid .is-recipients .adm-correo-overview-icon{background:#e7f8ef}
.adm-correo-overview-grid .is-history .adm-correo-overview-icon{background:#f1ecfb}
.adm-correo-overview-grid article>div{
  display:grid;
  min-width:0;
  gap:2px;
}
.adm-correo-overview-grid small{
  color:#72869a;
  font-size:10px;
  font-weight:900;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.adm-correo-overview-grid strong{
  color:var(--correo-text);
  font-size:20px;
  line-height:1.1;
}
.adm-correo-overview-grid em{
  color:#7a8ea0;
  font-size:10px;
  font-style:normal;
}
.adm-correo-section-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin:4px 0 12px;
  padding:0 2px;
}
.adm-correo-section-heading.is-compact{
  margin-top:24px;
}
.adm-correo-section-heading>div>span{
  display:inline-flex;
  margin-bottom:4px;
  color:#207aaa;
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.adm-correo-section-heading h3{
  margin:0 0 4px;
  color:var(--correo-navy);
  font-size:19px;
  line-height:1.2;
}
.adm-correo-section-heading p{
  max-width:820px;
  margin:0;
  color:var(--correo-muted);
  font-size:12px;
  line-height:1.45;
}
.adm-correo-section-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  min-height:31px;
  padding:6px 11px;
  border:1px solid #d5e5f0;
  border-radius:999px;
  background:#eef6fb;
  color:#185d8b;
  font-size:11px;
  font-weight:900;
  white-space:nowrap;
}
.adm-correo-center .adm-correo-task-grid{
  grid-template-columns:repeat(4,minmax(220px,1fr));
  gap:12px;
  margin:0;
}
.adm-correo-center .adm-correo-auto-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:348px;
  padding:15px;
  border:1px solid #d9e7f1;
  border-radius:18px;
  background:linear-gradient(180deg,#fff 0,#f9fcfe 100%);
  box-shadow:0 10px 25px rgba(24,68,101,.065);
  overflow:hidden;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.adm-correo-center .adm-correo-auto-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:4px;
  background:linear-gradient(90deg,#e5aa27,#ffd877);
}
.adm-correo-center .adm-correo-auto-card.is-event::before{
  background:linear-gradient(90deg,#2c88be,#5fc9d9);
}
.adm-correo-center .adm-correo-auto-card:hover{
  transform:translateY(-2px);
  border-color:#bfd7e7;
  box-shadow:0 15px 32px rgba(24,68,101,.10);
}
.adm-correo-center .adm-correo-card-top{
  align-items:center;
  margin-bottom:13px;
}
.adm-correo-card-icon{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:14px;
  border:1px solid rgba(7,54,111,.08);
  background:#eef6fb;
  font-size:20px;
  box-shadow:0 6px 16px rgba(31,74,107,.07);
}
.adm-correo-card-icon.is-warning{background:#fff6dd}
.adm-correo-card-icon.is-info{background:#eaf5ff}
.adm-correo-card-icon.is-success{background:#e8f8ef}
.adm-correo-card-icon.is-business{background:#f3edf9}
.adm-correo-status-pill.is-event{
  background:#eaf4ff;
  color:#176a9d;
  border-color:#c5e0f2;
  box-shadow:none;
}
.adm-correo-status-pill.is-event::before{
  content:"";
  width:7px;
  height:7px;
  margin-right:7px;
  border-radius:50%;
  background:#2d8fc4;
  box-shadow:0 0 0 4px rgba(45,143,196,.10);
}
.adm-correo-card-content{
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  min-height:0;
}
.adm-correo-card-eyebrow{
  display:block;
  margin-bottom:5px;
  color:#6b8296;
  font-size:9px;
  font-weight:900;
  letter-spacing:.075em;
  text-transform:uppercase;
}
.adm-correo-center .adm-correo-auto-card h3{
  margin:0 0 7px;
  color:var(--correo-navy);
  font-size:16px;
  line-height:1.2;
}
.adm-correo-center .adm-correo-auto-card p{
  min-height:55px;
  margin:0 0 12px;
  color:var(--correo-muted);
  font-size:11px;
  line-height:1.5;
}
.adm-correo-card-meta{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
  margin-bottom:10px;
}
.adm-correo-card-meta>span{
  display:grid;
  gap:2px;
  padding:8px 9px;
  border:1px solid #e3edf4;
  border-radius:11px;
  background:#fff;
}
.adm-correo-card-meta b{
  color:#184d72;
  font-size:11px;
  line-height:1.15;
  overflow-wrap:anywhere;
}
.adm-correo-card-meta small{
  color:#8091a0;
  font-size:8px;
  font-weight:700;
}
.adm-correo-card-metric{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:auto;
  padding:10px 11px;
  border-radius:12px;
  background:linear-gradient(90deg,#edf7fd,#f8fbfe);
  border:1px solid #d9eaf4;
}
.adm-correo-card-metric span{
  color:#557186;
  font-size:10px;
  font-weight:800;
}
.adm-correo-card-metric strong{
  margin:0!important;
  color:#0b5e92!important;
  font-size:22px!important;
  line-height:1!important;
}
.adm-correo-card-metric.is-text strong{
  font-size:13px!important;
}
.adm-correo-center .adm-correo-card-actions{
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid #e5eef4;
}
.adm-correo-center .adm-correo-card-actions .adm-btn{
  flex:1 1 115px;
  min-height:38px;
  padding:8px 11px;
  border-radius:11px;
  font-size:11px;
}
.adm-correo-center .adm-correo-destinatarios-grid{
  gap:12px;
  margin:0;
}
.adm-correo-center .adm-correo-destinatarios-card{
  padding:0;
  border-color:#d7e6f0;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 26px rgba(24,68,101,.06);
  overflow:hidden;
}
.adm-correo-center .adm-correo-destinatarios-card.is-secretaria{border-top:4px solid #2b8dc2}
.adm-correo-center .adm-correo-destinatarios-card.is-colecturia{border-top:4px solid #8c6abc}
.adm-correo-center .adm-correo-destinatarios-head{
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  gap:11px;
  padding:13px 14px;
  border-bottom:1px solid #e4edf4;
  background:linear-gradient(90deg,#f5fafe,#fff);
}
.adm-correo-center .adm-correo-destinatarios-head>span{
  width:42px;
  height:42px;
  border-radius:13px;
}
.adm-correo-center .adm-correo-destinatarios-head>div>strong{
  font-size:14px;
}
.adm-correo-center .adm-correo-destinatarios-head>b{
  display:grid;
  place-items:center;
  min-width:34px;
  height:30px;
  padding:0 8px;
  border-radius:10px;
  background:#eaf4fb;
  color:#175f8f;
  font-size:12px;
}
.adm-correo-center .adm-correo-destinatarios-card ul{
  max-height:248px;
  margin:0;
  padding:10px;
  overflow:auto;
}
.adm-correo-center .adm-correo-destinatarios-card li{
  min-height:46px;
  padding:8px 10px;
  border-color:#e3ecf3;
  box-shadow:0 3px 10px rgba(26,77,116,.035);
}
.adm-correo-center .adm-correo-destinatarios-empty{
  margin:10px;
}
.adm-correo-log-heading{
  padding-top:4px;
  border-top:1px dashed #d5e4ee;
}
.adm-correo-log-table-wrap{
  border:1px solid #d6e5ef;
  border-radius:17px;
  background:#fff;
  box-shadow:0 10px 25px rgba(24,68,101,.06);
}
.adm-correo-center .adm-correo-secretaria-alert{
  margin:12px 0;
  border-radius:13px;
  font-size:12px;
  font-weight:700;
}
@media(max-width:1280px){
  .adm-correo-center .adm-correo-task-grid{grid-template-columns:repeat(2,minmax(230px,1fr))}
}
@media(max-width:900px){
  .adm-correo-control-hero{align-items:flex-start;flex-direction:column}
  .adm-correo-center .adm-correo-master-actions{max-width:none;width:100%;justify-content:flex-start}
  .adm-correo-overview-grid{grid-template-columns:1fr}
  .adm-correo-section-heading{align-items:flex-start;flex-direction:column;gap:9px}
}
@media(max-width:680px){
  .adm-correo-center{padding:10px!important}
  .adm-correo-control-hero{padding:17px;border-radius:17px}
  .adm-correo-control-title-row{align-items:flex-start;flex-direction:column}
  .adm-correo-control-icon{width:48px;height:48px;flex-basis:48px}
  .adm-correo-center .adm-correo-master-actions{align-items:stretch}
  .adm-correo-center .adm-correo-master-actions .adm-btn,.adm-correo-center .adm-correo-master-actions .adm-correo-status-pill{width:100%;box-sizing:border-box}
  .adm-correo-center .adm-correo-task-grid{grid-template-columns:1fr}
  .adm-correo-center .adm-correo-auto-card{min-height:0}
  .adm-correo-center .adm-correo-auto-card p{min-height:0}
  .adm-correo-card-meta{grid-template-columns:1fr}
  .adm-correo-center .adm-correo-destinatarios-head{grid-template-columns:42px minmax(0,1fr)}
  .adm-correo-center .adm-correo-destinatarios-head>b{grid-column:1/3;justify-self:start}
  .adm-correo-center .adm-correo-destinatarios-card li{grid-template-columns:1fr}
}

/* =========================================================
   Configuración institucional: períodos, grados y cupos
   ========================================================= */
.adm-config-academic-panel {
  display: grid;
  gap: 18px;
}

.adm-config-academic-kpis article {
  min-height: 104px;
}

.adm-config-academic-alert {
  margin: 0;
}

.adm-config-academic-block {
  border: 1px solid #d5e6f4;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
  padding: 18px;
  box-shadow: 0 12px 34px rgba(14, 67, 112, .07);
}

.adm-config-academic-block + .adm-config-academic-block {
  margin-top: 2px;
}

.adm-config-academic-block-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 15px;
}

.adm-config-academic-block-head > div:first-child {
  min-width: 0;
}

.adm-config-academic-block-head > div:first-child > span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e8f4ff;
  color: #07569c;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.adm-config-academic-block-head h3 {
  margin: 7px 0 2px;
  color: #063b72;
  font-size: 20px;
  line-height: 1.15;
}

.adm-config-academic-block-head p {
  margin: 0;
  max-width: 900px;
  color: #60758d;
  font-size: 13px;
  line-height: 1.45;
}

.adm-config-academic-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
  padding: 15px;
  border: 1px solid #d9e8f4;
  border-radius: 18px;
  background: #f4f9fd;
}

.adm-config-academic-form.is-editing {
  border-color: #73b5e5;
  box-shadow: inset 0 0 0 1px rgba(27, 129, 199, .14);
}

.adm-config-academic-form label {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
}

.adm-config-academic-form label.is-wide {
  grid-column: span 2;
}

.adm-config-academic-form label > span,
.adm-config-period-filter > span {
  color: #3c5873;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.adm-config-academic-form input,
.adm-config-academic-form select,
.adm-config-period-filter select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #c8ddeb;
  border-radius: 12px;
  background: #fff;
  color: #082f5d;
  padding: 9px 11px;
  font: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.adm-config-academic-form input:focus,
.adm-config-academic-form select:focus,
.adm-config-period-filter select:focus {
  border-color: #1a88cf;
  box-shadow: 0 0 0 3px rgba(26, 136, 207, .13);
  background: #fff;
}

.adm-config-form-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 9px;
  padding-top: 2px;
}

.adm-config-grade-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.adm-config-period-filter {
  display: grid;
  gap: 6px;
  width: min(100%, 360px);
  flex: 0 0 320px;
}

.adm-config-academic-table-wrap {
  border: 1px solid #d7e7f3;
  border-radius: 17px;
  background: #fff;
  overflow: auto;
}

.adm-config-academic-table {
  min-width: 980px;
}

.adm-config-academic-table thead th {
  white-space: nowrap;
}

.adm-config-academic-table td {
  vertical-align: middle;
}

.adm-config-academic-table .adm-row-actions {
  min-width: 190px;
  gap: 6px;
  flex-wrap: wrap;
}

.adm-config-date-range {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: #345470;
  font-weight: 700;
}

.adm-config-date-range i {
  color: #1497c9;
  font-style: normal;
}

.adm-config-status,
.adm-config-period-chip,
.adm-config-cupos-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.adm-config-status.is-active,
.adm-config-status.is-abierto {
  color: #087342;
  border: 1px solid #a9e4c8;
  background: #e9faf2;
}

.adm-config-status.is-inactive,
.adm-config-status.is-cerrado {
  color: #9d3441;
  border: 1px solid #f0c1c7;
  background: #fff0f2;
}

.adm-config-status.is-planificacion {
  color: #885e00;
  border: 1px solid #f0d68a;
  background: #fff8dc;
}

.adm-config-period-chip {
  color: #075a9c;
  border: 1px solid #b7dbf4;
  background: #eaf6ff;
}

.adm-config-cupos-chip {
  min-width: 48px;
  color: #694500;
  border: 1px solid #efd58b;
  background: #fff7d9;
  font-size: 13px;
}

.adm-btn.adm-btn-danger {
  color: #b42336;
  border-color: #efc0c8;
  background: #fff1f3;
}

.adm-btn.adm-btn-danger:hover {
  color: #fff;
  border-color: #d93046;
  background: #d93046;
}

@media (max-width: 1180px) {
  .adm-config-academic-form,
  .adm-config-grade-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .adm-config-academic-block {
    padding: 13px;
    border-radius: 18px;
  }
  .adm-config-academic-block-head {
    align-items: stretch;
    flex-direction: column;
  }
  .adm-config-period-filter {
    width: 100%;
    flex-basis: auto;
  }
  .adm-config-academic-form,
  .adm-config-grade-form {
    grid-template-columns: 1fr;
    padding: 12px;
  }
  .adm-config-academic-form label.is-wide {
    grid-column: auto;
  }
  .adm-config-form-actions {
    grid-column: auto;
    justify-content: stretch;
    flex-direction: column-reverse;
  }
  .adm-config-form-actions .adm-btn {
    width: 100%;
  }
}

/* ============================================================
   Mejora visual - Expediente Digital del Aspirante
   Ruta institucional ordenada + estados visuales por etapa
   ============================================================ */
.adm-exp-route-shell{
  margin:0 0 18px;
  padding:18px;
  border:1px solid #d6e7f7;
  border-radius:26px;
  background:linear-gradient(135deg,#ffffff 0%,#f5faff 100%);
  box-shadow:0 18px 40px rgba(6,46,103,.08);
}
.adm-exp-route-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:15px;
}
.adm-exp-route-head>div:first-child>span,
.adm-exp-trace-head>span{
  display:block;
  margin-bottom:4px;
  color:#7b5a00;
  font-size:11px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.55px;
}
.adm-exp-route-head h4,
.adm-exp-trace-head h4{
  margin:0;
  color:#062e67;
  font-size:20px;
}
.adm-exp-route-head p,
.adm-exp-trace-head p{
  margin:5px 0 0;
  color:#58708f;
  font-weight:700;
  line-height:1.4;
}
.adm-exp-route-legend{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:7px;
  max-width:420px;
}
.adm-exp-route-legend span{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:6px 9px;
  border-radius:999px;
  font-size:10px;
  font-weight:1000;
  white-space:nowrap;
  border:1px solid transparent;
}
.adm-exp-route-legend .is-complete{background:#e8f8ef;color:#0a6b3c;border-color:#b9e7cd;}
.adm-exp-route-legend .is-current{background:#eaf4ff;color:#0054a6;border-color:#c6def5;}
.adm-exp-route-legend .is-warning{background:#fff5dc;color:#8a6200;border-color:#efd58b;}
.adm-exp-route-legend .is-pending{background:#f1f5f9;color:#617487;border-color:#d8e2ec;}
.adm-exp-route{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:10px;
}
.adm-exp-route-step{
  position:relative;
  min-width:0;
  min-height:154px;
  display:grid;
  grid-template-columns:38px 38px minmax(0,1fr);
  align-content:start;
  gap:10px;
  padding:13px;
  text-align:left;
  border-radius:20px;
  border:1px solid #d9e6f2;
  background:#fff;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(6,46,103,.05);
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.adm-exp-route-step:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 30px rgba(6,46,103,.10);
}
.adm-exp-route-step.is-complete{border-color:#b9e7cd;background:linear-gradient(135deg,#f2fff7,#ffffff);}
.adm-exp-route-step.is-current{border-color:#a9cfee;background:linear-gradient(135deg,#eef7ff,#ffffff);box-shadow:0 14px 28px rgba(0,84,166,.12);}
.adm-exp-route-step.is-warning{border-color:#efd58b;background:linear-gradient(135deg,#fff9e8,#ffffff);box-shadow:0 14px 28px rgba(174,122,0,.09);}
.adm-exp-route-step.is-pending{border-color:#d8e2ec;background:linear-gradient(135deg,#f7f9fb,#ffffff);}
.adm-exp-route-number,
.adm-exp-phase-step{
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  font-weight:1000;
}
.adm-exp-route-number{
  width:34px;
  height:34px;
  background:#eef3f8;
  color:#5f7285;
  border:1px solid #d6e2ec;
}
.adm-exp-route-step.is-complete .adm-exp-route-number{background:#daf5e7;color:#08703f;border-color:#a9dfc3;}
.adm-exp-route-step.is-current .adm-exp-route-number{background:#dceeff;color:#0054a6;border-color:#abd0ef;}
.adm-exp-route-step.is-warning .adm-exp-route-number{background:#fff0c2;color:#886000;border-color:#ebd383;}
.adm-exp-route-icon{
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:13px;
  background:#f5f8fb;
  font-size:18px;
}
.adm-exp-route-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.adm-exp-route-copy strong{
  color:#07336e;
  font-size:12px;
  line-height:1.25;
}
.adm-exp-route-copy small{
  width:max-content;
  max-width:100%;
  padding:4px 7px;
  border-radius:999px;
  font-size:9px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.35px;
}
.adm-exp-route-step.is-complete .adm-exp-route-copy small{background:#daf5e7;color:#08703f;}
.adm-exp-route-step.is-current .adm-exp-route-copy small{background:#dceeff;color:#0054a6;}
.adm-exp-route-step.is-warning .adm-exp-route-copy small{background:#fff0c2;color:#886000;}
.adm-exp-route-step.is-pending .adm-exp-route-copy small{background:#edf2f7;color:#5f7285;}
.adm-exp-route-copy em{
  grid-column:1/-1;
  margin-top:4px;
  color:#667d94;
  font-size:10px;
  line-height:1.35;
  font-style:normal;
  font-weight:700;
}

.adm-exp-control-card{
  margin-bottom:18px;
  padding:15px 17px;
}
.adm-exp-control-card .adm-exp-card-title{margin-bottom:10px;}
.adm-exp-control-layout{
  display:grid;
  grid-template-columns:minmax(260px,.7fr) minmax(420px,1.3fr);
  gap:12px;
  align-items:center;
}
.adm-exp-control-layout .adm-exp-state-current{margin:0;min-height:48px;}
.adm-exp-control-note{
  margin:9px 0 0;
  color:#6a8199;
  font-size:11px;
  font-weight:800;
}

.adm-exp-process-flow{
  position:relative;
  display:grid;
  gap:18px;
}
.adm-exp-process-section{
  position:relative;
  scroll-margin-top:18px;
  padding:0 0 0 22px;
}
.adm-exp-process-section:before{
  content:'';
  position:absolute;
  left:8px;
  top:0;
  bottom:-18px;
  width:3px;
  border-radius:999px;
  background:#dce6ef;
}
.adm-exp-process-section:last-child:before{bottom:0;}
.adm-exp-process-section.is-complete:before{background:#9edbbd;}
.adm-exp-process-section.is-current:before{background:#8fc2e8;}
.adm-exp-process-section.is-warning:before{background:#e7c45f;}
.adm-exp-process-section.is-pending:before{background:#d8e2ec;}
.adm-exp-phase-head{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:10px;
  padding:14px 16px;
  border:1px solid #d9e7f3;
  border-radius:22px;
  background:linear-gradient(135deg,#ffffff,#f8fbff);
  box-shadow:0 12px 28px rgba(6,46,103,.06);
}
.adm-exp-process-section.is-complete .adm-exp-phase-head{border-color:#bfe8d1;background:linear-gradient(135deg,#f4fff8,#ffffff);}
.adm-exp-process-section.is-current .adm-exp-phase-head{border-color:#b8d8f2;background:linear-gradient(135deg,#f0f8ff,#ffffff);}
.adm-exp-process-section.is-warning .adm-exp-phase-head{border-color:#ead58f;background:linear-gradient(135deg,#fffaf0,#ffffff);}
.adm-exp-process-section.is-pending .adm-exp-phase-head{border-color:#dce5ed;background:linear-gradient(135deg,#f8fafc,#ffffff);}
.adm-exp-phase-ident{
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
}
.adm-exp-phase-step{
  width:36px;
  height:36px;
  flex:0 0 36px;
  color:#fff;
  background:#6f8294;
  box-shadow:0 8px 18px rgba(6,46,103,.12);
}
.adm-exp-process-section.is-complete .adm-exp-phase-step{background:#13975b;}
.adm-exp-process-section.is-current .adm-exp-phase-step{background:#0b68b7;}
.adm-exp-process-section.is-warning .adm-exp-phase-step{background:#b98500;}
.adm-exp-phase-icon{
  width:38px;
  height:38px;
  flex:0 0 38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:13px;
  background:#eef4f9;
  font-size:19px;
}
.adm-exp-phase-ident>div{min-width:0;}
.adm-exp-phase-ident small{
  display:block;
  color:#7d90a3;
  font-size:10px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.45px;
}
.adm-exp-phase-ident h4{
  margin:2px 0 2px;
  color:#062e67;
  font-size:18px;
}
.adm-exp-phase-ident p{
  margin:0;
  color:#657d95;
  font-size:11px;
  font-weight:800;
  line-height:1.35;
}
.adm-exp-phase-state{
  flex:0 0 auto;
  max-width:360px;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:3px;
  padding:8px 11px;
  border-radius:15px;
  border:1px solid transparent;
}
.adm-exp-phase-state strong{
  font-size:11px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.35px;
}
.adm-exp-phase-state span{
  font-size:10px;
  font-weight:800;
  text-align:right;
  line-height:1.3;
}
.adm-exp-phase-state.is-complete{background:#e7f8ee;color:#0a6b3c;border-color:#b9e7cd;}
.adm-exp-phase-state.is-current{background:#eaf4ff;color:#0054a6;border-color:#c6def5;}
.adm-exp-phase-state.is-warning{background:#fff5dc;color:#8a6200;border-color:#efd58b;}
.adm-exp-phase-state.is-pending{background:#f1f5f9;color:#617487;border-color:#d8e2ec;}
.adm-exp-phase-content{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}
.adm-exp-phase-content>.adm-exp-card{
  margin:0;
}
.adm-exp-phase-summary-card{
  min-height:145px;
}
.adm-exp-stage-summary{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:8px 12px;
  align-items:center;
  padding:14px;
  border-radius:18px;
  border:1px solid #e0ebf4;
  background:#f8fbfe;
}
.adm-exp-stage-summary strong{
  color:#07336e;
  font-size:15px;
  line-height:1.35;
}
.adm-exp-stage-summary small{
  grid-column:2;
  color:#6a8199;
  font-weight:800;
  line-height:1.35;
}
.adm-exp-stage-badge{
  grid-row:1/3;
  align-self:stretch;
  min-width:105px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px 10px;
  border-radius:14px;
  font-size:10px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.35px;
  text-align:center;
}
.adm-exp-stage-badge.is-complete{background:#daf5e7;color:#08703f;}
.adm-exp-stage-badge.is-current{background:#dceeff;color:#0054a6;}
.adm-exp-stage-badge.is-warning{background:#fff0c2;color:#886000;}
.adm-exp-stage-badge.is-pending{background:#edf2f7;color:#5f7285;}

.adm-exp-trace-shell{
  margin-top:20px;
  padding-top:18px;
  border-top:2px dashed #cfe0ef;
}
.adm-exp-trace-head{
  margin-bottom:12px;
  padding:0 4px;
}
.adm-exp-trace-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.adm-exp-trace-grid>.adm-exp-card-wide{grid-column:1/-1;}

@media (max-width:1200px){
  .adm-exp-route{grid-template-columns:repeat(3,minmax(0,1fr));}
  .adm-exp-route-step{min-height:132px;}
}
@media (max-width:980px){
  .adm-exp-route-head{flex-direction:column;}
  .adm-exp-route-legend{justify-content:flex-start;max-width:none;}
  .adm-exp-route{grid-template-columns:repeat(2,minmax(0,1fr));}
  .adm-exp-control-layout{grid-template-columns:1fr;}
  .adm-exp-phase-head{align-items:flex-start;flex-direction:column;}
  .adm-exp-phase-state{align-items:flex-start;max-width:none;width:100%;}
  .adm-exp-phase-state span{text-align:left;}
  .adm-exp-trace-grid{grid-template-columns:1fr;}
  .adm-exp-trace-grid>.adm-exp-card-wide{grid-column:auto;}
}
@media (max-width:620px){
  .adm-exp-route-shell{padding:13px;border-radius:20px;}
  .adm-exp-route{grid-template-columns:1fr;}
  .adm-exp-route-step{min-height:0;grid-template-columns:34px 34px minmax(0,1fr);}
  .adm-exp-process-section{padding-left:16px;}
  .adm-exp-process-section:before{left:5px;}
  .adm-exp-phase-head{padding:12px;border-radius:18px;}
  .adm-exp-phase-ident{align-items:flex-start;}
  .adm-exp-phase-icon{display:none;}
  .adm-exp-stage-summary{grid-template-columns:1fr;}
  .adm-exp-stage-badge{grid-row:auto;min-height:38px;}
  .adm-exp-stage-summary small{grid-column:auto;}
}

/* Rectorado · selección y decisión institucional masiva */
.adm-equipo-bulk-panel{
  margin:0 0 16px;
  padding:17px;
  border:1px solid #cfe0ee;
  border-radius:20px;
  background:linear-gradient(145deg,#ffffff 0%,#f4f9fd 100%);
  box-shadow:0 10px 26px rgba(5,50,91,.07);
}
.adm-equipo-bulk-head{
  display:flex;
  align-items:center;
  gap:12px;
  padding-bottom:13px;
  border-bottom:1px solid #e0eaf2;
}
.adm-equipo-bulk-icon{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  flex:0 0 42px;
  border-radius:14px;
  color:#fff;
  background:linear-gradient(145deg,#078c58,#22ad72);
  box-shadow:0 8px 18px rgba(15,148,91,.2);
  font-size:20px;
  font-weight:1000;
}
.adm-equipo-bulk-head>div:nth-child(2){min-width:0;}
.adm-equipo-bulk-head span{
  display:block;
  color:#72879a;
  font-size:10px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.55px;
}
.adm-equipo-bulk-head strong{
  display:block;
  margin-top:2px;
  color:#0d426d;
  font-size:16px;
  line-height:1.25;
}
.adm-equipo-bulk-head small{
  display:block;
  margin-top:3px;
  color:#687f94;
  font-size:11px;
  font-weight:700;
}
.adm-equipo-bulk-head>em{
  display:inline-flex;
  align-items:center;
  gap:5px;
  margin-left:auto;
  padding:8px 11px;
  border:1px solid #c9dfef;
  border-radius:999px;
  color:#1f5b83;
  background:#eef7fd;
  font-size:10px;
  font-style:normal;
  font-weight:900;
  white-space:nowrap;
}
.adm-equipo-bulk-head>em b{font-size:14px;}
.adm-equipo-bulk-quick{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  padding:13px 0;
}
.adm-equipo-bulk-quick>span{
  margin-right:3px;
  color:#496b86;
  font-size:11px;
  font-weight:900;
}
.adm-equipo-bulk-quick button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:32px;
  padding:6px 10px;
  border:1px solid #d2e0eb;
  border-radius:999px;
  color:#355b77;
  background:#fff;
  font-size:10px;
  font-weight:900;
  cursor:pointer;
  transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease;
}
.adm-equipo-bulk-quick button:hover{transform:translateY(-1px);box-shadow:0 6px 13px rgba(5,50,91,.09);}
.adm-equipo-bulk-quick button i{width:8px;height:8px;border-radius:50%;background:#8da0af;}
.adm-equipo-bulk-quick button b{
  display:inline-grid;
  place-items:center;
  min-width:20px;
  height:20px;
  padding:0 5px;
  border-radius:999px;
  background:rgba(0,0,0,.055);
  font-size:9px;
}
.adm-equipo-bulk-quick button.is-green{color:#0c7444;border-color:#bde4cd;background:#eefaf3;}.adm-equipo-bulk-quick button.is-green i{background:#1f9b5d;}
.adm-equipo-bulk-quick button.is-orange{color:#8b6200;border-color:#ecd58e;background:#fff9e5;}.adm-equipo-bulk-quick button.is-orange i{background:#e4a914;}
.adm-equipo-bulk-quick button.is-red{color:#a12d2d;border-color:#efc7c7;background:#fff4f4;}.adm-equipo-bulk-quick button.is-red i{background:#d93e3e;}
.adm-equipo-bulk-quick button.is-waiting{color:#8a5b00;border-color:#e8cf87;background:#fff8df;}.adm-equipo-bulk-quick button.is-waiting i{background:#e3a91d;}
.adm-equipo-bulk-quick button.is-filtered{color:#075596;border-color:#bad8ee;background:#eef7fe;}
.adm-equipo-bulk-quick button.is-clear{margin-left:auto;color:#687d8f;background:#f7f9fb;}
.adm-equipo-bulk-controls{
  display:grid;
  grid-template-columns:minmax(210px,.7fr) minmax(320px,1.5fr) minmax(205px,.55fr);
  gap:12px;
  align-items:stretch;
}
.adm-equipo-bulk-controls>label{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
  color:#244f70;
  font-size:11px;
  font-weight:900;
}
.adm-equipo-bulk-controls>label>span{display:flex;justify-content:space-between;gap:8px;}
.adm-equipo-bulk-controls>label small{color:#71869a;font-size:9px;font-weight:800;}
.adm-equipo-bulk-controls>label small.is-required{color:#a83232;}
.adm-equipo-bulk-controls select,.adm-equipo-bulk-controls textarea{
  width:100%;
  min-height:43px;
  padding:10px 11px;
  border:1px solid #cadbe8;
  border-radius:12px;
  color:#153f60;
  background:#fff;
  font-size:12px;
  outline:none;
  box-sizing:border-box;
}
.adm-equipo-bulk-controls textarea{resize:vertical;line-height:1.4;}
.adm-equipo-bulk-controls select:focus,.adm-equipo-bulk-controls textarea:focus{border-color:#0b68b7;box-shadow:0 0 0 3px rgba(11,104,183,.11);}
.adm-equipo-bulk-action{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:8px;
  padding:10px;
  border:1px solid #cfe0ed;
  border-radius:14px;
  background:#f7fbfe;
}
.adm-equipo-bulk-action>div{display:flex;align-items:baseline;gap:7px;}
.adm-equipo-bulk-action>div strong{color:#075596;font-size:24px;line-height:1;}
.adm-equipo-bulk-action>div span{color:#657d91;font-size:10px;font-weight:900;line-height:1.25;}
.adm-equipo-bulk-action>div span small{display:block;margin-top:3px;color:#7d91a3;font-size:9px;font-weight:800;}
.adm-equipo-bulk-action>div span small.is-warning{color:#a56b00;}
.adm-equipo-bulk-action .adm-btn{width:100%;min-height:38px;}
.adm-equipo-bulk-action .adm-btn:disabled{opacity:.52;cursor:not-allowed;}
.adm-equipo-bulk-alert{
  margin-top:12px;
  padding:11px 13px;
  border:1px solid transparent;
  border-radius:12px;
  font-size:11px;
  font-weight:800;
  line-height:1.45;
}
.adm-equipo-bulk-alert.is-ok{color:#0b6a3e;border-color:#bde5cd;background:#eaf8f0;}
.adm-equipo-bulk-alert.is-error{color:#9d2c2c;border-color:#efc5c5;background:#fff1f1;}
.adm-equipo-bulk-panel>footer{
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin-top:12px;
  padding-top:11px;
  border-top:1px dashed #d6e3ed;
  color:#61788c;
  font-size:10px;
  font-weight:700;
  line-height:1.45;
}
.adm-equipo-bulk-panel>footer i{font-style:normal;}
.adm-equipo-bulk-master,.adm-equipo-bulk-check{
  display:inline-grid;
  place-items:center;
  width:27px;
  height:27px;
  margin:0 auto;
  cursor:pointer;
}
.adm-equipo-bulk-master input,.adm-equipo-bulk-check input{position:absolute;opacity:0;pointer-events:none;}
.adm-equipo-bulk-master span,.adm-equipo-bulk-check span{
  position:relative;
  display:block;
  width:18px;
  height:18px;
  border:2px solid #9bb2c5;
  border-radius:6px;
  background:#fff;
  box-shadow:0 2px 5px rgba(5,50,91,.08);
  transition:all .14s ease;
}
.adm-equipo-bulk-master input:checked+span,.adm-equipo-bulk-check input:checked+span,
.adm-equipo-bulk-master input:indeterminate+span{border-color:#0877c9;background:#0877c9;}
.adm-equipo-bulk-master input:checked+span:after,.adm-equipo-bulk-check input:checked+span:after{
  content:"";
  position:absolute;
  left:4px;
  top:1px;
  width:5px;
  height:9px;
  border:solid #fff;
  border-width:0 2px 2px 0;
  transform:rotate(45deg);
}
.adm-equipo-bulk-master input:indeterminate+span:after{
  content:"";
  position:absolute;
  left:3px;
  right:3px;
  top:7px;
  height:2px;
  border-radius:2px;
  background:#fff;
}
.adm-equipo-bulk-check.is-disabled{cursor:not-allowed;opacity:.34;}
.adm-equipo-bulk-cell{text-align:center!important;}
.adm-equipo-analysis-row.is-bulk-selected td{background:#eef8ff!important;}
.adm-equipo-analysis-row.is-bulk-selected td:first-child{box-shadow:inset 4px 0 0 #0877c9;}
.adm-equipo-bulk-dialog{width:min(1000px,96vw);max-height:92vh;overflow:auto;}
.adm-equipo-bulk-confirm-summary{display:grid;gap:13px;}
.adm-equipo-bulk-confirm-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:9px;}
.adm-equipo-bulk-confirm-kpis article{
  min-width:0;
  padding:11px;
  border:1px solid #dce7ef;
  border-radius:13px;
  background:#f8fbfd;
}
.adm-equipo-bulk-confirm-kpis article span{display:block;color:#728698;font-size:9px;font-weight:900;text-transform:uppercase;}
.adm-equipo-bulk-confirm-kpis article>strong{display:block;margin-top:5px;color:#143f61;font-size:20px;}
.adm-equipo-bulk-confirm-kpis article.is-green{border-color:#c5e8d3;background:#effaf4;}.adm-equipo-bulk-confirm-kpis article.is-green>strong{color:#0b7343;}
.adm-equipo-bulk-confirm-kpis article.is-orange{border-color:#edd99c;background:#fff9e7;}.adm-equipo-bulk-confirm-kpis article.is-orange>strong{color:#8a6200;}
.adm-equipo-bulk-confirm-kpis article.is-red{border-color:#efcaca;background:#fff4f4;}.adm-equipo-bulk-confirm-kpis article.is-red>strong{color:#a12d2d;}
.adm-equipo-bulk-confirm-kpis article.is-waiting{border-color:#ead59b;background:#fff9e8;}.adm-equipo-bulk-confirm-kpis article.is-waiting>strong{color:#8b6200;}
.adm-equipo-bulk-confirm-section{
  padding:13px;
  border:1px solid #dde8f0;
  border-radius:14px;
  background:#fff;
}
.adm-equipo-bulk-confirm-section>div:first-child{margin-bottom:9px;}
.adm-equipo-bulk-confirm-section>div:first-child span{display:block;color:#74899a;font-size:9px;font-weight:900;text-transform:uppercase;}
.adm-equipo-bulk-confirm-section>div:first-child strong{display:block;margin-top:2px;color:#164564;font-size:14px;}
.adm-equipo-bulk-confirm-section .adm-table{min-width:700px;}
.adm-equipo-bulk-confirm-section tr.is-danger td{background:#fff1f1;}
.adm-equipo-bulk-confirm-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
  max-height:245px;
  margin:0;
  padding:0;
  overflow:auto;
  list-style:none;
}
.adm-equipo-bulk-confirm-list li{padding:9px 10px;border:1px solid #e1e9ef;border-radius:10px;background:#f8fbfd;}
.adm-equipo-bulk-confirm-list li strong{display:block;color:#184566;font-size:11px;}
.adm-equipo-bulk-confirm-list li span{display:block;margin-top:2px;color:#718597;font-size:9px;font-weight:700;}
.adm-equipo-bulk-confirm-list li.is-more{border-style:dashed;background:#f2f7fb;}
@media(max-width:1050px){
  .adm-equipo-bulk-controls{grid-template-columns:1fr 1.5fr;}
  .adm-equipo-bulk-action{grid-column:1/-1;flex-direction:row;align-items:center;}
  .adm-equipo-bulk-action .adm-btn{width:auto;min-width:220px;}
  .adm-equipo-bulk-confirm-kpis{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:720px){
  .adm-equipo-bulk-panel{padding:13px;border-radius:16px;}
  .adm-equipo-bulk-head{align-items:flex-start;flex-wrap:wrap;}
  .adm-equipo-bulk-head>em{margin-left:54px;}
  .adm-equipo-bulk-quick button.is-clear{margin-left:0;}
  .adm-equipo-bulk-controls{grid-template-columns:1fr;}
  .adm-equipo-bulk-action{grid-column:auto;flex-direction:column;align-items:stretch;}
  .adm-equipo-bulk-action .adm-btn{width:100%;min-width:0;}
  .adm-equipo-bulk-confirm-kpis{grid-template-columns:repeat(2,minmax(0,1fr));}
  .adm-equipo-bulk-confirm-list{grid-template-columns:1fr;}
  .adm-equipo-bulk-modal{padding:8px;}
  .adm-equipo-bulk-dialog{width:100%;max-height:98vh;padding:15px;}
}

/* =========================================================
   Documento PDF institucional de cupos por período
   ========================================================= */
.adm-cupos-document-panel{
  margin:0 0 18px;
  padding:17px;
  border:1px solid #cfe4f3;
  border-radius:20px;
  background:linear-gradient(145deg,#fafdff 0%,#f1f8fd 100%);
  box-shadow:0 13px 32px rgba(8,67,116,.08);
}
.adm-cupos-document-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:14px;
}
.adm-cupos-document-title{
  display:flex;
  align-items:flex-start;
  gap:12px;
  min-width:0;
}
.adm-cupos-document-icon{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  flex:0 0 48px;
  border-radius:15px;
  background:linear-gradient(145deg,#e7f4ff,#d7ebfb);
  box-shadow:inset 0 0 0 1px rgba(30,126,190,.12);
  font-size:23px;
}
.adm-cupos-document-title h4{
  margin:4px 0 3px;
  color:#073e74;
  font-size:19px;
  line-height:1.2;
}
.adm-cupos-document-title p{
  margin:0;
  max-width:800px;
  color:#5c748b;
  font-size:12.5px;
  line-height:1.45;
}
.adm-cupos-document-period{
  display:grid;
  gap:3px;
  flex:0 0 auto;
  min-width:225px;
  padding:10px 13px;
  border:1px solid #c8e1f3;
  border-radius:14px;
  background:#fff;
  color:#678098;
  font-size:10px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.adm-cupos-document-period strong{
  color:#07589a;
  font-size:12px;
  letter-spacing:0;
  text-transform:none;
}
.adm-cupos-document-alert{
  margin:0 0 13px;
}
.adm-cupos-document-grid{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(330px,.92fr);
  gap:14px;
}
.adm-cupos-document-latest,
.adm-cupos-document-upload{
  min-width:0;
  border:1px solid #d5e7f3;
  border-radius:17px;
  background:#fff;
  box-shadow:0 8px 22px rgba(8,62,104,.055);
}
.adm-cupos-document-latest{
  padding:15px;
}
.adm-cupos-document-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-bottom:11px;
  border-bottom:1px solid #e2edf5;
}
.adm-cupos-document-card-head>span{
  color:#385874;
  font-size:11px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.adm-cupos-document-card-head>b,
.adm-cupos-document-version{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:27px;
  padding:4px 10px;
  border:1px solid #a9d5ee;
  border-radius:999px;
  background:#e8f7ff;
  color:#06639e;
  font-size:11px;
  font-weight:900;
  white-space:nowrap;
}
.adm-cupos-document-empty{
  display:grid;
  justify-items:center;
  gap:5px;
  padding:25px 12px 18px;
  text-align:center;
}
.adm-cupos-document-empty i{
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  border-radius:17px;
  background:#f0f7fc;
  font-style:normal;
  font-size:24px;
}
.adm-cupos-document-empty strong{color:#28516f;font-size:13px}
.adm-cupos-document-empty span{color:#75899a;font-size:11px}
.adm-cupos-document-latest-body{
  display:grid;
  gap:13px;
  padding-top:13px;
}
.adm-cupos-document-file{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
  padding:12px;
  border:1px solid #e0ebf3;
  border-radius:14px;
  background:#f8fbfd;
}
.adm-cupos-document-file>i,
.adm-cupos-document-history-file>i{
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border-radius:9px;
  background:#e52a36;
  color:#fff;
  font-style:normal;
  font-size:9px;
  font-weight:900;
  letter-spacing:.04em;
}
.adm-cupos-document-file>i{width:39px;height:43px}
.adm-cupos-document-file>div{
  display:grid;
  gap:3px;
  min-width:0;
}
.adm-cupos-document-file strong{
  overflow:hidden;
  color:#0a477e;
  font-size:13px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.adm-cupos-document-file span{color:#75899a;font-size:10.5px}
.adm-cupos-document-meta{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin:0;
}
.adm-cupos-document-meta>div{
  display:grid;
  gap:3px;
  min-width:0;
  padding:9px 10px;
  border-radius:12px;
  background:#f4f8fb;
}
.adm-cupos-document-meta dt{
  color:#7890a4;
  font-size:9px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.adm-cupos-document-meta dd{
  overflow:hidden;
  margin:0;
  color:#234c6e;
  font-size:11px;
  font-weight:800;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.adm-cupos-document-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;
}
.adm-cupos-document-upload{
  display:grid;
  align-content:start;
  gap:11px;
  padding:15px;
}
.adm-cupos-document-upload-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.adm-cupos-document-upload-head>div{display:grid;gap:2px}
.adm-cupos-document-upload-head span{
  color:#72889a;
  font-size:9px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.adm-cupos-document-upload-head strong{color:#154d79;font-size:14px}
.adm-cupos-document-upload-head em{
  padding:4px 8px;
  border-radius:999px;
  background:#eff6fb;
  color:#658098;
  font-size:9.5px;
  font-style:normal;
  font-weight:800;
}
.adm-cupos-document-dropzone{
  position:relative;
  display:grid;
  place-items:center;
  gap:5px;
  min-height:128px;
  padding:15px;
  border:2px dashed #b8d7e9;
  border-radius:15px;
  background:linear-gradient(180deg,#fbfdff,#f3f9fd);
  cursor:pointer;
  text-align:center;
  transition:border-color .2s ease,background .2s ease,transform .2s ease,box-shadow .2s ease;
}
.adm-cupos-document-dropzone:hover,
.adm-cupos-document-dropzone.is-dragging{
  border-color:#1c8bcc;
  background:#edf8ff;
  box-shadow:0 0 0 4px rgba(28,139,204,.09);
  transform:translateY(-1px);
}
.adm-cupos-document-dropzone.has-file{
  border-style:solid;
  border-color:#7bcaa8;
  background:#f0fbf6;
}
.adm-cupos-document-dropzone.is-invalid{
  border-color:#e7a5ae;
  background:#fff5f6;
}
.adm-cupos-document-dropzone input{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}
.adm-cupos-document-drop-icon{
  display:grid;
  place-items:center;
  width:39px;
  height:39px;
  border-radius:13px;
  background:#e4f2fc;
  color:#0870b3;
  font-size:20px;
  font-weight:900;
}
.adm-cupos-document-dropzone.has-file .adm-cupos-document-drop-icon{
  background:#dff5ea;
  color:#087747;
}
.adm-cupos-document-dropzone>strong{color:#164f7d;font-size:12px}
.adm-cupos-document-dropzone>small{
  max-width:100%;
  overflow:hidden;
  color:#71899c;
  font-size:10.5px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.adm-cupos-document-upload-note{
  display:flex;
  align-items:flex-start;
  gap:7px;
  color:#5c7488;
  font-size:10.5px;
  line-height:1.35;
}
.adm-cupos-document-upload-note i{
  display:grid;
  place-items:center;
  width:17px;
  height:17px;
  flex:0 0 17px;
  border-radius:50%;
  background:#dcf5e8;
  color:#087746;
  font-style:normal;
  font-size:10px;
  font-weight:900;
}
.adm-cupos-document-submit{width:100%}
.adm-cupos-document-history{
  margin-top:14px;
  border:1px solid #d6e7f2;
  border-radius:15px;
  background:#fff;
  overflow:hidden;
}
.adm-cupos-document-history>summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  cursor:pointer;
  list-style:none;
  background:#f7fbfe;
}
.adm-cupos-document-history>summary::-webkit-details-marker{display:none}
.adm-cupos-document-history>summary>span{
  display:grid;
  grid-template-columns:28px auto;
  align-items:center;
  column-gap:8px;
}
.adm-cupos-document-history>summary i{
  grid-row:1/3;
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:9px;
  background:#e8f4fc;
  font-style:normal;
  font-size:14px;
}
.adm-cupos-document-history>summary strong{color:#174d77;font-size:12px}
.adm-cupos-document-history>summary small{color:#75899a;font-size:9.5px}
.adm-cupos-document-history>summary>b{
  color:#17669d;
  font-size:10.5px;
  white-space:nowrap;
}
.adm-cupos-document-history-wrap{
  border:0;
  border-top:1px solid #e1ecf4;
  border-radius:0;
}
.adm-cupos-document-history-table{min-width:1080px}
.adm-cupos-document-history-table td{vertical-align:middle}
.adm-cupos-document-history-table .adm-row-actions{min-width:160px}
.adm-cupos-document-history-file{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:220px;
}
.adm-cupos-document-history-file>i{width:30px;height:34px}
.adm-cupos-document-history-file>span{display:grid;gap:2px;min-width:0}
.adm-cupos-document-history-file strong{
  overflow:hidden;
  max-width:250px;
  color:#164e79;
  font-size:11px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.adm-cupos-document-history-file small,
.adm-cupos-document-user-id{
  display:block;
  color:#8a9aa7;
  font-size:9px;
}

@media(max-width:1050px){
  .adm-cupos-document-grid{grid-template-columns:1fr}
  .adm-cupos-document-meta{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .adm-cupos-document-panel{padding:12px;border-radius:17px}
  .adm-cupos-document-head{flex-direction:column}
  .adm-cupos-document-period{width:100%;min-width:0;box-sizing:border-box}
  .adm-cupos-document-meta{grid-template-columns:1fr}
  .adm-cupos-document-actions{align-items:stretch;flex-direction:column}
  .adm-cupos-document-actions .adm-btn{width:100%;box-sizing:border-box}
  .adm-cupos-document-history>summary{align-items:flex-start;flex-direction:column}
}


/* ============================================================
   Política transversal de columnas inmovilizadas
   Únicamente ACCIONES permanece fija cuando la tabla la incluye.
   Las demás columnas se desplazan normalmente, incluso si alguna
   vista histórica tenía reglas propias de position:sticky/left:0.
   ============================================================ */
.adm-admin-workspace-page table[data-adm-managed-table] thead th:not(.adm-sticky-actions){
  left:auto!important;
}
.adm-admin-workspace-page table[data-adm-managed-table] tbody td:not(.adm-sticky-actions){
  position:relative!important;
  left:auto!important;
  z-index:auto!important;
}
.adm-admin-workspace-page table[data-adm-managed-table] tbody td.adm-sticky-actions{
  position:sticky!important;
  left:0!important;
}


/* ============================================================
   COLECTURÍA · ABONO MATRÍCULA
   ============================================================ */
.adm-abono-panel{
  overflow:hidden;
  padding:0;
  border:1px solid #cfe3f3;
  background:linear-gradient(180deg,#f8fcff 0,#fff 42%);
}
.adm-abono-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:28px 30px;
  border-bottom:1px solid #dbeaf5;
  background:
    radial-gradient(circle at 92% 5%,rgba(255,207,85,.28),transparent 28%),
    linear-gradient(115deg,#f8fcff 0,#edf8ff 58%,#fff9e4 100%);
}
.adm-abono-hero-copy{min-width:0}
.adm-abono-title-row{
  display:flex;
  align-items:center;
  gap:16px;
  margin-top:6px;
}
.adm-abono-title-icon{
  display:grid;
  place-items:center;
  flex:0 0 58px;
  width:58px;
  height:58px;
  border:1px solid #c8e3f5;
  border-radius:18px;
  background:linear-gradient(145deg,#e9f7ff,#fff7d7);
  box-shadow:0 12px 26px rgba(13,93,145,.12);
  font-size:27px;
}
.adm-abono-title-row h2{
  margin:0 0 6px;
  color:#0b3f78;
  font-size:28px;
  line-height:1.1;
}
.adm-abono-title-row p{
  max-width:790px;
  margin:0;
  color:#5c7894;
  font-size:14px;
  line-height:1.55;
}
.adm-abono-hero-status{
  display:grid;
  flex:0 0 auto;
  min-width:210px;
  gap:8px;
  padding:16px 18px;
  border:1px solid #c8e2f3;
  border-radius:18px;
  background:rgba(255,255,255,.78);
  box-shadow:0 10px 24px rgba(15,75,118,.08);
}
.adm-abono-hero-status span{
  display:flex;
  align-items:center;
  gap:7px;
  color:#607a92;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.adm-abono-hero-status span i{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#1db977;
  box-shadow:0 0 0 4px rgba(29,185,119,.13);
}
.adm-abono-hero-status strong{color:#0d4e84;font-size:15px}
.adm-abono-panel-alert{margin:18px 24px 0}
.adm-abono-kpi-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  padding:22px 24px 0;
}
.adm-abono-kpi-grid article{
  display:flex;
  align-items:center;
  gap:13px;
  min-height:92px;
  padding:16px;
  border:1px solid #d4e5f1;
  border-radius:18px;
  background:#fff;
  box-shadow:0 9px 24px rgba(13,76,117,.07);
}
.adm-abono-kpi-grid article>i{
  display:grid;
  place-items:center;
  flex:0 0 42px;
  width:42px;
  height:42px;
  border-radius:14px;
  background:#ecf6ff;
  color:#0e6da8;
  font-style:normal;
  font-size:19px;
}
.adm-abono-kpi-grid article.is-paid>i{background:#e8f8f0;color:#16855a}
.adm-abono-kpi-grid article.is-pending>i{background:#fff6dd;color:#a76a00}
.adm-abono-kpi-grid article.is-total>i{background:#eee9ff;color:#6245b4;font-weight:900}
.adm-abono-kpi-grid article div{display:grid;min-width:0;gap:2px}
.adm-abono-kpi-grid small{
  color:#6c849a;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.035em;
}
.adm-abono-kpi-grid strong{color:#0d4478;font-size:22px;line-height:1.1}
.adm-abono-kpi-grid span{color:#8294a5;font-size:10px}
.adm-abono-guidance{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin:18px 24px 0;
  padding:15px 17px;
  border:1px solid #cee6f5;
  border-radius:16px;
  background:linear-gradient(90deg,#eef8ff,#f8fcff);
}
.adm-abono-guidance-icon{
  display:grid;
  place-items:center;
  flex:0 0 36px;
  width:36px;
  height:36px;
  border-radius:12px;
  background:#dcefff;
}
.adm-abono-guidance strong{display:block;color:#174f7d;font-size:12px}
.adm-abono-guidance p{margin:3px 0 0;color:#637d94;font-size:11px;line-height:1.45}
.adm-abono-list-heading{margin:10px 24px 0;padding:18px 0 12px}
.adm-abono-list-heading h3{margin:4px 0;color:#0d4478;font-size:20px}
.adm-abono-count-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:110px;
  padding:9px 13px;
  border:1px solid #c6def0;
  border-radius:999px;
  background:#edf7ff;
  color:#075b96;
  font-size:11px;
  font-weight:800;
}
.adm-abono-table-wrap{margin:0 24px 24px;border-radius:17px}
.adm-abono-table{min-width:1120px}
.adm-abono-table td{vertical-align:middle}
.adm-abono-code{color:#005a9c}
.adm-abono-document{white-space:nowrap;color:#255e86;font-weight:700}
.adm-abono-status{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  font-size:9px;
  font-weight:900;
  letter-spacing:.035em;
  white-space:nowrap;
}
.adm-abono-status:before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
}
.adm-abono-status.is-registered{border:1px solid #a9e1c6;background:#ecfbf4;color:#11724b}
.adm-abono-status.is-registered:before{background:#21b776}
.adm-abono-status.is-pending{border:1px solid #f1d38d;background:#fff8e6;color:#966000}
.adm-abono-status.is-pending:before{background:#efad1c}

/* Modal */
.adm-abono-modal[hidden]{display:none!important}
.adm-abono-modal{
  position:fixed;
  inset:0;
  z-index:99999;
  display:grid;
  place-items:center;
  padding:20px;
}
.adm-abono-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(7,32,55,.68);
  backdrop-filter:blur(5px);
}
.adm-abono-dialog{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  width:min(1180px,96vw);
  height:min(820px,92vh);
  max-height:92vh;
  overflow:hidden;
  border:1px solid rgba(190,221,240,.96);
  border-radius:25px;
  background:#f8fbfe;
  box-shadow:0 28px 80px rgba(3,33,57,.34);
}
.adm-abono-modal-header{
  display:flex;
  flex:0 0 auto;
  align-items:center;
  gap:14px;
  padding:21px 24px;
  border-bottom:1px solid #d4e6f2;
  background:
    radial-gradient(circle at 90% 0,rgba(255,205,64,.22),transparent 31%),
    linear-gradient(112deg,#f8fcff,#edf8ff 62%,#fff8df);
}
.adm-abono-modal-icon{
  display:grid;
  place-items:center;
  flex:0 0 50px;
  width:50px;
  height:50px;
  border:1px solid #c7e1f2;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 18px rgba(11,78,122,.1);
  font-size:23px;
}
.adm-abono-modal-header>div:nth-child(2){min-width:0;flex:1}
.adm-abono-modal-header h3{margin:3px 0;color:#0a3f74;font-size:23px;line-height:1.15}
.adm-abono-modal-header p{margin:0;color:#668096;font-size:12px}
.adm-abono-modal-alert{
  display:grid;
  flex:0 0 auto;
  gap:3px;
  margin:16px 22px 0;
  padding:12px 15px;
  border-radius:13px;
  font-size:11px;
}
.adm-abono-modal-alert.is-ok{border:1px solid #a6dfc4;background:#ecfaf3;color:#176a49}
.adm-abono-modal-alert.is-error{border:1px solid #f0b5b5;background:#fff0f0;color:#a12c2c}
.adm-abono-modal-alert strong{font-size:12px}
.adm-abono-modal-body{
  flex:1 1 auto;
  min-height:0;
  overflow:auto;
  padding:18px 22px 20px;
  scrollbar-gutter:stable;
}
.adm-abono-student-card{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-bottom:16px;
}
.adm-abono-student-card>div{
  display:grid;
  gap:4px;
  min-height:62px;
  padding:12px 14px;
  border:1px solid #d1e4f1;
  border-radius:14px;
  background:#fff;
}
.adm-abono-student-card small{
  color:#7a8fa2;
  font-size:9px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.035em;
}
.adm-abono-student-card strong{color:#0d477a;font-size:12px;line-height:1.35}
.adm-abono-modal-grid{
  display:grid;
  grid-template-columns:minmax(330px,.82fr) minmax(520px,1.38fr);
  gap:16px;
  align-items:start;
}
.adm-abono-form,
.adm-abono-history{
  border:1px solid #cfe2ef;
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 24px rgba(10,67,105,.06);
}
.adm-abono-form{padding:18px}
.adm-abono-form-heading,
.adm-abono-history>header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-bottom:13px;
  border-bottom:1px solid #e2edf4;
}
.adm-abono-form-heading span,
.adm-abono-history>header span:first-child{
  display:block;
  color:#74899d;
  font-size:9px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.adm-abono-form-heading h4,
.adm-abono-history>header h4{margin:3px 0 0;color:#0e4678;font-size:17px}
.adm-abono-form-heading>i{
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border-radius:11px;
  background:#e9f6ff;
  color:#0a6da9;
  font-style:normal;
  font-size:20px;
  font-weight:700;
}
.adm-abono-form-fields{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px;
  margin-top:15px;
}
.adm-abono-form-fields label{display:grid;gap:6px;min-width:0}
.adm-abono-form-fields label.is-wide{grid-column:1/-1}
.adm-abono-form-fields label>span{
  color:#294f6f;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.025em;
}
.adm-abono-form-fields label>span b{color:#d33}
.adm-abono-form-fields input,
.adm-abono-form-fields select,
.adm-abono-form-fields textarea{
  width:100%;
  box-sizing:border-box;
  border:1px solid #bed8e9;
  border-radius:12px;
  background:#fbfdff;
  color:#123f64;
  font:inherit;
  font-size:12px;
  outline:none;
  transition:border-color .2s,box-shadow .2s,background .2s;
}
.adm-abono-form-fields input,
.adm-abono-form-fields select{height:43px;padding:0 12px}
.adm-abono-form-fields textarea{min-height:96px;padding:11px 12px;resize:vertical}
.adm-abono-form-fields input:focus,
.adm-abono-form-fields select:focus,
.adm-abono-form-fields textarea:focus{
  border-color:#49a7da;
  background:#fff;
  box-shadow:0 0 0 3px rgba(31,143,203,.12);
}
.adm-abono-form-fields label>small{color:#8a9baa;font-size:9px}
.adm-abono-money-input{position:relative}
.adm-abono-money-input>i{
  position:absolute;
  top:50%;
  left:12px;
  z-index:1;
  transform:translateY(-50%);
  color:#1376ac;
  font-style:normal;
  font-weight:900;
}
.adm-abono-money-input input{padding-left:28px}
.adm-abono-form-note{
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin-top:14px;
  padding:10px 11px;
  border-radius:12px;
  background:#f0f8fd;
  color:#688095;
  font-size:9px;
  line-height:1.4;
}
.adm-abono-submit{min-height:44px}
.adm-abono-modal-footer{
  display:flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 22px;
  border-top:1px solid #d4e6f2;
  background:rgba(255,255,255,.97);
  box-shadow:0 -10px 24px rgba(9,61,96,.07);
}
.adm-abono-footer-help{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
  color:#678096;
  font-size:10px;
  line-height:1.35;
}
.adm-abono-footer-help i{
  display:grid;
  place-items:center;
  flex:0 0 25px;
  width:25px;
  height:25px;
  border-radius:50%;
  background:#e8f8f0;
  color:#15845a;
  font-style:normal;
  font-weight:900;
}
.adm-abono-modal-footer .adm-abono-submit{
  width:auto;
  min-width:285px;
  margin:0;
}
.adm-abono-history{overflow:hidden}
.adm-abono-history>header{padding:18px}
.adm-abono-history-count{
  padding:7px 10px;
  border:1px solid #c9e0ef;
  border-radius:999px;
  background:#eff8ff;
  color:#145e90!important;
  font-size:9px!important;
}
.adm-abono-history-summary{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  padding:13px 18px;
  background:#f6fbfe;
  border-bottom:1px solid #e1edf4;
}
.adm-abono-history-summary>div{display:grid;gap:3px}
.adm-abono-history-summary small{color:#7d91a2;font-size:9px;text-transform:uppercase;font-weight:800}
.adm-abono-history-summary strong{color:#0a4d80;font-size:15px}
.adm-abono-history-wrap{
  max-height:365px;
  overflow:auto;
  border:0;
  border-radius:0;
}
.adm-abono-history-table{min-width:760px}
.adm-abono-history-table th{font-size:9px}
.adm-abono-history-table td{vertical-align:top;font-size:10px}
.adm-abono-history-table td small{display:block;margin-top:3px;color:#8699a9;font-size:8px}
.adm-abono-history-value{white-space:nowrap;color:#08714d}
.adm-abono-type-chip{
  display:inline-flex;
  padding:5px 8px;
  border:1px solid #c7deed;
  border-radius:999px;
  background:#eef7fd;
  color:#155e8d;
  font-size:8px;
  font-weight:900;
  text-transform:uppercase;
  white-space:nowrap;
}

@media(max-width:1100px){
  .adm-abono-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .adm-abono-modal-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
  .adm-abono-hero{align-items:flex-start;flex-direction:column;padding:20px}
  .adm-abono-title-row{align-items:flex-start}
  .adm-abono-title-row h2{font-size:23px}
  .adm-abono-hero-status{width:100%;box-sizing:border-box}
  .adm-abono-kpi-grid{grid-template-columns:1fr;padding:16px 14px 0}
  .adm-abono-guidance,.adm-abono-list-heading{margin-left:14px;margin-right:14px}
  .adm-abono-table-wrap{margin:0 14px 18px}
  .adm-abono-modal{padding:8px}
  .adm-abono-dialog{width:100%;height:96vh;max-height:96vh;border-radius:18px}
  .adm-abono-modal-header{padding:16px}
  .adm-abono-modal-body{padding:13px}
  .adm-abono-modal-footer{align-items:stretch;flex-direction:column;padding:11px 13px}
  .adm-abono-footer-help{display:none}
  .adm-abono-modal-footer .adm-abono-submit{width:100%;min-width:0}
  .adm-abono-student-card{grid-template-columns:1fr 1fr}
  .adm-abono-student-card .is-wide{grid-column:1/-1}
  .adm-abono-form-fields{grid-template-columns:1fr}
  .adm-abono-form-fields label.is-wide{grid-column:auto}
}

/* ============================================================
   COLECTURÍA · ABONO MATRÍCULA
   Corrección de visibilidad de la última columna.
   Se reserva el ancho necesario para mostrar la fecha completa y,
   cuando no existe espacio suficiente, el contenedor conserva el
   desplazamiento horizontal sin recortar el borde derecho.
   ============================================================ */
.adm-admin-workspace-page .adm-abono-table-wrap{
  box-sizing:border-box;
  overflow-x:auto!important;
  overflow-y:visible;
}
.adm-admin-workspace-page .adm-abono-table{
  min-width:1240px!important;
}
.adm-admin-workspace-page .adm-abono-table th:last-child,
.adm-admin-workspace-page .adm-abono-table td:last-child{
  width:132px;
  min-width:132px;
  padding-right:18px!important;
  white-space:nowrap;
  overflow:visible;
}

/* ============================================================
   PORTAL DE EVALUACIONES · AJUSTE DE VISUALIZACIÓN EN CURSO
   La cabecera, el progreso y la navegación permanecen dentro del
   modal sin desplazarse entre sí. El scroll se reserva únicamente
   para preguntas excepcionalmente extensas.
   ============================================================ */
.adm-portal-test-modal .adm-portal-test-dialog{
  display:flex!important;
  flex-direction:column!important;
  width:min(1180px,96vw)!important;
  height:min(900px,96vh)!important;
  max-height:96vh!important;
  overflow:hidden!important;
}
.adm-portal-test-modal .adm-portal-test-head-modal{
  position:relative!important;
  top:auto!important;
  z-index:3!important;
  flex:0 0 auto!important;
  padding:18px 24px!important;
  gap:16px!important;
}
.adm-portal-test-modal .adm-portal-test-titleblock{
  min-width:0;
}
.adm-portal-test-modal .adm-portal-test-titleblock h2{
  margin:6px 0 4px!important;
  font-size:clamp(26px,2.8vw,36px)!important;
  line-height:1.06!important;
  letter-spacing:-.035em!important;
  overflow-wrap:anywhere;
}
.adm-portal-test-modal .adm-portal-test-titleblock p{
  margin:0!important;
  font-size:14px!important;
  line-height:1.35!important;
}
.adm-portal-test-modal .adm-portal-test-head-tools{
  flex-wrap:nowrap!important;
  align-self:center;
}
.adm-portal-test-modal .adm-portal-finish-top{
  min-height:42px!important;
  padding:0 17px!important;
}
.adm-portal-test-modal .adm-portal-test-counter-modal{
  min-width:112px!important;
  padding:11px 14px!important;
}
.adm-portal-test-modal .adm-portal-progress-wrap-modal{
  position:relative!important;
  top:auto!important;
  z-index:2!important;
  flex:0 0 7px!important;
  width:100%;
  height:7px!important;
}
.adm-portal-test-modal .adm-portal-test-form-modal{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  min-height:0!important;
  overflow:hidden!important;
  padding:14px 24px 18px!important;
}
.adm-portal-test-modal .adm-portal-question-stage{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  min-height:0!important;
  overflow:auto!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}
.adm-portal-test-modal .adm-portal-question-stage-top{
  position:relative!important;
  top:auto!important;
  z-index:1!important;
  flex:0 0 auto!important;
  padding:13px 18px!important;
}
.adm-portal-test-modal .adm-portal-questions-one{
  flex:1 1 auto!important;
  min-height:0!important;
  padding:16px 18px!important;
}
.adm-portal-test-modal .adm-portal-question-one{
  min-height:0!important;
  padding:8px 4px 12px!important;
}
.adm-portal-test-modal .adm-portal-question-one .adm-portal-question-top{
  margin-bottom:14px!important;
}
.adm-portal-test-modal .adm-portal-question-one h4{
  margin-bottom:18px!important;
  font-size:clamp(24px,2.7vw,34px)!important;
  line-height:1.18!important;
}
.adm-portal-test-modal .adm-portal-question-one .adm-portal-options{
  gap:12px!important;
}
.adm-portal-test-modal .adm-portal-question-one .adm-portal-option{
  min-height:64px!important;
  padding:13px 16px!important;
  border-radius:20px!important;
}
.adm-portal-test-modal .adm-portal-question-one .adm-portal-option-mark{
  width:38px!important;
  height:38px!important;
  flex-basis:38px!important;
}
.adm-portal-test-modal .adm-portal-question-one .adm-portal-option-text{
  font-size:16px!important;
}
.adm-portal-test-modal .adm-portal-question-one .adm-portal-scale span{
  height:60px!important;
}
.adm-portal-test-modal .adm-portal-question-one textarea{
  min-height:130px!important;
}
.adm-portal-test-modal .adm-portal-question-nav{
  position:relative!important;
  bottom:auto!important;
  z-index:3!important;
  flex:0 0 auto!important;
  margin-top:12px!important;
  padding:12px 16px!important;
  border-radius:22px!important;
}
.adm-portal-test-modal .adm-portal-question-nav .adm-btn{
  min-height:44px!important;
}
.adm-portal-test-modal .adm-portal-final-confirm{
  position:absolute!important;
  left:24px;
  right:24px;
  bottom:20px!important;
  z-index:10!important;
  margin:0!important;
}

@media(max-height:780px){
  .adm-portal-test-modal{padding:8px!important;}
  .adm-portal-test-modal .adm-portal-test-dialog{
    height:calc(100vh - 16px)!important;
    max-height:calc(100vh - 16px)!important;
  }
  .adm-portal-test-modal .adm-portal-test-head-modal{padding:13px 20px!important;}
  .adm-portal-test-modal .adm-portal-test-titleblock h2{font-size:28px!important;}
  .adm-portal-test-modal .adm-portal-test-titleblock p{font-size:13px!important;}
  .adm-portal-test-modal .adm-portal-test-form-modal{padding:10px 18px 12px!important;}
  .adm-portal-test-modal .adm-portal-question-stage-top{padding:10px 14px!important;}
  .adm-portal-test-modal .adm-portal-questions-one{padding:12px 14px!important;}
  .adm-portal-test-modal .adm-portal-question-one h4{font-size:26px!important;margin-bottom:14px!important;}
  .adm-portal-test-modal .adm-portal-question-one .adm-portal-option{min-height:56px!important;padding:10px 14px!important;}
  .adm-portal-test-modal .adm-portal-question-nav{margin-top:8px!important;padding:9px 13px!important;}
}

@media(max-width:980px){
  .adm-portal-test-modal .adm-portal-test-head-modal{
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
  }
  .adm-portal-test-modal .adm-portal-test-head-tools{
    width:auto!important;
    justify-content:flex-end!important;
  }
}

@media(max-width:760px){
  .adm-portal-test-modal{padding:8px!important;}
  .adm-portal-test-modal .adm-portal-test-dialog{
    width:100%!important;
    height:calc(100vh - 16px)!important;
    max-height:calc(100vh - 16px)!important;
    border-radius:22px!important;
  }
  .adm-portal-test-modal .adm-portal-test-head-modal{
    grid-template-columns:1fr!important;
    align-items:flex-start!important;
    padding:14px 16px!important;
  }
  .adm-portal-test-modal .adm-portal-test-titleblock h2{font-size:26px!important;}
  .adm-portal-test-modal .adm-portal-test-head-tools{
    width:100%!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:space-between!important;
  }
  .adm-portal-test-modal .adm-portal-finish-top{width:auto!important;}
  .adm-portal-test-modal .adm-portal-test-counter-modal{width:auto!important;}
  .adm-portal-test-modal .adm-portal-test-form-modal{padding:10px 12px 12px!important;}
  .adm-portal-test-modal .adm-portal-question-stage-top{
    flex-direction:column!important;
    align-items:flex-start!important;
  }
  .adm-portal-test-modal .adm-portal-question-one .adm-portal-options{grid-template-columns:1fr!important;}
  .adm-portal-test-modal .adm-portal-question-nav{grid-template-columns:1fr!important;}
  .adm-portal-test-modal .adm-portal-prev-btn,
  .adm-portal-test-modal .adm-portal-next-btn,
  .adm-portal-test-modal .adm-portal-finish-bottom{
    width:100%!important;
    min-width:0!important;
    justify-self:stretch!important;
  }
  .adm-portal-test-modal .adm-portal-final-confirm{left:12px;right:12px;bottom:12px!important;}
}


/* ============================================================
   COLECTURÍA · ABONO MATRÍCULA
   Exportación individual de historial financiero.
   ============================================================ */
.adm-abono-history-tools{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  flex-wrap:wrap;
}
.adm-abono-export-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:31px;
  padding:0 11px;
  border:1px solid transparent;
  border-radius:10px;
  background:#fff;
  font:inherit;
  font-size:9px;
  font-weight:900;
  letter-spacing:.02em;
  cursor:pointer;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease;
}
.adm-abono-export-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 7px 16px rgba(18,72,106,.12)}
.adm-abono-export-btn:disabled{opacity:.58;cursor:wait;transform:none;box-shadow:none}
.adm-abono-export-btn.is-pdf{border-color:#efc5ca;background:#fff4f5;color:#ad3443}
.adm-abono-export-btn.is-pdf:hover:not(:disabled){background:#ffecef;border-color:#e5a9b1}
.adm-abono-export-btn.is-excel{border-color:#bfe1cf;background:#effaf4;color:#23764d}
.adm-abono-export-btn.is-excel:hover:not(:disabled){background:#e5f7ed;border-color:#9fd0b7}
@media(max-width:760px){
  .adm-abono-history>header{align-items:flex-start;flex-direction:column}
  .adm-abono-history-tools{width:100%;justify-content:flex-start}
}
