:root{--bg:#eef5f8;--card:#fff;--ink:#062d3a;--muted:#617782;--brand:#01495E;--brand2:#6DC2D5;--brandDark:#013542;--line:#d7e8ee;--ok:#07814f;--danger:#b42318;--warn:#a15c07;--shadow:0 16px 42px rgba(1,73,94,.10)}*{box-sizing:border-box}html,body{height:100%;overflow:hidden}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:radial-gradient(circle at top left,rgba(109,194,213,.25),transparent 32%),linear-gradient(180deg,#f8fbfc,var(--bg));color:#13303a;font-size:14px}a{color:var(--brand);font-weight:700;text-decoration:none}a:hover{text-decoration:underline}.layout{display:flex;height:100vh}.sidebar{position:fixed;top:0;bottom:0;left:0;width:285px;overflow:auto;background:linear-gradient(180deg,var(--brand),#003441 75%,#00242c);color:#fff;padding:20px 16px;box-shadow:10px 0 35px rgba(1,73,94,.28)}.brand-panel{border-bottom:1px solid rgba(255,255,255,.16);padding-bottom:15px;margin-bottom:16px}.brand-logo{width:100%;max-width:210px;display:block;margin:0 auto 8px;object-fit:contain}.brand-title{font-weight:900;font-size:18px;letter-spacing:.02em}.subtitle{font-size:12px;color:#d9f5fb}.nav small{display:block;text-transform:uppercase;letter-spacing:.12em;color:#93d6e7;font-size:10px;margin:18px 12px 8px}.nav a{display:block;color:#effcff;padding:10px 12px;border-radius:12px;margin:4px 0;font-weight:800}.nav a.active,.nav a:hover{background:linear-gradient(90deg,rgba(109,194,213,.25),rgba(255,255,255,.07));text-decoration:none}.logout{border-top:1px solid rgba(255,255,255,.16);margin-top:18px;padding-top:12px}.main{margin-left:285px;width:calc(100% - 285px);height:100vh;overflow:hidden;display:flex;flex-direction:column;padding:22px 24px}.topbar{position:sticky;top:0;z-index:40;display:flex;justify-content:space-between;align-items:center;gap:12px;background:linear-gradient(180deg,#f8fbfc,rgba(248,251,252,.92));padding-bottom:10px;backdrop-filter:blur(8px)}.topbar h1{margin:0;color:var(--brand);font-size:25px}.scope-chip{display:inline-block;background:#e5f7fb;border:1px solid rgba(109,194,213,.65);padding:5px 10px;border-radius:999px;color:var(--brand);font-size:12px;font-weight:800;margin-top:5px}.userbox{text-align:right;background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 14px;box-shadow:0 8px 20px rgba(1,73,94,.08);color:var(--muted)}.userbox span{color:var(--brand);font-weight:900}.content-scroll{flex:1;overflow:auto;min-height:0;padding-right:4px}.card{background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:20px;padding:18px;margin-bottom:18px;box-shadow:var(--shadow)}.compact-card{padding:12px 18px}.grid{display:grid;gap:14px}.grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.kpi{border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,#fff,#f4fbfd);padding:18px}.kpi .num{font-size:30px;font-weight:900;color:var(--brand)}.kpi .label{color:var(--muted);font-weight:700}label{display:block;color:var(--brand);font-weight:900;font-size:12px;margin-bottom:7px}input,select,textarea{width:100%;border:1px solid #c7dce3;border-radius:12px;padding:11px 12px;font:inherit;color:#12303b;background:#fff}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--brand2);box-shadow:0 0 0 3px rgba(109,194,213,.22)}textarea{min-height:92px}.field{margin-bottom:13px}.hint{font-size:12px;color:var(--muted);margin-top:5px}.required:after{content:' *';color:var(--danger)}.btn{display:inline-block;border:0;border-radius:12px;padding:10px 15px;background:linear-gradient(135deg,var(--brand),#0a6177);color:#fff;font-weight:900;cursor:pointer;text-decoration:none;box-shadow:0 10px 22px rgba(1,73,94,.18)}.btn:hover{text-decoration:none;transform:translateY(-1px)}.btn.secondary{background:#eaf4f7;color:var(--brand);box-shadow:none}.btn.ok{background:linear-gradient(135deg,#087443,#119a64)}.btn.danger{background:var(--danger)}.btn.small{padding:6px 10px;font-size:12px}.actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:16px;background:#fff}table{border-collapse:separate;border-spacing:0;width:100%;min-width:900px}th,td{padding:10px 12px;border-bottom:1px solid #eaf1f4;text-align:left;vertical-align:top}thead th{background:linear-gradient(180deg,var(--brand),var(--brandDark));color:#fff;font-size:11px;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;position:relative}tbody tr:nth-child(even) td{background:#fbfdfe}tr:hover td{background:#eef9fc}.sortable-th{cursor:pointer;user-select:none;padding-right:24px}.sortable-th:after{content:'⇅';position:absolute;right:8px;color:var(--brand2)}.sortable-th[data-asc="1"]:after{content:'↑'}.sortable-th[data-asc="0"]:after{content:'↓'}.pill{display:inline-block;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:900}.pill.ok{background:#dff7ea;color:#065f46}.pill.warn{background:#fff4d6;color:#8a5a00}.pill.gray{background:#e8eef5;color:#52616f}.pill.red{background:#fde8e8;color:#9b1c1c}.alert{padding:12px 14px;border-radius:14px;margin-bottom:16px;border:1px solid;font-weight:700}.alert.ok{background:#ecfdf3;color:#05603a;border-color:#abefc6}.alert.err{background:#fef3f2;color:#b42318;border-color:#fecdca}.alert.info{background:#eff8ff;color:#175cd3;border-color:#b2ddff}.muted{color:var(--muted)}.login-page{display:flex;min-height:100vh;align-items:center;justify-content:center;background:radial-gradient(circle at 20% 20%,rgba(109,194,213,.35),transparent 30%),linear-gradient(135deg,var(--brand),#012d39)}.login-card{width:430px;background:rgba(255,255,255,.96);border-radius:24px;padding:30px;box-shadow:0 24px 80px rgba(0,0,0,.28)}.login-brand{text-align:center}.login-brand img{max-width:260px;width:86%;margin:0 auto 8px;display:block}.login-card h1{margin:0;color:var(--brand)}.login-card p{margin:4px 0 20px;color:var(--muted)}.footer-note{color:var(--muted);font-size:12px;margin-top:20px}.sticky-controls{position:sticky;top:0;z-index:30;background:linear-gradient(180deg,#f8fbfc,rgba(248,251,252,.92));padding-top:4px;padding-bottom:2px;backdrop-filter:blur(8px)}.sticky-controls .card{margin-bottom:10px}.results-table-wrap{max-height:calc(100vh - 430px);overflow:auto}.results-table-wrap thead th{position:sticky;top:0;z-index:5}.company-logo-mini{max-height:34px;max-width:90px;object-fit:contain}.logo-preview{margin-top:10px;border:1px dashed var(--line);border-radius:14px;padding:10px;background:#f8fcfd}.logo-preview img{max-width:180px;max-height:90px;object-fit:contain}.report-card{padding:0;overflow:hidden}.report-cover{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;background:linear-gradient(135deg,#fff,#e8f8fc);border-bottom:4px solid var(--brand2)}.report-brand{display:flex;align-items:center;gap:14px}.report-brand img{width:150px;max-height:72px;object-fit:contain}.report-title{font-size:22px;font-weight:900;color:var(--brand)}.report-subtitle{font-weight:700;color:#37616d}.report-meta{font-size:12px;color:var(--muted);margin-top:4px}.report-client{text-align:right}.report-client span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:900}.report-client img{max-height:72px;max-width:170px;object-fit:contain}.report-context{display:flex;gap:8px;flex-wrap:wrap;padding:12px 20px;background:#f6fbfd;border-bottom:1px solid var(--line)}.report-context span{background:#fff;border:1px solid var(--line);color:var(--brand);border-radius:999px;padding:6px 10px;font-weight:800;font-size:12px}.liq-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0;padding:16px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(135deg,rgba(109,194,213,.14),rgba(255,255,255,.8))}.liq-summary div{padding:8px 10px;border-left:4px solid var(--brand2);background:rgba(255,255,255,.72);border-radius:10px}.note-box{margin-top:16px;padding:14px 16px;border-radius:14px;background:#f8fafc;border:1px solid var(--line)}.legal-note{margin-top:18px;padding:12px 14px;border-radius:14px;background:#fff7ed;border:1px solid #fed7aa;color:#7c2d12;font-size:12px;line-height:1.45}.checkline{display:flex;align-items:center;gap:8px;margin:14px 0;color:var(--ink);font-weight:700}.checkline input{width:auto}@media(max-width:900px){html,body{overflow:auto}.layout{display:block;height:auto}.sidebar{position:relative;width:100%;height:auto}.main{margin-left:0;width:100%;height:auto;overflow:visible;padding:16px}.grid.cols-4,.grid.cols-3,.grid.cols-2,.filters{grid-template-columns:1fr}.content-scroll{overflow:visible}.sticky-controls{position:relative}.results-table-wrap{max-height:none}.report-cover{display:block}.report-client{text-align:left;margin-top:12px}}@media print{@page{margin:10mm;size:landscape}html,body{height:auto;overflow:visible;background:#fff;color:#000;font-size:10.5px}body *{visibility:hidden!important}#report-print-area,#report-print-area *{visibility:visible!important}#report-print-area{position:absolute;left:0;top:0;width:100%;border:0;box-shadow:none;margin:0;padding:0}#report-print-area .table-wrap{border:0;overflow:visible}#report-print-area table{min-width:0;width:100%;font-size:9.5px;border-collapse:collapse}#report-print-area th,#report-print-area td{padding:5px 6px;border:1px solid #c9d4d8}#report-print-area th{background:#01495E!important;color:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.no-print{display:none!important}.report-brand img{width:120px}.report-client img{max-height:55px}}

/* v11 consolidated refinements */
.topbar-left{display:flex;align-items:center;gap:12px;min-width:0}.back-btn{white-space:nowrap}.btn.mini,.mini{font-size:11px;padding:5px 8px;border-radius:8px;margin-left:4px}.btn.danger,.delete-link{background:#b42318;color:#fff}.combo-input{background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%2301495E' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") no-repeat right 12px center;padding-right:30px}.bar-row{display:grid;grid-template-columns:170px 1fr 58px;gap:10px;align-items:center;margin:9px 0}.bar-label{font-weight:700;color:var(--brand);font-size:13px;overflow:hidden;text-overflow:ellipsis}.bar-track{height:18px;background:#e9f3f6;border-radius:999px;overflow:hidden;border:1px solid #d5e7ed}.bar-fill{height:100%;border-radius:999px;box-shadow:inset 0 -1px 0 rgba(0,0,0,.12)}.bar-value{text-align:right;font-weight:850;color:#263d47}.subcard{background:linear-gradient(180deg,#fff,#f5fbfd);border:1px dashed var(--accent)}.security-popup::after{content:' ↗';font-weight:900}.detail div{min-height:56px}.results-table-wrap table tfoot th{position:static!important}.table-wrap table td a:not(.btn){font-weight:850;color:var(--brand)}
@media(max-width:900px){.topbar-left{display:block}.back-btn{margin-bottom:8px}.bar-row{grid-template-columns:1fr}.bar-value{text-align:left}}


/* Ajuste v11.1 - Indicadores completos con gráficas dinámicas de la versión de indicadores */
.chart-card h3{display:flex;align-items:center;gap:8px;margin-bottom:14px;color:var(--brand);font-size:16px}.chart-visual{overflow:hidden}.bar-chart-visual,.dual-chart{padding:4px 2px 2px}.donut-layout{padding:6px 2px 4px}.donut-legend strong{font-weight:900}.bar-label-visual{font-weight:800;color:var(--brand)}.bar-value-visual{text-align:right;font-weight:900;color:var(--brand)}
@media (max-width:900px){.donut-layout{display:block!important}.donut-chart{margin:0 auto 15px}.bar-row-visual{grid-template-columns:1fr!important}.bar-value-visual{text-align:left!important}.dual-chart>div{grid-template-columns:1fr!important}}

/* Ajuste v11.2 - Informe de novedades estilo Excel/PDF */
.novelty-report-header{display:grid;grid-template-columns:170px 1fr 190px 190px;gap:14px;align-items:center;padding:16px 18px;background:#fff;border-bottom:5px solid var(--brand);}
.novelty-report-header .nrh-logo{display:flex;align-items:center;justify-content:center;min-height:78px;}
.novelty-report-header .nrh-logo img{max-width:170px;max-height:78px;object-fit:contain;}
.novelty-report-header .nrh-title{text-align:center;border-left:5px solid #1b4f7a;border-right:5px solid #1b4f7a;padding:10px 14px;}
.novelty-report-header .nrh-title>div{font-size:28px;line-height:1.08;font-weight:950;color:#0a0f13;letter-spacing:.05em;}
.novelty-report-header .nrh-title span{display:block;margin-top:6px;color:var(--brand);font-weight:900;font-size:13px;letter-spacing:.02em;}
.novelty-report-header .nrh-title small{display:block;margin-top:4px;color:#52616f;font-size:12px;font-weight:800;}
.novelty-report-header .nrh-meta{font-size:15px;line-height:1.35;color:#111827;text-align:right;border-left:4px solid #1b4f7a;border-right:4px solid #1b4f7a;padding:8px 10px;background:#fbfdfe;}
.novelty-report-header .nrh-logo-right strong{color:var(--brand);font-size:17px;line-height:1.1;}
.novelty-context{padding:10px 18px;}
.novelty-report-table{table-layout:fixed;min-width:0!important;width:100%;}
.novelty-report-table .c-fecha{width:7%;}.novelty-report-table .c-quincena{width:8%;}.novelty-report-table .c-empresa{width:15%;}.novelty-report-table .c-colaborador{width:22%;}.novelty-report-table .c-documento{width:9%;}.novelty-report-table .c-categoria{width:13%;}.novelty-report-table .c-tipo{width:16%;}.novelty-report-table .c-inicio{width:6%;}.novelty-report-table .c-fin{width:6%;}
.novelty-report-table th{background:#2f69bf!important;color:#fff!important;}
.novelty-report-table td{word-break:break-word;white-space:normal;}
@media print{
  @page{size:A4 landscape;margin:6mm;}
  #report-print-area.report-novedades-print{width:100%!important;max-width:100%!important;}
  #report-print-area.report-novedades-print .novelty-report-header{display:grid;grid-template-columns:120px 1fr 145px 135px;gap:6px;padding:6px 6px;border-bottom:3px solid #01495E;page-break-inside:avoid;}
  #report-print-area.report-novedades-print .nrh-logo{min-height:48px;}
  #report-print-area.report-novedades-print .nrh-logo img{max-width:118px;max-height:48px;}
  #report-print-area.report-novedades-print .nrh-title{padding:4px 6px;border-left:3px solid #1b4f7a;border-right:3px solid #1b4f7a;}
  #report-print-area.report-novedades-print .nrh-title>div{font-size:16px;}
  #report-print-area.report-novedades-print .nrh-title span{font-size:9px;margin-top:2px;}
  #report-print-area.report-novedades-print .nrh-title small{font-size:8px;margin-top:1px;}
  #report-print-area.report-novedades-print .nrh-meta{font-size:9px;padding:3px 5px;border-left:2px solid #1b4f7a;border-right:2px solid #1b4f7a;line-height:1.25;}
  #report-print-area.report-novedades-print .report-context{padding:4px 0;border:0;}
  #report-print-area.report-novedades-print .report-context span{font-size:8px;padding:2px 5px;}
  #report-print-area.report-novedades-print .results-table-wrap{max-height:none!important;overflow:visible!important;border:0;}
  #report-print-area.report-novedades-print table.novelty-report-table{font-size:7px!important;line-height:1.05;table-layout:fixed;width:100%;border-collapse:collapse;}
  #report-print-area.report-novedades-print table.novelty-report-table th,
  #report-print-area.report-novedades-print table.novelty-report-table td{padding:2px 2px!important;border:1px solid #b8c9e8!important;white-space:normal!important;word-break:break-word!important;vertical-align:top;}
  #report-print-area.report-novedades-print table.novelty-report-table th{font-size:6.8px!important;background:#2f69bf!important;color:#fff!important;}
  #report-print-area.report-novedades-print table.novelty-report-table tbody tr:nth-child(even) td{background:#dbe7f7!important;-webkit-print-color-adjust:exact;print-color-adjust:exact;}
}

/* Ajuste v11 - Panel principal: alertas de finalización */
.dashboard-alert-card{border:1px solid rgba(1,73,94,.16);background:linear-gradient(135deg,#ffffff 0%,#f3fbfd 100%)}
.dash-alert-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}
.dash-alert-head h3{margin:0 0 4px 0;font-size:20px;color:var(--primary,#01495e)}
.dash-alert-head p{margin:0;color:#50646d;font-size:13px}
.dash-alert-badge{padding:10px 14px;border-radius:999px;font-weight:900;white-space:nowrap;border:1px solid rgba(1,73,94,.14)}
.dash-alert-badge.danger{background:#fee2e2;color:#991b1b;border-color:#fecaca}
.dash-alert-badge.ok{background:#dcfce7;color:#166534;border-color:#bbf7d0}
.empty-state{padding:18px;border:1px dashed #b8dce5;border-radius:14px;background:#fff;color:#47636d;font-weight:700;text-align:center}
.alert-legend{display:flex;align-items:center;gap:8px;margin:4px 0 12px 0;font-size:12px;font-weight:800;color:#45616b}
.alert-legend .lg{display:inline-block;width:18px;height:9px;border-radius:999px;margin-left:8px}.alert-legend .red{background:#ef4444}.alert-legend .yellow{background:#facc15}.alert-legend .green{background:#22c55e}
.dashboard-alert-table table tbody tr{background:linear-gradient(90deg,hsla(var(--alert-hue),78%,54%,var(--alert-alpha)),rgba(255,255,255,.96) 42%)}
.dashboard-alert-table table tbody tr td:first-child{font-weight:900;color:#0b3f4e}.alert-date-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:hsl(var(--alert-hue),78%,44%);margin-right:8px;box-shadow:0 0 0 3px hsla(var(--alert-hue),78%,54%,.16)}
.alert-days{display:inline-block;min-width:78px;text-align:center;padding:5px 8px;border-radius:999px;background:hsl(var(--alert-hue),78%,92%);color:hsl(var(--alert-hue),78%,24%);font-weight:900;border:1px solid hsla(var(--alert-hue),78%,44%,.25)}
@media(max-width:900px){.dash-alert-head{display:block}.dash-alert-badge{display:inline-block;margin-top:10px}.dashboard-alert-table{overflow:auto}}

/* v11.3 - Alertas de vencimiento realmente destacadas */
.dashboard-alert-card,
.card.dashboard-alert-card,
.dashboard-alert-card-strong{
  position:relative !important;
  overflow:hidden !important;
  border:2px solid #f97316 !important;
  border-left:12px solid #dc2626 !important;
  background:
    radial-gradient(circle at top left, rgba(239,68,68,.22), transparent 34%),
    linear-gradient(135deg,#fff7ed 0%,#fff 38%,#ecfdf5 100%) !important;
  box-shadow:0 22px 55px rgba(220,38,38,.20), 0 0 0 1px rgba(249,115,22,.08) inset !important;
}
.dashboard-alert-card::before{
  content:'ALERTAS DE VENCIMIENTO' !important;
  position:absolute !important;
  top:12px !important;
  right:-46px !important;
  transform:rotate(35deg) !important;
  background:#dc2626 !important;
  color:#fff !important;
  font-weight:950 !important;
  font-size:11px !important;
  letter-spacing:.12em !important;
  padding:8px 52px !important;
  box-shadow:0 10px 20px rgba(220,38,38,.25) !important;
  z-index:2 !important;
}
.dash-alert-head,
.dash-alert-head-strong{
  display:flex !important;
  justify-content:space-between !important;
  align-items:center !important;
  gap:18px !important;
  padding:14px 16px !important;
  margin:-2px -2px 16px -2px !important;
  border-radius:16px !important;
  border:1px solid rgba(220,38,38,.18) !important;
  background:linear-gradient(90deg,rgba(220,38,38,.12),rgba(249,115,22,.10),rgba(34,197,94,.10)) !important;
}
.dash-alert-title-wrap{display:flex !important;align-items:center !important;gap:14px !important;}
.dash-alert-icon{
  width:46px !important;height:46px !important;border-radius:50% !important;
  display:flex !important;align-items:center !important;justify-content:center !important;
  background:linear-gradient(135deg,#dc2626,#f97316) !important;color:#fff !important;
  font-size:30px !important;font-weight:950 !important;box-shadow:0 12px 24px rgba(220,38,38,.25) !important;
}
.dash-alert-head h3{
  margin:0 0 5px 0 !important;
  font-size:23px !important;
  color:#7f1d1d !important;
  letter-spacing:.01em !important;
}
.dash-alert-head p{margin:0 !important;color:#7c2d12 !important;font-weight:750 !important;}
.dash-alert-badge{
  padding:12px 18px !important;border-radius:999px !important;font-size:15px !important;font-weight:950 !important;
  box-shadow:0 12px 24px rgba(1,73,94,.13) !important;white-space:nowrap !important;
}
.dash-alert-badge.danger{background:linear-gradient(135deg,#dc2626,#ef4444) !important;color:#fff !important;border:0 !important;}
.dash-alert-badge.ok{background:linear-gradient(135deg,#16a34a,#22c55e) !important;color:#fff !important;border:0 !important;}
.dash-alert-strip{display:flex !important;gap:8px !important;align-items:center !important;margin:0 0 13px 0 !important;flex-wrap:wrap !important;}
.alert-tone{display:inline-flex !important;align-items:center !important;justify-content:center !important;min-width:74px !important;padding:7px 10px !important;border-radius:999px !important;font-size:12px !important;font-weight:950 !important;color:#fff !important;box-shadow:0 8px 18px rgba(0,0,0,.10) !important;}
.alert-tone-0{background:#dc2626 !important}.alert-tone-2{background:#f97316 !important}.alert-tone-4{background:#eab308 !important}.alert-tone-7{background:#16a34a !important}
.alert-legend{font-size:13px !important;padding:8px 10px !important;border-radius:12px !important;background:rgba(255,255,255,.76) !important;border:1px solid rgba(249,115,22,.18) !important;}
.dashboard-alert-table{border:2px solid rgba(1,73,94,.18) !important;border-radius:18px !important;box-shadow:0 12px 26px rgba(1,73,94,.08) !important;}
.dashboard-alert-table table{border-collapse:separate !important;border-spacing:0 7px !important;background:transparent !important;}
.dashboard-alert-table thead th{background:linear-gradient(180deg,#7f1d1d,#01495e) !important;color:#fff !important;font-size:11px !important;}
.dashboard-alert-table table tbody tr td,
.dashboard-alert-table table tbody tr:nth-child(even) td,
.dashboard-alert-table table tbody tr:hover td{
  background:transparent !important;
  border-top:1px solid rgba(255,255,255,.75) !important;
  border-bottom:1px solid rgba(1,73,94,.08) !important;
  font-weight:780 !important;
}
.dashboard-alert-table table tbody tr td:first-child{border-left:7px solid hsl(var(--alert-hue),82%,42%) !important;border-radius:12px 0 0 12px !important;}
.dashboard-alert-table table tbody tr td:last-child{border-radius:0 12px 12px 0 !important;}
.dashboard-alert-table table tbody tr{
  background:linear-gradient(90deg,hsla(var(--alert-hue),84%,54%,.36),hsla(var(--alert-hue),84%,88%,.52) 47%,rgba(255,255,255,.96) 100%) !important;
  box-shadow:0 8px 20px rgba(1,73,94,.08) !important;
  border-radius:12px !important;
}
.dashboard-alert-table table tbody tr.alert-severity-0{background:linear-gradient(90deg,rgba(220,38,38,.45),rgba(254,226,226,.95),#fff) !important;}
.dashboard-alert-table table tbody tr.alert-severity-1{background:linear-gradient(90deg,rgba(239,68,68,.38),rgba(255,237,213,.92),#fff) !important;}
.dashboard-alert-table table tbody tr.alert-severity-2{background:linear-gradient(90deg,rgba(249,115,22,.34),rgba(255,237,213,.90),#fff) !important;}
.dashboard-alert-table table tbody tr.alert-severity-3{background:linear-gradient(90deg,rgba(245,158,11,.32),rgba(254,249,195,.90),#fff) !important;}
.dashboard-alert-table table tbody tr.alert-severity-4{background:linear-gradient(90deg,rgba(234,179,8,.30),rgba(254,252,232,.92),#fff) !important;}
.dashboard-alert-table table tbody tr.alert-severity-5{background:linear-gradient(90deg,rgba(132,204,22,.28),rgba(240,253,244,.92),#fff) !important;}
.dashboard-alert-table table tbody tr.alert-severity-6{background:linear-gradient(90deg,rgba(34,197,94,.26),rgba(240,253,244,.92),#fff) !important;}
.dashboard-alert-table table tbody tr.alert-severity-7{background:linear-gradient(90deg,rgba(22,163,74,.24),rgba(240,253,244,.94),#fff) !important;}
.alert-date-dot{width:13px !important;height:13px !important;box-shadow:0 0 0 5px hsla(var(--alert-hue),82%,54%,.18) !important;vertical-align:middle !important;}
.alert-days{min-width:88px !important;padding:7px 10px !important;font-size:12px !important;background:#fff !important;border:2px solid hsl(var(--alert-hue),82%,42%) !important;box-shadow:0 7px 15px hsla(var(--alert-hue),82%,44%,.14) !important;}
.dashboard-alert-table a{font-weight:950 !important;color:#003f52 !important;text-decoration:underline !important;text-underline-offset:3px !important;}
.empty-state{font-size:15px !important;background:linear-gradient(135deg,#ecfdf5,#fff) !important;border:2px dashed #16a34a !important;}
@media(max-width:900px){.dash-alert-head{display:block !important}.dash-alert-badge{display:inline-flex !important;margin-top:10px !important}.dashboard-alert-card::before{display:none !important}}


/* v11.4 - Corrección visual: quitar barra diagonal del recuadro de alertas */
.dashboard-alert-card::before,
.card.dashboard-alert-card::before,
.dashboard-alert-card-strong::before{
  content:none !important;
  display:none !important;
  visibility:hidden !important;
}
.dashboard-alert-card,
.card.dashboard-alert-card,
.dashboard-alert-card-strong{
  overflow:visible !important;
}
.dashboard-alert-table{
  overflow:auto !important;
}

/* v12 - carga, vista preliminar y recorte de foto del colaborador */
.photo-upload-field{grid-column:span 1}
.photo-crop-panel{margin-top:12px;border:1px solid #b8dce6;border-radius:18px;padding:14px;background:linear-gradient(180deg,#f7fcfd,#eef9fc);box-shadow:0 10px 24px rgba(1,73,94,.08)}
.photo-crop-title{font-weight:900;color:#01495E;margin-bottom:10px}
.photo-crop-shell{width:292px;max-width:100%;padding:6px;margin:0 auto;border-radius:22px;background:#fff;border:1px solid #d7e8ee;box-shadow:inset 0 0 0 2px rgba(109,194,213,.18)}
.photo-crop-shell canvas{width:100%;height:auto;display:block;border-radius:16px;cursor:grab;background:#fff;touch-action:none}
.photo-crop-shell canvas.dragging{cursor:grabbing}
.photo-crop-controls{margin-top:10px;display:grid;grid-template-columns:70px 1fr;gap:8px;align-items:center}
.photo-crop-controls label{margin:0}
.collab-photo-form-preview{margin-top:12px;border:1px dashed #c7dce3;border-radius:16px;padding:10px;background:#fff;display:flex;align-items:center;gap:12px;color:#617782;font-weight:800}
.collab-photo-form-preview img{width:86px;height:86px;border-radius:18px;object-fit:cover;border:3px solid #e5f7fb;box-shadow:0 8px 18px rgba(1,73,94,.12)}
@media(max-width:900px){.photo-upload-field{grid-column:span 1}.photo-crop-shell{width:260px}}

/* v12.1 - Ficha de colaborador organizada en tablas e impresión tipo informe */
.collaborator-ficha-card,
.card.collaborator-ficha-card{
  padding:0 !important;
  overflow:hidden !important;
  background:#fff !important;
}
.ficha-print-sheet{border:1px solid var(--line) !important;border-radius:18px !important;}
.ficha-doc-header{
  display:grid !important;
  grid-template-columns:170px 1fr 160px 170px !important;
  align-items:center !important;
  gap:14px !important;
  padding:16px 18px !important;
  background:linear-gradient(135deg,#fff 0%,#f4fbfd 55%,#e7f7fb 100%) !important;
  border-bottom:5px solid var(--brand) !important;
}
.ficha-logo-box{height:82px !important;display:flex !important;align-items:center !important;justify-content:center !important;overflow:hidden !important;}
.ficha-logo-box img{max-width:150px !important;max-height:78px !important;width:auto !important;height:auto !important;object-fit:contain !important;display:block !important;}
.ficha-logo-mandatos{border-right:4px solid #1b4f7a !important;justify-content:flex-start !important;padding-right:12px !important;}
.ficha-logo-client{border-left:4px solid #1b4f7a !important;justify-content:flex-end !important;padding-left:12px !important;}
.ficha-logo-client strong{display:block;text-align:center;color:var(--brand);font-weight:950;line-height:1.15;}
.ficha-title-box{text-align:center !important;color:#001f2a !important;line-height:1.18 !important;}
.ficha-title-box>div{font-size:25px !important;font-weight:950 !important;letter-spacing:.08em !important;text-transform:uppercase !important;color:#000 !important;}
.ficha-title-box span{display:block !important;margin-top:5px !important;font-size:13px !important;font-weight:950 !important;color:var(--brand) !important;text-transform:uppercase !important;}
.ficha-title-box small{display:block !important;margin-top:4px !important;font-size:12px !important;color:#365764 !important;font-weight:800 !important;}
.ficha-meta-box{font-size:12px !important;line-height:1.35 !important;text-align:center !important;color:#111827 !important;padding:8px 10px !important;border-left:3px solid #1b4f7a !important;border-right:3px solid #1b4f7a !important;background:rgba(255,255,255,.75) !important;border-radius:8px !important;}
.ficha-identity-band{
  display:grid !important;
  grid-template-columns:150px 1fr !important;
  gap:18px !important;
  align-items:center !important;
  padding:18px 20px !important;
  background:linear-gradient(90deg,#f7fcfd,#fff) !important;
  border-bottom:1px solid var(--line) !important;
}
.ficha-photo-box{width:132px !important;height:132px !important;border-radius:22px !important;border:4px solid #d9f3fa !important;background:#edf8fb !important;display:flex !important;align-items:center !important;justify-content:center !important;box-shadow:0 14px 26px rgba(1,73,94,.12) !important;overflow:hidden !important;}
.ficha-photo-box img{width:100% !important;height:100% !important;object-fit:cover !important;display:block !important;}
.ficha-photo-placeholder{width:100% !important;height:100% !important;display:flex !important;align-items:center !important;justify-content:center !important;background:linear-gradient(135deg,var(--brand),#0a6177) !important;color:#fff !important;font-size:36px !important;font-weight:950 !important;letter-spacing:.04em !important;}
.ficha-kicker{font-size:11px !important;text-transform:uppercase !important;letter-spacing:.12em !important;color:#6b7f89 !important;font-weight:950 !important;margin-bottom:5px !important;}
.ficha-identity-main h2{margin:0 0 7px 0 !important;color:var(--brand) !important;font-size:26px !important;line-height:1.1 !important;text-transform:uppercase !important;}
.ficha-identity-main p{margin:0 0 10px 0 !important;color:#273f49 !important;font-weight:850 !important;}
.ficha-tags{display:flex !important;gap:8px !important;align-items:center !important;flex-wrap:wrap !important;}
.ficha-tags span{background:#e8f7fb !important;color:var(--brand) !important;border:1px solid #bfe4ee !important;border-radius:999px !important;padding:6px 10px !important;font-weight:900 !important;font-size:12px !important;}
.ficha-tags .pill{padding:6px 10px !important;}
.ficha-tables-grid{display:grid !important;grid-template-columns:1fr 1fr !important;gap:16px !important;padding:18px 20px !important;}
.ficha-info-section{border:1px solid var(--line) !important;border-radius:16px !important;overflow:hidden !important;background:#fff !important;box-shadow:0 8px 18px rgba(1,73,94,.05) !important;}
.ficha-info-section-wide{grid-column:1 / -1 !important;}
.ficha-info-section h3,
.ficha-section-title-row h3{margin:0 !important;background:linear-gradient(180deg,var(--brand),var(--brandDark)) !important;color:#fff !important;padding:10px 13px !important;font-size:13px !important;text-transform:uppercase !important;letter-spacing:.05em !important;}
.ficha-info-table{width:100% !important;min-width:0 !important;border-collapse:collapse !important;border-spacing:0 !important;}
.ficha-info-table th,.ficha-info-table td{padding:8px 10px !important;border:1px solid #e4eff3 !important;font-size:12.5px !important;line-height:1.25 !important;vertical-align:middle !important;}
.ficha-info-table th{width:32% !important;background:#f2fafc !important;color:var(--brand) !important;text-transform:none !important;letter-spacing:0 !important;font-weight:950 !important;white-space:normal !important;}
.ficha-info-table td{font-weight:750 !important;color:#12303b !important;background:#fff !important;}
.ficha-three-col th{width:18% !important}.ficha-three-col td{width:32% !important}
.ficha-section-title-row{display:flex !important;align-items:center !important;justify-content:space-between !important;background:linear-gradient(180deg,var(--brand),var(--brandDark)) !important;border-radius:16px 16px 0 0 !important;overflow:hidden !important;}
.ficha-section-title-row h3{background:transparent !important;}
.ficha-section-title-row span{margin-right:12px !important;background:#e8f7fb !important;color:var(--brand) !important;border-radius:999px !important;padding:5px 10px !important;font-weight:950 !important;font-size:12px !important;}
.ficha-novedades-section{padding:0 20px 20px !important;}
.ficha-novedades-table{border-radius:0 0 16px 16px !important;}
.ficha-novedades-table table{min-width:1050px !important;}
.ficha-novedades-table th{font-size:10px !important;}
.ficha-novedades-table td{font-size:12px !important;}
.print-toggle{margin:0 !important;}
@media(max-width:900px){
  .ficha-doc-header{grid-template-columns:1fr !important;text-align:center !important;}
  .ficha-logo-mandatos,.ficha-logo-client{border:0 !important;justify-content:center !important;padding:0 !important;}
  .ficha-identity-band{grid-template-columns:1fr !important;justify-items:center !important;text-align:center !important;}
  .ficha-tables-grid{grid-template-columns:1fr !important;}
}
@media print{
  @page fichaPage{size:letter portrait;margin:8mm;}
  #report-print-area.ficha-print-sheet{page:fichaPage;}
  #report-print-area.ficha-print-sheet{position:absolute !important;left:0 !important;top:0 !important;width:100% !important;border:0 !important;box-shadow:none !important;border-radius:0 !important;margin:0 !important;background:#fff !important;}
  #report-print-area.ficha-print-sheet .ficha-doc-header{grid-template-columns:95px 1fr 115px 95px !important;gap:5px !important;padding:6px 7px !important;border-bottom:3px solid #01495E !important;}
  #report-print-area.ficha-print-sheet .ficha-logo-box{height:46px !important;}
  #report-print-area.ficha-print-sheet .ficha-logo-box img{max-width:88px !important;max-height:44px !important;}
  #report-print-area.ficha-print-sheet .ficha-title-box>div{font-size:15px !important;letter-spacing:.06em !important;}
  #report-print-area.ficha-print-sheet .ficha-title-box span{font-size:8.5px !important;margin-top:2px !important;}
  #report-print-area.ficha-print-sheet .ficha-title-box small{font-size:7.5px !important;margin-top:1px !important;}
  #report-print-area.ficha-print-sheet .ficha-meta-box{font-size:7.5px !important;padding:3px 4px !important;line-height:1.2 !important;border-left:2px solid #1b4f7a !important;border-right:2px solid #1b4f7a !important;}
  #report-print-area.ficha-print-sheet .ficha-identity-band{grid-template-columns:76px 1fr !important;gap:9px !important;padding:8px 9px !important;}
  #report-print-area.ficha-print-sheet .ficha-photo-box{width:70px !important;height:70px !important;border-radius:12px !important;border-width:2px !important;box-shadow:none !important;}
  #report-print-area.ficha-print-sheet .ficha-photo-placeholder{font-size:20px !important;}
  #report-print-area.ficha-print-sheet .ficha-kicker{font-size:7px !important;margin-bottom:2px !important;}
  #report-print-area.ficha-print-sheet .ficha-identity-main h2{font-size:14px !important;margin-bottom:3px !important;}
  #report-print-area.ficha-print-sheet .ficha-identity-main p{font-size:8px !important;margin-bottom:4px !important;}
  #report-print-area.ficha-print-sheet .ficha-tags span,
  #report-print-area.ficha-print-sheet .ficha-tags .pill{font-size:7px !important;padding:2px 5px !important;}
  #report-print-area.ficha-print-sheet .ficha-tables-grid{grid-template-columns:1fr 1fr !important;gap:6px !important;padding:7px 9px !important;}
  #report-print-area.ficha-print-sheet .ficha-info-section{border-radius:8px !important;box-shadow:none !important;}
  #report-print-area.ficha-print-sheet .ficha-info-section-wide{grid-column:1 / -1 !important;}
  #report-print-area.ficha-print-sheet .ficha-info-section h3,
  #report-print-area.ficha-print-sheet .ficha-section-title-row h3{font-size:8px !important;padding:5px 7px !important;}
  #report-print-area.ficha-print-sheet .ficha-info-table th,
  #report-print-area.ficha-print-sheet .ficha-info-table td{font-size:7.5px !important;padding:3px 4px !important;line-height:1.08 !important;border:1px solid #c9d4d8 !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-section{padding:0 9px 8px !important;}
  #report-print-area.ficha-print-sheet .ficha-section-title-row span{font-size:7px !important;padding:2px 5px !important;margin-right:7px !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table{overflow:visible !important;border:0 !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table table{min-width:0 !important;width:100% !important;table-layout:fixed !important;border-collapse:collapse !important;font-size:6.8px !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table th,
  #report-print-area.ficha-print-sheet .ficha-novedades-table td{font-size:6.5px !important;padding:2px 2px !important;line-height:1.05 !important;word-break:break-word !important;white-space:normal !important;border:1px solid #c9d4d8 !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table th{background:#01495E !important;color:#fff !important;-webkit-print-color-adjust:exact;print-color-adjust:exact;}
  body.hide-ficha-novedades-print #report-print-area.ficha-print-sheet .ficha-novedades-section{display:none !important;}
}

/* v12.1 - Corrección definitiva ficha colaborador: NIT + impresión carta vertical */
@media print{
  @page{size:letter portrait !important;margin:7mm !important;}
  html,body{width:216mm !important;min-height:279mm !important;background:#fff !important;overflow:visible !important;font-size:8.5px !important;}
  body *{visibility:hidden !important;}
  #report-print-area.ficha-print-sheet,
  #report-print-area.ficha-print-sheet *{visibility:visible !important;}
  #report-print-area.ficha-print-sheet{position:absolute !important;left:0 !important;top:0 !important;width:100% !important;max-width:100% !important;margin:0 !important;padding:0 !important;border:0 !important;box-shadow:none !important;border-radius:0 !important;background:#fff !important;color:#000 !important;overflow:visible !important;}
  #report-print-area.ficha-print-sheet .ficha-doc-header{display:grid !important;grid-template-columns:74px 1fr 96px 76px !important;gap:4px !important;align-items:center !important;padding:4px 5px !important;border-bottom:3px solid #01495E !important;background:#fff !important;break-inside:avoid !important;}
  #report-print-area.ficha-print-sheet .ficha-logo-box{height:38px !important;min-height:38px !important;max-height:38px !important;display:flex !important;align-items:center !important;justify-content:center !important;overflow:hidden !important;}
  #report-print-area.ficha-print-sheet .ficha-logo-box img{width:auto !important;height:auto !important;max-width:70px !important;max-height:36px !important;object-fit:contain !important;display:block !important;}
  #report-print-area.ficha-print-sheet .ficha-logo-mandatos{border-right:2px solid #1b4f7a !important;padding-right:4px !important;}
  #report-print-area.ficha-print-sheet .ficha-logo-client{border-left:2px solid #1b4f7a !important;padding-left:4px !important;}
  #report-print-area.ficha-print-sheet .ficha-title-box{line-height:1.08 !important;text-align:center !important;}
  #report-print-area.ficha-print-sheet .ficha-title-box>div{font-size:13px !important;letter-spacing:.05em !important;margin:0 !important;}
  #report-print-area.ficha-print-sheet .ficha-title-box span{font-size:7px !important;margin-top:1px !important;}
  #report-print-area.ficha-print-sheet .ficha-title-box small{font-size:6.5px !important;margin-top:1px !important;}
  #report-print-area.ficha-print-sheet .ficha-meta-box{font-size:6.7px !important;line-height:1.12 !important;padding:2px 3px !important;border-left:1.5px solid #1b4f7a !important;border-right:1.5px solid #1b4f7a !important;border-radius:4px !important;background:#fff !important;}
  #report-print-area.ficha-print-sheet .ficha-identity-band{display:grid !important;grid-template-columns:54px 1fr !important;gap:7px !important;align-items:center !important;padding:6px 6px !important;background:#fff !important;border-bottom:1px solid #c9d4d8 !important;break-inside:avoid !important;}
  #report-print-area.ficha-print-sheet .ficha-photo-box{width:50px !important;height:50px !important;border-radius:8px !important;border:1.5px solid #b8d9e2 !important;box-shadow:none !important;}
  #report-print-area.ficha-print-sheet .ficha-photo-box img{width:100% !important;height:100% !important;object-fit:cover !important;}
  #report-print-area.ficha-print-sheet .ficha-photo-placeholder{font-size:15px !important;}
  #report-print-area.ficha-print-sheet .ficha-kicker{font-size:6px !important;margin-bottom:1px !important;letter-spacing:.08em !important;}
  #report-print-area.ficha-print-sheet .ficha-identity-main h2{font-size:11.5px !important;margin:0 0 2px 0 !important;line-height:1.05 !important;}
  #report-print-area.ficha-print-sheet .ficha-identity-main p{font-size:6.8px !important;margin:0 0 3px 0 !important;}
  #report-print-area.ficha-print-sheet .ficha-tags{gap:3px !important;}
  #report-print-area.ficha-print-sheet .ficha-tags span,
  #report-print-area.ficha-print-sheet .ficha-tags .pill{font-size:5.8px !important;padding:1.5px 4px !important;border-radius:999px !important;}
  #report-print-area.ficha-print-sheet .ficha-tables-grid{display:grid !important;grid-template-columns:1fr 1fr !important;gap:4px !important;padding:5px 6px !important;break-inside:avoid !important;}
  #report-print-area.ficha-print-sheet .ficha-info-section{border-radius:6px !important;box-shadow:none !important;overflow:hidden !important;break-inside:avoid !important;}
  #report-print-area.ficha-print-sheet .ficha-info-section-wide{grid-column:1 / -1 !important;}
  #report-print-area.ficha-print-sheet .ficha-info-section h3,
  #report-print-area.ficha-print-sheet .ficha-section-title-row h3{font-size:6.8px !important;padding:3.5px 5px !important;letter-spacing:.03em !important;background:#01495E !important;color:#fff !important;-webkit-print-color-adjust:exact !important;print-color-adjust:exact !important;}
  #report-print-area.ficha-print-sheet .ficha-info-table{width:100% !important;min-width:0 !important;table-layout:fixed !important;border-collapse:collapse !important;border-spacing:0 !important;}
  #report-print-area.ficha-print-sheet .ficha-info-table th,
  #report-print-area.ficha-print-sheet .ficha-info-table td{font-size:6.6px !important;padding:2.2px 3px !important;line-height:1.02 !important;border:1px solid #c9d4d8 !important;white-space:normal !important;word-break:break-word !important;vertical-align:middle !important;}
  #report-print-area.ficha-print-sheet .ficha-info-table th{width:28% !important;background:#eef7fa !important;color:#01495E !important;-webkit-print-color-adjust:exact !important;print-color-adjust:exact !important;}
  #report-print-area.ficha-print-sheet .ficha-three-col th{width:17% !important;}
  #report-print-area.ficha-print-sheet .ficha-three-col td{width:33% !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-section{padding:0 6px 4px !important;break-inside:auto !important;}
  #report-print-area.ficha-print-sheet .ficha-section-title-row{border-radius:6px 6px 0 0 !important;break-inside:avoid !important;}
  #report-print-area.ficha-print-sheet .ficha-section-title-row span{font-size:6px !important;padding:1.5px 4px !important;margin-right:4px !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table{overflow:visible !important;border:0 !important;border-radius:0 !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table table{width:100% !important;min-width:0 !important;max-width:100% !important;table-layout:fixed !important;border-collapse:collapse !important;border-spacing:0 !important;font-size:5.5px !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table th,
  #report-print-area.ficha-print-sheet .ficha-novedades-table td{font-size:5.25px !important;padding:1.4px 1.5px !important;line-height:1.02 !important;border:1px solid #c9d4d8 !important;white-space:normal !important;word-break:break-word !important;overflow-wrap:anywhere !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table th{background:#01495E !important;color:#fff !important;-webkit-print-color-adjust:exact !important;print-color-adjust:exact !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(1),
  #report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(1){width:7% !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(2),
  #report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(2){width:8% !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(3),
  #report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(3){width:10% !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(4),
  #report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(4){width:16% !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(5),
  #report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(5){width:8% !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(6),
  #report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(6){width:8% !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(7),
  #report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(7){width:5% !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(8),
  #report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(8){width:8% !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(9),
  #report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(9){width:8% !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(10),
  #report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(10){width:22% !important;}
  body.hide-ficha-novedades-print #report-print-area.ficha-print-sheet .ficha-novedades-section{display:none !important;}
}

/* v12.2 - Ficha colaborador final: diseño tipo carné + tablas compactas */
#report-print-area.ficha-print-sheet .ficha-body-layout{
  display:grid;
  grid-template-columns:260px 1fr;
  gap:18px;
  padding:20px 22px 10px;
  align-items:stretch;
}
#report-print-area.ficha-print-sheet .ficha-profile-card{
  border:1px solid #cfe3e8;
  border-radius:18px;
  background:linear-gradient(180deg,#ffffff,#f7fbfc);
  padding:18px 16px;
  text-align:center;
  box-shadow:0 10px 28px rgba(1,73,94,.08);
}
#report-print-area.ficha-print-sheet .ficha-photo-large{
  width:136px;
  height:136px;
  margin:0 auto 14px;
  border-radius:20px;
  border:2px solid #b8d9e2;
  background:#fff;
  box-shadow:0 8px 18px rgba(1,73,94,.12);
}
#report-print-area.ficha-print-sheet .ficha-profile-card h2{
  font-size:22px;
  line-height:1.12;
  color:#01495E;
  margin:6px 0 8px;
  text-transform:uppercase;
}
#report-print-area.ficha-print-sheet .ficha-green-line{
  width:52px;
  height:4px;
  border-radius:999px;
  background:#65a82f;
  margin:12px auto 16px;
}
#report-print-area.ficha-print-sheet .ficha-profile-item{
  border-top:1px solid #e2edf1;
  border-bottom:1px solid #e2edf1;
  padding:12px 4px;
  margin:0 0 14px;
}
#report-print-area.ficha-print-sheet .ficha-profile-item span{
  display:block;
  font-size:11px;
  color:#01495E;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}
#report-print-area.ficha-print-sheet .ficha-profile-item strong{
  display:block;
  margin-top:4px;
  font-size:15px;
  color:#111827;
}
#report-print-area.ficha-print-sheet .ficha-profile-pills{
  display:grid;
  gap:10px;
  justify-items:center;
}
#report-print-area.ficha-print-sheet .ficha-profile-pills span,
#report-print-area.ficha-print-sheet .ficha-profile-pills .pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:142px;
  max-width:100%;
  min-height:34px;
  padding:7px 14px;
  border-radius:999px;
  background:#edf5f7;
  color:#01495E;
  font-weight:900;
  font-size:13px;
  white-space:normal;
  line-height:1.15;
}
#report-print-area.ficha-print-sheet .ficha-profile-pills .pill.ok{
  background:#e6f4ec;
  color:#1f7a39;
}
#report-print-area.ficha-print-sheet .ficha-details-stack{
  display:grid;
  gap:12px;
  align-content:start;
}
#report-print-area.ficha-print-sheet .ficha-two-col th{width:20%;}
#report-print-area.ficha-print-sheet .ficha-two-col td{width:30%;}
#report-print-area.ficha-print-sheet .ficha-info-table th,
#report-print-area.ficha-print-sheet .ficha-info-table td{
  vertical-align:middle;
}
#report-print-area.ficha-print-sheet .ficha-novedades-section{padding:8px 22px 18px;}
#report-print-area.ficha-print-sheet .ficha-novedades-table table{table-layout:fixed;}
#report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(1),
#report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(1){width:9%;}
#report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(2),
#report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(2){width:10%;}
#report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(3),
#report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(3){width:12%;}
#report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(4),
#report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(4){width:15%;}
#report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(5),
#report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(5){width:10%;}
#report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(6),
#report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(6){width:9%;}
#report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(7),
#report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(7){width:5%;text-align:center;}
#report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(8),
#report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(8){width:8%;text-align:center;}
#report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(9),
#report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(9){width:9%;text-align:center;white-space:nowrap;}
#report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(10),
#report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(10){width:13%;}

@media(max-width:900px){
  #report-print-area.ficha-print-sheet .ficha-body-layout{grid-template-columns:1fr;}
  #report-print-area.ficha-print-sheet .ficha-profile-card{display:grid;grid-template-columns:140px 1fr;gap:12px;text-align:left;align-items:center;}
  #report-print-area.ficha-print-sheet .ficha-profile-card .ficha-green-line{margin:8px 0;}
}

@media print{
  @page{size:letter portrait !important;margin:9mm 8mm !important;}
  html,body{width:216mm !important;min-height:279mm !important;background:#fff !important;overflow:visible !important;font-size:9pt !important;}
  body *{visibility:hidden !important;}
  #report-print-area.ficha-print-sheet,
  #report-print-area.ficha-print-sheet *{visibility:visible !important;}
  #report-print-area.ficha-print-sheet{position:absolute !important;left:0 !important;top:0 !important;width:100% !important;max-width:100% !important;margin:0 !important;padding:0 !important;border:0 !important;box-shadow:none !important;border-radius:0 !important;background:#fff !important;color:#0f2530 !important;overflow:visible !important;font-family:Arial, Helvetica, sans-serif !important;}
  #report-print-area.ficha-print-sheet .ficha-doc-header{display:grid !important;grid-template-columns:32mm 1fr 38mm 30mm !important;gap:3mm !important;align-items:center !important;padding:0 0 3mm !important;border-bottom:2.4pt solid #01495E !important;background:#fff !important;break-inside:avoid !important;}
  #report-print-area.ficha-print-sheet .ficha-logo-box{height:17mm !important;min-height:17mm !important;max-height:17mm !important;display:flex !important;align-items:center !important;justify-content:center !important;overflow:hidden !important;}
  #report-print-area.ficha-print-sheet .ficha-logo-box img{width:auto !important;height:auto !important;max-width:27mm !important;max-height:15mm !important;object-fit:contain !important;display:block !important;}
  #report-print-area.ficha-print-sheet .ficha-logo-mandatos{border-right:1.8pt solid #1b4f7a !important;padding-right:2mm !important;}
  #report-print-area.ficha-print-sheet .ficha-logo-client{border-left:1.8pt solid #1b4f7a !important;padding-left:2mm !important;}
  #report-print-area.ficha-print-sheet .ficha-title-box{line-height:1.12 !important;text-align:center !important;}
  #report-print-area.ficha-print-sheet .ficha-title-box>div{font-size:18pt !important;letter-spacing:.08em !important;font-weight:900 !important;margin:0 !important;color:#01495E !important;}
  #report-print-area.ficha-print-sheet .ficha-title-box span{font-size:9pt !important;font-weight:900 !important;margin-top:2px !important;color:#01495E !important;display:block !important;}
  #report-print-area.ficha-print-sheet .ficha-title-box small{font-size:7.5pt !important;margin-top:1px !important;color:#0f2530 !important;display:block !important;}
  #report-print-area.ficha-print-sheet .ficha-meta-box{font-size:7.2pt !important;line-height:1.16 !important;padding:2mm 2mm !important;border-left:1.4pt solid #1b4f7a !important;border-right:1.4pt solid #1b4f7a !important;border-radius:3mm !important;background:#fff !important;text-align:center !important;}

  #report-print-area.ficha-print-sheet .ficha-body-layout{display:grid !important;grid-template-columns:44mm 1fr !important;gap:4mm !important;align-items:stretch !important;padding:6mm 0 3.5mm !important;break-inside:avoid !important;}
  #report-print-area.ficha-print-sheet .ficha-profile-card{border:1pt solid #d6e4e8 !important;border-radius:4mm !important;background:#fff !important;padding:5mm 3.5mm !important;text-align:center !important;box-shadow:none !important;break-inside:avoid !important;}
  #report-print-area.ficha-print-sheet .ficha-photo-large{width:28mm !important;height:28mm !important;margin:0 auto 3mm !important;border-radius:50% !important;border:1.2pt solid #d0e4ea !important;box-shadow:none !important;background:#fff !important;}
  #report-print-area.ficha-print-sheet .ficha-photo-large img{width:100% !important;height:100% !important;object-fit:cover !important;border-radius:50% !important;}
  #report-print-area.ficha-print-sheet .ficha-photo-placeholder{font-size:13pt !important;}
  #report-print-area.ficha-print-sheet .ficha-profile-card h2{font-size:12.5pt !important;line-height:1.08 !important;color:#01495E !important;margin:0 0 2.5mm !important;text-transform:uppercase !important;}
  #report-print-area.ficha-print-sheet .ficha-green-line{width:18mm !important;height:1.5pt !important;background:#65a82f !important;margin:2.5mm auto 3.2mm !important;border-radius:99px !important;-webkit-print-color-adjust:exact !important;print-color-adjust:exact !important;}
  #report-print-area.ficha-print-sheet .ficha-profile-item{padding:2mm 0 !important;margin:0 0 3mm !important;border-top:1px solid #e2edf1 !important;border-bottom:1px solid #e2edf1 !important;}
  #report-print-area.ficha-print-sheet .ficha-profile-item span{font-size:7.4pt !important;letter-spacing:.04em !important;color:#01495E !important;font-weight:900 !important;}
  #report-print-area.ficha-print-sheet .ficha-profile-item strong{font-size:9pt !important;margin-top:1mm !important;color:#111827 !important;}
  #report-print-area.ficha-print-sheet .ficha-profile-pills{gap:2mm !important;display:grid !important;justify-items:center !important;}
  #report-print-area.ficha-print-sheet .ficha-profile-pills span,
  #report-print-area.ficha-print-sheet .ficha-profile-pills .pill{min-height:7mm !important;min-width:30mm !important;max-width:36mm !important;padding:1.2mm 2mm !important;font-size:7.6pt !important;line-height:1.08 !important;border-radius:99px !important;background:#eef4f6 !important;color:#01495E !important;font-weight:900 !important;white-space:normal !important;-webkit-print-color-adjust:exact !important;print-color-adjust:exact !important;}
  #report-print-area.ficha-print-sheet .ficha-profile-pills .pill.ok{background:#e8f4e8 !important;color:#319442 !important;}
  #report-print-area.ficha-print-sheet .ficha-details-stack{display:grid !important;gap:3mm !important;align-content:start !important;}

  #report-print-area.ficha-print-sheet .ficha-info-section{border-radius:3mm !important;box-shadow:none !important;overflow:hidden !important;border:1px solid #c9d4d8 !important;break-inside:avoid !important;}
  #report-print-area.ficha-print-sheet .ficha-info-section h3,
  #report-print-area.ficha-print-sheet .ficha-section-title-row h3{font-size:8.4pt !important;padding:2mm 2.5mm !important;letter-spacing:.04em !important;background:#01495E !important;color:#fff !important;margin:0 !important;-webkit-print-color-adjust:exact !important;print-color-adjust:exact !important;}
  #report-print-area.ficha-print-sheet .ficha-info-table{width:100% !important;min-width:0 !important;table-layout:fixed !important;border-collapse:collapse !important;border-spacing:0 !important;}
  #report-print-area.ficha-print-sheet .ficha-info-table th,
  #report-print-area.ficha-print-sheet .ficha-info-table td{font-size:7.5pt !important;padding:1.7mm 2mm !important;line-height:1.12 !important;border:1px solid #d7e1e5 !important;white-space:normal !important;word-break:normal !important;overflow-wrap:break-word !important;vertical-align:middle !important;}
  #report-print-area.ficha-print-sheet .ficha-info-table th{width:20% !important;background:#eef7fa !important;color:#01495E !important;font-weight:900 !important;-webkit-print-color-adjust:exact !important;print-color-adjust:exact !important;}
  #report-print-area.ficha-print-sheet .ficha-info-table td{width:30% !important;color:#0f2530 !important;}

  #report-print-area.ficha-print-sheet .ficha-novedades-section{padding:0 0 0 !important;break-inside:auto !important;}
  #report-print-area.ficha-print-sheet .ficha-section-title-row{display:flex !important;align-items:center !important;justify-content:space-between !important;border-radius:3mm 3mm 0 0 !important;background:#01495E !important;color:#fff !important;margin:0 !important;padding:0 !important;-webkit-print-color-adjust:exact !important;print-color-adjust:exact !important;}
  #report-print-area.ficha-print-sheet .ficha-section-title-row h3{border-radius:0 !important;background:transparent !important;padding:2mm 2.5mm !important;}
  #report-print-area.ficha-print-sheet .ficha-section-title-row span{font-size:7pt !important;padding:1mm 2mm !important;margin-right:2mm !important;background:#fff !important;color:#01495E !important;border-radius:99px !important;font-weight:900 !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table{overflow:visible !important;border:1px solid #c9d4d8 !important;border-top:0 !important;border-radius:0 0 3mm 3mm !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table table{width:100% !important;min-width:0 !important;max-width:100% !important;table-layout:fixed !important;border-collapse:collapse !important;border-spacing:0 !important;font-size:6.6pt !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table th,
  #report-print-area.ficha-print-sheet .ficha-novedades-table td{font-size:6.5pt !important;padding:1.45mm 1.3mm !important;line-height:1.1 !important;border:1px solid #d7e1e5 !important;white-space:normal !important;word-break:normal !important;overflow-wrap:break-word !important;vertical-align:middle !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table th{background:#01495E !important;color:#fff !important;font-weight:900 !important;text-align:center !important;-webkit-print-color-adjust:exact !important;print-color-adjust:exact !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(1),
  #report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(1){width:8% !important;white-space:nowrap !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(2),
  #report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(2){width:9% !important;text-align:center !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(3),
  #report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(3){width:12% !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(4),
  #report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(4){width:15% !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(5),
  #report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(5){width:9% !important;white-space:nowrap !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(6),
  #report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(6){width:8% !important;white-space:nowrap !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(7),
  #report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(7){width:5% !important;text-align:center !important;white-space:nowrap !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(8),
  #report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(8){width:7% !important;text-align:center !important;white-space:nowrap !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(9),
  #report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(9){width:9% !important;text-align:center !important;white-space:nowrap !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table th:nth-child(10),
  #report-print-area.ficha-print-sheet .ficha-novedades-table td:nth-child(10){width:18% !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table .pill{display:inline-flex !important;white-space:nowrap !important;font-size:6.4pt !important;line-height:1 !important;padding:1mm 1.5mm !important;min-width:auto !important;border-radius:99px !important;}
  body.hide-ficha-novedades-print #report-print-area.ficha-print-sheet .ficha-novedades-section{display:none !important;}
}

/* v12.4 - Corrección definitiva de ficha de colaborador: datos organizados, novedades compactas y nombre sugerido para PDF */
#report-print-area.ficha-print-sheet{background:#fff !important;}
#report-print-area.ficha-print-sheet .ficha-doc-header{border-bottom:4px solid #01495E !important;}
#report-print-area.ficha-print-sheet .ficha-profile-card{overflow:hidden !important;}
#report-print-area.ficha-print-sheet .ficha-profile-card h2,
#report-print-area.ficha-print-sheet .ficha-profile-name{
  word-break:normal !important;
  overflow-wrap:normal !important;
  hyphens:none !important;
  text-wrap:balance;
}
#report-print-area.ficha-print-sheet .ficha-profile-pills span,
#report-print-area.ficha-print-sheet .ficha-profile-pills .pill{
  word-break:normal !important;
  overflow-wrap:normal !important;
  white-space:normal !important;
}
#report-print-area.ficha-print-sheet .ficha-details-stack{min-width:0 !important;}
#report-print-area.ficha-print-sheet .ficha-info-table,
#report-print-area.ficha-print-sheet .ficha-novedades-grid{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  border-collapse:collapse !important;
  border-spacing:0 !important;
}
#report-print-area.ficha-print-sheet .ficha-info-table th,
#report-print-area.ficha-print-sheet .ficha-info-table td{
  word-break:normal !important;
  overflow-wrap:anywhere !important;
}
#report-print-area.ficha-print-sheet .ficha-novedades-table .sortable-th:after,
#report-print-area.ficha-print-sheet .ficha-novedades-grid th:after{display:none !important;content:'' !important;}
#report-print-area.ficha-print-sheet .ficha-novedades-grid th,
#report-print-area.ficha-print-sheet .ficha-novedades-grid td{
  border:1px solid #d7e1e5 !important;
  vertical-align:middle !important;
}
#report-print-area.ficha-print-sheet .ficha-novedades-grid thead th{
  background:linear-gradient(180deg,#01495E,#013542) !important;
  color:#fff !important;
  text-transform:uppercase !important;
  letter-spacing:.02em !important;
  -webkit-print-color-adjust:exact !important;
  print-color-adjust:exact !important;
}
#report-print-area.ficha-print-sheet .ficha-novedades-grid tbody td{background:#fff !important;color:#0f2530 !important;}
#report-print-area.ficha-print-sheet .ficha-novedades-grid tbody tr:nth-child(even) td{background:#f8fbfc !important;-webkit-print-color-adjust:exact !important;print-color-adjust:exact !important;}
#report-print-area.ficha-print-sheet .ficha-novedades-grid .pill{white-space:nowrap !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;}
@media screen{
  #report-print-area.ficha-print-sheet .ficha-body-layout{grid-template-columns:235px minmax(0,1fr) !important;gap:16px !important;}
  #report-print-area.ficha-print-sheet .ficha-profile-card{padding:16px 14px !important;}
  #report-print-area.ficha-print-sheet .ficha-photo-large{width:120px !important;height:120px !important;margin-bottom:10px !important;}
  #report-print-area.ficha-print-sheet .ficha-profile-card h2{font-size:18px !important;line-height:1.12 !important;margin:6px 0 8px !important;}
  #report-print-area.ficha-print-sheet .ficha-profile-item strong{font-size:13px !important;}
  #report-print-area.ficha-print-sheet .ficha-profile-pills span,
  #report-print-area.ficha-print-sheet .ficha-profile-pills .pill{min-width:128px !important;min-height:30px !important;font-size:12px !important;}
  #report-print-area.ficha-print-sheet .ficha-info-table th,
  #report-print-area.ficha-print-sheet .ficha-info-table td{font-size:12px !important;line-height:1.18 !important;padding:7px 8px !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-grid{table-layout:auto !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-grid th,
  #report-print-area.ficha-print-sheet .ficha-novedades-grid td{font-size:11px !important;line-height:1.15 !important;padding:6px 7px !important;}
}
@media print{
  @page{size:letter portrait !important;margin:7mm !important;}
  html,body{background:#fff !important;font-family:Arial, Helvetica, sans-serif !important;}
  #report-print-area.ficha-print-sheet{page:fichaPage !important;width:100% !important;max-width:100% !important;}
  #report-print-area.ficha-print-sheet .ficha-doc-header{
    display:grid !important;
    grid-template-columns:30mm minmax(0,1fr) 33mm 29mm !important;
    gap:2.5mm !important;
    align-items:center !important;
    padding:0 0 3mm !important;
    margin:0 0 3.5mm !important;
    border-bottom:2.3pt solid #01495E !important;
    background:#fff !important;
    break-inside:avoid !important;
  }
  #report-print-area.ficha-print-sheet .ficha-logo-box{height:15mm !important;min-height:15mm !important;max-height:15mm !important;}
  #report-print-area.ficha-print-sheet .ficha-logo-box img{max-width:26mm !important;max-height:13mm !important;width:auto !important;height:auto !important;object-fit:contain !important;}
  #report-print-area.ficha-print-sheet .ficha-title-box>div{font-size:17pt !important;letter-spacing:.07em !important;color:#01495E !important;line-height:1 !important;}
  #report-print-area.ficha-print-sheet .ficha-title-box span{font-size:8.5pt !important;line-height:1.1 !important;margin-top:1.5mm !important;}
  #report-print-area.ficha-print-sheet .ficha-title-box small{font-size:7pt !important;line-height:1.1 !important;margin-top:.8mm !important;}
  #report-print-area.ficha-print-sheet .ficha-meta-box{font-size:6.8pt !important;line-height:1.14 !important;padding:1.3mm !important;border-radius:2mm !important;}
  #report-print-area.ficha-print-sheet .ficha-body-layout{
    display:grid !important;
    grid-template-columns:44mm minmax(0,1fr) !important;
    gap:3.5mm !important;
    padding:2mm 0 3mm !important;
    align-items:stretch !important;
    break-inside:avoid !important;
  }
  #report-print-area.ficha-print-sheet .ficha-profile-card{
    padding:3.8mm 2.6mm !important;
    border-radius:3.5mm !important;
    border:1pt solid #d6e4e8 !important;
    box-shadow:none !important;
    min-width:0 !important;
  }
  #report-print-area.ficha-print-sheet .ficha-photo-large{width:27mm !important;height:27mm !important;margin:0 auto 2.2mm !important;border-radius:50% !important;}
  #report-print-area.ficha-print-sheet .ficha-profile-card h2{
    font-size:10pt !important;
    line-height:1.08 !important;
    margin:0 0 2mm !important;
    letter-spacing:0 !important;
    max-width:100% !important;
  }
  #report-print-area.ficha-print-sheet .ficha-green-line{width:16mm !important;height:1.4pt !important;margin:2mm auto 2.5mm !important;}
  #report-print-area.ficha-print-sheet .ficha-profile-item{padding:1.6mm 0 !important;margin:0 0 2.5mm !important;}
  #report-print-area.ficha-print-sheet .ficha-profile-item span{font-size:6.6pt !important;}
  #report-print-area.ficha-print-sheet .ficha-profile-item strong{font-size:8.2pt !important;}
  #report-print-area.ficha-print-sheet .ficha-profile-pills{gap:1.4mm !important;}
  #report-print-area.ficha-print-sheet .ficha-profile-pills span,
  #report-print-area.ficha-print-sheet .ficha-profile-pills .pill{
    min-width:28mm !important;
    max-width:36mm !important;
    min-height:5.8mm !important;
    padding:1mm 1.6mm !important;
    font-size:6.8pt !important;
    line-height:1.05 !important;
  }
  #report-print-area.ficha-print-sheet .ficha-details-stack{gap:2.3mm !important;min-width:0 !important;}
  #report-print-area.ficha-print-sheet .ficha-info-section{border-radius:2.6mm !important;border:1px solid #cbdde3 !important;box-shadow:none !important;break-inside:avoid !important;}
  #report-print-area.ficha-print-sheet .ficha-info-section h3,
  #report-print-area.ficha-print-sheet .ficha-section-title-row h3{font-size:7.5pt !important;line-height:1 !important;padding:1.7mm 2mm !important;letter-spacing:.035em !important;}
  #report-print-area.ficha-print-sheet .ficha-info-table{table-layout:fixed !important;}
  #report-print-area.ficha-print-sheet .ficha-info-table th,
  #report-print-area.ficha-print-sheet .ficha-info-table td{font-size:6.9pt !important;line-height:1.05 !important;padding:1.35mm 1.6mm !important;}
  #report-print-area.ficha-print-sheet .ficha-info-table th{width:22% !important;}
  #report-print-area.ficha-print-sheet .ficha-info-table td{width:28% !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-section{padding:0 !important;margin-top:1.5mm !important;}
  #report-print-area.ficha-print-sheet .ficha-section-title-row{border-radius:2.6mm 2.6mm 0 0 !important;}
  #report-print-area.ficha-print-sheet .ficha-section-title-row span{font-size:6.6pt !important;padding:.8mm 1.8mm !important;margin-right:1.5mm !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-table{border:1px solid #cbdde3 !important;border-top:0 !important;border-radius:0 0 2.6mm 2.6mm !important;overflow:visible !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-grid{
    table-layout:fixed !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    font-size:5.7pt !important;
  }
  #report-print-area.ficha-print-sheet .ficha-novedades-grid th,
  #report-print-area.ficha-print-sheet .ficha-novedades-grid td{font-size:5.6pt !important;line-height:1.05 !important;padding:.9mm .8mm !important;word-break:normal !important;overflow-wrap:break-word !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-grid th:nth-child(1),
  #report-print-area.ficha-print-sheet .ficha-novedades-grid td:nth-child(1){width:9% !important;white-space:nowrap !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-grid th:nth-child(2),
  #report-print-area.ficha-print-sheet .ficha-novedades-grid td:nth-child(2){width:10% !important;text-align:center !important;white-space:nowrap !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-grid th:nth-child(3),
  #report-print-area.ficha-print-sheet .ficha-novedades-grid td:nth-child(3){width:13% !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-grid th:nth-child(4),
  #report-print-area.ficha-print-sheet .ficha-novedades-grid td:nth-child(4){width:16% !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-grid th:nth-child(5),
  #report-print-area.ficha-print-sheet .ficha-novedades-grid td:nth-child(5){width:9% !important;white-space:nowrap !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-grid th:nth-child(6),
  #report-print-area.ficha-print-sheet .ficha-novedades-grid td:nth-child(6){width:9% !important;white-space:nowrap !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-grid th:nth-child(7),
  #report-print-area.ficha-print-sheet .ficha-novedades-grid td:nth-child(7){width:5% !important;text-align:center !important;white-space:nowrap !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-grid th:nth-child(8),
  #report-print-area.ficha-print-sheet .ficha-novedades-grid td:nth-child(8){width:7% !important;text-align:center !important;white-space:nowrap !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-grid th:nth-child(9),
  #report-print-area.ficha-print-sheet .ficha-novedades-grid td:nth-child(9){width:9% !important;text-align:center !important;white-space:nowrap !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-grid th:nth-child(10),
  #report-print-area.ficha-print-sheet .ficha-novedades-grid td:nth-child(10){width:13% !important;}
  #report-print-area.ficha-print-sheet .ficha-novedades-grid .pill{font-size:5.3pt !important;padding:.6mm 1mm !important;line-height:1 !important;min-width:auto !important;}
  body.hide-ficha-novedades-print #report-print-area.ficha-print-sheet .ficha-novedades-section{display:none !important;}
}

/* v12.5 - Ficha colaborador: nombre y documento alineados bajo la foto */
#report-print-area.ficha-print-sheet .ficha-profile-card{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  min-width:0 !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
}
#report-print-area.ficha-print-sheet .ficha-photo-large,
#report-print-area.ficha-print-sheet .ficha-photo-box{
  flex:0 0 auto !important;
}
#report-print-area.ficha-print-sheet .ficha-profile-card h2{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
  text-align:center !important;
  clear:both !important;
  float:none !important;
  position:static !important;
  overflow:visible !important;
  white-space:normal !important;
  word-break:normal !important;
  overflow-wrap:break-word !important;
  hyphens:none !important;
  padding:0 4px !important;
  margin-left:0 !important;
  margin-right:0 !important;
}
#report-print-area.ficha-print-sheet .ficha-profile-item{
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
  text-align:center !important;
  clear:both !important;
  float:none !important;
  position:static !important;
}
#report-print-area.ficha-print-sheet .ficha-profile-item strong{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  text-align:center !important;
  white-space:normal !important;
  word-break:normal !important;
  overflow-wrap:break-word !important;
}
#report-print-area.ficha-print-sheet .ficha-profile-pills{
  width:100% !important;
  max-width:100% !important;
  align-items:center !important;
}
#report-print-area.ficha-print-sheet .ficha-profile-pills span,
#report-print-area.ficha-print-sheet .ficha-profile-pills .pill{
  box-sizing:border-box !important;
  max-width:100% !important;
  white-space:normal !important;
  word-break:normal !important;
  overflow-wrap:break-word !important;
  text-align:center !important;
}
@media screen{
  #report-print-area.ficha-print-sheet .ficha-profile-card h2{
    font-size:16px !important;
    line-height:1.12 !important;
    margin:8px 0 8px !important;
  }
  #report-print-area.ficha-print-sheet .ficha-profile-item strong{
    font-size:12px !important;
  }
}
@media print{
  #report-print-area.ficha-print-sheet .ficha-profile-card{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:flex-start !important;
    overflow:hidden !important;
  }
  #report-print-area.ficha-print-sheet .ficha-profile-card h2{
    width:100% !important;
    max-width:100% !important;
    padding:0 1mm !important;
    font-size:8.6pt !important;
    line-height:1.08 !important;
    margin:0 0 1.8mm !important;
    text-align:center !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:break-word !important;
    hyphens:none !important;
  }
  #report-print-area.ficha-print-sheet .ficha-profile-item{
    width:100% !important;
    margin:0 0 2.2mm !important;
    padding:1.4mm 0 !important;
  }
  #report-print-area.ficha-print-sheet .ficha-profile-item span{
    font-size:6pt !important;
  }
  #report-print-area.ficha-print-sheet .ficha-profile-item strong{
    font-size:7.4pt !important;
    line-height:1.05 !important;
    text-align:center !important;
    white-space:normal !important;
    overflow-wrap:break-word !important;
  }
  #report-print-area.ficha-print-sheet .ficha-profile-pills span,
  #report-print-area.ficha-print-sheet .ficha-profile-pills .pill{
    min-width:0 !important;
    width:32mm !important;
    max-width:36mm !important;
    font-size:6.4pt !important;
    line-height:1.05 !important;
  }
}

/* v12.1 - Validaciones de vinculación en colaborador */
.form-section-title{margin:18px 0 12px;padding:10px 14px;border-left:5px solid var(--primary,#01495E);background:linear-gradient(90deg,rgba(1,73,94,.10),rgba(109,194,213,.06));border-radius:12px;font-weight:900;color:var(--primary,#01495E);letter-spacing:.04em;text-transform:uppercase;font-size:13px}
.validation-form-grid{align-items:stretch}
.validation-form-card{border:1px solid rgba(1,73,94,.20);background:#fff;border-radius:18px;padding:16px;box-shadow:0 10px 24px rgba(1,73,94,.08)}
.validation-form-card h3{margin:0 0 12px;color:var(--primary,#01495E);font-size:16px}
.support-preview-line{margin-top:8px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.ficha-validaciones-section{margin-top:12px;break-inside:avoid;page-break-inside:avoid}
.validation-cards-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px;background:#f7fbfc;border:1px solid #cce5ec;border-top:0;border-radius:0 0 16px 16px}
.validation-status-card{background:#fff;border:1px solid #c9e3ea;border-radius:14px;overflow:hidden;box-shadow:0 6px 16px rgba(1,73,94,.06)}
.validation-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;background:linear-gradient(90deg,#eef9fb,#fff);border-bottom:1px solid #d8edf2;color:#01495E;text-transform:uppercase;font-weight:900;font-size:12px;letter-spacing:.03em}
.validation-mini-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}
.validation-mini-table th{width:28%;text-align:left;background:#eff8fa;color:#01495E;font-weight:900;padding:8px;border-bottom:1px solid #d9edf2;vertical-align:top}
.validation-mini-table td{padding:8px;border-bottom:1px solid #d9edf2;vertical-align:top;word-break:break-word}
.acceptance-thumb{padding:10px;text-align:center;background:#f7fbfc}
.acceptance-thumb img{max-width:180px;max-height:120px;border-radius:10px;border:1px solid #b9dce5;object-fit:contain;background:#fff}
@media print{
  .ficha-validaciones-section{margin-top:6px!important;break-inside:avoid!important;page-break-inside:avoid!important}
  .validation-cards-grid{gap:6px!important;padding:6px!important;border-radius:0 0 8px 8px!important}
  .validation-status-card{box-shadow:none!important;border-radius:8px!important}
  .validation-card-head{padding:4px 6px!important;font-size:7.8px!important}
  .validation-mini-table{font-size:7.3px!important;line-height:1.08!important}
  .validation-mini-table th,.validation-mini-table td{padding:3px 4px!important}
  .acceptance-thumb{display:block!important}
  .ficha-profile-card h2{display:block!important;visibility:visible!important;position:static!important;white-space:normal!important;overflow:visible!important;max-height:none!important;text-align:center!important;margin:6px auto 4px!important;font-size:12px!important;line-height:1.05!important;color:#01495E!important;width:100%!important;word-break:normal!important;hyphens:none!important}
  .ficha-profile-item{display:block!important;text-align:center!important;margin:4px 0!important}
  .ficha-profile-item span,.ficha-profile-item strong{display:block!important}
}
@media(max-width:900px){.validation-cards-grid{grid-template-columns:1fr}.validation-form-grid{grid-template-columns:1fr!important}}


/* v13 - Ficha: soporte de aceptación visible y enlazado */
.acceptance-inline-image{padding:10px 12px;background:#f7fbfc;border-top:1px solid #d8edf2;text-align:center}
.acceptance-inline-title{font-size:11px;font-weight:900;color:#01495E;text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px}
.acceptance-image-link{display:inline-flex;flex-direction:column;align-items:center;gap:4px;text-decoration:none;color:#01495E;font-size:10px;font-weight:800}
.acceptance-image-link img{display:block;max-width:100%;width:auto;max-height:210px;object-fit:contain;border:1px solid #b9dce5;border-radius:10px;background:#fff;box-shadow:0 6px 16px rgba(1,73,94,.12)}
.validation-acceptance-card{display:flex;flex-direction:column}
.validation-acceptance-card .validation-mini-table{flex:0 0 auto}
.support-preview-line{margin-top:8px}
@media print{
  .acceptance-inline-image{display:block!important;padding:4px 5px!important;background:#fff!important;border-top:1px solid #b8d6de!important;break-inside:avoid!important;page-break-inside:avoid!important}
  .acceptance-inline-title{font-size:6.8px!important;margin-bottom:3px!important;color:#01495E!important}
  .acceptance-image-link{font-size:6px!important;gap:2px!important}
  .acceptance-image-link img{max-height:96px!important;max-width:100%!important;border-radius:5px!important;box-shadow:none!important}
  .validation-cards-grid{grid-template-columns:1fr 1fr!important}
  .validation-status-card{break-inside:avoid!important;page-break-inside:avoid!important}
}


/* v14 - Enlaces directos a WhatsApp Web / Business */
.whatsapp-btn,
a.whatsapp-btn{background:#25D366!important;color:#063b1f!important;border:1px solid rgba(0,0,0,.08)!important;box-shadow:0 6px 14px rgba(37,211,102,.22);font-weight:900;}
.whatsapp-btn:hover{filter:brightness(.96);transform:translateY(-1px)}
.wa-phone-wrap{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;line-height:1.25;}
.wa-phone-link{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:999px;background:#e9fff2;color:#087a36!important;border:1px solid #8df0b2;text-decoration:none!important;font-size:11px;font-weight:900;}
.wa-phone-link:before{content:'WhatsApp';font-size:0;}
.wa-phone-link:after{content:'↗';font-size:11px;margin-left:2px;}
@media print{.whatsapp-btn,.wa-phone-link{display:none!important}.wa-phone-wrap{display:inline!important}}

/* Ajuste v14 específico: reportes precisos, prospectos y calendario en novedades */
.prospect-alert{margin:0 0 16px;padding:14px 16px;border-left:6px solid #6DC2D5;border-radius:14px;background:linear-gradient(135deg,rgba(109,194,213,.16),rgba(255,255,255,.92));color:#01495E;font-size:13px;line-height:1.45}
.row-prospect td{background:#f0f9ff!important;border-bottom-color:#bae6fd!important}
.row-prospect td:first-child{border-left:5px solid #6DC2D5!important}
.filter-separator{grid-column:1/-1;padding:9px 12px;border-radius:12px;background:#eef8fb;color:#01495E;border:1px solid rgba(109,194,213,.5)}
.collab-report-full-table{font-size:11px;table-layout:auto!important;min-width:1320px}
.collab-report-full-table th,.collab-report-full-table td{white-space:normal;line-height:1.25;padding:6px 7px;vertical-align:top}
.report-colaboradores-print .results-table-wrap{overflow:visible}.report-colaboradores-print{--print-font:7.2pt}
.calendar-open-btn{font-weight:900}
.modal-open{overflow:hidden}
.calendar-modal-overlay{position:fixed;inset:0;z-index:9999;background:rgba(1,73,94,.56);backdrop-filter:blur(3px);padding:24px;overflow:auto}
.calendar-modal{max-width:1120px;margin:0 auto;background:#fff;border-radius:22px;box-shadow:0 30px 80px rgba(0,0,0,.32);padding:18px;border:1px solid rgba(109,194,213,.42)}
.calendar-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-bottom:12px}
.calendar-report-card{background:#fff;border-radius:18px;padding:16px;border:1px solid #d8e6eb}
.calendar-report-header{margin-bottom:16px!important}
.calendar-month-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:14px}
.calendar-month-card{border:1px solid #d9e8ed;border-radius:16px;overflow:hidden;background:#fbfdfe}
.calendar-month-card h3{margin:0;padding:10px 14px;background:linear-gradient(135deg,#01495E,#6DC2D5);color:#fff;font-size:14px;letter-spacing:.04em}
.calendar-events-list{display:grid;gap:8px;padding:12px}
.calendar-event-item{display:grid;grid-template-columns:58px 1fr;gap:10px;padding:10px;border-radius:14px;border:1px solid #dbeafe;background:#eff6ff}
.calendar-event-end{border-color:#fecaca;background:#fff1f2}.calendar-event-start{border-color:#bbf7d0;background:#f0fdf4}
.calendar-date-box{border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:58px;color:#01495E;border:1px solid rgba(1,73,94,.18)}
.calendar-date-box strong{font-size:22px;line-height:1}.calendar-date-box span{font-size:10px;font-weight:800;color:#64748b}
.calendar-event-body{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#1f2937}.calendar-event-body b{color:#01495E;font-size:13px}.calendar-event-body span{font-weight:800}.calendar-event-body small{color:#475569}
@media print{
  body.print-calendar-only .layout>.sidebar,body.print-calendar-only .topbar,body.print-calendar-only .content-scroll>*:not(.calendar-modal-overlay){display:none!important}
  body.print-calendar-only .calendar-modal-overlay{display:block!important;position:static!important;background:#fff!important;backdrop-filter:none!important;padding:0!important;overflow:visible!important}
  body.print-calendar-only .calendar-modal{box-shadow:none!important;border:0!important;padding:0!important;max-width:none!important}
  body.print-calendar-only .calendar-modal-actions{display:none!important}
  body.print-calendar-only .calendar-report-card{border:0!important;padding:0!important}
  body.print-calendar-only .calendar-month-grid{grid-template-columns:1fr 1fr!important;gap:8px!important}
  body.print-calendar-only .calendar-event-item{break-inside:avoid;padding:6px!important}
  .report-colaboradores-print table{font-size:6.4pt!important;width:100%!important;table-layout:fixed!important}
  .report-colaboradores-print th,.report-colaboradores-print td{padding:2px 3px!important;line-height:1.12!important;word-break:break-word!important}
}

/* v14.2 - Prospecto simplificado, calendario interactivo y diseño responsive */
.collaborator-mode-card{padding:12px!important}
.collaborator-mode-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mode-option{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border:2px solid #d8e8ee;border-radius:16px;background:#f8fcfd;color:#164653;text-decoration:none!important}
.mode-option strong{font-size:15px;color:#01495E}.mode-option span{font-size:12px;color:#617782;font-weight:600;line-height:1.35}
.mode-option.active{border-color:#6DC2D5;background:linear-gradient(135deg,#e8f8fc,#fff);box-shadow:0 10px 22px rgba(1,73,94,.10)}
.prospect-simple-grid .field{margin-bottom:4px}.span-all{grid-column:1/-1}.form-final-actions{margin-top:16px;padding-top:14px;border-top:1px solid #dceaf0}
.convert-link{display:inline-block;padding:4px 8px;border-radius:8px;background:#fff1c7;color:#7a4b00!important}

.google-calendar-modal{max-width:1380px!important;width:min(96vw,1380px)!important;padding:14px!important}
.calendar-modal-actions{justify-content:flex-start!important;align-items:center!important;flex-wrap:wrap!important;position:sticky;top:0;z-index:20;background:#fff;padding:8px 0 12px;border-bottom:1px solid #e1edf1}
.calendar-modal-actions select{width:auto;min-width:130px;padding:9px 12px}
.calendar-app{margin-top:12px;border:1px solid #d8e8ee;border-radius:16px;overflow:hidden;background:#fff}
.gcal-weekdays{display:grid;grid-template-columns:repeat(7,1fr);background:#f2f7f9;border-bottom:1px solid #d8e8ee}
.gcal-weekdays>div{text-align:center;padding:8px 4px;font-size:11px;font-weight:900;color:#49636d;text-transform:uppercase}
.gcal-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:repeat(6,minmax(118px,auto))}
.gcal-day{min-width:0;min-height:118px;padding:7px;border-right:1px solid #e4edf1;border-bottom:1px solid #e4edf1;background:#fff;overflow:hidden}
.gcal-day:nth-child(7n){border-right:0}.gcal-day.other-month{background:#f7f9fa;color:#9aaab1}.gcal-day.today{box-shadow:inset 0 0 0 3px #6DC2D5;background:#f1fbfd}
.gcal-day-num{display:flex;align-items:center;justify-content:center;width:27px;height:27px;border-radius:50%;font-size:12px;font-weight:900;margin-bottom:5px}.gcal-day.today .gcal-day-num{background:#01495E;color:#fff}
.gcal-events{display:flex;flex-direction:column;gap:4px;min-width:0}.gcal-event{display:flex;flex-direction:column;gap:1px;padding:5px 6px;border-radius:7px;border-left:4px solid #6DC2D5;background:#e9f8fc;color:#12303b;line-height:1.15;min-width:0;overflow:hidden}
.gcal-event b,.gcal-event span,.gcal-event small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gcal-event b{font-size:9px;text-transform:uppercase}.gcal-event span{font-size:10px;font-weight:900}.gcal-event small{font-size:9px;color:#526c75}.gcal-event.cal-event-end{border-left-color:#d92d20;background:#fff1f0}
.gcal-agenda{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:0}.gcal-agenda-day{min-height:300px;border-right:1px solid #e3edf1;background:#fff}.gcal-agenda-day:last-child{border-right:0}.gcal-agenda-day>header{padding:10px;background:#f3f8fa;border-bottom:1px solid #e3edf1;text-align:center;text-transform:capitalize;color:#01495E}.gcal-agenda-day>div{display:flex;flex-direction:column;gap:7px;padding:9px}.gcal-agenda-day.today{box-shadow:inset 0 0 0 3px #6DC2D5;background:#f5fcfe}

/* Responsive integral PC/móvil */
@media(max-width:1100px){
  .main{padding:16px 14px}.filters{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .google-calendar-modal{width:98vw!important}.gcal-month-grid{grid-template-rows:repeat(6,minmax(100px,auto))}.gcal-day{min-height:100px}
}
@media(max-width:760px){
  html,body{height:auto!important;overflow:auto!important}.layout{display:block!important;height:auto!important;min-height:100vh}.sidebar{position:relative!important;inset:auto!important;width:100%!important;max-height:none!important;padding:10px 12px!important;box-shadow:none!important}.brand-panel{display:flex;align-items:center;gap:10px;padding-bottom:8px;margin-bottom:8px}.brand-logo{width:110px!important;max-height:55px!important;margin:0!important}.brand-title{font-size:15px}.subtitle{font-size:10px}.nav{display:flex;overflow-x:auto;gap:6px;padding-bottom:5px;scrollbar-width:thin}.nav small{display:none}.nav a{flex:0 0 auto;padding:8px 10px!important;margin:0!important;font-size:12px;white-space:nowrap}.logout{border:0;margin:0;padding:0;display:flex}.main{margin-left:0!important;width:100%!important;height:auto!important;overflow:visible!important;padding:10px!important}.topbar{position:relative!important;align-items:flex-start!important}.topbar h1{font-size:20px!important}.userbox{font-size:11px;padding:7px 9px}.content-scroll{overflow:visible!important;padding:0!important}.card{border-radius:14px;padding:13px;margin-bottom:12px}.sticky-controls{position:relative!important}.filters,.grid.cols-2,.grid.cols-3,.grid.cols-4,.collaborator-mode-actions{grid-template-columns:1fr!important}.actions{gap:7px}.btn{padding:9px 11px;font-size:12px}.table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.results-table-wrap{max-height:none!important}table{min-width:760px}th,td{padding:8px 9px}.collaborator-mode-actions .mode-option{padding:12px}.photo-crop-shell{width:min(260px,100%)}
  .calendar-modal-overlay{padding:0!important;background:#fff!important}.google-calendar-modal{width:100vw!important;max-width:none!important;min-height:100vh!important;margin:0!important;border-radius:0!important;border:0!important}.calendar-modal-actions{padding:8px!important;gap:6px!important;overflow-x:auto;flex-wrap:nowrap!important}.calendar-modal-actions .btn,.calendar-modal-actions select{flex:0 0 auto;font-size:11px;padding:8px 9px}.calendar-report-header{grid-template-columns:70px 1fr!important;gap:8px!important}.calendar-report-header .nrh-meta,.calendar-report-header .nrh-logo-right{display:none!important}.calendar-report-header .nrh-logo img{max-width:64px!important;max-height:44px!important}.nrh-title>div{font-size:16px!important}.nrh-title span,.nrh-title small{font-size:10px!important}.calendar-app{border-radius:10px}.gcal-weekdays>div{font-size:9px;padding:6px 1px}.gcal-month-grid{grid-template-rows:repeat(6,minmax(76px,auto))}.gcal-day{min-height:76px;padding:3px}.gcal-day-num{width:21px;height:21px;font-size:10px;margin-bottom:2px}.gcal-event{padding:3px;border-left-width:3px}.gcal-event b{display:none}.gcal-event span{font-size:8px}.gcal-event small{display:none}.gcal-agenda{grid-template-columns:1fr}.gcal-agenda-day{min-height:auto;border-right:0;border-bottom:1px solid #e3edf1}.gcal-agenda-day>div{min-height:90px}
}
@media(max-width:420px){.userbox{display:none}.topbar-left{width:100%}.back-btn{padding:7px 9px!important}.scope-chip{font-size:10px}.gcal-event span{font-size:7px}.gcal-day{min-height:68px}}

@media print{
  body.print-calendar-only #calendar-print-area{width:100%!important}.gcal-month-grid{grid-template-rows:repeat(6,95px)!important}.gcal-day{min-height:95px!important}.gcal-event{padding:3px 4px!important}.gcal-event span{font-size:8px!important}.gcal-event small{font-size:7px!important}.calendar-app{border:1px solid #999!important}
}
/* Ajuste v16 - Estudios de seguridad */
.security-study-card{padding:18px}.security-intro{padding:14px 16px;border:1px solid #b7dce6;border-left:5px solid #01495e;border-radius:14px;background:#f4fbfd;margin-bottom:18px}.security-checks{display:grid;gap:10px}.security-category{margin-top:8px;padding:8px 12px;border-radius:10px;background:#01495e;color:#fff;font-weight:900;letter-spacing:.04em}.security-check-row{display:grid;grid-template-columns:minmax(250px,1.5fr) minmax(150px,.7fr) minmax(220px,1fr) minmax(260px,1.2fr);gap:10px;align-items:start;padding:12px;border:1px solid #d4e4e9;border-radius:14px;background:#fff}.security-check-main{display:flex;gap:10px;justify-content:space-between;align-items:center}.security-check-main strong{line-height:1.35}.security-result textarea{min-height:74px}.security-observation{opacity:.45}.security-observation input{background:#f1f5f7}.security-observation.is-enabled{opacity:1}.security-observation.is-enabled input{background:#fff;border-color:#6dc2d5}.security-evidence{min-height:96px;padding:10px;border:1px dashed #6dc2d5;border-radius:12px;background:#f8fcfd;outline:none}.security-evidence:focus{box-shadow:0 0 0 3px rgba(109,194,213,.25)}.security-evidence .evidence-file{display:block;width:100%;margin-bottom:8px}.evidence-preview{margin-top:8px}.evidence-preview img{display:block;max-width:180px;max-height:110px;border:1px solid #c9dce2;border-radius:10px;object-fit:contain;background:#fff}.security-concept-box{display:grid;grid-template-columns:1fr 2fr 1fr;gap:14px;margin-top:18px;padding:16px;border-radius:16px;background:linear-gradient(135deg,#eef9fc,#fff);border:1px solid #b7dce6}
@media(max-width:1100px){.security-check-row{grid-template-columns:1fr 1fr}.security-check-main{grid-column:1/-1}.security-concept-box{grid-template-columns:1fr}}
@media(max-width:700px){.security-check-row{grid-template-columns:1fr}.security-check-main{align-items:flex-start;flex-direction:column}.security-evidence .btn{width:100%}.security-study-card{padding:10px}.security-category{position:sticky;top:0;z-index:2}}

/* v18 - cierre simple, vista final y PDF generado desde plantilla Word */
.security-state-display{min-height:42px;display:flex;align-items:center;padding:8px 10px;border:1px solid #c9e0e7;border-radius:12px;background:#f7fbfc}
.security-evidence-link{display:inline-flex;align-items:center;justify-content:center;padding:5px 9px;border-radius:999px;background:#eaf8fb;border:1px solid #8fd0de;color:#01495E!important;text-decoration:none!important;font-weight:900;font-size:10px;white-space:nowrap}
.security-no-evidence{color:#82959d;font-style:italic;font-size:10px}
.security-readonly-report{background:#fff;border:1px solid #c9dde4;border-radius:18px;overflow:hidden;box-shadow:0 14px 34px rgba(1,73,94,.10);margin-bottom:20px}
.security-report-header{display:grid;grid-template-columns:150px minmax(0,1fr) 170px 150px;align-items:center;gap:14px;padding:18px 20px;background:linear-gradient(135deg,#fff,#edf9fc);border-bottom:5px solid #01495E}
.security-report-logo,.security-report-client-logo{display:flex;align-items:center;justify-content:center;min-width:0}
.security-report-logo img{max-width:135px;max-height:70px;object-fit:contain}.security-report-client-logo img{max-width:130px;max-height:72px;object-fit:contain}
.security-report-title{text-align:center;color:#01495E;min-width:0}.security-report-title h1{margin:0 0 4px;font-size:25px;letter-spacing:.03em;line-height:1.1}.security-report-title strong{display:block;font-size:13px;text-transform:uppercase}.security-report-title small{display:block;margin-top:4px;font-size:10px;color:#54707b}
.security-report-meta{border:1px solid #6DC2D5;border-radius:12px;padding:9px 11px;font-size:10px;line-height:1.55;color:#123641;background:#fff}
.security-report-identity{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid #d7e7ec}.security-report-identity>div{padding:10px 12px;border-right:1px solid #d7e7ec;border-bottom:1px solid #d7e7ec;min-width:0}.security-report-identity>div:nth-child(3n){border-right:0}.security-report-identity span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.04em;color:#5c7680;font-weight:800;margin-bottom:3px}.security-report-identity strong{display:block;font-size:12px;color:#082f3b;overflow-wrap:anywhere}
.security-readonly-table-wrap{padding:14px;overflow:auto}.security-readonly-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:11px;min-width:760px}.security-readonly-table th,.security-readonly-table td{border:1px solid #cfe1e7;padding:7px 8px;vertical-align:top;line-height:1.3;overflow-wrap:anywhere}.security-readonly-table thead th{background:#01495E;color:#fff;text-transform:uppercase;font-size:9px;letter-spacing:.04em}.security-readonly-table th:nth-child(1),.security-readonly-table td:nth-child(1){width:34%}.security-readonly-table th:nth-child(2),.security-readonly-table td:nth-child(2){width:18%}.security-readonly-table th:nth-child(3),.security-readonly-table td:nth-child(3){width:32%}.security-readonly-table th:nth-child(4),.security-readonly-table td:nth-child(4){width:16%;text-align:center}.security-readonly-category th{background:#dff2f6!important;color:#01495E!important;text-align:left!important;font-size:10px!important;letter-spacing:.03em!important}
.security-final-concept{margin:0 14px 14px;border:2px solid #01495E;border-radius:14px;overflow:hidden;background:#fff}.security-final-concept-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;background:#01495E;color:#fff;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.security-final-concept-class{padding:10px 12px;background:#edf9fc;color:#01495E;font-size:14px;font-weight:900;border-bottom:1px solid #bcdce5}.security-final-concept-text{padding:12px;font-size:12px;line-height:1.45;color:#183e49}
.whatsapp-btn{background:#25D366!important;color:#063b1f!important;border:1px solid rgba(0,0,0,.08)!important;font-weight:900}
@media(max-width:900px){.security-report-header{grid-template-columns:90px 1fr 120px;gap:8px;padding:12px}.security-report-client-logo{display:none}.security-report-title h1{font-size:18px}.security-report-logo img{max-width:82px}.security-report-identity{grid-template-columns:1fr 1fr}.security-report-identity>div:nth-child(3n){border-right:1px solid #d7e7ec}.security-report-identity>div:nth-child(2n){border-right:0}}
@media(max-width:560px){.security-report-header{grid-template-columns:78px 1fr}.security-report-meta{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:4px;text-align:center}.security-report-title h1{font-size:15px}.security-report-identity{grid-template-columns:1fr}.security-report-identity>div{border-right:0!important}.security-readonly-report{border-radius:12px}}
.security-inline-send{appearance:none;border:0;background:transparent;color:#087a36;font:inherit;font-weight:900;padding:0;cursor:pointer;text-decoration:underline}

/* v64 critical neutralization: el primer stylesheet ya usa la apariencia definitiva de alertas,
   evitando el destello de la versión cromática antigua mientras terminan de cargar las capas posteriores. */
.dashboard-alert-card,.card.dashboard-alert-card,.dashboard-alert-card-strong{background:#fff!important;border:1px solid #e1e7e9!important;box-shadow:0 1px 4px rgba(37,58,64,.04)!important}
.dashboard-alert-card::before,.card.dashboard-alert-card::before,.dashboard-alert-card-strong::before,.dash-alert-strip,.alert-legend{display:none!important;content:none!important}
.dashboard-alert-table tbody tr,.dashboard-alert-table tbody tr[class*="alert-severity-"]{background:#fff!important;box-shadow:none!important}
.dashboard-alert-table tbody tr td,.dashboard-alert-table tbody tr:nth-child(even) td,.dashboard-alert-table tbody tr:hover td{background:#fff!important}

/* MANDATOS_MOBILE_FICHA_V1_START
   Ficha de colaborador responsive para teléfonos.
   Alcance exclusivo: pantalla <= 760px. No modifica escritorio ni impresión.
*/
@media screen and (max-width:760px){
  body.page-collaborator_view .main{
    padding-left:10px !important;
    padding-right:10px !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    overflow:visible !important;
    border-radius:14px !important;
    box-sizing:border-box !important;
  }
  /* La cabecera documental se conserva para impresión; en teléfono ya existe cabecera del aplicativo. */
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-doc-header{
    display:none !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-body-layout{
    display:block !important;
    grid-template-columns:none !important;
    width:100% !important;
    min-width:0 !important;
    padding:12px !important;
    box-sizing:border-box !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-profile-card{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:flex-start !important;
    width:100% !important;
    min-width:0 !important;
    min-height:0 !important;
    height:auto !important;
    margin:0 0 12px !important;
    padding:16px 14px !important;
    box-sizing:border-box !important;
    text-align:center !important;
    border-radius:14px !important;
    overflow:visible !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-photo-large{
    width:108px !important;
    height:108px !important;
    margin:0 auto 10px !important;
    border-radius:18px !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-photo-placeholder{
    font-size:30px !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-profile-card h2{
    width:100% !important;
    max-width:100% !important;
    margin:4px 0 6px !important;
    padding:0 !important;
    font-size:19px !important;
    line-height:1.18 !important;
    text-align:center !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:break-word !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-green-line{
    margin:8px auto 10px !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-profile-item{
    width:min(100%,280px) !important;
    margin:0 auto 12px !important;
    padding:10px 4px !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-profile-item span{
    font-size:10px !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-profile-item strong{
    font-size:14px !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-profile-pills{
    display:flex !important;
    flex-wrap:wrap !important;
    justify-content:center !important;
    align-items:center !important;
    gap:7px !important;
    width:100% !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-profile-pills span,
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-profile-pills .pill{
    width:auto !important;
    min-width:0 !important;
    max-width:100% !important;
    min-height:30px !important;
    padding:6px 11px !important;
    font-size:11px !important;
    line-height:1.15 !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-details-stack{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-info-section{
    width:100% !important;
    min-width:0 !important;
    margin:0 0 12px !important;
    border-radius:12px !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-info-section h3,
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-section-title-row h3{
    width:100% !important;
    box-sizing:border-box !important;
    padding:10px 12px !important;
    font-size:13px !important;
    line-height:1.25 !important;
    letter-spacing:.035em !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:break-word !important;
  }

  /* Tablas de identificación, vínculo y seguridad social: cada dato pasa a fila etiqueta/valor. */
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-info-table,
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-info-table tbody{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    table-layout:auto !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-info-table tr{
    display:grid !important;
    grid-template-columns:minmax(118px,42%) minmax(0,1fr) !important;
    width:100% !important;
    min-width:0 !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-info-table th,
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-info-table td{
    display:flex !important;
    align-items:center !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    min-height:42px !important;
    margin:0 !important;
    padding:8px 10px !important;
    box-sizing:border-box !important;
    font-size:12px !important;
    line-height:1.28 !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:anywhere !important;
    hyphens:none !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-info-table th{
    font-weight:900 !important;
    background:#f2fafc !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-info-table td{
    font-weight:700 !important;
    background:#fff !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-info-table th:empty,
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-info-table th:empty + td{
    display:none !important;
  }

  /* Historial de vinculaciones: en celular se transforma de tabla ancha a tarjetas legibles. */
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-engagement-history{
    margin:12px !important;
    width:auto !important;
    overflow:visible !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-engagement-history .hint{
    padding:10px 12px !important;
    margin:0 !important;
    font-size:11.5px !important;
    line-height:1.4 !important;
    background:#f7fbfc !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-engagement-history .table-wrap{
    overflow:visible !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    padding:10px !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-engagement-history table,
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-engagement-history tbody{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-engagement-history thead{
    display:none !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-engagement-history tbody{
    display:grid !important;
    gap:10px !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-engagement-history tbody tr{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    padding:4px 10px !important;
    box-sizing:border-box !important;
    border:1px solid #cfe2e8 !important;
    border-radius:12px !important;
    background:#fff !important;
    box-shadow:0 4px 12px rgba(1,73,94,.05) !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-engagement-history tbody td{
    display:grid !important;
    grid-template-columns:104px minmax(0,1fr) !important;
    gap:8px !important;
    align-items:start !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    padding:7px 0 !important;
    box-sizing:border-box !important;
    border:0 !important;
    border-bottom:1px solid #e7eff2 !important;
    background:transparent !important;
    font-size:11.5px !important;
    line-height:1.3 !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:anywhere !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-engagement-history tbody td:last-child{
    min-width:0 !important;
    border-bottom:0 !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-engagement-history tbody td::before{
    color:#01495E !important;
    font-weight:900 !important;
    font-size:10px !important;
    text-transform:uppercase !important;
    letter-spacing:.02em !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-engagement-history tbody td:nth-child(1)::before{content:'Vinculación';}
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-engagement-history tbody td:nth-child(2)::before{content:'Inicio';}
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-engagement-history tbody td:nth-child(3)::before{content:'Terminación';}
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-engagement-history tbody td:nth-child(4)::before{content:'Estado';}
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-engagement-history tbody td:nth-child(5)::before{content:'Cargo';}
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-engagement-history tbody td:nth-child(6)::before{content:'Área';}
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-engagement-history tbody td:nth-child(7)::before{content:'Salario';}
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-engagement-history tbody td:nth-child(8)::before{content:'Acción';}

  /* Secciones adicionales: títulos apilados y tablas anchas con desplazamiento controlado. */
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-section-title-row{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:0 !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-section-title-row > span,
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-section-title-row > div,
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-section-title-row > a{
    margin:0 !important;
    padding:8px 12px !important;
    border-radius:0 !important;
    font-size:11px !important;
    line-height:1.25 !important;
    white-space:normal !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-section-title-row a{
    color:#01495E !important;
    background:#eaf6f8 !important;
    text-decoration:none !important;
    font-weight:900 !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .vac-ficha-periods,
  body.page-collaborator_view #report-print-area.ficha-print-sheet .benefit-ficha-table,
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-novedades-table{
    width:100% !important;
    max-width:100% !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .vac-ficha-periods table{
    min-width:680px !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .benefit-ficha-table table{
    min-width:620px !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-novedades-table table{
    min-width:900px !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .vac-ficha-periods th,
  body.page-collaborator_view #report-print-area.ficha-print-sheet .vac-ficha-periods td,
  body.page-collaborator_view #report-print-area.ficha-print-sheet .benefit-ficha-table th,
  body.page-collaborator_view #report-print-area.ficha-print-sheet .benefit-ficha-table td,
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-novedades-table th,
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-novedades-table td{
    white-space:nowrap !important;
    word-break:normal !important;
    overflow-wrap:normal !important;
  }

  /* Validaciones y demás bloques internos. */
  body.page-collaborator_view #report-print-area.ficha-print-sheet .validation-cards-grid{
    grid-template-columns:1fr !important;
    padding:8px !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .validation-mini-table{
    min-width:0 !important;
    width:100% !important;
  }
  body.page-collaborator_view #report-print-area.ficha-print-sheet .validation-mini-table th,
  body.page-collaborator_view #report-print-area.ficha-print-sheet .validation-mini-table td{
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:anywhere !important;
  }
}

@media screen and (max-width:420px){
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-body-layout{padding:9px !important;}
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-photo-large{width:96px !important;height:96px !important;}
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-profile-card h2{font-size:17px !important;}
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-info-table tr{grid-template-columns:minmax(108px,40%) minmax(0,1fr) !important;}
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-info-table th,
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-info-table td{padding:7px 8px !important;font-size:11.5px !important;}
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-engagement-history{margin:9px !important;}
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-engagement-history .table-wrap{padding:8px !important;}
  body.page-collaborator_view #report-print-area.ficha-print-sheet .ficha-engagement-history tbody td{grid-template-columns:92px minmax(0,1fr) !important;font-size:11px !important;}
}
/* MANDATOS_MOBILE_FICHA_V1_END */
