/* Psyche Academy – exam simulator + sample library styles */
.ex-overlay{position:fixed;inset:0;z-index:200;background:#fff;display:flex;flex-direction:column;font-family:Arial,Helvetica,sans-serif;color:#1f2937;font-size:15px}
.ex-overlay,.ex-overlay *{box-sizing:border-box}
.ex-overlay input,.ex-overlay textarea,.ex-overlay select{user-select:text;-webkit-user-select:text}
.ex-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 18px;color:#fff;font-size:13px;flex-wrap:wrap}
.pte .ex-top{background:#1b365d}.oet .ex-top{background:#0f4c5c}
.ex-clock{font-family:monospace;font-size:15px;background:rgba(0,0,0,.3);padding:2px 8px;border-radius:4px}
.ex-warn{background:#b91c1c!important}
.ex-body{flex:1;overflow:auto;padding:22px;width:100%;max-width:1250px;margin:0 auto}
.ex-foot{display:flex;justify-content:space-between;align-items:center;padding:10px 18px;border-top:1px solid #d1d5db;background:#f3f4f6}
.ex-btn{background:#1d4ed8;color:#fff;border:0;border-radius:4px;padding:9px 26px;font-weight:700;cursor:pointer;font-size:14px}
.ex-btn:hover{filter:brightness(1.1)}.ex-grey{background:#6b7280}.ex-btn[disabled]{opacity:.5;cursor:not-allowed}
.ex-h{font-size:22px;font-weight:700;margin-bottom:12px;color:#111827}
.ex-inst{font-size:14px;line-height:1.55;color:#374151;margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid #e5e7eb}
.ex-p{line-height:1.6;margin-bottom:10px}
.ex-box{border:1px solid #9ca3af;background:#fafafa;padding:14px 16px;line-height:1.75;margin-bottom:14px;border-radius:3px}
.ex-read{font-size:18px;line-height:1.9}
.ex-lh{line-height:2.4}
.ex-img{border:1px solid #d1d5db;padding:10px;text-align:center;margin-bottom:14px;background:#fff}
.ex-img svg{max-width:100%;height:auto}
.ex-status{border:1px solid #9ca3af;padding:12px 16px;border-radius:3px;background:#f9fafb;max-width:520px}
.ex-bar{height:10px;background:#e5e7eb;border-radius:5px;overflow:hidden;margin-top:8px}
.ex-bar i{display:block;height:100%;width:0;background:#2563eb;transition:width 1s linear}
.ex-bar i.ex-playing{width:100%;background:repeating-linear-gradient(45deg,#2563eb,#2563eb 10px,#60a5fa 10px,#60a5fa 20px);background-size:28px 28px;animation:exmove 1s linear infinite;transition:none}
@keyframes exmove{to{background-position:28px 0}}
.ex-rec{color:#dc2626;font-weight:700}
.ex-aud{border:1px solid #9ca3af;background:#f9fafb;padding:10px 14px;margin-bottom:14px;max-width:520px;border-radius:3px;font-size:14px}
.ex-ta{width:100%;min-height:240px;border:1px solid #6b7280;padding:12px;font-size:15px;line-height:1.6;font-family:Arial,sans-serif;border-radius:3px;resize:vertical}
.ex-wc{font-size:13px;margin-top:6px;color:#374151}
.ex-opt{display:flex;gap:10px;align-items:flex-start;padding:9px 12px;border:1px solid #d1d5db;border-radius:4px;margin-bottom:7px;cursor:pointer;background:#fff;line-height:1.5}
.ex-opt:hover{background:#eff6ff}
.ex-q{margin:10px 0}
.ex-qi{margin-bottom:14px;line-height:1.6}
.ex-sel{border:1px solid #6b7280;padding:3px 6px;border-radius:3px;font-size:14px;background:#fff}
.ex-in{border:1px solid #6b7280;padding:3px 8px;border-radius:3px;font-size:14px;width:170px;background:#fff}
.ex-blank{display:inline-block;min-width:110px;min-height:28px;border:1px dashed #6b7280;background:#fff;padding:1px 8px;text-align:center;vertical-align:middle;margin:0 3px;cursor:pointer;line-height:26px}
.ex-bank{display:flex;flex-wrap:wrap;gap:8px;border:1px solid #9ca3af;padding:12px;background:#f3f4f6;border-radius:3px}
.ex-chip{background:#fff;border:1px solid #6b7280;padding:4px 12px;border-radius:3px;cursor:pointer;user-select:none}
.ex-chip.used{opacity:.25;pointer-events:none}
.ex-hint{font-size:12px;color:#6b7280;margin-top:6px}
.ex-two{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.ex-two h4{font-weight:700;margin-bottom:8px;font-size:13px;text-transform:uppercase;color:#4b5563}
.ex-pbox{border:1px solid #9ca3af;background:#fff;padding:10px 12px;margin-bottom:8px;line-height:1.55;font-size:14px;cursor:pointer;border-radius:3px;display:flex;gap:8px;justify-content:space-between}
.ex-pbox:hover{background:#eff6ff}
.ex-pbox span.mv{display:flex;flex-direction:column;gap:2px}
.ex-pbox button{border:1px solid #9ca3af;background:#f3f4f6;font-size:10px;padding:0 6px;cursor:pointer}
.ex-w{cursor:pointer;padding:1px 2px;border-radius:2px}.ex-w:hover{background:#fde68a}.ex-w.sel{background:#fde047;outline:1px solid #ca8a04}
.ex-split{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid #d1d5db;height:calc(100vh - 170px);min-height:380px}
.ex-split>div{overflow:auto;padding:16px 18px}
.ex-split>div:first-child{background:#fafafa;border-right:1px solid #d1d5db}
.ex-tabs{display:flex;gap:4px;margin-bottom:10px;flex-wrap:wrap}
.ex-tab{border:1px solid #9ca3af;background:#f3f4f6;padding:5px 14px;font-size:13px;font-weight:700;cursor:pointer;border-radius:3px 3px 0 0}
.ex-tab.on{background:#0f4c5c;color:#fff;border-color:#0f4c5c}
.ex-notes h4{font-weight:700;margin:10px 0 4px}.ex-notes ul{list-style:disc;padding-left:20px;line-height:1.6}
.ex-card{border:2px solid #0f4c5c;padding:16px 20px;max-width:640px;border-radius:4px;background:#fff;line-height:1.7}
.ex-card h4{background:#0f4c5c;color:#fff;margin:-16px -20px 12px;padding:8px 20px;font-weight:700}
.ex-rep h3{font-size:17px;font-weight:700;margin:18px 0 8px;color:#111827}
.ex-rep table{border-collapse:collapse;width:100%;font-size:13px;margin-bottom:10px}
.ex-rep td,.ex-rep th{border:1px solid #d1d5db;padding:6px 10px;text-align:left}.ex-rep th{background:#f3f4f6}
.ex-big{font-size:34px;font-weight:800;color:#1d4ed8}
.ex-rep audio{height:30px;vertical-align:middle}
.ex-rep details{border:1px solid #d1d5db;border-radius:4px;padding:8px 12px;margin:8px 0;background:#fafafa;line-height:1.6;font-size:14px}
/* sample library */
.sx details{border:1px solid #e2e8f0;border-radius:14px;background:#fff;margin-bottom:12px;overflow:hidden}
.sx summary{padding:14px 18px;font-weight:700;font-size:13px;cursor:pointer;color:#0f172a;list-style:none}
.sx summary::-webkit-details-marker{display:none}
.sx details[open] summary{background:#f0fdfa;border-bottom:1px solid #e2e8f0}
.sx .pad{padding:16px 18px;font-size:13px;line-height:1.75;color:#1e293b}
.sx .prompt{background:#f8fafc;border-left:4px solid #0d9488;padding:10px 14px;margin-bottom:12px;font-weight:600;border-radius:4px}
.sx .model p{margin-bottom:10px}
.sx .note{background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:10px 14px;margin-top:12px;font-size:12px}
.sx .note li{margin-left:16px;list-style:disc}
.sx .tag{display:inline-block;background:#ccfbf1;color:#115e59;font-size:10px;font-weight:800;padding:2px 8px;border-radius:99px;margin-left:8px}
.sx .play{background:#0f172a;color:#fff;border:0;padding:6px 14px;border-radius:99px;font-size:12px;font-weight:700;cursor:pointer;margin:2px 6px 8px 0}
.sx .play.stop{background:#b91c1c}
.sx .sub button{padding:7px 14px;border-radius:12px;font-size:12px;font-weight:700;background:#f1f5f9;color:#475569;margin:0 6px 8px 0}
.sx .sub button.on{background:#0f172a;color:#fff}
.sx svg{max-width:100%;height:auto;margin:6px 0 12px;background:#fff;border:1px solid #e2e8f0;border-radius:8px}
.sx .tr{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:10px;padding:10px 14px;margin:8px 0;font-size:12px}
.sim-card{border:1px solid #e2e8f0;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;justify-content:space-between;gap:12px}
@media(max-width:760px){.ex-two,.ex-split{grid-template-columns:1fr;height:auto}.ex-split>div{max-height:60vh}}

/* ---- Spoken English: Speak Lab + British Council ---- */
.bc-hero{background:linear-gradient(135deg,#0f766e,#2563eb);color:#fff;border-radius:18px;padding:16px 18px;margin-bottom:14px}
.bc-hero b{font-size:16px}.bc-hero p{font-size:12px;opacity:.9;margin:4px 0 0}.bc-prog{margin-top:8px;font-size:11px;font-weight:800;background:rgba(255,255,255,.2);display:inline-block;padding:3px 10px;border-radius:99px}
.bc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;margin-bottom:14px}
.bc-card{border:1px solid #e2e8f0;border-radius:16px;padding:14px;background:#fff;display:flex;flex-direction:column;gap:6px}
.bc-card.ok{background:#f0fdf4;border-color:#86efac}.bc-card h4{font-size:14px;font-weight:800;color:#0f172a}.bc-card p{font-size:12px;color:#64748b}
.bc-lv{font-size:10px;font-weight:900;background:#0f172a;color:#fff;border-radius:6px;padding:2px 7px;align-self:flex-start}
.bc-act{display:flex;gap:8px;margin-top:auto;flex-wrap:wrap}.bc-act a,.bc-act button{font-size:11px;font-weight:800;padding:6px 10px;border-radius:10px;border:1px solid #cbd5e1;background:#f8fafc;color:#0f172a;cursor:pointer}
.bc-act a{background:#0f766e;color:#fff;border-color:#0f766e}.bc-note{font-size:12px;background:#fffbeb;border:1px solid #fde68a;border-radius:12px;padding:10px 12px;margin-bottom:14px}.bc-note a,.bc-copy{color:#0f766e}
.bc-h{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;margin:6px 0 8px;color:#334155}.bc-copy{font-size:10px;color:#94a3b8;margin-top:10px}
.bc-hubs{display:flex;flex-wrap:wrap;gap:8px}.bc-hubs a{font-size:12px;font-weight:700;padding:8px 12px;border-radius:12px;background:#f1f5f9;color:#0f172a}.bc-hubs a:hover{background:#e2e8f0}
.lab-card{border:1px solid #e2e8f0;border-radius:18px;padding:16px;background:#fff;margin-bottom:12px}.lab-card h3{font-size:18px;font-weight:900}.lab-card h4{font-size:13px;font-weight:900;margin-bottom:6px}
.lab-top{display:flex;justify-content:space-between;font-size:11px;color:#64748b;margin-bottom:6px}.lab-top button,.lab-btns button,.lab-mini{font-size:12px;font-weight:800;padding:8px 14px;border-radius:12px;border:1px solid #cbd5e1;background:#f8fafc;cursor:pointer}
.lab-q{font-size:14px;color:#334155;margin:6px 0}.lab-hints{font-size:13px;color:#475569;padding-left:18px;list-style:disc;margin:6px 0 10px}.lab-time{font-size:34px;font-weight:900;font-family:monospace;text-align:center;margin:8px 0}
.lab-btns{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-bottom:10px}.lab-rec{background:#0f766e!important;color:#fff!important;border-color:#0f766e!important}.lab-rec.on{background:#dc2626!important;border-color:#dc2626!important}
.lab-sent{font-size:20px;font-weight:800;text-align:center;margin:14px 0;color:#0f172a}.lab-check{display:grid;gap:4px;font-size:12px;margin-top:10px;color:#475569}#labPb{text-align:center}.lab-mini{padding:2px 8px}

/* ---- Engagement: XP chip, hero, badges, daily challenge ---- */
.ux-chip{display:inline-flex;align-items:center;gap:6px;background:#0f172a;color:#fff;border-radius:99px;padding:5px 12px;font-size:11px;font-weight:900;cursor:pointer}
.ux-chip i{color:#f59e0b}.ux-hero{background:linear-gradient(135deg,#0f172a,#134e4a);color:#fff;border-radius:24px;padding:18px;display:grid;gap:12px}
.ux-bar{height:10px;border-radius:99px;background:rgba(255,255,255,.18);overflow:hidden}.ux-bar>i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#fbbf24);border-radius:99px;transition:width .6s}
.ux-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;text-align:center}.ux-stats div{background:rgba(255,255,255,.1);border-radius:14px;padding:8px 4px}.ux-stats b{display:block;font-size:18px}.ux-stats span{font-size:9px;text-transform:uppercase;opacity:.75;font-weight:800}
.ux-badges{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px}.ux-badge{text-align:center;border-radius:14px;padding:10px 6px;background:#f1f5f9;color:#94a3b8;font-size:10px;font-weight:800;border:1px solid #e2e8f0}
.ux-badge i{display:block;font-size:20px;margin-bottom:4px}.ux-badge.ok{background:#fffbeb;color:#92400e;border-color:#fcd34d}.ux-badge.ok i{color:#f59e0b}
.ux-opt{display:block;width:100%;text-align:left;border:2px solid #e2e8f0;border-radius:14px;padding:10px 14px;margin-top:8px;font-size:13px;font-weight:700;background:#fff}
.ux-opt.good{border-color:#22c55e;background:#f0fdf4}.ux-opt.bad{border-color:#ef4444;background:#fef2f2}
