.hsso-systems { padding: 88px 0 96px; color: #263b47; background: #f4f7f8; }
body:has(#home[hidden]) .hsso-systems { display: none; }
.home-view .hsso-systems { background: #f4f7f8; }
.hsso-systems-heading { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.hsso-systems-heading > p:first-child { margin: 0 0 12px; color: #168876; font-size: 11px; font-weight: 750; letter-spacing: .15em; }
.hsso-systems-heading h2 { margin: 0; color: #183448; font-size: clamp(28px,3vw,40px); letter-spacing: -.045em; }
.hsso-systems-heading > p:last-child { margin: 18px 0 0; color: #647880; line-height: 1.8; }
.hsso-systems-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; align-items: stretch; }
.hsso-system-card { display: flex; min-width: 0; min-height: 590px; flex-direction: column; padding: 28px; overflow: hidden; border: 1px solid #d9e3e6; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(22,51,66,.07); transition: transform .22s ease,border-color .22s ease,box-shadow .22s ease; }
.hsso-system-card:hover { transform: translateY(-3px); border-color: #b9d3d4; box-shadow: 0 16px 38px rgba(22,51,66,.11); }
.hsso-system-card > header { position: relative; padding-right: 92px; }
.hsso-system-card > header p { margin: 0 0 8px; color: #397089; font-size: 10px; font-weight: 750; letter-spacing: .14em; }
.hsso-system-card h3 { margin: 0; color: #183448; font-size: 22px; letter-spacing: -.035em; }
.hsso-system-state { position: absolute; top: 0; right: 0; padding: 5px 8px; border-radius: 999px; color: #718188; background: #edf1f2; font-size: 9px; font-weight: 700; }
.hsso-system-state.is-current { color: #087564; background: #e3f3ef; }
.hsso-system-description { min-height: 73px; margin: 18px 0 20px; color: #61747c; font-size: 14px; line-height: 1.7; }
.hsso-system-visual { position: relative; min-height: 225px; padding: 20px; overflow: hidden; border: 1px solid #dce7e9; border-radius: 12px; background: linear-gradient(145deg,#f9fbfb,#edf4f4); isolation: isolate; }
.hsso-system-visual::before { content: ""; position: absolute; z-index: 0; inset: 0; opacity: .28; background-image: radial-gradient(circle,rgba(45,113,119,.22) 1px,transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(to bottom,transparent,#000 27%,#000 80%,transparent); }
.hsso-viz-caption { position: absolute; z-index: 5; top: 13px; left: 15px; color: #6f858d; font-size: 8px; font-weight: 750; letter-spacing: .09em; }

/* Chemical: a source document is scanned before management data is generated. */
.chem-document { position: absolute; z-index: 2; top: 66px; left: 5%; width: 60px; height: 85px; padding: 10px 8px; border: 1px solid #bfcfd4; border-radius: 5px; color: #24495b; background: #fff; box-shadow: 0 7px 18px rgba(28,65,77,.1); animation: chem-document-cycle 11s ease-in-out infinite; }
.chem-document::before { content: ""; position: absolute; top: -1px; right: -1px; border-style: solid; border-width: 0 15px 15px 0; border-color: transparent #dce8e9 transparent transparent; }
.chem-document strong { display: block; margin-bottom: 10px; color: #0f7668; font-size: 10px; letter-spacing: .08em; }
.chem-document i { display: block; height: 3px; margin-top: 5px; border-radius: 3px; background: #c5d4d7; }
.chem-document i:nth-of-type(2) { width: 72%; }.chem-document i:nth-of-type(3) { width: 88%; }.chem-document i:nth-of-type(4) { width: 58%; }
.chem-transfer { position: absolute; z-index: 1; top: 108px; left: 25%; width: 18%; height: 1px; background: #a7cbc4; }
.chem-transfer i { position: absolute; top: -2px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #25a087; box-shadow: 0 0 7px rgba(37,160,135,.45); opacity: 0; animation: chem-data-transfer 11s ease-in-out infinite; }
.chem-transfer i:nth-child(2) { animation-delay: .35s; }.chem-transfer i:nth-child(3) { animation-delay: .7s; }
.chem-analyzer { position: absolute; z-index: 3; top: 72px; left: 43%; display: grid; place-items: center; width: 68px; height: 68px; overflow: visible; border: 1px solid #69ad9f; border-radius: 50%; color: #087969; background: #f8fffd; box-shadow: 0 0 0 7px rgba(32,161,126,.07),0 8px 20px rgba(18,95,84,.12); font-size: 8px; font-weight: 800; letter-spacing: .04em; animation: chem-analyzer-cycle 11s ease-in-out infinite; }
.chem-analyzer::after { content: ""; position: absolute; inset: -8px; border: 1px solid rgba(55,151,133,.28); border-radius: 50%; opacity: 0; animation: chem-ring-cycle 11s ease-in-out infinite; }
.chem-analyzer i { position: absolute; right: 6px; left: 6px; height: 1px; background: linear-gradient(90deg,transparent,#29a48c,transparent); opacity: 0; animation: chem-scan-cycle 11s ease-in-out infinite; }
.chem-results { position: absolute; z-index: 2; top: 45px; right: 4%; display: grid; width: 26%; gap: 5px; }
.chem-results span { display: flex; min-height: 27px; align-items: center; justify-content: space-between; padding: 5px 7px; border: 1px solid #cbdcde; border-radius: 5px; color: #365b67; background: rgba(255,255,255,.96); box-shadow: 0 4px 10px rgba(30,71,81,.06); font-size: 8px; font-weight: 750; opacity: .12; transform: translateX(8px); animation: chem-result-cycle 11s ease-in-out infinite calc(var(--n) * .38s); }
.chem-results b { color: #159078; font-size: 9px; }

/* Risk: workers complete a miniature survey and the response is saved. */
.risk-participants { position: absolute; z-index: 3; top: 72px; left: 5%; display: grid; grid-template-columns: repeat(2,28px); gap: 7px; }
.risk-participants > span { display: grid; place-items: center; width: 27px; height: 27px; border: 2px solid #f7fbfa; border-radius: 50%; color: #fff; background: #457b82; box-shadow: 0 2px 7px rgba(26,63,75,.16); font-size: 8px; font-weight: 750; }
.risk-participants > span:nth-child(2) { background: #2e9682; }.risk-participants > span:nth-child(3) { grid-column: 1 / 3; justify-self: center; background: #667f90; }
.risk-participants small { grid-column: 1 / 3; color: #607980; font-size: 7px; font-weight: 750; text-align: center; }
.risk-participants b { position: absolute; top: -7px; right: -3px; padding: 3px 5px; border-radius: 7px; color: #087564; background: #dff2ed; font-size: 7px; opacity: 0; animation: risk-participation-cycle 12s ease-in-out infinite; }
.risk-survey-panel { position: absolute; z-index: 2; top: 38px; right: 5%; width: 66%; min-height: 172px; padding: 10px 11px; border: 1px solid #c7d9dc; border-radius: 8px; color: #3f5c67; background: rgba(255,255,255,.97); box-shadow: 0 8px 20px rgba(28,65,77,.1); }
.risk-survey-panel header { display: flex; align-items: center; justify-content: space-between; gap: 5px; padding-bottom: 7px; border-bottom: 1px solid #e2eaec; font-size: 8px; font-weight: 800; }
.risk-survey-panel header > b { display: flex; color: #70858c; font-size: 6px; font-weight: 700; }.risk-survey-panel header i { font-style: normal; }
.risk-count-before { animation: risk-count-before 12s steps(1,end) infinite; }.risk-count-after { display: none; color: #0b7e6b; animation: risk-count-after 12s steps(1,end) infinite; }
.risk-survey-panel p { display: flex; align-items: center; gap: 5px; margin: 7px 0 0; font-size: 7px; }
.risk-survey-panel p i { width: 7px; height: 7px; border: 1px solid #92a9ae; border-radius: 50%; }
.risk-survey-panel .risk-choice i::after { content: ""; display: block; width: 3px; height: 3px; margin: 1px; border-radius: 50%; background: #168d78; transform: scale(0); animation: risk-option-cycle 12s ease-in-out infinite; }
.risk-comment { position: relative; height: 25px; margin-top: 8px; padding: 6px; overflow: hidden; border: 1px solid #d7e2e4; border-radius: 4px; color: #94a3a8; background: #fafcfc; font-size: 6px; }
.risk-comment b { position: absolute; inset: 6px; overflow: hidden; color: #405f69; background: #fafcfc; font-size: 6px; white-space: nowrap; clip-path: inset(0 100% 0 0); animation: risk-comment-cycle 12s steps(12,end) infinite; }
.risk-survey-panel button { display: block; min-width: 46px; min-height: 20px; margin: 7px 0 0 auto; padding: 3px 8px; border: 0; border-radius: 4px; color: #fff; background: #a7b9ba; font-size: 7px; animation: risk-submit-cycle 12s ease-in-out infinite; }
.risk-survey-panel > em { position: absolute; right: 65px; bottom: 12px; color: #087564; font-size: 7px; font-style: normal; font-weight: 800; opacity: 0; animation: risk-saved-cycle 12s ease-in-out infinite; }

/* H&S: an expandable operations board continuously receives and updates work. */
.health-board { position: absolute; z-index: 2; inset: 37px 5% 12px; overflow: hidden; border: 1px solid #c7d9dc; border-radius: 9px; color: #34535f; background: rgba(255,255,255,.97); box-shadow: 0 8px 21px rgba(28,65,77,.1); }
.health-board > header { display: flex; height: 29px; align-items: center; justify-content: space-between; padding: 0 10px; color: #173e51; background: #edf5f4; font-size: 8px; letter-spacing: .06em; }
.health-board > header span { color: #168876; font-size: 6px; font-weight: 800; }.health-board > header i { display: inline-block; width: 5px; height: 5px; margin-right: 3px; border-radius: 50%; background: #20a17e; animation: health-live-cycle 3.2s ease-in-out infinite; }
.health-summary { display: flex; align-items: center; gap: 9px; padding: 8px 10px 6px; }
.health-summary > span { display: flex; align-items: baseline; gap: 5px; white-space: nowrap; }.health-summary small { color: #768a91; font-size: 6px; font-weight: 750; }.health-summary span > b { color: #146f62; font-size: 11px; }
.health-summary > i { flex: 1; height: 4px; overflow: hidden; border-radius: 4px; background: #e3eaeb; }.health-summary > i b { display: block; width: 80%; height: 100%; background: #31a48c; animation: health-progress-cycle 13s ease-in-out infinite; }
.health-task-list { position: relative; display: grid; min-height: 98px; gap: 4px; padding: 0 8px; }
.health-task-list > div { display: grid; grid-template-columns: 21px minmax(0,1fr) auto; align-items: center; gap: 6px; min-height: 30px; padding: 4px 6px; border: 1px solid #e0e8ea; border-radius: 5px; background: #fff; box-shadow: 0 2px 6px rgba(31,65,76,.04); }
.health-icon { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 5px; color: #168876; background: #e7f3f0; font-size: 9px; font-style: normal; }
.health-task-list span { display: grid; }.health-task-list span b { color: #34505c; font-size: 7px; }.health-task-list span small { color: #8a9a9f; font-size: 5px; }.health-task-list em { color: #39796e; font-size: 6px; font-style: normal; font-weight: 750; }
.health-task-update { animation: health-task-highlight 13s ease-in-out infinite; }.health-task-update em { position: relative; min-width: 29px; text-align: right; }.health-task-update em b,.health-task-update em strong { position: absolute; right: 0; bottom: -4px; font-size: 6px; }.health-task-update em strong { color: #087564; opacity: 0; }
.health-task-list > div:nth-child(3) { animation: health-current-task 13s ease-in-out infinite; }
.health-next-task { position: absolute; top: 68px; right: 8px; left: 8px; opacity: 0; transform: translateY(12px); animation: health-next-task 13s ease-in-out infinite; }
.health-board > footer { position: absolute; right: 0; bottom: 0; left: 0; display: flex; height: 20px; align-items: center; justify-content: space-between; padding: 0 9px; border-top: 1px solid #e2eaec; color: #839398; background: #fafcfc; font-size: 5px; }.health-board > footer b { color: #52717a; font-size: 6px; }

.hsso-system-features { display: grid; margin-top: 20px; gap: 8px; }
.hsso-system-features > * { display: flex; min-width: 0; justify-content: space-between; gap: 8px; padding: 9px 2px; border-bottom: 1px solid #e7edef; color: #385360; font-size: 11px; text-decoration: none; }
.hsso-system-features small { flex: 0 0 auto; color: #87969b; font-size: 9px; }
.hsso-system-features a,.hsso-system-features button { color: #087969; font-weight: 700; }.hsso-system-features button { border: 0; background: transparent; text-align: left; cursor: pointer; }.hsso-system-features a:hover,.hsso-system-features button:hover { color: #075d52; }.hsso-system-features a:focus-visible,.hsso-system-features button:focus-visible { outline: 2px solid #168876; outline-offset: 3px; border-radius: 2px; }

.hsso-introduction { display: grid; grid-template-columns: minmax(190px,.65fr) minmax(0,1.35fr); align-items: center; gap: 28px; margin-top: 24px; padding: 22px 26px; border: 1px solid #d9e3e6; border-left: 3px solid #168876; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(22,51,66,.05); }
.hsso-introduction-brand { display: grid; gap: 4px; }
.hsso-introduction-brand strong { color: #183448; font-size: 22px; letter-spacing: -.035em; }
.hsso-introduction-brand span { color: #168876; font-size: 10px; font-weight: 750; letter-spacing: .11em; }
.hsso-introduction-copy h3 { margin: 0; color: #183448; font-size: 18px; letter-spacing: -.025em; }
.hsso-introduction-copy p { max-width: 760px; margin: 8px 0 0; color: #647880; font-size: 13px; line-height: 1.7; }
.hsso-introduction .hsso-system-features { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 18px; }

@keyframes chem-document-cycle { 0%,8%,92%,100% { border-color: #bfcfd4; transform: translateX(0); } 14%,23% { border-color: #5eab9d; transform: translateX(3px); box-shadow: 0 0 0 4px rgba(32,161,126,.07),0 7px 18px rgba(28,65,77,.1); } }
@keyframes chem-data-transfer { 0%,12% { opacity: 0; transform: translateX(0); } 16% { opacity: 1; } 27% { opacity: 0; transform: translateX(45px); } 100% { opacity: 0; } }
@keyframes chem-analyzer-cycle { 0%,20%,43%,100% { border-color: #69ad9f; } 26%,38% { border-color: #168876; box-shadow: 0 0 0 10px rgba(32,161,126,.1),0 8px 22px rgba(18,95,84,.16); } }
@keyframes chem-ring-cycle { 0%,20%,42%,100% { opacity: 0; transform: scale(.9); } 29% { opacity: .75; transform: scale(1.08); } }
@keyframes chem-scan-cycle { 0%,21%,42%,100% { top: 13px; opacity: 0; } 25% { opacity: .8; } 38% { top: 54px; opacity: 0; } }
@keyframes chem-result-cycle { 0%,36% { opacity: .12; transform: translateX(8px); } 45%,88% { opacity: 1; transform: translateX(0); } 96%,100% { opacity: .12; transform: translateX(8px); } }
@keyframes risk-participation-cycle { 0%,5%,19%,100% { opacity: 0; transform: translateY(3px); } 9%,15% { opacity: 1; transform: translateY(0); } }
@keyframes risk-option-cycle { 0%,18%,91%,100% { transform: scale(0); } 24%,86% { transform: scale(1); } }
@keyframes risk-comment-cycle { 0%,31% { clip-path: inset(0 100% 0 0); } 46%,87% { clip-path: inset(0); } 96%,100% { clip-path: inset(0 100% 0 0); } }
@keyframes risk-submit-cycle { 0%,43%,88%,100% { background: #a7b9ba; transform: scale(1); } 49%,66% { background: #168876; } 60% { transform: scale(.95); } }
@keyframes risk-saved-cycle { 0%,61%,90%,100% { opacity: 0; transform: translateY(3px); } 68%,85% { opacity: 1; transform: translateY(0); } }
@keyframes risk-count-before { 0%,66% { display: inline; } 67%,100% { display: none; } }
@keyframes risk-count-after { 0%,66% { display: none; } 67%,100% { display: inline; } }
@keyframes health-live-cycle { 0%,100% { opacity: .45; } 50% { opacity: 1; box-shadow: 0 0 0 3px rgba(32,161,126,.1); } }
@keyframes health-progress-cycle { 0%,30% { width: 60%; } 48%,100% { width: 80%; } }
@keyframes health-task-highlight { 0%,25%,70%,100% { border-color: #e0e8ea; background: #fff; } 34%,61% { border-color: #9acbc1; background: #f3faf8; } }
@keyframes health-current-task { 0%,43%,95%,100% { opacity: 1; transform: translateY(0); } 52%,88% { opacity: 0; transform: translateY(-8px); } }
@keyframes health-next-task { 0%,48% { opacity: 0; transform: translateY(12px); } 59%,88% { opacity: 1; transform: translateY(0); } 96%,100% { opacity: 0; transform: translateY(12px); } }
.health-task-update em b { animation: health-status-old 13s steps(1,end) infinite; }.health-task-update em strong { animation: health-status-new 13s steps(1,end) infinite; }
@keyframes health-status-old { 0%,43% { opacity: 1; } 44%,100% { opacity: 0; } }
@keyframes health-status-new { 0%,43% { opacity: 0; } 44%,100% { opacity: 1; } }

@media (min-width:1001px) {
  .home-view .hsso-systems { padding: 28px 0 30px; overflow-y: auto; }
  .home-view .hsso-systems > .section-shell { width: min(1520px,calc(100% - 64px)); }
  .home-view .hsso-systems-heading { margin-bottom: 24px; }
  .home-view .hsso-systems-heading > p:last-child { margin-top: 10px; line-height: 1.55; }
  .home-view .hsso-system-card { min-height: 640px; padding: 30px; }
  .home-view .hsso-system-description { min-height: 58px; margin: 13px 0 15px; }
  .home-view .hsso-system-visual { min-height: 290px; }
}
@media (min-width:1200px) {
  .home-view .hsso-viz-caption { top: 16px; left: 18px; font-size: 9px; }
  .home-view .chem-document { top: 84px; width: 76px; height: 108px; padding: 13px 10px; }
  .home-view .chem-document strong { font-size: 12px; }
  .home-view .chem-document i { height: 4px; margin-top: 7px; }
  .home-view .chem-transfer { top: 140px; left: 26%; width: 18%; }
  .home-view .chem-analyzer { top: 92px; left: 43%; width: 88px; height: 88px; font-size: 10px; }
  .home-view .chem-results { top: 59px; right: 4%; width: 29%; gap: 7px; }
  .home-view .chem-results span { min-height: 34px; padding: 7px 9px; font-size: 10px; }
  .home-view .chem-results b { font-size: 11px; }
  .home-view .risk-participants { top: 96px; grid-template-columns: repeat(2,36px); gap: 9px; }
  .home-view .risk-participants > span { width: 35px; height: 35px; font-size: 11px; }
  .home-view .risk-participants small,.home-view .risk-participants b { font-size: 9px; }
  .home-view .risk-survey-panel { top: 48px; right: 4%; width: 69%; min-height: 227px; padding: 14px 15px; }
  .home-view .risk-survey-panel header { padding-bottom: 10px; font-size: 10px; }
  .home-view .risk-survey-panel header > b { font-size: 8px; }
  .home-view .risk-survey-panel p { gap: 7px; margin-top: 9px; font-size: 9px; }
  .home-view .risk-survey-panel p i { width: 10px; height: 10px; }
  .home-view .risk-survey-panel .risk-choice i::after { width: 4px; height: 4px; margin: 2px; }
  .home-view .risk-comment { height: 34px; margin-top: 11px; padding: 8px; font-size: 8px; }
  .home-view .risk-comment b { inset: 8px; font-size: 8px; }
  .home-view .risk-survey-panel button { min-width: 60px; min-height: 27px; margin-top: 10px; padding: 5px 11px; font-size: 9px; }
  .home-view .risk-survey-panel > em { right: 83px; bottom: 17px; font-size: 9px; }
  .home-view .health-board { inset: 46px 4% 14px; }
  .home-view .health-board > header { height: 36px; padding-inline: 13px; font-size: 10px; }
  .home-view .health-board > header span { font-size: 8px; }
  .home-view .health-summary { gap: 12px; padding: 11px 13px 9px; }
  .home-view .health-summary small { font-size: 8px; }
  .home-view .health-summary span > b { font-size: 14px; }
  .home-view .health-task-list { gap: 6px; padding-inline: 11px; }
  .home-view .health-task-list > div { grid-template-columns: 27px minmax(0,1fr) auto; gap: 8px; min-height: 39px; padding: 5px 8px; }
  .home-view .health-icon { width: 25px; height: 25px; font-size: 12px; }
  .home-view .health-task-list span b { font-size: 10px; }
  .home-view .health-task-list span small { font-size: 7px; }
  .home-view .health-task-list em,.home-view .health-task-update em b,.home-view .health-task-update em strong { font-size: 8px; }
  .home-view .health-task-update em { min-width: 40px; }
  .home-view .health-next-task { top: 90px; right: 11px; left: 11px; }
  .home-view .health-board > footer { height: 26px; padding-inline: 12px; font-size: 7px; }
  .home-view .health-board > footer b { font-size: 8px; }
}
@media (max-width:1000px) {
  .hsso-systems { padding: 70px 0 78px; }.hsso-systems-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.hsso-system-card:last-child { grid-column: 1 / -1; min-height: 520px; }.hsso-system-card { min-height: 570px; }
  .hsso-system-card:last-child .health-board { right: 15%; left: 15%; }
}
@media (max-width:700px) {
  .hsso-systems { padding: 54px 0 62px; }.hsso-systems-heading { margin-bottom: 30px; text-align: left; }.hsso-systems-heading > p:last-child br { display: none; }.hsso-systems-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }.hsso-system-card,.hsso-system-card:last-child { grid-column: auto; min-height: 0; padding: 22px; }.hsso-system-card > header { padding-right: 0; }.hsso-system-state { position: static; display: inline-block; margin-top: 11px; }.hsso-system-description { min-height: 0; }.hsso-system-visual { min-height: 215px; }
  .hsso-system-card:last-child .health-board { right: 5%; left: 5%; }.chem-results { width: 25%; }.risk-survey-panel { width: 65%; }
  .hsso-introduction { grid-template-columns: minmax(0,1fr); gap: 13px; margin-top: 18px; padding: 19px 20px; }
  .hsso-introduction .hsso-system-features { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion:reduce) {
  .hsso-system-card,.chem-document,.chem-transfer i,.chem-analyzer,.chem-analyzer::after,.chem-analyzer i,.chem-results span,.risk-participants b,.risk-count-before,.risk-count-after,.risk-choice i::after,.risk-comment b,.risk-survey-panel button,.risk-survey-panel > em,.health-board > header i,.health-summary > i b,.health-task-update,.health-task-list > div:nth-child(3),.health-next-task,.health-task-update em b,.health-task-update em strong { transition: none; animation: none; }
  .hsso-system-card:hover { transform: none; }
  .chem-results span { opacity: 1; transform: none; }.chem-analyzer i { top: 52%; opacity: .45; }.chem-analyzer::after { opacity: .4; transform: scale(1); }
  .risk-participants b { opacity: 1; transform: none; }.risk-choice i::after { transform: scale(1); }.risk-comment b { clip-path: inset(0); }.risk-count-before { display: none; }.risk-count-after { display: inline; }.risk-survey-panel button { background: #168876; }.risk-survey-panel > em { opacity: 1; transform: none; }
  .health-summary > i b { width: 80%; }.health-task-update { border-color: #9acbc1; background: #f3faf8; }.health-task-update em b { opacity: 0; }.health-task-update em strong { opacity: 1; }.health-task-list > div:nth-child(3) { opacity: 0; }.health-next-task { opacity: 1; transform: none; }
}
