#next-guide {
  display: grid; grid-template-columns: minmax(0,1fr) 44px; align-items: center;
  margin-inline-start: auto; max-width: 28rem; min-width: 0; column-gap: 4px;
}
#next-guide[hidden], #next-guide .next-reopen, #next-guide.folded > :not(.next-reopen) { display: none; }
#next-guide.folded:not([hidden]) { display: block; }
#next-guide.folded .next-reopen { display: inline-flex; }
.next-go, .next-reopen, .next-close {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  color: var(--gold-light); border-radius: 6px;
}
.next-go { justify-self: start; gap: 8px; padding: 0 9px; text-align: start; background: var(--selection-surface); border: 1px solid var(--selection-line); }
.next-go strong { font-size: .93rem; line-height: 1.15; }
.next-kicker { font: 650 .71rem var(--mono, monospace); letter-spacing: .09em; }
.next-close { width: 44px; color: var(--muted); }
.next-close svg, .next-reopen svg { width: 16px; height: 16px; }
.next-reopen { gap: 6px; padding-inline: 8px; font-size: .83rem; }
.next-close:hover, .next-reopen:hover { background: var(--soft); color: var(--text); }
#next-detail { grid-column: 1/-1; color: var(--muted); font-size: .87rem; line-height: 1.35; margin-top: 2px; }
.next-target { outline: 2px solid var(--gold) !important; outline-offset: 2px; }
.next-help { margin-bottom: 16px; }
.next-help .checkrow { min-height: 44px; }
.next-help p { margin: 4px 0 8px; }
@media (max-width: 840px), (max-width: 960px) and (max-height: 500px) {
  .workspace-heading:has(#next-guide:not([hidden]):not(.folded)) {
    display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 0 4px;
  }
  .workspace-heading:has(#next-guide:not([hidden]):not(.folded)) > div:first-child { grid-row: 1; grid-column: 1; }
  .workspace-heading > #next-guide:not(.folded) { grid-row: 2; grid-column: 1; margin: 0; width: fit-content; max-width: 100%; }
  .workspace-heading > #next-guide:not(.folded) + .primary { grid-row: 1/3; grid-column: 2; }
  #next-guide .next-go { padding-inline: 7px; gap: 5px; }
  #next-detail { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (min-width: 560px) and (max-width: 840px), (min-width: 560px) and (max-width: 960px) and (max-height: 500px) {
  .workspace-heading:has(#next-guide:not([hidden])) { grid-column: 1/-1; }
  main:has(#next-guide:not([hidden])) > #album-strip { grid-column: 1/-1; }
}

#review-export {
  flex: 0 0 auto;
  min-height: 44px;
  white-space: nowrap;
}
.export-caption { display: grid; justify-items: start; gap: 1px; }
#export-next { font-size: .63rem; line-height: 1; }
@media (min-width: 841px) and (max-width: 1180px) {
  .workspace-heading { gap: 16px; }
  .workspace-heading > div:first-child { min-width: 0; }
  #next-guide { max-width: 22rem; }
}
@media (min-width: 560px) and (max-width: 840px), (min-width: 560px) and (max-width: 960px) and (max-height: 500px) {
  .workspace-heading, main > #album-strip { grid-column: 1/-1; }
}
@media (max-width: 559px) {
  .workspace-heading { display: grid; grid-template-columns: minmax(0,1fr) auto; }
  .workspace-heading > div:first-child { grid-area: 1/1; }
  .workspace-heading > #review-export { grid-area: 1/2; justify-self: end; }
  .workspace-heading > #next-guide:not([hidden]) { grid-column: 1/-1; grid-row: 2; margin: 0; }
  .workspace-heading > #next-guide:not(.folded) + #review-export { grid-area: 1/2; }
}
