/* Standalone shell; article typography and artwork use the existing Script CSS. */
html { color-scheme: light; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: #111; }
.ld-script-standalone { min-height: 100vh; font-family: "Helvetica Neue", "Hiragino Sans", "Yu Gothic", sans-serif; }
.ld-script-standalone .script-masthead { position: sticky; top: 0; z-index: 10; background: #fff; }
.location-deck-preview.ld-script-standalone > header.script-masthead > div.script-masthead-inner { display: flex; align-items: center; width: calc(100% - 40px); height: 60px; margin-inline: auto; padding: 0; }
.ld-script-standalone .script-brand { display: block; flex: none; width: 128px; height: auto; filter: brightness(0); }
.script-project-name { margin-left: auto; white-space: nowrap; color: #000; font-size: 12px; font-weight: 600; line-height: 13px; letter-spacing: .3px; }
.ld-script-standalone .script-reader-content { display: contents; }
.ld-script-standalone .ld-back-navigation { padding-top: 36px; }
.script-reader-status, .script-reader-retry { width: calc(100% - 40px); max-width: 576px; margin: 0 auto 24px; font-size: 14px; line-height: 27px; }
.script-reader-retry { width: auto; min-height: 44px; padding: 8px 16px; border: 1px solid #ccc; border-radius: 4px; }
.script-reader-retry:focus-visible { outline: 2px solid #111; outline-offset: 3px; }
[hidden] { display: none !important; }
@media (min-width: 761px) {
 .location-deck-preview.ld-script-standalone > header.script-masthead > div.script-masthead-inner { width: min(1024px, calc(100% - 64px)); height: 72px; }
 .ld-script-standalone .script-brand { width: 144px; transform: translate(2px, .5px); }
}

.ld-script-standalone .ld-script-content > .ld-script-chapter:last-child { padding-bottom: 32px; border-bottom: 1px solid #e5e5e5; }
