/* Local preview: one active work area and a useful way to leave. */
.progress-workspace { display:grid; grid-template-columns:minmax(0, 1fr) 320px; align-items:start; gap:32px; margin-top:32px; }
.progress-visual { min-width:0; }
.audit-page #progress > h1 { margin-top:12px; }
.audit-page #progress .progress-tools { margin-top:0; }
.audit-page .research-network { aspect-ratio:1000 / 580; margin-top:32px; }
.audit-page .network-core { width:116px; gap:8px; }
.audit-page .network-core > span { font-size:.5rem; }
.audit-page .network-node { width:70px; gap:6px; font-size:.5625rem; }
.audit-page .node-icon { width:42px; height:42px; }
.audit-page .node-icon img,.audit-page .node-icon svg { width:21px; height:21px; }
.audit-page .stage-list { grid-template-columns:1fr; margin:28px 0 16px; gap:0; }
.audit-page .stage-list li { padding:12px 10px; transition:color 220ms cubic-bezier(.22,1,.36,1),background-color 220ms cubic-bezier(.22,1,.36,1); }
.audit-page .stage-list [data-state="running"] { border-color:var(--oxblood); color:var(--oxblood); }
.audit-page .stage-list [data-state="complete"] { color:var(--ink); }
.audit-page .stage-list [data-state="complete"]::before { content:'✓'; color:var(--oxblood); border-color:var(--line); }
.audit-page .stage-list [data-state="complete"] .stage-live { visibility:visible; color:var(--muted); }
.audit-page .stage-list [data-state="complete"] .stage-live::before { display:none; }
.audit-page .stage-list [data-state="running"] .stage-live { visibility:visible; }
.audit-page .stage-list [data-state="waiting"] .stage-live { visibility:visible; color:var(--muted); }
.audit-page .stage-list [data-state="waiting"] .stage-live::before { display:none; }
.audit-page .stage-list [aria-current="step"] { background:color-mix(in srgb,var(--blue) 28%,transparent); }
.research-network[data-current-stage="compiling_report"] .network-node { opacity:.5; }
.research-network[data-current-stage="compiling_report"] .network-trails { stroke:var(--blue-ink); }
.progress-visual #progress-return-note { font-size:.75rem; margin:20px 0 8px; }
.audit-page #copy-progress,.audit-page #new-audit { font-size:.75rem; min-height:44px; padding:8px 12px; margin:8px 4px 0 0; }
.audit-page .delivery-panel { position:relative; display:grid; grid-template-columns:1fr; text-align:left; gap:16px; border:1px solid var(--line); padding:28px 24px 24px; margin:20px 0 0; background:var(--paper); }
.delivery-panel > div > .eyebrow { position:absolute; top:0; transform:translateY(-100%); left:-1px; border:1px solid var(--line); border-bottom:0; padding:5px 16px; margin:0; background:var(--paper); font-size:.625rem; }
.audit-page .delivery-panel h2 { font-size:1.65rem; line-height:1.3; margin:0 0 14px; }
.audit-page .delivery-panel p:not(.eyebrow) { margin:0; }
.audit-page .delivery-panel form { gap:12px; }
.audit-page .delivery-panel input[type="email"] { border-radius:0; min-height:50px; }
.audit-page .delivery-panel form button { width:100%; padding:13px 14px; border-radius:0; min-height:50px; }
.audit-page .delivery-panel .note { font-size:.6875rem; line-height:1.7; }
.delivery-panel a { text-decoration:underline; text-underline-offset:3px; }
.audit-page .delivery-panel .email-spam-note { padding-top:12px; border-top:1px solid var(--line); color:var(--ink); font-weight:600; overflow-wrap:anywhere; }
.audit-page .delivery-panel[data-saved="true"] { border-color:var(--oxblood); }
.delivery-panel[data-saved="true"] h2::before { content:'✓ '; color:var(--oxblood); }
.audit-page .delivery-panel[data-saved="true"] #email-terms,.audit-page .delivery-panel[data-saved="true"] #email-consent { display:none; }
body[data-audit-view="report"] .delivery-panel { max-width:680px; margin:48px auto 0; }
#stage-focus[data-change="true"] { animation:activity-arrive 300ms cubic-bezier(.22,1,.36,1) both; }
#progress[data-running="false"] .stage-list .stage-live::before { animation:none; }
@keyframes activity-arrive { from { opacity:.4;transform:translateY(4px); } to { opacity:1;transform:translateY(0); } }
@media(max-width:800px) {
 .progress-workspace { grid-template-columns:minmax(0,1fr) 280px; gap:20px; }
 .audit-page .delivery-panel { padding:24px 18px; }
 .audit-page .network-core { width:102px; }
}
@media(max-width:680px) {
 .progress-workspace { display:flex; flex-direction:column; gap:32px; margin-top:32px; }
 #progress-email-slot { order:0; width:100%; }
 .progress-visual { order:1; width:100%; }
 .audit-page .research-network { aspect-ratio:1; max-width:460px; }
 .audit-page .delivery-panel { margin-top:12px; padding:24px 20px; }
 .audit-page .delivery-panel h2 { font-size:1.5rem; }
 .audit-page .stage-list li { font-size:.75rem; }
 .audit-page #progress h1 { font-size:2rem; }
}
@media(prefers-reduced-motion:reduce) {
 #stage-focus[data-change="true"] { animation:none; }
 .audit-page .stage-list li { transition:none; }
}
.waitlist-confirmation { margin: 0 0 28px; padding: 14px 18px; border: 1px solid currentColor; color: #641e23; font-size: 14px; line-height: 1.7; }
