[data-cooee-gallery] { position: relative; }
[data-cooee-gallery-track] { display:flex; overflow-x:auto; align-items:stretch; scroll-snap-type:x mandatory; overscroll-behavior-inline:contain; scrollbar-width:thin; }
[data-cooee-gallery-track] > * { flex-shrink:0; scroll-snap-align:start; }
[data-cooee-gallery="slides"] [data-cooee-gallery-track] > * { flex:0 0 100%; min-width:0; }
[data-cooee-gallery-track] > img { width:100%; height:auto; object-fit:cover; }
[data-cooee-gallery-controls] { display:flex; gap:10px; justify-content:flex-end; padding:.45rem .75rem; }
[data-cooee-gallery-controls] button { min-height:44px; min-width:44px; padding:4px 10px; background:#fff; color:#172948; border:1px solid #8694ab; border-radius:20px; font:inherit; cursor:pointer; }
[data-cooee-gallery-controls] button:hover { background:#fff2bb; }
[data-cooee-sidebar] { position:fixed; z-index:1001; inset-block:0; inset-inline-end:0; max-width:94vw; overflow:auto; background:#fff; box-shadow:0 0 30px #10182866; }
[data-cooee-sidebar][data-side="left"] { inset-inline-end:auto; inset-inline-start:0; }
[data-cooee-sidebar][hidden] { display:none!important; }
[data-cooee-sidebar] [data-cooee-sidebar-action$=":close"] { min-width:44px; min-height:44px; }
[data-cooee-sidebar-overlay] { position:fixed; inset:0; z-index:1000; background:#10182899; }
[data-cooee-accordion] summary { cursor:pointer; }
[data-cooee-accordion] summary > :first-child { display:inline; }
[data-cooee-image] { max-width:100%; object-fit:inherit; }
[data-cooee-image="responsive"],[data-cooee-image="intrinsic"] { display:block; max-width:100%; height:auto; }
[data-cooee-embed] { border:0; max-width:100%; }
[data-cooee-share] { display:inline-flex; min-height:44px; align-items:center; justify-content:center; width:auto; padding:4px 10px; border:1px solid currentColor; border-radius:20px; color:inherit; text-decoration:underline; text-underline-offset:3px; }
[data-cooee-gallery-track]:focus-visible,[data-cooee-accordion] summary:focus-visible,[data-cooee-share]:focus-visible { outline:3px solid #315ad0; outline-offset:2px; }
[data-cooee-lightbox] { inset:50% auto auto 50%; transform:translate(-50%,-50%); max-height:92vh; max-width:min(94vw,1100px); width:max-content; padding:12px; }
[data-cooee-lightbox] img { max-height:78vh; max-width:min(86vw,1000px); width:auto; object-fit:contain; }
