/* v647: mostra contrato atual em coluna própria apenas no pátio 1017. */
@media(min-width:761px){
 body #content .yard-main table:has(.pc647-contract-value){width:100%!important;table-layout:fixed!important}
 body #content .yard-main table:has(.pc647-contract-value) th:nth-child(1),
 body #content .yard-main table:has(.pc647-contract-value) td:nth-child(1){width:11%!important}
 body #content .yard-main table:has(.pc647-contract-value) th:nth-child(2),
 body #content .yard-main table:has(.pc647-contract-value) td:nth-child(2){width:20%!important}
 body #content .yard-main table:has(.pc647-contract-value) th:nth-child(3),
 body #content .yard-main table:has(.pc647-contract-value) td:nth-child(3){width:27%!important}
 body #content .yard-main table:has(.pc647-contract-value) th:nth-child(4),
 body #content .yard-main table:has(.pc647-contract-value) td:nth-child(4){width:19%!important}
 body #content .yard-main table:has(.pc647-contract-value) th:nth-child(5),
 body #content .yard-main table:has(.pc647-contract-value) td:nth-child(5){width:23%!important}
}
/* A coluna Selecionar é inserida depois, em pátios com seleção em massa. */
@media(min-width:761px){
 body #content .yard-main table:has(.pc647-contract-value):has(.pc-yard-row-select) th:nth-child(1),
 body #content .yard-main table:has(.pc647-contract-value):has(.pc-yard-row-select) td:nth-child(1){width:4%!important}
 body #content .yard-main table:has(.pc647-contract-value):has(.pc-yard-row-select) th:nth-child(2),
 body #content .yard-main table:has(.pc647-contract-value):has(.pc-yard-row-select) td:nth-child(2){width:11%!important}
 body #content .yard-main table:has(.pc647-contract-value):has(.pc-yard-row-select) th:nth-child(3),
 body #content .yard-main table:has(.pc647-contract-value):has(.pc-yard-row-select) td:nth-child(3){width:20%!important}
 body #content .yard-main table:has(.pc647-contract-value):has(.pc-yard-row-select) th:nth-child(4),
 body #content .yard-main table:has(.pc647-contract-value):has(.pc-yard-row-select) td:nth-child(4){width:26%!important}
 body #content .yard-main table:has(.pc647-contract-value):has(.pc-yard-row-select) th:nth-child(5),
 body #content .yard-main table:has(.pc647-contract-value):has(.pc-yard-row-select) td:nth-child(5){width:18%!important}
 body #content .yard-main table:has(.pc647-contract-value):has(.pc-yard-row-select) th:nth-child(6),
 body #content .yard-main table:has(.pc647-contract-value):has(.pc-yard-row-select) td:nth-child(6){width:21%!important}
}
/* Cartões mobile agrupam campos na mesma célula, então rotulamos o contrato. */
@media(max-width:760px){
 body #content .yard-main .pc-v314-vehicle-field[data-original-label="Contrato"]::before{
  content:"Contrato";display:block;font-size:11px;font-weight:700;
  color:#62768c;margin-bottom:3px
 }
}
body #content .yard-main .pc647-contract-value{
 display:inline-block;font-size:12px;line-height:1.3;font-weight:750;
 color:#17538d;background:#eef5ff;border:1px solid #d9e6fa;
 padding:5px 9px;border-radius:7px;overflow-wrap:anywhere;max-width:100%
}
@media(max-width:760px){
 body #content .yard-main table:has(.pc647-contract-value) .pc647-contract-value{
  font-size:13px;padding:5px 8px
 }
}
