/* Indwel Compliance R152 / Mineral optical completion.
   Production-matched R148 and real R151 Mac renderings are the governing
   comparisons. A single boundary per content section, no ornament for its
   own sake, and no synthetic steps or arbitrary sequence markers. */

/* Inspector — a composed modal plane, not a stack of isolated panels. */
body.compliance-atlas-v14 .control-dialog[open]{
  border:1px solid #cbd6cc!important;
  box-shadow:0 32px 98px rgba(6,25,14,.36),0 5px 22px rgba(6,25,14,.14)!important;
}
body.compliance-atlas-v14 .control-dialog .atlas-v17-dialog-bar{
  background:#f5f5ef!important;
  border-bottom:1px solid #d9dfd7!important;
}
body.compliance-atlas-v14 .control-dialog .atlas-v17-dialog-bar .r151-dialog-dismiss{
  background:#ecf0e9!important;color:#264532!important;
  border:1px solid #d8e0d6!important;
  border-radius:50%!important;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease!important;
}
body.compliance-atlas-v14 .control-dialog .atlas-v17-dialog-bar .r151-dialog-dismiss:hover{
  color:#f5f5ed!important;background:#1c4630!important;border-color:#1c4630!important;
}
body.compliance-atlas-v14 .control-dialog .atlas-v17-dialog-bar .r151-dialog-dismiss:active{
  background:#123723!important;border-color:#123723!important;
}
body.compliance-atlas-v14 .control-dialog .r42-inspector-hero{
  padding-top:clamp(49px,4.7vw,66px)!important;
  padding-bottom:clamp(51px,4.9vw,66px)!important;
  background:linear-gradient(138deg,#edf1e9 0%,#f4f5ee 45%,#f7f6f0 100%)!important;
  border-bottom:1px solid #d4ddd4!important;
}
body.compliance-atlas-v14 .control-dialog .r42-inspector-eyebrow{
  margin-bottom:22px!important;
}
body.compliance-atlas-v14 .control-dialog .r42-inspector-hero h2{
  margin-bottom:17px!important;
}
body.compliance-atlas-v14 .control-dialog .r42-inspector-primary{
  padding-top:0!important;padding-bottom:8px!important;
}
body.compliance-atlas-v14 .control-dialog .r42-inspector-primary > .dialog-section{
  margin:0!important;
  padding:42px 0 43px!important;
  border:0!important;
  border-bottom:1px solid #d9e0d8!important;
}
body.compliance-atlas-v14 .control-dialog .r42-inspector-primary > .dialog-section:first-child{
  padding-top:46px!important;
}
body.compliance-atlas-v14 .control-dialog .r42-inspector-primary > .dialog-section:last-child{
  border-bottom:0!important;
  padding-bottom:47px!important;
}
body.compliance-atlas-v14 .control-dialog .r42-inspector-primary .dialog-section h3{
  margin:0 0 16px!important;
  font-size:clamp(24px,2.16vw,27px)!important;
  line-height:1.24!important;
  text-wrap:pretty!important;
}
body.compliance-atlas-v14 .control-dialog .r42-inspector-primary .dialog-section p{
  max-width:72ch!important;
  line-height:1.72!important;
}
body.compliance-atlas-v14 .control-dialog .atlas-v17-record{
  border-top:1px solid #ced9ce!important;
  background:linear-gradient(180deg,#e9eee7,#ebf0e9)!important;
}
/* The record uses its existing heading rule. Never add a second around it. */
body.compliance-atlas-v14 .control-dialog .atlas-v17-record-heading{
  padding-bottom:22px!important;
  margin-bottom:25px!important;
}

/* Assurance — one editorial introduction, one list, one request action. */
body.compliance-design-r42 .assurance-copy > .lede{
  color:#45564b!important;
  font:450 clamp(17px,1.35vw,19px)/1.66 var(--font-sans)!important;
  max-width:51ch!important;
  margin-top:27px!important;
}
body.compliance-design-r42 .assurance-copy .access-ladder{
  margin-top:38px!important;
}
body.compliance-design-r42 .assurance-copy .access-row{
  padding-top:22px!important;padding-bottom:22px!important;
}
body.compliance-design-r42 .assurance-copy .access-row:last-child{
  border-bottom:0!important;
}
body.compliance-design-r42 .assurance-copy .assurance-procurement{
  margin-top:0!important;
  padding-top:35px!important;
  border-top:1px solid #cbd4ca!important;
}
body.compliance-design-r42 .r151-assurance{
  background:#f9faf6!important;
  border:1px solid #d5ded4!important;
  box-shadow:0 24px 54px rgba(14,42,25,.10)!important;
}
body.compliance-design-r42 .r151-assurance .r151-assurance-heading{
  padding-bottom:24px!important;
}
body.compliance-design-r42 .r151-assurance .r151-materials{
  padding-top:9px!important;padding-bottom:41px!important;
}
body.compliance-design-r42 .r151-assurance .r151-materials li{
  padding-block:14px!important;
}
body.compliance-design-r42 .r151-assurance .r151-materials li:nth-last-child(-n+2){
  border-bottom:0!important;
}
body.compliance-design-r42 .r151-assurance .r151-assurance-cta{
  min-height:75px!important;
  background:#1e442f!important;
}
body.compliance-design-r42 .r151-assurance .r151-assurance-cta:hover{
  background:#143826!important;
}
/* Strong, visible keyboard access without a permanent decorative ring. */
body.compliance-design-r42 .r151-assurance .r151-assurance-cta:focus-visible{
  outline:3px solid #6cab87!important;outline-offset:-6px!important;
}
@media(max-width:760px){
  body.compliance-atlas-v14 .control-dialog .r42-inspector-hero{
    padding:39px 24px 41px!important;
  }
  body.compliance-atlas-v14 .control-dialog .r42-inspector-primary > .dialog-section{
    padding:33px 0 34px!important;
  }
  body.compliance-atlas-v14 .control-dialog .r42-inspector-primary > .dialog-section:first-child{
    padding-top:36px!important;
  }
  body.compliance-atlas-v14 .control-dialog .r42-inspector-primary > .dialog-section:last-child{
    padding-bottom:36px!important;
  }
  body.compliance-design-r42 .assurance-copy .access-ladder{margin-top:29px!important;}
  body.compliance-design-r42 .assurance-copy .access-row{padding-block:19px!important;}
  body.compliance-design-r42 .r151-assurance .r151-materials li:nth-last-child(2){
    border-bottom:1px solid #d8e1d7!important;
  }
  body.compliance-design-r42 .r151-assurance .r151-materials{
    padding-bottom:31px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body.compliance-atlas-v14 .control-dialog .r151-dialog-dismiss{transition:none!important;}
}

/* W2W · anchored reading registration. The R151/R152 inspector, assurance
   content, control titles and keyboard-focus treatment above remain intact.
   scrollIntoView(block:start) respects scroll-margin in current browsers. */
body.compliance-atlas-v14 :is(#atlas,#frameworks,#assurance-room,#enterprise-diligence,#planned-coverage,[id^="framework-"]){
  scroll-margin-block-start:clamp(104px,calc(12vh + 18px),184px);
}
@media(max-width:680px){
  body.compliance-atlas-v14 :is(#atlas,#frameworks,#assurance-room,#enterprise-diligence,#planned-coverage,[id^="framework-"]){
    scroll-margin-block-start:clamp(92px,calc(12vh + 12px),136px);
  }
}
