/* Editorial pages load only their own styles, without the workspace UI. */
@font-face { font-family:"IRANYekanXFaNum"; src:url("../fonts/IRANYekanXFaNum-Regular.woff") format("woff"); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:"IRANYekanXFaNum"; src:url("../fonts/IRANYekanXFaNum-Bold.woff") format("woff"); font-weight:700; font-style:normal; font-display:swap; }
:root {
  --bg:#f7f8fa; --bg-elev:#fff; --border:#e1e6eb;
  --text:#203b34; --text-2:#53645f; --text-3:#64716c;
  --brand:#1d5c48; --brand-ink:#214f3b; --pastel-mint:#e3f3e9;
  color-scheme:light;
}
[data-theme="dark"] {
  --bg:#111e19; --bg-elev:#192c23; --border:#33473d;
  --text:#eef5ef; --text-2:#c0d0c4; --text-3:#a6b9ad;
  --brand:#a4d7b1; --brand-ink:#bde7c6; --pastel-mint:#20392c;
  color-scheme:dark;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--bg); color:var(--text); font-family:"IRANYekanXFaNum",system-ui,sans-serif; line-height:1.9; }
h1,h2,h3,p { margin:0; }
a { color:inherit; }
a:focus-visible,summary:focus-visible { outline:3px solid var(--brand); outline-offset:5px; border-radius:4px; }
.btn { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 20px; border-radius:14px; font-size:13px; font-weight:700; text-decoration:none; }
.btn.primary { background:var(--brand); color:var(--bg-elev); }
.btn.primary:hover { opacity:.9; }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
