@font-face {
  font-family: 'Melodrama';
  src: url('/fonts/melodrama-regular.woff') format('woff'),
       url('/fonts/melodrama-regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

:root {
  /* Base cálida (lenguaje TINTA, heredado del monitor) */
  --bg: #13110E;
  --bg-surface: #1B1813;
  --bg-card: #1B1813;
  --bg-card-hover: #231F18;
  --bg-input: #100E0B;
  --text: #F5F1E9;
  --text-dim: rgba(245, 241, 233, 0.66);
  --text-muted: rgba(245, 241, 233, 0.46);
  --accent: #C49A37;
  --accent-dim: rgba(196, 154, 55, 0.14);
  --accent-glow: rgba(196, 154, 55, 0.22);
  --mostaza: #C49A37;
  --mostaza-deep: #9C7A24;
  --mostaza-line: rgba(196, 154, 55, 0.45);
  --ok: #2FE3A0;
  --ok-bg: rgba(47, 227, 160, 0.16);
  --warn: #FFC53D;
  --warn-bg: rgba(255, 197, 61, 0.16);
  --err: #FF4D6A;
  --err-bg: rgba(255, 77, 106, 0.16);
  --border: rgba(245, 241, 233, 0.09);
  --border-light: rgba(245, 241, 233, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --tr: 160ms ease;
  --f-display: 'Melodrama', Georgia, 'Times New Roman', serif;
  --f-sans: 'General Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

body {
  font-family: var(--f-sans);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

.melo { font-family: var(--f-display); font-weight: 400; }
.kicker {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mostaza);
  font-weight: 500;
}

::selection { background: var(--accent-dim); color: var(--text); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 6px; }
:focus-visible { outline: 2px solid var(--mostaza); outline-offset: 2px; border-radius: 4px; }

a { color: var(--mostaza); text-decoration: none; }
button { font-family: inherit; }

/* === BOTONES === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.55rem 1.05rem;
  background: var(--bg-surface);
  color: var(--text);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.92rem; font-weight: 500;
  cursor: pointer;
  transition: background var(--tr), border-color var(--tr), transform var(--tr);
  white-space: nowrap;
}
.btn:hover { background: var(--bg-card-hover); border-color: var(--mostaza-line); }
.btn:active { transform: scale(0.98); }
.btn-primario { background: var(--mostaza); border-color: var(--mostaza); color: #13110E; font-weight: 600; }
.btn-primario:hover { background: #D4AC49; border-color: #D4AC49; }
.btn-ok { background: var(--ok-bg); border-color: rgba(47, 227, 160, 0.4); color: var(--ok); }
.btn-warn { background: var(--warn-bg); border-color: rgba(255, 197, 61, 0.4); color: var(--warn); }
.btn-err { background: var(--err-bg); border-color: rgba(255, 77, 106, 0.4); color: var(--err); }
.btn-chico { padding: 0.3rem 0.7rem; font-size: 0.82rem; }
.btn-fantasma { background: transparent; border-color: transparent; color: var(--text-dim); }
.btn-fantasma:hover { border-color: var(--border-light); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* === INPUTS === */
label.campo { display: block; margin-bottom: 0.9rem; }
label.campo > span {
  display: block; font-size: 0.78rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.3rem;
}
input, select, textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--tr);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--mostaza); }
textarea { resize: vertical; min-height: 70px; }
input[type='color'] { padding: 0.15rem; height: 40px; cursor: pointer; }
input[type='checkbox'] { width: auto; }

/* === HEADER === */
header.tope {
  background: rgba(19, 17, 14, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.tope-fila {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.7rem 1.4rem; gap: 1rem; max-width: 1500px; margin: 0 auto;
}
.marca { display: flex; align-items: baseline; gap: 0.7rem; }
.marca h1 { font-family: var(--f-display); font-size: 1.55rem; font-weight: 400; letter-spacing: 0.01em; }
.marca .kicker { font-size: 9px; }
nav.principal { display: flex; gap: 0.2rem; align-items: center; }
nav.principal a {
  padding: 0.42rem 0.85rem; border-radius: var(--radius-sm);
  color: var(--text-dim); font-size: 0.92rem; font-weight: 500;
  transition: background var(--tr), color var(--tr);
  position: relative;
}
nav.principal a:hover { background: var(--bg-card-hover); color: var(--text); }
nav.principal a.activa { background: var(--accent-dim); color: var(--mostaza); }
.tope-der { display: flex; align-items: center; gap: 0.5rem; }
.insignia {
  position: absolute; top: 1px; right: 1px;
  background: var(--mostaza); color: #13110E;
  font-size: 10px; font-weight: 700; font-family: var(--f-mono);
  min-width: 16px; height: 16px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.icono-btn {
  position: relative;
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: transparent; border: 1px solid transparent;
  color: var(--text-dim); font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--tr);
}
.icono-btn:hover { background: var(--bg-card-hover); color: var(--text); }
.icono-btn .insignia { top: 2px; right: 2px; }

/* Menús desplegables del header */
.desplegable { position: relative; }
.panel-desplegable {
  position: absolute; right: 0; top: calc(100% + 8px);
  width: 340px; max-width: calc(100vw - 2rem);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  z-index: 200; overflow: hidden;
  display: none;
}
.panel-desplegable.abierto { display: block; }
.panel-titulo {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.8rem 1rem; border-bottom: 1px solid var(--border);
  font-size: 0.85rem; color: var(--text-dim);
}
.lista-notifs { max-height: 380px; overflow-y: auto; }
.notif {
  padding: 0.7rem 1rem; border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background var(--tr);
}
.notif:hover { background: var(--bg-card-hover); }
.notif.nueva { border-left: 3px solid var(--mostaza); background: var(--accent-dim); }
.notif b { display: block; font-size: 0.9rem; font-weight: 600; }
.notif span { font-size: 0.82rem; color: var(--text-dim); }
.notif time { display: block; font-size: 0.72rem; color: var(--text-muted); font-family: var(--f-mono); margin-top: 2px; }
.menu-item {
  display: flex; width: 100%; text-align: left; gap: 0.6rem; align-items: center;
  padding: 0.65rem 1rem; background: none; border: none;
  color: var(--text); font-size: 0.9rem; cursor: pointer;
}
.menu-item:hover { background: var(--bg-card-hover); }
.menu-item small { color: var(--text-muted); display: block; font-size: 0.75rem; }
.menu-sep { height: 1px; background: var(--border); }

/* === LAYOUT === */
main { max-width: 1500px; margin: 0 auto; padding: 1.3rem 1.4rem 3rem; }
.pagina-titulo { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.1rem; }
.pagina-titulo h2 { font-family: var(--f-display); font-size: 1.8rem; font-weight: 400; }

/* === CHIPS DE ESTADO === */
.chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.18rem 0.6rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.03em;
  border: 1px solid transparent;
}
.chip-recibida { background: var(--bg-card-hover); color: var(--text-dim); border-color: var(--border-light); }
.chip-confirmada { background: var(--ok-bg); color: var(--ok); }
.chip-tentativa { background: var(--warn-bg); color: var(--warn); }
.chip-rechazada { background: var(--err-bg); color: var(--err); }
.chip-cancelada { background: var(--err-bg); color: var(--err); text-decoration: line-through; }
.chip-realizada { background: var(--accent-dim); color: var(--mostaza); }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex-shrink: 0; }

/* === TOOLBAR CALENDARIO === */
.barra {
  display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center;
  margin-bottom: 1rem;
}
.barra .grupo { display: flex; gap: 0.25rem; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 3px; }
.barra .grupo button {
  padding: 0.34rem 0.75rem; background: transparent; border: none; border-radius: 7px;
  color: var(--text-dim); font-size: 0.87rem; font-weight: 500; cursor: pointer;
  transition: background var(--tr), color var(--tr);
}
.barra .grupo button:hover { color: var(--text); }
.barra .grupo button.activo { background: var(--accent-dim); color: var(--mostaza); }
.barra select { width: auto; padding: 0.42rem 0.6rem; font-size: 0.87rem; }
.barra .separador { flex: 1; }
.titulo-mes { font-family: var(--f-display); font-size: 1.45rem; min-width: 210px; text-align: center; }

/* === FULLCALENDAR (tema oscuro TINTA) === */
#calendario { --fc-border-color: var(--border); --fc-page-bg-color: transparent;
  --fc-neutral-bg-color: var(--bg-surface); --fc-neutral-text-color: var(--text-muted);
  --fc-today-bg-color: rgba(196, 154, 55, 0.07);
  --fc-event-text-color: var(--text);
  --fc-list-event-hover-bg-color: var(--bg-card-hover);
  --fc-highlight-color: var(--accent-dim);
  --fc-now-indicator-color: var(--err);
  --fc-small-font-size: 0.78rem;
}
.fc { background: var(--bg-surface); border-radius: var(--radius); padding: 0.6rem; border: 1px solid var(--border); }
.fc .fc-scrollgrid { border-radius: var(--radius-sm); overflow: hidden; }
.fc .fc-col-header-cell-cushion {
  color: var(--text-muted); font-family: var(--f-mono); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.1em; padding: 8px 4px;
}
.fc .fc-daygrid-day-number { color: var(--text-dim); font-family: var(--f-mono); font-size: 0.8rem; padding: 6px 8px; }
.fc .fc-day-today .fc-daygrid-day-number { color: var(--mostaza); font-weight: 700; }
.fc .fc-day-other .fc-daygrid-day-number { color: var(--text-muted); opacity: 0.4; }
.fc .fc-timegrid-slot-label-cushion, .fc .fc-timegrid-axis-cushion { color: var(--text-muted); font-family: var(--f-mono); font-size: 0.72rem; }
.fc .fc-list-day-cushion { background: var(--bg-card-hover); }
.fc .fc-list-event-title a { color: var(--text); }
.fc .fc-list-event-time { color: var(--text-dim); font-family: var(--f-mono); }
.fc a.fc-daygrid-more-link { color: var(--mostaza); font-size: 0.75rem; }
.fc .fc-popover { background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: var(--radius-sm); box-shadow: 0 18px 50px rgba(0,0,0,0.55); }
.fc .fc-popover-header { background: var(--bg-card-hover); color: var(--text-dim); }

/* Evento (chip TINTA) */
.evt {
  display: flex; align-items: center; gap: 5px;
  padding: 2px 6px; border-radius: 6px;
  background: color-mix(in srgb, var(--evt-color, var(--mostaza)) 16%, transparent);
  border-left: 3px solid var(--evt-color, var(--mostaza));
  font-size: 0.78rem; line-height: 1.3; overflow: hidden; width: 100%;
  cursor: pointer;
}
.evt .evt-hora { font-family: var(--f-mono); font-size: 0.7rem; color: var(--evt-color, var(--mostaza)); flex-shrink: 0; }
.evt .evt-titulo { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.evt.evt-tentativa { border-left-style: dashed; opacity: 0.75; }
.evt.evt-tentativa .evt-titulo::after { content: ' (tent.)'; color: var(--warn); font-size: 0.7rem; }
.evt.evt-recibida { background: transparent; border: 1px dashed var(--border-light); border-left: 3px dashed var(--evt-color); opacity: 0.8; }
.evt.evt-rechazada { opacity: 0.45; border-left-color: var(--err); }
.evt.evt-rechazada .evt-titulo { text-decoration: line-through; }
.evt.evt-cancelada { opacity: 0.5; }
.evt.evt-cancelada .evt-titulo { text-decoration: line-through; }
.evt.evt-realizada { opacity: 0.65; }
.fc-timegrid-event-harness .evt { height: 100%; align-items: flex-start; flex-direction: column; gap: 1px; padding: 4px 6px; }
.fc-timegrid-event-harness .evt .evt-titulo { white-space: normal; }
.fc-h-event, .fc-v-event, .fc-daygrid-event { background: transparent !important; border: none !important; box-shadow: none !important; }

/* Efemérides como franja arriba del día */
.efemeride {
  font-size: 0.68rem; font-family: var(--f-mono); letter-spacing: 0.03em;
  color: var(--mostaza); background: var(--accent-dim);
  border-radius: 4px; padding: 1px 5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  pointer-events: none;
}

/* === DRAWER FICHA === */
.telon {
  position: fixed; inset: 0; background: rgba(10, 9, 7, 0.6);
  z-index: 300; opacity: 0; pointer-events: none; transition: opacity 200ms ease;
}
.telon.abierto { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 480px; max-width: 94vw;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-light);
  z-index: 310; overflow-y: auto;
  transform: translateX(102%); transition: transform 240ms ease;
  padding: 1.4rem 1.5rem 2.5rem;
}
.drawer.abierto { transform: translateX(0); }
.drawer-cerrar { position: absolute; top: 0.9rem; right: 0.9rem; }
.drawer .kicker { margin-bottom: 0.5rem; }
.drawer h3 { font-family: var(--f-display); font-size: 1.55rem; font-weight: 400; line-height: 1.2; margin: 0.4rem 0 0.8rem; padding-right: 2rem; }
.ficha-datos { display: grid; gap: 0.55rem; margin: 1rem 0; }
.ficha-dato { display: flex; gap: 0.6rem; align-items: baseline; font-size: 0.93rem; }
.ficha-dato .etiqueta { color: var(--text-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.07em; min-width: 92px; flex-shrink: 0; }
.ficha-bloque { margin: 1rem 0; padding-top: 0.9rem; border-top: 1px solid var(--border); }
.ficha-bloque h4 { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.ficha-acciones { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.6rem; }
.aviso-choque {
  background: var(--warn-bg); border: 1px solid rgba(255, 197, 61, 0.4);
  border-radius: var(--radius-sm); padding: 0.6rem 0.8rem;
  font-size: 0.85rem; color: var(--warn); margin: 0.8rem 0;
}
.linea-historial { display: flex; gap: 0.7rem; padding: 0.45rem 0; border-bottom: 1px solid var(--border); font-size: 0.84rem; }
.linea-historial time { font-family: var(--f-mono); font-size: 0.72rem; color: var(--text-muted); flex-shrink: 0; width: 106px; }
.linea-historial .detalle-cambios { color: var(--text-muted); font-size: 0.78rem; margin-top: 2px; }
.compromiso { display: flex; align-items: center; gap: 0.6rem; padding: 0.4rem 0; font-size: 0.9rem; }
.compromiso.cumplido span { text-decoration: line-through; color: var(--text-muted); }

/* === MODAL === */
.modal-fondo {
  position: fixed; inset: 0; background: rgba(10, 9, 7, 0.65);
  z-index: 400; display: none; align-items: flex-start; justify-content: center;
  overflow-y: auto; padding: 4vh 1rem;
}
.modal-fondo.abierto { display: flex; }
.modal {
  background: var(--bg-surface); border: 1px solid var(--border-light);
  border-radius: var(--radius); width: 560px; max-width: 100%;
  padding: 1.5rem 1.6rem; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
}
.modal h3 { font-family: var(--f-display); font-size: 1.5rem; font-weight: 400; margin-bottom: 1.1rem; }
.modal .fila-doble { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.modal .fila-triple { display: grid; grid-template-columns: 1.2fr 0.9fr 0.9fr; gap: 0.8rem; }
.modal-acciones { display: flex; justify-content: flex-end; gap: 0.6rem; margin-top: 1.2rem; }

/* === TOASTS === */
#toasts { position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%); z-index: 500; display: flex; flex-direction: column; gap: 0.5rem; align-items: center; }
.toast {
  background: var(--bg-card-hover); border: 1px solid var(--border-light);
  border-radius: var(--radius-sm); padding: 0.6rem 1.1rem;
  font-size: 0.9rem; box-shadow: 0 10px 34px rgba(0, 0, 0, 0.5);
  animation: subir 180ms ease;
  max-width: min(92vw, 560px); text-align: center;
}
.toast.ok { border-color: rgba(47, 227, 160, 0.5); color: var(--ok); }
.toast.err { border-color: rgba(255, 77, 106, 0.5); color: var(--err); }
.toast.warn { border-color: rgba(255, 197, 61, 0.5); color: var(--warn); }
@keyframes subir { from { opacity: 0; transform: translateY(8px); } }

/* === TARJETAS (bandeja) === */
.tarjetas { display: grid; gap: 0.8rem; max-width: 860px; }
.tarjeta {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem 1.2rem;
  transition: border-color var(--tr), background var(--tr);
}
.tarjeta:hover { border-color: var(--border-light); background: var(--bg-card-hover); }
.tarjeta-cab { display: flex; justify-content: space-between; gap: 0.8rem; align-items: baseline; flex-wrap: wrap; }
.tarjeta-cab .cuando { font-family: var(--f-mono); color: var(--mostaza); font-size: 0.85rem; }
.tarjeta h3 { font-size: 1.05rem; font-weight: 600; margin: 0.3rem 0 0.2rem; cursor: pointer; }
.tarjeta h3:hover { color: var(--mostaza); }
.tarjeta .meta { color: var(--text-dim); font-size: 0.87rem; }
.tarjeta .origen { font-size: 0.75rem; color: var(--text-muted); font-family: var(--f-mono); }
.tarjeta-acciones { display: flex; gap: 0.45rem; margin-top: 0.7rem; flex-wrap: wrap; align-items: center; }
.tarjeta-acciones input { flex: 1; min-width: 150px; padding: 0.35rem 0.6rem; font-size: 0.85rem; }
.seccion-titulo { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin: 1.6rem 0 0.7rem; }
.vacio-estado { color: var(--text-muted); padding: 2.2rem 0; text-align: center; font-size: 0.95rem; }

/* === TABLAS (admin) === */
.tabla-envoltura { overflow-x: auto; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius); }
table.tabla { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.tabla th {
  text-align: left; padding: 0.7rem 1rem; color: var(--text-muted);
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.09em;
  border-bottom: 1px solid var(--border-light); white-space: nowrap;
}
.tabla td { padding: 0.65rem 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.tabla tr:last-child td { border-bottom: none; }
.tabla .apagado { opacity: 0.45; }
.pastilla-color { width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--border-light); display: inline-block; vertical-align: middle; }
.mono { font-family: var(--f-mono); font-size: 0.8rem; }
.tabs { display: flex; gap: 0.3rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--border); }
.tabs button {
  padding: 0.55rem 1rem; background: none; border: none; border-bottom: 2px solid transparent;
  color: var(--text-dim); font-size: 0.95rem; font-weight: 500; cursor: pointer;
}
.tabs button.activo { color: var(--mostaza); border-bottom-color: var(--mostaza); }

/* === LOGIN / INVITAR (páginas centradas) === */
.centrada {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  background:
    radial-gradient(ellipse 60% 45% at 70% -10%, rgba(196, 154, 55, 0.08), transparent),
    var(--bg);
}
.caja {
  width: 430px; max-width: 100%;
  background: var(--bg-surface); border: 1px solid var(--border-light);
  border-radius: 20px; padding: 2.2rem 2.1rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}
.caja-ancha { width: 600px; }
.caja .kicker { margin-bottom: 0.6rem; }
.caja h1 { font-family: var(--f-display); font-size: 2rem; font-weight: 400; margin-bottom: 1.4rem; }
.caja .error {
  background: var(--err-bg); border: 1px solid rgba(255, 77, 106, 0.4);
  color: var(--err); border-radius: var(--radius-sm);
  padding: 0.55rem 0.8rem; font-size: 0.87rem; margin-bottom: 0.9rem; display: none;
}
.caja .exito { text-align: center; padding: 1.5rem 0; }
.caja .exito .tilde { font-size: 3rem; color: var(--ok); }

/* === PLACA === */
.placa-grilla { display: grid; grid-template-columns: minmax(320px, 480px) 1fr; gap: 1.6rem; align-items: start; }
.placa-vista { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; }
.placa-vista img { max-width: 100%; border-radius: var(--radius-sm); display: block; }
.placa-vista .esperando { color: var(--text-muted); text-align: center; padding: 4rem 1rem; }
.destinatario { display: flex; justify-content: space-between; align-items: center; gap: 0.7rem; padding: 0.55rem 0; border-bottom: 1px solid var(--border); }
.destinatario:last-child { border-bottom: none; }
.destinatario .quien b { display: block; font-size: 0.92rem; }
.destinatario .quien span { font-size: 0.78rem; color: var(--text-muted); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .tope-fila { padding: 0.6rem 0.9rem; flex-wrap: wrap; }
  nav.principal { order: 3; width: 100%; overflow-x: auto; }
  main { padding: 1rem 0.9rem 2.5rem; }
  .placa-grilla { grid-template-columns: 1fr; }
  .modal .fila-triple { grid-template-columns: 1fr 1fr; }
  .titulo-mes { min-width: 0; font-size: 1.15rem; }
  .drawer { width: 100vw; max-width: 100vw; }
}
