/* CRM Estudios — Design system */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; }

:root {
  --color-primary: #2563eb;
  --color-primary-dark: #1e40af;
  --color-primary-soft: #eff6ff;
  --color-primary-muted: #dbeafe;
  --color-accent: #0d9488;
  --color-link: #1e40af;
  --surface: #ffffff;
  --surface-elevated: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
  --radius: 0.75rem;
  --radius-sm: 0.5rem;
}

html {
  font-size: 14px;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-main);
  background: linear-gradient(145deg, var(--color-primary-soft) 0%, #f0f4f8 35%, #e8edf4 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

/* ——— Layout ——— */
.min-h-screen { min-height: 100vh; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.shrink-0 { flex-shrink: 0; }
.min-w-0 { min-width: 0; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.overflow-x-auto { overflow-x: auto; }
.hidden { display: none; }
.w-full { width: 100%; }
.max-w-sm { max-width: 24rem; }
.max-w-lg { max-width: 32rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-6xl { max-width: 72rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.pt-2 { padding-top: 0.5rem; }
.inline-block { display: inline-block; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.text-center { text-align: center; }
.text-xs { font-size: 0.625rem; }
.text-sm { font-size: 0.75rem; }
.text-2xl { font-size: 1.625rem; line-height: 2rem; letter-spacing: -0.02em; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; letter-spacing: -0.02em; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; letter-spacing: -0.01em; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-primary { color: var(--color-link); }

.link-action {
  color: var(--color-link);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  background: var(--color-primary-soft);
  border: 1px solid var(--color-primary-muted);
  transition: background 0.15s, color 0.15s;
}

.link-action:hover {
  background: var(--color-primary-muted);
  color: var(--color-primary-dark);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff !important;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 10px color-mix(in srgb, var(--color-primary) 50%, transparent);
  transition: transform 0.12s, box-shadow 0.12s, filter 0.12s;
  text-shadow: 0 1px 1px rgba(0,0,0,0.15);
}
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: var(--text-muted); }
.text-slate-600 { color: #475569; }
.text-slate-900 { color: var(--text-main); }
.text-red-600 { color: #dc2626; }
.text-yellow-600 { color: #ca8a04; }
.text-white { color: #fff; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-white { background-color: #fff; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-l-4 { border-left-width: 4px; }
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: var(--border); }
.border-red-500 { border-color: #ef4444; }
.border-yellow-400 { border-color: #facc15; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.z-40 { z-index: 40; }
.h-8 { height: 2rem; }
.w-8 { width: 2rem; }
.h-10 { height: 2.5rem; }
.w-10 { width: 2.5rem; }
.rounded { border-radius: var(--radius-sm); }
.rounded-lg { border-radius: var(--radius); }
.object-cover { object-fit: cover; }
.cursor-pointer { cursor: pointer; }
.last\:border-0:last-child { border-bottom: none; }

/* ——— Header ——— */
.app-header {
  background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 40;
}

.app-header-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.app-header-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 1 auto;
  min-width: 0;
  max-width: clamp(5.5rem, 18vw, 9.5rem);
}

.app-header-nav-wrap {
  flex: 1 1 auto;
  min-width: 0;
  overflow: visible;
}

.app-header-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.1rem;
  overflow: visible;
  padding: 0;
}

.app-header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
  margin-left: auto;
}

.app-header-estudio-form {
  min-width: 0;
  max-width: 7.5rem;
}

.app-header .brand-link {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-header .brand-link:hover { opacity: 0.92; }

.app-header .logo-ring {
  ring: 2px solid rgba(255,255,255,0.35);
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-sm);
}

.app-header .nav-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
  padding: 0.35rem 0.6rem;
  line-height: 1.25;
  box-sizing: border-box;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  white-space: nowrap;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.app-header .nav-label-short { display: none; }
.app-header .nav-label-full { display: inline; }

.app-header .nav-link:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.app-header .nav-link-active {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.app-header .nav-dropdown {
  position: relative;
  flex-shrink: 0;
}

.app-header .nav-dropdown-trigger::after {
  content: "▾";
  font-size: 0.65em;
  line-height: 1;
  opacity: 0.8;
  margin-left: 0.1rem;
}

.app-header .nav-dropdown.is-open > .nav-dropdown-trigger {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.app-header .nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.3rem);
  left: 0;
  min-width: 10.5rem;
  padding: 0.35rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
  z-index: 60;
}

.app-header .nav-dropdown-menu-end {
  left: auto;
  right: 0;
}

.app-header .nav-dropdown.is-open > .nav-dropdown-menu {
  display: block;
}

.app-header .nav-dropdown-item {
  display: block;
  padding: 0.45rem 0.7rem;
  border-radius: 0.4rem;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}

.app-header .nav-dropdown-item:hover {
  background: #f1f5f9;
  color: var(--color-primary);
}

.app-header .nav-dropdown-item-active {
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
}

.app-header .user-chip {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.95);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.app-header .btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.app-header .btn-ghost:hover { background: rgba(255, 255, 255, 0.22); }

.app-header select.input-field {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.35rem 0.6rem;
  width: 100%;
  max-width: 7.5rem;
}

.app-header select.input-field option { color: #0f172a; background: #fff; }

/* ——— Main & footer ——— */
.app-main { flex: 1; padding: 1.5rem 1rem 2rem; }

.app-footer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.45);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(8px);
}

/* ——— Page header ——— */
.page-header {
  margin-bottom: 1.5rem;
}

.page-header h1 {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin: 0;
}

.page-header p {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.page-header-accent {
  width: 2.5rem;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-muted));
  border-radius: 2px;
  margin-bottom: 0.5rem;
}

/* ——— Cards ——— */
.card {
  background: var(--surface);
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-accent {
  border-left: 4px solid var(--color-primary);
}

.card-list-item {
  background: var(--surface);
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--color-primary-muted);
  transition: transform 0.15s, box-shadow 0.15s;
}

.card-list-item:hover {
  box-shadow: var(--shadow-md);
  border-left-color: var(--color-primary);
}

/* ——— Monitoreo operadores ——— */
.monitor-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.monitor-card {
  background: var(--surface);
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-sm);
}

.monitor-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.monitor-card-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-main);
}

.monitor-card-count {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: var(--color-primary-soft);
  border: 1px solid var(--color-primary-muted);
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  line-height: 1.4;
}

.monitor-client-list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
}

.monitor-client-list li {
  font-size: 0.8125rem;
  line-height: 1.45;
  padding: 0.4rem 0;
  border-top: 1px solid #f1f5f9;
}

.monitor-client-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.monitor-client-name {
  font-weight: 500;
  color: var(--color-link);
  text-decoration: none;
}

.monitor-client-name:hover {
  text-decoration: underline;
}

.monitor-client-meta {
  color: var(--text-muted);
}

.monitor-item-tag {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.08rem 0.4rem;
  margin-right: 0.35rem;
  vertical-align: 0.05em;
  line-height: 1.35;
}

.monitor-item-tag-tarea {
  color: #0f766e;
  background: #ccfbf1;
  border: 1px solid #99f6e4;
}

.monitor-empty {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0.15rem 0 0;
}

.presupuesto-resumen-dl dt { color: var(--text-muted); }
.presupuesto-resumen-dl dd { font-weight: 500; }

.presupuesto-hub-resumen-wrap {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
}
.presupuesto-hub-resumen-wrap .presupuesto-cuentas-col {
  max-width: 380px;
}
.presupuesto-resumen-panel h2 {
  font-size: 0.8125rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
}
.presupuesto-resumen-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.presupuesto-resumen-meta strong { color: var(--text-main); }

/* ——— Presupuesto: pantallas detallado / comercial ——— */
.presupuesto-tipo-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s, border-color 0.15s;
  border: 1px solid var(--border);
}
.presupuesto-tipo-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-muted);
}
.presupuesto-tipo-detallado { border-left: 4px solid var(--color-primary); }
.presupuesto-tipo-comercial { border-left: 4px solid var(--color-accent); }

.presupuesto-card-interno {
  border-left: 4px solid #fbbf24;
  background: linear-gradient(90deg, #fffbeb 0%, var(--surface) 12%);
}
.presupuesto-interno-hint { color: #92400e; }

.presupuesto-item-table-card {
  background: #f8fafc;
  border: 1px solid var(--border);
}
.presupuesto-item-table-header {
  grid-template-columns: 2fr 0.7fr 0.9fr 0.9fr 3rem;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.25rem;
}
.presupuesto-item-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  padding: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
  .presupuesto-item-row {
    grid-template-columns: 2fr 0.7fr 0.9fr 0.9fr 3rem;
    gap: 0.75rem;
    align-items: center;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 0;
    margin-bottom: 0;
    background: transparent;
  }
  .presupuesto-item-rows .presupuesto-item-row:last-child { border-bottom: none; }
}
.presupuesto-mobile-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}
@media (min-width: 768px) {
  .presupuesto-mobile-label { display: none; }
}
.presupuesto-add-row-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  align-items: end;
}
@media (min-width: 768px) {
  .presupuesto-add-row-grid {
    grid-template-columns: 1.2fr 1.5fr 0.6fr 0.8fr auto;
  }
  .presupuesto-add-row-grid-venta {
    grid-template-columns: 1fr 1.5fr 0.6fr 0.8fr auto;
  }
}
.presupuesto-add-row-action { padding-bottom: 0.1rem; }

.presupuesto-detallado-footer {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.presupuesto-detallado-form-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.presupuesto-detallado-form-contents {
  display: contents;
}
.presupuesto-columna-izq {
  min-width: 0;
}
.presupuesto-acciones-izq {
  margin-top: 1rem;
  max-width: 22rem;
}
.presupuesto-enviar-izq {
  max-width: 22rem;
}
.presupuesto-guardar-izq {
  border-top: none;
  padding-top: 0.65rem;
  margin-top: 0.75rem;
}
@media (min-width: 900px) {
  .presupuesto-detallado-form-layout {
    grid-template-columns: 1fr minmax(320px, 480px);
    align-items: start;
  }
}
.presupuesto-notas textarea {
  min-height: 8rem;
  width: 100%;
}
.presupuesto-cuentas-col {
  width: 100%;
  justify-self: end;
}
.presupuesto-cuentas-panel {
  background: #f1f5f9;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
}
.presupuesto-ajustes-compact {
  margin: 0;
}
.presupuesto-cuenta-fila {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
  margin-bottom: 0.5rem;
  font-size: 0.6875rem;
}
.presupuesto-cuenta-fila-descuento .presupuesto-cuenta-label {
  margin-right: auto;
  flex-shrink: 0;
}
.presupuesto-cuenta-fila-impuesto {
  gap: 0.35rem;
}
.presupuesto-cuenta-fila-impuesto .presupuesto-cuenta-check {
  margin-right: auto;
  flex-shrink: 0;
}
.presupuesto-cuenta-label {
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.3;
}
.presupuesto-cuenta-check {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  cursor: pointer;
  color: var(--text-muted);
  font-weight: 500;
}
.presupuesto-cuenta-campos {
  display: contents;
}
.presupuesto-cuenta-fila .input-field {
  width: auto;
  min-width: 0;
  padding: 0.28rem 0.4rem;
  font-size: 0.6875rem;
}
.presupuesto-cuenta-fila select.input-field[name="descuento_tipo"] {
  max-width: 8.5rem;
  flex: 0 1 auto;
}
.presupuesto-cuenta-fila input.input-field[name="descuento_valor"] {
  width: 5.75rem;
  flex: 0 0 auto;
}
.presupuesto-cuenta-fila input.input-field[name="impuesto_nombre"] {
  width: 3.5rem;
  flex: 0 0 auto;
}
.presupuesto-cuenta-fila input.input-field[name="porcentaje_iva"] {
  width: 3.75rem;
  flex: 0 0 auto;
}
.presupuesto-cuenta-valor {
  text-align: right;
  font-weight: 500;
  color: var(--text-main);
}
.presupuesto-cuenta-importe {
  margin-left: auto;
  flex: 0 0 auto;
  font-weight: 600;
  font-size: 0.6875rem;
  white-space: nowrap;
  min-width: 6.5rem;
  text-align: right;
  color: var(--text-main);
}
.presupuesto-cuenta-importe.is-hidden {
  visibility: hidden;
}
.presupuesto-guardar-wrap {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.presupuesto-validez-en-panel {
  margin-bottom: 0.15rem;
}
.presupuesto-validez-en-panel .label {
  margin-bottom: 0.25rem;
  font-size: 0.6875rem;
}
.presupuesto-validez-en-panel .input-field {
  width: 100%;
  max-width: 12rem;
  font-size: 0.75rem;
}
.presupuesto-enviar-en-panel {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--border);
}
.presupuesto-cuenta-accion {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.35rem;
  margin-bottom: 0.15rem;
}
.presupuesto-cuentas-sep {
  border-top: 1px solid var(--border);
  margin: 0.65rem 0 0.75rem;
}
.presupuesto-totales-box {
  background: #f1f5f9;
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
}
.presupuesto-totales-dl { margin: 0; }
.presupuesto-totales-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  padding: 0.3rem 0;
}
.presupuesto-totales-row dt { color: var(--text-muted); }
.presupuesto-totales-row dd { font-weight: 500; margin: 0; }
.presupuesto-totales-total {
  border-top: 1px solid var(--border);
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  font-weight: 700;
  font-size: 0.8125rem;
}
.presupuesto-totales-total dt,
.presupuesto-totales-total dd { color: var(--text-main); font-weight: 700; }
.presupuesto-totales-ganancia dt,
.presupuesto-totales-ganancia dd { color: #0d9488; font-weight: 600; }

/* ——— Editor rich text comercial (negrita / color) ——— */
.rich-text-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
}
.rich-text-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid var(--border);
  background: #f8fafc;
}
.rich-text-btn {
  appearance: none;
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 0.35rem;
  min-width: 1.85rem;
  height: 1.85rem;
  padding: 0 0.4rem;
  font-size: 0.8125rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-main);
}
.rich-text-btn:hover,
.rich-text-color:hover {
  border-color: var(--color-primary);
}
.rich-text-btn-clear {
  margin-left: auto;
  font-size: 0.75rem;
  min-width: auto;
}
.rich-text-sep {
  width: 1px;
  height: 1.1rem;
  background: #cbd5e1;
  margin: 0 0.15rem;
}
.rich-text-color-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-right: 0.1rem;
}
.rich-text-color {
  appearance: none;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.2);
  cursor: pointer;
  padding: 0;
}
.rich-text-select {
  font-size: 0.6875rem;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 0.375rem;
  padding: 0.2rem 0.35rem;
  background: #fff;
  color: var(--text-muted);
  max-width: 5.5rem;
}
.rich-text-editor {
  min-height: 8rem;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none;
  white-space: pre-wrap;
  line-height: 1.45;
}
.rich-text-editor:focus {
  outline: none;
  box-shadow: none !important;
}
.rich-text-source-hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.pdf-cuerpo strong,
.pdf-firma strong,
.rich-text-editor strong,
.rich-text-editor b {
  font-weight: 700;
}

.presupuesto-preview-card { padding: 0; overflow: hidden; }
.presupuesto-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem 0.65rem;
}
.presupuesto-preview-header h2 { margin: 0; }
.presupuesto-preview-live-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f766e;
  background: #ccfbf1;
  border: 1px solid #99f6e4;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
}
.presupuesto-preview-sheet {
  width: 100%;
  max-height: min(85vh, 920px);
  overflow-x: hidden;
  overflow-y: auto;
  background: #64748b;
  padding: 0.85rem;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}
.presupuesto-preview-scale {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
/* La hoja se dibuja a tamaño A4 real y se escala al ancho del panel */
.presupuesto-preview-sheet .presupuesto-live-hoja.pdf-hoja-a4 {
  width: 595px;
  max-width: none;
  min-height: 842px;
  height: auto;
  margin: 0;
  transform-origin: top left;
  overflow: visible;
}
.presupuesto-preview-sheet .presupuesto-live-hoja .pdf-hoja-cuerpo,
.presupuesto-preview-sheet .presupuesto-live-hoja .pdf-cuerpo {
  overflow: visible;
}
.presupuesto-validez-bajo-notas .input-field {
  max-width: 10rem;
  font-size: 0.75rem;
}
.presupuesto-footer-derecha {
  width: 100%;
  justify-self: end;
}
.presupuesto-cuentas-col-inline {
  width: 100%;
  max-width: 380px;
  justify-self: end;
}
.presupuesto-validez-row .presupuesto-validez-sub {
  display: block;
  margin-bottom: 0.2rem;
}
.presupuesto-envio-prompt {
  border-color: #bfdbfe;
  background: #f8fafc;
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:flex-row { flex-direction: row; }
  .lg\:items-start { align-items: flex-start; }
}

.text-right { text-align: right; }
.whitespace-nowrap { white-space: nowrap; }

/* ——— Buttons ——— */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  background: var(--surface);
  color: #334155;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  box-shadow: var(--shadow-sm);
  transition: background 0.15s, border-color 0.15s;
}

.btn-secondary:hover {
  background: var(--color-primary-soft);
  border-color: var(--color-primary-muted);
  color: var(--color-primary-dark);
}

.inline-form { display: inline; margin: 0; }
.inline-form button { cursor: pointer; border: none; font-family: inherit; }

/* ——— Forms ——— */
.input-field {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-family: inherit;
  background: #fff;
  color: var(--text-main);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.input-field:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 20%, transparent);
}

.label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #334155;
}

.form-section-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-primary-muted);
  margin-bottom: 0.75rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.form-grid-impuesto {
  grid-template-columns: minmax(8rem, auto) 1fr minmax(5rem, 8rem);
  align-items: end;
}

.form-row-compact {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.65rem;
  align-items: flex-end;
}
.form-row-compact .label {
  font-size: 0.6875rem;
  margin-bottom: 0.25rem;
}
.form-row-compact .input-field {
  padding: 0.45rem 0.55rem;
  font-size: 0.75rem;
}
.form-row-field {
  min-width: 0;
}
.form-row-field-asignado {
  flex: 1 1 42%;
}
.form-row-field-prioridad {
  flex: 0 1 24%;
}
.form-row-field-fecha {
  flex: 0 1 30%;
}

/* ——— Nav (login / inner) ——— */
.nav-link {
  padding: 0.375rem 0.5rem;
  color: #475569;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 0.25rem;
}

.nav-link:hover { background: #f1f5f9; color: var(--color-primary); }

/* ——— Tables ——— */
.table-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: var(--shadow-sm);
}

.table { width: 100%; border-collapse: collapse; font-size: 0.875rem; background: #fff; }

.table th, .table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
}

.table th {
  font-weight: 600;
  color: #334155;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(180deg, #e2e8f0 0%, #f1f5f9 100%);
  border-bottom: 1px solid #cbd5e1;
}

.table tbody tr:hover td { background: var(--color-primary-soft); }

.table tbody tr:last-child td { border-bottom: none; }

/* ——— Badges & alerts ——— */
.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--color-primary) 55%, transparent);
  transform: translateY(-1px);
}

.btn-primary:active { transform: translateY(0); }

.nav-link-active {
  font-weight: 600;
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  margin-left: 0.35rem;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: color-mix(in srgb, var(--color-accent) 18%, #fff);
  color: #0f766e;
  border: 1px solid color-mix(in srgb, var(--color-accent) 35%, #fff);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-right: 0.25rem;
}

.badge-estado-activo {
  background: #dcfce7;
  color: #166534;
  border-color: #86efac;
}

.badge-estado-inactivo {
  background: #f1f5f9;
  color: #64748b;
  border-color: #e2e8f0;
}

.alert {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
}

.alert-success, .alert-info {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.alert-error, .alert-danger {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.alert-warning {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #92400e;
  border: 1px solid #fcd34d;
}

.accent-primary { accent-color: var(--color-primary); }

/* ——— Login ——— */
.body-guest {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, #3b82f6 100%);
  background-attachment: fixed;
}

.login-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
}

.login-messages-wrap {
  width: 100%;
  max-width: 24rem;
  margin: 0 auto 0.75rem;
  position: relative;
  z-index: 2;
}

.login-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.12) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 40%);
  pointer-events: none;
}

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 45%, #3b82f6 100%);
  position: relative;
  overflow: hidden;
}

.login-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.12) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 40%);
  pointer-events: none;
}

.login-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 24rem;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.login-brand {
  text-align: center;
  margin-bottom: 1.75rem;
}

.login-brand h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.login-brand p { margin: 0; font-size: 0.875rem; color: var(--text-muted); }

/* ——— Cliente combobox (buscar + crear) ——— */
.cliente-combobox {
  position: relative;
}

.cliente-combobox-field {
  position: relative;
}

.cliente-combobox-list {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  margin: 0.25rem 0 0;
  padding: 0.35rem 0;
  list-style: none;
  max-height: 16rem;
  overflow-y: auto;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.cliente-combobox-item {
  padding: 0.55rem 0.85rem;
  font-size: 0.875rem;
  cursor: pointer;
  color: var(--text-main, #0f172a);
}

.cliente-combobox-item:hover,
.cliente-combobox-item.is-active {
  background: var(--color-primary-soft);
}

.cliente-combobox-create {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding: 0;
}

.cliente-combobox-create-link {
  display: block;
  padding: 0.65rem 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.cliente-combobox-create-link:hover {
  background: var(--color-primary-soft);
}

.cliente-combobox-item-inactivo {
  color: var(--text-muted);
}

.cliente-combobox-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cliente-combobox-empty {
  padding: 0.65rem 0.85rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ——— Autocomplete similitudes clientes ——— */
.cliente-suggest {
  position: relative;
  width: 100%;
}
.cliente-suggest-list {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: 100%;
  margin: 0.25rem 0 0;
  padding: 0.35rem 0;
  list-style: none;
  max-height: 16rem;
  overflow-y: auto;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}
.cliente-suggest-item {
  padding: 0.55rem 0.85rem;
  cursor: pointer;
}
.cliente-suggest-item:hover,
.cliente-suggest-item.is-active {
  background: var(--color-primary-soft);
}
.cliente-suggest-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main, #0f172a);
}
.cliente-suggest-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}
.cliente-suggest-empty {
  padding: 0.65rem 0.85rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.cliente-suggest-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}
.cliente-busca-fila {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}
.cliente-busca-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 auto;
  min-width: 0;
}
.cliente-busca-label {
  flex: 0 0 auto;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  margin: 0;
}
.cliente-busca-campo {
  flex: 1 1 10rem;
  width: auto;
  max-width: 16rem;
  min-width: 0;
}
.cliente-busca-btn {
  flex: 0 0 auto;
  white-space: nowrap;
  box-sizing: border-box;
  min-height: 2.45rem;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0.9rem;
  padding-right: 0.9rem;
  line-height: 1;
}
.cliente-busca-nuevo {
  margin-left: auto;
}
.clientes-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin-bottom: 1.25rem;
}
.clientes-header-titulo {
  flex: 0 1 auto;
  min-width: 10rem;
}
.clientes-header-titulo h1 {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin: 0;
}
.clientes-header-titulo p {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.clientes-busca-card {
  flex: 1 1 22rem;
  max-width: 42rem;
  margin: 0;
  padding: 0.65rem 0.85rem;
}
.clientes-busca-card:hover {
  box-shadow: var(--shadow-sm);
}

.pendientes-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
}
.pendientes-header h1 {
  margin: 0;
}
.pendientes-busca {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 14rem;
  max-width: 26rem;
  margin-left: auto;
}
.pendientes-busca-label {
  flex: 0 0 auto;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
}
.pendientes-busca-input {
  flex: 1 1 auto;
  min-width: 0;
}
.pendientes-busca-input::-webkit-search-cancel-button {
  display: none;
}

.login-dot {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  box-shadow: 0 4px 14px color-mix(in srgb, var(--color-primary) 50%, transparent);
}

/* ——— Stat cards (reportes) ——— */
.stat-card {
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, var(--color-primary-soft) 100%);
  border: 1px solid var(--color-primary-muted);
}

.stat-card .stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* ——— Responsive ——— */
@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:items-start { align-items: flex-start; }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .app-main { padding: 2rem 1.5rem; }
}

@media (max-width: 900px) {
  /* Menú móvil: solo lo del día a día */
  .app-header .nav-desktop-only { display: none !important; }
  .app-header .nav-label-full { display: none; }
  .app-header .nav-label-short { display: inline; }
  .app-header-brand { max-width: 2.75rem; }
  .app-header .brand-link { display: none; }
  .app-header-actions .user-chip { display: none !important; }
  .app-header-estudio-form { display: none !important; }
  .app-header .nav-link { padding: 0.4rem 0.55rem; font-size: 0.8125rem; }
}

@media (max-width: 640px) {
  .form-grid-2,
  .form-grid-3,
  .form-grid-impuesto { grid-template-columns: 1fr; }
  .form-row-compact { flex-wrap: wrap; }
  .form-row-compact > .form-row-field { flex: 1 1 100%; }
  .app-header .nav-link { padding: 0.35rem 0.5rem; font-size: 0.75rem; }
}

@media (min-width: 1024px) {
  .app-header-brand { max-width: 11rem; }
  .app-header-inner { gap: 0.75rem; }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:inline { display: inline; }
}

/* ——— Carga rápida móvil (FAB) ——— */
.mobile-fab-wrap,
.mobile-fab-backdrop {
  display: none;
}

.monitor-asignar-tarea {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: var(--color-primary-soft);
  border: 1px solid var(--color-primary-muted);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  text-decoration: none;
  white-space: nowrap;
}

.monitor-asignar-tarea:hover {
  background: var(--color-primary-muted);
}

.mobile-rapido {
  max-width: 28rem;
  margin: 0 auto;
}

.mobile-rapido-form .input-field,
.mobile-rapido-form select.input-field,
.mobile-rapido-form textarea.input-field {
  font-size: 1rem;
  min-height: 2.75rem;
  padding: 0.7rem 0.85rem;
}

.mobile-rapido-form textarea.input-field {
  min-height: 5rem;
}

.mobile-rapido-submit {
  min-height: 3rem;
  font-size: 1rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .mobile-fab-wrap {
    display: block;
    position: fixed;
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    z-index: 45;
  }

  .mobile-fab {
    width: 3.5rem;
    height: 3.5rem;
    border: none;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    font-size: 1.85rem;
    font-weight: 400;
    line-height: 1;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.28);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-fab.is-open {
    background: var(--color-primary-dark);
    transform: rotate(45deg);
  }

  .mobile-fab-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 44;
  }

  .mobile-fab-backdrop[hidden],
  .mobile-fab-sheet[hidden] {
    display: none !important;
  }

  .mobile-fab-sheet {
    position: absolute;
    right: 0;
    bottom: 4.25rem;
    width: min(18.5rem, calc(100vw - 2rem));
    background: #fff;
    border-radius: 1rem;
    padding: 0.85rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
  }

  .mobile-fab-sheet-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 0.5rem 0.25rem;
  }

  .mobile-fab-action {
    display: block;
    padding: 0.85rem 0.9rem;
    border-radius: 0.75rem;
    text-decoration: none;
    color: var(--text-main);
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    margin-bottom: 0.45rem;
  }

  .mobile-fab-action:active {
    background: var(--color-primary-soft);
  }

  .mobile-fab-action-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
  }

  .mobile-fab-action-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
  }

  .mobile-fab-cancel {
    width: 100%;
    margin-top: 0.2rem;
    padding: 0.7rem;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
  }

  body {
    padding-bottom: 5rem;
  }
}
