/* Persian public wayfinder; organization.css and the administrative workspace stay independent. */
html[lang=fa] .og-page{padding-bottom:48px;color:var(--ds-text)}
html[lang=fa] .og-heading{max-width:var(--ds-reading);padding-block:30px 20px}
html[lang=fa] .og-heading h1{margin-bottom:12px}
html[lang=fa] .og-eyebrow{font-size:.8125rem;font-weight:650;color:var(--ds-accent);margin-block:0 8px}
html[lang=fa] .og-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:end;padding:20px;background:var(--ds-surface);border:1px solid var(--ds-border);border-radius:var(--ds-radius);margin-block:12px 24px}
html[lang=fa] .og-search label{display:block;font-size:.9rem;font-weight:650;margin-bottom:8px}
html[lang=fa] .og-search input{width:100%;box-sizing:border-box}
html[lang=fa] .og-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-block:24px 32px}
html[lang=fa] .og-tabs a{display:flex;flex-direction:column;justify-content:center;gap:6px;padding:16px 20px;border:1px solid var(--ds-control);border-radius:var(--ds-radius);text-decoration:none!important;background:var(--ds-paper);color:var(--ds-brand);min-width:0;line-height:1.65}
html[lang=fa] .og-tabs a span{font-size:.8125rem;color:var(--ds-muted)}
html[lang=fa] .og-tabs a[aria-current]{border:2px solid var(--ds-accent);padding:15px 19px;background:var(--ds-accent-soft)}
html[lang=fa] .og-results{scroll-margin-top:110px}
html[lang=fa] .og-results-heading{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-block:12px 22px;flex-wrap:wrap}
html[lang=fa] .og-results-heading h2{margin:0}
html[lang=fa] .og-results-heading p{margin-block:8px 0;color:var(--ds-muted)}
html[lang=fa] .og-back{font-size:.875rem}
html[lang=fa] :is(.og-role-grid,.og-card-grid){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
html[lang=fa] :is(.og-role,.og-unit,.og-selected){min-width:0;padding:22px;border:1px solid var(--ds-border);border-radius:var(--ds-radius);background:var(--ds-paper);overflow-wrap:anywhere}
html[lang=fa] .og-role h3{font-size:1rem;margin:0 0 16px;color:var(--ds-muted);font-weight:600}
html[lang=fa] .og-person{font-size:1.125rem;font-weight:700;margin:0 0 8px}
html[lang=fa] .og-person a{text-decoration:none!important}
html[lang=fa] .og-status{display:inline-block;font-size:.75rem;padding:2px 10px;background:var(--ds-surface);border-radius:4px;margin:0 0 8px}
html[lang=fa] .og-evidence{border-top:1px solid var(--ds-border);margin-top:14px;padding-top:8px;font-size:.8125rem}
html[lang=fa] .og-evidence summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--ds-brand);list-style:none;gap:8px}
html[lang=fa] .og-evidence summary::before{content:'＋';font-size:1.1rem}
html[lang=fa] .og-evidence[open] summary::before{content:'−'}
html[lang=fa] .og-evidence p{margin-block:10px}
html[lang=fa] .og-source-link{text-decoration:underline;text-underline-offset:.2em}
html[lang=fa] .og-unit{display:flex;flex-direction:column;align-items:stretch}
html[lang=fa] .og-unit h3{margin:0 0 12px;font-size:1.125rem}
html[lang=fa] .og-unit h3 a{text-decoration:none!important}
html[lang=fa] .og-note{font-size:.875rem;color:var(--ds-muted);line-height:1.9}
html[lang=fa] .og-officer{font-size:.875rem;line-height:1.8}
html[lang=fa] .og-unit-actions{display:flex;gap:16px;justify-content:space-between;flex-wrap:wrap;border-top:1px solid var(--ds-border);padding-top:12px;margin-top:auto;font-size:.8125rem}
html[lang=fa] .og-unit-actions a{min-height:44px;display:inline-flex;align-items:center;text-decoration:none!important}
html[lang=fa] .og-selected{background:var(--ds-surface);margin-block:18px 24px}
html[lang=fa] .og-selected .og-role-grid{margin-top:20px}
html[lang=fa] .og-actions{display:flex;gap:12px;flex-wrap:wrap;margin-block:12px}
html[lang=fa] .og-actions .ds-button{white-space:normal;text-align:center}
html[lang=fa] .og-section-title{margin-block:24px 18px}
html[lang=fa] .og-related{display:flex;flex-wrap:wrap;gap:16px 32px;margin-block:24px}
html[lang=fa] .og-related a{min-height:44px;display:inline-flex;align-items:center}
html[lang=fa] .og-pagination{display:flex;justify-content:center;align-items:center;gap:16px;flex-wrap:wrap;margin-block:28px}
html[lang=fa] .og-source-note{border-top:1px solid var(--ds-border);margin-top:40px;padding-top:18px;font-size:.8125rem;color:var(--ds-muted)}
html[lang=fa] .og-source-note p{max-width:85ch}
html[lang=fa] .og-empty{padding:24px;background:var(--ds-surface);border-radius:var(--ds-radius)}
html[lang=fa] .og-relations{margin-block:24px;padding:16px;border:1px solid var(--ds-border);border-radius:var(--ds-radius)}
html[lang=fa] .og-page :is(a,button,input,summary):focus-visible{outline:3px solid var(--ds-focus);outline-offset:4px}
@media(max-width:1050px){html[lang=fa] :is(.og-role-grid,.og-card-grid){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){html[lang=fa] .og-heading{padding-block:20px 8px}html[lang=fa] .og-search{grid-template-columns:1fr;padding:16px;gap:12px}html[lang=fa] .og-tabs{grid-template-columns:1fr;gap:8px;margin-block:20px 24px}html[lang=fa] .og-tabs a{flex-direction:row;align-items:center;justify-content:space-between;padding:12px;gap:12px}html[lang=fa] .og-tabs a[aria-current]{padding:11px}html[lang=fa] .og-tabs strong{font-size:.875rem}html[lang=fa] .og-tabs a span{font-size:.75rem;white-space:nowrap}html[lang=fa] :is(.og-role-grid,.og-card-grid){grid-template-columns:1fr;gap:12px}html[lang=fa] :is(.og-role,.og-unit,.og-selected){padding:18px}html[lang=fa] .og-results-heading{align-items:start;gap:8px}html[lang=fa] .og-actions .ds-button{width:100%}}

html[lang=fa] .og-source-note>a{text-decoration:underline!important;text-underline-offset:.2em}

/* Card destinations are navigation; evidence links inside prose remain underlined. */
html[lang=fa] body main.og-page :is(.og-person,.og-unit h3,.og-unit-actions,.og-tabs,.og-related) a[href]{text-decoration-line:none!important}
