/* client/src/styles/v216.css — v2.16 Íconos SVG minimalistas, logo «VL» y ajustes responsivos */

/* ── Íconos de trazo (components/icons.js) ───────────────────────────── */
.ic { width: 1.15em; height: 1.15em; flex: 0 0 auto; display: inline-block; vertical-align: -0.2em; stroke-width: 1.75; }
.btn .ic { width: 16px; height: 16px; margin-right: 6px; vertical-align: -3px; }
.btn > .ic:only-child { margin-right: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0; }

/* menú lateral */
.nav-icon { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; font-size: 0; filter: none; opacity: .72; }
.nav-icon .ic { width: 18px; height: 18px; vertical-align: 0; }
.nav-item:hover .nav-icon, .nav-item.active .nav-icon { opacity: 1; }
.nav-item { display: flex; align-items: center; gap: 10px; }
#topbar-menu-btn { align-items: center; justify-content: center; }
#topbar-menu-btn .ic { width: 22px; height: 22px; vertical-align: 0; }
#topbar-menu-btn [data-icon] { display: inline-flex; }

/* logo «VL»: el monograma se dibuja con trazo sobre el fondo de siempre */
.vl-mark { width: 70%; height: 70%; display: block; }
.sidebar-logo-icon, #seed-screen .seed-logo, .seed-logo, .lg-mark, .ht-logo {
  display: inline-grid; place-items: center; font-size: 0 !important; letter-spacing: 0 !important;
  text-shadow: none !important; font-style: normal !important;
}
.sidebar-logo-icon { background: var(--accent); }
.sidebar-logo-icon .vl-mark { width: 74%; height: 74%; }
.lg-mark .vl-mark { width: 66%; height: 66%; }

/* menú de usuario, búsqueda global, panel de control */
.user-menu-item { display: flex; align-items: center; gap: 10px; }
.user-menu-item .ic { width: 17px; height: 17px; color: var(--text-muted); }
.user-menu-item.danger .ic { color: inherit; }
.gs-ic .ic { width: 19px; height: 19px; }
.stat-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px;
  background: color-mix(in srgb, currentColor 10%, transparent); }
.stat-icon .ic { width: 22px; height: 22px; }
.cat-ic .ic { width: 20px; height: 20px; }
.line-thumb .ic { width: 22px; height: 22px; color: var(--text-muted); }
.calc-warn .ic, strong > .ic, .card .ic { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }

/* Menú Principal: botón «Cómo usar» */
.cm-howto-ic { display: inline-grid; place-items: center; }
.cm-howto-ic .ic { width: 16px; height: 16px; margin-left: 2px; }

/* ── «Cómo usar» ─────────────────────────────────────────────────────── */
.ht-chip-ic { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-lt, rgba(37,99,235,.1)); color: var(--accent); font-size: 0; }
.ht-chip-ic .ic { width: 20px; height: 20px; }
.ht-chip.on .ht-chip-ic { background: var(--accent); color: var(--on-accent, #fff); }
.ht-ctl { display: inline-flex; align-items: center; justify-content: center; }
.ht-ctl .ic { width: 18px; height: 18px; vertical-align: 0; }
.ht-play .ic { width: 20px; height: 20px; }
.ht-intro-ic { font-size: 0; width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center;
  background: rgba(255,255,255,.14); color: #fff; }
.ht-intro-ic .ic { width: 40px; height: 40px; stroke-width: 1.5; }
.ht-done { display: inline-flex; align-items: center; gap: 6px; }
.ht-done .ic { width: 18px; height: 18px; color: var(--success, #16803a); }

/* maqueta: logo, menú lateral y botones con íconos */
.ht-logo .vl-mark { width: 76%; height: 76%; }
.ht-side-i { display: flex; align-items: center; gap: 6px; }
.ht-side-i .ic { width: 12px; height: 12px; opacity: .75; }
.ht-btn { display: inline-flex; align-items: center; gap: 4px; }
.ht-btn .ic { width: 12px; height: 12px; }
.ht-mi-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: 0;
  background: #eef3f9; color: #1c5a8a; }
.ht-mi-ic .ic { width: 19px; height: 19px; }
.ht-mcard.on .ht-mi-ic { background: #1c5a8a; color: #fff; }
.ht-more.ht-more-4 { grid-template-columns: repeat(4, 1fr); }

/* ── Responsivo: lo que el recorrido encontró ────────────────────────── */
@media (max-width: 767px) {
  .nav-icon .ic { width: 20px; height: 20px; }
  .stat-icon { width: 38px; height: 38px; }
  .stat-icon .ic { width: 19px; height: 19px; }
  /* responsive.css pedía 16 px (evita el zoom automático de iOS al tocar una
     casilla), pero v211.css lo volvía a 14 px: aquí gana el 16 */
  .input, select.input, textarea.input, .gs-input { font-size: 16px; }
  .gs-input { min-height: 40px; }
  /* casillas de marcar más grandes para el dedo */
  #main-content input[type=checkbox], .modal-box input[type=checkbox] { width: 20px; height: 20px; }
  #main-content a[href^="mailto:"] { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; }
}
/* Pantallas táctiles: los botones chicos conservan su dibujo pero el área que
   se puede tocar crece a 40 px (botón ⓘ y pasos de «Cómo usar») */
.hlp-btn::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; }
.ht-seg::after { content: ''; position: absolute; left: 0; right: 0; top: -16px; bottom: -16px; }
.ht-progress { padding: 8px 0; }
@media (prefers-reduced-motion: reduce) {
  .ht-chip-ic, .ht-mi-ic { transition: none; }
}
