/* Hamyar Movafagh 3.3.20 – self-contained paid-bank learning pages */
.hm3320-course-page,.hm3320-admin{font-family:Vazirmatn,"Vazirmatn FD",Tahoma,sans-serif;direction:rtl;color:#15395f;line-height:1.9}
.hm3320-course-page{background:linear-gradient(140deg,#e9f4ff 0%,#fff 50%,#eefafc 100%);min-height:100vh}
.hm3320-main{width:min(100% - 32px,1220px);margin-inline:auto;padding:28px 0 60px}
.hm3320-hero{border-radius:30px;background:linear-gradient(115deg,#103d7e 0%,#10589b 54%,#108890 100%);color:#fff;padding:clamp(26px,4.5vw,50px);position:relative;overflow:hidden;box-shadow:0 20px 40px rgba(19,83,140,.2)}
.hm3320-hero:after{content:"✦";position:absolute;left:8%;top:-52px;font-size:250px;line-height:1;color:#ffffff12;pointer-events:none}
.hm3320-hero>span{color:#b8edf9;font-size:14px;font-weight:850}
.hm3320-hero h1{color:white!important;font-size:clamp(25px,3.4vw,39px)!important;line-height:1.65;margin:11px 0!important;font-weight:950}
.hm3320-hero p{max-width:790px;color:#e4f6fc!important;font-size:16px}
.hm3320-hero-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.hm3320-hero-tags span{border:1px solid #ffffff50;border-radius:999px;padding:6px 15px;background:#ffffff1a;font-size:12px;font-weight:900}
.hm3320-welcome,.hm3320-notice{margin-top:24px;padding:25px;border:1px solid #cde2f4;border-radius:25px;background:#fff;box-shadow:0 12px 25px #15375f10}
.hm3320-welcome{display:flex;gap:12px;flex-wrap:wrap;align-items:center;justify-content:space-between}.hm3320-welcome strong{color:#08785e}.hm3320-notice h2{color:#1b4679;font-size:23px}.hm3320-notice p{max-width:920px;color:#607992}.hm3320-notice .hm-button{display:inline-flex;text-decoration:none;margin:12px 0;padding:11px 18px;border-radius:12px}.hm3320-muted{color:#637992;font-size:13px}
.hm3320-lessons{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:15px;margin:20px 0 26px}.hm3320-lessons article{border:1px solid #d5e5f2;border-radius:22px;padding:20px;background:linear-gradient(155deg,#fff,#f7fbff);box-shadow:0 10px 23px rgba(12,60,113,.06)}
.hm3320-lessons article h2{margin:0 0 14px!important;color:#124a83!important;font-size:20px!important}.hm3320-lessons article div{display:flex;flex-wrap:wrap;gap:8px}.hm3320-lessons article a{display:inline-flex;text-decoration:none;border:1px solid #c8e6f0;background:#f0fbff;border-radius:12px;padding:7px 12px;font-weight:850;color:#126894}
.hm3320-workspace{background:white;border:1px solid #cddfee;box-shadow:0 12px 30px rgba(20,77,131,.09);border-radius:26px;padding:clamp(15px,2.5vw,30px);margin-top:22px}.hm3320-workspace>header span{font-size:13px;color:#2180a9;font-weight:850}.hm3320-workspace>header h2{font-size:25px!important;color:#164270!important;margin:4px 0 18px!important}
.hm3320-chapters,.hm3320-views{display:flex;gap:9px;overflow:auto;padding:9px 0 14px;flex-wrap:wrap}.hm3320-chapters a,.hm3320-views a{white-space:nowrap;text-decoration:none;padding:8px 14px;border-radius:12px;border:1px solid #cbddeb;background:#f7fbff;color:#234f74;font-size:14px;font-weight:850}
.hm3320-chapters a[aria-current=page],.hm3320-views a[aria-current=page]{background:linear-gradient(110deg,#0c64b8,#1496ab);color:#fff;border-color:transparent}.hm3320-views{border-bottom:1px solid #e0eaf4}
.hm3320-study-content{padding-top:20px;min-height:110px}.hm3320-study-content>h3{font-size:20px!important;color:#1a4974!important}.hm3320-notes{white-space:normal;line-height:2.5;font-size:16px;background:#fbfdff;padding:22px;border:1px solid #e1edf5;border-radius:20px;color:#284e75}.hm3320-empty{border:1px dashed #b7d1e8;background:#f6fbff;border-radius:15px;padding:22px;color:#64809d}
.hm3320-exams{display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:12px}.hm3320-exams article{display:flex;flex-direction:column;gap:9px;border:1px solid #cfe3f4;border-radius:17px;background:#f8fcff;padding:17px}.hm3320-exams b{color:#164e85}.hm3320-exams span{color:#7187a0;font-size:13px}.hm3320-exams a{margin-top:auto;align-self:flex-start;text-decoration:none;border-radius:13px;background:#1269b6;color:white;padding:8px 16px}
.hm3320-practice{display:grid;gap:20px}.hm3320-question{padding:20px;border-radius:21px;border:1px solid #ccdeef;background:#fcfeff}.hm3320-question b{color:#147ab0}.hm3320-question h3{font-size:18px!important;color:#14395e!important;line-height:2;margin:10px 0!important}.hm3320-question fieldset{border:0;padding:0;display:grid;gap:7px}.hm3320-question label{display:flex;gap:9px;align-items:center;border:1px solid #d7e7f4;background:#fff;padding:8px 12px;border-radius:11px;cursor:pointer}.hm3320-question label:has(input:checked){border-color:#47a3dd;background:#ecf8ff}.hm3320-question .hm-button{border-radius:13px;background:#1569b1;color:white;padding:9px 19px;margin-top:12px}.hm3320-feedback{font-weight:900;color:#9b4d1b}.hm3320-feedback.hm3320-correct{color:#0d8568}.hm3320-question details{margin-top:14px;padding:12px;border:1px solid #d8e9f1;border-radius:13px;background:#f6fbff}.hm3320-question summary{cursor:pointer;font-weight:900}.hm3320-pagination{display:flex;gap:8px;margin:16px 0}.hm3320-pagination a{text-decoration:none;padding:5px 12px;background:white;border:1px solid #bfd6e8;border-radius:11px}.hm3320-pagination a[aria-current=page]{background:#1c6bb0;color:white}
.hm3320-main>footer{text-align:center;color:#7088a4;font-weight:850;margin-top:40px;font-size:13px}
.hm3320-admin{max-width:1350px;margin:16px 20px}.hm3320-admin-hero{background:linear-gradient(125deg,#104b88,#117b9c);color:white;border-radius:24px;padding:25px 28px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.hm3320-admin-hero span{font-weight:900;color:#b4e6f8}.hm3320-admin-hero h1{color:#fff!important;font-size:27px!important;margin:7px 0!important}.hm3320-admin-hero p{color:#e4f6ff}.hm3320-admin-tabs{display:flex;gap:10px;margin:18px 0 20px}.hm3320-admin-tabs a{border:1px solid #c1d6e8;background:white;border-radius:13px;text-decoration:none;padding:10px 18px;color:#134f83;font-weight:900}.hm3320-admin-tabs a[aria-current=page]{background:#126cb6;border-color:#126cb6;color:white}
.hm3320-admin>h2{font-size:23px!important;color:#174b7d!important}.hm3320-box{background:#fff;border:1px solid #dae7f1;border-radius:22px;padding:24px;margin:18px 0;box-shadow:0 13px 27px #1345750f}.hm3320-box>h3{margin-top:0!important;font-size:21px!important;color:#174b80!important}.hm3320-box>p{color:#627c97;font-size:14px}.hm3320-box small{color:#788ca0}.hm3320-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:15px 0}.hm3320-form label{display:grid;gap:4px;font-weight:800;min-width:160px}.hm3320-form :is(input,select){min-width:160px;min-height:40px;border:1px solid #bed3e7;border-radius:9px}.hm3320-form button{min-height:40px}.hm3320-inline{display:flex!important;align-items:center;gap:8px}.hm3320-inline input{min-width:0;min-height:0}.hm3320-admin-lessons{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:11px}.hm3320-admin-lessons article{display:grid;gap:4px;background:#f5faff;border:1px solid #cfdef0;border-radius:14px;padding:15px}.hm3320-admin-lessons strong{color:#12518c}.hm3320-admin-lessons small{color:#6a83a1}
@media(max-width:700px){.hm3320-main{width:calc(100% - 20px)}.hm3320-hero{padding:23px 17px;border-radius:22px}.hm3320-hero h1{font-size:24px!important}.hm3320-lessons{grid-template-columns:1fr}.hm3320-workspace{padding:15px;border-radius:18px}.hm3320-hero-tags span{font-size:11px}.hm3320-admin{margin:10px}.hm3320-admin-hero{padding:22px}.hm3320-admin-hero h1{font-size:21px!important}.hm3320-box{padding:17px}.hm3320-form{display:grid;grid-template-columns:1fr}.hm3320-form :is(input,select){width:100%}}
