/* V1271 — Lista Mestra de Documentos (SGQ), mesmo modelo da Lista Mestra de Equipamentos (V1194) */
.sgq-lm-loading-v1271{padding:24px;color:#637994}
.sgq-lm-toolbar-v1271{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px;padding:4px 0}
.sgq-lm-kicker-v1271{display:block;color:#637994;font-size:10px;font-weight:800;letter-spacing:1.1px;margin-bottom:4px}
.sgq-lm-toolbar-v1271 h1{margin:0;color:#1d4f91;font-size:22px;font-weight:800}
.sgq-lm-toolbar-v1271 p{margin:4px 0 0;color:#637994;font-size:12px}
.sgq-lm-toolbar-actions-v1271{display:flex;gap:8px;flex-wrap:wrap}
.sgq-lm-report-v1271{width:100%;box-sizing:border-box;padding:22px;background:#fff;border:1px solid #d8e5f5;border-radius:12px;color:#21344a;font-size:12px}
.sgq-lm-report-head-v1271{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:12px;border-bottom:2px solid #1d4f91}
.sgq-lm-brand-v1271{display:flex;align-items:center;gap:14px;min-width:0}
.sgq-lm-brand-v1271 img{width:150px;max-height:62px;object-fit:contain;flex:0 0 auto;padding-right:12px;border-right:1px solid #8797aa}
.sgq-lm-brand-v1271 em{display:block;margin-bottom:4px;color:#253b56;font-size:14px;font-style:italic;letter-spacing:.6px}
.sgq-lm-brand-v1271 h1{margin:0;color:#1b2735;font-size:19px;line-height:1.3;font-weight:650}
.sgq-lm-brand-v1271 p{margin:3px 0 0;color:#637994;font-size:12px}
.sgq-lm-meta-v1271{display:grid;grid-template-columns:auto auto;gap:3px 10px;align-items:center;white-space:nowrap}
.sgq-lm-meta-v1271 span{color:#637994;font-size:11px}
.sgq-lm-meta-v1271 strong{color:#1d4f91;font-size:12px;text-align:right}
.sgq-lm-filters-v1271{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.1fr auto;align-items:end;gap:10px;padding:14px 0 12px}
.sgq-lm-filters-v1271 .field{margin:0;min-width:0}
.sgq-lm-filters-v1271 .field label{font-size:11px}
.sgq-lm-filters-v1271 input,.sgq-lm-filters-v1271 select{height:36px;min-width:0;font-size:12px;padding:7px 9px}
.sgq-lm-filters-v1271 button{height:36px;white-space:nowrap}
.sgq-lm-ref-v1271{display:flex;align-items:center;gap:18px;flex-wrap:wrap;border-top:1px solid #253b56;border-bottom:1px solid #253b56;padding:7px 8px;margin-bottom:4px;background:#f8fafc}
.sgq-lm-ref-v1271>strong{font-size:12px;color:#1d4f91}
.sgq-lm-ref-v1271>span{color:#637994;font-size:11px}
.sgq-lm-ref-v1271>span:first-of-type{margin-left:auto}
.sgq-lm-ref-v1271 b{color:#263b56;font-weight:750}
.sgq-lm-table-wrap-v1271{width:100%;overflow-x:auto}
.sgq-lm-brand-v1271 img[data-mp-logo-tenant="1"]{width:auto;max-width:180px}
.sgq-lm-table-v1271{width:100%;min-width:0;border-collapse:collapse;table-layout:auto;font-size:11px}
.sgq-lm-table-v1271 td,.sgq-lm-table-v1271 th{overflow-wrap:break-word;word-break:normal;hyphens:manual}
.sgq-lm-table-v1271 th{font-size:9.5px;letter-spacing:0}
.sgq-lm-table-v1271 th{padding:8px 5px}
.sgq-lm-table-v1271 td{padding:7px 5px}
.sgq-lm-table-v1271 .mono{white-space:normal}
.sgq-lm-table-v1271 th{padding:8px 7px;background:#1d6eae;color:#fff;border:1px solid #145b95;text-align:left;font-size:10px;font-weight:800;line-height:1.25;white-space:normal}
.sgq-lm-table-v1271 td{padding:7px;border:1px solid #c8d4df;vertical-align:middle;line-height:1.35;background:#fff}
.sgq-lm-table-v1271 tbody tr:nth-child(odd):not(.sgq-lm-group-row-v1271) td{background:#fbfdff}
.sgq-lm-table-v1271 .mono{font-variant-numeric:tabular-nums;white-space:nowrap}
.sgq-lm-table-v1271 .center{text-align:center;white-space:nowrap}
.sgq-lm-table-v1271 td strong{display:block;font-weight:750}
.sgq-lm-table-v1271 td small{display:block;margin-top:2px;color:#637994;font-size:10px}
.sgq-lm-group-row-v1271 td{padding:6px 9px;background:#e8edf3!important;color:#263b56;font-size:11px;font-weight:600;border-top:2px solid #9ba8b6}
.sgq-lm-group-row-v1271 td strong{display:inline;color:#d83434;font-size:12px;font-weight:800}
.sgq-lm-status-v1271{display:inline-block;padding:4px 7px;border-radius:3px;text-align:center;white-space:nowrap;font-size:10px;font-weight:750}
.sgq-lm-status-v1271.is-calibrated,.sgq-lm-status-v1271.is-active{background:#dff5df;color:#1c6633}
.sgq-lm-status-v1271.is-uncalibrated,.sgq-lm-status-v1271.is-inactive{background:#fee2e2;color:#9b2222}
.sgq-lm-status-v1271.is-other{background:#fff2cf;color:#855a00}
.sgq-lm-status-v1271.is-overdue{background:#fee2e2;color:#a92525}
.sgq-lm-table-v1271 tr.is-overdue td{background:#fffafa}
.sgq-lm-table-v1271 td.is-date-overdue{color:#b42323;font-weight:800}
.sgq-lm-empty-v1271{text-align:center;padding:26px!important;color:#637994}
.sgq-lm-footer-v1271{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:2px solid #253b56;margin-top:0;padding:9px 8px;color:#263b56;font-size:11px}
.sgq-lm-footer-v1271 strong{font-weight:800}
.sgq-lm-footer-v1271 span{color:#637994}
@media(max-width:1100px){.sgq-lm-filters-v1271{grid-template-columns:repeat(2,minmax(0,1fr))}.sgq-lm-filters-v1271 button{width:100%}.sgq-lm-report-head-v1271{align-items:flex-start}.sgq-lm-brand-v1271 h1{font-size:16px}}
@media(max-width:700px){.sgq-lm-toolbar-v1271{align-items:flex-start;flex-direction:column}.sgq-lm-toolbar-actions-v1271{width:100%}.sgq-lm-report-v1271{padding:12px}.sgq-lm-report-head-v1271{flex-direction:column}.sgq-lm-brand-v1271{align-items:flex-start}.sgq-lm-brand-v1271 img{width:100px}.sgq-lm-meta-v1271{align-self:flex-end}}
@media print{
  body.sgq-lm-imprimindo *{visibility:hidden!important}
  body.sgq-lm-imprimindo .sgq-lm-report-v1271,body.sgq-lm-imprimindo .sgq-lm-report-v1271 *{visibility:visible!important}
  .sgq-lm-report-v1271{position:absolute!important;left:0!important;top:0!important;width:100%!important;max-width:none!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;font-size:8px!important;background:#fff!important}
  .sgq-lm-no-print-v1271{display:none!important}
  .sgq-lm-report-head-v1271{padding-bottom:5px!important;border-bottom:1px solid #111!important}
  .sgq-lm-brand-v1271 img{width:100px!important;max-height:42px!important}
  .sgq-lm-brand-v1271 em{font-size:10px!important}
  .sgq-lm-brand-v1271 h1{font-size:13px!important}
  .sgq-lm-brand-v1271 p{font-size:9px!important}
  .sgq-lm-meta-v1271 span,.sgq-lm-meta-v1271 strong{font-size:8px!important}
  .sgq-lm-filters-v1271{display:none!important}
  .sgq-lm-ref-v1271{padding:4px 5px!important;margin:3px 0!important;background:#eee!important;border-color:#111!important}
  .sgq-lm-table-v1271{min-width:0!important;width:100%!important;font-size:7px!important;table-layout:fixed!important}
  .sgq-lm-table-v1271 th{padding:4px 3px!important;font-size:7px!important;background:#176fae!important;color:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .sgq-lm-table-v1271 td{padding:3px!important;font-size:7px!important;line-height:1.12!important;overflow-wrap:anywhere!important;break-inside:avoid}
  .sgq-lm-status-v1271{padding:2px 3px!important;font-size:6.5px!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .sgq-lm-group-row-v1271 td{padding:3px 5px!important;background:#e8edf3!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .sgq-lm-footer-v1271{padding:4px 5px!important;font-size:8px!important}
  .sgq-lm-table-wrap-v1271{overflow:visible!important}
  .sgq-lm-table-v1271 tr{break-inside:avoid!important}
}


/* status de revisão */
.sgq-lm-status-v1271.is-vencida{background:#fee2e2;color:#a92525}
.sgq-lm-status-v1271.is-proxima{background:#fff2cf;color:#855a00}
.sgq-lm-status-v1271.is-emdia{background:#dff5df;color:#1c6633}
.sgq-lm-status-v1271.is-sem,.sgq-lm-status-v1271.is-obsoleto{background:#eef2f7;color:#56687e}
.sgq-lm-filters-v1271{grid-template-columns:1.4fr 1.2fr .9fr 1fr 1fr auto}
@media print{body.sgq-lm-imprimindo .sgq-lm-status-v1271.is-vencida,body.sgq-lm-imprimindo .sgq-lm-status-v1271.is-proxima,body.sgq-lm-imprimindo .sgq-lm-status-v1271.is-emdia{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* V1284 — sem barra de rolagem horizontal e sem seletor de colunas */
#main .sgq-lm-table-wrap-v1271{overflow-x:hidden!important;overflow-y:visible}
#main table.sgq-lm-table-v1271{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important}
#main table.sgq-lm-table-v1271 th,#main table.sgq-lm-table-v1271 td{white-space:normal!important;overflow-wrap:anywhere;word-break:normal;padding-left:6px;padding-right:6px}
#main table.sgq-lm-table-v1271 td.mono{white-space:nowrap!important;font-size:10.5px}
#main table.sgq-lm-table-v1271 .sgq-lm-status-v1271{white-space:normal;line-height:1.25;max-width:100%}
.sgq-lm-report-v1271 .mp-column-picker,.sgq-lm-report-v1271 [data-mp-column-picker],.sgq-lm-report-v1271 .mp-colunas-btn{display:none!important}
