/* O comando digitado substitui os controles separados de prioridade. */
html body .pl-v40-priority-control,
html body #plImproveDetectedPriority,
html body .pl-improve-edit-priority,
html body .pl-task-edit-priority{display:none!important}
html body #plTaskEditAllocationField[hidden]{display:none!important}
html body #plTaskEditAllocationField select{min-height:44px;font-size:16px;max-width:100%}
html body #plTaskEditAllocationField{margin-top:-5px}

html body .pl-v40-token{background:color-mix(in srgb,var(--token-color) 22%,transparent);color:var(--token-color);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--token-color) 65%,transparent)}
.pl-v40-token[data-priority="1"]{--token-color:#ff7979}
.pl-v40-token[data-priority="2"]{--token-color:#f3ce65}
.pl-v40-token[data-priority="3"]{--token-color:#82baff}
.pl-v40-token[data-priority="4"]{--token-color:#c4c8ce}
/* Mantém texto, cursor e destaque alinhados no campo multilinha. */
html body #plOverlay .pl-v40-priority-field>#plImproveNewText{color:transparent!important;-webkit-text-fill-color:transparent!important}
html body .pl-v40-priority-field.is-textarea .pl-v40-priority-mirror{overflow-wrap:break-word;white-space:pre-wrap}
@media(max-width:900px),(pointer:coarse){
 html body .pl-v40-priority-mirror{font-size:16px!important}
}

html body .pl-priority-dot.p2{--prio:#f3ce65}
html body :is(.td-check,.pc-group-dot).p2{border-color:#f3ce65!important}
