/* Escala de leitura inspirada em sistemas operacionais densos, sem perder a identidade BRUD. */
main .page-title p,main .section-head p,main .panel>p{font-size:14px;line-height:1.55}
main .eyebrow{font-size:11px;line-height:1.3;letter-spacing:.09em}
main small,main .field-note{font-size:12px;line-height:1.45}
main .badge{font-size:11px}
main label{font-size:12px}
main input,main select,main textarea{font-size:14px}
main .button,main button{font-size:12px;line-height:1.25}
main .button.small,main button.small{font-size:11px}
main table th{font-size:12px;line-height:1.3;letter-spacing:.055em}
main table td{font-size:13px;line-height:1.45}
main :is(.equipment-table td b,.lot-operation-main h3,.supplier-row b,.crate-card-main h3,.report-lot-grid h3,.operation-equipment-list b,.batch-list b){font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-weight:700;letter-spacing:.01em;line-height:1.4;text-rendering:optimizeLegibility}
.equipment-table td[data-label="Modelo"] b,.lot-operation-main h3{font-size:15px}

/* Listas operacionais compactas, com tamanho semelhante ao de tabelas administrativas. */
.lot-list-columns,.supplier-list-head{font-size:12px}
.lot-card-list .lot-operation-main .eyebrow,.lot-card-list .lot-operation-main>small{font-size:11px}
.lot-card-list .lot-operation-main p{font-size:13px}
.lot-card-list .lot-operation-metrics span{font-size:12px;line-height:1.35}
.lot-card-list .lot-operation-metrics b{font-size:17px}
.lot-card-list .lot-operation-metrics .market small,.lot-card-list .lot-operation-metrics .market em{font-size:12px}
.lot-card-list .lot-operation-metrics .market b{font-size:20px}
.lot-card-list .lot-card-actions .button,.lot-card-list .lot-card-actions button{font-size:12px}
.supplier-row b{font-size:13px}.supplier-row span,.supplier-row small{font-size:12px;line-height:1.4}
.supplier-actions .button,.supplier-actions button{font-size:12px}
.inventory-crates .crate-grid p{font-size:12px}.inventory-crates .crate-grid span,.inventory-crates .crate-grid small,.inventory-crates .crate-current-location{font-size:11px}
.inventory-crates .crate-actions .button,.report-lot-grid .button{font-size:12px}
.daily-report-grid small,.dashboard-stats a>small,.production-overview article span,.production-overview article small{font-size:11px}
.defect-plan-summary p,.defect-plan-summary dt,.lot-info-grid dt,.monitor-input-options legend,.monitor-input-options label{font-size:11px}
.users-table th,.token-admin-table th{font-size:12px}.users-table td,.token-admin-table td{font-size:13px}
.current-session,.users-table td>small,.token-admin-table td>small,.station-pairing-code small{font-size:11px!important}

html[data-theme=light] body main .page-title p,html[data-theme=light] body main .section-head p,html[data-theme=light] body main .field-note,html[data-theme=light] body main small{color:#596174}
html[data-theme=light] body main .green,html[data-theme=light] body main .green small{color:#087f62}
html[data-theme=light] body main .red,html[data-theme=light] body main .red small{color:#c5324d}

@media(min-width:1101px){
  .lot-list-columns{grid-template-columns:minmax(260px,1.45fr) repeat(3,minmax(80px,.2fr)) minmax(132px,.32fr) minmax(180px,.38fr) 220px;letter-spacing:.025em}
  .lot-card-list .lot-operation-card{grid-template-columns:minmax(0,1fr) 220px}
  .lot-card-list .lot-operation-metrics{grid-template-columns:repeat(3,minmax(80px,1fr)) minmax(132px,1.35fr) minmax(180px,1.55fr)}
  .lot-card-list .lot-card-actions{width:220px}
  .supplier-list-head,.supplier-row{grid-template-columns:minmax(210px,1.25fr) minmax(180px,1fr) 135px 140px 90px 310px}
  .inventory-crates .crate-actions{min-width:320px}
}
@media(min-width:1101px) and (max-width:1450px){
  .lot-list-columns{display:none}
  .lot-card-list .lot-operation-card{grid-template-columns:1fr}
  .lot-card-list .lot-card-actions{width:100%}
}
@media(max-width:720px){
  main .page-title p,main .section-head p,main .panel>p{font-size:13px}
  main small,main .field-note{font-size:11px}
  main .button,main button{font-size:12px}
  main table td{font-size:12px}
  .lot-card-list .lot-operation-metrics span{font-size:12px}
  .lot-card-list .lot-operation-metrics .market small,.lot-card-list .lot-operation-metrics .market em{font-size:11px}
  .lot-card-list .lot-operation-metrics .market b{font-size:22px}
  .lot-card-list .lot-card-actions .button,.lot-card-list .lot-card-actions button{font-size:12px}
  .mobile-app-nav-scroller a,.mobile-app-nav-scroller a span{font-size:9px}
}
