.gallery-header{max-width:1440px;margin:auto;padding:26px 36px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid #ddd}.gallery-header img{width:155px;height:auto}.gallery-header a{color:#841b23}.gallery-main{max-width:1440px;margin:auto;padding:36px}.gallery-main h1{font-size:34px;color:#841b23;margin:0 0 12px}.gallery-main h2{font-size:22px}.gallery-eyebrow{text-transform:uppercase;font-size:12px;letter-spacing:2px;font-weight:600;color:#777}.gallery-description{white-space:pre-wrap;max-width:850px;line-height:1.7}.gallery-note{background:#f5f3f1;padding:16px 20px;border-radius:6px;line-height:1.6}.gallery-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0}.gallery-actions button,.gallery-main button{min-height:42px}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:30px;margin:30px 0}.gallery-card{background:#fff;border:1px solid #e1dcd8;border-radius:8px;overflow:hidden}.gallery-image-button{display:block;width:100%;border:0;background:#fff;padding:18px;cursor:zoom-in}.gallery-image-button img{width:100%;height:460px;object-fit:contain;display:block}.gallery-card-info{padding:18px 24px;border-top:1px solid #eee;text-align:center}.gallery-card-info h2{font-size:21px;margin:0 0 8px}.gallery-card-info p{color:#666;overflow-wrap:anywhere}.gallery-single{max-width:960px;margin-left:auto;margin-right:auto}.gallery-single .gallery-image-button img{height:560px}.gallery-modal{width:min(1200px,94vw);max-height:94vh;border:0;border-radius:8px;padding:18px}.gallery-modal::backdrop{background:#111b}.gallery-modal img{width:100%;height:74vh;object-fit:contain}.gallery-modal-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.gallery-modal-top h2{font-size:20px}.gallery-modal button{cursor:pointer}.gallery-status{min-height:24px;line-height:1.6;overflow-wrap:anywhere}.gallery-status.error{color:#a51c23;font-weight:600}.gallery-admin-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:28px}.gallery-panel{padding:24px;background:#fff;border:1px solid #e0dddd;border-radius:8px;margin-bottom:24px}.gallery-panel h2{margin-top:0}.gallery-panel label{display:block;font-weight:600;margin:14px 0 6px}.gallery-panel input:not([type=checkbox]),.gallery-panel textarea,.gallery-panel select{width:100%;padding:11px;border:1px solid #bbb;border-radius:4px;font:inherit;box-sizing:border-box}.gallery-panel textarea{min-height:90px;resize:vertical}.gallery-panel label.gallery-check{display:flex;gap:10px;align-items:center;line-height:1.5}.gallery-panel input[type=checkbox]{width:20px;height:20px;flex-shrink:0}.gallery-list{display:flex;flex-direction:column;gap:8px;margin:18px 0}.gallery-list button{text-align:left;padding:12px;background:#fff;border:1px solid #ddd;border-radius:4px;font:inherit;cursor:pointer}.gallery-list button[aria-current=true]{border:2px solid #841b23;background:#faf5f5}.gallery-list small{display:block;margin-top:5px;color:#666}.gallery-admin-images{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:20px}.gallery-admin-image{border:1px solid #ddd;padding:16px;border-radius:6px}.gallery-admin-image img{width:100%;height:210px;object-fit:contain}.gallery-admin-image.removed{background:#f3f3f3}.gallery-admin-image label{font-size:13px}.gallery-admin-image .gallery-actions{margin-bottom:0}.gallery-main button:disabled{opacity:.45;cursor:default}.gallery-footer{padding:24px 36px;background:#f4f4f4;color:#555;text-align:center;line-height:1.7}.gallery-footer a{color:#841b23}[hidden]{display:none!important}@media(max-width:800px){.gallery-admin-layout{grid-template-columns:1fr}.gallery-header{padding:20px}.gallery-main{padding:24px 18px}.gallery-main h1{font-size:28px}.gallery-panel{padding:18px}.gallery-grid{gap:20px}.gallery-image-button img,.gallery-single .gallery-image-button img{height:360px}.gallery-modal img{height:65vh}.gallery-header img{width:135px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.gallery-list button{display:block}.gallery-list small{display:block}.gallery-header>span{max-width:260px}.gallery-admin-images .gallery-actions button{font-size:13px}
#gallery-copy-link{background:#1979c3;color:#fff;border:1px solid #1979c3;cursor:pointer;font-weight:600;transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease}
#gallery-copy-link:hover:not(:disabled){background:#12629f;border-color:#12629f;color:#fff;box-shadow:0 2px 5px #0003}
#gallery-copy-link:focus-visible{outline:3px solid #85bce6;outline-offset:3px}
.gallery-signin{max-width:560px;margin:28px auto}.gallery-signin a{color:#12629f}.gallery-header>div{display:flex;align-items:center;gap:14px}#gallery-auth-status{font-weight:600;color:#98242b}#gallery-edit-contact-status,#gallery-new-contact-status{font-size:13px;line-height:1.5}
