/* The site-photo gallery (site-photos.js): Nick's design, handed over on 10 November 2026 (Website #102, #103). */
.site-gallery{min-width:0}.site-photo-open{position:relative;display:block;width:100%;padding:0;background:#101713;border:1px solid #ffffff22;border-radius:10px;overflow:hidden;cursor:zoom-in}.site-photo-open>img{display:block;width:100%;height:330px;object-fit:contain}.site-photo-open>span{position:absolute;right:10px;bottom:10px;background:#14231ee8;color:#fff;padding:8px 12px;border-radius:20px;font-size:12px}.site-photo-caption{margin:9px 0!important;color:inherit!important;font-size:14px!important}.site-photo-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.site-photo-choices button{padding:4px;background:#ffffff06;border:1px solid #ffffff22;border-radius:7px;min-width:0;color:inherit;cursor:pointer}.site-photo-choices button[aria-pressed=true]{border-color:var(--accent,#59c9a5);background:#59c9a510}.site-photo-choices img{display:block;width:100%;height:58px;object-fit:contain;background:#14201b;border-radius:4px}.site-photo-choices span{display:block;font-size:11px;line-height:1.2;padding:5px 1px}.site-photo-dialog{box-sizing:border-box;width:min(900px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:18px;margin:auto;border:1px solid #ffffff30;border-radius:20px;background:#1d2723;color:#f0f2ed;box-shadow:0 20px 100px #0009;font-family:Outfit,sans-serif}.site-photo-dialog::backdrop{background:#07100dda;backdrop-filter:blur(14px)}.site-photo-dialog header{display:flex;justify-content:space-between;gap:16px;align-items:start;margin-bottom:14px}.site-photo-dialog h2{font-size:24px;line-height:1.15;margin:0}.site-photo-dialog header p{font-size:14px;color:#b9c6bf;margin:7px 0 0}.site-photo-dialog>img{display:block;width:100%;height:min(68dvh,760px);object-fit:contain;background:#111a16}.site-photo-dialog footer{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:14px}.site-photo-dialog button,.site-photo-trigger{font:inherit;color:inherit;border:1px solid #ffffff35;background:#ffffff09;border-radius:22px;padding:10px 15px;cursor:pointer;min-height:44px}.site-photo-dialog button:hover,.site-photo-trigger:hover{background:#59c9a51c;border-color:#59c9a5}.site-photo-dialog button:focus-visible,.site-gallery button:focus-visible,.site-photo-trigger:focus-visible{outline:2px solid #59c9a5;outline-offset:3px}.site-photo-trigger{font-size:14px;margin-top:10px}.photo-modal-open{overflow:hidden}.document-sheet .site-photo-choices button{border-color:#173e3533}.document-sheet .site-photo-choices button[aria-pressed=true]{border-color:#216f5c}.document-sheet .site-photo-open>img{height:300px}.example-body .real-photo-note{font-size:13px}.site-photo-dialog [data-photo-close]{flex:none;width:44px;padding:8px}.site-photo-dialog footer span{font-size:14px}@media(max-width:550px){.site-photo-open>img{height:300px}.site-photo-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.site-photo-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:12px;border-radius:14px}.site-photo-dialog h2{font-size:21px}.site-photo-dialog header p{font-size:13px}.site-photo-dialog>img{height:62dvh}.site-photo-dialog footer button{font-size:13px;padding:9px 12px}}
/* Keep the original and annotated photo aligned while switching versions. */
.site-photo-switch{display:flex;gap:6px;margin:0 0 12px;flex-wrap:wrap}.site-photo-switch button{font:inherit;font-size:13px;min-height:42px;padding:9px 13px;border:1px solid #ffffff30;border-radius:22px;background:#ffffff05;color:inherit;cursor:pointer}.site-photo-switch button[aria-pressed=true]{background:#59c9a51c;border-color:var(--accent,#59c9a5)}.site-photo-open>.photo-original,.site-photo-stage>.photo-original{position:absolute;inset:0;opacity:0}.site-photo-open>.photo-overlay,.site-photo-stage>.photo-overlay{opacity:1}.site-photo-open>.photo-original,.site-photo-open>.photo-overlay,.site-photo-stage>img{transition:opacity .35s ease}.is-original .photo-original{opacity:1}.is-original .photo-overlay{opacity:0}.site-photo-stage{position:relative;background:#111a16}.site-photo-stage>img{display:block;width:100%;height:min(62dvh,710px);object-fit:contain}.document-sheet .site-photo-switch button{border-color:#173e3545}.document-sheet .site-photo-switch button[aria-pressed=true]{border-color:#216f5c;background:#59c9a522}.site-photo-switch button:focus-visible{outline:2px solid #59c9a5;outline-offset:3px}@media(max-width:550px){.site-photo-stage>img{height:53dvh}.site-photo-switch button{font-size:12px;padding:8px 11px}}@media(prefers-reduced-motion:reduce){.site-photo-open>img,.site-photo-stage>img{transition:none}}
/* Icons are drawn, not typed, so every device shows the same ones. */
.site-photo-open svg,.site-photo-dialog button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:-3px}
.site-photo-dialog [data-photo-close] svg{width:18px;height:18px;vertical-align:middle}
