/* Talento Humano UEPLP — estilos (aislados bajo .thu para convivir con el tema y Elementor) */
.thu{
  --thu-primary:#343880; --thu-accent:#faba0e;
  --p:var(--thu-primary); --a:var(--thu-accent);
  --p-900:#1f2257; --p-800:#272b6a; --p-50:#eef0fb; --p-100:#dfe2f6;
  --a-50:#fff7e0; --a-700:#9a6c00;
  --ink:#1d1f3d; --ink-2:#4a4d6b; --ink-3:#7c7f9a;
  --line:#e6e7f2; --bg:#f5f6fb; --card:#fff;
  --ok:#1f8a5b; --ok-50:#e5f5ed; --warn:#b77700; --warn-50:#fff4dc; --bad:#c2412d; --bad-50:#fdeceb;
  --r:16px; --r-sm:10px;
  --sh:0 1px 2px rgba(31,34,87,.06),0 4px 16px rgba(31,34,87,.06);
  --sh-lg:0 10px 40px rgba(31,34,87,.18);
  font-family:'Poppins',system-ui,-apple-system,'Segoe UI',sans-serif; font-size:15px; line-height:1.5; color:var(--ink);
  -webkit-font-smoothing:antialiased; text-align:left;
}
.thu *,.thu *::before,.thu *::after{box-sizing:border-box}
.thu h1,.thu h2,.thu h3,.thu h4{font-family:'Montserrat','Poppins',sans-serif;color:var(--ink);margin:0;line-height:1.2;letter-spacing:-.01em;text-transform:none;font-style:normal}
.thu p{margin:0}
.thu a{color:var(--p);text-decoration:none}
.thu ul,.thu ol{list-style:none;margin:0;padding:0}
.thu img{max-width:100%;display:block}
.thu button,.thu input,.thu select,.thu textarea{font:inherit;color:inherit;letter-spacing:normal;text-transform:none;margin:0}
.thu button{background:none;border:0;padding:0;cursor:pointer;box-shadow:none;border-radius:0;min-height:0;line-height:inherit}
.thu button:disabled{cursor:not-allowed;opacity:.5}
.thu [hidden]{display:none!important}
.thu .thu-ic{flex:none;display:inline-block;vertical-align:middle}
.thu :focus-visible{outline:3px solid color-mix(in srgb,var(--a) 70%,transparent);outline-offset:2px;border-radius:8px}
.thu .thu-muted{color:var(--ink-3)} .thu .small{font-size:13px}
.thu .thu-mono{font-family:ui-monospace,'SFMono-Regular',Menlo,Consolas,monospace;letter-spacing:.02em}
.thu .thu-eyebrow{font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3)}
.thu .thu-grow{flex:1}
.thu .thu-center{text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}
.thu .thu-row-end{display:flex;justify-content:flex-end;gap:10px;margin-top:18px;flex-wrap:wrap}
.thu .thu-row-center{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:18px}

/* ---------------------------------------------------------------- botones */
.thu .thu-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 18px;border-radius:12px;font-weight:600;font-size:14px;white-space:nowrap;transition:background .15s,transform .1s,box-shadow .15s,color .15s;border:1.5px solid transparent;text-decoration:none;cursor:pointer;line-height:1}
.thu .thu-btn:active{transform:translateY(1px)}
.thu .thu-btn-primary{background:var(--p);color:#fff}
.thu .thu-btn-primary:hover{background:var(--p-800);color:#fff;box-shadow:0 6px 18px rgba(52,56,128,.28)}
.thu .thu-btn-accent{background:var(--a);color:var(--p-900)}
.thu .thu-btn-accent:hover{background:#ffc634;color:var(--p-900);box-shadow:0 8px 22px rgba(250,186,14,.4)}
.thu .thu-btn-ghost{background:var(--card);border-color:var(--line);color:var(--ink-2)}
.thu .thu-btn-ghost:hover,.thu .thu-btn-ghost.on{border-color:var(--p);color:var(--p);background:var(--p-50)}
.thu .thu-btn-ghost.bad:hover{border-color:var(--bad);color:var(--bad);background:var(--bad-50)}
.thu .thu-btn-danger{background:var(--bad);color:#fff}
.thu .thu-btn-danger:hover{background:#a3321f;color:#fff}
.thu .thu-btn-link{height:auto;padding:4px 2px;color:var(--p);background:none;font-weight:600}
.thu .thu-btn-link:hover{text-decoration:underline}
.thu .thu-btn-link.danger{color:var(--bad)}
.thu .thu-btn-sm{height:34px;padding:0 12px;font-size:13px;border-radius:10px}
.thu .thu-btn-lg{height:52px;padding:0 30px;font-size:16px;border-radius:14px}
.thu .thu-btn-block{width:100%}
.thu .thu-btn .thu-badge{position:static;margin-left:2px}
.thu .thu-iconbtn{width:34px;height:34px;display:inline-grid;place-items:center;border-radius:10px;color:var(--ink-3);transition:background .15s,color .15s;flex:none}
.thu .thu-iconbtn:hover{background:var(--p-50);color:var(--p)}
.thu .thu-iconbtn.ok:hover{background:var(--ok-50);color:var(--ok)}
.thu .thu-iconbtn.bad:hover{background:var(--bad-50);color:var(--bad)}
.thu .thu-iconbtn.light{color:#fff;background:rgba(255,255,255,.14)}
.thu .thu-iconbtn.light:hover{background:rgba(255,255,255,.26);color:#fff}
.thu .thu-link{display:inline-flex;align-items:center;gap:4px;font-weight:600;font-size:14px;color:var(--p)}
.thu .thu-badge{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:99px;background:var(--a);color:var(--p-900);font-size:11px;font-weight:700;font-style:normal}

/* ---------------------------------------------------------------- emblema y splash */
.thu .thu-emblem{width:84px;height:84px;border-radius:24px;background:linear-gradient(145deg,var(--p),var(--p-900));display:grid;place-items:center;box-shadow:0 10px 30px rgba(31,34,87,.35),inset 0 0 0 3px rgba(250,186,14,.9);margin:0 auto 18px;overflow:hidden}
.thu .thu-emblem.sm{width:42px;height:42px;border-radius:12px;margin:0;box-shadow:inset 0 0 0 2px var(--a)}
.thu .thu-emblem-img{width:78%;height:78%;object-fit:contain}
.thu .thu-emblem-mono{font-family:'Montserrat',sans-serif;font-weight:800;color:var(--a);font-size:30px;letter-spacing:-.04em}
.thu .thu-emblem.sm .thu-emblem-mono{font-size:16px}
.thu.thu-splash,.thu .thu-pl{position:relative;min-height:560px;display:grid;place-items:center;padding:48px 16px;border-radius:24px;overflow:hidden;isolation:isolate}
.thu .thu-splash-bg{position:absolute;inset:0;z-index:-1;background:
  radial-gradient(800px 400px at 85% -10%,rgba(250,186,14,.35),transparent 60%),
  radial-gradient(600px 400px at -10% 110%,rgba(250,186,14,.18),transparent 60%),
  linear-gradient(160deg,var(--p) 0%,var(--p-900) 100%)}
.thu .thu-splash-bg::after{content:"";position:absolute;inset:0;opacity:.09;background-image:radial-gradient(#fff 1px,transparent 1.5px);background-size:22px 22px}
.thu .thu-splash-card,.thu .thu-pl-card{width:100%;max-width:440px;background:rgba(255,255,255,.97);border-radius:28px;padding:40px 34px 32px;text-align:center;box-shadow:0 30px 80px rgba(10,12,50,.4)}
.thu .thu-splash-title{font-size:30px;font-weight:800;color:var(--p);margin:6px 0 10px}
.thu .thu-splash-title span{color:var(--a-700);background:linear-gradient(transparent 62%,rgba(250,186,14,.45) 62%)}
.thu .thu-splash-sub{color:var(--ink-3);margin-bottom:26px}
.thu .thu-login{text-align:left;margin-top:6px}
.thu .thu-login p{margin-bottom:14px}
.thu .thu-login label{display:block;font-size:13px;font-weight:600;color:var(--ink-2);margin-bottom:6px}
.thu .thu-login input[type=text],.thu .thu-login input[type=password]{width:100%;height:48px;border:1.5px solid var(--line);border-radius:12px;padding:0 14px;font-size:15px;background:#fff}
.thu .thu-login input:focus{border-color:var(--p);outline:none;box-shadow:0 0 0 4px var(--p-50)}
.thu .thu-login .login-remember label{display:flex;align-items:center;gap:8px;font-weight:500}
.thu .thu-login input[type=submit]{width:100%;height:50px;border:0;border-radius:14px;background:var(--a);color:var(--p-900);font-weight:700;font-size:16px;cursor:pointer}
.thu .thu-login input[type=submit]:hover{background:#ffc634}
.thu .thu-alert{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:12px;background:var(--p-50);color:var(--p-800);font-size:14px;text-align:left;margin:12px 0}
.thu .thu-alert .thu-ic{margin-top:2px}
.thu .thu-alert.warn{background:var(--warn-50);color:#7a4f00}
.thu .thu-alert.bad{background:var(--bad-50);color:#8e2a1c}
.thu .thu-alert.ok{background:var(--ok-50);color:#155c3d}

/* ---------------------------------------------------------------- carga */
.thu .thu-boot{min-height:340px;display:grid;place-items:center;align-content:center;gap:14px;color:var(--ink-3);text-align:center}
.thu .thu-spinner{width:38px;height:38px;border-radius:50%;border:3.5px solid var(--p-100);border-top-color:var(--p);animation:thu-spin .8s linear infinite}
.thu .thu-spinner.sm{width:16px;height:16px;border-width:2.5px;border-color:rgba(255,255,255,.4);border-top-color:#fff;display:inline-block}
.thu .thu-loading{display:grid;place-items:center;padding:50px}
@keyframes thu-spin{to{transform:rotate(360deg)}}

/* ---------------------------------------------------------------- estructura admin */
/* Ancho propio: rompe el contenedor estrecho del tema sin usar transform (para no romper modales fijos) */
.thu.thu-app,.thu.thu-splash{--w:min(1440px,calc(100vw - 32px));width:var(--w)!important;max-width:none!important;margin-left:calc(50% - var(--w) / 2)!important;margin-right:0!important}
.thu.thu-portal{--w:min(820px,calc(100vw - 24px));width:var(--w)!important;max-width:none!important;margin-left:calc(50% - var(--w) / 2)!important;margin-right:0!important}
.thu.thu-app{background:var(--bg);border-radius:20px;overflow:clip;border:1px solid var(--line)}
#wpbody .thu.thu-app,#wpbody .thu.thu-splash{--w:100%;margin-left:0!important}
.thu .thu-shell{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:780px}
.thu .thu-side{background:linear-gradient(180deg,var(--p) 0%,var(--p-900) 100%);color:#fff;padding:22px 14px;display:flex;flex-direction:column;gap:22px;position:sticky;top:0;align-self:start;min-height:780px;max-height:100vh}
.thu .thu-brand{display:flex;align-items:center;gap:12px;padding:4px 8px;color:inherit}
.thu .thu-brand strong{display:block;font-family:'Montserrat',sans-serif;font-weight:800;font-size:16px;line-height:1.1;color:#fff}
.thu .thu-brand small{color:var(--a);font-weight:600;letter-spacing:.14em;font-size:11px}
.thu .thu-nav{display:flex;flex-direction:column;gap:4px}
.thu .thu-nav a{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:12px;color:rgba(255,255,255,.78);font-weight:500;font-size:14.5px;position:relative;transition:background .15s,color .15s}
.thu .thu-nav a:hover{background:rgba(255,255,255,.08);color:#fff}
.thu .thu-nav a.on{background:rgba(255,255,255,.12);color:#fff;font-weight:600}
.thu .thu-nav a.on::before{content:"";position:absolute;left:-14px;top:10px;bottom:10px;width:4px;border-radius:0 4px 4px 0;background:var(--a)}
.thu .thu-nav a.on .thu-ic{color:var(--a)}
.thu .thu-nav .thu-badge{margin-left:auto}
.thu .thu-side-foot{margin-top:auto;display:flex;flex-direction:column;gap:4px;border-top:1px solid rgba(255,255,255,.12);padding-top:14px}
.thu .thu-me,.thu .thu-side-link{display:flex;align-items:center;gap:10px;padding:8px 12px;font-size:13.5px;color:rgba(255,255,255,.75);border-radius:10px}
.thu .thu-side-link:hover{background:rgba(255,255,255,.08);color:#fff}
.thu .thu-main{min-width:0;display:flex;flex-direction:column}
.thu .thu-top{display:flex;gap:14px;align-items:center;padding:16px 28px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.85);backdrop-filter:blur(10px);position:sticky;top:0;z-index:20}
.thu .thu-search{position:relative;flex:1;max-width:560px;display:flex;align-items:center;gap:10px;height:44px;padding:0 14px;border-radius:12px;background:var(--bg);border:1.5px solid transparent;color:var(--ink-3);transition:border-color .15s,background .15s}
.thu .thu-search:focus-within{border-color:var(--p);background:#fff}
.thu .thu-search input{border:0;background:none;outline:none;flex:1;height:100%;font-size:14.5px;color:var(--ink);min-width:0;padding:0;box-shadow:none}
.thu .thu-search-pop{position:absolute;top:calc(100% + 8px);left:0;right:0;background:#fff;border-radius:14px;box-shadow:var(--sh-lg);padding:6px;z-index:40;border:1px solid var(--line)}
.thu .thu-sr{display:flex;align-items:center;gap:12px;width:100%;padding:8px 10px;border-radius:10px;text-align:left}
.thu .thu-sr:hover,.thu .thu-sr.on{background:var(--p-50)}
.thu .thu-sr strong{display:block;font-size:14px;font-weight:600} .thu .thu-sr small{color:var(--ink-3);font-size:12.5px}
.thu .thu-sr-empty{padding:14px;color:var(--ink-3);font-size:14px}
.thu .thu-sr-all{display:flex;align-items:center;gap:8px;width:100%;padding:10px;border-top:1px solid var(--line);margin-top:4px;color:var(--p);font-weight:600;font-size:13.5px;border-radius:0 0 10px 10px}
.thu .thu-sr-all.on,.thu .thu-sr-all:hover{background:var(--p-50)}
.thu .thu-top-actions{margin-left:auto;display:flex;gap:10px}
.thu .thu-view{padding:28px;display:flex;flex-direction:column;gap:24px}
.thu .thu-enter{animation:thu-in .28s ease both}
@keyframes thu-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* ---------------------------------------------------------------- avatar */
.thu .thu-av{width:var(--s);height:var(--s);border-radius:50%;flex:none;position:relative}
.thu .thu-av img,.thu .thu-av span{width:100%;height:100%;border-radius:50%;object-fit:cover;display:grid;place-items:center;color:#fff;font-weight:600;font-size:calc(var(--s) * .36);font-family:'Montserrat',sans-serif;letter-spacing:.02em}
.thu .thu-av.ring{padding:3px;background:conic-gradient(var(--a),#ffd76a,var(--a),#e9a400,var(--a))}
.thu .thu-av.ring img,.thu .thu-av.ring span{box-shadow:0 0 0 2px #fff}

/* ---------------------------------------------------------------- inicio */
.thu .thu-hero{display:grid;grid-template-columns:minmax(220px,1fr) 2.2fr;gap:24px;align-items:center}
.thu .thu-hero h1{font-size:30px;font-weight:800;margin:4px 0 4px;color:var(--p)}
.thu .thu-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.thu .thu-kpi{background:var(--card);border-radius:var(--r);padding:16px;box-shadow:var(--sh);display:flex;flex-direction:column;gap:2px;color:var(--ink);position:relative;transition:transform .15s,box-shadow .15s;border:1px solid transparent}
.thu .thu-kpi:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(31,34,87,.12);color:var(--ink)}
.thu .thu-kpi-ic{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:var(--p-50);color:var(--p);margin-bottom:8px}
.thu .thu-kpi.accent .thu-kpi-ic{background:var(--a);color:var(--p-900)}
.thu .thu-kpi.accent{border-color:rgba(250,186,14,.6)}
.thu .thu-kpi.warn .thu-kpi-ic{background:var(--warn-50);color:var(--warn)}
.thu .thu-kpi-v{font-family:'Montserrat',sans-serif;font-weight:800;font-size:28px;line-height:1.1;color:var(--p-900)}
.thu .thu-kpi-l{font-weight:600;font-size:13.5px}
.thu .thu-kpi small{color:var(--ink-3);font-size:12px}
.thu .thu-kpi-bar{height:5px;border-radius:9px;background:var(--p-50);margin-top:8px;overflow:hidden}
.thu .thu-kpi-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--p),#5a5fc0);border-radius:9px}

.thu .thu-bday-today{position:relative;overflow:hidden;display:flex;align-items:center;gap:20px;padding:22px 24px;border-radius:22px;background:linear-gradient(120deg,var(--p) 0%,#4b50a8 60%,var(--p-900) 100%);color:#fff;box-shadow:0 14px 40px rgba(52,56,128,.3)}
.thu .thu-bday-today .thu-eyebrow{color:var(--a)}
.thu .thu-bday-ic{width:62px;height:62px;border-radius:18px;background:var(--a);color:var(--p-900);display:grid;place-items:center;flex:none;animation:thu-bob 2.4s ease-in-out infinite}
@keyframes thu-bob{50%{transform:translateY(-4px) rotate(-4deg)}}
.thu .thu-bday-body{flex:1;min-width:0}
.thu .thu-bday-people{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:6px}
.thu .thu-bday-person{display:flex;align-items:center;gap:12px;text-align:left;color:#fff}
.thu .thu-bday-person strong{display:block;font-family:'Montserrat',sans-serif;font-size:18px;color:#fff}
.thu .thu-bday-person small{color:rgba(255,255,255,.8)}
.thu .thu-confetti{position:absolute;inset:0;pointer-events:none}
.thu .thu-confetti i{position:absolute;width:8px;height:14px;border-radius:2px;opacity:.85;animation:thu-fall 5s linear infinite}
.thu .thu-confetti i:nth-child(3n){background:var(--a)} .thu .thu-confetti i:nth-child(3n+1){background:#fff} .thu .thu-confetti i:nth-child(3n+2){background:#8e93ea}
.thu .thu-confetti i:nth-child(1){left:8%;animation-delay:-1s}.thu .thu-confetti i:nth-child(2){left:18%;animation-delay:-3.2s}.thu .thu-confetti i:nth-child(3){left:27%;animation-delay:-2.1s}.thu .thu-confetti i:nth-child(4){left:39%;animation-delay:-4.4s}.thu .thu-confetti i:nth-child(5){left:47%;animation-delay:-.4s}.thu .thu-confetti i:nth-child(6){left:56%;animation-delay:-2.8s}.thu .thu-confetti i:nth-child(7){left:63%;animation-delay:-1.7s}.thu .thu-confetti i:nth-child(8){left:71%;animation-delay:-3.8s}.thu .thu-confetti i:nth-child(9){left:79%;animation-delay:-.9s}.thu .thu-confetti i:nth-child(10){left:86%;animation-delay:-2.4s}.thu .thu-confetti i:nth-child(11){left:93%;animation-delay:-4s}.thu .thu-confetti i:nth-child(12){left:3%;animation-delay:-3.5s}.thu .thu-confetti i:nth-child(13){left:52%;animation-delay:-4.8s}
@keyframes thu-fall{from{top:-20px;transform:rotate(0)}to{top:110%;transform:rotate(540deg)}}

.thu .thu-sec-h,.thu .thu-card-h{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.thu .thu-sec-h h2{font-size:20px;font-weight:800;color:var(--p-900)}
.thu .thu-card-h h3{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:700}
.thu .thu-card-h h3 .thu-ic{color:var(--p)}
.thu .thu-depts{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}
.thu .thu-dept{--dc:var(--p);position:relative;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;gap:12px 14px;align-items:center;padding:18px;border-radius:var(--r);background:var(--card);box-shadow:var(--sh);color:var(--ink);border:1px solid transparent;overflow:hidden;transition:transform .18s,box-shadow .18s,border-color .18s}
.thu .thu-dept::after{content:"";position:absolute;right:-30px;top:-30px;width:110px;height:110px;border-radius:50%;background:var(--dc);opacity:.06;transition:transform .3s}
.thu .thu-dept:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(31,34,87,.14);border-color:color-mix(in srgb,var(--dc) 35%,transparent);color:var(--ink)}
.thu .thu-dept:hover::after{transform:scale(1.4)}
.thu .thu-dept-ic{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:color-mix(in srgb,var(--dc) 12%,#fff);color:var(--dc);flex:none}
.thu .thu-dept-ic.sm{width:38px;height:38px;border-radius:11px}
.thu .thu-dept-ic.plain{--dc:var(--p)}
.thu .thu-dept-txt strong{display:block;font-family:'Montserrat',sans-serif;font-weight:700;font-size:15.5px;line-height:1.25}
.thu .thu-dept-txt small{color:var(--ink-3);font-size:13px}
.thu .thu-dept .thu-stack{grid-column:1/-1}
.thu .thu-dept-go{position:absolute;right:14px;bottom:16px;color:var(--ink-3);transition:transform .18s,color .18s}
.thu .thu-dept:hover .thu-dept-go{transform:translateX(3px);color:var(--dc)}
.thu .thu-dept-all{background:linear-gradient(140deg,var(--p) 0%,var(--p-900) 100%);color:#fff}
.thu .thu-dept-all:hover{color:#fff;border-color:var(--a)}
.thu .thu-dept-all .thu-dept-ic{background:var(--a);color:var(--p-900)}
.thu .thu-dept-all .thu-dept-txt strong{color:#fff;font-size:17px}
.thu .thu-dept-all .thu-dept-txt small{color:rgba(255,255,255,.75)}
.thu .thu-dept-all .thu-dept-go{color:var(--a)}
.thu .thu-dept-all::after{background:var(--a);opacity:.18}
.thu .thu-dept-none{--dc:var(--warn);border:1.5px dashed color-mix(in srgb,var(--warn) 40%,transparent);box-shadow:none}
.thu .thu-dept-empty{--dc:var(--p);border:1.5px dashed var(--p-100);box-shadow:none}
.thu .thu-stack{display:flex;align-items:center;min-height:28px}
.thu .thu-stack .thu-av{margin-right:-8px;box-shadow:0 0 0 2.5px #fff;border-radius:50%}
.thu .thu-dept-all .thu-stack .thu-av{box-shadow:0 0 0 2.5px var(--p)}
.thu .thu-stack-more{margin-left:14px;font-size:12px;font-weight:600;color:var(--ink-3)}
.thu .thu-dept-all .thu-stack-more{color:rgba(255,255,255,.75)}

.thu .thu-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.thu .thu-card{background:var(--card);border-radius:var(--r);padding:20px;box-shadow:var(--sh)}
.thu .thu-chip{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:99px;background:var(--p-50);color:var(--p);font-size:12px;font-weight:600}
.thu .thu-chip.warn{background:var(--warn-50);color:var(--warn)}
.thu .thu-rows li+li{border-top:1px solid var(--line)}
.thu .thu-row{display:flex;align-items:center;gap:12px;width:100%;padding:10px 6px;text-align:left;border-radius:10px;transition:background .15s}
.thu button.thu-row:hover{background:var(--bg)}
.thu .thu-row-main{flex:1;min-width:0}
.thu .thu-row-main strong{display:block;font-weight:600;font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.thu .thu-row-main small{display:block;color:var(--ink-3);font-size:12.5px;overflow:hidden;text-overflow:ellipsis}
.thu .thu-count{display:grid;place-items:center;min-width:52px;padding:6px 8px;border-radius:12px;background:var(--p-50);color:var(--p);line-height:1}
.thu .thu-count b{font-family:'Montserrat',sans-serif;font-size:20px;font-weight:800}
.thu .thu-count small{font-size:10.5px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;margin-top:2px}
.thu .thu-count.hot{background:var(--a);color:var(--p-900)}
.thu .thu-pill{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 10px;border-radius:99px;background:var(--p-50);color:var(--p);font-size:12px;font-weight:600;white-space:nowrap}
.thu .thu-pill.gold,.thu .thu-pill.hot{background:var(--a);color:var(--p-900)}
.thu .thu-sub-h{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:var(--ink-3);text-transform:uppercase;letter-spacing:.08em;margin:16px 0 4px}
.thu .thu-more{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:10px;padding:10px;border-radius:10px;font-weight:600;font-size:13.5px;background:var(--bg)}
.thu .thu-more:hover{background:var(--p-50)}
.thu .thu-dot{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;flex:none}
.thu .thu-dot.warn{background:var(--warn-50);color:var(--warn)} .thu .thu-dot.bad{background:var(--bad-50);color:var(--bad)} .thu .thu-dot.ok{background:var(--ok-50);color:var(--ok)}
.thu .thu-callout{display:flex;align-items:center;gap:12px;padding:14px;border-radius:14px;background:linear-gradient(120deg,var(--a-50),#fff);border:1.5px solid rgba(250,186,14,.55);color:var(--ink);margin-bottom:10px}
.thu .thu-callout .thu-ic:first-child{color:var(--a-700)}
.thu .thu-callout span{flex:1} .thu .thu-callout strong{display:block;font-size:14.5px} .thu .thu-callout small{color:var(--ink-3)}
.thu .thu-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:28px 12px;color:var(--ink-3)}
.thu .thu-empty .thu-ic{color:var(--p-100);width:44px;height:44px}
.thu .thu-empty strong{color:var(--ink-2);font-weight:600}
.thu .thu-feed li{display:flex;gap:12px;padding:9px 0;font-size:14px;align-items:flex-start}
.thu .thu-feed li+li{border-top:1px dashed var(--line)}
.thu .thu-feed-ic{width:28px;height:28px;border-radius:9px;background:var(--p-50);color:var(--p);display:grid;place-items:center;flex:none}
.thu .thu-feed small{display:block;color:var(--ink-3);font-size:12px}

/* ---------------------------------------------------------------- listado */
.thu .thu-crumbs a{display:inline-flex;align-items:center;gap:4px;font-size:13.5px;font-weight:600;color:var(--ink-3)}
.thu .thu-crumbs a:hover{color:var(--p)}
.thu .thu-crumbs{margin-bottom:-12px}
.thu .thu-page-h{--dc:var(--p);display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.thu .thu-page-h h1{font-size:26px;font-weight:800;color:var(--p-900)}
.thu .thu-page-ic{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:color-mix(in srgb,var(--dc) 12%,#fff);color:var(--dc)}
.thu .thu-page-ic.all{background:linear-gradient(140deg,var(--p),var(--p-900));color:var(--a)}
.thu .thu-page-actions{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}
.thu .thu-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;position:sticky;top:77px;z-index:10;background:var(--bg);padding:8px 0;margin:-8px 0}
.thu .thu-field-search{display:flex;align-items:center;gap:8px;height:42px;padding:0 14px;border-radius:12px;background:#fff;border:1.5px solid var(--line);color:var(--ink-3);flex:1;min-width:200px;max-width:380px}
.thu .thu-field-search:focus-within{border-color:var(--p)}
.thu .thu-field-search input{border:0;outline:none;background:none;flex:1;min-width:0;height:100%;font-size:14px;color:var(--ink);padding:0;box-shadow:none}
.thu .thu-select-sm{display:flex;align-items:center;gap:6px;height:42px;padding:0 6px 0 12px;border-radius:12px;background:#fff;border:1.5px solid var(--line);color:var(--ink-3)}
.thu .thu-select-sm select{border:0;background:none;outline:none;height:100%;font-size:14px;font-weight:500;color:var(--ink);padding:0 4px;cursor:pointer;box-shadow:none;min-width:0}
.thu .thu-seg{display:inline-flex;padding:3px;border-radius:12px;background:#fff;border:1.5px solid var(--line);margin-left:auto}
.thu .thu-seg button{width:36px;height:32px;border-radius:9px;display:grid;place-items:center;color:var(--ink-3)}
.thu .thu-seg button.on{background:var(--p);color:#fff}
.thu .thu-filters{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px;padding:16px;border-radius:var(--r);background:#fff;box-shadow:var(--sh);align-items:end;animation:thu-in .2s ease}
.thu .thu-fsel{display:flex;flex-direction:column;gap:5px}
.thu .thu-fsel span{font-size:12px;font-weight:600;color:var(--ink-3);text-transform:uppercase;letter-spacing:.06em}
.thu .thu-fsel select,.thu .thu-input input,.thu .thu-input select,.thu .thu-input textarea,.thu .thu-map select{width:100%;height:42px;border:1.5px solid var(--line);border-radius:10px;padding:0 12px;background:#fff;font-size:14px;color:var(--ink);outline:none;box-shadow:none;transition:border-color .15s,box-shadow .15s}
.thu .thu-input textarea{height:auto;padding:10px 12px;resize:vertical;line-height:1.5}
.thu .thu-fsel select:focus,.thu .thu-input input:focus,.thu .thu-input select:focus,.thu .thu-input textarea:focus,.thu .thu-map select:focus{border-color:var(--p);box-shadow:0 0 0 4px var(--p-50)}
.thu .thu-chips{display:flex;flex-wrap:wrap;gap:8px}
.thu .thu-fchip{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 8px 0 12px;border-radius:99px;background:var(--p);color:#fff;font-size:13px;font-weight:500}
.thu .thu-fchip:hover{background:var(--p-800)}
.thu .thu-quick .thu-fchip{background:var(--p-50);color:var(--p);padding:0 12px}
.thu .thu-quick{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.thu .thu-people{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px}
.thu .thu-letter{grid-column:1/-1;font-family:'Montserrat',sans-serif;font-weight:800;font-size:22px;color:var(--p);display:flex;align-items:center;gap:12px;margin-top:8px;scroll-margin-top:140px}
.thu .thu-letter::after{content:"";flex:1;height:2px;background:linear-gradient(90deg,var(--a),transparent)}
.thu .thu-pcard{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:22px 14px 14px;border-radius:var(--r);background:#fff;box-shadow:var(--sh);transition:transform .18s,box-shadow .18s;border:1px solid transparent}
.thu .thu-pcard:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(31,34,87,.14);border-color:var(--p-100)}
.thu .thu-pcard.off{opacity:.65}
.thu .thu-pcard .thu-av{margin-bottom:8px}
.thu .thu-pcard-name{font-family:'Montserrat',sans-serif;font-weight:700;font-size:15px;line-height:1.25;color:var(--ink)}
.thu .thu-pcard-role{font-size:13px;color:var(--ink-3);line-height:1.3;min-height:17px}
.thu .thu-pcard .thu-tag{margin-top:4px}
.thu .thu-pcard-foot{margin-top:auto;padding-top:12px;width:100%;display:flex;justify-content:center}
.thu .thu-pcard-bday{position:absolute;top:10px;right:10px;display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 9px;border-radius:99px;background:var(--a);color:var(--p-900);font-size:11.5px;font-weight:700}
.thu .thu-tag{--dc:var(--p);display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 9px;border-radius:8px;background:color-mix(in srgb,var(--dc) 10%,#fff);color:var(--dc);font-size:12px;font-weight:600;font-style:normal;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.thu .thu-tag.off{--dc:#8a8da6}
.thu .thu-tag.plain{--dc:var(--ink-2)}
.thu .thu-tag.gold{background:var(--a);color:var(--p-900)}
.thu .thu-exp{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700}
.thu .thu-exp-bar{width:70px;height:6px;border-radius:9px;background:var(--line);overflow:hidden}
.thu .thu-exp-bar i{display:block;height:100%;border-radius:9px}
.thu .thu-exp.ok{color:var(--ok)} .thu .thu-exp.ok i{background:var(--ok)}
.thu .thu-exp.mid{color:var(--warn)} .thu .thu-exp.mid i{background:var(--a)}
.thu .thu-exp.low{color:var(--bad)} .thu .thu-exp.low i{background:var(--bad)}
.thu .thu-exp em{font-style:normal;display:inline-grid;place-items:center;min-width:18px;height:18px;border-radius:99px;background:var(--a);color:var(--p-900);font-size:10.5px;padding:0 5px}
.thu .thu-people-wrap{display:grid;grid-template-columns:minmax(0,1fr) 22px;gap:8px}
.thu .thu-rail{position:sticky;top:150px;align-self:start;display:flex;flex-direction:column;align-items:center;gap:1px;width:22px}
.thu .thu-rail a,.thu .thu-rail span{font-size:10.5px;font-weight:700;line-height:1;padding:2.5px 0;width:22px;text-align:center;border-radius:5px}
.thu .thu-rail a{color:var(--p)} .thu .thu-rail a:hover{background:var(--a);color:var(--p-900)}
.thu .thu-rail span{color:var(--line)}
.thu .thu-table-wrap{overflow-x:auto;background:#fff;border-radius:var(--r);box-shadow:var(--sh)}
.thu .thu-table-wrap.tight{max-height:50vh;overflow:auto;box-shadow:none;border:1px solid var(--line)}
.thu .thu-table{width:100%;border-collapse:collapse;font-size:14px;margin:0;border:0}
.thu .thu-table th{position:sticky;top:0;background:#fafbfe;text-align:left;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--ink-3);font-weight:600;padding:12px 14px;border:0;border-bottom:1px solid var(--line);white-space:nowrap}
.thu .thu-table td{padding:10px 14px;border:0;border-bottom:1px solid var(--line);vertical-align:middle;background:none}
.thu .thu-table tbody tr[data-person]{cursor:pointer;transition:background .12s}
.thu .thu-table tbody tr[data-person]:hover{background:var(--p-50)}
.thu .thu-letter-row td{background:#fafbfe;font-family:'Montserrat',sans-serif;font-weight:800;color:var(--p);padding:6px 14px;scroll-margin-top:140px}
.thu .thu-cell-person{display:flex;align-items:center;gap:10px}
.thu .thu-cell-person strong{font-weight:600} .thu .thu-cell-person em{margin-left:6px}
.thu .thu-pin{font-size:17px;font-weight:700;color:var(--p);letter-spacing:.2em}

/* ---------------------------------------------------------------- ficha (panel) */
.thu .thu-panel-wrap{position:fixed;inset:0;z-index:99990;background:rgba(18,20,52,0);transition:background .25s;display:flex;justify-content:flex-end}
.thu .thu-panel-wrap.in{background:rgba(18,20,52,.45)}
.thu .thu-panel{width:min(620px,100%);height:100%;background:var(--bg);box-shadow:var(--sh-lg);overflow-y:auto;transform:translateX(100%);transition:transform .28s cubic-bezier(.2,.8,.2,1);overscroll-behavior:contain}
.thu .thu-panel-wrap.in .thu-panel{transform:none}
.thu .thu-ph{--dc:var(--p);background:#fff;padding-bottom:16px;border-bottom:1px solid var(--line)}
.thu .thu-ph-band{height:110px;background:linear-gradient(130deg,var(--dc),color-mix(in srgb,var(--dc) 55%,#000));position:relative;display:flex;justify-content:flex-end;padding:14px;overflow:hidden}
.thu .thu-ph-band::after{content:"";position:absolute;inset:0;opacity:.12;background-image:radial-gradient(#fff 1px,transparent 1.5px);background-size:18px 18px}
.thu .thu-ph-band .thu-iconbtn{position:relative;z-index:1}
.thu .thu-ph-main{display:flex;gap:18px;align-items:flex-start;padding:0 24px;margin-top:-52px;position:relative}
.thu .thu-ph-photo{position:relative;cursor:pointer;border-radius:50%;flex:none}
.thu .thu-ph-photo .thu-av{box-shadow:0 0 0 5px #fff,0 8px 20px rgba(31,34,87,.2);border-radius:50%}
.thu .thu-ph-cam{position:absolute;right:2px;bottom:2px;width:32px;height:32px;border-radius:50%;background:var(--a);color:var(--p-900);display:grid;place-items:center;box-shadow:0 0 0 3px #fff;transition:transform .15s}
.thu .thu-ph-photo:hover .thu-ph-cam{transform:scale(1.1)}
.thu .thu-ph-txt{padding-top:60px;min-width:0}
.thu .thu-ph-txt h2{font-size:22px;font-weight:800;color:var(--p-900)}
.thu .thu-ph-txt p{color:var(--ink-2);margin:2px 0 8px}
.thu .thu-ph-tags{display:flex;flex-wrap:wrap;gap:6px}
.thu .thu-ph-actions{display:flex;gap:8px;flex-wrap:wrap;padding:18px 24px 0}
.thu .thu-tabs{display:flex;gap:4px;padding:0 24px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:2;overflow-x:auto}
.thu .thu-tabs button,.thu .thu-tabs a{padding:14px 14px 12px;font-weight:600;font-size:14px;color:var(--ink-3);border-bottom:3px solid transparent;white-space:nowrap;display:inline-flex;gap:6px;align-items:center}
.thu .thu-tabs .on{color:var(--p);border-bottom-color:var(--a)}
.thu .thu-tabs b{font-size:11.5px;background:var(--p-50);color:var(--p);padding:2px 7px;border-radius:99px}
.thu .thu-tabs.page{padding:0;background:none;position:static;border-bottom:2px solid var(--line)}
.thu .thu-tabs.page .on{border-bottom-color:var(--p)}
.thu .thu-tabs.page a,.thu .thu-tabs.page button{margin-bottom:-2px}
.thu .thu-pbody{padding:22px 24px 40px;display:flex;flex-direction:column;gap:18px}
.thu .thu-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.thu .thu-fact{display:flex;gap:12px;padding:14px;border-radius:14px;background:#fff;box-shadow:var(--sh);align-items:flex-start}
.thu .thu-fact .thu-ic{color:var(--p);margin-top:2px}
.thu .thu-fact small{display:block;font-size:11.5px;text-transform:uppercase;letter-spacing:.07em;color:var(--ink-3);font-weight:600}
.thu .thu-fact strong{font-weight:600;font-size:14px;line-height:1.35}
.thu .thu-fact em{color:var(--ink-3);font-weight:400}
.thu .thu-group h4{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--ink-3);font-weight:700;margin-bottom:8px}
.thu .thu-group dl{background:#fff;border-radius:14px;box-shadow:var(--sh);margin:0;padding:4px 16px}
.thu .thu-group dl div{display:grid;grid-template-columns:150px 1fr;gap:12px;padding:10px 0;font-size:14px}
.thu .thu-group dl div+div{border-top:1px solid var(--line)}
.thu .thu-group dt{color:var(--ink-3)} .thu .thu-group dd{margin:0;font-weight:500;word-break:break-word}
.thu .thu-group dd em{color:var(--ink-3);font-weight:400;font-style:normal}
.thu .thu-notes{background:var(--a-50);padding:12px 14px;border-radius:12px;white-space:pre-line;font-size:14px}
.thu .thu-access{display:flex;align-items:center;gap:12px;padding:14px;border-radius:14px;background:#fff;box-shadow:var(--sh)}
.thu .thu-access>.thu-ic{color:var(--ink-3)} .thu .thu-access.on>.thu-ic{color:var(--ok)}
.thu .thu-access span{flex:1} .thu .thu-access strong{display:block;font-size:14px} .thu .thu-access small{color:var(--ink-3);font-size:12.5px}
.thu .thu-danger-zone{display:flex;justify-content:space-between;gap:10px;padding-top:10px;border-top:1px dashed var(--line);flex-wrap:wrap}

/* expediente */
.thu .thu-exp-head{display:flex;align-items:center;gap:16px;padding:16px;border-radius:16px;background:#fff;box-shadow:var(--sh)}
.thu .thu-ring circle{fill:none;stroke-width:7}
.thu .thu-ring .bg{stroke:var(--p-50)}
.thu .thu-ring .fg{stroke:var(--p);stroke-linecap:round;transform:rotate(-90deg);transform-origin:center;transition:stroke-dashoffset .6s}
.thu .thu-ring .pend{stroke:var(--a);stroke-linecap:round;transform:rotate(-90deg);transform-origin:center;opacity:.6}
.thu .thu-ring text{font-family:'Montserrat',sans-serif;font-weight:800;font-size:15px;fill:var(--p-900);text-anchor:middle}
.thu .thu-checklist{display:flex;flex-direction:column;gap:8px}
.thu .thu-ck{display:flex;gap:12px;align-items:flex-start;padding:14px;border-radius:14px;background:#fff;box-shadow:var(--sh);border-left:4px solid var(--line)}
.thu .thu-ck.ok{border-left-color:var(--ok)} .thu .thu-ck.warn{border-left-color:var(--a)} .thu .thu-ck.bad{border-left-color:var(--bad)}
.thu .thu-ck-ic{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;flex:none;background:var(--bg);color:var(--ink-3)}
.thu .thu-ck.ok .thu-ck-ic{background:var(--ok-50);color:var(--ok)} .thu .thu-ck.warn .thu-ck-ic{background:var(--warn-50);color:var(--warn)} .thu .thu-ck.bad .thu-ck-ic{background:var(--bad-50);color:var(--bad)}
.thu .thu-ck-main{flex:1;min-width:0}
.thu .thu-ck-main strong{display:block;font-size:14.5px;font-weight:600;line-height:1.3}
.thu .thu-ck-main small{display:block;color:var(--ink-3);font-size:12.5px;margin-top:2px}
.thu .thu-ck-main .bad{color:var(--bad);font-weight:600} .thu .thu-ck-main .warn{color:var(--warn);font-weight:600}
.thu .thu-ck-note{display:flex;gap:8px;align-items:flex-start;margin-top:8px;padding:8px 10px;border-radius:10px;background:var(--bad-50);color:#8e2a1c;font-size:13px}
.thu .thu-ck-files{display:flex;flex-direction:column;gap:6px;margin-top:10px}
.thu .thu-ck-acts{display:flex;gap:4px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.thu .thu-doc{display:flex;align-items:center;gap:6px;padding:6px 6px 6px 10px;border-radius:10px;background:var(--bg);border:1px solid var(--line)}
.thu .thu-doc-main{display:flex;align-items:center;gap:10px;flex:1;min-width:0;color:var(--ink)}
.thu .thu-doc-main .thu-ic{color:var(--p)}
.thu .thu-doc-main strong{display:block;font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.thu .thu-doc-main small{display:block;font-size:11.5px;color:var(--ink-3)}
.thu .thu-doc-main span{min-width:0}
.thu .thu-doc-acts{display:flex;flex:none}
.thu .thu-doc-acts .thu-iconbtn{width:30px;height:30px}
.thu .thu-dz{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:26px 16px;border:2px dashed var(--p-100);border-radius:16px;background:#fff;text-align:center;cursor:pointer;transition:border-color .15s,background .15s;color:var(--p)}
.thu .thu-dz strong{color:var(--ink);font-size:14.5px} .thu .thu-dz small{color:var(--ink-3);font-size:12.5px}
.thu .thu-dz:hover,.thu .thu-dz.over{border-color:var(--a);background:var(--a-50)}
.thu .thu-dz.big{padding:56px 20px;min-height:280px}
.thu .thu-dz.busy{pointer-events:none;opacity:.7}
.thu .thu-progress{height:6px;border-radius:9px;background:var(--p-50);overflow:hidden;margin-top:8px}
.thu .thu-progress i{display:block;height:100%;background:linear-gradient(90deg,var(--p),var(--a));transition:width .2s}

/* ---------------------------------------------------------------- revisión */
.thu .thu-review{display:grid;grid-template-columns:repeat(auto-fill,minmax(360px,1fr));gap:16px}
.thu .thu-rv{padding:0;overflow:hidden}
.thu .thu-rv-h{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line);cursor:pointer}
.thu .thu-rv-h:hover{background:var(--bg)}
.thu .thu-rv-h span:not(.thu-exp):not(.thu-exp-bar){flex:1;min-width:0}
.thu .thu-rv-h strong{display:block;font-size:14.5px} .thu .thu-rv-h small{color:var(--ink-3);font-size:12.5px}
.thu .thu-rv-doc{padding:12px 16px;display:flex;flex-direction:column;gap:10px}
.thu .thu-rv-doc+.thu-rv-doc{border-top:1px dashed var(--line)}
.thu .thu-rv-file{display:flex;align-items:center;gap:12px;color:var(--ink);padding:10px;border-radius:12px;background:var(--bg)}
.thu .thu-rv-file:hover{background:var(--p-50)}
.thu .thu-rv-file>.thu-ic{color:var(--p)}
.thu .thu-rv-file span:nth-child(2){flex:1;min-width:0}
.thu .thu-rv-file strong{display:block;font-size:14px} .thu .thu-rv-file small{color:var(--ink-3);font-size:12px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.thu .thu-rv-acts{display:flex;gap:8px;justify-content:flex-end}

/* ---------------------------------------------------------------- importar / ajustes */
.thu .thu-steps{display:flex;gap:8px;flex-wrap:wrap}
.thu .thu-steps li{display:flex;align-items:center;gap:8px;padding:8px 14px 8px 8px;border-radius:99px;background:#fff;color:var(--ink-3);font-weight:600;font-size:13.5px;box-shadow:var(--sh)}
.thu .thu-steps b{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--bg);font-size:12px}
.thu .thu-steps .on{color:var(--p)} .thu .thu-steps .on b{background:var(--p);color:#fff}
.thu .thu-steps .done b{background:var(--a);color:var(--p-900)}
.thu .thu-tips h3{display:flex;align-items:center;gap:8px;font-size:16px;margin-bottom:12px}
.thu .thu-tips h3 .thu-ic{color:var(--a-700)}
.thu .thu-tips ul{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}
.thu .thu-tips li{position:relative;padding-left:18px;font-size:14px;color:var(--ink-2)}
.thu .thu-tips li::before{content:"";position:absolute;left:2px;top:9px;width:7px;height:7px;border-radius:50%;background:var(--a)}
.thu .thu-imp-sum{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:14px}
.thu .thu-imp-sum>div:first-child{display:flex;align-items:center;gap:10px;color:var(--p)}
.thu .thu-imp-sum strong{display:block;color:var(--ink)} .thu .thu-imp-sum small{color:var(--ink-3);font-size:12.5px}
.thu .thu-imp-nums{display:flex;gap:8px;margin-left:auto;flex-wrap:wrap}
.thu .thu-imp-nums span{padding:6px 12px;border-radius:10px;background:var(--bg);font-size:13px;color:var(--ink-2)}
.thu .thu-imp-nums b{font-family:'Montserrat',sans-serif;color:var(--p);font-size:16px}
.thu .thu-imp-nums.big{margin:10px auto 0;justify-content:center}
.thu .thu-imp-nums.big span{padding:14px 18px}
.thu .thu-imp-nums.big b{font-size:26px;display:block}
.thu .thu-imp-done>.thu-ic{width:64px;height:64px;padding:14px;border-radius:50%;background:var(--ok-50);color:var(--ok)}
.thu .thu-map tr.skip td{opacity:.5}
.thu .thu-map select{min-width:220px;height:38px}
.thu .thu-sample span{display:inline-block;padding:3px 8px;margin:2px 4px 2px 0;border-radius:6px;background:var(--bg);font-size:12.5px;color:var(--ink-2);max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}
.thu .thu-ok{color:var(--ok);font-weight:700}
.thu .thu-imp-opts{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end;margin-top:16px}
.thu .thu-imp-opts .thu-fsel{min-width:320px}
.thu .thu-check{display:flex;align-items:flex-start;gap:10px;font-size:14px;cursor:pointer;color:var(--ink-2)}
.thu .thu-check input{width:18px;height:18px;accent-color:var(--p);margin-top:2px;flex:none}
.thu .thu-sortable{display:flex;flex-direction:column;gap:6px}
.thu .thu-sortable li{--dc:var(--p);display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:12px;background:var(--bg)}
.thu .thu-sortable [data-move="-1"] .thu-ic{transform:rotate(90deg)} .thu .thu-sortable [data-move="1"] .thu-ic{transform:rotate(90deg)}
.thu .thu-big-num{display:flex;align-items:baseline;gap:10px;margin:4px 0 12px}
.thu .thu-big-num b{font-family:'Montserrat',sans-serif;font-size:40px;font-weight:800;color:var(--p)}
.thu .thu-big-num span{color:var(--ink-3)}
.thu .thu-stack-btns{display:flex;flex-direction:column;gap:8px;margin:14px 0}
.thu .thu-code{display:flex;flex-direction:column;gap:6px;padding:12px 14px;border-radius:12px;background:var(--bg);margin-bottom:10px}
.thu .thu-code code{font-size:15px;font-weight:700;color:var(--p);background:none;padding:0}
.thu .thu-code span{font-size:13.5px;color:var(--ink-2)}
.thu .thu-icon-pick{display:grid;grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:6px}
.thu .thu-icon-pick button{height:44px;border-radius:10px;display:grid;place-items:center;color:var(--ink-2);background:var(--bg);border:2px solid transparent}
.thu .thu-icon-pick button.on{border-color:var(--p);color:var(--p);background:var(--p-50)}
.thu .thu-color-pick{display:flex;flex-wrap:wrap;gap:8px}
.thu .thu-color-pick button{width:34px;height:34px;border-radius:50%;box-shadow:inset 0 0 0 3px rgba(255,255,255,.0)}
.thu .thu-color-pick button.on{box-shadow:0 0 0 3px #fff,0 0 0 5px var(--ink)}

/* ---------------------------------------------------------------- formularios y modales */
.thu .thu-form{display:flex;flex-direction:column;gap:14px}
.thu .thu-form fieldset{border:0;padding:0;margin:0 0 6px}
.thu .thu-form legend{font-family:'Montserrat',sans-serif;font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:var(--p);margin-bottom:10px;padding:0}
.thu .thu-grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px}
.thu .thu-grid2 .span2{grid-column:1/-1}
.thu .thu-input{display:flex;flex-direction:column;gap:5px;margin-bottom:0}
.thu .thu-input>span{font-size:13px;font-weight:600;color:var(--ink-2)}
.thu .thu-modal-wrap{position:fixed;inset:0;z-index:99995;display:grid;place-items:center;padding:16px;background:rgba(18,20,52,0);transition:background .18s}
.thu .thu-modal-wrap.in{background:rgba(18,20,52,.5)}
.thu .thu-modal-wrap.out{background:rgba(18,20,52,0)}
.thu .thu-modal{width:min(540px,100%);max-height:calc(100vh - 32px);display:flex;flex-direction:column;background:#fff;border-radius:22px;box-shadow:var(--sh-lg);transform:translateY(12px) scale(.98);opacity:0;transition:transform .2s,opacity .2s}
.thu .thu-modal-wrap.in .thu-modal{transform:none;opacity:1}
.thu .thu-modal-wrap.out .thu-modal{transform:translateY(12px) scale(.98);opacity:0}
.thu .thu-modal-sm .thu-modal{width:min(420px,100%)}
.thu .thu-modal-lg .thu-modal{width:min(760px,100%)}
.thu .thu-modal-h{display:flex;align-items:center;justify-content:space-between;padding:18px 20px 10px 24px}
.thu .thu-modal-h h3{font-size:18px;font-weight:800;color:var(--p-900)}
.thu .thu-modal-b{padding:6px 24px 18px;overflow-y:auto;display:flex;flex-direction:column;gap:14px}
.thu .thu-modal-f{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:14px 20px;border-top:1px solid var(--line);flex-wrap:wrap}
.thu .thu-toasts{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:99999;display:flex;flex-direction:column;gap:8px;align-items:center;pointer-events:none;width:max-content;max-width:calc(100vw - 32px)}
.thu .thu-toast{display:flex;align-items:center;gap:10px;padding:12px 18px;border-radius:14px;background:var(--p-900);color:#fff;font-size:14px;font-weight:500;box-shadow:var(--sh-lg);animation:thu-toast .25s ease;transition:opacity .3s,transform .3s}
.thu .thu-toast .thu-ic{color:var(--a)}
.thu .thu-toast-err{background:#7d2417} .thu .thu-toast-err .thu-ic{color:#ffb4a8}
.thu .thu-toast.out{opacity:0;transform:translateY(10px)}
@keyframes thu-toast{from{opacity:0;transform:translateY(10px)}}

/* ---------------------------------------------------------------- portal */
.thu .thu-pl{min-height:640px}
.thu .thu-pl-card .thu-input{text-align:left;margin-bottom:16px}
.thu .thu-pl-card .thu-input input[name=cedula]{height:50px;font-size:17px;letter-spacing:.06em;text-align:center;font-weight:600}
.thu .thu-hint{display:block;font-size:12px;color:var(--ink-3);margin-top:4px;text-align:center}
.thu .thu-pin-boxes{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}
.thu .thu-pin-boxes input{height:56px;text-align:center;font-size:24px;font-weight:700;border:1.5px solid var(--line);border-radius:12px;padding:0;background:#fff;color:var(--p);outline:none;box-shadow:none;width:100%}
.thu .thu-pin-boxes input:focus{border-color:var(--p);box-shadow:0 0 0 4px var(--p-50)}
.thu .thu-pin-boxes.shake{animation:thu-shake .4s}
@keyframes thu-shake{20%,60%{transform:translateX(-6px)}40%,80%{transform:translateX(6px)}}
.thu .thu-pl-err{display:flex;gap:8px;align-items:flex-start;text-align:left;padding:10px 12px;border-radius:10px;background:var(--bad-50);color:#8e2a1c;font-size:13.5px;margin-bottom:14px}
.thu .thu-pl-help{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:16px;color:var(--ink-3);font-size:13px}
.thu .thu-pwrap{display:flex;flex-direction:column;gap:16px;padding:8px 0 24px}
.thu .thu-pt{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-radius:18px;background:linear-gradient(130deg,var(--p),var(--p-900));color:#fff}
.thu .thu-pt .thu-btn-ghost{background:rgba(255,255,255,.12);border-color:transparent;color:#fff}
.thu .thu-pt .thu-btn-ghost:hover{background:rgba(255,255,255,.22);color:#fff}
.thu .thu-pw{display:flex;align-items:center;gap:20px;padding:22px;border-radius:22px;background:#fff;box-shadow:var(--sh);flex-wrap:wrap}
.thu .thu-pw-txt{flex:1;min-width:200px}
.thu .thu-pw-txt h1{font-size:26px;font-weight:800;color:var(--p-900);margin:2px 0}
.thu .thu-pw-txt p{color:var(--ink-2)}
.thu .thu-pw-hint{display:flex;gap:6px;align-items:center;margin-top:8px;font-size:13px;color:var(--a-700)!important;font-weight:500}
.thu .thu-pw-ring{display:flex;flex-direction:column;align-items:center;gap:2px}
.thu .thu-pw-ring small{font-size:11.5px;color:var(--ink-3);font-weight:600}
.thu .thu-checklist.portal .thu-ck{align-items:center}
.thu .thu-inline-date{display:inline-flex;align-items:center;gap:8px;margin-top:8px;font-size:12.5px;color:var(--ink-3)}
.thu .thu-inline-date input{height:34px;border:1.5px solid var(--line);border-radius:8px;padding:0 8px;font-size:13px;background:#fff}
.thu .thu-other-up{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.thu .thu-row.static{cursor:default}
.thu .thu-pf{display:flex;align-items:center;justify-content:center;gap:6px;color:var(--ink-3);font-size:12.5px}

/* ---------------------------------------------------------------- responsive */
body.admin-bar .thu .thu-panel-wrap{top:32px}
body.admin-bar .thu .thu-top{top:32px}
body.admin-bar .thu .thu-side{top:32px;max-height:calc(100vh - 32px)}
body.admin-bar .thu .thu-toolbar{top:109px}
.thu .thu-older summary{cursor:pointer;font-size:12.5px;color:var(--ink-3);font-weight:600;padding:4px 2px;list-style:none}
.thu .thu-older summary::-webkit-details-marker{display:none}
.thu .thu-older[open] summary{margin-bottom:6px}
.thu .thu-older .thu-doc{opacity:.75;margin-bottom:6px}
@media (max-width:782px){body.admin-bar .thu .thu-panel-wrap{top:46px}body.admin-bar .thu .thu-top{top:0}}
@media (max-width:1180px){
  .thu .thu-hero{grid-template-columns:1fr}
  .thu .thu-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  .thu .thu-shell{grid-template-columns:1fr;min-height:0}
  .thu .thu-side{position:fixed;left:0;right:0;bottom:0;top:auto;min-height:0;max-height:none;flex-direction:row;padding:6px 8px calc(6px + env(safe-area-inset-bottom));z-index:99980;border-radius:18px 18px 0 0;box-shadow:0 -6px 24px rgba(10,12,50,.2)}
  .thu .thu-side .thu-brand,.thu .thu-side-foot{display:none}
  .thu .thu-nav{flex-direction:row;flex:1;justify-content:space-around;gap:0}
  .thu .thu-nav a{flex-direction:column;gap:3px;padding:8px 6px;font-size:10.5px;flex:1;align-items:center;text-align:center}
  .thu .thu-nav a.on::before{left:30%;right:30%;top:-6px;bottom:auto;width:auto;height:3px;border-radius:0 0 4px 4px}
  .thu .thu-nav .thu-badge{position:absolute;top:2px;left:55%;margin:0;min-width:17px;height:17px;font-size:10px}
  body.admin-bar .thu .thu-side{top:auto;max-height:none}
  .thu .thu-main{padding-bottom:84px}
  .thu .thu-top{padding:12px 16px}
  .thu .thu-top-actions .thu-btn span{display:none}
  .thu .thu-top-actions .thu-btn{width:44px;padding:0}
  .thu .thu-view{padding:18px 16px}
  .thu .thu-cols{grid-template-columns:1fr}
  .thu .thu-toolbar{top:69px}
  .thu .thu-page-actions .thu-btn span{display:none}
  .thu .thu-page-actions .thu-btn{width:42px;padding:0}
  .thu .thu-review{grid-template-columns:1fr}
}
@media (max-width:600px){
  .thu{font-size:14.5px}
  .thu .thu-hero h1{font-size:24px}
  .thu .thu-kpi{padding:14px}
  .thu .thu-kpi-v{font-size:24px}
  .thu .thu-depts{grid-template-columns:1fr}
  .thu .thu-dept{padding:14px}
  .thu .thu-people{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .thu .thu-pcard{padding:16px 8px 12px}
  .thu .thu-pcard .thu-av{--s:60px!important}
  .thu .thu-exp-bar{width:44px}
  .thu .thu-bday-today{flex-direction:column;align-items:flex-start;padding:18px}
  .thu .thu-page-h h1{font-size:21px}
  .thu .thu-page-ic{width:46px;height:46px;border-radius:14px}
  .thu .thu-facts,.thu .thu-grid2{grid-template-columns:1fr}
  .thu .thu-group dl div{grid-template-columns:1fr;gap:2px}
  .thu .thu-ph-main{flex-direction:column;align-items:flex-start;gap:10px;padding:0 18px}
  .thu .thu-ph-txt{padding-top:0}
  .thu .thu-ph-actions,.thu .thu-pbody{padding-left:18px;padding-right:18px}
  .thu .thu-ph-actions .thu-btn span{display:none}
  .thu .thu-ph-actions .thu-btn{width:42px;padding:0}
  .thu .thu-ph-actions .thu-btn-primary{width:auto;padding:0 16px}
  .thu .thu-ph-actions .thu-btn-primary span{display:inline}
  .thu .thu-tabs{padding:0 12px}
  .thu .thu-splash-card,.thu .thu-pl-card{padding:30px 20px 24px;border-radius:22px}
  .thu .thu-splash-title{font-size:25px}
  .thu .thu-pin-boxes{gap:6px} .thu .thu-pin-boxes input{height:50px;font-size:20px}
  .thu .thu-pw{padding:18px;gap:14px}
  .thu .thu-checklist.portal .thu-ck{flex-wrap:wrap}
  .thu .thu-checklist.portal .thu-ck-acts{width:100%;justify-content:flex-start;padding-left:42px}
  .thu .thu-ck{flex-wrap:wrap}
  .thu .thu-imp-opts .thu-fsel{min-width:0;width:100%}
  .thu .thu-modal-wrap{place-items:end center;padding:0}
  .thu .thu-modal{border-radius:22px 22px 0 0;max-height:92vh}
  .thu .thu-people-wrap{grid-template-columns:minmax(0,1fr)}
  .thu .thu-rail{display:none}
  .thu .thu-field-search{max-width:none;flex-basis:100%}
}

/* ---------------------------------------------------------------- v1.1: salarios, selección, novedades, composición */
.thu .thu-salary{position:relative;border-radius:14px;overflow:hidden}
.thu .thu-salary dl{filter:blur(7px);user-select:none;transition:filter .2s}
.thu .thu-salary.on dl{filter:none;user-select:auto}
.thu .thu-salary-cover{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:600;font-size:14px;color:var(--p);background:rgba(255,255,255,.35)}
.thu .thu-salary.on .thu-salary-cover{display:none}
.thu .thu-bulk{position:sticky;top:130px;z-index:9;display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 16px;border-radius:14px;background:var(--p-900);color:#fff;box-shadow:var(--sh-lg);animation:thu-in .2s ease}
.thu .thu-bulk strong{font-size:14px}
.thu .thu-bulk-acts{display:flex;gap:8px;flex-wrap:wrap;margin-left:auto}
.thu .thu-bulk .thu-btn-ghost{background:rgba(255,255,255,.1);border-color:transparent;color:#fff}
.thu .thu-bulk .thu-btn-ghost:hover{background:rgba(255,255,255,.2);color:#fff}
.thu .thu-cb{width:44px;padding-right:0!important}
.thu .thu-cb button{display:grid;place-items:center;color:var(--p)}
.thu .thu-cbox{width:22px;height:22px;border-radius:7px;border:2px solid var(--p-100);display:grid;place-items:center;background:#fff;color:#fff;flex:none}
.thu tr.sel .thu-cbox,.thu .thu-pcard.sel .thu-cbox{background:var(--p);border-color:var(--p)}
.thu .thu-table tr[data-selid]{cursor:pointer}
.thu .thu-table tr.sel td{background:var(--p-50)}
.thu .thu-pcard .thu-cbox{position:absolute;top:10px;left:10px}
.thu .thu-pcard.sel{border-color:var(--p);box-shadow:0 0 0 3px var(--p-100)}
.thu .thu-ev-sum{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.thu .thu-ev-sum>div{background:#fff;border-radius:14px;box-shadow:var(--sh);padding:12px 14px;display:flex;flex-direction:column}
.thu .thu-ev-sum small{font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:var(--ink-3);font-weight:600}
.thu .thu-ev-sum b{font-family:'Montserrat',sans-serif;font-size:24px;color:var(--p-900);line-height:1.2}
.thu .thu-ev-sum span{font-size:12px;color:var(--ink-3)}
.thu .thu-ev-sum .bad b{color:var(--bad)} .thu .thu-ev-sum .warn b{color:var(--warn)}
.thu .thu-evlist{display:flex;flex-direction:column;gap:6px}
.thu .thu-evlist li{display:flex;align-items:center;gap:12px;padding:10px 10px 10px 12px;background:#fff;border-radius:12px;box-shadow:var(--sh)}
.thu .thu-ev-ic{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--p-50);color:var(--p);flex:none}
.thu .thu-ev-ic.t-vacaciones,.thu .thu-ev-ic.t-cargo_vacacion{background:var(--a-50);color:var(--a-700)}
.thu .thu-ev-ic.t-horas_favor{background:var(--ok-50);color:var(--ok)}
.thu .thu-ev-ic.t-atraso,.thu .thu-ev-ic.t-falta,.thu .thu-ev-ic.t-enfermedad{background:var(--bad-50);color:var(--bad)}
.thu .thu-ev-by{font-size:11px!important;opacity:.7}
.thu .thu-ins{margin-bottom:16px}
.thu .thu-ins-h{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--ink-3);margin-bottom:6px}
.thu .thu-stackbar{display:flex;height:12px;border-radius:99px;overflow:hidden;gap:2px;background:var(--bg)}
.thu .thu-stackbar i{display:block;min-width:4px}
.thu .thu-legend{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:8px}
.thu .thu-legend li{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--ink-2)}
.thu .thu-legend span{width:10px;height:10px;border-radius:3px}
.thu .thu-legend b{color:var(--ink)} .thu .thu-legend em{font-style:normal;color:var(--ink-3);font-size:12px}
.thu .thu-incl{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;color:var(--ink)}
.thu .thu-incl.ok{background:var(--ok-50)} .thu .thu-incl.ok .thu-ic{color:var(--ok)}
.thu .thu-incl.warn{background:var(--warn-50)} .thu .thu-incl.warn .thu-ic{color:var(--warn)}
.thu .thu-incl strong{display:block;font-size:14px} .thu .thu-incl small{color:var(--ink-3)}
.thu .thu-pbody>.thu-alert{margin:0}
.thu .thu-group dd{white-space:pre-line}
@media (max-width:600px){.thu .thu-ev-sum{grid-template-columns:1fr 1fr 1fr;gap:6px}.thu .thu-ev-sum b{font-size:19px}.thu .thu-bulk{top:120px}}

/* ---------------------------------------------------------------- v1.2: seguimiento, reportes, exportación */
.thu .thu-seg.wide{display:flex;margin:0;width:100%}
.thu .thu-seg.wide button{flex:1;width:auto;height:40px;display:flex;align-items:center;justify-content:center;gap:6px;font-weight:600;font-size:13.5px}
.thu .thu-presets{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:10px}
.thu .thu-presets>span{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--ink-3);margin-right:4px}
.thu .thu-presets .thu-fchip{background:var(--p-50);color:var(--p);padding:0 12px}
.thu .thu-colgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px;max-height:44vh;overflow:auto;padding:4px}
.thu .thu-colgrid fieldset{border:1px solid var(--line);border-radius:12px;padding:8px 12px 10px;margin:0}
.thu .thu-colgrid legend{font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--p);padding:0 4px}
.thu .thu-colgrid .thu-check{font-size:13px;padding:3px 0}
.thu .thu-minikpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.thu .thu-minikpis button{background:#fff;border-radius:14px;box-shadow:var(--sh);padding:12px 14px;text-align:left;border:1.5px solid transparent;transition:border-color .15s,transform .15s}
.thu .thu-minikpis button:hover{transform:translateY(-1px)}
.thu .thu-minikpis button.on{border-color:var(--p)}
.thu .thu-minikpis b{display:block;font-family:'Montserrat',sans-serif;font-size:24px;font-weight:800;color:var(--p-900);line-height:1.15}
.thu .thu-minikpis span{font-size:12.5px;color:var(--ink-3);font-weight:500}
.thu .thu-minikpis .warn b{color:var(--warn)}
.thu .thu-filters.inline{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));animation:none}
.thu .thu-filters.inline .grow{grid-column:span 2}
.thu .thu-filters input[type=date],.thu .thu-filters input[type=search]{width:100%;height:42px;border:1.5px solid var(--line);border-radius:10px;padding:0 10px;background:#fff;font-size:14px;outline:none;box-shadow:none}
.thu .thu-filters input:focus{border-color:var(--p)}
.thu .thu-st{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:99px;font-size:12px;font-weight:700;white-space:nowrap}
.thu .thu-st.warn{background:var(--warn-50);color:var(--warn)} .thu .thu-st.info{background:var(--p-50);color:var(--p)} .thu .thu-st.ok{background:var(--ok-50);color:var(--ok)}
.thu .thu-grav{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:var(--ink-2)}
.thu .thu-grav::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--ok)}
.thu .thu-grav.g-media::before{background:var(--a)} .thu .thu-grav.g-alta::before{background:var(--bad)}
.thu .thu-rtype{display:inline-flex;align-items:center;gap:6px;font-size:13px}
.thu .thu-rtype .thu-ic{color:var(--p)}
.thu .thu-venc{display:flex;align-items:center;gap:4px;color:var(--warn)!important;font-weight:600;font-size:11.5px!important;margin-top:2px}
.thu .thu-table tr[data-rec]{cursor:pointer}
.thu .thu-table tr[data-rec]:hover td{background:var(--p-50)}
.thu .thu-reclist{display:flex;flex-direction:column;gap:6px}
.thu .thu-reclist button{display:flex;align-items:center;gap:12px;width:100%;padding:12px;background:#fff;border-radius:12px;box-shadow:var(--sh);text-align:left;transition:transform .15s}
.thu .thu-reclist button:hover{transform:translateX(2px)}
.thu .thu-ev-ic.t-reunion_padres,.thu .thu-ev-ic.t-reunion_th{background:var(--p-50);color:var(--p)}
.thu .thu-ev-ic.t-reporte_padres,.thu .thu-ev-ic.t-reporte_personal,.thu .thu-ev-ic.t-reporte_estudiante{background:var(--warn-50);color:var(--warn)}
.thu .thu-ev-ic.t-llamado_atencion{background:var(--bad-50);color:var(--bad)}
.thu .thu-ev-ic.t-felicitacion{background:var(--a-50);color:var(--a-700)}
.thu .thu-ev-ic.t-compromiso{background:var(--ok-50);color:var(--ok)}
.thu .thu-ev-ic.t-comision{background:#eef6ff;color:#1f6fb2}
.thu .thu-rec-head{display:flex;gap:14px;align-items:flex-start}
.thu .thu-rec-head .thu-ev-ic{width:46px;height:46px;border-radius:14px}
.thu .thu-rec-head>div{flex:1;min-width:0}
.thu .thu-rec-head h3{font-size:18px;font-weight:800;color:var(--p-900);margin:2px 0}
.thu .thu-rec-head small{color:var(--ink-3)}
.thu .thu-rec-person{display:flex;align-items:center;gap:12px;width:100%;padding:10px 12px;border-radius:12px;background:var(--bg);text-align:left}
.thu .thu-rec-person:hover{background:var(--p-50)}
.thu .thu-rec-person span{flex:1} .thu .thu-rec-person strong{display:block;font-size:14px} .thu .thu-rec-person small{color:var(--ink-3);font-size:12.5px}
.thu .thu-modal .thu-group dl{box-shadow:none;border:1px solid var(--line)}
.thu .thu-notes.plain{background:var(--bg)}
.thu .thu-dz.slim{flex-direction:row;padding:12px 16px;gap:10px;justify-content:flex-start;text-align:left;margin-top:8px}
.thu .thu-dz.slim small{display:block}
.thu .thu-timeline{position:relative;padding-left:18px;margin-bottom:10px}
.thu .thu-timeline::before{content:"";position:absolute;left:5px;top:6px;bottom:6px;width:2px;background:var(--p-100)}
.thu .thu-timeline li{position:relative;padding:4px 0 10px}
.thu .thu-timeline li::before{content:"";position:absolute;left:-17px;top:9px;width:10px;height:10px;border-radius:50%;background:var(--a);box-shadow:0 0 0 3px #fff}
.thu .thu-timeline b{font-size:12.5px;color:var(--p)} .thu .thu-timeline p{font-size:14px;white-space:pre-line;margin:2px 0} .thu .thu-timeline small{font-size:11.5px;color:var(--ink-3)}
.thu .thu-follow{background:var(--bg);border-radius:12px;padding:12px}
.thu .thu-follow textarea{width:100%;border:1.5px solid var(--line);border-radius:10px;padding:10px 12px;font-size:14px;margin-bottom:8px;background:#fff;resize:vertical;outline:none}
.thu .thu-follow textarea:focus{border-color:var(--p)}
.thu .thu-reports{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:14px}
.thu .thu-report{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;padding:16px;background:#fff;border-radius:var(--r);box-shadow:var(--sh);align-items:start}
.thu .thu-report-ic{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:var(--p-50);color:var(--p);grid-row:span 2}
.thu .thu-report strong{display:block;font-family:'Montserrat',sans-serif;font-size:15px;color:var(--p-900)}
.thu .thu-report small{display:block;font-size:13px;color:var(--ink-3);margin-top:2px}
.thu .thu-report small em{font-style:normal;color:var(--p);font-weight:600;white-space:nowrap}
.thu .thu-report-acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.thu .thu-printmenu{display:flex;flex-direction:column;gap:6px}
.thu .thu-printmenu button{display:flex;align-items:center;gap:12px;padding:12px;border-radius:12px;background:var(--bg);text-align:left}
.thu .thu-printmenu button:hover{background:var(--p-50)}
.thu .thu-printmenu button>.thu-ic:first-child{color:var(--p)}
.thu .thu-printmenu span{flex:1} .thu .thu-printmenu strong{display:block;font-size:14px} .thu .thu-printmenu small{font-size:12.5px;color:var(--ink-3)}
.thu .thu-pcard.static{cursor:default}
.thu .thu-pcard.static:hover{transform:none}
.thu .thu-firma-slot>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px;border:1.5px dashed var(--line);border-radius:12px}
.thu .thu-firma-slot img{height:56px;max-width:220px;object-fit:contain;background:repeating-conic-gradient(#f4f5fb 0 25%,#fff 0 50%) 0 0/12px 12px;border-radius:8px;padding:4px}
.thu .thu-firma-slot em{color:var(--ink-3);font-size:13px;font-style:normal;flex:1}
@media (max-width:900px){.thu .thu-minikpis{grid-template-columns:1fr 1fr}.thu .thu-reports{grid-template-columns:1fr}.thu .thu-filters.inline .grow{grid-column:1/-1}}
@media (max-width:600px){.thu .thu-seg.wide button{font-size:12px;padding:0 4px}.thu .thu-rec-head{flex-wrap:wrap}}
.thu .thu-typepick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.thu .thu-typepick button{display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:10px;border:1.5px solid var(--line);background:#fff;text-align:left;font-size:12.5px;font-weight:600;color:var(--ink-2);line-height:1.25;transition:border-color .15s,background .15s}
.thu .thu-typepick button .thu-ic{color:var(--ink-3);flex:none}
.thu .thu-typepick button:hover{border-color:var(--p-100);background:var(--bg)}
.thu .thu-typepick button.on{border-color:var(--p);background:var(--p-50);color:var(--p)}
.thu .thu-typepick button.on .thu-ic{color:var(--p)}
.thu [data-dyn]{display:flex;flex-direction:column;gap:14px;animation:thu-in .2s ease}
.thu [data-dyn] .thu-alert{margin:0}
@media (max-width:600px){.thu .thu-typepick{grid-template-columns:1fr 1fr}}
.thu .thu-login{display:flex;flex-direction:column;gap:14px;text-align:left;margin-top:4px}
.thu .thu-login .thu-input input{height:50px;font-size:15.5px}
.thu .thu-passwrap{position:relative;display:block}
.thu .thu-passwrap input{width:100%;padding-right:48px!important}
.thu .thu-passeye{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:38px;height:38px;border-radius:10px;font-size:17px;opacity:.6}
.thu .thu-passeye:hover{opacity:1;background:var(--p-50)}
.thu .thu-login .thu-pl-err{margin:0}
.thu .thu-forgot{text-align:center;font-size:13.5px;font-weight:600;color:var(--p)}
.thu .thu-forgot:hover{text-decoration:underline}
.thu .thu-phone{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}
.thu .thu-phone>a:first-child{color:var(--ink);font-weight:600}
.thu .thu-wa{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 9px;border-radius:99px;background:#e7f8ee;color:#128c4a!important;font-size:12px;font-weight:700;white-space:nowrap}
.thu .thu-wa:hover{background:#25d366;color:#fff!important}
.thu .thu-iconbtn.wa{color:#128c4a;background:#e7f8ee;margin-left:4px}
.thu .thu-iconbtn.wa:hover{background:#25d366;color:#fff}
.thu .thu-rows li{display:flex;align-items:center}
.thu .thu-rows li>.thu-row{flex:1;min-width:0}
.thu .thu-nowrap{white-space:nowrap}
.thu .thu-table .thu-phone{gap:6px}
.thu .thu-table .thu-wa{height:22px;padding:0 7px;font-size:11px}
.thu .thu-sync{display:flex;gap:14px;align-items:flex-start;padding:16px 18px;border-radius:16px;background:linear-gradient(120deg,var(--ok-50),#fff);border:1.5px solid #bfe6d0}
.thu .thu-sync>div{flex:1}.thu .thu-sync strong{display:block;font-size:15px;color:var(--ink)}.thu .thu-sync p{font-size:13.5px;color:var(--ink-2);margin-top:4px}
.thu .thu-sync .thu-report-ic{background:#d7f1e2;color:var(--ok)}.thu .thu-sync summary{cursor:pointer;font-size:13px;font-weight:600;color:var(--p);margin-top:6px}
@media (prefers-reduced-motion:reduce){.thu *,.thu *::before,.thu *::after{animation:none!important;transition:none!important}}
@media print{.thu .thu-side,.thu .thu-top,.thu .thu-toolbar{display:none}}
