/* small runtime helpers: no external requests, safe rendering */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.stack { display:grid; gap:14px; }
.row { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.spread { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; align-items:center; }
.mt { margin-top:16px; } .mb { margin-bottom:16px; }
.progress-track { height:12px; border-radius:999px; background:rgba(11,45,91,.1); overflow:hidden; }
.progress-fill { height:100%; width:0; background:linear-gradient(90deg,var(--ei-turquoise),var(--ei-saffron)); transition:width .4s ease; }
.stage-list { list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.stage { display:grid; grid-template-columns:52px 1fr auto; gap:10px; align-items:center; padding:10px 14px; border-radius:14px; background:rgba(255,255,255,.62); border:1px solid var(--ei-border); }
.sid { font-family:ui-monospace,monospace; color:var(--ei-text-muted); }
.result-card { display:grid; gap:10px; padding:18px; border-radius:var(--radius-lg); background:rgba(255,255,255,.78); border:1px solid var(--ei-border); box-shadow:var(--shadow-soft); }
.result-card h3 { margin:0; }
.chip { display:inline-flex; gap:4px; padding:2px 9px; border-radius:999px; background:rgba(0,191,166,.12); color:#0a5c50; font-size:.78rem; }
.score { font-weight:800; color:var(--ei-navy); }
.source-line { display:flex; gap:10px; flex-wrap:wrap; color:var(--ei-text-muted); font-size:.82rem; }
.empty { text-align:center; padding:36px 18px; color:var(--ei-text-muted); }
