:root {
  --mre-bg: #030812;
  --mre-panel: rgba(4, 10, 20, .92);
  --mre-gold: #ffd86b;
  --mre-gold-strong: #d99a18;
  --mre-blue: #0b1830;
  --mre-white: #ffffff;
  --mre-muted: #b8c3d6;
  --mre-danger: #ff7391;
  --mre-ok: #7df1b1;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--mre-bg);
  color: var(--mre-white);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,216,107,.10), transparent 28%),
    radial-gradient(circle at 16% 36%, rgba(28,87,175,.14), transparent 28%),
    radial-gradient(circle at 82% 24%, rgba(255,216,107,.07), transparent 26%),
    #020712;
}

button, input, textarea { font-family: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }

.mre-page {
  min-height: 100vh;
  width: 100%;
}

.mre-login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 18px;
}

.mre-login-card {
  width: min(92vw, 560px);
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(2, 8, 18, .92);
  box-shadow: 0 34px 120px rgba(0,0,0,.62);
  padding: 34px 46px 40px;
  text-align: center;
}

.mre-elmo-video {
  width: 140px;
  height: 140px;
  display: block;
  margin: 0 auto 10px;
  object-fit: contain;
  border: 0;
  outline: 0;
  background: transparent;
  filter: drop-shadow(0 0 24px rgba(217,154,24,.28));
}

.mre-academy-logo {
  display: block;
  width: 176px;
  max-width: 58vw;
  margin: 0 auto 28px;
  background: #fff;
  padding: 10px 18px;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
}

.mre-eyebrow {
  color: var(--mre-gold);
  font-weight: 900;
  letter-spacing: 6px;
  font-size: 13px;
  margin-bottom: 10px;
}

.mre-login-card h1 {
  margin: 0 0 12px;
  color: var(--mre-gold);
  font-size: clamp(32px, 7vw, 44px);
  line-height: 1.03;
  text-shadow: 0 0 20px rgba(255,216,107,.28);
}

.mre-login-card p {
  margin: 0 0 26px;
  color: #d9e5ff;
  line-height: 1.55;
  font-size: 14px;
}

.mre-field-label {
  display: block;
  text-align: left;
  color: #fff;
  font-weight: 800;
  margin: 14px 0 8px;
}

.mre-input {
  width: 100%;
  height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.20);
  background: #151c28;
  color: #fff;
  font-size: 15px;
  padding: 0 18px;
  outline: none;
}

.mre-input:focus {
  border-color: rgba(255,216,107,.8);
  box-shadow: 0 0 0 3px rgba(255,216,107,.16);
}

.mre-main-btn {
  width: 100%;
  height: 58px;
  border: 0;
  margin-top: 24px;
  border-radius: 16px;
  color: #070b13;
  font-weight: 900;
  font-size: 15px;
  background: linear-gradient(90deg, #ffe9a6, #d99817);
  box-shadow: 0 18px 46px rgba(217,154,24,.25);
}

.mre-msg {
  display: none;
  margin-top: 16px;
  padding: 13px 14px;
  border-radius: 13px;
  font-size: 14px;
  line-height: 1.35;
  white-space: pre-wrap;
}
.mre-msg.info { display: block; background: rgba(255,216,107,.13); color: #ffedb7; border: 1px solid rgba(255,216,107,.28); }
.mre-msg.ok { display: block; background: rgba(35,180,110,.16); color: var(--mre-ok); border: 1px solid rgba(35,180,110,.34); }
.mre-msg.err { display: block; background: rgba(190,38,70,.18); color: var(--mre-danger); border: 1px solid rgba(190,38,70,.34); }

/* Diagnóstico PPT Canvas */
.mre-diagnostic-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 18px clamp(12px, 2vw, 26px) 22px;
  overflow: hidden;
}

.mre-diagnostic-header {
  width: min(96vw, 1560px);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
}

.mre-diagnostic-title { min-width: 0; }
.mre-diagnostic-title h1 {
  margin: 3px 0 4px;
  color: var(--mre-gold);
  font-size: clamp(20px, 2.2vw, 34px);
  line-height: 1.05;
}
.mre-diagnostic-title p {
  margin: 0;
  color: #d9e5ff;
  font-size: 13px;
}

.mre-header-logo {
  width: 126px;
  background: #fff;
  padding: 8px 14px;
  border-radius: 14px;
  flex: 0 0 auto;
}

.mre-stage-shell {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 2000px;
  position: relative;
}

.mre-stage-bg-grid {
  position: absolute;
  inset: -20%;
  opacity: .18;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 80px 80px;
  transform: rotateX(70deg) translateY(280px) scale(1.4);
  transform-origin: center bottom;
}

.mre-slide-wrap {
  position: relative;
  width: min(96vw, calc((100vh - 150px) * 1.775));
  max-width: 1560px;
  aspect-ratio: 1600 / 901;
  border-radius: 24px;
  overflow: hidden;
  background: #161616;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow:
    0 42px 130px rgba(0,0,0,.66),
    0 0 0 1px rgba(255,216,107,.08),
    inset 0 0 100px rgba(0,0,0,.22);
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
}

.mre-slide-wrap.dock-in {
  animation: mreDockIn .88s cubic-bezier(.16,.92,.18,1) both;
}

.mre-slide-wrap.dock-out {
  animation: mreDockOut .48s cubic-bezier(.65,0,.35,1) both;
}

@keyframes mreDockIn {
  0% { opacity: 0; transform: translateZ(-620px) rotateY(-22deg) scale(.70); filter: blur(8px) saturate(.6); }
  62% { opacity: 1; transform: translateZ(52px) rotateY(2deg) scale(1.022); filter: blur(0) saturate(1); }
  100% { opacity: 1; transform: translateZ(0) rotateY(0) scale(1); filter: blur(0) saturate(1); }
}

@keyframes mreDockOut {
  0% { opacity: 1; transform: translateZ(0) rotateY(0) scale(1); filter: blur(0); }
  100% { opacity: 0; transform: translateZ(-520px) rotateY(18deg) scale(.74); filter: blur(7px); }
}

.mre-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  z-index: 1;
}

.mre-hotspot {
  position: absolute;
  z-index: 3;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(255, 216, 107, 0);
  outline: none;
  cursor: pointer;
}

.mre-hotspot:hover {
  background: rgba(255,216,107,.10);
  box-shadow: 0 0 0 2px rgba(255,216,107,.22) inset;
}

.mre-hotspot.selected::after {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  transform: translateY(-52%);
  text-align: center;
  color: #ffdc57;
  font-weight: 1000;
  font-size: clamp(15px, 1.65vw, 26px);
  line-height: 1;
  text-shadow:
    0 0 8px rgba(255, 204, 41, .95),
    0 0 18px rgba(255, 204, 41, .55),
    1px 1px 0 #000;
}

.mre-hotspot.matrix.selected::after,
.mre-hotspot.single.selected::after,
.mre-hotspot.multi.selected::after {
  content: "✓";
}

.mre-text-hotspot {
  position: absolute;
  z-index: 4;
  background: transparent;
  border: 0;
  border-bottom: 2px solid rgba(255,216,107,.72);
  color: #fff;
  font-size: clamp(11px, 1.1vw, 18px);
  padding: 0 4px 2px;
  outline: none;
}

.mre-text-hotspot:focus {
  background: rgba(255,216,107,.08);
}

.mre-nav {
  width: min(96vw, 1560px);
  margin: 13px auto 0;
  display: grid;
  grid-template-columns: 150px 1fr 190px 190px;
  gap: 12px;
  align-items: center;
}

.mre-nav button {
  height: 48px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  color: #fff;
  font-weight: 900;
}

.mre-nav button.primary {
  border: 0;
  color: #070b13;
  background: linear-gradient(90deg, #ffe9a6, #d99817);
}

.mre-progress {
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  overflow: hidden;
}
.mre-progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #ffe9a6, #d99817);
  box-shadow: 0 0 18px rgba(255,216,107,.35);
}

.mre-mini-msg {
  width: min(96vw, 1560px);
  min-height: 20px;
  margin: 8px auto 0;
  text-align: center;
  color: #ffedb7;
  font-size: 13px;
}

.mre-completed {
  width: min(92vw, 720px);
  margin: auto;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(2,8,18,.94);
  box-shadow: 0 34px 120px rgba(0,0,0,.62);
  padding: 46px;
  text-align: center;
}

.mre-completed h1 { color: var(--mre-gold); margin-top: 0; }

@media (max-width: 900px) {
  .mre-login-card { padding: 28px 24px 32px; }
  .mre-diagnostic-page { padding: 12px 10px 16px; }
  .mre-diagnostic-header { min-height: 58px; }
  .mre-header-logo { width: 96px; }
  .mre-slide-wrap { width: 98vw; border-radius: 16px; }
  .mre-nav { grid-template-columns: 1fr 1fr; }
  .mre-progress { grid-column: 1 / -1; order: -1; }
  .mre-nav button.primary { grid-column: span 1; }
}

/* PATCH 2026-07-06: alinhamento fino dos checks em cima do box + logos transparentes */
html, body {
  overflow-x: hidden;
  overflow-y: auto;
}

.mre-diagnostic-page {
  overflow: visible !important;
  padding-top: 12px;
}

.mre-diagnostic-header {
  align-items: flex-start;
  min-height: 78px;
  position: relative;
  z-index: 10;
}

.mre-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 0 0 auto;
}

.mre-header-elmo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(255, 216, 107, .38));
}

.mre-header-logo {
  width: 128px;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain;
}

.mre-academy-logo {
  width: 176px;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain;
}

.mre-exit-btn {
  height: 40px;
  min-width: 72px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 216, 107, .28);
  background: rgba(255, 255, 255, .06);
  color: #ffe8a6;
  font-weight: 900;
}

.mre-exit-btn:hover {
  background: rgba(255, 216, 107, .12);
}

.mre-stage-shell {
  align-items: flex-start;
  padding-top: 6px;
}

.mre-slide-wrap {
  width: min(97vw, 1480px) !important;
  max-width: 1480px !important;
  aspect-ratio: 1600 / 901;
}

/* O check agora nasce dentro do marcador exato, não no centro do hotspot grande. */
.mre-hotspot.selected::after {
  content: none !important;
}

.mre-hotspot-marker.selected::after {
  content: "✓";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -54%);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffdc57;
  font-weight: 1000;
  font-size: clamp(16px, 1.45vw, 26px);
  line-height: 1;
  text-shadow:
    0 0 7px rgba(255, 204, 41, .98),
    0 0 14px rgba(255, 204, 41, .65),
    1px 1px 0 #000;
}

.mre-hotspot:hover .mre-hotspot-marker {
  outline: 1px solid rgba(255, 216, 107, .55);
  outline-offset: 2px;
  border-radius: 2px;
}

.mre-hotspot:hover {
  background: rgba(255,216,107,.035) !important;
  box-shadow: none !important;
}

.mre-text-hotspot {
  font-weight: 900;
  font-size: clamp(13px, 1.05vw, 18px) !important;
  line-height: 1.1;
  padding: 0 6px 2px !important;
  color: #fff !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 2px solid rgba(255,216,107,.88) !important;
  border-radius: 0;
  white-space: nowrap;
}

.mre-text-hotspot::placeholder {
  color: rgba(255,255,255,.52);
}

@media (min-width: 1280px) {
  .mre-diagnostic-title h1 {
    font-size: 30px;
  }
}

@media (max-width: 900px) {
  .mre-header-actions {
    gap: 7px;
  }
  .mre-header-elmo { width: 34px; height: 34px; }
  .mre-header-logo { width: 88px; }
  .mre-exit-btn { min-width: 54px; height: 34px; padding: 0 10px; }
}


/* PATCH 2026-07-06-03: corrigir alinhamento real do ✓ no box, logo original Academy e etapa final sem input */
.mre-hotspot-marker { overflow: visible; }
.mre-hotspot-marker.selected { outline: none !important; }
.mre-slide-wrap { width: min(96vw, calc((100vh - 142px) * 1.775), 1500px) !important; }
.mre-diagnostic-header { min-height: 66px; margin-bottom: 6px; }
.mre-diagnostic-page { padding-bottom: 14px; }
.mre-nav { margin-top: 8px; }
@media (max-height: 780px) {
  .mre-diagnostic-title h1 { font-size: 24px; }
  .mre-diagnostic-title p { font-size: 12px; }
  .mre-stage-shell { padding-top: 0; }
  .mre-slide-wrap { width: min(96vw, calc((100vh - 124px) * 1.775), 1500px) !important; }
  .mre-nav button { height: 42px; }
}

/* PATCH FINAL V3 - alinhamento fino pedido pelo cliente */
.mre-hotspot-marker.selected::after {
  font-size: clamp(14px, 1.25vw, 22px) !important;
  transform: translate(-50%, -50%) !important;
}
.mre-hotspot:hover .mre-hotspot-marker {
  outline: 1px solid rgba(255, 216, 107, .42) !important;
  outline-offset: 1px !important;
}
.mre-academy-logo,
.mre-header-logo {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  width: 220px !important;
  max-width: 45vw !important;
}
.mre-header-logo { width: 190px !important; }
.mre-text-hotspot {
  overflow: hidden !important;
  text-overflow: clip !important;
  height: auto !important;
  min-height: 18px !important;
}
@media (max-width: 900px) {
  .mre-header-logo { width: 140px !important; }
  .mre-academy-logo { width: 190px !important; }
}

/* PATCH V4 — ajustes pontuais solicitados: sem GIF, sem MP4 no login, checks menores e modo debug */
.mre-elmo-video {
  width: 118px !important;
  height: 118px !important;
  object-fit: contain !important;
  margin-bottom: 14px !important;
  background: transparent !important;
}

.mre-academy-logo,
.mre-header-logo {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
}

.mre-header-logo {
  width: 116px !important;
}

.mre-hotspot-marker.selected::after {
  font-size: clamp(13px, 1.08vw, 20px) !important;
  transform: translate(-50%, -50%) !important;
  text-shadow:
    0 0 6px rgba(255, 204, 41, .95),
    0 0 12px rgba(255, 204, 41, .60),
    1px 1px 0 #000 !important;
}

.mre-hotspot:hover .mre-hotspot-marker {
  outline: 1px solid rgba(255,216,107,.45) !important;
  outline-offset: 1px !important;
}

.mre-text-hotspot {
  font-size: clamp(12px, .92vw, 16px) !important;
  height: auto !important;
  min-height: 20px !important;
}

/* Etapa 11: ajuda a leitura do novo slide com opções do lado da figura */
.mre-slide-wrap[data-current-slide="11"] .mre-hotspot-marker.selected::after {
  font-size: clamp(13px, 1vw, 18px) !important;
}


/* ===== Admin MRE completo ===== */
.mre-admin-page {
  min-height: 100vh;
  padding: 26px;
  background:
    radial-gradient(circle at 15% 10%, rgba(196, 137, 42, .10), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(37, 80, 140, .12), transparent 32%),
    #020812;
}

.mre-admin-shell {
  width: min(1180px, 96vw);
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  padding: 26px;
  background: rgba(2, 8, 18, .92);
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
}

.mre-admin-shell.wide {
  width: min(1540px, 98vw);
}

.mre-admin-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}

.mre-admin-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mre-admin-title h1 {
  margin: 0;
  color: #ffd86b;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
}

.mre-admin-title p {
  margin: 6px 0;
  color: #d8e3f2;
}

.mre-admin-title small {
  color: #aebbd2;
}

.mre-admin-elmo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(218, 157, 38, .35));
}

.mre-admin-actions,
.mre-top-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mre-admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 16px;
}

.mre-admin-card {
  min-height: 155px;
  border: 1px solid rgba(255,216,107,.28);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  color: #fff;
  padding: 20px;
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease;
}

.mre-admin-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,216,107,.8);
}

.mre-admin-card b {
  display: block;
  color: #ffd86b;
  font-size: 22px;
  margin-bottom: 10px;
}

.mre-admin-card span {
  color: #d6dfef;
  line-height: 1.5;
}

.mre-admin-note {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,216,107,.10);
  border: 1px solid rgba(255,216,107,.25);
  color: #ffedb7;
  line-height: 1.6;
}

.mre-admin-toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: end;
  margin-bottom: 16px;
}

.mre-admin-toolbar label {
  color: #fff;
  font-weight: 800;
}

.mre-admin-toolbar select,
.mre-admin-form input,
.mre-admin-form select,
.mre-admin-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: #151d2a;
  color: #fff;
  padding: 10px 12px;
}

.compact {
  min-height: 46px !important;
  height: auto !important;
  padding: 10px 18px !important;
  width: auto !important;
  margin: 0 !important;
}

.mre-hotspot-editor-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
}

.mre-hotspot-editor-stage {
  overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: #0b1019;
  padding: 14px;
}

.mre-admin-slide-wrap {
  position: relative;
  width: min(1120px, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: 14px;
  overflow: hidden;
}

.mre-admin-slide-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  pointer-events: none;
}

.mre-admin-hotspot-layer {
  position: absolute;
  inset: 0;
}

.mre-admin-hotspot-handle {
  position: absolute;
  z-index: 8;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(255, 216, 107, .95);
  background: rgba(20, 12, 0, .58);
  color: #ffd23f;
  font-weight: 900;
  font-size: 21px;
  line-height: 22px;
  cursor: grab;
  box-shadow: 0 0 18px rgba(255, 216, 107, .8);
  text-shadow: 0 0 10px rgba(255,216,107,.9);
}

.mre-admin-hotspot-handle.dragging,
.mre-admin-hotspot-handle.active {
  background: rgba(255, 216, 107, .95);
  color: #171006;
  transform: translate(-50%, -50%) scale(1.12);
}

.mre-hotspot-side {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  padding: 16px;
  overflow: hidden;
}

.mre-hotspot-side h2 {
  color: #ffd86b;
  margin-top: 0;
}

#mreHotspotList,
#admHotspotList {
  max-height: 520px;
  overflow: auto;
  padding-right: 6px;
}

.mre-hotspot-list-item {
  display: block;
  width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  color: #fff;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 8px;
  text-align: left;
  cursor: pointer;
}

.mre-hotspot-list-item.active {
  border-color: #ffd86b;
  background: rgba(255,216,107,.14);
}

.mre-hotspot-list-item b,
.mre-hotspot-list-item span,
.mre-hotspot-list-item small {
  display: block;
}

.mre-hotspot-list-item b {
  color: #fff;
  font-size: 13px;
}

.mre-hotspot-list-item span,
.mre-hotspot-list-item small {
  color: #aebbd2;
  font-size: 12px;
  margin-top: 3px;
}

.mre-admin-pre {
  max-height: 180px;
  overflow: auto;
  white-space: pre-wrap;
  background: rgba(0,0,0,.4);
  color: #ffedb7;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.12);
}

.mre-admin-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.mre-admin-form {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  padding: 18px;
}

.mre-admin-form h2,
.mre-admin-list h2 {
  color: #ffd86b;
  margin: 0 0 12px;
}

.mre-admin-form label {
  display: block;
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
}

.wide-form {
  max-width: none;
}

.mre-admin-list {
  margin-top: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  padding: 18px;
}

.mre-admin-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 11px 0;
}

.mre-admin-row:last-child {
  border-bottom: 0;
}

.mre-admin-row b { color: #fff; }
.mre-admin-row span { color: #d8e3f2; }
.mre-admin-row small { color: #aebbd2; }

@media (max-width: 920px) {
  .mre-admin-head, .mre-admin-title {
    flex-direction: column;
  }
  .mre-admin-grid,
  .mre-hotspot-editor-layout,
  .mre-admin-two,
  .mre-admin-row {
    grid-template-columns: 1fr;
  }
}


/* PATCH HOTSPOT EDITOR TRANSPARENTE — o marcador não tampa mais o quadradinho */
.mre-marker-controls {
  display: flex;
  gap: 10px;
  align-items: end;
  flex-wrap: wrap;
  padding: 8px 10px;
  border: 1px solid rgba(255,216,107,.22);
  border-radius: 16px;
  background: rgba(255,255,255,.045);
}

.mre-marker-controls label {
  display: block;
  min-width: 120px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.mre-marker-controls select,
.mre-marker-controls input[type="color"] {
  display: block;
  width: 100%;
  min-height: 42px;
  margin-top: 5px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: #151d2a;
  color: #fff;
  padding: 8px;
}

.mre-marker-controls input[type="color"] {
  padding: 4px;
  width: 68px;
  min-width: 68px;
}

.mre-admin-hotspot-handle {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  color: var(--mre-admin-marker-color, #ffd84a) !important;
  border: 2px solid var(--mre-admin-marker-color, #ffd84a) !important;
  background: rgba(0,0,0,.08) !important;
  box-shadow:
    0 0 0 1px rgba(0,0,0,.72),
    0 0 16px color-mix(in srgb, var(--mre-admin-marker-color, #ffd84a) 72%, transparent) !important;
  text-shadow:
    0 0 7px color-mix(in srgb, var(--mre-admin-marker-color, #ffd84a) 88%, transparent),
    1px 1px 0 rgba(0,0,0,.85) !important;
  line-height: 26px !important;
  font-size: 23px !important;
  font-weight: 1000 !important;
  opacity: .78;
  backdrop-filter: blur(1px);
}

.mre-admin-hotspot-handle::before,
.mre-admin-hotspot-handle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: var(--mre-admin-marker-color, #ffd84a);
  opacity: .85;
}

.mre-admin-hotspot-handle::before { width: 1px; height: 36px; }
.mre-admin-hotspot-handle::after { width: 36px; height: 1px; }

.mre-admin-hotspot-handle.mode-minimal {
  width: 22px !important;
  height: 22px !important;
  font-size: 18px !important;
  line-height: 18px !important;
  border-radius: 5px !important;
  background: transparent !important;
  opacity: .85;
}

.mre-admin-hotspot-handle.mode-minimal::before,
.mre-admin-hotspot-handle.mode-minimal::after {
  display: none;
}

.mre-admin-hotspot-handle.mode-solid {
  background: color-mix(in srgb, var(--mre-admin-marker-color, #ffd84a) 32%, transparent) !important;
  opacity: .92;
}

.mre-admin-hotspot-handle.dragging,
.mre-admin-hotspot-handle.active {
  background: rgba(0,0,0,.04) !important;
  color: var(--mre-admin-marker-color, #ffd84a) !important;
  border-color: var(--mre-admin-marker-color, #ffd84a) !important;
  transform: translate(-50%, -50%) scale(1.08) !important;
  opacity: .95;
}

.mre-admin-hotspot-handle.dragging {
  cursor: grabbing;
}

.mre-hotspot-marker.selected::after {
  content: attr(data-icon) !important;
  color: var(--mre-marker-color, #ffdc57) !important;
}

.mre-hotspot-marker.selected[data-mode="minimal"]::after {
  font-size: clamp(11px, .9vw, 17px) !important;
  text-shadow: 0 0 5px var(--mre-marker-color, #ffdc57), 1px 1px 0 #000 !important;
}

.mre-hotspot-marker.selected[data-mode="solid"]::after {
  background: color-mix(in srgb, var(--mre-marker-color, #ffdc57) 22%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 12px color-mix(in srgb, var(--mre-marker-color, #ffdc57) 70%, transparent);
}

.mre-admin-checkline {
  display: flex !important;
  align-items: center;
  gap: 8px;
  color: #ffedb7 !important;
  font-weight: 800;
}
.mre-admin-checkline input { width: auto !important; min-height: auto !important; margin: 0 !important; }
.mre-admin-form textarea { min-height: 180px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }


/* PATCH: centro real do hotspot + marcador transparente
   O admin salva markX/markY como centro. O diagnóstico agora desenha usando o mesmo centro.
   Remove sombra/círculo grande que cobria o box do PPT. */
.mre-hotspot-marker {
  transform: translate(-50%, -50%) !important;
  opacity: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  pointer-events: none !important;
  color: var(--mre-marker-color, #ffd84a) !important;
  font-size: clamp(13px, 1.05vw, 20px) !important;
  font-weight: 1000 !important;
  line-height: 1 !important;
  text-shadow:
    0 0 2px rgba(0,0,0,.95),
    0 0 6px color-mix(in srgb, var(--mre-marker-color, #ffd84a) 62%, transparent) !important;
}

.mre-hotspot-marker::before,
.mre-hotspot-marker::after,
.mre-hotspot-marker.selected::before,
.mre-hotspot-marker.selected::after {
  content: none !important;
  display: none !important;
}

.mre-hotspot-marker.selected {
  opacity: 1 !important;
}

/* Mesmo em modo sólido, nada de bolha grande sobre a caixa. */
.mre-hotspot-marker.selected[data-mode="solid"] {
  background: color-mix(in srgb, var(--mre-marker-color, #ffd84a) 10%, transparent) !important;
  border: 1px solid color-mix(in srgb, var(--mre-marker-color, #ffd84a) 55%, transparent) !important;
  border-radius: 50% !important;
  box-shadow: none !important;
}

/* No diagnóstico, o hover não deve criar sombra/retângulo que atrapalhe leitura. */
.mre-hotspot:hover,
.mre-hotspot:hover .mre-hotspot-marker {
  background: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
}

/* Editor admin: marcador de calibração em formato mira transparente para não tampar o box. */
.mre-admin-hotspot-handle {
  width: 26px !important;
  height: 26px !important;
  background: rgba(0,0,0,.02) !important;
  border: 2px dashed var(--mre-admin-marker-color, #ffd84a) !important;
  border-radius: 50% !important;
  color: var(--mre-admin-marker-color, #ffd84a) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  opacity: .88 !important;
  backdrop-filter: none !important;
  line-height: 22px !important;
  font-size: 19px !important;
}

.mre-admin-hotspot-handle::before,
.mre-admin-hotspot-handle::after {
  background: var(--mre-admin-marker-color, #ffd84a) !important;
  opacity: .75 !important;
}

.mre-admin-hotspot-handle::before { width: 1px !important; height: 32px !important; }
.mre-admin-hotspot-handle::after { width: 32px !important; height: 1px !important; }

.mre-admin-hotspot-handle.dragging,
.mre-admin-hotspot-handle.active {
  background: rgba(0,0,0,.02) !important;
  transform: translate(-50%, -50%) scale(1.08) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.35) !important;
}

/* Deixa o canvas do editor maior para calibrar com mais precisão. */
.mre-admin-shell.wide {
  width: min(1760px, 99vw) !important;
}

.mre-admin-slide-wrap {
  width: min(1320px, 100%) !important;
}

.mre-hotspot-editor-layout {
  grid-template-columns: minmax(760px, 1fr) 360px !important;
}


/* PATCH: elmo MP4 nas telas de login/admin, mantendo a mesma proporção do elmo estático */
video.mre-elmo-video {
  width: 140px !important;
  height: 140px !important;
  display: block !important;
  margin: 0 auto 10px !important;
  object-fit: contain !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  filter: drop-shadow(0 0 24px rgba(217,154,24,.28)) !important;
  mix-blend-mode: normal !important;
}

@media (max-width: 620px) {
  video.mre-elmo-video {
    width: 118px !important;
    height: 118px !important;
  }
}


/* PATCH: limpar visual do Elmo MP4 no login/admin.
   O MP4 não tem canal alfa real; o mix-blend-mode: screen faz o fundo escuro sumir no fundo escuro da tela.
   O object-fit: cover amplia/corta a área morta do vídeo para ficar mais capacete e menos retângulo. */
video.mre-elmo-video {
  width: 190px !important;
  height: 118px !important;
  display: block !important;
  margin: -4px auto 8px !important;
  object-fit: cover !important;
  object-position: 50% 50% !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: .98 !important;
  mix-blend-mode: screen !important;
  filter:
    brightness(1.18)
    contrast(1.28)
    saturate(1.12)
    drop-shadow(0 0 12px rgba(210, 150, 34, .38)) !important;
}

/* remove qualquer retângulo artificial ao redor do vídeo */
.mre-login-card video.mre-elmo-video,
.mre-login-card .mre-elmo-video {
  background-color: transparent !important;
}

/* Ajuste fino para o Academy não grudar no elmo ampliado */
.mre-login-card .mre-academy-logo {
  margin-top: 0 !important;
}

/* No mobile, mantém proporcional sem ficar gigante */
@media (max-width: 620px) {
  video.mre-elmo-video {
    width: 160px !important;
    height: 100px !important;
    margin-top: -2px !important;
  }
}


/* PATCH: área de marca limpa no login/admin.
   Cor exata do fundo exportado no editor do WebM: #121214 = RGB(18,18,20).
   O vídeo do elmo não tem transparência perfeita visualmente, então estabilizamos ele
   dentro de uma área com a mesma cor do editor e colocamos o Academy em cartão branco. */

.mre-brand-lockup {
  width: 250px !important;
  max-width: 72vw !important;
  margin: -8px auto 24px !important;
  padding: 14px 12px 16px !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  box-shadow:
    0 16px 40px rgba(0,0,0,.34),
    0 0 0 1px rgba(255,255,255,.45) inset !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.mre-elmo-stage {
  width: 170px !important;
  height: 92px !important;
  margin: 0 auto !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  background: #121214 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: inset 0 0 22px rgba(255,255,255,.03) !important;
}

video.mre-elmo-video {
  width: 174px !important;
  height: 94px !important;
  margin: 0 !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  background: #121214 !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  filter: brightness(1.06) contrast(1.12) saturate(1.05) !important;
}

/* Dentro do cartão branco o Academy não precisa criar outro bloco grande */
.mre-brand-lockup .mre-academy-logo {
  width: 205px !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: block !important;
}

/* Evita que regras antigas do logo/video passem por cima */
.mre-login-card > video.mre-elmo-video,
.mre-login-card > .mre-elmo-video,
.mre-login-card > .mre-academy-logo {
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 620px) {
  .mre-brand-lockup {
    width: 220px !important;
    padding: 12px 10px 14px !important;
  }
  .mre-elmo-stage {
    width: 150px !important;
    height: 82px !important;
  }
  video.mre-elmo-video {
    width: 154px !important;
    height: 84px !important;
  }
  .mre-brand-lockup .mre-academy-logo {
    width: 182px !important;
  }
}


/* PATCH: Elmo WebM com FUNDO BRANCO
   Use quando /mre/brand/Elmo-Fabri.webm foi exportado com fundo branco.
   A marca vira um cartão branco único: Elmo + Fabri Academy. */
.mre-brand-lockup {
  width: 250px !important;
  max-width: 72vw !important;
  margin: -8px auto 24px !important;
  padding: 14px 12px 16px !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  box-shadow:
    0 16px 40px rgba(0,0,0,.34),
    0 0 0 1px rgba(255,255,255,.55) inset !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}

.mre-elmo-stage {
  width: 190px !important;
  height: 96px !important;
  margin: 0 auto !important;
  overflow: hidden !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
}

video.mre-elmo-video {
  width: 194px !important;
  height: 98px !important;
  margin: 0 !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  filter: none !important;
}

.mre-brand-lockup .mre-academy-logo {
  width: 205px !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: block !important;
}

@media (max-width: 620px) {
  .mre-brand-lockup {
    width: 220px !important;
    padding: 12px 10px 14px !important;
  }
  .mre-elmo-stage {
    width: 168px !important;
    height: 86px !important;
  }
  video.mre-elmo-video {
    width: 172px !important;
    height: 88px !important;
  }
  .mre-brand-lockup .mre-academy-logo {
    width: 182px !important;
  }
}


/* PATCH: ajuste fino do cartão da marca
   Objetivo:
   - aumentar o elmo internamente;
   - reduzir o bloco cinza visível em volta do vídeo;
   - deixar o branco do conjunto mais uniforme;
   - permitir o vídeo "estourar" um pouco o topo/lateral sem quebrar o card. */

.mre-brand-lockup {
  width: 250px !important;
  max-width: 72vw !important;
  margin: -10px auto 24px !important;
  padding: 10px 12px 18px !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  overflow: hidden !important;
}

/* Palco menor e mais recortado: esconde a sobra de fundo do vídeo */
.mre-elmo-stage {
  width: 214px !important;
  height: 78px !important;
  margin: -2px auto 4px !important;
  overflow: hidden !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  position: relative !important;
}

/* Vídeo maior que o palco: o capacete fica ampliado e a sobra cinza quase some */
.mre-elmo-stage video.mre-elmo-video,
video.mre-elmo-video {
  width: 276px !important;
  height: 120px !important;
  max-width: none !important;
  margin: 0 !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) scale(1.18) !important;
  object-fit: cover !important;
  object-position: center center !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: brightness(1.10) contrast(1.08) saturate(1.05) !important;
  mix-blend-mode: normal !important;
}

/* Academy mais próximo do elmo e sem moldura duplicada */
.mre-brand-lockup .mre-academy-logo {
  width: 210px !important;
  margin: -2px auto 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Versão alternativa: se ainda aparecer retângulo cinza, descomente no servidor:
.mre-brand-lockup,
.mre-elmo-stage {
  background: #e9e9e9 !important;
}
*/

@media (max-width: 620px) {
  .mre-brand-lockup {
    width: 222px !important;
    padding: 9px 10px 15px !important;
  }

  .mre-elmo-stage {
    width: 190px !important;
    height: 70px !important;
  }

  .mre-elmo-stage video.mre-elmo-video,
  video.mre-elmo-video {
    width: 244px !important;
    height: 106px !important;
    transform: translate(-50%, -50%) scale(1.16) !important;
  }

  .mre-brand-lockup .mre-academy-logo {
    width: 188px !important;
  }
}


/* PATCH V3: elmo maior, mas SEM cortar o capacete.
   Corrige o patch anterior que usava object-fit: cover + palco baixo. */
.mre-brand-lockup {
  width: 260px !important;
  max-width: 74vw !important;
  margin: -8px auto 24px !important;
  padding: 12px 12px 18px !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  overflow: visible !important;
}

/* Palco mais alto para caber o capacete inteiro */
.mre-elmo-stage {
  width: 226px !important;
  height: 122px !important;
  margin: -4px auto 2px !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  position: relative !important;
}

/* Contain preserva o capacete inteiro. A escala é menor para não comer topo/lateral. */
.mre-elmo-stage video.mre-elmo-video,
video.mre-elmo-video {
  width: 226px !important;
  height: 122px !important;
  max-width: none !important;
  margin: 0 !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) scale(1.08) !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: brightness(1.08) contrast(1.06) saturate(1.04) !important;
  mix-blend-mode: normal !important;
}

/* Academy ajustado para não ficar colado demais */
.mre-brand-lockup .mre-academy-logo {
  width: 210px !important;
  margin: 0 auto 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Caso você queira aproximar o branco do fundo do vídeo, altere #ffffff para #eeeeee
   em .mre-brand-lockup, .mre-elmo-stage e video.mre-elmo-video. */

@media (max-width: 620px) {
  .mre-brand-lockup {
    width: 232px !important;
    padding: 10px 10px 15px !important;
  }

  .mre-elmo-stage {
    width: 202px !important;
    height: 110px !important;
  }

  .mre-elmo-stage video.mre-elmo-video,
  video.mre-elmo-video {
    width: 202px !important;
    height: 110px !important;
    transform: translate(-50%, -50%) scale(1.07) !important;
  }

  .mre-brand-lockup .mre-academy-logo {
    width: 188px !important;
  }
}

/* ==========================================================
   MRE 2026-07 — área do cliente, cadastro completo e resultado
   ========================================================== */
.mre-client-page,
.mre-result-page {
  min-height: 100vh;
  padding: 40px 22px;
  background:
    radial-gradient(circle at 12% 4%, rgba(212, 169, 52, .14), transparent 30%),
    radial-gradient(circle at 94% 8%, rgba(19, 75, 113, .16), transparent 34%),
    linear-gradient(145deg, #07131e 0%, #0b1d2d 52%, #08141f 100%);
  color: #eef5f7;
}

.mre-client-shell,
.mre-result-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 28px;
  background: rgba(9, 24, 36, .88);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .34);
  backdrop-filter: blur(16px);
  padding: clamp(24px, 4vw, 48px);
}

.mre-client-header,
.mre-result-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.mre-client-header h1,
.mre-result-header h1 {
  margin: 7px 0 8px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
  color: #fff;
}

.mre-client-header p,
.mre-result-header p {
  margin: 0;
  color: #aec0ca;
}

.mre-client-status {
  margin-top: 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .11);
  padding: clamp(22px, 4vw, 34px);
  background: linear-gradient(135deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
}

.mre-client-status.completed {
  border-color: rgba(66, 211, 146, .35);
  background: linear-gradient(135deg, rgba(26, 111, 78, .24), rgba(255,255,255,.025));
}

.mre-client-status.in-progress {
  border-color: rgba(216, 173, 62, .35);
  background: linear-gradient(135deg, rgba(112, 82, 18, .24), rgba(255,255,255,.025));
}

.mre-client-status h2 {
  margin: 6px 0 8px;
  color: #fff;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.mre-client-status p { margin: 0; color: #c7d5dc; line-height: 1.6; }

.mre-status-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  background: linear-gradient(145deg, #d4aa3a, #9b751a);
  color: #07131e;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(201, 155, 40, .24);
}

.mre-client-actions,
.mre-action-row,
.mre-result-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.mre-client-actions { margin-top: 24px; }
.mre-client-actions .mre-main-btn,
.mre-client-actions .mre-secondary-btn { width: auto; min-width: 220px; }

.mre-client-policy {
  margin-top: 28px;
  padding: 16px 18px;
  border-left: 4px solid #d4aa3a;
  border-radius: 10px;
  background: rgba(212, 170, 58, .08);
  color: #cbd8df;
  line-height: 1.55;
}

.mre-section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 26px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.mre-section-title > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mre-section-title span {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #d4aa3a;
  color: #101820;
  font-weight: 900;
}

.mre-section-title h2,
.mre-section-title p { margin: 0; }
.mre-section-title p { color: #98acb8; font-size: .92rem; max-width: 580px; }

.mre-credential-card {
  margin: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(64, 211, 145, .38);
  background: linear-gradient(135deg, rgba(24, 110, 76, .22), rgba(255, 255, 255, .035));
}

.mre-credential-card[hidden] { display: none !important; }
.mre-credential-card h2 { margin: 5px 0 10px; color: #fff; }
.mre-credential-card p { margin: 5px 0; color: #cfdae0; }
.mre-credential-card code {
  color: #ffe89a;
  background: rgba(0,0,0,.25);
  padding: 3px 7px;
  border-radius: 6px;
}

.mre-result-score {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 42px);
  align-items: center;
  margin: 32px 0;
  padding: clamp(22px, 4vw, 36px);
  border-radius: 24px;
  border: 1px solid rgba(212, 170, 58, .28);
  background: linear-gradient(135deg, rgba(212, 170, 58, .13), rgba(16, 52, 74, .28));
}

.mre-score-ring {
  width: 154px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  border: 10px solid rgba(212, 170, 58, .9);
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.06), 0 14px 40px rgba(0,0,0,.26);
  background: rgba(4, 15, 24, .72);
}

.mre-score-ring strong { font-size: 2rem; color: #fff; }
.mre-score-ring span { color: #afbec6; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.mre-result-level { color: #e3bf5d; text-transform: uppercase; font-weight: 800; letter-spacing: .12em; }
.mre-result-score p { color: #e3ebef; line-height: 1.7; font-size: 1.04rem; }
.mre-result-score small { color: #90a4af; }

.mre-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mre-result-card,
.mre-dimension-card,
.mre-recommendation-card,
.mre-result-closing {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: rgba(255,255,255,.04);
}

.mre-result-card { padding: 24px; }
.mre-result-card.critical { border-color: rgba(232, 117, 96, .23); }
.mre-result-card h2,
.mre-result-closing h2 { margin: 0 0 14px; color: #fff; }
.mre-result-card ul,
.mre-dimension-card ul { margin: 0; padding-left: 20px; }
.mre-result-card li,
.mre-dimension-card li { margin: 9px 0; color: #c8d5dc; line-height: 1.5; }

.mre-result-section { margin-top: 34px; }
.mre-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 16px; }
.mre-section-heading span { color: #fff; font-size: 1.45rem; font-weight: 800; }
.mre-section-heading small { color: #8fa4af; }
.mre-dimension-list,
.mre-recommendation-list { display: grid; gap: 14px; }
.mre-dimension-card { padding: 22px; }
.mre-dimension-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.mre-dimension-title h3 { margin: 0; color: #fff; }
.mre-dimension-title span {
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(212, 170, 58, .15);
  color: #e8c66f;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 800;
}
.mre-dimension-card p,
.mre-recommendation-card p,
.mre-result-closing p { color: #c8d5dc; line-height: 1.65; }

.mre-recommendation-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 17px;
  padding: 20px 22px;
}
.mre-recommendation-number {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #07131e;
  background: #d4aa3a;
  font-weight: 900;
}
.mre-recommendation-card h3 { margin: 5px 0 7px; color: #fff; }
.mre-recommendation-card p { margin: 0; }
.mre-recommendation-meta { color: #e3bf5d; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; font-weight: 800; }
.mre-result-closing { margin-top: 28px; padding: 24px; }
.mre-empty { color: #8fa4af; font-style: italic; }

/* Relatório final — estrutura do DOCX de referência, com cabeçalho atual preservado. */
.mre-report-document {
  margin-top: 30px;
  padding: clamp(28px, 5vw, 62px);
  border: 1px solid #d5d5d5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .28);
  color: #171717;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.05rem;
  line-height: 1.58;
}

.mre-report-document p { margin: 0 0 9px; color: #171717; }
.mre-report-document strong { color: #111; }
.mre-report-meta { margin-bottom: 20px; }
.mre-report-index h2,
.mre-report-section > h2 {
  margin: 0 0 13px;
  color: #111;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.3rem;
  line-height: 1.25;
}

.mre-report-index p { font-weight: 400; }
.mre-report-rule {
  height: 0;
  margin: 22px 0 28px;
  border: 0;
  border-top: 2px solid #a9a9a9;
}

.mre-report-section { margin: 0 0 28px; }
.mre-report-risk-table { width: min(620px, 100%); }
.mre-report-risk-head,
.mre-report-risk-row {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(150px, .8fr);
  align-items: center;
  column-gap: 24px;
}
.mre-report-risk-head { margin-bottom: 8px; }
.mre-report-risk-row { min-height: 38px; }
.mre-report-risk-row > span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.mre-report-risk-dot {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background: #999;
}
.mre-report-risk-dot.low { background: #76bf2c; }
.mre-report-risk-dot.medium { background: #ffca32; }
.mre-report-risk-dot.high { background: #ff5a1f; }
.mre-report-risk-dot.critical { background: #f3292f; }
.mre-report-risk-dot.unknown { background: #999; }

.mre-report-vulnerabilities {
  margin: 0;
  padding-left: 34px;
}
.mre-report-vulnerabilities li { margin: 0 0 12px; padding-left: 6px; }
.mre-report-blocks article { margin: 0 0 18px; }
.mre-report-blocks h3 {
  margin: 0 0 6px;
  color: #111;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.12rem;
}
.mre-report-blocks p { margin: 0; }

.mre-result-loader {
  width: 54px;
  height: 54px;
  margin: 24px auto 0;
  border: 5px solid rgba(255,255,255,.15);
  border-top-color: #d4aa3a;
  border-radius: 50%;
  animation: mre-spin .85s linear infinite;
}
@keyframes mre-spin { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
  .mre-client-page,
  .mre-result-page { padding: 16px 10px; }
  .mre-client-shell,
  .mre-result-shell { border-radius: 20px; padding: 22px 16px; }
  .mre-client-header,
  .mre-result-header,
  .mre-section-title,
  .mre-credential-card { align-items: stretch; flex-direction: column; }
  .mre-client-status,
  .mre-result-score { grid-template-columns: 1fr; }
  .mre-score-ring { width: 132px; }
  .mre-result-grid { grid-template-columns: 1fr; }
  .mre-client-actions .mre-main-btn,
  .mre-client-actions .mre-secondary-btn { width: 100%; min-width: 0; }
  .mre-result-toolbar { width: 100%; }
  .mre-result-toolbar button { flex: 1; }
  .mre-section-heading { align-items: flex-start; flex-direction: column; }
  .mre-report-document { padding: 24px 18px; font-size: .98rem; }
  .mre-report-risk-head,
  .mre-report-risk-row { grid-template-columns: minmax(0, 1fr) minmax(126px, .75fr); column-gap: 12px; }
}

/* PATCH 2026-07-14 — exclusão administrativa e análise interna FABRI */
.mre-admin-list-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin: 26px 0 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 216, 107, .22);
}
.mre-admin-list-heading:first-child { margin-top: 0; }
.mre-admin-list-heading h2 { margin: 0 0 3px; }
.mre-admin-list-heading p { margin: 0; color: #9fb0c6; font-size: .85rem; }
.mre-admin-row-actions { grid-template-columns: minmax(0, 1fr) auto; }
.mre-admin-row-actions > div:first-child { display: grid; gap: 3px; min-width: 0; }
.mre-row-button-group { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.mre-danger-btn {
  border: 1px solid rgba(255, 110, 110, .55);
  background: rgba(151, 24, 36, .28);
  color: #ffd9d9;
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.mre-danger-btn:hover { background: rgba(190, 35, 49, .45); }
.mre-danger-btn:disabled { opacity: .5; cursor: not-allowed; }
.mre-danger-btn.compact { padding: 8px 12px; font-size: .78rem; }
.mre-status-pill {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 6px 10px;
  color: #dce7f4;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.mre-status-pill.approved { border-color: rgba(100, 220, 154, .55); color: #adf2ca; background: rgba(28, 121, 75, .22); }
.mre-status-pill.in_review { border-color: rgba(255, 216, 107, .55); color: #ffe79e; background: rgba(174, 122, 20, .2); }
.mre-status-pill.needs_adjustment { border-color: rgba(255, 126, 104, .55); color: #ffc7bd; background: rgba(168, 57, 40, .2); }

.mre-analysis-layout {
  display: grid;
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.mre-analysis-sidebar {
  position: sticky;
  top: 18px;
  max-height: calc(100vh - 36px);
  overflow: auto;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  background: rgba(7, 15, 27, .82);
  padding: 14px;
}
.mre-analysis-sidebar h2 { color: #ffd86b; margin: 4px 4px 12px; font-size: 1rem; }
.mre-analysis-session {
  display: grid;
  width: 100%;
  gap: 5px;
  text-align: left;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  color: #fff;
  padding: 13px;
  margin-bottom: 9px;
  cursor: pointer;
}
.mre-analysis-session:hover,
.mre-analysis-session.active { border-color: rgba(255,216,107,.6); background: rgba(255,216,107,.09); }
.mre-analysis-session span { color: #c5d1e1; font-size: .82rem; }
.mre-analysis-session small { color: #93a7bf; font-size: .74rem; }
.mre-analysis-detail { min-width: 0; display: grid; gap: 16px; }
.mre-analysis-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(255,216,107,.22);
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(255,216,107,.12), rgba(10,20,35,.85));
}
.mre-analysis-head h2 { margin: 4px 0; color: #fff; font-size: clamp(1.5rem, 2.4vw, 2.3rem); }
.mre-analysis-head p { margin: 0; color: #c1ccda; }
.mre-analysis-score { display: grid; place-items: center; min-width: 130px; padding: 14px; border-radius: 18px; background: rgba(0,0,0,.28); }
.mre-analysis-score strong { color: #ffd86b; font-size: 2rem; }
.mre-analysis-score span { color: #fff; font-size: .82rem; font-weight: 800; text-transform: uppercase; }
.mre-analysis-meta { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; color: #b7c5d7; font-size: .78rem; }
.mre-analysis-meta > span:not(.mre-status-pill) { border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 6px 10px; }
.mre-analysis-card {
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  background: rgba(255,255,255,.045);
  padding: 20px;
  color: #d5deea;
}
.mre-analysis-card.critical { border-color: rgba(255,116,94,.26); }
.mre-analysis-card h3 { color: #fff; margin: 0 0 12px; }
.mre-analysis-card p { line-height: 1.65; }
.mre-analysis-card li { margin-bottom: 8px; line-height: 1.5; }
.mre-analysis-card summary { color: #fff; font-weight: 900; cursor: pointer; }
.mre-analysis-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mre-analysis-dimensions { display: grid; gap: 12px; }
.mre-analysis-dimensions article,
.mre-analysis-recommendations article,
.mre-answer-audit article {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 14px;
  background: rgba(0,0,0,.18);
}
.mre-analysis-dimensions article > div { display: flex; justify-content: space-between; gap: 12px; }
.mre-analysis-dimensions article span,
.mre-analysis-recommendations article span { color: #e7c764; font-size: .76rem; font-weight: 800; text-transform: uppercase; }
.mre-analysis-recommendations { display: grid; gap: 10px; }
.mre-analysis-recommendations article p { margin-bottom: 0; }
.mre-answer-audit { display: grid; gap: 10px; margin-top: 14px; }
.mre-answer-audit article > b { color: #fff; display: block; margin-bottom: 8px; }
.mre-answer-audit article > div { color: #d9e4f0; }
.mre-answer-audit article > small { display: block; color: #8296ae; margin-top: 8px; }
.mre-answer-matrix-row { display: grid; grid-template-columns: minmax(160px, .7fr) 1fr; gap: 12px; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.mre-answer-matrix-row:last-child { border-bottom: 0; }
.review-card textarea { width: 100%; margin-top: 7px; }

@media (max-width: 980px) {
  .mre-analysis-layout { grid-template-columns: 1fr; }
  .mre-analysis-sidebar { position: static; max-height: none; }
  .mre-analysis-two { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .mre-admin-row-actions { grid-template-columns: 1fr; }
  .mre-row-button-group { justify-content: stretch; }
  .mre-row-button-group button { flex: 1; }
  .mre-analysis-head { align-items: flex-start; flex-direction: column; }
  .mre-analysis-score { width: 100%; }
  .mre-answer-matrix-row { grid-template-columns: 1fr; gap: 3px; }
}

/* Correção 2026-07-14 — fluxo de finalização e resultado semântico FABRI */
.mre-result-shell.compact {
  max-width: 860px;
  min-height: min(680px, calc(100vh - 40px));
  display: grid;
  align-items: center;
}

.mre-result-analysis-loading {
  width: min(650px, 100%);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 13px;
  text-align: center;
  padding: clamp(28px, 6vw, 58px) 16px;
}

.mre-result-analysis-loading h1,
.mre-result-analysis-loading p { margin: 0; }
.mre-result-analysis-loading h1 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.65rem); }
.mre-result-analysis-loading p { color: #c6d3da; line-height: 1.55; }
.mre-result-analysis-loading > small { color: #8398a4; line-height: 1.5; }
.mre-analysis-brand { width: min(190px, 44vw); max-height: 72px; object-fit: contain; }

.mre-result-loading-steps {
  width: min(570px, 100%);
  margin: 14px auto 2px;
  display: grid;
  gap: 10px;
  text-align: left;
}

.mre-result-loading-steps span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #738894;
  font-size: .9rem;
  transition: color .25s ease;
}

.mre-result-loading-steps span.active { color: #e6eef2; font-weight: 700; }
.mre-result-loading-steps i {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.22);
  color: #07131e;
  font-size: .72rem;
  font-style: normal;
}
.mre-result-loading-steps i.done { border-color: #d4aa3a; background: #d4aa3a; }

.mre-result-ai-source {
  display: grid;
  gap: 5px;
  margin: -4px 0 30px;
  padding: 16px 18px;
  border-radius: 14px;
  border-left: 4px solid #d4aa3a;
  background: rgba(212, 170, 58, .09);
}
.mre-result-ai-source strong { color: #f2d67e; }
.mre-result-ai-source span { color: #b8c8d0; line-height: 1.55; }
.mre-result-ai-source.fallback { border-left-color: #e87560; background: rgba(232,117,96,.08); }
.mre-result-ai-source.fallback strong { color: #f0aa9d; }

.mre-result-answer-list { display: grid; gap: 12px; }
.mre-result-answer-group {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(212, 170, 58, .2);
  border-radius: 18px;
  background: rgba(5, 20, 31, .42);
}
.mre-result-answer-group > h3 {
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(212, 170, 58, .24);
  color: #f0cf72;
  font-size: 1rem;
  letter-spacing: .04em;
}
.mre-result-answer-items { display: grid; gap: 12px; }
.mre-result-answer-empty {
  margin: 0;
  padding: 12px 4px 2px;
  color: #8fa4af;
  font-style: italic;
}
.mre-result-answer-list article {
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
}
.mre-result-answer-list article > span {
  display: block;
  margin-bottom: 6px;
  color: #d9b653;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.mre-result-answer-list h3 { margin: 0 0 10px; color: #fff; font-size: 1rem; line-height: 1.45; }
.mre-result-answer-list ul { margin: 0; padding-left: 20px; }
.mre-result-answer-list li,
.mre-result-answer-list p { margin: 5px 0; color: #c6d3da; line-height: 1.55; }
.mre-result-warning {
  padding: 16px 18px;
  border: 1px solid rgba(232,117,96,.35);
  border-radius: 14px;
  background: rgba(232,117,96,.08);
  color: #f0b1a5;
}

@media (max-width: 760px) {
  .mre-result-analysis-loading { padding-inline: 2px; }
  .mre-result-loading-steps span { font-size: .82rem; }
}


/* MRE_MAIN_COURSE_LAYOUT_FIX_20260716 */

.mre-text-hotspot {
  border: 0 !important;
  border-bottom: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
}

.mre-text-hotspot::placeholder {
  color: rgba(245, 245, 245, 0.72) !important;
  opacity: 1;
}

.mre-main-reference-badge {
  position: absolute;
  z-index: 40;
  min-width: 4.8%;
  min-height: 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2% 0.55%;
  box-sizing: border-box;
  border-radius: 2px;
  background: #d8ef32;
  color: #050505;
  font-size: clamp(13px, 1.55vw, 28px);
  font-weight: 500;
  line-height: 1;
  pointer-events: none;
}

.mre-main-course-overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  box-sizing: border-box;
  overflow: hidden;
  background: #ffffff;
  color: #080808;
  font-family: Arial, Helvetica, sans-serif;
}

.mre-main-process-overlay {
  padding: 3.1% 2.5% 2.1%;
}

.mre-main-process-overlay h1,
.mre-main-erp-overlay h1 {
  margin: 0;
  font-size: clamp(25px, 3vw, 54px);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.mre-main-question-line {
  display: flex;
  align-items: center;
  gap: 0.8%;
  margin-top: 2.1%;
  margin-bottom: 1.2%;
  font-size: clamp(14px, 1.55vw, 28px);
}

.mre-main-question-line > span {
  flex: 0 0 auto;
  padding: 0.15em 0.2em;
  background: #d9ef33;
  font-weight: 500;
}

.mre-main-question-line > strong {
  font-weight: 500;
}

.mre-main-process-table {
  display: grid;
  grid-template-columns:
    minmax(175px, 2.25fr)
    repeat(6, minmax(64px, 1fr));
  grid-template-rows:
    minmax(34px, auto)
    minmax(46px, auto)
    repeat(10, minmax(35px, 1fr));
  width: 100%;
  height: 71%;
  border-top: 1px solid #c5c5c5;
  border-left: 1px solid #c5c5c5;
  font-size: clamp(10px, 0.87vw, 16px);
}

.mre-main-table-header,
.mre-main-table-subheader {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-right: 1px solid #d0d0d0;
  border-bottom: 1px solid #d0d0d0;
  text-align: center;
  line-height: 1.12;
  box-sizing: border-box;
}

.mre-main-table-header {
  background: #d7a700;
  color: #ffffff;
  font-weight: 800;
}

.mre-main-table-subheader {
  background: #f1f1f1;
  color: #111111;
  font-weight: 500;
}

.mre-main-table-header.action-header {
  grid-column: 1;
  grid-row: 1 / 3;
  justify-content: flex-start;
  padding-left: 10px;
}

.mre-main-table-header.header-2 {
  grid-column: 2;
  grid-row: 1 / 3;
}

.mre-main-table-header.header-3 {
  grid-column: 3;
  grid-row: 1 / 3;
}

.mre-main-table-header.header-4 {
  grid-column: 4;
  grid-row: 1 / 3;
}

.mre-main-table-header.existing-header {
  grid-column: 5 / 8;
  grid-row: 1;
}

.mre-main-table-subheader.subheader-5 {
  grid-column: 5;
  grid-row: 2;
}

.mre-main-table-subheader.subheader-6 {
  grid-column: 6;
  grid-row: 2;
}

.mre-main-table-subheader.subheader-7 {
  grid-column: 7;
  grid-row: 2;
}

.mre-main-process-action,
.mre-main-process-cell {
  display: flex;
  align-items: center;
  min-width: 0;
  border-right: 1px solid #d3d3d3;
  border-bottom: 1px solid #d3d3d3;
  background: #ffffff;
  box-sizing: border-box;
}

.mre-main-process-action.alternate,
.mre-main-process-cell.alternate {
  background: #d5d5d5;
}

.mre-main-process-action {
  padding: 3px 8px;
  font-weight: 700;
  line-height: 1.08;
}

.mre-main-process-cell {
  justify-content: center;
}

.mre-main-process-choice {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mre-main-process-choice > span {
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  border: 2px solid #14202b;
  background: #ffffff;
  color: #0d7f33;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.mre-main-process-choice.selected > span {
  border-color: #139447;
  box-shadow: 0 0 0 2px rgba(19, 148, 71, 0.13);
}

.mre-main-process-footer {
  margin: 1.2% 0 0;
  font-size: clamp(11px, 0.95vw, 17px);
  font-style: italic;
}

.mre-main-erp-overlay {
  padding: 3.2% 3.2% 2.5%;
}

.mre-main-erp-intro {
  width: 62%;
  margin: 1.2% 0 2.4%;
  font-size: clamp(12px, 1.05vw, 19px);
  line-height: 1.45;
}

.mre-main-erp-overlay h2 {
  margin: 0 0 1.2%;
  font-size: clamp(14px, 1.25vw, 22px);
  font-weight: 800;
}

.mre-main-erp-content {
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 1.6%;
  align-items: stretch;
  height: 52%;
}

.mre-main-erp-options {
  display: flex;
  flex-direction: column;
  border: 1px solid #bdbdbd;
}

.mre-main-erp-option-header,
.mre-main-erp-option {
  display: grid;
  grid-template-columns: 1fr 92px;
}

.mre-main-erp-option-header {
  min-height: 14%;
  background: #d7a700;
  color: #ffffff;
  font-size: clamp(12px, 1vw, 18px);
  font-weight: 800;
}

.mre-main-erp-option-header > span,
.mre-main-erp-option > span {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 7px 10px;
}

.mre-main-erp-option-header > span:last-child,
.mre-main-erp-option > span:last-child {
  justify-content: center;
  border-left: 1px solid #c6c6c6;
}

.mre-main-erp-option {
  flex: 1;
  width: 100%;
  min-height: 0;
  border: 0;
  border-top: 1px solid #c9c9c9;
  background: #dddddd;
  color: #111111;
  text-align: left;
  cursor: pointer;
}

.mre-main-erp-option:nth-child(odd) {
  background: #d0d0d0;
}

.mre-main-erp-option:hover {
  background: #e8e1c6;
}

.mre-main-erp-option.selected {
  background: #e8ddb2;
}

.mre-main-erp-checkbox {
  font-size: 20px;
  font-weight: 900;
  color: #15863f;
}

.mre-main-erp-diagram {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-radius: 4px;
  background:
    radial-gradient(circle at center, #343434 0, #202020 42%, #151515 100%);
  color: #ffffff;
}

.mre-main-erp-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 25%;
  aspect-ratio: 1.45 / 1;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid #9c9c9c;
  border-radius: 50%;
  background: #252525;
  font-size: clamp(12px, 1.05vw, 19px);
}

.mre-main-erp-center strong,
.mre-main-erp-center span {
  display: block;
}

.mre-main-erp-node {
  position: absolute;
  width: 24%;
  min-height: 15%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  box-sizing: border-box;
  border: 1px solid #747474;
  border-radius: 50%;
  background: rgba(35, 35, 35, 0.95);
  text-align: center;
  font-size: clamp(8px, 0.7vw, 13px);
}

.mre-main-erp-node::after {
  content: "✓";
  margin-left: 4px;
  color: #bce13a;
  font-weight: 900;
}

.mre-main-erp-node.node-1 {
  left: 38%;
  top: 3%;
}

.mre-main-erp-node.node-2 {
  right: 5%;
  top: 14%;
}

.mre-main-erp-node.node-3 {
  right: 0;
  top: 40%;
}

.mre-main-erp-node.node-4 {
  right: 7%;
  bottom: 10%;
}

.mre-main-erp-node.node-5 {
  left: 39%;
  bottom: 1%;
}

.mre-main-erp-node.node-6 {
  left: 7%;
  bottom: 10%;
}

.mre-main-erp-node.node-7 {
  left: 0;
  top: 40%;
}

.mre-main-erp-node.node-8 {
  left: 6%;
  top: 13%;
}

.mre-main-erp-footer {
  width: 68%;
  margin: 2.1% 0 0;
  font-size: clamp(12px, 1.05vw, 19px);
  font-weight: 700;
  font-style: italic;
  line-height: 1.45;
}

.mre-slide11-panel {
  display: none !important;
}

.mre-diagnostic-page.mre-slide11-mode .mre-stage-shell {
  display: block !important;
}

@media (max-width: 900px) {
  .mre-main-process-table {
    font-size: 8px;
  }

  .mre-main-process-choice {
    width: 22px;
    height: 22px;
  }

  .mre-main-process-choice > span {
    width: 12px;
    height: 12px;
  }
}



/* MRE_MAIN_PROGRESS_INLINE_FIX_20260716_V2 */

/*
 * Remove definitivamente o antigo selo amarelo
 * posicionado separadamente.
 */
.mre-main-reference-badge {
  display: none !important;
}

/*
 * Número e pergunta na mesma linha.
 */
.mre-main-inline-question {
  position: absolute;
  z-index: 60;
  display: flex;
  align-items: baseline;
  gap: 0.55em;
  box-sizing: border-box;
  padding: 0.25% 0.35%;
  overflow: hidden;
  pointer-events: none;
  color: #bcbcbc;
  font-family:
    Arial,
    Helvetica,
    sans-serif;
  font-size: clamp(14px, 1.48vw, 28px);
  line-height: 1.25;
  white-space: normal;
}

.mre-inline-reference {
  flex: 0 0 auto;
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f2c14d;
  font: inherit;
  font-weight: 800;
  line-height: inherit;
}

.mre-inline-question-text {
  display: inline;
  min-width: 0;
  color: #bcbcbc;
  font: inherit;
  font-weight: 400;
  line-height: inherit;
}

/*
 * Nas matrizes 2.2 e 2.3 o número já estava inline,
 * mas o fundo amarelo é removido.
 */
.mre-main-question-line > span {
  padding: 0 !important;
  background: transparent !important;
  color: #c49b2f !important;
  font-weight: 800 !important;
}

/*
 * ERP: adiciona 5.1 no próprio enunciado.
 */
.mre-main-erp-overlay h2::before {
  content: "5.1. ";
  color: #c49b2f;
  font-weight: 800;
}

/*
 * Máscara que cobre a linha desenhada na imagem.
 * A máscara possui a mesma cor da célula.
 * O INPUT continua totalmente transparente.
 */
.mre-main-text-mask {
  position: absolute;
  z-index: 61;
  display: block;
  border: 0;
  outline: 0;
  box-shadow: none;
  pointer-events: none;
}

/*
 * Campo de digitação sem caixa colorida,
 * sem borda e sem linha.
 */
.mre-text-hotspot {
  z-index: 62 !important;
  border: 0 !important;
  border-bottom: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: #f2f2f2 !important;
  caret-color: #ffffff !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.mre-text-hotspot:hover,
.mre-text-hotspot:focus,
.mre-text-hotspot:focus-visible,
.mre-text-hotspot:active {
  border: 0 !important;
  border-bottom: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

.mre-text-hotspot::placeholder {
  color: rgba(242, 242, 242, 0.72) !important;
  opacity: 1 !important;
}

.mre-text-hotspot::selection {
  background: transparent !important;
  color: #ffffff !important;
}



/* MRE_MAIN_COURSE_VISUAL_FIX_V3 */

/*
 * Desativa todos os antigos números soltos.
 */
.mre-main-reference-badge,
.mre-main-inline-question,
.mre-main-text-mask {
  display: none !important;
}

/*
 * Número e enunciado formam uma frase única.
 * Mesma cor, mesma fonte e mesmo alinhamento.
 */
.mre-main-inline-question-v3 {
  position: absolute;
  z-index: 70;

  display: flex;
  align-items: center;

  box-sizing: border-box;
  padding: 0 0.3%;

  overflow: hidden;

  background: #202020;
  color: #bdbdbd;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  font-weight: 400;
  line-height: 1.22;

  white-space: normal;
  pointer-events: none;
}

/*
 * 2.2 e 2.3:
 * número com a mesma cor do enunciado.
 */
.mre-main-question-line > span,
.mre-main-question-line > strong {
  background: transparent !important;
  color: #111111 !important;
  font-weight: 500 !important;
}

/*
 * ERP:
 * 5.1 com a mesma cor do enunciado.
 */
.mre-main-erp-overlay h2::before {
  color: inherit !important;
  font-weight: inherit !important;
}

/*
 * Cobre apenas a linha original, sem criar caixa.
 */
.mre-main-text-line-cover-v3 {
  position: absolute;
  z-index: 71;

  display: block;

  border: 0;
  outline: 0;
  box-shadow: none;

  pointer-events: none;
}

/*
 * Campo Digite aqui completamente transparente.
 */
.mre-text-hotspot {
  z-index: 73 !important;

  border: 0 !important;
  border-bottom: 0 !important;

  outline: 0 !important;
  box-shadow: none !important;

  border-radius: 0 !important;

  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;

  appearance: none !important;
  -webkit-appearance: none !important;

  color: #d0d0d0 !important;
  -webkit-text-fill-color: #d0d0d0 !important;

  caret-color: #ffffff !important;
}

.mre-text-hotspot:hover,
.mre-text-hotspot:focus,
.mre-text-hotspot:focus-visible,
.mre-text-hotspot:active {
  border: 0 !important;
  border-bottom: 0 !important;

  outline: 0 !important;
  box-shadow: none !important;

  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

.mre-text-hotspot::placeholder {
  color: #c8c8c8 !important;
  -webkit-text-fill-color: #c8c8c8 !important;
  opacity: 1 !important;
}

/*
 * Impede cor azul ao selecionar o texto.
 */
.mre-text-hotspot::selection {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/*
 * Slides 4, 8, 9, 10 e 11: o PNG é a única camada visual.
 * O layer mantém somente os controles clicáveis e os campos de resposta.
 */
.mre-diagnostic-page #mreSlideWrap[data-current-slide="4"] > :not(.mre-slide-img):not(#mreHotspotLayer),
.mre-diagnostic-page #mreSlideWrap[data-current-slide="8"] > :not(.mre-slide-img):not(#mreHotspotLayer),
.mre-diagnostic-page #mreSlideWrap[data-current-slide="9"] > :not(.mre-slide-img):not(#mreHotspotLayer),
.mre-diagnostic-page #mreSlideWrap[data-current-slide="10"] > :not(.mre-slide-img):not(#mreHotspotLayer),
.mre-diagnostic-page #mreSlideWrap[data-current-slide="11"] > :not(.mre-slide-img):not(#mreHotspotLayer) {
  display: none !important;
}

.mre-diagnostic-page #mreSlideWrap[data-current-slide="4"] #mreHotspotLayer > :not(.mre-hotspot):not(.mre-text-hotspot),
.mre-diagnostic-page #mreSlideWrap[data-current-slide="8"] #mreHotspotLayer > :not(.mre-hotspot):not(.mre-text-hotspot),
.mre-diagnostic-page #mreSlideWrap[data-current-slide="9"] #mreHotspotLayer > :not(.mre-hotspot):not(.mre-text-hotspot),
.mre-diagnostic-page #mreSlideWrap[data-current-slide="10"] #mreHotspotLayer > :not(.mre-hotspot):not(.mre-text-hotspot),
.mre-diagnostic-page #mreSlideWrap[data-current-slide="11"] #mreHotspotLayer > :not(.mre-hotspot):not(.mre-text-hotspot) {
  display: none !important;
}

.mre-diagnostic-page #mreSlideWrap[data-current-slide="4"] .mre-text-hotspot::placeholder,
.mre-diagnostic-page #mreSlideWrap[data-current-slide="8"] .mre-text-hotspot::placeholder {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  opacity: 0 !important;
}


/* MRE_PDF_ONLY_FINAL */
body .mre-result-page .mre-result-shell > * {
  display: none !important;
}

body .mre-result-page .mre-result-shell > .mre-result-header {
  display: flex !important;
  justify-content: center !important;
  padding: 70px 30px !important;
  border-bottom: 0 !important;
}

body .mre-result-page .mre-result-header > div:first-child {
  display: none !important;
}

body .mre-result-page .mre-result-toolbar {
  display: flex !important;
  justify-content: center !important;
}

body .mre-result-page .mre-result-toolbar > * {
  display: none !important;
}

body .mre-result-page #mreResultDownload {
  display: inline-flex !important;
  min-width: 260px !important;
  justify-content: center !important;
  font-size: 16px !important;
}

/* ACADEMY_ONLY */
.mre-admin-elmo,.mre-header-elmo,.mre-elmo-stage,video.mre-elmo-video{display:none!important}.mre-brand-lockup{grid-template-columns:1fr!important;justify-items:center!important}

/* RESULT_PROGRESS_VISIBLE */
body .mre-result-page .mre-result-shell:not(:has(.mre-result-header))>.mre-result-analysis-loading{display:grid!important}
