.hfa-wrap{
  max-width:900px;margin:28px auto;padding:22px;border:1px solid #e5e8e3;border-radius:18px;
  background:#fff;font-family:-apple-system,BlinkMacSystemFont,"Pretendard","Noto Sans KR",Arial,sans-serif;
  color:#222;box-sizing:border-box
}
.hfa-wrap *{box-sizing:border-box}
.hfa-head{text-align:center;margin-bottom:20px}
.hfa-title{margin:0;font-size:28px;line-height:1.35}
.hfa-desc{margin:8px 0 0;color:#6e756d;font-size:14px;line-height:1.65}
.hfa-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.hfa-card{background:#f7f9f6;border:1px solid #e6eae4;border-radius:12px;padding:12px;min-width:0}
.hfa-label{display:block;font-size:12px;color:#6e756d;margin-bottom:6px;font-weight:700}
.hfa-input,.hfa-select{
  width:100%;height:42px;border:1px solid #d9ded7;border-radius:9px;background:#fff;padding:0 10px;
  font-size:15px;outline:none
}
.hfa-input:focus,.hfa-select:focus{border-color:#7d897b}
.hfa-section{margin-top:20px;padding-top:18px;border-top:1px solid #edf0eb}
.hfa-section-title{font-weight:800;font-size:16px;margin-bottom:10px}
.hfa-meals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.hfa-check{
  display:flex;align-items:center;gap:8px;min-height:44px;padding:0 11px;border:1px solid #e0e5de;
  border-radius:10px;background:#fff;font-size:13px;font-weight:700
}
.hfa-check input{width:18px;height:18px}
.hfa-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.hfa-btn{
  min-height:42px;border:1px solid #d7ddd5;background:#fff;border-radius:9px;padding:0 13px;
  cursor:pointer;font-weight:800;font-size:13px
}
.hfa-btn-primary{background:#283329;color:#fff;border-color:#283329}
.hfa-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:12px}
.hfa-stat{background:#f8faf7;border:1px solid #e7ebe5;border-radius:11px;padding:12px}
.hfa-stat small{display:block;color:#747b73;margin-bottom:4px}
.hfa-stat strong{font-size:20px;word-break:break-word}
.hfa-table-wrap{overflow-x:auto}
.hfa-table{width:100%;border-collapse:collapse;min-width:700px}
.hfa-table th{background:#f7f9f6;padding:9px 8px;border-bottom:1px solid #e4e8e1;font-size:12px;color:#5d655d}
.hfa-table td{padding:9px 8px;border-bottom:1px solid #eef1ed;font-size:13px;vertical-align:middle}
.hfa-table input{width:86px;height:34px;border:1px solid #d9ded7;border-radius:7px;padding:0 8px;text-align:right}
.hfa-num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.hfa-category{font-weight:800;color:#4f5a50}
.hfa-note{font-size:11px;color:#7b817b;line-height:1.45}
.hfa-tip{margin-top:14px;padding:12px 14px;border-radius:11px;background:#fff8e9;border:1px solid #eadbb9;color:#70572b;font-size:12px;line-height:1.65}
.hfa-shopping{
  margin-top:12px;padding:14px;border:1px solid #e4e8e2;border-radius:12px;background:#fbfcfb
}
.hfa-shopping-title{font-weight:800;margin-bottom:8px}
.hfa-shopping-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px}
.hfa-shopping-item{font-size:13px;padding:6px 0;border-bottom:1px dashed #e5e9e3}
.hfa-small{color:#767d76;font-size:12px;line-height:1.6}
@media(max-width:760px){
  .hfa-grid,.hfa-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hfa-meals{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:480px){
  .hfa-wrap{padding:16px;border-radius:14px}.hfa-title{font-size:23px}
  .hfa-grid,.hfa-summary,.hfa-meals,.hfa-shopping-list{grid-template-columns:1fr}
  .hfa-btn{flex:1}
}