/* Hamyar Movafagh 3.3.16 · RTL, modern accessible student / administrative surfaces */
@font-face{font-family:HM3316Vazir;src:url('fonts/vazirmatn.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:is(.hm3316-free-page,.hm3316-rewards-page,.hm3316-alerts,.hm3316-motivation,.hm3316-free-portal,.hm-paper-page,.hm3316-report-banner){font-family:HM3316Vazir,Vazirmatn,Tahoma,sans-serif}
.hm3316-negative-policy,.hm3316-share-special{background:linear-gradient(125deg,#e9f5ff,#f7fbff);border:1px solid #b7d6f6;border-right:5px solid #096dc1;border-radius:14px;padding:14px 18px;color:#123e73;font-weight:750;margin:12px 0}
.hm3316-share-special{display:grid;gap:10px}.hm3316-share-special input{width:100%;padding:13px!important;direction:ltr;text-align:left;border-radius:10px}
.hm3316-free-portal{max-width:860px;margin:32px auto;padding:0 18px}.hm3316-free-portal>.hm-card{padding:clamp(20px,5vw,45px)!important;border-radius:25px!important;border:1px solid #c3dcf6;box-shadow:0 15px 45px #114c8b1f;background:linear-gradient(145deg,#f3faff,#fff 56%,#eff7ff)}
.hm3316-free-portal h1{font-size:clamp(1.5rem,4vw,2.4rem)!important;color:#093e78!important;line-height:1.7}.hm3316-kicker{display:inline-flex;padding:8px 16px;border-radius:99px;color:#fff;background:#0e68ba;font-weight:900;font-size:.86rem}
.hm3316-free-meta{display:flex;flex-wrap:wrap;gap:9px;margin:22px 0}.hm3316-free-meta span{border-radius:12px;padding:9px 13px;background:#e8f2ff;border:1px solid #d2e6fc;color:#164f85;font-weight:750}
.hm3316-free-portal .hm-button{padding:13px 24px;background:linear-gradient(105deg,#0756a9,#1496d5)!important;box-shadow:0 8px 20px #0965af35}
.hm3316-alerts{background:linear-gradient(130deg,#effaff,#fafdff)!important;border:1px solid #a8d9f4!important;border-radius:23px!important;box-shadow:0 10px 25px #176a9b18;margin:17px 0!important}
.hm3316-alert-heading>span{color:#0a77bf;font-weight:900}.hm3316-alert-heading h2{margin:7px 0;color:#103b6e}.hm3316-alert-heading p{color:#587391}
.hm3316-alert-card{margin:13px 0;background:#fff;border:1px solid #c9e2f5;border-radius:17px;padding:15px;display:flex;align-items:center;justify-content:space-between;gap:16px;box-shadow:0 5px 14px #1672af12}
.hm3316-alert-card>div{display:grid;gap:5px;min-width:0}.hm3316-alert-card strong{color:#0c417a;font-size:1.07rem}.hm3316-alert-card small{color:#637b91}.hm3316-alert-card [data-hm3316-clock]{font-weight:900;color:#af6627;font-variant-numeric:tabular-nums;font-size:.9rem}
.hm3316-alert-card.hm3316-active{border-color:#37b88c;background:#f1fff8}.hm3316-alert-card.hm3316-active [data-hm3316-clock]{color:#08794f}
.hm3316-alert-card.hm3316-ended{opacity:.75}.hm3316-alerts a:not(.hm-button){color:#0d69bb;font-weight:800}
.hm3316-motivation{border:1px solid #c7dbf5!important;border-radius:23px!important;background:linear-gradient(140deg,#fcfdff,#ebf6ff)!important;box-shadow:0 14px 30px #094b9114}
.hm3316-motivation-title>span{font-weight:850;color:#0967b1}.hm3316-motivation-title h2{font-size:1.3rem;margin:8px 0 17px;color:#133c73}
.hm3316-score-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin:14px 0 18px}.hm3316-score-grid>div{background:#fff;border:1px solid #cfe0f3;border-radius:15px;padding:15px;display:flex;flex-direction:column;align-items:center;gap:5px}
.hm3316-score-grid strong{font-size:1.6rem;line-height:1.3;font-weight:950;color:#074e96}.hm3316-score-grid span{color:#58718b;font-size:.79rem;text-align:center}
.hm3316-earned{background:#e6faf2;border:1px solid #b0e8d0;border-radius:17px;padding:13px 16px}.hm3316-earned strong{font-size:1.3rem;letter-spacing:1.4px;color:#116447}
.hm3316-award-form{display:flex;align-items:end;flex-wrap:wrap;gap:8px}.hm3316-award-form label{font-size:.8rem;font-weight:800;display:grid;gap:5px}.hm3316-award-form input{width:136px;min-height:33px}.hm3316-rewards-page .hm-card{margin:18px 0;padding:23px}.hm3316-rewards-page .hm-table{overflow-x:auto}.hm3316-rewards-page th{background:#0e4c85;color:white}.hm3316-rewards-page table td{padding:12px 10px;vertical-align:middle}.hm3316-rewards-page tr:nth-child(even){background:#f1f7fd}
/* Official report: prestige without the question sheet */
.hm3315-report-page.hm-paper-page{background:radial-gradient(circle at 80% -100px,#d0e8ff,transparent 60%),#edf3fa!important}
.hm3315-report-page .hm-main{max-width:1100px;padding:28px 20px 58px}
.hm3315-report-page .hm3315-report-hero{background:linear-gradient(128deg,#092448,#123e75 67%,#0f638c)!important;border:2px solid #e1b64e!important;box-shadow:0 20px 35px #103c791c!important;border-radius:26px!important;position:relative}
.hm3315-report-page .hm3315-report-hero:before{content:'';position:absolute;inset:9px;border-radius:20px;border:1px solid #f1d18c77;pointer-events:none}
.hm3315-report-page .hm3315-report-hero>span{color:#f5d68e!important;letter-spacing:.3px}
.hm3315-report-page .hm3315-report-hero h1{color:#fff!important;font-weight:950!important}.hm3315-report-page .hm3315-report-hero p{color:#e4efff!important}
.hm3315-report-page .hm3315-report-seal{border-color:#eed5a3!important;background:#ffffff17!important;color:#f3d992!important}
.hm3315-report-page .hm-report{border:1px solid #c3d5e8!important;box-shadow:0 16px 32px #1e49801b;border-radius:23px!important;padding:clamp(17px,3vw,30px)!important;background:#fff}
.hm3315-report-page .hm-report-masthead{border:none!important;border-radius:17px!important;background:linear-gradient(120deg,#f2f7fd,#e4f1fc)!important;padding:21px!important;position:relative;border-top:5px solid #bb903d!important}
.hm3315-report-page .hm-report-masthead h2{font-size:clamp(1.7rem,3vw,2.35rem)!important;color:#082f5d!important;font-weight:950!important}
.hm3316-report-eyebrow{color:#90712a!important;font-weight:900!important;font-size:.85rem!important;margin:.2rem 0!important}
.hm3316-report-banner{background:#f5f8fc;border-inline-start:4px solid #bb9147;border-radius:10px;padding:11px 15px;margin:15px 0;font-size:.83rem;font-weight:800;color:#455f7c}
.hm3315-report-page .hm-report-facts{background:#f9fcff;border:1px solid #e1ebf5;border-radius:15px;padding:10px;gap:10px}
.hm3315-report-page .hm-report-facts>div{background:white!important;border-radius:12px;border:1px solid #e0ebf7;padding:10px!important}
.hm3315-report-page .hm-330-report-highlights{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px!important;margin:25px 0}
.hm3315-report-page .hm-330-report-highlights>div{background:linear-gradient(140deg,#103a70,#185e9b)!important;border:1px solid #376fa8!important;border-radius:15px!important;padding:16px 9px!important;box-shadow:0 8px 18px #0e427021}
.hm3315-report-page .hm-330-report-highlights :is(dt,dd){color:#fff!important;text-align:center!important}
.hm3315-report-page .hm-330-report-highlights dt{font-size:.8rem!important;opacity:.87}
.hm3315-report-page .hm-330-report-highlights dd{font-size:clamp(1.2rem,2.2vw,2rem)!important;font-weight:950!important}
.hm3315-report-page .hm-result-chart{background:#f4f9ff;border:1px solid #d7e6f6;border-radius:19px;padding:17px!important}
.hm3315-report-page .hm-score-center strong{color:#0c4f91!important;font-weight:950}
.hm3315-report-page .hm-report-extra{background:#f8fbff;border:1px solid #d6e4f5;border-radius:13px;padding:13px}
.hm3315-report-page :is(.hm-report-answer-sheet,.hm-report-review,.hm-report-questions,.hm-sheet){display:none!important}
/* Podium: actual competition rank, including ties. */
.hm-admin .hm-results-podium{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px!important;align-items:stretch}
.hm-admin .hm-results-podium-card{position:relative;overflow:hidden;display:grid!important;grid-template-columns:auto minmax(0,1fr);gap:10px!important;border-radius:23px!important;box-shadow:0 12px 26px #123f7222!important;min-height:155px!important;align-content:center}
.hm-admin .hm-results-podium-card .hm-podium-icon{display:flex;align-items:center;justify-content:center;width:60px;height:65px;border:2px solid #fff7;border-radius:19px;background:#ffffff25;box-shadow:0 6px 12px #03275317;color:inherit!important;font-weight:950;font-size:2.15rem!important}
.hm-admin .hm-results-podium-card>div{display:grid;gap:2px}.hm-admin .hm-results-podium-card>b{grid-column:span 2;text-align:center;font-size:1.6rem!important}
.hm-admin .hm-results-podium-card.hm-results-podium-1{background:linear-gradient(128deg,#082c54,#184f89)!important;border:2px solid #d9b568!important;color:#fff!important}
.hm-admin .hm-results-podium-card.hm-results-podium-2{background:linear-gradient(140deg,#e5effb,#f9fcff)!important;border:2px solid #b2c5dc!important}
.hm-admin .hm-results-podium-card.hm-results-podium-3{background:linear-gradient(145deg,#fff2e7,#fffbf5)!important;border:2px solid #e0b591!important}
.hm-admin .hm-results-podium-card.hm-results-podium-1 :is(small,strong,b){color:white!important}
@media(max-width:700px){.hm3316-alert-card{flex-direction:column;align-items:stretch}.hm3316-score-grid{grid-template-columns:1fr 1fr}.hm3315-report-page .hm-330-report-highlights>div{padding:10px 4px!important}.hm-admin .hm-results-podium{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){.hm3316-alert-card{transition:none}}
@media print{
  .hm3315-report-page.hm-paper-page{background:white!important}
  .hm3315-report-page .hm3315-report-hero{background:#e6effa!important;color:#123b70!important;border-color:#b89143!important;box-shadow:none!important;padding:10px!important;break-inside:avoid}
  .hm3315-report-page .hm3315-report-hero :is(h1,p,span){color:#173861!important}
  .hm3315-report-page .hm-report{border:0!important;padding:7mm!important;box-shadow:none!important}
  .hm3315-report-page .hm-330-report-highlights>div{background:#eaf2fb!important;border-color:#c7d8ef!important;box-shadow:none!important;break-inside:avoid}
  .hm3315-report-page .hm-330-report-highlights :is(dt,dd){color:#153b6c!important}
  .hm3315-report-page :is(.hm-report-actions,.hm-report-extra,.hm-no-print){display:none!important}
  .hm3315-report-page .hm3316-report-banner{color:#364f71!important;border-color:#b89143!important}
  *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
