/* Launch-readiness visual normalization. Keeps the approved desktop concept intact. */
:root { --lr-control-height: 38px; --lr-card-gap: 14px; }
.page-wrap { padding-bottom: 56px; }
.page-header { margin-bottom: 20px; }
.page-header p { max-width: 760px; }
.card, .opportunity-card { min-width: 0; }
.directory-grid, .opportunity-grid { align-items: stretch; gap: var(--lr-card-gap); }
.opportunity-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.opportunity-card-body { display: flex; flex: 1; flex-direction: column; gap: 10px; }
.opportunity-card h2 { min-height: 2.55em; text-wrap: balance; }
.opportunity-summary { min-height: 3.7em; }
.opportunity-actions { margin-top: auto; padding-top: 4px; }
.opportunity-toolbar { align-items: end; gap: 10px; padding: 12px; }
.opportunity-toolbar input, .opportunity-toolbar select, .filter-reset,
.compact-btn, .external-button, .directory-actions button, .directory-actions a {
  min-height: var(--lr-control-height); border-radius: 7px;
}
.directory-actions a, .directory-actions button, .external-button, .compact-btn {
  display: inline-flex; align-items: center; justify-content: center;
}
.filter-select { min-width: 142px; }
.filter-select span { min-height: 16px; }
.status-badge, .verified-chip { white-space: nowrap; }
.source-state { max-width: 54%; white-space: normal; text-align: right; line-height: 1.2; }
.verified-chip { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; font-weight: 700; background: #f3f0e8; }
.results-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; min-height: 24px; }
.empty-state { min-height: 260px; display: grid; place-content: center; justify-items: center; gap: 9px; padding: 42px; text-align: center; border: 1px dashed var(--line); border-radius: 10px; background: rgba(255,255,255,.42); }
.empty-state h1, .empty-state h2, .empty-state p { margin: 0; }
.empty-state p { max-width: 520px; color: var(--muted); }
.empty-state .primary-link { margin-top: 6px; }
.opportunity-detail-actions { flex-wrap: wrap; }
.source-box { gap: 16px; }
.placeholder-label { letter-spacing: .08em; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.external-button.disabled, button.disabled { opacity: .48; cursor: not-allowed; }
@media (min-width: 1180px) and (max-width: 1320px) {
  .opportunity-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .opportunity-toolbar { grid-template-columns: minmax(240px,1fr) repeat(2,minmax(130px,.45fr)); }
  .opportunity-toolbar .filter-reset { grid-column: auto; }
}
@media (min-width: 1321px) {
  .opportunity-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (min-width: 1500px) {
  .page-wrap { max-width: 1380px; }
  .opportunity-grid { gap: 18px; }
}
.brand-word::after { content: "FOUNDING PREVIEW"; display: block; margin-top: 2px; font-size: 8px; line-height: 1; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.legal-beta-copy section + section { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }

/* Education visual cleanup */
.opportunity-page:has([data-section="education"]) .opportunity-header .eyebrow { display: none !important; }
.opportunity-page:has([data-section="education"]) .opportunity-media:not(.has-image) {
  background:
    linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,0) 42%),
    linear-gradient(160deg, #d6cec1 0%, #c7beb0 54%, #e4ddd2 100%);
}
.opportunity-page:has([data-section="education"]) .opportunity-media:not(.has-image)::before {
  width: 52%; height: 80%; left: 11%; top: 10%; transform: skew(-10deg); border-color: rgba(17,17,15,.22);
}
.opportunity-page:has([data-section="education"]) .opportunity-media:not(.has-image)::after {
  width: 34%; height: 45%; right: 7%; bottom: 10%; border-color: rgba(17,17,15,.22);
}
.opportunity-page:has([data-section="education"]) .opportunity-media.tone-2:not(.has-image) { background: linear-gradient(150deg,#c9c3b7,#ddd5c7 58%,#b7ada0); }
.opportunity-page:has([data-section="education"]) .opportunity-media.tone-3:not(.has-image) { background: linear-gradient(150deg,#d7d0c6,#bcb3a7 58%,#e9e1d5); }
.opportunity-page:has([data-section="education"]) .opportunity-media.tone-4:not(.has-image) { background: linear-gradient(150deg,#bdb6aa,#d9d1c5 58%,#cfc6ba); }
.opportunity-page:has([data-section="education"]) .opportunity-cover-image,
.opportunity-detail-page .opportunity-hero-image { filter: saturate(.9) contrast(.98); }
