/* GASCA · Administración › Registro de actividad (vista 'actividad-view'). Usa las piezas ra-* de gasca_rrhh_apps.css */
.ac-root { display: grid; gap: 14px; }
.ac-fil { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.ac-con { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: .8rem; }
.ac-con > span { color: #166534; font-weight: 700; margin-right: 4px; } .ac-con > span i { font-size: .55rem; vertical-align: middle; }
.ac-chip { border: 1px solid #bbf7d0; background: #f0fdf4; color: #166534; border-radius: 999px; padding: 3px 10px; font: inherit; font-weight: 700; cursor: pointer; }
.ac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.ac-u { cursor: pointer; display: grid; gap: 6px; align-content: start; } .ac-u:hover { border-color: #2a78d6; }
.ac-u-h { display: flex; gap: 8px; align-items: baseline; justify-content: space-between; } .ac-u-h b { font-size: .95rem; }
.ac-u p { margin: 0; }
.ac-nums { display: flex; gap: 6px; flex-wrap: wrap; } .ac-nums span { font-size: .74rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.ac-lst { font-size: .78rem; color: #334155; } .ac-lst > span { color: #64748b; }
.ac-b { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.ac-t-vis { background: #e0f2fe; color: #075985; } .ac-t-cam { background: #fef3c7; color: #92400e; } .ac-t-con { background: #f1f5f9; color: #475569; }
.ac-t-acc { background: #dcfce7; color: #166534; } .ac-t-err { background: #fee2e2; color: #991b1b; } .ac-t-sin { background: #f5f3ff; color: #5b21b6; }
.ac-det { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px 14px; }
.ac-det > div { display: grid; gap: 2px; min-width: 0; } .ac-det span { font-size: .72rem; color: #64748b; } .ac-det code { overflow-wrap: anywhere; font-size: .8rem; }
.ac-sub { margin: 14px 0 6px; font-size: .84rem; }
.ac-pre { max-height: 50vh; overflow: auto; background: #0f172a; color: #e2e8f0; padding: 12px; border-radius: 10px; font-size: .76rem; white-space: pre-wrap; overflow-wrap: anywhere; }

/* INC-00235: la actividad en gráfico */
.ac-g-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ac-g-head h3 { margin: 0; font-size: 1.05rem; } .ac-g-head h3 i { color: #0f766e; margin-right: 6px; } .ac-g-head p { margin: 2px 0 0; }
.ac-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.ac-kpi { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--card-bg, #fff); border: 1px solid var(--border-color, #e2e8f0); }
.ac-kpi > i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #f1f5f9; color: #475569; flex: none; }
.ac-kpi span { display: block; font-size: .72rem; color: #64748b; text-transform: uppercase; letter-spacing: .03em; } .ac-kpi b { font-size: 1.25rem; } .ac-kpi small { display: block; font-size: .72rem; color: #64748b; }
.ac-k1 > i { background: #ccfbf1; color: #0f766e; } .ac-k2 > i { background: #dbeafe; color: #1d4ed8; } .ac-k3 > i { background: #fef3c7; color: #b45309; }
.ac-k4 > i { background: #f1f5f9; color: #475569; } .ac-k5 > i { background: #e0f2fe; color: #0369a1; } .ac-k6 > i { background: #fee2e2; color: #b91c1c; }
.ac-g-t { margin: 0 0 10px; font-size: .9rem; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; } .ac-g-t > i { color: #64748b; } .ac-g-t .ra-hint { font-weight: 400; font-size: .74rem; }
.ac-gt { display: grid; gap: 6px; }
.ac-gt-row { display: grid; grid-template-columns: 150px 1fr; gap: 10px; align-items: center; }
.ac-gt-lbl { display: grid; font-size: .78rem; line-height: 1.25; } .ac-gt-lbl span { color: #334155; } .ac-gt-lbl small { color: #64748b; }
.ac-gt-bar { position: relative; height: 30px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; }
.ac-gt-bar > i { position: absolute; top: 0; bottom: 0; width: 1px; background: #e2e8f0; }
.ac-gt-eje .ac-gt-bar { height: 16px; background: none; border: 0; } .ac-gt-bar-eje span { position: absolute; transform: translateX(-50%); font-size: .68rem; color: #64748b; }
.ac-gt-seg { position: absolute; top: 3px; bottom: 3px; border: 0; border-radius: 5px; cursor: pointer; padding: 0; min-width: 4px; box-shadow: 0 1px 2px rgba(15, 23, 42, .25); display: grid; place-items: center; }
.ac-gt-seg:hover { filter: brightness(1.1); outline: 2px solid #0f172a; } .ac-gt-seg em { font-style: normal; font-size: .66rem; font-weight: 800; color: #fff; }
.ac-ley { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: .76rem; color: #334155; } .ac-ley i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 5px; vertical-align: -2px; }
.ac-ses { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #f8fafc; border: 1px solid #e2e8f0; display: grid; gap: 6px; } .ac-ses-m { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.ac-g2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 14px; }
.ac-g3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.ac-cv { position: relative; height: 260px; }
.ac-heat-w { overflow-x: auto; } .ac-heat { border-collapse: separate; border-spacing: 3px; font-size: .72rem; width: auto !important; table-layout: auto; }
.ac-heat th { font-weight: 600; color: #64748b; padding: 0 4px; white-space: nowrap; text-align: center; } .ac-heat tbody th { text-align: right; }
.ac-heat td { min-width: 30px; width: 34px; height: 26px; padding: 0 !important; text-align: center; border-radius: 5px; border: 1px solid #f1f5f9; font-weight: 700; } .ac-heat .ac-heat-t { border: 0; color: #334155; padding-left: 8px; }
.ac-hb { display: grid; grid-template-columns: minmax(0, 1.4fr) 1fr auto; gap: 8px; align-items: center; font-size: .78rem; margin-bottom: 5px; }
.ac-hb-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ac-hb-b { height: 10px; background: #f1f5f9; border-radius: 999px; overflow: hidden; } .ac-hb-b i { display: block; height: 100%; border-radius: 999px; }
.ac-us-lnk { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ac-cambios { display: grid; gap: 6px; max-height: 360px; overflow: auto; font-size: .78rem; }
.ac-cambios > div { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; padding-bottom: 6px; border-bottom: 1px dashed #e2e8f0; } .ac-cambios time { color: #64748b; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .ac-gt-row { grid-template-columns: 90px 1fr; } .ac-g2, .ac-g3 { grid-template-columns: 1fr; } }

/* INC-00238: por qué pantallas navega */
.ac-rc-eje { margin-left: 160px; } .ac-rc-eje .ac-gt-row { grid-template-columns: 0 1fr; }
.ac-rc-g { margin-top: 10px; display: grid; gap: 6px; } .ac-rc-t { font-size: .82rem; }
.ac-rc-bar { height: 28px; } .ac-rc-seg { position: absolute; top: 3px; bottom: 3px; border-radius: 4px; color: #fff; font-size: .66rem; font-weight: 700; overflow: hidden;
  white-space: nowrap; text-overflow: ellipsis; padding: 0 4px; line-height: 22px; border-right: 1px solid rgba(255, 255, 255, .8); text-shadow: 0 1px 1px rgba(0, 0, 0, .25); }
.ac-rc-g details summary { cursor: pointer; font-size: .78rem; color: #2a78d6; }
.ac-rc-w { max-height: 420px; overflow: auto; margin-top: 6px; }
.ac-rc { width: 100%; border-collapse: collapse; font-size: .78rem; } .ac-rc th { text-align: left; font-size: .68rem; text-transform: uppercase; color: #64748b; padding: 4px 6px; border-bottom: 1px solid #e2e8f0; position: sticky; top: 0; background: var(--card-bg, #fff); }
.ac-rc td { padding: 5px 6px; border-bottom: 1px solid #f1f5f9; vertical-align: top; } .ac-rc-h { font-variant-numeric: tabular-nums; color: #475569; white-space: nowrap; }
.ac-rc-n { white-space: nowrap; text-align: right; } .ac-rc-q { color: #334155; } .ac-rc-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.ac-rc-c { padding: 0 6px; border-radius: 999px; font-size: .7rem; }
@media (max-width: 700px) { .ac-rc-eje { margin-left: 0; } }
/* INC-00559: clic = ir a la pantalla en modo consulta */
.ac-ir-c { display: inline-flex; align-items: center; gap: 6px; }
.ac-ir { color: #0f766e; font-weight: 600; white-space: nowrap; text-decoration: none; } a.ac-ir:hover { text-decoration: underline; }
.ac-ir i { font-size: .7rem; opacity: .7; }
.ac-det-b { border: 0; background: transparent; color: #94a3b8; cursor: pointer; padding: 2px 4px; border-radius: 6px; } .ac-det-b:hover { color: #0f766e; background: #f1f5f9; }
tr.ac-con-ir { cursor: pointer; } tr.ac-con-ir:hover td { background: #f0fdfa; }
.ac-cambios > div.ac-con-ir { cursor: pointer; border-radius: 6px; } .ac-cambios > div.ac-con-ir:hover { background: #f0fdfa; }
.ac-ley-ir { margin: 8px 0 0; padding: 8px 12px; border-radius: 8px; background: #f0fdfa; border: 1px solid #99f6e4; color: #134e4a; font-size: .8rem; line-height: 1.45; }
