/* =============================================
   CRM EFISUR — style.css (base: template rbcsur, paleta corporativa EFISUR)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Sidebar */
  --sidebar-width: 260px;
  --sidebar-bg: #0f1117;
  --sidebar-border: rgba(255,255,255,0.06);

  /* Topbar */
  --topbar-height: 62px;
  --topbar-bg: #0f1117;
  --topbar-border: rgba(255,255,255,0.07);

  /* Accent */
  --accent: #009B27;
  --accent-soft: rgba(0,155,39,0.12);
  --accent-hover: #00801f;

  /* Content */
  --content-bg: #f4f6fb;

  /* Text */
  --text-main: #1a1d2e;
  --text-muted: #8a8fa8;

  /* Sidebar text */
  --menu-text: rgba(255,255,255,0.6);
  --menu-text-active: #ffffff;
  --menu-hover-bg: rgba(255,255,255,0.06);
  --menu-active-bg: rgba(0,155,39,0.18);

  /* Typography */
  --font-main: 'DM Sans', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-main);
  background: var(--content-bg);
  color: var(--text-main);
  overflow-x: hidden;
}

/* ── TOPBAR ─────────────────────────────────── */

#topbar {
  height: var(--topbar-height);
  background: #f0f2f5;
  border-bottom: 1px solid #d1d5db;
  z-index: 1050;
  left: 0;
  right: 0;
}

.brand-icon {
  width: 34px; height: 34px;
  background: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,155,39,0.4);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #1a1d2e;
  letter-spacing: -.3px;
}

/* Icon buttons */
.icon-btn {
  background: none; border: none; outline: none;
  color: #6b7280;
  font-size: 1.15rem;
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .18s, color .18s;
  position: relative;
}
.icon-btn:hover { background: #e5e7eb; color: #1a1d2e; }

.badge-dot {
  position: absolute;
  top: 6px; right: 6px;
  width: 8px; height: 8px;
  background: #ff5c6a;
  border-radius: 50%;
  border: 2px solid #f0f2f5;
}

/* User pill */
.user-pill {
  display: flex; align-items: center; gap: 10px;
  background: #e5e7eb;
  border: 1px solid #d1d5db;
  border-radius: 50px;
  padding: 5px 14px 5px 6px;
  cursor: pointer;
  transition: background .18s;
  text-decoration: none;
  color: #1a1d2e;
}
.user-pill:hover { background: #d1d5db; color: #1a1d2e; }
.user-pill::after { display: none; }

.avatar-circle {
  width: 30px; height: 30px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  color: #fff;
  flex-shrink: 0;
}

.avatar-circle-sm {
  width: 34px; height: 34px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; color: #fff;
  flex-shrink: 0;
}

.user-info { display: flex; flex-direction: column; line-height: 1.2; }
.user-name  { font-size: .8rem; font-weight: 600; color: #1a1d2e; }
.user-role  { font-size: .68rem; color: #6b7280; }
.chevron-icon { font-size: .7rem; color: #6b7280; margin-left: 2px; }

/* Dropdown menu */
.dropdown-menu {
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 14px;
  overflow: hidden;
  min-width: 200px;
  font-size: .86rem;
}
.dropdown-item { padding: .55rem 1rem; border-radius: 0; transition: background .15s; }
.dropdown-item:hover { background: var(--accent-soft); color: var(--accent); }
.dropdown-item.text-danger:hover { background: rgba(255,92,106,.08); }

/* ── SIDEBAR ─────────────────────────────────── */

#sidebar {
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  width: var(--sidebar-width);
  height: calc(100vh - var(--topbar-height));
  background: var(--sidebar-bg);
  border-right: 1px solid var(--sidebar-border);
  transition: transform .26s ease;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}
#sidebar::-webkit-scrollbar { width: 4px; }
#sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

/* Section labels */
.menu-section-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  padding: 1.4rem 1.2rem .4rem;
  user-select: none;
}

/* Menu list */
.menu-list {
  list-style: none;
  padding: 0 .6rem;
  margin: 0;
}

/* Menu item */
.menu-item { border-radius: 10px; overflow: visible; }

/* Menu link */
.menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: .6rem .85rem;
  border-radius: 10px;
  color: var(--menu-text);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  transition: background .18s, color .18s;
  cursor: pointer;
  user-select: none;
}
.menu-link:hover { background: var(--menu-hover-bg); color: var(--menu-text-active); }
.menu-link i:first-child { font-size: 1rem; flex-shrink: 0; }

/* Active state */
.menu-item.active > .menu-link {
  background: var(--menu-active-bg);
  color: var(--menu-text-active);
}
.menu-item.active > .menu-link i:first-child { color: var(--accent); }

/* Arrow icon rotation */
.arrow-icon {
  font-size: .7rem !important;
  transition: transform .22s ease;
  margin-left: auto !important;
  flex-shrink: 0;
}
.menu-link[aria-expanded="true"] .arrow-icon { transform: rotate(90deg); }

/* Badge */
.menu-badge {
  font-size: .62rem;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  padding: 1px 7px;
  border-radius: 20px;
  line-height: 1.6;
  margin-left: auto;
}
.menu-badge.badge-warning { background: #ff9f43; }

/* Submenu */
.submenu-list {
  list-style: none;
  padding: .25rem 0 .25rem 1.6rem;
  margin: 0;
}
.submenu-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: .42rem .8rem;
  border-radius: 8px;
  color: var(--menu-text);
  text-decoration: none;
  font-size: .83rem;
  font-weight: 400;
  transition: background .15s, color .15s;
}
.submenu-link:hover { color: var(--menu-text-active); background: var(--menu-hover-bg); }
.submenu-link.active { color: var(--accent); font-weight: 600; }
.submenu-link i { font-size: 1.1rem; color: var(--accent); }

/* Sidebar footer */
.sidebar-footer {
  margin-top: auto;
  padding: 1rem 1.4rem .5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .72rem;
  color: rgba(255,255,255,0.22);
  border-top: 1px solid var(--sidebar-border);
  margin-top: 1.5rem;
}

/* Sidebar colapsado */
body.sidebar-hidden #sidebar {
  transform: translateX(calc(-1 * var(--sidebar-width)));
}
body.sidebar-hidden #main-content {
  margin-left: 0;
}

/* ── MAIN CONTENT ────────────────────────────── */

#main-content {
  margin-left: var(--sidebar-width);
  padding-top: var(--topbar-height);
  min-height: 100vh;
  transition: margin-left .26s ease;
}

.content-inner {
  padding: 2rem 2.2rem;
}

/* Page title */
.page-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -.4px;
  margin-bottom: .3rem;
}
.page-subtitle { font-size: .875rem; color: var(--text-muted); }

/* Cards */
.dash-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 1.4rem 1.6rem;
  transition: box-shadow .2s;
}
.dash-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); }

.stat-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}

.stat-label { font-size: .78rem; color: var(--text-muted); font-weight: 500; }
.stat-value { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; line-height: 1.1; }
.stat-change { font-size: .75rem; font-weight: 600; }
.stat-change.up   { color: #22c55e; }
.stat-change.down { color: #ef4444; }

/* Responsive */
@media (max-width: 991.98px) {
  :root { --sidebar-width: 220px; }
}

@media (max-width: 767.98px) {
  #sidebar { transform: translateX(-100%); transition: transform .28s ease; }
  #sidebar.show { transform: translateX(0); }
  #main-content { margin-left: 0; }
  .content-inner { padding: 1.25rem 1rem; }
}

/* ── LOGIN PAGE ──────────────────────────── */

.login-wrap {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background: var(--content-bg);
}

/* Panel izquierdo */
.login-brand {
  flex: 0 0 46%;
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem 3.5rem;
  position: relative;
  overflow: hidden;
}

.login-brand::before {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,155,39,0.2) 0%, transparent 70%);
  top: -80px; left: -80px;
  pointer-events: none;
}
.login-brand::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,155,39,0.12) 0%, transparent 70%);
  bottom: -60px; right: -60px;
  pointer-events: none;
}

.login-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.login-brand-logo img { height: 34px; }

.login-brand-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.login-brand-tagline {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -.5px;
  margin-bottom: 1rem;
}
.login-brand-tagline span {
  background: linear-gradient(135deg, var(--accent), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-brand-desc {
  font-size: .9rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.65;
  max-width: 340px;
}

.login-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.login-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .84rem;
  color: rgba(255,255,255,0.5);
}
.login-features li i {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(0,155,39,0.18);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
}

.login-brand-footer {
  font-size: .72rem;
  color: rgba(255,255,255,0.18);
  position: relative;
  z-index: 1;
}

.login-form-panel {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
}

.login-box {
  width: 100%;
  max-width: 400px;
}

.login-box-logo {
  text-align: center;
  margin-bottom: 2rem;
}
.login-box-logo img { height: 42px; }

.login-box-header {
  margin-bottom: 2rem;
}
.login-box-header h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -.4px;
  margin-bottom: .3rem;
}
.login-box-header p {
  font-size: .875rem;
  color: var(--text-muted);
}

.login-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.07);
  padding: 2.2rem 2rem;
  box-shadow: 0 4px 40px rgba(0,0,0,0.06);
}

/* Campos del formulario */
.login-field {
  margin-bottom: 1.1rem;
}
.login-field label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: .4rem;
}
.login-input-wrap {
  position: relative;
}
.login-input-wrap > i {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #c0c5d8;
  font-size: .95rem;
  pointer-events: none;
}
.login-input-wrap input {
  width: 100%;
  padding: .72rem 1rem .72rem 2.5rem;
  border: 1.5px solid #e2e6f0;
  border-radius: 12px;
  font-family: var(--font-main);
  font-size: .9rem;
  color: var(--text-main);
  background: #fafbff;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.login-input-wrap input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3.5px var(--accent-soft);
  background: #fff;
}
.login-input-wrap input::placeholder { color: #c8cce0; }

.login-pass-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #c0c5d8;
  cursor: pointer;
  font-size: .95rem;
  padding: 0;
  line-height: 1;
  transition: color .15s;
}
.login-pass-toggle:hover { color: var(--accent); }

/* Botón de envío */
.btn-login {
  width: 100%;
  padding: .78rem;
  border: none;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-main);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, box-shadow .18s, transform .1s;
  margin-top: .5rem;
  box-shadow: 0 6px 20px rgba(0,155,39,0.32);
}
.btn-login:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 24px rgba(0,155,39,0.42);
}
.btn-login:active { transform: scale(.985); }

/* Alerta de error */
.login-alert {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 12px;
  padding: .75rem 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: #be123c;
}
.login-alert i { font-size: 1rem; flex-shrink: 0; }

/* Pie del formulario */
.login-form-foot {
  margin-top: 1.5rem;
  text-align: center;
  font-size: .76rem;
  color: #b0b5c8;
}
.login-form-foot a {
  color: var(--accent);
  text-decoration: none;
}
.login-form-foot a:hover { text-decoration: underline; }

/* Responsive login */
@media (max-width: 767.98px) {
  .login-brand { display: none; }
  .login-form-panel { background: #fff; }
  .login-card { box-shadow: none; border: none; padding: 0; }
}

/* ── FICHA CLIENTE ───────────────────────────── */

.ficha-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  align-items: start;
}

/* Sidebar de la ficha */
.ficha-sidebar {
  position: sticky;
  top: calc(var(--topbar-height) + 1rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ficha-nav-block {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
  padding: .6rem .5rem;
}

.ficha-nav-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: .4rem .75rem .6rem;
}

.ficha-nav-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: .55rem .75rem;
  border-radius: 10px;
  font-size: .84rem;
  font-weight: 500;
  color: var(--text-main);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.ficha-nav-link i { font-size: .95rem; color: var(--text-muted); flex-shrink: 0; }
.ficha-nav-link:hover { background: var(--accent-soft); color: var(--accent); }
.ficha-nav-link:hover i { color: var(--accent); }
.ficha-nav-link.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.ficha-nav-link.active i { color: var(--accent); }

/* Contenido de la ficha */
.ficha-section-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ficha-section-title i { color: var(--accent); }

.ficha-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem 1.5rem;
}

.ficha-campo {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.ficha-campo-label {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
}
.ficha-campo-valor {
  font-size: .875rem;
  color: var(--text-main);
}

.ficha-divider {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
  border-top: 1px solid rgba(0,0,0,0.07);
  padding-top: 1rem;
  margin: 1.2rem 0 .75rem;
}

@media (max-width: 991.98px) {
  .ficha-layout { grid-template-columns: 1fr; }
  .ficha-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .ficha-nav-block { flex: 1 1 200px; }
}

@media (max-width: 575.98px) {
  .ficha-grid { grid-template-columns: 1fr; }
}

/* DataTables — borde inferior cabecera */
table.dataTable thead th,
table.dataTable thead td {
  border-bottom: 2px solid #bcbcbc !important;
}

/* ============================================================
   Flujo comercial — recorrido de fases
   ============================================================ */
.flujo-stepper {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.flujo-paso {
  flex: 1 1 0;
  position: relative;
  text-align: center;
  min-width: 0;
}

/* Línea que une un paso con el anterior */
.flujo-paso::before {
  content: '';
  position: absolute;
  top: 15px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.flujo-paso:first-child::before { display: none; }
.flujo-paso.completado::before,
.flujo-paso.actual::before      { background: #22c55e; }

.flujo-punto {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  margin: 0 auto .45rem;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
}

.flujo-paso.actual .flujo-punto,
.flujo-paso.completado .flujo-punto { color: #fff; }

.flujo-etiqueta {
  font-size: .74rem;
  line-height: 1.25;
  color: var(--text-muted);
  padding: 0 .25rem;
  overflow-wrap: break-word;
}

.flujo-paso.actual .flujo-etiqueta {
  color: var(--text-main);
  font-weight: 700;
}

@media (max-width: 575.98px) {
  .flujo-punto   { width: 26px; height: 26px; font-size: .72rem; }
  .flujo-paso::before { top: 12px; }
  .flujo-etiqueta { font-size: .66rem; }
}

/* ============================================================
   Tareas — listado y notificaciones
   ============================================================ */
.tarea-item {
  display: block;
  padding: .75rem .9rem;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background .15s;
}

.tarea-item:last-child { border-bottom: none; }
.tarea-item:hover      { background: var(--accent-soft); }
.tarea-item.no-leida   { background: #f0f6ff; }

.tarea-item.no-leida .tarea-titulo::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: .45rem;
  vertical-align: middle;
}

.tarea-titulo {
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .15rem;
}

.tarea-meta {
  font-size: .73rem;
  color: var(--text-muted);
}

/* Campana de notificaciones */
.notif-btn {
  position: relative;
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 1.15rem;
  padding: .25rem .4rem;
  cursor: pointer;
  line-height: 1;
}

.notif-btn:hover { color: #fff; }

.notif-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: #dc3545;
  color: #fff;
  font-size: .66rem;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}

.notif-menu {
  width: 330px;
  max-height: 420px;
  overflow-y: auto;
  padding: 0;
}

@media (max-width: 575.98px) {
  .notif-menu { width: calc(100vw - 2rem); }
}

/* ═══════════════════════════════════════════════════════════════
   Módulo Mantenimiento
   Recorrido de fases, checklist de requisitos, galería de fotos y
   tablero de tareas. Comparte lenguaje visual con el flujo de obra.
   ═══════════════════════════════════════════════════════════════ */

.mnt-fases        { display: flex; flex-wrap: wrap; gap: .5rem; }
.mnt-fase         { display: flex; align-items: center; gap: .45rem; border: 1.5px solid var(--border);
                    border-radius: 20px; padding: .3rem .8rem .3rem .35rem; background: #fff; }
.mnt-fase-num     { width: 22px; height: 22px; border-radius: 50%; background: #e5e7eb; color: #6b7280;
                    display: flex; align-items: center; justify-content: center;
                    font-size: .7rem; font-weight: 700; flex-shrink: 0; }
.mnt-fase-nombre  { font-size: .78rem; font-weight: 600; color: var(--text-main); white-space: nowrap; }
.mnt-fase.hecha .mnt-fase-num     { background: #22c55e; color: #fff; }
.mnt-fase.hecha .mnt-fase-nombre  { color: var(--text-muted); }
.mnt-fase.actual                  { border-width: 2px; border-color: var(--accent); background: var(--accent-soft); }
.mnt-fase.actual .mnt-fase-num    { background: var(--accent); color: #fff; }

.mnt-check        { list-style: none; padding: 0; margin: 0; }
.mnt-check li     { display: flex; align-items: center; gap: .5rem; font-size: .86rem;
                    padding: .4rem 0; border-bottom: 1px solid #f1f5f9; }
.mnt-check li:last-child { border-bottom: none; }
.mnt-check li.ok i   { color: #22c55e; }
.mnt-check li.ko i   { color: #ef4444; }
.mnt-check li.ko span { font-weight: 600; }

.mnt-doc          { padding: .75rem 0; border-bottom: 1px solid #f1f5f9; }
.mnt-doc:last-child { border-bottom: none; padding-bottom: 0; }
.mnt-doc-lista    { list-style: none; padding: 0; margin: .25rem 0 0; }
.mnt-doc-lista li { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
                    font-size: .82rem; padding: .2rem 0; }
.mnt-doc-lista a  { color: var(--accent); text-decoration: none; }
.mnt-doc-meta     { font-size: .72rem; color: var(--text-muted); }

.mnt-dato-label   { font-size: .68rem; color: var(--text-muted); text-transform: uppercase;
                    font-weight: 600; letter-spacing: .05em; }

/* Galería de la revisión: dos fotos por apartado */
.mnt-galeria      { display: flex; flex-wrap: wrap; gap: .75rem; }
.mnt-foto         { width: 190px; margin: 0; }
.mnt-foto img     { width: 100%; height: 130px; object-fit: cover; border-radius: 8px;
                    border: 1px solid var(--border); display: block; }
.mnt-foto-generica { width: 100%; height: 130px; border-radius: 8px; border: 1px solid var(--border);
                     display: flex; align-items: center; justify-content: center;
                     background: #f8fafc; font-size: 1.6rem; color: var(--text-muted); }
.mnt-foto figcaption { display: flex; align-items: center; justify-content: space-between; gap: .35rem;
                       font-size: .68rem; color: var(--text-muted); margin-top: .25rem; }
.mnt-foto figcaption span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mnt-foto-subir   { width: 190px; min-height: 130px; border: 1.5px dashed var(--border); border-radius: 8px;
                    display: flex; flex-direction: column; justify-content: center; gap: .35rem;
                    padding: .6rem; background: #fafbfc; }

/* Tablero de tareas */
.mnt-tablero      { display: flex; gap: .75rem; overflow-x: auto; padding-bottom: .5rem; align-items: flex-start; }
.mnt-col          { flex: 0 0 210px; background: #f8fafc; border: 1px solid var(--border);
                    border-radius: 10px; padding: .6rem; }
.mnt-col-cab      { display: flex; align-items: center; justify-content: space-between; gap: .35rem;
                    font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
                    color: var(--text-muted); margin-bottom: .5rem; }
.mnt-col-num      { background: var(--accent); color: #fff; border-radius: 10px; padding: 0 .4rem; font-size: .68rem; }
.mnt-col-vacia    { text-align: center; color: var(--text-muted); font-size: .8rem; padding: .5rem 0; }
.mnt-tarjeta      { display: block; background: #fff; border: 1px solid var(--border); border-radius: 8px;
                    padding: .5rem .6rem; margin-bottom: .5rem; text-decoration: none; color: var(--text-main); }
.mnt-tarjeta:hover { border-color: var(--accent); }
.mnt-tarjeta-cliente { font-size: .8rem; font-weight: 600; line-height: 1.3; }
.mnt-tarjeta-extra   { font-size: .72rem; color: var(--text-muted); margin-top: .15rem; }
.mnt-tarjeta-pie     { display: flex; justify-content: space-between; gap: .35rem; margin-top: .35rem;
                       font-size: .65rem; color: var(--text-muted); }
.mnt-tarjeta-pie span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
