.chest-feature{padding:70px 0;background:#782E35;color:#f8f2e9}.chest-feature-inner{display:grid;grid-template-columns:1fr 1fr;gap:clamp(35px,6vw,90px);align-items:center}.chest-feature-photo{overflow:hidden;border-radius:12px;display:block}.chest-feature-photo img{width:100%;aspect-ratio:1.4;object-fit:cover;display:block;transition:transform .5s}.chest-feature-photo:hover img{transform:scale(1.025)}.chest-feature-copy h2{font-size:clamp(32px,4vw,54px);line-height:1.13;letter-spacing:-.04em;margin:18px 0 24px}.chest-feature-copy p{font-size:15px;line-height:1.9;max-width:540px;color:#e3d2cd}.chest-feature .eyebrow{color:#e4bdb4}.chest-stats{display:flex;gap:30px;flex-wrap:wrap;margin:28px 0;font-size:12px;color:#e4cfc8}.chest-stats strong{font-size:24px;font-weight:500;color:#fff;margin-right:5px}.chest-button.button{border:1px solid #e8d5cf;background:transparent;color:white;display:inline-flex;align-items:center;gap:30px}.chest-button:hover{background:#ffffff15;color:#fff}.chest-intro{display:grid;grid-template-columns:1.1fr 1fr;gap:70px;align-items:center;padding:45px 0 70px}.chest-intro h1{font-size:clamp(38px,5vw,62px);letter-spacing:-.045em;line-height:1.12;margin:20px 0}.chest-intro-text.prose{padding:0;font-size:17px;margin:0 0 25px}.chest-intro figure{margin:0}.chest-intro figure img{width:100%;display:block;border-radius:12px}.chest-intro figcaption{font-size:11px;color:#777;margin-top:10px}.chest-collection{padding:60px 0 70px;border-top:1px solid var(--line)}.chest-collection .sectionhead{align-items:end}.chest-collection .sectionhead p{max-width:310px;font-size:13px;color:var(--muted)}.chest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:45px 30px}.chest-card{display:block;min-width:0;border-bottom:1px solid var(--line);padding-bottom:24px}.chest-card-image{height:280px;border-radius:10px;background:#e7e1d6;padding:22px;position:relative;overflow:hidden}.chest-card-image img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 6px 10px #3c28182b);transition:transform .3s}.chest-card:hover img{transform:translateY(-3px)}.chest-card-image>span{position:absolute;right:12px;bottom:12px;background:#f6f4eee8;padding:3px 9px;border-radius:4px;font-size:10px;color:#574d45}.chest-card-meta{margin-top:20px;color:#8b5559;font-size:12px}.chest-card h3{font-size:20px;line-height:1.4;letter-spacing:-.02em;font-weight:500;margin:10px 0 18px}.chest-card-link{display:flex;align-items:center;gap:15px;font-size:11px}.chest-credits{border-top:1px solid var(--line);font-size:12px;color:#746c65;line-height:1.8;padding:25px 0 65px;max-width:900px}.chest-credits strong{font-weight:600}.chest-credits a{text-decoration:underline;text-underline-offset:4px}.chest-document-heading{padding:30px 0}.chest-document-heading h1{font-size:clamp(28px,3.5vw,46px);line-height:1.2;letter-spacing:-.035em;max-width:1100px;margin:16px 0 20px}.chest-document-heading .eyebrow{font-size:11px}.book-reader{background:#e6dfd2;border:1px solid #d5ccbd;border-radius:12px;overflow:hidden}.book-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding:13px 18px;background:#f2ede5;border-bottom:1px solid #d5ccbd}.book-pagination,.book-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:12px}.book-reader button{font-family:inherit;border:1px solid #cfc5b7;border-radius:5px;background:transparent;color:#433b34;font-size:12px;min-height:36px;padding:6px 11px;cursor:pointer}.book-reader button:hover,.book-reader button[aria-pressed=true]{background:#fff8ed;border-color:#8c5a53}.book-reader button:disabled{opacity:.35;cursor:default}.book-reader input{width:56px;min-height:36px;margin:0 3px;padding:4px;border:1px solid #cfc5b7;border-radius:4px;background:#fffaf3;text-align:center;font-size:12px}.book-stage{height:min(70vh,760px);min-height:320px;overflow:auto;position:relative;touch-action:pan-x pan-y pinch-zoom;padding:16px;scrollbar-color:#9c8c76 #e6dfd2}.book-sheets{width:100%;display:grid;grid-template-columns:minmax(0,1fr);gap:3px;margin:auto}.book-sheets.two-pages{grid-template-columns:repeat(2,minmax(0,1fr))}.book-sheet{min-width:0;min-height:0;height:100%;display:flex;align-items:center;justify-content:center}.book-sheet img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 6px 12px #3d2b222b);user-select:none}.book-status{position:sticky;bottom:0;text-align:center;font-size:12px;background:#f4eee5e8;color:#702d36;padding:6px 10px;border-radius:4px;width:max-content;max-width:95%;margin:0 auto}.book-status:empty{display:none}.book-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;padding:13px 18px;font-size:11px;background:#f2ede5;border-top:1px solid #d5ccbd}.book-bottom p{margin:0;font-weight:600}.book-bottom>span{color:#766b60}.book-bottom a{display:flex;align-items:center;gap:8px}.book-thumbnails{display:flex;overflow:auto;gap:10px;padding:15px;background:#d9cfbf;max-height:140px}.book-thumbnails[hidden]{display:none}.book-thumb{flex:0 0 76px;padding:5px!important}.book-thumb img{display:block;width:100%;height:80px;object-fit:contain}.book-thumb span{display:block;font-size:10px;margin-top:4px}.book-thumb[aria-current=page]{border-color:#702d36;background:#f6f1e8}.book-reader:fullscreen,.book-reader.book-fullscreen{position:fixed;inset:0;width:100%;height:100vh;height:100dvh;z-index:999999;display:flex;flex-direction:column;background:#e6dfd2;border-radius:0;border:0}.book-reader:fullscreen .book-stage,.book-reader.book-fullscreen .book-stage{flex:1;min-height:0;height:auto}.book-reader:fullscreen .book-thumbnails,.book-reader.book-fullscreen .book-thumbnails{flex-shrink:0}.chest-document-info{display:grid;grid-template-columns:280px minmax(0,1fr);gap:70px;padding:70px 0}.chest-document-info>div>h2{font-size:28px;line-height:1.3}.chest-document-info>div:not(.prose)>p{font-size:14px;color:#80776e;line-height:1.8}.chest-document-info .prose{padding:0;margin:0;max-width:900px}.book-metadata{font-size:13px;color:#6b625a;margin-top:30px;border-bottom:1px solid var(--line)}.book-metadata summary{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:600;list-style:none}.book-metadata p{font-size:13px;line-height:1.8;padding-top:15px}.chest-collection h2{font-size:clamp(28px,3vw,40px)}@media(max-width:1000px){.chest-feature-inner,.chest-intro{gap:35px}.chest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chest-document-info{grid-template-columns:220px minmax(0,1fr);gap:35px}.book-tools [data-book-spread]{display:none}}@media(max-width:700px){.chest-feature{padding:40px 0}.chest-feature-inner,.chest-intro{grid-template-columns:1fr;gap:28px}.chest-feature-photo img{aspect-ratio:1.65}.chest-feature-copy h2{font-size:36px}.chest-intro{padding:25px 0 40px}.chest-grid{grid-template-columns:1fr;gap:30px}.chest-card-image{height:280px}.chest-card h3{font-size:21px}.chest-collection{padding:35px 0 45px}.chest-collection .sectionhead{display:block}.chest-document-info{grid-template-columns:1fr;gap:20px;padding:40px 0}.chest-document-info>div>h2{font-size:28px}.book-toolbar{padding:10px;gap:8px}.book-tools{gap:5px}.book-reader button{padding:6px 8px;min-height:36px;font-size:11px}.book-stage{height:58vh;min-height:310px;padding:8px}.book-bottom{padding:12px;font-size:10px}.book-bottom>span{display:none}.chest-document .wrap{padding-inline:4%}.book-bottom a .mig-icon{width:16px;height:16px}}@media(prefers-reduced-motion:reduce){.chest-card-image img,.chest-feature-photo img{transition:none}}
@media(prefers-reduced-motion:no-preference){.book-sheet img{animation:book-page-in .2s ease-out}@keyframes book-page-in{from{opacity:.5;transform:translateX(5px)}to{opacity:1;transform:none}}}
/* Compact digital archive catalogue. */
.chest-collection{padding:38px 0 48px}.chest-collection .sectionhead{margin-bottom:25px;gap:25px}.chest-collection .sectionhead h2{font-size:clamp(27px,3vw,35px);line-height:1.2;font-weight:500}.chest-collection .sectionhead p{font-size:12px;line-height:1.8;max-width:330px}.chest-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 26px;border-top:1px solid #d9d3c8}.chest-card{display:grid;grid-template-columns:92px minmax(0,1fr);gap:19px;align-items:start;padding:24px 0;margin:0;border-bottom:1px solid #d9d3c8}.chest-card-image{height:138px;width:92px;min-width:0;background:#e9e3d8;padding:8px;border-radius:5px}.chest-card-image img{filter:drop-shadow(0 3px 5px #3c281824)}.chest-card-content{display:flex;flex-direction:column;min-width:0;min-height:138px}.chest-card-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 10px;color:#8a6263;font-size:10px;line-height:1.5}.chest-page-count{color:#83796d;padding-left:8px;border-left:1px solid #d3cabd;white-space:nowrap}.chest-card h3{font-size:17px;font-weight:500;line-height:1.4;letter-spacing:-.015em;margin:0 0 16px;overflow-wrap:anywhere}.chest-card-link{margin-top:auto;font-size:10px;gap:10px;color:#716359}.chest-card-link .mig-icon{width:16px;height:16px;flex-basis:16px}.chest-card:hover,.chest-card:focus-visible{color:#782E35}.chest-card:hover .chest-card-link,.chest-card:focus-visible .chest-card-link{color:#782E35}.chest-card .mig-icon{transition:transform .2s ease}.chest-card:hover .icon-arrow-right{transform:translateX(3px)}.chest-card:focus-visible{outline:2px solid #782E35;outline-offset:6px;border-radius:4px}
/* Distinct navigation, view and fullscreen actions. */
.book-reader{border-color:#d6cfc3;border-radius:10px;background:#e6e1d8}.book-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;background:#f7f4ed}.book-pagination{font-size:12px;gap:8px}.book-primary-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.book-reader button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:7px 11px;border-color:#d3cabc;border-radius:6px;background:transparent;font-size:11px;font-weight:500}.book-reader button .mig-icon{width:17px;height:17px;flex-basis:17px;vertical-align:middle}.book-reader button:focus-visible{outline:2px solid #782E35;outline-offset:3px}.book-reader .book-full-button{color:#fff;background:#782E35;border-color:#782E35;padding-inline:14px;min-width:132px}.book-reader .book-full-button:hover,.book-reader .book-full-button:focus-visible{background:#5e222d;border-color:#5e222d;color:#fff}.book-full-button>[data-book-full-icon]{display:flex}.book-reader .book-tools{width:100%;border-top:1px solid #e2dbd1;padding-top:11px;gap:10px;justify-content:flex-start}.book-zoom-controls{display:flex;align-items:center;gap:3px;padding-left:10px;border-left:1px solid #d9d0c4}.book-zoom-controls output{font-size:11px;color:#72665a;min-width:45px;text-align:center;font-variant-numeric:tabular-nums}.book-reader .book-zoom-controls button{padding-inline:8px;min-width:34px}.book-reader input{font-variant-numeric:tabular-nums;background:#fffdf8;min-height:38px}.book-bottom{padding:12px 18px;background:#f7f4ed;gap:12px}.book-help{display:inline-flex;align-items:center;gap:8px;color:#7b7167}.book-help .mig-icon{width:17px;height:17px;flex-basis:17px}.book-original-link{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid #d7cdbf;border-radius:6px;color:#684d49;font-size:11px}.book-original-link>span{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.book-original-link small{font-size:10px;color:#887b6e}.book-original-link:hover,.book-original-link:focus-visible{border-color:#87505b;background:#fffaf3;color:#782E35}.book-original-link .mig-icon{width:16px;height:16px}.book-thumbnails{background:#e7dfd1;border-bottom:1px solid #d7cdbf;gap:9px}.book-reader .book-thumb{display:block;border-radius:4px;min-width:70px}.book-reader .book-thumb[aria-current=page]{background:#fff9ef;border:1px solid #782E35;box-shadow:0 0 0 1px #782E35}.book-resume{font-size:11px!important;flex-basis:auto;color:#782E35!important}.book-stage{background:#e6e1d8}.chest-document-heading{padding-bottom:27px}.chest-document-heading h1{font-size:clamp(27px,3.2vw,42px);max-width:1030px}.book-metadata summary{font-size:13px!important}.book-metadata summary::-webkit-details-marker{display:none}@media(max-width:1100px){.chest-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 30px}}@media(min-width:900px){.book-reader .book-tools [data-book-spread]{display:inline-flex}}@media(max-width:899px){.book-reader .book-tools [data-book-spread]{display:none}}@media(max-width:700px){.chest-collection{padding:28px 0 35px}.chest-grid{grid-template-columns:1fr;gap:0}.chest-card{grid-template-columns:80px minmax(0,1fr);gap:19px;padding:20px 0}.chest-card-image{width:80px;height:120px}.chest-card-content{min-height:120px}.chest-card h3{font-size:18px;margin-bottom:13px}.chest-card-meta{font-size:10px}.chest-card-link{font-size:11px}.book-toolbar{padding:11px;gap:10px}.book-pagination{justify-content:space-between;flex:1;gap:6px;min-width:230px}.book-primary-actions{justify-content:space-between;width:100%;gap:9px}.book-primary-actions>button{flex:1}.book-reader .book-full-button{min-width:0;font-size:11px}.book-reader .book-tools{justify-content:space-between;padding-top:10px;gap:6px}.book-zoom-controls{border-left:0;padding-left:0}.book-reader button{font-size:11px;min-height:40px;padding:7px 10px}.book-reader .book-tools button{min-height:36px}.book-bottom{padding:10px 11px;align-items:center}.book-bottom>.book-help{display:none}.book-original-link>span{gap:5px}.book-original-link{padding:6px 8px;font-size:11px}.book-bottom>p{font-size:11px}.book-reader:fullscreen .book-toolbar,.book-reader.book-fullscreen .book-toolbar{flex-shrink:0}.book-reader:fullscreen .book-bottom,.book-reader.book-fullscreen .book-bottom{flex-shrink:0}}@media(prefers-reduced-motion:reduce){.chest-card .mig-icon{transition:none}.chest-card:hover .icon-arrow-right{transform:none}}
/* A dedicated exit stays at the top of both fullscreen implementations. */
.book-fullscreen-bar{position:absolute;top:0;left:0;right:0;height:58px;padding:8px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#622632;color:#fff5e8;z-index:30;border-bottom:1px solid #ffffff24;font-size:12px}.book-fullscreen-bar[hidden]{display:none!important}.book-reader .book-close-full{display:inline-flex;align-items:center;gap:9px;min-height:40px;flex-shrink:0;padding:8px 14px;background:#fff8ec;color:#622632;border:1px solid #fff8ec;font-size:12px;font-weight:600;border-radius:6px}.book-reader .book-close-full:hover,.book-reader .book-close-full:focus-visible{background:#eadbcc;color:#4c1f28;border-color:#eadbcc}.book-close-full .mig-icon{width:18px;height:18px}.book-reader:fullscreen,.book-reader.book-fullscreen{padding-top:58px;box-sizing:border-box;overflow:hidden}.book-reader:fullscreen>.book-toolbar,.book-reader:fullscreen>.book-bottom,.book-reader.book-fullscreen>.book-toolbar,.book-reader.book-fullscreen>.book-bottom{flex-shrink:0}
/* A paper leaf turns above the incoming page, once its image is ready. */
.book-sheets{position:relative;perspective:1600px;isolation:isolate}.book-turn{position:absolute;top:0;left:0;width:100%;height:100%;z-index:5;pointer-events:none;transform-style:preserve-3d;will-change:transform,opacity;transform-origin:left center}.book-turn.turn-half{width:50%}.book-turn.turn-forward.turn-half{left:50%}.book-turn.turn-backward{transform-origin:right center}.book-turn-front,.book-turn-back{position:absolute;inset:0;backface-visibility:hidden;overflow:hidden}.book-turn-front{background:transparent}.book-turn-front img{width:100%;height:100%;object-fit:contain;display:block;filter:drop-shadow(0 7px 12px #34241935)}.book-turn-back{background:linear-gradient(90deg,#e0d1b8,#f5ead6 17%,#e9dbc4);transform:rotateY(180deg);box-shadow:inset 0 0 22px #8f725426}.book-turn::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent 72%,#32211430);pointer-events:none;backface-visibility:hidden}.book-turn.turn-backward::after{background:linear-gradient(270deg,transparent 72%,#32211430)}.book-turn.is-turning{animation:book-leaf-forward .56s cubic-bezier(.2,.65,.32,1) both}.book-turn.turn-backward.is-turning{animation-name:book-leaf-backward}.book-turning .book-stage{overflow:hidden}.book-turning .book-sheet img{animation:none}.book-sheet img{filter:drop-shadow(0 5px 10px #3d2b2230)}@keyframes book-leaf-forward{0%{transform:rotateY(0deg);opacity:1}65%{opacity:1}100%{transform:rotateY(-170deg);opacity:0}}@keyframes book-leaf-backward{0%{transform:rotateY(0deg);opacity:1}65%{opacity:1}100%{transform:rotateY(170deg);opacity:0}}@media(max-width:700px){.book-fullscreen-bar{padding:8px 11px;font-size:11px}.book-reader .book-close-full{padding:8px 12px;font-size:12px}.book-turn.is-turning{animation-duration:.44s}}@media(prefers-reduced-motion:reduce){.book-turn{display:none}.book-turn.is-turning{animation:none}.book-turning .book-stage{overflow:auto}}

@media(max-height:500px){.book-reader:fullscreen .book-toolbar,.book-reader.book-fullscreen .book-toolbar{padding:6px 10px;gap:6px}.book-reader:fullscreen .book-primary-actions,.book-reader.book-fullscreen .book-primary-actions{width:auto}.book-reader:fullscreen .book-tools,.book-reader.book-fullscreen .book-tools{padding-top:5px}.book-reader:fullscreen .book-thumbnails,.book-reader.book-fullscreen .book-thumbnails{max-height:90px;padding:8px}.book-reader:fullscreen .book-bottom,.book-reader.book-fullscreen .book-bottom{padding-block:7px}.book-reader:fullscreen .book-help,.book-reader.book-fullscreen .book-help{display:none}}

.book-fullscreen-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.book-sheets.two-pages::after{content:'';position:absolute;left:50%;top:4%;bottom:4%;width:18px;transform:translateX(-50%);background:linear-gradient(90deg,transparent,#38251518,transparent);pointer-events:none;z-index:2}
.book-sheet img{animation:none}

/* Calm single-page slide and slower two-page paper turn. */
.book-turn.turn-single{transform-origin:center;transform-style:flat;perspective:none}.book-turn.turn-single .book-turn-back,.book-turn.turn-single::after{display:none}.book-turn.turn-single.is-turning{animation:book-slide-forward .85s cubic-bezier(.25,.65,.3,1) both}.book-turn.turn-single.turn-backward.is-turning{animation-name:book-slide-backward}.book-turn.turn-half.is-turning{animation-duration:.95s}.book-turn-front img{will-change:auto}@keyframes book-slide-forward{0%{transform:translateX(0);opacity:1}55%{opacity:.8}100%{transform:translateX(-100%);opacity:0}}@keyframes book-slide-backward{0%{transform:translateX(0);opacity:1}55%{opacity:.8}100%{transform:translateX(100%);opacity:0}}@media(max-width:700px){.book-turn.turn-single.is-turning{animation-duration:.85s}.book-turn.turn-half.is-turning{animation-duration:.95s}}@media(prefers-reduced-motion:reduce){.book-turn.turn-single.is-turning,.book-turn.turn-half.is-turning{animation:none}}
/* Navigation remains centered outside the scrolling image surface. */
.book-view-area{position:relative;height:min(70vh,760px);min-height:320px}.book-view-area>.book-stage{position:absolute;inset:0;height:100%;min-height:0;box-sizing:border-box;padding-inline:58px}.book-reader .book-edge-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:12;display:inline-flex;align-items:center;justify-content:center;width:40px;height:52px;padding:0;border:1px solid #c9bba9;border-radius:7px;background:#faf6edeb;color:#713641;box-shadow:0 3px 12px #3b281a12}.book-reader .book-edge-prev{left:9px}.book-reader .book-edge-next{right:9px}.book-reader .book-edge-nav .mig-icon{width:22px;height:22px;flex-basis:22px}.book-reader .book-edge-nav:hover:not(:disabled),.book-reader .book-edge-nav:focus-visible{background:#782E35;border-color:#782E35;color:#fff}.book-reader .book-edge-nav:disabled{opacity:.28;box-shadow:none;cursor:default}.book-sheet img{cursor:pointer}.book-zoomed .book-sheet img{cursor:default}.book-reader:fullscreen>.book-view-area,.book-reader.book-fullscreen>.book-view-area{flex:1;min-height:0;height:auto}.book-reader:fullscreen .book-view-area>.book-stage,.book-reader.book-fullscreen .book-view-area>.book-stage{position:absolute;inset:0;height:100%;min-height:0;flex:none}@media(max-width:700px){.book-view-area{height:58vh;min-height:310px}.book-view-area>.book-stage{padding-inline:43px}.book-reader .book-edge-nav{width:31px;height:45px;border-radius:6px}.book-reader .book-edge-prev{left:5px}.book-reader .book-edge-next{right:5px}.book-reader .book-edge-nav .mig-icon{width:19px;height:19px;flex-basis:19px}}

/* Discreet, unframed navigation beside the document. */
.book-reader .book-edge-nav,.book-reader .book-edge-nav:hover:not(:disabled),.book-reader .book-edge-nav:focus-visible{background:transparent;border:0;box-shadow:none!important;color:#7e7164}.book-reader .book-edge-nav:hover:not(:disabled),.book-reader .book-edge-nav:focus-visible{color:#782E35}.book-reader .book-edge-nav:disabled{opacity:.2;box-shadow:none}.book-reader .book-edge-nav .mig-icon{stroke-width:1.35}.book-reader .book-edge-nav:focus-visible{outline:2px solid #a58d83;outline-offset:1px}

.chest-document-info .book-catalog-label{margin:20px 0 12px;font-size:13px;font-weight:600;color:#716157}.book-catalog-left{font-size:13px;line-height:1.85;color:#73695f;overflow-wrap:anywhere}.book-catalog-left strong{font-weight:600;color:#4d433b}.chest-document-info>div>h2{overflow-wrap:anywhere}@media(max-width:700px){.book-catalog-left{font-size:14px}.chest-document-info .book-catalog-label{margin-top:20px}}

.chest-document-info{align-items:start}.chest-document-info>div>h2{margin-top:0;margin-bottom:22px}.chest-document-info .book-catalog-label.eyebrow{color:#782E35;font-size:11px;font-weight:600;letter-spacing:.07em;margin:0 0 14px;gap:12px}.chest-document-info .book-catalog-label.eyebrow:before{flex:0 0 28px;background:currentColor}

/* Fullscreen is a toggle: keep the primary button readable while pressed. */
.book-reader .book-full-button[aria-pressed="true"]{background:#782e35;border-color:#782e35;color:#fff}
.book-reader .book-full-button[aria-pressed="true"]:hover,.book-reader .book-full-button[aria-pressed="true"]:focus-visible{background:#5e222d;border-color:#5e222d;color:#fff}
.book-reader .book-full-button:focus-visible{outline:2px solid #782e35;outline-offset:3px}

/* One exit action in fullscreen; the entry button returns in normal view. */
.book-reader.book-fullscreen-active .book-full-button,.book-reader:fullscreen .book-full-button,.book-reader.book-fullscreen .book-full-button{display:none}
.book-fullscreen-logo{display:block;width:100px;height:36px;object-fit:contain;flex:0 0 100px;filter:brightness(0) invert(1)}
.book-fullscreen-bar .book-fullscreen-title{font-size:clamp(15px,1.5vw,19px);font-weight:500;line-height:1.3;color:#fff}
@media(max-width:700px){.book-fullscreen-logo{width:70px;height:30px;flex-basis:70px}.book-fullscreen-bar{gap:10px}.book-fullscreen-bar .book-fullscreen-title{font-size:14px}.book-reader .book-close-full{gap:6px;padding-inline:9px}}

/* Roomier fullscreen heading; page overview follows the pagination controls. */
.book-fullscreen-bar{height:72px;padding-block:15px;box-sizing:border-box}
.book-reader:fullscreen,.book-reader.book-fullscreen{padding-top:72px}
.book-navigation{display:flex;align-items:center;gap:16px;flex-wrap:wrap;min-width:0}
@media(max-width:700px){.book-fullscreen-bar{height:68px;padding-block:13px}.book-reader:fullscreen,.book-reader.book-fullscreen{padding-top:68px}.book-navigation{gap:10px;width:100%}.book-navigation .book-pagination{flex:0 1 auto;min-width:0;justify-content:flex-start}.book-navigation>[data-book-thumbs]{flex:0 0 auto}.book-reader .book-primary-actions{width:auto}.book-reader.book-fullscreen-active .book-primary-actions{display:none}}

/* Desktop-only divider between the catalogue and document description. */
@media(min-width:1024px){
 .chest-document-info{position:relative}
 .chest-document-info::after{content:"";position:absolute;top:70px;bottom:70px;left:315px;width:3px;pointer-events:none;background:linear-gradient(180deg,#782e35,#b58288) center top / 3px 64px no-repeat,linear-gradient(180deg,#782e3530,#782e3518) center / 1px 100% no-repeat}
}
