/* Panel "Mostrar a paciente" de la nutriologa. Todo bajo .mp-pr (se inyecta en la app de profesionales). */
.mp-pr { --mp-crema: #FFF6EF; --mp-tinta: #5A4650; --mp-durazno: #F2A07E; --mp-terracota: #C2703F; --mp-linea: #E8D6CB; }
.mp-pr, .mp-pr * { box-sizing: border-box; }
.mp-pr [hidden] { display: none !important; }
.mp-pr .mp-pr-fab {
  position: fixed; left: 16px; border: 0; border-radius: 999px; padding: 12px 20px; cursor: pointer;
  background: var(--mp-terracota); color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.3);
  font: 600 15px/1 'Inter', system-ui, sans-serif;
}
.mp-pr .mp-pr-panel {
  position: fixed; top: 0; right: 0; width: min(380px, 92vw); display: flex; flex-direction: column;
  background: var(--mp-crema); color: var(--mp-tinta); box-shadow: -4px 0 18px rgba(0,0,0,.3);
  font: 400 14px/1.4 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
.mp-pr .mp-pr-head { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--mp-linea); }
.mp-pr .mp-pr-title { flex: 1 1 auto; font: 600 16px/1.2 'Poppins', system-ui, sans-serif; color: var(--mp-terracota); }
.mp-pr .mp-pr-conn { font-size: 12px; opacity: .75; }
.mp-pr .mp-pr-close { width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--mp-durazno); color: #fff; font: 700 14px/1 system-ui; cursor: pointer; }
.mp-pr .mp-pr-indicator { flex: 0 0 auto; margin: 0; padding: 8px 12px; background: #fff; border-bottom: 1px solid var(--mp-linea); font-weight: 600; }
.mp-pr .mp-pr-presence { flex: 0 0 auto; margin: 0; padding: 6px 12px; background: #fff; border-bottom: 1px solid var(--mp-linea); font-size: 13px; }
.mp-pr .mp-pr-presence:empty { display: none; }
.mp-pr .mp-pr-presence-on { color: #2f7a3d; }
.mp-pr .mp-pr-presence-off { color: #a33; font-weight: 600; }
.mp-pr .mp-pr-tabs { flex: 0 0 auto; display: flex; border-bottom: 1px solid var(--mp-linea); }
.mp-pr .mp-pr-tab { flex: 1; border: 0; padding: 10px; background: transparent; color: var(--mp-tinta); font: 600 14px/1 inherit; font-family: inherit; cursor: pointer; border-bottom: 3px solid transparent; }
.mp-pr .mp-pr-tab.mp-pr-on { color: var(--mp-terracota); border-bottom-color: var(--mp-terracota); }
.mp-pr .mp-pr-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 12px; }
.mp-pr .mp-pr-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; }
.mp-pr .mp-pr-field { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mp-pr .mp-pr-field:first-child { grid-column: 1 / -1; }
.mp-pr .mp-pr-label { font-size: 12px; font-weight: 600; }
.mp-pr input[type=text], .mp-pr select { width: 100%; padding: 7px 8px; border: 1px solid var(--mp-linea); border-radius: 8px; background: #fff; color: var(--mp-tinta); font: inherit; }
.mp-pr .mp-pr-hint { font-size: 11px; color: var(--mp-terracota); min-height: 0; }
.mp-pr .mp-pr-errors { margin: 10px 0 0; padding-left: 18px; color: #a33; font-size: 13px; }
.mp-pr .mp-pr-errors:empty { display: none; }
.mp-pr .mp-pr-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mp-pr .mp-pr-actions button, .mp-pr .mp-pr-pager button {
  border: 0; border-radius: 8px; padding: 9px 14px; cursor: pointer; background: var(--mp-terracota); color: #fff; font: 600 14px/1 inherit; font-family: inherit;
}
.mp-pr .mp-pr-actions .mp-pr-hide, .mp-pr .mp-pr-actions .mp-pr-printbtn { background: var(--mp-durazno); }
.mp-pr button:disabled { opacity: .45; cursor: not-allowed; }
.mp-pr .mp-pr-note { margin: 8px 0 0; font-size: 13px; color: #a33; }
.mp-pr .mp-pr-note:empty { display: none; }
.mp-pr .mp-pr-preview { margin-top: 12px; border: 1px solid var(--mp-linea); border-radius: 10px; overflow: hidden; background: #fff; zoom: .8; }
.mp-pr .mp-pr-preview:empty { display: none; }
.mp-pr .mp-pr-list { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.mp-pr .mp-pr-item { width: 100%; text-align: left; padding: 9px 10px; border: 1px solid var(--mp-linea); border-radius: 8px; background: #fff; color: var(--mp-tinta); font: inherit; cursor: pointer; }
.mp-pr .mp-pr-item.mp-pr-sel { border-color: var(--mp-terracota); background: #fde9dd; }
.mp-pr .mp-pr-upload { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 13px; }
.mp-pr .mp-pr-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 12px 0 8px; }
.mp-pr .mp-pr-pdfprev { background: #efe6df; border-radius: 8px; overflow: auto; max-height: 60vh; }
.mp-pr .mp-pr-pdfprev canvas { display: block; max-width: 100%; height: auto; margin: 0 auto; background: #fff; }
