/* GASCA · RRHH › Fichas de centros (vista 'rrhh-fic-view'). Usa las piezas ra-* de gasca_rrhh_apps.css */
.fc-root { display: grid; gap: 14px; }
.fc-fil { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.fc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 14px; }
.fc-ancha { grid-column: 1 / -1; }
.fc-rej th { text-align: left; white-space: nowrap; }
.fc-rej td { padding: 3px 4px !important; }
.fc-num { width: 70px !important; text-align: right; height: 30px !important; }
.fc-tot th, .fc-tot td { font-weight: 800; background: #f1f5f9; }
.fc-rat { margin-top: 12px; }
.fc-sub { margin: 14px 0 6px !important; font-size: .82rem; color: #334155; }
.fc-comp { margin-top: 12px; padding: 8px 12px; border-radius: 10px; font-size: .82rem; display: flex; gap: 8px; align-items: center; }
.fc-ok { background: #f0fdf4; color: #166534; } .fc-mal { background: #fffbeb; color: #92400e; }
.fc-baja td { color: #94a3b8; }
.fc-celda { border: 1px dashed #cbd5e1; background: #fff; border-radius: 6px; padding: 2px 6px; cursor: pointer; font: inherit; }
.fc-celda:hover { border-color: #2a78d6; background: #eff6ff; }
.fc-neg { color: #b91c1c; font-weight: 700; }
.fc-dia { max-width: 90px; }
.fc-menu { display: grid; gap: 8px; } .fc-menu .ra-btn { justify-content: flex-start; }
@media print { .ra-no-imprimir, .ra-notas { display: none !important; } }
.fc-r { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; margin: 1px 0; white-space: nowrap; }
.fc-r-ok { background: #dcfce7; color: #166534; } .fc-r-mal { background: #fee2e2; color: #991b1b; } .fc-r-gris { background: #f1f5f9; color: #64748b; }

/* INC-00099/100: aspecto de la ficha */
.fc-comp { align-items: flex-start; line-height: 1.45; } .fc-comp i { margin-top: 3px; }
.fc-rej th { font-size: .74rem; color: #334155; }
.fc-rej td, .fc-rej thead th.ra-n { text-align: center !important; }
.fc-grid > .ra-card { margin: 0; }

/* INC-00360: notas de Sage en el personal del centro */
.fc-notas { display: inline-block; max-width: 260px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; color: #475569; font-size: .82em; }
/* INC-00607/609/628: horas de mejora (añadir a otra persona, totales y filtro) */
.fc-hfil { margin: 8px 0; gap: 8px; }
.fc-tot { margin: 6px 0 10px; border: 1px solid #e2e8f0; border-radius: 10px; padding: 6px 10px; background: #f8fafc; }
.fc-tot summary { cursor: pointer; font-weight: 600; font-size: .86rem; }
.fc-tot-g { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(320px, 2fr); gap: 14px; margin-top: 8px; }
.fc-tot-g h4 { margin: 0 0 4px; font-size: .8rem; text-transform: uppercase; color: #64748b; }
.fc-otra { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; font-size: .86rem; }
@media (max-width: 760px) { .fc-tot-g { grid-template-columns: 1fr; } }
