@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&family=IBM+Plex+Mono:wght@400;500&display=swap');
/* /ehs-management/ai-hira-software/ = AI HIRA™ page in the white theme (generated by docs/progress/build_hira.py). */

/* AI HIRA(TM) page - Sparrow - every rule is scoped to .ai-hira-page so nothing leaks to other pages */
body:has(> .ai-hira-page){margin:0;background:#ffffff}

.ai-hira-page,.ai-hira-page *,.ai-hira-page *::before,.ai-hira-page *::after{box-sizing:border-box}
.ai-hira-page{-webkit-text-size-adjust:100%;margin:0;background:#ffffff}
.ai-hira-page img,.ai-hira-page video{max-width:100%}
.ai-hira-page a{color:#1f9a55}
.ai-hira-page a:hover{color:#111218}
.ai-hira-page details summary{list-style:none;cursor:pointer}
.ai-hira-page details summary::-webkit-details-marker{display:none}
.ai-hira-page details[open] .plus{transform:rotate(45deg)}
.ai-hira-page summary:focus-visible,.ai-hira-page a:focus-visible{outline:2px solid #1f9a55;outline-offset:4px;border-radius:6px}

/* hero background image (same as AI-SiteSense / iHAZOP / AI PTW hero) */
.ai-hira-page .ah-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}
.ai-hira-page .ah-hero>*:not(.ah-hero-bg){position:relative;z-index:1}

/* tour: 3 + 3 grid -> 2 cols on tablet -> 1 col on mobile */
@media (max-width:1024px){.ai-hira-page div.ah-tour-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:600px){.ai-hira-page div.ah-tour-grid{grid-template-columns:1fr!important}}

@media (max-width:760px){
  .ai-hira-page div.ah-def{text-align:left!important}
  .ai-hira-page section{padding-left:16px!important;padding-right:16px!important;padding-top:56px!important;padding-bottom:56px!important}
  .ai-hira-page h1 .ah-h1-brand{font-size:56px!important}
  .ai-hira-page h2{font-size:34px!important}
  .ai-hira-page [style*="grid-template-columns"]{grid-template-columns:1fr!important}
  .ai-hira-page div.ah-hero-findings>div{border-left:0!important;border-top:1px solid rgba(17,18,24,0.07)}
  .ai-hira-page div.ah-hero-findings>div:first-child{border-top:0}
  .ai-hira-page div.ah-hero-in{align-items:flex-start!important;text-align:left!important}
  .ai-hira-page div.ah-hero-in h1{align-items:flex-start!important;margin-top:22px!important}
  .ai-hira-page .ah-hero-kicker{font-size:11px!important;letter-spacing:0.18em!important;padding:8px 14px!important}
  .ai-hira-page .ah-hero-sub{margin-top:14px!important;font-size:17px!important;line-height:1.45!important;text-wrap:pretty!important}
  .ai-hira-page .ah-hero-lead{margin-top:20px!important;font-size:19px!important;line-height:1.5!important;text-wrap:pretty!important}
  .ai-hira-page .ah-hero-note{margin-top:16px!important;font-size:15px!important}
  .ai-hira-page div.ah-hero-cta{justify-content:flex-start!important;width:100%;margin-top:28px!important;gap:12px!important}
  .ai-hira-page div.ah-hero-cta a{flex:1 1 0;justify-content:center;padding:0 14px!important;white-space:nowrap}
  /* tour: drop the inner 24px so it uses the same 16px gutter as every other section */
  .ai-hira-page #inside>div{padding-left:0!important;padding-right:0!important}
  /* lighter inner padding on cards */
  .ai-hira-page [style*="padding: 30px"]{padding:24px 20px!important}}
/* fixed backgrounds are slow on mobile and ignored on iOS */
@media (max-width:1024px){.ai-hira-page .ah-hero-bg{background-attachment:scroll!important}}
@media (prefers-reduced-motion:reduce){.ai-hira-page,.ai-hira-page *{transition:none!important;animation:none!important}}

/* keep the page's own fonts: site heading/text rules must not replace Lato / IBM Plex Mono */
.ai-hira-page :is(h1,h2,h3,h4,h5,h6,p,li,summary,a,span,div,td,th,strong,small,figcaption){font-family:inherit}
.ai-hira-page :is(h1,h2,h3,h4,h5,h6){text-wrap:inherit}
.ai-hira-page img{height:auto}
/* header + breadcrumb flow into the hero as one soft mint band (this page only) */
[data-theme="light"] body.page-ehs-management-ai-hira-software .nav{background:rgba(238,246,241,.92);border-bottom-color:rgba(31,154,85,.12)}
body.page-ehs-management-ai-hira-software .aiptw-crumbs{position:relative;z-index:3;height:56px;margin-bottom:-56px;padding-top:22px}
/* hero: same layers as AI BBSO (mint-to-white base + bg-22 pattern at .13 + soft green glow, faded in at the top) */
.ai-hira-page .ah-hero{overflow:hidden;background-color:#fff!important;background-image:linear-gradient(180deg,#eef6f1 0%,#f4faf6 30%,#fff 85%)!important;padding-top:130px!important}
.ai-hira-page .ah-hero-bg{opacity:.13;-webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 30%);mask-image:linear-gradient(180deg,transparent 0%,#000 30%)}
.ai-hira-page .ah-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 AI BBSO */
.ai-hira-page .ah-hero h1 .ah-h1-brand{background-image:linear-gradient(178deg,#14161e 35%,#2f6b50 100%)!important}
@media (max-width:760px){.ai-hira-page .ah-hero{padding-top:96px!important}}
/* hero "INTRODUCING AI HIRA" pill: bold, darker green, solid mint fill so it reads on the mint hero (same as AI-SiteSense) */
.ai-hira-page .ah-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)}
.ai-hira-page .ah-hero-kicker>span{background:#1f9a55!important;box-shadow:0 0 0 4px rgba(31,154,85,.18)}
