/* Animated scan run on /scan/: the static report stays the size reference, the run plays over it. */
.scan-mock{position:relative}
.scan-play{position:absolute;inset:0;z-index:2;padding:24px;background:#fff;color:#17303e;transition:opacity .4s var(--ease)}
.scan-visual[data-stage="report"] .scan-play{opacity:0;pointer-events:none}
.scan-play-stage{display:none}
.scan-visual[data-stage="intake"] .scan-play-intake,.scan-visual[data-stage="progress"] .scan-play-progress{display:block}
.scan-play-label{font-size:.7rem;margin:0 0 12px}
.scan-play-title{font-family:var(--display);font-weight:700;font-size:1.45rem;line-height:1.12;letter-spacing:-.035em;margin:0 0 20px}
.scan-play-fieldlabel{display:block;font-size:.68rem;font-weight:650;margin-bottom:6px}
.scan-play-input{display:flex;align-items:center;min-height:44px;padding:0 13px;border:1px solid #c9d2cf;border-radius:9px;background:#fbfbf9;font-size:.82rem;color:#17303e;white-space:nowrap;overflow:hidden}
.scan-play-caret{display:inline-block;width:1.5px;height:1.05em;margin-left:1px;background:var(--blue);animation:scan-caret 1s step-end infinite}
.scan-play-button{display:inline-flex;align-items:center;min-height:44px;margin-top:16px;padding:0 20px;border-radius:999px;background:var(--ink);color:#fff;font-size:.78rem;font-weight:650;transition:transform .18s var(--ease),background .18s}
.scan-visual[data-press="1"] .scan-play-button{transform:scale(.96);background:var(--blue)}
.scan-play-checks{list-style:none;padding:0;margin:0}
.scan-play-checks li{display:grid;grid-template-columns:18px auto minmax(0,1fr);align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #e1e7dd;font-size:.72rem;opacity:.38;transition:opacity .3s}
.scan-play-checks li[data-state]{opacity:1}
.scan-play-status{position:relative;width:18px;height:18px;border-radius:50%;background:#eef0ed}
.scan-play-checks li[data-state="running"] .scan-play-status{background:transparent;border:2px solid #d5dcd8;border-top-color:var(--blue);animation:scan-spin .7s linear infinite}
.scan-play-checks li[data-state="done"] .scan-play-status::before{content:"✓";position:absolute;inset:0;display:grid;place-items:center;font-size:.62rem;font-weight:750}
.scan-play-checks li[data-check="good"][data-state="done"] .scan-play-status{background:#ddefe4;color:#17633d}
.scan-play-checks li[data-check="attention"][data-state="done"] .scan-play-status{background:#ffe6e0;color:#93362c}
.scan-play-checks li[data-check="attention"][data-state="done"] .scan-play-status::before{content:"!"}
.scan-play-checks li[data-check="unknown"][data-state="done"] .scan-play-status{background:#eef0ed;color:#5a665a}
.scan-play-checks li[data-check="unknown"][data-state="done"] .scan-play-status::before{content:"–"}
.scan-play-result{font-size:.64rem;color:#576c5e;white-space:nowrap;opacity:0;transform:translateX(6px);transition:opacity .3s var(--ease),transform .3s var(--ease)}.scan-play-result::before{content:"·";margin-right:6px;color:#a3ada7}
.scan-play-checks li[data-check="attention"] .scan-play-result{color:#aa4936;font-weight:650}
.scan-play-checks li[data-state="done"] .scan-play-result{opacity:1;transform:none}
/* Placeholder under the run: shows where the report lands. */
.scan-play-ghost{margin-top:30px;padding-top:18px;border-top:1px dashed #d5dcd8}
.scan-play-ghost p{margin:0 0 12px;font-size:.62rem;color:#7a8680}
.scan-play-ghost span{display:block;height:9px;margin-bottom:9px;border-radius:5px;background:#eef0ed}
.scan-play-ghost span:nth-child(2){width:62%}.scan-play-ghost span:nth-child(3){width:84%}.scan-play-ghost span:nth-child(4){width:48%}.scan-play-ghost span:nth-child(5){width:70%}
/* Report reveal: only while a run is active, so the report is complete without JavaScript. */
.scan-visual.is-playing .scan-mock [data-reveal]{transition:opacity .5s var(--ease),transform .5s var(--ease);transition-delay:calc(var(--i,0)*90ms)}
.scan-visual.is-playing:not(.is-revealed) .scan-mock [data-reveal]{opacity:0;transform:translateY(12px);transition-delay:0s;transition-duration:.25s}
@keyframes scan-caret{50%{opacity:0}}
@keyframes scan-spin{to{transform:rotate(360deg)}}
@media(max-width:700px){.scan-play{padding:16px}.scan-play-title{font-size:1.25rem;margin-bottom:16px}.scan-play-input{min-height:40px;padding:0 11px;font-size:.7rem}.scan-play-button{min-height:40px;font-size:.72rem}.scan-play-checks li{font-size:.66rem;padding:8px 0}}
@media(prefers-reduced-motion:reduce){.scan-play{display:none}.scan-visual .scan-mock [data-reveal]{opacity:1;transform:none;transition:none}}
/* Het huidige rapportvoorbeeld heeft een leesbare, rustige eerste actie. */
.scan-visual .scan-mock-body{grid-template-columns:1fr}.scan-visual .scan-mock-counts span:first-child{background:#e3efdc;color:#375830}.scan-visual .scan-mock-finding{border-color:#d1dec6;border-left-color:#8dad60}.scan-visual .scan-mock-finding>span{color:#526d35;font-size:.7rem}.scan-visual .scan-mock-finding strong{font-size:.95rem}.scan-visual .scan-mock-finding p{font-size:.82rem}.scan-visual .scan-mock-unknown{font-size:.75rem}.scan-visual .scan-example-link{display:inline-block;margin-top:12px}
