#weight-plan{max-width:1040px}
#weight-plan .wp-fields{border:0;padding:0;margin:0;min-width:0;display:grid;gap:16px}
#weight-plan .hc-card{padding:clamp(16px,3vw,28px);min-width:0}
#weight-plan h2,#weight-plan h3{margin:0 0 12px}
#weight-plan details{margin:14px 0}
#weight-plan summary{cursor:pointer;color:#224fa4}
#weight-plan .wp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 20px}
#weight-plan .wp-label,#weight-plan .wp-history label{display:grid;gap:5px;font-size:14px;min-width:0}
#weight-plan small,#weight-plan .wp-meal-head span{color:#53647c}
#weight-plan input:not([type=checkbox]),#weight-plan select,#weight-plan textarea{width:100%;min-width:0;box-sizing:border-box}
#weight-plan .wp-target,#weight-plan [data-total]{display:block;padding:12px 14px;background:#f1f5fb;margin:14px 0;line-height:1.65}
#weight-plan .wp-confirm,#weight-plan .wp-exclusions label{display:inline-flex;align-items:center;gap:6px;margin:4px 10px 8px 0}
#weight-plan input[type=checkbox]{width:17px;height:17px;flex-shrink:0}
#weight-plan .wp-exclusions strong{display:inline-block;margin-right:12px}
#weight-plan .wp-history,#weight-plan .wp-meal-head{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap}
#weight-plan .wp-history label{flex:1}
#weight-plan .wp-meals article{border-top:1px solid #dce1e8;padding:16px 0}
#weight-plan .wp-portion{display:grid;grid-template-columns:minmax(115px,2fr) minmax(90px,1fr) auto;gap:8px;align-items:center;margin:6px 0}
#weight-plan .wp-portion label{display:flex;align-items:center;gap:4px}
#weight-plan .wp-meals .wp-label,#weight-plan .hc-actions{margin-top:12px}
#weight-plan .wp-status:not(:empty){background:#edf4ff;color:#173e72;border:1px solid #cad8ea;padding:9px 14px;margin:8px 0}
#weight-plan .wp-refs{max-height:17rem;overflow:auto}
.wp-export{width:794px;max-width:100%;pointer-events:none}
@media(max-width:700px){#weight-plan .wp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#weight-plan .wp-portion{grid-template-columns:minmax(91px,1.5fr) minmax(60px,1fr) auto}#weight-plan .wp-portion button{padding:6px 8px}#weight-plan .hc-actions{flex-wrap:wrap}}
