/* Overlay de execução em tela cheia */
.execucao {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  background: var(--cor-fundo);
  color: var(--cor-texto);
  padding: env(safe-area-inset-top) var(--esp-4) env(safe-area-inset-bottom);
}

body.execucao-aberta { overflow: hidden; }

.execucao__topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--altura-header);
  flex-shrink: 0;
}
.execucao__nome { font-weight: 700; font-size: 0.95rem; }
.execucao__x {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--cor-texto-suave);
  cursor: pointer;
  padding: var(--esp-2);
}

.execucao__palco {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--esp-3);
  border-radius: var(--raio-grande);
  transition: background 0.2s ease;
  padding: var(--esp-4);
}

.execucao__fase {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}
.execucao__tempo {
  font-size: 5rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.execucao__rotulo { font-size: 1.15rem; font-weight: 600; }
.execucao__extra { width: 100%; max-width: 420px; }

/* Cores por tipo de fase */
.fase-acao   { background: var(--cor-primaria-suave); }
.fase-round  { background: var(--cor-primaria-suave); }
.fase-cap    { background: var(--cor-primaria-suave); }
.fase-amrap  { background: var(--cor-primaria-suave); }
.fase-descanso { background: color-mix(in srgb, var(--cor-aviso) 18%, var(--cor-fundo)); }
.fase-fim { background: var(--cor-primaria-suave); }

.fase-acao .execucao__tempo, .fase-round .execucao__tempo,
.fase-cap .execucao__tempo, .fase-amrap .execucao__tempo,
.fase-fim .execucao__tempo { color: var(--cor-primaria-forte); }
.fase-descanso .execucao__tempo { color: var(--cor-aviso); }

.execucao__blocos {
  text-align: left;
  margin: 0 auto var(--esp-4);
  display: flex;
  flex-direction: column;
  gap: var(--esp-1);
  font-size: 0.95rem;
}
.execucao__blocos li { padding-left: var(--esp-3); position: relative; }
.execucao__blocos li::before { content: "•"; position: absolute; left: 0; color: var(--cor-primaria); }

/* Contadores do AMRAP */
.execucao__contadores {
  display: flex;
  justify-content: center;
  gap: var(--esp-6);
  margin-bottom: var(--esp-4);
}
.execucao__contadores div { display: flex; flex-direction: column; align-items: center; }
.execucao__valor { font-size: 2.4rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.execucao__contadores small { color: var(--cor-texto-suave); text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.05em; }
.execucao__mais { display: flex; gap: var(--esp-2); }
.execucao__mais .botao { flex: 1; }

.execucao__base {
  display: flex;
  gap: var(--esp-2);
  padding: var(--esp-3) 0 var(--esp-4);
  flex-shrink: 0;
}
.execucao__base .botao { flex: 1; }

.execucao__acoes-fim { display: flex; flex-direction: column; gap: var(--esp-2); }
