/* /ehs-management/ai-hazard-identification-sitesense/ = the AI-SiteSense(TM) page (same structure) in the white theme;
   generated from sitesense.css by docs/progress/port-sitesense.py (lightconv.py), same look as iHAZOP / AI BBSO. */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&family=IBM+Plex+Mono:wght@400;500;600;700&display=swap');
/* AI-SiteSense(TM) - AI hazard analysis - Sparrow - scoped to #sitesense-page only */
#sitesense-page,#sitesense-page *,#sitesense-page *::before,#sitesense-page *::after{box-sizing:border-box}
#sitesense-page{-webkit-text-size-adjust:100%;margin:0;background:#ffffff}
#sitesense-page img,#sitesense-page video{max-width:100%}
#sitesense-page a{color:#1f9a55}
#sitesense-page a:hover{color:#111218}
#sitesense-page details summary{list-style:none;cursor:pointer}
#sitesense-page details summary::-webkit-details-marker{display:none}
#sitesense-page details[open] .plus{transform:rotate(45deg)}
#sitesense-page summary:focus-visible,#sitesense-page a:focus-visible{outline:2px solid #1f9a55;outline-offset:4px;border-radius:6px}
/* hero background image (same as iHAZOP / AI PTW hero) */
#sitesense-page .ss-hero-bg{position:absolute;inset:0;z-index:0;background-image:url('../../assets/images/pages/ihazop/bg-22.webp');background-size:cover;background-position:center;background-attachment:fixed;opacity:.13;pointer-events:none}
#sitesense-page .ss-hero>*:not(.ss-hero-bg){position:relative;z-index:1}
/* tour: 3 + 3 grid -> 2 cols on tablet -> 1 col on mobile */
@media (max-width:1024px){#sitesense-page div.ss-tour-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:600px){#sitesense-page div.ss-tour-grid{grid-template-columns:1fr!important}}
@media (max-width:760px){#sitesense-page div.ss-def{text-align:left!important}}
@media (max-width:760px){
  #sitesense-page section{padding-left:16px!important;padding-right:16px!important;padding-top:56px!important;padding-bottom:56px!important}
  #sitesense-page h1 .ss-h1-brand{font-size:56px!important}
  #sitesense-page h2{font-size:34px!important}
  #sitesense-page [style*="grid-template-columns"]{grid-template-columns:1fr!important}
  #sitesense-page div.ss-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:28px 12px!important}
  #sitesense-page div.ss-hero-in{align-items:flex-start!important;text-align:left!important}
  #sitesense-page div.ss-hero-in h1{align-items:flex-start!important;margin-top:22px!important}
  #sitesense-page .ss-hero-kicker{font-size:11px!important;letter-spacing:0.18em!important;padding:8px 14px!important}
  #sitesense-page .ss-hero-sub{margin-top:14px!important;font-size:17px!important;line-height:1.45!important;text-wrap:pretty!important}
  #sitesense-page .ss-hero-lead{margin-top:20px!important;font-size:19px!important;line-height:1.5!important;text-wrap:pretty!important}
  #sitesense-page .ss-hero-note{margin-top:16px!important;font-size:15px!important}
  #sitesense-page div.ss-hero-cta{justify-content:flex-start!important;width:100%;margin-top:28px!important;gap:12px!important}
  #sitesense-page div.ss-hero-cta a{flex:1 1 0;justify-content:center;padding:0 14px!important;white-space:nowrap}}
/* fixed backgrounds are slow on mobile and ignored on iOS */
@media (max-width:1024px){#sitesense-page .ss-hero-bg{background-attachment:scroll!important}}
/* FAQ questions are h3 for structure but keep the summary look */
#sitesense-page summary .ss-q{margin:0;font:inherit;color:inherit;letter-spacing:inherit}
/* internal links inside cards and copy */
#sitesense-page a.ss-link{color:#1a1d26;text-decoration:underline;text-decoration-color:rgba(31,154,85,0.55);text-underline-offset:4px}
#sitesense-page a.ss-link:hover{color:#1f9a55}
@media (prefers-reduced-motion:reduce){#sitesense-page,#sitesense-page *{transition:none!important;animation:none!important}}

/* keep the page's own fonts: site heading/text rules must not replace Lato / IBM Plex Mono */
#sitesense-page :is(h1,h2,h3,h4,h5,h6,p,li,summary,a,span,div,td,th,strong,small,figcaption,b){font-family:inherit}
#sitesense-page :is(h1,h2,h3,h4,h5,h6){text-wrap:inherit}

/* header + breadcrumb flow into the hero as one soft mint band (this page only) */
[data-theme="light"] body.page-ehs-management-ai-hazard-identification-sitesense .nav{background:rgba(238,246,241,.92);border-bottom-color:rgba(31,154,85,.12)}
body.page-ehs-management-ai-hazard-identification-sitesense .aiptw-crumbs{position:relative;z-index:3;height:56px;margin-bottom:-56px;padding-top:22px}
/* hero: same layers as iHAZOP / AI BBSO (mint-to-white base + bg-22 pattern at .13 + soft green glow, faded in at the top) */
#sitesense-page .ss-hero{background-color:#fff!important;background-image:linear-gradient(180deg,#eef6f1 0%,#f4faf6 30%,#fff 85%)!important;padding-top:130px!important;overflow:hidden}
#sitesense-page .ss-hero-bg{opacity:.13!important;-webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 30%);mask-image:linear-gradient(180deg,transparent 0%,#000 30%)}
#sitesense-page .ss-hero::before{content:"";position:absolute;inset:-20% -10% auto -10%;height:120%;background:radial-gradient(58% 52% at 50% 20%,rgba(31,154,85,.22),rgba(255,255,255,0) 70%);pointer-events:none;z-index:0;-webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 30%);mask-image:linear-gradient(180deg,transparent 0%,#000 30%)}
/* hero headline: same dark-to-green gradient as iHAZOP / AI BBSO */
#sitesense-page .ss-h1-brand{background-image:linear-gradient(178deg,#14161e 35%,#2f6b50 100%)!important}
@media (max-width:760px){#sitesense-page .ss-hero{padding-top:100px!important}}
/* hero "INTRODUCING MODEL 2" pill: bold, darker green, solid mint fill so it reads on the mint hero */
#sitesense-page .ss-hero-kicker{font-weight:700!important;font-size:13.5px!important;letter-spacing:.2em!important;padding:10px 20px!important;color:#0f6b3a!important;background:#d6efe0!important;border:1.5px solid rgba(31,154,85,.55)!important;box-shadow:0 4px 14px rgba(31,154,85,.14)}
#sitesense-page .ss-hero-kicker>span{background:#1f9a55!important;box-shadow:0 0 0 4px rgba(31,154,85,.18)}
/* per-person PPE table: fit all five columns on a phone (no sideways scroll) */
@media (max-width:560px){
  #sitesense-page table th,#sitesense-page table td{padding:11px 5px!important;font-size:12.5px!important;letter-spacing:.02em!important}
  #sitesense-page table th:first-child,#sitesense-page table td:first-child{padding-left:12px!important;white-space:nowrap}
  #sitesense-page table td:not(:first-child){font-size:10px!important}}
