/* ==========================================================================
   "En la sala de edición": proyectos en curso en forma de claquetas.
   ========================================================================== */

.edit-room {
  margin-top: clamp(56px,7vw,88px);
  background: #000000;
  color: #FFFFFF;
  padding: clamp(24px,3vw,40px);
}

.er-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .6rem 2rem;
  margin-bottom: 24px;
}

.er-head h3 {
  display: flex;
  align-items: center;
  gap: .55em;
  font-size: clamp(1.6rem,2.6vw,2.2rem);
  font-weight: 850;
  font-stretch: 112%;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.er-head p {
  color: #A9C2C6;
  font-size: 1rem;
  max-width: 44ch;
}

.er-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FF4D3D;
  flex: none;
  animation: erPulse 1.6s ease-in-out infinite;
}

.er-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 16px;
}

.slate {
  background: #0C181A;
  border: 1px solid rgba(255,255,255,.12);
}

.slate-top {
  height: 16px;
  background: repeating-linear-gradient(135deg,#FFFFFF 0 11px,#000000 11px 22px);
}

.slate-body {
  padding: 18px 18px 20px;
}

.slate h4 {
  font-size: 1.3rem;
  font-weight: 750;
  font-stretch: 105%;
  line-height: 1.2;
}

.slate .sector {
  color: #A9C2C6;
  font-size: .95rem;
  margin-top: 2px;
}

.slate .stage {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 18px;
  font-size: .92rem;
  font-weight: 600;
}

.slate .stage b {
  color: #5CD3E4;
  font-weight: 700;
}

.slate .stage span {
  color: #A9C2C6;
}

.segs {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.segs i {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,.16);
}

.segs i.done {
  background: var(--sect);
}

.segs i.now {
  background: var(--sect);
  animation: erPulse 1.6s ease-in-out infinite;
}

/* La sección va siempre en negro */
.edit-sec {
  background: #000000;
  color: #FFFFFF;
  padding-block: clamp(72px,9vw,120px);
}

.edit-sec ::selection {
  background: #13B3CA;
  color: #000000;
}

.edit-sec .edit-room {
  margin-top: 0;
  padding: 0;
  background: none;
}

.edit-sec .er-head {
  flex-direction: column;
  align-items: flex-start;
  gap: .9rem;
  margin-bottom: clamp(32px,4vw,48px);
}

.edit-sec .er-head h2 {
  display: flex;
  align-items: center;
  gap: .45em;
  font-size: clamp(2.2rem,4.6vw,4rem);
  font-weight: 850;
  font-stretch: 115%;
  letter-spacing: -.025em;
  line-height: 1;
}

.edit-sec .er-dot {
  width: clamp(12px,1.4vw,18px);
  height: clamp(12px,1.4vw,18px);
}

.edit-sec .er-head p {
  font-size: 1.1rem;
}

@media (prefers-reduced-motion:reduce) {
  .er-dot, .segs i.now {
    animation: none;
  }
}
