.album-guide{background:#f7faf8;border:1px solid #d7e1dc;border-radius:14px;padding:14px 18px;margin:12px 0;color:#263e44}.album-guide-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.album-guide-heading small{display:block;color:#647974;font-size:11px;letter-spacing:.07em;text-transform:uppercase}.album-guide-heading strong{display:block;font-size:15px;margin-top:3px}.album-guide-heading>span{font-size:11px;color:#647974}.album-guide-body{display:flex;gap:20px;align-items:center}.album-map{display:flex;flex:0 0 auto;gap:6px}.album-map-object{width:145px;text-align:center;font-size:11px;color:#536967}.album-map-object svg{display:block;width:100%;height:100px;overflow:visible}.album-map-face{cursor:pointer;outline:none}.album-map-face polygon{fill:#e3ece7;stroke:#8fa6a0;stroke-width:1.5;transition:fill .15s}.album-map-face.is-current polygon{fill:#ecc487;stroke:#ad6d28;stroke-width:2.5}.album-map-face:hover polygon,.album-map-face:focus-visible polygon{fill:#d5b17c;stroke:#634320;stroke-width:3}.album-map-face text{font:12px sans-serif;text-anchor:middle;fill:#264038;pointer-events:none}.album-guide-pages{display:flex;flex-wrap:wrap;gap:6px;max-height:125px;overflow:auto;align-content:center;flex:1;min-width:0}.album-guide-page{border:1px solid #ccd9d1;border-radius:7px;padding:8px 10px;background:white;color:#344d4d;font:inherit;font-size:11px;cursor:pointer}.album-guide-page small{display:block;font-size:9px;color:#61736c}.album-guide-page.is-current{background:#fff0d9;border-color:#ad7638;color:#643b14}.album-guide-page:focus-visible{outline:3px solid #a16727;outline-offset:2px}.album-guide>p{font-size:10px;color:#61736c;margin:8px 0 0}.album-reading-window{width:100%;position:relative}.album-reading-window.is-cropped{overflow:hidden;max-width:480px;margin:auto}.album-panel-focus{pointer-events:none;position:absolute;top:0;bottom:0;outline:3px solid #c68d39;outline-offset:-3px;background:#edbf5310}.constructor-guide{min-height:0}.constructor-guide .album-guide{margin:0 12px 8px;padding:7px 12px;border-radius:9px}.constructor-guide .album-map-object{width:105px}.constructor-guide .album-map-object svg{height:66px}.constructor-guide .album-guide-pages{max-height:70px}.constructor-guide .album-guide-page{padding:5px 7px}.constructor-guide .album-guide-heading strong{font-size:12px}.constructor-guide .album-guide>p{margin:3px 0 0}.constructor-guide .album-guide-heading small{font-size:9px}.constructor-work{grid-template-rows:49px auto minmax(0,1fr) 40px}.constructor-stage>.album-reading-window{display:contents}.constructor-stage>.album-reading-window.is-cropped{display:block;height:min(100cqh,calc(100cqw / var(--reading-ratio)));width:auto;max-width:100%;aspect-ratio:var(--reading-ratio)}.constructor-stage .is-cropped .constructor-canvas{width:200%!important;height:100%;max-height:none}.constructor-stage .is-cropped .constructor-fold span{top:4px}.constructor-nav-settings{border-top:1px solid #d7e1dc;padding-top:10px;margin-top:14px}.constructor-nav-settings summary{cursor:pointer;font-size:12px;margin-bottom:10px}@media(max-width:760px){.album-guide{padding:12px}.album-guide-body{gap:6px;flex-direction:column;align-items:stretch}.album-map{justify-content:center}.album-map-object{width:125px}.album-map-object svg{height:82px}.album-guide-heading>span{max-width:115px;text-align:right}.album-guide-pages{flex-wrap:nowrap;max-height:none;overflow-x:auto;justify-content:flex-start}.album-guide-page{flex-shrink:0}.constructor-guide .album-guide-body{flex-direction:row}.constructor-guide .album-map{display:none}.constructor-guide .album-guide>p{display:none}.constructor-guide .album-guide-heading>span{display:none}.constructor-work{grid-template-rows:42px auto minmax(0,1fr)}.constructor-guide .album-guide-pages{margin-top:5px;max-height:65px}.constructor-guide .album-guide{margin:0 5px 4px;padding:6px}.constructor-stage-note{display:none}}@media(prefers-reduced-motion:reduce){.album-map-face polygon{transition:none}}
.album-guide-pages{align-content:flex-start}.album-map{flex-wrap:wrap;max-width:310px}.album-map-closed{display:flex;flex-wrap:wrap;border-top:1px solid #d7e1dc;width:100%;margin-top:5px}.album-map-closed>small{width:100%;text-align:center;font-size:10px;margin-top:4px}.album-map-closed .album-map-object{width:50%}.album-map-closed svg{height:65px}.constructor-guide .album-map-closed svg{height:48px}
@media(min-width:1001px){.constructor-work{grid-template-columns:178px minmax(0,1fr);grid-template-rows:49px minmax(0,1fr) 40px}.constructor-pages{grid-column:1/-1}.constructor-guide{grid-column:1;grid-row:2;overflow-y:auto}.constructor-stage{grid-column:2;grid-row:2}.constructor-stage-note{grid-column:1/-1}.constructor-guide .album-guide{margin:0 0 0 10px;padding:8px;min-height:100%}.constructor-guide .album-guide-heading{display:block}.constructor-guide .album-guide-heading>span{display:block;margin-top:5px}.constructor-guide .album-guide-body{display:block}.constructor-guide .album-map{justify-content:center;gap:0}.constructor-guide .album-map-object{width:50%}.constructor-guide .album-map-object svg{height:60px}.constructor-guide .album-guide-pages{max-height:180px;margin-top:8px}.constructor-guide .album-guide-page{width:100%;text-align:left}.constructor-guide .album-guide>p{line-height:1.4;margin-top:8px}}
@media(min-width:761px) and (max-width:1000px){.constructor-guide .album-map-closed{display:none}.constructor-guide .album-guide>p{display:none}.constructor-guide .album-map-object svg{height:42px}.constructor-guide .album-guide-heading small{display:none}.constructor-guide .album-guide-pages{max-height:52px}}
/* Trapezoid revision: keep hinges and the central panel readable. */
.album-map-face:not(.is-current):nth-of-type(2) polygon{fill:#f3f7f4}.album-map-face polygon{stroke-width:2;stroke-linejoin:round}.album-map-face.is-current polygon{fill:#edbf79;stroke-width:3}.album-map-face text{font-size:14px;font-weight:600}.album-map-object>span{font-weight:600}
@media(min-width:1001px){.constructor-work{grid-template-columns:198px minmax(0,1fr)}.constructor-guide .album-map-object{width:100%}.constructor-guide .album-map-object svg{height:96px}.constructor-guide .album-map-closed .album-map-object{width:50%}.constructor-guide .album-map-closed svg{height:58px}}

/* Compact trio controls; physical page indexes remain unchanged. */
.album-guide-shortcuts{display:flex;gap:6px;margin:8px 0 2px}.album-guide-shortcut{border:1px solid #ccd9d1;border-radius:7px;padding:7px 11px;background:#fff;color:#344d4d;font:inherit;font-size:12px;cursor:pointer}.album-guide-shortcut strong{font-size:13px;font-weight:750}.album-guide-shortcut.is-current{background:#fff0d9;border-color:#ad7638;color:#643b14}.album-guide-shortcut:focus-visible{outline:3px solid #a16727;outline-offset:2px}
.album-guide.is-trio{padding:10px 14px}.is-trio .album-guide-body{gap:12px}.is-trio .album-map-object{width:120px}.is-trio .album-map-object svg{height:82px}.is-trio .album-guide-pages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-height:none;gap:5px}.is-trio .album-guide-page{padding:6px;text-align:left;font-size:11px;min-width:0}.is-trio .album-guide-page small{margin-top:2px}.is-trio .album-guide-heading small{display:none}
@media(max-width:1100px){.is-trio .album-guide-body{flex-direction:column;align-items:stretch;gap:7px}.is-trio .album-map{max-width:none;justify-content:center}.is-trio .album-guide-page{white-space:normal}.is-trio .album-guide-pages{overflow:visible}}
@media(min-width:1001px){.constructor-guide .is-trio .album-map-object{width:50%}.constructor-guide .is-trio .album-map-object svg{height:64px}.constructor-guide .is-trio .album-guide-pages{grid-template-columns:1fr}.constructor-guide .album-guide-shortcuts{flex-wrap:wrap}.constructor-guide .album-guide-shortcut{padding:6px 8px}}
@media(max-width:760px){.album-guide.is-trio{padding:9px}.is-trio .album-guide-heading strong{font-size:13px}.is-trio .album-guide-heading>span{font-size:10px}.constructor-guide .is-trio .album-guide-pages{grid-template-columns:repeat(3,minmax(0,1fr))}}

.album-map-texture{pointer-events:none}.album-map-face text{paint-order:stroke;stroke:#fff;stroke-width:4px;stroke-linejoin:round;font-weight:800}.album-map-face.is-current .album-map-texture{opacity:.68}.album-map-face:hover .album-map-texture{opacity:.8}

/* Flat, full-spread thumbnails in every book editor. Trio keeps its own map. */
.album-guide.is-book{--thumb-height:88px;min-width:0;padding:12px;margin:12px 0}
.album-guide.is-book .album-guide-heading{display:flex;align-items:center;margin-bottom:8px}
.is-book .album-guide-controls{display:flex;align-items:center;gap:6px;color:#61736c;font-size:12px}
.is-book .album-guide-controls button{display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid #ccd9d1;border-radius:50%;background:#fff;color:#344d4d;font:24px/1 Arial;cursor:pointer}
.is-book .album-guide-controls button:focus-visible{outline:3px solid #a16727;outline-offset:2px}
.album-guide.is-book .album-guide-pages{display:flex;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;gap:8px;width:100%;max-height:none;margin:0;padding:4px 3px 9px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#97aba2 transparent}
.album-guide.is-book .album-spread-card{flex:0 0 auto;width:max(112px,calc(var(--thumb-height)*var(--thumb-ratio) + 16px));max-width:none;min-width:0;display:flex;flex-direction:column;align-items:center;gap:6px;padding:7px;border-radius:9px;text-align:center;white-space:normal;background:#fff;border:1px solid #d1ded6}
.album-guide.is-book .album-spread-card.is-current{border:2px solid #966827;padding:6px;background:#fff3de;box-shadow:0 0 0 2px #d9b17233}
.album-spread-preview{position:relative;display:block;height:var(--thumb-height);width:calc(var(--thumb-height)*var(--thumb-ratio));flex:none;overflow:hidden;background:#e7eae4;box-shadow:0 2px 4px #23392d24}
.album-spread-preview .album-spread-image{position:absolute;top:0;height:100%;max-width:none;object-fit:fill;pointer-events:none;user-select:none;-webkit-user-drag:none}
.album-spread-fold{position:absolute;left:50%;top:0;bottom:0;width:1px;background:#182e302b;pointer-events:none}
.album-spread-card>strong{font-size:12px;font-weight:650;line-height:1.25}
.album-guide.is-book .album-spread-card>small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-width:100%;height:2.5em;line-height:1.25;font-size:11px;color:#536961}
.album-guide.is-book .album-spread-card.is-cover>small{display:none}
.constructor-work:has(.album-guide.is-book){grid-template-columns:minmax(0,1fr);grid-template-rows:42px auto minmax(0,1fr) 40px}
.constructor-work:has(.album-guide.is-book)>.constructor-guide{grid-column:1;grid-row:2;overflow:hidden}
.constructor-work:has(.album-guide.is-book)>.constructor-stage{grid-column:1;grid-row:3}
.constructor-work:has(.album-guide.is-book)>.constructor-stage-note{grid-column:1;grid-row:4}
.constructor-guide .album-guide.is-book{--thumb-height:64px;margin:0 12px 6px;padding:7px}
.constructor-guide .album-guide.is-book .album-guide-heading{margin-bottom:3px}
@media(max-width:760px){.album-guide.is-book{--thumb-height:76px;padding:9px}.is-book .album-guide-controls>span{display:none}.album-guide.is-book .album-guide-heading strong{font-size:13px}.album-guide.is-book .album-spread-card{width:max(104px,calc(var(--thumb-height)*var(--thumb-ratio) + 16px))}.constructor-work:has(.album-guide.is-book){grid-template-rows:42px auto minmax(0,1fr)}.constructor-guide .album-guide.is-book{--thumb-height:54px}.constructor-guide .album-guide.is-book .album-spread-card>small{height:1.25em;-webkit-line-clamp:1}}

/* Authored compositions not yet purchased stay available for a protected preview. */
.album-guide.is-book .album-spread-card.is-locked{background:#f0f2ed;border-style:dashed;color:#687a71}
.album-spread-card.is-locked .album-spread-preview{opacity:.48;filter:saturate(.25)}
.album-locked-label{font-size:14px;color:#486458}
.album-fold-guides{position:absolute;inset:0;z-index:100;pointer-events:none!important;user-select:none;overflow:hidden}
.album-fold-line{position:absolute;top:0;bottom:0;width:3px;transform:translateX(-50%);background:repeating-linear-gradient(to bottom,#ffffffe6 0 6px,transparent 6px 11px);pointer-events:none!important}
.album-fold-line:after{content:"";position:absolute;inset:0 1px;background:repeating-linear-gradient(to bottom,#203940e6 0 6px,transparent 6px 11px)}
.constructor-canvas:has(>.album-fold-guides)>.constructor-fold{border-right:0}
@media print{.album-fold-guides{display:none!important}}
.account-book-purchase{font-size:13px;line-height:1.6;background:#eef3eb;border-radius:9px;padding:12px}
.account-book-purchase small{display:block;color:#5e7166;margin-top:4px}
.account-library-preview{display:block;width:100%;max-height:65vh;object-fit:contain}
.book-sequence-row{display:grid;grid-template-columns:24px 100px minmax(0,1fr) auto;gap:10px;align-items:center;border-bottom:1px solid #dce3db;padding:10px 0}
.book-sequence-row img{width:100px;height:72px;object-fit:contain;background:#e9ece5}
.book-sequence-row strong{font-size:13px}.book-sequence-row>div{display:flex;gap:4px}
@media(max-width:600px){.book-sequence-row{grid-template-columns:20px 65px minmax(0,1fr);gap:7px}.book-sequence-row img{width:65px;height:50px}.book-sequence-row>div{grid-column:3}.book-sequence-row strong{font-size:12px}}
