/* Consultation-led composition: shared type rhythm, connected cards and a compact section. */
#page #practice{padding-block:54px 52px}
#page #practice .ain4-bh-layout{align-items:end;column-gap:40px}
#page #practice .ain4-bh-layout>.ain4-bh-copy,#page #practice .ain4-bh-layout>.ain4-review-composition{grid-column:span 4}
#page #practice .sec-headline{line-height:48px;margin-bottom:20px}
#page #practice .ain4-bh-copy>p{font-size:16px;line-height:26px;margin-bottom:16px}
#page #practice .ain4-practice-response{margin-top:22px;gap:8px}
#page #practice .ain4-practice-caveat{font-size:12px;line-height:1.5;font-style:italic;opacity:.75;margin-top:0}
#page #practice .ain4-review-composition{padding-top:0;display:grid;gap:8px;align-content:end}
#page #practice .metaphor-in-page{width:100%;max-width:380px;justify-self:center;margin:-48px 0 -16px;background:transparent;border:0;padding:0;pointer-events:none;transform:translate(32px,-16px)}
#page #practice .metaphor-in-page canvas{width:100%;aspect-ratio:5/4;display:block}
#page #practice .ain4-review-composition .ain4-flow{margin:0;display:grid;gap:8px;width:max-content;max-width:100%;justify-self:center;justify-items:center}
#page #practice .ain4-review-composition .ain4-flow li{width:max-content;max-width:100%;box-sizing:border-box;position:relative;min-height:44px;padding:8px 12px;gap:12px;border:1px solid rgba(255,255,255,.25);background:rgba(0,0,0,.08);font-size:16px;line-height:26px}
#page #practice .ain4-review-composition .ain4-flow li+li{margin-top:0}
#page #practice .ain4-review-composition .ain4-flow li b{font-size:16px;line-height:26px;font-weight:400}
#page #practice .ain4-review-composition .ain4-flow li:not(:last-child)::after{content:"";display:block;position:absolute;left:50%;top:100%;height:9px;border-left:1px dashed #78cff0;pointer-events:none}
@media(max-width:900px){
 #page #practice{padding-block:48px 44px}
 #page #practice .ain4-bh-layout{align-items:start;row-gap:24px}
 #page #practice .ain4-bh-layout>.ain4-bh-copy,#page #practice .ain4-bh-layout>.ain4-review-composition{grid-column:1/-1}
 #page #practice .ain4-review-composition{width:100%;max-width:620px;justify-self:center;gap:12px}
 #page #practice .metaphor-in-page{margin:0;max-width:360px}
}
@media(max-width:640px){#page #practice .sec-headline{line-height:1.15}#page #practice .ain4-review-composition .ain4-flow li{padding:8px 10px;gap:10px}}

@media(max-width:640px){#page #practice .metaphor-in-page{transform:translateY(-8px)}}

/* Optical correction of the desktop scene/step group; mobile keeps its natural stack. */
@media(min-width:901px){
 #page #practice .ain4-review-composition{transform:translateY(-24px)}
 #page #practice .ain4-review-composition .ain4-flow{transform:translateX(32px);max-width:calc(100% - 64px)}
}

/* Allow the accepted M11 composition to shrink to a narrow phone viewport. */
@media(max-width:640px){
 #page #practice .ain4-review-composition,
 #page #practice .metaphor-in-page,
 #page #practice .ain4-review-composition .ain4-flow,
 #page #practice .ain4-review-composition .ain4-flow li,
 #page #practice .ain4-review-composition .ain4-flow li b{min-width:0}
 #page #practice .ain4-review-composition{grid-template-columns:minmax(0,1fr)}
 #page #practice .metaphor-in-page{max-width:min(360px,100%)}
 #page #practice .ain4-review-composition .ain4-flow li{width:fit-content}
 #page #practice .ain4-review-composition .ain4-flow li b,
 #page #practice .ain4-review-composition .ain4-flow li b [data-content-id]{white-space:normal}
}

/* Semantic text leaf inherits the accepted M11 label size. */
#page #practice .ain4-review-composition .ain4-flow li b > .ed[data-content-id]{font-size:inherit;line-height:inherit;font-weight:inherit;letter-spacing:inherit}
