/* Piso tipográfico dos campos móveis. Só altera a fonte do controle;
 * rótulos, botões, tabelas e gráficos mantêm sua tipografia.
 * !important cobre estilos inline legados e regras mais específicas do
 * editor. Componentes com fonte maior declaram seu tamanho no token local.
 */
/* Native date/time content must yield to its grid track on Safari as well. */
input:is([type="date"], [type="time"], [type="datetime-local"], [type="month"], [type="week"]) {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-inline-size: 0;
  max-inline-size: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
input::-webkit-date-and-time-value { min-width: 0; text-align: left; }
input::-webkit-datetime-edit { min-width: 0; max-width: 100%; padding: 0; }
input::-webkit-datetime-edit-fields-wrapper { min-width: 0; padding: 0; }
@media (max-width: 820px), (max-width: 1024px) and (max-height: 500px) and (pointer: coarse) {
  :root :is(
    input:not([type="hidden" i], [type="checkbox" i], [type="radio" i],
      [type="range" i], [type="color" i], [type="file" i],
      [type="button" i], [type="submit" i], [type="reset" i], [type="image" i]),
    select,
    textarea,
    [contenteditable=""],
    [contenteditable="true" i],
    [contenteditable="plaintext-only" i]
  ) {
    font-size: max(16px, var(--mobile-control-font-size, 16px)) !important;
  }

  /* Tamanhos maiores já presentes no Portal do Aluno e na configuração Master. */
  input.load-input { --mobile-control-font-size: 18px; }
  .master-currency-input input { --mobile-control-font-size: 28px; }
}
