/* One page scroll; buttons occupy their own space instead of covering choices. */
.builder .controls>.primary.wide{position:static!important;inset:auto!important;z-index:auto!important;box-shadow:none!important;margin-top:20px}
@media screen and (min-width:761px){
 .builder{height:auto!important;min-height:0!important;align-items:start!important}
 .builder>.controls{height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important}
 .builder>.stage{position:sticky;top:12px;align-self:start;height:auto!important;max-height:none!important;min-height:0!important;overflow:clip!important;padding:18px 20px!important;justify-content:flex-start!important;gap:0}
 .builder>.stage .book-fit-viewport{max-width:min(100%,max(320px,calc((100dvh - 310px)*1.4)))!important}
 .builder>.stage .stage-caption{margin:0 0 10px!important}
 .builder>.stage .pager{margin:12px auto 4px!important;padding:4px 12px!important;flex:none}
 .builder>.stage .dots{margin:4px 0!important}
 .builder>.stage .book-zoom-actions{margin:8px 0!important}
 .builder>.stage>label.consent{margin:10px 0 0!important}
 .builder>.stage>p.small{margin:6px 0 0!important}
}

/* Let the book use the full available column; keep tools compact. */
.builder .stage .book-zoom-actions,.organizer-preview .book-zoom-actions{margin:4px 0!important;gap:0;justify-content:center}
.builder .stage .book-zoom-actions button,.organizer-preview .book-zoom-actions button{font-size:11px!important;line-height:1.4!important;padding:5px 9px!important;min-height:30px!important;background:transparent;border-color:#cdd4c6;white-space:nowrap}
.builder .stage>.small:not(label){display:none}
.builder .stage>label.consent{font-size:10px!important;line-height:1.5!important;margin:6px 0 0!important;gap:5px}
.builder .stage .stage-caption{font-size:10px;line-height:1.4;letter-spacing:.04em;white-space:nowrap}
.builder .stage .dots{display:none}
.builder .stage .pager{width:auto!important;min-width:170px;max-width:100%;gap:14px!important;line-height:1.4}
@media screen and (min-width:761px){
 .builder>.stage{padding:10px 12px!important}
 .builder>.stage .book-fit-viewport{max-width:840px!important}
 .builder>.stage .pager{margin:8px auto 2px!important}
 .builder>.stage .stage-caption{margin-bottom:6px!important}
}

/* Cover copy uses its actual reserved area, without large percentage margins. */
.studio-copy{gap:2cqw;overflow-wrap:anywhere}
.studio-copy h2{margin:0!important;white-space:pre-wrap;line-height:1.4;flex-shrink:0;max-width:100%}
.studio-copy .studio-to{flex-shrink:0;max-width:100%;overflow-wrap:anywhere}
.studio-copy p{flex-shrink:0;max-width:100%;overflow-wrap:anywhere}
.studio-copy .studio-sender{padding-top:0;margin-top:auto;flex-shrink:0}
.cover-text-count{font-size:11px;color:#75806b;margin:4px 0 12px}
/* Reserve space for navigation instead of making the book fill the screen. */
@media screen and (min-width:761px){
 .builder>.stage .book-fit-viewport{max-width:min(840px,100%,max(240px,calc((100dvh - 170px)*1.4)))!important}
 .builder>.stage{top:8px;padding:8px 12px!important}
 .builder>.stage .pager{margin:6px auto 2px!important}
 .builder>.stage .book-zoom-actions{margin:2px 0!important}
 .builder>.stage>label.consent{margin:4px 0 0!important}
}

.nature-copy,.studio-copy{gap:2cqw;justify-content:center;overflow:hidden}
.nature-copy h2,.studio-copy h2{font-size:4cqw!important;line-height:1.5!important;letter-spacing:normal!important;white-space:pre-wrap;margin:0!important;flex:0 0 auto;max-width:100%;overflow-wrap:anywhere}
.nature-copy p,.studio-copy p{display:none!important}
.nature-copy .nature-sender,.studio-copy .studio-sender{padding:0!important;margin:0!important;font-size:2.5cqw;line-height:1.5;flex:0 0 auto}
.nature-to,.studio-to{font-size:3cqw!important;line-height:1.5;letter-spacing:normal;flex:0 0 auto}
