.content:has(> #imprese.active){width:100%;max-width:none;min-width:0;margin:0;padding-inline:16px}
#imprese .page-head{gap:16px;flex-wrap:wrap}
#companiesGrid{width:100%;max-width:100%;overflow:visible}
#companiesGrid .companies-table{width:100%;min-width:0;table-layout:fixed}
#companiesGrid .companies-table th,#companiesGrid .companies-table td{min-width:0;padding:10px 7px;vertical-align:top;overflow-wrap:anywhere;line-height:1.5}
#companiesGrid .companies-table th{font-size:11px;letter-spacing:0}
#companiesGrid .companies-table td{font-size:12px}
#companiesGrid .companies-table th:nth-child(1){width:17%}
#companiesGrid .companies-table th:nth-child(2){width:10%}
#companiesGrid .companies-table th:nth-child(3){width:14%}
#companiesGrid .companies-table th:nth-child(4){width:6%}
#companiesGrid .companies-table th:nth-child(5){width:9%}
#companiesGrid .companies-table th:nth-child(6){width:6%}
#companiesGrid .companies-table th:nth-child(7){width:9%}
#companiesGrid .companies-table th:nth-child(8){width:12%}
#companiesGrid .companies-table th:nth-child(9){width:11%}
#companiesGrid .companies-table th:nth-child(10){width:6%}
#companiesGrid .company-open{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:left}
#companiesGrid td small{display:block;margin-top:4px}
#companiesGrid .expiry,#companiesGrid .doc-check{white-space:normal}
#companiesGrid .doc-check{padding:4px 5px;line-height:1.35}
#companiesGrid td:last-child .edit{padding:5px;white-space:normal;max-width:100%}
#companiesGrid .company-awarded-contracts,#companiesGrid .company-notes,.company-assignments p{white-space:pre-line}
#recordDialog textarea{font:inherit;border:1px solid var(--line);border-radius:9px;padding:11px;width:100%;resize:vertical;min-height:90px}
@media(max-width:760px){.content:has(> #imprese.active){padding-inline:12px}#companiesGrid .companies-table th,#companiesGrid .companies-table td{padding:8px 3px;font-size:11px}}
