/* نظام الامتحان الجديد — طبقة واجهة مستقلة فوق التطبيق السابق */
:root{--target-navy:#0b3b57;--target-cyan:#2f9cad;--target-teal:#3f9f92;--target-gold:#c69a58;--target-ink:#143246}

/* بوابة الاختيار */
body.exam-gateway-active{background:linear-gradient(145deg,#eef7f8 0%,#f8f5ef 48%,#e8f0f4 100%)}
body.exam-gateway-active::before,body.exam-gateway-active .rail,body.exam-gateway-active .topbar,body.exam-gateway-active .tabbar,body.exam-gateway-active .footer{display:none!important}
body.exam-gateway-active .app{display:block}
body.exam-gateway-active .frame{min-height:100dvh}
body.exam-gateway-active .main{display:grid;place-items:center;max-width:none;min-height:100dvh;padding:28px 18px}
.exam-system-gateway{width:min(940px,100%);text-align:center}
.gateway-brand{display:inline-flex;align-items:center;gap:10px;margin-bottom:26px;color:var(--target-navy);font-weight:700}
.gateway-brand .brand-mark{width:44px;height:44px;border-radius:50%}
.gateway-heading{max-width:680px;margin:0 auto 24px}
.gateway-kicker,.target-new-badge{display:inline-flex;align-items:center;min-height:28px;padding:2px 13px;border-radius:999px;background:#dff1f0;color:#18776f;font-size:.75rem;font-weight:700}
.gateway-heading h1{margin:8px 0 4px;font-size:clamp(1.8rem,5vw,2.8rem);color:var(--target-navy)}
.gateway-heading p{color:var(--ink-2);font-size:.95rem}
.system-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;text-align:start}
.system-choice-card{position:relative;min-height:340px;padding:28px;display:flex;flex-direction:column;align-items:flex-start;gap:9px;border:1px solid #dce5e8;border-radius:28px;background:rgba(255,255,255,.9);color:var(--ink);box-shadow:0 18px 55px rgba(11,59,87,.1);cursor:pointer;text-align:start;overflow:hidden;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.system-choice-card:hover{transform:translateY(-4px);border-color:var(--target-cyan);box-shadow:0 22px 60px rgba(11,59,87,.16)}
.system-choice-card.new-system::before{content:"";position:absolute;inset:0 0 auto;height:8px;background:linear-gradient(90deg,var(--target-navy),var(--target-cyan))}
.system-choice-card.previous-system::before{content:"";position:absolute;inset:0 0 auto;height:8px;background:linear-gradient(90deg,#788995,#aeb9bf)}
.choice-badge{position:absolute;top:20px;inset-inline-end:20px;padding:3px 11px;border-radius:999px;background:var(--target-navy);color:#fff;font-size:.68rem;font-style:normal}
.choice-badge.subtle{background:#eef1f3;color:#526674}
.system-choice-icon{width:92px;height:92px;display:grid;place-items:center;margin-top:18px;border-radius:50%;background:linear-gradient(145deg,var(--target-navy),#126b8b);color:#fff;box-shadow:0 12px 28px rgba(11,59,87,.2)}
.previous-system .system-choice-icon{background:linear-gradient(145deg,#647a89,#9ba9b1)}
.system-choice-icon svg{width:57px;height:57px}
.system-choice-card>strong{font-size:1.35rem;color:var(--target-navy)}
.system-choice-card>small{min-height:54px;color:var(--ink-2);font-size:.84rem;line-height:1.7}
.choice-meta{font-size:.75rem;color:var(--target-teal);font-weight:700}
.choice-action{width:100%;min-height:48px;margin-top:auto;display:grid;place-items:center;border-radius:13px;background:var(--target-navy);color:#fff;font-weight:700}
.previous-system .choice-action{background:#657986}
.gateway-note{margin-top:18px;color:var(--ink-3);font-size:.72rem}

/* زر تغيير النظام */
.system-switch-button{min-height:38px;max-width:220px;padding:0 11px;display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--target-navy);font:inherit;font-size:.7rem;font-weight:700;cursor:pointer;white-space:nowrap}
.system-switch-button>span:first-child{font-size:1.1rem;color:var(--target-teal)}
body.dark .system-switch-button{color:var(--ink)}

/* الرموز والصفحات الرئيسية */
.target-section-icon{width:62px;height:62px;flex:0 0 auto;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,var(--target-navy),#107796);color:#fff;box-shadow:0 8px 20px rgba(11,59,87,.16)}
.target-section-icon svg{width:39px;height:39px}
.target-home-hero,.target-simulation-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px;margin-bottom:12px;border:1px solid #d8e6e9;border-radius:24px;background:linear-gradient(110deg,#fff 35%,#e1f1f2);box-shadow:var(--sh-1)}
.target-home-hero h2{margin:8px 0 3px;color:var(--target-navy);font-size:1.55rem}
.target-home-hero p,.target-simulation-hero p{color:var(--ink-2);margin:0}
.target-progress-ring{--p:0;width:100px;height:100px;flex:0 0 auto;border-radius:50%;display:grid;place-items:center;text-align:center;background:radial-gradient(circle at center,var(--surface) 58%,transparent 60%),conic-gradient(var(--target-teal) 0 70%,#dce6e8 70%)}
.target-progress-ring strong,.target-progress-ring span{display:block;line-height:1.2}.target-progress-ring strong{font-size:1.35rem;color:var(--target-navy)}.target-progress-ring span{font-size:.68rem;color:var(--ink-2)}
.target-guide-launch{width:100%;min-height:82px;padding:13px 16px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;border:1px solid #cfe2e4;border-radius:19px;background:var(--surface);color:var(--ink);font:inherit;text-align:start;cursor:pointer;box-shadow:var(--sh-1)}
.target-guide-launch>span{width:50px;height:50px;display:grid;place-items:center;border-radius:15px;background:#e3f2f2;color:var(--target-navy)}.target-guide-launch svg{width:32px;height:32px}.target-guide-launch small,.target-guide-launch strong,.target-guide-launch em{display:block}.target-guide-launch small{color:var(--target-teal);font-size:.66rem}.target-guide-launch strong{font-size:.92rem}.target-guide-launch em{color:var(--ink-2);font-size:.67rem;font-style:normal}.target-guide-launch>b{font-size:1.5rem;color:var(--target-cyan)}
.target-home-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:10px 0}
.target-home-shortcuts>button{min-height:76px;padding:11px 14px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 10px;align-items:center;border:1px solid var(--line);border-radius:17px;background:var(--surface);color:var(--ink);font:inherit;text-align:start;cursor:pointer}.target-home-shortcuts>button>span{grid-row:1/3;width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:var(--primary-soft);color:var(--target-navy);font-size:1.25rem}.target-home-shortcuts strong,.target-home-shortcuts small{display:block}.target-home-shortcuts small{color:var(--ink-2);font-size:.66rem}
.target-progress-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0}.target-progress-summary>div{padding:12px;text-align:center;border:1px solid var(--line);border-radius:15px;background:var(--surface)}.target-progress-summary strong,.target-progress-summary span{display:block}.target-progress-summary strong{color:var(--target-navy);font-size:1.2rem}.target-progress-summary span{color:var(--ink-2);font-size:.65rem}
.target-sim-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.target-sim-card{min-width:0;padding:15px;display:flex;flex-direction:column;gap:8px;border:1px solid var(--line);border-radius:19px;background:var(--surface);box-shadow:var(--sh-1)}.target-sim-card h3{color:var(--target-navy)}.target-sim-card p{color:var(--ink-2);font-size:.72rem;line-height:1.55}.target-sim-card>.btn{margin-top:auto}.target-sim-top{display:flex;align-items:center;justify-content:space-between;color:var(--ink-3);font-size:.68rem}.target-sim-number{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:var(--target-navy);color:#fff;font-weight:700}.target-sim-number.big{width:76px;height:76px;font-size:1.65rem}.target-mini-icons{display:flex;gap:3px;direction:ltr}.target-mini-icons span{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#eaf3f4;color:var(--target-navy)}.target-mini-icons svg{width:16px;height:16px}

/* شاشة المحاكاة والأدلة */
.target-simulation-hero{justify-content:flex-start;background:linear-gradient(110deg,#e6f3f3,var(--surface))}.target-simulation-hero>div>span{color:var(--target-teal);font-size:.7rem;font-weight:700}.target-simulation-hero h2{color:var(--target-navy);font-size:1.45rem}
.target-section-grid{display:grid;gap:10px}.target-section-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:15px;border:1px solid var(--line);border-radius:19px;background:var(--surface);box-shadow:var(--sh-1)}.target-section-copy h3{font-size:.98rem;color:var(--target-navy)}.target-section-copy p{margin:3px 0;color:var(--ink-2);font-size:.7rem}.target-section-order{font-size:.63rem;color:var(--target-teal);font-weight:700}.target-last-result{display:block;color:var(--good);font-size:.63rem}.target-section-actions{display:grid;grid-template-columns:repeat(2,minmax(110px,1fr));gap:6px}.target-section-actions .ghost{grid-column:1/-1}.target-section-actions .btn{min-height:38px;padding-inline:10px;font-size:.7rem}
.target-page-intro{border-color:#d8e6e9;background:linear-gradient(110deg,#e7f3f3,var(--surface))}.target-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.target-guide-card{min-height:92px;padding:12px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--ink);font:inherit;text-align:start;cursor:pointer;box-shadow:var(--sh-1)}.target-guide-card .target-section-icon{width:49px;height:49px}.target-guide-card .target-section-icon svg{width:30px;height:30px}.target-guide-card strong,.target-guide-card small{display:block}.target-guide-card strong{font-size:.82rem}.target-guide-card small{color:var(--ink-2);font-size:.62rem}.target-guide-card>b{color:var(--target-cyan);font-size:1.3rem}
.target-algorithm-guide{width:100%;min-height:82px;margin-bottom:9px;padding:12px 15px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid #c8dfe3;border-radius:18px;background:linear-gradient(110deg,#e5f3f3,var(--surface));color:var(--ink);font:inherit;text-align:start;cursor:pointer}.target-algorithm-guide>span{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:var(--target-navy);color:#fff;font-size:1.4rem}.target-algorithm-guide small,.target-algorithm-guide strong,.target-algorithm-guide em{display:block}.target-algorithm-guide small{color:var(--target-teal);font-size:.62rem}.target-algorithm-guide strong{font-size:.88rem}.target-algorithm-guide em{color:var(--ink-2);font-size:.63rem;font-style:normal}.target-algorithm-guide>b{font-size:1.3rem;color:var(--target-cyan)}
.target-embedded-guide-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.target-embedded-guide-head>div{display:flex;align-items:center;gap:10px}.target-embedded-guide-head .target-section-icon{width:50px;height:50px}.target-embedded-guide-head h2{font-size:1.05rem;color:var(--target-navy)}.target-embedded-guide-head p{margin:0;color:var(--ink-2);font-size:.7rem}.target-guide-iframe{width:100%;height:calc(100dvh - 160px);border:1px solid var(--line);border-radius:18px;background:#fff}.target-native-guide{display:grid;gap:10px}.target-native-guide .guide-title{margin:0}.target-native-guide>article,.target-guide-section{padding:15px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}.target-native-guide li{margin:5px 0}.target-native-guide p,.target-native-guide li{font-size:.82rem;color:var(--ink-2)}.guide-field>strong{display:block;color:var(--target-navy);margin-top:8px}
.target-algorithm-page>article{border-inline-start:4px solid var(--target-cyan)}.target-algorithm-page>.btn-row{margin-top:4px}.target-algorithm-page a.btn{text-decoration:none}

/* الجلسات */
.target-loading{min-height:55vh;display:grid;place-items:center;align-content:center;text-align:center;gap:8px}.loading-spinner{width:42px;height:42px;border:4px solid var(--line);border-top-color:var(--target-cyan);border-radius:50%;animation:target-spin .8s linear infinite}@keyframes target-spin{to{transform:rotate(360deg)}}
.target-session-wrap{max-width:980px;margin:auto}.target-question-tag{display:inline-flex;padding:4px 11px;margin-bottom:10px;border-radius:999px;background:#e7f3f3;color:var(--target-navy);font-size:.7rem;font-weight:700}.target-question-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.target-question-nav{position:sticky;bottom:8px;z-index:10;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:9px;margin-top:18px;padding:8px;border:1px solid var(--line);border-radius:15px;background:color-mix(in srgb,var(--surface) 94%,transparent);backdrop-filter:blur(14px);box-shadow:0 10px 28px rgba(11,59,87,.14)}.target-question-nav>span{text-align:center;color:var(--ink-2);font-size:.75rem}.target-question-nav .btn:last-child{justify-self:stretch}
.target-table-card{margin:0 0 14px;padding:10px;border:1px solid #cfe0e4;border-radius:15px;background:#f8fbfc}.target-table-scroll{max-width:100%;overflow-x:auto;overflow-y:visible;margin-bottom:9px}.target-table-scroll:last-of-type{margin-bottom:0}.target-data-table{width:100%;min-width:680px;border-collapse:separate;border-spacing:0;direction:rtl;font-size:.74rem}.target-data-table caption{padding:5px 8px;text-align:start;color:var(--target-navy);font-weight:700}.target-data-table th,.target-data-table td{padding:7px 9px;border-inline-start:1px solid #d9e4e6;border-top:1px solid #d9e4e6;text-align:center;white-space:nowrap}.target-data-table thead th{background:var(--target-navy);color:#fff}.target-data-table tbody th{background:#e7f2f3;color:var(--target-navy);text-align:start}.target-table-note{margin:8px 2px 0;color:var(--ink-2);font-size:.68rem}
.target-passage{margin-bottom:14px;padding:16px;border-inline-start:4px solid var(--target-cyan);border-radius:14px;background:#f4f8fa}.target-passage>span{display:block;margin-bottom:5px;color:var(--target-teal);font-size:.68rem;font-weight:700}.target-passage p{margin:0;font-size:.88rem;line-height:2}.target-verbal-statement{padding:13px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.target-verbal-statement>small{color:var(--target-teal);font-weight:700}.target-semantic-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.target-semantic-options>button{min-height:78px;padding:10px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);font:inherit;cursor:pointer}.target-semantic-options strong,.target-semantic-options small{display:block}.target-semantic-options small{color:var(--ink-2);font-size:.6rem}.target-semantic-options>button.selected{border:2px solid var(--target-teal);background:#e6f4f0;box-shadow:0 0 0 3px rgba(63,159,146,.13)}
.target-abstract-direction{margin:5px 0 10px;padding:8px 11px;border-radius:10px;background:#eef6f7;color:var(--target-navy);font-size:.72rem;text-align:center}.target-abstract-flow,.target-abstract-relation,.target-abstract-examples{display:flex;align-items:center;gap:8px;overflow-x:auto;padding:8px}.target-abstract-flow,.target-abstract-examples{justify-content:flex-start}.target-abstract-relation{justify-content:center}.target-abstract-flow>div,.target-abstract-relation>div,.target-abstract-examples>div{flex:0 0 112px}.target-abstract-flow svg,.target-abstract-relation svg,.target-abstract-examples svg{width:112px;height:112px}.target-abstract-relation{display:grid;grid-template-columns:112px 30px 112px}.target-abstract-relation>span{grid-column:1/-1;height:1px;background:var(--line)}.target-abstract-matrix{display:grid;grid-template-columns:repeat(2,120px);gap:8px;justify-content:center;padding:8px}.target-abstract-matrix-3x3{grid-template-columns:repeat(3,120px)}.target-abstract-matrix svg{width:120px;height:120px}.target-missing{min-height:112px;display:grid;place-items:center;border:3px dashed var(--target-gold);border-radius:11px;background:#fffaf1;color:var(--target-gold);font-size:2rem}.target-abstract-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:12px;direction:ltr}.target-abstract-options>button{position:relative;min-width:0;min-height:132px;padding:8px;border:1px solid var(--line);border-radius:14px;background:var(--surface);cursor:pointer}.target-abstract-options>button>span{position:absolute;top:6px;left:6px;z-index:2;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:var(--target-navy);color:#fff;font-size:.68rem}.target-abstract-options svg{width:min(100%,112px);height:auto}.target-abstract-options>button.selected{border:3px solid var(--target-teal);background:#e6f4f0;box-shadow:0 0 0 3px rgba(63,159,146,.15)}
.target-inline-feedback,.target-lead-feedback{margin-top:14px;padding:15px;border:1px solid var(--info-line);border-radius:15px;background:var(--info-soft)}.target-inline-feedback.good{border-color:var(--good-line);background:var(--good-soft)}.target-inline-feedback.bad{border-color:var(--bad-line);background:var(--bad-soft)}.target-inline-feedback p,.target-inline-feedback li,.target-lead-feedback p{font-size:.78rem}.target-remember{padding:9px;border-radius:9px;background:rgba(255,255,255,.55);font-size:.72rem}.target-fit-strip{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.target-fit-strip strong{font-size:1.25rem;color:var(--target-navy)}.target-likert-question .question-text{font-size:1.15rem;text-align:center;padding:20px 4px}.target-lead-feedback{display:grid;gap:8px}.target-lead-review{padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.target-lead-review.good{border-color:var(--good-line)}
.target-zoom-dialog{min-width:min(760px,85vw)}.target-zoom-dialog .target-abstract-flow>div,.target-zoom-dialog .target-abstract-relation>div,.target-zoom-dialog .target-abstract-examples>div{flex-basis:136px}.target-zoom-dialog .target-abstract-flow svg,.target-zoom-dialog .target-abstract-relation svg,.target-zoom-dialog .target-abstract-examples svg{width:136px;height:136px}.target-zoom-dialog .target-abstract-relation{grid-template-columns:136px 30px 136px;justify-content:flex-start}.target-zoom-dialog .target-abstract-matrix{grid-template-columns:repeat(2,136px);justify-content:flex-start;overflow-x:auto}.target-zoom-dialog .target-abstract-matrix-3x3{grid-template-columns:repeat(3,112px)}.target-zoom-dialog .target-abstract-matrix svg{width:136px;height:136px}.target-zoom-dialog .target-abstract-matrix-3x3 svg{width:112px;height:112px}.target-zoom-options{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;direction:ltr}.target-zoom-option{position:relative;padding:8px;border:1px solid var(--line);border-radius:12px;text-align:center}.target-zoom-option>span{position:absolute;top:6px;left:6px;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:var(--target-navy);color:#fff}.target-zoom-option svg{width:150px;height:150px;max-width:100%}

/* النتائج والخوارزمية */
.target-result-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;margin-bottom:9px;border:1px solid #cfe1e5;border-radius:22px;background:linear-gradient(110deg,#fff,#def0f1)}.target-result-hero>div>span{color:var(--target-teal);font-size:.68rem;font-weight:700}.target-result-hero h2{color:var(--target-navy)}.target-result-hero p{margin:3px 0 0;color:var(--ink-2);font-size:.68rem}.target-result-hero>strong{flex:0 0 auto;font-size:2rem;color:var(--target-navy);text-align:center}.target-result-hero>strong small{display:block;font-size:.58rem;color:var(--ink-2)}
.target-result-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:9px}.target-result-stats>div{padding:11px;text-align:center;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.target-result-stats strong,.target-result-stats span{display:block}.target-result-stats strong{color:var(--target-navy);font-size:1.1rem}.target-result-stats span{color:var(--ink-2);font-size:.61rem}.target-method-note,.target-quality-card{padding:14px;margin-bottom:9px;border:1px solid #cbdfe3;border-radius:15px;background:#eef7f7}.target-method-note strong{color:var(--target-navy)}.target-method-note p,.target-quality-card p{margin:3px 0 0;color:var(--ink-2);font-size:.75rem}
.target-analysis-panel,.target-competency-panel,.target-domain-summary,.target-results-list,.target-history{padding:14px;margin-bottom:10px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:var(--sh-1)}.target-analysis-panel>header,.target-competency-panel>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.target-analysis-panel>header small,.target-competency-panel>header small{color:var(--target-teal)}.target-analysis-panel>header>span,.target-competency-panel>header>span{padding:3px 9px;border-radius:999px;background:var(--primary-soft);color:var(--target-navy);font-size:.62rem;font-weight:700}.target-breakdown-list,.target-risk-list{display:grid;gap:8px}.target-breakdown-list>article,.target-risk-list>article{padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2)}.target-breakdown-list>article>div:first-child,.target-risk-list>article>div:first-child{display:flex;justify-content:space-between;gap:10px}.target-breakdown-list small,.target-risk-list small{color:var(--ink-2);font-size:.62rem}
.target-construct-grid,.target-driver-grid,.target-competency-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.target-construct-grid>article,.target-driver-grid>article,.target-competency-grid>article{padding:11px;border:1px solid var(--line);border-radius:13px;background:var(--surface-2)}.target-construct-grid>article>div,.target-competency-grid>article>div{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.target-construct-grid>article>div>span,.target-competency-grid>article>div>span{font-size:.57rem;color:var(--ink-2)}.target-construct-grid dl{display:grid;grid-template-columns:1fr auto;gap:2px 8px;margin:8px 0 0;font-size:.65rem}.target-construct-grid dt{color:var(--ink-2)}.target-construct-grid dd{margin:0;font-weight:700}.target-driver-grid>article{display:grid;grid-template-columns:1fr auto}.target-driver-grid small{grid-column:1/-1;color:var(--ink-2);font-size:.6rem}
.target-competency-intro{color:var(--ink-2);font-size:.73rem}.target-competency-grid ul{list-style:none;margin:8px 0 0;padding:0}.target-competency-grid li{display:flex;justify-content:space-between;padding:3px 0;border-top:1px solid var(--line);font-size:.65rem}.target-competency-grid p,.target-competency-grid details{margin:7px 0 0;color:var(--ink-2);font-size:.63rem}.competency-convergent_strength{border-inline-start:4px solid var(--good)!important}.competency-development_priority{border-inline-start:4px solid var(--bad)!important}.competency-mixed{border-inline-start:4px solid var(--warn)!important}
.target-domain-summary>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:9px}.target-domain-summary article{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px;border:1px solid var(--line);border-radius:13px;background:var(--surface-2)}.target-domain-summary .target-section-icon{width:36px;height:36px}.target-domain-summary svg{width:22px;height:22px}.target-domain-summary strong,.target-domain-summary small{display:block}.target-domain-summary strong{font-size:.72rem}.target-domain-summary small{font-size:.56rem;color:var(--ink-2)}.target-domain-summary article>b{color:var(--target-navy)}
.target-results-list{display:grid;gap:9px}.target-results-sim{padding:10px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2)}.target-results-sim>header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;margin-bottom:9px}.target-results-sim>header strong,.target-results-sim>header small{display:block}.target-results-sim>header small{color:var(--ink-2);font-size:.6rem}.target-result-chips{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}.target-result-chips>button{min-width:0;min-height:78px;padding:5px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--ink);font:inherit;cursor:pointer}.target-result-chips>button:disabled{opacity:.45;cursor:default}.target-result-chips .target-section-icon{width:28px;height:28px}.target-result-chips svg{width:17px;height:17px}.target-result-chips span{font-size:.54rem}.target-result-chips b{font-size:.62rem;color:var(--target-navy)}.target-result-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}

body.dark .target-home-hero,body.dark .target-simulation-hero,body.dark .target-result-hero{background:linear-gradient(110deg,var(--surface),#12323c)}
body.dark .target-table-card,body.dark .target-passage,body.dark .target-method-note,body.dark .target-quality-card{background:var(--surface-2)}
body.dark .target-data-table tbody th{background:#17323b;color:var(--ink)}
body.dark .target-semantic-options>button.selected,body.dark .target-abstract-options>button.selected{background:var(--accent-soft)}

@media(max-width:767px){
  .system-choice-grid{grid-template-columns:1fr}.system-choice-card{min-height:280px;padding:22px}.system-choice-icon{width:76px;height:76px}.system-choice-icon svg{width:47px;height:47px}
  .system-switch-button{width:38px;min-width:38px;padding:0;justify-content:center}.system-switch-button>span:last-child{display:none}
  .target-home-hero{padding:16px}.target-progress-ring{width:80px;height:80px}.target-sim-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .target-section-card{grid-template-columns:auto minmax(0,1fr);align-items:start}.target-section-card>.target-section-icon{width:52px;height:52px}.target-section-card>.target-section-icon svg{width:32px;height:32px}.target-section-actions{grid-column:1/-1;width:100%}
  .target-guide-grid{grid-template-columns:1fr}.target-semantic-options{grid-template-columns:1fr}.target-semantic-options>button{min-height:58px}
  .target-abstract-options{grid-template-columns:repeat(2,minmax(0,1fr))}.target-abstract-options>button{min-height:116px}.target-abstract-flow>div,.target-abstract-relation>div,.target-abstract-examples>div{flex-basis:88px}.target-abstract-flow svg,.target-abstract-relation svg,.target-abstract-examples svg{width:88px;height:88px}.target-abstract-relation{grid-template-columns:88px 24px 88px}.target-abstract-matrix{grid-template-columns:repeat(2,96px)}.target-abstract-matrix-3x3{width:100%;grid-template-columns:repeat(3,minmax(0,1fr))}.target-abstract-matrix svg{width:96px;height:96px}.target-abstract-matrix-3x3 svg{width:100%;height:auto}.target-abstract-matrix-3x3 .target-missing{min-height:0;aspect-ratio:1}.target-missing{min-height:88px}
  .target-question-nav{bottom:calc(var(--s-2) + env(safe-area-inset-bottom))}.target-result-stats{grid-template-columns:repeat(2,1fr)}.target-construct-grid,.target-driver-grid,.target-competency-grid,.target-domain-summary>div{grid-template-columns:1fr}.target-result-chips{grid-template-columns:repeat(3,1fr)}
  .target-result-hero>strong{font-size:1.5rem}.target-zoom-options{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:430px){.target-sim-grid{grid-template-columns:1fr}.target-progress-summary{grid-template-columns:repeat(3,1fr)}.target-home-shortcuts{grid-template-columns:1fr}.target-section-actions{grid-template-columns:1fr}.target-section-actions .ghost{grid-column:auto}.target-embedded-guide-head{align-items:flex-start}.target-result-hero{align-items:flex-start}.target-result-chips{grid-template-columns:repeat(2,1fr)}}

@media(min-width:768px){body.exam-gateway-active .main{padding:38px}.target-session-wrap{padding-bottom:30px}.target-guide-iframe{height:calc(100dvh - 130px)}}

/* ========================================================================== */
/* v2.9.0 — الهوية البصرية المعتمدة للنظامين                               */
/* ========================================================================== */

/* بوابة مستقلة تسبق التطبيق */
body.exam-gateway-active{background:#fbfaf6;color:#123d59}
body.exam-gateway-active .frame{height:auto;min-height:100dvh;overflow:visible}
body.exam-gateway-active .main{display:block;min-height:100dvh;padding:0!important;overflow:visible}
.exam-system-gateway{width:100%;max-width:none;text-align:start}
.gateway-topbar{height:78px;padding:10px max(20px,env(safe-area-inset-left));display:grid;grid-template-columns:52px minmax(0,1fr) 52px;align-items:center;gap:12px;border-bottom:1px solid #e8dfd2;background:rgba(255,255,252,.96);text-align:center}
.gateway-topbar>strong{overflow:hidden;color:#0b3b57;font-size:clamp(.86rem,3.6vw,1.1rem);white-space:nowrap;text-overflow:ellipsis}
.gateway-photo-avatar{width:46px;height:46px;border:1px solid #ddcfbd;border-radius:50%;background:var(--v27-photo) 52% 55%/215% auto no-repeat;box-shadow:0 4px 12px rgba(28,58,72,.16)}
.gateway-aa{direction:ltr;color:#0b3b57;font-size:1.2rem;font-weight:700}
.gateway-content{width:min(860px,100%);margin:0 auto;padding:18px 18px calc(28px + env(safe-area-inset-bottom))}
.gateway-photo-hero{position:relative;isolation:isolate;min-height:230px;margin-bottom:18px;padding:26px;display:flex;align-items:center;overflow:hidden;border:1px solid #dfd0bb;border-radius:28px;background:var(--v27-photo) 50% 58%/cover no-repeat;box-shadow:0 8px 22px rgba(34,57,67,.12)}
.gateway-photo-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(270deg,rgba(255,252,245,.97) 5%,rgba(255,252,245,.82) 46%,rgba(255,252,245,.12) 82%)}
.gateway-photo-hero>div{max-width:72%}
.gateway-photo-hero h1{margin:0;color:#073b5b;font-size:clamp(2rem,7vw,3.4rem);line-height:1.2}
.gateway-photo-hero p{margin:8px 0 0;color:#4f6a7d;font-size:clamp(1rem,3.4vw,1.35rem)}
.system-choice-grid{display:grid;grid-template-columns:1fr;gap:16px;text-align:start}
.system-choice-card{position:relative;min-height:268px;padding:26px;display:flex;flex-direction:column;align-items:stretch;gap:0;overflow:hidden;border-radius:28px;text-align:start;transition:transform .18s ease,box-shadow .18s ease}
.system-choice-card::before{display:none}
.system-choice-card:hover{transform:translateY(-2px)}
.system-choice-card.new-system{border:1.5px solid #e7bf56;background:radial-gradient(circle at 8% 0%,rgba(40,223,219,.58),transparent 38%),linear-gradient(135deg,#09aebc 0%,#0878bf 46%,#083f96 100%);color:#fff;box-shadow:0 15px 34px rgba(0,118,167,.23),0 0 0 5px rgba(25,190,198,.08)}
.system-choice-card.previous-system{border:1px solid #dfd4c5;background:linear-gradient(145deg,#fffefa,#fbf7f0);color:#103f5e;box-shadow:0 10px 28px rgba(44,54,60,.09)}
.system-choice-icon{position:absolute;top:24px;inset-inline-start:24px;width:72px;height:72px;margin:0;border-radius:18px;background:rgba(255,255,255,.15);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.2),0 8px 20px rgba(0,38,74,.13)}
.previous-system .system-choice-icon{background:#f4eee5;color:#0b466c;box-shadow:none}
.system-choice-icon svg{width:45px;height:45px}
.choice-badge{top:28px;inset-inline-start:auto;inset-inline-end:26px;padding:7px 15px;background:#ff6758;box-shadow:0 7px 18px rgba(255,83,69,.24);font-size:.76rem;font-weight:700}
.choice-badge.subtle{background:#f7e4c5;color:#805520;box-shadow:none}
.system-choice-copy{display:block;margin-top:90px}
.system-choice-copy strong,.system-choice-copy small,.system-choice-copy .choice-meta{display:block}
.system-choice-copy strong{color:inherit;font-size:clamp(1.35rem,5vw,1.85rem);line-height:1.35}
.system-choice-copy .choice-meta{margin-top:3px;color:rgba(255,255,255,.82);font-size:1rem;font-weight:500}
.previous-system .system-choice-copy .choice-meta{color:#697f90}
.system-choice-copy small{min-height:0;margin-top:10px;color:rgba(255,255,255,.9);font-size:.83rem;line-height:1.8}
.previous-system .system-choice-copy small{color:#627687}
.choice-action{min-height:54px;margin-top:20px;padding-inline:18px;display:flex;align-items:center;justify-content:space-between;border:1px solid rgba(255,255,255,.2);border-radius:16px;background:rgba(255,255,255,.1);color:#fff;font-size:.96rem;font-weight:700}
.choice-action b{font-size:1.55rem;font-weight:400}
.previous-system .choice-action{border-color:#e8ded0;background:#f6f0e8;color:#0b466c}
.gateway-memory-note{min-height:76px;margin-top:18px;padding:14px 18px;display:flex;align-items:center;gap:13px;border:1px solid #bfdef0;border-radius:20px;background:#eaf6ff;color:#154b70;font-size:.82rem;line-height:1.7}
.gateway-memory-note svg{width:31px;height:31px;flex:0 0 auto}
.gateway-note{margin:14px 0 0;text-align:center;color:#73828c;font-size:.67rem}

/* الصورة الصحراوية الحقيقية المشتركة */
.target-photo-hero,.target-photo-strip{position:relative;isolation:isolate;overflow:hidden;border:1px solid #e2d4c0;background:var(--v27-photo) 50% 58%/cover no-repeat;box-shadow:0 7px 18px rgba(26,54,68,.1)}
.target-photo-hero{min-height:190px;margin-bottom:12px;padding:22px;display:flex;align-items:center;border-radius:25px}
.target-photo-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(270deg,rgba(255,252,245,.97) 3%,rgba(255,252,245,.78) 52%,rgba(255,252,245,.08) 88%)}
.target-photo-hero>div{max-width:73%}
.target-photo-hero span{color:#977249;font-size:.72rem;font-weight:700}
.target-photo-hero h2{margin:4px 0;color:#073b5b;font-size:clamp(1.55rem,6vw,2.2rem);line-height:1.25}
.target-photo-hero p{margin:0;color:#315c78;font-size:.89rem;line-height:1.65}
.target-photo-strip{height:170px;margin-bottom:14px;border-radius:24px}

/* الصفحة الرئيسية للنظام الجديد */
.target-primary-launch,.target-before-start{width:100%;min-height:104px;margin-bottom:11px;padding:16px 18px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;border-radius:24px;color:inherit;font:inherit;text-align:start;cursor:pointer}
.target-primary-launch{border:0;background:linear-gradient(120deg,#0b3e5c,#0a5f80);color:#fff;box-shadow:0 12px 26px rgba(7,61,88,.2)}
.target-before-start{border:1px solid #e0d2bf;background:rgba(255,254,250,.94);color:#103f5e;box-shadow:0 7px 18px rgba(33,52,60,.07)}
.target-launch-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:17px;background:rgba(255,255,255,.12);color:currentColor}
.target-before-start .target-launch-icon{background:#f6eee2;color:#9a6f36}
.target-launch-icon svg{width:36px;height:36px}
.target-primary-launch strong,.target-primary-launch small,.target-before-start strong,.target-before-start small{display:block}
.target-primary-launch strong,.target-before-start strong{font-size:1.15rem}
.target-primary-launch small{color:rgba(255,255,255,.76)}
.target-before-start small{color:#697d8c}
.target-primary-launch>b,.target-before-start>b{font-size:1.7rem;font-weight:400}
.target-section-heading{margin:22px 2px 11px;color:#778899;font-size:1.05rem}
.target-module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.target-module-card{position:relative;min-width:0;min-height:152px;padding:72px 15px 17px;display:block;overflow:hidden;border:1px solid #e4d9cc;border-radius:22px;background:#fffefa;color:#103f5e;font:inherit;text-align:start;box-shadow:0 7px 17px rgba(29,48,57,.07);cursor:pointer}
.target-module-card::before{content:"";position:absolute;inset:0 0 auto;height:58px;background:linear-gradient(90deg,#e6f4f2,#f8fbf9)}
.target-module-card>.target-section-icon{position:absolute;top:12px;inset-inline-start:14px;width:54px;height:54px;border-radius:15px;background:rgba(255,255,255,.58);box-shadow:none;color:#16736f}
.target-module-card>.target-section-icon svg{width:33px;height:33px}
.target-module-card>span strong,.target-module-card>span small{display:block}
.target-module-card>span strong{font-size:.96rem;line-height:1.45}
.target-module-card>span small{margin-top:4px;color:#6e7f8f;font-size:.72rem;line-height:1.55}
.target-module-card>b{position:absolute;bottom:14px;inset-inline-end:15px;color:#768b9a;font-size:1.45rem;font-weight:400}
.target-module-card.verbal::before{background:linear-gradient(90deg,#dff3f5,#f8fcfc)}.target-module-card.verbal>.target-section-icon{color:#0d688d}
.target-module-card.abstract::before{background:linear-gradient(90deg,#fff0dd,#fffbf5)}.target-module-card.abstract>.target-section-icon{color:#b66d1d}
.target-module-card.pq10::before{background:linear-gradient(90deg,#eeeaff,#fbfaff)}.target-module-card.pq10>.target-section-icon{color:#5b5599}
.target-module-card.derailers::before{background:linear-gradient(90deg,#e1f3eb,#f8fcfa)}.target-module-card.derailers>.target-section-icon{color:#23816d}
.target-module-card.leadership::before{background:linear-gradient(90deg,#ffe8ea,#fffafa)}.target-module-card.leadership>.target-section-icon{color:#b24755}
.target-extra-heading{margin-top:18px}
.target-generator-card{position:relative;width:100%;min-height:112px;padding:19px 18px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;overflow:hidden;border:1px solid #ddd6ee;border-radius:22px;background:linear-gradient(100deg,#fff,#f3f0ff);color:#103f5e;font:inherit;text-align:start;box-shadow:0 7px 18px rgba(49,42,90,.08);cursor:pointer}
.target-generator-card::before{content:"";position:absolute;inset:0 0 auto;height:42px;background:linear-gradient(90deg,#e7e6ff,#f8f7ff);z-index:0}
.target-generator-card>*{position:relative;z-index:1}
.target-generator-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:16px;background:#eeeaff;color:#6556b2}
.target-generator-icon svg{width:37px;height:37px}
.target-generator-card strong,.target-generator-card small{display:block}.target-generator-card strong{font-size:1rem}.target-generator-card small{margin-top:3px;color:#6c7c8b;font-size:.71rem}
.target-generator-card em{position:absolute;top:9px;inset-inline-end:14px;padding:4px 10px;border-radius:999px;background:#eeeaff;color:#5f55a0;font-size:.61rem;font-style:normal;font-weight:700}
.target-generator-card>b{font-size:1.45rem;font-weight:400;color:#718395}
.target-home-disclaimer{margin-top:20px;padding:17px 10px;text-align:center;border-top:1px solid #e5ddd1;color:#71808a;font-size:.7rem;line-height:1.8}.target-home-disclaimer p{margin:0}.target-home-disclaimer strong{display:block;color:#163f58}

/* اختيار إحدى المحاكيات الست */
.target-sim-intro,.target-sim-progress,.target-simulation-summary{margin-bottom:12px;padding:19px;border:1px solid #e3d9cc;border-radius:23px;background:rgba(255,254,250,.95);box-shadow:0 7px 18px rgba(28,47,57,.07)}
.target-sim-intro h2{margin:0;color:#0b3b57;font-size:1.4rem}.target-sim-intro p{margin:4px 0 0;color:#657a8a;font-size:.82rem}
.target-sim-progress{display:flex;align-items:center;gap:20px}.target-sim-progress>div:last-child{flex:1}.target-sim-progress>div:last-child strong,.target-sim-progress>div:last-child small{display:block}.target-sim-progress>div:last-child strong{color:#103f5e;font-size:1rem}.target-sim-progress>div:last-child small{margin-top:5px;color:#70818f;font-size:.7rem}
.target-progress-ring{--p:0;width:92px;height:92px;background:radial-gradient(circle at center,#fffefa 57%,transparent 59%),conic-gradient(#249d97 calc(var(--p)*1%),#e7e9e8 0)!important}
.target-progress-ring strong{font-size:1.2rem}.target-progress-ring span{font-size:.59rem}
.target-sim-prompt{margin:22px 2px 13px;color:#103f5e;font-size:1.15rem}
.target-sim-orbits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;direction:ltr}
.target-sim-orb{aspect-ratio:1;min-width:0;padding:11px 5px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:1.5px solid #e0c89e;border-radius:50%;background:linear-gradient(145deg,#fffefb,#fbf5ea);color:#133f5b;font:inherit;box-shadow:0 8px 17px rgba(44,53,58,.08);cursor:pointer;direction:rtl}
.target-sim-orb>span{width:35px;height:35px;color:#9c7138}.target-sim-orb svg{width:100%;height:100%}.target-sim-orb strong{font-size:1.05rem}.target-sim-orb small{color:#71808c;font-size:.62rem}
.target-sim-orb.selected{border:3px solid #188d9a;background:linear-gradient(145deg,#e7f7f5,#fffaf2);box-shadow:0 0 0 4px rgba(24,141,154,.1),0 8px 18px rgba(22,98,112,.13)}
.target-sim-orb.complete{border-color:#45a68d}.target-sim-orb.complete>span{color:#21866e}
.target-sim-start{width:100%;min-height:72px;margin-top:18px;padding:13px 22px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;border:0;border-radius:22px;background:linear-gradient(120deg,#0a3e5c,#0b6181);color:#fff;font:inherit;cursor:pointer;box-shadow:0 11px 24px rgba(8,62,90,.19)}
.target-sim-start svg{width:32px;height:32px}.target-sim-start strong{font-size:1.16rem}.target-sim-start span{font-size:1.45rem}
.target-info-note{min-height:78px;margin-top:14px;padding:15px 17px;display:flex;align-items:center;gap:13px;border:1px solid #bbdced;border-radius:20px;background:#eaf6ff;color:#154b70;font-size:.78rem;line-height:1.7}.target-info-note svg{width:30px;height:30px;flex:0 0 auto}

/* أقسام المحاكاة الستة */
.target-simulation-summary{display:flex;align-items:center;justify-content:space-between;gap:15px}.target-simulation-summary>div:first-child{flex:1}.target-simulation-summary h2{margin:0;color:#103f5e;font-size:1.32rem}.target-simulation-summary p{margin:3px 0 12px;color:#70808d;font-size:.75rem}.target-simulation-summary .progress{height:9px}.target-simulation-summary .target-progress-ring{flex:0 0 auto}.target-simulation-summary .target-progress-ring span{max-width:62px}
.target-mode-switch{margin:0 0 12px;padding:5px;display:grid;grid-template-columns:1fr 1fr;gap:5px;border:1px solid #ddd5c8;border-radius:17px;background:#f2eee7}
.target-mode-switch button{min-height:44px;border:0;border-radius:13px;background:transparent;color:#667986;font:inherit;font-size:.78rem;font-weight:700;cursor:pointer}.target-mode-switch button.selected{background:#fff;color:#0b4567;box-shadow:0 4px 12px rgba(39,52,59,.1)}
.target-section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.target-section-card{position:relative;min-width:0;min-height:235px;padding:76px 14px 14px;display:flex;flex-direction:column;align-items:stretch;gap:0;overflow:hidden;border:1px solid #e2d7ca;border-radius:22px;background:#fffefa;box-shadow:0 7px 17px rgba(27,46,56,.07)}
.target-section-card::before{content:"";position:absolute;inset:0 0 auto;height:60px;background:linear-gradient(90deg,#e4f3ef,#f8fbfa)}
.target-section-card>.target-section-icon{position:absolute;top:12px;inset-inline-start:14px;width:54px;height:54px;border-radius:15px;background:rgba(255,255,255,.62);box-shadow:none;color:#15756f}
.target-section-card>.target-section-icon svg{width:33px;height:33px}
.target-section-card .target-section-copy h3{margin:0;color:#103f5e;font-size:.94rem;line-height:1.45}.target-section-card .target-section-copy p{margin:4px 0;color:#6c7e8d;font-size:.7rem}.target-section-card .target-last-result{margin-top:4px}
.target-section-card.abstract::before{background:linear-gradient(90deg,#fff0df,#fffbf6)}.target-section-card.abstract>.target-section-icon{color:#b66d1d}
.target-section-card.verbal::before{background:linear-gradient(90deg,#dff2fa,#f7fbfd)}.target-section-card.verbal>.target-section-icon{color:#156b91}
.target-section-card.pq10::before{background:linear-gradient(90deg,#e0f2eb,#f8fbfa)}.target-section-card.pq10>.target-section-icon{color:#237967}
.target-section-card.derailers::before{background:linear-gradient(90deg,#eeeaff,#fbfaff)}.target-section-card.derailers>.target-section-icon{color:#5b5599}
.target-section-card.leadership::before{background:linear-gradient(90deg,#e4f2f8,#f8fbfd)}.target-section-card.leadership>.target-section-icon{color:#1b6586}
.target-section-state{align-self:flex-start;margin-top:9px;padding:4px 10px;border-radius:999px;background:#efede8;color:#70808b;font-size:.62rem}.target-section-state.active{background:#fff0cf;color:#946315}.target-section-state.complete{background:#dff3e9;color:#1f7a62}
.target-section-actions{width:100%;margin-top:auto;display:grid;grid-template-columns:1fr;gap:5px}.target-section-actions .target-section-launch{min-height:40px;padding:7px 10px;display:flex;align-items:center;justify-content:space-between;border:0;border-radius:12px;background:#0b4c6b;color:#fff;font:inherit;font-size:.67rem;font-weight:700;cursor:pointer}.target-section-actions .target-section-launch b{font-size:1.15rem}.target-section-actions .target-section-guide{min-height:28px;border:0;background:transparent;color:#6b7f8f;font:inherit;font-size:.6rem;text-decoration:underline;cursor:pointer}

/* صفحة الأدلة */
.target-guide-banner{min-height:112px;margin-bottom:11px;padding:17px 19px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;border:0;border-radius:24px;background:linear-gradient(120deg,#0b3f5d,#0c6382);color:#fff}.target-guide-banner>span{width:60px;height:60px;display:grid;place-items:center;border-radius:17px;background:rgba(255,255,255,.13)}.target-guide-banner svg{width:37px;height:37px}.target-guide-banner h2{margin:0;font-size:1.35rem}.target-guide-banner p{margin:3px 0 0;color:rgba(255,255,255,.77);font-size:.75rem}.target-guide-banner>b{font-size:1.6rem;font-weight:400}
.target-guide-tip{min-height:86px;margin-bottom:12px;padding:15px 17px;display:flex;align-items:center;gap:13px;border:1px solid #bfdfef;border-radius:20px;background:#eaf6ff;color:#154b70}.target-guide-tip>svg{width:32px;height:32px;flex:0 0 auto}.target-guide-tip strong,.target-guide-tip small{display:block}.target-guide-tip strong{font-size:.87rem}.target-guide-tip small{margin-top:3px;font-size:.68rem}
.target-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.target-guide-card{position:relative;min-width:0;min-height:148px;padding:72px 15px 16px;display:block;overflow:hidden;border:1px solid #e3d8cb;border-radius:22px;background:#fffefa;color:#103f5e;text-align:start;box-shadow:0 7px 17px rgba(28,46,55,.07)}
.target-guide-card::before{content:"";position:absolute;inset:0 0 auto;height:58px;background:linear-gradient(90deg,#e4f3ef,#f9fcfb)}
.target-guide-card .target-section-icon{position:absolute;top:12px;inset-inline-start:14px;width:52px;height:52px;border-radius:15px;background:rgba(255,255,255,.6);box-shadow:none;color:#17736e}.target-guide-card .target-section-icon svg{width:32px;height:32px}.target-guide-card>span strong{font-size:.93rem;line-height:1.45}.target-guide-card>span small{margin-top:4px;color:#6d7e8c;font-size:.69rem;line-height:1.5}.target-guide-card>b{position:absolute;bottom:13px;inset-inline-end:15px;color:#758997;font-size:1.4rem;font-weight:400}
.target-guide-card.abstract::before{background:linear-gradient(90deg,#eeeaff,#fbfaff)}.target-guide-card.abstract .target-section-icon{color:#5c57a0}.target-guide-card.verbal::before{background:linear-gradient(90deg,#ffeddf,#fffaf6)}.target-guide-card.verbal .target-section-icon{color:#b55a18}.target-guide-card.pq10::before{background:linear-gradient(90deg,#e0f2eb,#f9fcfb)}.target-guide-card.pq10 .target-section-icon{color:#247967}.target-guide-card.derailers::before{background:linear-gradient(90deg,#ffe8eb,#fffafa)}.target-guide-card.derailers .target-section-icon{color:#ad3550}.target-guide-card.leadership::before{background:linear-gradient(90deg,#e4f2f8,#f9fcfd)}.target-guide-card.leadership .target-section-icon{color:#1c6687}
.target-algorithm-guide{min-height:92px;margin-top:12px;margin-bottom:0;padding:14px 16px;border-color:#ded4c5;background:#fffefa}.target-algorithm-guide>span{width:54px;height:54px;border-radius:15px;background:#f5eee3;color:#8d6a36}.target-algorithm-guide>span svg{width:32px;height:32px}.target-algorithm-guide strong{font-size:.92rem}.target-algorithm-guide em{font-size:.68rem}

/* بوابة القسم المستقل */
.target-section-hub-hero{margin-bottom:12px;padding:18px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;border:1px solid #e1d7c9;border-radius:23px;background:#fffefa;box-shadow:0 7px 18px rgba(28,47,57,.07)}
.target-section-hub-hero>.target-section-icon{width:62px;height:62px;border-radius:18px}.target-section-hub-hero small,.target-section-hub-hero h2,.target-section-hub-hero p{display:block;margin:0}.target-section-hub-hero small{color:#718390;font-size:.66rem}.target-section-hub-hero h2{margin:2px 0;color:#103f5e;font-size:1.25rem}.target-section-hub-hero p{color:#4c7087;font-size:.74rem}
.target-section-simulations{display:grid;gap:9px}.target-section-simulations>header{margin:8px 2px 2px}.target-section-simulations>header h3{margin:0;color:#103f5e;font-size:1.05rem}.target-section-simulations>header p{margin:3px 0;color:#71818e;font-size:.72rem}
.target-section-simulation-card{padding:12px 14px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid #e3d9cc;border-radius:18px;background:#fffefa;box-shadow:0 5px 14px rgba(28,47,57,.05)}.target-section-simulation-card strong,.target-section-simulation-card small{display:block}.target-section-simulation-card strong{color:#103f5e;font-size:.88rem}.target-section-simulation-card small{margin-top:2px;color:#71818e;font-size:.65rem}.target-section-simulation-card .btn{min-width:125px}

/* تنبيه الاجتهاد التدريبي */
.target-official-disclaimer{margin:12px 0;padding:15px 17px;display:flex;align-items:flex-start;gap:12px;border:2px solid #cf2f35;border-radius:17px;background:#fff0f0;color:#971f25;box-shadow:0 5px 14px rgba(176,32,39,.08)}
.target-official-disclaimer>span{width:30px;height:30px;flex:0 0 auto;display:grid;place-items:center;border-radius:50%;background:#c9272f;color:#fff;font-size:1rem;font-weight:800}.target-official-disclaimer p{margin:0!important;color:#8f2025!important;font-size:.8rem!important;line-height:1.85;font-weight:600}.target-official-disclaimer strong{color:#a5171e}.target-official-disclaimer.methodology{border-width:3px;background:#ffebeb}.target-official-disclaimer.methodology p{font-size:.86rem!important}.target-official-disclaimer.training-feedback-warning{margin-top:14px}.target-sensitive-warning{margin-bottom:14px}

/* ملفات PDF وأدوات التقرير */
.target-guide-actions,.target-report-tools{display:flex!important;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px}.target-guide-actions .btn,.target-guide-actions a.btn{min-height:42px;text-decoration:none}.target-native-guide>.target-guide-actions{padding-top:6px}.target-embedded-guide-head>.target-guide-actions{justify-content:flex-end;margin:0}.target-embedded-guide-head>.target-guide-actions .btn{font-size:.68rem}
.target-complete-guide{margin-top:11px;padding:14px 16px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:9px;border:1px solid #bcd8e5;border-radius:19px;background:#edf8fc}.target-complete-guide strong,.target-complete-guide small{display:block}.target-complete-guide strong{color:#103f5e;font-size:.9rem}.target-complete-guide small{margin-top:3px;color:#637a89;font-size:.66rem}
.target-report-tools{margin:14px 0;padding:13px;border:1px solid #dcd2c4;border-radius:17px;background:#fffefa}.target-report-tools .btn{flex:1;min-width:180px}
.target-existing-guide{display:grid;gap:9px}.target-existing-guide>h3{margin:8px 2px 0;color:#103f5e}.target-guide-part{overflow:hidden;border:1px solid #ded4c7;border-radius:17px;background:#fffefa}.target-guide-part>summary{padding:14px 16px;color:#103f5e;font-weight:800;cursor:pointer}.target-guide-part>div{padding:0 16px 16px}.target-guide-part .guide-topic{margin:9px 0}.target-guide-part .guide-topic>summary{color:#176d7b;font-weight:700}

body.dark .target-section-hub-hero,body.dark .target-section-simulation-card,body.dark .target-complete-guide,body.dark .target-report-tools,body.dark .target-guide-part{background:var(--surface);color:var(--ink)}
body.dark .target-official-disclaimer{background:#381b1e;border-color:#ef6268;color:#ffd9da}body.dark .target-official-disclaimer p,body.dark .target-official-disclaimer strong{color:#ffd9da!important}

body.dark .gateway-topbar,body.dark .system-choice-card.previous-system,body.dark .target-before-start,body.dark .target-module-card,body.dark .target-generator-card,body.dark .target-sim-intro,body.dark .target-sim-progress,body.dark .target-simulation-summary,body.dark .target-section-card,body.dark .target-guide-card,body.dark .target-algorithm-guide{background:var(--surface);color:var(--ink)}
body.dark .target-photo-hero::before,body.dark .gateway-photo-hero::before{background:linear-gradient(270deg,rgba(13,24,32,.95),rgba(13,24,32,.78) 52%,rgba(13,24,32,.12))}
body.dark .target-photo-hero h2,body.dark .gateway-photo-hero h1,body.dark .target-module-card strong,body.dark .target-section-card h3,body.dark .target-guide-card strong{color:var(--ink)}

@media(max-width:767px){
  body.exam-gateway-active .main{padding:0!important}
  .gateway-content{padding:10px 14px calc(10px + env(safe-area-inset-bottom))}
  .gateway-photo-hero{min-height:115px;margin-bottom:11px;padding:15px 18px;border-radius:22px}.gateway-photo-hero>div{max-width:78%}
  .system-choice-grid{gap:10px}
  .system-choice-card{min-height:194px;padding:15px 17px;border-radius:23px}
  .system-choice-icon{top:14px;inset-inline-start:17px;width:52px;height:52px;border-radius:15px}.system-choice-icon svg{width:32px;height:32px}
  .choice-badge{top:15px;inset-inline-end:17px;padding:5px 12px;font-size:.68rem}
  .system-choice-copy{margin-top:57px}
  .system-choice-copy strong{font-size:1.14rem}.system-choice-copy .choice-meta{margin-top:1px;font-size:.76rem}.system-choice-copy small{margin-top:4px;font-size:.66rem;line-height:1.45}
  .choice-action{min-height:41px;margin-top:9px;padding-inline:13px;border-radius:12px;font-size:.76rem}.choice-action b{font-size:1.2rem}
  .gateway-memory-note{min-height:44px;margin-top:10px;padding:8px 12px;gap:9px;border-radius:14px;font-size:.66rem;line-height:1.4}.gateway-memory-note svg{width:23px;height:23px}
  .gateway-note{margin-top:6px;font-size:.58rem;line-height:1.35}
  .target-photo-hero{min-height:170px;padding:18px}.target-photo-strip{height:145px}
}

@media(max-width:430px){
  .gateway-topbar{height:64px;grid-template-columns:41px minmax(0,1fr) 41px;padding-inline:12px}.gateway-photo-avatar{width:38px;height:38px}.gateway-aa{font-size:1rem}.gateway-topbar>strong{font-size:.82rem}
  .gateway-content{padding:8px 12px calc(8px + env(safe-area-inset-bottom))}
  .gateway-photo-hero{min-height:90px;margin-bottom:9px;padding:12px 15px;border-radius:19px}.gateway-photo-hero h1{font-size:1.35rem}.gateway-photo-hero p{margin-top:3px;font-size:.7rem}.gateway-photo-hero>div{max-width:80%}
  .system-choice-grid{gap:8px}
  .system-choice-card{min-height:188px;padding:14px 15px;border-radius:21px}
  .system-choice-icon{top:13px;inset-inline-start:15px;width:48px;height:48px;border-radius:14px}.system-choice-icon svg{width:29px;height:29px}
  .choice-badge{top:14px;inset-inline-end:15px;padding:4px 10px;font-size:.62rem}
  .system-choice-copy{margin-top:52px}.system-choice-copy strong{font-size:1.08rem}.system-choice-copy .choice-meta{font-size:.72rem}.system-choice-copy small{font-size:.62rem;line-height:1.4}
  .choice-action{min-height:39px;margin-top:8px;font-size:.72rem}
  .gateway-memory-note{min-height:42px;margin-top:8px;padding:7px 10px;font-size:.61rem}.gateway-note{margin-top:5px;font-size:.54rem}
  .target-photo-hero{min-height:154px;border-radius:21px}.target-photo-hero h2{font-size:1.45rem}.target-photo-hero p{font-size:.76rem}
  .target-primary-launch,.target-before-start{min-height:94px;padding:14px}.target-launch-icon{width:52px;height:52px}.target-primary-launch strong,.target-before-start strong{font-size:1rem}
  .target-module-card{min-height:145px;padding-inline:12px}.target-module-card>span strong{font-size:.85rem}.target-module-card>span small{font-size:.65rem}
  .target-generator-card{padding-inline:14px}.target-generator-card strong{font-size:.87rem}.target-generator-card small{font-size:.62rem}.target-generator-icon{width:52px;height:52px}
  .target-photo-strip{height:132px;border-radius:21px}.target-sim-orbits{gap:9px}.target-sim-orb{padding:8px 3px}.target-sim-orb>span{width:29px;height:29px}.target-sim-orb strong{font-size:.94rem}.target-sim-orb small{font-size:.54rem}
  .target-simulation-summary{padding:14px}.target-simulation-summary h2{font-size:1.05rem}.target-simulation-summary .target-progress-ring{width:75px;height:75px}
  .target-section-card{min-height:225px;padding-inline:11px}.target-section-card .target-section-copy h3{font-size:.82rem}.target-section-card .target-section-copy p{font-size:.62rem}.target-section-actions .target-section-launch{font-size:.6rem}
  .target-guide-card{min-height:142px;padding-inline:12px}.target-guide-card>span strong{font-size:.82rem}.target-guide-card>span small{font-size:.61rem}
  .target-section-hub-hero{grid-template-columns:auto minmax(0,1fr)}.target-section-hub-hero>.btn{grid-column:1/-1}.target-section-simulation-card{grid-template-columns:auto minmax(0,1fr)}.target-section-simulation-card>.btn{grid-column:1/-1;width:100%}
  .target-complete-guide{grid-template-columns:1fr 1fr}.target-complete-guide>div{grid-column:1/-1}.target-embedded-guide-head{flex-direction:column}.target-embedded-guide-head>.target-guide-actions{justify-content:flex-start;width:100%}.target-official-disclaimer{padding:12px}.target-official-disclaimer p{font-size:.72rem!important}
}

@media(max-width:345px){.target-module-grid,.target-section-grid,.target-guide-grid{grid-template-columns:1fr}.target-module-card,.target-guide-card{min-height:138px}.target-section-card{min-height:220px}.target-sim-orbits{grid-template-columns:repeat(2,minmax(0,1fr))}}

@media(min-width:768px){
  .gateway-content{padding-top:28px}.gateway-photo-hero{min-height:300px}.system-choice-grid{grid-template-columns:1.12fr .88fr}.system-choice-card{min-height:310px}
  .target-module-grid,.target-guide-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.target-section-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.target-sim-orbits{grid-template-columns:repeat(6,minmax(0,1fr))}.target-photo-hero{min-height:240px}.target-photo-strip{height:230px}
}

@media print{
  .topbar,.rail,.tabbar,.footer,.no-print,.system-switch-button,.target-guide-actions{display:none!important}
  body,.app,.frame,.main{display:block!important;max-width:none!important;min-height:0!important;background:#fff!important;color:#111!important;overflow:visible!important}
  .main{padding:0!important}.target-official-disclaimer{break-inside:avoid;border-color:#c71922!important;background:#fff0f0!important;color:#8f151b!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.target-official-disclaimer p,.target-official-disclaimer strong{color:#8f151b!important}
  .target-result-hero,.target-result-stats,.target-method-note,.target-analysis-panel,.target-quality-card,.target-domain-summary,.target-competency-panel,.target-results-sim{break-inside:avoid;box-shadow:none!important}
  .target-history{display:block}.target-history>summary{display:none}
}

/* ========================================================================== */
/* v2.12.0 — بنوك محدثة وأدلة موحدة مع عرض النظام السابق                  */
/* ========================================================================== */
:root{--target-petrol:#0b7180;--target-petrol-dark:#075766;--target-petrol-soft:#e5f3f3}

/* العناوين داخل صورة الصحراء الحقيقية */
.target-page-photo{min-height:138px;padding:16px 18px;align-items:center;background-position:50% 56%}
.target-page-photo::before{background:linear-gradient(270deg,rgba(255,252,245,.96) 3%,rgba(255,252,245,.75) 55%,rgba(255,252,245,.06) 92%)}
.target-page-photo>div{max-width:78%}.target-page-photo h2{font-size:1.45rem}.target-page-photo p{font-size:.75rem}
.target-home-hero-v29{min-height:142px;padding:15px 18px}
.target-guide-detail-photo,.target-result-photo,.target-results-photo{min-height:128px}

/* شريطان واضحان بكامل العرض في الصفحة الرئيسية */
.target-primary-launch,.target-before-start{width:100%;min-height:66px;margin-bottom:8px;padding:9px 14px;border-radius:18px}
.target-primary-launch{background:linear-gradient(115deg,#083f5d,#086d80)}
.target-before-start{border-color:#d9c49c;background:linear-gradient(115deg,#fffaf0,#f1dfbe)}
.target-launch-icon{width:44px;height:44px;border-radius:13px}.target-launch-icon svg{width:28px;height:28px}
.target-primary-launch strong,.target-before-start strong{font-size:.92rem}.target-primary-launch small,.target-before-start small{font-size:.62rem}

/* الأقسام: ست دوائر بترولية في شبكة 3 × 2 من اليمين إلى اليسار */
.target-section-heading{margin:10px 2px 6px;font-size:.86rem;color:#49677a}
.target-module-grid,.target-guide-grid,.target-section-grid{grid-template-columns:repeat(3,minmax(0,1fr));direction:rtl;gap:9px 5px}
.target-module-card,.target-guide-card{min-width:0;min-height:108px;padding:0 2px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:4px;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:center}
.target-module-card::before,.target-guide-card::before,.target-section-card::before{display:none!important}
.target-module-card>.target-section-icon,.target-guide-card .target-section-icon,
.target-section-card>.target-section-icon{position:static;width:70px;height:70px;display:grid;place-items:center;border-radius:50%;background:var(--target-petrol)!important;color:#fff!important;box-shadow:0 7px 15px rgba(7,87,102,.2)}
.target-module-card>.target-section-icon svg,.target-guide-card .target-section-icon svg,.target-section-card>.target-section-icon svg{width:42px;height:42px}
.target-module-card>span,.target-guide-card>span{width:100%}.target-module-card>span strong,.target-guide-card>span strong{display:block;color:#103f5e;font-size:.67rem;line-height:1.32;text-align:center}
.target-module-card>span small,.target-guide-card>span small,.target-module-card>b,.target-guide-card>b{display:none}
.target-module-card:hover .target-section-icon,.target-guide-card:hover .target-section-icon{transform:translateY(-2px);background:var(--target-petrol-dark)}

/* التدريب الإضافي يبقى شريطًا صغيرًا أسفل الدوائر */
.target-extra-heading{margin-top:8px}.target-generator-card{min-height:65px;padding:8px 11px;border-radius:17px;grid-template-columns:auto minmax(0,1fr) auto}
.target-generator-card::before{display:none}.target-generator-icon{width:43px;height:43px;border-radius:50%;background:var(--target-petrol);color:#fff}.target-generator-icon svg{width:27px;height:27px}
.target-generator-card strong{font-size:.78rem}.target-generator-card small{font-size:.57rem}.target-generator-card em{position:static;padding:3px 7px;font-size:.52rem}.target-generator-card>b{display:none}
.target-home-disclaimer{margin-top:10px;padding:9px 6px;font-size:.58rem}

/* دوائر المحاكيات الست — M1 يبدأ من أقصى اليمين */
.target-sim-prompt{margin:12px 2px 8px;font-size:.96rem}.target-sim-orbits{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;direction:rtl}
.target-sim-orb{aspect-ratio:1;padding:7px 3px;direction:rtl;border:0;background:var(--target-petrol);color:#fff;box-shadow:0 7px 16px rgba(7,87,102,.18)}
.target-sim-orb>span{width:29px;height:29px;color:#fff}.target-sim-orb strong{color:#fff;font-size:.9rem}.target-sim-orb small{color:rgba(255,255,255,.8);font-size:.52rem}
.target-sim-orb.selected{border:3px solid #d9b36b;background:var(--target-petrol-dark);box-shadow:0 0 0 4px rgba(217,179,107,.16),0 7px 16px rgba(7,87,102,.2)}
.target-sim-orb.complete{border:3px solid #73c7b8}.target-sim-orb.complete>span{color:#fff}
.target-sim-progress{padding:12px 14px}.target-sim-progress .target-progress-ring{width:70px;height:70px}.target-sim-start{min-height:59px;margin-top:11px;border-radius:18px}.target-info-note{min-height:62px;margin-top:10px;padding:10px 13px;font-size:.68rem}

/* اختيار المحاكاة داخل كل قسم في شبكة دائرية واحدة */
.target-section-guide-bar{width:100%;min-height:58px;margin-bottom:9px;padding:8px 12px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid #d5c3a3;border-radius:17px;background:#fff8eb;color:#103f5e;font:inherit;text-align:start}
.target-section-guide-bar .target-section-icon{width:42px;height:42px;background:#a87833}.target-section-guide-bar .target-section-icon svg{width:25px;height:25px}.target-section-guide-bar strong,.target-section-guide-bar small{display:block}.target-section-guide-bar strong{font-size:.79rem}.target-section-guide-bar small{font-size:.58rem;color:#6d7d89}.target-section-guide-bar>b{font-size:1.3rem}
.target-section-simulations{gap:6px}.target-section-simulations>header{margin:5px 2px}.target-section-simulations>header h3{font-size:.92rem}.target-section-simulations>header p{font-size:.62rem}
.target-section-simulation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;direction:rtl}
.target-section-simulation-card{aspect-ratio:1;min-width:0;padding:7px 3px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:0;border-radius:50%;background:var(--target-petrol);color:#fff;font:inherit;text-align:center;box-shadow:0 7px 16px rgba(7,87,102,.18)}
.target-section-simulation-card .target-sim-number{width:29px;height:29px;background:rgba(255,255,255,.16);color:#fff;font-size:.9rem}.target-section-simulation-card strong{color:#fff;font-size:.68rem}.target-section-simulation-card small{color:rgba(255,255,255,.78);font-size:.5rem}.target-section-simulation-card em{display:none}.target-section-simulation-card.active{box-shadow:0 0 0 3px #e6bd70,0 7px 16px rgba(7,87,102,.18)}.target-section-simulation-card.complete{background:#086254;box-shadow:0 0 0 3px #73c7b8,0 7px 16px rgba(7,87,102,.18)}

/* وضع التدريب والاختبار بحالة مختارة بارزة */
.target-mode-switch{margin-bottom:9px;padding:4px;border:2px solid #cad8da;border-radius:16px;background:#e8eeee;gap:4px}
.target-mode-switch button{position:relative;min-height:45px;border:1px solid transparent;border-radius:12px;color:#596e7a;font-size:.75rem}
.target-mode-switch button.selected{border-color:var(--target-petrol);background:var(--target-petrol);color:#fff;box-shadow:0 5px 13px rgba(7,87,102,.2)}
.target-mode-switch button.selected::before{content:"✓";display:inline-grid;place-items:center;width:18px;height:18px;margin-inline-end:5px;border-radius:50%;background:#fff;color:var(--target-petrol);font-size:.66rem}

/* أقسام المحاكاة الكاملة: نفس لغة الدوائر */
.target-simulation-summary{padding:10px 13px}.target-simulation-summary .target-progress-ring{width:64px;height:64px}.target-simulation-summary h2{font-size:.9rem}.target-simulation-summary p{margin-bottom:6px;font-size:.6rem}
.target-section-card{position:relative;min-width:0;min-height:114px;padding:0 2px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:3px;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:center}
.target-section-card::before{display:none}.target-section-card .target-section-copy h3{margin-top:1px;color:#103f5e;font-size:.63rem;line-height:1.25;text-align:center}.target-section-card .target-section-copy p,.target-section-card .target-last-result{display:none}
.target-section-state{margin:0;padding:1px 6px;background:transparent;color:#70808b;font-size:.49rem}.target-section-state.active{background:transparent;color:#946315}.target-section-state.complete{background:transparent;color:#1f7a62}
.target-section-actions{position:absolute;inset:0;margin:0}.target-section-actions .target-section-launch{position:absolute;inset:0;z-index:1;min-height:0;border-radius:10px;background:transparent;color:transparent}.target-section-actions .target-section-launch span,.target-section-actions .target-section-launch b{visibility:hidden}
.target-section-actions .target-section-guide{position:absolute;z-index:3;top:49px;inset-inline-end:0;width:23px;height:23px;min-height:23px;padding:0;display:grid;place-items:center;border:2px solid #fff;border-radius:50%;background:#d4a85c;color:#fff;font-size:0;text-decoration:none;box-shadow:0 3px 8px rgba(0,0,0,.12)}
.target-section-actions .target-section-guide::before{content:"i";font-size:.65rem;font-weight:800}

/* الجداول العددية: صفحة رأسية، وجدول موحّد بحركة أفقية وشريط دائم */
body.target-numeric-session{overflow:auto}body.target-numeric-session .frame{height:auto;min-height:100dvh;overflow:visible}body.target-numeric-session .main{height:auto;overflow:visible}body.target-numeric-session .footer{display:none}
.numerical-question{overflow:visible}.target-table-card{margin:0 0 12px;padding:10px;border:1px solid #cfe0e4;border-radius:16px;background:#f8fbfc}.target-table-card>h3{margin:0 0 2px;color:var(--target-navy);font-size:.82rem;text-align:center}.target-table-note{margin:2px 1px 9px;color:var(--ink-2);font-size:.61rem;line-height:1.6;text-align:start}
.target-table-viewport{min-width:0}.target-table-scroll{max-width:100%;margin:0;overflow-x:auto;overflow-y:visible;direction:ltr;scrollbar-width:none;-webkit-overflow-scrolling:touch}.target-table-scroll::-webkit-scrollbar{display:none}
.target-data-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;direction:rtl;table-layout:auto;font-size:.68rem}.target-data-table th,.target-data-table td{width:1%;min-width:64px;padding:7px 8px;border-inline-start:1px solid #d9e4e6;border-top:1px solid #d9e4e6;text-align:center;white-space:nowrap}.target-data-table .target-category-cell{min-width:112px;max-width:168px}.target-data-table thead th{background:var(--target-navy);color:#fff}.target-data-table tbody .target-category-cell{background:#e7f2f3;color:var(--target-navy);text-align:start}
.target-persistent-scroll{direction:ltr;min-height:24px;padding:4px 3px 0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;color:var(--ink-3)}.target-persistent-scroll>span{font-size:1rem;line-height:1}.target-persistent-scroll>input{width:100%;height:18px;margin:0;appearance:none;-webkit-appearance:none;background:transparent;accent-color:var(--target-petrol)}.target-persistent-scroll>input::-webkit-slider-runnable-track{height:6px;border-radius:999px;background:var(--line-strong)}.target-persistent-scroll>input::-webkit-slider-thumb{width:68px;height:6px;margin-top:0;appearance:none;-webkit-appearance:none;border:0;border-radius:999px;background:var(--target-petrol)}.target-persistent-scroll>input::-moz-range-track{height:6px;border:0;border-radius:999px;background:var(--line-strong)}.target-persistent-scroll>input::-moz-range-thumb{width:68px;height:6px;border:0;border-radius:999px;background:var(--target-petrol)}.target-persistent-scroll>input:disabled{opacity:.5}
.target-dual-table-viewport{--target-group-a-head:#0b7180;--target-group-a-label:#0b7180;--target-group-a-soft:#e2f2f1;--target-group-a-cell:#f2f9f8;--target-group-b-head:#956737;--target-group-b-label:#956737;--target-group-b-soft:#f5eadc;--target-group-b-cell:#fcf8f1}
.target-dual-data-table{width:704px;min-width:704px;table-layout:fixed}.target-dual-data-table col.target-dual-category-col{width:92px}.target-dual-data-table col.target-dual-number-col{width:52px}.target-dual-data-table th,.target-dual-data-table td{position:static!important;inset:auto!important;width:auto!important;min-width:0!important;max-width:none!important;padding:6px 4px;white-space:normal;text-align:center;box-shadow:none!important}.target-dual-data-table .target-dual-group-title{height:38px;font-size:.8rem;font-weight:800}.target-dual-data-table .target-dual-column-head{height:58px;color:#fff;font-size:.59rem;font-weight:800;line-height:1.3;overflow:hidden}.target-dual-data-table .target-dual-column-head span{display:block;max-width:100%;overflow-wrap:anywhere;text-align:center;unicode-bidi:plaintext}.target-dual-data-table tbody th,.target-dual-data-table tbody td{height:43px}.target-dual-category-cell{font-size:.64rem;font-weight:800;line-height:1.35}.target-dual-value-cell{font-size:.67rem}.target-dual-group-title.target-group-a{color:var(--target-group-a-label);background:var(--target-group-a-soft)}.target-dual-group-title.target-group-b{color:var(--target-group-b-label);background:var(--target-group-b-soft)}.target-dual-data-table tbody .target-group-a{background:var(--target-group-a-cell)}.target-dual-data-table tbody .target-group-b{background:var(--target-group-b-cell)}.target-dual-column-head.target-group-a{background:var(--target-group-a-head)}.target-dual-column-head.target-group-b{background:var(--target-group-b-head)}.target-dual-group-title.target-group-b,.target-dual-category-cell.target-group-b,.target-dual-column-head.target-category-cell.target-group-b{border-inline-start:3px solid var(--surface)}
.target-dual-persistent-scroll{grid-template-columns:minmax(48px,94px) minmax(72px,1fr) minmax(48px,94px);min-height:31px}.target-scroll-group-label{overflow:hidden;font-size:.55rem;font-weight:800;line-height:1.2;text-align:center;text-overflow:ellipsis;white-space:nowrap}.target-scroll-left-group{color:var(--target-group-b-label)}.target-scroll-right-group{color:var(--target-group-a-label)}
.target-numeric-divider{height:1px;margin:10px 2px 13px;background:var(--line)}

/* النتائج تستخدم الدوائر البترولية نفسها */
.target-result-chips{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;direction:rtl}.target-result-chips>button{aspect-ratio:1;min-height:0;padding:5px;border:0;border-radius:50%;background:var(--target-petrol);color:#fff}.target-result-chips .target-section-icon{width:28px;height:28px;background:transparent;box-shadow:none;color:#fff}.target-result-chips span,.target-result-chips b{color:#fff}.target-domain-summary .target-section-icon{background:var(--target-petrol);color:#fff}

body.dark .target-page-photo::before{background:linear-gradient(270deg,rgba(13,24,32,.94),rgba(13,24,32,.7) 58%,rgba(13,24,32,.06))}
body.dark .target-module-card,body.dark .target-guide-card,body.dark .target-section-card{background:transparent}
body.dark .target-table-card{background:var(--surface-2)}body.dark .target-data-table tbody .target-category-cell{background:#17323b;color:var(--ink)}
body.dark .target-dual-table-viewport{--target-group-a-head:#236f6a;--target-group-a-label:#7bd0c8;--target-group-a-soft:#193a37;--target-group-a-cell:#182d2c;--target-group-b-head:#76502e;--target-group-b-label:#e0b37d;--target-group-b-soft:#3a2d21;--target-group-b-cell:#2c271f}

@media(max-width:430px){
  .target-home-hero-v29{min-height:116px;height:116px;padding:10px 14px;border-radius:20px}.target-home-hero-v29 h2{font-size:1.15rem}.target-home-hero-v29 p{font-size:.61rem}.target-home-hero-v29 span{font-size:.57rem}
  .target-page-photo:not(.target-home-hero-v29){min-height:132px;height:132px;padding:13px 15px}.target-page-photo h2{font-size:1.2rem}.target-page-photo p{font-size:.65rem}
  .target-primary-launch,.target-before-start{min-height:61px;padding:7px 11px}.target-launch-icon{width:40px;height:40px}.target-primary-launch strong,.target-before-start strong{font-size:.83rem}
  .target-module-card,.target-guide-card{min-height:102px}.target-module-card>.target-section-icon,.target-guide-card .target-section-icon,.target-section-card>.target-section-icon{width:64px;height:64px}.target-module-card>.target-section-icon svg,.target-guide-card .target-section-icon svg,.target-section-card>.target-section-icon svg{width:38px;height:38px}.target-module-card>span strong,.target-guide-card>span strong{font-size:.61rem}
  .target-sim-orbits,.target-section-simulation-grid{gap:8px}.target-sim-orb,.target-section-simulation-card{padding:5px 2px}.target-sim-orb>span{width:25px;height:25px}.target-sim-orb strong{font-size:.82rem}
  .target-section-card{min-height:106px;padding:0}.target-section-card .target-section-copy h3{font-size:.58rem}.target-section-actions .target-section-guide{top:44px}
  .target-section-hub-hero{display:none}.target-section-simulation-card{display:flex}.target-section-simulation-card strong{font-size:.61rem}.target-section-simulation-card small{font-size:.46rem}
  .target-guide-tip{min-height:61px;padding:9px 11px}.target-guide-tip>svg{width:25px;height:25px}.target-guide-tip strong{font-size:.72rem}.target-guide-tip small{font-size:.58rem}
  .target-algorithm-guide{min-height:68px;padding:9px 11px}.target-complete-guide{padding:10px}.target-home-disclaimer{display:none}
  .target-data-table th,.target-data-table td{padding:6px 7px}.target-data-table .target-category-cell{min-width:106px}.target-dual-data-table{width:664px;min-width:664px}.target-dual-data-table col.target-dual-category-col{width:82px}.target-dual-data-table col.target-dual-number-col{width:50px}.target-dual-data-table th,.target-dual-data-table td{padding:5px 2px}.target-dual-data-table .target-dual-column-head{height:64px;font-size:.56rem}
}

@media(max-width:345px){.target-module-grid,.target-guide-grid,.target-section-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.target-module-card,.target-guide-card{min-height:96px}.target-module-card>.target-section-icon,.target-guide-card .target-section-icon,.target-section-card>.target-section-icon{width:58px;height:58px}.target-module-card>.target-section-icon svg,.target-guide-card .target-section-icon svg,.target-section-card>.target-section-icon svg{width:34px;height:34px}.target-module-card>span strong,.target-guide-card>span strong,.target-section-card .target-section-copy h3{font-size:.54rem}.target-section-card{min-height:98px}.target-section-actions .target-section-guide{top:39px}}

@media(min-width:768px){.target-home-hero-v29{min-height:180px}.target-page-photo{min-height:190px}.target-module-grid,.target-guide-grid,.target-section-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.target-module-card,.target-guide-card,.target-section-card{min-height:125px}.target-sim-orbits,.target-section-simulation-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}

@media print{.target-page-photo,.target-persistent-scroll{display:none!important}.target-table-scroll{overflow:visible!important}.target-data-table{min-width:0!important;width:100%!important;font-size:8px}.target-dual-data-table{table-layout:fixed!important}}

/* ========================================================================== */
/* v2.13.0 — مطابقة واجهة النظام الحديث مع نظام العرض السابق                */
/* ========================================================================== */

/* الصفحات العامة تستخدم مكوّنات النظام السابق نفسها. */
.target-legacy-module-grid{margin-bottom:4px}
.target-generator-legacy{margin-top:0}
.target-simulation-picker,.target-section-simulation-grid{margin-bottom:12px}
.target-mode-switch{display:flex;margin:0 0 10px;padding:3px;gap:2px;border:0;border-radius:var(--r-md);background:var(--surface-3)}
.target-mode-switch button{flex:1;min-width:0;min-height:38px;padding:0 var(--s-3);border:0;border-radius:var(--r-sm);background:transparent;color:var(--ink-2);font:inherit;font-size:.82rem;font-weight:600;cursor:pointer}
.target-mode-switch button.selected{border:0;background:var(--surface);color:var(--ink);box-shadow:var(--sh-1)}
.target-mode-switch button.selected::before{display:none}
.target-section-progress{margin-bottom:9px}
.target-full-grid{margin-bottom:10px}
.target-full-section.done{cursor:pointer}
.target-full-section.done:hover{border-color:var(--good);box-shadow:var(--sh-2)}
.target-full-result{grid-column:1/-1;color:var(--good);font-size:.64rem;font-style:normal;font-weight:700}
.target-final-report{margin:1px 0 10px}
.target-full-note{margin-top:0}

/* غلاف السؤال وشريط التقدم والتنقل مطابقان للجلسة السابقة. */
.target-a11y-caption{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
body.session-active .target-session-wrap{width:100%;max-width:820px}
.target-numerical-flow{min-width:0;display:flex;flex:1;flex-direction:column}
.target-numerical-flow>.target-table-card{flex:0 0 auto}
.target-numerical-flow>.question-card{flex:0 0 auto}
body.session-active .session-nav.target-question-nav{position:sticky;inset-inline:auto;bottom:calc(var(--s-3) + env(safe-area-inset-bottom));z-index:48;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--s-2);width:100%;max-width:820px;margin-top:auto;padding:7px;border:1px solid var(--line);border-radius:var(--r-lg);background:color-mix(in srgb,var(--surface) 94%,transparent);box-shadow:0 10px 30px rgba(9,46,67,.18);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
body.session-active .target-question-nav .question-position{justify-self:center;text-align:center}
body.session-active .target-question-nav .next-question{justify-self:end;min-width:110px}
body.session-active .target-question-nav .prev-question{justify-self:start}

.target-question .question-kind{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0}
.target-question-tag{margin:0;padding:4px 9px;border-radius:var(--r-pill);background:var(--surface-3);color:var(--ink-2);font-size:.7rem}
.target-question-tag .ico{width:14px;height:14px}
.target-topic-badge{padding:4px 9px;background:var(--info-soft);color:var(--info);font-size:.66rem}
.target-question .question-toolbar{min-height:36px}
.target-question .question-text{overflow-wrap:anywhere}
.target-passage{margin-bottom:12px;padding:13px 14px;border-inline-start:3px solid var(--primary);border-radius:var(--r-md);background:var(--surface-2)}
.target-passage p{font-size:.94rem;line-height:1.8}
.target-verbal-statement{padding:11px 12px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface)}
.target-verbal-statement .question-text{margin:3px 0 0}
.target-semantic-options{grid-template-columns:1fr;gap:7px;margin-top:10px}
.target-semantic-options>.option-btn{min-height:47px;padding:7px 10px;border-radius:var(--r-md)}
.target-abstract-direction{margin:5px 0 8px;padding:6px 9px;border:1px solid var(--warn-line);border-radius:var(--r-sm);background:var(--warn-soft);color:var(--warn);font-size:.74rem}
.target-abstract-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:7px}
.target-abstract-options>.abstract-option{min-height:80px;padding:7px;border-width:1.5px;border-radius:var(--r-md)}
.target-abstract-options>.abstract-option svg{width:100%;max-width:90px;max-height:90px}
.target-abstract-options>.abstract-option.selected{border:2.5px solid var(--v27-teal);background:color-mix(in srgb,var(--v27-mint) 82%,var(--surface));box-shadow:0 0 0 3px color-mix(in srgb,var(--v27-teal) 19%,transparent)}
.target-abstract-options>.abstract-option.correct-option{border-color:var(--good)!important;background:var(--good-soft)!important}
.target-abstract-options>.abstract-option.wrong-option{border-color:var(--bad)!important;background:var(--bad-soft)!important}
.target-likert-question .question-text{font-size:clamp(1.1rem,3vw,1.4rem);line-height:1.8}
.target-inline-feedback,.target-lead-feedback{margin-top:14px;padding:var(--s-4);border-radius:var(--r-lg)}
.answer-verdict{font-weight:800}
.target-remember{padding:9px 11px;border:1px solid var(--warn-line);border-radius:var(--r-sm);background:var(--warn-soft);color:var(--ink)}

/* التقرير والنتائج يكرران تركيب النظام السابق: تبويبات، دائرة، أشرطة وبطاقات. */
.target-legacy-report{width:100%;max-width:820px;margin:0 auto}
.target-report-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}
.target-report-tabs button{min-width:0;white-space:normal;line-height:1.25}
.target-legacy-bars{margin-bottom:10px}
.target-legacy-bar-list{display:grid;gap:15px}
.target-legacy-bar-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:5px 10px}
.target-legacy-bar-row>div strong,.target-legacy-bar-row>div small{display:block}
.target-legacy-bar-row>div strong{font-size:.88rem;line-height:1.45}
.target-legacy-bar-row>div small{margin-top:1px;color:var(--ink-3);font-size:.62rem}
.target-legacy-bar-row>b{color:var(--v27-navy);font-size:1rem}
.target-legacy-bar-row>.meter{grid-column:1/-1;width:100%;height:6px;border-radius:999px;background:var(--surface-3);overflow:hidden}
.target-legacy-bar-row>.meter>i{display:block;height:100%;border-radius:999px;background:var(--primary)}
.target-legacy-bar-row.good>.meter>i{background:var(--good)}
.target-legacy-bar-row.warn>.meter>i{background:var(--warn)}
.target-legacy-bar-row.bad>.meter>i{background:var(--bad)}
.target-legacy-details .target-result-hero{display:none}
.target-legacy-report .v27-report-actions.target-report-tools{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0;padding:0;border:0;background:transparent}
.target-answers-button{margin:9px 0}
.target-result-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}
.target-result-actions .btn{min-width:0;margin:0}
.target-result-module{font:inherit;color:var(--ink);text-align:start;cursor:pointer}
.target-result-module>.meter>span{display:block;height:100%;border-radius:inherit;background:var(--primary)}
.target-results-overview .report-module-detail{margin-bottom:9px}
.target-integrated-report,.target-simulation-results,.target-history{padding:0}
.target-answers-back{margin-top:12px}
.target-answer-context p{line-height:1.85}
.leadership-answer-card .lead-answer-review{margin-top:8px}

body.dark .target-mode-switch button.selected{background:var(--surface);color:var(--ink)}
body.dark .target-legacy-bar-row>b{color:var(--ink)}

@media(max-width:767px){
  body.session-active .session-nav.target-question-nav{position:fixed;inset-inline:12px;bottom:max(10px,env(safe-area-inset-bottom));width:auto;margin-inline:auto}
  .target-legacy-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:640px){
  .target-abstract-options{grid-template-columns:repeat(2,minmax(0,1fr))}
  .target-abstract-options>.abstract-option{min-height:78px}
  .target-legacy-report .v27-report-actions.target-report-tools,.target-result-actions{grid-template-columns:1fr}
  .target-report-tabs button{font-size:.68rem;padding-inline:4px}
}

@media(max-width:420px){
  .target-question-tag{font-size:.64rem}
  .target-topic-badge{font-size:.6rem}
  .target-legacy-bar-row>div strong{font-size:.82rem}
}

@media print{
  .target-report-tabs,.target-result-actions,.target-answers-button,.target-final-report{display:none!important}
  .target-legacy-bars,.target-legacy-details,.target-official-disclaimer{break-inside:avoid}
}

/* ========================================================================== */
/* v2.13.3 — ملاءمة صفحة شرح الساعات لشاشات الهاتف                        */
/* ========================================================================== */

.target-four-clock-training-page,.target-four-clock-review-page{width:100%;min-width:0;max-width:820px;margin:0 auto;overflow-x:hidden;overflow-x:clip}
.target-four-clock-page-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-width:0;max-width:100%;margin-bottom:9px}
.target-four-clock-page-actions .btn{margin:0}
.target-four-clock-solution-page{display:grid;gap:12px;width:100%;min-width:0;max-width:100%;color:var(--ink)}
.target-four-clock-solution-page>*,.target-four-clock-explanation>*,.target-four-clock-rich>*,.target-clock-explanation-step>*{min-width:0;max-width:100%}
.target-four-clock-solution-head{display:flex;align-items:flex-start;gap:12px;padding:15px;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--sh-1)}
.target-four-clock-solution-icon{flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:var(--bad-soft);color:var(--bad)}
.target-four-clock-solution-page.answer-ok .target-four-clock-solution-icon{background:var(--good-soft);color:var(--good)}
.target-four-clock-solution-icon .ico{width:23px;height:23px}
.target-four-clock-solution-head>div{min-width:0;flex:1}
.target-four-clock-solution-head small{display:block;color:var(--ink-3);font-size:.68rem}
.target-four-clock-solution-head h2{margin:1px 0 3px;color:var(--bad);font-size:1.16rem}
.target-four-clock-solution-page.answer-ok .target-four-clock-solution-head h2{color:var(--good)}
.target-four-clock-solution-head p{margin:0;color:var(--ink-2);font-size:.76rem;line-height:1.65}

.target-four-clock-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;min-width:0;max-width:100%;direction:rtl}
.target-four-clock-comparison>div{min-width:0;padding:11px;border:1.5px solid var(--line);border-radius:var(--r-lg);background:var(--surface);text-align:center;box-shadow:var(--sh-1)}
.target-four-clock-comparison>div>span{min-height:27px;display:flex;align-items:center;justify-content:center;gap:5px;margin-bottom:6px;color:var(--ink-2);font-size:.76rem;font-weight:800}
.target-four-clock-comparison .user-choice.wrong{border-color:var(--bad);background:var(--bad-soft)}
.target-four-clock-comparison .user-choice.correct,.target-four-clock-comparison .correct-choice{border-color:var(--good);background:var(--good-soft)}
.target-four-clock-comparison .correct-choice>span{color:var(--good)}
.target-four-clock-comparison .user-choice.wrong>span{color:var(--bad)}
.target-four-clock-svg{min-height:150px;display:grid;place-items:center;padding:5px;border-radius:var(--r-md);background:var(--surface)}
.target-four-clock-svg svg{display:block;width:min(100%,220px);height:auto;max-height:220px}
.target-four-clock-comparison small{display:block;margin-top:7px;color:var(--ink-2);font-size:.65rem;line-height:1.55}

.target-four-clock-explanation{width:100%;min-width:0;max-width:100%;padding:15px;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--sh-1);overflow:hidden}
.target-four-clock-explanation>header{display:flex;align-items:center;gap:9px;margin-bottom:10px}
.target-four-clock-explanation>header .avatar{flex:0 0 39px;width:39px;height:39px}
.target-four-clock-explanation>header small{display:block;color:var(--ink-3);font-size:.64rem}
.target-four-clock-explanation>header h3{margin:0;color:var(--target-navy);font-size:1.08rem}
.target-four-clock-diagram{padding:11px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface-2)}
.target-four-clock-rule-pairs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.target-four-clock-rule-pairs>section{min-width:0;padding:8px;border-radius:var(--r-md);background:var(--surface)}
.target-four-clock-rule-pairs>section>strong{display:block;margin-bottom:7px;color:var(--target-navy);font-size:.7rem;text-align:center}
.target-four-clock-pair{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);align-items:center;gap:4px;direction:ltr}
.target-four-clock-pair>b{color:var(--target-petrol);font-size:1.3rem;text-align:center}
.target-four-clock-pair>div{min-width:0;padding:5px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--surface);direction:rtl;text-align:center}
.target-four-clock-pair>div.correct{border-color:var(--good);background:var(--good-soft)}
.target-four-clock-pair span,.target-four-clock-reference-grid span,.target-four-clock-result-visual>span{display:block;margin-bottom:4px;color:var(--ink-3);font-size:.58rem;font-weight:700;text-align:center}
.target-four-clock-pair svg,.target-four-clock-reference-grid svg,.target-four-clock-result-visual svg{display:block;width:100%;height:auto;max-height:170px;margin:auto}
.target-four-clock-reference-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;direction:ltr}
.target-four-clock-reference-grid>div{min-width:0;padding:6px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--surface);direction:rtl}
.target-four-clock-result-visual{width:min(100%,260px);margin:10px auto 0;padding:8px;border:1.5px solid var(--good);border-radius:var(--r-md);background:var(--good-soft)}
.target-four-clock-result-visual>span{color:var(--good);font-size:.68rem}
.target-four-clock-full-text{margin:12px 1px 0;color:var(--ink);font-size:.91rem;line-height:1.95}
.target-four-clock-steps{display:grid;gap:7px;margin:11px 0 0;padding:0;list-style:none;counter-reset:four-clock-step}
.target-four-clock-steps li{position:relative;min-height:40px;padding:9px 43px 9px 11px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--surface-2);font-size:.82rem;line-height:1.75;counter-increment:four-clock-step}
.target-four-clock-steps li::before{content:counter(four-clock-step);position:absolute;top:8px;inset-inline-start:9px;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:var(--target-petrol);color:#fff;font-size:.68rem;font-weight:800}
.target-four-clock-distractor{padding:12px 14px;border:1px solid var(--warn-line);border-radius:var(--r-md);background:var(--warn-soft)}
.target-four-clock-distractor strong{display:flex;align-items:center;gap:6px;color:var(--warn);font-size:.8rem}
.target-four-clock-distractor p{margin:5px 0 0;font-size:.8rem;line-height:1.75}
.target-four-clock-disclaimer{margin:0}
.target-four-clock-ready{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;padding:12px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface-2)}
.target-four-clock-ready>div{min-width:0}
.target-four-clock-ready strong,.target-four-clock-ready small{display:block}
.target-four-clock-ready strong{color:var(--good);font-size:.84rem}
.target-four-clock-ready.bad strong{color:var(--bad)}
.target-four-clock-ready small{margin-top:2px;color:var(--ink-3);font-size:.64rem}
.target-four-clock-ready .btn{flex:0 0 auto;margin:0}
.target-four-clock-review-button,.target-four-clock-review-back{margin-top:10px}

.target-four-clock-rich{display:grid;gap:11px;width:100%;min-width:0;max-width:100%}
.target-four-clock-source-rule{display:grid;gap:3px;padding:11px 13px;border:1px solid #b9ded5;border-radius:var(--r-md);background:#eef9f6}
.target-four-clock-source-rule span{color:var(--target-petrol);font-size:.65rem;font-weight:800}
.target-four-clock-source-rule strong{font-size:.86rem;line-height:1.8}
.target-clock-explanation-step{width:100%;min-width:0;max-width:100%;padding:12px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface-2);overflow:hidden}
.target-clock-step-heading{display:flex;align-items:center;gap:8px;margin-bottom:7px}
.target-clock-step-heading>span{flex:0 0 27px;width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:var(--target-petrol);color:#fff;font-size:.67rem;font-weight:900}
.target-clock-step-heading h4{margin:0;color:var(--target-navy);font-size:.88rem;line-height:1.55}
.target-clock-explanation-step>p{margin:6px 0;color:var(--ink-2);font-size:.8rem;line-height:1.85}
.target-clock-explanation-step>ul{display:grid;gap:5px;margin:8px 0;padding-inline-start:21px;color:var(--ink-2);font-size:.76rem;line-height:1.75}
.target-rich-flow,.target-clock-strip{display:flex;align-items:center;gap:7px;width:100%;min-width:0;max-width:100%;margin-top:10px;padding:9px;overflow-x:auto;overscroll-behavior-inline:contain;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--surface);-webkit-overflow-scrolling:touch}
.target-rich-flow>.target-clock-panel{flex:1 0 160px}
.target-rich-arrow{flex:0 0 auto;min-width:40px;padding:4px 6px;border-radius:999px;background:#fff2df;color:#b45309;font-size:.68rem;font-weight:900;text-align:center;direction:ltr}
.target-clock-panel{min-width:0;padding:7px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--surface)}
.target-clock-panel-head{min-height:23px;display:flex;align-items:center;justify-content:center;gap:6px;margin-bottom:4px;color:var(--ink-2);font-size:.66rem;font-weight:800;text-align:center}
.target-clock-panel-head>b{min-width:24px;padding:2px 6px;border-radius:999px;background:var(--target-navy);color:#fff}
.target-clock-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}
.target-rich-clock{position:relative;min-width:0;padding:2px;border:2px solid var(--clock-ring,transparent);border-radius:50%}
.target-rich-clock.dim{opacity:.23;filter:grayscale(1)}
.target-rich-clock small{position:absolute;right:-2px;bottom:-3px;z-index:2;padding:1px 4px;border-radius:999px;background:var(--surface);color:var(--note-color);font-size:.46rem;font-weight:900;direction:ltr}
.target-clock-face{display:block;width:100%;height:auto}
.target-clock-face .clock-dial{fill:#fffdf8;stroke:#153e56;stroke-width:3}
.target-clock-face .clock-ticks line{stroke:#78909c;stroke-width:2;stroke-linecap:round}
.target-clock-face .clock-hour{stroke:#153e56;stroke-width:6;stroke-linecap:round}
.target-clock-face .clock-minute{stroke:#2a9d8f;stroke-width:4;stroke-linecap:round}
.target-clock-face .clock-pin{fill:#b48638}
.target-clock-strip{justify-content:center}
.target-strip-unit{flex:0 0 105px;display:grid;justify-items:center}
.target-strip-unit b{margin-top:3px;font-size:.68rem;direction:ltr}
.target-strip-unit small{color:var(--ink-3);font-size:.58rem}
.target-clock-table-wrap{width:100%;min-width:0;max-width:100%;margin-top:9px;overflow-x:auto;overscroll-behavior-inline:contain;border:1px solid var(--line);border-radius:var(--r-sm);-webkit-overflow-scrolling:touch}
.target-clock-table{width:100%;min-width:430px;border-collapse:collapse;background:var(--surface);font-size:.7rem;text-align:center}
.target-clock-table th{padding:7px;background:var(--target-navy);color:#fff;white-space:nowrap}
.target-clock-table td{padding:7px;border-top:1px solid var(--line);border-inline-start:1px solid var(--line);direction:ltr}
.target-clock-table td:first-child{direction:rtl;font-weight:800}
.target-clock-elimination{display:grid;gap:10px;margin-top:10px}
.target-clock-elimination>section{padding:9px;border:1px dashed var(--line);border-radius:var(--r-sm);background:var(--surface)}
.target-clock-elimination h5{margin:0 0 8px;color:var(--ink);font-size:.72rem;line-height:1.6}
.target-clock-options-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;min-width:0;max-width:100%;direction:ltr}
.target-clock-panel.option-panel{direction:rtl;text-align:center}
.target-clock-panel.option-panel.x{border-color:#ef9a9a;background:#fff3f3}
.target-clock-panel.option-panel.ok{border-color:#8fd3ac;background:#effaf3}
.target-clock-panel.option-panel.gone{opacity:.34}
.target-option-state{display:block;margin-top:4px;color:var(--bad);font-size:.58rem}
.target-clock-panel.ok .target-option-state{color:var(--good)}
.target-clock-final{padding:9px;border:1px solid #9bd4b4;border-radius:var(--r-sm);background:var(--good-soft);color:var(--good);font-size:.78rem;font-weight:900;text-align:center}

body.dark .target-four-clock-explanation>header h3,body.dark .target-four-clock-rule-pairs>section>strong{color:var(--ink)}
body.dark .target-four-clock-source-rule{background:#123d3a;border-color:#28665f}
body.dark .target-clock-face .clock-dial{fill:#f7f1e7}
body.dark .target-clock-step-heading h4{color:var(--ink)}

@media(max-width:640px){
  .target-four-clock-training-page,.target-four-clock-review-page{padding-bottom:116px}
  .target-four-clock-solution-page{gap:9px}
  .target-four-clock-solution-head{gap:9px;padding:10px}
  .target-four-clock-solution-icon{flex-basis:36px;width:36px;height:36px}
  .target-four-clock-solution-icon .ico{width:20px;height:20px}
  .target-four-clock-solution-head h2{font-size:1.04rem}
  .target-four-clock-solution-head p{font-size:.7rem}
  .target-four-clock-comparison{gap:6px}
  .target-four-clock-comparison>div{padding:6px;border-radius:14px}
  .target-four-clock-comparison>div>span{min-height:23px;margin-bottom:4px;font-size:.68rem}
  .target-four-clock-svg{min-height:88px;padding:4px}
  .target-four-clock-svg svg{width:min(100%,128px);max-height:128px}
  .target-four-clock-comparison small{margin-top:5px;font-size:.58rem;line-height:1.45;overflow-wrap:anywhere}
  .target-four-clock-explanation{padding:9px}
  .target-four-clock-explanation>header{gap:7px;margin-bottom:8px}
  .target-four-clock-explanation>header .avatar{flex-basis:34px;width:34px;height:34px}
  .target-four-clock-explanation>header h3{font-size:.98rem}
  .target-four-clock-rule-pairs{grid-template-columns:1fr}
  .target-four-clock-pair svg{max-height:132px}
  .target-four-clock-reference-grid{grid-template-columns:repeat(3,minmax(92px,1fr));overflow-x:auto;padding-bottom:4px}
  .target-four-clock-reference-grid svg{max-height:125px}
  .target-four-clock-full-text{font-size:.86rem}
  .target-four-clock-source-rule{padding:9px 10px}
  .target-four-clock-source-rule strong{font-size:.79rem;line-height:1.7}
  .target-clock-explanation-step{padding:8px}
  .target-clock-step-heading h4{font-size:.8rem}
  .target-clock-explanation-step>p{font-size:.74rem}
  .target-rich-flow,.target-clock-strip{padding:7px}
  .target-rich-flow>.target-clock-panel{flex-basis:136px}
  .target-clock-options-grid{grid-template-columns:repeat(2,minmax(104px,1fr));overflow-x:auto;overscroll-behavior-inline:contain}
  .target-rich-arrow{min-width:35px}
  .target-four-clock-ready{align-items:stretch;flex-direction:column}
  .target-four-clock-ready .btn{width:100%}
}

@media(max-width:340px){
  .target-four-clock-comparison{grid-template-columns:1fr}
  .target-four-clock-svg{min-height:120px}
  .target-four-clock-svg svg{width:min(100%,150px);max-height:150px}
}

@media print{
  .target-four-clock-page-actions,.target-four-clock-review-back,.target-four-clock-review-button{display:none!important}
  .target-four-clock-solution-page>*{break-inside:avoid}
}
/* Touch browsers may retain :hover after a tap or question navigation.
   Keep neutral options neutral; actual selection and training feedback retain
   their existing styles. Limit this to the new-system cognitive choices. */
@media (hover: none) {
  .target-question.numerical-question .option-btn:hover:not(:disabled):not(.selected):not(.correct-option):not(.wrong-option),
  .target-question.verbal-question .option-btn:hover:not(:disabled):not(.selected):not(.correct-option):not(.wrong-option) {
    background: var(--surface);
    border-color: var(--line);
  }
}
