/* Existing green series: card line #799162, card actions #687D54,
   page/navigation text #51653D. Brand accent remains #A5636E. */
.service-page.service-diagnostics{--service-emphasis:#51653D;--service-action:#51653D}
.service-diagnostics .diagnostic-title-context{display:block;font-size:.57em;line-height:1.3;letter-spacing:-.4px;margin-top:14px}
.service-diagnostics .diagnostic-situations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px}
.service-diagnostics .diagnostic-situations h3{font-size:26px;line-height:1.3;min-height:2.6em;margin-bottom:16px}
.service-diagnostics .diagnostic-situations p,.service-diagnostics .diagnostic-boundary,.service-diagnostics .diagnostic-outcomes{font-size:17px;line-height:1.7}
.service-diagnostics .diagnostic-boundary{max-width:85ch;margin-top:32px;padding-top:24px;border-top:1px solid var(--rule)}
.service-diagnostics main .prose a{color:var(--service-action);text-decoration:underline;text-underline-offset:4px}
/* Align the visible artwork (alpha >= 16), retaining the entire transparent
   canvas and faint strokes. Square frames share a visible bottom baseline. */
.service-diagnostics .diagnostic-situation-art{position:relative;width:min(280px,calc(100% - 24px));aspect-ratio:1;margin:0 0 28px;overflow:visible}
.service-diagnostics .diagnostic-situations>div:nth-child(1){--art-width:106.81431005%;--art-left:-4.77001704%;--art-bottom:-6.13287905%}
.service-diagnostics .diagnostic-situations>div:nth-child(2){--art-width:104.93723849%;--art-left:-2.59414226%;--art-bottom:-8.20083682%}
.service-diagnostics .diagnostic-situations>div:nth-child(3){--art-width:108.75975716%;--art-left:-5.63746748%;--art-bottom:-4.42324371%}
.service-diagnostics .service-scope{align-items:center}
.service-diagnostics .diagnostic-source-art{width:min(100%,440px);margin:28px auto 0}
.service-diagnostics .diagnostic-result-art{width:min(100%,420px);margin:28px auto 0}
.service-diagnostics .diagnostic-situation-art img,
.service-diagnostics .diagnostic-source-art img,
.service-diagnostics .diagnostic-result-art img{display:block;width:100%;height:auto;object-fit:contain}
.service-diagnostics .diagnostic-situation-art img{position:absolute;left:var(--art-left);bottom:var(--art-bottom);width:var(--art-width);max-width:none;height:auto}
.service-diagnostics .diagnostic-outcomes{padding-left:22px;margin-block:24px}
.service-diagnostics .diagnostic-outcomes li+li{margin-top:16px}
.service-diagnostics .diagnostic-outcomes li::marker{color:var(--service-emphasis)}
.service-diagnostics .diagnostic-result h2{max-width:20ch}
@media(min-width:801px) and (max-width:1100px){
 .service-diagnostics .diagnostic-situations{gap:40px}
}
@media(max-width:800px){
 .service-diagnostics .diagnostic-situations{grid-template-columns:1fr;gap:36px}
 .service-diagnostics .diagnostic-situations h3{min-height:0;margin-bottom:12px}
 .service-diagnostics .diagnostic-source-art{width:min(100%,360px);margin-top:24px}
 .service-diagnostics .diagnostic-result-art{width:min(100%,340px);margin-top:24px}
}
@media(max-width:520px){
 .service-diagnostics .diagnostic-title-context{font-size:.64em;margin-top:12px}
 .service-diagnostics .diagnostic-situations h3{font-size:24px}
 .service-diagnostics .diagnostic-situations p,.service-diagnostics .diagnostic-boundary,.service-diagnostics .diagnostic-outcomes{font-size:16px}
 .service-diagnostics .diagnostic-source-art{width:min(100%,320px)}
 .service-diagnostics .diagnostic-result-art{width:min(100%,300px)}
}
