:root { --ps-ink:#142641; --ps-muted:#435873; --ps-paper:#fff; --ps-bg:#f2f5f8; --ps-line:#cfdbe8; --ps-blue:#204d77; --ps-orange:#f8904d; }
* { box-sizing:border-box }
body { margin:0; background:var(--ps-bg); color:var(--ps-ink); font:1rem/1.55 system-ui,-apple-system,"Segoe UI",sans-serif }
[hidden] { display:none!important }
.ps-top,.ps-app { max-width:67rem; margin:0 auto; padding:clamp(.65rem,2.5vw,1.65rem) }
.ps-top { padding-bottom:0; display:flex; gap:.55rem 1rem; justify-content:space-between; flex-wrap:wrap; font-size:.91rem }
.ps-top nav { display:flex; flex-wrap:wrap; gap:.45rem }
html[data-pelab-player] .ps-top { display:none }
.ps-app a,.ps-top a { color:var(--ps-blue); text-underline-offset:.2em }
.ps-app :focus-visible,.ps-top :focus-visible { outline:3px solid #246dae; outline-offset:3px }
.ps-card { background:var(--ps-paper); border:1px solid var(--ps-line); border-radius:.85rem; padding:clamp(1rem,2.9vw,2.15rem); margin:0 0 .75rem; box-shadow:0 8px 28px #1426410b }
.ps-eyebrow { margin:0; color:#93410d; text-transform:uppercase; letter-spacing:.09em; font-size:.77rem; font-weight:800 }
.ps-app h1 { font-size:clamp(1.65rem,4.5vw,3rem); line-height:1.08; letter-spacing:-.035em; margin:.45rem 0 .55rem }
.ps-app h2 { font-size:clamp(1.23rem,3.2vw,1.8rem); line-height:1.16; margin:0 }
.ps-app h3 { font-size:1.07rem; line-height:1.25; margin:.5rem 0 }
.ps-app p { margin:.52rem 0 }
.ps-theme { font-size:clamp(1.1rem,2vw,1.32rem); font-weight:720 }
.ps-lede,.ps-small { color:var(--ps-muted); max-width:64ch }
.ps-small { font-size:.9rem }
.ps-facts,.ps-progress { list-style:none; margin:.9rem 0; padding:0; display:flex; gap:.4rem; flex-wrap:wrap }
.ps-facts li,.ps-progress li { padding:.3rem .56rem; background:#e9f0f7; color:#214a72; border-radius:.32rem; font-size:.84rem; font-weight:740 }
.ps-progress { margin-top:0 }
.ps-progress [aria-current] { background:var(--ps-ink); color:#fff }
.ps-app fieldset { margin:1rem 0; padding:.55rem .8rem; border:1px solid var(--ps-line); border-radius:.5rem; min-width:0 }
.ps-app legend { font-weight:760; padding-inline:.25rem }
.ps-choices label,.ps-checklist label { display:flex; align-items:flex-start; gap:.5rem; padding:.42rem .25rem; cursor:pointer; min-height:2.7rem }
.ps-choices input,.ps-checklist input { margin:.32rem 0 0; width:1rem; height:1rem; flex:none; accent-color:var(--ps-blue) }
.ps-actions,.ps-work-head,.ps-timers { display:flex; align-items:center; gap:.5rem .85rem; flex-wrap:wrap }
.ps-work-head { justify-content:space-between }
.ps-timers { justify-content:flex-end }
.ps-timers div { display:flex; align-items:center; gap:.35rem; color:var(--ps-muted); font-size:.83rem }
.ps-timers output { display:inline-block; min-width:3.35rem; text-align:center; font-size:1.11rem; font-weight:800; font-variant-numeric:tabular-nums; color:#fff; background:var(--ps-ink); padding:.22rem .45rem; border-radius:.36rem }
.ps-timers [data-ps-prep-clock] { color:var(--ps-ink); background:#fde4cd }
.ps-actions { margin:.85rem 0 .1rem }
.ps-app button { min-height:2.75rem; border-radius:.47rem; border:1px solid #9aadc1; padding:.43rem .75rem; background:#fff; color:var(--ps-ink); font:inherit; line-height:1.26; font-weight:740; cursor:pointer }
.ps-app button:hover { background:#e9f2fa }
.ps-app .ps-primary { background:var(--ps-orange); border-color:#ae4b17 }
.ps-app .ps-primary:hover { background:#ffbb90 }
.ps-app .ps-cue { margin-top:.75rem; background:#edf4fb; border-inline-start:.25rem solid #5d8db6; border-radius:.4rem; padding:.6rem .8rem }
.ps-cue p { font-size:clamp(1.05rem,2.3vw,1.24rem); font-weight:660; line-height:1.4 }
.ps-cue p:empty,.ps-status:empty { display:none }
.ps-cue h3 { margin:.17rem 0; color:var(--ps-blue) }
.ps-role { margin-top:.7rem; background:#fff5e9; border:1px solid #efc699; border-radius:.52rem; padding:.7rem .95rem }
.ps-role p:last-child { font-weight:680 }
.ps-photo-block { margin-top:.7rem }
.ps-photos { background:#eaf0f5; overflow:auto; border-radius:.55rem; scrollbar-color:#7394b3 #eaf0f5; overscroll-behavior-inline:contain }
.ps-photo-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.5rem; width:100% }
.ps-photo-grid img { width:100%; height:auto; display:block; border-radius:.5rem; background:#dde7ef }
.ps-zoom { display:flex; align-items:center; gap:.5rem; flex-wrap:wrap; margin:.45rem 0; font-size:.9rem; color:var(--ps-muted) }
.ps-zoom input { accent-color:var(--ps-blue); min-width:6rem; min-height:2.75rem; flex:0 1 11rem }
.ps-zoom output { font-variant-numeric:tabular-nums; font-weight:750 }
.ps-status { color:#22577e; font-weight:720 }
.ps-checklist { margin:.6rem 0 }
.ps-checklist label + label { border-top:1px solid #dce6ef }
.ps-checklist strong { display:block }
.ps-app [data-ps-examiner] > p { color:var(--ps-muted); margin:.65rem 0 1rem }
.ps-app [data-ps-examiner] li { margin:.4rem 0 }
@media (max-width:500px) {
 .ps-timers { justify-content:flex-start }
 .ps-work-head { align-items:flex-start; flex-direction:column }
 .ps-app .ps-card { padding:.8rem }
 .ps-photo-grid { gap:.28rem }
 .ps-zoom input { min-width:5.5rem; flex:1 }
 .ps-app .ps-cue { padding:.5rem .65rem }
}
@media print {
 :root,body { background:#fff }
 .ps-no-print,.ps-top { display:none!important }
 .ps-app { padding:0 }
 .ps-app .ps-card { box-shadow:none; break-inside:avoid }
 .ps-app [data-ps-examiner] .ps-photo-grid { max-width:28rem }
}
.ps-choices small { display:block; color:var(--ps-muted); font-size:.9rem }
