/* Eduk CRM dentro del marco de la demo. No altera las clases .h- de Humano. */

.hm-prod.is-on[data-product="crm"] {
  border-color: rgba(255,107,53,.55);
  background: rgba(255,107,53,.12);
  box-shadow: 0 0 0 1px rgba(255,107,53,.25);
}

.ec-app {
  --navy: #1c2740;
  --green: #1f9d57;
  --orange: #ea9658;
  --orange-2: #e8a44c;
  --panel: #f3f4f6;
  --line: #e6e8ec;
  background: #fff;
  color: #1f2430;
  font-size: 12px;
}
.ec-app .h-content { background: #fff; }
.ec-app button { font: inherit; cursor: pointer; }
.ec-app svg { display: block; }

.ec-side {
  width: 196px; flex: 0 0 196px;
  background: #fff; color: #3a4250;
  border-right: 1px solid #eef0f3;
  display: flex; flex-direction: column; min-height: 0;
}
.ec-app.is-collapsed .ec-side { width: 0; flex-basis: 0; overflow: hidden; border: 0; }
.ec-period {
  margin: 10px 10px 8px;
  background: linear-gradient(90deg, #3dceb4, #7ee8cf);
  color: #fff; font-size: 12px; font-weight: 700;
  border: 0; border-radius: 999px; padding: 8px 10px; text-align: center;
  box-shadow: 0 4px 10px rgba(61, 206, 180, .25);
}
.ec-nav { flex: 1; overflow: auto; padding: 4px 8px 10px; }
.ec-nav-btn, .ec-sub button {
  display: flex; align-items: center; gap: 8px;
  width: 100%; text-align: left; background: transparent; color: #3d4654;
  border: 1px solid transparent; border-radius: 10px; padding: 7px 8px; font-weight: 600;
}
.ec-nav-btn svg, .ec-sub button svg { color: #8b95a3; flex: 0 0 auto; }
.ec-nav-btn.is-on, .ec-sub button.is-on {
  background: #e8fbf6; color: #0f766e; border-color: #7ddec8;
}
.ec-nav-btn.is-on svg, .ec-sub button.is-on svg { color: #14b8a6; }
.ec-nav-btn .ec-caret { margin-left: auto; color: #9aa3af; font-size: 10px; }
.ec-sub { padding: 2px 0 6px 12px; display: grid; gap: 2px; }
.ec-sub button { font-weight: 500; color: #556070; padding: 6px 8px; border-radius: 8px; }

.ec-top {
  height: 46px; flex: 0 0 46px;
  background: #fff; border-bottom: 1px solid #eef0f3;
  display: flex; align-items: center; gap: 8px; padding: 0 10px;
  position: relative;
}
.ec-burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px; color: #243044; background: transparent; border: 0;
}
.ec-school { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 750; font-size: 13px; }
.ec-school span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ec-top-gap { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.ec-periodo { font-size: 12px; color: #4b5565; white-space: nowrap; }
.ec-bell, .ec-user {
  border: 0; background: transparent; color: #243044;
  display: inline-flex; align-items: center; gap: 4px; position: relative;
}
.ec-bell { width: 28px; height: 28px; justify-content: center; }
.ec-user { font-weight: 650; font-size: 12px; }
.ec-user i { font-style: normal; color: #98a2b3; font-size: 10px; }
.ec-bell b {
  position: absolute; top: -4px; right: -6px;
  background: #f5a524; color: #fff; border-radius: 99px;
  font-size: 9px; min-width: 15px; height: 15px; padding: 0 3px;
  display: grid; place-items: center; font-weight: 800;
}
.ec-drop {
  position: absolute; top: 42px; right: 8px; z-index: 6;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08); padding: 8px; width: 220px;
}
.ec-drop strong { display: block; }
.ec-drop small { color: #6b7280; }

.ec-page h2 { font-size: 22px; margin: 2px 0 10px; letter-spacing: -.02em; font-weight: 800; }
.ec-panel {
  background: var(--panel); border-radius: 10px; padding: 8px 10px; margin-bottom: 8px;
}
.ec-tools { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ec-tools input, .ec-tools select, .ec-field input, .ec-field select, .ec-field textarea,
.ec-modal input, .ec-modal select, .ec-modal textarea {
  border: 1px solid #d5dbe3; border-radius: 6px; padding: 6px 8px; background: #fff; color: #1f2430; min-width: 0;
}
.ec-tools input { width: 210px; }
.ec-grow { flex: 1; }
.ec-search { display: flex; align-items: center; gap: 4px; }
.ec-search input { width: 220px; }
.ec-x {
  width: 26px; height: 26px; border-radius: 4px; border: 0; background: #e11d48; color: #fff; font-weight: 800;
}
.ec-btn {
  border: 0; border-radius: 6px; padding: 7px 12px; font-weight: 700; color: #fff; background: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.ec-btn.green { background: var(--green); }
.ec-btn.blue { background: #2563eb; }
.ec-btn.navy { background: var(--navy); }
.ec-btn.red { background: #dc3545; }
.ec-btn.orange { background: #f5b400; color: #3d3208; }
.ec-btn.grey { background: #e5e7eb; color: #374151; }
.ec-btn.purple { background: #5b4bdb; }
.ec-btn.ghost { background: #fff; color: #2563eb; border: 1px solid #2563eb; }
.ec-iconbtn {
  width: 32px; height: 32px; border-radius: 6px; border: 0; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.ec-iconbtn.navy { background: var(--navy); }
.ec-iconbtn.green { background: #157a45; }
.ec-iconbtn.sea { background: #0f6e56; }

.ec-table-wrap { overflow: auto; background: #fff; border: 1px solid #eef0f3; border-radius: 8px; }
.ec-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.ec-table th {
  text-align: left; background: #f3f4f6; padding: 8px; font-size: 11px; color: #4b5565; white-space: nowrap;
}
.ec-table td { padding: 7px 8px; border-top: 1px solid #eef1f4; vertical-align: middle; background: #fff; }
.ec-leads td { background: #c8f7d0; border-top-color: #b7efc4; }
.ec-leads th { background: #eef8f1; }
.ec-pencil, .ec-wa {
  width: 26px; height: 26px; border-radius: 4px; border: 0; background: transparent; color: #374151;
  display: inline-flex; align-items: center; justify-content: center;
}
.ec-wa { color: #16a34a; }
.ec-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.ec-chip {
  display: inline-flex; align-items: center; gap: 4px;
  border-radius: 4px; padding: 2px 6px; background: #fff; border: 1px solid #d9dee6;
  font-size: 9px; font-weight: 800; color: #374151; letter-spacing: .01em;
}
.ec-chip i { width: 7px; height: 7px; border-radius: 50%; display: block; }
.ec-pager { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 12px; color: #4b5565; }
.ec-pager button {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; width: 32px; height: 32px; color: #374151;
}
.ec-pager span {
  border: 1px solid #e5e7eb; border-radius: 8px; padding: 6px 10px; background: #fff; font-size: 12px;
}

.ec-lock {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  color: #6b7280; padding: 28px 8px; text-align: center;
}
.ec-section-title { text-align: center; font-size: 16px; margin: 8px 0 12px; }
.ec-block { background: #fff; border-top: 1px solid #eef0f3; padding: 8px 4px 4px; margin-top: 8px; }
.ec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
.ec-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ec-field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #374151; font-weight: 650; }
.ec-field.span-2 { grid-column: 1 / -1; }
.ec-field input, .ec-field select { font-weight: 500; }
.ec-inline { display: flex; gap: 6px; align-items: center; }
.ec-inline input { flex: 1; }
.ec-green-line select, .ec-green-line input { border-color: #7dce9a; }

.ec-legend { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.ec-legend span { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: #4b5565; }
.ec-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.ec-dot.line { background: #fff; border: 1px solid #c5c9d1; }
.ec-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ec-dece-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ec-pcard {
  background: #fff; border: 1px solid #eceff3; border-radius: 8px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.ec-pcard header {
  display: flex; justify-content: space-between; gap: 8px; align-items: flex-start;
  padding: 8px 10px; color: #1f2430; min-height: 52px;
}
.ec-pcard header b { display: block; font-size: 12px; letter-spacing: .02em; text-transform: uppercase; }
.ec-pcard header small { color: #4b5565; font-size: 11px; }
.ec-pcard.seguimiento header { background: #7ff0ea; }
.ec-pcard.entrevista header { background: #e9e4e4; }
.ec-pcard.registro header { background: #ffe08a; }
.ec-pcard.aceptacion header { background: #d9c6f7; }
.ec-pcard.completo header { background: #b7ebc6; }
.ec-pcard.reprobado header { background: #f6b4bc; }
.ec-pcard.cupo header { background: #ffd1a6; }
.ec-pcard.tour header { background: #c5dcff; }
.ec-pcard.desercion header { background: #fff; }
.ec-pcard .body { padding: 8px 10px 10px; font-size: 11.5px; color: #374151; }
.ec-pcard .body p { margin: 0 0 3px; }
.ec-star { color: #f5b400; }
.ec-card-row { display: flex; justify-content: space-between; gap: 8px; align-items: flex-end; margin-top: 6px; }
.ec-sqs { display: flex; gap: 4px; }
.ec-sqs button {
  width: 22px; height: 22px; border: 0; border-radius: 3px; color: #fff;
  display: grid; place-items: center;
}
.ec-sqs .navy { background: #1e3a5f; }
.ec-sqs .orange { background: #e25b2a; }
.ec-sqs .green { background: #1f9d57; }
.ec-sqs .red { background: #e11d48; }
.ec-meta { text-align: right; font-size: 11px; color: #4b5565; }
.ec-fecha { margin-top: 6px; color: #6b7280; font-size: 11px; }

.ec-modal-back { position: absolute; inset: 0; background: rgba(55, 65, 80, .45); z-index: 20; }
.ec-modal {
  position: absolute; z-index: 21; left: 50%; top: 48%; transform: translate(-50%, -50%);
  width: min(760px, calc(100% - 20px)); max-height: calc(100% - 16px); overflow: auto;
  background: #fff; border-radius: 10px; box-shadow: 0 18px 50px rgba(0,0,0,.22);
}
.ec-modal.is-wide { width: min(860px, calc(100% - 16px)); }
.ec-modal header, .ec-modal footer {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 14px 4px;
}
.ec-modal header strong { font-size: 18px; }
.ec-modal footer { justify-content: flex-end; padding: 8px 14px 14px; }
.ec-modal .sheet { padding: 8px 14px 4px; }
.ec-modal h3 { margin: 0 0 8px; font-size: 15px; }
.ec-fam { border: 0; padding: 0 0 10px; margin: 0 0 8px; border-bottom: 1px solid #f1f3f6; }
.ec-fam-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 8px; }
.ec-switch { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.ec-modal.is-center { width: min(460px, calc(100% - 24px)); text-align: center; }
.ec-modal.is-center header { justify-content: center; padding-bottom: 0; }
.ec-modal.is-center header strong { font-size: 16px; font-weight: 650; }
.ec-modal.is-center .sheet { color: #4b5565; }
.ec-event-card {
  text-align: left; border: 1px solid #eceff3; border-radius: 8px; padding: 12px; margin: 6px 0 10px;
  display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center;
}
.ec-event-card .time { font-size: 28px; font-weight: 750; letter-spacing: -.03em; }
.ec-event-card small { color: #6b7280; }
.ec-modal .ec-btn.block { width: 100%; }

.ec-cal-top {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; margin-bottom: 8px;
}
.ec-arrows { display: flex; gap: 4px; }
.ec-arrows button, .ec-mini {
  width: 28px; height: 28px; border-radius: 6px; border: 0; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 800;
}
.ec-cal-top h2 { text-align: center; margin: 0; font-size: 18px; text-transform: capitalize; }
.ec-cal-actions { display: flex; gap: 6px; justify-content: flex-end; }
.ec-badge-count {
  background: #fff; color: var(--navy); border-radius: 99px; min-width: 16px; height: 16px;
  display: inline-grid; place-items: center; font-size: 10px; margin-left: 4px;
}
.ec-cal { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid #f3d7c4; border-radius: 6px; overflow: hidden; }
.ec-dow, .ec-day { border-right: 1px solid #f6e4d6; border-bottom: 1px solid #f3f4f6; min-width: 0; }
.ec-dow:nth-child(6n), .ec-day:nth-child(6n) { border-right: 0; }
.ec-dow {
  background: #ea9658; color: #fff; text-align: center; font-weight: 650; padding: 6px 2px; font-size: 12px;
}
.ec-day { background: #fff; min-height: 78px; padding: 3px; position: relative; }
.ec-day.is-past { background: #f3f4f6; }
.ec-day.is-empty { background: #fafafa; }
.ec-day.is-today { background: #e7f1ff; }
.ec-day .num { font-size: 11px; color: #6b7280; }
.ec-hoy {
  display: inline-block; background: #2563eb; color: #fff; border-radius: 999px;
  font-size: 9px; font-weight: 800; padding: 1px 5px; margin-left: 3px;
}
.ec-ev {
  display: flex; align-items: center; gap: 4px; width: 100%; text-align: left;
  border: 0; border-left: 3px solid #94a3b8; border-radius: 3px;
  padding: 2px 4px; margin-top: 2px; font-size: 9px; font-weight: 750; color: #1f2430; background: #f8fafc;
}
.ec-ev b { font-weight: 750; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ec-ev .n {
  margin-left: auto; width: 14px; height: 14px; border-radius: 50%; color: #fff;
  display: grid; place-items: center; font-style: normal; font-size: 9px; flex: 0 0 auto;
}
.ec-ev.dece { background: #e7f1ff; border-left-color: #3b82f6; }
.ec-ev.dece .n { background: #3b82f6; }
.ec-ev.asignacion { background: #f3e8ff; border-left-color: #7c4dff; }
.ec-ev.asignacion .n { background: #7c4dff; }
.ec-ev.examen { background: #fde8ee; border-left-color: #e85d7a; }
.ec-ev.examen .n { background: #e11d48; }
.ec-ev.recorrido { background: #e7f8ee; border-left-color: #22a35a; }
.ec-ev.recorrido .n { background: #16a34a; }
.ec-ev.visita { background: #fff1e4; border-left-color: #f0a04a; }
.ec-ev.visita .n { background: #f59e0b; }
.ec-tag-ag {
  display: inline-block; margin-top: 2px; background: #f6d76e; color: #5c4810;
  border-radius: 3px; font-size: 8px; font-weight: 800; padding: 1px 3px;
}

.ec-pay, .ec-dece, .ec-wait {
  background: #fff; border: 1px solid #e7ebf0; border-radius: 10px; padding: 10px; position: relative;
}
.ec-pay header, .ec-wait header { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.ec-pay p, .ec-dece p, .ec-wait p { margin: 2px 0; color: #4b5565; }
.ec-pill {
  border-radius: 999px; padding: 2px 8px; font-weight: 800; font-size: 12px; color: #fff; background: #1f9d57;
}
.ec-ver {
  margin-top: 8px; background: var(--navy); color: #fff; border: 0; border-radius: 8px;
  padding: 6px 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px;
}
.ec-banner {
  margin: -10px -10px 8px; padding: 5px 10px; color: #fff; font-weight: 750; background: var(--orange-2); text-align: center;
  border-radius: 10px 10px 0 0;
}
.ec-banner.ok { background: #1f9d57; }
.ec-exam {
  display: inline-block; margin-top: 6px; background: #14b8a6; color: #fff;
  border-radius: 6px; padding: 4px 8px; font-size: 10px; font-weight: 800;
}
.ec-dece-actions { display: flex; justify-content: flex-end; gap: 6px; align-items: center; margin-top: 8px; }
.ec-dece-actions .ec-sqs { margin-right: auto; }
.ec-subir {
  background: #2563eb; color: #fff; border: 0; border-radius: 8px; padding: 6px 10px; font-weight: 700;
}

.ec-split { display: grid; grid-template-columns: 1.7fr .75fr; gap: 12px; align-items: start; }
.ec-level { font-size: 13px; font-weight: 800; margin: 10px 0 6px; }
.ec-courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ec-course { background: #fff; border: 1px solid #e7ebf0; border-radius: 10px; padding: 8px; }
.ec-course header { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.ec-course header b { font-size: 12px; }
.ec-activo { background: #d1fae5; color: #067647; border-radius: 999px; padding: 2px 7px; font-size: 10px; font-weight: 800; }
.ec-bar { height: 6px; background: #e5e7eb; border-radius: 99px; margin: 6px 0; overflow: hidden; }
.ec-bar span { display: block; height: 100%; background: #3b82f6; }
.ec-bar.hot span { background: #6366f1; }
.ec-course p { margin: 0; color: #6b7280; font-size: 11px; }
.ec-course .ec-btn { margin-top: 8px; width: 100%; background: #f3f4f6; color: #374151; }
.ec-sidebox { border: 1px solid #e7ebf0; border-radius: 10px; padding: 8px; margin-bottom: 8px; }
.ec-sidebox h3 { margin: 0 0 6px; font-size: 13px; }
.ec-wait { padding: 8px; }
.ec-ava-sm {
  width: 28px; height: 28px; border-radius: 50%; background: #e0e7ff; color: #3730a3;
  display: grid; place-items: center; font-size: 10px; font-weight: 800; flex: 0 0 auto;
}
.ec-status {
  display: inline-block; margin-top: 4px; font-size: 9px; font-weight: 800; border-radius: 4px; padding: 2px 6px;
  background: #fff4d6; color: #a16207; border: 1px solid #f5d98a;
}
.ec-wait header { align-items: center; }
.ec-wait header div { display: flex; gap: 8px; align-items: center; }

.ec-cfg-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.ec-cfg-top small { color: #9aa3af; }
.ec-tabs {
  display: flex; gap: 4px; overflow: auto; margin-bottom: 10px;
  background: #ea9658; border-radius: 8px; padding: 6px;
}
.ec-tabs button {
  background: transparent; color: #fff; border: 0; border-radius: 8px; padding: 7px 10px;
  white-space: nowrap; font-weight: 700;
}
.ec-tabs button.is-on { background: var(--navy); color: #fff; }
.ec-h3 { margin: 4px 0 8px; font-size: 18px; }

.ec-ribbon { display: flex; gap: 6px; overflow: auto; margin-bottom: 10px; padding-bottom: 2px; }
.ec-ribbon button {
  flex: 0 0 86px; height: 64px; border-radius: 8px; background: #fff; border: 1px solid #e6e8ec;
  font-size: 9px; font-weight: 700; color: #4b5565; padding: 6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center;
}
.ec-ribbon button.is-on { background: #2563eb; color: #fff; border-color: #2563eb; }
.ec-rep-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.ec-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 8px 0 12px; }
.ec-kpi {
  background: #fff; border: 1px solid #e7ebf0; border-radius: 10px; padding: 8px; text-align: center;
  border-top: 3px solid #94a3b8;
}
.ec-kpi.reg { border-top-color: #7c4dff; }
.ec-kpi.seg { border-top-color: #3b82f6; }
.ec-kpi.ent { border-top-color: #22d3ee; }
.ec-kpi.ace { border-top-color: #22c55e; }
.ec-kpi.ter { border-top-color: #f59e0b; }
.ec-kpi b { display: block; font-size: 26px; line-height: 1.1; }
.ec-kpi small { display: block; color: #6b7280; font-size: 10px; letter-spacing: .04em; margin-bottom: 4px; }
.ec-mini-badges { display: flex; flex-wrap: wrap; gap: 3px; justify-content: center; margin-top: 6px; }
.ec-mini-badges i {
  font-style: normal; border-radius: 999px; padding: 1px 5px; font-size: 8px; font-weight: 700;
  background: #f3f4f6; color: #4b5565;
}
.ec-mini-badges .bad { background: #fee2e2; color: #b91c1c; }
.ec-mini-badges .mid { background: #ede9fe; color: #6d28d9; }
.ec-mini-badges .ok { background: #dcfce7; color: #166534; }
.ec-retiros { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ec-retiros article { background: #fff; border: 1px solid #e7ebf0; border-radius: 10px; padding: 8px 10px; min-width: 110px; }
.ec-retiros strong { display: block; font-size: 18px; }

.ec-drawer-bg { display: none; position: absolute; inset: 0; background: rgba(0,0,0,.35); z-index: 25; }
.hm-device.is-compact .ec-side {
  position: absolute; z-index: 30; inset: 0 auto 0 0; width: 210px; flex-basis: 210px;
  transform: translateX(-105%); transition: transform .2s ease;
  box-shadow: 8px 0 24px rgba(0,0,0,.12);
}
.hm-device.is-compact .ec-app.is-collapsed .ec-side { width: 210px; flex-basis: 210px; }
.hm-device.is-compact .ec-app.is-drawer .ec-side { transform: none; }
.hm-device.is-compact .ec-app.is-drawer .ec-drawer-bg { display: block; }
.hm-device.is-compact .ec-school span, .hm-device.is-compact .ec-periodo, .hm-device.is-compact .ec-user span { display: none; }
.hm-device.is-compact .ec-cards, .hm-device.is-compact .ec-split, .hm-device.is-compact .ec-grid,
.hm-device.is-compact .ec-kpis, .hm-device.is-compact .ec-courses { grid-template-columns: 1fr; }
.hm-device.is-compact .ec-tools input, .hm-device.is-compact .ec-search input { width: 100%; }
.hm-device.is-compact .ec-cal { min-width: 520px; }
.hm-device.is-compact .ec-cal-scroll { overflow: auto; }

.ec-flow { display: grid; gap: 6px; }
.ec-flow div { background: #fff; border: 1px solid #e7ebf0; border-radius: 8px; padding: 8px 10px; }
.ec-flow b { color: #0f766e; margin-right: 6px; }
.ec-file {
  display: flex; align-items: center; gap: 8px; border: 1px solid #e5e7eb; border-radius: 8px; padding: 6px 8px; margin: 8px 0;
  color: #4b5565; font-size: 12px;
}
.ec-stack { display: grid; gap: 6px; margin-top: 8px; }
.ec-stack .ec-btn { width: 100%; }

.ec-filtro-page { position: relative; min-height: 380px; }
.ec-filtro { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 14px; align-items: start; }
.ec-ftitle { max-width: 150px; font-size: 26px; line-height: 1.05; margin: 0; letter-spacing: -.03em; }
.ec-fhead { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.ec-fhead-tools, .ec-fsearch, .ec-factions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ec-app .ec-fhead select, .ec-app .ec-fsearch select { width: auto; background: #fff; }
.ec-app .ec-fsearch input { width: auto; flex: 1 1 180px; min-width: 140px; }
.ec-fsearch { margin-bottom: 10px; }
.ec-ftext { border: 0; background: transparent; color: #1f2430; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.ec-fclear { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #d1d5db; color: #4b5565; font-weight: 800; line-height: 1; }
.ec-flist { display: grid; gap: 8px; }
.ec-frow { background: #f5f5f5; border-radius: 8px; box-shadow: 0 1px 3px rgba(16,24,40,.08); overflow: hidden; }
.ec-fbar { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 10px 12px; cursor: pointer; }
.ec-fwho { display: flex; align-items: center; gap: 6px; min-width: 0; }
.ec-fwho b { font-weight: 750; }
.ec-ficon { width: 18px; height: 18px; border: 0; border-radius: 3px; background: #14b8a6; color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.ec-fstage { color: #1f9d57; font-weight: 750; white-space: nowrap; }
.ec-ftri { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 7px solid #111; }
.ec-frow.is-open .ec-ftri { border-top: 0; border-bottom: 7px solid #111; }
.ec-fbody { background: #fff; padding: 8px 12px 12px; border-top: 1px solid #eee; }
.ec-fsteps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 10px 0 12px; }
.ec-fsteps::before, .ec-fsteps::after { content: ''; position: absolute; top: 10px; height: 3px; border-radius: 99px; }
.ec-fsteps::before { left: 12%; right: 12%; background: #e5e7eb; }
.ec-fsteps::after { left: 12%; width: calc((100% - 24%) * var(--pct) / 100); background: #f58a07; }
.ec-fstep { position: relative; z-index: 1; text-align: center; }
.ec-fstep i { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-style: normal; font-weight: 800; font-size: 11px; background: #fff; color: #9ca3af; border: 2px solid #f58a07; }
.ec-fstep.is-done i { background: #2ecc40; border-color: #2ecc40; color: #fff; }
.ec-fstep.is-now i { background: #f58a07; border-color: #f58a07; color: #fff; }
.ec-fstep span { display: block; margin-top: 4px; font-size: 11px; color: #4b5565; }
.ec-fslots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ec-fslots article { background: #eef3f8; border-left: 3px solid #3b82f6; border-radius: 6px; padding: 8px 10px; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.ec-fslots b, .ec-fslots small { display: block; }
.ec-fslots small { color: #6b7280; font-size: 11px; }
.ec-fslots article > span { background: #e5e7eb; color: #4b5565; border-radius: 999px; padding: 3px 8px; font-size: 10px; white-space: nowrap; }
.ec-fbody h3 { margin: 12px 0 8px; font-size: 18px; }
.ec-fempty { height: 26px; background: #f3f4f6; border-radius: 6px; margin-bottom: 8px; }
.ec-fhist { display: flex; justify-content: space-between; gap: 8px; align-items: center; background: #f5f5f5; border-radius: 6px; padding: 8px 10px; margin-bottom: 6px; color: #4b5565; }
.ec-fhist em { font-style: normal; background: #d1fae5; color: #067647; border-radius: 999px; padding: 2px 6px; font-size: 10px; white-space: nowrap; }
.ec-factions { margin-top: 8px; }
.ec-flink-pill { border: 1px solid #93c5fd; background: #fff; color: #2563eb; border-radius: 999px; padding: 5px 10px; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 650; }
.ec-fpager { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 12px 0; }
.ec-fpager button { width: 32px; height: 32px; border-radius: 8px; border: 1px solid #e5e7eb; background: #e5e7eb; color: #6b7280; font-weight: 800; }
.ec-fpager button.is-next { background: #1c2740; color: #fff; border-color: #1c2740; }
.ec-fpager button:disabled { background: #e5e7eb; color: #9ca3af; border-color: #e5e7eb; }
.ec-fpager span { border: 1px solid #e5e7eb; background: #fff; border-radius: 8px; padding: 6px 10px; }
.ec-remind { background: #fff; border: 1px solid #e6e8ec; border-radius: 10px; padding: 10px 12px; box-shadow: 0 1px 2px rgba(16,24,40,.05); }
.ec-remind strong { display: block; font-size: 13px; line-height: 1.3; }
.ec-remind p { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid #e5e7eb; color: #374151; }
.ec-filtro-mask { position: absolute; inset: 0; z-index: 4; background: rgba(108, 112, 118, .78); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.ec-filtro-mask .ec-fpager span { background: #f3f4f6; }
.ec-diamonds { position: relative; width: 48px; height: 48px; }
.ec-diamonds i { position: absolute; width: 14px; height: 14px; background: #fff; border-radius: 2px; transform: rotate(45deg); }
.ec-diamonds i:nth-child(1) { left: 17px; top: 0; }
.ec-diamonds i:nth-child(2) { left: 0; top: 17px; }
.ec-diamonds i:nth-child(3) { right: 0; top: 17px; }
.ec-diamonds i:nth-child(4) { left: 17px; bottom: 0; }
.ec-fnone { color: #6b7280; margin: 8px 0; }
.hm-device.is-compact .ec-filtro, .hm-device.is-compact .ec-fslots { grid-template-columns: 1fr; }
.hm-device.is-compact .ec-ftitle { font-size: 22px; max-width: 120px; }
.hm-device.is-compact .ec-fhist { flex-direction: column; align-items: flex-start; }
.hm-device.is-compact .ec-fslots article { flex-direction: column; align-items: flex-start; }
