/* AG V54 — legibilidade de textos secundários
   Foco: rótulos, metadados, textos auxiliares, navegação, tabelas e microcopy.
   Títulos principais e números de destaque permanecem com a hierarquia original. */
:root{
  --ag-secondary:13px;
  --ag-secondary-small:12px;
  --ag-control:14px;
}

body{font-size:14px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}

/* Navegação, busca e comandos */
.nav button,.nav a,.settings-parent-link,.ag-settings-link small{
  font-size:13px!important;line-height:1.35!important
}
.nav button .badge,.nav .badge{font-size:11px!important;min-width:20px;min-height:20px;display:inline-grid;place-items:center}
.search input,.v25-command-search input{font-size:14px!important}
.search-key,.v25-command-search kbd{font-size:11px!important}
.icon-btn,.btn{font-size:13px!important}
.btn.small,.journey-actions .btn,.pw-photo-actions .btn{font-size:12px!important}

/* Campos / labels */
.form-group label,.auto-config label,.pw-gallery-toolbar label,.site-form label,
.login-card label,.pw-media-toolbar label,.pw-tour-box label{
  font-size:12px!important;line-height:1.4!important;font-weight:700!important
}
.field,.select,.form-control,input,select,textarea{font-size:14px!important;line-height:1.45!important}

/* Rótulos curtos, chips, status e microcopy */
.eyebrow,.v5-kicker,.pulse-label,.kpi-label,.pw-kicker,.site-mini-kicker,
.property-tag,.property-status,.property-code,.status,.trend,.legend,.kan-count,.site-origin,
.cloud-pill,.cloud-help,.cloud-auth-note,.login-demo,.login-kicker,.login-error,.pw-cover-badge,
.pw-chip,.pw-photo-counter,.pw-photo-room,.pw-file,.pw-empty-gallery,.pw-edit-note,
.site-sync-note,.site-empty,.pw-media-note,.pw-media-empty,.journey-help,.journey-last,
.v25-command-group-label,.v25-command-footer,.v25-pulse-empty{
  font-size:12px!important;line-height:1.5!important
}

/* Textos secundários de cards, indicadores e listas */
.user-mini small,.activity-item p,.activity-item time,.mini-item small,.address,.specs,
.lead-card p,.money-card small,.bar-row,.v5-health-grid small,.v5-health-grid span,
.v5-alert p,.v5-pref span,.v5-match-copy>p,.v5-owner-top p,.v5-owner-properties,
.v5-doc-stat span,.v5-doc-stat small,.v5-commission-stat span,.v5-commission-stat small,
.v5-person-card p,.v5-time-item p,.v5-time-item time,.auto-kpi span,.auto-kpi small,
.auto-event-copy span,.auto-event-meta span,.auto-task p,.auto-switch-row span,.auto-broker-chip,
.auto-flow div,.v25-attention-card small,.v25-attention-card span,.v25-detail-row p,
.v25-detail-row aside span,.v25-match-person p,.v25-reasons span,.v25-command-copy span,
.pw-spec span,.pw-data span,.pw-owner small,.pw-photo-meta small,.pw-history-item time,
.pw-history-item p,.pw-section p,.site-publish-copy span,.site-status-strip small,
.site-preview-toolbar,.pw-video-meta small,.pulse-note,.page-head p,.report-card>p,
.spotlight-copy small,.spotlight-meta span,.lead-card p,.dow,.event-chip{
  font-size:12.5px!important;line-height:1.55!important
}

/* Subtítulos internos e valores de apoio */
.user-mini b,.mini-item b,.kan-title,.v5-time-item b,.auto-event-copy b,.auto-event-meta b,
.auto-task b,.auto-switch-row b,.pw-address,.pw-data b,.pw-owner b,.pw-photo-meta b,.pw-history-item b,
.site-publish-copy b,.pw-video-meta b,.v25-detail-row b,.v25-match-person b,.v25-command-copy b,
.v25-command-empty,.v25-match-score,.v25-pulse-stat b,.card-head h3,.card h3{
  font-size:13px!important;line-height:1.45!important
}

/* Tabelas */
.table th{font-size:12px!important;line-height:1.4!important}
.table td{font-size:13px!important;line-height:1.5!important}

/* Login / nuvem / prévia do site */
.login-stats span,.login-first,.cloud-metric span{font-size:12px!important}
.login-google,.cloud-metric b{font-size:13px!important}
.site-status-strip b,.site-status-strip span{font-size:12.5px!important;line-height:1.45!important}
.site-preview-toolbar b{font-size:12.5px!important}

/* Mantém textos principais sem alteração: h1/h2, grandes KPIs, preços e títulos de imóvel */

@media(max-width:780px){
  body{font-size:15px}
  input,select,textarea,.field,.select,.form-control,.search input{font-size:16px!important}
  .nav button{font-size:13px!important}
  .mobile-bottom button{font-size:12px!important}
}
