.package-photo-cover{display:block;position:relative;width:100%;padding:20px;background:#edf0e8;aspect-ratio:4/3;overflow:hidden;text-align:left}.package-photo-cover>img{width:100%;height:100%;display:block;object-fit:contain}.package-photo-cover>span{position:absolute;left:14px;bottom:14px;background:#fffef4ed;color:#293e42;padding:8px 12px;border-radius:7px;font-size:11px;box-shadow:0 2px 10px #172d2412}.package-photo-cover:hover>span{background:#d9ebaa}.package-photo-cover:focus-visible,.package-photo-thumbs button:focus-visible{outline:3px solid #66824d;outline-offset:-3px}.package-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:15px 0}.package-photo-tile{overflow:hidden;border:1px solid #dfe5d9;border-radius:10px;background:#fff}.package-photo-tile>img{display:block;width:100%;height:170px;object-fit:contain;background:#f0f3eb;padding:8px}.package-photo-tile-body{padding:14px}.package-photo-tile-body .field{margin-top:12px}.package-photo-actions{display:flex;flex-wrap:wrap;gap:7px}.package-photo-actions .btn{font-size:11px;padding:8px 10px;min-height:38px}.package-photo-upload{display:flex;flex-direction:column;gap:7px;background:#f1f5e8;border:1px dashed #a1b68b;border-radius:10px;padding:18px;margin-top:16px}.package-photo-upload strong{font-size:16px}.package-photo-upload span{font-size:12px;color:#6c7b64}.package-photo-upload input{width:100%;min-width:0;background:#fff;border:1px solid #d9e1d1;padding:8px;border-radius:7px;font-size:13px}.package-photo-upload input::file-selector-button{background:#30464a;color:white;border:0;border-radius:5px;padding:9px 12px;margin-right:12px;cursor:pointer}.package-photo-large{display:block;width:100%;height:min(64vh,650px);object-fit:contain;background:#f0f2eb;border-radius:8px}.package-photo-caption{min-height:24px;text-align:center;font-size:14px;margin:14px 0;overflow-wrap:anywhere}.package-photo-navigation{display:flex;align-items:center;justify-content:center;gap:16px}.package-photo-navigation>span{white-space:nowrap;font-size:12px}.package-photo-thumbs{display:flex;gap:8px;overflow-x:auto;padding:12px 2px 5px;margin-top:14px}.package-photo-thumbs button{padding:3px;background:#eff2e8;border:2px solid transparent;border-radius:7px;flex:0 0 80px;height:66px}.package-photo-thumbs button[aria-pressed=true]{border-color:#758f55}.package-photo-thumbs img{display:block;width:100%;height:100%;object-fit:contain}.package-photo-editor .helper{max-width:100%}
@media(max-width:760px){.package-photo-cover{padding:15px}.package-photo-grid{grid-template-columns:minmax(0,1fr)}.package-photo-tile>img{height:200px}.package-photo-upload{padding:13px}.package-photo-upload input{font-size:12px}.package-photo-navigation{gap:8px}.package-photo-navigation .btn{padding:10px 9px;font-size:11px}.package-photo-large{height:53vh}.package-photo-caption{font-size:13px}}

.package-gallery{min-width:0;background:#edf0e8}.package-gallery-window{position:relative}.package-track{display:flex;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;aspect-ratio:4/3;overscroll-behavior-x:contain}.package-track::-webkit-scrollbar{display:none}.package-slide{flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;height:100%}.package-slide img{display:block;width:100%;height:100%;object-fit:contain;user-select:none;padding:12px}.package-track.dragging{scroll-snap-type:none;cursor:grabbing}.package-track[tabindex]{cursor:grab}.package-track:focus-visible{outline:3px solid #66824d;outline-offset:-3px}.package-gallery .hero-pagination{flex-wrap:wrap;padding:10px;gap:7px}.package-count{font-size:12px;white-space:nowrap}.package-gallery .hero-arrow{top:50%;transform:translateY(-50%)}.package-prev{left:8px}.package-next{right:8px}

/* Fixed horizontal viewport: intrinsic image dimensions cannot affect layout. */
.package-gallery-window,.package-crop-stage{position:relative;aspect-ratio:16/10;width:100%;overflow:hidden;background:#edf0e8}
.package-gallery-window .package-track{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto}
.package-slide{position:relative;overflow:hidden}.package-motion{position:absolute;inset:0;transform-origin:center}
.package-slide img,.package-crop-stage img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;padding:0;user-select:none}
.package-slide.is-current .package-motion.has-motion{animation:package-breathe 12s ease-in-out infinite}
@keyframes package-breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.1)}}
.package-dots{position:absolute;z-index:2;bottom:8px;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:0;max-width:calc(100% - 16px);padding:2px 5px;border-radius:20px;background:#23363880}
.package-dots button{position:relative;width:20px;height:24px;padding:0;background:transparent;border:0}
.package-dots button:after{content:'';position:absolute;width:6px;height:6px;left:7px;top:9px;border-radius:50%;background:#ffffff90}.package-dots button[aria-pressed=true]:after{background:#fff;width:12px;left:4px;border-radius:4px}.package-dots button:focus-visible{outline:2px solid white;border-radius:4px}
.package-crop-stage{touch-action:none;cursor:move}.package-crop-stage:focus-visible{outline:3px solid #66824d;outline-offset:-3px}.package-photo-editor .package-photo-grid{grid-template-columns:1fr}.package-photo-tile .package-crop-stage{max-width:440px;margin:auto}.package-photo-tile .check{margin:14px 0}
.package-card>.album-art{height:auto;aspect-ratio:16/10;min-height:0}
@media(prefers-reduced-motion:reduce){.package-slide.is-current .package-motion.has-motion{animation:none}}

.package-cover.album-art{position:relative;width:100%;height:auto;aspect-ratio:16/10;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
.package-slide>.package-cover{height:100%}.package-cover .mini-book{position:relative;width:80%;height:auto!important;max-width:none!important;aspect-ratio:1.6;display:flex;overflow:hidden}
.package-cover-photo{position:relative;flex:0 0 45%;height:100%;overflow:hidden;align-self:stretch;aspect-ratio:.72}
.package-cover .package-cover-photo img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;padding:0}
.package-cover .book-caption{flex:1;min-width:0;overflow-wrap:anywhere}.package-cover .book-caption>span{display:block}
#packageCoverPreview{max-width:440px;margin:18px auto}.package-cover-editor .cover-crop-stage{aspect-ratio:.72;max-width:200px;margin:15px auto}.package-cover-editor>.check{margin-top:12px}
.package-cover--trio{isolation:isolate}
.package-cover--trio .mini-book{z-index:1}
.trifold-folds{position:absolute;left:10%;top:10%;width:80%;height:80%;transform:rotate(-5deg);pointer-events:none;z-index:0}
.trifold-wing{position:absolute;left:100%;top:0;width:10%;height:100%;clip-path:polygon(0 0,100% 13%,100% 87%,0 100%);background:linear-gradient(90deg,#0005,#ffffff28 12%,#ffffff12 85%,#0001),var(--trifold-color)}
.trifold-wing:after{content:'';position:absolute;right:0;top:13%;bottom:13%;width:1px;background:#dae0d5}

/* Captions belong to the right cover panel, clear of the central binding. */
.package-cover .mini-book{container-type:inline-size}
.package-cover .mini-book .book-caption{position:absolute;inset:0 4% 0 55%;padding:0;text-align:center;display:block;overflow-wrap:normal}
.package-cover .book-caption>span{position:absolute;top:30%;left:0;width:100%;font-size:clamp(13px,6.4cqw,22px);line-height:1.12}
.package-cover .book-caption>small{position:absolute;bottom:12%;left:0;width:100%;font-size:clamp(6px,2.35cqw,8px);line-height:1.5;letter-spacing:1.2px}
