[data-collab-panel][hidden], [data-collab-only][hidden] { display: none !important; }
.collab-page { max-width: 1180px; padding-top: 46px; padding-bottom: 36px; }
.collab-header { text-align: center; margin-bottom: 30px; }
.collab-header h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.12; margin: 12px 0 16px; letter-spacing: -1.5px; }
.collab-toggle { display: flex; width: fit-content; max-width: 100%; margin: 0 auto 32px; border: 2px solid #171717; border-radius: 999px; padding: 5px; background: #fffdf8; gap: 5px; }
.collab-toggle a { padding: 13px 24px; border-radius: 999px; text-decoration: none; color: #171717; font-weight: 750; text-align: center; }
.collab-toggle a[aria-current] { background: #c8bdfc; box-shadow: inset 0 0 0 2px #171717; }
.collab-add { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; padding: 30px; background: #d8f5e8; border: 2px solid #171717; border-radius: 18px; box-shadow: 4px 4px 0 #171717; margin-bottom: 50px; }
.collab-add h2 { font-size: 25px; line-height: 1.2; margin: 0 0 10px; }
.collab-add p { color: #374b44; line-height: 1.6; margin: 0; max-width: 450px; }
.collab-add-form { display: flex; flex-direction: column; gap: 10px; }
.collab-add-form label { font-weight: 750; }
.collab-add-form select { width: 100%; padding: 12px 14px; min-height: 48px; background: #fffdf8; border: 2px solid #171717; border-radius: 10px; color: #171717; font: inherit; }
.collab-page .collab-button, .collab-modal .collab-button { display: block; padding: 14px 22px; border: 2px solid #171717; border-radius: 999px; background: #c8bdfc; color: #171717; text-align: center; font-size: 16px; font-weight: 800; text-decoration: none; cursor: pointer; line-height: 1.3; }
.collab-button:hover { filter: brightness(.97); }
.collab-add-link { width: 100%; box-sizing: border-box; }
.collab-list-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.collab-list-heading h2 { font-size: 24px; margin: 0; }
.collab-list-heading span { color: #606274; font-size: 13px; }
.collab-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px; }
/* Match the homepage's Featured Organizers cards. */
.collab-card { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: start; padding: 16px; background: var(--paper, #fbfaf7); color: #101010; border: 3px solid #101010; border-radius: 20px; box-shadow: 6px 6px 0 #101010; transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease; }
.collab-card:hover, .collab-card:focus-within { transform: translate(1px, 1px); border-color: rgb(195, 241, 223); box-shadow: 5px 5px 0 rgb(195, 241, 223); }
.collab-card-image { width: 112px; height: 112px; background: var(--ice, #dfe7ff); border: 3px solid #101010; overflow: hidden; }
.collab-card-image img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.collab-card-body { display: flex; flex-direction: column; min-width: 0; }
.collab-card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 1000; letter-spacing: -.02em; line-height: 1.05; overflow-wrap: anywhere; }
.collab-card h3 a, .collab-card h3 a:visited { color: inherit; text-decoration: none; }
.collab-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 20px; }
.collab-card p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; margin: 0; color: rgba(16, 16, 16, .85); font-size: 14px; line-height: 1.4; font-weight: 800; opacity: .92; overflow-wrap: anywhere; }
.collab-card-actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
.collab-card .collab-button { display: inline-flex; align-items: center; justify-content: center; padding: 7px 12px; border: 3px solid #101010; border-radius: 25px; background: var(--mint, #bae8cc) url('../images/brand/pool-water-mint-bg.svg') repeat center / 200px 200px; color: #101010; font-size: 13px; font-weight: 950; line-height: 1; }
.collab-card .collab-button:hover, .collab-card .collab-button:focus-visible { border-color: rgb(195, 241, 223); filter: none; }
.collab-page .collab-sent { background: #d8f5e8; cursor: default; opacity: 1; }
.collab-pagination { display: flex; justify-content: center; gap: 24px; margin: 30px 0; }
.collab-modal { width: min(500px, calc(100% - 40px)); box-sizing: border-box; padding: 32px; border: 2px solid #171717; border-radius: 20px; background: #fffdf8; color: #171717; max-height: 90vh; overflow-y: auto; }
.collab-modal::backdrop { background: rgb(24 20 40 / 55%); }
.collab-modal h2 { margin: 0 24px 16px 0; font-size: 28px; line-height: 1.2; }
.collab-modal p { line-height: 1.6; margin-bottom: 24px; }
.collab-close { position: absolute; right: 12px; top: 10px; border: 0; background: transparent; font-size: 28px; cursor: pointer; color: #171717; }
.collab-page :focus-visible, .collab-modal :focus-visible { outline: 3px solid #6350ae; outline-offset: 4px; }
@media (max-width: 900px) { .collab-grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
    .collab-card { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 12px; }
    .collab-card-image { width: 84px; height: 84px; }
}
@media (max-width: 600px) {
    .collab-page { padding: 28px 18px; }
    .collab-header h1 { letter-spacing: -.8px; }
    .collab-toggle { width: 100%; box-sizing: border-box; }
    .collab-toggle a { flex: 1; padding: 12px 8px; font-size: 14px; }
    .collab-add { grid-template-columns: 1fr; padding: 24px; gap: 22px; margin-bottom: 36px; }
    .collab-list-heading { flex-direction: column; gap: 6px; }
    .collab-card { grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 10px; }
    .collab-card-image { width: 64px; height: 64px; }
    .collab-modal { padding: 26px; }
}
