html body dialog.portfolio-lightbox{inset:0!important;margin:0!important;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:none!important;padding:0!important;border:0!important;border-radius:0!important;gap:0!important;}
html body .portfolio-lightbox .lightbox-canvas{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;min-height:0!important;margin:0!important;padding:0!important;}
html body .portfolio-lightbox .lightbox-canvas>img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;}
html body .portfolio-lightbox>header{position:absolute!important;z-index:8!important;top:max(8px,env(safe-area-inset-top))!important;left:12px!important;right:12px!important;height:auto!important;background:transparent!important;pointer-events:none;}
html body .portfolio-lightbox>header button{pointer-events:auto;background:#210e16b3!important;border-radius:24px!important;color:white!important;}
html body .portfolio-lightbox>footer{position:absolute!important;bottom:8px!important;left:16px!important;right:16px!important;z-index:7!important;background:#210e16aa!important;border:0!important;padding:5px 12px!important;border-radius:18px!important;width:max-content!important;max-width:calc(100% - 32px)!important;height:auto!important;}
html body .portfolio-lightbox .viewer-navigation{position:absolute!important;bottom:30px!important;left:50%!important;transform:translateX(-50%)!important;z-index:7!important;width:auto!important;max-width:80vw!important;background:#210e1699;border-radius:20px;padding:3px 12px!important;}
html body .portfolio-lightbox .viewer-thumbnails{display:none!important;}
html body .portfolio-lightbox .viewer-dots{display:flex!important;}

html body .portfolio-lightbox>footer{bottom:max(8px,env(safe-area-inset-bottom))!important;pointer-events:none;}
html body .portfolio-lightbox .viewer-navigation{bottom:72px!important;}
html body .portfolio-lightbox .viewer-comparison-control{pointer-events:auto;}
html body .portfolio-lightbox .viewer-zoom-hint{color:#fff;background:#210e16d9;border-radius:16px;padding:4px 10px;}
:focus-visible{outline:3px solid #e87f41;outline-offset:4px;}
html body .site-header .header-timeline a[aria-current="location"]{color:var(--brand-plum)!important;font-weight:700;}
html body :is(#urban-read-more,.project-cta,[data-parco-return]){color:var(--brand-plum)!important;}
html body #palazzo-butera .byat-copy .project-subtitle{color:var(--brand-plum)!important;}
html body .contact-path .contact-cta{color:var(--brand-white)!important;}
html body #concorso .read-more{color:var(--brand-plum)!important;}
@media(max-width:900px){html body .contact-path .contact-cta{color:var(--brand-plum)!important;}}
.skip-content{position:fixed;top:8px;left:8px;z-index:2147483647;transform:translateY(-180%);padding:12px 20px;background:#fff;color:#21131b;border-radius:8px;}
.skip-content:focus{transform:none;}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.portfolio-lightbox *{animation:none!important;transition:none!important;}}

/* Preserve the white drawing sheet also in the shared fullscreen viewer. */
html body .portfolio-lightbox .lightbox-canvas>img[src*="/prospetti/"]{background:var(--brand-white);}
