.discovery-main{width:min(1220px,calc(100% - 48px));margin:36px auto 72px;min-height:65svh}.discovery-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:40px}.discovery-tabs a{padding:12px 18px;border:1px solid var(--ui-border);border-radius:12px;text-decoration:none;color:var(--ui-text)}.discovery-tabs [aria-current]{background:var(--ui-surface-raised);border-color:var(--ui-accent)}.discovery-heading{max-width:790px;margin-bottom:30px}.discovery-heading h1{font-size:clamp(2rem,4.5vw,3.3rem);line-height:1.12;letter-spacing:-.04em}.discovery-heading>p:last-child{color:var(--ui-text-muted);line-height:1.7;font-size:1.05rem}.discovery-search{display:flex;gap:16px;align-items:end;margin:24px 0;padding:22px}.discovery-search label{flex:1;margin:0}.discovery-search input{margin:8px 0 0;width:100%}.discovery-search button{margin:0;min-height:48px}.discovery-footnote{color:var(--ui-text-muted);font-size:.86rem;line-height:1.6;margin:20px 0}.discovery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}.discovery-card.ui-card{padding:0;overflow:hidden;display:flex;flex-direction:column;min-width:0;border:1px solid var(--ui-border);border-radius:18px;background:var(--ui-surface)}.discovery-cover{display:block;aspect-ratio:16/9;width:100%;height:auto;object-fit:cover;border-bottom:1px solid var(--ui-border)}.discovery-card-content{padding:24px;display:flex;flex-direction:column;gap:14px;flex:1;min-width:0}.discovery-card h3{font-size:1.24rem;line-height:1.3;margin:0;overflow-wrap:anywhere}.discovery-region{color:var(--ui-accent);font-size:.85rem;font-weight:650}.discovery-group-link{color:var(--ui-text);text-underline-offset:4px}.discovery-protection{color:var(--ui-text-muted);font-size:.84rem;line-height:1.5;margin:0 0 4px}.discovery-card .ui-button{margin-top:auto;width:100%;justify-content:space-between;gap:12px}.discovery-group-identity{display:flex;gap:16px;align-items:center;min-width:0}.discovery-group-identity>div{min-width:0}.discovery-group-identity h3{margin-bottom:7px}.discovery-logo{width:64px;height:64px;object-fit:contain;flex:none;border-radius:16px;background:var(--ui-surface-raised);border:1px solid var(--ui-border);padding:5px}.discovery-initial{display:grid;place-items:center;font-size:1.8rem;font-weight:750;color:var(--ui-accent)}.discovery-certification{display:inline-flex;gap:6px;align-items:center;font-size:.8rem;color:#b9d9ff;align-self:start}.discovery-certification .verification-badge{width:20px;height:20px;margin:0}.discovery-description{font-size:.92rem;line-height:1.65;color:var(--ui-text-muted);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;white-space:pre-line;overflow-wrap:anywhere;margin:0 0 10px}.discovery-empty{grid-column:1/-1;padding:32px;border:1px dashed var(--ui-border);border-radius:16px}.discovery-empty p{color:var(--ui-text-muted)}.discovery-pagination{display:flex;justify-content:center;align-items:center;gap:20px;margin:32px 0}.discovery-group-hero{padding:clamp(24px,4vw,48px)}.discovery-group-hero .discovery-logo{width:96px;height:96px}.discovery-group-hero h1{font-size:clamp(1.8rem,4vw,3rem);line-height:1.15;margin:0;overflow-wrap:anywhere}.discovery-group-hero .discovery-certification{margin-top:20px}.discovery-group-description{max-width:820px;font-size:1.1rem;line-height:1.8;white-space:pre-line;overflow-wrap:anywhere;margin:28px 0}.discovery-join{display:grid;grid-template-columns:1fr auto;gap:32px;align-items:center;padding-top:28px;border-top:1px solid var(--ui-border)}.discovery-join h2{font-size:1.2rem;margin:0 0 10px}.discovery-join p{font-size:.9rem;color:var(--ui-text-muted);line-height:1.65;margin:0}.discovery-join-controls{max-width:320px;display:flex;flex-direction:column;gap:12px}.discovery-join-controls .ui-button{white-space:normal}.discovery-editor{margin-top:22px;padding:20px;border:1px solid var(--ui-border);border-radius:14px;min-width:0}.discovery-editor summary{font-weight:700;cursor:pointer;min-height:44px;display:flex;align-items:center}.discovery-editor form{display:grid;gap:16px;padding-top:16px}.discovery-editor label{margin:0;display:grid;gap:8px}.discovery-editor .discovery-check{display:flex;align-items:start;gap:10px;line-height:1.5}.discovery-check input{width:20px;height:20px;min-height:20px;margin:2px 0 0;flex:none}.discovery-editor input:not([type=checkbox]),.discovery-editor textarea,.discovery-editor select{width:100%;margin:0}.discovery-editor-note{padding:14px;background:var(--ui-surface-raised);border-radius:10px;color:var(--ui-text-muted);font-size:.86rem;line-height:1.7}.discovery-editor-preview{margin:0;color:var(--ui-accent)}.discovery-review-row{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:18px 0;border-bottom:1px solid var(--ui-border)}.discovery-review-row small{display:block;color:var(--ui-text-muted);margin-top:6px}.discovery-review-actions{display:flex;gap:8px;flex-wrap:wrap}.discovery-review-row .ui-button{margin:0}.discovery-editor [role=status]{font-size:.9rem;line-height:1.6}.discovery-editor [data-error=true]{color:var(--ui-danger,#ff9ba9)}
@media(max-width:950px){.discovery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.discovery-join{grid-template-columns:1fr}.discovery-join-controls{max-width:none}}
@media(max-width:600px){.discovery-main{width:calc(100% - 32px);margin:24px auto 48px}.discovery-tabs{margin-bottom:28px}.discovery-grid{grid-template-columns:1fr;gap:16px}.discovery-search{flex-direction:column;align-items:stretch;padding:18px}.discovery-search label{width:100%}.discovery-card-content{padding:20px}.discovery-group-hero .discovery-logo{width:64px;height:64px}.discovery-group-identity{gap:12px}.discovery-group-hero{padding:20px}.discovery-group-hero h1{font-size:1.8rem}.discovery-review-row{align-items:stretch;flex-direction:column;gap:12px}.discovery-editor{padding:16px}.discovery-review-actions .ui-button{flex:1}}
