/* css/menu-zones.css — the side menu by zones and the zone screen
   (js/menu-zones/, Documentos/plan-menu-por-zonas.md). */

/* ── The two ways of seeing the menu ───────────────────────────────────── */
/* The old group labels stay in the list (the guided tour walks them); with the
   zones on, the zone titles replace them. */
.drawer-list.mz-on > .drawer-group { display: none; }
.drawer-list.mz-zonas .mz-sec { display: none; }
.drawer-list.mz-completo .mz-filas { display: none; }

/* «Por zonas | Completo», in «Apariencia» under the text size; at the top of
   the list only if that block is missing. */
.mz-cab {
  display: flex;
  gap: 4px;
  margin: 12px 0 0;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.mz-modo {
  flex: 1 1 0;
  min-width: 0;
  min-height: 36px;
  padding: 4px 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.drawer-list > .mz-cab { margin: 6px 14px 4px; }
.mz-modo:hover { color: var(--text); }
.mz-modo[aria-pressed="true"] { background: var(--accent-dim); color: var(--accent); }
.mz-modo:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
@media (pointer: coarse) { .mz-modo { min-height: 44px; } }

/* A zone row: just its icon and name (Santi, 2026-11-17: the options listed
   underneath cluttered the menu). */
.mz-zona { align-items: center; min-height: 52px; }
.mz-zona .di-icon svg { width: 24px; height: 24px; }
.mz-zona-t { flex: 1 1 auto; min-width: 0; font-size: 16px; font-weight: 600; }

/* «Completo»: a line between one zone and the next, like the old groups. */
.mz-sec + .mz-sec > .mz-grp {
  border-top: 1px solid color-mix(in srgb, var(--text) 14%, transparent);
}

/* «Completo»: the «Configuración» sub-heading inside a zone (zones-menu.js). */
.mz-subgrp {
  margin: 6px 14px 2px;
  padding: 8px 0 2px;
  border-top: 1px dashed var(--border);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── The zone screen ───────────────────────────────────────────────────── */
.mz-pant { display: flex; flex-direction: column; gap: 10px; padding: 4px 0 16px; }
.mz-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  text-align: left;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.mz-card:hover { border-color: var(--accent); }
.mz-card:active { background: var(--surface-soft); }
.mz-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mz-card.mz-dest { border-color: var(--accent); background: var(--accent-dim); }
.mz-card-ico { display: flex; flex: 0 0 auto; color: var(--accent); }
.mz-card-ico svg { width: 26px; height: 26px; }
.mz-card-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 auto; }
.mz-card-t { font-size: 16px; font-weight: 600; line-height: 1.25; }
.mz-card-d { font-size: 13px; color: var(--muted); line-height: 1.35; }
.mz-card-chev { display: flex; flex: 0 0 auto; color: var(--muted); }
.mz-card-chev svg { width: 18px; height: 18px; }
/* The badge itself is the menu's (css/main/drawer-menu.css). */
.mz-card .note.badge { flex: 0 0 auto; }

/* «Configuración»: the zone's set-up-once options in a panel of their own,
   with a different background and a heading (zone-screen.js). Inside it the
   cards take the page background, so they still read as cards. */
.mz-conf {
  margin: 8px 0 16px;
  padding: 12px 12px 4px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface2);
}
.mz-conf-t {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 2px 10px;
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.mz-conf-ico { display: flex; color: var(--text-muted); }
.mz-conf-ico svg { width: 18px; height: 18px; }
.mz-conf .mz-pant { padding-bottom: 8px; }
.mz-conf .mz-card { background: var(--bg); }
.mz-conf .mz-card-ico { color: var(--text-muted); }
.mz-conf .mz-card:hover .mz-card-ico { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .mz-modo, .mz-card { transition: none; }
}
