/* ===========================================================
   FUENTES — Plus Jakarta Sans (familia única: body + display)
   Sistema de diseño TasApp DLP (handoff Claude Design).
   =========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* === DLP brand palette === */
:root {
  --dlp-pink: #E73559;
  --dlp-pink-darker: #C8264A;
  --dlp-pink-light: #FF6B85;
  --dlp-bordo: #A3173E;
  --dlp-bordo-dark: #7A0F2C;
  --dlp-bordo-deepest: #5C0B22;
  --dlp-bordo-light: #C42456;
  --dlp-navy: #1B1464;           /* reservado para acentos mínimos */
  --dlp-white: #FFFFFF;
  --dlp-canvas: #FAF5F6;          /* off-white con tinte bordó muy sutil — fondo general */
  --dlp-canvas-dark: #F1E8EB;     /* tinte rosa más marcado — separadores */
  --dlp-pink-tint: rgba(231, 53, 89, 0.10);
  --dlp-pink-tint-stronger: rgba(231, 53, 89, 0.18);
  --dlp-bordo-tint: rgba(163, 23, 62, 0.10);
  --dlp-bordo-tint-stronger: rgba(163, 23, 62, 0.18);
  --dlp-navy-tint: rgba(163, 23, 62, 0.12);   /* alias compatibilidad → ahora bordó */
  --dlp-navy-tint-stronger: rgba(163, 23, 62, 0.20);
}

.dlp-pink { color: var(--dlp-pink); }
.bg-dlp-pink { background-color: var(--dlp-pink); }
.bg-dlp-bordo { background-color: var(--dlp-bordo); }
.bg-dlp-navy { background-color: var(--dlp-navy); }
.bg-dlp-canvas { background-color: var(--dlp-canvas); }
.bg-dlp-canvas-dark { background-color: var(--dlp-canvas-dark); }
.bg-dlp-bordo-dark { background-color: var(--dlp-bordo-dark); }
.bg-dlp-bordo-deepest { background-color: var(--dlp-bordo-deepest); }
.text-dlp-navy { color: var(--dlp-bordo-dark); }    /* alias compat → bordó oscuro, NO navy */
.text-dlp-ink { color: var(--dlp-bordo-dark); }     /* texto principal de headings/títulos */
.text-dlp-bordo { color: var(--dlp-bordo); }
.text-dlp-bordo-dark { color: var(--dlp-bordo-dark); }
.text-dlp-pink-darker { color: var(--dlp-pink-darker); }
.text-dlp-navy-tint { color: rgba(163, 23, 62, 0.65); }   /* alias → bordó claro */
.bg-dlp-pink-tint { background-color: var(--dlp-pink-tint); }
.bg-dlp-pink-tint-stronger { background-color: var(--dlp-pink-tint-stronger); }
.bg-dlp-navy-tint { background-color: var(--dlp-navy-tint); }
.bg-dlp-navy-tint-stronger { background-color: var(--dlp-navy-tint-stronger); }
.bg-dlp-bordo-tint { background-color: var(--dlp-bordo-tint); }
.border-dlp-pink-tint { border-color: rgba(231, 53, 89, 0.30); }
.border-dlp-navy-tint { border-color: rgba(163, 23, 62, 0.18); } /* alias→bordó (era navy fuera de paleta) */
/* Bordó plano (sin gradientes) — un solo color de marca en todas las superficies */
.bg-dlp-gradient { background: var(--dlp-bordo); }
.bg-dlp-gradient-bordo { background: var(--dlp-bordo); }
.bg-dlp-gradient-night { background: var(--dlp-bordo); }

/* === Sombras con tinte bordó === */
.shadow-dlp        { box-shadow: 0 2px 10px -5px rgba(163, 23, 62, 0.14); }
.shadow-dlp-md     { box-shadow: 0 8px 20px -8px rgba(163, 23, 62, 0.18); }
.shadow-dlp-lg     { box-shadow: 0 14px 30px -12px rgba(163, 23, 62, 0.30); }
.shadow-dlp-pink   { box-shadow: 0 14px 30px -10px rgba(231, 53, 89, 0.50); }
.shadow-dlp-pink-strong { box-shadow: 0 14px 30px -8px rgba(231, 53, 89, 0.60); }
.shadow-dlp-bordo  { box-shadow: 0 10px 25px rgba(163, 23, 62, 0.30); }
.shadow-dlp-navy   { box-shadow: 0 10px 25px rgba(163, 23, 62, 0.25); }  /* alias → bordó */

/* === Header de pantalla con identidad bordó (plano) === */
.dlp-header-bar {
  background: var(--dlp-bordo);
  color: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.dlp-header-bar h1, .dlp-header-bar .dlp-title { color: white; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; letter-spacing: -0.02em; font-weight: 800; }
.dlp-header-bar .dlp-subtitle { color: rgba(255, 255, 255, 0.78); }
.dlp-header-bar a, .dlp-header-bar button { color: rgba(255, 255, 255, 0.88); }
.dlp-header-bar a:hover, .dlp-header-bar button:hover { color: white; }

/* === Tarjeta DLP estándar (sombra bordó) === */
.card-dlp {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 2px 10px -5px rgba(163, 23, 62, 0.14);
  border: 1px solid rgba(163, 23, 62, 0.08);
}
.card-dlp-elevated {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(163, 23, 62, 0.14);
  border: 1px solid rgba(163, 23, 62, 0.10);
}

/* === Tabs de navegación arriba (en el header) === */
.dlp-top-tabs { display: flex; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.dlp-top-tabs a {
  flex: 1; text-align: center; padding: 7px 4px; font-size: 10px; font-weight: 600;
  color: rgba(255, 255, 255, 0.6); display: flex; flex-direction: column; align-items: center; gap: 2px;
  transition: color .15s;
}
.dlp-top-tabs a:hover { color: rgba(255, 255, 255, 0.85); }
.dlp-top-tabs a.active { color: #fff; box-shadow: inset 0 -3px 0 var(--dlp-pink); }

/* === Bottom nav bordó (plano) === */
.dlp-bottom-nav {
  background: var(--dlp-bordo);
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}
.dlp-bottom-nav a, .dlp-bottom-nav button { color: rgba(255, 255, 255, 0.6); }
.dlp-bottom-nav .active { color: white; position: relative; }
.dlp-bottom-nav .active::before {
  content: ''; position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  width: 40%; height: 3px; background: var(--dlp-pink); border-radius: 2px;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--dlp-pink);
}
input[type="radio"]:checked, input[type="checkbox"]:checked {
  accent-color: var(--dlp-pink);
}

/* Collapsible sections */
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details[open] > summary .arrow { transform: rotate(90deg); }

/* PDF look */
.pdf-page { box-shadow: 0 4px 24px rgba(0,0,0,0.08); }

/* No tap highlight */
body { -webkit-tap-highlight-color: transparent; }

/* === Identidad tipográfica DLP === */
/* Display = Plus Jakarta Sans en peso fuerte con tracking ajustado (sistema TasApp). */
.dlp-serif { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 800; letter-spacing: -0.02em; }
.dlp-serif-tight { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 800; letter-spacing: -0.02em; }

/* === Fondo con textura sutil DLP === */
.dlp-texture {
  background-color: var(--dlp-canvas);
  background-image:
    radial-gradient(circle at 15% 10%, rgba(231, 53, 89, 0.05) 0%, transparent 28%),
    radial-gradient(circle at 85% 90%, rgba(163, 23, 62, 0.04) 0%, transparent 32%);
}
.dlp-hero-bg {
  background: var(--dlp-bordo);
}
.dlp-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(163, 23, 62, 0.25), transparent);
}

/* === Borde lateral por estado de propiedad === */
.dlp-border-por-relevar         { border-left: 4px solid #F59E0B; }      /* amber (alias 'A tasar') */
.dlp-border-tasacion-pendiente  { border-left: 4px solid #F59E0B; }      /* 'A tasar' = amber */
.dlp-border-tasada              { border-left: 4px solid var(--dlp-pink); }
.dlp-border-captada             { border-left: 4px solid #EA7317; }      /* naranja: captada sin publicar */
.dlp-border-comercializacion    { border-left: 4px solid var(--dlp-bordo); }
.dlp-border-reservada           { border-left: 4px solid var(--dlp-bordo-dark); }
.dlp-border-vendida             { border-left: 4px solid #15803D; }       /* verde oscuro */

/* === Anillo tipo reloj (gauge circular reutilizable) === */
.dlp-ring { position: relative; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dlp-ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.dlp-ring-num { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.dlp-ring-sub { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: #9CA3AF; margin-top: 2px; }

/* === Checklist agrupado (gestión + captación) reutilizable === */
.grupo-bordo  { --grupo: var(--dlp-bordo); }
.grupo-pink   { --grupo: var(--dlp-pink); }
.grupo-amber  { --grupo: #B45309; }
.grupo-green  { --grupo: #15803D; }
.grupo-header { background: var(--grupo); color: white; }
.check-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: start; padding: 11px 14px; border-bottom: 1px solid rgba(163, 23, 62, 0.07); }
.check-row:last-child { border-bottom: none; }
.estado-btn { font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; border: none; cursor: pointer; min-width: 84px; text-align: center; }
.estado-select { font-size: 11px; font-weight: 700; padding: 6px 10px; border-radius: 999px; border: none; cursor: pointer; min-width: 96px; text-align: center; text-align-last: center; -webkit-appearance: none; appearance: none; }
.e-ok   { background: #DCFCE7; color: #15803D; }
.e-pend { background: #FEF3C7; color: #B45309; }
.e-na   { background: #F3F4F6; color: #6B7280; }
.e-no   { background: #FEE2E2; color: #B91C1C; }
.item-acciones { display: flex; gap: 8px; margin-top: 5px; }
.mini-btn { font-size: 10px; color: var(--dlp-bordo); background: var(--dlp-bordo-tint); border: none; border-radius: 6px; padding: 3px 8px; cursor: pointer; font-weight: 600; }
.mini-btn.activo { background: var(--dlp-bordo); color: white; }
.nota-text { font-size: 11px; color: #555; background: #FBF7F4; border-left: 2px solid var(--dlp-bordo); padding: 4px 8px; margin-top: 5px; border-radius: 0 4px 4px 0; white-space: pre-wrap; }

/* === Embudo · pirámide invertida (trapecios encadenados) reutilizable === */
.funnel2 { display: grid; grid-template-columns: minmax(56px,1fr) 46% minmax(70px,1fr); align-items: stretch; }
.f2-name { display: flex; align-items: center; justify-content: flex-end; padding-right: 10px; text-align: right;
           font-size: 11.5px; font-weight: 700; color: var(--dlp-bordo-dark); line-height: 1.1; }
.f2-band { height: 46px; position: relative; animation: f2in .55s cubic-bezier(.2,.8,.2,1) both; }
@keyframes f2in { from { opacity: 0; transform: scaleX(.4); } to { opacity: 1; transform: scaleX(1); } }
.f2-right { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-left: 10px; }
.f2-val { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 800; font-size: 17px; color: var(--dlp-bordo-dark); line-height: 1; letter-spacing: -0.02em; }
.f2-conv { font-size: 9px; font-weight: 700; color: #9CA3AF; margin-top: 3px; white-space: nowrap; }
.f2-conv b { color: var(--dlp-bordo); }

/* === Chip de tipo de propiedad (paleta DLP) === */
.dlp-tipo-residencial { background-color: var(--dlp-pink-tint); color: var(--dlp-bordo-dark); }
.dlp-tipo-casa        { background-color: var(--dlp-bordo-tint); color: var(--dlp-bordo-dark); }
.dlp-tipo-galpon      { background-color: #FFFBEB; color: #B45309; }      /* ámbar */
.dlp-tipo-terreno     { background-color: #F5F5F4; color: #57534E; }      /* piedra */

/* ===========================================================
   SISTEMA TIPOGRÁFICO DLP — nitidez + contraste mobile/desktop
   =========================================================== */

/* Render más nítido en todas las pantallas */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1F1F2E;                                  /* gris muy oscuro, casi negro, sin ser negro puro */
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.005em;
}

/* En notebooks/desktops subimos a 16px para que sea cómodo de leer */
@media (min-width: 768px) {
  body { font-size: 16px; }
}

/* Tipografía editorial DLP — solo para títulos grandes */
h1, h2, h3, .dlp-title-display {
  letter-spacing: -0.015em;
  font-weight: 700;
  color: #1F1F2E;
}

/* Títulos sobre superficies bordó: SIEMPRE blancos.
   (Sin esto, la regla de arriba los pinta negros y no contrastan.) */
.dlp-header-bar h1, .dlp-header-bar h2, .dlp-header-bar h3,
.dlp-hero-bg h1, .dlp-hero-bg h2, .dlp-hero-bg h3,
.ds-hero h1, .ds-hero h2, .ds-hero h3,
.bg-dlp-gradient h1, .bg-dlp-gradient h2, .bg-dlp-gradient h3,
.bg-dlp-gradient-bordo h1, .bg-dlp-gradient-bordo h2, .bg-dlp-gradient-bordo h3 { color: #fff; }

/* Texto regular: más oscuro de lo que era para mejor contraste */
.text-gray-400 { color: #6B7280 !important; }   /* WCAG AA en blanco */
.text-gray-500 { color: #4B5563 !important; }
.text-gray-600 { color: #374151 !important; }

/* ===========================================================
   CONTROLES — inputs/selects/botones más cómodos al tacto
   =========================================================== */
input, select, textarea {
  font-family: inherit;
  font-size: 14px;
  color: #1F1F2E;
  line-height: 1.4;
}
input::placeholder, textarea::placeholder { color: #9CA3AF; opacity: 1; }

@media (min-width: 768px) {
  input, select, textarea { font-size: 15px; }
}

/* Botones: target táctil mínimo 44×44 px (Apple HIG) */
button, .btn, a.block, a.btn {
  min-height: 36px;
}

/* ===========================================================
   HEADERS STICKY — más finos, mejor legibles
   =========================================================== */
.dlp-header-bar .dlp-title {
  font-size: 17px;
  line-height: 1.2;
}
.dlp-header-bar .dlp-subtitle {
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.3;
}
@media (min-width: 768px) {
  .dlp-header-bar .dlp-title { font-size: 19px; }
  .dlp-header-bar .dlp-subtitle { font-size: 13px; }
}

/* ===========================================================
   CARDS — sombras más sutiles + mejor jerarquía
   =========================================================== */
.card-dlp { padding: 0; }                          /* el padding lo decide cada uso */
.card-dlp h2, .card-dlp h3 {
  letter-spacing: -0.01em;
}

/* ===========================================================
   ABBR — tooltips de glosario más legibles
   =========================================================== */
abbr[title] {
  text-decoration: underline dotted;
  text-decoration-color: rgba(163, 23, 62, 0.45);
  text-underline-offset: 2px;
  cursor: help;
}

/* ===========================================================
   FOCUS visible accesible
   =========================================================== */
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--dlp-pink);
  outline-offset: 1px;
  border-color: var(--dlp-pink);
}

/* ===========================================================
   NÚMEROS / KPIs — tabular para alineación + serif para impacto
   =========================================================== */
.kpi-value, .num-display, .dlp-num {
  font-variant-numeric: tabular-nums;
}

/* ===========================================================
   ANCHO RESPONSIVE — en notebook/desktop aprovecha más espacio
   =========================================================== */
/* En desktop el contenido aprovecha más, pero con un tope cómodo */
@media (min-width: 1024px) {
  .dlp-content-narrow {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
  main {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
  }
  .dlp-header-bar > div {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===========================================================
   FILTROS — drawer en mobile (tipo Meli), expandido en desktop
   =========================================================== */
.dlp-filter-trigger { display: flex; }
.dlp-filter-panel { display: none; }   /* en mobile arranca cerrado */

/* Drawer móvil */
.dlp-filter-drawer {
  position: fixed;
  inset: 0;
  z-index: 99500;
  display: none;
}
.dlp-filter-drawer.open { display: block; }
.dlp-filter-drawer-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5);
}
.dlp-filter-drawer-panel {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: white;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 -8px 30px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
}
.dlp-filter-drawer-header {
  position: sticky; top: 0;
  background: white;
  padding: 14px 18px;
  border-bottom: 1px solid var(--dlp-canvas-dark);
  display: flex; align-items: center; justify-content: space-between;
  z-index: 2;
}
.dlp-filter-drawer-body { padding: 14px 18px; flex: 1; }
.dlp-filter-drawer-footer {
  position: sticky; bottom: 0;
  background: white;
  padding: 12px 16px;
  border-top: 1px solid var(--dlp-canvas-dark);
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px;
}

/* En desktop: filtros expandidos como Meli (sidebar), botón Filtros se oculta */
@media (min-width: 1024px) {
  .dlp-filter-trigger { display: none; }
  .dlp-filter-panel { display: block; }
  .dlp-layout-with-filters {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: start;
  }
  .dlp-filter-panel {
    background: white;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(163, 23, 62, 0.08);
    border: 1px solid rgba(163, 23, 62, 0.08);
    position: sticky;
    top: 80px;
    /* Si el panel es más alto que la pantalla, scrollea internamente y queda
       siempre fijo arriba (antes esperaba a que termines de scrollear la derecha). */
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    align-self: start;
  }
}

/* ===========================================================
   MEJORAS DE LEGIBILIDAD para texto pequeño
   =========================================================== */
.text-xs { font-size: 12px !important; line-height: 1.5 !important; }
.text-\[10px\] { font-size: 11px !important; line-height: 1.45 !important; }   /* sube de 10→11 */
.text-\[11px\] { font-size: 12px !important; line-height: 1.5 !important; }    /* sube de 11→12 */
.text-\[9px\] { font-size: 10px !important; line-height: 1.4 !important; }     /* sube de 9→10 */

/* ===========================================================
   SCROLL suave + mejor scroll behavior en mobile
   =========================================================== */
html { scroll-behavior: smooth; }
* { -webkit-overflow-scrolling: touch; }

/* ===========================================================
   ESTADO chips — más contraste
   =========================================================== */
.bg-amber-100 { background-color: #FEF3C7 !important; }
.text-amber-700 { color: #92400E !important; font-weight: 600; }
.bg-gray-200 { background-color: #E5E7EB !important; }
.text-gray-700 { color: #1F2937 !important; }

/* ===========================================================
   APP SHELL — sidebar (desktop ≥900) ↔ bottom-nav (mobile) + FAB
   Sistema de diseño TasApp (handoff). Lo inyecta montarAppShell()
   en las pantallas de shell (Inicio, Inventario, Dashboard,
   Mi semana, Mapa). El contenido va dentro de <div class="ds-main">.
   =========================================================== */
.ds-sidebar { display: none; position: fixed; top: 0; left: 0; bottom: 0; width: 256px; flex-direction: column; z-index: 40; padding: 22px 16px; background: var(--dlp-bordo); border-right: 1px solid rgba(0,0,0,0.15); }
.ds-bottomnav { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; justify-content: space-around; padding: 9px 6px calc(10px + env(safe-area-inset-bottom, 12px)); background: var(--dlp-bordo); border-top: 1px solid rgba(0,0,0,0.15); }
.ds-mobhead { display: flex; }
.ds-deskhead { display: none; }
.ds-main { padding-left: 0; padding-bottom: 96px; }
.ds-fab { position: fixed; right: 20px; bottom: 92px; display: flex; align-items: center; gap: 8px; padding: 14px 20px; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; z-index: 50; background: var(--dlp-pink); box-shadow: 0 14px 30px -8px rgba(231,53,89,0.6), 0 2px 6px rgba(231,53,89,0.4); }
.ds-fab svg { width: 19px; height: 19px; }
@media (min-width: 900px) {
  .ds-sidebar { display: flex; }
  .ds-bottomnav { display: none; }
  .ds-mobhead { display: none; }
  .ds-deskhead { display: flex; }
  .ds-main { padding-left: 256px; padding-bottom: 40px; }
  .ds-fab { bottom: 28px; }
}
.ds-sidebar-logo { display: flex; align-items: center; padding: 4px 6px 22px; }
.ds-sidebar-logo img { width: 100%; max-width: 200px; height: auto; object-fit: contain; display: block; }
.ds-sidebar nav { display: flex; flex-direction: column; gap: 3px; margin-top: 4px; }
.ds-navlink { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 11px; font-size: 13.5px; font-weight: 600; text-decoration: none; color: rgba(255,255,255,0.78); transition: background .15s ease, color .15s ease; }
.ds-navlink:hover { background: rgba(255,255,255,0.08); color: #fff; }
.ds-navlink.active { background: rgba(255,255,255,0.16); color: #fff; font-weight: 700; }
.ds-navlink svg { width: 21px; height: 21px; flex-shrink: 0; }
.ds-sidebar-user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 8px; border-top: 1px solid rgba(255,255,255,0.12); }
.ds-sidebar-user .av { width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; background: rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #fff; }
.ds-sidebar-user .nm { font-size: 12.5px; font-weight: 700; color: #fff; line-height: 1.2; }
.ds-sidebar-user .rl { font-size: 10.5px; color: rgba(255,255,255,0.6); }
.ds-mobnav-link { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; padding: 2px 14px; color: rgba(255,255,255,0.55); font-size: 10px; font-weight: 600; background: none; border: none; cursor: pointer; }
.ds-mobnav-link.active { color: #fff; }
.ds-mobnav-link svg { width: 22px; height: 22px; }
.ds-inner { max-width: 1240px; margin: 0 auto; }
/* Hero de sección — mismo look en todas las pantallas de navegación (Inicio, Inventario, Mi semana, Dashboard, Mapa) */
.dssec-hero { color: #fff; background: var(--dlp-bordo); padding: clamp(18px,3.5vw,30px) clamp(18px,4vw,36px) clamp(20px,3.5vw,28px); }
.dssec-eyebrow { margin: 0 0 5px; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.72); }
.dssec-name { font-size: clamp(26px,5.5vw,38px); font-weight: 800; letter-spacing: -0.02em; margin: 0; line-height: 1; color: #fff; }
.dssec-sub { margin: 9px 0 0; font-size: 13.5px; color: rgba(255,255,255,0.85); max-width: 560px; line-height: 1.5; }
/* Header viejo (dlp-header-bar): visible en mobile, oculto en desktop (manda la sidebar) */
@media (min-width: 900px) { .ds-mobonly { display: none !important; } }
/* Pantallas de flujo: en escritorio usan TODO el ancho (no una columna vertical angosta),
   con un padding lateral cómodo. En mobile, el padding propio de cada main. */
@media (min-width: 900px) { .flujo-centrado { max-width: none !important; margin: 0 !important; padding-left: clamp(20px, 4vw, 48px) !important; padding-right: clamp(20px, 4vw, 48px) !important; } }
/* El contenedor global no limita a 1280 en escritorio: aprovechamos toda la pantalla. */
@media (min-width: 1024px) { main { max-width: none; } }
