.tem-result-page{max-width:760px;margin:0 auto}.tem-result-empty{padding:24px;text-align:center;color:#6b7280;border:1px dashed #e5e7eb;border-radius:10px}.tem-result-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.tem-status-badge{padding:6px 14px;border-radius:999px;font-size:.85em;font-weight:600;white-space:nowrap}.tem-status-passed{background:#dcfce7;color:#16a34a}.tem-status-failed{background:#fee2e2;color:#dc2626}.tem-status-waiting{background:#fef3c7;color:#d97706}.tem-status-badge-sm{padding:3px 10px;font-size:.72em;flex-shrink:0}.tem-result-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px}.tem-result-box{display:flex;flex-direction:column;align-items:center;gap:4px;padding:16px 8px;border:1px solid #e5e7eb;border-radius:10px;text-align:center}.tem-result-number{font-size:1.5em;font-weight:700}.tem-result-caption{font-size:.8em;color:#6b7280}.tem-result-notice{padding:12px 16px;background:#fef3c7;color:#92400e;border-radius:8px;margin-bottom:20px;font-size:.9em}.tem-result-breakdown h2{font-size:1.1em;margin-bottom:12px}.tem-result-breakdown-locked{text-align:center;padding:30px 20px}.tem-result-locked-msg{color:#92400e;background:#fef3c7;display:inline-block;padding:12px 20px;border-radius:10px;font-size:.95em;margin:0}.tem-result-row{padding:14px 16px;border:1px solid #e5e7eb;border-right:4px solid #d1d5db;border-radius:8px;margin-bottom:10px}.tem-row-correct{border-right-color:#16a34a}.tem-row-wrong{border-right-color:#dc2626}.tem-row-pending{border-right-color:#d97706}.tem-result-row-head{display:flex;align-items:baseline;gap:10px}.tem-result-row-index{font-weight:700;color:#6b7280}.tem-result-row-text{flex:1;line-height:1.7}.tem-result-row-score{font-size:.85em;color:#6b7280;white-space:nowrap}.tem-result-row-answer,.tem-result-row-correct{margin-top:8px;font-size:.9em}.tem-result-row-correct{color:#16a34a}.tem-result-row-comment{margin-top:8px;padding:8px 10px;background:#eff6ff;border-radius:8px;font-size:.85em;color:#1e40af}.tem-result-row-pending-note{background:#fef3c7;color:#92400e}
.tem-result-page-v25{max-width:1120px!important;margin:30px auto 60px!important;color:#172033;direction:rtl}
.tem-result-hero{position:relative;overflow:hidden;padding:24px 26px 28px;border-radius:28px;background:linear-gradient(135deg,#163c69 0,#3560a0 56%,#4e78ad 100%);color:#fff;box-shadow:0 22px 55px rgba(24,55,92,.18);margin-bottom:18px}
.tem-result-hero:after{content:"";position:absolute;width:330px;height:330px;border-radius:50%;left:-110px;top:-170px;background:rgba(255,255,255,.08);pointer-events:none}
.tem-result-hero-top{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:22px}
.tem-result-eyebrow{font-size:12px;font-weight:800;opacity:.72}.tem-result-download,
.tem-result-back{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border-radius:12px;text-decoration:none!important;font-size:12px;font-weight:800;transition:.2s}
.tem-result-back{color:#fff;border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.09)}
.tem-result-download{color:#163c69;background:#fff;border:1px solid rgba(255,255,255,.7);box-shadow:0 8px 20px rgba(0,0,0,.1)}.tem-result-download:hover,
.tem-result-back:hover{transform:translateY(-2px)}
.tem-result-hero-main{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) 160px 145px;align-items:center;gap:26px}
.tem-result-kicker{display:inline-flex;padding:5px 10px;border-radius:999px;background:rgba(255,255,255,.12);font-size:10px;font-weight:800}
.tem-result-hero-copy h1{margin:10px 0 4px;color:#fff;font-size:25px;line-height:1.35}
.tem-result-hero-copy h2{margin:0;color:rgba(255,255,255,.86);font-size:15px;font-weight:600}
.tem-result-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.tem-result-meta span{display:inline-flex;padding:7px 10px;border-radius:10px;background:rgba(255,255,255,.09);font-size:10px;color:rgba(255,255,255,.84)}
.tem-result-score-ring{width:150px;height:150px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#fff calc(var(--score)*1%),rgba(255,255,255,.13) 0);box-shadow:0 15px 35px rgba(0,0,0,.13);position:relative}
.tem-result-score-ring:before{content:"";position:absolute;inset:10px;border-radius:50%;background:#214f83}
.tem-result-score-ring>div{position:relative;z-index:1;text-align:center;display:flex;flex-direction:column}
.tem-result-score-ring strong{font-size:28px;color:#fff;line-height:1}.tem-result-score-ring small{font-size:10px;color:rgba(255,255,255,.7);margin-top:6px}
.tem-result-status-wrap{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.tem-result-status-wrap small{font-size:10px;color:rgba(255,255,255,.65)}
.tem-result-status-wrap .tem-status-badge{border:1px solid rgba(255,255,255,.18)}
.tem-result-overview-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:0 0 18px}
.tem-result-overview-card{background:#fff;border:1px solid #e8edf4;border-radius:18px;padding:17px 14px;box-shadow:0 8px 24px rgba(30,43,68,.045);min-width:0}
.tem-result-overview-card span{display:block;color:#7c8797;font-size:10px;font-weight:700;margin-bottom:8px}.tem-result-overview-card strong{display:block;color:#26354a;line-height:1.2}.tem-result-overview-card small{display:block;color:#9aa4b1;font-size:9px;margin-top:5px}.tem-result-overview-card.is-main{background:#f2f6fc;border-color:#dce6f3}.tem-result-overview-card.is-good{border-top:3px solid #18a66b}.tem-result-overview-card.is-bad{border-top:3px solid #e05262}
.tem-result-performance{background:#fff;border:1px solid #e8edf4;border-radius:20px;padding:18px 20px;margin-bottom:20px;box-shadow:0 8px 24px rgba(30,43,68,.045)}
.tem-result-performance-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.tem-result-performance-head span{display:block;color:#8b96a5;font-size:10px}.tem-result-performance-head strong{display:block;color:#26354a;font-size:14px;margin-top:3px}.tem-result-performance-head>b{padding:7px 10px;background:#f5f7fa;color:#657184;border-radius:9px;font-size:10px}
.tem-result-performance-bar{display:flex;height:15px;overflow:hidden;border-radius:999px;background:#edf1f5;margin-top:15px}.tem-result-performance-bar i{display:block;height:100%;min-width:2px}.tem-result-performance-bar .is-correct,.tem-result-performance-legend .is-correct{background:#19a974}.tem-result-performance-bar .is-wrong,.tem-result-performance-legend .is-wrong{background:#e05262}.tem-result-performance-bar .is-empty,.tem-result-performance-legend .is-empty{background:#cbd3dd}
.tem-result-performance-legend{display:flex;gap:18px;flex-wrap:wrap;margin-top:10px}.tem-result-performance-legend span{font-size:10px;color:#758091;display:inline-flex;align-items:center;gap:6px}.tem-result-performance-legend i{width:8px;height:8px;border-radius:50%;display:inline-block}
.tem-result-page-v25 .tem-result-summary{grid-template-columns:repeat(4,1fr);gap:12px}.tem-result-page-v25 .tem-result-breakdown{background:#fff;border:1px solid #e8edf4;box-shadow:0 8px 24px rgba(30,43,68,.045);margin-bottom:20px}.tem-result-page-v25 .tem-result-breakdown h2{margin-top:0;color:#26354a}.tem-result-page-v25 .tem-result-row{background:#fbfcfe;border-color:#e7ebf1;border-right-width:4px;border-radius:14px;padding:14px 15px}.tem-result-page-v25 .tem-analysis-section{background:#fff;border:1px solid #e8edf4;box-shadow:0 8px 24px rgba(30,43,68,.045)}
.tem-result-footer-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:18px}.tem-result-back-large,.tem-result-download-large{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:12px;text-decoration:none!important;font-size:12px;font-weight:800}.tem-result-back-large{background:#fff;border:1px solid #dfe6ee;color:#536174}.tem-result-download-large{background:linear-gradient(135deg,#3560a0,#4b78b7);color:#fff;box-shadow:0 10px 22px rgba(53,96,160,.2)}.tem-result-hero-main{grid-template-columns:minmax(0,1fr) 120px}.tem-result-status-wrap{grid-column:1/-1;align-items:flex-start;grid-column:1/-1}.tem-result-overview-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tem-result-hero{padding:16px;border-radius:20px}.tem-result-hero-top{margin-bottom:16px}.tem-result-eyebrow{display:none}.tem-result-back,.tem-result-download{min-height:36px;padding:0 10px;font-size:10px}.tem-result-hero-main{grid-template-columns:1fr 92px;gap:14px}.tem-result-hero-copy h1{font-size:20px}.tem-result-hero-copy h2{font-size:13px}.tem-result-meta{gap:5px}.tem-result-meta span{font-size:8px;padding:6px 7px}.tem-result-score-ring{width:92px;height:92px}.tem-result-score-ring:before{inset:7px}.tem-result-score-ring strong{font-size:19px}.tem-result-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tem-result-overview-card{padding:13px 11px;border-radius:14px}.tem-result-overview-card strong{font-size:19px}.tem-result-page-v25 .tem-analysis-section,.tem-result-page-v25 .tem-result-breakdown,.tem-result-performance{padding:14px;border-radius:16px}.tem-result-row-head{flex-wrap:wrap}.tem-result-row-score{margin-right:auto}.tem-result-footer-actions{display:grid;grid-template-columns:1fr;gap:8px}.tem-result-back-large,.tem-result-download-large{width:100%}.tem-choice-review-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-bottom:10px}.tem-choice-review-head span{font-size:12px;font-weight:900;color:#26354a}.tem-choice-review-head small{font-size:9px;color:#8a96a6}.tem-choice-review-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tem-choice-review-option{display:flex;align-items:center;gap:9px;min-width:0;padding:10px 11px;border:1px solid #e5eaf0;border-radius:12px;background:#fbfcfe}.tem-choice-review-circle{width:28px;height:28px;flex:0 0 28px;border-radius:50%;display:grid;place-items:center;background:#eef2f6;color:#697689;font-size:10px;font-weight:900}.tem-choice-review-label{min-width:0;flex:1;font-size:11px;color:#3d4b5e;line-height:1.6;overflow-wrap:anywhere}.tem-choice-review-mark{font-size:8px;white-space:nowrap}.tem-choice-review-option.is-correct{background:#effaf5;border-color:#a9e2ca}.tem-choice-review-option.is-correct .tem-choice-review-circle{background:#18a66b;color:#fff}.tem-choice-review-option.is-correct .tem-choice-review-label,.tem-choice-review-option.is-correct .tem-choice-review-mark{color:#087c61}.tem-choice-review-option.is-wrong{background:#fff3f4;border-color:#f2b7bd}.tem-choice-review-option.is-wrong .tem-choice-review-circle{background:#e05262;color:#fff}.tem-choice-review-option.is-wrong .tem-choice-review-label,.tem-choice-review-option.is-wrong .tem-choice-review-mark{color:#c53b4b}.tem-choice-review-note{margin-top:10px;padding:9px 11px;border-radius:10px;background:#fff7e8;color:#8a5a00;font-size:10px;line-height:1.7}@media(max-width:620px){.tem-choice-review{padding:11px;border-radius:14px}.tem-choice-review-head{display:block}.tem-choice-review-head small{display:block;margin-top:4px}.tem-choice-review-list{grid-template-columns:1fr}.tem-choice-review-option{padding:9px}.tem-choice-review-label{font-size:10px}}
/* ==========================================================
   Result Dashboard V26 — polished student result experience
   ========================================================== */
.tem-result-page-v25{max-width:1180px!important;margin:26px auto 60px!important;padding:0 10px;}
.tem-result-page-v25{background:linear-gradient(180deg,#fbfcff 0,#f7f8fc 100%);}
.tem-result-page-v25 .tem-result-hero{background:rgba(255,255,255,.96);color:#17233b;border:1px solid #e8edf5;box-shadow:0 18px 50px rgba(46,62,95,.07);padding:24px 28px 26px;border-radius:28px;}
.tem-result-page-v25 .tem-result-hero:after{background:radial-gradient(circle,rgba(111,76,232,.08),transparent 68%);left:-80px;top:-180px;width:360px;height:360px;}
.tem-result-page-v25 .tem-result-hero-top{margin-bottom:18px;}
.tem-result-page-v25 .tem-result-eyebrow{color:#69748a;opacity:1;font-weight:900;}
.tem-result-page-v25 .tem-result-back{color:#536174;background:#f6f8fc;border-color:#e5eaf2;}
.tem-result-page-v25 .tem-result-download{color:#fff;background:linear-gradient(135deg,#6948e8,#8a5cf5);border:0;box-shadow:0 10px 24px rgba(105,72,232,.2);}
.tem-result-page-v25 .tem-result-hero-main{grid-template-columns:minmax(0,1fr) 150px 135px;gap:26px;}
.tem-result-page-v25 .tem-result-kicker{background:#f1edff;color:#6948e8;}
.tem-result-page-v25 .tem-result-hero-copy h1{color:#18233a;font-size:27px;margin:9px 0 5px;}
.tem-result-page-v25 .tem-result-hero-copy h2{color:#5e6b81;}
.tem-result-page-v25 .tem-result-meta span{background:#f6f8fb;color:#68748a;border:1px solid #edf0f5;}
.tem-result-page-v25 .tem-result-score-ring{background:conic-gradient(#7650ec calc(var(--score)*1%),#eceaf8 0);box-shadow:0 12px 30px rgba(99,75,210,.13);}
.tem-result-page-v25 .tem-result-score-ring:before{background:#fff;box-shadow:inset 0 0 0 1px #eeeaf8;}
.tem-result-page-v25 .tem-result-score-ring strong{color:#17233b;}.tem-result-page-v25 .tem-result-score-ring small{color:#8791a2;}
.tem-result-page-v25 .tem-result-status-wrap{align-items:flex-start;}.tem-result-page-v25 .tem-result-status-wrap small{color:#8b95a7;}

.tem-result-v26-grid{display:grid;grid-template-columns:235px minmax(0,1fr);gap:14px;direction:ltr;margin:0 0 16px;}
.tem-result-v26-grid>*{direction:rtl;}
.tem-result-score-panel,.tem-result-v26-main{background:#fff;border:1px solid #e8edf5;border-radius:22px;box-shadow:0 12px 34px rgba(40,54,85,.055);}
.tem-result-score-panel{padding:20px 18px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;}
.tem-result-score-title{font-size:13px;font-weight:900;color:#26344b;margin-bottom:10px;}
.tem-result-score-ring-v26{width:152px;height:152px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#7650ec calc(var(--score)*1%),#eceaf8 0);position:relative;margin:4px auto 12px;box-shadow:0 12px 30px rgba(99,75,210,.12);}
.tem-result-score-ring-v26:before{content:"";position:absolute;inset:12px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 1px #eeeaf8;}
.tem-result-score-ring-v26>div{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;}
.tem-result-score-ring-v26 strong{font-size:34px;line-height:1;color:#17233b;}.tem-result-score-ring-v26 small{font-size:10px;color:#8791a2;margin-top:7px;}
.tem-result-score-status{font-size:13px;font-weight:900;color:#17a86b;}.tem-result-score-status span{font-size:10px;margin-left:5px;}
.tem-result-score-panel>p{font-size:10px;color:#8a94a5;margin:18px 0 3px;}.tem-result-rank-v26{font-size:25px;color:#25344b;}.tem-result-rank-v26 small{font-size:9px;color:#8993a4;font-weight:700;}
.tem-result-compare-v26{width:100%;margin-top:15px;padding:11px;border-radius:14px;background:linear-gradient(135deg,#f5f8ff,#fbfbff);display:grid;grid-template-columns:1fr auto;gap:0 8px;text-align:right;}.tem-result-compare-v26 span,.tem-result-compare-v26 small{font-size:9px;color:#778398;}.tem-result-compare-v26 strong{grid-row:span 2;align-self:center;font-size:22px;color:#426fd2;}.tem-result-compare-v26 small{grid-column:1;}
.tem-result-v26-main{padding:18px;min-width:0;}
.tem-result-v26-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;}.tem-result-v26-heading span{display:block;color:#7d8798;font-size:10px;}.tem-result-v26-heading h2{margin:3px 0 0;font-size:16px;color:#25344b;}.tem-result-v26-heading>b{padding:8px 11px;border-radius:10px;background:#f4f6fa;color:#677388;font-size:10px;}
.tem-result-v26-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;}.tem-result-v26-metrics>div{min-width:0;padding:13px 12px;border:1px solid #edf0f5;border-radius:15px;background:#fff;box-shadow:0 6px 18px rgba(40,54,85,.035);}.tem-result-v26-metrics span{display:block;font-size:9px;color:#7c8798;font-weight:800;}.tem-result-v26-metrics strong{display:block;font-size:21px;color:#26354b;margin-top:9px;line-height:1.2;}.tem-result-v26-metrics strong small{font-size:9px;color:#8993a4;}.tem-result-v26-metrics em{display:block;font-style:normal;font-size:8px;color:#a0a8b5;margin-top:5px;}.tem-result-v26-metrics .good{border-top:3px solid #19ad76;background:#fbfffd}.tem-result-v26-metrics .good span,.tem-result-v26-metrics .good strong{color:#149765}.tem-result-v26-metrics .bad{border-top:3px solid #e65a69;background:#fffafb}.tem-result-v26-metrics .bad span,.tem-result-v26-metrics .bad strong{color:#d64c5c;}
.tem-result-v26-charts{display:grid;grid-template-columns:1fr 1.35fr 1.15fr;gap:9px;margin-top:12px;}.tem-result-v26-chart-card{min-width:0;border:1px solid #edf0f5;border-radius:16px;padding:12px;background:#fff;min-height:205px;}.tem-v26-chart-head{display:flex;justify-content:space-between;gap:8px;align-items:baseline;margin-bottom:7px;}.tem-v26-chart-head span{font-size:10px;font-weight:900;color:#2c394f;}.tem-v26-chart-head small{font-size:8px;color:#9aa3b1;}.tem-result-v26-chart-card canvas{width:100%!important;height:155px!important;}
.tem-result-v26-insights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:10px;}.tem-result-v26-insights>div{padding:12px 13px;border-radius:14px;background:#f9fafc;border:1px solid #edf0f5;}.tem-result-v26-insights span{display:block;font-size:9px;color:#768196;font-weight:800;}.tem-result-v26-insights strong{display:block;font-size:12px;color:#2a374d;margin-top:7px;}.tem-result-v26-insights small{display:block;font-size:8px;color:#969faf;margin-top:3px;}.tem-result-v26-insights .is-good{background:#effaf5;border-color:#d2f0e2}.tem-result-v26-insights .is-good span,.tem-result-v26-insights .is-good strong{color:#138f64}.tem-result-v26-insights .is-bad{background:#fff4f4;border-color:#f5d9dc}.tem-result-v26-insights .is-bad span,.tem-result-v26-insights .is-bad strong{color:#cf4e5d;}
.tem-result-page-v25 .tem-result-summary{background:#fff;border:1px solid #e8edf5;border-radius:20px;padding:15px;box-shadow:0 10px 28px rgba(40,54,85,.045);}
.tem-result-page-v25 .tem-analysis-section{border-radius:22px!important;padding:18px!important;background:#fff!important;}
.tem-result-page-v25 .tem-analysis-highlights{grid-template-columns:repeat(3,minmax(0,1fr));}

/* Dashboard: stronger «مشاهده آزمون» CTA */
.tsp-next-exam-footer .tsp-view-exam-btn{position:relative;display:inline-flex!important;align-items:center;justify-content:center;gap:10px;min-width:145px;padding:11px 14px!important;border-radius:14px!important;color:#fff!important;text-decoration:none!important;background:linear-gradient(135deg,#6948e8,#8b5cf6)!important;box-shadow:0 10px 24px rgba(105,72,232,.22)!important;font-size:10px!important;font-weight:900!important;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease!important;}
.tsp-next-exam-footer .tsp-view-exam-btn:before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,transparent 25%,rgba(255,255,255,.24) 48%,transparent 70%);transform:translateX(-120%);transition:transform .55s ease;}.tsp-next-exam-footer .tsp-view-exam-btn:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(105,72,232,.28)!important;}.tsp-next-exam-footer .tsp-view-exam-btn:hover:before{transform:translateX(120%);}.tsp-next-exam-footer .tsp-view-exam-btn i{font-style:normal;width:24px;height:24px;border-radius:8px;display:grid;place-items:center;background:rgba(255,255,255,.16);font-size:13px;}

@media(max-width:900px){.tem-result-v26-grid{grid-template-columns:1fr;}.tem-result-score-panel{padding:17px;}.tem-result-score-ring-v26{width:128px;height:128px;}.tem-result-score-ring-v26:before{inset:10px;}.tem-result-v26-charts{grid-template-columns:1fr 1fr;}.tem-result-v26-chart-card:last-child{grid-column:1/-1;}.tem-result-page-v25 .tem-result-hero-main{grid-template-columns:1fr 120px;}.tem-result-page-v25 .tem-result-status-wrap{grid-column:1/-1;}.tem-result-v26-metrics{grid-template-columns:repeat(2,1fr);}}
@media(max-width:620px){.tem-result-page-v25{padding:0 5px;margin-top:12px!important;}.tem-result-page-v25 .tem-result-hero{padding:16px;border-radius:20px;}.tem-result-page-v25 .tem-result-hero-main{grid-template-columns:1fr 88px;gap:10px;}.tem-result-page-v25 .tem-result-score-ring{width:88px;height:88px;}.tem-result-page-v25 .tem-result-score-ring:before{inset:7px;}.tem-result-page-v25 .tem-result-score-ring strong{font-size:19px;}.tem-result-v26-main{padding:12px;}.tem-result-v26-metrics{grid-template-columns:1fr 1fr;gap:7px;}.tem-result-v26-metrics>div{padding:11px 9px;}.tem-result-v26-charts{grid-template-columns:1fr;}.tem-result-v26-chart-card:last-child{grid-column:auto;}.tem-result-v26-insights{grid-template-columns:1fr;}.tem-result-score-panel{border-radius:18px;}.tem-result-v26-heading h2{font-size:14px;}.tem-result-v26-heading>b{font-size:8px;}.tsp-next-exam-footer .tsp-view-exam-btn{width:100%;min-width:0;}.tem-result-page-v25 .tem-analysis-highlights{grid-template-columns:1fr;}}

/* ==========================================================
   V62 — Result hero polish + optional question subject system
   ========================================================== */
.tem-result-page-v25 .tem-result-hero{min-height:0!important;position:relative!important;background:linear-gradient(135deg,#ffffff 0%,#f8f6ff 54%,#f3fbff 100%)!important;border:1px solid #e6eaf4!important;overflow:hidden!important;}
.tem-result-page-v25 .tem-result-hero:before{content:"";position:absolute;inset:auto -80px -140px auto;width:360px;height:360px;border-radius:50%;background:radial-gradient(circle,rgba(105,72,232,.14),rgba(105,72,232,0) 68%);pointer-events:none;}
.tem-result-page-v25 .tem-result-hero-top{position:relative!important;z-index:3!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;}
.tem-result-page-v25 .tem-result-hero-actions{position:relative;z-index:3;display:flex;align-items:center;gap:8px;margin:0 0 14px;}
.tem-result-page-v25 .tem-result-quick-link,.tem-result-page-v25 .tem-result-quick-badge{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 11px;border-radius:10px;font-size:9px;font-weight:900;text-decoration:none!important;}
.tem-result-page-v25 .tem-result-quick-link{color:#6545dc;background:#f1edff;border:1px solid #e4dcff;}
.tem-result-page-v25 .tem-result-quick-badge{color:#3975b8;background:#edf7ff;border:1px solid #dceefb;}
.tem-result-page-v25 .tem-result-hero-main{position:relative!important;z-index:2!important;display:grid!important;grid-template-columns:minmax(0,1fr) 150px!important;gap:28px!important;align-items:center!important;}
.tem-result-page-v25 .tem-result-status-wrap{grid-column:1/-1!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;padding-top:4px!important;}
.tem-result-page-v25 .tem-result-status-wrap small{font-size:9px!important;}
.tem-result-page-v25 .tem-result-hero-copy{min-width:0!important;}
.tem-result-page-v25 .tem-result-hero-copy h1{font-size:30px!important;letter-spacing:-.4px!important;}
.tem-result-page-v25 .tem-result-meta{max-width:100%!important;}
.tem-result-page-v25 .tem-result-meta .tem-result-subject-meta{background:linear-gradient(135deg,#f2efff,#f7f4ff)!important;color:#6849df!important;border-color:#e6ddff!important;font-weight:900!important;}
.tem-result-page-v25 .tem-result-meta .tem-result-subject-meta.is-muted{color:#8b94a3!important;background:#f7f8fa!important;border-color:#edf0f4!important;font-weight:700!important;}
.tem-result-page-v25 .tem-result-score-ring{justify-self:end!important;}
.tem-result-page-v25 #tem-result-breakdown{scroll-margin-top:20px;}

/* Question editor: optional lesson / subject */
.tem-question-lesson-field{max-width:720px;padding:14px 16px;border:1px solid #e6eaf2;border-radius:16px;background:linear-gradient(180deg,#fbfcff,#fff);box-shadow:0 8px 22px rgba(35,48,72,.045);}
.tem-question-lesson-title{display:flex;flex-direction:column;gap:4px;margin-bottom:10px;}
.tem-question-lesson-title>span{font-size:12px;font-weight:900;color:#263247;}
.tem-question-lesson-title small{font-size:10px;color:#8b95a5;line-height:1.8;}
.tem-optional-label{display:inline-flex;align-items:center;margin-right:5px;padding:2px 7px;border-radius:999px;background:#f1edff;color:#6b4bd8;font-size:8px;font-weight:800;}
.tem-question-lesson-control{display:flex;align-items:center;gap:7px;direction:rtl;}
.tem-question-lesson-control .tem-lesson-input{width:100%;min-height:42px;border-radius:12px!important;border:1px solid #dfe4ee!important;padding:0 12px!important;box-shadow:none!important;}
.tem-question-lesson-control .tem-lesson-input:focus{border-color:#8a6cf0!important;box-shadow:0 0 0 3px rgba(105,72,232,.10)!important;outline:0!important;}
.tem-clear-lesson{width:38px;height:38px;border-radius:10px!important;padding:0!important;font-size:18px!important;color:#7c8798!important;}
.tem-lesson-hint{display:flex;align-items:center;gap:5px;margin-top:8px;font-size:9px;color:#8791a1;}
.tem-lesson-hint span{width:17px;height:17px;border-radius:50%;display:grid;place-items:center;background:#eaf9f2;color:#159665;font-weight:900;}
.tem-question-bank-lesson-filter{min-width:145px;}

@media(max-width:700px){
  .tem-result-page-v25 .tem-result-hero-main{grid-template-columns:1fr 90px!important;gap:12px!important;}
  .tem-result-page-v25 .tem-result-hero-copy h1{font-size:22px!important;}
  .tem-result-page-v25 .tem-result-score-ring{width:90px!important;height:90px!important;}
  .tem-result-page-v25 .tem-result-hero-actions{flex-wrap:wrap;}
}
@media(max-width:480px){
  .tem-result-page-v25 .tem-result-hero-main{grid-template-columns:1fr!important;}
  .tem-result-page-v25 .tem-result-score-ring{justify-self:start!important;}
  .tem-result-page-v25 .tem-result-status-wrap{flex-wrap:wrap!important;}
  .tem-result-page-v25 .tem-result-meta span{max-width:100%;}
  .tem-question-lesson-field{padding:12px;}
}

.tem-result-page-v25 .tem-result-row-lesson{display:inline-flex;align-items:center;gap:4px;padding:5px 8px;border-radius:999px;background:#f2efff;color:#6545dc;border:1px solid #e5ddff;font-size:8px;font-weight:900;white-space:nowrap;}
@media(max-width:620px){.tem-result-page-v25 .tem-result-row-lesson{order:3;width:max-content;max-width:100%;}.tem-result-page-v25 .tem-result-row-head{align-items:center;}}

/* V63 — full-width desktop result page + real browser PDF workflow */
.tem-result-page-v25{width:100%!important;max-width:none!important;margin:0!important;padding:24px clamp(16px,2.4vw,40px) 60px!important;box-sizing:border-box!important;}
.tem-result-page-v25 > *{max-width:none!important;}
.tem-result-page-v25 .tem-result-hero,.tem-result-page-v25 .tem-result-v26-grid,.tem-result-page-v25 .tem-result-breakdown,.tem-result-page-v25 .tem-analysis-section,.tem-result-page-v25 .tem-result-footer-actions{width:100%!important;box-sizing:border-box!important;}
.tem-result-page-v25 .tem-result-v26-grid{grid-template-columns:minmax(260px,320px) minmax(0,1fr)!important;}
.tem-result-page-v25 .tem-result-print-btn{cursor:pointer!important;}
.tem-result-page-v25 .tem-result-download-large{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 20px;border-radius:15px;text-decoration:none!important;font-weight:900;background:linear-gradient(135deg,#6948e8,#8b5cf6);color:#fff!important;box-shadow:0 12px 28px rgba(105,72,232,.22);transition:.2s ease;}
.tem-result-page-v25 .tem-result-download-large:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(105,72,232,.28);}
@media(min-width:1400px){.tem-result-page-v25{padding-left:3vw!important;padding-right:3vw!important}.tem-result-page-v25 .tem-result-hero{padding-left:38px!important;padding-right:38px!important}}
@media print{
  @page{size:A4 portrait;margin:10mm;}
  html,body{background:#fff!important;overflow:visible!important;}
  body *{visibility:visible!important;}
  .tem-result-page-v25{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:#fff!important;box-shadow:none!important;}
  .tem-result-page-v25 .tem-result-hero,.tem-result-page-v25 .tem-result-v26-grid,.tem-result-page-v25 .tem-result-breakdown,.tem-result-page-v25 .tem-analysis-section,.tem-result-page-v25 .tem-result-footer-actions{break-inside:auto;box-shadow:none!important;}
  .tem-result-page-v25 .tem-result-back,.tem-result-page-v25 .tem-result-download,.tem-result-page-v25 .tem-result-quick-link,.tem-result-page-v25 .tem-result-footer-actions a{display:none!important;}
  .tem-result-page-v25 .tem-result-hero{print-color-adjust:exact;-webkit-print-color-adjust:exact;}
  .tem-result-page-v25 .tem-result-row,.tem-result-page-v25 .tem-analysis-card,.tem-result-page-v25 .tem-chart-card{break-inside:avoid;}
  .tem-result-page-v25 canvas{max-width:100%!important;}
}

/* V63 — print only the complete result page, not the surrounding WordPress theme */
@media(min-width:901px){
  .tem-result-page-v25{
    width:100vw!important;
    max-width:100vw!important;
    margin-left:calc(50% - 50vw)!important;
    margin-right:calc(50% - 50vw)!important;
  }
}
@media print{
  body *{visibility:hidden!important;}
  .tem-result-page-v25,
  .tem-result-page-v25 *{visibility:visible!important;}
  .tem-result-page-v25{
    position:absolute!important;
    top:0!important;
    left:0!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    background:#fff!important;
  }
  .tem-result-page-v25 .tem-result-hero,
  .tem-result-page-v25 .tem-result-v26-grid,
  .tem-result-page-v25 .tem-result-breakdown,
  .tem-result-page-v25 .tem-analysis-section,
  .tem-result-page-v25 .tem-result-footer-actions{width:100%!important;}
}

/* V64 — mobile result layout fix: the V63 desktop grid must never override mobile stacking */
@media (max-width:900px){
  .tem-result-page-v25 .tem-result-v26-grid{
    grid-template-columns:1fr!important;
    width:100%!important;
    min-width:0!important;
  }
  .tem-result-page-v25 .tem-result-score-panel,
  .tem-result-page-v25 .tem-result-v26-main{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
}
@media (max-width:620px){
  .tem-result-page-v25{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
    padding:10px 8px 34px!important;
  }
  .tem-result-page-v25 .tem-result-hero,
  .tem-result-page-v25 .tem-result-v26-grid,
  .tem-result-page-v25 .tem-result-breakdown,
  .tem-result-page-v25 .tem-analysis-section,
  .tem-result-page-v25 .tem-result-footer-actions{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  .tem-result-page-v25 .tem-result-v26-main{padding:12px!important;overflow:hidden!important;}
  .tem-result-page-v25 .tem-result-v26-heading{align-items:flex-start!important;}
  .tem-result-page-v25 .tem-result-v26-heading h2{font-size:15px!important;line-height:1.5!important;}
  .tem-result-page-v25 .tem-result-v26-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .tem-result-page-v25 .tem-result-v26-chart-card{min-width:0!important;width:100%!important;}
  .tem-result-page-v25 .tem-result-v26-chart-card canvas{max-width:100%!important;}
  .tem-result-page-v25 .tem-result-performance,
  .tem-result-page-v25 .tem-result-summary{width:100%!important;min-width:0!important;box-sizing:border-box!important;}
}
@media (max-width:380px){
  .tem-result-page-v25 .tem-result-v26-metrics{grid-template-columns:1fr!important;}
  .tem-result-page-v25 .tem-result-v26-heading{gap:8px;}
  .tem-result-page-v25 .tem-result-v26-heading>b{white-space:nowrap;}
}

/* V64 — print/PDF must keep the complete result readable on mobile browsers too */
@media print{
  html,body{width:100%!important;min-width:0!important;overflow:visible!important;}
  .tem-result-page-v25 .tem-result-v26-grid{
    display:grid!important;
    grid-template-columns:minmax(190px,240px) minmax(0,1fr)!important;
    width:100%!important;
    max-width:none!important;
  }
  .tem-result-page-v25 .tem-result-v26-main,
  .tem-result-page-v25 .tem-result-score-panel{min-width:0!important;max-width:none!important;}
  .tem-result-page-v25 .tem-result-v26-charts{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  .tem-result-page-v25 .tem-result-v26-chart-card{min-width:0!important;}
  .tem-result-page-v25 canvas{max-width:100%!important;}
  .tem-result-page-v25 *{overflow:visible!important;}
}



/* Official report-card view — based on the supplied sample, responsive and print-friendly. */
.tem-official-report-card{margin:0 0 22px;background:#fff;border:1px solid #cfd4dc;border-radius:8px;overflow:hidden;box-shadow:0 5px 18px rgba(30,40,60,.04)}
.tem-official-report-head{display:flex;align-items:stretch;justify-content:space-between;border-bottom:1px solid #cfd4dc;background:#fafafa}
.tem-official-report-title{flex:1;padding:20px 24px;border-left:1px solid #cfd4dc}.tem-official-report-title span{display:block;font-size:11px;color:#687386;font-weight:800;margin-bottom:5px}.tem-official-report-title h2{margin:0;font-size:20px;color:#202736}
.tem-official-report-meta{display:grid;grid-template-columns:repeat(3,minmax(130px,1fr));min-width:50%;}.tem-official-report-meta>div{padding:16px 18px;border-left:1px solid #cfd4dc;display:flex;flex-direction:column;justify-content:center;gap:5px}.tem-official-report-meta>div:last-child{border-left:0}.tem-official-report-meta span{font-size:10px;color:#788394}.tem-official-report-meta strong{font-size:13px;color:#202736}
.tem-official-report-table-wrap{overflow-x:auto}.tem-official-report-table{width:100%;min-width:780px;border-collapse:collapse;font-size:12px;text-align:center}.tem-official-report-table th{background:#eceff3;color:#2d3441;font-weight:900;padding:11px 8px;border:1px solid #cfd4dc;white-space:nowrap}.tem-official-report-table td{padding:10px 8px;border:1px solid #d7dbe2;color:#303744;background:#fff}.tem-official-report-table td:first-child{text-align:right;min-width:145px}.tem-official-report-table .is-total td{background:#f7f8fa;font-weight:800}.tem-official-report-footer{display:flex;gap:22px;justify-content:flex-end;flex-wrap:wrap;padding:13px 18px;background:#fafafa;border-top:1px solid #cfd4dc;color:#667184;font-size:11px}.tem-official-report-footer strong{color:#202736}
@media(max-width:760px){.tem-official-report-head{display:block}.tem-official-report-title{border-left:0;border-bottom:1px solid #cfd4dc;padding:16px}.tem-official-report-meta{grid-template-columns:1fr 1fr;min-width:0}.tem-official-report-meta>div{border-left:1px solid #cfd4dc;border-bottom:1px solid #cfd4dc}.tem-official-report-meta>div:nth-child(2n){border-left:0}.tem-official-report-meta>div:last-child{grid-column:1/-1;border-bottom:0}.tem-official-report-footer{justify-content:flex-start;gap:10px 18px}}
@media print{.tem-official-report-card{break-inside:avoid;box-shadow:none;border-radius:0;margin-bottom:12px}.tem-official-report-head{print-color-adjust:exact;-webkit-print-color-adjust:exact}.tem-official-report-table th,.tem-official-report-table .is-total td{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
