.batch-sheet-modal{flex-direction:column;gap:14px;height:90vh;display:flex}.batch-sheet-modal>.pc-field{flex-direction:column;flex:none;gap:6px;display:flex}.batch-sheet-modal>button{flex:none;align-self:flex-start}.batch-sheet-modal iframe{border:1px solid #cad7e8;border-radius:10px;flex:1;width:100%;min-height:240px}.batch-sheet-modal footer{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.batch-sheet-modal .packaging-editor-actions{border-top:1px solid #e3eaf4;flex:none;align-items:center;gap:12px;padding-top:12px}.batch-sheet-modal .packaging-editor-actions button{min-width:150px;min-height:44px;font:inherit;cursor:pointer;border:1px solid #cad7e8;border-radius:12px;justify-content:center;align-items:center;padding:10px 20px;font-weight:500;display:inline-flex}.batch-sheet-modal .packaging-editor-actions .packaging-editor-back{color:#1761cf;background:#fff}.batch-sheet-modal .packaging-editor-actions .packaging-editor-save{color:#fff;background:#1764f6;border-color:#1764f6}.batch-sheet-modal .packaging-editor-actions button:focus-visible{outline-offset:2px;outline:3px solid #86b5ff}.batch-sheet-modal .packaging-editor-actions button:disabled{opacity:.6;cursor:wait}@media (width<=600px){.batch-sheet-modal .packaging-editor-actions button{flex:1;min-width:130px}}.batch-sheet-modal footer{align-items:center}.batch-sheet-modal .batch-start-shortage{align-items:center;gap:8px;margin:0;display:inline-flex}.batch-sheet-modal .batch-start-shortage input{width:auto;margin:0}.packaging-sheet{color:#172b49;font-size:14px}.packaging-sheet>header{border-bottom:2px solid #2463a5;padding:12px 0}.packaging-sheet>header>strong{color:#2463a5}.packaging-sheet section{border:1px solid #dbe5f2;border-radius:12px;margin:16px 0;padding:16px}.packaging-sheet h3{margin:0 0 12px}.packaging-sheet-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.packaging-sheet-table{overflow:auto}.packaging-sheet table{border-collapse:collapse;width:100%}.packaging-sheet th,.packaging-sheet td{text-align:left;border-bottom:1px solid #dbe5f2;padding:10px}.packaging-sheet th{background:#f0f5fc}.packaging-sheet-content{flex:1;min-height:0;overflow:auto}.dashboard-production-sheet>footer{justify-content:flex-end;gap:12px;padding-top:16px;display:flex}.dashboard-production-sheet>footer button{align-items:center;gap:8px;display:flex}@media (width<=760px){.packaging-sheet-grid{grid-template-columns:1fr}}@media print{.packaging-sheet section{break-inside:avoid}.packaging-sheet{font-size:11px}.packaging-sheet-table{overflow:visible}}.packaging-sheet-modal>header,.packaging-sheet-modal>footer,.packaging-sheet-modal>.pc-note{flex:none}.packaging-sheet-modal>.packaging-sheet-settings{flex:none;grid-template-columns:160px minmax(0,1fr);align-items:center;gap:6px 16px;display:grid}.packaging-sheet-settings>span{grid-column:1}.packaging-sheet-settings>input{grid-area:2/1}.packaging-sheet-settings>small{grid-area:1/2/3;font-weight:400;line-height:1.4}.packaging-sheet-modal>.packaging-sheet-content{flex:1 1 0;min-height:0;overflow:auto}.packaging-sheet-modal>footer{flex-wrap:wrap;padding-top:0}@media (width<=600px){.packaging-sheet-modal>.packaging-sheet-settings{grid-template-columns:120px minmax(0,1fr);gap:6px 10px}.packaging-sheet-modal>footer button{white-space:normal}}.calendar-layout-grid.dashboard-planning-top{grid-template-columns:minmax(0,1fr);align-items:stretch;margin-bottom:20px}.dashboard-planning-top>.panel{flex-direction:column;min-width:0;height:clamp(460px,66vh,680px);min-height:0;display:flex;overflow:hidden}.dashboard-planning-top .panel-header{flex:none;gap:10px;padding:14px 16px}.dashboard-planning-top .panel-header h3{margin:0;font-size:17px}.dashboard-planning-top .panel-header p{margin:4px 0 0;font-size:12px}.dashboard-planning-top .dashboard-activity-list,.dashboard-week-scroll{scrollbar-gutter:stable;flex:1;align-content:start;min-height:0;padding:10px;overflow-y:auto}.dashboard-week-days{grid-template-columns:repeat(7,minmax(90px,1fr));gap:5px;min-height:100%;display:grid}.dashboard-week-days>section{background:#f8fbff;border:1px solid #e1e9f5;border-radius:9px;min-width:0;padding:4px}.dashboard-week-days>section.selected{border-color:#3772ff}.dashboard-week-date{color:#124b91;cursor:pointer;background:#eaf2ff;border:0;border-radius:6px;gap:4px;width:100%;padding:8px 3px;font-size:12px;font-weight:700;display:grid;position:sticky;top:0}.dashboard-week-date small{font-size:10px;font-weight:400}.dashboard-planning-top .calendar-task-card{text-align:left;width:100%;min-height:0;margin:5px 0;padding:8px 10px;line-height:1.25;gap:3px!important}.dashboard-planning-top .calendar-task-card strong{font-size:13px}.dashboard-planning-top .calendar-task-card span,.dashboard-planning-top .calendar-task-card small{overflow-wrap:anywhere;font-size:11px}.dashboard-week-days .calendar-task-card{padding:6px}.dashboard-week-days .calendar-task-card strong{font-size:11px}.dashboard-week-days .calendar-task-card small,.dashboard-week-days .calendar-task-card span{font-size:10px}.dashboard-planning-top .dashboard-activity-group{margin:0 0 10px}.dashboard-planning-top .dashboard-activity-group h4{margin:4px 0 6px;font-size:13px}.dashboard-planning-dialog{color:#102640;border:1px solid #d8e4f5;border-radius:20px;width:min(800px,94vw);max-height:88vh;padding:0;box-shadow:0 24px 80px #10264040}.dashboard-planning-dialog::backdrop{background:#10264066}.dashboard-planning-dialog .modal-header{z-index:1;background:#fff;border-bottom:1px solid #e1e9f5;padding:18px 22px;position:sticky;top:0}.dashboard-planning-dialog .modal-header h2{font-size:19px}.dashboard-dialog-content{padding:18px 22px}.dashboard-dialog-content .calendar-task-card{text-align:left;width:100%;margin-bottom:8px}.dashboard-planning-toolbar{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.dashboard-planning-toolbar .task-search{flex:1;min-width:220px}.dashboard-activities-page .full-calendar-day{grid-template-columns:auto minmax(0,1fr);align-content:start;align-items:start;gap:8px;display:grid}.dashboard-activities-page .full-calendar-day .day-number{margin:0;line-height:20px}.dashboard-activities-page .dashboard-day-counts{gap:4px;min-width:0;margin:0;display:grid}.dashboard-activities-page .production-label,.dashboard-planning-dialog .production-label,.activity-kind{border-radius:8px;padding:3px 8px;font-size:11px;font-weight:700;line-height:1.35;display:inline-block}.dashboard-activities-page .production-label.preparation,.dashboard-planning-dialog .production-label.preparation{color:#7e22ce;background:#f3e8ff}.dashboard-activities-page .production-label.packaging,.dashboard-planning-dialog .production-label.packaging{color:#b832a0;background:#fce7f6}.dashboard-activities-page .task-kind,.dashboard-planning-dialog .task-kind{color:#1d4ed8;background:#e0f2fe}.dashboard-activities-page .dashboard-day-line.production-label{white-space:normal;overflow-wrap:anywhere;font-weight:700}@media (width<=1100px){.calendar-layout-grid.dashboard-planning-top{grid-template-columns:minmax(0,1fr)}.dashboard-planning-top>.panel{height:520px}}@media (width<=600px){.dashboard-planning-top>.panel{height:460px}.dashboard-dialog-content{padding:12px}}.dashboard-planning-toolbar .task-search{flex:190px;min-width:150px;max-width:320px}.dashboard-planning-toolbar .primary-action{white-space:nowrap;flex-shrink:0}.dashboard-planning-toolbar{gap:8px}.activities-toolbar-slot .dashboard-planning-toolbar .task-search{flex-basis:190px;max-width:320px}.activities-toolbar-slot .dashboard-planning-toolbar{flex-wrap:wrap}.dashboard-calendar-notice{overflow-wrap:anywhere;border:1px solid;border-radius:10px;flex:none;height:auto;min-height:0;margin-bottom:12px;padding:8px 12px;font-size:13px;line-height:1.4}.dashboard-calendar-notice-warning{color:#854d0e;background:#fef9c3;border-color:#fde68a}.dashboard-calendar-notice-error{color:#b91c1c;background:#fef2f2;border-color:#fecaca}
