@import url("/core/typography-policy-v1.css?v=1");
/* V221: approved V218 typography, offline font loading from existing V218 asset. */
@import url("/core/wariatric-layout-fit-v219.css?v=144221");

:root{
  --baria-font-family:var(--w-font-family);
  --baria-font-light:400;
  --baria-font-regular:400;
  --baria-font-medium:500;
  --baria-font-heading:700;
}

html,body{font-family:var(--w-font-family);font-weight:var(--baria-font-regular);}

/* Main readable text and all interactive controls */
body :where(p,li,td,th,dd,dt,blockquote,address,summary,details,a,button,input,select,textarea,option,label,legend,fieldset,table){
  font-family:var(--w-font-family);
}
body :where(input,select,textarea,option,button){font-weight:var(--baria-font-regular)!important;}

/* Typographic hierarchy */
body :where(h1,.page-title,.hero-title,.kb-topic-page h1){font-family:var(--w-font-family);font-weight:var(--baria-font-heading)!important;}
body :where(h2,.section-title,.card-title,.modal-title,.dialog-title){font-family:var(--w-font-family);font-weight:var(--baria-font-heading)!important;}
body :where(h3,h4,h5,h6,.subheading,.panel-title,.item-title,.kb-card-heading h2,.kb-card-heading h3){font-family:var(--w-font-family);font-weight:var(--w-weight-bold);}

/* Secondary / explanatory text uses Vazir Light */
body :where(small,.muted,.hint,.help-text,.helper-text,.description,.subtitle,.sub-title,.meta,.caption,.eyebrow,.section-summary,.field-help,.form-hint,.empty-note,.secondary-text){
  font-family:var(--w-font-family);
  font-weight:var(--baria-font-light)!important;
}

/* Labels are readable regular Vazir; strong/emphasis remains semantically stronger. */
body :where(label,.field-label,.form-label,.chip,.badge,.pill,.tab,.nav-link){font-weight:var(--baria-font-regular)!important;}
body :where(strong,b,.strong,.font-bold){font-family:var(--w-font-family);font-weight:var(--baria-font-heading)!important;}

/* Icon font families are intentionally owned by their respective libraries. */

/* Print/report typography */
@media print{html,body,button,input,select,textarea,table,th,td{font-family:var(--w-font-family);}}
