.gallery-panel{position:sticky;top:88px;background:#fff;border:1px solid #e6ebe7;border-radius:16px;padding:16px;max-height:calc(100vh - 110px);overflow:auto}.gallery-title{display:flex;justify-content:space-between;align-items:center}.gallery-title button{border:0;background:none;font-size:22px;cursor:pointer}.gallery-panel form{display:grid;gap:8px}.gallery-panel input,.gallery-panel form button,.contact-priority select{width:100%;padding:8px;border:1px solid #dbe4dd;border-radius:8px;background:#fff}.gallery-panel label{font-size:12px;color:#65756b}.gallery-items article{padding:12px 0;border-bottom:1px solid #edf1ed}.gallery-items img{display:block;max-width:100%;height:auto;border-radius:8px}.gallery-items small{display:block;overflow-wrap:anywhere;color:#718078}.contact-priority{display:block;padding:8px;font-size:12px}.contact-priority select{margin-top:4px}@media(max-width:1050px){.right.gallery-visible{display:block;position:fixed;right:0;top:64px;z-index:35;width:min(360px,100vw);max-height:calc(100vh - 64px);overflow:auto;padding:8px;background:#fff;box-shadow:0 4px 20px #0002}.gallery-panel{position:static;max-height:none}}
.gallery-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.gallery-tabs button{border:1px solid #c7ddd0;background:#fff;color:#23583a;border-radius:999px;padding:7px 10px}.gallery-tabs button[aria-pressed="true"]{background:#d9f2e0;border-color:#63b981}.gallery-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gallery-items article{min-width:0}.gallery-preview{padding:0;border:0;background:transparent;cursor:pointer;width:100%}.gallery-items video,.gallery-enlarged{max-width:100%;height:auto;border-radius:8px}.gallery-enlarged{max-height:70vh;object-fit:contain}.gallery-filters summary{cursor:pointer;padding:8px 0}
