.ace-links{color:#10294a;margin:30px 0 42px;padding:24px 0;border-block:1px solid #c4d0dc;scroll-margin-top:16px}
.ace-links h2{margin:0 0 12px;font-size:clamp(26px,3vw,35px);line-height:1.55}
.ace-links-lead{max-width:48em;font-size:20px;line-height:1.85;margin:0 0 12px}
.ace-links-lead strong{font-weight:500}
.ace-links-intro{font-size:17px;line-height:1.85;margin:0 0 20px;max-width:52em}
.ace-links small{display:block;font-size:16px;line-height:1.6;color:#425b73}
.ace-links a{text-underline-offset:4px}
.ace-path-picture{margin:20px 0 0;padding:18px clamp(12px,2vw,24px);border-block:1px solid #b4c6d6}
.ace-path-picture figcaption{font-size:19px;font-weight:600;line-height:1.7;margin-bottom:18px}
.ace-path-strip{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);gap:36px;align-items:stretch;list-style:none!important;margin:0!important;padding:0!important}
.ace-path-step{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;margin:0!important;padding:16px 18px!important}
.ace-path-step>small{font-size:16px;margin-bottom:12px;border-bottom:1px solid #bbcbd9;width:100%;padding-bottom:8px}
.ace-path-step strong{font-size:clamp(19px,1.9vw,24px);font-weight:500;line-height:1.65;overflow-wrap:anywhere}
.ace-path-step p{font-size:17px;line-height:1.85;margin:12px 0 0;color:#425b73}
.ace-path-before{background:#f7f8fa}
.ace-path-action{align-items:center;text-align:center;border:1px solid #a9bfd1;background:white}
.ace-path-turn{background:#edf3f8;border-top:3px solid #7c9bb5}
.ace-path-step:not(:first-child)::before{position:absolute;content:"";width:23px;height:12px;background:#768da1;clip-path:polygon(0 40%,70% 40%,70% 0,100% 50%,70% 100%,70% 60%,0 60%);top:50%;right:calc(100% + 6px)}
.ace-path-art{position:relative;display:block;overflow:hidden;aspect-ratio:1;width:135px;max-width:100%;margin:0 auto 10px}
.ace-path-art img{position:absolute;display:block;width:calc(100% * var(--panels));max-width:none;height:100%;top:0;left:calc(-100% * var(--person))}
.ace-path-check{margin:20px 0 0;padding:12px 0;border-block:1px solid #d0dbe4;font-size:19px;line-height:1.8}
.ace-path-check small{margin-bottom:5px}
.ace-path-check strong{font-weight:500}
.ace-path-next{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:22px;padding:14px 0 0}
.ace-path-next p{font-size:17px;line-height:1.8;margin:0}
.ace-path-next strong{display:block;font-weight:600;margin-bottom:3px}
.ace-links-boundary{font-size:16px;line-height:1.8;margin:12px 0}
.ace-path-reading{margin:0 0 16px}
.ace-path-reading summary{font-size:16px;cursor:pointer;padding:6px 0}
.ace-path-reading p{max-width:55em;margin:8px 0;font-size:17px;line-height:1.85}
.ace-path-branches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.ace-path-branches a{padding:10px 0;text-decoration:none;border-top:1px solid #ccd6df;color:#153652}
.ace-path-branches span{font-size:17px;line-height:1.8;text-decoration:underline}
.ace-links-purposes{margin-top:18px}
.ace-links-purposes>summary{cursor:pointer;padding:12px 0;color:#153652;font-size:19px}
.ace-purpose-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:start;margin:8px 0 18px}
.ace-purpose-group{border-block:1px solid #bacbda;min-width:0}
.ace-purpose-group>summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;cursor:pointer;padding:12px 8px;list-style:none;gap:4px 8px}
.ace-purpose-group>summary::-webkit-details-marker{display:none}
.ace-purpose-group>summary>.ace-path-art{grid-column:1/-1;width:90px;margin:0 auto 7px}
.ace-purpose-group>summary strong{font-size:18px;font-weight:500;line-height:1.6}
.ace-purpose-group>summary>span:last-child{font-size:21px;color:#556e87}
.ace-purpose-group[open]>summary>span:last-child{transform:rotate(45deg)}
.ace-purpose-group>div{padding:0 8px 8px}
.ace-purpose-group a{display:flex;justify-content:space-between;gap:10px;align-items:center;min-height:44px;padding:10px 0;border-top:1px solid #d7e0e8;color:#153652;font-size:16px;line-height:1.7;text-decoration:none}
.ace-purpose-group a>span{flex:none}
.ace-purpose-group a:hover{text-decoration:underline}
.ace-links-picker{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;margin:18px 0 0;max-width:850px}
.ace-links-picker label{grid-column:1/-1;font-size:17px;line-height:1.8}
.ace-links-picker label span{display:inline-block;font-size:15px;margin-left:8px;color:#425b73}
.ace-links-picker :is(select,button){font:inherit;min-height:48px;min-width:0;border:1px solid #aebdcd;border-radius:4px;padding:8px 10px}
.ace-links-picker select{width:100%;background:white;color:#15324c}
.ace-links-picker button{background:#183655;color:white;cursor:pointer}
.ace-links a:focus-visible,.ace-links summary:focus-visible,.ace-links-picker :focus-visible{outline:3px solid #9b6a31;outline-offset:3px}
.ace-habit-map-link{grid-column:1/-1;grid-row:3;justify-self:start;font-size:16px;line-height:1.8;margin-top:7px;text-underline-offset:4px}
@media(max-width:850px){
 .ace-path-strip{gap:25px}
 .ace-path-step{padding:14px 12px!important}
 .ace-path-step:not(:first-child)::before{width:16px;right:calc(100% + 5px)}
 .ace-purpose-groups{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
 .ace-links{margin-block:22px;padding:15px 0}
 .ace-links-lead{font-size:19px}
 .ace-path-picture{padding:14px 0}
 .ace-path-picture figcaption{font-size:18px;margin-bottom:14px}
 .ace-path-strip{grid-template-columns:minmax(0,1fr);gap:27px}
 .ace-path-step{padding:15px!important}
 .ace-path-step>small{margin-bottom:9px;padding-bottom:6px}
 .ace-path-step strong{font-size:21px}
 .ace-path-action{display:grid;grid-template-columns:85px minmax(0,1fr);gap:0 14px;align-items:center;text-align:left}
 .ace-path-action>small{grid-column:1/-1}
 .ace-path-action>.ace-path-art{width:85px;margin:0}
 .ace-path-step:not(:first-child)::before{top:-20px;right:calc(50% - 8px);transform:rotate(90deg);width:16px}
 .ace-path-next{grid-template-columns:minmax(0,1fr);gap:12px}
 .ace-path-next p{font-size:17px}
 .ace-path-branches{grid-template-columns:minmax(0,1fr);gap:4px}
 .ace-links-picker{grid-template-columns:minmax(0,1fr)}
 .ace-links-picker select{font-size:16px}
 .ace-purpose-groups{gap:12px}
 .ace-purpose-group>summary{padding:10px 6px}
 .ace-purpose-group>summary strong{font-size:17px}
 .ace-purpose-group>summary>.ace-path-art{width:78px}
 .ace-purpose-group a{font-size:16px}
}
@media print{.ace-links-picker,.ace-habit-map-link,.ace-links-purposes{display:none}.ace-path-picture{break-inside:avoid}}

/* Group the follow-through; keep the question and the next action prominent. */
.ace-path-check{padding:18px 0;margin-top:22px;font-size:clamp(21px,2vw,25px)}
.ace-path-check small{font-size:18px;margin-bottom:8px}
.ace-path-check strong{font-weight:600}
.ace-path-next{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding-top:18px}
.ace-path-next p{padding:16px 20px;background:#f5f7fa;font-size:19px;line-height:1.8}
.ace-path-next p+ p{background:#faf7f2}
.ace-path-next strong{font-size:21px;margin-bottom:5px}
.ace-path-study{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start;margin:22px 0 26px}
.ace-path-study>.ace-links-boundary,.ace-path-reading>summary{box-sizing:border-box;display:block;min-height:58px;padding:15px 18px;border:1px solid #aebfd0;font-size:20px;line-height:1.5;margin:0;color:#163b5c;cursor:pointer}
.ace-path-study>.ace-links-boundary{background:#edf3f8;text-decoration:none}
.ace-path-study>.ace-links-boundary>span{float:right;margin-left:12px}
.ace-path-reading{margin:0}
.ace-path-reading>summary{list-style:none}
.ace-path-reading>summary::-webkit-details-marker{display:none}
.ace-path-reading>summary::after{content:'＋';float:right;margin-left:8px}
.ace-path-reading[open]>summary::after{content:'−'}
.ace-path-reading>p{font-size:19px;line-height:1.9;padding:2px 10px;margin-top:12px}
.ace-path-choices{margin:0 0 24px}
.ace-path-choices>h3{font-size:25px;font-weight:500;line-height:1.7;margin:0 0 14px}
.ace-path-branches{gap:18px}
.ace-path-branches a{position:relative;padding:18px 24px;background:#f6f8fa;border:1px solid #c6d3df;text-decoration:none;min-width:0}
.ace-path-branches a:hover{border-color:#6b8ba6;background:#eef3f8}
.ace-path-branches small{font-size:18px;margin-bottom:9px;color:#425b73}
.ace-path-branches span{font-size:22px;line-height:1.75;text-decoration:none;overflow-wrap:anywhere}
.ace-links-purposes{border-block:1px solid #b8c9d8;margin-top:0;padding:4px 0}
.ace-links-purposes>summary{padding:17px 8px;font-size:22px;line-height:1.7}
.ace-links-picker{margin:16px 0 20px;max-width:100%}
.ace-links-picker label{font-size:19px}
.ace-links-picker label span{font-size:17px}
.ace-links-picker :is(select,button){font-size:19px;min-height:54px}
@media(max-width:680px){
 .ace-path-check{font-size:22px}
 .ace-path-next,.ace-path-study,.ace-path-branches{grid-template-columns:minmax(0,1fr);gap:12px}
 .ace-path-next p{padding:14px 16px;font-size:19px}
 .ace-path-study{margin-block:18px 24px}
 .ace-path-choices>h3{font-size:24px}
 .ace-path-branches a{padding:16px 18px}
 .ace-path-branches span{font-size:21px}
 .ace-links-picker select{font-size:17px}
}
