/* Participant orientation uses full screens; researcher field excerpts are separate. */
.participant-guide{--participant-phone-width:300px;--participant-compact-width:270px;--participant-screen-gap:28px}
.participant-guide .participant-phone{width:100%;max-width:var(--participant-phone-width);min-width:0;margin:0 auto}
.participant-guide .participant-phone--compact{max-width:var(--participant-compact-width)}
.participant-guide .participant-phone img{max-height:none;width:100%;height:auto;object-fit:contain}
.participant-guide .participant-phone .annotated-screen{border-radius:8px}
.participant-step{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,var(--participant-phone-width));gap:var(--participant-screen-gap);align-items:start;margin:24px 0 30px}
.participant-step>div{min-width:0}
.participant-screens{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--participant-screen-gap);align-items:start;max-width:720px;margin:25px auto 32px}
.participant-setting{border-top:1px solid var(--line);padding:17px 0;margin:0}
.participant-setting>summary{cursor:pointer;font-size:16px;font-weight:650;line-height:1.6}
.participant-setting[open]>summary{margin-bottom:20px}
.participant-setting>summary:focus-visible{outline:2px solid var(--focus);outline-offset:4px}
@media(max-width:700px){.participant-step,.participant-screens{grid-template-columns:minmax(0,1fr);gap:24px}.participant-step{margin-top:18px}.participant-guide .participant-phone{max-width:min(100%,var(--participant-phone-width))}.participant-guide .participant-phone--compact{max-width:min(100%,var(--participant-compact-width))}}
@media print{.participant-guide{--participant-phone-width:250px;--participant-compact-width:250px}.participant-step{grid-template-columns:minmax(0,1fr) 250px}.participant-screens{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:550px}.participant-guide .participant-phone img{max-height:none;height:auto}.participant-guide .participant-phone{display:block;margin:0 auto;break-inside:avoid}.participant-setting{break-inside:auto}.participant-step,.participant-screens{break-inside:auto}}

.participant-screen-image{display:block;position:relative;line-height:0}
.participant-pointer{position:absolute;left:var(--pointer-x);top:var(--pointer-y);width:3px;height:30px;transform:translate(-50%,-100%);background:var(--participant-pointer-color);pointer-events:none;filter:drop-shadow(0 0 1px var(--participant-pointer-halo))}
.participant-pointer::after{content:'';position:absolute;left:50%;bottom:-1px;transform:translateX(-50%);border-left:6px solid transparent;border-right:6px solid transparent;border-top:9px solid var(--participant-pointer-color)}
.participant-pointer--up{transform:translate(-50%,0)}
.participant-pointer--up::after{top:-1px;bottom:auto;border-top:0;border-bottom:9px solid var(--participant-pointer-color)}
@media print{.participant-pointer{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
