
/* PATCH 39643 - Planificador de Menu Semanal */
#ppaWeeklyOverlay39643[hidden]{display:none!important}
#ppaWeeklyOverlay39643{position:fixed;inset:0;z-index:100200;display:flex;justify-content:center;align-items:center;background:rgba(10,25,23,.68);padding:12px;font-family:inherit}
body.ppa-weekly-open{overflow:hidden}
#ppaWeeklyOverlay39643 *{box-sizing:border-box}
.ppa-weekly-modal{width:min(100%,1020px);max-height:min(93dvh,1000px);display:flex;flex-direction:column;overflow:hidden;background:#fcfdfa;border-radius:22px;box-shadow:0 20px 70px #0006;color:#18374b}
.ppa-weekly-header{padding:18px 22px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;background:#eef8f1;border-bottom:1px solid #d5e8dc}
.ppa-weekly-header small{font-size:10px;color:#167949;font-weight:900;letter-spacing:.08em}
.ppa-weekly-header h2{margin:4px 0 4px;font-size:23px;line-height:1.22;color:#143b32}
.ppa-weekly-header p{margin:0;font-size:13px;color:#56746a}
.ppa-weekly-header [data-weekly-close]{flex:none;border:0;border-radius:12px;background:#fff;width:40px;height:40px;font-size:26px;cursor:pointer;color:#24453b}
.ppa-weekly-body{padding:16px 20px 22px;overflow:auto;overscroll-behavior:contain}
.ppa-weekly-controls{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin-bottom:12px}
.ppa-weekly-controls strong{font-size:14px;min-width:160px;text-align:center}
.ppa-weekly-controls button,.ppa-weekly-strip button,.ppa-weekly-shopping button{border:1px solid #cae3d5;background:#fff;color:#176347;padding:9px 12px;border-radius:10px;font-weight:750;cursor:pointer}
.ppa-weekly-controls button[data-weekly-nav]{font-size:24px;line-height:1;padding:5px 12px}
.ppa-weekly-controls label{margin-left:auto;font-size:12px;display:flex;align-items:center;gap:7px;color:#4c665d}
.ppa-weekly-controls select{border:1px solid #cae3d5;padding:9px;border-radius:8px;background:#fff;color:#153c31}
.ppa-weekly-strip{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px}
.ppa-weekly-strip span{font-size:12px;font-weight:800;color:#1b7951;margin-right:auto}
.ppa-weekly-strip button{padding:7px 9px;font-size:11px}
.ppa-weekly-grid{display:grid;gap:8px}
.ppa-weekly-day{display:grid;grid-template-columns:110px repeat(3,minmax(0,1fr));gap:8px;align-items:center;background:#fff;border:1px solid #dde9e0;padding:10px;border-radius:12px}
.ppa-weekly-day-title b{display:block;font-size:13px}.ppa-weekly-day-title small{font-size:11px;color:#60776b}
.ppa-weekly-cell{display:flex;flex-direction:column;gap:4px;font-size:10px;color:#617b6f;font-weight:700}
.ppa-weekly-cell input{width:100%;min-width:0;background:#fbfefd;border:1px solid #d5e5da;border-radius:9px;padding:10px;font-size:12px;color:#193c33}
.ppa-weekly-cell input:focus-visible,.ppa-weekly-shopping input:focus-visible,.ppa-weekly-shopping select:focus-visible{outline:2px solid #198657;outline-offset:1px}
.ppa-weekly-shopping{margin-top:18px;border:1px solid #d8e9dd;background:#f5faf6;border-radius:15px;padding:15px}
.ppa-weekly-section-head{display:flex;justify-content:space-between;align-items:start;gap:10px}.ppa-weekly-section-head h3{margin:0 0 3px;font-size:17px}.ppa-weekly-section-head p{margin:0;color:#638177;font-size:11px}.ppa-weekly-section-head a{color:#157b50;font-size:12px;font-weight:700;white-space:nowrap}
.ppa-weekly-add{margin:14px 0 10px;display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) 90px auto;gap:9px;align-items:end}
.ppa-weekly-add label{font-size:11px;color:#547367;font-weight:750;display:flex;flex-direction:column;gap:5px}
.ppa-weekly-add input,.ppa-weekly-add select{height:39px;width:100%;padding:8px;border:1px solid #d2e4d7;border-radius:9px;background:#fff;color:#163d33}
.ppa-weekly-add button,.ppa-weekly-import button{background:#178253;color:#fff;border-color:#178253}
.ppa-weekly-needs{display:grid;gap:6px}.ppa-weekly-need{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:8px 10px;background:#fff;border:1px solid #e2ece5;border-radius:9px}
.ppa-weekly-need strong{display:block;font-size:12px}.ppa-weekly-need small{display:block;font-size:10px;color:#61766c;margin-top:2px}.ppa-weekly-need button{width:32px;height:32px;padding:0;font-size:19px;border:0;background:#f5f1f0;color:#924d44}
.ppa-weekly-import{margin-top:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.ppa-weekly-import small{font-size:11px;color:#55766a}.ppa-weekly-import button:disabled{opacity:.45;cursor:not-allowed}
.ppa-weekly-help{font-size:11px;line-height:1.5;color:#637a71;margin:14px 0 0}
.ppa-weekly-empty{color:#728079;font-size:12px}.ppa-weekly-status{min-height:18px;margin:11px 0 0;font-size:12px;color:#1a794f}.ppa-weekly-status.bad{color:#aa4b35}
@media(max-width:700px){#ppaWeeklyOverlay39643{padding:5px;align-items:stretch}.ppa-weekly-modal{max-height:100dvh;border-radius:13px}.ppa-weekly-header{padding:13px}.ppa-weekly-header h2{font-size:19px}.ppa-weekly-header p{font-size:11px}.ppa-weekly-body{padding:11px}.ppa-weekly-controls strong{min-width:115px;font-size:12px}.ppa-weekly-controls label{margin-left:0}.ppa-weekly-day{grid-template-columns:1fr;gap:6px;padding:11px}.ppa-weekly-day-title{display:flex;justify-content:space-between}.ppa-weekly-cell{display:grid;grid-template-columns:73px minmax(0,1fr);align-items:center;gap:7px}.ppa-weekly-cell input{padding:9px;font-size:13px}.ppa-weekly-add{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.ppa-weekly-add label:nth-of-type(3){grid-column:1}.ppa-weekly-add button{grid-column:2}.ppa-weekly-section-head{flex-direction:column}.ppa-weekly-shopping{padding:10px}}
