/* V1261 — Gestão de Documentos: indicadores no padrão do Painel dos Objetivos, abas de categoria com contagem,
   cabeçalho da lista no padrão do sistema, sem "Ordenar por / Lista / Grade", tabela sem rolagem horizontal. */

.sgq-doc-v1261 .sgq-nav-note{display:flex;align-items:center;gap:9px;padding:9px 13px!important;margin-bottom:14px;font-size:12.5px!important;line-height:1.45;color:#4d6680!important}
.sgq-doc-v1261 .sgq-nav-note svg{flex:0 0 17px;width:17px;height:17px;fill:none;stroke:#1766b3;stroke-width:2;stroke-linecap:round}

/* indicadores */
.sgq-doc-v1261 .sgq-gks{grid-template-columns:repeat(4,minmax(0,1fr))!important;margin-bottom:14px}
.sgq-doc-v1261 .sgq-leituras{display:flex!important;align-items:center;gap:10px;width:100%;margin:0 0 14px!important;padding:10px 14px!important;border:1px solid #f6d48b!important;border-left:4px solid #e0a106!important;border-radius:10px!important;background:#fff8e6!important;box-shadow:none!important;color:#6b4a00!important;font-size:13px!important;font-weight:600!important;text-align:left;cursor:pointer}
.sgq-doc-v1261 .sgq-leituras svg{flex:0 0 18px;width:18px;height:18px;fill:none;stroke:#c98a00;stroke-width:2;stroke-linejoin:round}
.sgq-doc-v1261 .sgq-leituras span{flex:1}
.sgq-doc-v1261 .sgq-leituras em{font-style:normal;color:#1766b3;text-decoration:underline;font-weight:700}

/* filtros */
.sgq-doc-v1261 .sgq-filter-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.sgq-doc-v1261 .sgq-cat-tabs{display:inline-flex;gap:4px;padding:4px;border:1px solid #d8e5f5;border-radius:10px;background:#f5f8fc;flex-wrap:wrap}
.sgq-doc-v1261 .sgq-cat{display:inline-flex!important;align-items:center;gap:7px;height:32px!important;min-height:32px!important;margin:0!important;padding:0 12px!important;border:0!important;border-radius:7px!important;background:transparent!important;box-shadow:none!important;color:#33485f!important;font-size:12.5px!important;font-weight:650!important;cursor:pointer;white-space:nowrap}
.sgq-doc-v1261 .sgq-cat:hover{background:#e9f1fb!important}
.sgq-doc-v1261 .sgq-cat .n{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:18px;padding:0 6px;border-radius:9px;background:#e1eaf5;color:#1d4f91;font-size:11px;font-weight:800;font-variant-numeric:tabular-nums}
.sgq-doc-v1261 .sgq-cat.ativo{background:#f58216!important;color:#fff!important}
.sgq-doc-v1261 .sgq-cat.ativo .n{background:rgba(255,255,255,.25);color:#fff}
.sgq-doc-v1261 .sgq-btn-pdf{display:inline-flex!important;align-items:center;gap:7px;height:36px!important;min-height:36px!important;margin:0!important;padding:0 14px!important;border:1px solid #bcd0e8!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important;color:#1d4f91!important;font-size:12.5px!important;font-weight:700!important;cursor:pointer;white-space:nowrap}
.sgq-doc-v1261 .sgq-btn-pdf:hover{background:#edf5ff!important;border-color:#9ec2ea!important}
.sgq-doc-v1261 .sgq-btn-pdf svg,.sgq-doc-v1261 .sgq-search-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sgq-doc-v1261 .sgq-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,2fr) auto!important;align-items:end!important}
.sgq-doc-v1261 .sgq-filter .field label{font-size:12px!important;font-weight:650;color:#33485f!important}
.sgq-doc-v1261 .sgq-filter select,.sgq-doc-v1261 .sgq-filter input{height:38px!important;margin:0!important;box-sizing:border-box}
.sgq-doc-v1261 .sgq-search-btn{display:inline-flex!important;align-items:center;gap:6px;height:38px!important;min-height:38px!important;margin:0!important;padding:0 16px!important;border:0!important;border-radius:8px!important;background:#1766b3!important;color:#fff!important;font-size:12.5px!important;font-weight:700!important;cursor:pointer}
.sgq-doc-v1261 .sgq-clear{height:38px!important;min-height:38px!important;margin:0!important;padding:0 12px!important;border:1px solid #d8e5f5!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important;color:#1766b3!important;font-size:12.5px!important;font-weight:650!important;text-align:center!important;cursor:pointer;white-space:nowrap}
.sgq-doc-v1261 .sgq-filter-grid>.sgq-clear{justify-self:start}
.sgq-doc-v1261 .sgq-doc-tab .badge{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle;font-size:11px}
.sgq-doc-v1261 .sgq-clear:hover{background:#f0f6fd!important}

/* cabeçalho da lista (padrão do sistema) */
.sgq-doc-v1261 .sgq-doc-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid #e4edf7}
.sgq-doc-v1261 .sgq-doc-head-tit{display:flex;flex-direction:column;gap:3px;min-width:0}
#main .sgq-doc-v1261 .sgq-doc-head h3{margin:0!important;padding:0 0 0 10px!important;border:0!important;border-left:3px solid #f58216!important;background:none!important;color:#1d4f91!important;font-size:16px!important;font-weight:800!important;line-height:1.35!important;text-transform:none!important;letter-spacing:normal!important}
.sgq-doc-v1261 .sgq-doc-head-tit span{margin-left:13px;font-size:12px;color:#637994}
.sgq-doc-v1261 .sgq-doc-novo{min-height:38px;padding:0 16px;white-space:nowrap}

/* vazio */
.sgq-doc-v1261 .sgq-vazio-v1261{display:flex;flex-direction:column;align-items:center;gap:6px;padding:42px 20px 46px!important;text-align:center}
.sgq-doc-v1261 .sgq-vazio-v1261 svg{width:44px;height:44px;margin-bottom:6px;fill:#eaf2fb;stroke:#8fb2d8;stroke-width:1.4;stroke-linejoin:round}
#main .sgq-doc-v1261 .sgq-vazio-v1261 h3{margin:0!important;padding:0!important;border:0!important;background:none!important;color:#1d4f91!important;font-size:15px!important;font-weight:800!important;text-transform:none!important;letter-spacing:normal!important}
.sgq-doc-v1261 .sgq-vazio-v1261 p{margin:0 0 10px!important;color:#637994;font-size:12.5px}
.sgq-doc-v1261 .sgq-vazio-v1261 button{min-height:38px;padding:0 16px}
.sgq-doc-v1261 .sgq-vazio-limpar{border:1px solid #bcd0e8!important;background:#fff!important;color:#1d4f91!important;border-radius:8px!important;font-weight:700!important;cursor:pointer}

/* tabela */
.sgq-doc-v1261 .sgq-doc-wrap{margin:0!important;overflow:visible!important;border:0!important}
#main .sgq-doc-v1261 table.sgq-doc-tab.mp-no-column-picker{width:100%!important;min-width:0!important;table-layout:fixed;border-collapse:collapse}
.sgq-doc-v1261 .sgq-doc-tab col.c-cod{width:118px}.sgq-doc-v1261 .sgq-doc-tab col.c-tipo{width:76px}.sgq-doc-v1261 .sgq-doc-tab col.c-cat{width:96px}
.sgq-doc-v1261 .sgq-doc-tab col.c-rev{width:54px}.sgq-doc-v1261 .sgq-doc-tab col.c-st{width:150px}.sgq-doc-v1261 .sgq-doc-tab col.c-prox{width:120px}
.sgq-doc-v1261 .sgq-doc-tab col.c-proc{width:14%}.sgq-doc-v1261 .sgq-doc-tab col.c-acoes{width:188px}
#main .sgq-doc-v1261 table.sgq-doc-tab.mp-no-column-picker>thead>tr>th{padding:10px 12px!important;background:#edf3fb!important;color:#244d7d!important;font-size:11px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#main .sgq-doc-v1261 table.sgq-doc-tab.mp-no-column-picker>tbody>tr>td{padding:10px 12px!important;vertical-align:middle;border-bottom:1px solid #e4edf7!important;overflow:hidden;text-overflow:ellipsis;font-size:13px}
#main .sgq-doc-v1261 table.sgq-doc-tab.mp-no-column-picker>tbody>tr:last-child>td{border-bottom:0!important}
#main .sgq-doc-v1261 table.sgq-doc-tab.mp-no-column-picker>tbody>tr:hover>td{background:#f8fbff!important}
.sgq-doc-v1261 .sgq-doc-tab .c{text-align:center!important}.sgq-doc-v1261 .sgq-doc-tab .r{text-align:right!important}
.sgq-doc-v1261 .sgq-doc-cod{color:#1766b3;font-weight:800;text-decoration:none;white-space:nowrap}
.sgq-doc-v1261 .sgq-doc-cod:hover{text-decoration:underline}
.sgq-doc-v1261 .sgq-doc-tit{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#173f68;font-weight:600;line-height:1.4}
.sgq-doc-v1261 .sgq-doc-proc{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#33485f}
.sgq-doc-v1261 .sgq-venc{display:flex;flex-direction:column;color:#b42318;font-weight:700;white-space:nowrap}
.sgq-doc-v1261 .sgq-venc small{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.03em}
.sgq-doc-v1261 .sgq-traco{color:#9aabbd}
.sgq-doc-v1261 td.sgq-doc-acoes{text-align:right;white-space:nowrap;overflow:visible!important}
.sgq-doc-v1261 .sgq-ico{display:inline-flex!important;align-items:center;justify-content:center;width:32px!important;height:32px!important;min-height:32px!important;margin:0 4px 0 0!important;padding:0!important;border:1px solid #d8e5f5!important;border-radius:8px!important;background:#fff!important;color:#1d4f91!important;box-shadow:none!important;vertical-align:middle;cursor:pointer}
.sgq-doc-v1261 .sgq-ico svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sgq-doc-v1261 .sgq-ico:hover{background:#edf5ff!important;border-color:#9ec2ea!important}
.sgq-doc-v1261 .sgq-btn-rev{height:32px!important;min-height:32px!important;margin:0!important;padding:0 12px!important;border:0!important;border-radius:8px!important;background:#f58216!important;color:#fff!important;font-size:12.5px!important;font-weight:700!important;vertical-align:middle;cursor:pointer}
.sgq-doc-v1261 .sgq-btn-rev:hover{filter:brightness(.94)}

@media(max-width:1250px){
  .sgq-doc-v1261 .sgq-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .sgq-doc-v1261 .sgq-filter-grid>.field:nth-child(4){grid-column:1/3}
  .sgq-doc-v1261 .sgq-doc-tab col.c-cat{width:102px}.sgq-doc-v1261 .sgq-doc-tab col.c-st{width:140px}.sgq-doc-v1261 .sgq-doc-tab col.c-tipo{width:60px}.sgq-doc-v1261 .sgq-doc-tab col.c-rev{width:58px}.sgq-doc-v1261 .sgq-doc-tab col.c-acoes{width:180px}.sgq-doc-v1261 .sgq-doc-tab col.c-cod{width:100px}.sgq-doc-v1261 .sgq-doc-tab col.c-prox{width:122px}
  #main .sgq-doc-v1261 table.sgq-doc-tab.mp-no-column-picker>thead>tr>th,#main .sgq-doc-v1261 table.sgq-doc-tab.mp-no-column-picker>tbody>tr>td{padding-left:8px!important;padding-right:8px!important}
}
@media(max-width:900px){.sgq-doc-v1261 .sgq-gks{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* V1270 — situação do editor do Office */
.sgq-doc-v1261 .sgq-filter-top-dir{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.sgq-doc-v1261 .sgq-oo-chip{display:inline-flex!important;align-items:center;gap:7px;height:36px!important;min-height:36px!important;margin:0!important;padding:0 12px!important;border:1px solid #d8e5f5!important;border-radius:999px!important;background:#fff!important;box-shadow:none!important;color:#33485f!important;font-size:12.5px!important;font-weight:650!important;cursor:pointer;white-space:nowrap}
.sgq-doc-v1261 .sgq-oo-chip:hover{background:#f0f6fd!important}
.sgq-oo-chip .dot{width:9px;height:9px;border-radius:50%;background:#b6c2cf}
.sgq-oo-chip.ok .dot{background:#22a463}.sgq-oo-chip.pend .dot{background:#f59e0b}.sgq-oo-chip.off .dot{background:#b6c2cf}
.sgq-oo-painel{display:flex;flex-direction:column;gap:12px;font-size:13px;color:#33485f}
.sgq-oo-res{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border-radius:10px;border:1px solid #d8e5f5;background:#f7faff}
.sgq-oo-res b{font-size:14px;color:#173f68}.sgq-oo-res span{font-size:12.5px;color:#637994}
.sgq-oo-res.ok{border-color:#9fd3b5;background:#f1faf4}.sgq-oo-res.ok b{color:#1e6b40}
.sgq-oo-res.pend{border-color:#f6d48b;background:#fff8e6}.sgq-oo-res.pend b{color:#8a5a00}
.sgq-oo-h{margin:6px 0 0!important;padding-left:10px!important;border-left:3px solid #f58216!important;color:#1d4f91!important;font-size:14px!important;font-weight:800!important;background:none!important;text-transform:none!important}
.sgq-oo-lista{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.sgq-oo-lista li{display:flex;gap:10px;align-items:flex-start;padding:9px 12px;border:1px solid #e4edf7;border-radius:8px;background:#fff}
.sgq-oo-lista li i{flex:0 0 18px;width:18px;height:18px;margin-top:1px;border-radius:50%;background:#b6c2cf;position:relative}
.sgq-oo-lista li.ok i{background:#22a463}.sgq-oo-lista li.falta i{background:#dc2626}
.sgq-oo-lista li.ok i::after{content:"";position:absolute;left:6px;top:3px;width:4px;height:8px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.sgq-oo-lista li.falta i::after{content:"!";position:absolute;inset:0;color:#fff;font-size:12px;font-weight:800;text-align:center;line-height:18px}
.sgq-oo-lista li div{display:flex;flex-direction:column;gap:2px;min-width:0}
.sgq-oo-lista li b{color:#173f68;font-size:13px}.sgq-oo-lista li span{color:#637994;font-size:12px;overflow-wrap:anywhere}
.sgq-oo-acoes button{min-height:38px;padding:0 16px}
.sgq-oo-passos{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px;line-height:1.5}
.sgq-oo-painel code{padding:1px 5px;border:1px solid #d8e5f5;border-radius:4px;background:#f7faff;font-size:12px}
.sgq-oo-nota{margin:0;font-size:12px;color:#637994}

/* V1272 — passo a passo do OnlyOffice */
.sgq-oo-guia .sgq-oo-antes{padding:10px 14px;border:1px solid #e4edf7;border-radius:10px;background:#fbfdff}
.sgq-oo-guia .sgq-oo-antes ul{margin:6px 0 0;padding-left:18px;display:flex;flex-direction:column;gap:3px}
.sgq-oo-etapa{border:1px solid #d8e5f5;border-radius:10px;background:#fff;overflow:hidden}
.sgq-oo-etapa>summary{list-style:none;display:flex;align-items:center;gap:10px;padding:11px 14px;cursor:pointer;background:#f7faff}
.sgq-oo-etapa>summary::-webkit-details-marker{display:none}
.sgq-oo-etapa>summary i{flex:0 0 26px;width:26px;height:26px;border-radius:50%;background:#f58216;color:#fff;font-style:normal;font-weight:800;display:flex;align-items:center;justify-content:center}
.sgq-oo-etapa>summary b{flex:1;color:#173f68;font-size:14px}
.sgq-oo-etapa>summary em{font-style:normal;font-size:12px;color:#7a8ea3}
.sgq-oo-etapa>summary::after{content:"▾";color:#7a8ea3;transition:transform .15s}
.sgq-oo-etapa[open]>summary::after{transform:rotate(180deg)}
.sgq-oo-etapa-corpo{padding:10px 16px 14px;border-top:1px solid #e4edf7}
.sgq-oo-etapa-corpo ol{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:8px;line-height:1.55}
.sgq-oo-etapa-corpo p{margin:0 0 10px;line-height:1.55}
.sgq-oo-val{display:inline-flex;align-items:center;gap:6px;margin:2px 0;max-width:100%;vertical-align:middle}
.sgq-oo-val code{overflow-wrap:anywhere}
.sgq-oo-copiar{display:inline-flex!important;align-items:center;height:24px!important;min-height:24px!important;margin:0!important;padding:0 8px!important;border:1px solid #cddbea!important;border-radius:6px!important;background:#fff!important;box-shadow:none!important;color:#1766b3!important;font-size:11px!important;font-weight:700!important;cursor:pointer;white-space:nowrap}
.sgq-oo-copiar:hover{background:#edf5ff!important}
.sgq-oo-copiar.ok{border-color:#9fd3b5!important;background:#f1faf4!important;color:#1e6b40!important}
.sgq-oo-copiar.forte{height:30px!important;min-height:30px!important;padding:0 12px!important;background:#f58216!important;border-color:#f58216!important;color:#fff!important}
.sgq-oo-vars{width:100%;border-collapse:collapse;margin:4px 0 10px;font-size:12.5px}
.sgq-oo-vars th{padding:7px 9px;background:#edf3fb;color:#244d7d;font-size:11px;text-align:left;border:1px solid #d8e5f5}
.sgq-oo-vars td{padding:7px 9px;border:1px solid #e4edf7;vertical-align:top;line-height:1.45}
.sgq-oo-vars td small{display:block;margin-top:3px;color:#7a8ea3;font-size:11.5px}

.sgq-oo-alerta{margin:0 0 10px!important;padding:9px 12px;border:1px solid #f6d48b;border-left:4px solid #e0a106;border-radius:8px;background:#fff8e6;color:#6b4a00;font-size:12.5px;line-height:1.5}
