.kitchen-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;align-items:start}.guided-form{max-width:none;padding:0;min-width:0}.form-section{border:0;border-bottom:1px solid var(--line);padding:26px;margin:0;min-width:0}.form-section legend{float:left;width:100%;font-size:15px;font-weight:600;padding:0;margin-bottom:22px}.form-section legend span{color:var(--sage);font-size:12px;margin-right:10px}.field-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;clear:both}.form-field{min-width:0}.form-field.full-width{grid-column:1/-1}.form-field label{line-height:1.5}.guided-form .form-actions{padding:0 26px 26px}.guided-form input,.guided-form select,.guided-form textarea{min-height:44px}.guided-form input[type=checkbox]{min-height:auto}.form-field #id_lots{max-height:300px;overflow:auto;border:1px solid var(--line);border-radius:7px;padding:10px}.form-field #id_lots label{padding:10px;border-bottom:1px solid var(--line);font-weight:400;font-size:12px}.form-field #id_allergens{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.compact{margin:12px 0 6px;min-height:36px;padding:8px 12px;font-size:12px}.evidence-preview{max-width:100%;max-height:220px;object-fit:contain;margin-top:12px}.label-preview-wrap{position:sticky;top:24px;min-width:0}.label-preview{background:white;padding:22px;border:1px dashed #81948a;border-radius:8px;box-shadow:0 8px 28px #193d2e0a}.label-preview h2{font-family:Georgia,serif;font-weight:400;overflow-wrap:anywhere;margin:20px 0 10px;font-size:25px}.label-preview p{font-size:12px;overflow-wrap:anywhere}.label-preview small{display:block}.label-preview strong{font-size:22px;display:block;margin:8px 0 20px}.label-badge{font-size:8px;letter-spacing:1px;background:#edf1e9;padding:6px;border-radius:3px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.product-card{padding:24px;display:flex;flex-direction:column;gap:12px}.product-card h3{font-family:Georgia,serif;font-size:23px;font-weight:400;overflow-wrap:anywhere;margin:4px 0}.product-card p,.product-card small{font-size:12px}.product-card .text-link{margin-top:auto;padding-top:12px}.print-options{display:flex;gap:16px;flex-wrap:wrap;align-items:end;padding:18px;margin-bottom:20px}.print-options>div{flex:1;min-width:120px}.label-sheet{display:flex;flex-wrap:wrap;gap:5mm;margin-top:25px;align-items:flex-start}.food-label{background:#fff;color:#000;border:1px solid #111;padding:3mm;box-sizing:border-box;break-inside:avoid;overflow-wrap:anywhere;font-family:Arial,sans-serif;line-height:1.25}.food-label header{font-size:7pt;text-transform:uppercase}.food-label h2{font-size:13pt;line-height:1.1;margin:3mm 0 2mm}.food-label p{font-size:8pt;margin:1.5mm 0}.food-label footer{font-size:6.5pt;border-top:1px solid #222;padding-top:2mm;margin-top:2mm}.label-deadline{border-block:1px solid #222;padding:2mm 0;margin:2mm 0}.label-deadline small{display:block;font-size:7pt}.label-deadline strong{display:block;font-size:13pt}.label-blocked{display:block;border:2px solid #000;padding:2mm;font-size:9pt}.sidebar nav{overflow-y:auto}.food-label .label-blocked{color:#000}.spaced.actions{margin-bottom:22px}@media(max-width:1200px){.kitchen-layout{grid-template-columns:minmax(0,1fr)}.label-preview-wrap{position:static;max-width:360px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.field-grid{grid-template-columns:minmax(0,1fr)}.form-section{padding:20px}.form-section legend{font-size:14px}.product-grid{grid-template-columns:1fr}.label-preview-wrap{width:100%}.form-field #id_allergens{grid-template-columns:repeat(2,minmax(0,1fr))}.form-actions .button{width:100%}.sidebar nav{overflow-y:hidden}.print-options{display:grid;grid-template-columns:1fr 1fr}.label-sheet{max-width:100%;overflow:auto}}@media print{.label-sheet{margin:0;gap:3mm;overflow:visible}.food-label{box-shadow:none}.food-label header,.food-label footer{display:block}.food-label h2{font-size:13pt}.food-label p{font-size:8pt}.page-heading,.spaced.actions{break-after:avoid}}
.matrix-scroll{overflow-x:auto;max-width:100%}.allergen-matrix{border-collapse:collapse;width:100%;font-size:.8rem}.allergen-matrix th,.allergen-matrix td{padding:.65rem;border:1px solid #d9e3df;text-align:center}.allergen-matrix th:first-child{text-align:left;min-width:180px}.allergen-matrix small{display:block;font-weight:400;margin-top:.4rem}.allergen-matrix caption{padding:1rem;text-align:left;font-weight:600}@media print{.matrix-scroll{overflow:visible}.allergen-matrix{font-size:7pt}.allergen-matrix th,.allergen-matrix td{padding:3pt}.allergen-matrix th:first-child{min-width:0}.allergen-matrix thead{display:table-header-group}.allergen-matrix tr{break-inside:avoid}}

.capture-status{margin:18px;overflow-wrap:anywhere}.capture-status p{margin:8px 0}.capture-status input[type=checkbox]{width:auto;min-height:0}.capture-status label{display:block}
.capture-status{padding:12px 16px;font-size:13px}.capture-help summary{cursor:pointer;font-size:12px}.capture-help[open]{margin-top:12px}.capture-help .fine-print{max-width:65ch}.extra-fields summary{cursor:pointer;font-weight:600;min-height:44px;display:list-item;list-style-position:inside;padding:10px 0}.extra-fields[open] summary{margin-bottom:16px}.extra-fields:not([open]){padding-block:4px}.quick-entry .form-section legend{margin-bottom:16px}.quick-entry[data-kind=temperature]{max-width:740px}.quick-entry input[name=value]{font-size:24px;min-height:56px}.photo-trigger{width:100%;margin-top:12px}.quick-entry .form-actions{padding-top:20px}.quick-entry .ocr-panel{margin-top:12px}.quick-entry .ocr-panel p{font-size:13px}.quick-entry .capture-status{margin:12px 18px}.quick-entry .errorlist{color:#9f2626}.quick-entry[data-kind=temperature] .field-grid{grid-template-columns:1fr}

.work-status{overflow-wrap:anywhere;font-size:13px;padding:14px}.work-status summary{cursor:pointer}.work-status p{margin:8px 0}.work-status button[hidden],.work-status a[hidden]{display:none}
