/* V1279 — Documento › Revisões: resumo, linha do tempo e etapas do fluxo */
#side-panel.sgq-detalhe-painel .side-panel-body{overflow-x:hidden}
.sgqr-v1279{display:flex;flex-direction:column;gap:14px;color:#33485f;font-size:13px}
.sgqr-resumo{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:0;border:1px solid #d8e5f5;border-radius:12px;background:#fff;overflow:hidden}
.sgqr-res-item{display:flex;flex-direction:column;gap:3px;padding:12px 16px;border-right:1px solid #e4edf7;min-width:0}
.sgqr-res-item span{font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#7a8ea3}
.sgqr-res-item b{font-size:17px;font-weight:800;color:#173f68}
.sgqr-res-item small{font-size:12px;color:#637994}
.sgqr-res-acao{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:4px;padding:12px 16px;background:#f7faff}
.sgqr-res-acao button{min-height:38px;padding:0 16px;white-space:nowrap}
.sgqr-res-acao button:disabled{opacity:.5;cursor:not-allowed}
.sgqr-res-acao small{max-width:200px;text-align:right;font-size:11px;color:#7a8ea3}
.sgqr-v1279 em{font-style:normal;font-weight:700}
.sgqr-v1279 em.venc{color:#b42318}.sgqr-v1279 em.prox{color:#9a5b00}
.sgqr-h{margin:6px 0 0!important;padding-left:10px!important;border-left:3px solid #f58216!important;color:#1d4f91!important;font-size:15px!important;font-weight:800!important;background:none!important;text-transform:none!important}
.sgqr-linha{position:relative;display:flex;flex-direction:column;gap:12px;padding-left:4px}
.sgqr-rev{position:relative;display:grid;grid-template-columns:72px minmax(0,1fr);border:1px solid #d8e5f5;border-radius:12px;background:#fff;overflow:hidden}
.sgqr-rev.st-vigente{border-color:#9fd3b5;box-shadow:0 0 0 3px rgba(34,164,99,.08)}
.sgqr-rev.st-rascunho,.sgqr-rev.st-em_revisao,.sgqr-rev.st-aguardando_aprovacao,.sgqr-rev.st-aprovado{border-color:#f6c999}
.sgqr-rev.st-obsoleta{opacity:.75}
.sgqr-num{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:0;padding:16px 0;background:#f4f8fd;border-right:1px solid #e4edf7}
.sgqr-num span{font-size:11px;font-weight:800;color:#7a8ea3;text-transform:uppercase}
.sgqr-num b{font-size:26px;font-weight:800;line-height:1.1;color:#1d4f91;font-variant-numeric:tabular-nums}
.st-vigente .sgqr-num{background:#effaf3}.st-vigente .sgqr-num b{color:#1e7a46}
.st-rascunho .sgqr-num,.st-em_revisao .sgqr-num,.st-aguardando_aprovacao .sgqr-num,.st-aprovado .sgqr-num{background:#fff6ec}
.st-rascunho .sgqr-num b,.st-em_revisao .sgqr-num b,.st-aguardando_aprovacao .sgqr-num b,.st-aprovado .sgqr-num b{color:#c46510}
.sgqr-corpo{display:flex;flex-direction:column;gap:10px;padding:14px 16px;min-width:0}
.sgqr-cab{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}
.sgqr-cab>div{display:flex;align-items:center;gap:10px;min-width:0;flex-wrap:wrap}
.sgqr-cab h4{margin:0!important;padding:0!important;border:0!important;background:none!important;color:#173f68!important;font-size:14px!important;font-weight:700!important;text-transform:none!important}
.sgqr-cab h4.sem{color:#9aabbd!important;font-weight:600!important;font-style:italic}
.sgqr-fluxo{display:flex;align-items:center;gap:0;margin:0;padding:0;list-style:none}
.sgqr-fluxo li{display:flex;align-items:center;gap:5px;font-size:11px;color:#9aabbd;white-space:nowrap}
.sgqr-fluxo li+li::before{content:"";width:18px;height:2px;margin:0 6px;background:#dbe5f0}
.sgqr-fluxo li i{width:9px;height:9px;border-radius:50%;border:2px solid #c8d4df;background:#fff}
.sgqr-fluxo li.feito{color:#1e7a46}.sgqr-fluxo li.feito i{background:#22a463;border-color:#22a463}
.sgqr-fluxo li.feito+li::before,.sgqr-fluxo li.atual::before{background:#22a463}
.sgqr-fluxo li.atual{color:#c46510;font-weight:800}.sgqr-fluxo li.atual i{background:#f58216;border-color:#f58216;box-shadow:0 0 0 3px rgba(245,130,22,.2)}
.sgqr-meta{display:flex;flex-wrap:wrap;gap:8px 28px;margin:0}
.sgqr-meta div{display:flex;flex-direction:column;gap:2px}
.sgqr-meta dt{font-size:11px;font-weight:700;color:#7a8ea3}
.sgqr-meta dd{margin:0;font-size:13px;color:#263b56;font-weight:600}
.sgqr-desc{margin:0;padding:8px 10px;border-radius:8px;background:#f7faff;font-size:12.5px;line-height:1.5}
.sgqr-aprov{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:4px;font-size:12.5px}
.sgqr-aprov li{padding:6px 10px;border-radius:7px;background:#f7faff;border-left:3px solid #b6c2cf}
.sgqr-aprov li.aprovar{border-left-color:#22a463}.sgqr-aprov li.rejeitar{border-left-color:#dc2626}.sgqr-aprov li.solicitar_alteracao{border-left-color:#f59e0b}
.sgqr-wf{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border:1px dashed #d8e5f5;border-radius:8px}
.sgqr-wf-tit{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#7a8ea3}
.sgqr-wf-et{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12.5px}
.sgqr-wf-et i{width:10px;height:10px;border-radius:50%;background:#c8d4df}
.sgqr-wf-et.aprovada i{background:#22a463}.sgqr-wf-et.rejeitada i{background:#dc2626}.sgqr-wf-et.em_andamento i{background:#1766b3}
.sgqr-wf-et span{color:#7a8ea3}.sgqr-wf-et small{flex-basis:100%;padding-left:18px;color:#7a8ea3}
.sgqr-wf-et button{min-height:28px;padding:0 10px;margin-left:auto}
.sgqr-rod{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:10px;border-top:1px solid #eef3f9}
.sgqr-arq{display:flex;align-items:center;gap:6px;min-width:0;flex:1 1 260px;color:#33485f;font-size:12.5px}
.sgqr-arq svg{flex:0 0 16px;width:16px;height:16px;fill:none;stroke:#7a8ea3;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sgqr-arq span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sgqr-arq .sem{color:#9aabbd;font-style:italic}
.sgqr-acoes{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.sgqr-acoes button{min-height:36px!important;height:36px;margin:0!important;padding:0 14px!important;white-space:nowrap}
.sgqr-sec{display:inline-flex!important;align-items:center;gap:6px;border:1px solid #bcd0e8!important;border-radius:8px!important;background:#fff!important;color:#1d4f91!important;font-size:12.5px!important;font-weight:700!important;box-shadow:none!important;cursor:pointer}
.sgqr-sec:hover{background:#edf5ff!important}
.sgqr-sec svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sgqr-perigo{border:1px solid #f3b8b0!important;border-radius:8px!important;background:#fff!important;color:#b42318!important;font-size:12.5px!important;font-weight:700!important;box-shadow:none!important;cursor:pointer}
.sgqr-perigo:hover{background:#fff5f4!important}
.sgqr-antigas{border:1px solid #e4edf7;border-radius:10px;background:#fbfdff}
.sgqr-antigas>summary{padding:10px 14px;cursor:pointer;font-weight:700;color:#637994}
.sgqr-antigas>.sgqr-linha{padding:0 12px 12px}
.sgqr-vazio{color:#7a8ea3;margin:0}
@media(max-width:1100px){.sgqr-resumo{grid-template-columns:repeat(2,minmax(0,1fr))}.sgqr-res-acao{grid-column:1/-1;align-items:flex-start}.sgqr-res-acao small{text-align:left;max-width:none}}
