/* V1.1 mobile viewport correction. Desktop book remains unchanged. */
@media(max-width:767px){
 :root{--pad:20px;--reader-header:48px;--reader-nav:46px}
 .reader{height:100vh;height:var(--reader-height,100dvh);max-height:none;width:100%;max-width:none;margin:0;display:grid;grid-template-rows:var(--reader-header) minmax(0,1fr) var(--reader-nav);padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);overflow:hidden}
 .reader-head{height:var(--reader-header);min-height:0;padding:2px 16px;position:relative;z-index:5;flex-shrink:0;background:#0b1922}
 .brand{gap:8px}.brand img{width:30px;height:30px}.brand span{font-size:13px;line-height:1.25}.brand small{font-size:7px;margin-top:3px;letter-spacing:.12em}
 .reader-head button{height:44px;min-height:44px;padding:4px 11px;font-size:12px;border-color:#b4935e44;background:transparent}.reader-head button span{margin-left:7px}
 .book{min-height:0;height:100%;width:100%;overflow:hidden;position:relative;isolation:isolate}.page-stack{height:100%;min-height:0}
 .book-page{padding:18px var(--pad) 16px;scroll-padding-top:18px;scrollbar-width:thin}.page-content{min-height:0;width:100%;max-width:none;margin:0}
 .reader-nav{height:var(--reader-nav);min-height:0;padding:0 12px;gap:12px;position:relative;z-index:5;align-items:center;overflow:hidden}
 .reader-nav>button{min-height:44px;height:44px;min-width:68px;padding:0 5px;font-size:19px}.reader-nav>button span{font-size:11px}.position{width:112px}.position span{font-size:10px}.progress-track{height:1px;margin-top:4px}
 .swipe-hint{bottom:clamp(36px,12%,78px);font-size:11px;padding:8px 15px;opacity:1;transition:opacity .18s ease;z-index:4}.swipe-hint.is-leaving{opacity:0}.swipe-hint[hidden]{display:none}
 .book-page h1{font-size:27px;line-height:1.3;margin-bottom:14px}.eyebrow{margin-bottom:8px}.chapter-image{height:clamp(130px,22vh,195px);margin-bottom:14px}.page-signature{margin-top:14px;padding-top:8px}
 .cover h1{font-size:39px}.cover .chapter-image{width:calc(100% + 40px);margin:13px -20px;height:auto;max-height:clamp(155px,29vh,250px)}.cover-copy{font-size:20px;margin-top:17px!important}.cover-copy em{font-size:29px}.cover .legal{margin-bottom:12px}.video-button{min-height:44px;font-size:13px;padding:8px 13px}
 .book-page[data-density="compact"]{padding-top:14px;padding-bottom:12px}
 .book-page[data-density="compact"] h1{font-size:24px;line-height:1.28;margin-bottom:10px}
 .book-page[data-density="compact"] .eyebrow{font-size:9px;letter-spacing:.08em;margin-bottom:6px}
 .book-page[data-density="compact"] .chapter-image{height:112px;margin-bottom:10px}
 .book-page[data-density="compact"] .copy{font-size:14px;line-height:1.45}
 .book-page[data-density="compact"] .facts{gap:7px}
 .book-page[data-density="compact"] .fact{padding:7px 10px}
 .book-page[data-density="compact"] .fact b{font-size:14px;line-height:1.4}
 .book-page[data-density="compact"] .fact p{font-size:13px;line-height:1.45;margin-top:2px}
 .book-page[data-density="compact"] .note{font-size:11px;line-height:1.45;margin-top:8px!important}
 .book-page[data-density="compact"] .page-signature{margin-top:9px;padding-top:6px;font-size:7px}
 .book-page[data-density="compact"] .hero-number{padding:1px 0 10px}
 .book-page[data-density="compact"] .hero-number strong{font-size:59px}
 .book-page[data-density="compact"] .hero-number>p{margin-top:5px;font-size:12px}
 .book-page[data-density="compact"] .table-wrap{margin:5px 0 10px}
 .book-page[data-density="compact"] table{font-size:13px}
 .book-page[data-density="compact"] th{padding:6px}
 .book-page[data-density="compact"] td{padding:8px 6px}
 .book-page[data-density="compact"] .bar-chart{gap:12px;margin:9px 0 15px}
 .book-page[data-density="compact"] .steps{gap:9px}
 .book-page[data-density="compact"] .steps b{font-size:14px}
 .book-page[data-density="compact"] .steps p{font-size:13px;line-height:1.45;margin-top:3px}
 .book-page[data-density="compact"] .steps li{gap:10px}
 .book-page[data-density="compact"] .steps li>span{height:25px;flex-basis:25px;padding-top:4px}
 .book-page[data-density="compact"] .capacity-grid .hero-number strong{font-size:38px}
 .book-page[data-density="compact"] .temperature .hero-number strong{font-size:46px}
 .book-page[data-density="compact"] .haccp-row{margin-bottom:9px;gap:10px}
 .book-page[data-density="compact"] .haccp-row img{width:48px;height:48px}
 .book-page[data-density="compact"] .haccp-row b{font-size:13px}
 .book-page[data-density="compact"] .products{margin:7px 0 10px;gap:7px}
 .book-page[data-density="compact"] .products img{height:85px}
 .book-page[data-density="compact"] .licenses{gap:6px}
 .book-page[data-density="compact"] .licenses li{font-size:14px;padding:7px 11px}
 .book-page[data-density="compact"] .mini-flow{padding:8px 11px;margin-bottom:10px;font-size:13px;line-height:1.65}
 .book-page[data-density="compact"] .contact-company{font-size:25px;margin:6px 0 12px!important}
 .book-page[data-density="compact"] .contact-address{font-size:13px;line-height:1.65;margin-bottom:13px!important}
 .book-page[data-density="compact"] .contact-actions{gap:7px}
 .book-page[data-density="compact"] .contact-actions a,.book-page[data-density="compact"] .contact-actions button{font-size:13px;min-height:44px}
 .book-page[data-density="compact"] .vision-copy{font-size:21px;margin-top:14px!important}
 .book-page[data-density="compact"].cover h1{font-size:33px}
 .book-page[data-density="compact"].cover .chapter-image{height:auto;max-height:170px;margin-top:9px;margin-bottom:9px}
 .book-page[data-density="compact"].cover .cover-copy{font-size:17px;margin-top:11px!important;line-height:1.55}
 .book-page[data-density="compact"].cover .cover-copy em{font-size:26px}
 .book-page[data-density="tight"]{padding:10px 16px}
 .book-page[data-density="tight"] h1{font-size:22px;line-height:1.25;margin-bottom:8px}
 .book-page[data-density="tight"] .eyebrow{font-size:9px;letter-spacing:.04em;margin-bottom:5px}
 .book-page[data-density="tight"] .chapter-image{height:74px;margin-bottom:8px}
 .book-page[data-density="tight"] .copy{font-size:13px;line-height:1.4}
 .book-page[data-density="tight"] .facts{gap:6px}
 .book-page[data-density="tight"] .fact{padding:6px 9px}
 .book-page[data-density="tight"] .fact b{font-size:13px;line-height:1.4}
 .book-page[data-density="tight"] .fact p{font-size:13px;line-height:1.4;margin-top:2px}
 .book-page[data-density="tight"] .note{font-size:11px;line-height:1.4;margin-top:7px!important}
 .book-page[data-density="tight"] .page-signature{margin-top:7px;padding-top:5px;font-size:7px}
 .book-page[data-density="tight"] .hero-number{padding:0 0 7px}
 .book-page[data-density="tight"] .hero-number strong{font-size:48px}
 .book-page[data-density="tight"] .hero-number>span{font-size:14px}
 .book-page[data-density="tight"] .hero-number>p{font-size:12px;margin-top:3px}
 .book-page[data-density="tight"] .capacity-grid{gap:8px}
 .book-page[data-density="tight"] .capacity-grid .hero-number strong{font-size:35px}
 .book-page[data-density="tight"] .temperature .hero-number strong{font-size:42px}
 .book-page[data-density="tight"] .steps{gap:7px}
 .book-page[data-density="tight"] .steps b,.book-page[data-density="tight"] .steps p{font-size:13px;line-height:1.4}
 .book-page[data-density="tight"] .steps p{margin-top:2px}
 .book-page[data-density="tight"] .steps li{gap:9px}
 .book-page[data-density="tight"] .steps li>span{height:24px;flex-basis:24px;padding-top:4px;font-size:10px}
 .book-page[data-density="tight"] .haccp-row{margin-bottom:8px;gap:10px}
 .book-page[data-density="tight"] .haccp-row img{width:42px;height:42px}
 .book-page[data-density="tight"] .haccp-row b{font-size:12px}
 .book-page[data-density="tight"] .products{margin:5px 0 8px;gap:6px}
 .book-page[data-density="tight"] .products img{height:68px}
 .book-page[data-density="tight"] .products b{font-size:14px}
 .book-page[data-density="tight"] .products>div{padding:4px 2px 6px}
 .book-page[data-density="tight"] .licenses{gap:5px}
 .book-page[data-density="tight"] .licenses li{font-size:13px;padding:6px 9px}
 .book-page[data-density="tight"] .mini-flow{padding:7px 10px;margin-bottom:8px;font-size:13px;line-height:1.5}
 .book-page[data-density="tight"] .table-wrap{margin:4px 0 8px}
 .book-page[data-density="tight"] table{font-size:13px}
 .book-page[data-density="tight"] th{font-size:11px;padding:5px 5px}
 .book-page[data-density="tight"] td{padding:7px 5px}
 .book-page[data-density="tight"] .bar-chart{gap:10px;margin:8px 0 12px}
 .book-page[data-density="tight"] .bar-chart i{height:19px}
 .book-page[data-density="tight"] .contact-company{font-size:23px;margin:4px 0 9px!important}
 .book-page[data-density="tight"] .contact-company small{font-size:12px}
 .book-page[data-density="tight"] .contact-address{font-size:13px;line-height:1.55;margin-bottom:10px!important}
 .book-page[data-density="tight"] .contact-actions{gap:6px}
 .book-page[data-density="tight"] .contact-actions a,.book-page[data-density="tight"] .contact-actions button{font-size:13px;min-height:44px}
 .book-page[data-density="tight"] .vision-copy{font-size:20px;margin-top:11px!important}
 .book-page[data-density="tight"].cover h1{font-size:31px}
 .book-page[data-density="tight"].cover .chapter-image{height:auto;max-height:130px;width:calc(100% + 32px);margin:8px -16px}
 .book-page[data-density="tight"].cover .cover-copy{font-size:16px;margin-top:9px!important;line-height:1.5}
 .book-page[data-density="tight"].cover .cover-copy em{font-size:24px}
 .book-page[data-density="tight"].cover .legal{font-size:11px;margin-bottom:8px}
 .book-page[data-density="tight"].cover .scope{font-size:12px;margin-bottom:6px}
}
@media(prefers-reduced-motion:reduce){.swipe-hint{transition:none}}

.menu-links .card-return{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:10px 12px;border:1px solid #b4935e66;border-radius:4px;background:#162d3a;color:#eddfc8}.note[hidden]{display:none}

/* Compact persistent return action; preserve the existing header row height. */
.header-actions{display:flex;align-items:center;gap:4px;flex-shrink:0}.header-card{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 9px;color:#eddfc8;border:1px solid #b4935e66;border-radius:4px;text-decoration:none;font-size:13px;line-height:1;box-sizing:border-box}.header-card:focus-visible{outline:2px solid #e6c78d;outline-offset:1px}@media(max-width:600px){.reader-head .brand{min-width:0}.header-actions{gap:3px}.header-card{padding:0 7px}}
