.activity-directory-link{text-align:center;margin:16px 0 0}.activity-directory-link .button{font-size:.9rem}.team-button{width:100%;min-height:44px;margin-top:12px;padding:8px;font-size:.76rem}.activity-leaders>.people-grid .portrait-placeholder{width:80px;height:100px;min-height:100px}dialog{color:#102334;border:2px solid #4c736e;border-radius:10px;box-shadow:0 15px 70px #0005}dialog::backdrop{background:#102334b8}.team-dialog{background:#fffbe8;width:min(900px,94vw);max-height:86dvh;padding:20px;overflow:auto}.dialog-heading{background:#fffbe8;border-bottom:1px solid #b6bea9;justify-content:space-between;align-items:center;gap:20px;padding:18px 22px;display:flex}.dialog-heading h2{margin:0;font-size:1.25rem}.dialog-heading button{flex-shrink:0;font-size:.85rem}.team-dialog .dialog-heading{margin-bottom:22px;padding:0 0 18px}.team-dialog .people-grid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:28px 20px}.team-dialog .person-card img,.team-dialog .portrait-placeholder{width:120px;height:150px;max-height:150px}.team-dialog .person-card strong{font-size:.85rem}.team-dialog .person-card span{font-size:.8rem}.media-dialog{background:#fffbe8;width:min(1240px,96vw);max-width:96vw;height:min(900px,94dvh);max-height:94dvh;padding:0;overflow:hidden}.media-dialog[open]{flex-direction:column;display:flex}.media-dialog>.media-browser{overscroll-behavior:contain;min-height:0;padding:0 22px 18px;overflow:auto}.media-help{margin:16px 0;font-size:.85rem}.media-filters{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;margin:18px 0;display:grid}.media-filters label{min-width:0;margin:0;font-size:.8rem}.media-results-heading{justify-content:space-between;align-items:center;gap:15px;display:flex}.media-results-heading p{font-size:.85rem}.media-results-heading button{min-height:42px;padding:8px 12px;font-size:.78rem}.media-browse-layout{grid-template-columns:minmax(0,1fr) 270px;align-items:start;gap:22px;display:grid}.media-thumbnail-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:15px;display:grid}.media-thumbnail{text-align:left;min-width:0;box-shadow:none;background:#fffef6;border:2px solid #9fae97;flex-direction:column;justify-content:start;align-items:stretch;gap:8px;padding:8px;display:flex;position:relative}.media-thumbnail:hover{background:#f7ebbb}.media-thumbnail img{object-fit:contain;background:#e2e7db;width:100%;height:150px}.media-thumbnail strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.78rem;line-height:1.3;display:-webkit-box;overflow:hidden}.media-thumbnail small{color:#44564a;font-size:.68rem;line-height:1.3}.media-thumbnail.is-selected{background:#e2f0df;border:3px solid #145b66;padding:7px}.media-selected-mark{color:#fff;background:#145b66;border:2px solid #fff;border-radius:50%;place-items:center;width:30px;height:30px;font-size:1rem;display:grid;position:absolute;top:12px;right:12px}.media-file-symbol{background:#e2e7db;place-items:center;height:150px;font-size:2rem;display:grid}.media-preview{overflow-wrap:anywhere;background:#f1f1dd;border:1px solid #9aa58b;min-width:0;padding:16px;position:sticky;top:0}.media-preview img,.media-preview video{object-fit:contain;background:#dfe4d7;width:100%;max-height:330px}.media-preview h3{margin:0 0 14px}.media-preview h4{margin:12px 0 8px;font-size:.85rem}.media-preview p,.media-preview li,.media-preview summary{font-size:.78rem;line-height:1.45}.media-preview ul{padding-left:18px}.media-preview button{padding:8px;font-size:.75rem}.media-selection-footer{z-index:2;background:#fffbe8;border-top:2px solid #a9b49a;justify-content:space-between;align-items:center;gap:18px;margin:20px -22px -18px;padding:15px 22px;display:flex;position:sticky;bottom:-18px;box-shadow:0 -4px 15px #0001}.media-selection-footer span{font-size:.8rem}.mobile-preview-button{display:none}.media-load-more{margin:25px auto;font-size:.85rem;display:flex}.image-editor-preview{text-align:center;background:#e4e9db;border:1px solid #a5b29d;max-width:650px;margin:0 0 18px;padding:12px}.image-editor-preview img{object-fit:contain;max-width:100%;max-height:300px;margin:auto;display:block}.image-editor-actions{flex-wrap:wrap;align-items:start;gap:20px;margin:18px 0;display:flex}.image-editor-actions>.upload-label{flex:1;min-width:220px;font-size:.8rem}.image-editor-actions button{font-size:.85rem}.media-address{margin:15px 0;font-size:.8rem}.media-address label{margin:12px 0}.gallery-editor{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;display:grid}.gallery-edit-card{background:#f8f6e5;border:1px solid #b5bba4;min-width:0;padding:12px}.gallery-edit-card>img{object-fit:contain;background:#e3e7d9;width:100%;height:180px}.gallery-edit-card label{margin:14px 0;font-size:.8rem}.gallery-photo-actions{flex-wrap:wrap;gap:8px;display:flex}.gallery-photo-actions button,.merge-heading{min-height:42px;padding:7px 10px;font-size:.75rem}.merge-heading{margin:0 0 15px}@media (width<=900px){.mobile-preview-button{min-height:38px;padding:7px 12px;font-size:.75rem;display:inline-flex}.media-browse-layout{grid-template-columns:minmax(0,1fr)}.media-preview{position:static}.media-preview img,.media-preview video{max-height:300px}.media-thumbnail-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))}}@media (width<=640px){.media-dialog{width:98vw;max-width:98vw;height:96dvh;max-height:96dvh}.dialog-heading{gap:12px;padding:12px}.dialog-heading h2{font-size:1.05rem}.dialog-heading button{padding:8px 10px;font-size:.72rem}.media-dialog>.media-browser{padding:0 12px 12px}.media-filters{grid-template-columns:1fr;gap:12px}.media-thumbnail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.media-thumbnail img{height:120px}.media-selection-footer{flex-direction:column;align-items:stretch;gap:8px;margin:15px -12px -12px;padding:12px;bottom:-12px}.media-selection-footer .primary{width:100%}.media-results-heading{align-items:start}.media-results-heading button{max-width:50%}.image-editor-actions{display:block}.image-editor-actions>.upload-label{min-width:0;margin-top:18px}.gallery-editor{grid-template-columns:minmax(0,1fr)}.team-dialog .people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.team-dialog .person-card img{max-width:100%}.activity-directory-link .button{width:100%}}
