.opportunities-shell,
.opportunity-detail-shell,
.opportunity-form-page,
.opportunity-management-shell,
.opportunity-empty-page {
  width: min(1440px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(5.5rem, 7vw, 7rem) 0 5rem;
}

.opportunities-hero,
.section-heading,
.opportunity-form-actions,
.post-card-header,
.post-card-stats,
.post-card-actions,
.opportunities-filter-bar,
.opportunity-hero-actions,
.opportunities-hero-actions,
.network-row,
.pipeline-row,
.report-row,
.notification-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.opportunities-hero,
.section-heading {
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.4rem;
}

.opportunities-hero h1,
.section-heading h1,
.opportunity-form-page h1,
.opportunity-management-shell > h1,
.opportunity-empty-page h1 {
  margin: 0.2rem 0 0.7rem;
  color: #12352e;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
}

.opportunities-hero p,
.section-heading p,
.opportunity-management-shell > p {
  max-width: 720px;
  margin: 0;
  color: #65756d;
  line-height: 1.7;
}

.opportunities-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 220px;
  align-items: start;
  gap: 1.2rem;
}

.opportunities-sidebar {
  position: sticky;
  top: 1rem;
}

.opportunities-nav,
.opportunities-nav-section,
.opportunity-side-panel,
.opportunity-composer,
.opportunity-post-card,
.opportunity-filter-bar,
.opportunity-empty-state,
.opportunity-comments,
.management-overview,
.pipeline-section,
.network-grid > section,
.notification-list,
.report-list {
  border: 1px solid rgba(19, 53, 46, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(19, 53, 46, 0.06);
}

.opportunities-nav,
.opportunities-nav-section {
  display: grid;
  gap: 0.2rem;
  padding: 0.6rem;
}

.opportunities-nav-section {
  margin-top: 0.8rem;
}

.opportunities-nav-section > span,
.panel-kicker {
  padding: 0.5rem 0.7rem;
  color: #71827a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.opportunities-nav a,
.opportunities-nav-section a,
.back-link {
  display: block;
  padding: 0.65rem 0.75rem;
  color: #52665d;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
}

.opportunities-nav a:hover,
.opportunities-nav a.active,
.opportunities-nav-section a:hover {
  background: #e8f4ef;
  color: #0f5949;
}

.opportunity-composer {
  overflow: hidden;
  margin-bottom: 1rem;
}

.opportunity-composer > summary {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  color: #124f41;
  font-weight: 800;
  list-style: none;
}

.opportunity-composer > summary::-webkit-details-marker { display: none; }
.composer-plus { display: inline-grid; width: 2rem; height: 2rem; place-items: center; border-radius: 50%; background: #d8f0e5; color: #0f5949; font-size: 1.35rem; }
.opportunity-form { padding: 0 1.1rem 1.1rem; }
.opportunity-type-picker { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1rem; }
.type-choice,
.post-card-actions button,
.post-card-actions a {
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  background: #f0f5f2;
  color: #38564b;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.type-choice.active,
.post-card-actions button.active { background: #d8f0e5; color: #0f5949; }
.opportunity-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; }
.opportunity-form-grid label { display: grid; gap: 0.35rem; color: #52665d; font-size: 0.83rem; font-weight: 800; }
.opportunity-form-grid .field-wide { grid-column: 1 / -1; }
.opportunity-form input,
.opportunity-form select,
.opportunity-form textarea,
.opportunities-filter-bar input,
.opportunities-filter-bar select,
.comment-form textarea,
.opportunity-dialog textarea,
.report-row textarea {
  width: 100%;
  border: 1px solid rgba(19, 53, 46, 0.16);
  border-radius: 10px;
  padding: 0.68rem 0.75rem;
  background: #fbfdfc;
  color: #1d3028;
  font: inherit;
  font-size: 0.92rem;
  box-sizing: border-box;
}
.opportunity-form input:focus,
.opportunity-form select:focus,
.opportunity-form textarea:focus,
.opportunities-filter-bar input:focus { outline: 3px solid rgba(20, 184, 166, 0.22); border-color: #279b80; }
.opportunity-type-fields { grid-column: 1 / -1; padding-top: 0.4rem; }
.opportunity-form-actions { justify-content: flex-end; margin-top: 1rem; }
.opportunity-login-callout { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; margin-bottom: 1rem; border: 1px solid rgba(20, 120, 95, 0.15); border-radius: 16px; background: #eff9f4; }
.opportunity-login-callout p { margin: 0; color: #315b4d; }
.primary-cta,
.secondary-cta { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; border: 0; border-radius: 10px; padding: 0.68rem 0.95rem; font: inherit; font-size: 0.82rem; font-weight: 800; text-decoration: none; cursor: pointer; }
.primary-cta { background: #0f5949; color: #fff; }
.secondary-cta { background: #e9f3ef; color: #145744; }
.notification-badge { display: inline-grid; min-width: 1.35rem; height: 1.35rem; place-items: center; border-radius: 999px; background: #ef6b55; color: #fff; font-size: 0.7rem; }
.opportunities-filter-bar { align-items: end; padding: 0.8rem; margin-bottom: 1rem; box-shadow: none; }
.opportunities-filter-bar label { display: grid; gap: 0.3rem; color: #71827a; font-size: 0.72rem; font-weight: 800; }
.opportunities-filter-bar input,
.opportunities-filter-bar select { padding: 0.55rem 0.65rem; font-size: 0.82rem; }
.opportunities-filter-bar .filter-search { flex: 1; }
.opportunities-feed { display: grid; gap: 1rem; }
.opportunity-post-card { padding: 1.15rem; }
.post-card-header { align-items: flex-start; }
.post-card-header > div:nth-child(2) { display: grid; gap: 0.15rem; min-width: 0; flex: 1; }
.post-card-header strong { color: #183c31; }
.post-card-header span:not(.post-type-label) { color: #7b8b84; font-size: 0.76rem; }
.author-avatar { display: grid; flex: 0 0 2.3rem; width: 2.3rem; height: 2.3rem; place-items: center; border-radius: 50%; background: #d8f0e5; color: #0f5949; font-weight: 900; }
.post-type-label { display: inline-flex; width: fit-content; border-radius: 999px; padding: 0.3rem 0.55rem; background: #f0f5f2; color: #537063; font-size: 0.68rem; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; }
.post-type-job { background: #fff3d7; color: #8e5c08; }
.post-type-partnership { background: #e8ebff; color: #4653a0; }
.opportunity-post-card h2 { margin: 1rem 0 0.55rem; color: #173a30; font-size: 1.2rem; }
.opportunity-post-card h2 a { color: inherit; text-decoration: none; }
.post-structured-meta { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.6rem 0; }
.post-structured-meta span,
.post-tags { border-radius: 999px; padding: 0.32rem 0.6rem; background: #f6f8f7; color: #53665d; font-size: 0.76rem; }
.post-body { margin: 0.8rem 0; color: #3f554b; line-height: 1.7; white-space: pre-line; }
.post-card-stats { justify-content: flex-start; padding: 0.75rem 0; border-top: 1px solid rgba(19, 53, 46, 0.09); color: #75867d; font-size: 0.76rem; }
.post-card-actions { flex-wrap: wrap; justify-content: flex-start; }
.post-card-actions form { margin: 0; }
.post-card-actions a { background: transparent; }
.opportunity-side-panel { display: grid; gap: 0.4rem; padding: 1rem; margin-bottom: 0.8rem; }
.opportunity-side-panel strong { color: #0f5949; font-size: 2.1rem; }
.opportunity-side-panel p { margin: 0; color: #60736a; line-height: 1.6; }
.opportunity-side-panel a { color: #0f5949; font-weight: 800; text-decoration: none; }
.opportunity-side-note { background: #f2f8f5; box-shadow: none; }
.opportunity-dialog { width: min(520px, calc(100% - 2rem)); border: 0; border-radius: 16px; padding: 1.2rem; box-shadow: 0 28px 80px rgba(0,0,0,0.24); }
.opportunity-dialog::backdrop { background: rgba(6, 25, 19, 0.45); }
.opportunity-dialog h3 { margin-top: 0; color: #173a30; }
.opportunity-dialog label { display: grid; gap: 0.4rem; color: #52665d; font-weight: 800; }
.back-link { width: fit-content; padding-left: 0; margin-bottom: 1rem; }
.opportunity-detail-shell > .opportunity-post-card { max-width: 900px; margin: 0 auto; }
.opportunity-comments { max-width: 900px; margin: 1rem auto 0; padding: 1.1rem; }
.opportunity-comments h2 { margin-top: 0; color: #173a30; }
.comment-form { display: grid; gap: 0.65rem; margin-bottom: 1rem; }
.comment-form .primary-cta { justify-self: end; }
.comment-list { display: grid; gap: 0.75rem; }
.comment-item { padding: 0.75rem; border-left: 3px solid #d8f0e5; background: #f8fbf9; }
.comment-item strong { color: #173a30; }
.comment-item small { margin-left: 0.5rem; color: #84938d; }
.comment-item p { margin: 0.4rem 0 0; color: #4e6258; white-space: pre-line; }
.opportunity-management-shell > .back-link { margin-bottom: 1rem; }
.management-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0; }
.management-tabs a { padding: 0.55rem 0.75rem; border-radius: 999px; color: #5b7065; text-decoration: none; font-size: 0.82rem; font-weight: 800; }
.management-tabs a.active { background: #d8f0e5; color: #0f5949; }
.management-table-wrap { overflow-x: auto; border: 1px solid rgba(19, 53, 46, 0.12); border-radius: 16px; background: #fff; }
.management-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.management-table th,
.management-table td { padding: 0.85rem 0.9rem; border-bottom: 1px solid rgba(19, 53, 46, 0.09); text-align: left; color: #52665d; font-size: 0.82rem; }
.management-table th { color: #173a30; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }
.management-table a { margin-right: 0.65rem; color: #0f5949; font-weight: 800; text-decoration: none; }
.status-chip { border-radius: 999px; padding: 0.3rem 0.55rem; background: #f0f5f2; color: #567167; font-size: 0.72rem; font-weight: 800; }
.management-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1rem 0; }
.management-overview div { display: grid; gap: 0.2rem; padding: 1rem; border-right: 1px solid rgba(19, 53, 46, 0.09); }
.management-overview div:last-child { border-right: 0; }
.management-overview strong { color: #0f5949; font-size: 1.8rem; }
.management-overview span { color: #74867c; font-size: 0.8rem; }
.pipeline-section { padding: 1rem; }
.pipeline-section h2 { margin-top: 0; color: #173a30; }
.pipeline-row { align-items: flex-start; justify-content: space-between; padding: 0.8rem 0; border-bottom: 1px solid rgba(19, 53, 46, 0.08); }
.pipeline-row:last-child { border-bottom: 0; }
.pipeline-row > div { min-width: 0; flex: 1; }
.pipeline-row p { margin: 0.35rem 0; color: #52665d; white-space: pre-line; }
.pipeline-row small,
.muted-copy { color: #829088; font-size: 0.8rem; }
.pipeline-row form { display: flex; flex-wrap: wrap; gap: 0.45rem; justify-content: flex-end; }
.pipeline-row select { border: 1px solid rgba(19, 53, 46, 0.16); border-radius: 8px; padding: 0.45rem; background: #fff; }
.network-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.network-grid > section { padding: 1rem; }
.network-grid h2 { margin-top: 0; color: #173a30; font-size: 1rem; }
.network-row { justify-content: space-between; align-items: flex-start; padding: 0.7rem 0; border-bottom: 1px solid rgba(19, 53, 46, 0.08); color: #52665d; font-size: 0.8rem; }
.network-row form { display: flex; flex-wrap: wrap; gap: 0.35rem; justify-content: flex-end; }
.notification-list,
.report-list { overflow: hidden; }
.notification-row,
.report-row { align-items: flex-start; justify-content: space-between; padding: 1rem; border-bottom: 1px solid rgba(19, 53, 46, 0.08); }
.notification-row:last-child,
.report-row:last-child { border-bottom: 0; }
.notification-row > span,
.notification-row p,
.report-row span,
.report-row p,
.report-row small { display: block; margin: 0.3rem 0 0; color: #75867d; font-size: 0.8rem; }
.report-row form { display: grid; gap: 0.4rem; min-width: 210px; }
.form-alert { margin: 0 0 1rem; }

@media (max-width: 1100px) {
  .opportunities-layout { grid-template-columns: 170px minmax(0, 1fr); }
  .opportunities-sidebar-right { display: none; }
  .network-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .opportunities-shell,
  .opportunity-detail-shell,
  .opportunity-form-page,
  .opportunity-management-shell,
  .opportunity-empty-page { width: min(100% - 1rem, 640px); padding-top: 7rem; }
  .opportunities-hero { align-items: flex-start; flex-direction: column; }
  .opportunities-layout { display: block; }
  .opportunities-sidebar-left { position: static; overflow-x: auto; margin-bottom: 0.8rem; }
  .opportunities-sidebar-left { scrollbar-width: none; }
  .opportunities-sidebar-left::-webkit-scrollbar { display: none; }
  .opportunities-nav { display: flex; min-width: max-content; }
  .opportunities-nav-section { display: none; }
  .opportunity-form-grid { grid-template-columns: 1fr; }
  .opportunity-form-grid .field-wide,
  .opportunity-type-fields { grid-column: auto; }
  .opportunities-filter-bar { align-items: stretch; flex-wrap: wrap; }
  .opportunities-filter-bar .filter-search { flex-basis: 100%; }
  .opportunities-filter-bar label { flex: 1 1 40%; }
  .opportunities-filter-bar .secondary-cta { flex: 1 1 100%; }
  .post-card-header { flex-wrap: wrap; }
  .post-type-label { margin-left: 3rem; }
  .post-card-stats { flex-wrap: wrap; }
  .opportunity-login-callout,
  .section-heading,
  .pipeline-row,
  .report-row { align-items: stretch; flex-direction: column; }
  .pipeline-row form,
  .report-row form { width: 100%; justify-content: stretch; }
  .pipeline-row form > *,
  .report-row form > * { flex: 1; }
  .management-overview { grid-template-columns: 1fr; }
  .management-overview div { border-right: 0; border-bottom: 1px solid rgba(19, 53, 46, 0.09); }
  .management-overview div:last-child { border-bottom: 0; }
}

/* Timeblock V2 Community + Work visual lock */
.opportunities-v2-page {
  --op-ink: #073f34;
  --op-green: #0b6655;
  --op-green-2: #14806a;
  --op-mint: #eaf5f0;
  --op-gold: #c99320;
  --op-text: #243d35;
  --op-muted: #687a73;
  --op-line: #dce5df;
  --op-canvas: #f6f8f5;
  background: var(--op-canvas);
  color: var(--op-text);
}

.opportunities-v2-page main#main-content { min-height: 100vh; }
.opportunities-v2-page .opportunities-shell { width: min(1440px, calc(100% - 40px)); padding: 5.75rem 0 5rem; }
.opportunities-v2-page .opportunity-icon { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; }
.opportunities-v2-page .opportunities-hero {
  min-height: 74px;
  margin: 0 0 18px;
  padding: 18px 22px;
  border: 1px solid var(--op-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(8, 63, 52, 0.05);
}
.opportunities-v2-page .opportunities-hero-copy { min-width: 0; }
.opportunities-v2-page .opportunities-hero h1 { margin: 0; font-size: clamp(1.65rem, 2.6vw, 2.25rem); line-height: 1.05; letter-spacing: -0.035em; }
.opportunities-v2-page .opportunities-hero p { margin-top: 7px; max-width: 660px; font-size: 0.92rem; line-height: 1.5; }
.opportunity-surface-switch { display: flex; align-items: center; gap: 5px; padding: 4px; border: 1px solid var(--op-line); border-radius: 11px; background: #f7f9f7; }
.opportunity-surface-switch a { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 15px; border-radius: 8px; color: #54665f; font-size: 0.84rem; font-weight: 800; text-decoration: none; }
.opportunity-surface-switch a.active { background: var(--op-green); color: #fff; box-shadow: 0 5px 14px rgba(11, 102, 85, 0.2); }
.opportunities-v2-page .opportunities-hero-actions { margin-left: auto; }
.opportunities-v2-page .opportunities-hero-actions a { position: relative; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--op-line); border-radius: 10px; color: var(--op-ink); background: #fff; }
.opportunities-v2-page .opportunities-hero-actions .notification-badge { position: absolute; top: -6px; right: -5px; }
.opportunities-v2-page .form-alert { padding: 12px 15px; border-radius: 10px; font-size: 0.88rem; }
.opportunities-v2-page .form-alert.success { border: 1px solid #a9d5c4; background: #e9f8f1; color: #075b49; }
.opportunities-v2-page .form-alert.error { border: 1px solid #f0b7ae; background: #fff0ed; color: #9b2f21; }

.opportunities-v2-page .opportunities-layout { grid-template-columns: 218px minmax(0, 1fr) 260px; gap: 18px; }
.opportunities-v2-page .work-layout { grid-template-columns: 232px minmax(0, 1fr) 238px; }
.opportunities-v2-page .opportunities-sidebar { top: 86px; }
.opportunities-v2-page .opportunities-nav,
.opportunities-v2-page .opportunities-nav-section,
.opportunities-v2-page .opportunity-side-panel,
.opportunities-v2-page .opportunity-composer,
.opportunities-v2-page .opportunity-post-card,
.opportunities-v2-page .opportunity-empty-state { border-color: var(--op-line); border-radius: 12px; box-shadow: 0 8px 22px rgba(8, 63, 52, 0.045); }
.opportunities-v2-page .opportunities-nav,
.opportunities-v2-page .opportunities-nav-section { padding: 7px; background: #fff; }
.opportunities-v2-page .opportunities-nav a,
.opportunities-v2-page .opportunities-nav-section a { display: flex; align-items: center; gap: 10px; min-height: 43px; padding: 0 11px; border-radius: 8px; color: #53665e; font-size: 0.85rem; }
.opportunities-v2-page .opportunities-nav a:hover,
.opportunities-v2-page .opportunities-nav a.active,
.opportunities-v2-page .opportunities-nav-section a:hover { background: var(--op-mint); color: var(--op-green); }
.opportunities-v2-page .opportunities-nav a.active { box-shadow: inset 3px 0 var(--op-green); }
.opportunities-v2-page .opportunities-nav-section > span { padding: 10px 11px 5px; color: #89958f; font-size: 0.68rem; }
.opportunities-v2-page .opportunity-side-panel { padding: 18px; background: #fff; }
.opportunities-v2-page .opportunity-side-panel h2 { margin: 4px 0 14px; color: var(--op-ink); font-size: 1.05rem; }
.community-principles ul { display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; }
.community-principles li { display: flex; align-items: flex-start; gap: 10px; color: #53665e; font-size: 0.8rem; line-height: 1.48; }
.community-principles li .opportunity-icon { margin-top: 1px; color: var(--op-green); }
.work-activity > strong { font-size: 2rem; }
.work-activity a { display: flex; align-items: center; justify-content: space-between; }
.work-principle { background: var(--op-mint) !important; }

.community-sponsor { margin-bottom: 14px; padding: 16px; border: 1px solid var(--op-line); border-radius: 12px; background: #fff; box-shadow: 0 8px 22px rgba(8, 63, 52, 0.045); }
.community-sponsor-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.community-sponsor-header span { display: flex; align-items: center; gap: 6px; color: var(--op-gold); font-size: 0.66rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.community-sponsor-header h2 { margin: 3px 0 0; color: var(--op-ink); font-size: 1rem; }
.rail-controls { display: flex; gap: 6px; }
.rail-controls button { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--op-line); border-radius: 50%; background: #fff; color: var(--op-green); cursor: pointer; }
.community-sponsor-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(245px, 1fr); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.community-sponsor-track::-webkit-scrollbar { display: none; }
.community-sponsor-card { display: grid; grid-template-columns: 104px minmax(0, 1fr); min-height: 120px; overflow: hidden; border: 1px solid var(--op-line); border-radius: 10px; scroll-snap-align: start; background: #fff; }
.sponsor-media { display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #dcefe7, #0a6654); color: #fff; text-decoration: none; }
.sponsor-media img { width: 100%; height: 100%; object-fit: cover; }
.sponsor-media span { font-size: 2.4rem; font-weight: 900; }
.sponsor-card-copy { min-width: 0; padding: 11px 12px; }
.sponsor-card-copy > span { color: var(--op-gold); font-size: 0.62rem; font-weight: 900; text-transform: uppercase; }
.sponsor-card-copy h3 { margin: 5px 0 4px; color: var(--op-ink); font-size: 0.9rem; line-height: 1.25; }
.sponsor-card-copy p { display: -webkit-box; overflow: hidden; margin: 0 0 7px; color: var(--op-muted); font-size: 0.72rem; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.sponsor-card-copy a { display: inline-flex; align-items: center; gap: 2px; color: var(--op-green); font-size: 0.72rem; font-weight: 800; text-decoration: none; }
.sponsor-card-copy a .opportunity-icon { width: 0.85rem; height: 0.85rem; }
.rail-status { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; color: #8b9993; font-size: 0.67rem; }
.rail-status button { border: 0; background: transparent; color: var(--op-green); font: inherit; font-weight: 800; cursor: pointer; }
.community-sponsor-empty { display: flex; align-items: center; gap: 12px; min-height: 74px; padding: 13px; border: 1px dashed #cbd9d2; border-radius: 10px; background: #f8faf8; }
.community-sponsor-empty > .opportunity-icon { width: 1.5rem; height: 1.5rem; color: var(--op-gold); }
.community-sponsor-empty strong { color: var(--op-ink); font-size: 0.84rem; }
.community-sponsor-empty p { margin: 3px 0 0; color: var(--op-muted); font-size: 0.74rem; }

.opportunities-v2-page .opportunity-composer { margin-bottom: 14px; background: #fff; }
.opportunities-v2-page .opportunity-composer > summary { min-height: 62px; padding: 10px 14px; }
.opportunities-v2-page .opportunity-composer > summary > span:nth-child(2) { display: grid; flex: 1; gap: 2px; }
.opportunities-v2-page .opportunity-composer > summary strong { color: var(--op-ink); font-size: 0.86rem; }
.opportunities-v2-page .opportunity-composer > summary small { color: var(--op-muted); font-size: 0.72rem; font-weight: 600; }
.composer-avatar { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--op-mint); color: var(--op-green); }
.composer-avatar .opportunity-icon { width: 1rem; height: 1rem; }
.composer-chevron { transition: transform 180ms ease; }
.opportunity-composer[open] .composer-chevron { transform: rotate(90deg); }
.opportunities-v2-page .opportunity-form { padding: 3px 14px 14px; }
.opportunities-v2-page .opportunity-type-picker { padding-top: 8px; border-top: 1px solid var(--op-line); }
.opportunities-v2-page .type-choice { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--op-line); border-radius: 8px; background: #fff; }
.opportunities-v2-page .type-choice.active { border-color: #9bcabc; background: var(--op-mint); }
.opportunities-v2-page .opportunity-form-grid { gap: 11px; }
.opportunities-v2-page .opportunity-form-grid label { color: #52665e; font-size: 0.75rem; }
.opportunities-v2-page .opportunity-form input,
.opportunities-v2-page .opportunity-form select,
.opportunities-v2-page .opportunity-form textarea,
.opportunities-v2-page .opportunities-filter-bar input,
.opportunities-v2-page .opportunities-filter-bar select,
.work-sidebar-form select { min-height: 42px; border-color: var(--op-line); border-radius: 8px; background: #fff; font-size: 0.82rem; }
.opportunity-media-tools { display: grid; gap: 6px; }
.opportunity-media-picker { display: inline-flex !important; width: fit-content; align-items: center; gap: 7px; min-height: 38px; padding: 0 11px; border: 1px solid #b7d5c9; border-radius: 8px; background: var(--op-mint); color: var(--op-green) !important; cursor: pointer; font-weight: 850 !important; }
.opportunity-media-picker .opportunity-icon { width: 1rem; height: 1rem; }
.opportunity-media-picker input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.opportunity-media-tools > small { color: var(--op-muted); font-size: .7rem; }
.opportunity-media-preview { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 9px; max-width: 100%; padding: 8px; border: 1px solid var(--op-line); border-radius: 9px; background: #f7faf8; }
.opportunity-media-preview[hidden] { display: none; }
.opportunity-media-preview img,
.opportunity-media-preview video { display: block; width: min(100%, 360px); max-height: 220px; border-radius: 7px; object-fit: cover; background: #102a24; }
.opportunity-media-preview .secondary-cta { min-height: 34px; padding: 0 9px; }
.opportunity-retention-note { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #d6e5dd; border-radius: 9px; background: #f5faf7; }
.opportunity-retention-note > .opportunity-icon { width: 1.15rem; height: 1.15rem; color: var(--op-green); }
.opportunity-retention-note strong { color: var(--op-ink); font-size: .76rem; }
.opportunity-retention-note p { margin: 2px 0 0; color: var(--op-muted); font-size: .7rem; line-height: 1.4; }
.opportunity-retention-note .secondary-cta { min-height: 32px; padding: 0 9px; white-space: nowrap; }
.opportunity-boundary-note { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; padding: 14px; border: 1px solid #d7e5de; border-radius: 10px; background: var(--op-mint); }
.opportunity-boundary-note .opportunity-icon { color: var(--op-green); }
.opportunity-boundary-note strong { color: var(--op-ink); font-size: 0.84rem; }
.opportunity-boundary-note p { margin: 3px 0 0; color: var(--op-muted); font-size: 0.76rem; line-height: 1.45; }
.opportunities-v2-page .opportunity-login-callout { border-radius: 10px; background: var(--op-mint); }
.opportunity-login-callout > div { display: flex; align-items: center; gap: 9px; }
.opportunity-login-callout .opportunity-icon { color: var(--op-green); }

.opportunities-v2-page .opportunities-filter-bar { min-height: 62px; margin-bottom: 14px; padding: 9px 10px; border-color: var(--op-line); border-radius: 10px; background: #fff; }
.opportunities-v2-page .opportunities-filter-bar label > span { display: flex; align-items: center; gap: 5px; }
.opportunities-v2-page .opportunities-filter-bar .primary-cta,
.opportunities-v2-page .opportunities-filter-bar .secondary-cta { min-height: 42px; }
.community-filter .filter-search { display: flex !important; flex-direction: row; align-items: center; gap: 10px; }
.community-filter .filter-search > span { white-space: nowrap; }
.community-filter .filter-search input { flex: 1; }
.work-filter { display: grid !important; grid-template-columns: minmax(200px, 1.5fr) minmax(145px, .8fr) minmax(125px, .65fr) auto; }
.work-mobile-filters { display: none; }
.work-filter-panel > h2 { margin: 0 0 10px; color: var(--op-ink); font-size: 0.92rem; }
.work-sidebar-form { display: grid; gap: 12px; margin-top: 12px; padding: 14px; border: 1px solid var(--op-line); border-radius: 12px; background: #fff; }
.work-sidebar-form label { display: grid; gap: 5px; color: var(--op-muted); font-size: 0.72rem; font-weight: 800; }
.work-sidebar-form select { width: 100%; padding: 0 9px; }
.work-results-header { display: flex; justify-content: space-between; margin: 4px 2px 10px; }
.work-results-header h2 { margin: 0; color: var(--op-ink); font-size: 1rem; }
.work-results-header p { margin: 3px 0 0; color: var(--op-muted); font-size: 0.74rem; }

.opportunities-v2-page .opportunities-feed { gap: 12px; }
.opportunities-v2-page .opportunity-post-card { padding: 16px; background: #fff; }
.opportunities-v2-page .post-card-header { gap: 10px; }
.opportunities-v2-page .post-author-copy { display: grid; gap: 2px; }
.opportunities-v2-page .post-author-copy strong { color: var(--op-ink); font-size: 0.83rem; }
.opportunities-v2-page .post-author-copy span { color: #87938e; font-size: 0.68rem; }
.opportunities-v2-page .author-avatar { width: 36px; height: 36px; flex-basis: 36px; background: var(--op-mint); }
.post-icon-link { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 7px; color: var(--op-muted); }
.actor-badge { margin-left: auto; padding: 4px 8px; border-radius: 999px; background: #edf3f0; color: #486158; font-size: 0.66rem; font-weight: 850; }
.actor-business { background: #fff2cf; color: #7d5b0c; }
.work-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 13px; }
.work-post-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.opportunities-v2-page .post-type-label { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; font-size: 0.62rem; }
.opportunities-v2-page .post-type-label .opportunity-icon { width: 0.82rem; height: 0.82rem; }
.deadline-badge { padding: 4px 8px; border-radius: 999px; font-size: 0.64rem; font-weight: 850; }
.deadline-badge.expiring { background: #fff3d3; color: #8b6208; }
.deadline-badge.expired { background: #fee9e5; color: #a13b2b; }
.opportunity-retention-badge { padding: 4px 8px; border-radius: 999px; background: #e8f5ee; color: #237054; font-size: .64rem; font-weight: 850; }
.opportunity-retention-badge.expired { background: #fee9e5; color: #a13b2b; }
.work-post-card h2 { margin: 9px 0 8px; font-size: 1.1rem; line-height: 1.3; }
.work-primary-meta { display: flex; flex-wrap: wrap; gap: 6px 13px; color: var(--op-muted); font-size: 0.72rem; }
.work-primary-meta span { display: inline-flex; align-items: center; gap: 5px; }
.work-primary-meta .opportunity-icon { width: 0.9rem; height: 0.9rem; color: var(--op-green); }
.opportunities-v2-page .post-body { display: -webkit-box; overflow: hidden; margin: 12px 0; color: #486057; font-size: 0.84rem; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.community-post-card .post-body { display: block; white-space: pre-line; }
.work-value-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.work-value-row strong { margin-right: 4px; color: var(--op-ink); font-size: 0.9rem; }
.work-value-row span { padding: 4px 7px; border-radius: 6px; background: #f1f5f2; color: #5c6f67; font-size: 0.66rem; }
.post-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--op-line); }
.opportunities-v2-page .post-card-stats { display: flex; gap: 12px; padding: 0; border: 0; }
.opportunities-v2-page .post-card-stats span { display: inline-flex; align-items: center; gap: 4px; }
.opportunities-v2-page .post-card-stats .opportunity-icon { width: .9rem; height: .9rem; }
.work-primary-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.work-primary-actions .primary-cta,
.work-primary-actions .secondary-cta { min-height: 36px; padding: 0 11px; border-radius: 8px; }
.work-primary-actions .opportunity-icon { width: .9rem; height: .9rem; }
.legacy-note { color: var(--op-muted); font-size: 0.68rem; }
.community-post-card h2 { margin: 13px 0 6px; font-size: 1rem; }
.opportunity-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 4px; }
.opportunity-visibility-badge { padding: 4px 8px; border-radius: 999px; background: #edf4f0; color: #4c665c; font-size: .64rem; font-weight: 850; }
.opportunity-post-media { margin: 12px 0 4px; overflow: hidden; border-radius: 10px; background: #102a24; }
.opportunity-post-media img,
.opportunity-post-media video { display: block; width: 100%; max-height: 520px; object-fit: cover; }
.community-post-card .post-card-stats { justify-content: flex-end; margin-top: 8px; padding: 9px 0; border-top: 1px solid var(--op-line); }
.community-actions { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 4px; }
.community-actions form { display: contents; }
.community-actions button,
.community-actions > a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 7px; border-radius: 7px; background: transparent; font-size: 0.73rem; }
.community-actions button:hover,
.community-actions > a:hover { background: var(--op-mint); }
.community-actions .opportunity-icon { width: 1rem; height: 1rem; }
.post-report-control { position: relative; }
.post-report-control > summary { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 7px; color: var(--op-muted); cursor: pointer; list-style: none; }
.post-report-control > summary::-webkit-details-marker { display: none; }
.post-report-control > div { position: absolute; z-index: 5; right: 0; bottom: 42px; display: grid; width: 155px; padding: 6px; border: 1px solid var(--op-line); border-radius: 9px; background: #fff; box-shadow: 0 12px 30px rgba(8, 63, 52, .16); }
.post-report-control > div form { display: block; }
.post-report-control > div button { width: 100%; justify-content: flex-start; }
.opportunity-empty-state { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 180px; padding: 24px; text-align: left; }
.opportunity-empty-state > .opportunity-icon { width: 2rem; height: 2rem; color: #96aaa1; }
.opportunity-empty-state h2 { margin: 0; color: var(--op-ink); font-size: 1rem; }
.opportunity-empty-state p { margin: 5px 0 0; color: var(--op-muted); font-size: .8rem; }
.opportunities-loading { position: relative; display: grid; gap: 8px; min-height: 145px; padding: 18px; border: 1px solid var(--op-line); border-radius: 12px; background: #fff; }
.opportunities-loading[hidden] { display: none; }
.opportunities-loading span { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, #edf2ef 25%, #f8faf9 45%, #edf2ef 65%); background-size: 300% 100%; animation: opportunity-loading 1.2s linear infinite; }
.opportunities-loading span:nth-child(1) { width: 35%; }.opportunities-loading span:nth-child(2) { width: 82%; }.opportunities-loading span:nth-child(3) { width: 64%; }
.opportunities-loading p { margin: 8px 0 0; color: var(--op-muted); font-size: .74rem; }
@keyframes opportunity-loading { to { background-position: -300% 0; } }

@media (max-width: 1160px) {
  .opportunities-v2-page .opportunities-layout,
  .opportunities-v2-page .work-layout { grid-template-columns: 205px minmax(0, 1fr); }
  .opportunities-v2-page .opportunities-sidebar-right { display: none; }
  .opportunities-v2-page .opportunities-hero-copy { flex: 1; }
}

@media (max-width: 767px) {
  .opportunities-v2-page .opportunities-shell { width: 100%; padding: 6.7rem 14px calc(7.5rem + env(safe-area-inset-bottom)); }
  .opportunities-v2-page .opportunities-hero { display: grid; min-height: auto; padding: 15px; }
  .opportunities-v2-page .opportunities-hero-copy { grid-column: 1 / -1; order: 3; }
  .opportunities-v2-page .opportunities-hero h1 { margin-top: 13px; font-size: 1.65rem; }
  .opportunities-v2-page .opportunities-hero p { font-size: .82rem; }
  .opportunity-surface-switch { grid-column: 1 / -1; order: 1; width: 100%; }
  .opportunity-surface-switch a { flex: 1; justify-content: center; }
  .opportunities-v2-page .opportunities-hero-actions {
    position: static;
    grid-column: 1 / -1;
    order: 2;
    justify-self: end;
    margin: 2px 0 0;
  }
  .opportunities-v2-page .opportunities-layout,
  .opportunities-v2-page .work-layout { display: block; }
  .opportunities-v2-page .community-layout > .opportunities-sidebar-left,
  .opportunities-v2-page .work-layout > .opportunities-sidebar-left { display: none; }
  .community-sponsor { margin-inline: -2px; padding: 13px; }
  .community-sponsor-track { grid-auto-columns: 88%; }
  .community-sponsor-card { grid-template-columns: 92px minmax(0, 1fr); min-height: 112px; }
  .rail-status > span { display: none; }
  .rail-status { justify-content: flex-end; }
  .opportunities-v2-page .opportunity-composer > summary { min-height: 58px; }
  .opportunities-v2-page .opportunity-form-grid { grid-template-columns: 1fr; }
  .opportunities-v2-page .opportunity-form-grid .field-wide,
  .opportunities-v2-page .opportunity-type-fields { grid-column: auto; }
  .opportunity-retention-note { grid-template-columns: auto minmax(0, 1fr); }
  .opportunity-retention-note .secondary-cta { grid-column: 2; justify-self: start; }
  .community-filter { display: grid !important; grid-template-columns: 1fr auto; }
  .community-filter .filter-search { min-width: 0; }
  .community-filter .filter-search > span { display: none; }
  .work-mobile-filters { display: flex; gap: 7px; overflow-x: auto; margin: 0 0 12px; padding: 1px 0 5px; scrollbar-width: none; }
  .work-mobile-filters::-webkit-scrollbar { display: none; }
  .work-mobile-filters a { flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--op-line); border-radius: 999px; background: #fff; color: #5b6e66; font-size: .74rem; font-weight: 800; text-decoration: none; }
  .work-mobile-filters a.active { border-color: var(--op-green); background: var(--op-green); color: #fff; }
  .work-filter { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .work-filter label:not(.filter-search) { display: none; }
  .work-filter .primary-cta { min-width: 45px; padding-inline: 12px; font-size: 0; }
  .work-filter .primary-cta .opportunity-icon { width: 1.1rem; height: 1.1rem; }
  .opportunities-v2-page .opportunity-post-card { padding: 14px; }
  .actor-badge { margin-left: auto; }
  .work-card-heading { margin-top: 11px; }
  .work-post-badges { justify-content: flex-end; }
  .work-post-card h2 { font-size: 1.02rem; }
  .work-primary-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .post-card-footer { align-items: flex-start; flex-direction: column; }
  .work-primary-actions { width: 100%; justify-content: stretch; }
  .work-primary-actions > * { flex: 1; }
  .work-primary-actions .primary-cta,
  .work-primary-actions .secondary-cta { justify-content: center; }
  .community-actions { grid-template-columns: repeat(3, minmax(0, 1fr)) auto !important; }
  .community-actions > a:nth-of-type(2) { display: none; }
  .community-post-card .post-card-stats { justify-content: flex-start; }
  .opportunities-v2-page .opportunity-login-callout { align-items: stretch; flex-direction: column; }
  .opportunities-v2-page .opportunity-login-callout .primary-cta { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .opportunities-loading span { animation: none; }
  .composer-chevron { transition: none; }
  .community-sponsor-track { scroll-behavior: auto !important; }
}
