.planning-page .page-head{margin-bottom:19px;gap:18px;align-items:center}
.planning-page .page-head h1{font-size:32px;letter-spacing:-.8px;margin-top:6px}
.planning-page .page-head p{margin-top:7px;font-size:12px}
.planning-page .head-actions{padding-top:0;flex-wrap:wrap;gap:8px}
.compact-week-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.compact-week-toolbar .week-label{min-width:180px;font-size:14px}
.compact-week-toolbar .week-sub{display:none}
.week-tools{display:flex;gap:7px}
.compact-planner{width:100%;table-layout:fixed;border-spacing:0;border:1px solid var(--line);border-radius:11px;background:#fff}
.compact-planner caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.compact-planner .week-day-column{width:100px}
.compact-planner th,.compact-planner td{padding:5px 7px;border-bottom:1px solid var(--line);vertical-align:middle}
.compact-planner thead th{font-size:12px;color:#63755b;text-align:left;background:#edf1e7;padding:11px 12px;font-weight:650}
.compact-planner thead th svg{width:15px;height:15px;margin-right:4px}
.compact-planner thead th:first-child{border-radius:10px 0 0 0}
.compact-planner thead th:last-child{border-radius:0 10px 0 0}
.compact-planner tbody tr:last-child th,.compact-planner tbody tr:last-child td{border-bottom:0}
.compact-planner th[scope=row]{text-align:center;font-weight:500;color:#708168;background:#f7f8f1;font-size:11px}
.compact-planner th[scope=row] strong{display:block;font-size:18px;color:var(--green);margin-top:1px;font-weight:650}
.compact-planner .weekday-short{display:none}
.compact-planner .today th[scope=row]{background:#e0e9d7;box-shadow:inset 3px 0 var(--green)}
.compact-planner .weekend:not(.today) th[scope=row]{background:#f7f0e6;color:#92714e}
.compact-planner .meal,.compact-planner .meal.empty{min-height:45px;margin:0;border-radius:7px;display:flex;flex-direction:row;align-items:center;justify-content:center;padding:5px 9px;gap:10px;overflow:visible}
.compact-planner .meal{border-color:#e6eadf;background:#fcfdf8}
.compact-planner .meal.empty{padding:0;background:#f8faf3;border-color:#dfe6d7}
.compact-planner .meal.empty button{min-height:45px;display:flex;flex-direction:row;gap:7px;justify-content:flex-start;padding:8px 12px;width:100%;font-size:12px;color:#74866a}
.compact-planner .meal.empty svg{width:17px;height:17px;stroke-width:1.7}
.compact-planner .meal-name{font:600 14px/1.35 'Segoe UI',Arial,sans-serif;text-align:left;padding:0;overflow-wrap:anywhere;color:#304832;min-width:0;flex:1}
.compact-planner .meal-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;width:auto;flex-shrink:0}
.compact-planner .meal-meta{padding:0;margin:0;font-size:10px;color:#718267;white-space:nowrap}
.compact-planner .meal-actions{position:static;display:flex;gap:2px;background:transparent}
.compact-planner .meal-actions .icon-btn{width:26px;height:26px;flex-shrink:0;color:#7a8b70}
.compact-planner .meal-actions svg{width:14px;height:14px}
.planning-page .week-foot{margin-top:10px;padding:11px 14px;font-size:11px}
.planning-bottom-link{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin:18px 0 0;color:#84917b;font-size:11px}
.planning-page+.footer{display:none}
@media(max-width:1100px){.compact-planner .meal-time{display:none}}
@media(max-width:1000px){.planning-page .page-head{align-items:flex-start}.planning-page .head-actions .btn{font-size:11px}.compact-planner .week-day-column{width:80px}}
@media(max-width:760px){
 .planning-page .page-head{gap:12px;margin-bottom:15px}
 .planning-page .page-head h1{font-size:27px;line-height:1.15}
 .planning-page .page-head p{font-size:11px;line-height:1.6}
 .planning-page .head-actions{width:100%;gap:7px}
 .planning-page .head-actions .btn{flex:1;min-height:38px;padding:8px 10px;font-size:11px}
 .compact-week-toolbar{gap:8px;justify-content:center;margin-bottom:10px}
 .compact-week-toolbar .week-controls{justify-content:space-between;width:100%}
 .compact-week-toolbar .week-label{font-size:13px;min-width:0;flex:1}
 .week-tools{justify-content:space-between;width:100%;gap:6px}
 .week-tools .btn{flex:1;font-size:10px;padding:7px 8px;min-height:32px}
 .compact-planner .week-day-column{width:43px}
 .compact-planner th,.compact-planner td{padding:4px 3px}
 .compact-planner thead th{padding:9px 5px;font-size:11px}
 .compact-planner thead th svg{display:none}
 .compact-planner th[scope=row]{font-size:10px}
 .compact-planner th[scope=row] strong{font-size:16px;margin-top:3px}
 .compact-planner .weekday-long{display:none}
 .compact-planner .weekday-short{display:block}
 .compact-planner .meal,.compact-planner .meal.empty{min-height:65px;padding:6px;gap:5px;flex-direction:column;align-items:stretch}
 .compact-planner .meal-name{font-size:13px;line-height:1.4;font-weight:600}
 .compact-planner .meal.empty{padding:0}
 .compact-planner .meal.empty button{min-height:65px;padding:7px 6px;justify-content:center;flex-direction:column;font-size:10px;gap:3px}
 .compact-planner .meal-footer{gap:2px;width:100%}
 .compact-planner .meal-time{display:none}
 .compact-planner .meal-meta{font-size:9px}
 .compact-planner .meal-actions{gap:0}
 .compact-planner .meal-actions .icon-btn{width:28px;height:28px}
 .compact-planner .meal-actions svg{width:13px;height:13px}
 .planning-page .week-foot{padding:10px;font-size:10px;gap:6px}
 .planning-page .week-foot .text-btn{font-size:11px}
 .planning-bottom-link{gap:6px;margin-top:15px;font-size:10px}
}
@media print{.planning-page .head-actions,.compact-week-toolbar .week-tools,.compact-planner .meal-actions,.planning-bottom-link{display:none!important}.compact-planner{font-size:11px;break-inside:avoid}.compact-planner .meal,.compact-planner .meal.empty{min-height:38px}.planning-page .page-head h1{font-size:24px}}
