/* Shared photograph coordinate space: full silhouette at every display size. */
.real-part{position:relative;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;display:grid;place-items:center}
.real-part svg{display:block;width:100%;height:100%;max-height:100%;position:relative}
.measure-trace{display:none;filter:drop-shadow(0 0 2px #fff)}
.gi-part .measure-trace,.method-visual .measure-trace{display:inline}
.gh-part,.guided-task-art,.gi-summary-art,.gi-part{overflow:hidden}
.prep-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
.prep-card{min-width:0;background:var(--surface,#f9fbfd);border:1px solid var(--line,#dae2eb);border-radius:6px;padding:16px;display:grid;grid-template-rows:42px 244px 34px 45px 48px;box-shadow:0 2px 5px #172f4710}
.prep-card header{display:flex;align-items:center;gap:10px;min-width:0}
.prep-card header h2{font-size:17px;font-weight:600;margin:0;letter-spacing:0}
.prep-card header>span:last-child{margin-left:auto;color:var(--muted);font-size:12px}
.prep-num{display:grid;place-items:center;background:#e6edf4;color:#526880;border-radius:50%;width:26px;height:26px;font-size:13px}
.demo-stage{position:relative;overflow:hidden;border:1px solid #d9e1e8;border-radius:4px;background:#e8edf1;display:flex;align-items:flex-start;justify-content:center}
.zero-frame,.placement-frame{height:214px;width:214px;flex:none;background-size:300% 100%;background-repeat:no-repeat;animation:film-steps 7.5s steps(1,end) infinite}
.zero-frame{background-image:url('assets/zero-film.png')}
@keyframes film-steps{0%,32.99%{background-position:0% 0}33%,65.99%{background-position:50% 0}66%,100%{background-position:100% 0}}
.demo-step{position:absolute;bottom:0;left:0;right:0;height:30px;background:#f7fafdeF;border-top:1px solid #d9e1e8;color:#20354c;font-size:13px;font-weight:500;display:grid;place-items:center}
.demo-step span{grid-area:1/1;opacity:0;animation:step-caption 7.5s steps(1,end) infinite}
.demo-step span:nth-child(2){animation-delay:2.5s}.demo-step span:nth-child(3){animation-delay:5s}
@keyframes step-caption{0%,32.99%{opacity:1}33%,100%{opacity:0}}
.demo-stage.paused *{animation-play-state:paused!important}
.demo-controls{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line,#d9e1e8)}
.demo-controls button{min-height:28px;padding:0 2px;background:none;border:0;box-shadow:none;color:var(--muted);font-size:12px;border-radius:2px}
.prep-state{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;font-size:12px;color:var(--muted)}
.prep-state .badge{max-width:80%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500}
.prep-card footer{display:flex;align-items:end}.prep-card footer button{width:100%;height:42px;min-height:42px;font-size:13px;font-weight:500}
html[data-theme=light] .prep-card{background:#f9fbfd}html[data-theme=light] .prep-card h2{font-size:17px}
html[data-theme=dark] .demo-stage{background:#ced6dd}html[data-theme=dark] .prep-card{background:#28323e}
@media(prefers-reduced-motion:reduce){.demo-stage *{animation-play-state:paused}}
/* High-contrast guidance stays independent of pass/fail status colors. */
.measure-trace{filter:none}
.measure-trace path,.measure-trace circle,.measure-trace ellipse{vector-effect:non-scaling-stroke}
.trace-under{stroke:#fff;stroke-width:8px}
.trace-color{stroke:#0878ef;stroke-width:4px}
.trace-color circle{fill:#0878ef}
.gi-reading .gi-big-value,html[data-theme=light] .gi-reading .gi-big-value{margin:30px 0 24px;font-variant-numeric:tabular-nums}
.judgment-card{--result:#12855c;--result-deep:#076a48;--result-soft:#d9f2e6;--result-line:#a3d9bf;position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;min-height:148px;flex-shrink:0;overflow:hidden;border:1px solid var(--result-line);border-radius:9px;background:linear-gradient(110deg,#fff 0%,#f2faf6 40%,var(--result-soft) 100%);box-shadow:inset 0 1px 0 #fff,0 3px 9px #142f4610;padding:16px 20px;margin-bottom:22px;color:var(--result-deep)}
.judgment-card.is-fail{--result:#e43b2f;--result-deep:#c02720;--result-soft:#fbd2cb;--result-line:#efaaa0;background:linear-gradient(110deg,#fffafa 0%,#fff0ed 40%,var(--result-soft) 100%)}
.judgment-card:before{content:'';position:absolute;z-index:-1;width:200px;height:200px;right:-78px;top:-28px;border-radius:50%;background:linear-gradient(145deg,var(--result-soft),var(--result));opacity:.34;box-shadow:inset 1px 0 0 #ffffff80}
.judgment-copy{display:flex;flex-direction:column;gap:3px;position:relative;z-index:1}
.judgment-copy>span{font-size:13px;font-weight:600;color:#53616c}
.judgment-copy>strong{font-family:Arial,Helvetica,sans-serif;font-size:64px;line-height:1;font-weight:800;font-style:italic;letter-spacing:-2px;color:var(--result-deep);text-shadow:0 1px 0 #fff}
.judgment-copy>small{font-size:14px;font-weight:600;color:var(--result-deep)}
.judgment-emblem{width:90px;height:90px;flex:none;margin-left:10px;filter:drop-shadow(0 5px 5px #54231e26)}
.judgment-emblem svg{display:block;width:100%;height:100%;overflow:visible}
.emblem-shape{fill:var(--result);stroke:#ffffffa0;stroke-width:3}
.emblem-mark{fill:none;stroke:#fff;stroke-width:8;stroke-linecap:round;stroke-linejoin:round}
html[data-theme=dark] .judgment-card{box-shadow:inset 0 1px 0 #ffffff80,0 4px 12px #0003}
