.website-gallery .slot{width:100%;height:100%;padding:0}
dialog.website-viewer{padding:0;width:min(1240px,96vw);max-width:96vw;height:92dvh;max-height:92dvh;border:1px solid #f0c4aa;border-radius:20px;background:#fff8ee;color:#171717;overflow:hidden;font-family:'Hanken Grotesk',system-ui,sans-serif;z-index:10000}
dialog.website-viewer[open]{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto}
.website-viewer::backdrop{background:#171717ad}
.website-viewer button,.website-viewer a{font:inherit;touch-action:manipulation}
.website-viewer button{cursor:pointer;background:#fffdf8;border:1px solid #efc6af;border-radius:999px;min-height:44px;padding:9px 17px;color:#171717}
.website-viewer button:disabled{opacity:.45;cursor:default}
.website-viewer button:focus-visible,.website-viewer a:focus-visible,.website-gallery button:focus-visible{outline:3px solid #c94b20;outline-offset:3px}
.wv-head,.wv-toolbar,.wv-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 22px}
.wv-head,.wv-toolbar{border-bottom:1px solid #efc6af}
.wv-head h2{font-size:22px;line-height:1.2;margin:0;font-weight:700}
.wv-tabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.wv-tabs button[aria-pressed=true]{background:#171717;border-color:#171717;color:white}
.wv-navigation{display:flex;align-items:center;gap:12px;flex:none}
.wv-navigation[hidden]{display:none}
.wv-navigation button{width:44px;padding:0;font-size:26px;line-height:1}
.wv-navigation span{min-width:46px;text-align:center;font-size:14px}
.wv-stage{min-height:0;overflow:auto;background:#efe2d1;overscroll-behavior:contain;touch-action:pan-x pan-y}
.wv-canvas{display:flex;align-items:center;justify-content:center;min-width:100%;min-height:100%;padding:0}
.wv-canvas img{display:block;flex:none;max-width:none;object-fit:contain;user-select:none;-webkit-user-drag:none}
.wv-footer{border-top:1px solid #efc6af}
.wv-footer p{margin:0;font-size:14px;color:#5d5853}
.wv-contact{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 22px;min-height:46px;border-radius:999px;background:#ff5a1f;color:#fff!important;text-decoration:none;white-space:nowrap;font-weight:700}
.wv-contact:hover{background:#f04e17}
@media(max-width:600px){.website-viewer .wv-head,.website-viewer .wv-toolbar,.website-viewer .wv-footer{padding:12px;gap:10px}.wv-head h2{font-size:18px}.wv-toolbar{flex-direction:column;align-items:stretch}.wv-tabs{justify-content:center}.website-viewer button{font-size:13px;padding:8px 12px}.wv-footer p{display:none}.wv-footer{justify-content:flex-end}.wv-contact{font-size:15px;width:100%}}

/* Native dialog sits above the custom cursor, so use the system cursor inside. */
html.cursor-on .website-viewer,html.cursor-on .website-viewer *{cursor:auto}
html.cursor-on .website-viewer button,html.cursor-on .website-viewer a{cursor:pointer}
html:has(.website-viewer[open]) .cur{visibility:hidden}
.website-gallery .slot img.website-scroll-image{height:auto;object-fit:initial;object-position:top;inset:0 auto auto 0;visibility:hidden;pointer-events:none;will-change:transform}
.website-gallery .slot.website-hover-scrolling img.website-scroll-image{visibility:visible}
.website-gallery .slot.website-hover-scrolling img:not(.website-scroll-image){visibility:hidden}
.website-gallery .slot.website-scroll-ready img.website-scroll-image{visibility:visible}
.website-gallery .slot.website-scroll-ready img:not(.website-scroll-image){visibility:hidden}
