#sector-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: 80vh;
  background: #fff;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 100;
  padding: 1rem;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
#sector-sheet.open {
  transform: translateY(0);
}
#sheet-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
#sheet-img {
  width: 100%;
  height: 160px;
  background-position: center;
  background-size: cover;
  border-radius: 8px;
}
#sheet-title {
  margin: 0.5rem 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 700;
}
#sheet-desc {
  flex: 1;
  font-size: 1rem;
}

/* ——— Modal de confirmación sec1 ——— */
.confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.confirm-overlay.open {
  display: flex;
}

.confirm-card {
  width: min(420px, calc(100% - 2rem));
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  opacity: 0;
  animation: confirmIn 0.25s ease forwards;
}
@keyframes confirmIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.confirm-close {
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
  border: 0;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

/* Botones apilados */
.confirm-card .btn {
  font-weight: 600;
}
