/* Persian catalogue uses the same published design tokens as the university shell. */
html[lang=fa] body.study-catalogue main.hub{--catalogue-action:var(--ds-brand,#102f46);--catalogue-on-action:#fff;max-width:1240px;margin-inline:auto;padding:24px clamp(16px,3vw,32px) 0;color:var(--ds-text,#102f46)}
html[lang=fa][data-theme=dark] body.study-catalogue main.hub{--catalogue-on-action:#102432}
html[lang=fa] body.study-catalogue .hub .hub-heading{max-width:860px;margin-block:32px 24px}
html[lang=fa] body.study-catalogue .hub .hub-heading h1{font-size:clamp(1.9rem,3.5vw,2.8rem);line-height:1.65;letter-spacing:normal;margin-block:8px 12px}
html[lang=fa] body.study-catalogue .hub .hub-heading p{font-size:1rem;line-height:1.95;max-width:72ch;color:var(--ds-muted,#526879)}
html[lang=fa] body.study-catalogue .hub h2{font-size:1.3rem;line-height:1.8}
html[lang=fa] body.study-catalogue .hub h3{font-size:1.08rem;line-height:1.9}
html[lang=fa] body.study-catalogue .hub .hub-breadcrumb{gap:8px;font-size:.85rem;line-height:1.9}
html[lang=fa] body.study-catalogue .hub .hub-muted,html[lang=fa] body.study-catalogue .hub .catalogue-pending{color:var(--ds-muted,#526879);font-size:.875rem;line-height:1.9}
html[lang=fa] body.study-catalogue .hub .hub-explorer{grid-template-columns:260px minmax(0,1fr);gap:24px}
html[lang=fa] body.study-catalogue .hub .hub-filters{background:var(--ds-surface,#f4f6f5);border:1px solid var(--ds-border,#c8d5dc);border-radius:var(--ds-radius,10px);padding:20px}
html[lang=fa] body.study-catalogue .hub .hub-filters .hub-filter-title{font-size:1.05rem;margin:0}
html[lang=fa] body.study-catalogue .hub .hub-card{display:flex;flex-direction:column;align-items:stretch;background:var(--ds-paper,#fff);color:var(--ds-text,#102f46);border:1px solid var(--ds-border,#c8d5dc);border-radius:var(--ds-radius,10px);padding:20px;box-shadow:none}
html[lang=fa] body.study-catalogue .hub .hub-card h3{margin-block:8px 10px}
html[lang=fa] body.study-catalogue .hub .hub-card p{margin-block:6px}
html[lang=fa] body.study-catalogue .hub .hub-card h3 a:hover{text-decoration:underline!important;text-underline-offset:.25em}
html[lang=fa] body.study-catalogue .hub .hub-card-bottom{margin-block-start:auto;padding-block-start:14px;border-color:var(--ds-border,#c8d5dc);gap:10px 16px}
html[lang=fa] body.study-catalogue .hub .hub-card-bottom label{align-items:flex-start;font-size:.85rem;line-height:1.8;padding-block:8px}
html[lang=fa] body.study-catalogue .hub .hub-card-bottom input{flex:none;margin-block-start:3px}
html[lang=fa] body.study-catalogue .hub .hub-card-bottom a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline!important;text-underline-offset:.25em}
html[lang=fa] body.study-catalogue .hub :is(.hub-note,.hub-empty,.hub-filter-bar){background:var(--ds-surface,#f2f6f8);color:var(--ds-text,#102f46);border-color:var(--ds-border,#c8d5dc);border-radius:var(--ds-radius,10px)}
html[lang=fa] body.study-catalogue .hub .hub-filter-bar{gap:16px;padding:20px;border:1px solid var(--ds-border,#c8d5dc)}
html[lang=fa] body.study-catalogue .hub .hub-filter-bar>a{display:inline-flex;align-items:center;min-height:44px;font-size:.9rem}
html[lang=fa] body.study-catalogue .hub .ds-button{background:var(--catalogue-action);border-color:var(--catalogue-action);color:var(--catalogue-on-action);border-radius:var(--ds-radius,8px);min-height:48px}
html[lang=fa] body.study-catalogue .hub .ds-button--secondary{background:var(--ds-paper,#fff);color:var(--ds-brand,#102f46);border-color:var(--ds-control,#718c9d)}
html[lang=fa] body.study-catalogue .hub .ds-button:hover{background:var(--ds-brand-hover,#244b63);border-color:var(--ds-brand-hover,#244b63);color:var(--catalogue-on-action)}
html[lang=fa] body.study-catalogue .hub .ds-field :is(input,select){background:var(--ds-paper,#fff);color:var(--ds-text,#102f46);border-color:var(--ds-control,#718c9d);border-radius:var(--ds-radius,8px)}
html[lang=fa] body.study-catalogue .hub :is(.hub-tags li,.hub-filter-chips a){background:var(--ds-surface,#edf3f5);color:var(--ds-text,#102f46);border-color:var(--ds-border,#c8d5dc)}
html[lang=fa] body.study-catalogue .hub .hub-section-heading{align-items:baseline;flex-wrap:wrap;gap:8px 20px}
html[lang=fa] body.study-catalogue .hub :is(.catalogue-paths,.raya-source .hub-local-nav){display:flex;align-items:stretch;flex-wrap:wrap;gap:8px;border:0;padding:0;margin-block:0 24px}
html[lang=fa] body.study-catalogue .hub :is(.catalogue-paths,.raya-source .hub-local-nav) a{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:8px 14px;border:1px solid var(--ds-border,#c8d5dc);border-radius:var(--ds-radius,8px);text-decoration:none!important;color:var(--ds-brand,#102f46);font-size:.9rem;line-height:1.8}
html[lang=fa] body.study-catalogue .hub :is(.catalogue-paths,.raya-source .hub-local-nav) a:hover{border-color:var(--ds-border-hover,#577383);background:var(--ds-surface,#edf3f5);box-shadow:none}
html[lang=fa] body.study-catalogue .hub :is(.catalogue-paths,.raya-source .hub-local-nav) a[aria-current=page]{background:var(--catalogue-action);border-color:var(--catalogue-action);color:var(--catalogue-on-action);font-weight:600}
html[lang=fa] body.study-catalogue .hub .reference-count{white-space:nowrap;font-size:.85rem;line-height:1.5;font-variant-numeric:tabular-nums}
html[lang=fa] body.study-catalogue .hub .raya-source{margin-block:20px 24px}
html[lang=fa] body.study-catalogue .hub .catalogue-source-detail{border-block:1px solid var(--ds-border,#c8d5dc);padding:4px 0;color:var(--ds-muted,#526879);font-size:.875rem}
html[lang=fa] body.study-catalogue .hub .catalogue-source-detail summary{min-height:44px;padding-block:8px;cursor:pointer}
html[lang=fa] body.study-catalogue .hub .catalogue-source-detail p{max-width:90ch;line-height:2}
html[lang=fa] body.study-catalogue .hub .catalogue-title-list{gap:12px}
html[lang=fa] body.study-catalogue .hub .catalogue-title-list .hub-card{padding:16px 20px;justify-content:flex-start;gap:4px}
html[lang=fa] body.study-catalogue .hub .catalogue-title-list .hub-card h3{font-size:1rem;margin:0}
html[lang=fa] body.study-catalogue .hub .catalogue-inline-link{display:inline-flex;align-self:start;align-items:center;min-height:44px;text-decoration:underline!important;text-underline-offset:.25em;font-size:.9rem}
html[lang=fa] body.study-catalogue .hub .raya-meetings li{border-color:var(--ds-border,#c8d5dc)}
html[lang=fa] body.study-catalogue .hub :is(a,button,input,select,summary):focus-visible{outline:3px solid var(--ds-focus,#9c5411);outline-offset:3px}
@media(max-width:900px){html[lang=fa] body.study-catalogue .hub .hub-explorer{grid-template-columns:230px minmax(0,1fr);gap:20px}}
@media(max-width:700px){html[lang=fa] body.study-catalogue main.hub{padding-top:18px}html[lang=fa] body.study-catalogue .hub .hub-heading{margin-block:24px 20px}html[lang=fa] body.study-catalogue .hub .hub-heading h1{font-size:1.9rem}html[lang=fa] body.study-catalogue .hub .hub-explorer{display:block}html[lang=fa] body.study-catalogue .hub .hub-filters{margin-block-end:24px}html[lang=fa] body.study-catalogue .hub :is(.catalogue-paths,.raya-source .hub-local-nav){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}html[lang=fa] body.study-catalogue .hub :is(.catalogue-paths,.raya-source .hub-local-nav) a{min-width:0;padding:8px 10px;font-size:.85rem;gap:8px}html[lang=fa] body.study-catalogue .hub .raya-source .hub-local-nav>a:last-child{grid-column:1/-1}html[lang=fa] body.study-catalogue .hub .hub-filter-bar{padding:18px}html[lang=fa] body.study-catalogue .hub .hub-card-bottom{flex-direction:column;align-items:stretch}html[lang=fa] body.study-catalogue .hub .hub-card-bottom .ds-button{justify-content:center}html[lang=fa] body.study-catalogue .hub .hub-card-bottom label{min-height:44px}html[lang=fa] body.study-catalogue .hub .catalogue-title-list .hub-card{padding:16px}}
