/* FlujoGráfico QA: módulo de documentos y aprobaciones — DEMO sin backend. */
.fgq-flow-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:18px 0}
.fgq-flow-steps span{min-width:0;background:#e9f5f3;border:1px solid #cddfdf;border-radius:10px;padding:12px;font-size:12px;font-weight:750;color:#17434b}
.fgq-flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;align-items:start}
.fgq-flow-grid>.fgq-full{grid-column:1/-1}
.fgq-flow-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:13px}
.fgq-flow-fields .fgq-full{grid-column:1/-1}
.fgq-flow-fields .field{min-width:0}
.fgq-flow-fields input,.fgq-flow-fields select,.fgq-flow-fields textarea{max-width:100%;width:100%;box-sizing:border-box;border:1px solid #cddcdf;padding:10px;border-radius:9px;background:#fff;color:#17333b}
.fgq-flow-note{color:#5e7279;line-height:1.65;font-size:12px;overflow-wrap:anywhere}
.fgq-flow-list{display:flex;flex-direction:column;gap:9px;margin-top:17px}
.fgq-flow-item{border:1px solid #dde9e9;border-radius:11px;padding:12px;background:#fafdfe;font-size:12px;overflow-wrap:anywhere}
.fgq-flow-item strong{font-size:13px}
.fgq-flow-item small{display:block;margin:5px 0;color:#59747b}
.fgq-flow-item button{margin-top:9px}
@media(max-width:850px){.fgq-flow-grid{grid-template-columns:minmax(0,1fr)}.fgq-flow-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.fgq-flow-fields{grid-template-columns:minmax(0,1fr)}.fgq-flow-fields .fgq-full{grid-column:auto}}

/* Bitácora por área en modo de capacitación; no registra aprobaciones. */
.fgq-area-event>span{display:block;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.fgq-area-history-head{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-top:22px}
.fgq-area-history-head .section-title{margin:0}
.fgq-area-history-head .sub{margin-top:3px}
#fgqDeptHistorySection .fgq-flow-fields{margin-top:16px}
#fgqDeptHistorySection .fgq-flow-list{max-height:480px;overflow-y:auto}
