/* Documentos, pedidos e participação usam os mesmos tokens do padrão mestre. */
:is(.sgq-page,.gj-orders,.proposal-register,#preparation-dialog,.sgq-document-dialog){color:var(--gj-ink,#193d32);font-family:var(--gj-font,system-ui,sans-serif)}
:is(.sgq-page,.gj-orders,.proposal-register,#preparation-dialog) :is(h2,h3){color:var(--gj-ink,#193d32)}
:is(.gj-order-table,.pr-ledger) th{background:var(--gj-green-soft,#e0f0e7);color:var(--gj-ink,#193d32);text-align:left}
:is(.gj-order-table,.pr-ledger) :is(th,td),.sgq-row.sgq-select-row{padding:var(--gj-cell-y,10px) var(--gj-cell-x,12px);border-bottom:1px solid var(--gj-line,#dce6e0)}
.sgq-list{gap:0}.sgq-row.sgq-select-row{border:0;border-bottom:1px solid var(--gj-line,#dce6e0);border-radius:0}.sgq-list{border:1px solid var(--gj-line,#dce6e0);border-radius:var(--gj-radius,12px);overflow:hidden}
.sgq-row.sgq-select-row:nth-child(even),.pr-ledger tbody tr:nth-child(even),.gj-order-table tbody tr:nth-child(even){background:var(--gj-page,#f3f7f4)}
.sgq-row.sgq-select-row .sgq-select input{width:20px;padding:0}
.sgq-badge.warning,#preparation-dialog .prep-badge.pending{background:var(--gj-orange-soft);color:var(--gj-orange)}
.sgq-badge.danger{background:var(--gj-red-soft);color:var(--gj-red)}
.sgq-badge,#preparation-dialog .prep-badge.ok{background:var(--gj-green-soft);color:var(--gj-green)}
:is(.sgq-page,.sgq-document-dialog,.gj-orders,#preparation-dialog) :is(.sgq-icon,.button,.icon-button,[data-back],[data-release],[data-packet]){border-radius:var(--gj-radius-control,10px);min-height:var(--gj-control,44px)}
.sgq-document-dialog .cv-head,#preparation-dialog .prep-header{position:sticky;top:0;z-index:2;background:white;border-bottom:1px solid var(--gj-line)}
.pr-ledger{width:100%;border-collapse:collapse}.pr-ledger td{overflow-wrap:anywhere}.pr-ledger .proposal-actions{flex-wrap:wrap}
@media(max-width:700px){.pr-ledger,.pr-ledger tbody,.pr-ledger tr,.pr-ledger td,.gj-order-table table,.gj-order-table tbody,.gj-order-table tr,.gj-order-table td{display:block}.pr-ledger thead,.gj-order-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.pr-ledger td,.gj-order-table td{border:0;padding:4px 10px}.pr-ledger tr,.gj-order-table tr{padding:9px 0;border-bottom:1px solid var(--gj-line)}}

.sgq-row-actions{display:flex;gap:4px}.sgq-select-row{grid-template-columns:32px minmax(0,1fr) minmax(130px,auto) auto}
@media(max-width:650px){.sgq-select-row .sgq-row-actions{grid-column:3;grid-row:1/3;flex-direction:column}.sgq-row.sgq-select-row{grid-template-columns:26px minmax(0,1fr) 44px}}

/* Gestão is the navigation shell: Licitações must look and behave like its peers. */
.gj-licitacoes-workspace{min-width:0;max-width:100%;display:grid;gap:8px}
.gj-licitacoes-frame{display:block;width:100%;height:calc(100dvh - 150px);min-height:240px;border:1px solid var(--gj-line,#dce7e1);border-radius:12px;background:#fff;box-sizing:border-box}

