/* Hill project photo book: vanilla StPageFlip, scoped to the project dialog. */
.lbx.hill-book-dialog{position:fixed!important;background:#141318!important;padding:28px clamp(18px,4vw,56px)!important;gap:0!important;overflow:auto}
.hill-book-dialog>div:first-child{flex:none;padding-bottom:18px;border-bottom:1px solid #3B3943}
.hill-book-dialog>div:first-child h2{font-size:clamp(23px,2.4vw,34px)!important;font-weight:500!important;letter-spacing:-.02em}
.hill-book-dialog>div:first-child button{border:1px solid #696671!important;background:transparent!important}
.hill-book-dialog .lbrow,.hill-book-dialog .lbthumbs{display:none!important}
.hill-book-shell{display:flex;flex:1;min-height:0;flex-direction:column;justify-content:center;gap:18px;padding-top:20px}
.hill-book-intro{display:flex;align-items:baseline;justify-content:space-between;gap:16px;color:#B9B9F9}
.hill-book-intro strong{font-size:12px;font-weight:400;font-family:'Source Code Pro',monospace;letter-spacing:.2em;text-transform:uppercase}
.hill-book-intro p{margin:0;font-size:14px;color:#C2BFC9}
.hill-book-stage{position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-height:240px;padding:12px 0}
.hill-book-volume{filter:drop-shadow(0 18px 24px #0005);margin:auto;touch-action:none}
.hill-book-page{background:#FCFCFC;color:#141318;overflow:hidden;box-sizing:border-box;border:1px solid #DAD8E0}
.hill-book-page-inner{height:100%;display:flex;flex-direction:column;box-sizing:border-box;padding:24px 24px 18px;background:linear-gradient(90deg,#E9E7EE 0%,#FFF 6%,#FFF 95%,#F1F0F4 100%)}
.hill-book-page:nth-child(odd) .hill-book-page-inner{background:linear-gradient(90deg,#F1F0F4 0%,#FFF 5%,#FFF 94%,#E9E7EE 100%)}
.hill-book-photo{flex:1;min-height:0;display:flex;align-items:center;justify-content:center}
.hill-book-photo img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none}
.hill-book-folio{display:flex;justify-content:space-between;align-items:center;gap:12px;flex:none;margin-top:18px;padding-top:12px;border-top:1px solid #DDDCE2;font:10px 'Source Code Pro',monospace;letter-spacing:.08em;text-transform:uppercase;color:#68646F}
.hill-book-folio span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hill-book-tools{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:14px;border-top:1px solid #3B3943;flex:none}
.hill-book-controls{display:flex;align-items:center;gap:18px}
.hill-book-controls button{width:44px;height:44px;border:1px solid #696671;background:transparent;color:#fff;font-size:24px;cursor:pointer}
.hill-book-controls button:disabled{opacity:.25;cursor:default}
.hill-book-controls button:hover:not(:disabled){border-color:#B9B9F9;color:#B9B9F9}
.hill-book-count{font:12px 'Source Code Pro',monospace;min-width:100px;text-align:center;color:#fff}
.hill-book-progress{display:flex;gap:8px}
.hill-book-progress button{height:30px;min-width:30px;padding:0 7px;border:0;border-bottom:2px solid #595561;color:#B1ADBA;background:none;cursor:pointer;font:11px 'Source Code Pro',monospace}
.hill-book-progress button[aria-current=true]{border-color:#B9B9F9;color:#fff}
.hill-book-dialog button:focus-visible{outline:2px solid #B9B9F9;outline-offset:4px}
@media(max-width:700px){.lbx.hill-book-dialog{padding:18px 16px!important}.hill-book-intro{align-items:start;flex-direction:column;gap:7px}.hill-book-shell{padding-top:16px;gap:8px}.hill-book-stage{min-height:220px}.hill-book-page-inner{padding:16px 16px 12px}.hill-book-tools{flex-wrap:wrap;gap:8px}.hill-book-progress{gap:4px}.hill-book-controls{gap:8px}.hill-book-count{min-width:80px}.hill-book-intro p{font-size:13px}}

/* Final supplied project images: minimal page bleed, full image retained. */
.hill-book-dialog .project-book-description{margin:14px 0 0;max-width:110ch;font-size:14px;line-height:1.45;color:#C2BFC9;flex:none}
.hill-book-page-inner,.hill-book-page:nth-child(odd) .hill-book-page-inner{padding:8px 8px 6px;background:#fff}
.hill-book-folio{margin-top:6px;padding-top:6px;font-size:9px;min-height:20px}
.hill-book-photo img{object-fit:contain}
.hill-book-shell{padding-top:12px;gap:10px}
@media(max-width:700px){.hill-book-dialog .project-book-description{font-size:12px;max-height:92px;overflow:auto}.hill-book-page-inner{padding:6px}.hill-book-folio{font-size:8px}}

/* the blank last page of an odd-numbered book carries the flat lockup */
.hill-book-end .hill-book-page-inner{justify-content:center;align-items:center;gap:14px;text-align:center}
.hill-book-end img{display:block;width:min(156px,50%);height:auto}
.hill-book-end span{font:10px 'Source Code Pro',monospace;letter-spacing:.2em;color:#68646F}
/* the lifted page and its shadows reach past the book: clip them at the stage so the dialog never grows scrollbars mid-drag */
.hill-book-stage{overflow:hidden}
