@font-face{font-family:"DIN Next LT Arabic";src:url("../fonts/DINNextLTArabic-Regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
:root{--blue:#00416B;--deep:#002343;--green:#00C08B;--green-dark:#008661;--text:#2F3B3E;--text2:#556164;--muted:#6C787A;--line:#D4DEE0;--line2:#B8C6C9;--soft:#F7FAFA;--blue-soft:#EEF5F8;--green-soft:#E8F8F2;--error:#D02C2F;--error-soft:#FBEAEA;--warning:#A66A00;--warning-soft:#FFF6E2;--label:14px;--body:16px;--sub:20px;--head:24px;--display:32px;--font:"DIN Next LT Arabic","DIN Next",Arial,sans-serif;--shadow:0 18px 52px rgba(0,35,67,.22)}
*{box-sizing:border-box}html,body,#app{width:1200px;height:680px;margin:0;overflow:hidden;background:#fff;color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased}button,select{font:inherit}button{cursor:pointer}h1,h2,h3,p,ul{margin:0}.activity-shell{position:relative}.screen{position:absolute;inset:0;width:1200px;height:680px;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--soft)}
.btn{height:48px;min-width:118px;padding:0 20px;border-radius:12px;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;font-size:var(--body);font-weight:700;line-height:1;white-space:nowrap}.btn.primary{background:var(--green);color:#fff}.btn.primary:hover{background:var(--green-dark)}.btn.secondary{background:#fff;color:var(--blue);border-color:var(--blue)}.btn.secondary:hover{background:var(--blue-soft)}.btn:disabled{background:#F2F5F5!important;color:#97A4A6!important;border-color:#DCE4E6!important;cursor:not-allowed;pointer-events:none}.btn:focus-visible,.domain-btn:focus-visible,.select:focus-visible{outline:3px solid rgba(0,192,139,.20);outline-offset:2px}
/* Start */
.start-screen{display:grid;grid-template-columns:48% 52%;background:#fff}.start-copy{padding:56px 48px 56px 56px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:16px}.start-copy h1{font-size:var(--display);line-height:1.18;color:var(--blue);font-weight:700}.start-copy p{font-size:var(--body);line-height:1.5;color:var(--text2);max-width:540px}.start-copy .btn{margin-top:8px}.start-art{display:flex;align-items:center;justify-content:center;padding:38px 46px 38px 6px}.start-art img{width:min(92%,760px);max-height:590px;object-fit:contain}
/* Instructions */
.instructions-screen{display:grid;grid-template-rows:minmax(0,1fr) 80px}.instructions-main{padding:38px 48px 22px;display:flex;align-items:center;justify-content:center}.instructions-wrap{width:min(1100px,100%)}.instructions-heading h1{font-size:var(--display);line-height:1.18;color:var(--blue);font-weight:700}.instructions-heading p{font-size:var(--body);line-height:1.5;color:var(--text2);margin-top:10px;max-width:980px}.instruction-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:22px}.instruction-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;min-height:210px;display:flex;flex-direction:column;gap:13px}.instruction-icon{width:48px;height:48px;color:var(--blue)}.instruction-icon svg{width:48px;height:48px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}.instruction-icon .accent{stroke:var(--green)}.instruction-card h2{font-size:var(--sub);line-height:1.22;color:var(--deep);font-weight:700}.instruction-card p{font-size:var(--body);line-height:1.48;color:var(--text2)}.instruction-note{margin-top:15px;border-left:4px solid var(--green);background:#fff;padding:12px 15px;border-radius:0 12px 12px 0;font-size:var(--body);line-height:1.45}.static-action{height:80px;border-top:1px solid var(--line);background:#fff;padding:16px 24px;display:flex;justify-content:flex-end;align-items:center}
/* Shell */
.activity{display:grid;grid-template-rows:82px minmax(0,1fr) 76px}.header{padding:14px 24px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;gap:24px}.header-title h1{font-size:var(--head);line-height:1.18;color:var(--blue);font-weight:700}.header-title p{font-size:var(--label);line-height:1.35;color:var(--muted);margin-top:5px}.progress{display:flex;align-items:center;gap:12px}.progress strong{font-size:var(--label);font-weight:500;color:var(--text2);white-space:nowrap}.progress-track{width:180px;height:8px;background:var(--line);border-radius:99px;overflow:hidden}.progress-fill{height:100%;background:var(--green);border-radius:99px}.content{min-height:0;padding:12px 14px;display:flex;justify-content:center;background:var(--soft);overflow:hidden}.footer{border-top:1px solid var(--line);background:#fff;padding:14px 18px;display:grid;grid-template-columns:1fr minmax(0,auto) 1fr;align-items:center;gap:16px}.footer-left{justify-self:start}.footer-note{justify-self:center;font-size:var(--label);color:var(--muted);text-align:center}.footer-right{justify-self:end}
.task-layout{width:min(1140px,100%);height:100%;display:grid;grid-template-rows:68px minmax(0,1fr);gap:10px}.person-strip{background:#fff;border:1px solid var(--line);border-radius:16px;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:16px}.person-id{display:flex;align-items:center;gap:12px}.avatar{width:44px;height:44px;border-radius:50%;background:#EEF5F7;border:1px solid #D9E4E6;overflow:hidden;display:grid;place-items:center;flex:0 0 44px}.avatar img{width:100%;height:100%;object-fit:cover}.person-copy h2{font-size:var(--sub);line-height:1.2;color:var(--blue);font-weight:700}.person-copy p{font-size:var(--label);line-height:1.35;color:var(--muted);margin-top:3px}.soft-pill{padding:8px 12px;border-radius:999px;background:var(--green-soft);color:var(--green-dark);font-size:var(--label);font-weight:700;white-space:nowrap}.task-panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:13px 18px 14px;display:flex;flex-direction:column;gap:10px;min-height:0;overflow:hidden}.task-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.eyebrow{display:block;font-size:var(--label);font-weight:700;color:var(--green-dark);text-transform:uppercase;margin-bottom:3px}.task-head h2{font-size:var(--sub);line-height:1.22;color:var(--blue);font-weight:700}.task-head p{font-size:var(--body);line-height:1.4;color:var(--muted);margin-top:3px}.item-counter{padding:7px 11px;border-radius:999px;background:var(--blue-soft);color:var(--blue);font-size:var(--label);font-weight:700;white-space:nowrap}.case-strip{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;align-items:center;padding:9px 12px;background:#F8FAFB;border:1px solid var(--line);border-radius:12px}.case-strip .mini-avatar{width:44px;height:44px;border-radius:12px;object-fit:cover;border:1px solid #D9E4E6}.case-strip strong{display:block;font-size:var(--label);color:var(--deep);margin-bottom:2px}.case-strip p{font-size:var(--label);line-height:1.38;color:var(--text2)}.transition{border-left:4px solid var(--blue);background:var(--blue-soft);border-radius:0 10px 10px 0;padding:8px 12px;font-size:var(--label);line-height:1.4;color:var(--text2)}.transition strong{color:var(--deep)}
/* Stage 1 */
.classify-main{display:flex;flex-direction:column;gap:10px;min-height:0;justify-content:center}.evidence-card{width:min(780px,90%);margin:0 auto;border:1px solid var(--line);border-radius:14px;background:#fff;padding:14px 18px;text-align:center}.evidence-meta{font-size:var(--label);font-weight:700;color:var(--blue);margin-bottom:5px}.evidence-text{font-size:var(--sub);line-height:1.35;color:var(--deep);font-weight:700}.domain-grid{width:min(930px,96%);margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.domain-btn{min-height:70px;border:1.5px solid var(--line2);border-radius:12px;background:#fff;padding:10px 12px;color:var(--deep);font-size:var(--body);font-weight:700;text-align:center}.domain-btn:hover{border-color:#82A8BC;background:#FBFDFD}.domain-btn.selected{border-color:var(--blue);background:var(--blue-soft)}.domain-btn.correct{border-color:var(--green-dark);background:var(--green-soft);color:var(--green-dark)}.domain-btn.wrong{border-color:#D56A6C;background:var(--error-soft);color:#9E3134}
/* Stages 2-4 */
.row-list{display:flex;flex:1;flex-direction:column;justify-content:center;gap:12px;min-height:0}.decision-row{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:16px;align-items:center;border:1px solid var(--line);border-radius:13px;background:#fff;padding:13px 14px;min-height:84px}.decision-copy strong{display:block;font-size:var(--body);line-height:1.32;color:var(--deep)}.decision-copy p{font-size:var(--label);line-height:1.35;color:var(--muted);margin-top:4px}.select{width:100%;height:46px;border:1.5px solid var(--line2);border-radius:11px;background:#fff;color:var(--deep);padding:0 38px 0 12px;outline:none;font-size:var(--body);line-height:1.2}.select:focus{border-color:var(--blue)}.decision-row.correct{border-color:#9FD8C4;background:#F5FCF9}.decision-row.correct .select{border-color:#9FD8C4;background:#F7FCFA;color:var(--green-dark)}.decision-row.incorrect{border-color:#E3A2A3;background:#FEF6F6}.decision-row.incorrect .select{border-color:#D56A6C}.select:disabled{opacity:1;-webkit-text-fill-color:var(--green-dark);cursor:default}
.finding-row{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(330px,.82fr);gap:14px;align-items:center;border:1px solid var(--line);border-radius:13px;background:#fff;padding:10px 13px;min-height:92px}.finding-copy{min-width:0}.finding-tag{font-size:var(--label);font-weight:700;color:var(--green-dark);margin-bottom:4px}.finding-copy p{font-size:var(--body);line-height:1.38;color:var(--text)}.finding-q{border-left:1px solid var(--line);padding-left:14px;display:flex;flex-direction:column;gap:6px;justify-content:center}.finding-q label{font-size:var(--label);font-weight:700;color:var(--deep)}.finding-row.correct{border-color:#9FD8C4;background:#F5FCF9}.finding-row.incorrect{border-color:#E3A2A3;background:#FEF6F6}
.synthesis{display:grid;grid-template-columns:37% 63%;gap:16px;min-height:0}.evidence-summary{border:1px solid var(--line);border-radius:14px;background:#F8FAFB;padding:16px 18px;display:flex;flex-direction:column;justify-content:center}.evidence-summary h3{font-size:var(--sub);line-height:1.2;color:var(--deep);margin-bottom:10px}.evidence-summary ul{padding-left:20px}.evidence-summary li{font-size:var(--label);line-height:1.4;color:var(--text2)}.evidence-summary li+li{margin-top:7px}.synthesis-list{display:flex;flex-direction:column;gap:8px;justify-content:center}.synth-row{display:grid;grid-template-columns:178px minmax(0,1fr);gap:12px;align-items:center;border:1px solid var(--line);border-radius:12px;background:#fff;padding:8px 11px;min-height:52px}.synth-row label{font-size:var(--label);font-weight:700;color:var(--deep)}.synth-row.correct{border-color:#9FD8C4;background:#F5FCF9}.synth-row.incorrect{border-color:#E3A2A3;background:#FEF6F6}
/* Feedback */
.feedback-overlay{position:absolute;inset:0;z-index:60;background:rgba(0,35,67,.33);display:flex;align-items:center;justify-content:center;padding:24px}.feedback-card{width:min(620px,calc(100% - 48px));max-height:calc(100% - 48px);background:#fff;border-radius:16px;padding:28px 32px 24px;box-shadow:var(--shadow);display:grid;gap:16px;overflow:hidden}.feedback-status{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}.feedback-icon{width:56px;height:56px;border-radius:50%;display:grid;place-items:center}.feedback-icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}.feedback-card.correct .feedback-icon{background:var(--green-soft);color:var(--green-dark)}.feedback-card.incorrect .feedback-icon{background:var(--error-soft);color:var(--error)}.feedback-card.partial .feedback-icon{background:var(--warning-soft);color:var(--warning)}.feedback-status h2{font-size:var(--head);line-height:1.18;font-weight:700}.feedback-card.correct h2{color:var(--green-dark)}.feedback-card.incorrect h2{color:var(--error)}.feedback-card.partial h2{color:var(--warning)}.feedback-body{overflow:auto}.feedback-body p{font-size:var(--body);line-height:1.5;color:var(--text);text-align:left}.feedback-body p+p{margin-top:8px}.feedback-actions{display:flex;justify-content:center}.feedback-actions .btn{min-width:188px}
/* Summary */
.summary-screen{display:grid;grid-template-rows:minmax(0,1fr) 76px}.summary-main{display:flex;align-items:center;justify-content:center;padding:24px 40px}.summary-wrap{width:min(1040px,100%)}.summary-head h1{font-size:var(--display);line-height:1.18;color:var(--blue);font-weight:700}.summary-head p{font-size:var(--body);line-height:1.45;color:var(--text2);margin-top:7px}.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}.summary-card{border:1px solid var(--line);border-radius:14px;background:#fff;padding:16px 18px}.summary-card h2{font-size:var(--sub);line-height:1.22;color:var(--deep);margin-bottom:8px}.summary-row{display:grid;grid-template-columns:28px 1fr;gap:10px;padding:8px 0;border-bottom:1px solid #E7EDEF}.summary-row:last-child{border-bottom:0}.summary-num{width:28px;height:28px;border-radius:50%;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center;font-size:var(--label);font-weight:700}.summary-row strong{display:block;font-size:var(--label);color:var(--deep);margin-bottom:2px}.summary-row span{font-size:var(--label);line-height:1.38;color:var(--text2)}.summary-note{margin-top:14px;border-left:4px solid var(--green);background:#fff;padding:11px 14px;border-radius:0 10px 10px 0;font-size:var(--body);line-height:1.42;color:var(--text2)}
.complete-screen{display:flex;align-items:center;justify-content:center;background:#F2F8F5}.complete-card{width:760px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:42px 34px;text-align:center;box-shadow:0 8px 20px rgba(0,35,67,.06)}.complete-mark{width:76px;height:76px;border-radius:50%;background:var(--green-soft);color:var(--green-dark);display:grid;place-items:center;margin:0 auto 24px}.complete-mark svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.complete-card h1{font-size:var(--display);line-height:1.18;color:var(--blue)}.complete-card p{font-size:var(--body);line-height:1.5;color:var(--text2);margin:14px auto 0;max-width:620px}
