/* NutriAquí V5.12: pauta profesional editable por separado, documento paciente no editable */
.np-sheet{background:#fff;color:#26323b;font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:1.4;border:1px solid #e2e5e8;border-radius:13px;padding:21px;margin:15px auto;max-width:1200px}
.np-sheet-header{display:flex;align-items:center;gap:25px;justify-content:flex-start;margin:0 0 13px}
.np-logo{display:block;object-fit:contain;object-position:left center;width:210px;max-height:85px;flex-shrink:0}
.np-sheet-header h1{font-size:clamp(23px,3vw,37px);letter-spacing:-.5px;margin:0;color:#6f358f;line-height:1.2}
.np-meta{display:grid;grid-template-columns:1fr 1fr 1fr;background:#f1f5f7;border-radius:12px;margin:0 0 15px}
.np-meta>div{padding:12px 15px;min-width:0;display:flex;flex-direction:column;gap:3px}
.np-meta>div+div{border-left:1px solid #cbd7df}
.np-meta b{color:#0d7860;font-size:12px}.np-meta span{overflow-wrap:anywhere}
.np-week-caption{color:#65508b;font-weight:700;font-size:13px;margin:7px 0}
.np-week-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:12px}
.np-week-table .np-time-col{width:135px}.np-week-table td,.np-week-table th{border-right:1px solid #d9dde4;border-bottom:1px solid #d9dde4;vertical-align:top;padding:10px 11px;white-space:normal;overflow-wrap:anywhere;line-height:1.48}
.np-week-table thead th{background:#edf2f6;border-top:1px solid #d9dde4;text-align:center;color:#2e3150;font-size:11px;text-transform:uppercase;letter-spacing:.2px}
.np-week-table thead th:first-child,.np-week-table tbody th{border-left:1px solid #d9dde4}
.np-week-table tbody th{text-align:left;font-size:13px;font-weight:700}
.np-week-table tbody th small{display:block;margin-top:5px;font-size:10px;font-weight:400;color:#55616e}
.np-type-desayuno>th,.np-type-desayuno>td{background:#fff8e5}
.np-type-colacion_am>th,.np-type-colacion_am>td,.np-type-colacion_pm>th,.np-type-colacion_pm>td{background:#edfaed}
.np-type-almuerzo>th,.np-type-almuerzo>td{background:#fff0eb}
.np-type-once>th,.np-type-once>td{background:#eaf5ff}
.np-type-cena>th,.np-type-cena>td{background:#f5edff}
.np-week-table td{font-size:12px}.np-week-table td strong{color:#50377d}
.np-cell-separator{height:6px;border-bottom:1px dashed #cfd2d8;margin-bottom:6px}.np-empty{color:#a1a9ad}
.np-notes-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.np-note{border:1px solid #d8e0e8;border-radius:10px;overflow:hidden;break-inside:avoid}.np-note h3{font-size:14px;margin:0;padding:9px 12px}.np-note p{margin:0;padding:10px 12px;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
.np-note-important{background:#f0f7ff;border-color:#c8dff5}.np-note-important h3{color:#194c80;background:#dcecff}
.np-note-avoid{background:#fff5f5;border-color:#f8caca}.np-note-avoid h3{color:#a32735;background:#fee5e7}
.np-note-moderate{background:#fffaf0;border-color:#f6e0b1}.np-note-moderate h3{color:#996309;background:#fff0c5}
.np-note-lowpotassium{background:#f1fbf3;border-color:#ccead4}.np-note-lowpotassium h3{color:#18623b;background:#dbf5e2}
.np-general-note{background:#f3f8f4;border-radius:9px;padding:12px;margin-top:12px;break-inside:avoid}
.np-general-note h3{margin:0 0 6px;color:#366d4c}.np-general-note p{margin:0}
.np-daily{display:block}.np-daily-meal{display:grid;grid-template-columns:160px 1fr;border:1px solid #e0e5ec;border-radius:9px;overflow:hidden;margin-bottom:10px;break-inside:avoid}
.np-daily-meal-title{padding:15px 13px;background:#e8f4ee;display:flex;flex-direction:column;gap:5px}.np-daily-meal-title b{font-size:15px}.np-daily-meal-title small{font-size:12px;color:#5b6670}
.np-daily-meal.np-type-desayuno .np-daily-meal-title{background:#fff1c9}.np-daily-meal.np-type-almuerzo .np-daily-meal-title{background:#ffe0d8}.np-daily-meal.np-type-once .np-daily-meal-title{background:#dff1ff}.np-daily-meal.np-type-cena .np-daily-meal-title{background:#eee2ff}
.np-daily-meal-content{padding:12px 18px}.np-daily-option+ .np-daily-option{border-top:1px dashed #ddd;padding-top:12px;margin-top:12px}.np-daily-option strong{color:#6b4b92}.np-daily-option p{margin:4px 0;line-height:1.55}
.np-sheet-footer{border-top:1px solid #dce4e1;margin-top:13px;padding-top:10px;color:#677d76;font-size:10px;text-align:center}
.np-week-part{break-inside:auto}.np-week-part+.np-week-part{margin-top:18px}
@media(max-width:800px){.np-sheet{padding:12px}.np-logo{width:120px}.np-sheet-header h1{font-size:23px}.np-meta{grid-template-columns:1fr}.np-meta>div+div{border-left:0;border-top:1px solid #dce3e8}.np-week-part{overflow-x:auto}.np-week-table{min-width:690px}.np-notes-grid{grid-template-columns:1fr}.np-daily-meal{grid-template-columns:1fr}}
@media print{
 .np-sheet{max-width:none!important;border:0!important;padding:0!important;margin:0!important;font-size:10px!important;box-shadow:none!important}
 .np-logo{width:153px;max-height:58px}.np-sheet-header{gap:22px;margin:0 0 9px}.np-sheet-header h1{font-size:26px}
 .np-meta{grid-template-columns:1fr 1fr 1fr!important;margin:0 0 9px}.np-meta>div{padding:7px 10px}.np-meta>div+div{border-left:1px solid #cdd9e1;border-top:0}
 .np-week-part{overflow:visible!important;break-after:page;page-break-after:always;margin:0!important}
 .np-week-part:last-child{break-after:auto;page-break-after:auto}
 .np-week-table{min-width:0!important;width:100%;font-size:9.7px}.np-week-table td,.np-week-table th{padding:6px 7px;line-height:1.3;font-size:9.7px}.np-week-table .np-time-col{width:112px}
 .np-week-caption{font-size:11px}.np-notes-grid{grid-template-columns:1fr 1fr!important;gap:7px}.np-note h3{padding:6px 8px;font-size:11px}.np-note p{padding:7px 8px;font-size:10px}.np-general-note{font-size:10px}
 .np-daily-meal{grid-template-columns:145px 1fr!important;break-inside:avoid}.np-daily-option p{font-size:11px}
 .np-sheet,.np-week-table thead,.np-week-table td,.np-week-table th,.np-note,.np-daily-meal{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
}
