/* ─── RESET & BASE ───────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: #e8f0fe;
  color: #1e3a5f;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; }

/* ─── LAYOUT ─────────────────────────────────────── */
.layout { display: flex; min-height: 100vh; }

/* ─── SIDEBAR ────────────────────────────────────── */
.sidebar {
  width: 230px;
  min-width: 230px;
  background: #1a3a6b;
  border-right: 1px solid #1e4080;
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px 24px;
  border-bottom: 1px solid #1e4080;
  margin-bottom: 12px;
}
.sidebar-icon { font-size: 28px; }
.sidebar-brand { font-weight: 800; font-size: 16px; color: #fff; }
.sidebar-sub { font-size: 11px; color: #93c5fd; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }

.sidebar-nav { padding: 0 12px; flex: 1; }
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #bfdbfe;
  transition: all .15s;
  cursor: pointer;
  margin-bottom: 2px;
}
.nav-item:hover { background: #1e4d9b; color: #fff; }
.nav-item.active { background: #2563eb; color: #fff; font-weight: 600; }
.nav-icon { font-size: 16px; min-width: 20px; }

.sidebar-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: #60a5fa;
  padding: 16px 20px 8px;
}
.sidebar-actions { padding: 0 12px; }
.btn-sidebar {
  width: 100%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s;
  text-align: left;
}
.btn-sidebar:hover { opacity: .88; }

.sidebar-footer { padding: 16px 12px 0; margin-top: auto; border-top: 1px solid #1e4080; }
.nav-logout { color: #fca5a5 !important; }
.nav-logout:hover { background: #7f1d1d40 !important; }

/* ─── MAIN ───────────────────────────────────────── */
.main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }

/* ─── TOPBAR ─────────────────────────────────────── */
.topbar {
  background: #fff;
  border-bottom: 1px solid #bfdbfe;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar-title { font-size: 18px; font-weight: 700; color: #1e3a5f; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.user-badge {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
}

/* ─── CONTENT ────────────────────────────────────── */
.content { padding: 28px; overflow-y: auto; flex: 1; }

/* ─── ALERTS ─────────────────────────────────────── */
.alert-error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  padding: 12px 20px;
  border-radius: 8px;
  margin: 0 28px 16px;
  font-size: 14px;
}
.alert-success {
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #166534;
  padding: 12px 20px;
  border-radius: 8px;
  margin: 0 28px 16px;
  font-size: 14px;
}

/* ─── STATS ──────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.stat-card {
  background: #fff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform .15s;
}
.stat-card:hover { transform: translateY(-2px); }
.stat-icon { font-size: 24px; }
.stat-value { font-size: 32px; font-weight: 800; color: #1e3a5f; }
.stat-label { font-size: 12px; color: #64748b; font-weight: 500; text-transform: uppercase; letter-spacing: .5px; }
.stat-total { border-top: 3px solid #2563eb; }
.stat-warning { border-top: 3px solid #f59e0b; }
.stat-info { border-top: 3px solid #3b82f6; }
.stat-success { border-top: 3px solid #10b981; }
.stat-purple { border-top: 3px solid #6366f1; }

/* ─── SECTION HEADER ─────────────────────────────── */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-title { font-size: 16px; font-weight: 700; color: #1e3a5f; }
.section-link { font-size: 13px; color: #2563eb; }
.section-link:hover { text-decoration: underline; }

/* ─── QUICK ACTIONS ──────────────────────────────── */
.quick-actions { display: flex; gap: 16px; margin-bottom: 28px; }
.btn-action-lg {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 16px 20px;
  cursor: pointer;
  transition: all .15s;
  flex: 1;
  color: #1e3a5f;
}
.btn-action-lg:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,.12); }
.btn-action-lg strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.btn-action-lg small { font-size: 12px; color: #64748b; }
.btn-icon { font-size: 24px; }
.btn-purple { border-left: 3px solid #6366f1; }
.btn-orange { border-left: 3px solid #f59e0b; }
.btn-green { border-left: 3px solid #10b981; }

/* ─── TWO COL ────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ─── PANEL ──────────────────────────────────────── */
.panel {
  background: #fff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 20px;
}
.panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.panel-header h3 { font-size: 15px; font-weight: 700; color: #1e3a5f; }
.panel-link { font-size: 13px; color: #2563eb; }

/* ─── IDEA ROW ───────────────────────────────────── */
.idea-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #dbeafe;
}
.idea-row:last-child { border-bottom: none; }
.idea-thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  background: #dbeafe;
  flex-shrink: 0;
}
.idea-thumb-empty {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.idea-titulo { font-size: 13px; font-weight: 600; color: #1e3a5f; margin-bottom: 6px; }
.idea-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.empty-state { color: #93c5fd; font-size: 13px; text-align: center; padding: 20px 0; }

/* ─── DISTRIBUTION BARS ──────────────────────────── */
.dist-section { }
.dist-label { font-size: 12px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px; }
.dist-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 13px; }
.dist-name { width: 90px; color: #1e3a5f; font-size: 12px; }
.dist-bar-wrap { flex: 1; background: #dbeafe; border-radius: 4px; height: 6px; }
.dist-bar { height: 6px; border-radius: 4px; background: #2563eb; transition: width .3s; }
.dist-bar-purple { background: #6366f1; }
.dist-count { width: 28px; text-align: right; color: #64748b; font-size: 12px; }

/* ─── RECIENTES ──────────────────────────────────── */
.recientes-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 16px; }
.reciente-card {
  background: #fff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  overflow: hidden;
}
.reciente-img { width: 100%; height: 120px; object-fit: cover; display: block; }
.reciente-info { padding: 10px 12px; }
.reciente-titulo { font-size: 12px; font-weight: 600; color: #1e3a5f; margin-bottom: 6px; line-height: 1.4; }
.reciente-meta { display: flex; gap: 5px; flex-wrap: wrap; }

/* ─── BADGES ─────────────────────────────────────── */
.badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  display: inline-block;
}
.badge-aprobado { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.badge-publicado { background: #ede9fe; color: #5b21b6; border: 1px solid #c4b5fd; }
.badge-pendiente { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }
.badge-plat { background: #dbeafe; color: #1d4ed8; }
.badge-tipo { background: #eff6ff; color: #3b82f6; }
.badge-cat { background: #f1f5f9; color: #64748b; }

/* ─── TOOLBAR ────────────────────────────────────── */
.toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.search-form { flex: 1; min-width: 240px; }
.search-wrap { display: flex; gap: 0; }
.search-input {
  flex: 1;
  background: #fff;
  border: 1px solid #bfdbfe;
  border-right: none;
  color: #1e3a5f;
  padding: 10px 16px;
  border-radius: 8px 0 0 8px;
  font-size: 14px;
  outline: none;
}
.search-input::placeholder { color: #93c5fd; }
.search-input:focus { border-color: #2563eb; }
.search-btn {
  background: #2563eb;
  border: none;
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  font-size: 14px;
}
.filtros { display: flex; gap: 8px; flex-wrap: wrap; }
.filtro-btn {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  background: #fff;
  border: 1px solid #bfdbfe;
  color: #3b82f6;
  cursor: pointer;
  transition: all .15s;
}
.filtro-btn:hover, .filtro-btn.active { background: #2563eb; color: #fff; border-color: #2563eb; }
.filtro-green.active { background: #16a34a; color: #fff; border-color: #16a34a; }
.filtro-purple.active { background: #7c3aed; color: #fff; border-color: #7c3aed; }
.filtro-gray.active { background: #f59e0b; color: #fff; border-color: #f59e0b; }

.result-count { font-size: 13px; color: #64748b; margin-bottom: 12px; }

/* ─── IDEAS LIST ─────────────────────────────────── */
.ideas-list { display: flex; flex-direction: column; gap: 12px; }
.idea-card {
  background: #fff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  display: flex;
  gap: 0;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.idea-card:hover { border-color: #2563eb; box-shadow: 0 2px 12px rgba(37,99,235,.1); }

.idea-card-media {
  width: 90px;
  min-width: 90px;
  position: relative;
  background: #dbeafe;
}
.idea-card-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  display: block;
}
.idea-card-img-empty {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: #dbeafe;
}
.idea-card-status {
  position: absolute;
  bottom: 4px;
  left: 4px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.status-aprobado { background: #16a34acc; color: #fff; }
.status-publicado { background: #7c3aedcc; color: #fff; }
.status-pendiente, .status- { background: #64748bcc; color: #fff; }

.idea-card-body { flex: 1; padding: 14px 16px; }
.idea-card-id { font-size: 11px; color: #93c5fd; font-family: monospace; margin-bottom: 4px; }
.idea-card-titulo { font-size: 14px; font-weight: 600; color: #1e3a5f; margin-bottom: 8px; line-height: 1.4; }
.idea-card-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.idea-card-caption { font-size: 12px; color: #64748b; line-height: 1.5; margin-bottom: 6px; }
.idea-card-fecha { font-size: 11px; color: #93c5fd; }

.idea-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  justify-content: center;
  min-width: 120px;
}

/* ─── BUTTONS ────────────────────────────────────── */
.btn-sm {
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity .15s;
  white-space: nowrap;
  text-align: center;
  display: inline-block;
}
.btn-sm:hover { opacity: .85; }
.btn-blue { background: #2563eb; color: #fff; }
.btn-green { background: #10b981; color: #fff; }
.btn-red { background: #ef4444; color: #fff; }
.btn-gray { background: #e2e8f0; color: #1e3a5f; }

.btn-action { background: #2563eb; color: #fff; border: none; padding: 10px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; }

/* ─── EMPTY STATE BIG ────────────────────────────── */
.empty-big { text-align: center; padding: 80px 20px; }
.empty-icon { font-size: 48px; margin-bottom: 16px; }
.empty-text { font-size: 16px; color: #93c5fd; }

/* ─── TOAST ──────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  max-width: 360px;
  box-shadow: 0 8px 30px rgba(37,99,235,.2);
  transition: all .3s;
}
.toast.hidden { opacity: 0; pointer-events: none; transform: translateY(10px); }
.toast.success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.toast.error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.toast.info { background: #dbeafe; color: #1d4ed8; border: 1px solid #93c5fd; }
.toast.loading { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }

/* ─── LOGIN ──────────────────────────────────────── */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a3a6b 0%, #1d4ed8 100%);
}
.login-box {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.login-logo { text-align: center; margin-bottom: 28px; }
.login-logo .logo-icon { font-size: 40px; display: block; margin-bottom: 8px; }
.login-logo h1 { font-size: 22px; font-weight: 800; color: #1e3a5f; }
.login-logo p { font-size: 13px; color: #64748b; margin-top: 4px; }
.login-field { margin-bottom: 16px; }
.login-field label { display: block; font-size: 13px; font-weight: 600; color: #1e3a5f; margin-bottom: 6px; }
.login-field input {
  width: 100%;
  background: #f8faff;
  border: 1.5px solid #bfdbfe;
  color: #1e3a5f;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color .15s;
}
.login-field input:focus { border-color: #2563eb; }
.login-btn {
  width: 100%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: opacity .2s;
}
.login-btn:hover { opacity: .9; }

/* ─── BREADCRUMB ─────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; font-size: 14px; }
.breadcrumb-link { color: #2563eb; font-weight: 500; }
.breadcrumb-link:hover { text-decoration: underline; }
.breadcrumb-sep { color: #93c5fd; }
.breadcrumb-cur { color: #64748b; font-family: monospace; font-size: 13px; }

/* ─── DETALLE LAYOUT ─────────────────────────────── */
.detalle-layout { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }

.detalle-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detalle-media {
  background: #fff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  overflow: hidden;
}
.detalle-img { width: 100%; display: block; max-height: 280px; object-fit: cover; }
.detalle-img-empty {
  width: 100%;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  background: #dbeafe;
  color: #3b82f6;
  gap: 8px;
}
.detalle-img-empty small { font-size: 13px; font-weight: 500; }

.detalle-estado {
  background: #fff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.detalle-estado-label { font-size: 13px; font-weight: 600; color: #64748b; }
.status-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.status-pill.status-aprobado { background: #dcfce7; color: #166534; }
.status-pill.status-publicado { background: #ede9fe; color: #5b21b6; }
.status-pill.status-pendiente, .status-pill.status- { background: #f1f5f9; color: #64748b; }

.detalle-meta-box {
  background: #fff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.detalle-meta-row { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.detalle-meta-row span:first-child { color: #64748b; font-weight: 500; }
.detalle-meta-row span:last-child, .detalle-meta-row code { color: #1e3a5f; font-weight: 600; font-size: 11px; word-break: break-all; text-align: right; max-width: 150px; }

.detalle-acciones { display: flex; flex-direction: column; gap: 8px; }
.btn-accion {
  width: 100%;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity .15s, transform .1s;
  text-align: center;
}
.btn-accion:hover:not(:disabled) { opacity: .88; transform: translateY(-1px); }
.btn-accion:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-accion.btn-blue { background: #2563eb; color: #fff; }
.btn-accion.btn-green { background: #16a34a; color: #fff; }
.btn-accion.btn-orange { background: #f59e0b; color: #fff; }
.btn-accion.btn-red { background: #dc2626; color: #fff; }
.btn-accion.btn-outline-blue { background: #eff6ff; color: #2563eb; border: 1.5px solid #bfdbfe; }
.btn-accion.btn-outline-green { background: #f0fdf4; color: #16a34a; border: 1.5px solid #86efac; }

/* ─── DETALLE FORM ───────────────────────────────── */
.detalle-form {
  background: #fff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.detalle-form-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.detalle-titulo-display {
  font-size: 18px;
  font-weight: 700;
  color: #1e3a5f;
  line-height: 1.4;
  flex: 1;
}
.form-section { margin-bottom: 16px; }
.form-row { display: flex; gap: 12px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: #1e3a5f; margin-bottom: 6px; }
.form-hint { font-weight: 400; color: #94a3b8; font-size: 12px; }
.form-input {
  width: 100%;
  background: #f8faff;
  border: 1.5px solid #bfdbfe;
  color: #1e3a5f;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color .15s;
  font-family: inherit;
}
.form-input:focus { border-color: #2563eb; background: #fff; }
.form-textarea {
  width: 100%;
  background: #f8faff;
  border: 1.5px solid #bfdbfe;
  color: #1e3a5f;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  outline: none;
  transition: border-color .15s;
  resize: vertical;
  font-family: inherit;
  line-height: 1.6;
}
.form-textarea:focus { border-color: #2563eb; background: #fff; }

/* ─── TEXTO IMAGEN PANEL ────────────────────────── */
.texto-imagen-panel {
  background: #f0f7ff;
  border: 1.5px solid #bfdbfe;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
}
.texto-imagen-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.texto-imagen-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  align-items: start;
}
.img-preview-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #dbeafe;
  aspect-ratio: 9/16;
  max-height: 240px;
}
.img-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-preview-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  background: #dbeafe;
}
.texto-overlay {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  padding: 6px 8px;
  pointer-events: none;
}
.texto-overlay span {
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .5px;
  max-width: 90%;
}
/* Positions */
.pos-top-left    { top: 8px;  justify-content: flex-start; }
.pos-top-center  { top: 8px;  justify-content: center; }
.pos-top-right   { top: 8px;  justify-content: flex-end; }
.pos-center-left { top: 50%; transform: translateY(-50%); justify-content: flex-start; }
.pos-center      { top: 50%; transform: translateY(-50%); justify-content: center; }
.pos-center-right{ top: 50%; transform: translateY(-50%); justify-content: flex-end; }
.pos-bottom-left { bottom: 8px; justify-content: flex-start; }
.pos-bottom-center{ bottom: 8px; justify-content: center; }
.pos-bottom-right{ bottom: 8px; justify-content: flex-end; }

/* Position picker grid */
.pos-grid {
  display: grid;
  grid-template-columns: repeat(3, 36px);
  grid-template-rows: repeat(3, 36px);
  gap: 4px;
  margin-top: 6px;
}
.pos-cell {
  border-radius: 6px;
  background: #dbeafe;
  border: 2px solid #bfdbfe;
  cursor: pointer;
  transition: all .15s;
}
.pos-cell:hover { background: #93c5fd; border-color: #3b82f6; }
.pos-cell.active { background: #2563eb; border-color: #1d4ed8; }

/* ─── IDEA CARD CLICKABLE ────────────────────────── */
.idea-card-link { display: contents; }
.idea-card { cursor: pointer; }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1200px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .recientes-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .sidebar { display: none; }
  .two-col { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-actions { flex-direction: column; }
}
