/* Eduk Academy — demo. No altera Humano ni Eduk CRM. */
.ea-app {
  background: linear-gradient(115deg, #e4ebff 0%, #eef1f8 46%, #e5f4ef 100%);
  color: #111827;
  font-family: Inter, 'Segoe UI', sans-serif;
}
.ea-app.is-dark { background: #12141c; color: #e5e7eb; }
.ea-app.is-login { background: linear-gradient(120deg, #c9d7ff 0%, #e7eeff 38%, #d9f3ea 100%); }
.ea-app .h-content.ea-body { background: transparent; padding: 14px 16px 18px; }
.ea-app.is-login .h-content.ea-body { padding: 0; display: flex; align-items: center; justify-content: center; }
.ea-app.is-dark .ea-muted { color: #94a3b8; }
.ea-app.is-dark .ea-num { color: #f8fafc; }
.ea-dot { display: block; }

.ea-side {
  width: 198px; flex: 0 0 198px;
  background: rgba(255,255,255,.82);
  border-right: 1px solid rgba(226,232,240,.9);
  display: flex; flex-direction: column; min-height: 0;
  backdrop-filter: blur(6px);
}
.ea-app.is-dark .ea-side { background: #101218; border-right-color: #1f2430; }
.ea-side nav { overflow: auto; padding: 8px 8px 12px; display: flex; flex-direction: column; gap: 2px; }
.ea-nav {
  display: flex; align-items: center; gap: 8px;
  width: 100%; text-align: left; border: 0; background: transparent;
  color: #475569; border-radius: 8px; padding: 7px 8px;
  font-size: 11.5px; font-weight: 600; line-height: 1.2;
}
.ea-nav svg { flex: 0 0 auto; opacity: .8; }
.ea-nav.is-on { background: #e7ecff; color: #312e81; box-shadow: inset 3px 0 0 #2563eb; }
.ea-app.is-dark .ea-nav { color: #cbd5e1; }
.ea-app.is-dark .ea-nav.is-on { background: #1e293b; color: #dbeafe; box-shadow: inset 3px 0 0 #60a5fa; }
.ea-side-foot {
  margin-top: auto; padding: 10px; display: flex; gap: 8px; align-items: center;
  border-top: 1px solid #e5e7eb; color: #64748b; font-size: 10px; line-height: 1.25;
}
.ea-app.is-dark .ea-side-foot { border-top-color: #1f2430; color: #94a3b8; }
.ea-side-foot b { display: block; color: #0f6e75; font-size: 10.5px; }
.ea-app.is-dark .ea-side-foot b { color: #99f6e4; }

.ea-top {
  min-height: 52px; flex: 0 0 auto;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px; background: rgba(255,255,255,.9);
  border-bottom: 1px solid #e5e7eb;
}
.ea-app.is-dark .ea-top { background: #16181f; border-bottom-color: #1f2430; color: #e5e7eb; }
.ea-burger { display: none; }
.ea-brand { display: flex; align-items: center; gap: 6px; font-weight: 800; color: #1d4ed8; font-size: 12px; white-space: nowrap; }
.ea-app.is-dark .ea-brand { color: #93c5fd; }
.ea-crumbs { display: flex; gap: 4px; align-items: center; color: #94a3b8; font-size: 11px; min-width: 0; overflow: hidden; }
.ea-crumbs b { color: #334155; font-weight: 700; white-space: nowrap; }
.ea-app.is-dark .ea-crumbs b { color: #e2e8f0; }
.ea-grow { flex: 1; }
.ea-iconbtn, .ea-role {
  border: 0; background: transparent; color: #475569;
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px; position: relative;
}
.ea-app.is-dark .ea-iconbtn { color: #cbd5e1; }
.ea-iconbtn:hover, .ea-role:hover { background: #eef2ff; }
.ea-ping { position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: #ef4444; }
.ea-role { width: auto; gap: 8px; padding: 2px 4px 2px 8px; text-align: right; }
.ea-role small { display: block; color: #2563eb; font-size: 10px; font-weight: 700; }
.ea-role b { display: block; color: #111827; font-size: 12px; }
.ea-app.is-dark .ea-role b { color: #f8fafc; }
.ea-ava, .ea-ini {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 10px;
  background: #ede9fe; color: #5b21b6; flex: 0 0 auto;
}
.ea-ava.lg, .ea-ini.lg { width: 42px; height: 42px; font-size: 13px; }
.ea-sil {
  width: 42px; height: 42px; border-radius: 50%; background: #e5e7eb; color: #64748b;
  display: grid; place-items: center; flex: 0 0 auto;
}
.ea-drop {
  position: absolute; right: 12px; top: 50px; z-index: 12;
  background: #fff; color: #111827; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 12px; width: 240px; box-shadow: 0 12px 30px rgba(15,23,42,.12);
}
.ea-drop p { margin: 8px 0 0; color: #6b7280; font-size: 11px; }

.ea-login {
  margin: auto; width: min(360px, calc(100% - 28px));
  background: #fff; border-radius: 22px; padding: 28px 26px 22px;
  box-shadow: 0 18px 50px rgba(37, 99, 235, .12);
  display: flex; flex-direction: column; gap: 8px;
}
.ea-word { text-align: center; font-weight: 800; font-size: 28px; letter-spacing: -0.03em; }
.ea-word .ed { color: #f97316; }
.ea-word .io { color: #16a34a; }
.ea-word .k { position: relative; }
.ea-word .k::after { content: '✦'; position: absolute; left: 1px; top: -8px; font-size: 10px; color: #22c55e; }
.ea-word i { color: #22c55e; font-style: normal; }
.ea-academy { text-align: center; letter-spacing: .22em; color: #15803d; font-weight: 800; font-size: 13px; margin-top: -4px; }
.ea-login > p { text-align: center; color: #64748b; font-size: 12px; margin: 0 0 8px; }
.ea-lab { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 10px; font-weight: 800; letter-spacing: .06em; color: #64748b; margin-top: 6px; }
.ea-lab button { border: 0; background: none; color: #2563eb; font-weight: 700; font-size: 11px; letter-spacing: 0; text-transform: none; }
.ea-field { position: relative; display: flex; align-items: center; }
.ea-field svg { position: absolute; left: 10px; color: #94a3b8; }
.ea-field .ea-eye { position: absolute; right: 4px; left: auto; border: 0; background: none; color: #64748b; width: 32px; height: 32px; }
.hm-section .ea-app .ea-field input { width: 100%; padding-left: 32px; border: 0; border-bottom: 1px solid #e5e7eb; border-radius: 0; background: transparent; }
.hm-section .ea-app .ea-field input:focus { box-shadow: none; border-bottom-color: #2563eb; }
.ea-check { display: flex; align-items: center; gap: 8px; color: #475569; font-size: 12px; margin: 8px 0; }
.hm-section .ea-app .ea-check input { width: auto; }
.ea-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; border-radius: 10px; padding: 9px 14px; font-weight: 700; font-size: 12.5px;
  background: #fff; color: #1f2937; border: 1px solid #e5e7eb; cursor: pointer;
}
.ea-btn.blue { background: #2563eb; color: #fff; border-color: #2563eb; }
.ea-btn.blue:hover { background: #1d4ed8; }
.ea-btn.block { width: 100%; border-radius: 999px; padding: 11px 14px; }
.ea-btn.ghost { background: #fff; }
.ea-btn:disabled, .ea-card.is-off { opacity: .55; cursor: not-allowed; }
.ea-btn.sm { padding: 6px 10px; font-size: 11.5px; }

.ea-page { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ea-h { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.ea-h p.ea-title, .ea-card h2, .ea-card h3 { margin: 0; color: #1e293b; font-size: 18px; }
.ea-h p, .ea-card p, .ea-muted { margin: 2px 0 0; color: #6b7280; font-size: 12px; }
.ea-h-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ea-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04); padding: 14px;
}
.ea-hero {
  background: #fff; border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 8px 24px rgba(37,99,235,.06);
  display: flex; gap: 12px; align-items: flex-start;
}
.ea-hero p.ea-title { margin: 0; font-size: 20px; color: #1e293b; }
.ea-kpis { display: grid; grid-template-columns: repeat(8, minmax(0,1fr)); gap: 8px; }
.ea-kpis article, .ea-kpi {
  background: #fff; border: 1px solid #eef2f7; border-radius: 12px; padding: 8px 10px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.ea-kpis strong, .ea-kpi strong { display: block; font-size: 20px; color: #1d4ed8; line-height: 1.1; }
.ea-kpis span, .ea-kpi span { color: #64748b; font-size: 10px; line-height: 1.25; }
.ea-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.ea-filters label, .ea-fieldcol { display: flex; flex-direction: column; gap: 4px; font-size: 11px; color: #64748b; font-weight: 700; min-width: 0; }
.hm-section .ea-app .ea-filters input,
.hm-section .ea-app .ea-filters select,
.hm-section .ea-app .ea-inline input,
.hm-section .ea-app .ea-inline select { width: auto; min-width: 0; }
.hm-section .ea-app .ea-grow-input { flex: 1; min-width: 140px; }
.hm-section .ea-app .ea-grow-input input { width: 100%; }
.ea-grid { display: grid; gap: 10px; }
.ea-grid.cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.ea-grid.cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.ea-grid.cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.ea-hub { display: flex; flex-direction: column; gap: 6px; min-height: 148px; }
.ea-hub h3 { font-size: 15px; }
.ea-hub button { margin-top: auto; align-self: flex-start; border: 0; background: none; font-weight: 800; font-size: 12.5px; padding: 0; }
.ea-hub-ico {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--c) 14%, white); color: var(--c);
}
.ea-par {
  border-radius: 12px; background: #fff; border: 1px solid #e5e7eb; padding: 12px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04); display: flex; flex-direction: column; gap: 6px;
  border-left: 4px solid var(--c, #2563eb);
}
.ea-par .lvl { color: #94a3b8; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.ea-par h3 { margin: 0; font-size: 14px; }
.ea-meta { display: flex; gap: 10px; color: #64748b; font-size: 11px; flex-wrap: wrap; }
.ea-mini { color: #64748b; font-size: 11px; display: flex; justify-content: space-between; gap: 8px; }
.ea-pill {
  display: inline-flex; align-items: center; gap: 4px;
  border-radius: 999px; padding: 2px 8px; font-size: 10.5px; font-weight: 800;
  background: #f1f5f9; color: #475569; white-space: nowrap;
}
.ea-pill.green { background: #dcfce7; color: #15803d; }
.ea-pill.blue { background: #dbeafe; color: #1e40af; }
.ea-pill.amber { background: #fef3c7; color: #92400e; }
.ea-pill.yellow { background: #fef08a; color: #854d0e; }
.ea-pill.violet { background: #f3e8ff; color: #6b21a8; }
.ea-pill.orange { background: #ffedd5; color: #c2410c; }
.ea-pill.teal { background: #ccfbf1; color: #0f766e; }
.ea-pill.gray { background: #f3f4f6; color: #6b7280; }
.ea-link { border: 0; background: none; color: #2563eb; font-weight: 700; padding: 0; font-size: 12px; }
.ea-scroll { overflow: auto; }
.ea-table { width: 100%; border-collapse: collapse; font-size: 12px; min-width: 560px; }
.ea-table th { text-align: left; font-size: 10px; letter-spacing: .05em; color: #94a3b8; padding: 8px; border-bottom: 1px solid #e5e7eb; }
.ea-table td { padding: 8px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.ea-who { display: flex; gap: 8px; align-items: center; }
.ea-who b { display: block; }
.ea-who small { color: #6b7280; }
.ea-iconact { width: 28px; height: 28px; border-radius: 8px; border: 1px solid #e5e7eb; background: #fff; color: #475569; display: inline-flex; align-items: center; justify-content: center; }
.ea-seg { display: inline-flex; background: #f3f4f6; border-radius: 999px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.ea-seg button { border: 0; background: transparent; border-radius: 999px; padding: 6px 10px; font-weight: 700; font-size: 11.5px; color: #475569; }
.ea-seg button.is-on { background: #374151; color: #fff; }
.ea-tabs { display: flex; gap: 14px; border-bottom: 1px solid #e5e7eb; }
.ea-tabs button { border: 0; background: none; padding: 8px 2px; font-weight: 800; color: #64748b; border-bottom: 2px solid transparent; }
.ea-tabs button.is-on { color: #1d4ed8; border-bottom-color: #1d4ed8; }
.ea-empty {
  text-align: center; padding: 28px 12px; color: #6b7280;
  display: flex; flex-direction: column; gap: 4px; align-items: center;
}
.ea-empty b { color: #111827; }

.ea-back {
  position: absolute; inset: 0; z-index: 40;
  background: rgba(15, 23, 42, .46);
  display: flex; align-items: center; justify-content: center; padding: 12px;
}
.ea-dialog {
  width: min(880px, 100%); max-height: 100%; overflow: auto;
  background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(15,23,42,.28);
}
.ea-dialog.sm { width: min(440px, 100%); }
.ea-reg { display: grid; grid-template-columns: 210px 1fr; min-height: 420px; }
.ea-reg aside { background: #f8fafc; border-right: 1px solid #e5e7eb; padding: 16px; }
.ea-reg aside button { display: flex; gap: 8px; width: 100%; text-align: left; border: 0; background: transparent; padding: 8px; border-radius: 10px; color: #64748b; }
.ea-reg aside button.is-on { background: #e7ecff; color: #312e81; }
.ea-reg aside b { display: block; font-size: 12px; }
.ea-reg aside small { display: block; font-size: 10px; }
.ea-reg-main { padding: 16px; }
.ea-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; }
.ea-form .full { grid-column: 1 / -1; }
.ea-form label, .ea-stack label { display: flex; flex-direction: column; gap: 3px; font-size: 11px; font-weight: 700; color: #64748b; }
.hm-section .ea-app .ea-form input,
.hm-section .ea-app .ea-form select,
.hm-section .ea-app .ea-stack input,
.hm-section .ea-app .ea-stack select,
.hm-section .ea-app .ea-stack textarea { width: 100%; }
.ea-photo {
  width: 74px; height: 74px; border-radius: 50%; border: 1px dashed #cbd5e1;
  display: grid; place-items: center; color: #94a3b8; background: #f8fafc; margin-bottom: 6px;
}
.ea-modal-h { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 10px; }
.ea-split { display: grid; grid-template-columns: 1.6fr .8fr; gap: 12px; }
.ea-time { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.ea-time li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; position: relative; padding-bottom: 12px; }
.ea-time li::before { content: ''; position: absolute; left: 6px; top: 14px; bottom: 0; width: 2px; background: #e5e7eb; }
.ea-time li:last-child::before { display: none; }
.ea-dot { width: 14px; height: 14px; border-radius: 50%; background: #d1d5db; margin-top: 2px; }
.ea-time .is-ok .ea-dot { background: #16a34a; }
.ea-time b { display: block; font-size: 12.5px; }
.ea-time small, .ea-time em { color: #6b7280; font-size: 11px; font-style: normal; }

.ea-week { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 11px; }
.ea-week th, .ea-week td { border: 1px solid #e5e7eb; padding: 4px; vertical-align: top; background: #fff; }
.ea-week th { background: #f8fafc; color: #64748b; font-size: 10px; }
.ea-block { background: #e0e7ff; border-radius: 8px; padding: 6px; min-height: 48px; position: relative; text-align: left; }
.ea-block b { display: block; color: #1d4ed8; font-size: 11px; }
.ea-block small { color: #6d28d9; }
.ea-tip {
  display: none; position: relative; z-index: 6; margin-top: 4px;
  background: #111827; color: #fff; border-radius: 6px; padding: 5px 7px; font-size: 10.5px; line-height: 1.3;
}
.ea-block:hover .ea-tip, .ea-block.is-open .ea-tip { display: block; }
.ea-recreo { color: #94a3b8; text-align: center; padding: 8px; }

.ea-dark-grid { display: grid; grid-template-columns: 1.4fr .7fr; gap: 12px; }
.ea-hello {
  background: linear-gradient(120deg, #6d92c4, #8eb4dc);
  color: #fff; border-radius: 16px; padding: 16px;
}
.ea-hello p.ea-title { margin: 6px 0 4px; font-size: 22px; color: #fff; }
.ea-hello p, .ea-hello small { color: rgba(255,255,255,.88); }
.ea-dark-card { background: #1a1d27; border: 1px solid #2a3142; border-radius: 14px; padding: 12px; }
.ea-dark-card h2 { margin: 0 0 4px; font-size: 14px; color: #f8fafc; }
.ea-stat { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px solid #2a3142; font-size: 12px; }
.ea-num { font-size: 22px; font-weight: 800; }
.ea-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ea-course { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 10px; }
.ea-course header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 12px; font-weight: 800; }
.ea-pchips { display: flex; gap: 6px; flex-wrap: wrap; }
.ea-pchips button { border: 1px solid #e5e7eb; background: #fff; border-radius: 999px; padding: 4px 8px; font-weight: 800; font-size: 11px; }

.ea-drawer-bg { display: none; position: absolute; inset: 0; background: rgba(15,23,42,.35); z-index: 20; }

.hm-section .ea-app input:focus,
.hm-section .ea-app select:focus,
.hm-section .ea-app textarea:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.15); }

@media (max-width: 860px) {
  .ea-kpis, .ea-grid.cols-4, .ea-grid.cols-3, .ea-dark-grid, .ea-split, .ea-reg { grid-template-columns: 1fr; }
}

.hm-device.is-compact .ea-burger { display: inline-flex; }
.hm-device.is-compact .ea-side {
  position: absolute; z-index: 25; top: 0; bottom: 0; left: 0;
  transform: translateX(-105%); transition: transform .2s ease;
  width: 220px; flex-basis: 220px;
}
.hm-device.is-compact .ea-app.is-drawer .ea-side { transform: none; }
.hm-device.is-compact .ea-app.is-drawer .ea-drawer-bg { display: block; }
.hm-device.is-compact .ea-brand span, .hm-device.is-compact .ea-crumbs { display: none; }
.hm-device.is-compact .ea-kpis { display: flex; overflow: auto; }
.hm-device.is-compact .ea-kpis article { min-width: 112px; }
.hm-device.is-compact .ea-grid.cols-2,
.hm-device.is-compact .ea-grid.cols-3,
.hm-device.is-compact .ea-grid.cols-4,
.hm-device.is-compact .ea-dark-grid,
.hm-device.is-compact .ea-split,
.hm-device.is-compact .ea-reg,
.hm-device.is-compact .ea-form { grid-template-columns: 1fr; }
.hm-device.is-compact .ea-role b { display: none; }
.hm-device.is-compact .ea-top { gap: 4px; }
