.work > header,.work > .topbar {position:sticky;top:0;z-index:12}
#status,#context {display:block;margin-inline-start:auto;text-align:right;overflow-wrap:anywhere;font-weight:650;color:#295344}
.guide-index,.paper-years,.guide-flow {display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}
.guide-index {margin:1rem 0 1.5rem}
.guide-index a,.guide-flow li {background:#e9f2ed;color:#24523f;border-radius:.4rem;padding:.4rem .75rem}
.guide-index a {text-underline-offset:.2em}
.guide-section {scroll-margin-top:7rem;margin-bottom:1rem}
.guide-section figure {margin:1rem 0}
.guide-section figcaption {color:#4d6257;font-size:.85rem}
.guide-flow {padding:0;margin:.35rem 0;list-style:none}
.guide-flow li+li::before {content:"→";margin-right:.6rem}
.guide-example {border-left:3px solid #a8c3aa;padding-left:.75rem}
.paper-years {border:0;margin:0 0 .85rem;padding:0}
.paper-years legend {margin-bottom:.4rem;font-weight:650}
.paper-years button[aria-pressed=true] {background:#245840;color:white;border-color:#245840}
.choice-hint {position:fixed;z-index:1500;max-width:min(24rem,calc(100vw - 16px));padding:.5rem .75rem;background:#183d30;color:white;border-radius:.4rem;pointer-events:none;font-size:.88rem;line-height:1.45}
@media(max-width:760px){
  .work > header,.work > .topbar {top:var(--student-menu-height,0px);gap:.4rem;align-items:center}
  #status,#context {flex:0 1 auto;min-width:0;font-size:.76rem}
  .work header #crumb,.work header .workspace-trail {min-width:0;flex:1 1 25%}
}

.choice-help {margin:.65rem 0 1rem;color:#345647}
.choice-help summary {cursor:pointer;width:fit-content;text-decoration:underline;text-underline-offset:.2em}
.choice-help ul {margin:.5rem 0;padding:.7rem 1rem .7rem 2rem;background:#edf3ed;border-radius:.5rem}
.guide-photo {margin-top:.8rem;width:100%;border:1px solid #d3dfd6;border-radius:.4rem;background-size:contain;background-position:center;background-repeat:no-repeat}
.guide-photo-years {max-width:516px;aspect-ratio:516/58;background-image:url('./guide-years.webp')}
.guide-photo-timer {max-width:516px;aspect-ratio:516/121;background-image:url('./guide-timer.webp')}
.guide-photo-books {max-width:558px;aspect-ratio:558/127;background-image:url('./guide-books.webp')}
@media(max-width:760px){
  .layout:has(.work > header) {display:flex;flex-direction:column}
  .layout .work:has(> header) {display:contents}
  .layout .work > header {order:-2}
  .layout > .sidebar {order:-1}
}
