/* V14: one coherent editorial row, one action, one reading column.
   Scoped to the Atlas. The corporate shell, controls, and mappings are unchanged. */
body.compliance-atlas-v14.compliance-design-r42 .atlas-v14-framework-trigger {
  display:grid!important;grid-template-columns:29px minmax(0,1fr)!important;
  gap:clamp(14px,2.2vw,30px)!important;align-items:start!important;
  min-height:0!important;padding:clamp(20px,2.25vw,32px) 0!important;
  width:100%;background:transparent!important;
}
body.compliance-atlas-v14 .atlas-v14-framework-copy{
  display:flex;flex-direction:column;align-items:stretch;gap:12px;min-width:0;max-width:100%;
}
body.compliance-atlas-v14 .atlas-v14-framework-copy .atlas-v10-identity{
  display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;
  grid-column:auto!important;grid-row:auto!important;justify-self:stretch;
}
body.compliance-atlas-v14 .atlas-v14-framework-copy .atlas-v10-identity strong{
  max-width:50ch;font:630 clamp(17px,1.55vw,22px)/1.32 var(--font-sans)!important;
  text-wrap:pretty;overflow-wrap:normal;word-break:normal;letter-spacing:-.025em;
}
body.compliance-atlas-v14 .atlas-v14-framework-copy .atlas-v9-framework-category{
  font-size:10px;line-height:1.45;letter-spacing:.065em;
}
body.compliance-atlas-v14 .atlas-v14-framework-copy .atlas-v9-framework-edition{
  font:560 12px/1.5 var(--font-sans);color:#51685a;max-width:82ch;
}

body.compliance-atlas-v14 .atlas-v14-framework-copy .atlas-v11-summary{
  grid-column:auto!important;grid-row:auto!important;display:block!important;max-width:76ch;margin:0!important;
  font-size:14px!important;line-height:1.65!important;overflow:visible!important;
  -webkit-line-clamp:unset!important;line-clamp:unset!important;
}
body.compliance-atlas-v14 .atlas-v14-framework-action{
  grid-column:auto!important;grid-row:auto!important;align-self:flex-start;display:inline-flex;align-items:center;justify-content:flex-start;gap:12px;
  margin-top:2px;font:570 12px/1.45 var(--font-sans);color:#315d42;
  text-decoration:underline;text-underline-offset:4px;text-decoration-color:#a1b7a7;
}
body.compliance-atlas-v14 .atlas-v14-framework-action span{font-size:16px;font-weight:450}
body.compliance-atlas-v14 .atlas-v14-framework-trigger:hover .atlas-v14-framework-action,
body.compliance-atlas-v14 .atlas-v14-framework-trigger:focus-visible .atlas-v14-framework-action{text-decoration-color:currentColor}
body.compliance-atlas-v14 .atlas-v14-framework-trigger .atlas-v10-index{
  padding-top:2px;align-self:start;font-size:11px;color:#64826c;
}
body.compliance-atlas-v14 .atlas-v14-framework-trigger[aria-expanded="true"] .atlas-v14-framework-action{color:#245d3c}
body.compliance-atlas-v14 .atlas-v14-framework-trigger:focus-visible{outline:2px solid #2b8555;outline-offset:-1px;border-radius:3px}
body.compliance-atlas-v14 .atlas-v14-framework-detail{padding-top:0!important;padding-bottom:38px!important}
body.compliance-atlas-v14 .atlas-v14-framework-detail .atlas-v10-framework-context{margin-top:3px}
body.compliance-atlas-v14 .atlas-v14-framework-detail .atlas-v9-framework-evidence{margin-bottom:18px}
body.compliance-atlas-v14 .atlas-v14-relationship-heading{display:grid;gap:7px;margin:22px 0 10px}
body.compliance-atlas-v14 .atlas-v14-relationship-heading h4{margin:0!important}
body.compliance-atlas-v14 .atlas-v14-relationship-heading p{font:450 13px/1.6 var(--font-sans);color:#526758;margin:0;max-width:74ch}
body.compliance-atlas-v14 .atlas-v14-related-controls{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0;max-width:850px;
}
body.compliance-atlas-v14 .atlas-v14-related-controls button{
  display:grid!important;grid-template-columns:72px minmax(0,1fr) minmax(80px,.55fr) 125px!important;
  align-items:start!important;gap:16px!important;min-height:0!important;padding:14px 0!important;
  border-top:1px solid #d2ddd3;
}
body.compliance-atlas-v14 .atlas-v14-related-controls button strong{font-size:14px;line-height:1.45}
body.compliance-atlas-v14 .atlas-v14-related-controls button .atlas-v14-related-domain{font:480 11px/1.5 var(--font-sans);color:#607363;overflow-wrap:break-word}
body.compliance-atlas-v14 .atlas-v14-related-controls button em{text-align:right;white-space:normal;font-size:11px;line-height:1.5}
body.compliance-atlas-v14 .atlas-v14-framework-detail .atlas-v9-show-controls{margin-top:16px}
/* Inspector scroll targets: heading remains visible beneath the sticky header. */
body.compliance-atlas-v14 .control-dialog .dialog-section{scroll-margin-top:95px}
body.compliance-atlas-v14 .control-dialog .atlas-v12-group-heading{scroll-margin-top:90px}
body.compliance-atlas-v14 .r42-inspector-aside .dialog-meta{align-content:start}
@media(max-width:760px){
 body.compliance-atlas-v14.compliance-design-r42 .atlas-v14-framework-trigger{
   grid-template-columns:22px minmax(0,1fr)!important;gap:9px!important;padding:21px 0 24px!important;
 }
 body.compliance-atlas-v14 .atlas-v14-framework-copy{gap:9px}
 body.compliance-atlas-v14 .atlas-v14-framework-copy .atlas-v10-identity strong{font-size:18px!important}
 body.compliance-atlas-v14 .atlas-v14-framework-copy .atlas-v11-summary{font-size:13.5px!important;line-height:1.62!important}
 body.compliance-atlas-v14 .atlas-v14-framework-detail{padding-left:0!important}
 body.compliance-atlas-v14 .atlas-v14-related-controls button{
   grid-template-columns:62px minmax(0,1fr)!important;gap:4px 12px!important;
 }
 body.compliance-atlas-v14 .atlas-v14-related-controls button strong{grid-column:2}
 body.compliance-atlas-v14 .atlas-v14-related-controls button .atlas-v14-related-domain{grid-column:2;grid-row:2}
 body.compliance-atlas-v14 .atlas-v14-related-controls button em{grid-column:2;grid-row:3;text-align:left}
}
body.compliance-atlas-v14 .atlas-v14-atlas-route{
  display:inline-flex;align-items:center;gap:13px;margin-top:20px;margin-right:17px;
  border:1px solid #89ad96;border-radius:4px;background:transparent;padding:11px 15px;
  color:#25543b;font:590 12px/1.4 var(--font-sans);text-align:left;cursor:pointer;
}
body.compliance-atlas-v14 .atlas-v14-atlas-route:hover{background:#e9f0e9}
body.compliance-atlas-v14 .atlas-v14-atlas-route:focus-visible{outline:3px solid #2b8555;outline-offset:2px}

/* V15 composition: use the available editorial measure without restoring card geometry.
   A flex column at <=1100px prevents legacy mobile grid coordinates from generating
   phantom tracks. At wide widths the framework's scope has its own reading column. */
@media(min-width:1101px){
 body.compliance-atlas-v14 .atlas-v14-framework-copy{
   display:grid;grid-template-columns:minmax(285px,.82fr) minmax(330px,1fr);
   grid-template-rows:auto auto;column-gap:clamp(36px,5vw,92px);row-gap:8px;
   align-items:start;
 }
 body.compliance-atlas-v14 .atlas-v14-framework-copy .atlas-v10-identity{
   grid-column:1!important;grid-row:1/3!important;
 }
 body.compliance-atlas-v14 .atlas-v14-framework-copy .atlas-v11-summary{
   grid-column:2!important;grid-row:1!important;max-width:66ch!important;
 }
 body.compliance-atlas-v14 .atlas-v14-framework-copy .atlas-v14-framework-action{
   grid-column:2!important;grid-row:2!important;margin-top:6px;
 }
 body.compliance-atlas-v14 .atlas-v14-framework-trigger{align-items:start!important}
}
@media(max-width:1100px){
 body.compliance-atlas-v14 .atlas-v14-framework-copy{
   display:flex!important;flex-direction:column!important;min-width:0!important;
 }
 body.compliance-atlas-v14 .atlas-v14-framework-copy .atlas-v10-identity,
 body.compliance-atlas-v14 .atlas-v14-framework-copy .atlas-v11-summary,
 body.compliance-atlas-v14 .atlas-v14-framework-copy .atlas-v14-framework-action{
   grid-column:auto!important;grid-row:auto!important;position:static!important;
 }
}
body.compliance-atlas-v14 .atlas-v14-framework-trigger .atlas-v14-framework-copy>*{
  min-width:0;max-width:100%;overflow-wrap:break-word;
}
body.compliance-atlas-v14 .atlas-v14-framework-copy .atlas-v9-framework-edition{
  overflow-wrap:break-word;word-break:normal;
}
body.compliance-atlas-v14 .atlas-v14-framework-detail .atlas-v11-context-qualification{
  padding:0!important;margin:15px 0 18px!important;border:0!important;
  background:transparent!important;color:#486350!important;max-width:74ch;
}
body.compliance-atlas-v14 .atlas-v14-framework-detail .atlas-v9-framework-evidence{
  margin:0 0 15px!important;
}
body.compliance-atlas-v14 .atlas-v14-related-controls button{
  grid-template-columns:76px minmax(0,1.6fr) minmax(0,.8fr) 108px!important;
  gap:clamp(11px,1.5vw,22px)!important;
}
@media(max-width:760px){
 body.compliance-atlas-v14 .atlas-v14-related-controls button{
  grid-template-columns:58px minmax(0,1fr)!important;gap:5px 12px!important;
 }
 body.compliance-atlas-v14 .atlas-v14-framework-copy .atlas-v14-framework-action{
  min-height:28px;align-items:center;margin-top:3px;
 }
}
/* The modal footer remains complete, but avoids a needlessly long empty right rail. */
@media(min-width:1025px){
 body.compliance-atlas-v14 .r42-inspector-aside .dialog-actions{max-width:340px;justify-self:start;width:100%}
}
/* V15.1: source provenance includes a pinned hexadecimal commit identifier. The
   edition remains complete and copyable, but must wrap at every viewport. */
body.compliance-atlas-v14 .atlas-v14-full-edition {
  display:block;
  min-width:0;
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:normal;
}

/* V16 publication convergence: balanced framework scope, actual control examples,
   and controlled disclosure; inherited atlas geometry retained unchanged. */
body.compliance-atlas-v14 .atlas-v16-context-grid{
 display:grid;grid-template-columns:minmax(0,1.55fr) minmax(240px,.8fr);align-items:start;
 column-gap:clamp(26px,4.5vw,78px);row-gap:22px;margin:20px 0 10px;
}
body.compliance-atlas-v14 .atlas-v16-context-main{min-width:0;max-width:72ch}
body.compliance-atlas-v14 .atlas-v16-context-main .atlas-v10-detail-label:not(:first-child){display:block;margin-top:22px}
body.compliance-atlas-v14 .atlas-v16-focus{font:510 clamp(15px,1.3vw,18px)/1.55 var(--font-sans);color:#1d3326;margin:7px 0 0}
body.compliance-atlas-v14 .atlas-v16-context-main .atlas-v9-framework-description{margin:8px 0 0!important;line-height:1.68}
body.compliance-atlas-v14 .atlas-v16-provenance{margin-top:18px;font:450 12px/1.5 var(--font-sans)}
body.compliance-atlas-v14 .atlas-v16-provenance summary{cursor:pointer;color:#315f43;text-decoration:underline;text-underline-offset:3px}
body.compliance-atlas-v14 .atlas-v16-provenance p{font-size:12px;line-height:1.5;color:#526758}
body.compliance-atlas-v14 .atlas-v16-crosswalk-status{min-width:0;padding:18px 0 16px;border-top:2px solid #afc3b2;border-bottom:1px solid #cbd7cc}
body.compliance-atlas-v14 .atlas-v16-crosswalk-status>strong{display:block;margin:9px 0 8px;font:620 16px/1.35 var(--font-sans);color:#1d3928}
body.compliance-atlas-v14 .atlas-v16-crosswalk-status>p{font:450 12px/1.6 var(--font-sans);color:#516958;max-width:41ch;margin:0 0 20px}
body.compliance-atlas-v14 .atlas-v16-crosswalk-status .atlas-v10-framework-stats{display:flex!important;align-items:baseline;flex-wrap:wrap;gap:8px 15px!important;border-top:1px solid #d6dfd5;padding-top:10px;margin:0!important;background:transparent!important}
body.compliance-atlas-v14 .atlas-v16-crosswalk-status .atlas-v10-framework-stats>span{width:100%;font:540 12px/1.5 var(--font-sans);letter-spacing:.04em;color:#637566}
body.compliance-atlas-v14 .atlas-v16-crosswalk-status .atlas-v10-framework-stats>div{display:inline-flex;align-items:baseline;gap:4px!important;width:auto!important;padding:0!important}
body.compliance-atlas-v14 .atlas-v16-crosswalk-status .atlas-v10-framework-stats strong{font-size:12px!important;font-weight:600!important}
body.compliance-atlas-v14 .atlas-v16-crosswalk-status .atlas-v10-framework-stats div span{font-size:12px!important}
body.compliance-atlas-v14 .atlas-v16-relationship-heading{margin:27px 0 14px!important}
body.compliance-atlas-v14 .atlas-v16-example-controls{max-width:none!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 clamp(20px,4vw,55px)!important}
body.compliance-atlas-v14 .atlas-v16-example-controls button{display:flex!important;flex-direction:column;align-items:stretch!important;gap:7px!important;text-align:left;padding:17px 0 19px!important;min-width:0;min-height:0;grid-template-columns:none!important}
body.compliance-atlas-v14 .atlas-v16-example-controls button strong{font:610 14px/1.4 var(--font-sans)!important;color:#1e3326;overflow-wrap:break-word}
body.compliance-atlas-v14 .atlas-v16-example-domain{font:540 12px/1.45 var(--font-sans);color:#456e52;letter-spacing:.03em}
body.compliance-atlas-v14 .atlas-v16-example-objective{font:450 12px/1.56 var(--font-sans);color:#4c6152;overflow-wrap:break-word}
body.compliance-atlas-v14 .atlas-v16-example-controls button em{font:490 12px/1.5 var(--font-sans)!important;color:#507359;margin-top:2px;text-align:left!important}
body.compliance-atlas-v14 .atlas-v16-detail-close{display:flex;flex-wrap:wrap;gap:6px 18px;align-items:center;margin-top:15px}
body.compliance-atlas-v14 .atlas-v16-detail-close .atlas-v14-atlas-route{margin:0!important;max-width:100%;overflow-wrap:break-word}
body.compliance-atlas-v14 .atlas-v16-detail-close>span{font:450 11px/1.5 var(--font-sans);color:#597060}
body.compliance-atlas-v14 [data-programme-full][hidden],body.compliance-atlas-v14 [data-programme-preview][hidden]{display:none!important}
body.compliance-atlas-v14 .atlas-v16-disclosure{margin:13px 0 6px;padding:10px 0;background:transparent;border:0;border-bottom:1px solid #a0b9a6;color:#245e3b;font:610 12px/1.5 var(--font-sans);cursor:pointer;text-align:left}
body.compliance-atlas-v14 .atlas-v16-disclosure:focus-visible{outline:3px solid #2b8555;outline-offset:3px}
@media(max-width:840px){
 body.compliance-atlas-v14 .atlas-v16-context-grid{grid-template-columns:minmax(0,1fr);gap:22px}
 body.compliance-atlas-v14 .atlas-v16-crosswalk-status{padding:14px 0}
}
@media(max-width:600px){
 body.compliance-atlas-v14 .atlas-v16-example-controls{grid-template-columns:minmax(0,1fr)!important}
 body.compliance-atlas-v14 .atlas-v16-example-controls button{padding:15px 0!important}
 body.compliance-atlas-v14 .atlas-v16-focus{font-size:15px}
}

body.compliance-atlas-v14 .atlas-v16-example-controls button .atlas-v16-example-objective{font:450 13px/1.55 var(--font-sans)!important;letter-spacing:normal!important}
body.compliance-atlas-v14 .atlas-v16-example-controls button .atlas-v16-example-domain{font:520 12px/1.45 var(--font-sans)!important;letter-spacing:.04em}

/* V17: final optical refinement—one visual grammar for framework controls and Inspector.
   Applied in the existing Atlas authority, never as a new cascade layer. */
body.compliance-atlas-v14 .atlas-v14-framework-trigger{
  grid-template-columns:minmax(0,1fr)!important;column-gap:0!important;
}
body.compliance-atlas-v14 .atlas-v14-framework-copy .atlas-v14-framework-action{
  display:inline-flex!important;align-items:center!important;justify-content:space-between!important;
  gap:13px!important;width:max-content;max-width:100%;min-height:39px;
  margin:10px 0 0!important;padding:8px 13px 8px 15px!important;
  border:1px solid #9db8a4!important;border-radius:5px;
  background:rgba(247,249,244,.62);box-sizing:border-box;
  font:610 12px/1.45 var(--font-sans)!important;color:#244d37!important;
  text-decoration:none!important;letter-spacing:0!important;
}
body.compliance-atlas-v14 .atlas-v14-framework-action .atlas-v17-action-icon{
  display:grid;place-items:center;width:20px;height:20px;flex:0 0 20px;
  border-radius:50%;background:#e4eee5;color:#295a3e;font:650 16px/1 var(--font-sans);
}
body.compliance-atlas-v14 .atlas-v14-framework-trigger:hover .atlas-v14-framework-action,
body.compliance-atlas-v14 .atlas-v14-framework-trigger:focus-visible .atlas-v14-framework-action{
  background:#e5f0e7;border-color:#59856a!important;
}
body.compliance-atlas-v14 .atlas-v14-framework-trigger[aria-expanded="true"] .atlas-v14-framework-action{
  background:#e3eee5;border-color:#729a7d!important;
}
/* Remove abandoned numeric rails on all screen sizes—framework title owns its column. */
@media(max-width:760px){
 body.compliance-atlas-v14.compliance-design-r42 .atlas-v14-framework-trigger{
  grid-template-columns:minmax(0,1fr)!important;gap:0!important;
 }
}
/* Actions at the end of a framework expansion are peers, not a broken button and a link. */
body.compliance-atlas-v14 .atlas-v17-framework-actions{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,max-content));
 justify-content:start;align-items:stretch;column-gap:11px!important;row-gap:10px!important;
 margin:26px 0 0!important;max-width:100%;
}
body.compliance-atlas-v14 .atlas-v17-framework-actions .atlas-v14-atlas-route,
body.compliance-atlas-v14 .atlas-v17-framework-actions .atlas-v9-publisher{
 display:inline-flex!important;align-items:center;justify-content:space-between;gap:18px;
 min-height:48px;min-width:min(248px,100%);max-width:100%;padding:12px 16px!important;margin:0!important;
 border-radius:6px!important;border:1px solid #8aaa95!important;
 box-sizing:border-box;text-align:left;text-decoration:none!important;
 font:610 12px/1.4 var(--font-sans)!important;white-space:normal;color:#264c35;
}

body.compliance-atlas-v14 .atlas-v17-framework-actions .atlas-v17-action-primary{
 background:#234c37!important;color:#fff!important;border-color:#234c37!important;
}
body.compliance-atlas-v14 .atlas-v17-framework-actions .atlas-v17-action-primary:hover{background:#356d4e!important}
body.compliance-atlas-v14 .atlas-v17-framework-actions .atlas-v17-action-secondary{
 background:transparent!important;color:#28523b!important;
}
body.compliance-atlas-v14 .atlas-v17-framework-actions .atlas-v17-action-secondary:hover{background:#e3ede4!important}
body.compliance-atlas-v14 .atlas-v17-framework-actions>p{
 grid-column:1/-1;margin:2px 0 0!important;max-width:72ch;
 font:450 12px/1.55 var(--font-sans)!important;color:#617466;
}
@media(max-width:650px){
 body.compliance-atlas-v14 .atlas-v17-framework-actions{grid-template-columns:minmax(0,1fr)}
 body.compliance-atlas-v14 .atlas-v17-framework-actions>p{grid-column:1}
 body.compliance-atlas-v14 .atlas-v17-framework-actions .atlas-v14-atlas-route,
 body.compliance-atlas-v14 .atlas-v17-framework-actions .atlas-v9-publisher{width:100%;}
}
/* Quiet, balanced dialog furniture; preserve the original dialog as the scrollport for the full optical court. */
body.compliance-atlas-v14 .control-dialog{
 padding:0!important;border:1px solid #b8c9ba!important;border-radius:12px!important;
 max-height:min(90dvh,880px)!important;overscroll-behavior-y:contain;
 background:#f7f6f0!important;scrollbar-gutter:stable;
 box-shadow:0 28px 75px rgba(8,27,18,.28)!important;
}

body.compliance-atlas-v14 .control-dialog article{
 padding:0!important;margin:0!important;border:0!important;
}
body.compliance-atlas-v14 .control-dialog .atlas-v17-dialog-bar{
 display:flex;align-items:center;justify-content:space-between;gap:16px;
 position:sticky;top:0;z-index:30;min-height:62px!important;
 padding:12px 14px 12px clamp(22px,4vw,34px)!important;
 border-bottom:1px solid #d5ded4!important;background:#f7f6f0!important;
 box-shadow:none!important;
 color:#344f3d!important;font:570 12px/1.4 var(--font-sans)!important;
 letter-spacing:0!important;text-transform:none!important;
}

body.compliance-atlas-v14 .atlas-v17-dialog-brand{display:flex;flex-direction:column;gap:2px;align-items:flex-start;color:#5e7664;min-width:0}
body.compliance-atlas-v14 .atlas-v17-dialog-kicker{font:620 10px/1.45 var(--font-sans);letter-spacing:.08em;text-transform:uppercase;color:#6d8471}
body.compliance-atlas-v14 .atlas-v17-dialog-brand strong{font:640 16px/1.2 var(--font-sans);color:#203d2b;letter-spacing:-.01em}
body.compliance-atlas-v14 .atlas-v17-dialog-separator{display:none}
body.compliance-atlas-v14 .control-dialog .atlas-v17-dialog-bar .atlas-v17-close{
 position:static!important;display:inline-flex!important;align-items:center;justify-content:center;
 gap:8px!important;min-width:0!important;min-height:38px!important;height:38px!important;
 padding:0 12px!important;margin:0!important;
 border:1px solid #bdd0c1!important;border-radius:8px!important;
 background:#eef3ee!important;color:#274b36!important;
 box-shadow:none!important;font:590 12px/1 var(--font-sans)!important;
 text-transform:none!important;
}
body.compliance-atlas-v14 .control-dialog .atlas-v17-dialog-bar .atlas-v17-close i{font-style:normal;font-size:15px;line-height:1}
body.compliance-atlas-v14 .control-dialog .atlas-v17-dialog-bar .atlas-v17-close:hover{
 background:#e1ebe2!important;border-color:#8ead96!important;
}
body.compliance-atlas-v14 .control-dialog .atlas-v17-dialog-bar .atlas-v17-close:focus-visible{
 outline:3px solid #4e9972!important;outline-offset:3px;
}
body.compliance-atlas-v14 .r42-inspector-hero{
 padding:clamp(28px,3.6vw,44px) clamp(26px,5vw,66px) clamp(34px,4.5vw,55px)!important;
}

body.compliance-atlas-v14 .r42-inspector-hero h2{max-width:30ch;line-height:1.13!important}
body.compliance-atlas-v14 .atlas-v9-inspector-body .r42-inspector-primary{
 padding-bottom:16px!important;
}
body.compliance-atlas-v14 .atlas-v9-inspector-body .r42-inspector-primary .dialog-section{
 padding-block:clamp(26px,3vw,37px)!important;
}
/* Operating activities should read as authored, practical tasks—not a numbered template. */
body.compliance-atlas-v14 .atlas-v9-activity-list{counter-reset:none!important;list-style:none!important}
body.compliance-atlas-v14 .atlas-v9-activity-list li{
 display:flex!important;flex-direction:column;gap:6px!important;counter-increment:none!important;
 padding:17px 0 19px!important;border-top:1px solid #d7e0d6;
}
body.compliance-atlas-v14 .atlas-v9-activity-list li::before{display:none!important;content:none!important}
body.compliance-atlas-v14 .atlas-v9-activity-list strong{font-size:14px!important;line-height:1.45!important}
body.compliance-atlas-v14 .atlas-v9-activity-list span{font-size:13px!important;line-height:1.6!important}
/* A proper editorial record: heading and note, then a full-width fact register, then paired actions. */
body.compliance-atlas-v14 .atlas-v9-inspector-body .atlas-v17-record{
 display:block!important;padding:clamp(30px,4vw,49px) clamp(26px,5vw,66px) clamp(35px,4.5vw,56px)!important;
 background:#eaf0e7!important;
}
body.compliance-atlas-v14 .atlas-v17-record-heading{
 display:flex;align-items:end;justify-content:space-between;gap:22px;
 margin:0 0 23px;padding-bottom:20px;border-bottom:1px solid #c9d7ca;
}
body.compliance-atlas-v14 .atlas-v17-record-overline{
 font:620 10px/1.6 var(--font-sans);letter-spacing:.10em;text-transform:uppercase;color:#65806c;
}
body.compliance-atlas-v14 .atlas-v17-record-heading h3{
 margin:5px 0 0!important;font:620 clamp(19px,2vw,23px)/1.3 var(--font-sans)!important;
 color:#203b2a;
}
body.compliance-atlas-v14 .atlas-v17-record-heading p{
 margin:0!important;font:450 12px/1.55 var(--font-sans);color:#5d7563;max-width:40ch;
}

body.compliance-atlas-v14 .atlas-v17-record .atlas-v17-record-facts{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:0 22px!important;align-items:stretch!important;
 padding:0!important;margin:0!important;
}
body.compliance-atlas-v14 .atlas-v17-record .atlas-v17-record-facts>div{
 margin:0!important;padding:16px 0 15px!important;min-width:0;
 border:0!important;border-bottom:1px solid #d3ded3!important;
}
body.compliance-atlas-v14 .atlas-v17-record .atlas-v17-record-facts dt{
 display:block;margin:0 0 6px;color:#657d69;
 font:530 11px/1.5 var(--font-sans);
}
body.compliance-atlas-v14 .atlas-v17-record .atlas-v17-record-facts dd{
 display:block;margin:0;color:#203828;overflow-wrap:anywhere;
 font:630 13px/1.5 var(--font-sans);
}
body.compliance-atlas-v14 .atlas-v17-record .atlas-v17-record-actions{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:11px!important;max-width:none!important;justify-self:stretch!important;
 margin:27px 0 0!important;padding:0!important;border:0!important;
}
body.compliance-atlas-v14 .atlas-v17-record .atlas-v17-record-actions a{
 display:flex!important;justify-content:space-between!important;align-items:center!important;
 flex:none!important;min-width:0!important;max-width:none!important;width:100%!important;
 min-height:51px!important;padding:12px 17px!important;
 border:1px solid #87a78d!important;border-radius:5px!important;
 box-sizing:border-box;font:610 13px/1.45 var(--font-sans)!important;
 text-decoration:none!important;
}
body.compliance-atlas-v14 .atlas-v17-record .atlas-v17-record-actions .r64-dialog-ask{
 background:#234d38!important;color:#fff!important;border-color:#234d38!important;
}
body.compliance-atlas-v14 .atlas-v17-record .atlas-v17-record-actions .r64-dialog-materials{
 background:transparent!important;color:#294c38!important;
}
body.compliance-atlas-v14 .atlas-v17-record .atlas-v17-record-actions .r64-dialog-materials:hover{
 background:#dce9df!important;
}
body.compliance-atlas-v14 .atlas-v17-record .atlas-v17-record-actions a::after{display:none!important}
body.compliance-atlas-v14 .atlas-v17-record .atlas-v17-record-actions a:focus-visible{
 outline:3px solid #3a8b64!important;outline-offset:3px!important;
}
@media(max-width:760px){
 body.compliance-atlas-v14 .control-dialog .atlas-v17-dialog-bar{min-height:58px!important;padding:11px 12px 11px 20px!important}
 body.compliance-atlas-v14 .control-dialog .atlas-v17-dialog-bar .atlas-v17-close{padding:0 10px!important;height:36px!important;min-height:36px!important}
 body.compliance-atlas-v14 .atlas-v9-inspector-body .atlas-v17-record{padding-inline:24px!important}
 body.compliance-atlas-v14 .atlas-v17-record-heading{display:block}
 body.compliance-atlas-v14 .atlas-v17-record-heading p{margin-top:8px!important}
 body.compliance-atlas-v14 .atlas-v17-record .atlas-v17-record-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:520px){
 body.compliance-atlas-v14 .atlas-v17-record .atlas-v17-record-facts{grid-template-columns:minmax(0,1fr)!important}
 body.compliance-atlas-v14 .atlas-v17-record .atlas-v17-record-actions{grid-template-columns:minmax(0,1fr)!important}
}
/* The earlier R42 metadata rules pin each child to grid column one. Clear that
   obsolete placement so this full-width three-column register actually lays out. */
body.compliance-atlas-v14 .atlas-v17-record .atlas-v17-record-facts>div{
 grid-column:auto!important;grid-row:auto!important;align-self:stretch!important;
}
/* Avoid inherited all-cap, letter-spaced record heading and control-action typography. */
body.compliance-atlas-v14 .atlas-v17-record .atlas-v17-record-heading h3{
 text-transform:none!important;letter-spacing:-.02em!important;
}
body.compliance-atlas-v14 .atlas-v17-record .atlas-v17-record-actions a{
 letter-spacing:0!important;text-transform:none!important;
}
/* One long activity title can otherwise impose its min-content width on a 320px Inspector. */
body.compliance-atlas-v14 .atlas-v9-activity-list,
body.compliance-atlas-v14 .atlas-v9-activity-list li,
body.compliance-atlas-v14 .atlas-v9-activity-list strong,
body.compliance-atlas-v14 .atlas-v9-activity-list span{
 min-width:0!important;max-width:100%!important;box-sizing:border-box;
 overflow-wrap:anywhere!important;word-break:normal!important;
}
/* Removing the numeric index must remove the old 29px parent grid track too.
   The original selector was more specific and silently retained that track at 761–1100px. */
body.compliance-atlas-v14.compliance-design-r42 .atlas-v14-framework-trigger{
 grid-template-columns:minmax(0,1fr)!important;
 gap:0!important;
}

/* V18 optical convergence: fixed dialog furniture, independent scrollport.
   The new frame deliberately supersedes inherited sticky-close and dialog scroll rules. */
body.compliance-atlas-v14 .control-dialog:not([open]){display:none!important}
body.compliance-atlas-v14 .control-dialog[open]{
 display:block!important;overflow:hidden!important;padding:0!important;
 width:min(980px,calc(100vw - 28px))!important;
 height:min(88dvh,830px)!important;max-height:min(88dvh,830px)!important;
 inset:0!important;margin:auto!important;border:1px solid #c4cfc5!important;
 border-radius:12px!important;box-shadow:0 28px 85px rgba(6,20,13,.34)!important;
 scrollbar-gutter:auto!important;
}
body.compliance-atlas-v14 .control-dialog .v18-dialog-frame{
 display:flex!important;flex-direction:column!important;height:100%;min-height:0;width:100%;overflow:hidden;
 background:#f8f7f2;
}
body.compliance-atlas-v14 .control-dialog .v18-dialog-scroll{
 flex:1 1 auto;min-height:0;width:100%;overflow-y:auto!important;overflow-x:hidden!important;
 overscroll-behavior-y:contain;scrollbar-gutter:stable;
 scrollbar-width:thin;scrollbar-color:#93a99a #f8f7f2;
}
body.compliance-atlas-v14 .control-dialog .v18-dialog-scroll article{
 display:block!important;min-width:0!important;position:static!important;padding:0!important;
}
body.compliance-atlas-v14 .control-dialog .atlas-v17-dialog-bar{
 flex:0 0 62px!important;min-height:62px!important;height:62px!important;
 position:relative!important;top:auto!important;z-index:2;display:flex!important;
 align-items:center!important;justify-content:space-between!important;
 padding:10px 13px 10px clamp(21px,3vw,31px)!important;
 border-bottom:1px solid #d6dfd5!important;background:#f8f7f2!important;
 box-sizing:border-box!important;box-shadow:none!important;
}
body.compliance-atlas-v14 .control-dialog .atlas-v17-dialog-brand{
 display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px!important;
 font:500 12px/1.35 var(--font-sans);letter-spacing:normal!important;text-transform:none!important;
}
body.compliance-atlas-v14 .control-dialog .v18-dialog-kicker{
 font:660 10px/1.3 var(--font-sans);letter-spacing:.07em;text-transform:uppercase;color:#718575;
}
body.compliance-atlas-v14 .control-dialog .atlas-v17-dialog-brand strong{
 font:650 15px/1.25 var(--font-sans);color:#263f30;letter-spacing:-.012em;
}
body.compliance-atlas-v14 .control-dialog .atlas-v17-dialog-bar .atlas-v17-close{
 flex:0 0 auto;display:inline-flex!important;align-items:center;justify-content:center;
 gap:8px!important;min-width:76px!important;width:auto!important;min-height:38px!important;height:38px!important;
 padding:0 11px 0 14px!important;margin:0!important;float:none!important;
 border-radius:7px!important;border:1px solid #c3d2c5!important;background:#edf2ec!important;
 color:#2b4c39!important;font:610 12px/1.3 var(--font-sans)!important;
 box-shadow:none!important;position:static!important;letter-spacing:0!important;text-transform:none!important;
}
body.compliance-atlas-v14 .control-dialog .atlas-v17-dialog-bar .v18-close-icon{
 font:400 18px/1 var(--font-sans);color:#496e55;
}
body.compliance-atlas-v14 .control-dialog .atlas-v17-dialog-bar .atlas-v17-close:hover{
 background:#dfeadf!important;border-color:#8ead99!important;
}
body.compliance-atlas-v14 .control-dialog .atlas-v17-dialog-bar .atlas-v17-close:focus-visible{
 outline:3px solid #378b61!important;outline-offset:2px!important;
}
/* The record closes the reading sequence at its own measure; no empty sidebar rail. */
body.compliance-atlas-v14 .control-dialog .atlas-v17-record{
 padding:clamp(24px,3.1vw,39px) clamp(25px,5vw,61px) clamp(27px,3.4vw,43px)!important;
 background:#edf1e9!important;
}
body.compliance-atlas-v14 .control-dialog .atlas-v17-record-heading{
 align-items:baseline!important;margin-bottom:15px!important;padding-bottom:16px!important;
}
body.compliance-atlas-v14 .control-dialog .atlas-v17-record-heading p{max-width:32ch!important}
body.compliance-atlas-v14 .control-dialog .atlas-v17-record-facts{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:0 34px!important;
}
body.compliance-atlas-v14 .control-dialog .atlas-v17-record-facts>div{padding:14px 0!important}
body.compliance-atlas-v14 .control-dialog .atlas-v17-record-facts>div.v18-fact-wide{
 grid-column:1/-1!important;
}
body.compliance-atlas-v14 .control-dialog .atlas-v17-record-actions{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:13px!important;margin-top:25px!important;
}
body.compliance-atlas-v14 .control-dialog .atlas-v17-record-actions a{
 min-height:50px!important;border-radius:6px!important;
}
/* Visible section targets, independent of the old dialog scrollTop. */
body.compliance-atlas-v14 .control-dialog .dialog-section,
body.compliance-atlas-v14 .control-dialog .atlas-v12-group-heading{scroll-margin-top:22px!important}
@media(max-width:760px){
 body.compliance-atlas-v14 .control-dialog[open]{
  width:100vw!important;height:100dvh!important;max-height:100dvh!important;
  border:0!important;border-radius:0!important;
 }
 body.compliance-atlas-v14 .control-dialog .atlas-v17-dialog-bar{
  height:61px!important;min-height:61px!important;flex-basis:61px!important;
  padding:10px max(12px,env(safe-area-inset-right)) 10px max(20px,env(safe-area-inset-left))!important;
 }
 body.compliance-atlas-v14 .control-dialog .atlas-v17-record-facts{
  grid-template-columns:minmax(0,1fr)!important;
 }
 body.compliance-atlas-v14 .control-dialog .atlas-v17-record-actions{
  grid-template-columns:minmax(0,1fr)!important;
 }
 body.compliance-atlas-v14 .control-dialog .atlas-v17-record-heading{display:block!important}
 body.compliance-atlas-v14 .control-dialog .atlas-v17-record-heading p{margin-top:7px!important}
}

/* R144: immediate, restrained public assurance failure notice; never displayed for healthy data. */
.compliance-atlas-v14 .hero-assurance-status[hidden]{display:none!important}
.compliance-atlas-v14 .hero-assurance-status:not([hidden]){
  display:block;max-width:71ch;margin:16px 0 26px;padding:10px 14px;
  border-left:2px solid #baa16c;background:rgba(249,247,241,.055);
  color:#f3e5c1;font:540 14px/1.5 var(--font-sans);
  overflow-wrap:anywhere;
}
@media(max-width:760px){
  .compliance-atlas-v14 .hero-assurance-status:not([hidden]){margin:16px 0 20px;padding:9px 12px;font-size:13px}
}
