:root {
  --color-primary: #0ea5e9;
  --color-primary-dark: #0284c7;
  --color-secondary: #0f172a;
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-border: #e2e8f0;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-success: #22c55e;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.08);
  --sidebar-width: 240px;
  --topbar-height: 52px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--color-text); background: var(--color-bg); line-height: 1.6; }

/* ── NAVBAR (landing page) ── */
.navbar { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 1.5rem; height: 56px; background: rgba(15,23,42,.97); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav-brand { display: flex; align-items: center; gap: .6rem; }
.brand-icon { font-size: 1.3rem; }
.brand-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.1rem; color: #fff; }
.btn-nav { padding: .4rem 1rem; border-radius: var(--radius); background: var(--color-primary); color: #fff; font-weight: 600; font-size: .85rem; text-decoration: none; }

/* ── HERO ── */
.hero { position: relative; overflow: hidden; min-height: 80vh; display: flex; align-items: center; background: var(--color-secondary); color: #fff; padding: 3rem 1.5rem; }
.hero-bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(14,165,233,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(14,165,233,.06) 1px,transparent 1px); background-size: 40px 40px; }
.hero-content { position: relative; z-index: 1; max-width: 580px; }
.hero-badge { display: inline-block; padding: .3rem .8rem; background: rgba(14,165,233,.15); border: 1px solid rgba(14,165,233,.3); border-radius: 999px; font-size: .78rem; font-weight: 500; color: var(--color-primary); margin-bottom: 1.2rem; }
.hero-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.8rem,5vw,3rem); font-weight: 700; line-height: 1.15; margin-bottom: 1rem; background: linear-gradient(135deg,#fff 60%,var(--color-primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 1rem; color: #94a3b8; margin-bottom: 1.8rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-visual { display: none; }
@media(min-width:900px) {
  .hero-visual { display: block; position: absolute; right: 4rem; top: 50%; transform: translateY(-50%); opacity: .4; pointer-events: none; }
  .circuit-card { width: 260px; height: 240px; border: 1px solid rgba(14,165,233,.3); border-radius: var(--radius-lg); padding: 1.5rem; background: rgba(14,165,233,.04); }
  .status-pills { display: flex; flex-direction: column; gap: .6rem; margin-top: 1.2rem; }
  .pill { padding: .35rem .8rem; border-radius: 999px; font-size: .78rem; font-weight: 500; width: fit-content; }
  .pill-blue{background:rgba(14,165,233,.2);color:#7dd3fc}
  .pill-green{background:rgba(34,197,94,.2);color:#86efac}
  .pill-yellow{background:rgba(245,158,11,.2);color:#fcd34d}
}

/* ── BUTTONS ── */
.btn-primary { display: inline-flex; align-items: center; gap: .4rem; padding: .6rem 1.3rem; border-radius: var(--radius); background: var(--color-primary); color: #fff; font-weight: 600; font-size: .88rem; text-decoration: none; border: none; cursor: pointer; transition: background .2s,transform .1s; white-space: nowrap; }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; }
.btn-ghost { display: inline-flex; align-items: center; padding: .6rem 1.3rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.2); color: #fff; font-weight: 500; font-size: .88rem; text-decoration: none; cursor: pointer; background: transparent; }
.btn-secondary { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1.1rem; border-radius: var(--radius); background: var(--color-surface); border: 1px solid var(--color-border); color: var(--color-text); font-weight: 500; font-size: .85rem; cursor: pointer; transition: background .15s; text-decoration: none; white-space: nowrap; }
.btn-secondary:hover { background: var(--color-bg); }
.btn-danger { padding: .5rem 1.1rem; border-radius: var(--radius); background: var(--color-danger); color: #fff; border: none; font-weight: 500; font-size: .85rem; cursor: pointer; white-space: nowrap; }
.btn-success { padding: .5rem 1.1rem; border-radius: var(--radius); background: var(--color-success); color: #fff; border: none; font-weight: 500; font-size: .85rem; cursor: pointer; }
.btn-full { width: 100%; justify-content: center; }

/* ── SERVICES / LANDING ── */
.services { padding: 4rem 1.5rem; background: var(--color-surface); }
.container { max-width: 1100px; margin: 0 auto; }
.section-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.7rem; font-weight: 700; text-align: center; margin-bottom: 2.5rem; color: var(--color-secondary); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 1.2rem; }
.service-card { padding: 1.5rem; border-radius: var(--radius-lg); border: 1px solid var(--color-border); background: var(--color-bg); }
.service-icon { font-size: 1.8rem; margin-bottom: .8rem; }
.service-card h3 { font-size: .95rem; font-weight: 600; margin-bottom: .4rem; }
.service-card p { font-size: .85rem; color: var(--color-text-muted); }
.contact { padding: 3rem 1.5rem; background: var(--color-secondary); color: #fff; }
.contact .section-title { color: #fff; }
.contact-grid { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.contact-item { display: flex; align-items: center; gap: .6rem; font-size: .9rem; }
.footer { background: #020617; color: #475569; padding: 1.2rem; text-align: center; font-size: .82rem; }

/* ── LOGIN ── */
.login-body { background: var(--color-secondary); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.login-wrap { width: 100%; max-width: 400px; }
.login-brand { text-align: center; margin-bottom: 1.5rem; }
.brand-icon-lg { font-size: 2.5rem; }
.login-brand-name { font-family: 'Space Grotesk', sans-serif; font-size: 1.6rem; font-weight: 700; color: #fff; margin-top: .2rem; }
.login-brand-sub { color: #64748b; margin-top: .2rem; font-size: .9rem; }
.login-card { background: var(--color-surface); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-lg); }
.login-back { text-align: center; margin-top: 1rem; }
.login-back a { color: var(--color-text-muted); font-size: .85rem; text-decoration: none; }

/* ── FORMS ── */
.form-group { margin-bottom: .9rem; }
.form-label { display: block; font-size: .82rem; font-weight: 500; margin-bottom: .35rem; }
.form-input,.form-select,.form-textarea { width: 100%; padding: .55rem .8rem; border-radius: var(--radius); border: 1px solid var(--color-border); background: var(--color-bg); font-size: .88rem; color: var(--color-text); font-family: inherit; transition: border-color .15s,box-shadow .15s; }
.form-input:focus,.form-select:focus,.form-textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(14,165,233,.12); }
.form-textarea { resize: vertical; min-height: 75px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media(max-width:480px) { .form-row { grid-template-columns: 1fr; } }

/* ── ALERTS ── */
.alert { padding: .65rem .9rem; border-radius: var(--radius); font-size: .85rem; margin-bottom: .9rem; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.alert-warning { background: #fffbeb; border: 1px solid #fed7aa; color: #92400e; }
.alert-info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }

/* ═══════════════════════════════════════════════════
   APP LAYOUT — DASHBOARD
   Mobile: topbar fija + sidebar como drawer oculto
   Desktop: layout flex con sidebar siempre visible
═══════════════════════════════════════════════════ */

/* Topbar — solo visible en mobile */
.topbar {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  height: var(--topbar-height);
  background: var(--color-secondary);
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.topbar-brand { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: #fff; font-size: .95rem; }
.hamburger {
  background: none; border: none; color: #fff;
  font-size: 1.5rem; cursor: pointer; padding: .4rem;
  line-height: 1; border-radius: var(--radius);
}
.hamburger:hover { background: rgba(255,255,255,.1); }

/* Overlay — cubre el contenido cuando el drawer está abierto */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 250;
  opacity: 0;
  transition: opacity .3s;
}
.sidebar-overlay.open {
  display: block;
  opacity: 1;
}

/* Sidebar */
.sidebar {
  width: var(--sidebar-width);
  background: var(--color-secondary);
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow-y: auto;
  flex-shrink: 0;
  transition: transform .3s ease;
}

/* App layout — desktop: flex row */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* ── MOBILE OVERRIDES ── */
@media (max-width: 768px) {
  /* Mostrar topbar */
  .topbar { display: flex; }

  /* Sidebar: fijo, oculto fuera de la pantalla por defecto */
  .sidebar {
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    z-index: 260;
    transform: translateX(-100%);
    will-change: transform;
  }

  /* Sidebar visible cuando tiene clase .open */
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 20px rgba(0,0,0,.4);
  }

  /* El layout en mobile es bloque normal, main ocupa todo */
  .app-layout {
    display: block;
  }

  /* main-content empieza debajo de la topbar */
  .main-content {
    margin-top: var(--topbar-height);
  }
}

.sidebar-brand { padding: 1rem 1.2rem; border-bottom: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; gap: .6rem; }
.sidebar-brand-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: #fff; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.sidebar-nav { padding: .75rem 0; flex: 1; }
.nav-section-title { padding: .35rem 1.2rem; font-size: .68rem; font-weight: 600; color: #475569; text-transform: uppercase; letter-spacing: .06em; margin-top: .4rem; }
.nav-item { display: flex; align-items: center; gap: .65rem; padding: .6rem 1.2rem; color: #94a3b8; font-size: .85rem; font-weight: 500; cursor: pointer; border: none; background: none; width: 100%; text-align: left; transition: color .15s,background .15s; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-item.active { color: var(--color-primary); background: rgba(14,165,233,.12); border-left: 3px solid var(--color-primary); }
.nav-icon { font-size: .95rem; width: 18px; text-align: center; }
.sidebar-footer { padding: .9rem 1.2rem; border-top: 1px solid rgba(255,255,255,.08); }
.sidebar-user { font-size: .78rem; color: #64748b; margin-bottom: .5rem; }
.sidebar-user strong { display: block; color: #94a3b8; font-size: .82rem; }

/* Sidebar search */
#sidebar-search-wrap { padding: .6rem .9rem; position: relative; border-bottom: 1px solid rgba(255,255,255,.06); }
#sidebar-search-results { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid var(--color-border); border-radius: 0 0 var(--radius) var(--radius); z-index: 200; box-shadow: var(--shadow-md); max-height: 200px; overflow-y: auto; display: none; }
.search-result-item { padding: .45rem .7rem; cursor: pointer; border-bottom: 1px solid var(--color-border); transition: background .1s; font-size: .83rem; }
.search-result-item:hover { background: var(--color-bg); }

/* Main content */
.main-content { flex: 1; overflow-y: auto; min-width: 0; }
.page-header { padding: 1.2rem 1.5rem 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; }
.page-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; font-weight: 700; }
.page-body { padding: 1.2rem 1.5rem 2rem; }

/* ── STATS ── */
.stats-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: .8rem; margin-bottom: 1.5rem; }
@media(min-width:640px) { .stats-grid { grid-template-columns: repeat(4,1fr); } }
.stat-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.1rem; }
.stat-label { font-size: .72rem; color: var(--color-text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.stat-value { font-family: 'Space Grotesk', sans-serif; font-size: 1.8rem; font-weight: 700; }

/* ── TABLE & CARD LIST ── */
.table-wrap { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; }
.table-header { padding: .9rem 1.1rem; border-bottom: 1px solid var(--color-border); display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; }
.table-title { font-weight: 600; font-size: .9rem; }
.data-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.data-table thead th { padding: .55rem .9rem; background: var(--color-bg); text-align: left; font-weight: 600; font-size: .74rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--color-border); }
.data-table tbody td { padding: .7rem .9rem; border-bottom: 1px solid var(--color-border); vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: var(--color-bg); }
.card-list { display: none; }
@media(max-width:640px) {
  .data-table { display: none; }
  .card-list { display: block; }
  .data-card { padding: .9rem 1rem; border-bottom: 1px solid var(--color-border); }
  .data-card:last-child { border-bottom: none; }
  .data-card-title { font-weight: 600; font-size: .9rem; margin-bottom: .25rem; }
  .data-card-meta { font-size: .78rem; color: var(--color-text-muted); margin-bottom: .4rem; }
  .data-card-actions { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .5rem; }
}

/* ── BADGES ── */
.badge { display: inline-flex; align-items: center; padding: .2rem .65rem; border-radius: 999px; font-size: .72rem; font-weight: 600; white-space: nowrap; }
.badge-recibido{background:#f1f5f9;color:#475569}.badge-diagnostico{background:#eff6ff;color:#1d4ed8}
.badge-presupuestado{background:#fefce8;color:#a16207}.badge-aprobado{background:#f0fdf4;color:#15803d}
.badge-reparacion{background:#fff7ed;color:#c2410c}.badge-listo{background:#f0fdf4;color:#166534}
.badge-entregado{background:#f8fafc;color:#94a3b8}.badge-cancelado{background:#fff1f2;color:#be123c}
.badge-pendiente{background:#fefce8;color:#a16207}.badge-rechazado{background:#fff1f2;color:#be123c}
.badge-admin{background:#faf5ff;color:#7e22ce}.badge-tecnico{background:#eff6ff;color:#1d4ed8}
.badge-cliente{background:#f0fdf4;color:#15803d}
.badge-alta{background:#fff1f2;color:#be123c}.badge-normal{background:#f1f5f9;color:#475569}.badge-baja{background:#f0fdf4;color:#15803d}

/* ── MODAL ── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: flex; align-items: flex-end; justify-content: center; z-index: 400; padding: 0; }
@media(min-width:640px) { .modal-overlay { align-items: center; padding: 1rem; } }
.modal { background: var(--color-surface); border-radius: var(--radius-lg) var(--radius-lg) 0 0; width: 100%; max-height: 92vh; overflow-y: auto; box-shadow: var(--shadow-lg); }
@media(min-width:640px) { .modal { max-width: 540px; border-radius: var(--radius-lg); max-height: 90vh; } }
.modal-lg { max-width: 100%; }
@media(min-width:768px) { .modal-lg { max-width: 720px; } }
.modal-header { padding: 1rem 1.2rem; border-bottom: 1px solid var(--color-border); display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: var(--color-surface); z-index: 1; }
.modal-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1rem; }
.modal-close { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--color-text-muted); padding: .2rem .4rem; border-radius: var(--radius); }
.modal-body { padding: 1.2rem; }
.modal-footer { padding: .9rem 1.2rem; border-top: 1px solid var(--color-border); display: flex; justify-content: flex-end; gap: .6rem; position: sticky; bottom: 0; background: var(--color-surface); }

/* ── SEARCH ── */
.search-bar { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.search-input-wrap { position: relative; }
.search-input { padding: .5rem .8rem .5rem 2rem; border-radius: var(--radius); border: 1px solid var(--color-border); font-size: .85rem; width: 190px; max-width: 100%; }
.search-icon { position: absolute; left: .6rem; top: 50%; transform: translateY(-50%); color: var(--color-text-muted); font-size: .85rem; pointer-events: none; }

/* ── FOTOS ── */
.fotos-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(85px,1fr)); gap: .5rem; margin-top: .6rem; }
.foto-thumb { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); cursor: pointer; }
.foto-thumb img { width: 100%; height: 100%; object-fit: cover; }
.foto-thumb-del { position: absolute; top: 3px; right: 3px; background: rgba(239,68,68,.85); color: #fff; border: none; border-radius: 50%; width: 20px; height: 20px; font-size: .65rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.foto-upload-btn { aspect-ratio: 1; border-radius: var(--radius); border: 2px dashed var(--color-border); display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; background: var(--color-bg); font-size: .7rem; color: var(--color-text-muted); gap: .25rem; transition: border-color .2s,background .2s; }
.foto-upload-btn:hover { border-color: var(--color-primary); background: #eff6ff; color: var(--color-primary); }
.foto-upload-btn .upload-icon { font-size: 1.3rem; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: var(--radius); }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; background: rgba(255,255,255,.15); border: none; color: #fff; font-size: 1.4rem; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; }

/* ── WIZARD ── */
.wizard-steps { display: flex; align-items: center; margin-bottom: 1.5rem; }
.wstep { display: flex; flex-direction: column; align-items: center; gap: .25rem; flex: 1; z-index: 1; }
.wstep-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--color-surface); border: 2px solid var(--color-border); display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; color: var(--color-text-muted); transition: all .3s; }
.wstep.active .wstep-dot { background: var(--color-primary); border-color: var(--color-primary); color: #fff; box-shadow: 0 0 0 4px rgba(14,165,233,.2); }
.wstep.done .wstep-dot { background: var(--color-success); border-color: var(--color-success); color: #fff; }
.wstep-label { font-size: .65rem; color: var(--color-text-muted); text-align: center; max-width: 70px; }
.wstep.active .wstep-label { color: var(--color-primary); font-weight: 600; }
.wstep.done .wstep-label { color: var(--color-success); }
.wstep-line { flex: 1; height: 2px; background: var(--color-border); margin: 0 .25rem; position: relative; top: -10px; }

/* ── PORTAL ── */
.portal-body { background: #f1f5f9; min-height: 100vh; }
.portal-nav { background: var(--color-secondary); padding: .8rem 1.2rem; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; }
.portal-brand { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: #fff; font-size: 1rem; }
.portal-content { max-width: 860px; margin: 0 auto; padding: 1.5rem 1rem 2rem; }
.portal-welcome { margin-bottom: 1.5rem; }
.portal-welcome h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; font-weight: 700; }
.portal-welcome p { color: var(--color-text-muted); font-size: .88rem; margin-top: .25rem; }
.equipo-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); margin-bottom: 1.2rem; overflow: hidden; }
.equipo-card-header { padding: 1rem 1.2rem; background: var(--color-bg); border-bottom: 1px solid var(--color-border); display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; }
.equipo-card-title { font-weight: 700; font-size: .95rem; }
.equipo-card-sub { font-size: .78rem; color: var(--color-text-muted); margin-top: .12rem; }
.equipo-card-body { padding: 1.2rem; }
.progress-steps { display: flex; justify-content: space-between; position: relative; overflow-x: auto; padding-bottom: .5rem; }
.progress-steps::before { content:''; position: absolute; top: 14px; left: 0; right: 0; height: 2px; background: var(--color-border); z-index: 0; }
.step { display: flex; flex-direction: column; align-items: center; gap: .35rem; flex: 1; z-index: 1; min-width: 44px; }
.step-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--color-surface); border: 2px solid var(--color-border); display: flex; align-items: center; justify-content: center; font-size: .68rem; font-weight: 700; color: var(--color-text-muted); }
.step.done .step-dot { background: var(--color-success); border-color: var(--color-success); color: #fff; }
.step.current .step-dot { background: var(--color-primary); border-color: var(--color-primary); color: #fff; box-shadow: 0 0 0 4px rgba(14,165,233,.2); }
.step-label { font-size: .6rem; color: var(--color-text-muted); text-align: center; max-width: 55px; }
.step.current .step-label { color: var(--color-primary); font-weight: 600; }
.step.done .step-label { color: var(--color-success); }
.presupuesto-box { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1rem; margin-top: .9rem; }
.presupuesto-box.pendiente { border-color: var(--color-warning); background: #fffbeb; }
.presupuesto-box.aprobado { border-color: var(--color-success); background: #f0fdf4; }
.presupuesto-box.rechazado { border-color: var(--color-danger); background: #fff1f2; }
.presupuesto-total { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; margin: .4rem 0; }
.presupuesto-actions { display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }

/* ── MISC ── */
.empty-state { text-align: center; padding: 2.5rem 1rem; color: var(--color-text-muted); }
.empty-icon { font-size: 2.2rem; margin-bottom: .8rem; }
.loading { text-align: center; padding: 1.8rem; color: var(--color-text-muted); font-size: .88rem; }
.mt-2 { margin-top: 1rem; }
.text-muted { color: var(--color-text-muted); }
.index-body { background: var(--color-secondary); }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 3px; }
