/* Load after every legacy skin stylesheet. Scoped header rules fix visited/active/focus separately. */
#emr-site-header.emr-shell{--emr-nav-blue:#176bd6;position:sticky;top:0;z-index:80;width:100%;margin:0;padding:0;background:#fff;border:0;border-bottom:1px solid #dfe7f3;box-shadow:0 3px 16px #14366806;direction:rtl;color:#193653;font-family:EmrPages,Vazirmatn,Tahoma,sans-serif}
#emr-site-header.emr-shell *,#emr-site-header.emr-shell *::before,#emr-site-header.emr-shell *::after{box-sizing:border-box}
#emr-site-header .emr-shell-inner{max-width:1320px;width:calc(100% - 40px);min-height:92px;margin:auto;display:flex;align-items:center;gap:22px;padding:12px 0}
#emr-site-header svg,.emr-contact-channel svg{width:20px;height:20px;flex-shrink:0;display:block}
#emr-site-header a,#emr-site-header a:link,#emr-site-header a:visited{color:#253e60!important;opacity:1!important;text-decoration:none;font-family:inherit}
#emr-site-header .emr-shell-brand{display:flex;align-items:center;gap:8px;flex-shrink:0;font-size:21px;font-weight:800;line-height:1.5}
#emr-site-header .emr-shell-brand img{display:block;width:55px;height:auto;max-width:55px}
#emr-site-header .emr-shell-brand small{display:block;color:#63748c;font-size:10px;font-weight:500;margin-top:4px}
#emr-site-header #emr-shell-nav{display:flex;align-items:center;gap:3px;flex:1;justify-content:center;position:static;background:none;padding:0;margin:0;border:0;box-shadow:none;transform:none;opacity:1}
#emr-site-header #emr-shell-nav>a,#emr-site-header .emr-shell-contact>summary{font-size:13px;line-height:1.8;font-weight:650;padding:10px 9px;border-radius:9px;white-space:nowrap;transition:background-color .15s,color .15s;background:transparent;color:#253e60;opacity:1;cursor:pointer;text-decoration:none;list-style:none}
#emr-site-header #emr-shell-nav>a:hover,#emr-site-header #emr-shell-nav>a:focus-visible,#emr-site-header .emr-shell-contact>summary:hover{background:#edf4ff;color:#124f9c!important}
#emr-site-header #emr-shell-nav>a:active{color:#0e3d7d!important;background:#dbeaff}
#emr-site-header #emr-shell-nav>a[aria-current],#emr-site-header #emr-shell-nav>a[aria-current]:visited,#emr-site-header .emr-shell-contact.is-current>summary{color:#104f9f!important;background:#e7f0ff;font-weight:850;box-shadow:inset 0 -3px 0 #2474d8;opacity:1!important}
#emr-site-header .emr-shell-actions{display:flex;align-items:center;gap:7px;margin-right:auto;flex-shrink:0}
#emr-site-header .emr-shell-actions .emr-shell-action,#emr-site-header .emr-shell-actions .emr-shell-action:link,#emr-site-header .emr-shell-actions .emr-shell-action:visited{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:11px 13px;min-height:43px;border:1px solid #176bd6;border-radius:10px;background:#176bd6!important;color:#fff!important;font-size:12px;font-weight:750;line-height:1.7;white-space:nowrap;box-shadow:0 4px 10px #176bd615;opacity:1!important}
#emr-site-header .emr-shell-actions .emr-shell-action:hover,#emr-site-header .emr-shell-actions .emr-shell-action:active{background:#1057b0!important;border-color:#1057b0;color:#fff!important}
#emr-site-header a:focus-visible,#emr-site-header button:focus-visible,#emr-site-header summary:focus-visible{outline:3px solid #d89728;outline-offset:4px}
#emr-site-header .emr-shell-contact{position:relative;display:block;border:0;margin:0;padding:0;background:none}
#emr-site-header .emr-shell-contact>summary{display:flex;align-items:center;gap:6px}
#emr-site-header summary::-webkit-details-marker{display:none}
#emr-site-header .emr-shell-dropdown{position:absolute;top:calc(100% + 10px);left:0;width:270px;padding:14px;border:1px solid #dce6f4;border-radius:14px;background:#fff;box-shadow:0 16px 40px #173b6420}
#emr-site-header .emr-contact-page-link{display:block;font-size:14px;font-weight:750;padding:8px 6px 14px;border-bottom:1px solid #e0e8f3;margin-bottom:9px}
#emr-site-header .emr-social-row{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.emr-contact-channel{display:flex;align-items:center;gap:10px;min-width:0;border:1px solid #dfe7f2;border-radius:10px;padding:12px;color:#253e60!important;text-decoration:none;font-family:EmrPages,Vazirmatn,Tahoma,sans-serif;font-size:14px;background:#fff;line-height:1.7}
.emr-contact-channel svg{color:#2879c9}.emr-channel-bale svg{color:#18835c}.emr-channel-rubika svg{color:#9563b8}.emr-channel-telegram svg{color:#2083bf}
.emr-contact-channel small{display:block;color:#64768e;font-size:11px;font-weight:500;line-height:1.8;overflow-wrap:anywhere}
.emr-contact-channel[aria-disabled=true]{cursor:default;background:#f8fafd;opacity:1}
.emr-contact-channel[href]:hover{border-color:#82afe7;background:#eff5ff;color:#19477e!important}
#emr-site-header .emr-shell-toggle{display:none;align-items:center;justify-content:center;width:40px;height:40px;background:#eef4fd;color:#245486;border:1px solid #d9e4f5;border-radius:9px;cursor:pointer}
.emr-shell-footer>.emr-p-container:last-child{margin-top:20px;border-top:1px solid #e0e8f5;padding-top:20px}
.emr-shell-footer .emr-social-row{display:flex;flex-wrap:wrap;gap:12px}.emr-shell-footer .emr-contact-channel{margin:0;display:flex!important;min-width:135px}
.emr-pages .emr-v-hero{padding:32px 0 65px;background:linear-gradient(145deg,#f1f6ff,#fff);border-bottom:1px solid #e3ecf8}
.emr-pages .emr-v-hero .emr-p-lead{max-width:820px}.emr-pages .emr-v-anchors{display:flex;gap:12px;flex-wrap:wrap;margin-top:35px;font-size:13px;color:#2968b5}.emr-pages .emr-v-anchors a{padding:8px 12px;border:1px solid #d9e6f7;border-radius:8px;background:#fff}
.emr-pages .emr-v-cards{margin-top:30px}.emr-pages .emr-v-timeline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;list-style:none;padding:0;margin:32px 0 0}
.emr-pages .emr-v-timeline li{padding:28px;border:1px solid #dde8f7;border-radius:18px}.emr-pages .emr-v-timeline li>b{font-size:26px;color:#2673d7}.emr-pages .emr-v-timeline h3{font-size:19px;margin:17px 0 14px}.emr-pages .emr-v-timeline p{font-size:14px}
.emr-pages .emr-v-roles{background:#f5f8fd;padding:36px;border:1px solid #e1eafa;border-radius:20px}.emr-pages .emr-v-roles h2{font-size:30px;margin-bottom:25px}.emr-pages .emr-v-tablewrap{overflow:auto}.emr-pages .emr-v-tablewrap table{width:100%;border-collapse:collapse;min-width:570px;font-family:inherit;font-size:14px;text-align:right}.emr-pages .emr-v-tablewrap th,.emr-pages .emr-v-tablewrap td{padding:17px;border-bottom:1px solid #dbe5f4;line-height:1.9;vertical-align:top}.emr-pages .emr-v-tablewrap thead{background:#e7effb;color:#214f8c}
.emr-pages .emr-v-note{background:#f3f7fe;border:1px solid #dde8f8;border-radius:18px;padding:28px}.emr-pages .emr-v-note h3{margin-bottom:14px}.emr-pages .emr-v-note ul{margin:15px 0;padding-right:20px;font-size:14px;color:#526d91;line-height:2.3}.emr-pages .emr-v-note p{font-size:14px;margin-block:15px}.emr-pages .emr-p-split p+p{margin-top:15px}.emr-pages #emr-v-faq h2{margin-bottom:24px}.emr-pages section[id]{scroll-margin-top:120px}
.emr-pages .emr-virtual-flow{display:grid;gap:15px}.emr-pages .emr-virtual-flow>div{display:grid;grid-template-columns:45px 1fr;align-items:center;gap:3px 15px;border:1px solid #dce7f6;background:#f8faff;padding:22px;border-radius:15px}.emr-pages .emr-virtual-flow svg{grid-row:span 2;width:32px;height:32px;color:#397cd3}.emr-pages .emr-virtual-flow b{font-size:17px}.emr-pages .emr-virtual-flow span{font-size:14px;color:#7287a3}.emr-virtual-home{border-block:1px solid #e5ecf6}
.emr-pages .emr-contact-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:35px}.emr-pages .emr-contact-grid a{padding:27px 20px;align-items:start;font-size:18px;min-height:115px}.emr-pages .emr-contact-grid svg{width:26px;height:26px}.emr-pages .emr-contact-grid small{font-size:13px;margin-top:10px}
@media(max-width:1180px){#emr-site-header .emr-shell-inner{flex-wrap:wrap;gap:12px}#emr-site-header #emr-shell-nav{order:3;width:100%;flex-basis:100%;justify-content:center;border-top:1px solid #edf1f7;padding-top:9px}#emr-site-header .emr-shell-actions{margin-right:auto}#emr-site-header .emr-shell-inner{padding-block:10px}.emr-pages section[id]{scroll-margin-top:160px}}
@media(max-width:760px){#emr-site-header .emr-shell-inner{width:calc(100% - 30px);gap:12px}#emr-site-header .emr-shell-brand{font-size:20px}#emr-site-header .emr-shell-toggle{display:flex;margin-right:auto}#emr-site-header .emr-shell-actions{order:2;width:100%;display:grid;grid-template-columns:.75fr 1fr 1.2fr;gap:7px}#emr-site-header .emr-shell-actions .emr-shell-action{padding:10px 6px;font-size:11px;gap:5px}#emr-site-header .emr-shell-actions svg{width:17px;height:17px}#emr-site-header #emr-shell-nav{display:none;order:3;align-items:stretch;text-align:right}#emr-site-header #emr-shell-nav.emr-is-open{display:flex;flex-direction:column}#emr-site-header #emr-shell-nav>a{padding:10px 12px}#emr-site-header .emr-shell-dropdown{position:static;box-shadow:none;width:100%;margin-top:7px}#emr-site-header .emr-shell-contact>summary{padding:12px}.emr-pages .emr-v-timeline{grid-template-columns:1fr;gap:15px}.emr-pages .emr-v-hero{padding-bottom:40px}.emr-pages .emr-v-roles{padding:22px}.emr-pages .emr-contact-grid{grid-template-columns:1fr 1fr;gap:12px}.emr-pages .emr-contact-grid a{padding:20px 15px;font-size:16px}.emr-pages .emr-v-note{padding:22px}.emr-pages .emr-v-note h2{font-size:25px}.emr-shell-footer .emr-social-row{display:grid;grid-template-columns:1fr 1fr;width:100%}.emr-shell-footer .emr-contact-channel{min-width:0}.emr-pages .emr-v-anchors{gap:8px;font-size:12px}}
@media(prefers-reduced-motion:reduce){#emr-site-header *{transition:none!important}}

/* Explicit icon direction and real product screenshot */
#emr-site-header [data-emr-login] svg{transform:none!important;direction:ltr}
.emr-pages .emr-v-real-app{margin:0;text-align:center}.emr-pages .emr-v-real-app img{display:block;width:min(100%,255px);height:auto;margin:auto;border-radius:22px;box-shadow:0 22px 50px #153a6320}.emr-pages .emr-v-real-app figcaption{margin-top:18px;font-size:12px;color:#52667f}.emr-pages .emr-v-timeline article{padding:24px;border:1px solid #dce7f5;border-radius:20px;background:#f7faff}
