:root{--ink:#12243d;--muted:#405777;--line:#cbd9e7;--base:#f1f5f9;--paper:#fff;--blue:#24517b;--orange:#fb9757}
*{box-sizing:border-box}
body{margin:0;background:var(--base);color:var(--ink);font:1rem/1.55 system-ui,-apple-system,"Segoe UI",sans-serif}
[hidden], [data-view=project] [data-rp-show]:not([data-rp-show~=project]), [data-view=print] [data-rp-show]:not([data-rp-show~=print]), [data-view=a] [data-rp-show]:not([data-rp-show~=a]), [data-view=b] [data-rp-show]:not([data-rp-show~=b]){display:none!important}
.rp-wrap{max-width:68rem;margin:0 auto;padding:clamp(.7rem,2.6vw,1.6rem)}
.rp-wrap:fullscreen{max-width:none;overflow:auto;background:var(--base);padding-inline:max(1rem,calc((100vw - 68rem)/2))}
.rp-wrap[data-view=a],.rp-wrap[data-view=b]{max-width:44rem}
.rp-wrap[data-view=print]{max-width:54rem}
.rp-nav,.rp-nav div,.rp-controls,.rp-links{display:flex;align-items:center;flex-wrap:wrap;gap:.4rem .75rem}
.rp-nav{justify-content:space-between;margin-bottom:.7rem;font-size:.9rem}
.rp-wrap a{color:var(--blue);text-underline-offset:.19em}
.rp-wrap :focus-visible{outline:3px solid #2c70ae;outline-offset:2px}
.rp-hero,.rp-project,.rp-sheets{background:var(--paper);border:1px solid var(--line);border-radius:.85rem;padding:clamp(.9rem,2.5vw,1.6rem)}
.rp-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:.55rem 1rem;margin-bottom:.75rem}
.rp-hero h1{font-size:clamp(1.7rem,4vw,2.7rem);line-height:1.08;letter-spacing:-.035em;margin:.2rem 0 .43rem}
.rp-intro{max-width:64ch;margin:0;color:var(--muted)}
.rp-eyebrow{margin:0;color:#8a4117;font-weight:830;font-size:.78rem;letter-spacing:.08em}
.rp-badge{background:#eaf2fa;color:#234968;font-size:.85rem;font-weight:760;padding:.3rem .48rem;border-radius:.34rem;white-space:nowrap;margin:.1rem 0 0}
.rp-stage{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.6rem 1rem;align-items:center;background:#eaf2f9;border-inline-start:4px solid #5581ad;border-radius:.47rem;padding:.65rem .8rem}
.rp-stage h2{font-size:clamp(1.2rem,3.4vw,1.85rem);line-height:1.15;margin:.18rem 0 .2rem}
.rp-stage div>p:last-child{font-size:clamp(1rem,2vw,1.27rem);line-height:1.4;margin:0}
.rp-clock{font-variant-numeric:tabular-nums;min-width:3.4ch;text-align:center;white-space:nowrap;font-size:clamp(1.6rem,5vw,3.8rem);font-weight:810;line-height:1.2;background:var(--ink);color:white;padding:.22rem .5rem;border-radius:.45rem}
.rp-wrap button,.rp-links a{border:1px solid #879eb1;background:white;border-radius:.45rem;min-height:44px;padding:.42rem .66rem;color:var(--ink);font:inherit;font-weight:750;line-height:1.2}
.rp-wrap button{cursor:pointer}
.rp-wrap button:hover,.rp-links a:hover{background:#edf4fb}
.rp-wrap button:disabled{opacity:.53;cursor:default}
.rp-wrap button.rp-primary{background:var(--orange);border-color:#a75022}
.rp-wrap button.rp-primary:hover{background:#ffbd92}
.rp-links a{display:inline-flex;align-items:center;text-decoration:none}
.rp-controls{margin:.6rem 0 .77rem}
.rp-controls [role=status]{color:var(--blue);font-weight:670;font-size:.86rem}
.rp-controls [role=status]:empty{display:none}
.rp-help{background:#ffe2cb;border:1px solid #eab38b;border-inline-start:4px solid #e07737;color:#372218;border-radius:.45rem;padding:.53rem .74rem;margin:0 0 .8rem}
.rp-help h2,.rp-share h2,.rp-teacher-note h2{margin:0;font-size:1.02rem}
.rp-help ul{display:flex;gap:.3rem .8rem;flex-wrap:wrap;list-style:none;padding:0;margin:.27rem 0 .05rem}
.rp-share{border-top:1px solid var(--line);padding-top:.7rem}
.rp-small,.rp-foot{font-size:.87rem;color:var(--muted);margin:.23rem 0 .53rem}
.rp-foot{margin:.55rem 0 0}
.rp-cut-note{margin:0 0 .52rem;color:var(--muted)}
.rp-role{margin:0;padding:.7rem .85rem;border:1px solid var(--line);border-radius:.5rem}
.rp-role-a{border-inline-start:4px solid #5581ad}
.rp-role-b{border-inline-start:4px solid #d9723a}
.rp-role h2{font-size:clamp(1.25rem,3vw,1.6rem);margin:.1rem 0 .43rem;line-height:1.2}
.rp-role p:not(.rp-eyebrow){margin:.27rem 0 .43rem}
.rp-role ul{margin:.4rem 0 .55rem;padding-inline-start:1.3rem}
.rp-role li+li{margin-top:.25rem}
[data-view=print] .rp-role-b{margin-top:1rem;border-top:2px dashed #8ba1b2}
.rp-teacher-note{padding:.6rem .72rem;border:1px solid var(--line);background:#f5f8fb;border-radius:.43rem;margin-top:.75rem}
.rp-teacher-note p{margin:.2rem 0}
@media(max-width:540px){.rp-hero{flex-direction:column}.rp-stage{align-items:start;padding:.55rem .64rem}.rp-stage h2{font-size:1.2rem}.rp-stage div>p:last-child{font-size:.97rem}}
@page{size:A4;margin:13mm}
@media print{
 body{background:white;color:#142338;font-size:10.6pt}
 .rp-wrap{max-width:none!important;padding:0}
 .rp-nav,.rp-project{display:none!important}
 .rp-hero,.rp-sheets{padding:0;border:0;margin:0 0 .62rem}
 .rp-hero h1{font-size:22pt}
 .rp-badge{padding:0;background:transparent}
 .rp-role,.rp-teacher-note{break-inside:avoid}
 .rp-role{padding:.48rem .6rem}
 .rp-role h2{font-size:14pt}
 .rp-teacher-note{background:#fff}
}
