/* ── SIDEBAR: secciones, campos, tags, acciones ──────────────────── */
.admin-sidebar::-webkit-scrollbar { width: 3px; }
.admin-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.sidebar-section { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.sidebar-section-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.toggle-icon { font-size: 10px; transition: transform 0.15s; }
.sidebar-section.collapsed .toggle-icon { transform: rotate(-90deg); }
.sidebar-section-body { overflow: hidden; max-height: 800px; transition: max-height 0.25s ease; }
.sidebar-section.collapsed .sidebar-section-body { max-height: 0; }

.sidebar-field { display: flex; justify-content: space-between; padding: 5px 0; font-size: 13px; gap: 8px; }
.sfl { color: var(--muted); flex-shrink: 0; }
.sfv { color: var(--ink); font-weight: 500; text-align: right; word-break: break-word; }

.sidebar-btn {
  display: block;
  width: 100%;
  padding: 9px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 7px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  transition: all 0.15s;
  text-decoration: none;
}
.sidebar-btn:last-child { margin-bottom: 0; }
.sidebar-btn-primary { background: var(--purple); color: white; border: none; }
.sidebar-btn-primary:hover { opacity: 0.9; }
.sidebar-btn-secondary { background: transparent; border: 1px solid var(--purple); color: var(--purple); }
.sidebar-btn-secondary:hover { background: rgba(105,28,255,0.05); }
.sidebar-btn-danger { background: transparent; border: 1px solid var(--danger); color: var(--danger); }
.sidebar-btn-danger:hover { background: rgba(255,68,68,0.05); }

.score-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.score-val { font-size: 26px; font-weight: 700; line-height: 1; }
.score-den { font-size: 11px; color: var(--muted); font-weight: 400; }

.status-select {
  flex: 1;
  padding: 5px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}
.status-select:focus { border-color: var(--purple); outline: none; }

.tag-pills { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 11px;
  color: var(--ink);
}
.tag-remove {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  font-size: 12px;
  line-height: 1;
  display: flex;
  align-items: center;
}
.tag-remove:hover { color: var(--danger); }
.tag-input {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--white);
}
.tag-input:focus { border-color: var(--purple); outline: none; }

.sidebar-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.3); z-index: 99; }
