/* AUDIN — TCU | CGU — painel responsivo, sem comprimir os 14 campos do cadastro. */
body.tcu-cgu-page main{max-width:1250px;padding-top:19px;padding-bottom:48px}
body.tcu-cgu-page .heading{
  align-items:center;gap:18px;margin:0 0 17px;
}
body.tcu-cgu-page .heading h1{font-size:clamp(1.55rem,2.5vw,2rem);margin:2px 0}
body.tcu-cgu-page .heading p:not(.eyebrow){font-size:.88rem;line-height:1.4}
body.tcu-cgu-page #add{flex:0 0 auto;padding:10px 14px;border-radius:9px}
body.tcu-cgu-page .tabs{
 display:flex;gap:7px;flex-wrap:wrap;
 border-bottom:1px solid #dce5f1;margin-bottom:14px
}
body.tcu-cgu-page .tabs button{
 border:1px solid transparent;border-bottom:3px solid transparent;
 padding:10px 14px;background:transparent;color:#60708a;
 border-radius:9px 9px 0 0;font-weight:700;
}
body.tcu-cgu-page .tabs button[aria-selected="true"]{
 color:#17366b;border-color:#d5e1f4;border-bottom-color:#365fad;background:#eaf0fd;
}
body.tcu-cgu-page .tabs span{font-size:.76rem;margin-left:5px}
body.tcu-cgu-page #recordsPanel{min-width:0}
body.tcu-cgu-page .filters{
 display:grid;grid-template-columns:minmax(240px,1fr) minmax(145px,190px) minmax(145px,190px);
 gap:12px;align-items:end;margin-bottom:12px;
}
body.tcu-cgu-page .filters label{display:grid;gap:5px;min-width:0;font-size:.79rem;font-weight:650;color:#425578}
body.tcu-cgu-page .filters .search{min-width:0;flex:none}
body.tcu-cgu-page .filters input,body.tcu-cgu-page .filters select{
 width:100%;max-width:none;min-height:38px;padding:8px 11px;
 border:1px solid #b9cce6;border-radius:9px;background:#fff;color:#172e58;
}
body.tcu-cgu-page .toolbar{
 display:flex;gap:8px;align-items:center;flex-wrap:wrap;
 margin:0 0 10px;
}
body.tcu-cgu-page .toolbar p{flex:1 1 195px;margin:0;color:#5f728f;font-size:.80rem}
body.tcu-cgu-page .toolbar button{
 border:1px solid #bbcae1;border-radius:8px;
 padding:8px 11px;min-height:35px;background:#fff;color:#21406f;
}
body.tcu-cgu-page .toolbar button:hover{background:#edf3fe}
body.tcu-cgu-page #notice{margin:7px 0;font-size:.84rem}
body.tcu-cgu-page #notice:empty{display:none}
body.tcu-cgu-page .empty{
 background:#fff;border:1px dashed #cad8ea;border-radius:12px;
 padding:24px;text-align:center;color:#5a6e8c;
}
/* Tabela desktop: poucos campos essenciais. Demais informações ficam em Detalhes. */
body.tcu-cgu-page .control-table{
 width:100%;min-width:0;overflow:visible;
 border:1px solid #d6e1f0;border-radius:13px;background:#fff;
 box-shadow:0 6px 24px rgba(15,36,73,.045);
}
body.tcu-cgu-page .control-table .oversight-table{
 width:100%;max-width:100%;min-width:0!important;
 table-layout:fixed;border-collapse:separate;border-spacing:0;
 text-align:left;
}
body.tcu-cgu-page .oversight-table th,
body.tcu-cgu-page .oversight-table td{
 padding:12px 9px;min-width:0;max-width:none;
 vertical-align:middle;
 font-size:calc(.80rem * var(--audin-font-factor,1))!important;
 line-height:1.42;
 border-top:0;border-bottom:1px solid #e2eaf4;
 overflow-wrap:break-word;word-break:normal;
}
body.tcu-cgu-page .oversight-table thead th{
 position:sticky;top:var(--audin-sticky-top,116px);z-index:3;
 background:#edf3fb;color:#26436f;
 padding:11px 9px;font-weight:750;text-align:center;
 line-height:1.25;border-bottom:1px solid #d6e1f0;
}
body.tcu-cgu-page .oversight-table thead th:first-child{border-top-left-radius:12px}
body.tcu-cgu-page .oversight-table thead th:last-child{border-top-right-radius:12px}
body.tcu-cgu-page .oversight-table .oversight-row:last-child td{border-bottom:0}
body.tcu-cgu-page .oversight-table .oversight-row:hover td{background:#f7faff}
body.tcu-cgu-page .oversight-table .col-request_text{width:26%;text-align:left}
body.tcu-cgu-page .oversight-table.is-tcu .col-tcu_process{width:9%}
body.tcu-cgu-page .oversight-table.is-tcu .col-document_number{width:9%}
body.tcu-cgu-page .oversight-table.is-tcu .col-sei_process{width:12%}
body.tcu-cgu-page .oversight-table.is-tcu .col-status{width:14%}
body.tcu-cgu-page .oversight-table.is-tcu .col-responsible{width:10%}
body.tcu-cgu-page .oversight-table.is-tcu .col-deadline{width:9%}
body.tcu-cgu-page .oversight-table.is-tcu .col-actions{width:11%}
body.tcu-cgu-page .oversight-table.is-cgu .col-document_number{width:12%}
body.tcu-cgu-page .oversight-table.is-cgu .col-request_text{width:29%}
body.tcu-cgu-page .oversight-table.is-cgu .col-sei_process{width:14%}
body.tcu-cgu-page .oversight-table.is-cgu .col-status{width:14%}
body.tcu-cgu-page .oversight-table.is-cgu .col-responsible{width:11%}
body.tcu-cgu-page .oversight-table.is-cgu .col-deadline{width:9%}
body.tcu-cgu-page .oversight-table.is-cgu .col-actions{width:11%}
body.tcu-cgu-page .oversight-table :is(.col-tcu_process,.col-document_number,.col-sei_process,.col-responsible){
 overflow-wrap:anywhere;
}
body.tcu-cgu-page .oversight-table .col-actions{text-align:center}
body.tcu-cgu-page .subject-preview{
 display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;
 -webkit-box-orient:vertical;overflow:hidden;line-height:1.42;
 overflow-wrap:break-word;
}
body.tcu-cgu-page .record-status{
 display:inline-block;max-width:100%;white-space:normal;
 border-radius:8px;padding:5px 8px;line-height:1.3;
 overflow-wrap:break-word;word-break:normal;
 font-size:calc(.73rem * var(--audin-font-factor,1))!important;
 background:#e8f0fc;color:#294777;
}
body.tcu-cgu-page .record-status.done{background:#dff5e9;color:#17603a}
body.tcu-cgu-page .record-status.partial{background:#fff1cc;color:#75530a}
body.tcu-cgu-page .record-status.risk{background:#f1eafa;color:#61407b}
body.tcu-cgu-page .deadline-late{color:#af2b25;font-weight:750}
body.tcu-cgu-page .deadline-note{
 display:block;margin-top:3px;font-size:.70rem;color:#b63727;
}
body.tcu-cgu-page .record-actions{
 display:flex;justify-content:center;align-items:center;
 gap:5px;flex-wrap:nowrap;
}
body.tcu-cgu-page .record-actions .action-btn{
 display:inline-grid;place-items:center;flex:0 0 31px;
 width:31px;min-width:31px;height:33px;
 padding:0;border:1px solid #bdcee7;border-radius:8px;
 background:#f8fbff;color:#284e87;cursor:pointer;
}
body.tcu-cgu-page .record-actions .action-btn:hover{background:#e9f2ff;border-color:#8db0df}
body.tcu-cgu-page .record-actions .action-btn.danger{color:#b1252a;border-color:#ebc9d0}
body.tcu-cgu-page .record-actions .action-btn.danger:hover{background:#fff0f1}
body.tcu-cgu-page .action-icon,body.tcu-cgu-page .action-icon svg{
 display:block;width:17px;height:17px
}
body.tcu-cgu-page .record-actions button:focus-visible{outline:2px solid #4e86d7;outline-offset:2px}
body.tcu-cgu-page .oversight-table tr[hidden]{display:none!important}
/* Painel expandido: todos os 14 campos originais continuam acessíveis. */
body.tcu-cgu-page .oversight-table .record-details td{
 padding:15px!important;background:#f7faff!important;vertical-align:top;
}
body.tcu-cgu-page .record-details dl{
 margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 gap:13px 18px;
}
body.tcu-cgu-page .record-details dl>div{min-width:0}
body.tcu-cgu-page .record-details .wide{grid-column:1/-1}
body.tcu-cgu-page .record-details dt{
 color:#596d8b;font-size:.72rem!important;font-weight:750;
}
body.tcu-cgu-page .record-details dd{
 margin:4px 0 0;font-size:.83rem;line-height:1.5;
 white-space:pre-wrap;overflow-wrap:anywhere;
}
body.tcu-cgu-page .record-details a{color:#254b87;text-decoration:underline}
/* Cadastro e edição permanecem completos e responsivos. */
body.tcu-cgu-page #editor{width:min(850px,calc(100% - 22px))}
body.tcu-cgu-page #recordForm{padding:20px 22px}
body.tcu-cgu-page #fields{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;
}
body.tcu-cgu-page #fields label{display:grid;gap:6px;min-width:0;font-size:.81rem}
body.tcu-cgu-page #fields label.wide{grid-column:1/-1}
body.tcu-cgu-page #fields input,
body.tcu-cgu-page #fields select,
body.tcu-cgu-page #fields textarea{width:100%;min-width:0}
body.tcu-cgu-page #fields textarea{resize:vertical;min-height:90px}
body.tcu-cgu-page #saveNotice{color:#b22b28}
body.tcu-cgu-page #printArea{display:none}
body.tcu-cgu-page button:focus-visible,body.tcu-cgu-page a:focus-visible{
 outline:2px solid #477dce;outline-offset:2px;
}
/* Tema escuro: cabeçalhos, texto, datas e badges contrastantes. */
html[data-theme="dark"] body.tcu-cgu-page .tabs{border-color:#405675}
html[data-theme="dark"] body.tcu-cgu-page .tabs button{color:#c1d3ed}
html[data-theme="dark"] body.tcu-cgu-page .tabs button[aria-selected="true"]{
 color:#f3f8ff;background:#304663;border-color:#536a8c;border-bottom-color:#93bffe;
}
html[data-theme="dark"] body.tcu-cgu-page .filters label,
html[data-theme="dark"] body.tcu-cgu-page .toolbar p{color:#c4d5eb}
html[data-theme="dark"] body.tcu-cgu-page .filters input,
html[data-theme="dark"] body.tcu-cgu-page .filters select{
 background:#1d2d43!important;color:#f1f7ff!important;border-color:#556d90!important;
}
html[data-theme="dark"] body.tcu-cgu-page .toolbar button{
 background:#2b4260!important;color:#eef6ff!important;border-color:#536f94!important;
}
html[data-theme="dark"] body.tcu-cgu-page .control-table{
 background:#1f2d42!important;border-color:#4a6284!important;box-shadow:none;
}
html[data-theme="dark"] body.tcu-cgu-page .oversight-table thead th{
 color:#f5f8ff!important;background:#2e4666!important;border-color:#4b6383!important;
}
html[data-theme="dark"] body.tcu-cgu-page .oversight-table .oversight-row td{
 color:#eaf2fd!important;background:#1f2d42!important;border-color:#3f5572!important;
}
html[data-theme="dark"] body.tcu-cgu-page .oversight-table .oversight-row:hover td{
 background:#293e5b!important;
}
html[data-theme="dark"] body.tcu-cgu-page .oversight-table a{color:#b9ddff!important}
html[data-theme="dark"] body.tcu-cgu-page .record-status{color:#e9f3ff!important;background:#365174}
html[data-theme="dark"] body.tcu-cgu-page .record-status.done{background:#285e50;color:#e1fff1!important}
html[data-theme="dark"] body.tcu-cgu-page .record-status.partial{background:#725b32;color:#fff0c6!important}
html[data-theme="dark"] body.tcu-cgu-page .record-status.risk{background:#644772;color:#f9e7ff!important}
html[data-theme="dark"] body.tcu-cgu-page .deadline-late,
html[data-theme="dark"] body.tcu-cgu-page .deadline-note{color:#ffb4ad!important}
html[data-theme="dark"] body.tcu-cgu-page .record-actions .action-btn{
 background:#304969!important;border-color:#6988ac!important;color:#f0f7ff!important;
}
html[data-theme="dark"] body.tcu-cgu-page .record-actions .action-btn:hover{background:#3b5679!important}
html[data-theme="dark"] body.tcu-cgu-page .record-actions .action-btn.danger{color:#ffd0d0!important;border-color:#986773!important}
html[data-theme="dark"] body.tcu-cgu-page .oversight-table .record-details td{
 background:#253a56!important;border-color:#4a6284!important;color:#eff7ff!important;
}
html[data-theme="dark"] body.tcu-cgu-page .record-details dt{color:#bcd1e9}
html[data-theme="dark"] body.tcu-cgu-page .record-details dd{color:#f0f6ff}
html[data-theme="dark"] body.tcu-cgu-page .record-details a{color:#b9ddff!important}
@media(max-width:960px){
 body.tcu-cgu-page main{padding:16px 14px 45px}
 body.tcu-cgu-page .filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 body.tcu-cgu-page .filters .search{grid-column:1/-1}
 body.tcu-cgu-page .control-table{background:transparent;border:0;box-shadow:none}
 body.tcu-cgu-page .oversight-table,body.tcu-cgu-page .oversight-table tbody{
  display:block;width:100%;min-width:0!important;
 }
 body.tcu-cgu-page .oversight-table thead{display:none}
 body.tcu-cgu-page .oversight-table .oversight-row{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px 16px;margin:0 0 10px;padding:13px;
  border:1px solid #d6e1ef;border-radius:13px;background:#fff;
 }
 body.tcu-cgu-page .oversight-table .oversight-row td{
  display:flex;flex-direction:column;min-width:0;max-width:none;width:auto!important;
  border:0!important;padding:0!important;background:transparent!important;
  align-items:flex-start;text-align:left;
 }
 body.tcu-cgu-page .oversight-table .oversight-row td::before{
  content:attr(data-label);display:block;margin-bottom:3px;font-weight:750;
  font-size:.70rem;color:#607595;
 }
 body.tcu-cgu-page .oversight-table .oversight-row td.col-request_text{grid-column:1/-1}
 body.tcu-cgu-page .oversight-table .oversight-row td.col-actions{
  grid-column:1/-1;align-items:flex-end;padding-top:9px!important;
  border-top:1px solid #e1e8f2!important;
 }
 body.tcu-cgu-page .oversight-table .oversight-row td.col-actions::before{display:none}
 body.tcu-cgu-page .record-actions .action-btn{
  min-width:39px;width:39px;flex-basis:39px;height:39px;
 }
 body.tcu-cgu-page .record-details{
  display:block;background:transparent;padding:0;margin:-3px 0 10px;
 }
 body.tcu-cgu-page .record-details[hidden]{display:none!important}
 body.tcu-cgu-page .record-details td{display:block;border:1px solid #d7e2f0;border-radius:12px}
 body.tcu-cgu-page .record-details dl{grid-template-columns:repeat(2,minmax(0,1fr))}
 html[data-theme="dark"] body.tcu-cgu-page .oversight-table .oversight-row{
  background:#1f2d42;border-color:#4b6485;
 }
 html[data-theme="dark"] body.tcu-cgu-page .oversight-table .oversight-row td{
  background:transparent!important;
 }
 html[data-theme="dark"] body.tcu-cgu-page .oversight-table .oversight-row td::before{color:#c0d4ef}
 html[data-theme="dark"] body.tcu-cgu-page .oversight-table .oversight-row td.col-actions{
  border-color:#4b6380!important;
 }
}
@media(max-width:650px){
 body.tcu-cgu-page main{padding:12px 11px 32px}
 body.tcu-cgu-page .heading{align-items:stretch;margin-bottom:12px}
 body.tcu-cgu-page .heading h1{font-size:1.55rem}
 body.tcu-cgu-page #add{width:100%;min-height:42px}
 body.tcu-cgu-page .tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
 body.tcu-cgu-page .tabs button{min-width:0;padding:10px 6px;font-size:.83rem}
 body.tcu-cgu-page .toolbar button{flex:1 1 auto}
 body.tcu-cgu-page .filters{gap:8px}
 body.tcu-cgu-page .filters :is(input,select){font-size:16px}
 body.tcu-cgu-page .oversight-table .oversight-row{padding:12px;gap:10px 12px}
 body.tcu-cgu-page .record-details dl{grid-template-columns:1fr}
 body.tcu-cgu-page #recordForm{padding:15px}
 body.tcu-cgu-page #fields{grid-template-columns:1fr}
 body.tcu-cgu-page #fields label.wide{grid-column:auto}
}
@media print{
 @page{size:A4;margin:14mm}
 body{background:white;color:black}
 body>header,body>main,dialog{display:none!important}
 body.tcu-cgu-page #printArea{display:block!important}
 #printArea h1{font-size:18pt}
 #printArea article{border-bottom:1px solid #999;padding-bottom:12px;margin-bottom:18px}
 #printArea h2{font-size:12pt;break-after:avoid}
 #printArea dl{font-size:10pt}
 #printArea dt{font-weight:bold;break-after:avoid;margin-top:8px}
 #printArea dd{margin:3px 0;white-space:pre-wrap;overflow-wrap:anywhere}
 #printArea a{color:black;text-decoration:none}
}


/* 13/10/2026 — SEI legível, alinhamentos consistentes e anexos protegidos */
body.tcu-cgu-page .oversight-table thead th{
 text-align:center!important;vertical-align:middle!important;
}
body.tcu-cgu-page .oversight-table .oversight-row>td{
 text-align:center!important;vertical-align:middle!important;
}
body.tcu-cgu-page .oversight-table .oversight-row>td.col-request_text{
 text-align:justify!important;text-align-last:left!important;
 hyphens:auto;
}
body.tcu-cgu-page .oversight-table .col-sei_process,
body.tcu-cgu-page .oversight-table .col-sei_process a{
 min-width:0;max-width:100%;
 white-space:normal!important;overflow:visible!important;
 overflow-wrap:anywhere!important;word-break:normal!important;
 text-overflow:clip!important;text-align:center!important;
 line-height:1.45;
}
body.tcu-cgu-page .oversight-table .col-sei_process a{
 display:inline;max-width:100%;
}
body.tcu-cgu-page .subject-preview{
 text-align:justify!important;text-align-last:left!important;
 hyphens:auto;
}
body.tcu-cgu-page .oversight-table .record-status{text-align:center!important}
body.tcu-cgu-page .oversight-table.is-tcu .col-tcu_process{width:8%!important}
body.tcu-cgu-page .oversight-table.is-tcu .col-document_number{width:9%!important}
body.tcu-cgu-page .oversight-table.is-tcu .col-request_text{width:24%!important}
body.tcu-cgu-page .oversight-table.is-tcu .col-sei_process{width:19%!important}
body.tcu-cgu-page .oversight-table.is-tcu .col-status{width:12%!important}
body.tcu-cgu-page .oversight-table.is-tcu .col-responsible{width:9%!important}
body.tcu-cgu-page .oversight-table.is-tcu .col-deadline{width:9%!important}
body.tcu-cgu-page .oversight-table.is-tcu .col-actions{width:10%!important}
body.tcu-cgu-page .oversight-table.is-cgu .col-document_number{width:11%!important}
body.tcu-cgu-page .oversight-table.is-cgu .col-request_text{width:26%!important}
body.tcu-cgu-page .oversight-table.is-cgu .col-sei_process{width:21%!important}
body.tcu-cgu-page .oversight-table.is-cgu .col-status{width:13%!important}
body.tcu-cgu-page .oversight-table.is-cgu .col-responsible{width:11%!important}
body.tcu-cgu-page .oversight-table.is-cgu .col-deadline{width:8%!important}
body.tcu-cgu-page .oversight-table.is-cgu .col-actions{width:10%!important}
body.tcu-cgu-page .record-details td,
body.tcu-cgu-page .record-details dl{text-align:left!important}
body.tcu-cgu-page .record-details dt,body.tcu-cgu-page .record-details dd{text-align:left!important}
body.tcu-cgu-page .file-field{
 display:grid;gap:7px;min-width:0;
 border:1px solid #d8e4f2;background:#f8fbff;
 padding:13px 15px;border-radius:12px;
}
body.tcu-cgu-page .file-field label{
 display:block!important;font-size:.85rem!important;
 color:#233e6b;font-weight:750;
}
body.tcu-cgu-page .file-field input[type=file]{
 width:100%;max-width:100%;min-width:0;cursor:pointer;
 border:1px dashed #b2c8e7;border-radius:8px;
 padding:10px;background:#fff;color:#263f68;
}
body.tcu-cgu-page .file-field small{
 color:#596f8e;font-size:.76rem!important;
 line-height:1.4;
}
body.tcu-cgu-page .attachment-existing{
 display:flex;align-items:center;gap:12px;flex-wrap:wrap;
 font-size:.79rem;color:#34577f;overflow-wrap:anywhere;
}
body.tcu-cgu-page .attachment-existing>span:first-child{
 flex:1;min-width:135px;
}
body.tcu-cgu-page .attachment-actions{
 display:inline-flex;flex-wrap:wrap;align-items:center;
 gap:7px;margin-left:9px;
}
body.tcu-cgu-page .attachment-actions button{
 border:1px solid #b8cbe7;border-radius:8px;
 padding:8px 12px;background:#edf4ff;
 color:#244978;font-size:.78rem!important;
 min-height:36px;cursor:pointer;white-space:nowrap;
}
body.tcu-cgu-page .attachment-actions button:hover{background:#dceaff}
body.tcu-cgu-page .attachment-actions button:disabled{opacity:.5;cursor:wait}
body.tcu-cgu-page .attachment-viewer{
 width:min(1050px,calc(100vw - 28px));
 height:min(92dvh,980px);max-height:92dvh;
 max-width:none;padding:15px;border-radius:15px;
 border:1px solid #c6d5e9;background:#fff;color:#1a3154;
}
body.tcu-cgu-page .attachment-viewer[open]{
 display:flex;flex-direction:column;gap:10px;
}
body.tcu-cgu-page .attachment-viewer-head{
 display:flex;align-items:center;justify-content:space-between;gap:10px;
 min-width:0;
}
body.tcu-cgu-page .attachment-viewer-head h2{
 font-size:1rem!important;min-width:0;margin:0;
 overflow-wrap:anywhere;
}
body.tcu-cgu-page .attachment-viewer-actions{
 display:flex;flex-wrap:wrap;gap:8px;
}
body.tcu-cgu-page .attachment-viewer-actions button{
 border-radius:8px;border:1px solid #c1d0e6;
 padding:9px 12px;background:#f0f5ff;
 color:#1c4176;cursor:pointer;
}
body.tcu-cgu-page #attachmentNotice{
 margin:0;color:#526888;font-size:.83rem;
}
body.tcu-cgu-page #attachmentNotice:empty{display:none}
body.tcu-cgu-page #attachmentFrame{
 display:block;flex:1;min-height:0;width:100%;
 border:1px solid #dce5f2;border-radius:9px;background:white;
}
html[data-theme="dark"] body.tcu-cgu-page .file-field{
 background:#253a55;border-color:#526b8c;
}
html[data-theme="dark"] body.tcu-cgu-page .file-field label,
html[data-theme="dark"] body.tcu-cgu-page .attachment-existing{color:#eef6ff}
html[data-theme="dark"] body.tcu-cgu-page .file-field small{color:#c2d4ed}
html[data-theme="dark"] body.tcu-cgu-page .file-field input[type=file]{
 background:#182c44;color:#eaf4ff;border-color:#6482a8;
}
html[data-theme="dark"] body.tcu-cgu-page .attachment-actions button,
html[data-theme="dark"] body.tcu-cgu-page .attachment-viewer-actions button{
 background:#304a6b;color:#f3f8ff;border-color:#6885aa;
}
html[data-theme="dark"] body.tcu-cgu-page .attachment-viewer{
 background:#192b43;color:#f1f6ff;border-color:#577296;
}
html[data-theme="dark"] body.tcu-cgu-page #attachmentNotice{color:#c5daf1}
@media(max-width:960px){
 body.tcu-cgu-page .oversight-table .oversight-row>td{
  text-align:center!important;align-items:center!important;
 }
 body.tcu-cgu-page .oversight-table .oversight-row>td::before{text-align:center!important}
 body.tcu-cgu-page .oversight-table .oversight-row>td.col-request_text{
  text-align:justify!important;align-items:stretch!important;
 }
 body.tcu-cgu-page .oversight-table .oversight-row>td.col-request_text::before{
  text-align:center!important;
 }
 body.tcu-cgu-page .oversight-table .oversight-row>td.col-actions{align-items:center!important}
 body.tcu-cgu-page .oversight-table .oversight-row>td.col-sei_process a{
  max-width:100%!important;overflow-wrap:anywhere!important;
 }
 body.tcu-cgu-page .oversight-table .oversight-row>td{width:auto!important}
}
@media(max-width:650px){
 body.tcu-cgu-page .attachment-viewer{
  width:calc(100vw - 14px);height:95dvh;max-height:95dvh;padding:10px;
 }
 body.tcu-cgu-page .attachment-viewer-head{align-items:flex-start;flex-wrap:wrap}
 body.tcu-cgu-page .attachment-viewer-head h2{width:100%}
 body.tcu-cgu-page .attachment-viewer-actions{width:100%}
 body.tcu-cgu-page .attachment-viewer-actions button{flex:1}
 body.tcu-cgu-page .attachment-actions{margin:8px 0 0;width:100%}
 body.tcu-cgu-page .attachment-actions button{flex:1}
 body.tcu-cgu-page .file-field{padding:10px}
}
@media print{
 body.tcu-cgu-page .attachment-actions,
 body.tcu-cgu-page .attachment-viewer{display:none!important}
}


/* Processo TCU: preservar número inteiro na mesma linha (desktop). */
@media(min-width:961px){
 body.tcu-cgu-page .oversight-table.is-tcu .col-tcu_process{
  width:11%!important;
  white-space:nowrap!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  font-variant-numeric:tabular-nums;
  letter-spacing:-.012em;
 }
 body.tcu-cgu-page .oversight-table.is-tcu .col-request_text{
  width:21%!important;
 }
}
/* Mobile continua com o campo completo nos cards, sem sobreposição. */
@media(max-width:960px){
 body.tcu-cgu-page .oversight-table.is-tcu .col-tcu_process{
  white-space:normal!important;
  overflow-wrap:anywhere!important;
 }
}

/* AUDIN mobile cards — 13/10/2026
   Larguras da tabela desktop (8%, 19% etc.) nunca devem comprimir as
   células transformadas em cards. Manter a tabela intacta no computador. */
@media screen and (max-width:960px){
 body.tcu-cgu-page #records{min-width:0;width:100%}
 body.tcu-cgu-page #records .control-table{
  width:100%;max-width:100%;overflow:visible;
  border:0;background:transparent;box-shadow:none;
 }
 body.tcu-cgu-page #records .oversight-table,
 body.tcu-cgu-page #records .oversight-table tbody{
  display:block!important;width:100%!important;max-width:100%!important;
  min-width:0!important;table-layout:auto!important;
 }
 body.tcu-cgu-page #records .oversight-table thead{display:none!important}
 body.tcu-cgu-page #records .oversight-table .oversight-row{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px 12px;width:100%!important;min-width:0;
  margin:0 0 12px;padding:13px;
  border:1px solid #d6e1ef;border-radius:13px;
 }
 /* Maior especificidade que as regras de largura percentuais !important. */
 body.tcu-cgu-page #records .oversight-table.is-tcu .oversight-row>td,
 body.tcu-cgu-page #records .oversight-table.is-cgu .oversight-row>td{
  box-sizing:border-box;display:flex!important;flex-direction:column;
  align-items:center!important;justify-content:center;
  min-width:0!important;width:100%!important;max-width:100%!important;
  padding:0!important;margin:0!important;
  border:0!important;text-align:center!important;
  white-space:normal!important;word-break:normal!important;
  overflow-wrap:break-word!important;
 }
 body.tcu-cgu-page #records .oversight-table .oversight-row>td::before{
  display:block;max-width:100%;margin-bottom:4px;
  text-align:center!important;overflow-wrap:break-word;
 }
 body.tcu-cgu-page #records .oversight-table .oversight-row>td.col-tcu_process,
 body.tcu-cgu-page #records .oversight-table .oversight-row>td.col-sei_process,
 body.tcu-cgu-page #records .oversight-table .oversight-row>td.col-request_text,
 body.tcu-cgu-page #records .oversight-table .oversight-row>td.col-status{
  grid-column:1/-1!important;
 }
 body.tcu-cgu-page #records .oversight-table .oversight-row>td.col-tcu_process,
 body.tcu-cgu-page #records .oversight-table .oversight-row>td.col-sei_process{
  font-variant-numeric:tabular-nums;
  overflow-wrap:anywhere!important;
 }
 body.tcu-cgu-page #records .oversight-table .oversight-row>td.col-sei_process a{
  display:inline-block;max-width:100%!important;white-space:normal!important;
  text-align:center!important;overflow-wrap:anywhere!important;
  word-break:normal!important;
 }
 body.tcu-cgu-page #records .oversight-table .oversight-row>td.col-request_text,
 body.tcu-cgu-page #records .oversight-table .oversight-row>td.col-request_text .subject-preview{
  text-align:justify!important;text-align-last:left!important;
  align-items:stretch!important;
 }
 body.tcu-cgu-page #records .oversight-table .oversight-row>td.col-actions{
  grid-column:1/-1!important;align-items:center!important;
  padding-top:9px!important;border-top:1px solid #e1e8f2!important;
 }
 body.tcu-cgu-page #records .oversight-table .record-details{
  display:block!important;width:100%;min-width:0;
 }
 body.tcu-cgu-page #records .oversight-table .record-details[hidden]{
  display:none!important;
 }
 body.tcu-cgu-page #records .oversight-table .record-details>td{
  display:block!important;width:100%!important;
  box-sizing:border-box;min-width:0;
 }
 html[data-theme="dark"] body.tcu-cgu-page #records .oversight-table .oversight-row>td.col-actions{
  border-top-color:#4b6380!important;
 }
}
@media screen and (max-width:650px){
 body.tcu-cgu-page .heading{gap:10px;margin-bottom:13px}
 body.tcu-cgu-page .heading p:not(.eyebrow){line-height:1.35}
 body.tcu-cgu-page .tabs button{
  display:flex;align-items:center;justify-content:center;flex-wrap:wrap;
  gap:3px 5px;padding:9px 5px;line-height:1.3;text-align:center;
 }
 body.tcu-cgu-page .tabs button span{margin-left:0}
 body.tcu-cgu-page .toolbar{gap:7px}
 body.tcu-cgu-page .toolbar p{flex:1 1 auto}
 body.tcu-cgu-page .toolbar button{min-height:40px}
 body.tcu-cgu-page #records .oversight-table .oversight-row{
  gap:9px 12px;padding:12px;
 }
 body.tcu-cgu-page #records .oversight-table .oversight-row>td.col-document_number{
  grid-column:1/-1!important;
 }
 body.tcu-cgu-page #records .oversight-table .oversight-row>td.col-responsible,
 body.tcu-cgu-page #records .oversight-table .oversight-row>td.col-deadline{
  min-width:0!important;overflow-wrap:anywhere!important;
 }
}


/* Outros órgãos: sete campos essenciais na tabela, os dez no cadastro/detalhes/CSV. */
body.tcu-cgu-page .oversight-table.is-others .col-other_agency{width:15%}
body.tcu-cgu-page .oversight-table.is-others .col-document_number{width:12%}
body.tcu-cgu-page .oversight-table.is-others .col-type{width:10%}
body.tcu-cgu-page .oversight-table.is-others .col-request_text{width:25%;text-align:justify!important}
body.tcu-cgu-page .oversight-table.is-others .col-sei_process{width:14%}
body.tcu-cgu-page .oversight-table.is-others .col-status{width:10%}
body.tcu-cgu-page .oversight-table.is-others .col-internal_deadline{width:7%;font-variant-numeric:tabular-nums}
body.tcu-cgu-page .oversight-table.is-others .col-actions{width:7%}
body.tcu-cgu-page .oversight-table.is-others .col-other_agency,
body.tcu-cgu-page .oversight-table.is-others .col-document_number,
body.tcu-cgu-page .oversight-table.is-others .col-type{
 overflow-wrap:break-word;word-break:normal;
}
body.tcu-cgu-page .oversight-table.is-others th{text-align:center}
body.tcu-cgu-page .oversight-table.is-others .record-actions{gap:3px}
body.tcu-cgu-page .oversight-table.is-others .record-actions .action-btn{
 width:29px!important;min-width:29px!important;flex-basis:29px!important;
}
body.tcu-cgu-page .tabs[role=tablist]{
 display:flex;flex-wrap:wrap;gap:8px;align-items:center;
 border-bottom:1px solid #cbd9eb;
}
body.tcu-cgu-page .tabs[role=tablist]>button{border-radius:9px 9px 0 0;min-height:42px}
@media(max-width:960px){
 body.tcu-cgu-page .oversight-table.is-others .oversight-row td{width:auto!important}
 body.tcu-cgu-page .oversight-table.is-others .col-request_text{text-align:justify!important}
 body.tcu-cgu-page .oversight-table.is-others .record-actions .action-btn{
  width:39px!important;min-width:39px!important;flex-basis:39px!important;
 }
}
@media(max-width:650px){
 body.tcu-cgu-page .tabs[role=tablist]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
 body.tcu-cgu-page .tabs[role=tablist]>button{min-width:0;padding:9px 5px;font-size:.75rem}
 body.tcu-cgu-page .tabs[role=tablist]>button span{margin:0}
}
