/* ===== Shared design system ===== */
/* Fliptum Quiz Phase 1 Foundation — Student contract. Scoped to .cqs-public. */
.cqs-public{
 --fq-font:"CQS Inter","CQS Devanagari",Inter,"Noto Sans Devanagari",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
 --fq-h1:28px;--fq-h2:22px;--fq-h3:18px;--fq-h4:16px;--fq-body:14px;--fq-small:13px;--fq-caption:12px;--fq-control:44px;
 --fq-icon-sm:16px;--fq-icon-md:20px;--fq-icon-lg:24px;--fq-sidebar:264px;
 --fq-space-1:4px;--fq-space-2:8px;--fq-space-3:12px;--fq-space-4:16px;--fq-space-5:20px;--fq-space-6:24px;--fq-space-8:32px;
 --fq-radius-sm:8px;--fq-radius-control:10px;--fq-radius-card:14px;
 --fq-page:var(--cqs-bg,#f5f7fb);--fq-surface:var(--cqs-surface,#fff);--fq-ink:var(--cqs-text,#172033);--fq-muted:var(--cqs-muted,#667085);--fq-primary:var(--cqs-brand-primary,var(--cqs-primary,#2563eb));--fq-accent:var(--cqs-brand-accent,var(--cqs-accent,#e61d62));
 --fq-success:#14966f;--fq-warning:#d97706;--fq-danger:#d94343;--fq-border:#d7deea;--fq-border-strong:#64748b;--fq-sidebar-bg:#111b36;--fq-sidebar-text:#f5f7ff;--fq-sidebar-muted:#bdc6e1;
 --fq-primary-hover:color-mix(in srgb,var(--fq-primary) 84%,#07142f);--fq-primary-soft:color-mix(in srgb,var(--fq-primary) 9%,#fff);--fq-focus:color-mix(in srgb,var(--fq-primary) 28%,transparent);--fq-shadow:0 8px 28px rgba(18,32,63,.08);
 min-height:100dvh;color:var(--fq-ink);background:var(--fq-page);font-family:var(--fq-font);font-size:var(--fq-body);line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility
}
.cqs-public[data-student-theme="blue"]{--fq-primary:#1465e8;--fq-accent:#6247e8;--fq-page:#f4f7fc}.cqs-public[data-student-theme="green"]{--fq-primary:#087f5b;--fq-accent:#0f9f73;--fq-page:#f2faf6}.cqs-public[data-student-theme="rani"]{--fq-primary:#c0265e;--fq-accent:#8b2bd1;--fq-page:#fff5f8}.cqs-public[data-student-theme="orange"]{--fq-primary:#b94700;--fq-accent:#d96b16;--fq-page:#fff8f3}.cqs-public[data-student-theme="white-gray"]{--fq-primary:#3f4b5e;--fq-accent:#667085;--fq-page:#f5f6f8}
.cqs-public,.cqs-public *,.cqs-public *::before,.cqs-public *::after{box-sizing:border-box}.cqs-public :where(h1,h2,h3,h4,h5,h6,p,dl,dd,fieldset,legend){margin-top:0}.cqs-public :where(button,input,select,textarea){font-family:var(--fq-font)}
.cqs-public h1{font-size:var(--fq-h1);font-weight:760;line-height:1.18;letter-spacing:-.025em}.cqs-public h2{font-size:var(--fq-h2);font-weight:740;line-height:1.24;letter-spacing:-.018em}.cqs-public h3{font-size:var(--fq-h3);font-weight:720;line-height:1.3}.cqs-public h4{font-size:var(--fq-h4);font-weight:700;line-height:1.35}.cqs-public :where(p,li,dt,dd,td,th,label,input,select,textarea,button,a){font-size:var(--fq-body)}.cqs-public :where(small,[class*="caption"],[class*="helper"],[class*="meta"]){font-size:var(--fq-caption);line-height:1.45}
.cqs-public :where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid var(--fq-focus);outline-offset:2px}
.cqs-public :where(input:not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea){min-height:var(--fq-control);padding:9px 12px;color:var(--fq-ink);background:#fff;border:1px solid var(--fq-border);border-radius:var(--fq-radius-control);box-shadow:none}.cqs-public select{padding-right:34px;border-width:2px;border-color:var(--fq-border-strong)}.cqs-public textarea{min-height:112px;resize:vertical}.cqs-public :where(input,select,textarea):focus{border-color:var(--fq-primary);box-shadow:0 0 0 3px var(--fq-focus);outline:0}
.cqs-public :where(button,.cqs-button,.cqs-btn,.cqs-auth-primary){min-height:var(--fq-control);border-radius:var(--fq-radius-control)}.cqs-public :where(.cqs-card,[class*="-card"]){border-radius:var(--fq-radius-card)}
.cqs-public :where(.cqs-tabs,[class*="-tabs"]){scrollbar-width:thin}.cqs-public :where(.cqs-tabs,[class*="-tabs"]) :where(a,button){min-height:44px}
.cqs-public .cqs-nav-icon,.cqs-public .dashicons{width:var(--fq-icon-md);height:var(--fq-icon-md);font-size:var(--fq-icon-md)}
.cqs-public .cqs-student-side{background:var(--fq-sidebar-bg);color:var(--fq-sidebar-text)}
.cqs-public .cqs-page-body{min-width:0}.cqs-public :where(img,video,canvas,svg){max-width:100%}
@media(max-width:767px){.cqs-public{--fq-h1:24px;--fq-h2:20px;--fq-h3:18px;--fq-control:48px}.cqs-public :where(.cqs-grid,[class*="-grid"]){grid-template-columns:1fr}.cqs-public :where(.cqs-tabs,[class*="-tabs"]){overflow-x:auto;flex-wrap:nowrap}.cqs-public :where(.cqs-tabs,[class*="-tabs"]) :where(a,button){white-space:nowrap}.cqs-public :where(button,.cqs-button,.cqs-btn,.cqs-auth-primary){min-height:48px}}
@media(prefers-reduced-motion:reduce){.cqs-public *,.cqs-public *::before,.cqs-public *::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

/* Phase 2 — Student attempt/result/review implementation. Authoritative screen layer. */
.cqs-public.cqs-screen-attempt{--cqs-attempt-accent:var(--cqs-primary,#e61d62)}
.cqs-screen-attempt .cqs-mobile-bottom-nav{display:none!important}
.cqs-screen-attempt .cqs-page-body{max-width:1180px!important}
.cqs-screen-attempt .cqs-attempt{background:#fff!important;border:1px solid var(--cqs-border,#dce5f0)!important;border-radius:18px!important;overflow:hidden!important;box-shadow:0 12px 34px rgba(15,23,42,.06)!important}
.cqs-screen-attempt .cqs-attempt>section{padding:0 24px 28px!important}
.cqs-attempt-context{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 -24px 18px;padding:15px 24px;background:#fff;border-bottom:1px solid var(--cqs-border,#dce5f0)}
.cqs-attempt-context>div{display:grid;gap:2px}.cqs-attempt-context strong{font-size:14px;color:var(--cqs-text,#172033)}.cqs-attempt-context small{font-size:11px;color:var(--cqs-muted,#667085)}.cqs-attempt-context>span{font-size:12px;font-weight:750;color:var(--cqs-muted,#667085)}
.cqs-screen-attempt .cqs-question-head{position:static!important;display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:48px!important;padding:0!important;background:transparent!important;border:0!important}
.cqs-screen-attempt .cqs-question-head>b{font-size:13px!important;font-weight:750!important}.cqs-screen-attempt .cqs-timer{min-width:78px;padding:8px 11px;border-radius:10px;background:#fff0f3;color:var(--cqs-attempt-accent);font-weight:800;text-align:center}
.cqs-question-meta{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 5px}.cqs-question-meta span{display:inline-flex;min-height:28px;align-items:center;padding:5px 9px;border:1px solid #dde5ef;border-radius:999px;background:#f8fafc;color:#52627a;font-size:11px;font-weight:700}.cqs-question-meta span:first-child{border-color:color-mix(in srgb,var(--cqs-attempt-accent) 22%,#fff);background:color-mix(in srgb,var(--cqs-attempt-accent) 7%,#fff);color:var(--cqs-attempt-accent)}.cqs-question-meta .is-negative{color:#b42318;background:#fff4f2;border-color:#ffd5cf}
.cqs-screen-attempt .cqs-attempt section>h3{margin:6px 0 16px!important;color:var(--cqs-text,#172033)!important;font-size:22px!important;line-height:1.4!important;font-weight:700!important}
.cqs-screen-attempt .cqs-option{position:relative!important;min-height:58px!important;margin:10px 0!important;padding:12px 14px!important;border:1px solid #dbe4ef!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important}.cqs-screen-attempt .cqs-option:hover{border-color:color-mix(in srgb,var(--cqs-attempt-accent) 36%,#dbe4ef)!important}.cqs-screen-attempt .cqs-option:has(input:checked){border:2px solid var(--cqs-attempt-accent)!important;background:color-mix(in srgb,var(--cqs-attempt-accent) 5%,#fff)!important}.cqs-screen-attempt .cqs-option>input{accent-color:var(--cqs-attempt-accent)!important}.cqs-screen-attempt .cqs-option-content{font-size:14px!important;font-weight:650!important;color:#172033!important}
.cqs-attempt-secondary{display:flex!important;align-items:center!important;gap:12px!important;margin-top:14px!important}.cqs-save-status{margin-left:auto!important;color:#0f8b61!important;font-size:12px!important;font-weight:700!important}.cqs-save-status.is-saving{color:#9a6700!important}.cqs-save-status.is-error{color:#b42318!important}.cqs-attempt-stats{display:flex;gap:14px;margin-top:10px;color:#667085;font-size:11px}.cqs-attempt-stats b{color:#172033}
.cqs-screen-attempt .cqs-attempt-nav{display:grid!important;grid-template-columns:auto auto minmax(150px,1fr)!important;gap:10px!important;align-items:center!important;margin-top:20px!important;padding-top:16px!important;border-top:1px solid #edf1f5!important}.cqs-screen-attempt .cqs-attempt-nav-button{min-height:46px!important}.cqs-screen-attempt .cqs-attempt-nav-button.is-next,.cqs-screen-attempt .cqs-attempt-nav-button.is-review-submit{justify-self:end!important;min-width:160px!important;background:var(--cqs-attempt-accent)!important;border-color:var(--cqs-attempt-accent)!important;color:#fff!important}
.cqs-result-page,.cqs-answer-review{max-width:1040px;margin-inline:auto}.cqs-result-heading,.cqs-review-heading{margin-bottom:18px}.cqs-result-heading h1,.cqs-review-heading h1{margin:4px 0 6px}.cqs-result-heading p,.cqs-review-heading p{margin:0;color:var(--cqs-muted,#667085)}
.cqs-result-card{padding:26px!important;border:1px solid var(--cqs-border,#dce5f0)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 12px 34px rgba(15,23,42,.06)!important}.cqs-score-ring{width:168px!important;height:168px!important;border:12px solid color-mix(in srgb,var(--cqs-primary) 14%,#eef2f6)!important;box-shadow:inset 0 0 0 3px color-mix(in srgb,var(--cqs-primary) 50%,#fff)!important}.cqs-result-grid{gap:10px!important}.cqs-result-grid>span{min-height:78px;padding:14px;border:1px solid #e1e7ef;border-radius:12px;background:#fbfcfe}
.cqs-answer-review{padding:24px!important}.cqs-review-item{margin-top:14px!important;padding:18px!important;border:1px solid #e2e8f0!important;border-radius:14px!important;background:#fff!important}.cqs-review-item.is-correct{border-left:4px solid #14966f!important}.cqs-review-item.is-wrong{border-left:4px solid #d94343!important}.cqs-explanation{margin-top:12px;padding:12px 14px;border-radius:10px;background:#f7f9fc}
.cqs-certificate{max-width:980px;margin-inline:auto!important;border:1px solid #c9a227!important;outline:6px double #d9bd5a;outline-offset:-16px;border-radius:4px!important;box-shadow:0 16px 42px rgba(15,23,42,.08)}
@media(max-width:767px){
 .cqs-screen-attempt .cqs-main,.cqs-screen-attempt .cqs-page-body{padding:0!important;margin:0!important;width:100%!important;max-width:none!important}
 .cqs-screen-attempt .cqs-attempt{min-height:100dvh!important;border:0!important;border-radius:0!important;box-shadow:none!important}
 .cqs-screen-attempt .cqs-attempt>section{min-height:100dvh!important;padding:0 12px 92px!important}
 .cqs-attempt-context{position:sticky;z-index:50;top:0;margin:0 -12px 8px;padding:11px 14px;background:rgba(255,255,255,.98);backdrop-filter:blur(8px)}
 .cqs-attempt-context strong{font-size:13px}.cqs-attempt-context small{font-size:10px}
 .cqs-screen-attempt .cqs-question-head{min-height:52px!important}.cqs-screen-attempt .cqs-question-head>b{font-size:12px!important}.cqs-screen-attempt .cqs-timer{font-size:12px!important}
 .cqs-screen-attempt .cqs-progress{margin:0 0 10px!important}
 .cqs-screen-attempt .cqs-question-tools{margin:4px 0 8px!important}
 .cqs-question-meta{margin:8px 0 4px}.cqs-question-meta span{min-height:26px;font-size:10px}
 .cqs-screen-attempt .cqs-attempt section>h3{margin:6px 0 14px!important;font-size:16px!important;line-height:1.48!important}
 .cqs-screen-attempt .cqs-option{min-height:54px!important;margin:8px 0!important;padding:10px 12px!important;border-radius:11px!important}.cqs-screen-attempt .cqs-option-content{flex-direction:row!important;align-items:center!important;font-size:12px!important}.cqs-screen-attempt .cqs-option-image{width:72px!important;max-height:72px!important}
 .cqs-screen-attempt .cqs-attempt-secondary{margin-top:10px!important}.cqs-screen-attempt .cqs-clear-button,.cqs-screen-attempt .cqs-attempt-nav .is-save{display:none!important}.cqs-screen-attempt .cqs-review-toggle{font-size:11px!important}.cqs-screen-attempt .cqs-save-status{font-size:10px!important}
 .cqs-screen-attempt .cqs-attempt-stats{display:none!important}
 .cqs-screen-attempt .cqs-attempt-nav{position:fixed!important;z-index:900;right:0;bottom:0;left:0;grid-template-columns:88px minmax(0,1fr) 106px!important;gap:8px!important;margin:0!important;padding:8px 10px calc(8px + env(safe-area-inset-bottom))!important;background:#fff!important;border-top:1px solid #dce5ef!important;box-shadow:0 -8px 24px rgba(15,23,42,.08)!important}
 .cqs-screen-attempt .cqs-attempt-nav:before{content:'⚑ Mark for Review';display:flex;grid-column:2;grid-row:1;min-height:48px;align-items:center;justify-content:center;padding:6px;border:1px solid #dbe4ef;border-radius:10px;color:#344054;font-size:10px;font-weight:750;text-align:center}
 .cqs-screen-attempt .cqs-attempt-nav-button{min-height:48px!important;width:100%!important;min-width:0!important;padding:7px!important;font-size:10px!important}.cqs-screen-attempt .cqs-attempt-nav-button.is-previous{grid-column:1}.cqs-screen-attempt .cqs-attempt-nav-button.is-next,.cqs-screen-attempt .cqs-attempt-nav-button.is-review-submit{grid-column:3;justify-self:stretch!important}
 .cqs-screen-result .cqs-page-body,.cqs-screen-answer-review .cqs-page-body{padding:14px 10px 86px!important}.cqs-result-heading h1,.cqs-review-heading h1{font-size:23px!important}.cqs-result-card{grid-template-columns:1fr!important;padding:16px!important}.cqs-score-ring{width:142px!important;height:142px!important;margin:auto}.cqs-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.cqs-result-grid>span{min-height:68px!important;padding:11px!important}.cqs-answer-review{padding:14px!important}.cqs-review-item{padding:14px!important}.cqs-certificate{padding:28px 20px!important;outline-offset:-10px!important}
}
@media(max-width:767px){
 .cqs-screen-attempt .cqs-attempt-nav:before{content:none!important;display:none!important}
 .cqs-screen-attempt .cqs-attempt-nav{grid-template-columns:88px 1fr 106px!important}
 .cqs-screen-attempt .cqs-attempt-nav-button.is-previous{grid-column:1!important}
 .cqs-screen-attempt .cqs-attempt-nav-button.is-next,.cqs-screen-attempt .cqs-attempt-nav-button.is-review-submit{grid-column:3!important}
 .cqs-screen-attempt .cqs-review-toggle{position:fixed!important;z-index:905;bottom:calc(8px + env(safe-area-inset-bottom));left:106px;width:calc(100vw - 224px);min-height:48px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:6px!important;background:#fff!important;border:1px solid #dbe4ef!important;border-radius:10px!important;color:#344054!important;font-size:10px!important;font-weight:750!important;text-align:center!important}
 .cqs-screen-attempt .cqs-review-toggle input{width:14px!important;height:14px!important}
}

/* ===== Legacy compatibility layer 10 ===== */

/* Phase 10 — Advanced Student Visual Layer. Scoped to the existing student shell. */
.cqs-student-shell{--cqs10-red:#df1f5b;--cqs10-blue:#2563eb;--cqs10-green:#15966f;--cqs10-orange:#e58919;--cqs10-text:#132238;--cqs10-muted:#60718a;--cqs10-line:#dfe6ef;--cqs10-canvas:#f6f8fb;--cqs10-card:#fff}
.cqs-student-shell :where(a,button,input,select,textarea):focus-visible{outline:3px solid rgba(37,99,235,.2)!important;outline-offset:2px!important}.cqs-student-shell :where(.cqs-public-card,.cqs-quiz-card,.cqs-profile-card){border-color:var(--cqs10-line)!important;box-shadow:0 7px 22px rgba(13,39,77,.055)!important}.cqs-student-shell :where(.cqs-public-card,.cqs-quiz-card,.cqs-profile-card):hover{box-shadow:0 11px 30px rgba(13,39,77,.075)!important}
.cqs-student-shell .cqs-page-header h1,.cqs-student-shell .cqs-home-head-v347 h1{color:#071a36!important;letter-spacing:-.035em!important}.cqs-student-shell .cqs-page-header p{color:var(--cqs10-muted)!important}.cqs-student-shell .cqs-public-btn{min-height:44px!important;border-radius:10px!important}.cqs-student-shell .cqs-ui-icon{stroke-width:1.8}
.cqs-screen-attempt{background:#fff!important}.cqs-screen-attempt .cqs-question-head{border-bottom-color:#e4eaf2!important}.cqs-screen-attempt .cqs-timer{font-variant-numeric:tabular-nums}.cqs-screen-attempt .cqs-option{transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease!important}.cqs-screen-attempt .cqs-option:hover{transform:translateY(-1px);border-color:#a9c5f7!important;box-shadow:0 6px 16px rgba(28,79,150,.06)!important}.cqs-screen-attempt .cqs-option:has(input:checked){border-color:#6ea0ef!important;background:#f7faff!important;box-shadow:0 0 0 2px rgba(37,99,235,.08)!important}.cqs-screen-attempt .cqs-save-status[data-state="saved"]{color:var(--cqs10-green)!important}.cqs-screen-attempt .cqs-save-status[data-state="error"]{color:#c92a2a!important}
@media(min-width:1024px){.cqs-screen-attempt .cqs-attempt{grid-template-columns:minmax(0,1fr) 300px!important;gap:18px!important}.cqs-screen-attempt .cqs-attempt>section{border-radius:16px!important}.cqs-screen-attempt [data-cqs-palette-sheet]{position:sticky!important;top:84px!important;align-self:start!important;border-radius:16px!important;max-height:calc(100vh - 110px)!important;overflow:auto!important}.cqs-screen-attempt .cqs-question-head{border-radius:14px 14px 0 0!important}}
@media(max-width:782px){.cqs-student-shell{font-size:15px}.cqs-student-shell .cqs-page-header h1{font-size:25px!important}.cqs-screen-attempt .cqs-attempt-nav{grid-template-columns:.9fr 1.15fr 1.25fr!important}.cqs-screen-attempt .cqs-attempt-nav-button{letter-spacing:-.01em!important}.cqs-screen-attempt .cqs-palette-toggle{min-height:42px!important}.cqs-screen-attempt .cqs-option{min-height:58px!important}.cqs-screen-attempt .cqs-question-head{backdrop-filter:blur(10px)!important}}
@media(max-width:420px){.cqs-screen-attempt .cqs-attempt-nav{grid-template-columns:1fr 1fr!important}.cqs-screen-attempt .cqs-attempt-nav-button.is-save{grid-column:1/-1!important}.cqs-screen-attempt .cqs-question-head>b{font-size:16px!important}.cqs-screen-attempt .cqs-timer{min-width:88px!important}}
@media(prefers-reduced-motion:reduce){.cqs-student-shell *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* ===== Legacy compatibility layer 11 ===== */
/* Phase 11 — runtime productivity and connection feedback */
.cqs-network-status{position:fixed;z-index:100200;left:50%;bottom:84px;transform:translateX(-50%);max-width:min(520px,calc(100vw - 24px));padding:10px 14px;border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#334155;box-shadow:0 12px 30px rgba(15,23,42,.16);font-size:13px;font-weight:600;text-align:center}.cqs-network-status[data-kind="success"]{border-color:#86efac;color:#166534;background:#f0fdf4}.cqs-network-status[data-kind="warning"]{border-color:#fdba74;color:#9a3412;background:#fff7ed}.cqs-network-status[data-kind="info"]{border-color:#93c5fd;color:#1d4ed8;background:#eff6ff}@media(max-width:800px){.cqs-network-status{bottom:92px;border-radius:12px;width:calc(100vw - 24px)}}@media(prefers-reduced-motion:no-preference){.cqs-network-status:not([hidden]){animation:cqsP11In .18s ease-out}}@keyframes cqsP11In{from{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%,0)}}

/* ===== Accessibility layer ===== */
/* Phase 15 — accessibility and mobile regression guardrails. */
.cqs-skip-link{position:fixed;z-index:99999;top:8px;left:8px;transform:translateY(-160%);padding:10px 14px;border:2px solid currentColor;border-radius:8px;background:#fff;color:#111827;font-weight:700;text-decoration:none}.cqs-skip-link:focus{transform:none}.cqs-student-shell :where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid rgba(37,99,235,.45)!important;outline-offset:2px!important}.cqs-screen-attempt [aria-current="step"]{box-shadow:0 0 0 2px rgba(37,99,235,.22)!important}.cqs-screen-attempt #cqs-current-question:focus{outline:none}.cqs-phase15-live{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}
@media(max-width:782px){.cqs-screen-attempt .cqs-attempt-nav-button{min-height:48px!important}.cqs-screen-attempt .cqs-option{overflow-wrap:anywhere}.cqs-screen-attempt .cqs-question-media{max-width:100%!important;height:auto!important}}
@media(prefers-reduced-motion:reduce){.cqs-student-shell *, .cqs-student-shell *::before, .cqs-student-shell *::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

/* ===== Operations layer ===== */
.cqs-maintenance-banner{position:relative;z-index:20;margin:0 auto 14px;padding:12px 16px;max-width:1180px;color:#7c2d12;background:#fff7ed;border:1px solid #fed7aa;border-left:4px solid #f97316;border-radius:10px;font-size:14px;font-weight:650;line-height:1.45;box-sizing:border-box}.cqs-maintenance-banner[hidden]{display:none!important}@media(max-width:800px){.cqs-maintenance-banner{margin:0 10px 10px;padding:11px 13px;font-size:13px}}

/* ===== Premium responsive foundation ===== */
/* Fliptum Quiz Phase 2 — final student premium responsive foundation.
 * Loaded last. CSS-only and scoped to the standalone Student portal.
 */
html:has(body.cqs-student-portal-page),body.cqs-student-portal-page,body.cqs-student-portal-page #cqs-student-portal,body.cqs-student-portal-page .cqs-student-portal-root{
  width:100%;max-width:none;min-height:100%;margin:0!important;padding:0!important
}
html:has(body.cqs-student-portal-page),body.cqs-student-portal-page{min-width:320px;min-height:100dvh;background:#f4f7fb!important;overflow-x:hidden}
body.cqs-student-portal-page #cqs-student-portal{min-height:100dvh}
.cqs-public{
  --fq-p2-font:"CQS Inter","CQS Devanagari",Inter,"Noto Sans Devanagari",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  --fq-p2-primary:var(--fq-primary,var(--cqs-primary,#2563eb));--fq-p2-accent:var(--fq-accent,var(--cqs-accent,#d92d68));
  --fq-p2-ink:#172033;--fq-p2-muted:#667085;--fq-p2-page:#f4f7fb;--fq-p2-surface:#fff;--fq-p2-soft:#f8fafc;--fq-p2-border:#dce4ef;
  --fq-p2-success:#0f8b61;--fq-p2-warning:#b66a00;--fq-p2-danger:#c83f4f;--fq-p2-info:#1769aa;
  --fq-p2-h1:28px;--fq-p2-h2:22px;--fq-p2-h3:18px;--fq-p2-body:14px;--fq-p2-small:13px;--fq-p2-caption:12px;
  --fq-p2-control:44px;--fq-p2-icon:20px;--fq-p2-icon-box:44px;
  --fq-p2-r-sm:10px;--fq-p2-r-control:12px;--fq-p2-r-card:18px;--fq-p2-r-hero:22px;
  --fq-p2-shadow-1:0 3px 10px rgba(23,32,51,.06),0 1px 2px rgba(23,32,51,.04);
  --fq-p2-shadow-2:0 12px 28px rgba(23,32,51,.10),0 3px 7px rgba(23,32,51,.06);
  --fq-p2-shadow-3:0 20px 46px rgba(23,32,51,.13),0 5px 12px rgba(23,32,51,.07);
  width:100%;max-width:none;min-height:100dvh;margin:0;padding:0;background:var(--fq-p2-page);color:var(--fq-p2-ink);
  font-family:var(--fq-p2-font);font-size:var(--fq-p2-body);line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility
}
.cqs-public,.cqs-public *,.cqs-public *::before,.cqs-public *::after{box-sizing:border-box}
.cqs-public :where(h1,h2,h3,h4,p){margin-top:0}.cqs-public h1{font-size:var(--fq-p2-h1);line-height:1.18;letter-spacing:-.025em}.cqs-public h2{font-size:var(--fq-p2-h2);line-height:1.24;letter-spacing:-.018em}.cqs-public h3{font-size:var(--fq-p2-h3);line-height:1.3}
.cqs-public :where(p,li,label,td,th,input,select,textarea,button,a){font-size:var(--fq-p2-body)}
.cqs-public :where(small,[class*="meta"],[class*="helper"],[class*="caption"]){font-size:var(--fq-p2-caption);line-height:1.45}

/* True app shell. Theme chrome cannot create outer gaps. */
.cqs-public .cqs-student-shell{width:100%;max-width:none;min-height:100dvh;margin:0!important}
.cqs-public .cqs-student-main{min-width:0;min-height:100dvh;background:var(--fq-p2-page)}
.cqs-public .cqs-page-body{width:100%;min-width:0;margin-inline:auto}
.cqs-public :where(img,video,canvas,svg){max-width:100%}

/* Toolbar/sidebar elevation sits above ordinary content cards. */
.cqs-public .cqs-app-toolbar{background:#fff;border-bottom:1px solid var(--fq-p2-border);box-shadow:0 8px 24px rgba(23,32,51,.07)}
.cqs-public .cqs-student-side{background:#fff;border-right:1px solid var(--fq-p2-border);box-shadow:10px 0 28px rgba(23,32,51,.07)}
.cqs-public .cqs-student-side>nav>a{min-height:48px;border-radius:12px;font-size:14px;font-weight:650}
.cqs-public .cqs-student-side>nav>a.is-active{background:#eef4ff;border-color:#cbdafb;color:var(--fq-p2-primary);box-shadow:var(--fq-p2-shadow-1)}

/* One icon contract: 20px glyph inside a 44px raised plate. */
.cqs-public :where(.cqs-icon-button,.cqs-ui-icon,.cqs-summary-icon,.cqs-subject-icon,.cqs-details-icon,.cqs-balance-icon,.cqs-home-recent-icon-v347,.cqs-home-subject-icon-v347,.cqs-auth-icon){
  width:var(--fq-p2-icon-box)!important;height:var(--fq-p2-icon-box)!important;min-width:var(--fq-p2-icon-box)!important;min-height:var(--fq-p2-icon-box)!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid var(--fq-p2-border)!important;border-radius:13px!important;
  background:#fff!important;color:var(--fq-p2-primary)!important;box-shadow:0 7px 15px rgba(23,32,51,.10),inset 0 1px 0 rgba(255,255,255,.9)!important
}
.cqs-public :where(.cqs-icon-button,.cqs-ui-icon,.cqs-summary-icon,.cqs-subject-icon,.cqs-details-icon,.cqs-balance-icon,.cqs-home-recent-icon-v347,.cqs-home-subject-icon-v347,.cqs-auth-icon) :where(svg,.dashicons){width:var(--fq-p2-icon)!important;height:var(--fq-p2-icon)!important;font-size:var(--fq-p2-icon)!important}
.cqs-public .cqs-nav-icon{width:24px!important;height:24px!important;min-width:24px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
.cqs-public .cqs-nav-icon svg{width:20px!important;height:20px!important}

/* Controls and touch targets. */
.cqs-public :where(input:not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea){min-height:var(--fq-p2-control);border:1px solid #cbd6e4;border-radius:var(--fq-p2-r-control);background:#fff;color:var(--fq-p2-ink);font-size:14px;padding:9px 12px}
.cqs-public textarea{min-height:112px}.cqs-public :where(input,select,textarea):focus{border-color:var(--fq-p2-primary);outline:0;box-shadow:0 0 0 3px rgba(37,99,235,.14)}
.cqs-public :where(button,.cqs-button,.cqs-btn,.cqs-public-btn,.cqs-auth-primary,.cqs-attempt-nav-button){min-height:var(--fq-p2-control);border-radius:var(--fq-p2-r-control);font-size:14px;font-weight:700}
.cqs-public :where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid rgba(37,99,235,.20);outline-offset:2px}

/* Raised card contract. Generic suffix selectors are intentionally scoped to the portal. */
.cqs-public :where(
  .cqs-public-card,.cqs-quiz-tile,.cqs-start-card,.cqs-instructions-card,.cqs-progress-card,.cqs-readiness-card,.cqs-result-card,
  .cqs-auth-card-v28,.cqs-account-shell-v33,.cqs-profile-form-card-v33,.cqs-location-card-v33,.cqs-performance-card-v31,
  .cqs-balance-card-v29,.cqs-level-card-v29,.cqs-sponsored-card,.cqs-league-stage-v31,.cqs-ranking-panel,.cqs-discovery-panel,
  .cqs-home-readiness-v347,.cqs-home-recent-v347,.cqs-home-subjects-v347,.cqs-subject-analytics-panel,.cqs-answer-review
){
  border:1px solid var(--fq-p2-border)!important;border-radius:var(--fq-p2-r-card)!important;background:#fff!important;box-shadow:var(--fq-p2-shadow-2)!important
}
.cqs-public :where(.cqs-public-card,.cqs-quiz-tile,.cqs-start-card,.cqs-instructions-card,.cqs-progress-card,.cqs-readiness-card,.cqs-balance-card-v29,.cqs-level-card-v29,.cqs-sponsored-card){min-height:118px}
.cqs-public :where(.cqs-home-readiness-v347,.cqs-home-recent-v347,.cqs-home-subjects-v347,.cqs-account-shell-v33,.cqs-auth-card-v28){box-shadow:var(--fq-p2-shadow-3)!important}
.cqs-public :where(.cqs-public-card,.cqs-quiz-tile,.cqs-start-card,.cqs-readiness-card,.cqs-balance-card-v29,.cqs-level-card-v29){transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
@media (hover:hover){.cqs-public :where(.cqs-public-card,.cqs-quiz-tile,.cqs-start-card,.cqs-readiness-card,.cqs-balance-card-v29,.cqs-level-card-v29):hover{transform:translateY(-2px);box-shadow:var(--fq-p2-shadow-3)!important;border-color:#c9d5e5!important}}

/* Colour accents without gradients. */
.cqs-public :where(.cqs-status-pill,.cqs-status-pill-v33,.cqs-access-badge,.cqs-active-badge-v31,.cqs-count-pill){border-radius:999px;font-size:12px;font-weight:750}
.cqs-public .cqs-public-alert{border-radius:14px;border:1px solid var(--fq-p2-border);box-shadow:var(--fq-p2-shadow-1)}
.cqs-public :where(.cqs-success-note,.cqs-ready-check){color:var(--fq-p2-success)}
.cqs-public :where(.cqs-security-note,.cqs-institution-note-v33){border-radius:14px}

/* Lists/tables never force horizontal page overflow. */
.cqs-public :where(.cqs-table-scroll,.cqs-responsive-table,.cqs-application-table-wrap-v33){max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.cqs-public table :where(th,td){font-size:13px;line-height:1.45;vertical-align:middle}


/* Bottom navigation is a sibling of the portal root, so body-level scoping is intentional. */
body.cqs-student-portal-page:has(.cqs-screen-attempt) .cqs-mobile-bottom-nav,
body.cqs-student-portal-page:has(.cqs-screen-profile-progress) .cqs-mobile-bottom-nav,
body.cqs-student-portal-page:has(.cqs-auth-view) .cqs-mobile-bottom-nav{display:none!important}

/* Mobile is a true full-screen app, with readable text and safe-area aware bottom navigation. */
@media (max-width: 767px){
  html:has(body.cqs-student-portal-page),body.cqs-student-portal-page,body.cqs-student-portal-page #cqs-student-portal,body.cqs-student-portal-page .cqs-student-portal-root,.cqs-public,.cqs-public .cqs-student-shell,.cqs-public .cqs-student-main{width:100%!important;max-width:none!important;min-height:100dvh!important;margin:0!important;padding-left:0!important;padding-right:0!important}
  .cqs-public{--fq-p2-h1:24px;--fq-p2-h2:20px;--fq-p2-h3:18px;--fq-p2-body:14px;--fq-p2-small:13px;--fq-p2-caption:12px;--fq-p2-control:48px;--fq-p2-icon-box:42px}
  .cqs-public .cqs-app-toolbar{position:sticky!important;z-index:950!important;top:0!important;width:100%!important;min-height:60px!important;margin:0!important;padding:7px 10px!important}
  .admin-bar .cqs-public .cqs-app-toolbar{top:46px!important}
  .cqs-public .cqs-page-body{width:100%!important;max-width:none!important;margin:0!important;padding:14px 10px calc(86px + env(safe-area-inset-bottom))!important}
  .cqs-public.cqs-screen-attempt .cqs-page-body{padding-right:0!important;padding-left:0!important}
  .cqs-public :where(.cqs-public-grid,[class*="-grid"]){grid-template-columns:1fr}
  .cqs-public :where(.cqs-access-tabs,.cqs-auth-method-tabs,.cqs-profile-tabs-v33,[class*="-tabs"]){max-width:100%;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
  .cqs-public :where(.cqs-access-tabs,.cqs-auth-method-tabs,.cqs-profile-tabs-v33,[class*="-tabs"]) :where(a,button){white-space:nowrap;min-height:44px}
  body.cqs-student-portal-page .cqs-mobile-bottom-nav{min-height:72px;padding:6px max(5px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left));background:#fff;border-top:1px solid var(--fq-p2-border,#dce4ef);box-shadow:0 -10px 26px rgba(23,32,51,.10)}
  body.cqs-student-portal-page .cqs-mobile-bottom-nav a{min-height:56px;font-size:12px!important;font-weight:700;border-radius:12px}
  body.cqs-student-portal-page .cqs-mobile-bottom-nav .cqs-nav-icon svg{width:20px!important;height:20px!important}
  .cqs-public :where(.cqs-public-card,.cqs-quiz-tile,.cqs-start-card,.cqs-instructions-card,.cqs-progress-card,.cqs-readiness-card,.cqs-balance-card-v29,.cqs-level-card-v29,.cqs-sponsored-card){min-height:108px}
}
@media (max-width: 480px){
  .cqs-public{--fq-p2-r-card:16px}
  .cqs-public .cqs-page-body{padding-right:8px!important;padding-left:8px!important}
  .cqs-public .cqs-breadcrumb>span,.cqs-public .cqs-profile-copy small{font-size:12px!important}
  body.cqs-student-portal-page .cqs-mobile-bottom-nav a{font-size:12px!important}
}
@media (max-width: 360px){
  .cqs-public{--fq-p2-body:14px;--fq-p2-caption:12px}
  .cqs-public .cqs-page-body{padding-right:6px!important;padding-left:6px!important}
}
@media (prefers-reduced-motion: reduce){.cqs-public *,.cqs-public *::before,.cqs-public *::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

/* ===== Screen normalization ===== */
/* Fliptum Quiz Phase 3 — student screen normalization.
 * Loaded after the shared premium foundation. CSS-only, no runtime dependency.
 * Goal: full-screen mobile, consistent hierarchy, stable 3-column desktop cards,
 * touch-safe controls, raised premium surfaces, and zero business-logic changes.
 */
.cqs-public{
  --fq-p3-page-pad:clamp(16px,2.1vw,30px);
  --fq-p3-section-gap:clamp(16px,1.8vw,24px);
  --fq-p3-card-pad:clamp(16px,1.6vw,22px);
  --fq-p3-content:1440px;
  --fq-p3-blue:#2563eb;--fq-p3-green:#0f8b61;--fq-p3-amber:#b66a00;--fq-p3-rose:#c83f4f;--fq-p3-violet:#6d4aff;
}
.cqs-public .cqs-page-body{max-width:var(--fq-p3-content);padding:var(--fq-p3-page-pad);}
.cqs-public :where(.cqs-view-intro,.cqs-library-head,.cqs-panel-heading){gap:16px;}
.cqs-public .cqs-view-intro{display:flex;align-items:flex-end;justify-content:space-between;margin:0 0 var(--fq-p3-section-gap);}
.cqs-public .cqs-view-intro>div{min-width:0;max-width:820px}.cqs-public .cqs-view-intro h1{margin:4px 0 7px}.cqs-public .cqs-view-intro p{max-width:760px;margin:0;color:var(--fq-p2-muted)}
.cqs-public .cqs-view-eyebrow{display:inline-flex;align-items:center;min-height:26px;padding:4px 9px;border:1px solid #d8e3f1;border-radius:999px;background:#fff;color:#42526a;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;box-shadow:var(--fq-p2-shadow-1)}
.cqs-public :where(.cqs-public-card,.cqs-center-card,.cqs-details-hero,.cqs-instructions-card,.cqs-result-card,.cqs-answer-review,.cqs-sponsored-card){padding:var(--fq-p3-card-pad)}
.cqs-public .cqs-center-card{width:min(100%,680px);min-height:280px;margin:clamp(18px,5vh,54px) auto;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px solid var(--fq-p2-border);border-radius:22px;background:#fff;box-shadow:var(--fq-p2-shadow-3)}
.cqs-public .cqs-center-card :where(h2,h3){margin:12px 0 7px}.cqs-public .cqs-center-card p{max-width:540px;color:var(--fq-p2-muted)}
.cqs-public .cqs-buttons{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.cqs-public .cqs-center-card .cqs-buttons{justify-content:center}
.cqs-public :where(.cqs-public-btn,.cqs-row-action,.cqs-full-action){display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}
.cqs-public .cqs-public-btn{min-height:44px;padding:9px 16px;border:1px solid var(--fq-p2-primary);border-radius:12px;background:var(--fq-p2-primary);color:#fff;font-weight:800;box-shadow:0 8px 16px rgba(37,99,235,.18)}
.cqs-public .cqs-public-btn.alt{background:#fff;color:var(--fq-p2-primary);box-shadow:var(--fq-p2-shadow-1)}
.cqs-public .cqs-public-btn:hover{transform:translateY(-1px)}

/* Small visual icons use one 44px raised plate; the SVG glyph inside remains 20px. */
.cqs-public :where(.cqs-set-icon,.cqs-subject-analytics-icon,.cqs-table-quiz>i,.cqs-lock,.cqs-gift){width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid var(--fq-p2-border)!important;border-radius:13px!important;background:#fff!important;color:var(--fq-p2-primary)!important;box-shadow:0 7px 15px rgba(23,32,51,.10),inset 0 1px 0 rgba(255,255,255,.92)!important}
.cqs-public :where(.cqs-summary-icon,.cqs-set-icon,.cqs-subject-analytics-icon,.cqs-table-quiz>i,.cqs-public-btn,.cqs-panel-heading,.cqs-heading-with-icon,.cqs-practice-note,.cqs-period-filter)>.cqs-ui-icon{width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:currentColor!important}
.cqs-public :where(.cqs-summary-icon,.cqs-set-icon,.cqs-subject-analytics-icon,.cqs-table-quiz>i)>.cqs-ui-icon{display:block!important}

/* Home — fixed 3-column desktop system, never 4 columns. */
.cqs-screen-home .cqs-home-dashboard-v347{display:grid;gap:var(--fq-p3-section-gap)}
.cqs-screen-home .cqs-home-head-v347{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}
.cqs-screen-home .cqs-home-head-v347 h1{margin:4px 0 6px}.cqs-screen-home .cqs-home-head-v347 p{margin:0;color:var(--fq-p2-muted)}
.cqs-screen-home .cqs-home-kpis-v347{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
.cqs-screen-home .cqs-home-kpis-v347>article,.cqs-screen-home .cqs-home-kpis-v347>div{min-height:118px;padding:18px;border:1px solid var(--fq-p2-border);border-radius:18px;background:#fff;box-shadow:var(--fq-p2-shadow-2)}
.cqs-screen-home .cqs-home-panels-v347{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;align-items:stretch}
.cqs-screen-home :where(.cqs-home-readiness-v347,.cqs-home-recent-v347,.cqs-home-subjects-v347){height:100%;min-height:250px;padding:20px!important;overflow:hidden}
.cqs-screen-home :where(.cqs-home-recent-list-v347,.cqs-home-subject-list-v347){display:grid;gap:9px}
.cqs-screen-home :where(.cqs-home-recent-list-v347,.cqs-home-subject-list-v347)>*{min-height:58px;padding:10px;border:1px solid #e5ebf3;border-radius:13px;background:#fbfcfe}
.cqs-screen-home .cqs-quiz-library{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}

/* Library / discovery. */
.cqs-screen-quiz-library .cqs-library-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:16px}
.cqs-screen-quiz-library .cqs-library-tools,.cqs-screen-home .cqs-library-tools{display:grid;grid-template-columns:minmax(220px,1.4fr) repeat(3,minmax(150px,.7fr)) auto;gap:10px;align-items:center}
.cqs-public .cqs-quiz-search{position:relative;min-width:0}.cqs-public .cqs-quiz-search input{width:100%;padding-left:42px}
.cqs-public .cqs-quiz-search .cqs-ui-icon{position:absolute;left:9px;top:50%;width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important;transform:translateY(-50%);border-radius:8px!important;box-shadow:none!important}
.cqs-public .cqs-filter-panel{padding:14px;border:1px solid var(--fq-p2-border);border-radius:16px;background:#fff;box-shadow:var(--fq-p2-shadow-1)}
.cqs-public .cqs-filter-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.cqs-public .cqs-access-tabs{display:flex;flex-wrap:wrap;gap:8px}.cqs-public .cqs-access-tabs>button{min-height:40px;padding:8px 14px;border:1px solid #d4dfec;border-radius:999px;background:#fff;color:#43516a;font-size:13px;font-weight:750;box-shadow:var(--fq-p2-shadow-1)}
.cqs-public .cqs-access-tabs>button.is-active{border-color:#b8cbef;background:#edf4ff;color:var(--fq-p2-primary)}
.cqs-public .cqs-quiz-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.cqs-public .cqs-quiz-tile{display:flex;min-width:0;min-height:250px!important;flex-direction:column;justify-content:space-between;padding:18px!important;overflow:hidden}
.cqs-public .cqs-quiz-tile h3{margin:10px 0 7px}.cqs-public .cqs-quiz-tile p{margin:0;color:var(--fq-p2-muted)}
.cqs-public .cqs-card-top,.cqs-public .cqs-card-labels{display:flex;align-items:center;justify-content:space-between;gap:9px}.cqs-public .cqs-card-labels{justify-content:flex-start;flex-wrap:wrap;margin-top:10px}
.cqs-public .cqs-list-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:14px;padding-top:12px;border-top:1px solid #e7edf4}
.cqs-public .cqs-full-action{width:100%;min-height:44px;margin-top:14px;border-radius:11px}

/* Details / start / confirmation. */
.cqs-public :where(.cqs-details-layout,.cqs-start-details){display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.65fr);gap:18px;align-items:start}
.cqs-public .cqs-details-hero{min-height:260px;border:1px solid var(--fq-p2-border);border-radius:20px;background:#fff;box-shadow:var(--fq-p2-shadow-3)}
.cqs-public .cqs-details-hero h1{margin:12px 0 8px}.cqs-public .cqs-details-hero p{color:var(--fq-p2-muted)}
.cqs-public .cqs-detail-list{display:grid;gap:10px;margin:16px 0 0}.cqs-public .cqs-detail-list>div,.cqs-public .cqs-detail-list>li{min-height:48px;padding:11px 13px;border:1px solid #e3eaf2;border-radius:12px;background:#fbfcfe}
.cqs-public .cqs-instructions-card{min-height:220px}.cqs-public .cqs-instruction-list,.cqs-public .cqs-rules{display:grid;gap:9px;padding-left:0;list-style:none}.cqs-public :where(.cqs-instruction-list,.cqs-rules)>li{position:relative;padding:10px 12px 10px 38px;border:1px solid #e5ebf3;border-radius:12px;background:#fbfcfe}.cqs-public :where(.cqs-instruction-list,.cqs-rules)>li::before{content:'✓';position:absolute;left:12px;top:10px;color:var(--fq-p2-success);font-weight:900}

/* Authentication. */
.cqs-public.cqs-auth-view .cqs-page-body,.cqs-screen-login .cqs-page-body,.cqs-screen-register .cqs-page-body{display:grid;place-items:center;min-height:calc(100dvh - 72px)}
.cqs-public :where(.cqs-auth-card-v28,.cqs-auth-brand){width:min(100%,560px)}
.cqs-public .cqs-auth-card-v28{padding:clamp(20px,3vw,34px)!important}.cqs-public .cqs-auth-card-v28 :where(input,select){width:100%}
.cqs-public .cqs-auth-card-v28 :where(button,.cqs-auth-primary){width:100%;min-height:48px}
.cqs-public .cqs-auth-brand{text-align:center}.cqs-public .cqs-auth-brand img{max-height:70px;width:auto}

/* Attempt — clean full-screen question workspace. */
.cqs-screen-attempt .cqs-page-body{max-width:none;padding:0}
.cqs-screen-attempt .cqs-attempt{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,330px);gap:18px;max-width:1500px;margin:0 auto;padding:18px}
.cqs-screen-attempt .cqs-attempt>section{min-width:0;padding:22px;border:1px solid var(--fq-p2-border);border-radius:20px;background:#fff;box-shadow:var(--fq-p2-shadow-2)}
.cqs-screen-attempt .cqs-question-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
.cqs-screen-attempt .cqs-question-head>b{font-size:18px}.cqs-screen-attempt .cqs-timer{display:inline-flex;align-items:center;justify-content:center;min-width:106px;min-height:44px;padding:8px 12px;border:1px solid #cdd9e8;border-radius:12px;background:#fbfcfe;font-size:16px;font-weight:850;font-variant-numeric:tabular-nums}
.cqs-screen-attempt .cqs-progress{height:8px;margin:10px 0 14px;overflow:hidden;border-radius:999px;background:#e9eef5}
.cqs-screen-attempt .cqs-question-tools{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin-bottom:16px}
.cqs-screen-attempt .cqs-section-pill,.cqs-screen-attempt .cqs-palette-toggle{display:inline-flex;align-items:center;min-height:40px;padding:7px 12px;border-radius:999px;font-size:13px;font-weight:750}
.cqs-screen-attempt .cqs-attempt section>h3{font-size:clamp(20px,2vw,26px);line-height:1.35}
.cqs-screen-attempt .cqs-option{display:flex;align-items:flex-start;gap:12px;min-height:58px;margin:9px 0;padding:13px 14px;border:1px solid #dce5ef;border-radius:14px;background:#fff;font-size:15px;line-height:1.45;box-shadow:0 2px 7px rgba(23,32,51,.04)}
.cqs-screen-attempt .cqs-option:hover{border-color:#b8c9e0;background:#fbfdff}.cqs-screen-attempt .cqs-option input{flex:0 0 22px;width:22px;height:22px;margin-top:1px}
.cqs-screen-attempt :where(.cqs-question-media,.cqs-comprehension-passage,.cqs-reference,.cqs-hint,.cqs-math-expression){max-width:100%;margin:12px 0;padding:13px;border:1px solid #e1e8f0;border-radius:13px;background:#fbfcfe;overflow:auto}
.cqs-screen-attempt .cqs-attempt-secondary{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:16px;padding-top:14px;border-top:1px solid #e7edf4}.cqs-screen-attempt .cqs-save-status{margin-left:auto;color:var(--fq-p2-muted);font-size:12px}
.cqs-screen-attempt .cqs-attempt-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:16px}.cqs-screen-attempt .cqs-attempt-nav-button{min-height:48px}
.cqs-screen-attempt [data-cqs-palette-sheet]{padding:18px;border:1px solid var(--fq-p2-border);border-radius:18px;background:#fff;box-shadow:var(--fq-p2-shadow-2)}
.cqs-screen-attempt .cqs-palette{display:grid;grid-template-columns:repeat(5,minmax(42px,1fr));gap:8px}.cqs-screen-attempt .cqs-palette :where(a,span){display:grid;min-height:44px;place-items:center;border-radius:10px}

/* Transition / sponsored / submit. */
.cqs-public :where(.cqs-sponsored-card,.cqs-start-card){width:min(100%,820px);margin-inline:auto}
.cqs-public .cqs-sponsored-card{text-align:center}.cqs-public .cqs-sponsored-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.cqs-public .cqs-ad-media{max-height:min(52vh,440px);margin:14px auto;border-radius:16px;overflow:hidden}.cqs-public .cqs-ad-media :where(img,video){display:block;max-height:min(52vh,440px);margin:auto;object-fit:contain}

/* Result and review. */
.cqs-screen-result .cqs-result-page{display:grid;gap:18px;max-width:1120px;margin:auto}.cqs-screen-result .cqs-result-card{min-height:260px;text-align:center}.cqs-screen-result .cqs-result-heading{display:flex;flex-direction:column;align-items:center}.cqs-screen-result .cqs-score-ring{margin:12px auto}
.cqs-screen-result .cqs-result-grid,.cqs-screen-result .cqs-attempt-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cqs-screen-result :where(.cqs-result-grid,.cqs-attempt-stats)>*{min-height:92px;padding:15px;border:1px solid #e1e8f0;border-radius:14px;background:#fbfcfe}
.cqs-screen-answer-review .cqs-answer-review{display:grid;gap:14px;max-width:1120px;margin:auto}.cqs-screen-answer-review .cqs-review-item{padding:17px;border:1px solid var(--fq-p2-border);border-radius:16px;background:#fff;box-shadow:var(--fq-p2-shadow-1)}
.cqs-screen-answer-review .cqs-review-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.cqs-screen-answer-review :where(.cqs-explanation,.cqs-reference){margin-top:12px;padding:12px;border-radius:12px;background:#f8fafc}

/* History and responsive tables. */
.cqs-screen-attempt-history .cqs-summary-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}
.cqs-screen-attempt-history .cqs-summary-strip>div{display:grid;grid-template-columns:44px minmax(0,1fr);grid-template-rows:auto auto;gap:2px 12px;min-height:96px;padding:15px;border:1px solid var(--fq-p2-border);border-radius:16px;background:#fff;box-shadow:var(--fq-p2-shadow-2)}
.cqs-screen-attempt-history .cqs-summary-strip .cqs-summary-icon{grid-row:1/3}.cqs-screen-attempt-history .cqs-set-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cqs-screen-attempt-history .cqs-set-summary-grid>div{min-height:96px;padding:13px;border:1px solid #e3eaf2;border-radius:14px;background:#fbfcfe}
.cqs-public .cqs-table-scroll{border-radius:14px;border:1px solid #e1e8f0;background:#fff}.cqs-public .cqs-public-table{width:100%;border-collapse:collapse}.cqs-public .cqs-public-table :where(th,td){padding:12px 11px;border-bottom:1px solid #e7edf4;text-align:left}.cqs-public .cqs-public-table th{background:#f7f9fc;color:#4b5b72;font-size:12px;font-weight:800}.cqs-public .cqs-public-table tbody tr:last-child td{border-bottom:0}

/* Subject analytics. */
.cqs-screen-subject-analytics .cqs-subject-analytics-summary{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin-bottom:18px!important}.cqs-screen-subject-analytics .cqs-subject-analytics-summary>article{min-height:106px!important;padding:16px!important;border:1px solid var(--fq-p2-border)!important;border-radius:17px!important;background:#fff!important;box-shadow:var(--fq-p2-shadow-2)!important}
.cqs-screen-subject-analytics .cqs-subject-analytics-list{display:grid;gap:11px;padding:16px}.cqs-screen-subject-analytics .cqs-subject-analytics-row{display:grid!important;grid-template-columns:44px minmax(210px,1fr) minmax(300px,.8fr) auto!important;gap:14px!important;align-items:center!important;padding:15px!important;border-radius:14px!important;box-shadow:0 2px 7px rgba(23,32,51,.04)}
.cqs-screen-subject-analytics .cqs-subject-analytics-status{font-size:12px!important}.cqs-screen-subject-analytics .cqs-subject-analytics-main p{font-size:13px!important}.cqs-screen-subject-analytics .cqs-subject-analytics-row dt{font-size:12px!important}.cqs-screen-subject-analytics .cqs-subject-analytics-row dd{font-size:14px!important}

/* Leaderboard. */
.cqs-screen-leaderboard .cqs-league-hero-v31{padding:20px;border:1px solid var(--fq-p2-border);border-radius:20px;background:#fff;box-shadow:var(--fq-p2-shadow-3)}
.cqs-screen-leaderboard .cqs-league-kpis-v31{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.cqs-screen-leaderboard .cqs-league-kpis-v31>*{min-height:88px;padding:13px;border:1px solid #e2e9f1;border-radius:14px;background:#fbfcfe}
.cqs-screen-leaderboard .cqs-leaderboard-grid-v31{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.65fr);gap:18px;align-items:start;margin-top:18px}.cqs-screen-leaderboard .cqs-leaderboard-aside-v31{display:grid;gap:14px}
.cqs-screen-leaderboard :where(.cqs-ranking-panel,.cqs-performance-card-v31,.cqs-quick-stats-v31){overflow:hidden}

/* Profile workspace. */
.cqs-screen-profile-progress .cqs-page-body{max-width:1500px}.cqs-screen-profile-progress :where(.cqs-account-shell-v33,.cqs-profile-form-card-v33,.cqs-location-card-v33,.cqs-performance-card-v31){border-radius:18px!important;box-shadow:var(--fq-p2-shadow-2)!important}
.cqs-screen-profile-progress .cqs-profile-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.cqs-screen-profile-progress .cqs-profile-fieldset{min-width:0;padding:16px;border:1px solid #e2e9f1;border-radius:16px;background:#fff}.cqs-screen-profile-progress .cqs-profile-settings{display:grid;gap:10px}.cqs-screen-profile-progress .cqs-setting-row{min-height:52px;padding:10px 12px;border:1px solid #e4eaf2;border-radius:12px;background:#fbfcfe}

/* Coins, referrals, share and Pro student surfaces. */
.cqs-screen-coin-tank :where(.cqs-coins-overview-v29,.cqs-coin-bottom-v29,.cqs-coins-bottom-v29),.cqs-screen-share-earn :where(.cqs-referral-stats-v29,.cqs-share-bottom-v29){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.cqs-screen-coin-tank :where(.cqs-balance-card-v29,.cqs-level-card-v29,.cqs-about-rewards-v29,.cqs-coin-activity-v29,.cqs-coin-breakdown-v29,.cqs-how-coins-v29,.cqs-earn-more-v29),.cqs-screen-share-earn :where(.cqs-referral-hero-v29,.cqs-share-library-v29,.cqs-referral-stats-v29>*,.cqs-share-bottom-v29>*){min-height:120px;padding:18px;border:1px solid var(--fq-p2-border);border-radius:18px;background:#fff;box-shadow:var(--fq-p2-shadow-2)}
.cqs-screen-share-earn .cqs-referral-copy-v29{display:flex;gap:9px}.cqs-screen-share-earn .cqs-referral-copy-v29 input{min-width:0;flex:1}

/* Desktop/card colour language: solid accents only, no gradients. */
.cqs-public :where(.tone-blue,.tone-violet,.tone-green,.tone-amber,.tone-rose){position:relative}
.cqs-public :where(.tone-blue,.tone-violet,.tone-green,.tone-amber,.tone-rose)::before{content:'';position:absolute;top:-1px;right:16px;left:16px;height:3px;border-radius:0 0 6px 6px;background:var(--fq-p3-blue)}
.cqs-public .tone-violet::before{background:var(--fq-p3-violet)}.cqs-public .tone-green::before{background:var(--fq-p3-green)}.cqs-public .tone-amber::before{background:var(--fq-p3-amber)}.cqs-public .tone-rose::before{background:var(--fq-p3-rose)}

@media (max-width:1180px){
  .cqs-screen-home .cqs-home-panels-v347{grid-template-columns:repeat(2,minmax(0,1fr))!important}.cqs-screen-home .cqs-home-subjects-v347{grid-column:1/-1}
  .cqs-screen-quiz-library .cqs-library-tools,.cqs-screen-home .cqs-library-tools{grid-template-columns:minmax(220px,1fr) repeat(2,minmax(150px,.6fr));}.cqs-screen-quiz-library .cqs-library-tools>*:last-child,.cqs-screen-home .cqs-library-tools>*:last-child{grid-column:auto}
  .cqs-screen-subject-analytics .cqs-subject-analytics-row{grid-template-columns:44px minmax(0,1fr) auto!important}.cqs-screen-subject-analytics .cqs-subject-analytics-row dl{grid-column:2/4}
}
@media (max-width:900px){
  .cqs-public .cqs-page-body{padding:18px}
  .cqs-public :where(.cqs-details-layout,.cqs-start-details,.cqs-screen-leaderboard .cqs-leaderboard-grid-v31){grid-template-columns:1fr}
  .cqs-screen-home .cqs-home-kpis-v347,.cqs-public .cqs-quiz-library,.cqs-screen-attempt-history .cqs-set-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .cqs-screen-result .cqs-result-grid,.cqs-screen-result .cqs-attempt-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cqs-screen-attempt-history .cqs-summary-strip,.cqs-screen-subject-analytics .cqs-subject-analytics-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .cqs-screen-attempt .cqs-attempt{grid-template-columns:1fr}.cqs-screen-attempt [data-cqs-palette-sheet]{order:2}
  .cqs-screen-coin-tank :where(.cqs-coins-overview-v29,.cqs-coin-bottom-v29,.cqs-coins-bottom-v29),.cqs-screen-share-earn :where(.cqs-referral-stats-v29,.cqs-share-bottom-v29){grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:767px){
  html:has(body.cqs-student-portal-page),body.cqs-student-portal-page,body.cqs-student-portal-page #cqs-student-portal{width:100%!important;max-width:none!important;min-height:100dvh!important;margin:0!important;padding:0!important;background:var(--fq-p2-page)!important}
  .cqs-public{min-height:100dvh}.cqs-public .cqs-student-main{width:100%;min-height:100dvh}.cqs-public .cqs-page-body{width:100%;max-width:none;padding:14px 12px calc(82px + env(safe-area-inset-bottom))}
  .cqs-public .cqs-view-intro,.cqs-screen-home .cqs-home-head-v347,.cqs-screen-quiz-library .cqs-library-head{align-items:stretch;flex-direction:column}.cqs-public .cqs-view-intro .cqs-public-btn{width:100%}
  .cqs-public h1{font-size:24px}.cqs-public h2{font-size:20px}.cqs-public h3{font-size:17px}.cqs-public :where(p,li,label,td,th,input,select,textarea,button,a){font-size:14px}.cqs-public :where(small,[class*="meta"],[class*="helper"],[class*="caption"]){font-size:12px!important}
  .cqs-screen-home .cqs-home-kpis-v347,.cqs-screen-home .cqs-home-panels-v347,.cqs-public .cqs-quiz-library,.cqs-screen-attempt-history .cqs-set-summary-grid,.cqs-screen-result .cqs-result-grid,.cqs-screen-result .cqs-attempt-stats,.cqs-screen-attempt-history .cqs-summary-strip,.cqs-screen-subject-analytics .cqs-subject-analytics-summary,.cqs-screen-coin-tank :where(.cqs-coins-overview-v29,.cqs-coin-bottom-v29,.cqs-coins-bottom-v29),.cqs-screen-share-earn :where(.cqs-referral-stats-v29,.cqs-share-bottom-v29){grid-template-columns:1fr!important}
  .cqs-screen-home .cqs-home-subjects-v347{grid-column:auto}.cqs-screen-home :where(.cqs-home-readiness-v347,.cqs-home-recent-v347,.cqs-home-subjects-v347){min-height:0;padding:16px!important}
  .cqs-screen-quiz-library .cqs-library-tools,.cqs-screen-home .cqs-library-tools{display:grid;grid-template-columns:1fr 1fr;gap:9px}.cqs-screen-quiz-library .cqs-library-tools .cqs-quiz-search,.cqs-screen-home .cqs-library-tools .cqs-quiz-search{grid-column:1/-1}.cqs-public .cqs-filter-controls{grid-template-columns:1fr 1fr}
  .cqs-public .cqs-quiz-tile{min-height:220px!important;padding:16px!important}.cqs-public .cqs-list-meta{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cqs-public :where(.cqs-details-layout,.cqs-start-details){display:block}.cqs-public :where(.cqs-details-hero,.cqs-instructions-card){margin-bottom:12px;min-height:0}.cqs-public .cqs-details-hero{padding:18px}
  .cqs-public.cqs-auth-view .cqs-page-body,.cqs-screen-login .cqs-page-body,.cqs-screen-register .cqs-page-body{min-height:calc(100dvh - 58px);padding:12px}.cqs-public .cqs-auth-card-v28{padding:20px 16px!important;border-radius:18px!important}

  /* Attempt owns the whole mobile viewport; no page chrome gaps. */
  .cqs-screen-attempt .cqs-page-body{padding:0 0 calc(72px + env(safe-area-inset-bottom))!important;background:#fff}
  .cqs-screen-attempt .cqs-attempt{display:block;width:100%;max-width:none;margin:0;padding:0;background:#fff}
  .cqs-screen-attempt .cqs-attempt>section{min-height:calc(100dvh - 60px);padding:0 12px 20px;border:0;border-radius:0;box-shadow:none}
  .cqs-screen-attempt .cqs-question-head{position:sticky;z-index:32;top:60px;min-height:62px;margin:0 -12px 12px;padding:9px 12px;border-bottom:1px solid #e1e8f0;background:#fff;box-shadow:0 5px 14px rgba(23,32,51,.06)}
  .admin-bar .cqs-screen-attempt .cqs-question-head{top:106px}.cqs-screen-attempt .cqs-question-head>b{font-size:17px}.cqs-screen-attempt .cqs-timer{min-width:94px;min-height:42px;font-size:15px}
  .cqs-screen-attempt .cqs-attempt section>h3{font-size:clamp(20px,5.7vw,24px);line-height:1.34}.cqs-screen-attempt .cqs-option{min-height:58px;padding:12px;font-size:16px}.cqs-screen-attempt :where(input[type="text"],input[type="number"],textarea,select){font-size:16px!important}
  .cqs-screen-attempt .cqs-attempt-secondary{display:grid;grid-template-columns:1fr auto;gap:8px}.cqs-screen-attempt .cqs-save-status{grid-column:1/-1;margin:0;text-align:center}
  .cqs-screen-attempt .cqs-attempt-nav{position:fixed;z-index:1100;right:0;bottom:0;left:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0;padding:8px 8px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #dce4ee;background:#fff;box-shadow:0 -10px 28px rgba(23,32,51,.13)}.cqs-screen-attempt .cqs-attempt-nav-button{min-height:48px;padding:7px 5px;font-size:13px}
  .cqs-screen-attempt [data-cqs-palette-sheet]{position:fixed;z-index:1202;right:0;bottom:0;left:0;width:100%;max-width:none;max-height:min(58dvh,480px);margin:0;padding:18px 14px calc(18px + env(safe-area-inset-bottom));overflow:auto;border:0;border-radius:20px 20px 0 0;box-shadow:0 -18px 48px rgba(23,32,51,.22)}
  .cqs-screen-attempt .cqs-palette{grid-template-columns:repeat(5,minmax(0,1fr))}.cqs-screen-attempt .cqs-palette :where(a,span){min-height:46px}

  /* Mobile tables become readable stacked records; no sideways page scroll. */
  .cqs-public .cqs-responsive-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .cqs-public .cqs-responsive-table,.cqs-public .cqs-responsive-table tbody,.cqs-public .cqs-responsive-table tr,.cqs-public .cqs-responsive-table td{display:block;width:100%}
  .cqs-public .cqs-responsive-table tr{margin:0;padding:12px;border-bottom:1px solid #e2e9f1}.cqs-public .cqs-responsive-table tr:last-child{border-bottom:0}.cqs-public .cqs-responsive-table td{display:grid;grid-template-columns:minmax(92px,.42fr) minmax(0,1fr);gap:10px;padding:7px 0;border:0!important;text-align:right}.cqs-public .cqs-responsive-table td::before{content:attr(data-label);color:#667085;font-size:12px;font-weight:750;text-align:left}.cqs-public .cqs-responsive-table td>*{justify-self:end;max-width:100%}
  .cqs-screen-subject-analytics .cqs-subject-analytics-row{grid-template-columns:44px minmax(0,1fr)!important;gap:11px!important}.cqs-screen-subject-analytics .cqs-subject-analytics-row dl,.cqs-screen-subject-analytics .cqs-subject-analytics-row>.cqs-public-btn{grid-column:1/-1!important}.cqs-screen-subject-analytics .cqs-subject-analytics-row dl{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.cqs-screen-subject-analytics .cqs-subject-analytics-row>.cqs-public-btn{width:100%}
  .cqs-screen-leaderboard .cqs-leaderboard-grid-v31{grid-template-columns:1fr}.cqs-screen-leaderboard .cqs-league-kpis-v31{grid-template-columns:1fr 1fr}.cqs-screen-leaderboard .cqs-league-kpis-v31>*:last-child{grid-column:1/-1}
  .cqs-screen-profile-progress .cqs-profile-form-grid{grid-template-columns:1fr}.cqs-screen-profile-progress .cqs-profile-fieldset{padding:13px}
  .cqs-screen-share-earn .cqs-referral-copy-v29{flex-direction:column}.cqs-screen-share-earn .cqs-referral-copy-v29 .cqs-public-btn{width:100%}
}
@media (max-width:420px){
  .cqs-public .cqs-page-body{padding-inline:10px}.cqs-screen-quiz-library .cqs-library-tools,.cqs-screen-home .cqs-library-tools,.cqs-public .cqs-filter-controls{grid-template-columns:1fr}.cqs-screen-quiz-library .cqs-library-tools .cqs-quiz-search,.cqs-screen-home .cqs-library-tools .cqs-quiz-search{grid-column:auto}
  .cqs-public .cqs-buttons{display:grid;grid-template-columns:1fr;width:100%}.cqs-public .cqs-buttons>*{width:100%}
  .cqs-screen-attempt .cqs-attempt>section{padding-right:10px;padding-left:10px}.cqs-screen-attempt .cqs-question-head{margin-right:-10px;margin-left:-10px;padding-right:10px;padding-left:10px}.cqs-screen-attempt .cqs-attempt-nav{gap:5px;padding-right:6px;padding-left:6px}.cqs-screen-attempt .cqs-attempt-nav-button{font-size:12px}
  .cqs-screen-leaderboard .cqs-league-kpis-v31{grid-template-columns:1fr}.cqs-screen-leaderboard .cqs-league-kpis-v31>*:last-child{grid-column:auto}
  .cqs-public .cqs-responsive-table td{grid-template-columns:84px minmax(0,1fr)}
}
@media (prefers-reduced-motion:reduce){.cqs-public :where(.cqs-public-btn,.cqs-public-card,.cqs-quiz-tile){transition:none!important;transform:none!important}}
