@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/poppins-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/poppins-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/poppins-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/poppins-latin-700-normal.woff2) format('woff2'); }
:root { --navy: #0A2540; --teal: #0072C1; --teal-d: #005A99; --amber-l: #FFF1D6; --red: #B3261E; --red-l: #FDECEA; --green: #1E7F4F; --green-l: #E3F4EA;
  --ink: #14233a; --ink-2: #5F6E7D; --ink-3: #7a8aa0; --line: #E3E9F1; --bg: #F2F5FA; --card: #fff; --acento: #A21CAF; --r: 14px; --sh: 0 1px 2px rgba(10,37,64,.06), 0 8px 24px rgba(10,37,64,.06);
  --font: 'Poppins', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.5; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.01em; } h1 { font-size: 1.6rem; } h2 { font-size: 1.2rem; } h3 { font-size: 1rem; }
p { margin: 0 0 .6em; } a { color: var(--teal-d); } .muted { color: var(--ink-3); } .small { font-size: .85rem; }
button, input, select { font: inherit; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 10px 24px; background: var(--navy); color: #fff; }
.top .logo { height: 36px; } .top .tit { font-weight: 700; } .top .tit small { display: block; font-weight: 400; opacity: .7; font-size: .72rem; }
.top .esp { flex: 1; } .top select { background: #12345a; color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; padding: 6px 10px; max-width: 260px; }
.lang { display: flex; border: 1px solid rgba(255,255,255,.35); border-radius: 99px; overflow: hidden; } .lang button { background: transparent; color: #c9d6e6; border: 0; padding: 5px 12px; cursor: pointer; font-weight: 600; font-size: .8rem; } .lang button.on { background: #fff; color: var(--navy); }
.top .quien { font-size: .85rem; text-align: right; line-height: 1.2; } .top .quien small { display: block; opacity: .7; font-size: .72rem; }
.top .salir { background: transparent; border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 8px; padding: 6px 12px; cursor: pointer; }
main { max-width: 1120px; margin: 0 auto; padding: 26px 24px 60px; }
footer { text-align: center; color: var(--ink-3); font-size: .78rem; padding: 0 24px 28px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); padding: 18px 20px; margin: 0 0 16px; }
.lead { color: var(--ink-2); margin: 6px 0 18px; }
.btn { border: 1px solid var(--teal); background: var(--teal); color: #fff; border-radius: 10px; padding: 10px 18px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block; }
.btn.ghost { background: #fff; color: var(--teal-d); } .btn:disabled { opacity: .6; cursor: wait; }
.aviso { border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; font-size: .92rem; } .aviso.warn { background: var(--amber-l); } .aviso.err { background: var(--red-l); color: var(--red); } .aviso.info { background: #E6F1FB; }
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.app { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; text-decoration: none; color: inherit; box-shadow: var(--sh); }
.app:hover { border-color: var(--acento); } .app .ic { font-size: 28px; width: 52px; height: 52px; border-radius: 12px; background: #E6F1FB; display: flex; align-items: center; justify-content: center; flex: none; }
.app.rep .ic { background: #F7E8FA; } .app b { display: block; font-size: 1.05rem; } .app small { color: var(--ink-2); display: block; margin-top: 2px; } .app em { margin-left: auto; font-style: normal; font-weight: 600; color: var(--teal-d); white-space: nowrap; }
.login { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: linear-gradient(160deg, var(--navy), #0E3A68); }
.login .cj { background: #fff; border-radius: 18px; padding: 28px; width: 100%; max-width: 420px; box-shadow: var(--sh); } .login img { height: 44px; background: var(--navy); border-radius: 10px; padding: 6px 12px; margin-bottom: 18px; }
.login label { display: block; font-weight: 600; font-size: .88rem; margin: 12px 0 4px; } .login input { width: 100%; padding: 11px 12px; border: 1px solid #CBD3DD; border-radius: 10px; }
.login .btn { width: 100%; margin-top: 16px; } .login .lang { border-color: var(--line); margin: 0 0 12px auto; width: fit-content; } .login .lang button { color: var(--ink-2); } .login .lang button.on { background: var(--navy); color: #fff; }
.fin-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin: 0 0 14px; font-size: .88rem; } .fin-prel { color: var(--red); font-weight: 600; }
.fin-sello { border: 1px solid var(--red); color: var(--red); border-radius: 6px; padding: 2px 8px; font-size: .75rem; font-weight: 600; } .card-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.fin-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; } .fin-kpi { border: 1px solid #E5E9EF; border-radius: 10px; padding: 12px; } .fin-kpi small { color: var(--ink-2); font-weight: 600; } .fin-kpi b { display: block; font-size: 1.5rem; margin: 4px 0; } .fin-kpi p { margin: 0; font-size: .75rem; color: var(--ink-2); }
.fin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin: 16px 0; }
.fin-rep { text-align: left; border: 1px solid #DDE3EA; background: #fff; border-radius: 10px; padding: 12px; cursor: pointer; color: inherit; display: flex; flex-direction: column; gap: 4px; } .fin-rep:hover, .fin-rep.on { border-color: var(--acento); background: #FCF5FD; } .fin-rep small { color: var(--ink-2); font-size: .75rem; }
.fin-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 14px; margin: 10px 0; } .fin-f { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; } .fin-f span { font-weight: 600; } .fin-f input, .fin-f select { padding: 8px 10px; border: 1px solid #CBD3DD; border-radius: 8px; max-width: 100%; }
.fin-chk { display: flex; gap: 8px; align-items: center; font-size: .85rem; } .fin-acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 11px 18px; border-radius: 10px; z-index: 50; max-width: 90vw; } .toast.err { background: var(--red); }
@media (max-width: 600px) { main { padding: 18px 16px 50px; } .top { padding: 10px 16px; } .app em { display: none; } .fin-kpi b { font-size: 1.25rem; } }
