/* One palette/scale, taken from the approved Persian home, for public interiors. */
html[lang=fa] body[data-home-system][data-university-emblems]{
 --ds-brand:var(--uni-ink);--ds-text:var(--uni-ink);--ds-muted:var(--uni-muted);--ds-accent:var(--uni-accent);
 --ds-border:var(--uni-line);--ds-surface:var(--uni-wash);--ds-paper:var(--uni-paper);--ds-font:FutureVazirmatn,Tahoma,sans-serif;
 --ds-radius:4px;--ds-radius-small:3px;--ds-width:1360px;--ds-reading:72ch;
 --ds-title:clamp(2rem,3.2vw,2.8rem);--ds-section:clamp(1.5rem,2.2vw,2rem);
 --ds-focus:var(--uni-accent);--ds-focus-inverse:#9fe0d0;--ds-shadow:none;
 background:var(--uni-paper);color:var(--uni-ink);font-family:var(--ds-font);font-size:16px;line-height:1.9;
}
html[lang=fa][data-theme=dark] body[data-home-system][data-university-emblems]{
 --ds-brand-hover:#fff;--ds-accent-soft:#173a37;--ds-control:#8099ad;--ds-border-hover:#9fe0d0;
}
html[lang=fa] body[data-home-system][data-university-emblems] :is(button,input,select,textarea){font-family:var(--ds-font)}
html[lang=fa] body[data-home-system][data-university-emblems] :is(.shell,.header-inner,.fe-shell,.ap-shell,.ve-shell,.staff-shell){width:min(1360px,calc(100% - 96px));max-width:1360px}
html[lang=fa] body[data-home-system][data-university-emblems] main[data-ds-content]{
 --ap-ink:var(--ds-brand);--ap-text:var(--ds-text);--ap-muted:var(--ds-muted);--ap-green:var(--ds-accent);--ap-border:var(--ds-border);--ap-soft:var(--ds-surface);
 --sg-ink:var(--ds-text);--sg-muted:var(--ds-muted);--sg-green:var(--ds-accent);--sg-border:var(--ds-border);--sg-soft:var(--ds-surface);
 --sc-ink:var(--ds-text);--sc-muted:var(--ds-muted);--sc-green:var(--ds-accent);--sc-line:var(--ds-border);--sc-panel:var(--ds-surface);
 --ve-ink:var(--ds-text);--ve-muted:var(--ds-muted);--ve-green:var(--ds-accent);--ve-navy:var(--ds-brand);--ve-border:var(--ds-border);--ve-soft:var(--ds-surface);
 --ax-ink:var(--ds-text);--ax-muted:var(--ds-muted);--ax-green:var(--ds-accent);--ax-line:var(--ds-border);--ax-wash:var(--ds-surface);--ax-panel:var(--ds-paper);--ax-panel-border:var(--ds-border);--ax-divider:var(--ds-border);
 --fe-ink:var(--ds-text);--fe-muted:var(--ds-muted);--fe-navy:var(--ds-brand);--fe-green:var(--ds-accent);--fe-border:var(--ds-border);--fe-soft:var(--ds-surface);
 --pt-ink:var(--ds-text);--pt-muted:var(--ds-muted);--pt-accent:var(--ds-accent);--pt-line:var(--ds-border);--pt-soft:var(--ds-surface);
 color:var(--ds-text);min-width:0;
}
html[lang=fa] body[data-home-system][data-university-emblems] main:is(.ds-main,.ax-main,.pe-main,.pt-main,.academic-main,.org-page,.programme-modern,.cf-shell){width:min(1360px,calc(100% - 96px));max-width:1360px;margin-inline:auto}
html[lang=fa] body[data-home-system][data-university-emblems] main :is(h1,h2,h3,h4){color:var(--uni-ink);letter-spacing:0;text-wrap:pretty}
html[lang=fa] body[data-home-system][data-university-emblems] main h1{font-size:var(--ds-title);line-height:1.55;font-weight:800;text-wrap:balance}
html[lang=fa] body[data-home-system][data-university-emblems] main h2{font-size:var(--ds-section);line-height:1.65;font-weight:750}
html[lang=fa] body[data-home-system][data-university-emblems] main h3{line-height:1.85}
html[lang=fa] body[data-home-system][data-university-emblems] main :is(.ds-page-header,.ds-page-heading,.fe-intro,.dp-hero,.pe-hero,.pt-hero,.ap-intro,.ve-intro,.sc-intro,.ax-hero,.news-archive-hero,.news-list-hero,.engineering-intro,.systems-intro,.staff-intro,.refinement-page-intro,.reg-intro,.ch-hero,.r-hero,.r-heading,.rs-intro,.nd-hero,.sg-intro,.fe-directory-hero,.location-intro,.ap-hero,.native-detail-intro,.dh-heading,.hub-heading,.og-heading,.cf-page-heading){background:transparent;color:var(--uni-ink);border:0;border-bottom:1px solid var(--uni-line);border-radius:0;box-shadow:none;padding:28px 0 32px;margin-block-end:28px}
html[lang=fa] body[data-home-system][data-university-emblems] main :is(.eyebrow,.ds-eyebrow,.pt-eyebrow,.fe-eyebrow){color:var(--uni-accent);font-size:.8125rem;line-height:1.9;font-weight:650}
html[lang=fa] body[data-home-system][data-university-emblems] main :is(.intro,.ax-lead,.pt-intro,.ap-lead,.section-intro,.ds-card-intro,.muted){color:var(--uni-muted);line-height:2}
html[lang=fa] body[data-home-system][data-university-emblems] main :is(.ds-panel,.ds-card,.ar-card,.ax-card,.pe-card,.pe-profile,.hub-card,.vice-card,.service-card,.ve-service,.sc-file,.event-detail-card,.fe-card,.fe-program,.pt-member,.pt-contact,.pt-source,.ap-option,.r-story,.r-person,.rs-service-card,.reg-list-card,.ch-card,.ch-action,.system-card,.staff-contact-card,.faculty-group-card,.hub-staff-card,.ve-unit-card){border-color:var(--uni-line);border-radius:4px;box-shadow:none;background:var(--uni-paper);color:var(--uni-ink)}
html[lang=fa] body[data-home-system][data-university-emblems] main :is(.ds-panel,.ds-card,.ar-card,.ax-card,.pe-card,.hub-card,.vice-card,.service-card,.ve-service):hover{box-shadow:none;border-color:var(--ds-border-hover)}
html[lang=fa] body[data-home-system][data-university-emblems] main :is(.ds-panel,.ds-card,.pe-card,.ar-card) h3>a{color:var(--uni-ink);text-decoration:none}
html[lang=fa] body[data-home-system][data-university-emblems] main :is(.ds-section-nav,.pt-section-nav,.academic-section-nav,.fe-toc,.ve-section-nav,.sc-section-nav,.hub-nav){border-color:var(--uni-line);gap:8px 24px;box-shadow:none;border-radius:0}
html[lang=fa] body[data-home-system][data-university-emblems] main :is(.ds-section-nav,.pt-section-nav,.academic-section-nav,.fe-toc,.ve-section-nav,.sc-section-nav,.hub-nav)>a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none;color:var(--uni-ink);font-size:.875rem}
html[lang=fa] body[data-home-system][data-university-emblems] main :is(.ds-filter,.ds-filter-surface,.hub-filter-bar,.news-filters,.news-archive-controls,.pe-filters,.sc-search,.r-search,.dh-search,.ch-search,.og-search,.systems-filter,.cf-search,.reg-archive-filter){background:var(--uni-wash);border-color:var(--uni-line);border-radius:4px;box-shadow:none;gap:16px}
html[lang=fa] body[data-home-system][data-university-emblems] main :is(.ds-control,input:not([type=hidden]):not([type=radio]):not([type=checkbox]),select,textarea){background:var(--uni-paper);color:var(--uni-ink);border-color:var(--ds-control);border-radius:3px;min-height:48px;font-size:1rem;line-height:1.7}
html[lang=fa] body[data-home-system][data-university-emblems] main :is(.ds-button,.button-primary,.pt-button,.ax-primary,.fe-primary,.ap-button-primary){background:var(--uni-ink);color:var(--uni-paper);border-color:var(--uni-ink);border-radius:3px;min-height:48px;line-height:1.7;text-decoration:none}
html[lang=fa] body[data-home-system][data-university-emblems] main :is(.ds-button-outline,.pt-button-outline,.button-outline){background:transparent;color:var(--uni-ink);border-color:var(--ds-control)}
html[lang=fa] body[data-home-system][data-university-emblems] main :is(.ds-button,.button-primary,.pt-button,.ax-primary,.fe-primary,.ap-button-primary):hover{background:var(--uni-accent);color:var(--uni-paper);border-color:var(--uni-accent)}
html[lang=fa] body[data-home-system][data-university-emblems] :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--uni-accent);outline-offset:4px}
html[lang=fa] body[data-home-system][data-university-emblems] :is(.site-footer,.utility-bar) :focus-visible{outline-color:var(--uni-mint)}
html[lang=fa] body[data-home-system][data-university-emblems] main :is(.ds-table-scroll,.ax-table-scroll,.pe-course-scroll,.table-scroll){border-color:var(--uni-line);border-radius:3px;scrollbar-gutter:stable}
html[lang=fa] body[data-home-system][data-university-emblems] main :is(.ds-table,.ax-table) :is(th,td){border-color:var(--uni-line)}
html[lang=fa] body[data-home-system][data-university-emblems] main :is(.ds-table,.ax-table) thead th{background:var(--uni-wash);color:var(--uni-ink)}
html[lang=fa] body[data-home-system][data-university-emblems] main :is(.source-note,.ds-note,.verification,.event-disclaimer,.ar-source,.pt-note){color:var(--uni-muted);font-size:.875rem;line-height:1.95}
html[lang=fa] body[data-home-system][data-university-emblems] main :is(.ds-richtext,.rich-text,.news-rich-body,.news-article-body){line-height:2;max-width:72ch}
html[lang=fa] body[data-home-system][data-university-emblems] main figcaption{font-size:.8125rem;line-height:1.9;color:var(--uni-muted)}
html[lang=fa] body[data-home-system][data-university-emblems] :is(.site-footer,.utility-bar){background:var(--uni-brand-navy);color:var(--uni-inverse-ink)}
html[lang=fa] body[data-home-system][data-university-emblems] .site-footer :is(p,a,address,h2){color:var(--uni-inverse-ink)}
html[lang=fa] body[data-home-system][data-university-emblems] .site-header{box-shadow:none;border-bottom:1px solid var(--uni-line)}
@media(max-width:1100px){
 html[lang=fa] body[data-home-system][data-university-emblems] :is(.shell,.header-inner,.fe-shell,.ap-shell,.ve-shell,.staff-shell){width:calc(100% - 64px)}
 html[lang=fa] body[data-home-system][data-university-emblems] main:is(.ds-main,.ax-main,.pe-main,.pt-main,.academic-main,.org-page,.programme-modern,.cf-shell){width:calc(100% - 64px)}
}
@media(max-width:800px){
 html[lang=fa] body[data-home-system][data-university-emblems] :is(.shell,.header-inner,.fe-shell,.ap-shell,.ve-shell,.staff-shell){width:calc(100% - 40px)}
 html[lang=fa] body[data-home-system][data-university-emblems] main:is(.ds-main,.ax-main,.pe-main,.pt-main,.academic-main,.org-page,.programme-modern,.cf-shell){width:calc(100% - 40px)}
 html[lang=fa] body[data-home-system][data-university-emblems] main :is(.ds-page-header,.ds-page-heading,.fe-intro,.dp-hero,.pe-hero,.pt-hero,.ap-intro,.ve-intro,.sc-intro,.ax-hero,.news-archive-hero,.news-list-hero,.engineering-intro,.systems-intro,.staff-intro,.refinement-page-intro,.reg-intro,.ch-hero,.r-hero,.r-heading,.rs-intro,.nd-hero,.sg-intro,.fe-directory-hero,.location-intro,.ap-hero,.native-detail-intro,.dh-heading,.hub-heading,.og-heading,.cf-page-heading){padding-block:20px 24px;margin-block-end:24px}
 html[lang=fa] body[data-home-system][data-university-emblems] main h1{font-size:clamp(1.875rem,7vw,2.25rem)}
 html[lang=fa] body[data-home-system][data-university-emblems] main h2{font-size:1.5rem}
}
@media(prefers-reduced-motion:reduce){html[lang=fa] body[data-home-system][data-university-emblems] *{scroll-behavior:auto!important;transition:none!important}}
@media(forced-colors:active){
 html[lang=fa] body[data-home-system][data-university-emblems]{--uni-ink:CanvasText;--uni-muted:CanvasText;--uni-accent:LinkText;--uni-line:CanvasText;--uni-wash:Canvas;--uni-paper:Canvas}
 html[lang=fa] body[data-home-system][data-university-emblems] :focus-visible{outline-color:Highlight!important}
}
@media print{html[lang=fa] body[data-home-system][data-university-emblems]{--uni-ink:#102f46;--uni-muted:#4c6170;--uni-accent:#126e63;--uni-line:#bdcbd0;--uni-wash:#f4f3ee;--uni-paper:#fff}}

/* Outer full-width containers keep one inner shell, avoiding doubled margins. */
html[lang=fa] body[data-home-system][data-university-emblems] main.research{padding-inline:0}
html[lang=fa] body[data-home-system][data-university-emblems] main.shell>.shell{width:100%;max-width:none}
html[lang=fa] body[data-home-system][data-university-emblems] main :is(.r-nav,.hub-nav,.hub-local-nav,.ch-navigation,.og-tabs,.cf-section-nav){border-color:var(--uni-line);border-radius:0;box-shadow:none}
html[lang=fa] body[data-home-system][data-university-emblems] main :is(.r-nav,.hub-nav,.hub-local-nav,.ch-navigation,.og-tabs,.cf-section-nav)>a{border-radius:3px;text-decoration:none!important}
html[lang=fa] body[data-home-system][data-university-emblems] main :is(.r-button,.ch-button,.hub-button,.cf-action){border-radius:3px;min-height:44px}
html[lang=fa] body[data-home-system][data-university-emblems] main :is(.r-note,.ch-note,.ch-pending,.dh-help,.dh-evidence-content,.hub-note){border-radius:4px;border-color:var(--uni-line)}

/* The remaining native card families follow the same quiet frame. */
html[lang=fa] body[data-home-system][data-university-emblems] main :is(.sg-quick-card,.contact-card,.refinement-card,.cl-card,.fe-faculty-card,.sc-contact-card,.staff-contact-card,.ch-card,.r-person){border-radius:4px;box-shadow:none;border-color:var(--uni-line);background:var(--uni-paper);color:var(--uni-ink)}
html[lang=fa] body[data-home-system][data-university-emblems] :is(.brand,.footer-brand) img[data-graphic-logo]{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important;object-fit:contain}
@media(max-width:600px){html[lang=fa] body[data-home-system][data-university-emblems] .academic-calendar-table tbody tr{border-radius:4px}}

/* Preserve the navigation input distinction when foundation specificity wins.
   No attribute without JavaScript: the visible native focus fallback remains. */
html[lang=fa][data-fa-nav-input=pointer] body[data-home-system][data-university-emblems] :is(.site-header,.utility-bar) :is(a,button,summary):focus{outline:none;box-shadow:none}

/* Keep selected catalogue navigation readable under the shared Persian link rules. */
html[lang=fa] body[data-home-system][data-university-emblems] main .hub-nav>a[aria-current=page]{background:var(--uni-ink);color:var(--uni-paper);font-weight:700}
@media(forced-colors:active){html[lang=fa] body[data-home-system][data-university-emblems] main .hub-nav>a[aria-current=page]{background:Highlight;color:HighlightText;forced-color-adjust:none}}

/* Catalogue navigation uses the shared palette; hover does not draw a second frame. */
html[lang=fa] body[data-home-system][data-university-emblems] main :is(.hub-nav,.hub-local-nav)>a:hover{box-shadow:none;text-decoration:none}
html[lang=fa] body[data-home-system][data-university-emblems] main .hub-local-nav>a[aria-current=page]{background:var(--uni-ink);color:var(--uni-paper);font-weight:700}
@media(hover:hover){
 html[lang=fa] body[data-home-system][data-university-emblems] main :is(.hub-nav,.hub-local-nav)>a:not([aria-current=page]):hover{background:var(--uni-wash);color:var(--uni-accent)}
}
@media(forced-colors:active){html[lang=fa] body[data-home-system][data-university-emblems] main .hub-local-nav>a[aria-current=page]{background:Highlight;color:HighlightText;forced-color-adjust:none}}

/* Shared interaction states for Persian interior page families. */
html[lang=fa] body[data-home-system][data-university-emblems] main :is(.r-nav,.hub-audience-switch)>a:hover{box-shadow:none}
@media(hover:hover){
 html[lang=fa] body[data-home-system][data-university-emblems] main :is(.r-nav,.hub-audience-switch)>a:not([aria-current]):hover{background:var(--uni-wash);color:var(--uni-accent)}
}
/* Outline controls must keep their own foreground/background pair. */
html[lang=fa] body[data-home-system][data-university-emblems] main :is(.ds-button-outline,.pt-button-outline,.button-outline):is(:hover,:focus-visible){background:var(--uni-wash);color:var(--uni-ink);border-color:var(--uni-accent);box-shadow:none}
html[lang=fa] body[data-home-system][data-university-emblems] main .staff-link:is(:hover,:focus-visible),
html[lang=fa] body.systems-hub[data-home-system][data-university-emblems] main :is(.text-link,nav a):is(:hover,:focus-visible){color:var(--uni-accent)}
html[lang=fa] body[data-home-system][data-university-emblems] main .location-primary:is(:hover,:focus-visible){background:var(--uni-accent);color:var(--uni-paper);border-color:var(--uni-accent)}
/* Navigation and card headings are not prose links; keyboard focus stays visible. */
html[lang=fa] body[data-home-system][data-university-emblems] main :is(nav,.hub-card h3) a:is(:hover,:focus-visible){text-decoration-line:none!important}

/* The shared 3px outline supplies focus; remove legacy white halo duplication. */
html[lang=fa] body[data-home-system][data-university-emblems] main :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{box-shadow:none}

/* The following section already supplies the registration index divider. */
html[lang=fa] body[data-home-system][data-university-emblems] main.reg-page:not(.reg-detail) > .reg-intro:has(+ .reg-section){border-bottom:0}

/* Page introductions use their available column; article reading widths remain independent. */
html[lang=fa] body[data-home-system][data-university-emblems] main :is(.ds-page-header,.ds-page-heading,.fe-intro,.dp-hero,.pe-hero,.pt-hero,.ap-intro,.ve-intro,.sc-intro,.ax-hero,.news-archive-hero,.news-list-hero,.engineering-intro,.systems-intro,.staff-intro,.refinement-page-intro,.reg-intro,.ch-hero,.r-hero,.r-heading,.rs-intro,.nd-hero,.sg-intro,.fe-directory-hero,.location-intro,.ap-hero,.native-detail-intro,.dh-heading,.hub-heading,.og-heading,.cf-page-heading){max-width:none!important;max-inline-size:none!important;min-width:0}
html[lang=fa] body[data-home-system][data-university-emblems] main :is(.ds-page-header,.ds-page-heading,.fe-intro,.dp-hero,.pe-hero,.pt-hero,.ap-intro,.ve-intro,.sc-intro,.ax-hero,.news-archive-hero,.news-list-hero,.engineering-intro,.systems-intro,.staff-intro,.refinement-page-intro,.reg-intro,.ch-hero,.r-hero,.r-heading,.rs-intro,.nd-hero,.sg-intro,.fe-directory-hero,.location-intro,.ap-hero,.native-detail-intro,.dh-heading,.hub-heading,.og-heading,.cf-page-heading) > :is(h1,p,.intro,.lead,.r-lead,.ap-lead,.ax-lead,.ch-lead){max-width:none!important;max-inline-size:none!important;white-space:normal;overflow-wrap:anywhere}
html[lang=fa] body[data-home-system][data-university-emblems] main .reg-section > .reg-section-description{max-width:none!important;max-inline-size:none!important}
html[lang=fa] body[data-home-system][data-university-emblems][data-contact-design] main .refinement-page-intro :is(h1,p){max-width:none!important;max-inline-size:none!important}
