/* Estedad variable font bundled locally, for all Persian/RTL UI. */
@font-face{font-family:"Estedad";src:url("../fonts/Estedad-variable.woff2") format("woff2");font-style:normal;font-weight:100 900;font-display:swap}
:root{--accent:#168c78;--ink:#242c36;--muted:#687583;--line:#e8edf1;--surface:#fff;--soft:#f7fafb;--header:70px;--topics-width:272px;--tools-width:232px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:98px}body{margin:0;background:white;color:var(--ink);font-family:"Estedad",Tahoma,Arial,sans-serif;font-size:14px;line-height:1.9;direction:rtl}body.admin-bar{--header:102px}a{color:var(--accent);text-decoration:none}a:hover{color:#0a6354}button,input{font:inherit}button{cursor:pointer}img{max-width:100%;height:auto}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}.skip-link:focus{clip:auto;z-index:9999;top:5px;right:5px;padding:10px;background:white;width:auto;height:auto}
.site-header{height:70px;position:sticky;top:0;background:#fff;z-index:100;border-bottom:1px solid var(--line)}body.admin-bar .site-header{top:32px}.header-inner{height:100%;max-width:1700px;margin:auto;padding:0 30px;display:flex;align-items:center;justify-content:space-between;gap:30px}.branding,.header-actions{display:flex;gap:14px;align-items:center;flex-shrink:0}.branding img{max-height:42px;width:auto;display:block}.brand-name{font-size:22px;font-weight:900;color:#222d37}.brand-divider{height:28px;width:1px;background:var(--line)}.help-label{font-size:14px;color:#647280;font-weight:600;white-space:nowrap}.top-menu,.mobile-top-menu,.footer-menu{display:flex;align-items:center;gap:28px;list-style:none;margin:0;padding:0}.top-menu li{position:relative}.top-menu a{color:#505e6b;font-weight:600}.top-menu a:hover,.top-menu .current-menu-item>a{color:var(--accent)}.top-menu .sub-menu{display:none;position:absolute;top:100%;right:0;min-width:170px;list-style:none;padding:12px;background:white;box-shadow:0 12px 32px #182e3c17;border:1px solid var(--line);border-radius:8px}.top-menu li:hover>.sub-menu,.top-menu li:focus-within>.sub-menu{display:block}.top-menu .sub-menu a{display:block;padding:5px}.header-cta{border:1px solid var(--accent);border-radius:5px;padding:6px 17px;font-weight:700}.icon-btn{display:none;background:none;border:0;font-size:23px;color:var(--ink);padding:6px}.mobile-nav{display:none}
.docs-layout{display:grid;grid-template-columns:minmax(230px,var(--topics-width)) minmax(0,1fr) minmax(200px,var(--tools-width));max-width:1700px;margin:0 auto;min-height:calc(100vh - 140px)}.topics-sidebar{border-left:1px solid var(--line);padding:27px 16px 70px 23px;height:calc(100vh - 70px);position:sticky;top:70px;overflow:auto;scrollbar-width:thin}.topics-heading{padding:0 11px 17px;font-size:15px}.sidebar-close{display:none}.topic-filter-wrap{display:flex;align-items:center;gap:8px;background:#f7f9fa;border:1px solid var(--line);border-radius:6px;color:#8c98a2;padding:7px 11px;margin:0 0 19px}.topic-filter-wrap input{width:100%;border:0;background:transparent;outline:0;font-size:12px;min-width:0;color:var(--ink)}.docs-menu,.docs-menu .sub-menu{list-style:none;margin:0;padding:0}.docs-menu .sub-menu{margin-right:12px;border-right:1px solid #e6ecef;padding-right:8px}.docs-menu li{position:relative}.docs-menu a{display:block;border-radius:5px;color:#5e6c79;font-size:13px;padding:7px 12px;line-height:1.7;transition:background .15s,color .15s}.docs-menu a:hover{background:#f3f8f7;color:var(--accent)}.docs-menu .current-menu-item>a,.docs-menu .current_page_item>a,.docs-menu .current-menu-ancestor>a{color:var(--accent);font-weight:700;background:#ecf7f4}.docs-menu .menu-item-has-children>a{font-weight:700;color:#2d3946;padding-left:28px}.docs-menu .menu-item-has-children>.menu-toggle{position:absolute;left:4px;top:6px;border:0;background:transparent;color:#82929b;width:26px;height:28px;z-index:1;line-height:1}.docs-menu li.is-collapsed>.sub-menu{display:none}.docs-menu li.is-collapsed>.menu-toggle{transform:rotate(90deg)}.docs-menu li.filter-hidden{display:none}.topics-extra{border-top:1px solid var(--line);padding-top:20px;margin-top:25px}
.docs-main{padding:39px clamp(28px,4.3vw,78px) 90px;min-width:0;max-width:1040px;width:100%;margin:auto}.breadcrumbs{display:flex;flex-wrap:wrap;gap:10px;color:#9aa4ae;font-size:12px;margin-bottom:28px}.breadcrumbs a{color:#7c8995}.doc-title{font-size:clamp(25px,2.2vw,34px);line-height:1.5;letter-spacing:-.4px;margin:0 0 23px;font-weight:800;color:#26323d}.doc-article{padding-bottom:35px;border-bottom:1px solid var(--line);margin-bottom:36px}.doc-article:last-child{border:0}.entry-content{font-size:14px;color:#46525f;line-height:2.15}.entry-content p{margin:0 0 21px}.entry-content h2{font-size:23px;color:#2e3942;margin:42px 0 16px;line-height:1.55}.entry-content h3{font-size:18px;color:#2e3942;margin:32px 0 12px}.entry-content h4{font-size:15px;margin:24px 0 10px}.entry-content ul,.entry-content ol{padding-right:25px;margin-bottom:20px}.entry-content li{padding-right:3px;margin-bottom:8px}.entry-content img{border-radius:4px}.entry-content blockquote{border-right:3px solid var(--accent);margin:20px 0;padding:10px 22px;background:#f6faf8}.entry-content table{width:100%;border-collapse:collapse;display:block;overflow:auto}.entry-content td,.entry-content th{border:1px solid var(--line);padding:10px}.entry-content pre{direction:ltr;text-align:left;max-width:100%;overflow:auto;padding:20px;background:#f5f7f8}.entry-content code{direction:ltr;unicode-bidi:embed}.entry-content iframe{max-width:100%}.entry-content .wp-block-image{margin:25px 0}.featured-image{margin-bottom:22px}.listing-title{font-size:20px;margin:0 0 10px}.listing-title a{color:#283642}.archive-heading{font-size:26px}.pagination{margin-top:20px}.page-numbers{padding:5px 10px;border:1px solid var(--line);border-radius:4px}.search-form{display:flex;gap:8px;max-width:560px}.search-form input{flex:1;min-width:0;border:1px solid var(--line);border-radius:6px;padding:9px}.search-form button{border:0;border-radius:6px;color:white;background:var(--accent);padding:9px 16px}
.tools-sidebar{position:sticky;top:70px;align-self:start;padding:43px 20px 30px 12px;height:calc(100vh - 70px);overflow:auto;scrollbar-width:thin}.docs-widget{margin-bottom:28px}.widget-title{font-size:13px;color:#263440;border-bottom:1px solid var(--line);padding-bottom:13px;margin:0 0 14px;font-weight:800}.docs-widget ul,.docs-widget ol{list-style:none;margin:0;padding:0}.docs-widget li{margin-bottom:8px}.docs-widget a{color:#75818c;font-size:12px;display:block;line-height:1.8}.docs-widget a:hover,.docs-widget .toc-active{color:var(--accent)}#ywd-auto-toc ul{list-style:none;margin:0;padding:0}#ywd-auto-toc li{margin:2px 0}#ywd-auto-toc li.toc-h3{padding-right:13px}#ywd-auto-toc a{border-right:2px solid transparent;padding:4px 10px}#ywd-auto-toc a.toc-active{border-color:var(--accent);background:#f2faf8}.toc-loading{font-size:12px;color:#96a1a8}.site-footer{border-top:1px solid var(--line);background:#fff}.footer-inner{max-width:1700px;margin:auto;padding:20px 30px;color:#97a0a9;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:20px}.footer-menu{gap:18px}.footer-menu a{color:#7a8791}.sidebar-overlay{display:none}
@media(max-width:1180px){:root{--topics-width:246px;--tools-width:190px}.docs-main{padding:30px 32px 70px}.topics-sidebar{padding-left:12px}.tools-sidebar{padding-left:12px;padding-right:12px}.top-menu{gap:14px}}
@media(max-width:950px){.docs-layout{grid-template-columns:235px minmax(0,1fr)}.tools-sidebar{position:static;grid-column:2;height:auto;padding:0 30px 45px}.docs-main{padding-bottom:22px}.header-nav{display:none}.mobile-menu-toggle{display:block}.mobile-nav.is-open{display:block;position:absolute;top:70px;left:0;right:0;background:white;border-bottom:1px solid var(--line);box-shadow:0 12px 22px #10232c11;padding:12px 30px}.mobile-top-menu{display:block}.mobile-top-menu li{padding:6px 0}.mobile-top-menu .sub-menu{list-style:none;padding-right:18px}}
@media(max-width:700px){body.admin-bar .site-header{top:46px}.site-header{height:62px}.header-inner{padding:0 15px}.branding{gap:8px}.brand-name{font-size:18px}.brand-divider{height:20px}.help-label{font-size:11px}.branding img{max-width:125px;max-height:35px}.mobile-topics-toggle{display:block}.hamburger,.hamburger:before,.hamburger:after{display:block;width:19px;height:2px;background:#32414b;position:relative;content:""}.hamburger:before{top:-6px}.hamburger:after{top:4px}.header-cta{display:none}.docs-layout{display:block}.topics-sidebar{position:fixed;right:0;top:0;height:100dvh;width:min(85vw,320px);z-index:301;background:white;transform:translateX(110%);transition:transform .2s ease;box-shadow:0 10px 40px #0001;padding:23px 15px 70px}.topics-sidebar.is-open{transform:translateX(0)}.sidebar-overlay.is-open{display:block;position:fixed;inset:0;z-index:300;background:#19283280}.topics-heading{display:flex;justify-content:space-between;align-items:center}.sidebar-close{display:block;background:transparent;border:0;font-size:28px;color:#596575}.docs-main{padding:25px 20px 25px}.doc-title{font-size:25px}.entry-content h2{font-size:20px}.entry-content h3{font-size:17px}.tools-sidebar{padding:0 20px 38px}.mobile-nav.is-open{top:62px}.footer-inner{padding:18px 20px;flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Apply the theme typography consistently to menus, sidebar widgets and forms. */
body,button,input,select,textarea,optgroup,.entry-content,.docs-menu,.top-menu,.docs-widget{font-family:"Estedad",Tahoma,Arial,sans-serif}
/* Native category composition: H1 category heading, H2 post titles. */
.category-description{margin:0 0 30px}.category-assembled-article{padding-top:14px;scroll-margin-top:95px}.category-assembled-article .assembled-title{font-size:clamp(20px,2vw,26px);line-height:1.6;font-weight:800;margin:0 0 20px;color:var(--ink)}

/* Structured post sections: two introductory panels and three closing panels. */
.ywd-post-sections{display:grid;gap:16px;margin:0 0 32px}.ywd-post-sections-before{grid-template-columns:repeat(2,minmax(0,1fr))}.ywd-post-sections-after{margin-top:34px;grid-template-columns:1fr}.ywd-content-section{border:1px solid;border-radius:12px;padding:18px 20px;overflow:hidden}.ywd-content-section-title{display:flex;align-items:center;gap:9px;font-size:17px;line-height:1.6;margin:0 0 12px;color:var(--ink)}.ywd-content-section-title:before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor;flex:none}.ywd-content-section-body{font-size:13px;line-height:2;color:#4b5966}.ywd-content-section-body p:last-child{margin-bottom:0}.ywd-content-section-body ul,.ywd-content-section-body ol{margin-bottom:8px}.ywd-content-section-goal{background:#effaf6;border-color:#b9e7d8;color:#087d67}.ywd-content-section-prerequisites{background:#f1f6ff;border-color:#c9daf7;color:#2458a6}.ywd-content-section-rules{background:#f7f3ff;border-color:#dccbf6;color:#6d43a7}.ywd-content-section-errors{background:#fff5f1;border-color:#f2c7b9;color:#b24d32}.ywd-content-section-ux{background:#fff9e8;border-color:#f1dc9e;color:#977014}.ywd-content-section-goal .ywd-content-section-body,.ywd-content-section-prerequisites .ywd-content-section-body,.ywd-content-section-rules .ywd-content-section-body,.ywd-content-section-errors .ywd-content-section-body,.ywd-content-section-ux .ywd-content-section-body{color:#4b5966}.ywd-post-sections-after .ywd-content-section{padding:16px 20px}.ywd-post-sections-after .ywd-content-section-title{font-size:16px}.ywd-content-section-body h2,.ywd-content-section-body h3,.ywd-content-section-body h4{margin-top:20px}.ywd-content-section-body>*:first-child{margin-top:0}

/* Per-menu-item icons, including top menu, topics, footer and mobile navigation. */
.ywd-menu-link-content{display:inline-flex;align-items:center;gap:9px;vertical-align:middle;max-width:100%}
.ywd-menu-item-icon{display:block!important;flex:0 0 19px;width:19px!important;height:19px!important;max-width:19px;object-fit:contain;border-radius:0!important}
.ywd-menu-label{min-width:0}
.top-menu .ywd-menu-link-content,.mobile-top-menu .ywd-menu-link-content,.docs-menu .ywd-menu-link-content{display:inline-flex}

/* 1.4.0 — header search and account actions */
.header-inner{gap:16px}.header-nav{flex-shrink:1;min-width:0}.top-menu{gap:15px}.ywd-header-search{position:relative;min-width:145px;max-width:370px;flex:1 1 245px}.ywd-search-form{height:39px;display:flex;align-items:center;gap:9px;border:1px solid #e3e9ef;border-radius:7px;padding:0 11px;background:#f8fafc;color:#738194}.ywd-search-form:focus-within{border-color:#3153ce;box-shadow:0 0 0 2px #3153ce16}.ywd-search-form input{background:transparent;border:0;outline:0;min-width:0;width:100%;font-size:12px;color:#27354a;direction:rtl}.ywd-search-form input:focus-visible{outline:none}.ywd-search-results{position:absolute;top:calc(100% + 7px);right:0;left:0;min-width:min(340px,85vw);background:white;box-shadow:0 14px 38px #0b173029;border:1px solid #e7eaf2;border-radius:9px;max-height:390px;overflow:auto;z-index:220;padding:6px}.ywd-search-results[hidden]{display:none}.ywd-search-result{padding:9px 12px;display:flex;justify-content:space-between;align-items:center;gap:10px;border-radius:6px;color:#26354b}.ywd-search-result:hover,.ywd-search-result:focus{background:#eff4ff;color:#1c3dbc}.ywd-search-result small{color:#8b95a6;white-space:nowrap}.ywd-search-message{margin:0;padding:14px;color:#718098;font-size:12px}.header-actions{gap:12px}.ywd-login,.ywd-register{display:inline-flex;align-items:center;justify-content:center;height:48px;border-radius:5px;white-space:nowrap;font-weight:700;font-size:13px}.ywd-login{min-width:81px;background:#fff;color:#131622;border:1px solid #e8ecf5}.ywd-login:hover{color:#1c3dbc;background:#f8faff}.ywd-register{min-width:161px;background:#2044c5;color:white;gap:7px;padding:0 12px}.ywd-register:hover{background:#1638aa;color:white}.ywd-register svg{flex:none}.header-cta{display:none}
@media(max-width:1200px){.header-inner{gap:12px;padding-inline:17px}.help-label,.brand-divider{display:none}.ywd-register{min-width:142px}.top-menu{gap:9px}}
@media(max-width:950px){.ywd-header-search{max-width:none}.header-actions{gap:7px}}
@media(max-width:700px){.header-inner{flex-wrap:wrap;height:auto;min-height:62px;padding:8px 12px;gap:8px}.site-header{height:auto;min-height:62px}.branding{flex:1}.header-actions{order:2;gap:6px}.ywd-header-search{order:3;flex:1 0 100%;max-width:none}.ywd-search-form{height:37px}.ywd-login,.ywd-register{height:35px;font-size:11px;min-width:0;padding:0 9px}.ywd-register{gap:4px}.ywd-register svg{height:20px;width:17px}.mobile-nav.is-open{top:100%}.ywd-search-results{min-width:100%}}
@media(max-width:375px){.ywd-register{font-size:10px;padding:0 6px}.ywd-login{font-size:10px;padding:0 7px}.branding img{max-width:85px}.help-label{display:none}}

@media(max-width:700px){.ywd-post-sections-before{grid-template-columns:1fr}.ywd-content-section{padding:16px}.ywd-post-sections-after{margin-top:28px}}

/* Visual treatment and inline icons for the structured post sections. */
.ywd-post-sections-before{gap:18px}.ywd-post-sections-after{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ywd-content-section{position:relative;border:1px solid transparent;border-radius:16px;padding:20px 20px 19px;box-shadow:0 8px 24px rgba(36,52,68,.07);transition:transform .18s ease,box-shadow .18s ease}.ywd-content-section:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(36,52,68,.12)}.ywd-content-section-title{align-items:center;gap:11px;margin:0 0 14px;font-size:17px}.ywd-content-section-title:before{display:none}.ywd-content-section-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:11px;background:rgba(255,255,255,.72);box-shadow:inset 0 0 0 1px rgba(255,255,255,.65)}.ywd-content-section-icon svg{width:22px;height:22px}.ywd-content-section-body{font-size:13px;line-height:2.05}.ywd-content-section-body a{text-decoration:underline;text-decoration-color:currentColor;text-underline-offset:3px}.ywd-content-section-body code{background:rgba(255,255,255,.65);border-radius:5px;padding:2px 5px}.ywd-content-section-goal{background:linear-gradient(145deg,#e9faf3,#f7fffb);border-color:#a9e4d0}.ywd-content-section-prerequisites{background:linear-gradient(145deg,#edf4ff,#f8fbff);border-color:#bfd4f5}.ywd-content-section-rules{background:linear-gradient(145deg,#f5efff,#fcfaff);border-color:#d7c3f2}.ywd-content-section-errors{background:linear-gradient(145deg,#fff0eb,#fffaf8);border-color:#f0bcae}.ywd-content-section-ux{background:linear-gradient(145deg,#fff8df,#fffdf4);border-color:#eed691}.ywd-post-sections-after .ywd-content-section{padding:18px 18px 17px}.ywd-post-sections-after .ywd-content-section-title{font-size:15px}.ywd-post-sections-after .ywd-content-section-icon{flex-basis:34px;width:34px;height:34px;border-radius:10px}.ywd-post-sections-after .ywd-content-section-icon svg{width:19px;height:19px}
/* Keep all structured sections in one vertical reading flow. */
.ywd-post-sections-before,.ywd-post-sections-after{grid-template-columns:1fr}

/* Structured section headings are intentionally independent from .entry-content h2. */
.entry-content .ywd-content-section-title{font-size:17px;color:inherit;margin:0 0 14px;line-height:1.6}
.entry-content .ywd-content-section-body h2{font-size:18px;color:inherit;margin:20px 0 12px;line-height:1.6}

/* Polished topic submenu and accordion controls. */
.docs-menu .sub-menu{margin:7px 0 10px 0;padding:8px 9px 8px 0;background:linear-gradient(145deg,#f7fafc,#eef5f7);border:1px solid #dfe9ed;border-right:3px solid var(--accent);border-radius:12px 0 0 12px;box-shadow:0 8px 20px rgba(38,57,70,.08)}.docs-menu .sub-menu .sub-menu{background:rgba(255,255,255,.58);border-right-color:#9bcfc4;box-shadow:none;margin-top:6px}.docs-menu .sub-menu a{padding:7px 11px;color:#526573;border-radius:8px}.docs-menu .sub-menu a:hover{background:#fff;color:var(--accent);box-shadow:0 4px 12px rgba(38,57,70,.07)}.docs-menu .menu-item-has-children>.menu-toggle{display:grid;place-items:center;position:absolute;left:3px;top:5px;width:30px;height:30px;padding:0;border:1px solid #dce7eb;border-radius:9px;background:rgba(255,255,255,.8);color:#607582;line-height:1;transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease}.docs-menu .menu-item-has-children>.menu-toggle:hover{background:#fff;border-color:#a7d3ca;color:var(--accent);box-shadow:0 4px 12px rgba(22,140,120,.13)}.docs-menu .menu-item-has-children>.menu-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s ease}.docs-menu li.is-collapsed>.menu-toggle{transform:none}.docs-menu li.is-collapsed>.menu-toggle svg{transform:rotate(90deg)}

/* Edit shortcuts visible only to users who can edit the current post. */
.ywd-admin-edit-actions{display:inline-flex;align-items:center;gap:7px;margin-right:14px;vertical-align:middle;direction:rtl;font-size:11px;font-weight:700;line-height:1;white-space:nowrap}.ywd-admin-edit-actions a{display:inline-flex;align-items:center;min-height:28px;padding:5px 10px;border:1px solid #dce5ea;border-radius:7px;background:#fff;color:#516572;box-shadow:0 3px 10px rgba(39,58,72,.06);transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease}.ywd-admin-edit-actions a:hover{background:#f2faf8;border-color:#a8d7cd;color:var(--accent);box-shadow:0 5px 14px rgba(22,140,120,.12)}.ywd-admin-edit-actions .ywd-elementor-edit-link{background:#fff7f1;border-color:#f2c8aa;color:#b65b24}.ywd-admin-edit-actions .ywd-elementor-edit-link:hover{background:#fff0e4;border-color:#e6a878;color:#9d4614}.doc-title .ywd-admin-edit-actions{font-size:11px}.assembled-title .ywd-admin-edit-actions,.listing-title .ywd-admin-edit-actions{font-size:10px}

/* Attractive, consistent presentation for article and section images. */
.entry-content img{display:block;max-width:100%;height:auto;border:1px solid #e7edf1;border-radius:16px;background:#fff;padding:6px;box-shadow:0 10px 28px rgba(35,51,67,.12);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}.entry-content img:hover{transform:translateY(-3px);border-color:#c9d9df;box-shadow:0 16px 34px rgba(35,51,67,.18)}.entry-content figure{margin:28px auto}.entry-content figure img{margin:0 auto}.entry-content figcaption,.entry-content .wp-element-caption{margin:10px auto 0;max-width:92%;color:#7a8792;font-size:12px;line-height:1.8;text-align:center}.entry-content .wp-block-image{margin:30px auto}.entry-content .wp-block-image.is-style-rounded img{border-radius:24px}.entry-content .wp-block-image.alignleft,.entry-content .wp-block-image.alignright{max-width:52%}.entry-content .wp-block-image.aligncenter{display:table}.featured-image img{display:block;width:100%;border:1px solid #e7edf1;border-radius:18px;padding:7px;box-shadow:0 14px 34px rgba(35,51,67,.14)}
@media(max-width:700px){.entry-content .wp-block-image.alignleft,.entry-content .wp-block-image.alignright{float:none;max-width:100%;margin-left:auto;margin-right:auto}.entry-content img{border-radius:13px;padding:4px}.entry-content figure{margin:22px auto}}
