/* Green Procurement typography standard
   Load this file after site.css so it becomes the single typography authority. */

:root {
    --font-body: 15px;
    --font-control: 15px;
    --font-label: 14px;
    --font-table-heading: 13px;
    --font-supporting: 13px;
    --font-small: 12px;
    --font-section-heading: 18px;
    --font-page-heading: 28px;
}

html { font-size: 16px; }
body { font-size: var(--font-body); line-height: 1.45; }

.brand strong, .sidebar nav a, .top, .user strong { font-size: var(--font-body); }
.brand small, .user small, .top em, .sidebar nav p { font-size: var(--font-small); }
.sidebar nav p, .top em { letter-spacing: .08em; }

.page-head h1 { font-size: var(--font-page-heading); line-height: 1.2; }
.panel-head h2, .edit-form h2, .upload-card h2 { font-size: var(--font-section-heading); line-height: 1.3; }
.match-source h3 { font-size: 16px; }

.page-head p, .panel-head p, .rows small, .timeline span, .timeline small,
.report-total span, td small, .candidate span, .candidate small, .match-source span {
    font-size: var(--font-supporting);
}
.eyebrow, .metrics small, .report-total small, .saving > small { font-size: var(--font-small); }

label, .form-grid label { font-size: var(--font-label); line-height: 1.35; }
input, select, textarea, button, .button, .secondary, .filters button, .filters > a, .tabs a {
    font-size: var(--font-control);
    line-height: 1.35;
}
input::placeholder, textarea::placeholder { font-size: inherit; }
.form-grid span, .validation, .field-validation-error, .validation-summary-errors {
    font-size: var(--font-supporting);
}

th { font-size: var(--font-table-heading); line-height: 1.35; }
td, .rows b, .actions a { font-size: var(--font-body); }
.badge, .tag { font-size: var(--font-small); }
.button.small, .candidate button { font-size: var(--font-label); }

.metrics b { font-size: 26px; }
.saving > b, .report-total b { font-size: 32px; }
.metrics a { font-size: var(--font-supporting); }
