/* Home safety self-inspection: static, local-only check, LTR. */
.safety-check-page,.safety-check-page input,.safety-check-page button {direction:ltr}
.safety-check-page{text-align:left}
.safety-main{max-width:960px}
.safety-hero{padding:2.25rem 0 1.8rem}
.safety-hero h1{font-size:clamp(1.9rem,4.6vw,3.15rem);line-height:1.18;color:#173f53;margin:.45rem 0 1rem}
.safety-lead{font-size:1.14rem;line-height:1.8;max-width:760px;color:#334155}
.safety-privacy,.safety-important{font-size:.96rem;line-height:1.75;border:1px solid #c5d9d2;border-radius:12px;background:#f1f7f4;padding:.8rem 1rem;margin:.8rem 0;max-width:800px}
.safety-important{background:#fffbf0;border-color:#ead9ae}
.safety-card{background:#fff;border:1px solid #d6e0e7;border-radius:18px;padding:clamp(1.15rem,3.5vw,2rem);box-shadow:0 9px 28px rgba(28,55,68,.05);max-width:800px}
.safety-step-meta{display:flex;align-items:center;justify-content:space-between;gap:1rem;color:#465f6d;font-weight:700;font-size:.92rem;margin-bottom:.55rem}
.safety-progress{width:100%;height:8px;background:#e6edf0;border-radius:100px;overflow:hidden;margin-bottom:1.25rem}
.safety-progress-fill{width:0;height:100%;background:#2b715e;transition:width .15s ease}
.safety-card h2{color:#173f53;font-size:clamp(1.35rem,3vw,1.7rem);line-height:1.4}
.safety-question{font-size:1.06rem;line-height:1.85;margin:1.1rem 0;color:#1f2937}
.safety-answers{border:0;margin:0;padding:0;display:grid;gap:.6rem;min-width:0}
.safety-answers legend{font-weight:800;margin-bottom:.7rem;color:#173f53}
.safety-answers label{display:flex;direction:ltr;align-items:center;justify-content:flex-start;gap:.75rem;padding:.85rem .9rem;border:1px solid #cbd5df;border-radius:10px;cursor:pointer;min-height:48px;line-height:1.45;background:#fff}
.safety-answers label:has(input:checked){background:#eff7f3;border-color:#2b715e;box-shadow:inset -3px 0 0 #2b715e}
.safety-answers input{accent-color:#25624e;width:19px;height:19px;flex:none;margin:0}
.safety-answers label:focus-within{outline:2px solid #467896;outline-offset:2px}
.safety-advice{border-left:4px solid #2b715e;background:#f0f8f4;padding:.75rem 1rem;margin-top:1.15rem;border-radius:8px;line-height:1.75}
.safety-advice p{margin:.3rem 0 0}
.safety-details{border-top:1px solid #e2e8ed;margin:1.4rem 0 0;padding-top:.7rem;line-height:1.75}
.safety-details summary{cursor:pointer;color:#215574;font-weight:700}
.safety-details p{margin:.55rem 0}
.safety-details a{color:#176388;text-decoration:underline}
.safety-nav-actions,.safety-result-actions{display:flex;justify-content:space-between;gap:.75rem;flex-wrap:wrap;margin-top:1.5rem}
.safety-nav-actions button{min-width:112px}
.safety-nav-actions button:disabled{opacity:.5;cursor:not-allowed}
.safety-help{color:#425b69;min-height:1.1rem;font-size:.94rem;margin:.5rem 0}
.safety-results section{margin:1.25rem 0}
.safety-results h3{font-size:1.23rem;color:#173f53;margin:0 0 .7rem}
.safety-results ol{padding-left:1.4rem;line-height:1.8}
.safety-results li{padding:.4rem 0}
.safety-results li strong{display:block}
.safety-results li a{color:#176388}
.safety-results-note{border-top:1px solid #dce6eb;padding-top:1rem}
.safety-result-actions{justify-content:flex-start}
.safety-bottom-link{max-width:800px;margin:1.5rem 0 3rem}
.safety-bottom-link a{color:#245f87}
@media(max-width:680px){.safety-card{border-radius:12px}.safety-result-actions .btn{width:100%}}
@media(prefers-reduced-motion:reduce){.safety-progress-fill{transition:none}}
@media print{
  @page{size:A4;margin:15mm}
  .site-bar,.official-guidance-bar,.site-footer,.safety-hero,.safety-bottom-link,.safety-nav-actions,.safety-result-actions,.safety-tool>.safety-card:not(.safety-results),.safety-help{display:none!important}
  .safety-check-page{background:#fff!important;color:#111!important;font-family:Arial,sans-serif}
  .safety-main{margin:0!important;padding:0!important;max-width:100%!important}
  .safety-results{display:block!important;border:0!important;box-shadow:none!important;padding:0!important;max-width:100%!important}
  .safety-results[hidden]{display:none!important}
  .safety-results li{break-inside:avoid}
  .safety-results h2{font-size:18pt!important;color:#111!important}
  a{color:#111!important;text-decoration:none!important}
}

.safety-result-caution{display:block;color:#495e6a;line-height:1.6;margin:.2rem 0 .35rem}

/* v270: exit actions, one continuous route, and hidden answer controls. */
.safety-answers label[hidden]{display:none!important}
.safety-nav-actions .safety-exit,.safety-result-actions .safety-exit{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.safety-nav-actions .btn{min-width:unset}
@media(max-width:680px){.safety-nav-actions{display:grid;grid-template-columns:1fr 1fr}.safety-nav-actions .btn{width:100%;white-space:normal}.safety-result-actions .safety-exit{width:100%}}
@media print{.safety-exit{display:none!important}}


/* V274: A4 printable action list, aligned with the site's plain action sheets.
   A constrained document width provides an additional horizontal margin safeguard
   even if the print dialog overrides the browser's page-margin defaults. */
.safety-print-header{display:none}
@media print{
  @page { size:A4 portrait; margin:18mm; }
  html,body.safety-check-page{width:auto!important;min-width:0!important;overflow:visible!important}
  body.safety-check-page{font-family:Arial,"Noto Sans Hebrew",sans-serif!important;font-size:10.5pt!important;line-height:1.48!important;color:#171a1f!important;background:#fff!important}
  body.safety-check-page .safety-main,
  body.safety-check-page .safety-tool{width:100%!important;max-width:164mm!important;margin:0 auto!important;padding:0!important;min-width:0!important;overflow:visible!important}
  body.safety-check-page .safety-results{display:block!important;width:100%!important;max-width:164mm!important;margin:0 auto!important;padding:0!important;background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#171a1f!important;overflow:visible!important}
  body.safety-check-page .safety-results[hidden]{display:none!important}
  body.safety-check-page .safety-results .eyebrow{display:none!important}
  body.safety-check-page .safety-print-header{display:block!important;margin:0 0 5mm!important;padding:0 0 3mm!important;border-bottom:1pt solid #596c78!important;break-inside:avoid-page!important;page-break-inside:avoid!important}
  body.safety-check-page .safety-print-brand{font-size:10pt!important;font-weight:700!important;color:#3e4d59!important;margin:0 0 1mm!important}
  body.safety-check-page .safety-print-document-title{font-size:13pt!important;font-weight:700!important;line-height:1.35!important;color:#173f53!important;margin:0!important;overflow-wrap:anywhere!important}
  body.safety-check-page .safety-results h2{font-size:16pt!important;line-height:1.35!important;color:#173f53!important;margin:0 0 3mm!important;padding:0!important;break-after:avoid-page!important;page-break-after:avoid!important}
  body.safety-check-page .safety-results #resultsLead{font-size:10.3pt!important;line-height:1.5!important;margin:0 0 4mm!important;color:#28323b!important}
  body.safety-check-page .safety-results section{margin:4mm 0 5mm!important;padding:0!important}
  body.safety-check-page .safety-results h3{font-size:12pt!important;line-height:1.35!important;color:#173f53!important;margin:0 0 1.5mm!important;padding:0 0 1.4mm!important;border-bottom:.6pt solid #b6c2c9!important;break-after:avoid-page!important;page-break-after:avoid!important}
  body.safety-check-page .safety-results ol{font-size:10.5pt!important;line-height:1.48!important;list-style-type:decimal!important;margin:1mm 0 0!important;padding-inline-start:6.5mm!important;padding-inline-end:0!important}
  body.safety-check-page .safety-results li{border-bottom:.45pt solid #e0e5e8!important;margin:0!important;padding:2mm 0 2.5mm!important;break-inside:avoid-page!important;page-break-inside:avoid!important;overflow-wrap:break-word!important;word-break:normal!important}
  body.safety-check-page .safety-results li strong{display:block!important;font-weight:700!important;color:#1b2832!important;margin-bottom:.8mm!important}
  body.safety-check-page .safety-result-caution{display:block!important;font-size:9.4pt!important;line-height:1.42!important;color:#455661!important;margin:1mm 0 0!important}
  body.safety-check-page .safety-results-note{font-size:9pt!important;line-height:1.5!important;color:#384a56!important;margin:5mm 0 1mm!important;padding-top:2.5mm!important;border-top:.7pt solid #a5b1b9!important;break-inside:avoid-page!important;page-break-inside:avoid!important}
  body.safety-check-page .safety-results .safety-privacy.small{border:0!important;background:transparent!important;font-size:8.5pt!important;color:#56636c!important;padding:0!important;margin:1mm 0 0!important;max-width:none!important}
  body.safety-check-page .site-bar,body.safety-check-page .official-guidance-bar,body.safety-check-page .site-footer,
  body.safety-check-page .safety-hero,body.safety-check-page .safety-bottom-link,
  body.safety-check-page .safety-nav-actions,body.safety-check-page .safety-result-actions,
  body.safety-check-page .safety-tool>.safety-card:not(.safety-results),body.safety-check-page .safety-help{display:none!important}
}

/* v293: do not print the follow-on plan link with hazard results */
@media print{body.safety-check-page .gtm-next-step{display:none!important}}

/* v294: indexable description and status for checks outside scope. */
.safety-scope{font-size:.95rem;line-height:1.7;max-width:800px;color:#465663;margin:.4rem 0 1rem}
.safety-na-summary{font-size:.94rem;line-height:1.65;color:#334155;margin:.6rem 0 1rem}
@media print{body.safety-check-page .safety-na-summary{font-size:9.5pt!important;line-height:1.5!important;color:#2c3943!important}}
