/* NutriPuente V8.2 — practical weekly meal planning */
#weekplan{max-width:1080px;margin:0 auto;padding-bottom:135px}
.np82-plan{color:#193f35;display:grid;gap:17px}
.np82-top{padding:28px 27px 19px;border:1px solid #d6e1d8;border-radius:25px;background:linear-gradient(115deg,#e7f0e9,#fff9ef)}
.np82-top small{display:block;color:#b4694b;letter-spacing:.09em;font-weight:800;font-size:12px;margin-top:12px}.np82-top h1{font-family:inherit;font-size:clamp(26px,5vw,37px);margin:12px 0 8px;line-height:1.22}.np82-top p{font-size:15px;color:#5b6b62;margin:0;line-height:1.65}
.np82-back{background:#fff8;border:1px solid #d8e2db;color:#184639;border-radius:100px;font-weight:700;padding:8px 13px}
.np82-goals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.np82-goals button{border:1px solid #d8e3d9;background:#fff;border-radius:15px;padding:14px 6px;min-width:0;color:#244f41;font-size:15px;font-weight:750;min-height:48px}
.np82-goals button.selected,.np82-goals button[aria-pressed="true"]{background:#194636;border-color:#194636;color:#fff}
.np82-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.np82-days button{padding:10px 2px;min-width:0;min-height:67px;border:1px solid #dbe3dc;border-radius:13px;background:#fff;color:#315c4c;font-weight:700;font-size:12px;white-space:nowrap}.np82-days small{display:block;font-weight:450;font-size:10px;margin-top:6px;color:#7c8981}.np82-days button.selected{background:#e3f0e7;border-color:#91bca4}.np82-days button.selected small{color:#21563e}
.np82-day-detail,.np82-week-summary{border-radius:25px;background:#fff;border:1px solid #dce4dc;padding:21px}.np82-select-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.np82-plan label{display:grid;gap:7px;font-size:13px;font-weight:700;color:#386050;min-width:0}.np82-plan select{width:100%;min-width:0;max-width:100%;min-height:48px;border:1px solid #cdded2;border-radius:12px;padding:9px 11px;background:#fbfcfa;color:#263e34;font-family:inherit;font-size:15px}.np82-meals{display:grid;gap:15px;margin-top:22px}.np82-meal{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:end}.np82-meal>button{border:1px solid #bfd4c7;background:#ecf5ef;color:#22513d;border-radius:12px;padding:13px;font-weight:750;font-size:13px;min-height:48px}.np82-week-summary h2{font-size:19px;margin:0 0 15px}.np82-week-list{display:grid;gap:0}.np82-week-line{display:grid;grid-template-columns:114px minmax(0,1fr);gap:9px;align-items:center;border-bottom:1px solid #e9eee9;padding:10px 0;font-size:13px}.np82-week-line:last-child{border-bottom:0}.np82-week-line b{color:#2a674c}.np82-week-line span{color:#5d6f61;line-height:1.55}.np82-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.np82-actions button{border:1px solid #d4e1d8;background:white;border-radius:14px;padding:13px 10px;font-size:14px;font-weight:750;color:#194636;min-height:49px}.np82-actions .np82-primary{background:#174937;color:#fff;border-color:#174937}.np82-notice{margin:0;padding:0 5px;font-size:13px;line-height:1.7;color:#63766a}.np82-saved{font-size:12px;text-align:center;color:#6e8876;margin:0}
.np82-profile-week{padding:21px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid #c9dfcf;border-radius:24px;background:linear-gradient(115deg,#e4efe7,#f8f0e7)}.np82-profile-week small{font-size:12px;font-weight:750;color:#5b8a73}.np82-profile-week h2{margin:5px 0;font-size:21px;color:#173e34}.np82-profile-week p{font-size:13px;color:#566f61;line-height:1.5;margin:0}.np82-profile-week button{border:none;background:#194634;color:white;border-radius:13px;padding:12px;font-size:13px;font-weight:750;min-height:45px}.np82-profile-recent{border:1px solid #dbe5df;border-radius:18px;background:#fff;width:100%;text-align:left;padding:14px 19px;display:flex;align-items:center;gap:10px;color:#284c3a;font-size:13px}.np82-profile-recent strong{flex:1;font-size:15px}
.np82-cook-cta{background:#e7f1ea;border:1px solid #bdd7c5;border-radius:15px;padding:13px 18px;min-height:50px;color:#19513c;font-weight:750;font-size:15px;margin:0 0 14px}.np82-add-recipe{border:1px solid #c5dbc9;border-radius:22px;margin-top:20px;padding:20px;background:#edf5ef;color:#164938;display:grid;gap:9px}.np82-add-recipe strong{font-size:20px}.np82-add-recipe p,.np82-add-recipe small{margin:0}.np82-add-recipe small{font-size:12px;line-height:1.55;color:#557568}.np82-add-recipe button{border:0;background:#164938;color:white;border-radius:13px;padding:12px;font-weight:750;min-height:45px;justify-self:start}
@media(max-width:700px){#weekplan{width:100%;max-width:none;padding:5px 0 130px}.np82-top{padding:22px 19px}.np82-goals{gap:5px}.np82-goals button{font-size:12px;padding:12px 2px}.np82-days{gap:4px}.np82-days button{border-radius:10px;font-size:11px;min-height:62px}.np82-days small{font-size:9px}.np82-day-detail,.np82-week-summary{padding:15px;border-radius:20px}.np82-meal{grid-template-columns:1fr}.np82-meal>button{justify-self:start}.np82-week-line{grid-template-columns:75px minmax(0,1fr);font-size:12px}.np82-actions button{font-size:12px}.np82-profile-week{grid-template-columns:1fr;gap:11px;padding:18px}.np82-profile-week button{justify-self:start}}
@media(max-width:370px){.np82-days button small{font-size:8px}.np82-select-row{grid-template-columns:1fr}.np82-goals button{font-size:11px}}
@media(prefers-reduced-motion:reduce){#weekplan *{scroll-behavior:auto!important;transition:none!important}}
.np82-athlete-hint{background:#f0f5f0;border-left:3px solid #618e74;border-radius:10px;color:#466354;margin:0;padding:12px 14px;font-size:13px;line-height:1.6}
.np82-food-preview{border:1px solid #d9e5db;background:white;border-radius:19px;padding:0 15px}.np82-food-preview summary{cursor:pointer;font-weight:750;padding:16px 3px;color:#2c5d47;min-height:48px}.np82-food-preview div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:7px 0 16px}.np82-food-preview span{border-radius:9px;background:#f5f7f3;padding:9px 10px;display:grid;gap:2px;font-size:12px;color:#345748}.np82-food-preview b{font-size:12px;color:#738477;font-weight:500}
@media(max-width:450px){.np82-food-preview div{grid-template-columns:1fr}}

/* V8.3: one chosen audience, accessible mobile selector */
.np83-selected-plan,.np83-empty-plan{border:1px solid #d5e4d8;background:linear-gradient(110deg,#e6f0e8,#fff9ef);border-radius:20px;padding:18px 20px;color:#1b4637}
.np83-selected-plan{display:flex;gap:14px;align-items:center;justify-content:space-between}
.np83-selected-plan div{display:grid;gap:4px}.np83-selected-plan small{font-size:12px;color:#6b856f}.np83-selected-plan b{font-size:21px}.np83-selected-plan span{font-size:13px;color:#5e7869;line-height:1.55}
.np83-selected-plan button,.np83-empty-plan button{white-space:nowrap;border:1px solid #bad5c4;background:#fff;color:#164735;border-radius:13px;padding:12px 14px;min-height:44px;font-weight:750}
.np83-empty-plan{margin:10px auto;max-width:620px;padding:34px 20px;text-align:center;display:grid;justify-items:center;gap:16px}
.np83-empty-plan>span{font-size:34px}.np83-empty-plan h1{font-size:25px;margin:0}.np83-empty-plan p{margin:0;color:#5c7067;line-height:1.55}
.np83-profile-acts{display:grid;gap:7px;justify-items:stretch}.np82-profile-week .np83-profile-edit{background:#fff;border:1px solid #cbded1;color:#24503d}
.np83-overlay{position:fixed;inset:0;background:rgba(17,42,33,.62);z-index:100500;display:grid;place-items:center;padding:18px;overscroll-behavior:contain}
.np83-dialog{background:#fffaf3;border-radius:25px;width:min(520px,100%);max-height:calc(100dvh - 32px);overflow-y:auto;padding:24px;box-shadow:0 20px 50px #001f1630;color:#193e32}
.np83-dialog-head{display:flex;justify-content:space-between;gap:12px}.np83-dialog-head small{font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:800;color:#bd7355}
.np83-dialog-head h2{font-size:24px;line-height:1.25;margin:9px 0}.np83-dialog-head p{font-size:14px;line-height:1.55;color:#637668;margin:0 0 19px}.np83-close{align-self:start;min-width:44px;min-height:44px;background:#f0f2ed;border:0;border-radius:50%;font-size:26px;color:#214735}
.np83-choices{display:grid;gap:10px}.np83-choices button{min-height:76px;width:100%;text-align:left;border:1px solid #dae6dc;border-radius:17px;background:#fff;padding:13px 14px;display:flex;align-items:center;gap:12px;color:#214537;font-family:inherit}
.np83-choices button.is-current{background:#edf5ef;border:2px solid #277151;padding:12px 13px}.np83-choices button>span:nth-child(2){flex:1;display:grid;gap:5px}.np83-choices strong{font-size:17px}.np83-choices small{color:#6c7d70;font-size:12px;line-height:1.45}.np83-emoji{font-size:27px}.np83-check{font-size:18px;color:#277151;font-weight:bold}
.np83-dialog-actions{display:grid;grid-template-columns:1fr 2fr;gap:10px;margin-top:20px}.np83-dialog-actions button{border:1px solid #d0dfd4;background:#fff;border-radius:13px;min-height:49px;font-weight:750;color:#1b4c35}.np83-dialog-actions #np83Apply{background:#194a38;color:#fff;border-color:#194a38}
@media(max-width:500px){.np83-selected-plan{align-items:flex-start}.np83-selected-plan button{white-space:normal;flex:none}.np83-dialog{padding:18px;border-radius:20px;max-height:calc(100dvh - 24px)}.np83-overlay{padding:12px}.np83-profile-acts{width:100%}.np82-profile-week{grid-template-columns:1fr}}

/* V8.4 · compact kitchen tools and safe meal placement */
.np84-prefline{padding:11px 16px;border-radius:14px;color:#3b705b;background:#f1f7f1;font-size:13px;font-weight:650;line-height:1.5}
.np84-meal-time{font-size:12px;font-weight:450;color:#6d806e}
.np84-day-tip{padding:12px 14px;background:#f3f7f2;border-radius:13px;color:#526e5d;line-height:1.6;font-size:13px;margin:10px 0 0}
.np84-grocery-hint{font-size:12px;color:#6e796c;line-height:1.5;margin:2px 0 12px}
.np84-modal-backdrop{position:fixed;inset:0;background:rgba(17,38,31,.62);z-index:100800;display:grid;place-items:center;padding:15px}
.np84-placement{position:relative;width:min(440px,100%);max-height:calc(100dvh - 30px);overflow:auto;display:grid;gap:14px;background:#fffaf1;border-radius:24px;padding:26px 22px;box-shadow:0 14px 40px #031b1429;color:#204637}
.np84-placement>small{color:#a66d49;font-weight:800}.np84-placement h2{font-size:24px;line-height:1.3;margin:0;padding-right:25px}
.np84-placement label{display:grid;gap:7px;font-size:13px;font-weight:750}.np84-placement select{min-height:48px;border-radius:11px;border:1px solid #bed2c5;background:white;color:#1e4639;padding:8px;font-size:16px;width:100%}
.np84-dismiss{position:absolute;right:15px;top:13px;width:44px;height:44px;border:0;border-radius:50%;background:#eef4ec;font-size:25px;color:#214536}
.np84-hint{margin:0;font-size:13px;line-height:1.6;color:#6b796c}.np84-actions{display:grid;grid-template-columns:1fr 1.5fr;gap:10px}.np84-actions button{min-height:48px;border:1px solid #c3d8c6;border-radius:13px;background:white;font-size:14px;font-weight:750;color:#194936}.np84-actions .np84-accept{background:#174935;color:white}
@media(max-width:460px){.np84-placement{padding:23px 18px}.np84-placement h2{font-size:21px}}

.np84-help-notes{border-radius:16px;border:1px solid #dbe5dd;background:#fffdf8;padding:0 15px;color:#51695c;font-size:13px;line-height:1.65}.np84-help-notes summary{cursor:pointer;font-weight:750;min-height:48px;display:flex;align-items:center}.np84-help-notes p{padding:0 2px 9px;margin:0}

.np84-data-tools{background:#fffefa;border:1px solid #dbe5dd;border-radius:16px;padding:0 15px}.np84-data-tools summary{padding:13px 2px;font-size:13px;color:#315e48;font-weight:750;cursor:pointer;min-height:45px}.np84-data-tools .np82-actions{margin:6px 0 15px}
.np82-food-preview .np84-grocery-groups{display:grid;grid-template-columns:1fr;gap:14px;padding:0 0 15px}.np84-grocery-group h3{margin:4px 0 9px;font-size:14px;color:#305e48}.np82-food-preview .np84-grocery-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:0}.np84-grocery-items span{min-width:0;word-break:break-word}
@media(max-width:520px){.np82-food-preview .np84-grocery-items{grid-template-columns:1fr}}
