/* IOS-only refinements. Other publications retain the approved shared standard. */
.ma-ios-refined{--ios-focus:#86652f;--teal:#2d6b61;--olive:#687243;--rose:#975669}
[data-theme="dark"] .ma-ios-refined{--ios-focus:#e0bf80;--teal:#8dd1bf;--olive:#d0d49a;--rose:#e6acb8}
.ios-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.ma-ios-refined .ios-figure-head{display:block;min-width:0;width:100%;margin-bottom:18px}
.ma-ios-refined .ios-figure-title-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:18px;width:100%;min-width:0}
.ma-ios-refined .ios-main-figure-title{font:400 27px/1.3 Georgia,serif!important;letter-spacing:0!important;text-transform:none!important;margin:0!important;overflow-wrap:anywhere}
.ma-ios-refined .ios-figure-number{font:500 12px/1.6 system-ui,sans-serif!important;color:var(--muted);padding-top:5px;white-space:nowrap;justify-self:end}
.ma-ios-refined .ios-figure-status{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.ma-ios-refined .ios-figure-head>div:empty{display:none}
.ma-ios-refined main [id]{scroll-margin-top:100px}
.ma-ios-refined .ios-jump{display:block;min-width:0;color:inherit!important;text-decoration:none!important;border-radius:5px;text-underline-offset:4px;cursor:pointer;transition:background-color .15s,box-shadow .15s}
.ma-ios-refined .ios-jump:hover{background:color-mix(in srgb,var(--gold) 16%,transparent);box-shadow:0 0 0 3px color-mix(in srgb,var(--gold) 35%,transparent);text-decoration:underline!important}
.ma-ios-refined main :is(a,button,[tabindex],[role="button"]):focus:not(:focus-visible){outline:none!important}
.ma-ios-refined main :is(a,button,[tabindex],[role="button"]):focus-visible{outline:3px solid var(--ios-focus)!important;outline-offset:3px!important}
.ma-ios-refined .ma-highlight .ios-jump:focus-visible{outline-color:#e0bf80!important}
.ma-ios-refined main svg g[role="button"]:focus-visible{outline:none!important}
.ma-ios-refined main svg g[role="button"]:focus-visible circle{stroke:#e0bf80!important;stroke-width:4px!important;filter:drop-shadow(0 0 3px #143630)}
.ma-ios-refined main button[aria-pressed="true"]{box-shadow:inset 0 0 0 2px var(--gold)}
.ma-ios-refined .access-grid-full>.access-card,.ma-ios-refined .industrial-grid-full>article{border-top:4px solid var(--accent);background:color-mix(in srgb,var(--accent) 8%,var(--paper));min-width:0}
.ma-ios-refined .access-grid-full>.access-card h3,.ma-ios-refined .industrial-grid-full>article h3{color:var(--ink)}
@media screen{
 /* Begin the IOS reference rail beside the summary, using existing prose to fill the opening. */
 body.ma-ios-refined .article-body>.executive-summary{display:flow-root!important;width:auto!important;clear:none!important}
 body.ma-ios-refined .article-body>.aside-shell{margin-top:0!important}
 body.ma-ios-refined .article-body>.opening-prose{display:contents}
 body.ma-ios-refined .article-body>.opening-prose>p{font:400 19px/1.7 Georgia,serif;color:var(--text);margin:22px 0}
 body.ma-ios-refined .article-body>.aside-shell~section,body.ma-ios-refined .article-body>.aside-shell~nav,body.ma-ios-refined .article-body>.assessment-callout{width:auto!important;max-width:none!important}
 body.ma-ios-refined .ios-figure-head>.ios-figure-title-row{display:grid!important}
 body.ma-ios-refined .feature-dark .ios-figure-number,body.ma-ios-refined .ios02-green-section .ios-figure-number,body.ma-ios-refined .ios03-dark .ios-figure-number{color:#e0bf80}
 @media(max-width:1100px){
  body.ma-ios-refined .article-body{display:flex!important;flex-direction:column}
  body.ma-ios-refined .article-body>.executive-summary{order:-1}
  body.ma-ios-refined .article-body>.opening-prose{display:block}
 }
 @media(max-width:720px){
  .ma-ios-refined .ios-main-figure-title{font-size:23px!important}
  .ma-ios-refined .ios-figure-title-row{gap:12px}
  .ma-ios-refined .ios-figure-number{font-size:11px!important}
  body.ma-ios-refined .article-body>.opening-prose>p{font-size:17px;line-height:1.65}
 }
}
/* IOS-06 Figure 5: content-sized tracks, six readable milestones, complete decision detail. */
body.ma-ios-refined .integration-shell-v3{overflow:visible!important;max-width:100%;width:100%!important}
body.ma-ios-refined .domain-tabs-v3{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));width:100%!important;min-width:0!important;overflow:visible!important;gap:8px}
body.ma-ios-refined .domain-tabs-v3 button{min-width:0;white-space:normal;font-size:14px!important;line-height:1.45!important;padding:12px 10px}
body.ma-ios-refined .integration-layout-v3{display:grid!important;width:100%!important;height:auto!important;min-height:0!important;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)!important}
body.ma-ios-refined .integration-board-v3,body.ma-ios-refined .integration-detail-v3{height:auto!important;min-height:0!important;min-width:0;overflow:visible!important;padding:24px!important}
body.ma-ios-refined .phase-head-v3{display:none}
body.ma-ios-refined .track-row-v3{display:block;min-width:0;margin:18px 0 0}
body.ma-ios-refined .track-row-v3>strong{display:block;font-size:14px!important;line-height:1.5;margin-bottom:12px}
body.ma-ios-refined .political-ribbon-v3{height:auto;min-height:60px;font-size:14px;line-height:1.55;padding:16px}
body.ma-ios-refined .legal-marker-v3{position:static;margin:16px 0;height:auto;border-left:3px dashed #e0bd73;padding-left:12px}
body.ma-ios-refined .legal-marker-v3:before{display:none}
body.ma-ios-refined .legal-marker-v3 span{position:static;font-size:12px;line-height:1.5}
body.ma-ios-refined .operational-segments-v3{grid-template-columns:repeat(3,minmax(0,1fr));min-height:0;gap:10px}
body.ma-ios-refined .operational-segment-v3{padding:14px 12px;min-height:96px;white-space:normal;overflow-wrap:anywhere;align-self:stretch}
body.ma-ios-refined .operational-segment-v3 small{font-size:12px!important;line-height:1.5;letter-spacing:0}
body.ma-ios-refined .operational-segment-v3 b{font-size:15px!important;line-height:1.5!important}
body.ma-ios-refined .milestone-focus-v3{height:auto!important;min-height:0;margin:24px 0 0!important;padding-top:18px;display:grid;grid-template-columns:1fr;gap:16px}
body.ma-ios-refined .milestone-focus-v3 small,body.ma-ios-refined .dualtrack-list small{font-size:12px!important;line-height:1.5;letter-spacing:.02em}
body.ma-ios-refined .milestone-focus-v3 p,body.ma-ios-refined .dualtrack-list b{font-size:14px!important;line-height:1.65!important;overflow-wrap:anywhere}
body.ma-ios-refined .integration-detail-v3 h3{font-size:26px!important;line-height:1.3!important;overflow-wrap:anywhere}
body.ma-ios-refined .integration-detail-v3>p{font-size:15px!important;line-height:1.65!important}
body.ma-ios-refined .integration-detail-v3 .kicker{font-size:12px!important}
@media(max-width:1100px){body.ma-ios-refined .integration-layout-v3{grid-template-columns:1fr!important}body.ma-ios-refined .integration-detail-v3{border-left:0;border-top:1px solid var(--line)}}
@media(max-width:720px){body.ma-ios-refined .domain-tabs-v3{grid-template-columns:repeat(2,minmax(0,1fr))}body.ma-ios-refined .domain-tabs-v3 button:last-child{grid-column:1/-1}body.ma-ios-refined .operational-segments-v3{grid-template-columns:repeat(2,minmax(0,1fr))}body.ma-ios-refined .integration-board-v3,body.ma-ios-refined .integration-detail-v3{padding:18px!important}}
@media print{
 .ma-ios-refined .ios-main-figure-title{font-size:15pt!important}
 .ma-ios-refined .ios-figure-number{font-size:8.5pt!important}
 .ma-ios-refined .ios-figure-title-row{break-after:avoid}
 body.ma-ios-refined .domain-tabs-v3{display:none!important}
 body.ma-ios-refined .integration-layout-v3{grid-template-columns:1fr!important}
 body.ma-ios-refined .integration-board-v3,body.ma-ios-refined .integration-detail-v3{break-inside:auto!important}
 body.ma-ios-refined .operational-segment-v3,body.ma-ios-refined .milestone-focus-v3>div{break-inside:avoid}
 body.ma-ios-refined .milestone-focus-v3 p,body.ma-ios-refined .dualtrack-list b{color:#222!important}
}
/* Decorative bar fills must never intercept the internal navigation links. */
.ma-ios-refined .aside-shell i{pointer-events:none}
.ma-ios-refined .ios-jump{position:relative;z-index:1;min-height:28px}
@media(max-width:720px){.ma-ios-refined .aside-shell .ios-jump{min-height:44px}}
/* Give compact process links their own padding, instead of padding twice. */
.ma-ios-refined .aside-card :is(.mini-flow,.equation-flow,.evidence-mini,.industrial-flow-mini,.consult-mini-flow,.request-mini-grid,.access-mini-grid,.resilience-mini,.convergence-mini,.joint-record-mini,.route-mini)>span:has(>.ios-jump){padding:0}
.ma-ios-refined .aside-card :is(.mini-flow,.equation-flow,.evidence-mini,.industrial-flow-mini,.consult-mini-flow,.request-mini-grid,.access-mini-grid,.resilience-mini,.convergence-mini,.joint-record-mini,.route-mini)>span>.ios-jump{padding:7px 9px;font-size:12px;line-height:1.45}
.ma-ios-refined .ios-inline-jump{display:inline!important;min-height:0;padding:0}
body.ma-ios-refined .article-body .section>.article-shell{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
@media screen and (min-width:1101px){
 body.ma-ios-refined .article-body>.aside-shell{width:320px!important}
 body.ma-ios-refined .article-aside>.aside-card{padding:18px}
}
/* Ordered mini-processes keep their arrows beside each row, not in separate tall rows. */
.ma-ios-refined .aside-card :is(.mini-flow,.equation-flow,.evidence-mini,.industrial-flow-mini){grid-template-columns:minmax(0,1fr) 16px;gap:6px 8px;align-items:center}
.ma-ios-refined .aside-card :is(.mini-flow,.equation-flow,.evidence-mini,.industrial-flow-mini)>span{grid-column:1}
.ma-ios-refined .aside-card :is(.mini-flow,.equation-flow,.evidence-mini,.industrial-flow-mini)>i{grid-column:2}
.ma-ios-refined :is(.joint-record-mini,.request-mini-grid){grid-template-columns:repeat(2,minmax(0,1fr))}
.ma-ios-refined .ios-jump{overflow-wrap:anywhere}
.ma-ios-refined .horizon-sector:focus-visible{outline:none!important;stroke:#e0bf80!important;stroke-width:4px!important}
/* Keep each linked ratio row's label, count and bar in their original grid. */
.ma-ios-refined .ratio-bars>div:has(>.ios-jump){display:block}
.ma-ios-refined .ratio-bars>div>.ios-jump{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center}
.ma-ios-refined .ratio-bars .ios-jump>i{display:block;grid-column:1/-1;height:6px}
.ma-ios-refined .day-bar{height:auto;min-height:28px}
.ma-ios-refined .day-bar>span{align-items:stretch}
.ma-ios-refined .day-bar .ios-jump{display:grid;place-items:center;width:100%;height:100%;padding:4px}
/* A narrow reference panel must not split short process names into fragments. */
.ma-ios-refined .aside-card .consult-mini-flow{grid-template-columns:minmax(0,1fr) 14px!important;grid-template-rows:none!important;gap:6px 8px!important}
.ma-ios-refined .aside-card .consult-mini-flow>span{grid-column:1!important;grid-row:auto!important}
.ma-ios-refined .aside-card .consult-mini-flow>i{grid-column:2!important;grid-row:auto!important;display:block!important;transform:rotate(90deg)}
/* Removing a decorative contents title must also release its old grid column. */
.ma-ios-refined .contents-head:has(>h3.ios-sr-only){display:block!important}
