.result-gallery{--gallery-ink:#183e36;--gallery-accent:#007b61;--gallery-line:#bdd6cf;color:var(--gallery-ink);font-size:14px;line-height:1.55}.result-gallery ::selection{background:#c7eee1}.result-gallery input{caret-color:var(--gallery-accent)}.result-gallery :focus-visible,.gallery-preview :focus-visible{outline:3px solid #007b61;outline-offset:3px}.gallery-filters{display:grid;grid-template-columns:minmax(200px,1.7fr) 1fr 1fr;gap:16px;margin-bottom:20px}.gallery-filters label{display:grid;gap:6px;font-size:15px;font-weight:700}.gallery-filters input,.gallery-filters select{width:100%;min-width:0;padding:10px 12px;border:1px solid var(--gallery-line);border-radius:8px;background:#fff;color:#263d37;font-size:14px;font-weight:400}.gallery-filters input::placeholder{color:#526b63;opacity:1}.gallery-selection{position:sticky;top:0;z-index:5;background:#eef7f3;padding:14px 16px;border-bottom:1px solid var(--gallery-line);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px}.gallery-selection>div:first-child{display:grid;gap:3px}.gallery-selection strong{font-size:16px}.gallery-selection span{color:#365a50;font-size:13px}.gallery-selection-actions{display:flex;flex-wrap:wrap;gap:8px}.result-gallery button{color:#184d3e;border-color:var(--gallery-line);min-height:42px;font-size:14px}.result-gallery button:disabled{cursor:not-allowed;opacity:1;background:#e7eeeb;color:#596d65;border-color:#cedbd5}.result-gallery .gallery-primary{background:#007b61;border-color:#007b61;color:#fff;font-weight:700}.gallery-status{margin:16px 0;min-height:0;max-width:72ch}.gallery-status:empty{display:none}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:18px;margin-top:22px}.gallery-image{min-width:0;border:1px solid var(--gallery-line);border-radius:12px;background:#fff;overflow:hidden}.gallery-image.is-selected{border:2px solid #007b61}.gallery-thumbnail{aspect-ratio:4/3;position:relative;background:#edf2ef;display:flex;align-items:center;justify-content:center}.gallery-thumbnail button{width:100%;height:100%;padding:0;border:0;border-radius:0;background:transparent}.gallery-thumbnail img{width:100%;height:100%;object-fit:contain;display:block}.gallery-badge{position:absolute;left:8px;bottom:8px;pointer-events:none;background:#e0f4ea;color:#175b43;padding:3px 8px;border-radius:5px;font-size:13px;font-weight:700}.gallery-badge.locked{background:#fff1ce;color:#73521a}.gallery-badge.expired{background:#e4e9e6;color:#4c6158}.gallery-image-copy{padding:12px}.gallery-image-copy label{display:flex;gap:9px;align-items:center}.gallery-image-copy input{width:20px;height:20px;margin:0;accent-color:#007b61;flex-shrink:0}.gallery-image-copy strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gallery-image-copy p{font-size:13px;color:#3f6156;margin:7px 0;overflow-wrap:anywhere}.gallery-image-copy a,.gallery-preview a{color:#006d56;text-decoration:underline;text-underline-offset:3px;font-size:14px}.gallery-image-copy small{font-size:13px;color:#4d6058}.gallery-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:16px;padding:24px 0}.gallery-pagination span{font-size:13px;color:#3f6156;font-variant-numeric:tabular-nums}.gallery-skeleton{height:230px;background:#e6ede9;border-radius:12px}.gallery-preview{width:min(1100px,94vw);max-height:92vh;padding:20px;border:1px solid #bdd6cf;border-radius:12px;color:#183e36;background:#fff}.gallery-preview::backdrop{background:rgb(18 37 30 / .7)}.gallery-preview header{display:flex;align-items:center;justify-content:space-between;gap:16px}.gallery-preview h3{font-size:20px;margin:0;overflow-wrap:anywhere}.gallery-preview-meta,.gallery-preview-state{font-size:14px;line-height:1.6}.gallery-preview-image{background:#edf2ef;text-align:center}.gallery-preview-image img{display:block;width:100%;height:auto;max-height:64vh;object-fit:contain}.gallery-preview footer{display:flex;gap:24px;flex-wrap:wrap;margin-top:16px}.gallery-preview button{min-height:42px}.gallery-preview-state:empty{display:none}@media(max-width:800px){.gallery-filters{grid-template-columns:1fr 1fr;gap:12px}.gallery-filters label:first-child{grid-column:1/-1}.gallery-selection{padding:12px;gap:10px}.gallery-selection-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.gallery-selection-actions .gallery-primary{grid-column:1/-1}.gallery-selection-actions button{padding:8px;font-size:13px}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.gallery-image-copy{padding:10px}.gallery-preview{padding:14px}.gallery-preview header{align-items:flex-start}}
.gallery-mode .member-heading h2{font-size:20px;color:#183e36}.gallery-mode #section-description{color:#3c5e52;font-size:14px}.gallery-mode .member-heading{margin-bottom:20px}@media(max-width:800px){.gallery-mode .member-sidebar{padding:10px 16px}.gallery-mode .member-sidebar h1{display:none}.gallery-mode .member-sidebar nav{display:flex;overflow:auto;margin:0;gap:4px}.gallery-mode .member-sidebar nav button{padding:10px 12px;font-size:14px;flex-shrink:0}.gallery-mode .member-main{padding-top:20px}}
