/* pocket ATA v4.5 - isolated hygiene / safety / workplace module */
.hs45{--hs45-green:#0f766e;--hs45-line:#d9e4ed;--hs45-muted:#64748b;color:#0f172a;min-width:0;padding-bottom:1.5rem}
.hs45 [hidden]{display:none!important}
.hs45-hero{background:linear-gradient(110deg,#0f172a 4%,#123e42 55%,#0e695c);border-radius:23px;color:#fff;padding:29px 33px;position:relative;display:flex;justify-content:space-between;gap:28px;align-items:center;overflow:hidden}
.hs45-eyebrow{font-size:.77rem;letter-spacing:.07em;color:#99f6e4;font-weight:850;display:flex;align-items:center;gap:9px}
.hs45-hero h1{font-weight:850;font-size:clamp(27px,3.4vw,40px);line-height:1.13;letter-spacing:-.025em;margin:17px 0 12px;max-width:850px}
.hs45-hero h1 span{color:#5eead4}
.hs45-hero p{color:#dcfce7;font-size:.97rem;max-width:850px;line-height:1.65}
.hs45-hero-mark{color:#7ae5d1;font-size:88px;opacity:.63;flex-shrink:0}
.hs45-hero-actions{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}
.hs45 button{touch-action:manipulation;cursor:pointer;transition:background .12s,transform .1s,border-color .12s}
.hs45 button:active{transform:scale(.97)}
.hs45 button:focus-visible,.hs45 summary:focus-visible,.hs45 input:focus-visible{outline:3px solid #2dd4bf;outline-offset:3px}
.hs45-hero-actions button{border:1px solid #5eead4;border-radius:12px;background:#5eead4;color:#134e4a;min-height:48px;padding:11px 15px;font-size:.86rem;font-weight:800;display:inline-flex;align-items:center;gap:8px}
.hs45-hero-actions button.secondary{background:rgba(255,255,255,.1);color:#fff;border-color:#94a3b8}
.hs45-warning{display:flex;align-items:flex-start;gap:13px;margin:16px 0 18px;background:#fff7ed;border:1px solid #fdba74;border-radius:14px;padding:15px 18px;font-size:.86rem;line-height:1.6;color:#9a3412}
.hs45-warning>i{font-size:18px;flex-shrink:0;margin-top:2px}
.hs45-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 19px}
.hs45-facts article{background:white;border:1px solid var(--hs45-line);border-radius:15px;padding:15px;min-width:0;display:flex;flex-direction:column;gap:5px}
.hs45-facts i{font-size:18px;color:#0f766e}
.hs45-facts strong{font-size:1.04rem;font-weight:850}
.hs45-facts span{color:#64748b;font-size:.78rem}
.hs45-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:23px 0 9px}
.hs45-search{position:relative;display:flex;align-items:center;max-width:620px;width:100%;min-width:0}
.hs45-search>i{position:absolute;left:15px;color:#64748b;pointer-events:none}
.hs45-search input{min-height:48px;width:100%;border-radius:12px;border:1px solid #cbd5e1;background:white;color:#0f172a;padding:10px 49px 10px 42px;font-size:16px}
.hs45-search button{position:absolute;right:4px;width:42px;height:42px;display:grid;place-items:center;border:0;border-radius:10px;color:#64748b;background:white}
.hs45-actions{display:flex;gap:8px}
.hs45-actions button,.hs45-case-foot button,.hs45-secondary{border:1px solid #cbd5e1;background:white;color:#334155;min-height:45px;border-radius:11px;padding:10px 14px;font-size:.85rem;font-weight:750}
.hs45-actions button:hover,.hs45-case-foot button:hover,.hs45-secondary:hover{background:#f0fdfa;border-color:#0d9488}
.hs45-match{color:#64748b;font-size:.8rem;margin:8px 2px 12px}
.hs45-chapters{display:flex;flex-direction:column;gap:12px}
.hs45-chapter{background:white;border:1px solid var(--hs45-line);border-radius:16px;overflow:hidden;box-shadow:0 2px 8px rgba(15,23,42,.03)}
.hs45-chapter[open]{border-color:#a7e8de}
.hs45-chapter>summary{list-style:none;display:flex;align-items:center;gap:13px;min-height:72px;padding:14px 16px;cursor:pointer;user-select:none}
.hs45-chapter>summary::-webkit-details-marker{display:none}
.hs45-chapter>summary:hover,.hs45-chapter[open]>summary{background:#f0fdfa}
.hs45-chapter[open]>summary{border-bottom:1px solid #c8eee5}
.hs45-chapter-icon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;background:#ccfbf1;color:#0f766e;border-radius:12px;font-size:18px}
.hs45-chapter-title{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.hs45-chapter-title strong{color:#0f172a;font-weight:800;font-size:1.02rem;line-height:1.35}
.hs45-chapter-title small{font-size:.76rem;line-height:1.4;color:#64748b}
.hs45-chevron{margin-left:auto;color:#64748b;font-size:.8rem;transition:transform .15s}
.hs45-chapter[open] .hs45-chevron{transform:rotate(180deg)}
.hs45-chapter-body{padding:19px 21px 22px;color:#334155;font-size:.91rem;line-height:1.68}
.hs45-chapter-body p{margin:0 0 12px}
.hs45-chapter-body ul,.hs45-chapter-body ol{padding-left:1.3rem;list-style:disc}
.hs45-chapter-body li{margin:.5rem 0}
.hs45-chapter-body li::marker{color:#0d9488}
.hs45-moments{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:17px 0}
.hs45-moments>div{display:flex;flex-direction:column;gap:9px;background:#f0fdfa;border:1px solid #99f6e4;padding:12px;border-radius:12px}
.hs45-moments b{width:30px;height:30px;display:grid;place-items:center;color:white;background:#0f766e;border-radius:50%;font-size:.85rem}
.hs45-moments strong{font-size:.79rem;line-height:1.4}
.hs45-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:15px 0}
.hs45-cols article{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:15px}
.hs45-cols h3{color:#115e59;font-size:.96rem;font-weight:800;margin:0 0 5px}
.hs45-cols p{margin:0;font-size:.86rem;line-height:1.6}
.hs45-inset{background:#f0fdfa;border:1px solid #a7f3d0;border-radius:12px;padding:13px 15px;margin-top:14px!important;color:#115e59}
.hs45-inline{color:#0f766e;text-decoration:underline;text-underline-offset:3px;font-weight:800;border:0;background:transparent;text-align:left}
.hs45-empty{padding:22px;text-align:center;color:#64748b;border:1px dashed #94a3b8;background:white;border-radius:13px}
.hs45-training{margin-top:23px;padding:23px;background:white;border:1px solid #dbe4ef;border-radius:18px;box-shadow:0 2px 10px rgba(15,23,42,.03)}
.hs45-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}
.hs45-section-heading small{display:block;color:#0f766e;font-size:.73rem;letter-spacing:.06em;font-weight:850;margin-bottom:5px}
.hs45-section-heading h2{font-weight:850;font-size:clamp(20px,2.6vw,25px);line-height:1.25;color:#0f172a}
.hs45-section-heading>i{font-size:27px;color:#0f766e}
.hs45-training>p{color:#475569;font-size:.9rem;line-height:1.6;margin:0 0 15px}
.hs45-case-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 14px}
.hs45-case-tabs button{border:1px solid #cbd5e1;background:#f8fafc;border-radius:10px;min-width:48px;min-height:46px;padding:10px 13px;color:#334155;font-size:.86rem;font-weight:750}
.hs45-case-tabs button[aria-pressed=true]{background:#0f766e;color:white;border-color:#0f766e}
.hs45-case-tabs button.is-done:not([aria-pressed=true]){border-color:#99f6e4;background:#ccfbf1;color:#115e59}
.hs45-case{background:#f8fafc;border:1px solid #e2e8f0;border-radius:15px;padding:17px}
.hs45-case h3{font-size:1.05rem;font-weight:850;margin-bottom:9px;color:#0f172a}
.hs45-case p{font-size:.9rem;line-height:1.6;color:#334155;margin-bottom:13px}
.hs45-options{display:grid;gap:8px}
.hs45-options button{width:100%;border:1px solid #cbd5e1;background:#fff;border-radius:11px;min-height:48px;padding:11px 14px;text-align:left;font-size:.88rem;line-height:1.45;color:#334155}
.hs45-options button:hover{background:#effcf8;border-color:#0d9488}
.hs45-options button.is-selected{border-color:#0d9488;background:#ccfbf1;color:#115e59;font-weight:750}
.hs45-feedback{border:1px solid #a7f3d0;background:#ecfdf5;border-radius:12px;color:#065f46;margin-top:12px;padding:12px 14px}
.hs45-feedback.wrong{border-color:#fcd34d;background:#fffbeb;color:#92400e}
.hs45-feedback strong{font-size:.92rem}
.hs45-feedback p{color:inherit;font-size:.86rem;margin:5px 0 0}
.hs45-case-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;flex-wrap:wrap}
.hs45-case-foot span{font-size:.82rem;color:#475569;font-weight:750}
.hs45-mode{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0}
.hs45-mode button{background:#fff;border:1px solid #cbd5e1;border-radius:11px;min-height:48px;padding:11px 16px;display:inline-flex;gap:9px;align-items:center;color:#334155;font-weight:750}
.hs45-mode button[aria-pressed=true]{background:#0f766e;color:white;border-color:#0f766e}
#hs45CheckTitle{font-size:1rem;font-weight:850;color:#0f172a;margin-bottom:12px}
.hs45-progress{display:flex;align-items:center;gap:15px;margin-bottom:16px}
.hs45-track{height:12px;border-radius:999px;overflow:hidden;background:#e2e8f0;flex:1}
.hs45-track span{display:block;width:0%;background:#0d9488;height:100%;transition:width .15s}
.hs45-progress>strong{white-space:nowrap;color:#475569;font-size:.78rem}
.hs45-checklist{display:grid;gap:9px;margin-bottom:14px}
.hs45-check{display:flex;align-items:flex-start;gap:12px;border:1px solid #dbe4ef;border-radius:12px;padding:13px;background:#fff;cursor:pointer;min-height:66px}
.hs45-check:has(input:checked){background:#f0fdfa;border-color:#99f6e4}
.hs45-check input{margin-top:3px;accent-color:#0f766e;width:21px;height:21px;flex:0 0 21px}
.hs45-check strong{display:block;font-weight:750;color:#1e293b;font-size:.88rem;line-height:1.4}
.hs45-check small{display:block;color:#64748b;font-size:.77rem;line-height:1.5;margin-top:4px}
.hs45-check-status{background:#f0fdfa;color:#115e59;border:1px solid #99f6e4;padding:12px 14px;border-radius:11px;margin:10px 0 14px;font-size:.85rem;line-height:1.55}
.hs45-sources{margin-top:23px;background:#fff;border:1px solid #dbe4ef;border-radius:16px;padding:20px}
.hs45-sources h2{font-weight:850;color:#0f172a;font-size:1.06rem;margin-bottom:9px}
.hs45-sources h2 i{color:#0f766e;margin-right:7px}
.hs45-sources p{color:#475569;font-size:.83rem;line-height:1.6}
.hs45-source-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}
.hs45-source-links a{background:#f0fdfa;border:1px solid #ccfbf1;color:#0f766e;border-radius:9px;padding:9px 10px;font-size:.76rem;font-weight:700;line-height:1.45;overflow-wrap:anywhere}
.hs45-source-links a:hover{text-decoration:underline}
@media(max-width:850px){.hs45-moments{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){.hs45-hero{padding:23px 18px;border-radius:16px}.hs45-hero-mark{display:none}.hs45-hero h1{font-size:27px}.hs45-hero p{font-size:.87rem}.hs45-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.hs45-facts article{padding:13px}.hs45-warning{padding:13px;font-size:.82rem}.hs45-controls{flex-direction:column;align-items:stretch}.hs45-search{max-width:none}.hs45-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.hs45-chapter>summary{padding:12px;gap:10px}.hs45-chapter-title strong{font-size:.9rem}.hs45-chapter-title small{font-size:.72rem}.hs45-chapter-icon{width:37px;height:37px;flex-basis:37px;font-size:16px}.hs45-chapter-body{padding:15px;font-size:.86rem}.hs45-moments{grid-template-columns:repeat(2,minmax(0,1fr))}.hs45-cols{grid-template-columns:1fr}.hs45-training{padding:17px 13px;border-radius:15px}.hs45-case{padding:13px}.hs45-progress{flex-direction:column;align-items:stretch;gap:7px}.hs45-progress>strong{align-self:flex-end}.hs45-mode button{flex:1;justify-content:center;font-size:.82rem}.hs45-hero-actions button{width:100%;justify-content:center}}
@media(max-width:375px){.hs45-moments{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.hs45 *{transition:none!important}}
