#screenHaccp .haccp-wrap,#screenHaccpPlan .plan-body{width:100%;min-width:0;box-sizing:border-box}
.lh-root{width:100%;min-width:0}.lh-shell,.lh-document{display:grid;gap:14px;max-width:1120px;width:100%;margin:0 auto;box-sizing:border-box;color:#263a31}.lh-shell *,.lh-document *{box-sizing:border-box}.lh-card{border:1px solid #dbe7e1;border-radius:14px;padding:16px;background:#fff;min-width:0}.lh-card summary{cursor:pointer;font-weight:750;line-height:1.5}.lh-card small{color:#61766b;font-weight:500}.lh-section p,.lh-document p,.lh-card p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}.lh-section h4{margin-bottom:6px}.lh-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.lh-root label{display:block;font-size:14px;margin:12px 0;line-height:1.5}.lh-root input:not([type=checkbox]):not([type=radio]),.lh-root textarea{display:block;width:100%;padding:10px;border:1px solid #bbcfc4;border-radius:9px;font:inherit;margin-top:5px}.lh-root textarea{resize:vertical}.lh-root input[type=checkbox]{width:auto;margin-right:8px}.lh-root code{font-size:11px;overflow-wrap:anywhere;white-space:normal}.lh-notice:empty{display:none}.lh-notice,.lh-warning{padding:12px;border-radius:10px;background:#fff3d8;color:#6d521d}.lh-table-wrap{overflow-x:auto}.lh-root table{width:100%;border-collapse:collapse;font-size:13px}.lh-root th,.lh-root td{text-align:left;border-bottom:1px solid #dbe7e1;padding:9px;vertical-align:top}.lh-meta{font-size:12px;color:#61766b}.lh-root h2{font-size:21px}.lh-root h3{font-size:17px}@media(max-width:600px){.lh-card{padding:12px}.lh-actions>button{width:100%}.lh-root h2{font-size:18px}.lh-root th,.lh-root td{padding:6px}}
@media print{.lh-root details{display:block}.lh-root details>summary{list-style:none}.lh-card{break-inside:auto;border:0;padding:8px 0}.lh-document{max-width:none;font-size:10pt}.lh-root a{color:inherit}.lh-root button,.lh-notice{display:none}}

#btnHaccpReview[hidden],#screenHaccp .haccp-top[hidden]{display:none!important}

.lh-root dl{margin:8px 0}.lh-root dt{font-weight:600;margin-top:8px}.lh-root dd{margin:3px 0 8px 16px;overflow-wrap:anywhere}.lh-root ol{padding-left:24px}


.lh-review-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 16px}.lh-root [data-lh-group-note]{margin:0 0 16px}.lh-review-tabs button{min-height:44px;padding:10px 16px}.lh-review-tabs button[aria-pressed=true]{background:#223d87;color:#fff}.lh-root [hidden]{display:none!important}.lh-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.lh-prepared{padding:14px;background:#f2f8f5;border-radius:12px;margin:12px 0}.lh-prepared p{font-size:14px}.lh-edit{margin:14px 0}.lh-review-reference{margin:10px 0;font-size:12px;color:#61766b}.lh-confirm-row{padding:12px;background:#eef5fb;border-radius:10px}.lh-shared summary{font-size:15px}.lh-shared p{font-size:13px;margin-bottom:0}@media(max-width:600px){.lh-review-grid{grid-template-columns:1fr}.lh-review-tabs button{flex:1 1 100%}.lh-root .lh-prepared p{max-height:none}}

.lh-status h2{margin:0 0 8px}.lh-status p{margin:0 0 16px}.lh-status>.btn-primary{width:auto;min-height:44px}.lh-review-body>summary{cursor:pointer;font-weight:700;margin:8px 0 16px}.lh-review-body[open]{display:grid;gap:14px}.lh-save-status{color:#176447;font-size:14px}.fsms-guide-root{width:100%;min-width:0}

.lh-root h2,.lh-root h3,.lh-root h4{font-weight:950}
.lh-root .btn-primary,.lh-root .btn-secondary,#screenHaccp .haccp-top button{font:inherit;font-weight:700;font-size:1rem;min-height:44px;height:auto;padding:10px 16px;line-height:1.3;box-shadow:none;white-space:normal}

.lh-status [data-lh-approve-all]{margin:8px 0 0 10px}@media(max-width:600px){.lh-status [data-lh-approve-all]{display:block;margin:10px 0 0}}

.lh-root [aria-invalid=true]{border-color:#ac6520;outline:2px solid #f0d0a7;outline-offset:1px}.lh-root [data-lh-bulk-common]{padding:14px 16px;background:#fff8e9;border-radius:10px;margin-top:12px}.lh-root [data-lh-bulk-common] ul,.lh-bulk-help ul{list-style:disc outside;padding-left:22px}.lh-bulk-help li{margin:8px 0}.lh-root .lh-bulk-link{background:transparent;border:0;padding:8px 0;min-height:44px;color:#24449a;font:inherit;text-align:left;text-decoration:underline;white-space:normal;overflow-wrap:anywhere}.lh-bulk-link:focus-visible{outline:2px solid #24449a;outline-offset:3px}

.lh-guidance{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.lh-guidance h4,.lh-review-help h4{font-size:15px;font-weight:800;margin:20px 0 8px}.lh-guidance p{margin:0 0 12px}.lh-guidance ul,.lh-guidance ol,.lh-review-help ol{padding-left:22px;margin:8px 0 16px;list-style-position:outside}.lh-guidance ul{list-style-type:disc}.lh-guidance ol,.lh-review-help ol{list-style-type:decimal}.lh-guidance li,.lh-review-help li{margin:6px 0}.lh-guidance>:last-child{margin-bottom:0}.lh-review-help{padding:14px 16px;margin:16px 0;background:#eef5fb;border-radius:12px;font-size:14px;line-height:1.6}.lh-review-help h4{margin-top:0}.lh-root .lh-review-link{border:0;background:transparent;color:#24449a;padding:8px 0;min-height:44px;font:inherit;font-weight:700;text-align:left;text-decoration:underline;white-space:normal}.lh-review-link:focus-visible{outline:2px solid #24449a;outline-offset:3px}

/* Structured site arrangements and a separate reviewer task. */
.lh-root select{display:block;width:100%;min-height:44px;padding:10px;margin-top:5px;border:1px solid #bbcfc4;border-radius:9px;background:#fff;font:inherit;color:inherit}
.lh-root [data-workflow-panel]{display:grid;gap:16px;min-width:0}
.lh-root [data-workflow-panel]>h3,.lh-root [data-workflow-panel]>p{margin:0}
.lh-root [data-workflow-panel] ul{list-style:disc outside;padding-left:22px}
.lh-root [data-workflow-panel] li{margin:8px 0;overflow-wrap:anywhere}
.lh-root .lh-procedure-summary,.lh-root .lh-known{padding:14px 16px;margin:14px 0;border-radius:12px;background:#f2f6fb}
.lh-root .lh-procedure-summary h4,.lh-root .lh-known h4{margin:0 0 8px}
.lh-root .lh-arrangement>details{margin:16px 0}
.lh-root [data-arrangement-followup]{border-left:3px solid #bd8c30;padding:0 12px}
.lh-root [data-workflow-status]:empty{display:none}
.lh-root [data-workflow-status]{padding:12px;background:#fff3d8;border-radius:10px}
@media(max-width:600px){.lh-root [data-workflow-panel] .lh-card{padding:12px}.lh-root [data-workflow-mode]{flex:1 1 100%}}

/* Saved completion is separate from instructions; choices remain comfortable on mobile. */
.lh-root .lh-site-progress{display:grid;gap:6px;max-width:420px;margin:16px 0 20px}
.lh-root .lh-site-progress strong{font-size:1.6rem;line-height:1.3;color:#243d87}
.lh-root .lh-site-progress span{font-size:.9rem}
.lh-root .lh-site-progress progress{display:block;width:100%;height:10px;accent-color:#243d87}
.lh-root .lh-answer-options{min-width:0;margin:18px 0;padding:0;border:0}
.lh-root .lh-answer-options legend{padding:0;margin-bottom:8px}
.lh-root .lh-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.lh-root .lh-choice-grid .lh-option{display:flex;align-items:center;gap:10px;min-height:44px;margin:0;padding:10px 12px;border:1px solid #bbcfc4;border-radius:9px;cursor:pointer;overflow-wrap:anywhere}
.lh-root .lh-option input[type=checkbox]{width:20px;height:20px;min-height:0;margin:0;flex:0 0 20px;accent-color:#243d87}
.lh-root .lh-option:has(input:checked){background:#eef3ff;border-color:#243d87}
.lh-root .lh-option:focus-within{outline:2px solid #243d87;outline-offset:2px}
.lh-root [data-pick-custom-wrap]{margin-top:10px}
.lh-root [data-arrangement-answer][hidden],.lh-root [data-pick-custom-wrap][hidden]{display:none!important}
.lh-root dd{white-space:pre-line}
@media(max-width:600px){.lh-root .lh-choice-grid{grid-template-columns:minmax(0,1fr)}}

/* Clear saved state and compact, responsive site questions. */
.lh-root .lh-progress-action{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:16px}
.lh-root .lh-progress-action .lh-site-progress{flex:1 1 240px;margin:8px 0;min-width:0}
.lh-root .lh-arrangement>summary{display:flex;align-items:center;gap:10px;list-style:none;min-height:44px}
.lh-root .lh-arrangement>summary::-webkit-details-marker{display:none}
.lh-root .lh-disclosure{font-size:.75rem;flex:0 0 auto}
.lh-root .lh-arrangement[open]>summary .lh-disclosure{transform:rotate(90deg)}
.lh-root .lh-arrangement-title{flex:1;min-width:0;overflow-wrap:anywhere}
.lh-root .lh-answer-badge{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;padding:5px 10px;border:1px solid #d3a65a;border-radius:999px;background:#fff8e9;color:#775016;font-size:.85rem;font-weight:700;white-space:nowrap}
.lh-root .lh-arrangement[data-answer-state=complete]{border-color:#94c4a6}
.lh-root [data-answer-state=complete]>summary .lh-answer-badge{background:#edf8f0;border-color:#94c4a6;color:#23653d}
.lh-root [data-answer-state=empty]>summary .lh-answer-badge{background:#fff}
.lh-root [data-answer-state=unsaved]>summary .lh-answer-badge{background:#eef3ff;border-color:#9aafd8;color:#243d87}
.lh-root .lh-arrangement-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;margin:16px 0}
.lh-root .lh-arrangement-field{min-width:0}
.lh-root .lh-field-wide{grid-column:1/-1}
.lh-root .lh-arrangement-field>.lh-answer-options,.lh-root .lh-arrangement-field>label{margin:0}
.lh-root .lh-short-answer{min-width:0;margin:0;padding:0;border:0}
.lh-root .lh-short-answer legend{padding:0;margin-bottom:8px}
.lh-root .lh-arrangement-field select{margin-top:0}
.lh-root .lh-answer-buttons{display:flex;flex-wrap:wrap;gap:8px}
.lh-root .lh-answer-buttons .lh-answer-button{display:flex;align-items:center;gap:8px;margin:0;padding:9px 12px;min-height:44px;border:1px solid #bbcfc4;border-radius:9px;cursor:pointer;font:inherit;font-size:.9rem}
.lh-root .lh-answer-button input[type=radio]{display:inline-block;flex:0 0 18px;width:18px;height:18px;min-height:0;margin:0;padding:0;accent-color:#243d87}
.lh-root .lh-answer-button:has(input:checked){background:#eef3ff;border-color:#243d87;color:#243d87}
.lh-root .lh-answer-button:focus-within{outline:2px solid #243d87;outline-offset:2px}
.lh-root .lh-answer-button:has(input:disabled){opacity:.65;cursor:wait}
@media(max-width:800px){.lh-root .lh-arrangement-fields{grid-template-columns:minmax(0,1fr)}.lh-root .lh-progress-action{gap:8px}.lh-root .lh-arrangement>summary{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start}.lh-root .lh-answer-badge{grid-column:2;justify-self:start;white-space:normal}.lh-root .lh-disclosure{margin-top:5px}}

/* HACCP actions fit their labels instead of inheriting growing primary buttons. */
.lh-root .lh-actions>button,.lh-root .lh-progress-action>button,.lh-root [data-save-technical]{flex:0 1 auto;width:auto;max-width:100%;min-width:0;justify-self:start}

/* Review saved facts once; record only decisions and exceptions. */
.lh-root .lh-review-facts{padding:14px 16px;margin:14px 0;background:#f2f6fb;border-radius:12px}
.lh-root .lh-review-facts h4,.lh-root .lh-review-shared h4{margin:0 0 8px}
.lh-root .lh-review-facts dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 18px}
.lh-root .lh-review-facts dt,.lh-root .lh-review-facts dd{margin:0}
.lh-root .lh-review-section>.lh-short-answer{margin:20px 0 14px}
.lh-root .lh-review-checks{border:0;padding:0;margin:16px 0;min-width:0}
.lh-root .lh-review-checks legend{font-weight:700}
.lh-root .lh-review-checks label{display:flex;align-items:flex-start;gap:10px;min-height:44px;padding:10px 12px;margin:6px 0;background:#f5f8fa;border-radius:9px}
.lh-root .lh-review-checks input[type=checkbox]{flex:0 0 20px;width:20px;height:20px;margin:1px 0 0;accent-color:#243d87}
.lh-root .lh-review-section>details{margin:14px 0}
.lh-root .lh-review-extra summary,.lh-root .lh-review-sources summary{font-size:.9rem;color:#466157}
.lh-root [data-save-review],.lh-root [data-save-review-section]{flex:0 1 auto;width:auto;max-width:100%;min-width:0;justify-self:start;margin-top:12px}
.lh-root [data-review-status]:empty{display:none}
.lh-root [data-review-status]:not(:empty){padding:12px;background:#fff3d8;border-radius:10px}
@media(max-width:600px){.lh-root .lh-review-facts dl{display:block}.lh-root .lh-review-facts dd{margin:4px 0 12px}.lh-root .lh-review-facts dt{font-weight:700}}

/* Compact, aligned approval and acknowledgement controls. */
.lh-root .lh-choice{display:flex;align-items:flex-start;gap:10px;max-width:100%;padding:8px 0}
.lh-root input[type=radio],.lh-root input[type=checkbox]{display:inline-block;flex:0 0 auto;width:18px;height:18px;min-height:0;margin:3px 0 0;padding:0;box-shadow:none;accent-color:#233e89}
.lh-root .lh-approval-choices{border:1px solid #dbe7e1;border-radius:12px;padding:12px 16px;margin:16px 0}
.lh-root .lh-approval-choices select{max-width:640px}
.lh-root .lh-audit-provenance{font-size:13px;margin:12px 0;color:#61766b}

/* Readable operational plan; retained audit records are a separate screen disclosure. */
.lh-root .lh-operational-plan{max-width:100%;overflow-wrap:anywhere}
.lh-root .lh-plan-section{margin:20px 0;padding:0 0 14px;border-bottom:1px solid #dbe7e1}
.lh-root .lh-operational-plan h2{margin:24px 0 12px}
.lh-root .lh-operational-plan h3,.lh-root .lh-operational-plan h4{font-weight:700;margin:16px 0 8px}
.lh-root .lh-operational-plan p,.lh-root .lh-operational-plan li{line-height:1.5}
@media print{.lh-root .lh-audit-records{display:none!important}.lh-root .lh-operational-plan{font-size:10pt}.lh-root .lh-operational-plan h2,.lh-root .lh-operational-plan h3,.lh-root .lh-operational-plan h4{break-after:avoid}.lh-root .lh-operational-plan tr{break-inside:avoid}.lh-root .lh-operational-plan .lh-plan-section{break-inside:auto}.lh-root .lh-operational-plan .lh-meta{font-size:9pt}.lh-root .lh-operational-plan p{margin:6px 0}.lh-root .lh-operational-plan .lh-section{margin:10px 0}}

/* Compact block pagination avoids grid row fragmentation in browser PDF output. */
@media print{
 body.print-haccp iframe,body.print-haccp netlify-drawer,body.print-haccp netlify-toolbar,body.print-haccp #netlify-deploy-preview-toolbar{display:none!important}
 .lh-root .lh-operational-plan{display:block!important;font-size:10pt;line-height:1.4}
 .lh-root .lh-operational-plan>.lh-plan-section{margin:12px 0;padding-bottom:8px}
 .lh-root .lh-operational-plan h2{font-size:15pt;margin:16px 0 8px}
 .lh-root .lh-operational-plan h3{font-size:12pt;margin:12px 0 6px}
 .lh-root .lh-operational-plan h4{font-size:10pt;margin:8px 0 4px}
 .lh-root .lh-operational-plan .lh-section{break-inside:avoid;margin:8px 0}
 .lh-root .lh-operational-plan dl{margin:6px 0}
 .lh-root .lh-operational-plan dt{break-after:avoid;font-weight:600}
 .lh-root .lh-operational-plan dd{break-before:avoid;margin:2px 0 7px 14px}
 .lh-root .lh-operational-plan ul{margin:6px 0;padding-left:20px}
 .lh-root .lh-operational-plan li{break-inside:avoid;orphans:2;widows:2}
 .lh-root .lh-operational-plan p{orphans:3;widows:3}
}

@media print{.lh-root .lh-operational-plan .lh-section:has(.lh-section){break-inside:auto}}

/* A readable site guide using existing approved facts and decisions. */
.lh-root .lh-plan-cover{border-bottom:3px solid #1e3a8a;padding-bottom:16px}
.lh-root .lh-plan-kicker{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#1e3a8a}
.lh-root .lh-plan-contents{padding:16px 20px;background:#f4f7fb;border-radius:10px}
.lh-root .lh-plan-contents ol{columns:2;column-gap:32px;margin:8px 0;padding-left:22px}
.lh-root .lh-plan-contents li{padding:4px 0;break-inside:avoid}
.lh-root .lh-plan-contents a{color:#1e3a8a;text-decoration:none}
.lh-root .lh-plan-chapter{min-width:0;margin:18px 0;scroll-margin-top:80px}
.lh-root .lh-plan-chapter>h2{padding-bottom:8px;border-bottom:2px solid #dbe3ef;color:#1e3a8a}
.lh-root .lh-facts th{width:32%;background:#f7f9fc}
.lh-root .lh-facts td{white-space:pre-line}
.lh-root .lh-plan-activity{margin:18px 0;padding-bottom:16px;border-bottom:1px solid #dbe7e1}
.lh-root .lh-recorded-decision{padding:10px 12px;margin:12px 0;border-left:3px solid #bccbdd;background:#f6f8fb}
.lh-root .lh-operational-plan td small{display:block;margin-top:4px}
@media(max-width:600px){.lh-root .lh-plan-contents ol{columns:1}.lh-root .lh-facts th{width:38%}}
@media print{
 .lh-root .lh-plan-contents{background:none;border:1px solid #dbe3ef;padding:8px 12px;break-inside:avoid}
 .lh-root .lh-plan-cover{break-inside:avoid;padding-bottom:8px}
 .lh-root .lh-plan-chapter{margin:12px 0}
 .lh-root .lh-plan-activity{margin:10px 0;padding-bottom:8px}
 .lh-root .lh-recorded-decision{padding:6px 8px;margin:8px 0;break-inside:avoid}
 .lh-root .lh-facts th,.lh-root .lh-facts td{padding:5px 7px}
 .lh-root .lh-plan-chapter>h2{break-after:avoid}
}

/* Let long saved decisions flow; keep the short failure/verification pair together. */
@media print{
 .lh-root .lh-operational-plan .lh-recorded-decision,
 .lh-root .lh-operational-plan .lh-recorded-decision .lh-section{break-inside:auto}
 .lh-root .lh-operational-plan .lh-recorded-decision>strong{display:block;break-after:avoid}
 .lh-root .lh-operational-plan .lh-control-followup{break-inside:avoid}
}
