/* Scoped first-run pages; reuse existing site colors and controls. */
body[data-cogo-setup] #main{display:block!important;overflow-y:auto!important;overflow-x:hidden!important}
body[data-cogo-setup] #main>.page{max-width:1240px;margin:0 auto;min-height:100%;height:auto!important;display:block!important;padding-bottom:30px}
.cef-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:6px 0 24px}.cef-eyebrow{font-size:11px;font-weight:800;letter-spacing:1.6px;color:#6552d9;margin:0 0 10px}.cef-header h1{font-size:clamp(23px,3vw,34px);line-height:1.35;letter-spacing:-1.2px;margin:0 0 10px}.cef-header p:not(.cef-eyebrow),.cef-subjects>p,.cef-actions p{font-size:14px;line-height:1.7;color:var(--muted,#657084)}.cef-header>button{white-space:nowrap;min-height:44px}.cef-steps{list-style:none;display:flex;gap:24px;padding:0;margin:0 0 28px;color:var(--muted,#637086);font-size:13px;font-weight:700}.cef-steps li{display:flex;align-items:center;gap:9px}.cef-steps span{border-radius:50%;width:28px;height:28px;display:grid;place-items:center;background:var(--line,#e9e8f4)}.cef-steps [aria-current]{color:#6250d4}.cef-steps [aria-current] span{background:#6552d9;color:white}.cef-actions{display:flex;justify-content:space-between;align-items:center;gap:16px;position:sticky;bottom:0;background:var(--card,#fff);padding:16px 20px;border:1px solid var(--line,#e5e5ee);border-radius:18px;margin-top:22px;box-shadow:0 -8px 30px #24233b05;z-index:2}.cef-actions button{min-height:48px}.cef-learning-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:24px;align-items:start}.cef-grade,.cef-subjects{background:var(--card,#fff);border:1px solid var(--line,#e8e6f0);border-radius:24px;overflow:hidden}.cef-subjects{padding:28px}.cef-subjects h2{font-size:21px;line-height:1.45;letter-spacing:-.6px;margin:0 0 10px}.cef-subjects [role=group]{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:24px 0}.cef-subjects [data-cef-subject]{display:flex;align-items:center;gap:10px;min-width:0;min-height:64px;border:1px solid var(--line,#e6e5ee);border-radius:14px;padding:12px;background:var(--card,#fff);color:var(--text,#25304b);font-weight:700;font-size:14px;text-align:left;cursor:pointer}.cef-subjects [data-cef-subject]>span{color:#7461de}.cef-subjects [data-cef-subject] svg{width:20px;height:20px}.cef-subjects [data-cef-subject]>b{margin-left:auto;color:#857898}.cef-subjects [data-cef-subject][aria-pressed=true]{border:2px solid #7660e4;padding:11px;background:#7660e40d}.cef-subjects>.btn{min-height:48px;margin-top:10px}.cef-ready{min-height:24px;font-size:12px!important}.cef-resume{display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--card,#fff);border:1px solid var(--line,#e3def2);padding:18px 22px;border-radius:18px;margin-bottom:20px}.cef-resume p{margin:4px 0 0;color:var(--muted,#6c7381);font-size:13px}
body[data-cogo-setup=avatar] .closet-layout6,body[data-cogo-setup=avatar] .v6-desk{height:auto!important;min-height:520px}body[data-cogo-setup=avatar] #closetViewport{min-height:320px}
#cogoRewardModalR1[data-cef-embedded]{position:static!important;inset:auto!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;overflow:visible!important}
body[data-cogo-setup=learning] #cogoGradeChoiceR1{inset:0!important;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:none!important;margin:0!important;border-radius:0!important;border:0!important;background:var(--card,#fff)!important;box-shadow:none!important}
body[data-cogo-setup=learning] #cogoGradeChoiceR1::backdrop{background:var(--card,#fff)!important;backdrop-filter:none!important}
@media(max-width:760px){.cef-header{gap:10px;margin-bottom:20px}.cef-header>button{font-size:12px;padding:8px}.cef-header p:not(.cef-eyebrow){font-size:13px}.cef-learning-grid{grid-template-columns:1fr;gap:18px}.cef-subjects{padding:22px}.cef-steps{gap:18px;font-size:12px}.cef-actions{flex-direction:column;align-items:stretch;padding:14px;bottom:0}.cef-actions p{font-size:12px;margin:0}.cef-resume{align-items:stretch;flex-direction:column}.cef-header h1{font-size:23px}.cef-eyebrow{font-size:9px}.cef-subjects [data-cef-subject]{font-size:13px}}
@media(prefers-reduced-motion:no-preference){.cef-header,.cef-learning-grid{animation:cef-enter .22s ease-out}@keyframes cef-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}}
