/* ============================================================
   sitePMO · v7.4 — Landing
   Clara, de producto primero: hero centrado, tablero de trabajo
   que cambia con las casillas, estados de color, pestañas por rol
   y capturas reales de la plataforma. Figtree alojada en el sitio.
   Solo la navegación es fija y no hay código atado al scroll.
   ============================================================ */
@font-face { font-family: 'Figtree'; font-style: normal; font-display: swap; font-weight: 300 900;
  src: url(fonts/figtree-var.woff2) format('woff2-variations'), url(fonts/figtree-var.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Figtree'; font-style: normal; font-display: swap; font-weight: 300 900;
  src: url(fonts/figtree-var-ext.woff2) format('woff2-variations'), url(fonts/figtree-var-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --ink: #1c1f3b; --ink-2: #4b5068; --ink-3: #7a7f96; --line: #e3e6ef; --line-2: #eef0f6;
  --bg: #ffffff; --soft: #f5f6fb; --navy: #13163a;
  --azul: #2f5bff; --azul-d: #1f45e0; --azul-s: #e9eeff;
  --verde: #12b76a; --ambar: #f79009; --rojo: #f04438; --morado: #7a5af8; --celeste: #2e90fa; --rosa: #ee46bc; --gris: #c3c7d4;
  --f: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px; --gut: 24px;
  --sh: 0 1px 2px rgba(28,31,59,.06), 0 18px 48px -18px rgba(28,31,59,.22);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body.mx { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--f); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.mx img { max-width: 100%; height: auto; display: block; }
.mx a { color: inherit; }
:where(.mx) :is(h1, h2, h3) { margin: 0; text-wrap: balance; }
:where(.mx) p { margin: 0; }
.mx :focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; border-radius: 6px; }
.mx-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.mx-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.mx-skip:focus { left: 8px; }
.mut { color: var(--ink-3); }

/* ---------- botones (píldora) ---------- */
.mx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 24px; border-radius: 999px; background: var(--azul); color: #fff !important; font: 600 16px/1 var(--f); text-decoration: none; border: 2px solid var(--azul); transition: background .15s, border-color .15s, box-shadow .15s; }
.mx-btn:hover { background: var(--azul-d); border-color: var(--azul-d); box-shadow: 0 8px 20px -8px rgba(47,91,255,.6); }
.mx-btn-sm { height: 40px; padding: 0 18px; font-size: 15px; }
.mx-btn-lg { height: 54px; padding: 0 30px; font-size: 17px; }
.mx-btn-line { background: #fff; color: var(--ink) !important; border-color: var(--ink); }
.mx-btn-line:hover { background: var(--ink); color: #fff !important; border-color: var(--ink); box-shadow: none; }
.mx-btn-white { background: #fff; border-color: #fff; color: var(--azul) !important; }
.mx-btn-white:hover { background: #eef2ff; border-color: #eef2ff; }
.mx-btn-ghost { background: transparent; border-color: rgba(255,255,255,.7); }
.mx-btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; box-shadow: none; }
.mx-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.mx-link { color: var(--azul) !important; font-weight: 650; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.mx-center { text-align: center; margin-top: 40px; }

/* ---------- navegación ---------- */
.mx-nav { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.mx-nav-in { display: flex; align-items: center; gap: 30px; height: 68px; }
.mx-logo img { height: 30px; width: auto; }
.mx-links { display: flex; gap: 26px; }
.mx-links a, .mx-nav-login { text-decoration: none; font-size: 15.5px; font-weight: 500; color: var(--ink); }
.mx-links a:hover, .mx-nav-login:hover { color: var(--azul); }
.mx-nav-cta { margin-left: auto; display: flex; align-items: center; gap: 20px; }

/* ============================================================
   HERO
   ============================================================ */
.mx-hero { padding: 72px 0 96px; background: linear-gradient(180deg, #fff 0%, #fff 52%, var(--soft) 52%); }
.mx-hero-in { text-align: center; display: flex; flex-direction: column; align-items: center; }
.mx-hero h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.06; font-weight: 800; letter-spacing: -.035em; max-width: 15ch; }
.mx-lead { margin-top: 30px; font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 36em; }
.mx-hero .mx-ctas { justify-content: center; margin-top: 34px; }
.mx-note { margin-top: 14px; font-size: 14.5px; color: var(--ink-3); }

/* --- pestañas de vistas del hero --- */
.mx-vtabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 56px 0 22px; }
.mx-vtabs button { position: relative; overflow: hidden; height: 42px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 600 15px var(--f); color: var(--ink-2); cursor: pointer; }
.mx-vtabs button span { position: relative; z-index: 1; }
.mx-vtabs button i { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: #2f6f9f; transform-origin: 0 50%; transform: scaleX(0); }
.mx-vtabs button[aria-selected="true"] { border-color: #2f6f9f; color: #255a82; background: #eef5fb; }
.mx-vtabs button[aria-selected="true"] i { transform: scaleX(1); }
.mx-vtabs.auto button[aria-selected="true"] i { animation: mx-tick var(--dur, 6s) linear both; }
@keyframes mx-tick { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.mx-vtabs:hover button i { animation-play-state: paused; }

/* --- marco que escala la ventana (diseñada a 1200 × 680) --- */
.mx-appframe { position: relative; width: 100%; aspect-ratio: 1200 / 680; border-radius: 14px; box-shadow: 0 2px 4px rgba(28,31,59,.06), 0 40px 90px -30px rgba(28,31,59,.38); overflow: hidden; background: #d6dae0; }
.mx-appscale { position: absolute; left: 0; top: 0; width: 1200px; height: 680px; transform-origin: 0 0; transform: scale(var(--s, 1)); }

/* ============================================================
   RÉPLICA DEL EDITOR DE sitePMO (mismos tokens que app/app.css)
   ============================================================ */
.ap { --chrome: #e7eaee; --chrome-2: #dde1e6; --panel: #f3f5f7; --panel-2: #eaedf1; --card: #fff; --k: #23272e; --k2: #565d67; --k3: #8a919c; --ln: #c3c9d1; --ls: #d7dce1;
  --acc: #2f6f9f; --acc-d: #255a82; --acc-s: #d9e7f1; --bad: #b5443a; --ok: #2f7d4f; --warn: #b98322;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', 'Segoe UI Mono', Menlo, Consolas, monospace; --ui: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  width: 1200px; height: 680px; display: flex; flex-direction: column; background: var(--panel); color: var(--k); font: 13px/1.35 var(--ui); text-align: left; user-select: none; }
.ap svg { width: 16px; height: 16px; flex: none; }
.ap .inp { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border: 1px solid var(--ln); border-radius: 4px; background: #fff; font: 12px var(--mono); color: var(--k); }
.ap .btn { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border: 1px solid var(--ln); border-radius: 4px; background: #fff; font-size: 12.5px; }
.ap .btn.acc { background: var(--acc); border-color: var(--acc-d); color: #fff; }
.ap .mut { color: var(--k3); }
.ap-tb { height: 30px; display: flex; align-items: center; padding: 0 12px; background: var(--chrome); border-bottom: 1px solid var(--ls); font-size: 13px; }
.ap-tb .back { color: var(--acc); font-weight: 600; }
.ap-tb .ttl { margin: 0 auto; display: flex; align-items: center; gap: 6px; color: var(--k3); }
.ap-tb .ttl svg { color: var(--acc); width: 14px; } .ap-tb .ttl b { color: var(--k); }
.ap-tb .bell svg { color: var(--k2); }
.ap-mb { height: 26px; display: flex; align-items: center; gap: 16px; padding: 0 12px; background: var(--chrome); border-bottom: 1px solid var(--ls); }
.ap-tools { height: 46px; display: flex; align-items: center; gap: 4px; padding: 0 10px; background: var(--chrome); border-bottom: 1px solid var(--ln); }
.ap-tools .tool { display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 50px; font-size: 10.5px; color: var(--k2); }
.ap-tools .tool svg { width: 17px; height: 17px; }
.ap-tools .tool.acc { color: var(--acc); }
.ap-tools .sep { width: 1px; height: 28px; background: var(--ls); margin: 0 6px; }
.ap-tools .dates { margin-left: auto; display: flex; align-items: center; gap: 6px; font: 600 10.5px var(--mono); letter-spacing: .08em; color: var(--k2); }
.ap-body { flex: 1; display: flex; min-height: 0; }
.ap-rail { width: 178px; flex: none; background: var(--panel); border-right: 1px solid var(--ls); padding: 8px 8px; display: flex; flex-direction: column; gap: 1px; overflow: hidden; }
.ap-rail small { font: 600 9.5px var(--mono); letter-spacing: .12em; color: var(--k3); margin: 8px 4px 4px; }
.ap-rail .proj { white-space: nowrap; overflow: hidden; display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 8px; border: 1px solid var(--ln); border-radius: 5px; background: #fff; font-weight: 600; }
.ap-rail .proj i { margin-left: auto; color: var(--k3); font-style: normal; }
.ap-rail .ri { position: relative; white-space: nowrap; display: flex; align-items: center; gap: 8px; height: 27px; padding: 0 8px; border-radius: 4px; color: var(--k); transition: background .25s, color .25s; }
.ap-rail .ri svg { color: var(--k2); width: 15px; }
.ap-rail .ri em { margin-left: auto; font: 10.5px var(--mono); font-style: normal; background: var(--panel-2); border-radius: 8px; padding: 0 6px; color: var(--k2); }
.ap-rail .ri.on { background: var(--acc-s); color: var(--acc-d); font-weight: 600; }
.ap-rail .ri.on svg { color: var(--acc); }
.ap-rail .ri.on::before { content: ''; position: absolute; left: -8px; top: 3px; bottom: 3px; width: 3px; background: var(--acc); }
.ap-main { flex: 1; position: relative; min-width: 0; overflow: hidden; background: #fff; }
.ap-sb { height: 24px; display: flex; align-items: center; gap: 16px; padding: 0 10px; background: var(--acc); color: #fff; font: 11.5px var(--mono); }
.ap-sb i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #7ee2a8; margin-right: 6px; }
.ap-sb .sp { flex: 1; }
.ap-v { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s .35s; padding: 0; }
.ap-v.on { opacity: 1; visibility: visible; transition: opacity .35s ease; }

/* Gantt */
.ap-sub { height: 40px; display: flex; align-items: center; gap: 6px; padding: 0 10px; border-bottom: 1px solid var(--ls); background: var(--panel); }
.ap-sub .seg { display: flex; border: 1px solid var(--ln); border-radius: 4px; overflow: hidden; margin-right: 8px; }
.ap-sub .seg > * { padding: 4px 11px; font-size: 12.5px; background: #fff; border-right: 1px solid var(--ls); }
.ap-sub .seg b { background: var(--acc); color: #fff; font-weight: 600; }
.ap-sub .chk { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.ap-sub .chk i { width: 13px; height: 13px; border-radius: 3px; background: var(--acc); }
.g-wrap { display: flex; height: calc(100% - 40px); }
.g-left { width: 360px; flex: none; border-right: 1px solid var(--ln); }
.g-h, .g-days { height: 32px; display: grid; align-items: center; border-bottom: 1px solid var(--ln); background: var(--panel); font: 600 10px var(--mono); letter-spacing: .08em; color: var(--k2); }
.g-h { grid-template-columns: 34px 1fr 62px 62px; padding: 0 8px; }
.g-r { display: grid; grid-template-columns: 34px 1fr 62px 62px; align-items: center; height: 31px; padding: 0 8px; border-bottom: 1px solid #eef0f3; }
.g-r .n { font: 11px var(--mono); color: var(--k3); }
.g-r .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 8px; }
.g-r .m { font: 11px var(--mono); color: var(--k2); }
.g-right { flex: 1; position: relative; min-width: 0; }
.g-days { grid-template-columns: repeat(var(--nd), 1fr); text-align: center; letter-spacing: 0; font-weight: 400; }
.g-days span.we { background: #e4e8ee; height: 100%; display: grid; place-items: center; }
.g-days span.hoy { color: #d23c32; font-weight: 700; }
.g-grid { position: relative; background-image: linear-gradient(90deg, #eef0f3 1px, transparent 1px); background-size: calc(100% / var(--nd)) 100%; height: calc(100% - 32px); }
.g-lane { position: relative; height: 31px; border-bottom: 1px solid #eef0f3; }
.gb { position: absolute; top: 9px; height: 13px; border-radius: 2px; transform-origin: 0 50%; }
.gb.s-done { background: #3a9d4f; }
.gb.s-curso { background: linear-gradient(90deg, var(--acc) var(--av), #b9d1e6 var(--av)); }
.gb.s-late { background: linear-gradient(90deg, #d9534f var(--av), #f2b8b5 var(--av)); }
.gb.s-pend { background: #c3c9d1; }
.gp { position: absolute; top: 8px; font: 10.5px var(--mono); color: var(--k2); }
.g-today { position: absolute; top: 0; bottom: 0; left: var(--today); width: 2px; margin-left: -1px; background: #d23c32; transform-origin: 50% 0; }
.g-today span { position: absolute; top: 4px; left: 4px; background: #d23c32; color: #fff; font: 700 9.5px var(--mono); padding: 1px 4px; border-radius: 2px; }
.v-gantt.play .g-r { animation: ap-in .35s ease calc(var(--i) * .05s) both; }
.v-gantt.play .gb { animation: ap-bar .7s cubic-bezier(.3,.7,.2,1) calc(.25s + var(--i) * .07s) both; }
.v-gantt.play .gp { animation: ap-in .3s ease calc(.9s + var(--i) * .07s) both; }
.v-gantt.play .g-today { animation: ap-drop .6s cubic-bezier(.3,.7,.2,1) 1.3s both; }

/* Dashboard */
.v-dash { padding: 14px 16px; background: var(--panel); }
.d-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.d-h b { font-size: 16px; }
.d-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.kp { background: #fff; border: 1px solid var(--ls); border-radius: 5px; padding: 9px 11px; }
.kp small { display: block; font: 600 9.5px var(--mono); letter-spacing: .08em; color: var(--k3); }
.kp b { font: 700 17px var(--mono); }
.kp b.warn, .c-k b.warn { color: var(--warn); } .kp b.bad { color: var(--bad); }
.d-sem { margin-top: 12px; background: #fff; border: 1px solid var(--ls); border-radius: 5px; }
.d-sem-h { padding: 9px 12px; border-bottom: 1px solid var(--ls); font-weight: 600; font-size: 13px; }
.d-sem-b { display: grid; grid-template-columns: 70px 1fr 380px; gap: 22px; align-items: center; padding: 16px 16px; }
.d-sem .light { display: flex; flex-direction: column; gap: 9px; padding: 10px; background: #1f252c; border-radius: 12px; box-shadow: inset 0 0 0 2px #2c333b; }
.d-sem .light i { width: 40px; height: 40px; border-radius: 50%; background: #0e1216; box-shadow: inset 0 2px 6px rgba(0,0,0,.8); }
.d-sem .light i.y { background: radial-gradient(circle at 45% 40%, #f3cf6a, #c4932a 70%); box-shadow: 0 0 18px rgba(230,180,60,.55); }
.d-sem .tx b { color: var(--warn); font-size: 18px; }
.d-sem .tx p { color: var(--k2); margin: 4px 0 8px; }
.d-sem .tx code { font: 10.5px var(--mono); color: var(--k3); }
.d-sem .bars > div { display: grid; grid-template-columns: 40px 1fr 36px; align-items: center; gap: 10px; margin-bottom: 8px; }
.d-sem .bars small { font: 600 10px var(--mono); letter-spacing: .08em; color: var(--k3); }
.d-sem .bars b { font: 700 11.5px var(--mono); text-align: right; }
.d-sem .tr { height: 10px; border-radius: 5px; background: #e6e9ed; overflow: hidden; }
.d-sem .tr i { display: block; height: 100%; width: var(--w); border-radius: 5px; transform-origin: 0 50%; }
.d-sem .tr .re { background: #2f9e44; } .d-sem .tr .pl { background: #9aa2ad; }
.d-sem .pills { display: flex !important; flex-wrap: wrap; gap: 6px; grid-template-columns: none !important; }
.d-sem .pills span { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border: 1px solid var(--ln); border-radius: 12px; font-size: 11.5px; }
.d-sem .pills i { width: 7px; height: 7px; border-radius: 50%; } .d-sem .pills i.w { background: var(--warn); } .d-sem .pills i.b { background: var(--bad); } .d-sem .pills i.a { background: var(--acc); }
.d-sem .pills b { font-family: var(--mono); }
.v-dash.play .kp { animation: ap-in .35s ease calc(var(--q, 0) * .05s) both; }
.v-dash.play .tr i { animation: ap-bar 1s cubic-bezier(.3,.7,.2,1) .9s both; }
.v-dash.play .light i { animation: ap-off 1.4s steps(1) .3s both; }
.v-dash.play .light i.r { animation-name: ap-r; } .v-dash.play .light i.g { animation-name: ap-g; } .v-dash.play .light i.y { animation-name: ap-y; }
@keyframes ap-r { 0% { background: radial-gradient(circle at 45% 40%, #f08a80, #b5443a 70%); box-shadow: 0 0 18px rgba(220,80,70,.6); } 30% { background: #0e1216; box-shadow: inset 0 2px 6px rgba(0,0,0,.8); } }
@keyframes ap-g { 0%, 30% { background: #0e1216; } 31% { background: radial-gradient(circle at 45% 40%, #8fe0a0, #2f9e44 70%); box-shadow: 0 0 18px rgba(60,180,90,.55); } 62% { background: #0e1216; box-shadow: inset 0 2px 6px rgba(0,0,0,.8); } }
@keyframes ap-y { 0%, 62% { background: #0e1216; box-shadow: inset 0 2px 6px rgba(0,0,0,.8); } }

/* Curva S */
.v-curva { padding: 14px 16px; background: var(--panel); }
.d-h .mut { font-size: 12px; display: flex; align-items: center; gap: 6px; }
.c-card { background: #fff; border: 1px solid var(--ls); border-radius: 5px; padding: 12px 14px; }
.c-t { display: flex; align-items: center; font-weight: 600; margin-bottom: 4px; }
.c-t .lg { margin-left: auto; display: flex; align-items: center; gap: 6px; font-weight: 400; font-size: 11.5px; color: var(--k2); }
.c-t .lg i { width: 16px; height: 3px; display: inline-block; margin-left: 8px; }
.c-t .lg i.pl { background: #9aa2ad; } .c-t .lg i.re { background: #2f9e44; } .c-t .lg i.pr { background: repeating-linear-gradient(90deg, #d8a23a 0 4px, transparent 4px 7px); }
.c-svg { width: 100% !important; height: 300px !important; display: block; }
.c-svg .gl { stroke: #eceef2; } .c-svg .ax { font: 10px var(--mono); fill: #8a919c; }
.c-svg .pl { fill: none; stroke: #9aa2ad; stroke-width: 2.5; stroke-dasharray: 1200; }
.c-svg .re { fill: none; stroke: #2f9e44; stroke-width: 3; stroke-dasharray: 1200; }
.c-svg .pr { fill: none; stroke: #d8a23a; stroke-width: 2; stroke-dasharray: 5 4; }
.c-svg .ar { fill: rgba(47,158,68,.14); }
.c-svg .hoy { stroke: #d23c32; stroke-width: 1.5; } .c-svg .hoyb { fill: #d23c32; } .c-svg .hoyt { font: 700 9px var(--mono); fill: #fff; }
.c-k { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 8px; }
.c-k div { border: 1px solid var(--ls); border-radius: 5px; padding: 6px 9px; }
.c-k small { display: block; font: 600 9px var(--mono); letter-spacing: .08em; color: var(--k3); }
.c-k b { font: 700 14px var(--mono); }
.v-curva.play .pl { animation: ap-draw 1.6s ease .2s both; }
.v-curva.play .re { animation: ap-draw 1.4s ease .7s both; }
.v-curva.play .ar, .v-curva.play .pr { animation: ap-in .6s ease 1.9s both; }
.v-curva.play .hoy, .v-curva.play .hoyb, .v-curva.play .hoyt { animation: ap-in .4s ease 1.6s both; }
.v-curva.play .c-k div { animation: ap-in .35s ease calc(2s + var(--q, 0) * .06s) both; }
@keyframes ap-draw { from { stroke-dashoffset: 1200; } to { stroke-dashoffset: 0; } }

/* Kanban */
.v-kanban { padding: 10px 12px; background: var(--panel); }
.k-bar { display: flex; gap: 8px; margin-bottom: 10px; } .k-bar .w { width: 260px; color: var(--k3); }
.k-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.k-col { background: var(--panel-2); border-radius: 6px; padding: 8px; min-height: 470px; }
.k-ch { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 8px; border-bottom: 2px solid var(--kc); margin-bottom: 8px; }
.k-ch em { font: 11px var(--mono); font-style: normal; background: #fff; border-radius: 8px; padding: 0 7px; }
.k-ns { --kc: #9aa2ad; } .k-ec { --kc: var(--acc); } .k-at { --kc: #d9534f; } .k-co { --kc: #3a9d4f; }
.k-card { position: relative; background: #fff; border: 1px solid var(--ls); border-left: 3px solid var(--kc); border-radius: 5px; padding: 8px 10px; margin-bottom: 8px; display: grid; gap: 4px; }
.k-card b { font-size: 12.5px; }
.k-card .et { justify-self: start; font-size: 10.5px; padding: 1px 7px; border-radius: 8px; background: var(--acc-s); color: var(--acc-d); }
.k-card .dt { font: 10.5px var(--mono); color: var(--k3); }
.k-card .pb { height: 5px; border-radius: 3px; background: #e6e9ed; overflow: hidden; } .k-card .pb i { display: block; height: 100%; width: var(--w); background: var(--kc); }
.k-card .ft { display: flex; justify-content: space-between; align-items: center; }
.k-card .pc { font: 10.5px var(--mono); color: var(--k2); }
.k-card .av { width: 22px; height: 22px; border-radius: 50%; background: var(--acc); color: #fff; font: 700 9px/22px var(--ui); text-align: center; font-style: normal; }
.v-kanban.play .k-card { animation: ap-in .35s ease calc(var(--j) * .08s + .1s) both; }
/* una tarjeta pasa de «En curso» a «Completadas» */
.v-kanban.play .k-card.mv { animation: ap-move 1.6s cubic-bezier(.6,0,.2,1) 1.4s both; z-index: 2; }
@keyframes ap-move { 0% { transform: none; box-shadow: none; } 20% { transform: translateY(-6px) rotate(-1.5deg); box-shadow: 0 14px 28px rgba(0,0,0,.18); } 85% { transform: translate(var(--mx, 520px), var(--my, 140px)) rotate(1deg); box-shadow: 0 14px 28px rgba(0,0,0,.18); } 100% { transform: translate(var(--mx, 520px), var(--my, 140px)); box-shadow: none; } }
.k-co .k-card.done-mv { border-left-color: #3a9d4f; } .k-co .k-card.done-mv .pb i { background: #3a9d4f; width: 100% !important; transition: width .5s; }

/* Simulación */
.v-sim { padding: 12px 16px; background: #fff; overflow: hidden; }
.s-ch { border: 1px solid var(--ls); border-radius: 6px; padding: 10px 12px; }
.s-ch .row { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.s-ch .w { width: 330px; } .s-ch .n { width: 60px; }
.s-ch .btn.acc { margin-left: auto; }
.s-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.s-card { border: 1px solid var(--ls); border-radius: 7px; padding: 10px 12px; border-top: 3px solid var(--acc); }
.s-card.x { border-top-color: #d9a02e; }
.s-card .h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.s-card .tag { font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 9px; background: var(--acc-s); color: var(--acc-d); } .s-card .tag.ext { background: #f7edd4; color: #7a5a10; }
.s-card .k { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 6px; }
.s-card .k small { display: block; font-size: 10.5px; color: var(--k3); }
.s-card .k b { font-size: 14px; } .s-card .k b.bad { color: #b5443a; } .s-card .k span { font-size: 11.5px; }
.s-card .base { margin-top: 6px; font-size: 11.5px; padding: 4px 8px; border-radius: 5px; background: #f6ddd8; color: #8f3a2d; font-weight: 600; }
.s-g { margin-top: 10px; }
.s-r { display: grid; grid-template-columns: 230px 1fr 60px; gap: 10px; align-items: center; height: 40px; border-bottom: 1px solid #eef0f3; }
.s-r .nm b { display: block; font-size: 12.5px; } .s-r .nm small { font-size: 10.5px; color: var(--k3); }
.s-r .tl { position: relative; height: 24px; }
.s-r .tl i { position: absolute; border-radius: 2px; }
.s-r .tl i.o { top: 2px; height: 7px; border: 1.5px dashed #8fa6bb; }
.s-r .tl i.nw { top: 13px; height: 8px; background: #b5443a; }
.s-r .tl i.nw.d { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--acc); }
.s-r .dl { text-align: right; } .s-r .dl b { color: #b5443a; font-size: 12.5px; }
.v-sim.play .s-ch .n { animation: ap-flash .9s ease .2s both; }
.v-sim.play .s-card { animation: ap-in .4s ease calc(.7s + var(--c, 0) * .12s) both; }
.v-sim.play .s-card.x { --c: 1; }
.v-sim.play .s-r { animation: ap-in .3s ease calc(1s + var(--i) * .08s) both; }
.v-sim.play .s-r .nw { animation: ap-slide .8s cubic-bezier(.3,.7,.2,1) calc(1.2s + var(--i) * .12s) both; }
@keyframes ap-slide { from { transform: translateX(-60px); opacity: .2; } }
@keyframes ap-flash { 0%, 100% { box-shadow: none; } 40% { box-shadow: 0 0 0 3px rgba(47,111,159,.35); } }

@keyframes ap-in { from { opacity: 0; transform: translateY(5px); } }
@keyframes ap-bar { from { transform: scaleX(0); } }
@keyframes ap-drop { from { transform: scaleY(0); } }
@keyframes ap-off { from { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ap * { animation: none !important; } .ap-v { transition: none; } }
/* ============================================================
   SECCIONES
   ============================================================ */
.mx-sec { padding: 110px 0; }
.mx-soft { background: var(--soft); }
.mx-head { text-align: center; max-width: 780px; margin: 0 auto 52px; }
.mx-head h2, .mx-photo-tx h2, .mx-faq-in h2, .mx-final h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; }
.mx-head p { margin-top: 16px; font-size: 19px; color: var(--ink-2); }

/* --- pestañas por rol --- */
.mx-tablist { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.mx-tablist button { height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 600 15.5px var(--f); color: var(--ink); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.mx-tablist button:hover { border-color: var(--ink); }
.mx-tablist button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.mx-tabpanel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: 56px; align-items: center; }
.mx-tabpanel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .mx-tabpanel.play .shot { animation: mx-shot .55s cubic-bezier(.2,.7,.2,1) both; } .mx-tabpanel.play .tx { animation: mx-row .45s ease both; } }
@keyframes mx-shot { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.mx-tabpanel h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.mx-tabpanel p { margin-top: 14px; color: var(--ink-2); }
.mx-tabpanel ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.mx-tabpanel li { position: relative; padding-left: 32px; font-weight: 500; }
.mx-tabpanel li::before { content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--azul-s); }
.mx-tabpanel li::after { content: ''; position: absolute; left: 7px; top: 8px; width: 8px; height: 5px; border-left: 2.5px solid var(--azul); border-bottom: 2.5px solid var(--azul); transform: rotate(-45deg); }
.shot { border-radius: 16px; overflow: hidden; box-shadow: var(--sh); border: 1px solid var(--line); background: #fff; }
.shot img { width: 100%; }

/* --- simulación (Gantt interactivo, versión clara) --- */
.hx-plan { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 26px 18px; box-shadow: var(--sh); --d: 0; }
.hx-plan-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-bottom: 14px; }
.hx-plan-h .t b { font-size: 18px; font-weight: 750; }
.hx-plan-h .mut { margin-left: 6px; font-size: 14px; }
.hx-plan-h .hint { margin-left: auto; font-size: 14.5px; font-weight: 600; color: #b25e00; background: #fff3e0; padding: 6px 12px; border-radius: 999px; }
.hx-plan-h .hint.done { color: var(--ink-2); background: var(--soft); }
.hx-grid { position: relative; --nmw: 230px; --dlw: 132px; padding-top: 26px; }
.hx-axis { position: absolute; top: 0; height: 18px; left: calc(var(--nmw) + 16px); right: calc(var(--dlw) + 16px); }
.hx-axis span { position: absolute; transform: translateX(-50%); font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.hx-today, .hx-baseline { position: absolute; top: 22px; bottom: 0; pointer-events: none; z-index: 2; left: calc(var(--nmw) + 16px + (100% - var(--nmw) - var(--dlw) - 32px) * var(--x) / 100); }
.hx-today { --x: var(--todayN); width: 2px; margin-left: -1px; background: var(--rojo); }
.hx-baseline { --x: var(--baseN); width: 0; border-left: 2px dashed #9aa1b8; }
.hx-today span, .hx-baseline span { position: absolute; bottom: 100%; left: 0; transform: translate(-50%, -2px); font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.hx-today span { background: var(--rojo); color: #fff; padding: 1px 8px; border-radius: 999px; }
.hx-baseline span { color: var(--ink-2); top: 0; bottom: auto; transform: translate(6px, 16px); }
.hx-row { display: grid; grid-template-columns: var(--nmw) minmax(0, 1fr) var(--dlw); gap: 16px; align-items: center; min-height: 52px; border-top: 1px solid var(--line-2); }
.hx-row .nm { line-height: 1.25; min-width: 0; }
.hx-row .nm b { display: block; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-row .nm small { font-size: 12.5px; color: var(--ink-3); }
.hx-row.ext { border-top: 1px dashed #f3c27a; }
.hx-row.ext .nm small { color: #b25e00; font-weight: 600; }
.hx-row .tl { position: relative; height: 22px; }
.hx-row .bar, .hx-row .ghost { position: absolute; top: 3px; height: 16px; border-radius: 8px; }
.hx-row .ghost { border: 1.5px dashed #b4bacb; opacity: 0; transition: opacity .3s; }
.hx-row.moved .ghost { opacity: 1; }
.hx-row .bar { background: #d5e3fe; transform-origin: 0 50%; transition: left .5s cubic-bezier(.2,.7,.2,1), width .5s cubic-bezier(.2,.7,.2,1), background .3s; }
.hx-row .bar::before { content: ''; position: absolute; inset: 0; width: var(--av); border-radius: inherit; background: var(--celeste); }
.hx-row .bar.done { background: var(--verde); } .hx-row .bar.done::before { display: none; }
.hx-row.moved .bar { background: #fedcaa; } .hx-row.moved .bar::before { background: var(--ambar); }
.hx-row.late .bar { background: #fecdca; } .hx-row.late .bar::before { background: var(--rojo); }
.hx-row .bar.ms { width: 16px !important; margin-left: -8px; transform: rotate(45deg) scale(.82); border-radius: 3px; background: var(--ink); }
.hx-row .bar.ms::before { display: none; }
.hx-row.moved .bar.ms { background: var(--ambar); } .hx-row.late .bar.ms { background: var(--rojo); }
.hx-row .dl { text-align: right; font-size: 13.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.25; }
.hx-row .dl b { display: block; color: #c26a00; font-weight: 700; }
.hx-row.late .dl b { color: #d92d20; }
.hx-row .dl small { display: block; font-size: 12px; color: var(--ink-3); }
.hx-row .grip { position: absolute; right: -10px; top: -7px; width: 20px; height: 30px; border-radius: 8px; background: #fff; cursor: ew-resize; touch-action: none; z-index: 3; box-shadow: 0 0 0 2.5px var(--ambar), 0 4px 12px rgba(28,31,59,.25); }
.hx-row .grip::before { content: ''; position: absolute; left: 6.5px; right: 6.5px; top: 9px; bottom: 9px; border-left: 2px solid var(--ambar); border-right: 2px solid var(--ambar); }
.hx-row .grip::after { content: ''; position: absolute; inset: -14px -16px; }
.hx-row .grip:hover, .hx-plan.dragging .grip { box-shadow: 0 0 0 4px var(--ambar), 0 4px 14px rgba(28,31,59,.3); }
.hx-plan.dragging { cursor: ew-resize; user-select: none; }
.hx-plan.dragging .bar { transition-duration: .12s; }
.hx-plan-f { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15.5px; }
.hx-plan-f .who { color: #b25e00; font-weight: 600; font-size: 14.5px; }
.hx-plan-f .who:empty { display: none; }
.lamp { display: inline-flex; gap: 5px; padding: 5px 7px; border-radius: 999px; background: var(--navy); }
.lamp i { width: 12px; height: 12px; border-radius: 50%; background: #3a3f63; transition: background .25s, box-shadow .25s; }
.lamp.g i:nth-child(3), .lamp.sem-g i:nth-child(3) { background: #32d583; box-shadow: 0 0 8px #32d583; }
.lamp.y i:nth-child(2), .lamp.sem-y i:nth-child(2) { background: #fdb022; box-shadow: 0 0 8px #fdb022; }
.lamp.r i:nth-child(1), .lamp.sem-r i:nth-child(1) { background: #f97066; box-shadow: 0 0 8px #f97066; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-hero]:not(.play) .hx-row .bar { transform: scaleX(0); }
  [data-hero].play .hx-row .bar { animation: hx-bar .7s cubic-bezier(.3,.7,.2,1) calc(.1s + var(--i) * .08s) both; }
  [data-hero].play .hx-row .bar.ms { animation-name: hx-ms; }
}
@keyframes hx-bar { from { transform: scaleX(0); } }
@keyframes hx-ms { from { transform: rotate(45deg) scale(0); } }
.mx-sim-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.mx-sim-steps > div { background: #fff; border-radius: 16px; padding: 22px 24px; border: 1px solid var(--line); }
.mx-sim-steps b { font-size: 17px; }
.mx-sim-steps p { margin-top: 6px; color: var(--ink-2); font-size: 15.5px; }

/* --- galería de vistas --- */
.mx-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 330px; gap: 22px; }
.mx-tile { position: relative; display: flex; flex-direction: column; padding: 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; cursor: zoom-in; text-align: left; box-shadow: 0 1px 2px rgba(28,31,59,.05); transition: box-shadow .2s, transform .2s; font: inherit; color: inherit; }
.mx-tile.w { grid-column: span 2; }
.mx-tile picture { flex: 1; min-height: 0; display: block; }
.mx-tile img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.mx-tile .cap { display: block; padding: 14px 18px; font-weight: 650; border-top: 1px solid var(--line); }
.mx-tile:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.mx-zoom { border: 0; padding: 0; border-radius: 16px; max-width: min(1280px, 94vw); width: 100%; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.mx-zoom::backdrop { background: rgba(19,22,58,.72); }
.mx-zoom img { width: 100%; }
.mx-zoom p { padding: 12px 18px; font-weight: 650; }
.mx-zoom .x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(19,22,58,.8); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }

/* --- foto con tarjetas --- */
.mx-photo-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.mx-photo { position: relative; }
.mx-photo picture img { border-radius: 24px; aspect-ratio: 4 / 3; object-fit: cover; object-position: 40% 50%; width: 100%; }
.float { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--sh); }
.float b { display: block; font-size: 14.5px; }
.float small { font-size: 13px; color: var(--ink-2); }
.float .st { width: auto; height: 30px; margin: 0; border-radius: 8px; padding: 0 12px; font-size: 13px; }
.float.f1 { left: -28px; bottom: 44px; }
.float.f2 { right: -22px; top: 36px; }
.mx-photo-tx p { margin-top: 18px; font-size: 18.5px; color: var(--ink-2); }
.mx-facts { display: flex; gap: 36px; margin: 32px 0 0; flex-wrap: wrap; }
.mx-facts div { display: flex; flex-direction: column; }
.mx-facts dt { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--azul); }
.mx-facts dd { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* --- seguridad --- */
.mx-dark { background: var(--navy); color: #fff; padding: 110px 0; }
.mx-dark .mx-head h2 { color: #fff; }
.mx-dark .mx-head p { color: rgba(255,255,255,.75); }
.mx-sec-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mx-sec-grid li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 24px; }
.mx-sec-grid li::before { content: ''; display: block; width: 36px; height: 36px; border-radius: 10px; margin-bottom: 16px; background: var(--k, var(--azul)); }
.mx-sec-grid li:nth-child(2) { --k: var(--verde); } .mx-sec-grid li:nth-child(3) { --k: var(--morado); } .mx-sec-grid li:nth-child(4) { --k: var(--ambar); } .mx-sec-grid li:nth-child(5) { --k: var(--celeste); } .mx-sec-grid li:nth-child(6) { --k: var(--rosa); }
.mx-sec-grid b { display: block; font-size: 17.5px; margin-bottom: 6px; }
.mx-sec-grid span { color: rgba(255,255,255,.72); font-size: 15.5px; }

/* --- cuentas --- */
.mx-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.mx-plans article { border: 1.5px solid var(--line); border-radius: 20px; padding: 30px 28px; border-top: 6px solid var(--k); background: #fff; }
.mx-plans article.on { box-shadow: var(--sh); }
.mx-plans h3 { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.mx-plans p { margin-top: 6px; color: var(--ink-2); }
.mx-plans ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-size: 15.5px; }
.mx-plans li { position: relative; padding-left: 26px; }
.mx-plans li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 9px; height: 5px; border-left: 2.5px solid var(--k); border-bottom: 2.5px solid var(--k); transform: rotate(-45deg); }

/* --- preguntas --- */
.mx-faq-in { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 56px; }
.mx-faq details { background: #fff; border-radius: 14px; margin-bottom: 12px; border: 1px solid var(--line); }
.mx-faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 650; font-size: 17px; position: relative; }
.mx-faq summary::-webkit-details-marker { display: none; }
.mx-faq summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--ink), var(--ink)) 50% / 14px 2.5px no-repeat, linear-gradient(var(--ink), var(--ink)) 50% / 2.5px 14px no-repeat; transition: transform .2s; }
.mx-faq details[open] summary::after { transform: rotate(45deg); }
.mx-faq details p { padding: 0 22px 20px; color: var(--ink-2); }

/* --- CTA final --- */
.mx-final { background: var(--azul); color: #fff; overflow: hidden; }
.mx-final-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.mx-final h2 { color: #fff; max-width: 14ch; }
.mx-final p { margin-top: 16px; font-size: 19px; color: rgba(255,255,255,.88); max-width: 32em; }
.mx-final .mx-ctas { margin-top: 30px; }
.mx-final-pic img { border-radius: 24px; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 30%; width: 100%; box-shadow: 0 30px 60px -24px rgba(0,0,0,.45); transform: rotate(2deg); }

/* --- pie --- */
.mx-foot { padding: 64px 0 36px; font-size: 15px; }
.mx-foot-top { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.mx-foot nav { display: flex; flex-direction: column; gap: 10px; }
.mx-foot nav b { font-size: 15px; margin-bottom: 4px; }
.mx-foot nav a { text-decoration: none; color: var(--ink-2); }
.mx-foot nav a:hover { color: var(--azul); }
.mx-foot small { display: block; margin-top: 22px; color: var(--ink-3); }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1060px) {
  .mx-links { display: none; }
  .mx-tabpanel, .mx-photo-in, .mx-faq-in, .mx-final-in { grid-template-columns: 1fr; gap: 36px; }
  .mx-sec-grid, .mx-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mx-final-pic { max-width: 420px; }
  .float.f1 { left: 12px; } .float.f2 { right: 12px; }
  .hx-grid { --nmw: 170px; --dlw: 108px; }
}
@media (max-width: 760px) {
  :root { --gut: 18px; }
  .mx-nav-in { height: 62px; gap: 14px; }
  .mx-hero { padding: 44px 0 64px; background: linear-gradient(180deg, #fff 0%, #fff 62%, var(--soft) 62%); }
  .mx-hero h1 { font-size: 38px; }
  .mx-lead { font-size: 17.5px; }
  .mx-hero .mx-ctas { flex-direction: column; width: 100%; }
  .mx-hero .mx-btn-lg { width: 100%; }
  .mx-vtabs { margin: 40px 0 16px; gap: 6px; }
  .mx-vtabs button { height: 36px; padding: 0 14px; font-size: 13.5px; }
  .mx-appframe { border-radius: 10px; }

  .mx-sec, .mx-dark { padding: 72px 0; }
  .mx-head { margin-bottom: 36px; }
  .mx-head p { font-size: 17px; }
  .mx-tablist { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gut) * -1) 28px; padding: 2px var(--gut) 6px; scrollbar-width: none; }
  .mx-tablist button { flex: none; }
  .mx-gallery { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .mx-tile.w { grid-column: auto; }
  .mx-sec-grid, .mx-plans, .mx-sim-steps { grid-template-columns: 1fr; }
  .float { position: static; margin-top: 12px; box-shadow: none; border: 1px solid var(--line); }
  .mx-foot-top { grid-template-columns: 1fr 1fr; }
  .mx-foot-top > .mx-logo { grid-column: 1 / -1; }
  /* Gantt de la simulación */
  .hx-plan { padding: 16px 14px 14px; border-radius: 16px; }
  .hx-plan-h .hint { margin-left: 0; }
  .hx-grid { --nmw: 0px; --dlw: 0px; }
  .hx-axis { left: 0; right: 0; }
  .hx-axis span:nth-child(even), .hx-axis span:nth-child(3), .hx-axis span:nth-child(7) { display: none; }
  .hx-today, .hx-baseline { left: calc(100% * var(--x) / 100); bottom: auto; height: 6px; }
  .hx-baseline span { top: auto; bottom: 100%; transform: translate(-50%, -2px); }
  .hx-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'nm dl' 'tl tl'; gap: 4px 10px; padding: 8px 0 10px; }
  .hx-row .nm { grid-area: nm; } .hx-row .dl { grid-area: dl; font-size: 12.5px; } .hx-row .tl { grid-area: tl; }
  .hx-row .tl::before, .hx-row .tl::after { content: ''; position: absolute; top: -7px; bottom: -7px; }
  .hx-row .tl::before { left: calc(var(--todayN) * 1%); width: 2px; margin-left: -1px; background: var(--rojo); }
  .hx-row .tl::after { left: calc(var(--baseN) * 1%); border-left: 2px dashed #9aa1b8; }
}
@media (prefers-reduced-motion: reduce) { .hx-row .bar, .mx-tile { transition: none; } }
