/* Frontend typography contract. Keep sizes role-based; share across both themes. */
:root {
 --app-page-title-size: var(--portal-type-page);
 --app-page-subtitle-size: var(--portal-type-body);
 --portal-font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
 --portal-type-caption: .75rem;
 --portal-type-body: .875rem;
 --portal-type-control-mobile: 1rem;
 --portal-type-subheading: 1rem;
 --portal-type-section: 1.25rem;
 --portal-type-page: 2rem;
 --portal-type-metric: 2rem;
 --portal-type-hero: 2.5rem;
}
html { font-size: 100%; }
body { font-family: var(--portal-font); font-size: var(--portal-type-body); font-weight: 400; line-height: 1.5; }
button, input, select, textarea { font-family: var(--portal-font); }
h1,h2,h3,h4,h5,h6 { font-family: var(--portal-font); font-weight: 600; line-height: 1.25; }
h1 {font-size:var(--portal-type-page)}
h2 {font-size:var(--portal-type-section)}
h3,h4,h5,h6 {font-size:var(--portal-type-subheading)}
/* Native controls and shared actions must not fall back to browser typography. */
button,input,select,textarea,.button,.frontend-select__trigger { font-size:var(--portal-type-body); }
input::placeholder,textarea::placeholder {font-family:inherit;font-size:inherit;font-weight:400}
/* Auxiliary page titles and legal captions share the same roles. */
.link-unavailable h2,#quotation-drawer-title {font-size:var(--portal-type-page);line-height:1.25;}
.brand-footer,.page-footer,.submit-note {font-size:var(--portal-type-caption);line-height:1.5;}
/* Stable label line boxes even when validation changes their weight. */
.password-label-line {line-height:1.5;min-height:21px;align-items:baseline;}
@media(max-width:680px) {
 :root {--portal-type-page:1.75rem;--portal-type-hero:2rem;}
 input:not([type=checkbox]):not([type=radio]),select,textarea {font-size:var(--portal-type-control-mobile) !important;}
}
