.batch-planner .tool-shell{grid-template-columns:minmax(0,1fr);max-width:none}.batch-ready{min-width:0}.batch-planner label{align-items:baseline;gap:3px;margin-bottom:8px;font-size:13px;line-height:1.5;display:flex}.batch-settings,.batch-slot-settings,.batch-recipe-settings{gap:16px;display:grid}.batch-planner .form-select{white-space:normal;text-align:left;height:auto;min-height:48px}.batch-planner .form-select [data-slot=select-value]{white-space:normal;-webkit-line-clamp:unset;display:block;overflow:visible}.batch-settings>div,.batch-recipe-settings>div,.batch-ingredient>div{min-width:0}.batch-equipment{margin-top:24px}.batch-equipment legend{margin-bottom:12px;font-weight:600}.batch-hint{color:var(--muted-foreground);margin-top:9px;font-size:12px;line-height:1.65}.batch-recipes{margin-top:28px;margin-bottom:24px}.batch-recipes>h2,.batch-timetable h3,.batch-labels h3,.batch-shopping h3,.batch-storage h3{font-family:var(--font-heading);font-size:23px;line-height:1.35}.batch-recipe-list{gap:16px;margin-top:16px;display:grid}.batch-recipe-card{border:1px solid var(--border);background:var(--secondary);border-radius:12px;min-width:0;padding:16px}.batch-card-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;padding-bottom:10px;display:flex}.batch-card-heading h3{min-width:0;font-family:var(--font-heading);overflow-wrap:anywhere;font-size:21px}.batch-card-actions{flex:none;gap:4px;display:flex}.batch-draft-status{color:var(--primary);margin:-6px 0 16px;font-size:12px;font-weight:600}.batch-submit-error{border:1px solid var(--destructive);background:var(--secondary);border-radius:10px;margin:0 0 16px;padding:14px 16px;scroll-margin:90px;font-size:14px;line-height:1.6}.batch-submit-error:focus{outline:2px solid var(--destructive);outline-offset:3px}.batch-submit-error>div{flex-wrap:wrap;gap:4px 18px;margin-top:6px;display:flex}.batch-submit-error a{text-underline-offset:3px;align-items:center;min-height:44px;text-decoration:underline;display:inline-flex}.batch-card-actions button,.batch-recipe-actions button,.batch-ingredients>button{min-height:44px}.batch-icon{width:44px;height:44px}.batch-recipe-settings{grid-template-columns:minmax(0,1fr);margin-top:16px}.batch-recipe-fields{display:contents}.batch-ingredients{margin-top:8px}.batch-ingredient{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:12px 10px;display:grid}.batch-ingredient-name{grid-column:1/-1}.batch-ingredients>button{margin-top:14px}.batch-recipe-actions{border-top:1px solid var(--border);flex-wrap:wrap;gap:8px;margin-top:20px;padding-top:16px;display:flex}.batch-saved{color:var(--muted-foreground);align-items:flex-start;gap:7px;font-size:13px;line-height:1.7;display:flex}.batch-saved svg{width:16px;height:16px;color:var(--primary);flex:none;margin-top:3px}.batch-ingredient-preview{margin-top:14px}.batch-ingredient-preview li{border-bottom:1px solid var(--border);justify-content:space-between;gap:16px;padding:7px 0;font-size:13px;display:flex}.batch-ingredient-preview li span{overflow-wrap:anywhere;min-width:0}.batch-ingredient-preview strong{flex:none;font-weight:500}.batch-add-recipe{width:100%;min-height:54px;color:var(--primary);border-style:dashed;margin-top:16px}.batch-result-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px;display:grid}.batch-result-summary p{border:1px solid var(--border);border-radius:10px;padding:14px;font-size:12px}.batch-result-summary strong{font-family:var(--font-heading);color:var(--primary);margin-top:4px;font-size:30px;display:block}.batch-result-summary span{color:var(--muted-foreground);margin-top:5px;line-height:1.5;display:block}.batch-timetable,.batch-labels,.batch-shopping,.batch-storage{min-width:0;margin-top:26px}.batch-timetable table{border-collapse:collapse;table-layout:fixed;text-align:left;width:100%;margin-top:14px;font-size:13px}.batch-timetable th,.batch-timetable td{border-bottom:1px solid var(--border);vertical-align:top;overflow-wrap:anywhere;padding:12px 8px}.batch-timetable thead{background:var(--secondary);color:var(--primary);font-size:12px}.batch-timetable thead th:first-child{width:28%}.batch-timetable tbody th{font-weight:600}.batch-job-date{color:var(--muted-foreground);margin-top:4px;font-size:11px;line-height:1.45;display:block}.batch-day-picker{display:none}.batch-label-grid{gap:12px;margin-top:14px;display:grid}.batch-portion-label{border:1px dashed var(--border);border-radius:10px;min-width:0;padding:16px}.batch-portion-label h4{font-family:var(--font-heading);overflow-wrap:anywhere;font-size:19px}.batch-portion-label p{margin-top:7px;font-size:12px;line-height:1.6}.batch-portion-label .batch-label-source{color:var(--muted-foreground);overflow-wrap:anywhere;font-size:11px}.batch-label-source a,.batch-storage a{text-underline-offset:3px;text-decoration:underline}.batch-shopping table{table-layout:fixed;border-collapse:collapse;text-align:left;width:100%;margin-top:14px}.batch-shopping th{color:var(--primary);border-bottom:1px solid var(--border);padding:9px 0;font-size:13px}.batch-shopping th:last-child{text-align:right}.batch-shopping td{border-bottom:1px solid var(--border);overflow-wrap:anywhere;padding:9px 0;font-size:13px}.batch-shopping td:last-child{text-align:right;width:35%;padding-left:12px}.batch-shopping strong{white-space:nowrap;font-weight:600}.batch-storage{border:1px solid var(--border);background:var(--secondary);border-radius:10px;padding:16px}.batch-storage h3{font-size:19px}.batch-storage p,.batch-storage a{margin-top:8px;font-size:12px;line-height:1.7}.batch-storage a{display:inline-block}@media (min-width:640px){.batch-settings,.batch-slot-settings,.batch-label-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.batch-recipe-settings{grid-template-columns:repeat(3,minmax(0,1fr))}.batch-recipe-card{padding:22px}}@media (min-width:1000px){.batch-ingredient{grid-template-columns:minmax(0,1.5fr) 110px minmax(0,1fr) 44px;align-items:start;gap:12px}.batch-ingredient-name{grid-column:auto}}@media (max-width:639px){.batch-timetable table,.batch-timetable tbody{display:block}.batch-timetable thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.batch-timetable tr{border:1px solid var(--border);border-radius:10px;margin-bottom:12px;display:block;overflow:hidden}.batch-timetable tbody th{background:var(--secondary);display:block}.batch-timetable td{flex-wrap:wrap;justify-content:space-between;gap:5px 10px;margin:0 12px;padding:9px 0;display:flex}.batch-timetable td:before{content:attr(data-label);color:var(--muted-foreground)}.batch-timetable .batch-job-date{text-align:right;flex-basis:100%;margin-top:0}.batch-timetable tr[data-hidden-day=true]{display:none}.batch-day-picker{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}}@media screen and (max-width:767px){.batch-planner .batch-result-summary{gap:10px;margin-top:14px}.batch-planner .batch-result-summary p{padding:12px 10px}.batch-planner .batch-result-summary strong{font-size:26px;line-height:1.2}.batch-planner .batch-result-summary span{font-size:12px}.batch-planner .batch-timetable table,.batch-planner .batch-timetable tbody{display:block}.batch-planner .batch-timetable thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.batch-planner .batch-timetable tbody tr{border:1px solid var(--border);border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:12px;display:grid;overflow:hidden}.batch-planner .batch-timetable tr[data-hidden-day=true]{display:none}.batch-planner .batch-timetable tbody th{background:var(--secondary);grid-column:1/-1;padding:10px 12px;font-size:16px;line-height:1.4;display:block}.batch-planner .batch-timetable td{min-width:0;margin:0;padding:10px 12px;font-size:15px;line-height:1.5;display:block}.batch-planner .batch-timetable td:before{content:attr(data-label);color:var(--muted-foreground);margin-bottom:3px;font-size:12px;font-weight:400;display:block}.batch-planner .batch-timetable td[data-label=Appliance]{grid-area:2/1}.batch-planner .batch-timetable td[data-label=Portions]{grid-area:2/2}.batch-planner .batch-timetable td[data-label=Start]{border-bottom:0;grid-area:3/1}.batch-planner .batch-timetable td[data-label=Finish]{border-bottom:0;grid-area:3/2}.batch-planner .batch-timetable td[data-label=Portions],.batch-planner .batch-timetable td[data-label=Finish]{border-left:1px solid var(--border)}.batch-planner .batch-timetable [data-start],.batch-planner .batch-timetable [data-finish]{font-variant-numeric:tabular-nums;color:var(--primary);font-size:23px;font-weight:600;line-height:1.25;display:block}.batch-planner .batch-timetable .batch-job-date{text-align:left;margin-top:4px;font-size:12px;line-height:1.5}.batch-planner .batch-day-picker{overscroll-behavior-x:contain;flex-wrap:nowrap;gap:6px;max-width:100%;padding:2px;display:flex;overflow-x:auto}.batch-planner .batch-day-picker button{flex:none;min-height:44px}.batch-planner .batch-day-picker button[aria-pressed=true]{background:var(--primary);color:var(--primary-foreground)}.batch-planner .batch-portion-label{border:1px solid var(--border);border-radius:10px;padding:12px}.batch-planner .batch-portion-label[data-hidden-day=true]{display:none}.batch-planner .batch-portion-label h4{font-size:16px;line-height:1.4}.batch-planner .batch-portion-label>p:first-of-type{color:var(--primary);font-size:13px}.batch-planner .batch-shopping table{background:var(--card)}.batch-planner .batch-shopping-name-column{width:62%}.batch-planner .batch-shopping-quantity-column{width:38%}.batch-planner .batch-shopping :is(th,td){vertical-align:top;padding:10px;line-height:1.5}.batch-planner .batch-shopping th{font-size:12px}.batch-planner .batch-shopping strong{white-space:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.batch-planner .batch-ingredient-preview strong{text-align:right;overflow-wrap:anywhere;flex:0 40%}}@media screen and (max-width:639px){.batch-planner .batch-equipment{margin-top:20px}.batch-planner .batch-recipes{margin-top:24px}.batch-planner .batch-recipes>h2{font-size:21px}.batch-planner .batch-card-heading{align-items:center;margin-bottom:12px;padding-bottom:8px}.batch-planner .batch-card-heading h3{padding-top:0}.batch-planner .batch-draft-status{margin-bottom:12px}.batch-planner .batch-recipe-fields{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:12px;display:grid}.batch-planner .batch-recipe-settings{display:contents}.batch-planner .batch-recipe-fields>div:first-child{grid-area:1/1}.batch-planner .batch-recipe-settings>div:first-child{grid-area:1/2}.batch-planner .batch-recipe-fields>div:first-child,.batch-planner .batch-recipe-settings>div{flex-direction:column;min-width:0;display:flex}.batch-planner .batch-recipe-fields label{flex:1}.batch-planner .batch-ingredient{gap:12px 10px}.batch-planner .batch-recipe-actions{margin-top:14px;padding-top:12px}}@media print{@page batch-plan{size:auto;margin:0 0 10mm;@bottom-center{content:"Batch cooking planner | Page " counter(page) " of " counter(pages);font-family:sans-serif;font-size:7.5pt;color:#775d4c}}.batch-planner,.batch-planner .tool-shell{page:batch-plan}html:has(.batch-planner .print-result){page:batch-plan}body:has(.batch-planner .print-result){page:batch-plan}main:has(.batch-planner .print-result){page:batch-plan}.batch-result-summary{gap:8pt;margin-top:8pt}.batch-result-summary p{border:0;padding:0;font-size:8pt}.batch-result-summary strong{margin-left:5pt;font-size:17pt;display:inline}.batch-result-summary span{margin-top:2pt}.batch-hint{margin-top:4pt;font-size:7.5pt;line-height:1.4}.batch-timetable,.batch-labels,.batch-shopping,.batch-storage{margin-top:8pt}.batch-timetable h3,.batch-labels h3,.batch-shopping h3,.batch-storage h3{break-after:avoid;font-size:12pt}.batch-timetable table{margin-top:5pt;font-size:8pt;display:table}.batch-timetable thead{clip-path:none;width:auto;height:auto;display:table-header-group;position:static;overflow:visible}.batch-timetable tbody{display:table-row-group}.batch-timetable tr,.batch-timetable tr[data-hidden-day=true]{break-inside:avoid;border:0;display:table-row}.batch-timetable th,.batch-timetable td,.batch-timetable tbody th{margin:0;padding:5pt;font-size:8pt;display:table-cell}.batch-timetable td:before{content:none}.batch-timetable .batch-job-date{text-align:left;font-size:6.5pt}.batch-label-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7pt;margin-top:6pt;display:grid}.batch-portion-label{break-inside:avoid;padding:7pt}.batch-portion-label h4{font-size:10pt}.batch-portion-label p{margin-top:3pt;font-size:7.5pt;line-height:1.35}.batch-portion-label .batch-label-source{font-size:6.5pt}.batch-shopping table{margin-top:6pt}.batch-shopping thead{display:table-header-group}.batch-shopping tr{break-inside:avoid}.batch-shopping th{break-after:avoid;padding:5pt 0;font-size:8pt}.batch-shopping td{padding:2pt 0;font-size:8pt}.batch-planner .print-result .batch-storage{padding:7pt;break-inside:avoid!important}.batch-storage p,.batch-storage a{margin-top:3pt;font-size:7pt;line-height:1.35}}
