/* Wariatric global type system: Vazirmatn, with a bundled offline fallback. */
@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;700;800&display=swap");
@font-face{font-family:"Vazirmatn Local";src:url("/assets/patient131/vazirmatn.woff2") format("woff2");font-style:normal;font-weight:400 800;font-display:swap}
:root{--w-font-family:'Vazirmatn','Vazirmatn Local',sans-serif;--w-weight-regular:400;--w-weight-medium:500;--w-weight-bold:700;--w-text-h1:1.875rem;--w-text-h2:1.5rem;--w-text-h3:1.25rem;--w-text-h4:1.125rem;--w-text-body:1rem;--w-text-control:1rem;--w-text-small:.875rem;--w-text-caption:.8125rem;--w-leading-body:1.8;--w-leading-heading:1.5;--w-space-1:.25rem;--w-space-2:.5rem;--w-space-3:.75rem;--w-space-4:1rem;--w-space-6:1.5rem;--w-space-8:2rem}
html{font-size:100%;font-synthesis:none}
body{font-family:var(--w-font-family);font-size:var(--w-text-body);line-height:var(--w-leading-body)}
button,input,select,textarea,option{font-family:var(--w-font-family);font-size:var(--w-text-control)}
h1{font-size:var(--w-text-h1)}h2{font-size:var(--w-text-h2)}h3{font-size:var(--w-text-h3)}h4,h5,h6{font-size:var(--w-text-h4)}
h1,h2,h3,h4,h5,h6{font-weight:var(--w-weight-bold);line-height:var(--w-leading-heading);overflow-wrap:break-word}
p{line-height:var(--w-leading-body)}
small,table{font-size:var(--w-text-small)}
[dir=ltr],bdi{unicode-bidi:isolate}
.w-font-error{position:fixed;bottom:0;inset-inline:0;z-index:2147483647;background:#fff4eb;color:#652d12;padding:var(--w-space-3);border:2px solid #a44818}
@media(max-width:600px){:root{--w-text-h1:1.5rem;--w-text-h2:1.375rem}input,textarea,select{font-size:var(--w-text-control)}}
@media print{body{font-family:var(--w-font-family)}p,h1,h2,h3,h4{orphans:3;widows:3}h1,h2,h3,h4{break-after:avoid}a{overflow-wrap:anywhere}}

/* A4 canvas report scale: 1240 x 1754 px; independent of screen display boxes. */
:root{--w-report-20:20px;--w-report-22:22px;--w-report-23:23px;--w-report-24:24px;--w-report-25:25px;--w-report-26:26px;--w-report-27:27px;--w-report-28:28px;--w-report-30:30px;--w-report-34:34px;--w-report-50:50px;}

/* Owner-requested home heading scale, V273. Other pages retain their approved scale. */
body.wariatric-public-home{
  --w-text-home-hero:2.75rem;
  --w-text-home-section:1.75rem;
  --w-text-home-card:1.5rem;
}
@media(max-width:980px){body.wariatric-public-home{--w-text-home-hero:2.25rem}}
@media(max-width:600px){body.wariatric-public-home{--w-text-home-hero:1.875rem;--w-text-home-section:1.625rem;--w-text-home-card:1.375rem}}

/* Global readability without overriding icon fonts or authored page layouts. */
*,*::before,*::after{box-sizing:border-box}
html:lang(fa){direction:rtl;text-align:start}
body :where(h1,h2,h3,h4,h5,h6){font-family:var(--w-font-family);font-weight:700;line-height:var(--w-leading-heading)}
body :where(p,li,dt,dd,td,th,summary,details,label,legend,button,input,textarea,select,option){font-family:var(--w-font-family)}
body :where(p,li,dt,dd){overflow-wrap:break-word}
body :where(button,input,textarea,select){min-width:0}
/* Dedicated icon glyphs retain their own font-family declarations. */
