:root {
  --bg: #f3f6f6; --panel: #fff; --ink: #1b2a2e; --muted: #6a7b7f; --line: #e1e8e9; --soft: #f8fafa;
  --accent: #0f8b8d; --accent-soft: #e2f3f2; --accent-ink: #0b6567;
  --wa: #1fa855; --wa-soft: #e6f7ec; --warn: #d48a12; --warn-soft: #fff4e0; --danger: #c0392b; --danger-soft: #fdecea;
  --side: #12363a; --radius: 10px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 14px; color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); }
.hidden { display: none !important; }
.muted { color: var(--muted); } .error { color: var(--danger); min-height: 1em; }
a { color: var(--accent); }

/* Auth */
.auth { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(160deg, #12363a, #0f8b8d); }
.auth-box { background: #fff; border-radius: 14px; padding: 32px; width: 360px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 20px 50px rgba(0,0,0,.2); }
.auth-box h1 { margin: 4px 0 0; font-size: 22px; }
.auth-box label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.auth-logo { width: 52px; height: 52px; }

/* Layout */
.shell { display: flex; height: 100vh; }
.sidebar { width: 224px; flex-shrink: 0; background: var(--side); color: #dcecec; display: flex; flex-direction: column; padding: 16px 12px; }
.brand { display: flex; gap: 10px; align-items: center; padding: 4px 6px 20px; }
.brand .logo { width: 38px; height: 38px; }
.brand small { display: block; color: #93b9ba; font-size: 11px; }
nav { display: flex; flex-direction: column; gap: 2px; }
nav button { background: none; border: 0; color: inherit; text-align: left; padding: 10px 12px; border-radius: 8px; font: inherit; cursor: pointer; display: flex; align-items: center; gap: 8px; }
nav button:hover { background: #1b4a4f; }
nav button.active { background: var(--accent); color: #fff; }
.badge { margin-left: auto; background: var(--warn); color: #fff; border-radius: 10px; padding: 1px 7px; font-size: 11px; font-style: normal; }
.dot { margin-left: auto; width: 9px; height: 9px; border-radius: 50%; background: #7d8d8f; }
.dot.on { background: #25d366; } .dot.qr { background: var(--warn); } .dot.err { background: var(--danger); }
.side-foot { margin-top: auto; font-size: 12px; color: #93b9ba; display: flex; flex-direction: column; gap: 6px; padding: 6px; }
.side-foot a { color: #cfe7e7; }
main { flex: 1; overflow: auto; padding: 22px 28px; min-width: 0; }
.view { display: none; } .view.active { display: block; }
.view-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
h1 { font-size: 22px; margin: 0; } h2 { font-size: 15px; margin: 0 0 12px; } h3 { font-size: 14px; margin: 16px 0 8px; }
.subtitle { color: var(--muted); margin: 4px 0 0; }
.toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
label.inline { display: flex; align-items: center; gap: 6px; color: var(--muted); }

input, select, textarea { font: inherit; padding: 7px 9px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink); min-width: 0; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
textarea { width: 100%; resize: vertical; }
.btn { background: var(--accent); color: #fff; border: 1px solid var(--accent); border-radius: 7px; padding: 7px 14px; cursor: pointer; font: inherit; white-space: nowrap; }
.btn:hover { filter: brightness(1.07); }
.btn.ghost { background: #fff; color: var(--accent-ink); }
.btn.danger { background: var(--danger); border-color: var(--danger); }
.btn.danger.ghost { background: #fff; color: var(--danger); }
.btn.warn { background: var(--warn); border-color: var(--warn); }
.btn.small { padding: 3px 9px; font-size: 12px; }
.btn.wide { width: 100%; padding: 10px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.panel.narrow { max-width: 620px; }
.empty { padding: 40px; text-align: center; color: var(--muted); }
.pill { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 11px; background: var(--soft); border: 1px solid var(--line); color: var(--muted); }
.pill.warn { background: var(--warn-soft); color: #8a5a00; border-color: #f3d9a6; }
.pill.ok { background: var(--wa-soft); color: #13703a; border-color: #bfe8cd; }
.pill.bad { background: var(--danger-soft); color: var(--danger); border-color: #f4c7c1; }

/* Agenda */
.legend { display: flex; gap: 12px; flex-wrap: wrap; margin: -4px 0 12px; font-size: 12px; color: var(--muted); }
.lg::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.lg.wa::before { background: var(--wa); } .lg.clinic::before { background: var(--accent); } .lg.pend::before { background: var(--warn); }
.lg.done::before { background: #9aa7a9; } .lg.noshow::before { background: var(--danger); } .lg.ok::before { display: none; }
.agenda { display: grid; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.agenda .c { border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); min-height: 30px; }
.agenda .hdr { background: var(--soft); font-weight: 600; padding: 8px; position: sticky; top: 0; z-index: 2; }
.agenda .hdr small { display: block; font-weight: 400; color: var(--muted); }
.agenda .time { color: var(--muted); font-variant-numeric: tabular-nums; border-left: 0; padding: 4px 8px; font-size: 12px; }
.agenda .free { cursor: pointer; }
.agenda .free:hover { background: var(--accent-soft); }
.agenda .free:hover::after { content: '+ cita'; color: var(--accent); font-size: 11px; padding: 6px; display: block; }
.agenda .closed { background: repeating-linear-gradient(45deg, #f6f8f8, #f6f8f8 6px, #eef2f2 6px, #eef2f2 12px); }
.appt { margin: 2px 3px; border-radius: 7px; padding: 5px 8px; background: var(--accent-soft); border-left: 4px solid var(--accent); cursor: pointer; overflow: hidden; z-index: 1; font-size: 12.5px; line-height: 1.3; }
.appt:hover { box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.appt strong { font-size: 13px; }
.appt small { color: var(--muted); display: block; }
.appt.wa { border-left-color: var(--wa); background: var(--wa-soft); }
.appt.pendiente_pago { border-left-color: var(--warn); background: var(--warn-soft); border-style: dashed; border-left-style: solid; }
.appt.completada { border-left-color: #9aa7a9; background: #f1f3f3; color: #607073; }
.appt.no_presentado { border-left-color: var(--danger); background: var(--danger-soft); }
.appt.test { background-image: repeating-linear-gradient(135deg, transparent, transparent 8px, rgba(0,0,0,.025) 8px, rgba(0,0,0,.025) 16px); }

/* Bandeja */
.cards { display: flex; flex-direction: column; gap: 10px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; gap: 14px; align-items: flex-start; }
.card.pendiente { border-left: 4px solid var(--warn); }
.card .ico { font-size: 22px; width: 30px; text-align: center; }
.card .body { flex: 1; min-width: 0; }
.card .meta { color: var(--muted); font-size: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.card .text { margin: 6px 0 0; white-space: pre-wrap; font-size: 14.5px; }
.card .actions { display: flex; flex-direction: column; gap: 6px; }

/* Conversaciones */
.chats { display: grid; grid-template-columns: 300px 1fr; gap: 0; height: calc(100vh - 44px); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.chat-list { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.chat-pane { min-width: 0; }
.chat-list input { margin: 10px; }
#chat-items { overflow-y: auto; flex: 1; }
.chat-item { padding: 10px 14px; border-top: 1px solid var(--line); cursor: pointer; }
.chat-item:hover { background: var(--soft); } .chat-item.active { background: var(--accent-soft); }
.chat-item .top { display: flex; justify-content: space-between; gap: 6px; }
.chat-item .prev { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-pane { display: flex; flex-direction: column; min-height: 0; }
.chat-head { padding: 12px 16px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.wa-chat { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 6px; background: #efeae2; }
.bubble { max-width: 74%; padding: 7px 10px 5px; border-radius: 8px; white-space: pre-wrap; box-shadow: 0 1px 1px rgba(0,0,0,.08); font-size: 13.5px; line-height: 1.35; }
.bubble .who { font-size: 11px; font-weight: 600; color: var(--accent-ink); margin-bottom: 2px; }
.bubble .at { font-size: 10.5px; color: #7d8b8d; text-align: right; margin-top: 2px; }
.bubble.in { align-self: flex-start; background: #fff; }
.bubble.out { align-self: flex-end; background: #d9fdd3; }
.bubble.out.staff { background: #cdeffd; }
.bubble.out.staff .who { color: #0b5f86; }
.bubble.out.sys { background: #fff6d6; }
.chat-send { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.chat-send textarea { flex: 1; }
.banner { padding: 8px 16px; background: var(--warn-soft); color: #7a5200; font-size: 13px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }

/* Tabla */
.table { width: 100%; border-collapse: collapse; background: var(--panel); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.table th, .table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.table th { background: var(--soft); font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.table tr.click { cursor: pointer; } .table tr.click:hover td { background: var(--soft); }

/* Simulador */
.phone { width: 380px; height: 640px; background: #222; border-radius: 30px; padding: 10px; display: flex; flex-direction: column; box-shadow: 0 16px 40px rgba(0,0,0,.18); }
.phone-head { background: #075e54; color: #fff; padding: 12px 14px; display: flex; gap: 10px; align-items: center; border-radius: 22px 22px 0 0; }
.phone-head small { display: block; opacity: .8; font-size: 11px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-weight: 700; }
.phone .wa-chat { border-radius: 0; }
.wa-input { display: flex; gap: 6px; padding: 8px; background: #f0f0f0; border-radius: 0 0 22px 22px; }
.wa-input input { flex: 1; border-radius: 20px; border: 0; padding: 9px 14px; }
.wa-input .send { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #00a884; color: #fff; cursor: pointer; font-size: 16px; }

/* Ajustes */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; flex-wrap: wrap; }
.tabs button { background: none; border: 0; padding: 9px 14px; font: inherit; cursor: pointer; color: var(--muted); border-bottom: 2px solid transparent; }
.tabs button.active { color: var(--accent-ink); border-bottom-color: var(--accent); font-weight: 600; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px 18px; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.field.full { grid-column: 1 / -1; }
.field .help { font-size: 11.5px; color: #8a999b; }
.check { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ink); }
.hours-grid { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; align-items: center; max-width: 620px; }
.row-list { display: flex; flex-direction: column; gap: 10px; }
.row-item { border: 1px solid var(--line); border-radius: 9px; padding: 12px; background: var(--soft); }
.row-item .line { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row-item .line input[type=text], .row-item .line input:not([type]) { flex: 1; min-width: 160px; }
.callout { background: var(--accent-soft); border-radius: 8px; padding: 10px 14px; color: var(--accent-ink); font-size: 13px; margin-bottom: 14px; }
.callout.warn { background: var(--warn-soft); color: #7a5200; }
code { background: var(--soft); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; font-size: 12px; }

/* Modal y avisos */
.modal { position: fixed; inset: 0; background: rgba(10,30,32,.45); display: grid; place-items: center; z-index: 50; padding: 20px; }
.modal-box { background: #fff; border-radius: 12px; padding: 22px; width: 480px; max-width: 100%; max-height: 90vh; overflow-y: auto; }
.modal-box .field { margin-bottom: 10px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.kv { display: grid; grid-template-columns: 120px 1fr; gap: 6px 10px; margin: 10px 0; font-size: 13.5px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; }
.toasts { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 8px; z-index: 60; }
.toast { background: var(--side); color: #fff; padding: 10px 16px; border-radius: 8px; max-width: 360px; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.toast.err { background: var(--danger); }
.qr { width: 264px; height: 264px; border: 1px solid var(--line); border-radius: 8px; display: block; margin: 10px 0; }

/* ---------- Elementos solo móvil / solo escritorio ---------- */
nav button em { font-style: normal; }
nav .short, .mobile-only { display: none !important; }
.seg { display: flex; gap: 4px; background: #e6eded; padding: 3px; border-radius: 9px; margin-bottom: 10px; overflow-x: auto; }
.seg button { flex: 1; border: 0; background: none; padding: 8px 10px; border-radius: 7px; font: inherit; color: var(--muted); white-space: nowrap; cursor: pointer; }
.seg button.active { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.sheet-list { display: flex; flex-direction: column; gap: 6px; }
.sheet-list button { text-align: left; background: var(--soft); border: 1px solid var(--line); border-radius: 9px; padding: 13px 14px; font: inherit; cursor: pointer; }
#push-btn { color: #cfe7e7; }

/* ---------- Móvil ---------- */
@media (max-width: 760px) {
  body { font-size: 15px; }
  .mobile-only { display: revert !important; }
  .seg.mobile-only { display: flex !important; }
  nav button.mobile-only { display: flex !important; }
  .more-only { display: none !important; }
  .shell { flex-direction: column; height: 100dvh; }
  main { padding: 14px 14px calc(78px + env(safe-area-inset-bottom)); padding-top: calc(14px + env(safe-area-inset-top)); }
  .sidebar { position: fixed; left: 0; right: 0; bottom: 0; width: auto; padding: 0 0 env(safe-area-inset-bottom); z-index: 40; flex-direction: row; box-shadow: 0 -2px 10px rgba(0,0,0,.15); }
  .brand, .side-foot { display: none; }
  nav { flex-direction: row; width: 100%; gap: 0; }
  nav button { flex: 1; flex-direction: column; gap: 2px; padding: 8px 2px 7px; font-size: 11px; border-radius: 0; position: relative; justify-content: center; }
  nav button span { font-size: 20px; line-height: 1; }
  nav button.active { background: none; color: #fff; box-shadow: inset 0 3px 0 #25d3a8; }
  nav button:not(.active) { color: #a7c6c7; }
  nav .long { display: none; } nav .short { display: inline !important; }
  .badge { position: absolute; top: 4px; left: calc(50% + 6px); margin: 0; font-size: 10px; padding: 0 6px; }
  .dot { position: absolute; top: 8px; left: calc(50% + 10px); margin: 0; }

  h1 { font-size: 20px; }
  .view-head { gap: 10px; margin-bottom: 10px; }
  .view-head > div:first-child { width: 100%; }
  .toolbar { width: 100%; }
  .toolbar input[type=search], .toolbar select { flex: 1; }
  .subtitle { font-size: 13px; }

  /* Agenda: un fisio cada vez */
  #view-agenda .toolbar { display: grid; grid-template-columns: auto auto auto 1fr; }
  #view-agenda #new-appt { grid-column: 1 / -1; padding: 11px; }
  #day-input { width: 100%; }
  .legend { display: none; }
  .agenda .hdr { display: none; }
  .agenda .c { min-height: 38px; }
  .appt { font-size: 13.5px; padding: 7px 10px; }
  .agenda .free::after { content: '+'; color: #b9c8ca; font-size: 15px; padding: 6px 10px; display: block; }

  /* Bandeja */
  .card { flex-wrap: wrap; padding: 12px; gap: 10px; }
  .card .ico { width: auto; font-size: 20px; }
  .card .actions { flex-direction: row; width: 100%; flex-wrap: wrap; }
  .card .actions .btn { flex: 1; padding: 8px; }

  /* Conversaciones: lista o chat */
  .chats { grid-template-columns: minmax(0, 1fr); height: calc(100dvh - 28px - 78px - env(safe-area-inset-bottom) - env(safe-area-inset-top)); }
  .chats .chat-pane { display: none; }
  .chats.show-pane .chat-list { display: none; }
  .chats.show-pane .chat-pane { display: flex; }
  .chat-head { padding: 8px 10px; }
  .chat-head .toolbar { width: auto; }
  .bubble { max-width: 88%; }
  .chat-send textarea { font-size: 16px; }

  /* Tabla de pacientes compacta */
  .table th:nth-child(4), .table td:nth-child(4), .table th:nth-child(5), .table td:nth-child(5) { display: none; }
  .table th, .table td { padding: 10px 8px; }

  /* Simulador a pantalla completa */
  .phone { width: 100%; height: calc(100dvh - 230px); min-height: 420px; border-radius: 18px; padding: 6px; }

  /* Formularios */
  input, select, textarea { font-size: 16px; } /* evita el zoom automático en iOS */
  .form-grid { grid-template-columns: 1fr; }
  .hours-grid { grid-template-columns: 90px 1fr; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; }
  .tabs button { white-space: nowrap; }
  .row-item .line input[type=text], .row-item .line input:not([type]) { min-width: 100%; }

  /* Modales como hoja inferior */
  .modal { place-items: end stretch; padding: 0; }
  .modal-box { width: 100%; max-height: 92dvh; border-radius: 16px 16px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); }
  .modal-actions .btn { flex: 1; padding: 11px; }
  .kv { grid-template-columns: 100px 1fr; }
  .toasts { left: 12px; right: 12px; bottom: calc(80px + env(safe-area-inset-bottom)); }
  .toast { max-width: none; }
}

/* Asistente guiado de configuración */
.wiz { margin-bottom: 14px; border-color: var(--accent); }
.wiz h2 { margin: 2px 0 6px; }
.wiz p { margin: 0 0 12px; color: var(--muted); }
.wiz-step { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--accent-ink); font-weight: 600; }
.wiz-bar { height: 5px; background: var(--accent-soft); border-radius: 3px; overflow: hidden; margin-bottom: 14px; }
.wiz-bar span { display: block; height: 100%; background: var(--accent); }
.wiz-nav { display: flex; gap: 8px; align-items: center; }
.wiz-nav .grow { flex: 1; }
.menu-preview { background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font: inherit; white-space: pre-wrap; margin: 0; }

/* Estado de la suscripción (plataforma) y pantalla de elección inicial */
.banner.acct { background: var(--accent-soft); color: var(--accent-ink); border-bottom: 1px solid var(--line); }
.banner.acct.warn { background: var(--warn-soft); color: #7a5200; }
.small { font-size: 12px; }
.auth-box .btn.wide { width: 100%; padding: 11px 14px; }

/* Plano de sala y editor de mesas */
.plano { position: relative; width: 100%; aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 6px 0;
  background-color: #f4f7f7; background-size: contain; background-position: center; background-repeat: no-repeat;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); }
.plano[style*="url("] { background-size: contain; }
.mesa { position: absolute; transform: translate(-50%, -50%); min-width: 46px; padding: 3px 7px; border-radius: 10px; border: 2px solid var(--accent); background: #fff;
  text-align: center; font-size: 12px; font-weight: 600; cursor: pointer; user-select: none; touch-action: none; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.mesa small { display: block; font-weight: 400; color: var(--muted); font-size: 11px; white-space: nowrap; }
.mesa.busy { background: var(--danger-soft); border-color: var(--danger); }
.mesa.sel { outline: 3px solid var(--accent-soft); border-color: var(--accent-ink); }
.modal-box.wide { max-width: 1000px; width: 96vw; }
.te { display: grid; grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr); gap: 16px; }
.te-list { max-height: 420px; overflow: auto; margin-bottom: 8px; }
.te-row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; padding: 6px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 6px; }
.te-row.sel { border-color: var(--accent); background: var(--accent-soft); }
.te .plano .mesa { cursor: grab; }
@media (max-width: 760px) { .te { grid-template-columns: 1fr; } }
.heat .cell.pick { box-shadow: 0 0 0 2px var(--accent-ink); }

/* Hostelería: agenda por zonas */
.zone-sum { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.zone { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 14px; }
.zone > header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.zone > header small { color: var(--muted); }
.heat { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; margin-bottom: 12px; }
.heat .cell { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 4px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); cursor: pointer; font: inherit; color: var(--ink); }
.heat .cell b { font-size: 13px; } .heat .cell span { font-size: 11px; color: var(--muted); }
.heat .cell.some { background: var(--accent-soft); border-color: var(--accent); }
.heat .cell.high { background: var(--warn-soft); border-color: var(--warn); }
.heat .cell.full { background: var(--danger-soft); border-color: var(--danger); }
.resv-list { display: flex; flex-direction: column; gap: 6px; }
.resv { display: grid; grid-template-columns: 56px 64px 1fr auto; gap: 8px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 8px; cursor: pointer; background: #fff; }
.resv.pendiente_pago { border-left-color: var(--warn); } .resv.completada { opacity: .65; } .resv.no_presentado { border-left-color: var(--danger); }
.resv .who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .resv small { color: var(--muted); }
@media (max-width: 760px) { .resv { grid-template-columns: 50px 56px 1fr; } .resv small { grid-column: 1 / -1; } }
