.confirmation-dialog { width:min(540px,calc(100% - 32px)); max-height:calc(100dvh - 40px); overflow-y:auto; border:1px solid var(--border); border-radius:16px; padding:28px; color:#f0f4fc; background:#071c40; }
.confirmation-dialog::backdrop { background:#020816b8; }
.confirmation-dialog h2 { margin:0 0 18px; font:600 1.3rem/1.35 "Segoe UI",Arial,sans-serif; text-transform:none; overflow-wrap:anywhere; }
.confirmation-dialog p,.confirmation-dialog li { font-size:1rem; line-height:1.6; overflow-wrap:anywhere; }
.confirmation-dialog .confirmation-context { color:var(--emerald); font-weight:600; white-space:pre-line; }
.confirmation-dialog .action-links { display:flex; gap:12px; flex-wrap:wrap; margin-top:24px; }
.confirmation-dialog .action-links button { white-space:normal; }
.confirmation-dialog > p[id$="-message"] { white-space:pre-line; }
@media(max-width:480px) { .confirmation-dialog { padding:22px; } }

/* Same modal interaction as earlier workshop steps, with a child-friendly journey. */
.participant-page .participant-desk .workshop-step-confirmation { box-sizing:border-box; width:min(600px,calc(100% - 24px)); padding:30px; border:2px solid #2bd8cb; border-radius:24px; background:radial-gradient(ellipse at 100% 0,#13527b88,transparent 65%),#071c40; box-shadow:0 24px 100px #0009; }
.workshop-step-confirmation::backdrop { background:#00102cbb; backdrop-filter:blur(5px); }
.participant-page .participant-desk .workshop-step-confirmation h2 { font:800 clamp(1.5rem,4vw,2rem)/1.2 var(--workshop-heading,"Segoe UI",sans-serif); color:#fff; margin:0 0 14px; }
.participant-page .participant-desk .workshop-step-confirmation p { font-size:1rem; line-height:1.55; color:#c6daef; margin:0; }
.workshop-step-journey { display:grid; gap:10px; list-style:none; padding:0; margin:24px 0 18px; }
.workshop-step-journey li { display:flex; align-items:center; gap:14px; padding:15px; border:1px solid #27618b; border-radius:14px; background:#0c2a50; }
.workshop-step-journey li:last-child { border-color:#2bd8cb; background:#07434e; }
.workshop-step-journey li > span { display:grid; place-items:center; flex:none; width:42px; height:42px; border-radius:50%; background:#214c78; color:#fff; font-size:1.3rem; font-weight:800; }
.workshop-step-journey li:last-child > span { background:#21e0cf; color:#042541; }
.workshop-step-journey li > div { flex:1; min-width:0; }
.workshop-step-journey small { display:block; color:#a9c7e0; font-size:.8rem; line-height:1.4; }
.workshop-step-journey strong { display:block; color:#fff; font-size:1.1rem; }
.workshop-step-journey b { color:#30e0cf; font-size:1.5rem; }
.workshop-step-tip { display:flex; gap:12px; align-items:flex-start; padding:15px; border-radius:14px; background:#173451; }
.workshop-step-tip > span { font-size:1.5rem; }
.workshop-step-confirmation > p + .workshop-step-tip { margin-top:20px; }
.participant-page .participant-desk .workshop-step-confirmation .workshop-step-timing { font-size:.85rem; margin-top:16px; color:#a7c3df; }
.workshop-step-confirmation .action-links { display:grid; grid-template-columns:1fr; gap:10px; }
.participant-page .participant-desk .workshop-step-confirmation .action-links button { width:100%; min-height:48px; margin:0; padding:12px 18px; border-radius:12px; font-size:1rem; font-weight:700; }
.participant-page .participant-desk .workshop-step-confirmation .button-secondary { background:#082647; border:1px solid #4b8bb7; color:#d4e6f8; }
.participant-page .participant-desk .runner-pitch-next { display:flex; flex-wrap:wrap; align-items:center; gap:16px; }
.runner-pitch-icon { display:grid; place-items:center; flex:none; width:48px; height:48px; border-radius:16px; background:#ffd43b; color:#07324e; font-size:1.8rem; transform:rotate(-8deg); }
.runner-pitch-next > div { flex:1 1 240px; }
.runner-pitch-next strong { display:block; color:#fff; font-size:1.2rem; }
.participant-page .participant-desk .runner-pitch-next p { margin:6px 0 0; color:#c0d9ee; line-height:1.5; }
.participant-page .participant-desk .runner-pitch-next button { min-height:48px; margin:0; }
@media(max-width:480px) {
 .participant-page .participant-desk .workshop-step-confirmation { padding:22px 18px; }
 .workshop-step-journey li { padding:12px; gap:10px; }
 .workshop-step-journey strong { font-size:1rem; }
 .participant-page .participant-desk .runner-pitch-next button { width:100%; }
}
