@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;--text-2:#4D5858;--muted:#6C787A;--line:#D4DEE0;--line-strong:#B8C6C9;
  --surface:#FFFFFF;--soft:#F7FAFA;--blue-soft:#EAF1F5;--success-soft:#E6F9F4;
  --error:#D02C2F;--error-soft:#FBEAEA;--warning:#B47A00;--warning-soft:#FFF8E8;
  --label:14px;--body:16px;--subtitle:20px;--heading: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{margin:0;width:1200px;height:680px;font-family:var(--font);color:var(--text);background:#fff;-webkit-font-smoothing:antialiased}body{overflow:hidden}button{font:inherit}h1,h2,h3,p{margin:0}.activity-shell{position:relative;width:1200px;height:680px;overflow:hidden;background:#fff}.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;font-size:var(--body);font-weight:700;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;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,.composer-trigger:focus-visible,.sheet-option:focus-visible,.close-btn:focus-visible{outline:3px solid rgba(0,192,139,.22);outline-offset:2px}
/* start */
.start-screen{display:grid;grid-template-columns:minmax(420px,48%) minmax(0,52%);background:#fff}.start-copy{padding:56px 48px 56px 56px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:16px;min-width:0}.start-copy h1{font-size:var(--display);line-height:1.18;color:var(--blue);font-weight:700;max-width:560px}.start-copy p{font-size:var(--body);line-height:1.5;color:var(--text-2);max-width:540px}.start-copy .btn{margin-top:8px}.start-art{display:flex;align-items:center;justify-content:center;padding:40px 48px 40px 8px;overflow:hidden;background:#fff}.start-art img{display:block;width:min(92%,780px);max-width:100%;height:auto;max-height:590px;object-fit:contain}
/* instructions */
.instructions-screen{display:grid;grid-template-rows:minmax(0,1fr) 80px;background:var(--soft)}.instructions-main{padding:40px 48px 24px;display:flex;align-items:center;justify-content:center;min-height:0}.instructions-wrap{width:min(1100px,100%);margin:0 auto}.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(--text-2);margin-top:12px;max-width:940px}.instruction-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}.instruction-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;min-height:218px;display:flex;flex-direction:column;gap:14px;min-width:0}.instruction-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;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(--subtitle);line-height:1.2;color:var(--deep);font-weight:700}.instruction-card p{font-size:var(--body);line-height:1.5;color:var(--text-2)}.instruction-note{margin-top:16px;border-left:4px solid var(--green);background:#fff;padding:13px 16px;border-radius:0 12px 12px 0;font-size:var(--body);line-height:1.5;color:var(--text)}.static-action{height:80px;border-top:1px solid var(--line);background:#fff;padding:16px 24px;display:flex;justify-content:flex-end;align-items:center}
/* activity shell */
.activity{display:grid;grid-template-rows:82px minmax(0,1fr) 76px;background:var(--soft)}.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{min-width:0}.header-title h1{font-size:var(--heading);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;flex:0 0 auto}.progress strong{font-size:var(--label);line-height:1.35;color:var(--text-2);font-weight:500;white-space:nowrap}.progress-track{width:180px;height:8px;background:var(--line);border-radius:999px;overflow:hidden}.progress-fill{height:100%;background:var(--green);border-radius:999px}.content{min-height:0;padding:12px 14px;background:var(--soft);display:flex;justify-content:center;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;text-align:center;font-size:var(--label);line-height:1.35;color:var(--muted)}.footer-right{justify-self:end}
/* person */
.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;min-height:68px}.person-id{display:flex;align-items:center;gap:12px;min-width:0}.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(--subtitle);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(--success-soft);color:var(--green-dark);font-size:var(--label);font-weight:700;white-space:nowrap}
/* briefing */
.brief-layout{width:min(1140px,100%);height:100%;display:grid;grid-template-rows:68px minmax(0,1fr);gap:10px}.brief-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px 20px;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:14px;min-height:0}.brief-head .task-kicker{font-size:var(--label);line-height:1.35;color:var(--green-dark);font-weight:700;text-transform:uppercase}.brief-head h2{font-size:var(--subtitle);line-height:1.22;color:var(--blue);font-weight:700;margin-top:3px}.brief-head p{font-size:var(--body);line-height:1.46;color:var(--text-2);margin-top:5px;max-width:970px}.brief-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:stretch;min-height:0}.brief-block{border:1px solid var(--line);border-radius:14px;background:#FAFCFC;padding:17px 18px;display:flex;flex-direction:column;justify-content:center;min-width:0}.brief-block span{font-size:var(--label);font-weight:700;color:var(--blue);margin-bottom:8px}.brief-block p{font-size:var(--body);line-height:1.48;color:var(--text)}.brief-block.quote{background:#F4FCF9;border-color:#B9DED2}.brief-block.quote span{color:var(--green-dark)}.brief-objective{border-left:4px solid var(--green);background:#F8FAFA;padding:11px 14px;border-radius:0 12px 12px 0;font-size:var(--body);line-height:1.45;color:var(--text)}
/* reflection conversation */
.reflection-layout{width:min(1140px,100%);height:100%;display:grid;grid-template-rows:38px minmax(0,1fr);gap:10px;min-height:0}.stage-track{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.stage-step{height:36px;display:flex;align-items:center;gap:7px;padding:0 9px;border-radius:999px;background:#F1F4F5;color:var(--muted);font-size:13px;line-height:1.25;font-weight:700;min-width:0}.stage-step span{width:24px;height:24px;border:1.5px solid #B8C6C9;border-radius:50%;display:grid;place-items:center;background:#fff;flex:0 0 24px;font-size:12px}.stage-step.active{background:var(--blue-soft);color:var(--blue)}.stage-step.active span{border-color:var(--blue);color:var(--blue)}.stage-step.done{background:var(--success-soft);color:var(--green-dark)}.stage-step.done span{border-color:var(--green-dark);color:var(--green-dark)}
.conversation-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:16px;min-height:0;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto}.conversation-head{padding:10px 16px;border-bottom:1px solid var(--line);background:#fff}.conversation-head .task-kicker{font-size:var(--label);line-height:1.35;color:var(--green-dark);font-weight:700;text-transform:uppercase}.conversation-head h2{font-size:var(--subtitle);line-height:1.22;color:var(--blue);margin-top:2px}.conversation-head p{font-size:var(--body);line-height:1.4;color:var(--muted);margin-top:3px}.chat-window{min-height:0;overflow:auto;padding:12px 18px 14px;background:#F8FAFA;display:flex;flex-direction:column;gap:10px;scrollbar-width:thin}.chat-row{display:flex;gap:10px;align-items:flex-end}.chat-row.trainee{justify-content:flex-start}.chat-row.trainer{justify-content:flex-end}.chat-bubble{max-width:74%;border:1px solid #C9D8DC;border-radius:18px;padding:11px 14px;font-size:var(--body);line-height:1.46;color:var(--text);background:#fff}.trainer .chat-bubble{background:#EAF7F3;border-color:#B4DDCF}.speaker{display:block;font-size:var(--label);line-height:1.35;font-weight:700;color:var(--blue);margin-bottom:4px}.trainer .speaker{color:var(--green-dark)}.chat-row .avatar{width:40px;height:40px;flex-basis:40px}.chat-row.message-enter{opacity:0;transform:translateY(8px);animation:chatMessageIn .34s ease-out forwards;animation-delay:var(--message-delay,0ms)}@keyframes chatMessageIn{to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.chat-row.message-enter{opacity:1;transform:none;animation:none}}
.composer-bar{border-top:1px solid var(--line);background:#fff;padding:10px 14px}.composer-trigger{width:100%;min-height:54px;border:1.5px solid #B7C8CC;border-radius:14px;background:#fff;padding:9px 14px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:start;text-align:left;cursor:pointer;color:var(--text)}.composer-trigger:hover{border-color:var(--blue);background:#FBFCFC}.composer-trigger.has-selection{border-color:#9EDDCB;background:#F4FCF9}.composer-label{font-size:var(--label);font-weight:700;color:var(--green-dark);white-space:nowrap}.composer-preview{font-size:var(--body);line-height:1.35;color:var(--muted);white-space:normal;overflow-wrap:break-word;padding-top:1px}.composer-trigger.has-selection .composer-preview{color:var(--text)}.composer-chevron{width:34px;height:34px;border-radius:10px;background:var(--blue-soft);display:grid;place-items:center;color:var(--blue);font-size:18px;line-height:1;align-self:center}.composer-scrim{position:absolute;inset:0;background:rgba(0,35,67,.12);z-index:20;cursor:pointer}.composer-sheet{position:absolute;left:0;right:0;bottom:0;z-index:21;background:#fff;border-top:1px solid var(--line);border-radius:20px 20px 0 0;padding:8px 16px 14px;box-shadow:0 -12px 32px rgba(0,35,67,.14);max-height:78%;overflow:auto}.sheet-handle{width:42px;height:4px;border-radius:999px;background:#D6DFE1;margin:0 auto 8px}.sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:10px}.sheet-head h3{font-size:var(--subtitle);line-height:1.22;color:var(--blue);margin-top:2px}.sheet-head p{font-size:var(--label);line-height:1.4;color:var(--muted);margin-top:4px}.close-btn{width:36px;height:36px;border:0;border-radius:10px;background:#F2F6F6;color:var(--blue);font-size:24px;line-height:1;cursor:pointer;flex:0 0 36px;display:grid;place-items:center}.sheet-options{display:grid;grid-template-columns:1fr;gap:8px}.sheet-option{width:100%;border:1.5px solid #B7C8CC;border-radius:14px;background:#fff;padding:11px 14px;display:grid;grid-template-columns:26px minmax(0,1fr);gap:12px;align-items:start;text-align:left;cursor:pointer;color:var(--text)}.sheet-option:hover{border-color:var(--blue);background:#FBFCFC}.sheet-option.selected{border-color:var(--green);background:var(--success-soft)}.sheet-option span:last-child{font-size:var(--body);line-height:1.45}.radio{width:26px;height:26px;border:2px solid var(--line-strong);border-radius:50%;display:grid;place-items:center;background:#fff;flex:0 0 26px;margin-top:1px}.sheet-option.selected .radio{border-color:var(--green)}.sheet-option.selected .radio:after{content:"";width:10px;height:10px;border-radius:50%;background:var(--green)}
/* feedback */
.feedback-overlay{position:absolute;inset:0;z-index:50;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);overflow:hidden;background:#fff;border-radius:16px;padding:28px 32px 24px;box-shadow:var(--shadow);display:grid;gap:18px}.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(--success-soft);color:var(--green-dark)}.feedback-card.incorrect .feedback-icon{background:var(--error-soft);color:var(--error)}.feedback-status h2{font-size:var(--heading);line-height:1.18;font-weight:700}.feedback-card.correct .feedback-status h2{color:var(--green-dark)}.feedback-card.incorrect .feedback-status h2{color:var(--error)}.feedback-body{overflow:auto;min-height:0}.feedback-body p{font-size:var(--body);line-height:1.5;color:var(--text);text-align:left}.feedback-actions{display:flex;justify-content:center}.feedback-actions .btn{min-width:188px}
/* summary */
.summary-screen{display:grid;grid-template-rows:minmax(0,1fr) 80px;background:var(--soft)}.summary-main{padding:24px 44px;min-height:0;display:flex;align-items:center;justify-content:center}.summary-wrap{width:min(1110px,100%)}.summary-heading{text-align:left}.summary-heading h1{font-size:var(--display);line-height:1.18;color:var(--blue);font-weight:700}.summary-heading p{font-size:var(--body);line-height:1.5;color:var(--text-2);margin-top:8px;max-width:920px}.summary-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:18px}.summary-card{background:#fff;border:1px solid var(--line);border-top:4px solid var(--blue);border-radius:16px;padding:16px 14px;min-height:190px}.summary-num{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--blue-soft);color:var(--blue);font-size:var(--label);font-weight:700}.summary-card h2{font-size:var(--subtitle);line-height:1.18;color:var(--deep);margin-top:12px}.summary-card p{font-size:var(--label);line-height:1.45;color:var(--text-2);margin-top:8px}.summary-note{border-left:4px solid var(--green);background:#fff;padding:11px 14px;border-radius:0 12px 12px 0;font-size:var(--body);line-height:1.45;color:var(--text);margin-top:14px}
/* completion */
.complete-screen{display:flex;align-items:center;justify-content:center;background:#F1FAF7}.complete-card{width:760px;background:#fff;border:1px solid #DDECE7;border-radius:24px;padding:42px 34px;text-align:center;box-shadow:0 12px 32px rgba(0,35,67,.08)}.complete-mark{width:76px;height:76px;border-radius:50%;background:var(--success-soft);color:var(--green-dark);display:grid;place-items:center;margin:0 auto 18px}.complete-mark svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:2.2}.complete-card h1{font-size:var(--display);line-height:1.18;color:var(--blue);font-weight:700}.complete-card p{font-size:var(--body);line-height:1.5;color:var(--text-2);margin:12px auto 0;max-width:640px}
