/* A7 — Leggibilità sul campo. Valori minimi condivisi da tutte le Guide. */
body.guide-page {
  --guide-text: 16px;
  --guide-note: 14px;
  --guide-target: 44px;
}

body.guide-page :is(
  .guide-index-intro p,
  .guide-card p,
  .guide-card-link,
  .guide-library-heading > p,
  .technical-copy p,
  .technical-copy li,
  .article-callout strong,
  .article-callout p,
  .diagnostic-table td,
  .article-toc a,
  .article-safety p,
  .guide-worksheet p,
  .guide-worksheet li,
  .guide-technical-board > p,
  .guide-operation-step p,
  .guide-operation-step li,
  .step-copy > p,
  details > summary,
  details li,
  .installation-source-grid p,
  .installation-source-grid .button,
  .step-tools a,
  .spec-table,
  .notice p,
  .button,
  .disclosure,
  .feedback-content > p,
  .check-option,
  .guide-resource-link
) {
  font-size: var(--guide-text) !important;
  line-height: 1.6 !important;
}

body.guide-page :is(
  .guide-card-meta,
  .release-summary p,
  .release-summary li,
  .article-breadcrumb,
  .breadcrumbs,
  .article-byline,
  .article-facts span,
  .article-toc > span,
  .article-toc h2,
  .diagnostic-table th,
  .article-safety strong,
  figcaption,
  figcaption span,
  .guide-operation-step > span,
  .guide-worksheet span,
  aside small,
  .guide-board-node b,
  .analysis-label,
  .notice strong,
  .buy-box small,
  .guide-step::before,
  .feedback-content h2,
  .feedback-content h3,
  .field-label,
  .drive-legal-note strong,
  .blueprint-head,
  .blueprint-legend,
  .installation-promise-grid span,
  .step-rail,
  .step-code,
  .step-tools > span,
  .source-origin,
  .installation-source-grid dl,
  .installation-route span,
  .installation-next small,
  .gd-search small,
  .guide-resource-meta
) {
  font-size: var(--guide-note) !important;
  line-height: 1.5 !important;
}

body.guide-page :is(
  .guide-card-link,
  .article-toc a,
  .step-tools a,
  details > summary,
  .installation-source-grid .button,
  .button,
  .check-option,
  .guide-resource-link,
  button,
  input,
  select
) {
  min-height: var(--guide-target) !important;
}

body.guide-page :is(.guide-card-link, .article-toc a, .step-tools a, .guide-resource-link) {
  display: flex;
  align-items: center;
}

body.guide-page :is(input, select, textarea) {
  font-size: var(--guide-text) !important;
}

@media (max-width: 760px) {
  body.guide-page :is(.primary-nav a, .gallery-nav a, .site-locale-flags a) {
    min-height: var(--guide-target) !important;
  }
}
