/* Layout for main-app discovery. Approved Balanced tokens and themes are inherited. */
.discovery-next-step{padding:clamp(20px,4vw,36px)}
.discovery-next-content{margin-top:24px;max-width:720px;min-width:0}
.discovery-next-label{font-size:14px;color:var(--ns-muted);margin-bottom:8px}
.discovery-next-content h2{overflow-wrap:anywhere;margin:0 0 12px}
.discovery-next-content .heading-actions{margin-top:20px}
.discovery-account-note{margin-top:20px;font-size:14px}
.discovery-account-note .button{margin-top:8px}
.discovery-shortcuts{margin-bottom:20px}
.discovery-filters{margin-bottom:24px}
.discovery-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.discovery-filters .field{min-width:0;margin-bottom:16px}
.discovery-filters input,.discovery-filters select{box-sizing:border-box;width:100%;min-width:0;min-height:var(--ns-control-min);font:inherit;background:var(--ns-surface);color:var(--ns-ink);border:1px solid var(--ns-border);padding:12px}
.discovery-filters input:focus-visible,.discovery-filters select:focus-visible{outline:3px solid var(--ns-accent);outline-offset:3px}
.discovery-results-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.discovery-results-bar p{margin:0}
.discovery-practice-card{min-width:0}
.discovery-practice-card h3,.discovery-practice-card p{overflow-wrap:anywhere}
.discovery-practice-meta,.discovery-access{font-size:14px;color:var(--ns-muted)}
.discovery-empty{grid-column:1/-1}
.discovery-tools,.discovery-secondary{margin-top:24px}
.discovery-tools summary,.discovery-secondary summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:600;gap:8px}
.discovery-tools summary:before,.discovery-secondary summary:before{content:'+';font-size:20px}
.discovery-tools[open] summary:before,.discovery-secondary[open] summary:before{content:'−'}
.discovery-tools .heading-actions,.discovery-secondary .ecosystem-grid{margin-top:16px}
.discovery-load-note{padding:16px 0;color:var(--ns-muted)}
@media(max-width:900px){.discovery-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.discovery-filter-grid{grid-template-columns:minmax(0,1fr)}.discovery-next-content .heading-actions{align-items:stretch;flex-direction:column}.discovery-next-content .button{width:100%}.discovery-results-bar{align-items:flex-start}.discovery-filters{padding:20px}}

.discovery-filter-options{margin-bottom:16px}.discovery-filter-options summary{cursor:pointer;min-height:44px;font-weight:600}.discovery-filter-options summary:focus-visible{outline:3px solid var(--ns-accent);outline-offset:3px}.discovery-filter-options .discovery-filter-grid{margin-top:16px}.discovery-filter-options summary span{font-size:14px;color:var(--ns-muted);font-weight:400}
