/**
 * ============================================================================
 * IMPÉRIO DAS HUMANAS — FOLHA DE ESTILO: enem.css
 * ESTILOS DO ACERVO E LEITOR DE QUESTÕES ORIGINAIS DO ENEM (PAGINAÇÃO, FILTROS E GABARITO)
 * ============================================================================
 */
.eb-root,.eb-reader{animation:eb-rise .35s ease-out}.eb-subnav{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 22px}.eb-subnav a{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid #63417a;border-radius:12px;color:#ded2e9;text-decoration:none;font-size:13px}.eb-subnav a:hover,.eb-subnav a:focus-visible{color:#ffca42;border-color:#ffca42}.eb-hero{display:flex;justify-content:space-between;gap:24px;padding:32px;border:1px solid #70428b;border-radius:24px;background:radial-gradient(ellipse at 100% 0,#57217d77,transparent 65%),#191021;margin-bottom:20px}.eb-hero h1{font-size:clamp(24px,3.6vw,40px);line-height:1.16;margin:12px 0 16px;max-width:760px}.eb-hero p{font-size:15px;color:#bdacca;line-height:1.7;max-width:780px;margin:0}.eb-hero-count{display:flex;flex-direction:column;justify-content:center;align-items:flex-end;white-space:nowrap;font-size:12px;color:#c6b1d4}.eb-hero-count strong{font-size:45px;line-height:1.2;color:#ffca42;letter-spacing:-2px}.eb-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding:22px;background:#191122;border:1px solid #493157;border-radius:20px}.eb-filters>label{display:grid;gap:8px;font-size:12px;font-weight:650;color:#cdbbdb}.eb-filters select,.eb-filters input[type=search]{font:inherit;font-size:14px;width:100%;min-width:0;min-height:46px;border:1px solid #705382;border-radius:10px;padding:10px 12px;color:#fff;background:#100a18;color-scheme:dark}.eb-filters select:focus-visible,.eb-filters input:focus-visible{outline:2px solid #ffca42;outline-offset:2px}.eb-filters .eb-search{grid-column:span 2}.eb-filters>.btn{align-self:end;min-height:46px}.eb-filter-flags{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px 22px;color:#bda9cd;font-size:12px}.eb-filter-flags label{display:flex;align-items:center;gap:8px}.eb-filter-flags input{accent-color:#ffca42;width:16px;height:16px}.eb-filter-flags a{color:#ffca42}.eb-source-note{color:#bba6cb;font-size:12px;line-height:1.7}.eb-results-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:32px 0 18px}.eb-results-heading h2{font-size:20px;margin:0}.eb-results-heading>span{font-size:12px;color:#bca6cd}.eb-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.eb-card{padding:22px;display:flex;flex-direction:column;align-items:flex-start;border:1px solid #563468;border-radius:19px;background:linear-gradient(145deg,#24132e,#160f20);transition:transform .2s,border-color .2s,box-shadow .2s}.eb-card:hover{transform:translateY(-3px);border-color:#a600ff;box-shadow:0 9px 24px #a600ff11}.eb-card-tags{display:flex;gap:7px;flex-wrap:wrap}.eb-card-tags span{padding:5px 9px;border-radius:7px;border:1px solid #68467b;color:#ffca42;font-weight:700;font-size:12px}.eb-card h3{font-size:17px;line-height:1.4;margin:17px 0 13px;overflow-wrap:anywhere}.eb-meta{display:grid;gap:6px;font-size:12px;color:#c0aecf;line-height:1.5}.eb-meta>span{display:block}.eb-id{font-size:10px;color:#a78cb9;line-height:1.7;margin:15px 0 18px}.eb-card .btn{margin-top:auto;width:100%;justify-content:center;font-size:11px;padding:13px 8px}.eb-pagination{display:flex;justify-content:center;align-items:center;gap:20px;margin:32px 0;font-size:12px;color:#c7afd5}.eb-empty{padding:40px 24px;border:1px dashed #775286;border-radius:20px;grid-column:1/-1}.eb-empty p{color:#c6b1d4;line-height:1.7}.eb-empty .btn{margin:12px 12px 0 0}.eb-loading{padding:70px 20px;display:flex;align-items:center;justify-content:center;gap:16px;color:#c9b1d8}.eb-reader{max-width:1050px;margin:auto}.eb-reader .eb-meta{display:flex;flex-wrap:wrap;gap:10px 20px}.eb-reader-title{font-size:clamp(24px,3.5vw,38px);line-height:1.2;margin:12px 0 18px}.eb-reader-header{margin-bottom:24px}.eb-reader-header .eb-id{font-size:12px}.eb-reader-nav{display:flex;justify-content:space-between;gap:12px;margin-bottom:22px}.eb-reader-nav a{display:inline-flex;align-items:center;gap:8px;color:#d6bfdf;text-decoration:none;font-size:13px}.eb-reader-nav a:first-child svg{transform:rotate(180deg)}.eb-reader-nav a:hover{color:#ffca42}.eb-reader-nav .btn{font-size:11px}.eb-original{display:grid;gap:16px}.eb-paper{background:#fff;border:1px solid #ddd;border-radius:10px;padding:12px;margin:0;overflow:auto;overscroll-behavior-x:contain;scrollbar-color:#9b6fba #f0e6f6}.eb-paper img{display:block;width:100%;height:auto;max-width:100%;margin:auto;object-fit:contain}.eb-reader .eb-paper img{min-width:0}.eb-reader .eb-paper+figure{margin-top:16px}.eb-reader .eb-paper figcaption{font-size:12px}.eb-reader .eb-source-note{margin:12px 0}.eb-reader .eb-analysis,.eb-key-note{padding:26px;border:1px solid #57346a;border-radius:20px;background:#1b1125;margin-top:24px}.eb-analysis h2{font-size:24px;line-height:1.3;margin:13px 0}.eb-analysis h3{font-size:16px;margin:24px 0 8px;color:#ffca42}.eb-analysis p,.eb-analysis blockquote{font-size:15px;line-height:1.8;color:#d0bfdc}.eb-analysis blockquote{margin:16px 0;border-left:3px solid #a600ff;padding:5px 20px}.eb-descriptor{padding-bottom:18px;border-bottom:1px solid #4d325d}.eb-answer,.eb-text,.eb-shared{margin:20px 0;border:1px solid #634277;border-radius:16px;padding:20px;background:#201329}.eb-answer summary,.eb-text summary,.eb-shared summary{cursor:pointer;font-weight:650;line-height:1.5}.eb-answer summary{color:#ffca42;display:flex;align-items:center;gap:10px}.eb-answer>strong{display:block;font-size:27px;margin:24px 0 12px;color:#ffca42}.eb-answer p{line-height:1.8}.eb-text pre{white-space:pre-wrap;font-family:inherit;font-size:14px;line-height:1.8;color:#d6c9df}.eb-shared .eb-paper{margin-top:18px}.eb-shared{background:#160f1d}.eb-key-note h2{font-size:18px;margin:0 0 12px}.eb-key-note p{font-size:13px;line-height:1.7;color:#bda7cc}.eb-return{margin-top:24px}.eb-reader .eb-reader-header>.tiny-label{color:#ffca42}.eb-reader .eb-image-error{padding:16px;border:1px solid #ff9f8f;border-radius:12px;color:#ffbcb2}.eb-reader .eb-image-error[hidden]{display:none}.eb-reader .eb-reader-header .eb-id{margin-bottom:10px}.eb-reader .eb-original:focus{outline:none}.eb-reader .eb-reader-header{padding:24px;background:linear-gradient(135deg,#331540,#1c1027);border-radius:20px;border:1px solid #754089}.eb-reader .eb-reader-header h1{margin:12px 0;font-size:clamp(25px,3vw,37px);line-height:1.25}.eb-reader .eb-reader-header .eb-meta span{font-size:12px}.eb-reader .eb-reader-header .eb-meta span::after{content:' ';}.eb-reader .eb-reader-header .eb-id{font-size:11px}.eb-reader .eb-reader-header+.eb-reader-toolbar{margin-top:10px}.eb-reader .eb-reader-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:18px 0}.eb-reader .eb-reader-toolbar>div{display:flex;align-items:center;gap:12px}.eb-reader .eb-reader-toolbar button{width:42px;height:42px;background:#281535;border:1px solid #79518d;color:#ffca42;border-radius:10px;font-size:24px;cursor:pointer}.eb-reader .eb-reader-toolbar span{font-size:12px;color:#c6b0d6}.eb-raw{display:block;color:#ffca42;margin-top:8px;font-size:12px;text-decoration:underline}.eb-original-label{font-size:12px;color:#bda9cf}.rx-year-chip.eb-year-link{text-decoration:none;transition:border-color .2s,background .2s}.rx-year-chip.eb-year-link:hover,.rx-year-chip.eb-year-link:focus-visible{border-color:#ffca42;background:#39213f;outline-offset:3px}.eb-rx-link{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:22px 0 0}.eb-rx-link .btn{font-size:12px}.eb-rx-banner{margin:18px 0;padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #68417f;border-radius:15px;background:#281436}.eb-rx-banner p{margin:0;font-size:13px;line-height:1.7;color:#c8b1d7}.eb-rx-banner strong{color:#fff}.eb-rx-banner .btn{white-space:nowrap;font-size:11px}.eb-view-original{display:inline-flex;gap:6px;align-items:center;padding:8px 0 2px;color:#ffca42;font-size:12px}.eb-hero .tiny-label{color:#ffca42}
@keyframes eb-rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(max-width:1100px){.eb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.eb-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.eb-filters .eb-search{grid-column:span 1}.eb-hero{padding:24px}.eb-hero-count{white-space:normal;min-width:115px}}
@media(max-width:600px){.eb-grid{grid-template-columns:1fr}.eb-hero{display:block;padding:22px}.eb-hero-count{margin-top:20px;align-items:flex-start}.eb-hero-count strong{font-size:38px}.eb-filters{gap:13px;padding:18px 14px}.eb-filters label{font-size:11px}.eb-filters select,.eb-filters input[type=search]{font-size:13px;padding:10px 8px}.eb-filters .eb-search,.eb-filters>.btn{grid-column:1/-1}.eb-filter-flags{gap:12px}.eb-card{padding:20px}.eb-results-heading{align-items:flex-start;flex-direction:column}.eb-paper{padding:5px}.eb-analysis,.eb-reader .eb-analysis,.eb-key-note{padding:20px 17px}.eb-shared{padding:14px 8px}.eb-reader .eb-reader-header{padding:21px 17px}.eb-pagination{gap:12px}.eb-pagination .btn{padding:12px;font-size:11px}.eb-rx-banner{align-items:flex-start;flex-direction:column}.eb-rx-banner .btn{width:100%;justify-content:center}.eb-reader-nav{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.eb-root,.eb-reader{animation:none}.eb-card,.rx-year-chip.eb-year-link{transition:none}.eb-card:hover{transform:none}}
html[data-imperio-motion=off] .eb-root,html[data-imperio-motion=off] .eb-reader{animation:none}html[data-imperio-motion=off] .eb-card{transition:none;transform:none}

.eb-paper figcaption a{color:#57228a;text-decoration:underline;font-size:12px}
.eb-exercise{margin:24px 0;padding:clamp(15px,4vw,28px);background:#21132d;border:1px solid #674579;border-radius:18px}.eb-choices{display:grid;gap:10px}.eb-choice{cursor:pointer;display:flex;align-items:center;gap:12px;min-height:54px;text-align:left;color:#fff;background:#261933;border:1px solid #805a92;border-radius:12px;padding:12px;font:inherit}.eb-choice-letter{font-weight:bold}.eb-choice-status{margin-left:auto}.eb-choice:disabled{opacity:1}.eb-choice.correct{background:#123b2c;border-color:#39d98a;color:#bcfbd8}.eb-choice.wrong{background:#48212f;border-color:#ff6c85;color:#ffd0d9}.eb-choice.pending{border-color:#ffc466}.eb-choice:focus-visible{outline:3px solid #ffca42}.eb-choice-feedback{font-weight:600}.eb-choice-feedback.is-correct{color:#83efb0}.eb-choice-feedback.is-wrong{color:#ffa4b7}

.eb-stimulus{border:1px solid #543461;border-radius:16px;overflow:hidden;background:#181020;margin:18px 0}.eb-stimulus h2{margin:0;padding:12px 20px;background:#2a1b36;font-size:.83rem;letter-spacing:.13em;text-transform:uppercase}.eb-stimulus p{padding:0 20px;font-size:1.05rem;line-height:1.65;overflow-wrap:anywhere}.eb-stimulus .eb-citation{font-size:.85rem;color:#c6b0d0}.eb-command{font-weight:700;line-height:1.55;font-size:1.12rem;margin:24px 0 12px}.eb-choice-figure{display:block;max-width:100%;height:auto}

/* Reading typography shared by the ENEM bank and authored questions. */
.eb-reader .eb-stimulus p:not(.eb-citation),
.question-stimulus blockquote,
.question-text,
.eb-reader .eb-command,
.question-command {
  color: #ede5f3;
  font-weight: 700;
  text-align: justify;
  text-align-last: start;
  hyphens: auto;
  overflow-wrap: break-word;
}
.eb-reader .eb-stimulus .eb-citation,
.question-stimulus .question-reference,
.question-stimulus figcaption {
  color: #d9cde1;
  font-weight: 400;
  text-align: right;
  text-align-last: right;
  line-height: 1.5;
  margin-block: .75rem 1rem;
  overflow-wrap: anywhere;
}
.eb-stimulus h2 + p { margin-top: 1rem; }

.eb-stepper{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.8rem;padding:1rem clamp(.85rem,3vw,1.5rem);border:1px solid #67466e;border-radius:1rem;background:linear-gradient(115deg,#302039,#211729);color:#f1d99b}
.eb-stepper>div,.question-actions{display:flex;flex-wrap:wrap;gap:.6rem}
.eb-stepper .btn,.question-actions .btn{min-height:44px}
.eb-stepper button:disabled,.question-actions button:disabled{opacity:.45;cursor:default}
@media(max-width:550px){.eb-stepper>div{width:100%;display:grid;grid-template-columns:1fr 1fr}.eb-stepper .btn{padding-inline:.45rem;text-align:center}}
@media(prefers-reduced-motion:no-preference){.eb-stepper a,.eb-card{transition:transform .18s ease,border-color .18s ease}.eb-stepper a:active{transform:scale(.97)}.eb-card:focus-within{border-color:#ffca42}}
