@font-face{font-family:HM39Vazir;src:url('fonts/vazirmatn.woff2') format('woff2');font-weight:100 900;font-display:swap}
.hm39-logo{width:48px;height:48px;object-fit:contain;vertical-align:middle;flex-shrink:0}.hm3321-logo .hm39-logo{width:100%;height:100%}.hm3326-sale-brand .hm39-logo{float:right;margin-left:10px}.hm39-guide,.hm39-faq,.hm39-reader{font-family:HM39Vazir,Tahoma,sans-serif;direction:rtl;margin:18px 0;padding:clamp(14px,3vw,26px);border:1px solid #dce5f1;border-radius:20px;background:#fff;color:#152d50;box-shadow:0 10px 30px #163c7310}.hm39-guide header{display:flex;align-items:center;gap:14px}.hm39-guide header strong{font-size:clamp(19px,3vw,26px);color:#163c73}.hm39-guide p{margin:8px 0;line-height:1.9}.hm39-guide ol{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;padding:0;list-style:none;counter-reset:hm39}.hm39-guide li{counter-increment:hm39;padding:12px;border-radius:12px;background:#edf5ff;line-height:1.8}.hm39-guide li:before{content:counter(hm39);background:#2356b8;color:#fff;display:inline-grid;place-items:center;width:26px;height:26px;border-radius:8px;margin-left:7px}.hm39-quick{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.hm39-quick a,.hm39-prize a,.hm39-pages a{padding:9px 14px;border:1px solid #bfdbfe;border-radius:10px;text-decoration:none;background:#eef5ff;color:#1d4ed8;font-weight:700}.hm39-prize{background:linear-gradient(125deg,#fff5d5,#e6fbf3);border:1px solid #ecd693;border-radius:14px;padding:18px;margin-top:16px}.hm39-prize strong{font-size:22px;color:#986414}.hm39-faq details{border:1px solid #dce5f1;border-radius:12px;padding:12px 15px;margin-top:8px;background:#f7faff}.hm39-faq summary{font-weight:750;color:#23488e;cursor:pointer}.hm39-faq p{line-height:2;margin:10px 0 0}.hm39-mode-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 18px;font-family:HM39Vazir,Tahoma,sans-serif}.hm39-mode-nav a{display:flex;align-items:center;gap:9px;text-decoration:none;padding:14px 10px;border-radius:14px;background:var(--pale);color:var(--tone);font-weight:800;border:2px solid transparent;line-height:1.5}.hm39-mode-nav a b{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;color:white;background:var(--tone);border-radius:9px;font-size:19px}.hm39-mode-nav a[aria-current=page]{border-color:var(--tone);box-shadow:0 4px 12px #163c7319}.hm39-tone-practice,.hm39-color-0{--tone:#2454bb;--pale:#eaf2ff}.hm39-tone-visual,.hm39-color-1{--tone:#7838b6;--pale:#f4eaff}.hm39-tone-diagram,.hm39-color-2{--tone:#087d62;--pale:#e3f9f1}.hm39-tone-table,.hm39-color-3{--tone:#b65316;--pale:#fff1df}.hm39-color-4{--tone:#a52c64;--pale:#fcebf3}.hm39-color-5{--tone:#08778b;--pale:#e7f7fa}.hm39-reader-header{background:linear-gradient(125deg,#153569,#176f9f);border-radius:15px;padding:18px;color:#fff;margin-bottom:16px}.hm39-reader-header h2,.hm39-reader-header p,.hm39-reader-header small{color:#fff;margin:6px 0;line-height:1.65}.hm39-reader-header small{font-size:12px;overflow-wrap:anywhere;display:block}.hm39-note-block{border:1px solid #e4e9f2;border-right:4px solid var(--tone);border-radius:12px;margin:8px 0;overflow:hidden;background:var(--pale)}.hm39-source{padding:12px 14px}.hm39-source h3{margin:0 0 8px;font-size:18px;color:var(--tone)}.hm39-note-text{line-height:1.95;color:#20344c;overflow-wrap:anywhere;font-size:16px}.hm39-section-title .hm39-source{background:var(--tone);color:white}.hm39-section-title .hm39-source h3,.hm39-section-title .hm39-note-text,.hm39-section-title .hm39-tree-root{background:#183f80;color:white;text-align:center;padding:15px;border-radius:12px;max-width:380px;margin:0 auto 15px;font-weight:800}.hm39-tree{border-right:3px solid #b1c9e8;padding-right:24px;margin-right:12px;display:grid;gap:6px}.hm39-tree .hm39-note-block{position:relative;overflow:visible}.hm39-tree .hm39-note-block:before{content:'';position:absolute;right:-28px;top:26px;width:25px;height:3px;background:var(--tone)}.hm39-table-scroll{overflow:auto}.hm39-note-table{border-collapse:separate;border-spacing:0 6px;width:100%;table-layout:fixed}.hm39-note-table thead th{background:#163c73;color:white;padding:12px;text-align:right}.hm39-note-table th:first-child{width:26%}.hm39-note-table tbody th,.hm39-note-table td{background:var(--pale);padding:10px 12px;vertical-align:top;overflow-wrap:anywhere;line-height:1.85}.hm39-note-table tbody th{color:var(--tone);border-right:4px solid var(--tone);font-weight:800}.hm39-pages{display:flex;justify-content:center;align-items:center;gap:14px;margin:16px 0}.hm39-hint{font-size:13px;color:#52647a}.hm39-matrix-notes{position:relative}.hm39-matrix-notes summary{cursor:pointer;list-style:none}.hm39-matrix-notes>div{display:grid;gap:4px;padding:6px;background:#fff;box-shadow:0 5px 16px #163c7320;border:1px solid #dbeafe;border-radius:9px;position:relative;z-index:3}.hm39-matrix-notes a{padding:6px;text-decoration:none;color:#1e40af;background:#eff6ff;border-radius:6px;line-height:1.5;font-size:12px}.hm39-note-block canvas{display:block;width:100%;height:auto}.hm-protect-stamp::after{white-space:normal!important;text-align:center;overflow-wrap:anywhere}.hm39-protection-info{display:block;color:#64748b;font-size:12px;padding:4px 12px;text-align:center}
@media(max-width:700px){.hm39-mode-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.hm39-mode-nav a{padding:10px 8px;font-size:13px}.hm39-tree{padding-right:17px;margin-right:5px}.hm39-tree .hm39-note-block:before{right:-21px;width:18px}.hm39-note-table th:first-child{width:30%}.hm39-note-table td,.hm39-note-table tbody th{padding:8px;font-size:13px}.hm39-guide,.hm39-reader,.hm39-faq{padding:12px}.hm39-note-text{font-size:15px}}
@media print{.hm39-reader,.hm-copy-guard{display:none!important}.hm39-protection-info:after{content:'چاپ محتوای خصوصی در سامانه استاد شو فعال نیست.'}}
.hm39-tree-branch{border:1px solid #d5e4f3;background:#f6faff;border-radius:12px;padding:12px;margin:6px 0}.hm39-tree-branch>summary{cursor:pointer;background:#dcecff;color:#214c8e;font-weight:800;border-radius:8px;padding:10px}.hm39-tree-leaves{border-right:2px solid #bed3ea;margin:9px 10px 0 0;padding-right:20px}.hm39-tree-leaves .hm39-note-block:before{right:-24px;width:21px}

/* 3.3.40 — approved lightweight typography and real educational tables. */
.hm40-reader,.hm40-reader *{box-sizing:border-box}
.hm40-reader{font-family:HM39Vazir,Tahoma,sans-serif!important;font-weight:500;line-height:1.9;background:#e8eff9;border:1px solid #d6e2f1;padding:clamp(10px,2.4vw,24px);max-width:100%;overflow:visible}
.hm40-reader .hm40-header{background:linear-gradient(115deg,#102b53,#1a5d9c);padding:clamp(16px,3vw,27px);border-radius:20px;position:relative;overflow:hidden;text-align:right;margin-bottom:16px}
.hm40-header:after{content:'';position:absolute;left:-75px;top:-105px;width:280px;height:280px;border:38px solid #ffffff0d;border-radius:50%;pointer-events:none}
.hm40-header>*{position:relative;z-index:1}.hm40-header-top,.hm40-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.hm40-brand{display:flex;align-items:center;gap:10px}.hm40-brand .hm39-logo{width:50px;height:50px}.hm40-brand span{display:block;color:#d7e8ff;font-size:12px}.hm40-brand strong{font-family:HM39Vazir,Tahoma,sans-serif!important;font-weight:800;font-size:clamp(23px,3vw,32px);line-height:1.8;display:block;color:#fff}.hm40-brand em{font-style:normal;color:#ffd46e}
.hm40-reader .hm40-header h2,.hm40-reader .hm40-section-heading,.hm40-reader .hm40-root strong,.hm40-reader .hm40-card-title,.hm40-reader .hm40-group-heading{font-family:HM39Vazir,Tahoma,sans-serif!important;font-weight:800!important;letter-spacing:normal;overflow-wrap:anywhere}
.hm40-reader .hm40-header h2{color:#fff;font-size:clamp(19px,2.6vw,27px);margin:14px 0 3px;line-height:1.9}.hm40-reader .hm40-header p{color:#d9e8ff;font-size:14px;line-height:1.8}
.hm40-reader .hm40-identity{font-family:HM39Vazir,Tahoma,sans-serif!important;font-weight:500;font-size:12px;line-height:1.8;display:inline-block;max-width:100%;overflow-wrap:anywhere;background:#dce8f6;color:#385778;padding:4px 12px;border-radius:24px;position:static;transform:none}.hm40-reader .hm40-header .hm40-identity{background:#ffffff1a;color:#fff;margin:0}
.hm40-panel{padding:clamp(12px,2.5vw,24px);background:#fff;border:1px solid #d2e0f0;border-radius:20px;box-shadow:0 6px 24px #24466a0a;min-width:0}.hm40-reader .hm40-section-heading{font-size:clamp(18px,2.2vw,24px);color:#163456;margin:0 0 6px;line-height:1.85}.hm40-subtitle{color:#526a86;font-size:14px;font-weight:700;margin:0 0 18px}
.hm40-reader .hm40-card{position:relative;border:1px solid var(--tone);background:var(--pale);border-radius:14px;margin:0;overflow:visible;min-width:0;box-shadow:0 4px 12px #163c730b}.hm40-reader .hm40-card-title{background:var(--tone);color:#fff!important;padding:10px 12px;margin:0;border-radius:13px 13px 0 0;display:flex;gap:9px;align-items:center;line-height:1.9;font-size:clamp(15px,1.8vw,18px);text-align:right}.hm40-num{font-family:HM39Vazir,Tahoma,sans-serif!important;font-weight:800;display:inline-grid;place-items:center;min-width:28px;height:28px;padding:0 4px;flex-shrink:0;background:#ffffff25;border-radius:8px;font-size:14px}.hm40-card-title>span:last-child{min-width:0;overflow-wrap:anywhere}.hm40-reader .hm40-card-body,.hm40-reader .hm40-definition{font-family:HM39Vazir,Tahoma,sans-serif!important;font-weight:500;font-size:17px;line-height:2.05;color:#152e4c;overflow-wrap:anywhere}.hm40-reader .hm40-card-body{padding:13px 15px}.hm40-card-body strong,.hm40-definition strong{font-weight:700;color:var(--tone)}
.hm40-reader .hm40-visual .hm40-card{margin:12px 0}.hm40-reader .hm40-group-heading{padding:10px 14px;background:#dce9fa;border-radius:10px;color:#184b85;font-size:18px;margin:14px 0 9px}
.hm40-reader .hm39-table-scroll{border:1px solid #d5e0ee;border-radius:14px;overflow-x:auto;max-width:100%}
.hm40-reader .hm40-footer{margin:16px 0 0;padding-top:8px;border-top:1px solid #d6e2f0;color:#526b86;font-size:12px}.hm40-reader .hm39-hint{margin:14px 0 0;color:#52647a;font-size:13px}
.hm40-reader .hm39-color-0{--tone:#175aab;--pale:#eaf3ff}.hm40-reader .hm39-color-1{--tone:#087c70;--pale:#e6f7f2}.hm40-reader .hm39-color-2{--tone:#7140ad;--pale:#f2ebff}.hm40-reader .hm39-color-3{--tone:#a43d64;--pale:#fff0f5}.hm40-reader .hm39-color-4{--tone:#a35a0e;--pale:#fff4df}.hm40-reader .hm39-color-5{--tone:#237b4d;--pale:#eaf8ed}
@media(max-width:900px){} 
@media(max-width:620px){.hm40-reader .hm40-panel{padding:10px}.hm40-reader .hm40-card-body,.hm40-reader .hm40-definition{font-size:16px}.hm40-reader .hm40-card-title{font-size:16px}.hm40-reader .hm40-header-top{align-items:flex-start}.hm40-reader .hm40-footer{align-items:flex-start;flex-direction:column;gap:5px}}
@media(max-width:620px){.hm40-reader .hm39-table-scroll{scrollbar-color:#9bb8d8 #eef4fa;scrollbar-width:thin}.hm40-reader .hm39-table-scroll:focus-visible{outline:2px solid #2563eb;outline-offset:3px}}

/* 3.3.41 — one readable Persian type family; no separate title font. */
body.hm-student{--hm-font-ui:HM39Vazir,Tahoma,sans-serif;--hm-font:var(--hm-font-ui);--hm-display-font:var(--hm-font-ui);--hm-font-display:var(--hm-font-ui);font-family:var(--hm-font-ui)}
body.hm-student :is(h1,h2,h3,h4,h5,h6,button,input,textarea,select,summary,label,a,p,li,th,td,small,strong,b){font-family:HM39Vazir,Tahoma,sans-serif!important;letter-spacing:normal}
body.hm-student :is(h1,h2,h3){font-weight:800;line-height:1.6}body.hm-student .hm40-card-body{font-size:clamp(16px,1.9vw,18px);font-weight:450;line-height:2}.hm40-reader .hm40-card-title{font-weight:750!important}
.hm41-carousel{margin:24px 0;padding:clamp(13px,3vw,24px);background:#fff;border:1px solid #d5e5f6;border-radius:22px;box-shadow:0 12px 30px #153d7410;min-width:0;color:#153a64}.hm41-carousel header,.hm41-faq header{margin-bottom:15px;text-align:right}.hm41-carousel header small,.hm41-faq header small{font-weight:750;color:#1676ae;font-size:13px}.hm41-carousel h2,.hm41-faq h2{margin:4px 0;font-size:clamp(20px,3vw,29px);color:#163d71}.hm41-carousel header p,.hm41-faq header p{margin:5px 0;color:#506884;font-size:14px;line-height:1.9}
.hm41-slide{margin:0 0 12px;min-width:0}.hm41-slide[hidden]{display:none!important}.hm41-slide img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#123d75;border-radius:14px}.hm41-slide figcaption{padding:10px 0 3px;display:grid;gap:4px;text-align:right}.hm41-slide figcaption strong{font-size:clamp(18px,2.4vw,23px);color:#163d71}.hm41-slide figcaption span{font-size:15px;color:#405b77;line-height:1.85}.hm41-carousel [data-hm41-controls]{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin:10px 0}.hm41-carousel [data-hm41-controls][hidden]{display:none!important}.hm41-carousel button{background:#edf5ff;border:1px solid #c4dbf5;color:#16548b;border-radius:10px;padding:8px 12px;min-height:44px;font-weight:700;cursor:pointer}.hm41-carousel button:focus-visible,.hm41-faq summary:focus-visible{outline:3px solid #e8ab32;outline-offset:3px}.hm41-dots{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.hm41-dots button{width:44px;padding:5px}.hm41-dots button[aria-current=true]{background:#155cb2;color:white}.hm41-illustration{font-size:12px;color:#526b83;margin:7px 0 0;line-height:1.8}.hm41-faq details{border-radius:13px;background:#f6faff;border-color:#d6e5f7;padding:12px 16px}.hm41-faq details[open]{background:#edf5ff;border-color:#a9c8ef}.hm41-faq summary{font-size:16px;line-height:1.8}.hm41-faq p{font-size:15px;line-height:2}.hm41-sales-links{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 0}.hm41-sales-links a{color:#155cb2;font-weight:700;font-size:14px;text-decoration:underline;text-underline-offset:4px}.hm41-exam-status{display:flex;align-items:center;gap:8px;margin:0 0 12px;padding:9px 13px;border:1px solid #d8e6f4;border-radius:10px;background:#f3f8ff;color:#274d75;font-size:14px}.hm41-exam-status[data-offline=true]{background:#fff4de;color:#8b4e04;border-color:#efcf91}.hm-numbers .hm41-answered:not(.hm-nav-correct):not(.hm-nav-wrong){background:#d9eef9!important;color:#145880!important;border-color:#8fc5e1!important}.hm41-exam-legend{font-size:13px;color:#405b77;margin:8px 0;line-height:1.7}.hm41-password-toggle{align-self:start;background:#edf5ff;border:1px solid #c8dff8;color:#18538b;padding:6px 12px;border-radius:9px;min-height:36px;font-weight:700;cursor:pointer}.hm41-faq [open] summary{color:#154d86}
@media(max-width:600px){.hm41-carousel{padding:10px}.hm41-carousel header p,.hm41-slide figcaption span{font-size:14px}.hm41-dots button{width:38px;min-height:40px}.hm41-carousel [data-hm41-controls]{gap:6px}.hm41-faq summary{font-size:15px}}
@media(prefers-reduced-motion:reduce){.hm41-carousel *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
