/* G8 ONE free fill-in templates (tpl.js): COSHH assessment, permit to work, site induction. Screen + print. Source: tools/seo/tpl/. */
.sec.tp-sec{padding:28px 0 56px;background:linear-gradient(180deg,#eef4f7,#f7fafc 240px,#fff)}
.tp-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;max-width:900px;margin:0 auto 14px}
.tp-bar .btn{min-height:44px}.tp-bar .btn.g{background:#fff;color:#0b1b2b;border:1.5px solid #9fb0bf}.tp-bar .btn.g:hover{background:#f1f6f8}
.tp-bar .tp-clear{margin-left:auto;background:none;border:0;color:#46525e;font:inherit;font-size:15px;text-decoration:underline;cursor:pointer;min-height:44px;padding:0 6px}
.tp-saved{max-width:900px;margin:0 auto 10px;font-size:13.5px;color:#4a5866;min-height:18px}
.tp-doc{max-width:900px;margin:0 auto;background:#fff;border:1px solid #dfe7ed;border-radius:16px;box-shadow:0 8px 30px rgba(11,27,43,.07);padding:22px 18px 28px;color:#0b1b2b;font-size:15.5px}
.tp-hd{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;border-bottom:3px solid #00747f;padding-bottom:10px;margin-bottom:6px}
.tp-hd h2{margin:0;font-size:clamp(22px,5vw,28px);line-height:1.2}.tp-hd p{margin:4px 0 0;color:#46525e;font-size:14px}
.tp-hd .tp-ref{font-size:12px;color:#5b6b7b;text-align:right;white-space:nowrap}
.tp-doc .tp-s{padding:0;margin-top:18px;break-inside:auto}.tp-s>h3{font-size:16px;margin:0 0 8px;padding:6px 10px;background:#eef6f8;border-left:4px solid #00a9b8;border-radius:4px;break-after:avoid}
.tp-g{display:grid;grid-template-columns:1fr;gap:10px 18px}
@media (min-width:700px){.tp-g{grid-template-columns:1fr 1fr}.tp-f.w{grid-column:1/-1}}
.tp-f{display:flex;flex-direction:column;gap:3px;min-width:0}.tp-f>label,.tp-f>.tp-l{font-size:13px;font-weight:700;color:#334150}
.tp-f input[type=text],.tp-f input[type=date],.tp-f input[type=time],.tp-f textarea{font:inherit;font-size:16px;color:#0b1b2b;border:0;border-bottom:1.5px solid #9fb0bf;border-radius:0;padding:6px 2px;background:#fbfdfe;width:100%;min-height:40px}
.tp-f textarea{border:1.5px solid #9fb0bf;border-radius:6px;padding:8px;resize:vertical;line-height:1.45}
.tp-f input:focus,.tp-f textarea:focus{outline:2px solid #00a9b8;outline-offset:1px;background:#fff}
.tp-note{grid-column:1/-1;margin:0;font-size:13.5px;color:#46525e}
.tp-ch{grid-column:1/-1;border:0;margin:0;padding:0;min-width:0}.tp-ch legend{font-size:13px;font-weight:700;color:#334150;padding:0;margin-bottom:4px}
.tp-ch .tp-o{display:grid;grid-template-columns:1fr;gap:2px 16px}@media (min-width:700px){.tp-ch .tp-o{grid-template-columns:1fr 1fr}.tp-ch.one .tp-o{grid-template-columns:1fr}}
.tp-ch label{display:flex;gap:10px;align-items:flex-start;min-height:40px;padding:6px 0;font-size:15px;line-height:1.35;cursor:pointer;color:#0b1b2b}.tp-ch label span{color:#0b1b2b}
.tp-ch input{width:22px;height:22px;flex:none;margin:0;accent-color:#00747f}
.tp-tw{grid-column:1/-1;overflow-x:auto}.tp-tw table{width:100%;border-collapse:collapse;font-size:14px;min-width:560px}
.tp-tw caption{text-align:left;font-size:13px;font-weight:700;color:#334150;padding-bottom:4px}
.tp-tw th{background:#f1f5f8;text-align:left;font-size:12.5px;padding:6px;border:1px solid #c9d5de}
.tp-tw td{border:1px solid #c9d5de;padding:0;height:38px}.tp-tw td input{width:100%;border:0;font:inherit;font-size:14px;padding:8px 6px;min-height:38px;background:transparent}
.tp-tw td input:focus{outline:2px solid #00a9b8;outline-offset:-2px}
.tp-sig{grid-column:1/-1;display:grid;grid-template-columns:1fr;gap:10px 18px;border:1px dashed #b7c5d0;border-radius:8px;padding:10px}
@media (min-width:700px){.tp-sig{grid-template-columns:1.2fr 1fr .8fr}}
.tp-sig .tp-sl{grid-column:1/-1;font-size:13px;font-weight:700;color:#334150;margin:0}
.tp-sig .tp-sbox{min-height:44px;border-bottom:1.5px solid #9fb0bf;display:flex;align-items:flex-end;font-size:12px;color:#7a8896;padding-bottom:2px}
.tp-foot{margin-top:20px;font-size:12px;color:#5b6b7b;border-top:1px solid #e3e9ef;padding-top:8px}
.tp-cta{max-width:900px;margin:18px auto 0;background:#0b1b2b;color:#fff;border-radius:16px;padding:18px;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.tp-cta p{margin:0;max-width:560px}.tp-cta b{color:#9eeaf1}
@media print{
  @page{size:A4;margin:12mm}
  body{background:#fff!important}
  body>*:not(main),main>*:not(.tp-sec),.tp-bar,.tp-saved,.tp-cta,.skip,#mcta,#ccbar{display:none!important}
  .sec.tp-sec{padding:0!important;background:none!important}.tp-sec .wrap{width:100%!important}
  .tp-doc{border:0;box-shadow:none;padding:0;max-width:none;font-size:11pt}
  .tp-g{display:flex;flex-wrap:wrap;gap:4px 16px;align-items:flex-end}.tp-g>*{width:calc(50% - 8px)}.tp-g>.tp-f.w,.tp-g>.tp-ch,.tp-g>.tp-tw,.tp-g>.tp-sig,.tp-g>.tp-note{width:100%}.tp-s{margin-top:10px}.tp-s>h3{margin-bottom:4px;padding:3px 8px;font-size:11.5pt}.tp-ch legend{margin-bottom:0}.tp-f>label,.tp-f>.tp-l,.tp-ch legend{font-size:8.5pt}
  .tp-ch .tp-o{grid-template-columns:1fr 1fr}.tp-ch.one .tp-o{grid-template-columns:1fr}.tp-ch label{min-height:0;padding:2px 0;font-size:10pt}.tp-ch input{width:14px;height:14px}
  .tp-f input[type=text],.tp-f input[type=date],.tp-f input[type=time]{min-height:26px;padding:3px 2px;font-size:10.5pt;background:none}
  .tp-f textarea{background:none;font-size:10.5pt;min-height:60px}
  .tp-tw{overflow:visible;break-inside:avoid}.tp-tw table{min-width:0;font-size:9.5pt}.tp-tw td{height:26px}.tp-tw td input{min-height:26px;padding:3px 4px;font-size:9.5pt}
  .tp-sig{display:grid;grid-template-columns:1.2fr 1fr .8fr;break-inside:avoid;padding:6px 8px}.tp-ch,.tp-f{break-inside:avoid}.tp-ch .tp-o{display:grid}.tp-s>h3{background:#eef6f8!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .tp-tw th{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .tp-hd{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  input[type=date]::-webkit-calendar-picker-indicator,input[type=time]::-webkit-calendar-picker-indicator{display:none}
}
