/* Keep partner fields readable instead of squeezing eleven columns. */
/* Aligned filter grid: date filters use the partner date. */
#main .partner-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:end;padding:20px}
#main .partner-filters>label{display:block;min-width:0;width:100%;font-size:13px}
#main .partner-filters input:not([type=checkbox]),#main .partner-filters select{display:block;width:100%;max-width:none;min-width:0;height:42px;margin-top:7px}
#main .partner-filters>button{height:42px;align-self:end}
#main .partner-filters input[type=checkbox]{width:auto;margin-right:7px}
@media(max-width:1000px){#main .partner-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){#main .partner-filters{grid-template-columns:1fr}}
#partner-results{min-width:0;max-width:100%}
#partner-results .table-wrap{overflow-x:auto;border:1px solid #d8e1ed;border-radius:12px;box-shadow:0 3px 0 #e4eaf2}
#partner-results table{table-layout:fixed;min-width:1200px;width:100%;font-size:12px}
#partner-results th,#partner-results td{padding:12px 8px;vertical-align:middle;text-align:left;line-height:1.55;word-break:normal;overflow-wrap:normal;max-width:none}
#partner-results th{background:#eef2f8;color:#536580;font-size:11px;font-weight:700;white-space:normal}
#partner-results tbody tr:nth-child(even){background:#f8fafd}
#partner-results tbody tr:hover{background:#f0f6ec}
#partner-results th:nth-child(1),#partner-results td:nth-child(1){width:14%;overflow-wrap:anywhere;font-weight:600}
#partner-results th:nth-child(2),#partner-results td:nth-child(2){width:10%}
#partner-results th:nth-child(3),#partner-results td:nth-child(3){width:8%;white-space:nowrap;font-variant-numeric:tabular-nums}
#partner-results th:nth-child(4),#partner-results td:nth-child(4){width:5%;white-space:nowrap}
#partner-results th:nth-child(5),#partner-results td:nth-child(5){width:10%;overflow-wrap:anywhere}
#partner-results th:nth-child(6),#partner-results td:nth-child(6){width:8%}
#partner-results th:nth-child(7),#partner-results td:nth-child(7){width:15%;overflow-wrap:anywhere}
#partner-results th:nth-child(8),#partner-results td:nth-child(8),#partner-results th:nth-child(9),#partner-results td:nth-child(9){width:8%;white-space:nowrap;font-variant-numeric:tabular-nums}
#partner-results th:nth-child(10),#partner-results td:nth-child(10){width:7%}
#partner-results th:nth-child(11),#partner-results td:nth-child(11){width:7%;white-space:normal}
#partner-results td button{margin:3px 5px 3px 0}
#partner-results td.empty{white-space:normal;font-weight:400}
.partner-table-hint{font-size:12px;color:#64748b;margin:0 0 10px}

.main:has(#partner-results){min-width:0}
#partner-results .table-wrap{max-width:100%;scrollbar-width:auto}
#partner-results td:nth-child(11),#partner-results th:nth-child(11){position:sticky;right:0;background:#f4f7fb;box-shadow:-2px 0 4px #24355212}
