/* MCHILS Future Saudi — Career Quest and Excel Formula Lab */
.fq-game-page{--fq-ink:#193244;--fq-muted:#708093;--fq-green:#0c9f88;max-width:1360px;margin:0 auto;padding-bottom:20px}
.fq-game-page button{transition:background .18s,border-color .18s,transform .18s,box-shadow .18s}
.fq-game-page button:focus-visible{outline:3px solid #e0b96a;outline-offset:3px}
.fq-game-page .fq-kicker,.fq-spotlight .fq-kicker{font-size:11px;font-weight:850;letter-spacing:.12em;text-transform:uppercase;color:#149e8a}
.fq-hero{position:relative;isolation:isolate;overflow:hidden;border-radius:25px;background:linear-gradient(118deg,#092c4c,#125d63 66%,#087e6d);color:white;padding:32px;display:grid;grid-template-columns:minmax(0,1fr) 225px;gap:26px;min-height:278px;box-shadow:0 20px 50px #0a55522b}
.fq-hero:before{content:'';position:absolute;inset:-70% -15% auto 25%;height:420px;transform:rotate(-25deg);background:linear-gradient(90deg,transparent,#ffffff0c,transparent);z-index:-1}
.fq-hero-text{position:relative;z-index:1}.fq-hero .fq-kicker{color:#a6ffdc}.fq-hero h1{font-size:clamp(32px,4.1vw,53px);line-height:1.1;margin:14px 0 14px;color:white;letter-spacing:-.04em}
.fq-hero-text>p{max-width:690px;line-height:1.7;color:#e5faf4;font-size:15px}
.fq-hero-chips{display:flex;gap:9px;flex-wrap:wrap;margin-top:23px}.fq-hero-chips span{border:1px solid #ffffff45;background:#ffffff12;border-radius:50px;padding:8px 12px;font-size:11px;color:#f4fff9}
.fq-hero-stats{position:relative;z-index:1;background:#ffffff1d;border:1px solid #ffffff50;border-radius:21px;padding:17px;backdrop-filter:blur(4px);align-self:center}
.fq-big-level{text-align:center;display:flex;flex-direction:column;align-items:center}
.fq-big-level span{font-size:12px;color:#dcefe4;font-weight:700}
.fq-big-level strong{font-size:78px;line-height:1.1;color:#f8e3a3;letter-spacing:-.09em;text-shadow:0 5px 25px #11352440}
.fq-stats-bottom{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #ffffff40;padding-top:14px;margin-top:9px;gap:9px}
.fq-stats-bottom div{display:flex;flex-direction:column;gap:3px;text-align:center}.fq-stats-bottom b{font-size:23px}.fq-stats-bottom small{font-size:11px;color:#e1f6ec;line-height:1.35}
.fq-hero-blobs span{position:absolute;z-index:0;opacity:.08;font-size:100px}.fq-hero-blobs span:first-child{left:41%;top:5%}.fq-hero-blobs span:nth-child(2){left:68%;bottom:-30px}.fq-hero-blobs span:last-child{right:4%;top:-38px}
.fq-small-print{font-size:11px;color:#687f88;margin:12px 0 24px}
.fq-section-header{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0 0 16px}
.fq-section-header h2{font-size:23px;margin:0;color:#19384a}.fq-section-header h3{font-size:18px;margin:5px 0;color:#17384c}
.fq-section-header p{font-size:12px;color:#748595;margin:0}
.fq-world-selector{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:29px}
.fq-world-card{background:white;border:2px solid #e1eaef;border-radius:21px;padding:23px;text-align:start;min-height:208px;display:flex;flex-direction:column;gap:11px;box-shadow:0 7px 26px #123d4b0a}
.fq-world-card.selected{border-color:#0d9a7e;box-shadow:0 10px 30px #158b7c1b;background:linear-gradient(130deg,#fff,#f2fffb)}
.fq-world-card:hover{transform:translateY(-2px)}
.fq-color-indigo.selected{border-color:#685bc9;background:linear-gradient(125deg,#fff,#f7f5ff)}
.fq-world-heading{display:flex;justify-content:space-between;align-items:center}.fq-world-ico{display:grid;place-items:center;font-size:27px;background:#eeecff;border-radius:13px;width:51px;height:51px}
.fq-color-emerald .fq-world-ico{background:#e1f7e8}.fq-world-progress{font-size:13px;font-weight:800;color:#5d7882;background:#eaf2f4;border-radius:30px;padding:7px 12px}
.fq-world-card h3{color:#20384d;font-size:23px;margin:5px 0 0}.fq-world-card p{color:#6c7c8d;font-size:13px;margin:0;line-height:1.55;flex:1}
.fq-meter{width:100%;height:9px;border-radius:90px;background:#e5ecef;overflow:hidden}.fq-meter span{display:block;background:#0fa98c;height:100%;transition:width .35s;border-radius:80px}
.fq-color-indigo .fq-meter span{background:#7265db}
.fq-world-cta{font-size:12px;font-weight:800;color:#07896d;margin-top:2px}
.fq-adventure-heading{display:flex;gap:16px;justify-content:space-between;align-items:center;margin:22px 0 18px}
.fq-adventure-heading h2{font-size:24px;color:#1d384a;margin:7px 0}.fq-adventure-heading p{color:#75879a;font-size:13px;margin:0;max-width:750px;line-height:1.6}
.fq-adventure-progress{width:155px;flex:none;font-size:13px;color:#06977a;font-weight:900;text-align:end}.fq-adventure-progress .fq-meter{margin-top:8px}
.fq-grid-layout{display:grid;grid-template-columns:minmax(240px,.38fr) minmax(0,1fr);gap:17px;align-items:start}
.fq-map{padding:20px!important;position:sticky;top:20px}
.fq-map-list{display:flex;flex-direction:column;gap:6px}
.fq-map-step{display:flex;align-items:center;gap:11px;text-align:start;border:1px solid transparent;border-radius:13px;background:#f7f9fa;padding:10px 11px;width:100%;color:#1d394b;min-height:57px}
.fq-map-step:hover:not(:disabled){background:#edf8f4;border-color:#cfece3}
.fq-map-step.active{border-color:#36ae94;background:#e7f9f2}
.fq-map-step.cleared .fq-step-marker{background:#d8f4e6;color:#07846d}
.fq-map-step.locked{opacity:.65;cursor:not-allowed;background:#f5f5f6}
.fq-step-marker{border-radius:50%;background:white;color:#145e6a;border:1px solid #dce9e9;width:34px;height:34px;display:grid;place-items:center;flex:none;font-weight:800;font-size:12px}
.fq-map-step-text{flex:1;min-width:0}.fq-map-step-text strong{font-size:12px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fq-map-step-text small{display:block;font-size:10px;line-height:1.4;color:#739095;margin-top:3px}
.fq-map-step>small{font-size:10px;color:#13957d;flex:none;white-space:nowrap}
.fq-map-tip{margin-top:18px;padding:14px;background:#f4f9f6;border-radius:12px;color:#40806f;font-weight:700;font-size:12px}
.fq-challenge{padding:25px!important;overflow:hidden}
.fq-challenge-top{display:flex;justify-content:space-between;gap:12px;align-items:start}
.fq-challenge-top h2{font-size:clamp(22px,3vw,29px);margin:8px 0;color:#173b51}
.fq-challenge-top p{color:#677c8a;font-size:13px;line-height:1.65;margin:0}
.fq-xp-earn{background:#fff2c7;color:#835f00;font-size:13px;font-weight:900;padding:9px 12px;border-radius:90px;white-space:nowrap}
.fq-question{border-top:1px solid #e8edf1;margin-top:22px;padding-top:21px}
.fq-question h3{font-size:19px;color:#16374b;line-height:1.5;margin:10px 0 17px;font-weight:750}
.fq-question-tools{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:20px}
.fq-question-guide{font-size:11px;color:#8a97a3}
.fq-question-options{display:grid;gap:10px}
.fq-option{display:grid;grid-template-columns:36px 1fr 25px;gap:12px;align-items:center;border-radius:13px;text-align:start;padding:15px;border:1px solid #dfebeb;background:#fbfdfd;color:#2e4453;min-height:68px}
.fq-option:hover,.fq-option.picked{border-color:#11ac8b;background:#e8f9f4}
.fq-option-symbol{width:35px;height:35px;background:#edf1f7;color:#45617b;font-weight:900;border-radius:10px;display:grid;place-items:center}
.fq-option.picked .fq-option-symbol{background:#08a68a;color:#fff}
.fq-option-check{font-weight:900;color:#08a188;font-size:20px}
.fq-answer-form{margin-top:18px}.fq-check-button{min-height:44px;padding:10px 28px}
.fq-workbook{border:1px solid #d8e5e2;border-radius:17px;overflow:hidden;background:white;margin:18px 0 8px}
.fq-workbook-top{background:#f1faf7;padding:16px 18px;display:flex;justify-content:space-between;gap:12px;align-items:center}
.fq-workbook-top h3{font-size:18px;margin:4px 0;color:#165748}.fq-workbook-top p{font-size:11px;color:#5c8978;margin:4px 0 0}
.fq-target-badge{font-size:12px;font-weight:800;white-space:nowrap;color:#106e5e;border-radius:10px;background:#d7f0e6;padding:8px 12px}
.fq-workbook-scroll{overflow-x:auto;max-width:100%;overscroll-behavior-x:contain}
.fq-grid-sheet{min-width:530px;direction:ltr;font-size:13px;font-variant-numeric:tabular-nums}
.fq-sheet-row{display:grid;grid-template-columns:35px minmax(160px,1.6fr) minmax(70px,.6fr) minmax(110px,1fr) minmax(100px,1fr)}
.fq-sheet-row span{padding:10px 8px;border-bottom:1px solid #e6eceb;border-right:1px solid #e6eceb;min-height:37px}
.fq-sheet-row span:first-child{background:#f1f5f4;text-align:center;color:#829098;font-weight:800}
.fq-sheet-letters{background:#eaf2ef;color:#537064;font-weight:900;text-align:center}
.fq-sheet-row .fq-cell.head{background:#e7f6ee;color:#23685a;font-weight:850}
.fq-sheet-row .fq-cell.target{background:#fff1bb;box-shadow:inset 0 0 0 2px #f3b930;color:#836321;font-weight:900;cursor:text}
.fq-sheet-row .fq-cell.money{text-align:end}
.fq-workbook-footer{padding:12px 15px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;background:#f7faf8;color:#567c73;font-size:11px}
.fq-workbook-footer small{color:#889a9e}
.fq-formula-label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;color:#376c65;font-weight:750;margin-bottom:9px}
.fq-formula-label small{color:#667c81}
.fq-formula-line{display:grid;grid-template-columns:65px 1fr;border:1px solid #cfdedd;border-radius:12px;overflow:hidden;background:white;direction:ltr}
.fq-formula-target{display:grid;place-items:center;background:#eaf5f1;color:#136c59;font-weight:900}
.fq-formula-line input{border:0;outline:0;min-width:0;padding:14px;font:600 16px ui-monospace,Consolas,monospace;background:white;direction:ltr;color:#1d344b}
.fq-formula-line:focus-within{border-color:#12a890;box-shadow:0 0 0 3px #10a99120}
.fq-result{border-radius:15px;padding:19px;margin-top:20px}
.fq-result.correct{background:#e9faf3;border:1px solid #9edbbf}.fq-result.retry{background:#fff9e7;border:1px solid #f4dda1}
.fq-result-head{display:flex;align-items:start;gap:13px}.fq-result-symbol{display:grid;place-items:center;flex:none;background:#caecda;color:#087552;border-radius:12px;width:41px;height:41px;font-size:22px}
.fq-result.retry .fq-result-symbol{background:#f9eabb;color:#9c7413}
.fq-result h3{font-size:19px;margin:0 0 7px;color:#18553f}.fq-result p{font-size:13px;line-height:1.65;color:#476d5b;margin:0}
.fq-result-stats{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0;color:#0d7f5e;font-size:13px;font-weight:850}
.fq-result-stats span{padding:8px 12px;background:#d7f4e3;border-radius:10px}
.fq-result-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}
.fq-tryagain{margin-top:15px!important;font-weight:600;color:#8e711d!important}
.fq-practice{margin-top:22px;padding:18px;border-radius:15px;background:#f6f8fc;border:1px solid #e7ebf2}
.fq-practice p{font-size:13px;line-height:1.7;color:#475d74}
.fq-practice label{font-size:12px;font-weight:750;color:#40617a;display:block;margin:12px 0 8px}
.fq-practice textarea{width:100%;min-height:80px;padding:12px;border-radius:10px;background:white;border:1px solid #d6e0e9;resize:vertical;display:block;margin-bottom:10px}
.fq-daily{display:flex;align-items:center;gap:16px;margin-top:24px;padding:18px!important;background:linear-gradient(115deg,#f6fcff,#f1f9f5)!important}
.fq-daily-icon{font-size:34px;flex:none}.fq-daily>div{flex:1}.fq-daily h3{font-size:17px;margin:5px 0;color:#235267}.fq-daily p{font-size:12px;color:#698393;margin:0}
.fq-badges{margin-top:22px;padding:24px!important}
.fq-badges-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.fq-badge{padding:18px 10px;border-radius:15px;border:1px solid #dcefe6;background:#f3fbf5;display:flex;align-items:center;justify-content:center;gap:8px;min-height:120px;flex-direction:column;text-align:center}
.fq-badge>span{font-size:31px}.fq-badge strong{font-size:12px;color:#276a5d}.fq-badge small{font-size:10px;color:#7b9688}
.fq-badge.not-yet{background:#f6f7f8;border-color:#e5e8eb}.fq-badge.not-yet>span{filter:grayscale(1);opacity:.52}.fq-badge.not-yet strong{color:#74808e}
.fq-footer-tools{margin-top:20px;padding:12px 0}.fq-footer-tools>p{font-size:12px;color:#657783;line-height:1.7}
.fq-footer-links{display:flex;gap:8px;flex-wrap:wrap}
.fq-loading{padding:35px!important}.fq-loading h3{color:#145468}.fq-loading p{color:#697c88}
.fq-spotlight{margin-top:20px;padding:25px!important;display:flex;align-items:center;gap:17px;background:linear-gradient(115deg,#f3f8fe,#e8f9f4)!important;border:1px solid #d2ebe3!important}
.fq-spotlight-icon{display:grid;place-items:center;width:70px;height:70px;flex:none;background:#fff;border-radius:20px;font-size:33px;box-shadow:0 12px 32px #11444d10}
.fq-spotlight-copy{flex:1}.fq-spotlight-copy h2{font-size:23px;margin:6px 0;color:#183c50}.fq-spotlight-copy p{color:#536f7d;font-size:13px}
.fq-spotlight-tags{display:flex;gap:8px;flex-wrap:wrap}.fq-spotlight-tags span{color:#126b60;background:#ddf5ea;font-size:11px;padding:6px 9px;border-radius:22px}
.fq-confetti{pointer-events:none;position:fixed;inset:15% 0 0;z-index:50;overflow:hidden}.fq-confetti span{position:absolute;top:0;width:10px;height:14px;border-radius:2px;background:#f8c74e;animation:fq-fall 1.35s ease-out forwards;transform:rotate(var(--rotate,0deg))}
.fq-confetti span:nth-child(even){background:#0fb898}.fq-confetti span:nth-child(3n){background:#8878e4}
@keyframes fq-fall{0%{opacity:1;transform:translateY(-40px) rotate(var(--rotate,0deg))}100%{opacity:0;transform:translateY(72vh) rotate(calc(var(--rotate,0deg) + 300deg))}}
@media(max-width:1200px){.fq-grid-layout{grid-template-columns:250px minmax(0,1fr)}}
@media(max-width:1000px){.fq-grid-layout{grid-template-columns:1fr}.fq-map{position:static}.fq-map-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.fq-hero{grid-template-columns:minmax(0,1fr) 180px}}
@media(max-width:720px){
.fq-hero{grid-template-columns:1fr;padding:25px;gap:18px}.fq-hero-stats{display:flex;gap:10px;align-items:center;justify-content:space-evenly}.fq-big-level strong{font-size:50px}.fq-stats-bottom{border-top:0;border-inline-start:1px solid #ffffff45;padding-top:0;padding-inline-start:12px;margin-top:0;gap:15px}
.fq-world-selector{grid-template-columns:1fr}.fq-world-card{min-height:166px;padding:19px}.fq-adventure-heading{flex-direction:column;align-items:stretch}.fq-adventure-progress{width:100%;text-align:start}
.fq-map-list{grid-template-columns:1fr}.fq-challenge{padding:20px!important}.fq-challenge-top{flex-direction:column}
.fq-badges-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fq-daily{flex-wrap:wrap}.fq-daily>.btn{width:100%}
.fq-spotlight{flex-wrap:wrap}.fq-spotlight .btn{width:100%}.fq-spotlight-icon{width:56px;height:56px}.fq-spotlight-copy h2{font-size:19px}
.fq-game-page .fq-section-header h2{font-size:20px}.fq-result-actions .btn{flex:1 1 145px}
}
@media(max-width:380px){.fq-hero-stats{flex-direction:column}.fq-stats-bottom{border-inline-start:0;border-top:1px solid #ffffff40;padding:12px 0 0;width:100%}}
@media(prefers-reduced-motion:reduce){.fq-game-page *, .fq-game-page *::before,.fq-game-page *::after{animation:none!important;transition:none!important}}

.fq-workbook-buttons{display:flex;gap:9px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.fq-workbook-buttons .btn{font-size:11px;padding:8px 12px}@media(max-width:720px){.fq-workbook-top{flex-direction:column;align-items:stretch}.fq-workbook-buttons{justify-content:space-between}}
