/* ENEM owns its variables and scope; no dependency on being inside #ccore-notices. */
#ccore-enem.ed-module{--ed-ink:#111827;--ed-muted:#526176;--ed-accent:#2563eb;--ed-line:#dce4f1;--ed-soft:#eef2ff;color:var(--ed-ink);font:400 15px/1.7 system-ui,-apple-system,"Segoe UI",sans-serif;max-width:1160px;margin:0 auto;padding:20px 0 50px;text-align:left}
#ccore-enem *{box-sizing:border-box}#ccore-enem [hidden]{display:none!important}#ccore-enem h2,#ccore-enem h3,#ccore-enem h4,#ccore-enem h5{color:#111827}#ccore-enem p{color:#475569}#ccore-enem a{color:#2563eb;text-decoration:underline}#ccore-enem button{min-height:44px;cursor:pointer;font-family:inherit}#ccore-enem .ed-primary{background:#2563eb;color:#fff;border:1px solid #2563eb;border-radius:11px}#ccore-enem .ed-secondary{background:#fff;color:#3730a3;border:1px solid #c7d2fe;border-radius:11px}#ccore-enem .ed-text{color:#2563eb;background:transparent}#ccore-enem button:disabled{opacity:.55;cursor:wait}#ccore-enem :focus-visible{outline:3px solid #4f46e5;outline-offset:3px}#ccore-enem input,#ccore-enem select,#ccore-enem textarea{background:#fff;color:#111827;border-color:#c7d2fe}#ccore-enem textarea{max-width:100%}#ccore-enem .en-hero{background:radial-gradient(ellipse at 90% 10%,#dce7ff,transparent 65%),#f1f5ff;border:1px solid #dbe4ff;border-radius:24px;padding:32px;margin-bottom:24px}#ccore-enem .en-hero h2{font-size:clamp(27px,3.3vw,38px);max-width:750px}#ccore-enem .en-hero p{max-width:720px;font-size:16px}#ccore-enem .en-badge{display:inline-block;background:#fff;color:#3730a3;border:1px solid #c7d2fe;border-radius:20px;padding:6px 12px;font-size:12px;font-weight:650}#ccore-enem .en-choice{display:flex;align-items:end;gap:16px;margin:22px 0}#ccore-enem .en-choice label{max-width:550px;width:100%;margin:0}#ccore-enem .en-choice button{white-space:nowrap}#ccore-enem .en-tabs{display:flex;gap:5px;padding:6px;background:#eef2ff;border:1px solid #dbe4ff;border-radius:15px;margin:24px 0;flex-wrap:wrap}#ccore-enem .en-tabs button{flex:1;border:0;border-radius:10px;background:transparent;color:#334155;font-weight:650;padding:12px;min-width:110px}#ccore-enem .en-tabs button[aria-current=page]{background:#fff;color:#3730a3;box-shadow:0 2px 7px #11182712}#ccore-enem .en-overview{display:grid;grid-template-columns:1.6fr 1fr;gap:20px;margin-bottom:28px}#ccore-enem .en-next{background:#eef2ff;border:1px solid #c7d2fe;border-radius:20px;padding:28px}#ccore-enem .en-next h3{font-size:25px}#ccore-enem .en-next .ed-caption{margin-top:16px}#ccore-enem .en-progress{background:#fff;border:1px solid #dce4f1;border-radius:20px;padding:26px}#ccore-enem .en-progress>strong{display:block;font-size:38px;line-height:1.2;color:#2563eb;margin:16px 0}#ccore-enem .en-progress>strong small{font-size:17px;color:#526176}#ccore-enem .en-area-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}#ccore-enem button.en-area{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:12px;background:#fff;border:1px solid #dce4f1;border-radius:19px;color:#334155;padding:24px;font-size:14px;line-height:1.6}#ccore-enem button.en-area:hover{border-color:#818cf8;background:#fafbff}#ccore-enem .en-area strong{font-size:19px;color:#111827}#ccore-enem .en-area small{color:#526176}#ccore-enem .en-area-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:#eef2ff;color:#3730a3;font-size:22px;font-weight:750}#ccore-enem .en-area-link{margin-top:auto;color:#2563eb;font-weight:700}#ccore-enem .en-caption{font-size:13px;color:#526176;background:#f8fafc;padding:14px 18px;border-radius:12px}#ccore-enem .en-help{margin:30px 0 0;border:1px solid #dce4f1;border-radius:15px;padding:18px 22px}#ccore-enem .en-help summary{font-size:14px;color:#334155}#ccore-enem .en-practice-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}#ccore-enem .en-recall,#ccore-enem .en-theme{background:#f5f7ff;border:1px solid #dbe4ff;border-radius:16px;padding:24px;margin:22px 0}#ccore-enem .en-writing-plan,#ccore-enem .en-versions{border:1px solid #dce4f1;border-radius:14px;padding:20px;margin:20px 0}#ccore-enem .en-writing-plan[open] summary{margin-bottom:18px}#ccore-enem [data-enem-essay]{font-size:17px;line-height:1.9;padding:22px;min-height:370px}#ccore-enem .en-rubric{border:1px solid #dce4f1;border-radius:14px;padding:20px;margin:24px 0}#ccore-enem .en-rubric legend{font-weight:700;color:#111827}#ccore-enem .en-versions article{padding:18px 0;border-bottom:1px solid #e2e8f0}#ccore-enem .en-versions pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:15px;line-height:1.7;background:#f8fafc;padding:18px;border-radius:10px}#ccore-enem .en-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:25px 0}#ccore-enem .en-metrics article{background:#eef2ff;border:1px solid #dbe4ff;border-radius:16px;padding:22px}#ccore-enem .en-metrics strong{display:block;font-size:33px;color:#3730a3}#ccore-enem .en-metrics span{color:#475569;font-size:13px}#ccore-enem .ed-counters{white-space:normal}#ccore-enem .ed-error{color:#8b3e2d}
@media(max-width:900px){#ccore-enem .en-area-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#ccore-enem .en-overview{grid-template-columns:1fr}#ccore-enem .en-tabs button{font-size:13px}}
@media(max-width:600px){#ccore-enem.ed-module{padding:8px 0 35px}#ccore-enem .en-hero,#ccore-enem .en-next,#ccore-enem .en-progress{padding:22px}#ccore-enem .en-area-grid,#ccore-enem .en-metrics{grid-template-columns:1fr}#ccore-enem .en-choice{align-items:stretch;flex-direction:column}#ccore-enem .en-tabs{gap:3px}#ccore-enem .en-tabs button{min-width:95px;padding:10px 7px}#ccore-enem .en-practice-actions{flex-direction:column;align-items:stretch}#ccore-enem [data-enem-essay]{padding:16px;font-size:16px}#ccore-enem .en-recall,#ccore-enem .en-theme{padding:20px}}

/* beta249: isolate ENEM controls from the app/theme's important button palette. */
#concurser-core-app #ccore-enem button {white-space:normal;overflow-wrap:anywhere;min-width:0;height:auto;text-shadow:none;}
#concurser-core-app #ccore-enem button.en-area,
#concurser-core-app #ccore-enem button.en-area:hover,
#concurser-core-app #ccore-enem button.en-area:focus-visible {
 background:#fff!important;color:#334155!important;border-color:#dce4f1!important;
 width:100%;max-width:100%;height:auto;min-width:0;box-sizing:border-box;
 white-space:normal!important;overflow:visible;text-overflow:clip;opacity:1;
}
#concurser-core-app #ccore-enem button.en-area:hover {background:#f8fafc!important;border-color:#2563eb!important;}
#concurser-core-app #ccore-enem button.en-area:focus-visible {outline:3px solid #2563eb;outline-offset:3px;}
#concurser-core-app #ccore-enem button.en-area > * {
 min-width:0;max-width:100%;white-space:normal!important;overflow:visible;text-overflow:clip;
 overflow-wrap:anywhere;word-break:normal;opacity:1;line-height:1.6;
}
#concurser-core-app #ccore-enem button.en-area > strong {color:#111827!important;-webkit-text-fill-color:#111827;font-weight:750;}
#concurser-core-app #ccore-enem button.en-area > span:not(.en-area-icon):not(.en-area-link) {color:#334155!important;-webkit-text-fill-color:#334155;font-weight:400;}
#concurser-core-app #ccore-enem button.en-area > small {color:#526176!important;-webkit-text-fill-color:#526176;font-size:13px;font-weight:500;}
#concurser-core-app #ccore-enem button.en-area > .en-area-icon {background:#eef2ff;color:#3730a3!important;-webkit-text-fill-color:#3730a3;}
#concurser-core-app #ccore-enem button.en-area > .en-area-link {color:#2563eb!important;-webkit-text-fill-color:#2563eb;font-weight:700;}
#concurser-core-app #ccore-enem .en-tabs button {background:#eef2ff!important;color:#334155!important;border-color:transparent!important;}
#concurser-core-app #ccore-enem .en-tabs button:hover {background:#dce4f1!important;color:#111827!important;}
#concurser-core-app #ccore-enem .en-tabs button[aria-current=page] {background:#fff!important;color:#3730a3!important;border-color:#c7d2fe!important;}
#concurser-core-app #ccore-enem button.ed-primary {background:#2563eb!important;color:#fff!important;border-color:#2563eb!important;}
#concurser-core-app #ccore-enem button.ed-primary:hover {background:#1d4ed8!important;border-color:#1d4ed8!important;}
#concurser-core-app #ccore-enem button.ed-secondary {background:#fff!important;color:#3730a3!important;border-color:#c7d2fe!important;}
#concurser-core-app #ccore-enem button.ed-secondary:hover {background:#eef2ff!important;color:#3730a3!important;}
#concurser-core-app #ccore-enem button.ed-text {background:transparent!important;color:#2563eb!important;border-color:transparent!important;}
#concurser-core-app #ccore-enem button:focus-visible {outline:3px solid #2563eb;outline-offset:3px;}

/* Optional ENEM enrichment, distinct from the included lesson. */
#ccore-enem .ed-enem-deepen{margin:26px 0;padding:24px;border:1px solid #c7d2fe;border-radius:16px;background:#eef2ff;color:#263244}
#ccore-enem .ed-enem-deepen>h4{color:#111827;font-size:21px;line-height:1.35;margin:10px 0}
#ccore-enem .ed-enem-deepen>p{color:#526176;white-space:normal}
#ccore-enem .ed-enrichment-shell{margin-top:22px;padding-top:22px;border-top:1px solid #c7d2fe}
#ccore-enem .ed-enrichment-shell>.ed-secondary{margin-bottom:18px}
#ccore-enem [data-enrichment-room]{min-width:0;background:#fff;border-radius:12px;padding:18px}
@media(max-width:600px){#ccore-enem .ed-enem-deepen{padding:18px}#ccore-enem [data-enrichment-room]{padding:12px}}
