/* Smarttrack ensayo — Plus Jakarta Sans, navy structure, orange 15% action */
:root {
  --orange: #F97B0C;
  --orange-d: #B4610A;
  --orange-200: #FFD0A2;
  --orange-50: #FFF1E2;
  --navy: #0E2A5C;
  --navy-2: #1B3D7E;
  --ink: #10203D;
  --muted: #8A99B8;
  --muted-2: #6D7C99;
  --disabled: #B4C2D9;
  --canvas: #F7F9FC;
  --hair: #E9EDF5;
  --azul-50: #EAF0FB;
  --ok: #16A46F;
  --ok-bg: #E8F7F0;
  --pause: #F2A63B;
  --pause-bg: #FFF1E2;
  --inc: #D64545;
  --inc-bg: #FDECEC;
  --away: #B4C2D9;
  --away-bg: #F1F4F9;
  --white: #FFFFFF;
  --shadow: 0 10px 26px rgba(14, 42, 92, 0.10);
  --shadow-lg: 0 18px 44px rgba(14, 42, 92, 0.13);
  --nav-h: 72px;
  --bot-h: 0px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r-btn: 11px;
  --r-row: 14px;
  --r-card: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; background: var(--canvas); color: var(--ink); overflow-x: hidden; touch-action: pan-y; overscroll-behavior-x: none; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Plus Jakarta Sans", "Segoe UI", "SF Pro", Roboto, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
#app { min-height: 100vh; min-height: 100dvh; overflow-x: hidden; touch-action: pan-y; }

.iso {
  width: 32px; height: 32px; border-radius: 30%;
  background: var(--orange);
  display: grid; place-items: center; flex-shrink: 0;
}
.iso svg { width: 18px; height: 18px; }
.iso.lg { width: 40px; height: 40px; }
.iso.lg svg { width: 22px; height: 22px; }
.word { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.word .s { color: var(--orange); }
.word .t { color: var(--navy); }
.brand { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 22px; border: 0; border-radius: var(--r-btn);
  background: var(--navy); color: #fff; font-weight: 700;
  box-shadow: 0 8px 20px rgba(14, 42, 92, 0.18);
  transition: transform 160ms var(--ease), filter 160ms ease, box-shadow 200ms ease, background 200ms ease;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn:active { transform: scale(0.97); box-shadow: 0 2px 8px rgba(14, 42, 92, 0.16); }
.btn.block { width: 100%; }
.btn.lg { height: 76px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.btn.brand {
  background: var(--orange);
  box-shadow: 0 8px 20px rgba(249, 123, 12, 0.22);
  font-weight: 800;
}
.btn.brand:active { box-shadow: 0 2px 8px rgba(249, 123, 12, 0.18); }
.btn:disabled, .btn[disabled] {
  background: var(--hair); color: var(--disabled); box-shadow: none; cursor: not-allowed;
  transform: none; filter: none;
}
.btn .face {
  display: inline-block;
  animation: face-in 200ms var(--ease);
}
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 12px; border: 0; background: none;
  color: var(--navy); font-weight: 700;
  transition: transform 160ms var(--ease), opacity 160ms ease;
}
.btn-ghost:active { transform: scale(0.97); opacity: 0.8; }
.btn-out {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 18px; width: 100%;
  background: var(--white); color: var(--navy);
  border: 1.5px solid var(--navy); border-radius: var(--r-btn); font-weight: 700;
  transition: transform 160ms var(--ease), background 160ms ease;
}
.btn-out:hover { background: var(--azul-50); }
.btn-out:active { transform: scale(0.97); }

.badge {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 28px; padding: 4px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; white-space: nowrap;
}
.badge .dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
}
.badge.ok { color: var(--ok); background: var(--ok-bg); }
.badge.ok .dot { background: var(--ok); animation: pulse-ok 1.6s ease-out infinite; }
.badge.bad { color: var(--inc); background: var(--inc-bg); }
.badge.bad .dot { background: var(--inc); }
.badge.pend { color: var(--pause); background: var(--pause-bg); }
.badge.pend .dot { background: var(--pause); animation: pulse-or 1.8s ease-out infinite; }
.badge.off { color: var(--away); background: var(--away-bg); }
.badge.off .dot { background: var(--away); }
.badge.ej {
  color: var(--navy-2); background: var(--azul-50);
  font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; gap: 0;
}

.kicker {
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600; color: var(--muted);
}
h1 {
  font-size: 30px; font-weight: 800; letter-spacing: -0.03em;
  color: var(--navy); line-height: 1.15;
}

/* ===== MOTION ===== */
@keyframes page-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes face-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes row-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@keyframes toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(18px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes toast-out {
  to { opacity: 0; transform: translateX(-50%) translateY(12px); }
}
@keyframes pulse-ok {
  0% { box-shadow: 0 0 0 0 rgba(22, 164, 111, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(22, 164, 111, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 164, 111, 0); }
}
@keyframes pulse-or {
  0% { box-shadow: 0 0 0 0 rgba(249, 123, 12, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(249, 123, 12, 0); }
  100% { box-shadow: 0 0 0 0 rgba(249, 123, 12, 0); }
}
@keyframes login-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.page { animation: page-in 200ms var(--ease); }
.row { animation: row-in 220ms var(--ease) both; }
.row:nth-child(1) { animation-delay: 0ms; }
.row:nth-child(2) { animation-delay: 40ms; }
.row:nth-child(3) { animation-delay: 80ms; }
.row:nth-child(4) { animation-delay: 120ms; }
.card { animation: card-in 240ms var(--ease) both; }
.card:nth-child(1) { animation-delay: 0ms; }
.card:nth-child(2) { animation-delay: 50ms; }
.card:nth-child(3) { animation-delay: 100ms; }
.card:nth-child(4) { animation-delay: 150ms; }

/* ===== LOGIN ===== */
.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 16px;
}
.login-card {
  width: min(440px, 100%);
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  padding: 44px 40px 36px;
  box-shadow: var(--shadow-lg);
  animation: login-in 240ms var(--ease);
}
.login h1 { margin-top: 32px; }
.login .sub { margin-top: 10px; color: var(--muted-2); font-size: 15px; font-weight: 400; }
.fld { margin-top: 18px; }
.fld label {
  display: block; font-size: 13px; color: var(--muted-2); margin-bottom: 8px; font-weight: 600;
}
.fld input {
  width: 100%; height: 44px; border: 1px solid var(--hair); border-radius: var(--r-btn);
  padding: 0 16px; color: var(--ink); background: var(--white); font-weight: 700;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.fld input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-50); }
.fld input::placeholder { color: var(--muted); }
.roles {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 26px;
}
.roles.three { grid-template-columns: 1fr 1fr 1fr; }
.roles button {
  height: 44px; border-radius: var(--r-btn); border: 1px solid var(--hair);
  background: var(--canvas); color: var(--muted-2); font-weight: 700;
  transition: background 180ms ease, color 180ms ease, transform 160ms var(--ease);
}
.roles button:active { transform: scale(0.97); }
.roles button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.login .btn { margin-top: 22px; }
.fine { display: block; margin-top: 20px; text-align: center; font-size: 12.5px; color: var(--muted-2); font-weight: 400; }
.hint { margin-top: 14px; font-size: 12.5px; color: var(--muted); text-align: center; font-weight: 400; }

/* ===== SHELL ===== */
.topnav {
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--hair);
  display: flex; align-items: center; gap: 26px;
  padding: 0 26px;
  position: sticky; top: 0; z-index: 20;
}
.topnav .links { display: flex; gap: 22px; }
.topnav a { color: var(--muted-2); font-weight: 700; font-size: 15px; position: relative; }
.topnav a.on { color: var(--navy); }
.topnav a.on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -25px;
  height: 3px; background: var(--navy); border-radius: 3px 3px 0 0;
}
.topnav .sp { flex: 1; }
.who { display: flex; align-items: center; gap: 10px; color: var(--muted-2); font-size: 13px; font-weight: 600; }
.ava {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
}
.stage {
  background: var(--navy); color: #fff;
  padding: 26px 28px 52px;
}
.stage .kicker { color: #8A99B8; }
.stage h1 { color: #fff; margin-top: 8px; font-size: 30px; line-height: 1.15; }
.stage p { margin-top: 8px; color: #B4C2D9; font-size: 14.5px; font-weight: 400; }
.stage-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.clock-live { text-align: right; }
.clock-live b {
  display: block; font-size: 42px; font-weight: 800;
  letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.05;
}
.clock-live b .sec { font-size: 0.52em; opacity: 0.72; letter-spacing: -0.02em; }
.clock-live span { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #8A99B8; font-weight: 600; }
.wrap { padding: 28px 26px 48px; max-width: 1440px; width: 100%; margin: 0 auto; box-sizing: border-box; }

/* ===== FICHAR ===== */
.fichar {
  min-height: calc(100vh - var(--nav-h) - var(--bot-h));
  display: flex; flex-direction: column;
  padding: 28px 24px 32px;
  max-width: 540px; margin: 0 auto;
}
.fichar-top { display: flex; justify-content: space-between; align-items: center; }
.emp { text-align: right; }
.emp .n { font-weight: 800; color: var(--ink); font-size: 16px; }
.emp .r { font-size: 13px; color: var(--muted-2); margin-top: 2px; font-weight: 600; }
.fichar-mid {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 28px 8px 20px;
}
.day {
  font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px; font-weight: 600;
}
.bigtime {
  font-size: clamp(64px, 16vw, 92px);
  font-weight: 800; letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums; color: var(--ink); line-height: 0.95;
}
.bigtime .sec {
  font-size: 0.42em; letter-spacing: -0.02em; color: var(--muted-2);
  margin-left: 2px; vertical-align: 0.12em;
}
.fichar-mid .st { margin-top: 22px; font-size: 14px; }
.kpis-mini {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  width: min(380px, 100%); margin-top: 28px;
}
.kpi-mini {
  background: var(--white); border: 1px solid var(--hair);
  border-radius: var(--r-card); padding: 16px 18px; text-align: left;
  box-shadow: var(--shadow);
}
.kpi-mini .l { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.kpi-mini .v { margin-top: 6px; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ej-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); font-weight: 400; }
.fichar-act { padding-top: 12px; }
.fichar-act .btn-ghost { width: 100%; margin-top: 6px; }

/* ===== TIMELINE ===== */
.tline {
  width: 100%;
  margin-top: 28px;
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  padding: 16px 18px 14px;
  box-shadow: var(--shadow);
  text-align: left;
}
.tline-h {
  display: flex; justify-content: space-between;
  font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.tline-track {
  position: relative; height: 18px;
  background: var(--canvas);
  border: 1px solid var(--hair);
  border-radius: 999px;
  overflow: hidden;
}
.tline-work {
  position: absolute; top: 3px; bottom: 3px; border-radius: 999px;
  background: var(--navy);
}
.tline-pause {
  position: absolute; top: 3px; bottom: 3px; border-radius: 999px;
  background: repeating-linear-gradient(-60deg, var(--pause), var(--pause) 3px, #fff 3px, #fff 6px);
}
.tline-abs {
  position: absolute; top: 3px; bottom: 3px; border-radius: 999px;
  background: var(--away-bg); border: 1px dashed var(--away);
}
.tline-now {
  position: absolute; top: -3px; bottom: -3px; width: 2px;
  background: var(--orange); border-radius: 2px; z-index: 2;
}
.tline-now::after {
  content: "";
  position: absolute; top: -3px; left: -3px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--orange);
}
.tline-leg {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 10px; font-size: 12px; color: var(--muted-2); font-weight: 600;
}
.tline-leg b { color: var(--ink); font-weight: 800; font-variant-numeric: tabular-nums; }

.dayboard {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  padding: 18px 20px 14px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}
.dayboard .ht {
  font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 12px;
}
.drow {
  display: grid; grid-template-columns: 168px 1fr 72px;
  gap: 12px; align-items: center;
  min-height: 42px; padding: 6px 0;
}
.drow + .drow { border-top: 1px solid var(--hair); }
.drow .nm { font-size: 13.5px; }
.drow .hrs { text-align: right; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ===== JORNADA ===== */
.kpis {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: -38px; position: relative; padding: 0 26px;
  max-width: 1440px;
}
.kpi {
  background: var(--white); border: 1px solid var(--hair);
  border-radius: var(--r-card); padding: 20px 22px 18px;
  box-shadow: var(--shadow-lg);
  transition: transform 200ms var(--ease), box-shadow 200ms ease;
}
.kpi:nth-child(even) { transform: translateY(10px); }
.kpi:hover { transform: translateY(-2px); }
.kpi:nth-child(even):hover { transform: translateY(6px); }
.kpi .l { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.kpi .v { margin-top: 10px; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.kpi .v em { font-style: normal; color: var(--muted-2); font-size: 18px; font-weight: 700; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.chip {
  height: 32px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--hair); background: var(--white); color: var(--muted-2);
  font-weight: 600; font-size: 13.5px;
  transition: background 180ms ease, color 180ms ease, transform 160ms var(--ease), border-color 180ms ease;
}
.chip:active { transform: scale(0.96); }
.chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip b { font-variant-numeric: tabular-nums; }

.split {
  display: grid; grid-template-columns: 1fr 300px; gap: 0;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 0;
}
.split > .list,
.split > .panel { margin-top: 0; height: 100%; }
.list {
  background: transparent; border: 0; border-radius: 0;
  padding: 6px; box-shadow: none;
  display: flex; flex-direction: column;
}
.row {
  display: grid;
  grid-template-columns: 40px 1fr 68px 76px auto;
  gap: 10px; align-items: center;
  min-height: 62px; padding: 8px 10px; border-radius: 10px;
  cursor: pointer;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms var(--ease);
}
.row + .row { margin-top: 2px; }
.row:hover { background: #F4F7FC; }
.row.sel { background: var(--azul-50); box-shadow: inset 0 0 0 1px #C5D2EA; }
.nm { font-weight: 800; color: var(--ink); font-size: 14px; }
.rl { font-size: 12px; color: var(--muted-2); margin-top: 1px; font-weight: 600; }
.live { font-size: 12px; color: var(--muted-2); margin-top: 2px; display: flex; align-items: center; gap: 6px; font-weight: 600; }
.live .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ok);
  animation: pulse-ok 1.6s ease-out infinite;
}
.live .dot.pause { background: var(--pause); animation: pulse-or 1.8s ease-out infinite; }
.live .dot.off { background: var(--away); animation: none; }
.ent, .hrs {
  text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; font-size: 15px;
}
.ent s, .hrs s {
  display: block; font-size: 11px; color: var(--muted-2);
  text-decoration: none; font-weight: 700; margin-top: 3px;
}
.panel {
  background: #F7F9FC; border: 0; border-left: 1px solid var(--hair);
  border-radius: 0; padding: 16px 16px 14px; box-shadow: none;
  position: relative; top: auto; align-self: stretch;
  display: flex; flex-direction: column;
}
.panel .who-n { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.panel .who-r { font-size: 12.5px; color: var(--muted-2); margin-top: 2px; }
.panel .badge { margin-top: 8px; }
.panel .btn-out { margin-top: auto; }
.orig {
  margin-top: 12px; background: var(--white);
  border: 1px solid var(--hair); border-radius: 12px; padding: 10px 12px;
}
.orig .ht { font-size: 11.5px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--navy); font-weight: 600; }
.orig .hs { font-size: 12px; color: var(--muted-2); margin-top: 3px; font-weight: 400; }
.kv { margin-top: 10px; display: grid; gap: 6px; }
.kv div { display: flex; justify-content: space-between; gap: 12px; }
.kv span { color: var(--muted-2); font-size: 13px; font-weight: 600; }
.kv b { font-weight: 800; font-variant-numeric: tabular-nums; }
.kv b.bad { color: var(--inc); }
.kv b.ok { color: var(--ok); }
.fine-p { margin-top: 10px; font-size: 11.5px; color: var(--muted-2); line-height: 1.4; font-weight: 400; }

.ini {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; flex-shrink: 0;
  font-size: 13px; letter-spacing: -0.02em;
}
.ini.c-navy { background: var(--navy); color: #fff; }
.ini.c-blue { background: var(--navy-2); color: #fff; }
.ini.c-sky { background: var(--azul-50); color: var(--navy); }
.ini.c-mist { background: #C5D2EA; color: var(--navy); }

/* ===== EQUIPO ===== */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  background: var(--white); border: 1px solid var(--hair);
  border-radius: var(--r-card); padding: 22px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; min-height: 268px;
  transition: transform 200ms var(--ease), box-shadow 200ms ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-top { display: flex; gap: 14px; align-items: flex-start; }
.meta2 { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.meta2 .l { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.meta2 .in { margin-top: 5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.hrs-lg {
  margin-top: 18px; font-size: 32px; font-weight: 800;
  letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1;
}
.hrs-lg s { font-size: 14px; color: var(--muted-2); text-decoration: none; font-weight: 700; margin-left: 8px; }
.acts { margin-top: auto; padding-top: 16px; display: flex; gap: 8px; }
.layout { display: grid; grid-template-columns: 1fr 268px; gap: 18px; align-items: start; }
.sum {
  background: var(--white); border: 1px solid var(--hair);
  border-radius: var(--r-card); padding: 22px; box-shadow: var(--shadow);
}
.sum h2 {
  font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px; font-weight: 600;
}
.sum .rowx { padding: 16px 0; border-top: 1px solid var(--hair); }
.sum .rowx:first-of-type { border-top: 0; }
.sum .n { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.sum .k { margin-top: 5px; font-size: 13px; color: var(--muted-2); font-weight: 600; }

/* ===== EMPRESA ===== */
.sheet {
  background: var(--white); border: 1px solid var(--hair);
  border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow);
}
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; }
.fld.wide { grid-column: 1 / -1; }
.block { margin-top: 28px; }
.block h2 {
  font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px; font-weight: 600;
}
.hgrid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.hcard {
  background: var(--canvas); border: 1px solid var(--hair);
  border-radius: var(--r-card); padding: 18px 16px 16px; min-height: 168px;
}
.hcard .t { font-weight: 800; font-size: 15px; }
.hcard .d { margin-top: 6px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--navy); }
.hcard .m { margin-top: 4px; font-size: 12.5px; color: var(--muted-2); font-weight: 600; }
.week {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px;
  margin-top: 14px;
}
.wd { text-align: center; }
.wd-n {
  font-size: 11px; font-weight: 800; color: var(--muted-2);
  letter-spacing: 0.06em; margin-bottom: 6px;
}
.wd-bar {
  position: relative; height: 72px;
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 8px;
  overflow: hidden;
}
.wd-bar i {
  position: absolute; left: 4px; right: 4px; border-radius: 5px;
  background: var(--navy);
}
.wd-bar i.split {
  background: var(--navy-2);
}
.wd-bar.empty { background: var(--away-bg); border-style: dashed; }
.wd-t { margin-top: 6px; font-size: 10.5px; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.festivos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.fest {
  min-height: 32px; padding: 4px 10px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--hair);
  font-size: 12px; font-weight: 800; color: var(--navy);
}
.actions { margin-top: 24px; display: flex; justify-content: flex-end; }
.tog { display: flex; gap: 8px; }
.tog button {
  min-height: 44px; padding: 0 16px; border-radius: var(--r-btn);
  border: 1px solid var(--hair); background: var(--canvas); color: var(--muted-2); font-weight: 700;
  transition: background 180ms ease, color 180ms ease, transform 160ms var(--ease);
}
.tog button:active { transform: scale(0.97); }
.tog button.on { background: var(--navy); color: #fff; border-color: var(--navy); }

.toast {
  position: fixed; bottom: 28px; left: 50%;
  background: var(--navy); color: #fff; padding: 14px 20px;
  border-radius: var(--r-row); box-shadow: var(--shadow-lg); z-index: 50;
  font-size: 14px; font-weight: 700;
  animation: toast-in 220ms var(--ease);
}
.toast.out { animation: toast-out 180ms ease-in forwards; }

.botnav {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0;
  min-height: 56px; background: var(--white);
  border-top: 1px solid var(--hair);
  padding: 4px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  z-index: 20;
}
.botnav a, .botnav button {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: var(--navy); font-size: 11px; font-weight: 700;
  background: none; border: 0; min-height: 44px; min-width: 44px; padding: 4px 2px;
}
.botnav .bn-short { display: none; }
.botnav a.on { color: var(--orange); }

@media (max-width: 920px) {
  .split, .layout, .grid, .hgrid, .form, .kpis { grid-template-columns: 1fr 1fr; }
  .kpis { padding: 0 16px; }
  .wrap { padding: 18px 16px 36px; }
  .stage { padding: 20px 16px 44px; }
  .login-card { padding: 36px 24px 28px; }
  .drow { grid-template-columns: 120px 1fr 56px; }
  .kpi:nth-child(even) { transform: none; }
}
@media (max-width: 720px) {
  .mods { grid-template-columns: 1fr; }
  .mod + .mod { border-left: 0; border-top: 1px solid var(--hair); }
  :root { --bot-h: 72px; --r-card: 18px; }
  .topnav .links, .topnav .who span { display: none; }
  .botnav { display: flex; }
  .botnav .bn-full { display: none; }
  .botnav .bn-short { display: inline; }
  body { padding-bottom: calc(var(--bot-h) + env(safe-area-inset-bottom, 0px)); }
  .jn, .eq, .em { padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
  .jn-hours {
    padding-left: 70px;
    padding-right: 0;
    font-size: 10px;
    letter-spacing: 0;
  }
  .jn-hours span { flex: 1; min-width: 0; text-align: center; }
  .jn-hours span:last-child { flex: 1; width: auto; text-align: center; }
  .jn-who { width: 62px; gap: 6px; }
  .jn-who b { font-size: 12px; }
  .jn-hrs { display: none; }
  .jn-hero-r {
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    gap: 8px;
    align-items: stretch;
  }
  .jn-hero-r .jn-ghost, .jn-hero-r .jn-orange {
    flex: 1 1 calc(50% - 8px);
    min-height: 44px;
    height: 44px;
    padding: 0 10px;
    font-size: 13px;
  }
  .em-fields, .em-flags { grid-template-columns: 1fr; }
  .em-in { min-width: 0; font-size: 14px; }
  .em-h .em-logo { display: none; }

  .split, .layout, .grid, .hgrid, .form, .kpis { grid-template-columns: 1fr; }
  .panel { position: static; }
  .row { grid-template-columns: 40px 1fr auto; }
  .row .ent, .row .hrs { display: none; }
  .clock-live { display: none; }
  .kpi:nth-child(even) { transform: none; }
  .week { grid-template-columns: repeat(7, 1fr); }
  .btn:not(.lg), .btn-out, .fld input, .roles button, .tog button { height: 48px; min-height: 48px; }
}


/* Módulos contratados — home administrador */
.modboard {
  position: relative;
  width: 100%;
  min-height: 560px;
  background: #F3F6FB;
  border: 1px solid var(--hair);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mods {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(340px, 36%);
  margin-left: 0;
  margin-right: auto;
  padding: 28px 0 28px 24px;
  border: 0;
  max-width: none;
}
.mod {
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  width: 100%; padding: 18px 20px 16px;
  border: 1px solid rgba(19,38,92,0.06);
  border-radius: 16px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 18px 38px rgba(19,38,92,0.10);
  animation: card-in 240ms var(--ease) both;
  backdrop-filter: blur(8px);
  transition: transform 160ms var(--ease), box-shadow 180ms ease;
}
.mod + .mod { border-left: 1px solid rgba(19,38,92,0.06); transform: translateX(-18px); }
.mod + .mod:active { transform: translateX(-18px) scale(0.99); }
.mod:active { transform: scale(0.99); }
.mod-top { display: flex; width: 100%; justify-content: space-between; align-items: center; }
.mod-ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-size: 20px;
  background: var(--azul-50); color: var(--navy);
}
.mod.on .mod-ico { background: var(--navy); color: #fff; }
.mod.off { opacity: 0.82; box-shadow: none; cursor: default; background: #F4F6FA; }
.mod.off .mod-name, .mod.off .mod-desc { color: #8A99B8; }
.mod.off .lamp { filter: none; }
.mod.off .mod-ico { background: #EEF1F6; color: var(--muted); }
.mod-name { margin-top: 14px; font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; }
.mod-desc { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--muted-2); }
.mod-st { margin-top: 12px; font-size: 12.5px; font-weight: 700; color: var(--ok); }
.mod.off .mod-st { color: var(--inc); }
.lamp {
  width: 12px; height: 12px; border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(22,164,111,0.12);
  background: var(--ok);
}
.lamp.ok { background: var(--ok); animation: pulse-ok 1.8s ease-out infinite; }
.lamp.bad {
  background: #E11D2E;
  box-shadow: 0 0 0 4px rgba(225,29,46,0.22);
  animation: pulse-bad 1.6s ease-out infinite;
}
@keyframes pulse-bad {
  0% { box-shadow: 0 0 0 0 rgba(214,69,69,0.35); }
  70% { box-shadow: 0 0 0 8px rgba(214,69,69,0); }
  100% { box-shadow: 0 0 0 0 rgba(214,69,69,0); }
}


/* Hero animado (diseño Claude) */
.login { position: relative; overflow: hidden; }
.login-amb {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; pointer-events: none;
}
.login-card { position: relative; z-index: 1; }

.hero-vid {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 38%;
  width: 62%;
  height: 100%;
  max-width: none;
  aspect-ratio: auto;
  border-radius: 0;
  overflow: hidden;
  border: 0;
  box-shadow: none;
  margin-bottom: 0;
  background: #F3F6FB;
}
.hero-vid iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; pointer-events: none;
}


/* Fichar empleado — diseño Claude */
.fc { position: relative; min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; background: #F3F6FB; }
.fc-amb { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.fc-bar {
  position: relative; z-index: 2; height: 64px; padding: 0 22px;
  display: flex; align-items: center; justify-content: space-between;
}
.fc-salir {
  background: none; border: 0; font-weight: 700; font-size: 16px; color: #13265C; cursor: pointer;
}
.fc-body {
  position: relative; z-index: 2; flex: 1;
  display: flex; flex-direction: column; align-items: center;
  padding: 8px 28px 36px;
}
.fc-who { align-self: flex-end; text-align: right; }
.fc-who .n { font-size: 20px; font-weight: 800; color: #13265C; }
.fc-who .r { font-size: 15px; font-weight: 600; color: #8494B0; margin-top: 2px; }
.fc-fecha {
  margin-top: 18px; font-size: 14px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: #93A2BC;
}
.fc-clock { display: flex; align-items: baseline; margin-top: 8px; color: #13265C; }
.fc-clock span { font-size: clamp(72px, 14vw, 132px); line-height: 1; font-weight: 800; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.fc-clock em { font-style: normal; font-size: clamp(32px, 6vw, 60px); font-weight: 700; color: #5F6E8C; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; animation: om-tick 1s steps(2, end) infinite; }
.fc-st {
  display: flex; align-items: center; gap: 10px; margin-top: 18px;
  padding: 10px 20px; border-radius: 999px; background: #EDF1F7; font-weight: 600; color: #7B8AA6;
}
.fc-st i { width: 11px; height: 11px; border-radius: 50%; background: #B4C0D4; }
.fc-st.on { background: rgba(249,115,22,0.12); color: #C2570A; }
.fc-st.on i { background: #F97316; animation: om-blink 2.4s ease-in-out infinite; }
.fc-st.pause { background: #FFF1E2; color: #B4610A; }
.fc-st.pause i { background: #F97B0C; animation: om-blink 2.4s ease-in-out infinite; }
.fc-tline {
  width: 100%; max-width: 820px; margin-top: 24px; padding: 18px 22px 16px;
  border-radius: 20px; background: #fff; box-shadow: 0 20px 50px rgba(19,38,92,0.08);
}
.fc-hours { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: #A6B2C9; font-variant-numeric: tabular-nums; }
.fc-track { position: relative; height: 16px; margin-top: 12px; border-radius: 10px; background: #F2F5FA; }
.fc-fill { position: absolute; top: 0; bottom: 0; border-radius: 10px; background: linear-gradient(90deg, rgba(249,115,22,0.85), #F97316); }
.fc-now { position: absolute; top: -7px; bottom: -7px; width: 3px; border-radius: 2px; background: #F97316; }
.fc-leg { display: flex; justify-content: space-between; margin-top: 14px; font-size: 15px; font-weight: 600; color: #5F6E8C; gap: 12px; }
.fc-leg b { color: #13265C; font-weight: 800; font-variant-numeric: tabular-nums; }
.fc-note { margin-top: 16px; font-size: 14px; font-weight: 500; color: #93A2BC; }
.fc-note b { color: #5F6E8C; font-weight: 800; }
.fc-act { margin-top: auto; width: 100%; max-width: 820px; padding-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.fc-btn {
  width: 100%; height: 76px; border: none; border-radius: 16px; color: #fff;
  font-weight: 800; font-size: 24px; cursor: pointer;
  animation: om-pulse 3.6s ease-in-out infinite;
}
.fc-btn.in { background: #F97316; }
.fc-btn.out { background: #13265C; animation-name: none; box-shadow: 0 12px 28px rgba(19,38,92,0.22); }
.fc-pause { background: none; border: 0; font-weight: 700; color: #5F6E8C; padding: 8px; }

.fc-veil {
  position: absolute; inset: 0; z-index: 8;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  background: rgba(243,246,251,0.86); backdrop-filter: blur(7px);
  animation: om-veil 3.4s ease-out forwards; pointer-events: none;
}
.fc-seal-wrap { position: relative; width: 240px; height: 240px; display: grid; place-items: center; }
.fc-burst { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(249,115,22,0.5); animation: om-burst 1.5s ease-out forwards; }
.fc-burst.b2 { border-color: rgba(249,115,22,0.4); animation-delay: 0.22s; }
.fc-burst.b3 { border-color: rgba(19,38,92,0.28); animation-delay: 0.44s; }
.fc-ring { position: absolute; inset: 14px; border-radius: 50%; border: 3px solid rgba(19,38,92,0.08); }
.fc-draw { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); transform: rotate(-90deg); }
.fc-draw circle { stroke-dasharray: 302; stroke-dashoffset: 302; animation: om-draw 1.15s cubic-bezier(0.4,0,0.2,1) 0.1s forwards; }
.fc-sweep {
  position: absolute; inset: 14px; border-radius: 50%;
  -webkit-mask-image: conic-gradient(#000, transparent 42%);
  mask-image: conic-gradient(#000, transparent 42%);
  background: radial-gradient(circle, rgba(249,115,22,0) 58%, rgba(249,115,22,0.16) 100%);
  animation: om-sweep 1.6s cubic-bezier(0.4,0,0.2,1) forwards;
}
.fc-sello {
  position: relative; width: 140px; height: 140px; border-radius: 42px;
  display: grid; place-items: center;
  box-shadow: 0 26px 60px rgba(19,38,92,0.22);
  animation: om-seal 3.4s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
.fc-spark { position: absolute; left: calc(50% - 5px); top: calc(50% - 5px); border-radius: 50%; animation: om-spark 1.1s ease-out forwards; }
.fc-spark.s1 { width: 10px; height: 10px; background: #F97316; --dx: 120px; --dy: -96px; animation-delay: 0.42s; }
.fc-spark.s2 { width: 8px; height: 8px; background: #13265C; --dx: -116px; --dy: -70px; animation-delay: 0.5s; }
.fc-spark.s3 { width: 9px; height: 9px; background: #F97316; --dx: 104px; --dy: 88px; animation-delay: 0.58s; }
.fc-spark.s4 { width: 7px; height: 7px; background: #13265C; --dx: -98px; --dy: 98px; animation-delay: 0.66s; }
.fc-cap { display: flex; flex-direction: column; align-items: center; gap: 12px; animation: om-caption 3.4s ease-out forwards; }
.fc-tit { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; color: #13265C; text-align: center; }
.fc-pill {
  display: flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 999px;
  background: #fff; box-shadow: 0 16px 40px rgba(19,38,92,0.12);
}
.fc-pill b { font-size: 22px; font-weight: 800; color: #F97316; font-variant-numeric: tabular-nums; }
.fc-pill i { width: 1px; height: 20px; background: #E6EAF3; }
.fc-pill span { font-size: 16px; font-weight: 600; color: #5F6E8C; }
.fc-sub { font-size: 15px; font-weight: 600; color: #93A2BC; }

@keyframes om-tick { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
@keyframes om-veil { 0% { opacity: 0; } 12% { opacity: 1; } 82% { opacity: 1; } 100% { opacity: 0; } }
@keyframes om-burst { 0% { transform: scale(0.35); opacity: 0.65; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes om-seal { 0% { transform: scale(0.4) rotate(-14deg); opacity: 0; } 34% { transform: scale(1.12) rotate(4deg); opacity: 1; } 48% { transform: scale(1) rotate(0deg); } 84% { transform: scale(1); opacity: 1; } 100% { transform: scale(0.94); opacity: 0; } }
@keyframes om-draw { to { stroke-dashoffset: 0; } }
@keyframes om-sweep { 0% { transform: rotate(0deg); opacity: 0; } 10% { opacity: 1; } 100% { transform: rotate(360deg); opacity: 1; } }
@keyframes om-caption { 0% { opacity: 0; transform: translate3d(0,22px,0); } 26% { opacity: 1; transform: translate3d(0,0,0); } 84% { opacity: 1; } 100% { opacity: 0; transform: translate3d(0,-10px,0); } }
@keyframes om-spark { 0% { transform: translate3d(0,0,0) scale(1); opacity: 0.9; } 100% { transform: translate3d(var(--dx), var(--dy), 0) scale(0.2); opacity: 0; } }
@keyframes om-pulse { 0%, 100% { box-shadow: 0 14px 30px rgba(249,115,22,0.30); } 50% { box-shadow: 0 22px 54px rgba(249,115,22,0.50); } }
@keyframes om-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }


@media (max-width: 720px) {
  .modboard {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .hero-vid {
    position: relative;
    top: 0; right: 0; bottom: auto; left: 0;
    width: 100%;
    height: 168px;
    min-height: 168px;
    max-height: 168px;
    order: -1;
  }
  .hero-vid iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .mods { width: 100%; padding: 14px 14px 16px; margin: 0; }
  .mod + .mod { transform: none; }
  .wrap { padding: 12px 14px 28px; }
}

/* Jornada — modelo HTML subido */
.jn { background: #EEF2F8; min-height: calc(100vh - var(--nav-h)); padding-bottom: 44px; }
.jn-hero {
  background: #0E2A5C; color: #fff;
  padding: 30px 34px 74px;
  display: flex; align-items: flex-start; gap: 30px;
}
.jn-hero h1 { margin: 8px 0 0; font-size: 40px; font-weight: 800; letter-spacing: -1.4px; line-height: 1; color: #fff; }
.jn-hero p { margin-top: 8px; font-size: 14.5px; font-weight: 600; color: #A9BCE0; }
.jn-hero .kicker { font-size: 12.5px; font-weight: 800; letter-spacing: 2.2px; color: #8FA8D4; }
.jn-hero-r { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.jn-hero .clock-live span { color: #8FA8D4; }
.jn-hero .clock-live b { color: #fff; font-size: 34px; }
.jn-ghost, .jn-orange {
  height: 46px; padding: 0 18px; border-radius: 13px; font-weight: 700; font-size: 14px;
}
.jn-ghost { border: 1.5px solid rgba(255,255,255,.34); background: transparent; color: #fff; }
.jn-orange { border: 0; background: #F97B0C; color: #fff; font-weight: 800; }
.jn-body { max-width: 1680px; margin: -54px auto 0; padding: 0 34px; display: flex; flex-direction: column; gap: 20px; }
.jn-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.jn-kpi {
  background: #fff; border-radius: 18px; padding: 18px 22px;
  box-shadow: 0 12px 30px rgba(14,42,92,.11);
  display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden;
}
.jn-kpi.bad::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #D64545; }
.jn-kpi s { font-size: 11.5px; font-weight: 800; letter-spacing: 1.4px; color: #8A99B8; text-decoration: none; text-transform: uppercase; }
.jn-kpi .v { font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -1.4px; font-variant-numeric: tabular-nums; display: flex; align-items: flex-end; gap: 9px; }
.jn-kpi .v em { font-style: normal; font-size: 15px; font-weight: 700; color: #8A99B8; padding-bottom: 3px; }
.jn-kpi .v.ok { color: #16A46F; }
.jn-kpi .v.bad { color: #D64545; }
.jn-kpi .v.pend { color: #B4610A; }
.jn-kpi .tag { font-size: 12px; font-weight: 800; border-radius: 20px; padding: 5px 10px; margin-bottom: 4px; }
.jn-kpi .tag.ok { color: #16A46F; background: #E8F7F0; }
.jn-kpi .tag.bad { color: #B03A34; background: #FDECEC; }
.jn-kpi .tag.pend { color: #B4610A; background: #FFF1E2; }
.jn-kpi p { margin: 0; font-size: 12.5px; font-weight: 600; color: #8A99B8; }
.jn-kpi .segs { display: flex; gap: 5px; }
.jn-kpi .segs i { flex: 1; height: 6px; border-radius: 3px; background: #E3E9F4; }
.jn-kpi .segs i.on { background: #0E2A5C; }

.jn-grid { display: grid; grid-template-columns: minmax(0,1fr) 400px; gap: 20px; align-items: start; }
.jn-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.jn-card { background: #fff; border-radius: 20px; border: 1px solid #E6EBF4; padding: 22px 24px; }
.jn-card-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.jn-card-h h2 { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -.3px; }
.chip-lite { font-size: 12px; font-weight: 800; color: #6D7C99; background: #F4F7FC; border-radius: 20px; padding: 6px 11px; }
.chip-live { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: #16A46F; background: #E8F7F0; border-radius: 20px; padding: 6px 11px; text-transform: uppercase; }
.chip-live i { width: 7px; height: 7px; border-radius: 50%; background: #16A46F; }
.jn-leg { margin-left: auto; display: flex; gap: 16px; font-size: 12px; font-weight: 700; color: #6D7C99; }
.jn-leg i, .jn-sum i { display: inline-block; width: 14px; height: 8px; border-radius: 4px; vertical-align: middle; }
.jn-leg i.w, .jn-sum i.w { background: #0E2A5C; }
.jn-leg i.p, .jn-sum i.p { background: #F2A63B; }
.jn-leg i.a { width: 14px; height: 8px; border: 1px dashed #B4C2D9; background: transparent; box-sizing: border-box; }
.jn-sum i.b { background: #D64545; }

.jn-hours { display: flex; gap: 0; padding-left: 118px; padding-right: 86px; font-size: 11.5px; font-weight: 700; color: #A5B2C9; font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.jn-hours span { flex: 1; }
.jn-hours span:last-child { flex: 0; width: 0; text-align: right; }
.jn-hours.sm { padding: 0; }

.jn-trow { display: flex; align-items: center; gap: 16px; padding: 9px 0; }
.jn-who { width: 102px; display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.jn-who b { font-size: 13.5px; font-weight: 800; }
.jn-trow.off .jn-who b { color: #8A99B8; }
.jn-hrs { width: 70px; text-align: right; font-size: 13.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.jn-trow.off .jn-hrs { color: #B4C2D9; }

.jn-bar { flex: 1; position: relative; height: 26px; background: #F4F7FC; border-radius: 13px; }
.jn-bar.sm { height: 22px; }
.jn-bar .g { position: absolute; top: 0; bottom: 0; width: 1px; background: #E6EBF4; }
.jn-bar .tline-work { position: absolute; top: 4px; bottom: 4px; background: #0E2A5C; border-radius: 9px; }
.jn-bar .tline-pause { position: absolute; top: 4px; bottom: 4px; background: #F2A63B; border-radius: 0 9px 9px 0; }
.jn-bar .tline-abs { display: none; }
.jn-now { position: absolute; top: -4px; bottom: -4px; width: 2px; background: #F97B0C; border-radius: 2px; }
.jn-abs {
  position: absolute; inset: 0; display: flex; align-items: center; padding-left: 14px;
  font-size: 11px; font-weight: 800; color: #A5B2C9; letter-spacing: 1px;
  border: 1px dashed #D3DCEA; border-radius: 13px; background: #F9FBFD;
}

.jn-av { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-size: 10.5px; font-weight: 800; color: #fff; background: #0E2A5C; flex-shrink: 0; }
.jn-av.lg { width: 44px; height: 44px; border-radius: 14px; font-size: 14px; }
.jn-av.or { background: #F97B0C; }
.jn-av.c-blue { background: #1B3D7E; }
.jn-av.c-sky { background: #EAF0FB; color: #1B3D7E; }
.jn-av.c-mist { background: #E3E9F4; color: #8A99B8; }

.jn-list { display: flex; flex-direction: column; gap: 10px; }
.jn-row {
  display: flex; align-items: center; gap: 16px; padding: 15px 16px;
  border-radius: 16px; border: 1px solid #E6EBF4; cursor: pointer; position: relative;
  background: #fff;
}
.jn-row.sel { background: #F4F7FC; border: 1.5px solid #0E2A5C; }
.jn-mark { position: absolute; left: -1.5px; top: 16px; bottom: 16px; width: 4px; border-radius: 0 4px 4px 0; background: #F97B0C; }
.jn-id { min-width: 0; width: 220px; display: flex; flex-direction: column; gap: 4px; }
.jn-id b { font-size: 15px; font-weight: 800; letter-spacing: -.2px; }
.jn-id .live { font-size: 12.5px; font-weight: 600; color: #6D7C99; display: flex; align-items: center; gap: 8px; }
.jn-meta { display: flex; flex-direction: column; align-items: center; width: 72px; }
.jn-meta b { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.jn-meta s { font-size: 11px; font-weight: 700; color: #8A99B8; text-decoration: none; }
.jn-prog { flex: 1; min-width: 80px; display: flex; flex-direction: column; gap: 6px; }
.jn-prog i { display: block; height: 8px; border-radius: 4px; background: #0E2A5C; max-width: 100%; }
.jn-prog { background: linear-gradient(#E3E9F4,#E3E9F4) top / 100% 8px no-repeat; padding-top: 0; }
.jn-prog span { font-size: 11.5px; font-weight: 700; color: #8A99B8; }
.jn-pill { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 800; border-radius: 20px; padding: 8px 13px; flex-shrink: 0; }
.jn-pill i { width: 7px; height: 7px; border-radius: 50%; }
.jn-pill.bad { color: #B03A34; background: #FDECEC; }
.jn-pill.bad i { background: #D64545; }
.jn-pill.ok { color: #16A46F; background: #E8F7F0; }
.jn-pill.ok i { background: #16A46F; }
.jn-pill.pend { color: #B4610A; background: #FFF1E2; }
.jn-pill.pend i { background: #F97B0C; }
.jn-pill.off { color: #6D7C99; background: #F4F7FC; }
.jn-pill.off i { background: #B4C2D9; }

.jn-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 86px; }
.jn-panel { background: #fff; border-radius: 20px; border: 1px solid #E6EBF4; overflow: hidden; }
.jn-side-h { background: #0E2A5C; padding: 20px 22px; display: flex; align-items: center; gap: 14px; }
.jn-side-h b { display: block; font-size: 16px; font-weight: 800; color: #fff; letter-spacing: -.3px; }
.jn-side-h span { font-size: 12.5px; font-weight: 600; color: #A9BCE0; }
.jn-side-b { padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; }
.jn-alert { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 13px; }
.jn-alert i { width: 8px; height: 8px; border-radius: 50%; }
.jn-alert b { font-size: 13.5px; font-weight: 800; }
.jn-alert em { margin-left: auto; font-style: normal; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.jn-alert.bad { background: #FDECEC; }
.jn-alert.bad i, .jn-alert.bad b, .jn-alert.bad em { color: #B03A34; }
.jn-alert.bad i { background: #D64545; }
.jn-alert.ok { background: #E8F7F0; }
.jn-alert.ok i { background: #16A46F; }
.jn-alert.ok b, .jn-alert.ok em { color: #16A46F; }
.jn-alert.pend { background: #FFF1E2; }
.jn-alert.pend i { background: #F97B0C; }
.jn-alert.pend b, .jn-alert.pend em { color: #B4610A; }
.jn-alert.off { background: #F4F7FC; }
.jn-alert.off i { background: #B4C2D9; }
.jn-go {
  height: 46px; border: 0; border-radius: 13px; background: #0E2A5C; color: #fff;
  font-size: 14px; font-weight: 800; cursor: pointer;
}
.jn-sum { background: #fff; border-radius: 20px; border: 1px solid #E6EBF4; padding: 20px 22px; display: flex; flex-direction: column; gap: 13px; }
.jn-sum s { font-size: 11.5px; font-weight: 800; letter-spacing: 1.2px; color: #8A99B8; text-decoration: none; text-transform: uppercase; }
.jn-sum div { display: flex; align-items: center; gap: 11px; font-size: 13.5px; font-weight: 600; color: #3C4C6B; }
.jn-sum b { margin-left: auto; font-size: 14.5px; font-weight: 800; font-variant-numeric: tabular-nums; }

@media (max-width: 1100px) {
  .jn-grid { grid-template-columns: 1fr; }
  .jn-side { position: static; }
  .jn-kpis { grid-template-columns: 1fr 1fr; }
  .jn-hero { flex-wrap: wrap; padding: 24px 16px 64px; }
  .jn-body { padding: 0 16px; }
  .jn-prog, .jn-meta { display: none; }
}

/* Equipo — modelo HTML subido */
.eq { background: #EEF2F8; min-height: calc(100vh - var(--nav-h)); padding-bottom: 44px; }
.eq-hero {
  background: #0E2A5C; color: #fff;
  padding: 28px 34px 66px;
  display: flex; align-items: flex-end; gap: 30px;
}
.eq-hero h1 { margin: 8px 0 0; font-size: 40px; font-weight: 800; letter-spacing: -1.4px; line-height: 1; color: #fff; }
.eq-hero p { margin-top: 8px; font-size: 14.5px; font-weight: 600; color: #A9BCE0; }
.eq-hero .kicker { font-size: 12.5px; font-weight: 800; letter-spacing: 2.2px; color: #8FA8D4; }
.eq-hero-r { margin-left: auto; display: flex; gap: 11px; flex-wrap: wrap; align-items: center; }
.eq-hero-r .eq-toggle { flex: 0 0 auto; }
.eq-body { max-width: 1680px; margin: -46px auto 0; padding: 0 34px; display: flex; flex-direction: column; gap: 20px; }
.eq-filters {
  background: #fff; border-radius: 18px; box-shadow: 0 12px 30px rgba(14,42,92,.11);
  padding: 16px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.eq-sep { width: 1px; height: 26px; background: #E9EDF5; }
.eq-faint { font-size: 13px; font-weight: 700; color: #6D7C99; }
.eq-cover { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.eq-cover s { font-size: 12.5px; font-weight: 700; color: #8A99B8; text-decoration: none; }
.eq-cover b { font-size: 13.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.eq-segs { display: flex; gap: 4px; }
.eq-segs i { width: 26px; height: 8px; border-radius: 4px; background: #E3E9F4; }
.eq-segs i.g { background: #16A46F; }
.eq-segs i.y { background: #F2A63B; }

.eq-grid { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 20px; align-items: start; }
.eq-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; min-width: 0; }
.eq-card {
  background: #fff; border-radius: 20px; border: 1px solid #E6EBF4;
  padding: 20px 22px; display: flex; flex-direction: column; gap: 16px;
}
.eq-card.off { background: #FBFCFE; border-style: dashed; border-color: #D3DCEA; }
.eq-top { display: flex; align-items: center; gap: 13px; }
.eq-top div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.eq-top b { font-size: 16px; font-weight: 800; letter-spacing: -.3px; }
.eq-card.off .eq-top b { color: #6D7C99; }
.eq-top span { font-size: 12.5px; font-weight: 600; color: #8A99B8; }
.eq-pill { margin-left: auto; display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 800; border-radius: 20px; padding: 7px 12px; flex-shrink: 0; }
.eq-pill i { width: 7px; height: 7px; border-radius: 50%; }
.eq-pill.on { color: #0F7C55; background: #E8F7F0; }
.eq-pill.on i { background: #16A46F; }
.eq-pill.pause { color: #B4610A; background: #FFF1E2; }
.eq-pill.off { color: #6D7C99; background: #EEF2F8; }
.eq-pill.off i { background: #B4C2D9; }

.eq-stats { display: flex; align-items: flex-end; gap: 20px; }
.eq-stats > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.eq-stats s, .eq-kv s { font-size: 11px; font-weight: 800; letter-spacing: 1.2px; color: #A5B2C9; text-decoration: none; text-transform: uppercase; }
.eq-stats b.lg { font-size: 30px; font-weight: 800; letter-spacing: -1.2px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.eq-kv { margin-left: auto; display: flex; gap: 22px; }
.eq-kv div { display: flex; flex-direction: column; gap: 2px; }
.eq-kv b { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }

.eq-bar { position: relative; height: 12px; background: #F4F7FC; border-radius: 6px; }
.eq-bar .tline-work { position: absolute; top: 0; bottom: 0; background: #0E2A5C; border-radius: 6px; }
.eq-bar .tline-pause { position: absolute; top: 0; bottom: 0; background: #F2A63B; border-radius: 0 6px 6px 0; }
.eq-ends { display: flex; font-size: 11px; font-weight: 700; color: #A5B2C9; font-variant-numeric: tabular-nums; }
.eq-ends span:last-child { margin-left: auto; }

.eq-vac {
  display: flex; align-items: center; gap: 13px; padding: 14px 16px;
  border-radius: 14px; background: #fff; border: 1px solid #E6EBF4;
}
.eq-vac b { display: block; font-size: 14px; font-weight: 800; }
.eq-vac span { display: block; font-size: 12.5px; font-weight: 600; color: #8A99B8; }
.eq-vac em { margin-left: auto; font-style: normal; font-size: 13.5px; font-weight: 800; color: #6D7C99; }

.eq-acts { display: flex; gap: 10px; margin-top: auto; }
.eq-ghost, .eq-navy {
  flex: 1; height: 42px; border-radius: 12px; font-size: 13.5px; font-weight: 800; cursor: pointer;
}
.eq-ghost { border: 1.5px solid #C9D5EA; background: #fff; color: #0E2A5C; }
.eq-navy { border: 0; background: #0E2A5C; color: #fff; }

.eq-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 86px; }
.eq-box { background: #fff; border-radius: 20px; border: 1px solid #E6EBF4; padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.eq-box s { font-size: 11.5px; font-weight: 800; letter-spacing: 1.2px; color: #8A99B8; text-decoration: none; text-transform: uppercase; }
.eq-donut-row { display: flex; align-items: center; gap: 18px; }
.eq-donut {
  width: 104px; height: 104px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(#16A46F 0 50%, #F2A63B 50% 75%, #E3E9F4 75% 100%);
  display: grid; place-items: center;
}
.eq-donut div { width: 74px; height: 74px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.eq-donut b { font-size: 24px; font-weight: 800; line-height: 1; letter-spacing: -.8px; }
.eq-donut em { font-size: 10.5px; font-weight: 800; color: #8A99B8; letter-spacing: .6px; font-style: normal; text-transform: uppercase; }
.eq-legend { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.eq-legend div { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: #3C4C6B; }
.eq-legend i { width: 9px; height: 9px; border-radius: 3px; }
.eq-legend i.g { background: #16A46F; }
.eq-legend i.y { background: #F2A63B; }
.eq-legend i.z { background: #B4C2D9; }
.eq-legend b { margin-left: auto; font-size: 14px; font-weight: 800; }
.eq-hours { display: flex; align-items: center; padding-top: 14px; border-top: 1px solid #EEF2F8; font-size: 13.5px; font-weight: 600; color: #6D7C99; }
.eq-hours b { margin-left: auto; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; color: #10203D; }
.eq-dept { display: flex; flex-direction: column; gap: 5px; }
.eq-dept div { display: flex; align-items: center; }
.eq-dept b { font-size: 13px; font-weight: 700; flex: 1; }
.eq-dept em { font-style: normal; font-size: 13px; font-weight: 800; }
.eq-dept i { display: block; height: 7px; border-radius: 4px; background: #F4F7FC; overflow: hidden; }
.eq-dept u { display: block; height: 100%; background: #0E2A5C; text-decoration: none; }
.eq-cta { background: #0E2A5C; border-radius: 20px; padding: 20px 22px; display: flex; flex-direction: column; gap: 11px; }
.eq-cta b { font-size: 14.5px; font-weight: 800; color: #fff; }
.eq-cta p { margin: 0; font-size: 12.5px; font-weight: 600; color: #A9BCE0; line-height: 1.5; }
.eq-cta button { height: 44px; border: 0; border-radius: 12px; background: #F97B0C; color: #fff; font-size: 13.5px; font-weight: 800; margin-top: 4px; cursor: pointer; }

@media (max-width: 1100px) {
  .eq-grid { grid-template-columns: 1fr; }
  .eq-cards { grid-template-columns: 1fr; }
  .eq-side { position: static; }
  .eq-hero { flex-wrap: wrap; padding: 24px 16px 56px; }
  .eq-body { padding: 0 16px; }
}

/* Empresa — modelo HTML subido */
.em { background: #EEF2F8; min-height: calc(100vh - var(--nav-h)); padding-bottom: 44px; }
.em-hero {
  background: #0E2A5C; color: #fff;
  padding: 28px 34px 66px;
  display: flex; align-items: flex-end; gap: 30px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.em-hero.has-bg::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(14,42,92,.92) 0%, rgba(14,42,92,.72) 48%, rgba(14,42,92,.48) 100%);
  pointer-events: none;
}
.em-hero > * { position: relative; z-index: 1; }
.em-hero-l { display: flex; align-items: flex-end; gap: 16px; min-width: 0; }
.em-logo.on-hero, .em-logo.sm.on-hero {
  width: 56px; height: 56px; flex: 0 0 56px;
  border: 2px solid rgba(255,255,255,.55);
  box-shadow: 0 6px 18px rgba(8,20,48,.28);
}
.em-hero h1 { margin: 8px 0 0; font-size: 40px; font-weight: 800; letter-spacing: -1.4px; line-height: 1; color: #fff; }
.em-hero p { margin-top: 8px; font-size: 14.5px; font-weight: 600; color: #A9BCE0; }
.em-hero .kicker { font-size: 12.5px; font-weight: 800; letter-spacing: 2.2px; color: #8FA8D4; }
.em-hero-r { margin-left: auto; display: flex; gap: 11px; }
.em-body { max-width: 1680px; margin: -46px auto 0; padding: 0 34px; display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 20px; align-items: start; }
.em-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.em-card { background: #fff; border-radius: 20px; border: 1px solid #E6EBF4; padding: 24px 26px; }
.em-card.lift { box-shadow: 0 12px 30px rgba(14,42,92,.11); border: 0; }
.em-h { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.em-h h2 { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -.3px; }
.em-h .eq-pill { margin-left: auto; }
.em-ico { width: 36px; height: 36px; border-radius: 11px; background: #EAF0FB; }
.em-ico.clk { background: #FFF1E2; }
.em-add { margin-left: auto; height: 38px; padding: 0 15px; border-radius: 11px; border: 1.5px solid #C9D5EA; background: #fff; color: #0E2A5C; font-size: 13.5px; font-weight: 800; cursor: pointer; }
.em-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.em-fields .wide { grid-column: 1 / -1; }
.em-fields s, .em-flags s { font-size: 11.5px; font-weight: 800; letter-spacing: 1.2px; color: #A5B2C9; text-decoration: none; text-transform: uppercase; display: block; margin-bottom: 7px; }
.em-in {
  height: 50px; border: 1px solid #E3E8F1; border-radius: 13px; background: #F9FBFD;
  display: flex; align-items: center; padding: 0 16px; font-size: 15.5px; font-weight: 800;
}
.em-in.tab { font-variant-numeric: tabular-nums; }
.em-in em { margin-left: 10px; font-style: normal; font-size: 11.5px; font-weight: 800; color: #6D7C99; background: #EEF2F8; border-radius: 16px; padding: 4px 9px; }
.em-flags { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; padding-top: 20px; margin-top: 20px; border-top: 1px solid #EEF2F8; }
.em-flags b.lg { font-size: 26px; font-weight: 800; letter-spacing: -.9px; }
.em-flags span { font-size: 14px; font-weight: 700; color: #6D7C99; }
.em-tog { display: flex; border: 1px solid #E3E8F1; border-radius: 12px; overflow: hidden; width: max-content; }
.em-tog button { height: 42px; padding: 0 24px; border: 0; background: #F9FBFD; color: #8A99B8; font-weight: 700; cursor: pointer; }
.em-tog button.on { background: #0E2A5C; color: #fff; font-weight: 800; }

.em-hors { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.em-hor { border: 1px solid #E6EBF4; border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.em-hor.on { border: 1.5px solid #0E2A5C; }
.em-hor b { display: block; font-size: 15.5px; font-weight: 800; }
.em-hor strong { display: block; margin-top: 4px; font-size: 22px; font-weight: 800; letter-spacing: -.7px; font-variant-numeric: tabular-nums; }
.em-def { align-self: flex-start; font-size: 11.5px; font-weight: 800; color: #fff; background: #0E2A5C; border-radius: 20px; padding: 6px 11px; text-transform: uppercase; }
.em-tag { align-self: flex-start; font-size: 11.5px; font-weight: 800; color: #6D7C99; background: #F4F7FC; border-radius: 20px; padding: 6px 11px; text-transform: uppercase; }
.em-week { display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; }
.em-wd { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.em-wd s { font-size: 11.5px; font-weight: 800; color: #8A99B8; text-decoration: none; }
.em-wd em { font-size: 10.5px; font-weight: 800; font-style: normal; font-variant-numeric: tabular-nums; }
.em-wd.off s, .em-wd.off em { color: #C4CEE0; }
.em-bar { width: 100%; height: 44px; border-radius: 9px; background: #F4F7FC; display: flex; align-items: center; padding: 0 4px; }
.em-bar i { display: block; width: 100%; height: 22px; border-radius: 6px; background: #0E2A5C; }
.em-bar.split { flex-direction: column; justify-content: center; gap: 4px; }
.em-bar.split i { height: 12px; border-radius: 5px; }
.em-bar.split i.or { background: #F97B0C; }
.em-bar.empty { background: #F9FBFD; border: 1px dashed #E3E8F1; }
.em-foot { display: flex; align-items: center; padding-top: 14px; border-top: 1px solid #EEF2F8; font-size: 13px; font-weight: 600; color: #6D7C99; }
.em-foot button { margin-left: auto; background: none; border: 0; font-size: 13px; font-weight: 800; color: #0E2A5C; cursor: pointer; }

.em-fests { display: grid; grid-template-columns: repeat(6,1fr); gap: 12px; }
.em-fest { border: 1px solid #E6EBF4; border-radius: 14px; padding: 14px 16px; }
.em-fest b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.7px; line-height: 1.1; }
.em-fest span { font-size: 12.5px; font-weight: 700; color: #6D7C99; }

.em-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 86px; }
.em-id { background: #fff; border-radius: 20px; border: 1px solid #E6EBF4; overflow: hidden; }
.em-id-h { background: #0E2A5C; padding: 22px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.em-logo { width: 64px; height: 64px; border-radius: 20px; background: #F97B0C; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px; }
.em-id-h b { font-size: 18px; font-weight: 800; color: #fff; letter-spacing: -.4px; }
.em-id-h span { font-size: 12.5px; font-weight: 600; color: #A9BCE0; }
.em-badges { display: flex; gap: 8px; }
.em-badges em { font-style: normal; font-size: 11.5px; font-weight: 800; color: #fff; background: rgba(255,255,255,.16); border-radius: 20px; padding: 6px 12px; text-transform: uppercase; }
.em-badges em.dim { color: #A9BCE0; background: rgba(255,255,255,.08); }
.em-id-b { padding: 20px 22px; display: flex; flex-direction: column; gap: 13px; }
.em-id-b div { display: flex; align-items: center; font-size: 13.5px; font-weight: 600; color: #6D7C99; }
.em-id-b b { margin-left: auto; font-size: 15px; font-weight: 800; color: #10203D; }
.em-id-b .last { padding-top: 13px; border-top: 1px solid #EEF2F8; }
.em-box { background: #fff; border-radius: 20px; border: 1px solid #E6EBF4; padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.em-box s { font-size: 11.5px; font-weight: 800; letter-spacing: 1.2px; color: #8A99B8; text-decoration: none; text-transform: uppercase; }
.em-comp { display: flex; align-items: center; }
.em-comp b { margin-left: auto; font-size: 13.5px; font-weight: 800; }
.em-bar86 { height: 9px; border-radius: 5px; background: #F4F7FC; }
.em-bar86::after { content: ""; display: block; width: 86%; height: 100%; background: #16A46F; border-radius: 5px; }
.em-ok, .em-warn { font-size: 13px; font-weight: 600; color: #3C4C6B; padding-left: 28px; position: relative; }
.em-ok::before, .em-warn::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 7px; background: #E8F7F0; color: #16A46F;
  display: grid; place-items: center; font-size: 11px; font-weight: 800;
}
.em-warn::before { content: "!"; background: #FFF1E2; color: #B4610A; }
.em-box p { margin: 0; font-size: 13.5px; font-weight: 600; color: #3C4C6B; line-height: 1.5; }
.em-box button { height: 44px; border: 0; border-radius: 12px; background: #0E2A5C; color: #fff; font-size: 13.5px; font-weight: 800; cursor: pointer; }

@media (max-width: 1100px) {
  .em-body, .em-hors, .em-fields, .em-flags, .em-fests { grid-template-columns: 1fr 1fr; }
  .em-body { grid-template-columns: 1fr; padding: 0 16px; }
  .em-side { position: static; }
  .em-hero { flex-wrap: wrap; padding: 24px 16px 56px; }
}

@keyframes st-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.chip-live i, .clock-live .live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #F97B0C;
  display: inline-block; margin-right: 6px; vertical-align: middle;
  animation: st-pulse 1.6s ease-in-out infinite;
}
.chip-live i { background: #16A46F; }
.jn-trow { cursor: pointer; border-radius: 12px; }
.jn-trow:hover { background: #F4F7FC; }
.jn-trow.sel { background: #F4F7FC; }
.jn-orange { cursor: pointer; }

button.jn-av, button.em-logo {
  border: 0; padding: 0; font: inherit; line-height: 1;
  cursor: pointer; position: relative; overflow: hidden;
}
.jn-av img, .em-logo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.jn-av.has-pic, .em-logo.has-pic { background: #D9DEE8; color: transparent; }
.jn-av:hover::after, .em-logo:hover::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(14,42,92,.38);
}
.em-logo { cursor: pointer; position: relative; overflow: hidden; }

.em-logo.sm { width: 44px; height: 44px; border-radius: 14px; font-size: 14px; flex-shrink: 0; }
.em-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.em-who s {
  font-size: 11px; font-weight: 800; letter-spacing: 1.4px; color: #8A99B8;
  text-decoration: none; text-transform: uppercase;
}
.em-who h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.4px; color: #0E2A5C; }

.em-id-h { cursor: pointer; background-size: cover; background-position: center; position: relative; }
.em-id-h.has-bg::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,42,92,.38), rgba(14,42,92,.86));
  pointer-events: none;
}
.em-id-h > * { position: relative; z-index: 1; }

input.em-in {
  width: 100%; box-sizing: border-box; font-family: inherit; color: #0E2A5C;
  outline: none;
}
input.em-in:focus { border-color: #0E2A5C; background: #fff; }
input.em-in.vac { max-width: 92px; height: 50px; font-size: 26px; font-weight: 800; letter-spacing: -.9px; padding: 0 12px; }
.em-fest { cursor: pointer; }
.em-fest:hover { border-color: #D64545; }
.st-mod {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(14,42,92,.42);
  display: grid; place-items: center; padding: 24px;
}
.st-mod-card {
  width: min(460px, 100%);
  background: #fff; border-radius: 20px; padding: 22px 24px 20px;
  box-shadow: 0 24px 50px rgba(14,42,92,.22);
}
.st-mod-card h3 { margin: 0 0 16px; font-size: 18px; font-weight: 800; color: #0E2A5C; }
.st-mod-body { display: flex; flex-direction: column; gap: 12px; }
.st-mod-act { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }

.login-card.auth { width: min(460px, 100%); padding: 36px 34px 28px; position: relative; }
.auth-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  margin-top: 22px; padding: 5px; background: #EEF2F8; border-radius: 12px;
}
.auth-tabs button {
  height: 40px; border: 0; border-radius: 9px; background: transparent;
  color: #6D7C99; font-weight: 800; font-size: 13.5px;
}
.auth-tabs button.on { background: #fff; color: #0E2A5C; box-shadow: 0 4px 12px rgba(14,42,92,.08); }
.login-card.auth h1 { margin-top: 20px; font-size: 26px; }
.soc { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.soc-btn {
  height: 46px; border-radius: 12px; border: 1.5px solid #E3E8F1; background: #fff;
  color: #10203D; font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.soc-btn:hover { background: #F7F9FC; }
.soc-btn i { width: 20px; height: 20px; display: grid; place-items: center; flex-shrink: 0; }
.soc-g {
  background:
    conic-gradient(from 0deg, #EA4335 0 90deg, #FBBC05 90deg 180deg, #34A853 180deg 270deg, #4285F4 270deg 360deg);
  border-radius: 50%;
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 38%, #000 40%);
  mask: radial-gradient(circle at 50% 50%, transparent 38%, #000 40%);
}
.soc-a { background: #111; border-radius: 5px; position: relative; }
.soc-a::after { content: ""; width: 10px; height: 12px; border: 1.6px solid #fff; border-radius: 6px 6px 3px 3px; }
.soc-l { background: #0E2A5C; border-radius: 50%; }
.soc-l::after { content: ""; width: 9px; height: 9px; border: 1.7px solid #fff; border-radius: 50%; border-top-color: transparent; }
.or { display: flex; align-items: center; gap: 12px; margin: 18px 0 4px; color: #8A99B8; font-size: 12px; font-weight: 800; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: #E6EBF4; }
.or span { white-space: nowrap; }
.auth-sheet {
  position: absolute; inset: 12px; background: #fff; border-radius: 16px;
  padding: 22px 22px 18px; box-shadow: 0 16px 40px rgba(14,42,92,.16);
  z-index: 3; display: flex; flex-direction: column;
}
.auth-sheet h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; color: #0E2A5C; }
.auth-sheet p { margin: 0 0 8px; font-size: 13.5px; font-weight: 600; color: #6D7C99; }
.auth-sheet-act { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }

.demo-enter { display: grid; gap: 8px; margin-top: 8px; }
.demo-btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  text-align: left; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--hair); background: #fff; cursor: pointer;
}
.demo-btn b { font-size: 14px; font-weight: 700; color: var(--navy); }
.demo-btn span { font-size: 12px; color: var(--muted); font-weight: 500; }
.demo-btn:hover { border-color: var(--navy); }
.demo-btn.admin { box-shadow: inset 3px 0 0 var(--navy); }
.demo-btn.mgr { box-shadow: inset 3px 0 0 #2A6B9E; }
.demo-btn.emp { box-shadow: inset 3px 0 0 var(--orange); }

/* VeriFactu — misma densidad que Jornada */
.st-mod-act .jn-ghost { border-color: #C9D5EA; color: #0E2A5C; }
select.em-in, textarea.em-in {
  width: 100%; box-sizing: border-box; font-family: inherit; color: #0E2A5C;
  outline: none; appearance: none;
}
.vf-tabs {
  display: flex; background: rgba(255,255,255,.12); border-radius: 12px; padding: 4px; gap: 4px;
}
.vf-tabs button {
  height: 38px; padding: 0 16px; border: 0; border-radius: 9px;
  background: transparent; color: #A9BCE0; font-weight: 800; font-size: 13.5px;
}
.vf-tabs button.on { background: #fff; color: #0E2A5C; }
.vf-settings {
  background: #fff; border-radius: 18px; box-shadow: 0 12px 30px rgba(14,42,92,.11);
  padding: 16px 20px; display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap;
}
.vf-settings label { display: flex; flex-direction: column; gap: 6px; min-width: 140px; }
.vf-settings s {
  font-size: 11px; font-weight: 800; letter-spacing: 1.2px; color: #8A99B8;
  text-decoration: none; text-transform: uppercase;
}
.vf-settings .em-in { height: 44px; max-width: 160px; }
.vf-settings .chip-lite { margin-bottom: 6px; }
.vf-list { display: flex; flex-direction: column; gap: 8px; }
.vf-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  border-radius: 16px; border: 1px solid #E6EBF4; cursor: pointer; position: relative;
  background: #fff;
}
.vf-row.sel { background: #F4F7FC; border: 1.5px solid #0E2A5C; }
.vf-id { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.vf-id b { font-size: 15px; font-weight: 800; letter-spacing: -.2px; }
.vf-id span { font-size: 12.5px; font-weight: 600; color: #6D7C99; }
.vf-meta-d { display: flex; flex-direction: column; align-items: center; width: 78px; }
.vf-meta-d b { font-size: 13.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.vf-meta-d s { font-size: 11px; font-weight: 700; color: #8A99B8; text-decoration: none; }
.vf-amt { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vf-doc .jn-side-h { justify-content: space-between; }
.vf-paper { gap: 18px; }
.vf-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vf-parties s, .vf-doc-meta s, .vf-pays s {
  display: block; font-size: 11px; font-weight: 800; letter-spacing: 1.2px;
  color: #8A99B8; text-decoration: none; text-transform: uppercase; margin-bottom: 4px;
}
.vf-parties b { display: block; font-size: 14.5px; font-weight: 800; color: #0E2A5C; }
.vf-parties span { display: block; font-size: 12.5px; font-weight: 600; color: #6D7C99; }
.vf-doc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vf-doc-meta.static { grid-template-columns: repeat(3, 1fr); }
.vf-doc-meta.static b { font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.vf-in {
  width: 100%; height: 38px; border: 1px solid #E3E8F1; border-radius: 10px;
  background: #F9FBFD; padding: 0 10px; font-size: 13.5px; font-weight: 700; color: #0E2A5C;
  font-family: inherit;
}
.vf-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.vf-table th {
  text-align: left; font-size: 11px; font-weight: 800; letter-spacing: 1px;
  color: #8A99B8; text-transform: uppercase; padding: 0 6px 8px; border-bottom: 1px solid #E9EDF5;
}
.vf-table td { padding: 7px 6px; border-bottom: 1px solid #E9EDF5; font-weight: 700; vertical-align: middle; }
.vf-table td:nth-child(2), .vf-table td:nth-child(3), .vf-table td:nth-child(4), .vf-table td:nth-child(5) {
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.vf-x {
  width: 28px; height: 28px; border: 0; background: #F4F7FC; color: #6D7C99;
  border-radius: 8px; font-weight: 800; cursor: pointer;
}
.vf-totals { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; }
.vf-totals div { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 600; color: #3C4C6B; }
.vf-totals b { font-weight: 800; font-variant-numeric: tabular-nums; }
.vf-totals .sum { font-size: 16px; color: #0E2A5C; padding-top: 6px; border-top: 1px solid #E9EDF5; }
.vf-pays { display: flex; flex-direction: column; gap: 6px; }
.vf-pays div { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; color: #6D7C99; }
.vf-pays b { color: #10203D; font-variant-numeric: tabular-nums; }
.vf-aet {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px; border: 1px solid #E6EBF4; border-radius: 14px; background: #F7F9FC;
}
.vf-aet img { border-radius: 8px; background: #fff; flex-shrink: 0; }
.vf-aet-st {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 1px;
  color: #B4610A; background: #FFF1E2; border-radius: 20px; padding: 5px 10px; margin-bottom: 8px;
}
.vf-hash {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px; font-weight: 700; color: #0E2A5C; word-break: break-all; line-height: 1.4;
}
.vf-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.vf-acts .jn-orange, .vf-acts .eq-navy, .vf-acts .eq-ghost { flex: 1; min-width: 120px; }
.vf-acts .eq-navy, .vf-acts .eq-ghost { height: 46px; border-radius: 13px; }
@media (max-width: 1100px) {
  .vf-grid { grid-template-columns: 1fr; }
  .vf-parties, .vf-doc-meta { grid-template-columns: 1fr; }
  .vf-meta-d { display: none; }
}

.st-mod-body s, .st-mod-card s, .st-mod label s {
  font-size: 11.5px; font-weight: 800; letter-spacing: 1.2px; color: #8A99B8;
  text-decoration: none; text-transform: uppercase; display: block; margin-bottom: 6px;
}


.co-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin: 0;
}
.co-add {
  width: 34px; height: 34px; padding: 0;
  border: 1px solid #D5DDE9; border-radius: 10px;
  background: #0E2A5C; color: #fff;
  font-size: 20px; font-weight: 700; line-height: 1;
  cursor: pointer; font-family: inherit;
}
.co-add:hover { background: #F97B0C; border-color: #F97B0C; }
.co-switch select {
  height: 34px;
  min-width: 168px;
  max-width: 240px;
  padding: 0 28px 0 12px;
  border: 1px solid #D5DDE9;
  border-radius: 10px;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%230E2A5C' d='M1 1.2l5 5 5-5'/></svg>") no-repeat right 10px center;
  background-size: 12px 8px;
  color: #0E2A5C;
  font-weight: 800;
  font-size: 12.5px;
  font-family: inherit;
  letter-spacing: -.1px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.co-switch select:focus {
  outline: none;
  border-color: #0E2A5C;
}
@media (max-width: 720px) {
  .co-switch select { min-width: 140px; font-size: 12px; }
}

.st-empty {
  margin: 28px 24px 40px;
  padding: 36px 28px;
  border: 1px dashed #D5DDE9;
  border-radius: 16px;
  background: #F9FBFD;
  text-align: center;
}
.st-empty b { display: block; font-size: 18px; font-weight: 800; color: #0E2A5C; margin-bottom: 8px; }
.st-empty p { margin: 0 0 18px; font-size: 14px; font-weight: 600; color: #6D7C99; }

.vf-q {
  height: 34px; min-width: 200px; max-width: 260px;
  padding: 0 12px; border: 1px solid #D5DDE9; border-radius: 10px;
  background: #fff; color: #0E2A5C; font: inherit; font-weight: 600; font-size: 13px;
}
.vf-q:focus { outline: none; border-color: #0E2A5C; }
@media (max-width: 720px) {
  .vf .jn-hero-r {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }
  .vf-tabs { width: 100%; }
  .vf-tabs button { flex: 1; min-height: 44px; height: 44px; }
  .vf-q { min-width: 0; width: 100%; max-width: none; height: 44px; box-sizing: border-box; }
  .vf .jn-hero-r .jn-ghost,
  .vf .jn-hero-r .jn-orange {
    flex: 1 1 auto;
    width: 100%;
    white-space: nowrap;
    overflow: visible;
  }
}

.mod-pulse {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 1120px;
  margin: 16px auto 4px;
  padding: 0 28px;
  position: relative;
  z-index: 3;
}
.mod-pulse .mp {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 16px 16px;
  background: #fff; border: 1px solid #E3E8F1; border-radius: 14px;
  text-decoration: none; color: inherit;
  box-shadow: 0 8px 24px rgba(14,42,92,.06);
}
.mod-pulse .mp s {
  text-decoration: none; font-size: 11px; font-weight: 800;
  letter-spacing: 1.1px; text-transform: uppercase; color: #8A99B8;
}
.mod-pulse .mp b { font-size: 26px; font-weight: 800; color: #0E2A5C; letter-spacing: -.6px; line-height: 1; }
.mod-pulse .mp span { font-size: 12.5px; font-weight: 600; color: #6D7C99; }
.mod-pulse .mp.warn b { color: #B4610A; }
.mod-pulse .mp.bad b { color: #D64545; }
@media (max-width: 720px) {
  .mod-pulse { grid-template-columns: 1fr 1fr; padding: 0 16px; margin-top: 12px; }
}


/* Kiosko Lite — tablet-first, navy structure, orange ~15% action */
.kk {
  min-height: 100vh;
  background: var(--canvas);
  display: flex;
  flex-direction: column;
  padding: 22px 28px 28px;
  position: relative;
}
.kk-admin {
  position: absolute;
  top: 14px;
  right: 16px;
  height: 28px;
  padding: 0 8px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.45;
  z-index: 5;
}
.kk-admin:hover { opacity: 0.8; }
.kk-head { text-align: center; padding: 8px 40px 10px; }
.kk-co {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.kk-clock {
  margin-top: 6px;
  font-size: clamp(72px, 13vw, 124px);
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--navy);
  line-height: 0.95;
}
.kk-clock .sec { font-size: 0.42em; color: var(--muted); font-weight: 700; }
.kk-day { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--muted-2); text-transform: capitalize; }
.kk-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 10px auto 18px;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 4px;
  width: min(420px, 100%);
}
.kk-tabs button {
  flex: 1;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted-2);
  font-weight: 800;
  font-size: 13.5px;
}
.kk-tabs button.on { background: var(--navy); color: #fff; }
.kk-body { flex: 1; width: min(880px, 100%); margin: 0 auto; }
.kk-empty {
  margin: 48px 12px;
  padding: 40px 24px;
  text-align: center;
  border: 1px dashed #D5DDE9;
  border-radius: 16px;
  background: #F9FBFD;
}
.kk-empty b { display: block; font-size: 22px; font-weight: 800; color: var(--navy); }
.kk-empty p { margin-top: 8px; color: var(--muted-2); font-weight: 600; }
.kk-faces {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.kk-face {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 12px 18px;
  border: 1px solid var(--hair);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  min-height: 168px;
}
.kk-face:active { transform: scale(0.98); }
.kk-face b { font-size: 14.5px; font-weight: 800; color: var(--navy); text-align: center; }
.kk-face em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted-2); }
.kk-av {
  width: 72px; height: 72px; border-radius: 22px;
  display: grid; place-items: center;
  font-size: 22px; font-weight: 800; color: #fff;
  background: #0E2A5C;
  overflow: hidden;
}
.kk-av.xl { width: 96px; height: 96px; border-radius: 28px; font-size: 28px; }
.kk-av.c-blue { background: #1B3D7E; }
.kk-av.c-sky { background: #EAF0FB; color: #1B3D7E; }
.kk-av.c-mist { background: #E3E9F4; color: #8A99B8; }
.kk-av.has-pic { background: #D9DEE8; color: transparent; }
.kk-av img { width: 100%; height: 100%; object-fit: cover; }
.kk-pin { width: min(360px, 100%); margin: 0 auto; text-align: center; }
.kk-pin.admin {
  position: fixed; inset: 0; z-index: 20;
  background: rgba(16, 32, 61, 0.46);
  display: flex; align-items: center; justify-content: center;
  width: auto; margin: 0; padding: 24px;
}
.kk-pin-card {
  position: relative;
  width: min(360px, 100%);
  padding: 28px 22px 22px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
.kk-pin-h { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.kk-dots { display: flex; gap: 12px; justify-content: center; margin-bottom: 18px; }
.kk-dots i {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--navy);
  background: transparent;
}
.kk-dots i.on { background: var(--navy); }
.kk-keys {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.kk-key {
  height: 64px;
  border: 1px solid var(--hair);
  border-radius: 14px;
  background: #fff;
  color: var(--navy);
  font-size: 22px;
  font-weight: 800;
}
.kk-key:active { transform: scale(0.96); background: var(--azul-50); }
.kk-key.go { background: var(--orange); color: #fff; border-color: var(--orange); }
.kk-admin-x {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: none;
  color: var(--muted-2);
  font-weight: 700;
  font-size: 13px;
}
.kk-who { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px 0 20px; }
.kk-who h2 { font-size: 28px; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; }
.kk-who p { font-weight: 600; color: var(--muted-2); }
.kk-st {
  margin: 6px 0 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--azul-50);
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}
.kk-acts { width: min(420px, 100%); display: flex; flex-direction: column; gap: 10px; }
.kk-back {
  align-self: flex-start;
  border: 0;
  background: none;
  color: var(--muted-2);
  font-weight: 700;
  font-size: 13px;
  padding: 4px 0 8px;
}
.kk-qr { display: flex; flex-direction: column; gap: 12px; width: min(520px, 100%); margin: 0 auto; }
.kk-cam {
  height: 120px;
  border: 1.5px dashed #D5DDE9;
  border-radius: 16px;
  background: #EEF2F8;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--navy);
}
.kk-cam span { font-weight: 800; }
.kk-cam em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--muted-2); margin-top: 4px; }
.kk-qr-in {
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--hair);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
}
.kk-qr-in:focus { outline: none; border-color: var(--navy); }
.kk-qr-list { display: flex; flex-direction: column; gap: 8px; }
.kk-qr-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--hair);
  border-radius: 14px;
  background: #fff;
  text-align: left;
}
.kk-qr-item img { border-radius: 8px; background: #fff; }
.kk-qr-item b { display: block; color: var(--navy); font-weight: 800; }
.kk-qr-item span { font-size: 12px; font-weight: 600; color: var(--muted-2); }
.kk-qr-modal { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 0; }
.kk-qr-modal img { border-radius: 12px; background: #fff; }
.kk-qr-modal b { color: var(--navy); }
.kk-qr-modal span { font-size: 12.5px; font-weight: 600; color: var(--muted-2); }
@media (max-width: 720px) {
  .kk { padding: 16px 16px 20px; }
  .kk-clock { font-size: 52px; }
  .kk-faces { grid-template-columns: repeat(2, 1fr); }
  .kk-key { height: 56px; }
}

body.kiosk-on { padding-bottom: 0; background: var(--canvas); }
.kk-av.c-navy { background: #0E2A5C; color: #fff; }
.kk-qr { width: min(880px, 100%); }
.kk-qr-hint { text-align: center; font-size: 13px; font-weight: 600; color: var(--muted-2); margin: 0 0 8px; }
.kk-qr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; }
.kk-qr-item {
  flex-direction: column;
  text-align: center;
  padding: 16px 12px 14px;
  min-height: 210px;
}
.kk-qr-item img { width: 140px; height: 140px; }
@media (max-width: 720px) {
  .kk-qr-list { grid-template-columns: repeat(2, 1fr); }
}

.jn-bar { position: relative; }
.jn-onbar {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  padding: 2px 7px;
  border-radius: 99px;
  background: #E8EEF6;
  color: var(--navy);
  pointer-events: none;
  z-index: 2;
}
.jn-onbar.ok { background: #D9F0E3; color: #1B7A45; }
.jn-onbar.bad { background: #F8D4D4; color: #B42318; }
.jn-onbar.pend { background: #FDE8C8; color: #9A6700; }
.eq-toggle { display: flex; gap: 0; border: 1px solid #D5DDEA; border-radius: 10px; overflow: hidden; }
.eq-toggle button {
  height: 34px; padding: 0 12px; border: 0; background: #fff;
  color: var(--muted); font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.eq-toggle button.on { background: var(--navy); color: #fff; }
.eq-dense { display: flex; flex-direction: column; gap: 0; background: #fff; border: 1px solid #E4EAF2; border-radius: 14px; overflow: hidden; flex: 1; }
.eq-drow {
  display: grid;
  grid-template-columns: 36px 1.4fr 1fr .8fr .6fr;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid #EEF2F7;
  cursor: pointer;
}
.eq-drow:last-child { border-bottom: 0; }
.eq-drow:hover { background: #F7F9FC; }
.eq-drow b { font-size: 13.5px; color: var(--navy); }
.eq-drow span, .eq-drow em, .eq-drow u { font-size: 12.5px; color: var(--muted); font-style: normal; text-decoration: none; font-weight: 600; }
.kk-admin { opacity: 0.22; font-size: 18px; letter-spacing: 0; font-weight: 800; }

.ex-range { margin: 2px 0 0; }
.st-mod .ex-range .chip { cursor: pointer; }

.kk-rgpd{margin:14px 18px 0;font-size:11.5px;font-weight:600;color:var(--muted);text-align:center;line-height:1.35;max-width:420px}

.eq-ghost.danger { color: #B03A34; border-color: #F0C9C6; margin-top: 10px; }


.eq-drow.hist {
  grid-template-columns: 1.4fr 1fr .9fr .9fr .8fr;
  cursor: default;
}
.eq-drow.hist.baja { opacity: 0.7; }
.eq-drow.hist.baja u { color: #B03A34; }
.eq-drow.hist i { font-size: 12px; color: var(--muted); font-style: normal; font-weight: 600; }
@media (max-width: 720px) {
  .eq-drow.hist { grid-template-columns: 1fr auto; }
  .eq-drow.hist span, .eq-drow.hist i { display: none; }
}


/* === movil 720 lote === */
@media (max-width: 720px) {
  .fc {
    min-height: calc(100dvh - var(--bot-h));
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .fc-bar {
    height: auto;
    min-height: 52px;
    padding: 8px 16px;
  }
  .fc-body { padding: 4px 16px 16px; }
  .fc-act { padding-top: 16px; padding-bottom: 4px; }
  .fc-btn { height: 64px; font-size: 20px; }

  .vf .jn-hero-r {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }
  .vf .jn-hero-r .jn-ghost,
  .vf .jn-hero-r .jn-orange {
    flex: 0 0 auto;
    flex-basis: auto;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
  }

  .em-fields,
  .em-flags,
  .em-hors,
  .em-fests {
    grid-template-columns: 1fr;
  }
  .em-fields .wide { grid-column: 1; }
  .em-in,
  input.em-in {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    font-size: 16px;
  }
  .em-hero {
    min-height: 168px;
    background-size: cover;
    background-position: center;
  }

  .eq-drow:not(.hist) {
    grid-template-columns: 32px 1fr auto;
    gap: 8px;
  }
  .eq-drow:not(.hist) span,
  .eq-drow:not(.hist) u { display: none; }
  .eq-drow b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .login { overflow-y: auto; min-height: 100dvh; }
  .login-card.auth { padding: 20px 16px 28vh; width: min(460px, calc(100% - 24px)); }
  .login-card.auth input,
  .login .fld input {
    font-size: 16px;
    min-height: 44px;
    height: 44px;
  }
  .auth-tabs button { height: 44px; }
  .login .btn.brand { position: relative; z-index: 2; }

  .topnav {
    gap: 8px;
    padding: 0 10px;
    padding-top: env(safe-area-inset-top, 0px);
    height: calc(56px + env(safe-area-inset-top, 0px));
  }
  .topnav .who,
  .topnav .btn-ghost { display: none; }
  .co-switch { min-width: 0; }
  .co-switch select {
    height: 44px;
    min-width: 0;
    max-width: 42vw;
    font-size: 14px;
  }
  .co-add { width: 44px; height: 44px; }

  .modboard {
    display: flex;
    flex-direction: column;
    overflow: visible;
    min-height: 0;
  }
  .hero-vid {
    position: relative !important;
    top: auto; right: auto; bottom: auto; left: auto;
    width: 100%;
    height: 168px;
    z-index: 0;
    order: -1;
    transform: none;
  }
  .mods {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 12px 14px 16px;
    transform: none;
  }
  .mod,
  .mod + .mod {
    transform: none;
  }
  .mod-pulse { position: relative; z-index: 1; }
}


.mod-offer {
  max-width: 1120px;
  margin: 12px auto 0;
  padding: 12px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  background: #0E2A5C;
  color: #fff;
  border-radius: 14px;
  box-sizing: border-box;
  width: calc(100% - 56px);
}
.mod-offer b { font-size: 16px; font-weight: 800; letter-spacing: -.3px; }
.mod-offer span { font-size: 13px; font-weight: 600; color: #A9BCE0; }
.mod-pulse { position: relative; }
.mod-pulse .mp-kicker {
  position: absolute;
  left: 28px; top: -18px;
  font-size: 11px; font-weight: 800; letter-spacing: 1.4px;
  text-transform: uppercase; color: #8A99B8; text-decoration: none;
}
@media (max-width: 720px) {
  .mod-offer { width: calc(100% - 32px); margin-left: 16px; margin-right: 16px; padding: 12px 14px; }
  .mod-pulse { margin-top: 8px; }
  .mod-pulse .mp-kicker { display: none; }
}


/* === movil 720 chips/cnae === */
@media (max-width: 720px) {
  .jn-card, .vf .jn-card, .jn-main { overflow: visible; }
  .jn-card-h { align-items: flex-start; }
  .jn .chips, .vf .chips, .eq .chips {
    width: 100%;
    margin: 8px 0 0 !important;
    flex-wrap: wrap;
  }
  .chip {
    height: 34px;
    padding: 0 10px;
    font-size: 12px;
    flex: 0 1 auto;
  }

  .em { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .em-hero { min-width: 0; }
  .em-hero-l, .em-hero-l > div { min-width: 0; max-width: 100%; }
  .em-hero h1 {
    font-size: 28px;
    letter-spacing: -0.6px;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
  }
  .em-hero p {
    font-size: 13px;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
  }
  .em-fields { grid-template-columns: 1fr !important; }
  .em-fields label { min-width: 0; max-width: 100%; }
  .em-in, input.em-in {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    word-break: break-word;
  }
}


/* === movil 720 horas/vid/iban === */
@media (max-width: 720px) {
  .jn-hours,
  .jn .jn-hours {
    display: flex !important;
    padding-left: 64px !important;
    padding-right: 6px !important;
    font-size: 10px !important;
    letter-spacing: 0 !important;
    gap: 0 !important;
  }
  .jn-hours span,
  .jn .jn-hours span,
  .jn-hours span:last-child,
  .jn .jn-hours span:last-child {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    text-align: center !important;
  }

  .page { display: flex; flex-direction: column; }
  .page > .wrap,
  .page .modboard { display: contents; }
  .page > .stage { order: 1; }
  .hero-vid {
    order: 2;
    position: relative !important;
    top: auto !important; right: auto !important; bottom: auto !important; left: auto !important;
    width: 100% !important;
    height: 168px !important;
    max-height: 168px !important;
  }
  .mod-offer { order: 3; width: calc(100% - 32px); margin: 12px 16px 0; }
  .mod-pulse { order: 4; }
  .mods { order: 5; width: 100%; }
  .page .fine-p { order: 6; padding: 0 16px 20px; }

  .em-fields { grid-template-columns: 1fr !important; }
  .em-fields .wide { grid-column: 1 / -1 !important; }
  .em-fields label { min-width: 0; max-width: 100%; }
  input.em-in,
  .em-in {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    font-size: 13px !important;
    font-weight: 700;
    padding: 0 10px !important;
    overflow-x: auto;
    text-overflow: clip;
  }
}
