/**
 * BINW Opportunities — record preview + full editable page v5 / 2026-11-01
 * PRODUCTION: assets/css/opportunities-records.css
 * Load after binw-system.css and the existing opportunities-hub.css.
 * Scope: #content .binw-opps-acf. Scoped to new public Opportunities Hub only. No shared stylesheet edits.
 *
 * v5: Tight intro/notice spacing; editable help and state-link rows.
 * All v4 opportunity card, featured, status and dialog rules are retained.
 * Keep Records Playground PHP v4. Update this CSS, companion JS and page JSON.
 * No record updates, publishing, or live-page changes.
 * !important is used narrowly to beat the legacy hub's heading/layout fixes.
 */

/* 1. SCOPED BASE AND BRAND TYPE */
#content .binw-page.binw-opps-acf {
  --opps-brand-green: #78A22F;
  --opps-green-hover: #5E8127;
  --opps-ink: #17251F;
  --opps-font: "Trebuchet MS", Helvetica, Arial, sans-serif;
  width: 100%;
  max-width: 1240px;
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--opps-font) !important;
}

#content .binw-opps-acf *,
#content .binw-opps-acf *::before,
#content .binw-opps-acf *::after { box-sizing: border-box; }

#content .binw-opps-acf :is(h1,h2,h3,h4,h5,h6,p,li,a,button,summary,th,td,span,strong) {
  font-family: "Trebuchet MS", Helvetica, Arial, sans-serif !important;
}

#content .binw-opps-acf [hidden] { display: none !important; }

#content .binw-opps-acf :is(h1,h2,h3,h4,h5,h6) {
  padding: 0 !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  overflow-wrap: break-word;
}

#content .binw-opps-acf p {
  text-transform: none;
  letter-spacing: normal;
}

#content .binw-opps-acf .binw-opps-visual-intro h1 {
  font-size: clamp(34px, 4vw, 50px) !important;
  line-height: 1.12 !important;
  color: var(--opps-ink) !important;
}

#content .binw-opps-acf .binw-opps-visual-kicker {
  color: var(--opps-brand-green) !important;
  font-size: 17px !important;
  line-height: 1.25 !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .075em;
}

#content .binw-opps-acf .binw-opps-visual-featured-copy h2 {
  font-size: clamp(30px, 3.5vw, 46px) !important;
  line-height: 1.12 !important;
  color: var(--opps-ink) !important;
  margin: 0 !important;
}

#content .binw-opps-acf .binw-opps-visual-card h3 {
  font-size: 25px !important;
  line-height: 1.24 !important;
  color: var(--opps-ink) !important;
}

#content .binw-opps-acf .binw-opps-visual-featured-summary {
  font-size: 18px !important;
  line-height: 1.55 !important;
}

#content .binw-opps-acf :is(a,button,summary,[tabindex]):focus-visible {
  outline: 3px solid #0C5C44;
  outline-offset: 4px;
}

/* 2. FEATURED LAYOUT — LESS EMPTY SPACE, NO FIXED CONTENT HEIGHT */
#content .binw-opps-acf .binw-opps-visual-featured {
  min-height: 0;
  margin-bottom: 0;
}
#content .binw-opps-acf :is(.binw-opps-visual-featured-copy,.binw-opps-visual-featured-image,.binw-opps-visual-card-body) {
  min-width: 0;
}
#content .binw-opps-acf .binw-opps-visual-featured-image {
  min-height: 0 !important;
}
#content .binw-opps-acf .binw-opps-visual-featured-image img {
  position: absolute; inset: 0; max-width: 100%; margin: 0;
}
#content .binw-opps-acf .binw-opps-visual-featured-copy {
  padding: 30px 36px;
}
#content .binw-opps-acf .binw-opps-visual-featured-top {
  margin-bottom: 12px;
}
#content .binw-opps-acf .binw-opps-visual-featured-summary {
  margin-top: 14px;
  margin-bottom: 0;
}
#content .binw-opps-acf .binw-opps-visual-featured-chips {
  margin-top: 18px;
}
#content .binw-opps-acf .binw-opps-visual-featured-chips span {
  padding-top: 8px;
  padding-bottom: 8px;
}
#content .binw-opps-acf .binw-opps-visual-featured-copy > .binw-opps-visual-actions {
  margin-top: 18px;
}

/* 3. BIN GREEN LABELS / LINKS; SOLID BUTTONS RETAIN WHITE TEXT */
#content .binw-opps-acf :is(.binw-opps-visual-type,.binw-opps-visual-type-chip),
#content .binw-opps-acf .binw-opps-visual-featured-chips span::before,
#content .binw-opps-acf .binw-opps-visual-table td span:not(.binw-opps-visual-status) {
  color: var(--opps-brand-green) !important;
}

#content .binw-opps-acf .binw-opps-visual-btn {
  white-space: normal;
  text-align: center;
  font-weight: 700;
}
#content .binw-opps-acf .binw-opps-visual-btn:hover { transform: none !important; }
#content .binw-opps-acf .binw-btn-primary {
  background: var(--opps-brand-green) !important;
  color: #FFFFFF !important;
}
#content .binw-opps-acf .binw-btn-primary:is(:hover,:focus) {
  background: var(--opps-green-hover) !important;
  color: #FFFFFF !important;
}

#content .binw-opps-acf :is(.binw-btn-secondary,.binw-opps-visual-card-link,.binw-opps-visual-table-btn,.binw-opps-visual-timeline-notify) {
  color: var(--opps-brand-green) !important;
}
#content .binw-opps-acf :is(.binw-btn-secondary,.binw-opps-visual-card-link,.binw-opps-visual-table-btn,.binw-opps-visual-timeline-notify):is(:hover,:focus) {
  color: var(--opps-green-hover) !important;
  transform: none !important;
}

/* 4. TWO STATUS PALETTES; KEEP THE ACTUAL STATUS WORDING */
/* Neutral is also the safe fallback for an unknown status. */
#content .binw-opps-acf .binw-opps-visual-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: max-content;
  max-width: none;
  padding: 6px 11px !important;
  border: 1px solid #D9DDD7 !important;
  border-radius: 999px;
  background: #F0F1EF !important;
  color: #4F5352 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  text-align: center;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

/* Move the whole pill to a new line instead of squeezing its text.
   Category labels can wrap; status wording stays complete and readable. */
#content .binw-opps-acf .binw-opps-visual-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
#content .binw-opps-acf .binw-opps-visual-card-meta > .binw-opps-visual-type {
  flex: 1 1 130px;
  min-width: 0;
}
#content .binw-opps-acf .binw-opps-visual-modal-top,
#content .binw-opps-acf .binw-opps-visual-featured-top {
  flex-wrap: wrap;
}

/* Open / ongoing / available / application-based. */
#content .binw-opps-acf .binw-opps-visual-status:is(.binw-status-open,.binw-status-ongoing,.binw-status-available,.binw-status-application) {
  background: #EDF4E2 !important;
  border-color: #CEDCB7 !important;
  color: #3D5718 !important;
}

/* Closed / coming soon / past retain the neutral palette above.
   The pilot already maps Coming Soon to binw-status-closed;
   this is a visual grouping, NOT a change to its saved/public wording. */

/* 5. PILOT NOTES AND NO-JAVASCRIPT FALLBACK */
#content .binw-opps-acf .binw-opps-live-message {
  margin: 0 0 16px !important;
  padding: 7px 12px; border-left: 3px solid var(--opps-brand-green);
  background: #F4F7EF; font-size: 13px; line-height: 1.4; color: #343538;
}
/* Browse heading: text at left; the existing comparison control at right.
   Keep the control in DOM order and stack it below the copy on smaller screens. */
#content .binw-opps-acf .binw-opps-acf-browse-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px 40px;
  width: 100%;
  margin: 36px 0 28px;
  padding: 0 0 24px;
  border-bottom: 1px solid #D9E3CF;
  text-align: left;
}
#content .binw-opps-acf .binw-opps-acf-browse-copy {
  min-width: 0;
  max-width: 780px;
}
#content .binw-opps-acf .binw-opps-acf-browse-copy > .binw-opps-visual-kicker {
  margin: 0 0 10px !important;
}
#content .binw-opps-acf .binw-opps-acf-browse-copy > h2 {
  max-width: 760px;
  margin: 0 0 12px !important;
  color: var(--opps-ink) !important;
  font-family: var(--opps-font) !important;
  font-size: clamp(28px, 3vw, 38px) !important;
  line-height: 1.18 !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}
#content .binw-opps-acf .binw-opps-acf-browse-copy > .binw-opps-acf-browse-description {
  max-width: 720px;
  margin: 0 !important;
  padding: 0;
  color: #44534D;
  font-size: 17px !important;
  line-height: 1.55 !important;
  font-weight: 400;
}
#content .binw-opps-acf .binw-opps-acf-browse-head > button[data-opps-compare] {
  justify-self: end;
  align-self: end;
  width: auto;
  max-width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 10px 0;
  white-space: nowrap;
}
@media (max-width: 800px) {
  #content .binw-opps-acf .binw-opps-acf-browse-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-top: 28px;
    margin-bottom: 24px;
    padding-bottom: 18px;
  }
  #content .binw-opps-acf .binw-opps-acf-browse-head > button[data-opps-compare] {
    justify-self: start;
  }
}
#content .binw-opps-acf-image-note { padding: 30px; }
#content .binw-opps-acf-fallback details {
  padding: 20px; border: 1px solid #D9DDD7; border-radius: 10px; margin: 0 0 24px;
}
#content .binw-opps-acf-fallback summary { cursor: pointer; font-weight: 700; }
#content .binw-opps-acf.is-enhanced .binw-opps-acf-fallback { display: none; }
#content .binw-opps-acf .binw-opps-acf-fallback h3 {
  margin: 18px 0 8px !important; font-size: 16px !important; line-height: 1.4 !important;
}

/* 6. DETAILS DIALOG — ONE SCROLLER, TITLE SEPARATE FROM SMALL LABELS */
#content .binw-opps-acf dialog.binw-opps-acf-dialog {
  display: none; position: fixed; inset: 0;
  width: min(940px, calc(100vw - 32px)); max-width: none;
  max-height: calc(100dvh - 48px); margin: auto; padding: 0;
  border: 0; border-radius: 24px; background: #FFFFFF;
  color: var(--opps-ink); overflow: auto;
  box-shadow: 0 24px 60px rgba(17,27,22,.25); overscroll-behavior: contain;
}
#content .binw-opps-acf dialog.binw-opps-acf-dialog[open] { display: block; }
#content .binw-opps-acf dialog::backdrop { background: rgba(17,27,22,.62); }

#content .binw-opps-acf .binw-opps-visual-modal {
  max-height: none !important; overflow: visible !important;
  border-radius: 0 !important; box-shadow: none !important; align-items: stretch;
}
#content .binw-opps-acf .binw-opps-visual-modal-image {
  width: 34% !important; flex: 0 0 34% !important;
  min-height: 0 !important; overflow: hidden !important;
}
#content .binw-opps-acf .binw-opps-visual-modal-image img {
  position: absolute; inset: 0; max-width: 100%; margin: 0;
}
#content .binw-opps-acf .binw-opps-visual-modal-content {
  width: 66% !important; min-width: 0;
  padding: 34px !important; max-height: none !important; overflow: visible !important;
}
#content .binw-opps-acf .binw-opps-visual-modal-top {
  padding-right: 38px;
}

/* The dialog title is h2. Never size every h3 in the dialog as a title. */
#content .binw-opps-acf .binw-opps-visual-modal-content > h2[data-opps-value="title"] {
  margin: 0 !important;
  color: var(--opps-ink) !important;
  font-size: clamp(24px, 2.5vw, 32px) !important;
  line-height: 1.2 !important;
}
#content .binw-opps-acf .binw-opps-visual-modal-highlights > h3,
#content .binw-opps-acf .binw-opps-visual-modal-details > div > h3 {
  margin: 0 0 9px !important;
  padding: 0 !important;
  color: var(--opps-ink) !important;
  font-family: "Trebuchet MS", Helvetica, Arial, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}
#content .binw-opps-acf .binw-opps-visual-modal-details > div { min-width: 0; }
#content .binw-opps-acf .binw-opps-visual-modal-details p {
  margin: 0; font-size: 15px !important; line-height: 1.55 !important; overflow-wrap: anywhere;
}
#content .binw-opps-acf .binw-opps-visual-modal-highlights li {
  font-size: 15px !important; line-height: 1.55 !important;
}
#content .binw-opps-acf .binw-opps-visual-timeline-notify:not([hidden]) { display: inline-flex; }

#content .binw-opps-acf .binw-opps-visual-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin: 0; padding: 0;
  font-size: 28px; line-height: 1; border: 1px solid #D9DDD7;
  background: #FFFFFF !important; color: #343538 !important;
  box-shadow: none; text-decoration: none;
}
#content .binw-opps-acf .binw-opps-visual-close::before,
#content .binw-opps-acf .binw-opps-visual-close::after { content: none; }

/* 7. COMPARISON DRAWER */
#content .binw-opps-acf dialog.binw-opps-acf-compare-dialog {
  inset: 0 0 0 auto; width: min(1080px, 94vw);
  height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0;
}
#content .binw-opps-acf-compare-content { position: relative; min-height: 100%; padding: 66px 30px 30px; }
#content .binw-opps-acf .binw-opps-visual-compare-head h2 {
  margin: 0 !important; font-size: 36px !important; line-height: 1.15 !important;
  color: var(--opps-brand-green) !important;
}
#content .binw-opps-acf .binw-opps-visual-table-wrap {
  max-height: none; border-radius: 12px; overscroll-behavior-x: contain;
}
#content .binw-opps-acf .binw-opps-visual-table {
  margin-bottom: 0;
}

/* 8. RESPONSIVE */
@media (max-width: 1120px) {
  #content .binw-opps-acf .binw-opps-visual-featured-image { min-height: 0; height: 280px; }
}
@media (max-width: 860px) {
  #content .binw-opps-acf .binw-opps-visual-modal {
    display: block !important;
  }
  #content .binw-opps-acf .binw-opps-visual-modal-image {
    width: 100% !important; flex: none !important; height: 160px; min-height: 0 !important;
  }
  #content .binw-opps-acf .binw-opps-visual-modal-content {
    width: 100% !important; flex: none !important;
  }
  #content .binw-opps-acf .binw-opps-visual-modal-details > div {
    width: 100% !important;
  }
}
@media (max-width: 600px) {
  #content .binw-opps-acf .binw-opps-visual-featured { border-radius: 18px; }
  #content .binw-opps-acf .binw-opps-visual-featured-copy { padding: 24px 20px; }
  #content .binw-opps-acf .binw-opps-visual-featured-chips span { min-width: 0; overflow-wrap: anywhere; }
  #content .binw-opps-acf .binw-opps-visual-featured-chips span::before { min-width: 74px; }
  #content .binw-opps-acf .binw-opps-visual-actions { gap: 20px; }
  #content .binw-opps-acf .binw-opps-visual-modal-content { padding: 24px 18px !important; }
  #content .binw-opps-acf dialog.binw-opps-acf-dialog { max-height: calc(100dvh - 24px); border-radius: 18px; }
  #content .binw-opps-acf dialog.binw-opps-acf-compare-dialog { max-height: 100dvh; border-radius: 0; }
  #content .binw-opps-acf-compare-content { padding: 66px 20px 26px; }
  #content .binw-opps-acf .binw-opps-visual-compare-head h2 { font-size: 30px !important; }
}
@media (prefers-reduced-motion: reduce) {
  #content .binw-opps-acf *,
  #content .binw-opps-acf *::before,
  #content .binw-opps-acf *::after {
    transition: none !important; animation: none !important; scroll-behavior: auto !important;
  }
}

/* 9. EDITABLE PAGE ROWS — ONLY THE IMPORTED OPPORTUNITIES LAYOUT */
/* The original intro's 42px margin and SiteOrigin's inter-widget gap added up.
   Keep a single 18px gap below the divider, then the compact review notice. */
#content .panel-grid:has(> .binw-opps-main-row),
#content .panel-grid:has(> .binw-opps-page-section) {
  margin-bottom: 0 !important;
}
#content .binw-opps-main-row > .panel-grid-cell > .so-panel,
#content .binw-opps-page-section .so-panel {
  margin: 0 !important;
}
#content .binw-opps-intro-widget,
#content .binw-opps-records-widget {
  margin: 0 !important;
  padding: 0 !important;
}
#content .binw-opps-intro-widget .binw-opps-visual-intro {
  margin: 0 0 18px !important;
  padding-bottom: 18px !important;
}
#content .binw-opps-records-widget .binw-page.binw-opps-acf {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
#content .binw-page.binw-opps-page-section {
  --opps-brand-green: #78A22F;
  --opps-green-hover: #5E8127;
  --opps-ink: #17251F;
  --opps-body: #44534D;
  --opps-border: #DCE6D2;
  --opps-font: "Trebuchet MS", Helvetica, Arial, sans-serif;
  box-sizing: border-box;
  width: 100%; max-width: 1240px; min-width: 0;
  font-family: var(--opps-font) !important;
  color: var(--opps-ink);
}
#content .binw-opps-page-section *,
#content .binw-opps-page-section *::before,
#content .binw-opps-page-section *::after { box-sizing: border-box; }
#content .binw-opps-page-section > .panel-grid-cell {
  width: auto !important; min-width: 0; margin: 0 !important; padding: 0 !important;
}
#content .binw-opps-page-section .panel-widget-style,
#content .binw-opps-page-section .siteorigin-widget-tinymce { min-width: 0; }
#content .binw-opps-page-section :is(h2,h3,p,a,button,li,span,strong) {
  font-family: var(--opps-font) !important;
}
#content .binw-opps-page-section :is(h2,h3) {
  margin: 0 0 14px !important; padding: 0 !important;
  font-weight: 700 !important; line-height: 1.2 !important;
  text-transform: none !important; letter-spacing: normal !important;
  overflow-wrap: break-word;
}
#content .binw-opps-page-section h2 { font-size: clamp(28px, 3vw, 36px) !important; }
#content .binw-opps-page-section p {
  margin: 0 !important; padding: 0 !important;
  font-size: 17px !important; line-height: 1.55 !important; font-weight: 400 !important;
  letter-spacing: normal !important; text-transform: none !important;
}
#content .binw-opps-page-section .binw-opps-visual-kicker {
  margin: 0 0 12px !important; font-size: 17px !important; line-height: 1.3 !important;
  font-weight: 700 !important; text-transform: uppercase !important;
  letter-spacing: .075em !important; color: var(--opps-brand-green) !important;
}
#content .binw-opps-page-section :is(a,button,[tabindex]):focus-visible {
  outline: 3px solid #0C5C44 !important; outline-offset: 4px;
}

/* Coaching help: original content and green callout, editable Editor + Button. */
#content .binw-page.binw-opps-help-row {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center !important; gap: 26px 34px !important;
  margin: 40px auto !important; padding: 34px 36px !important;
  border-radius: 26px; color: #FFFFFF;
  background: radial-gradient(circle at top left, rgba(255,255,255,.12), transparent 32%),
              linear-gradient(135deg, #0C5C44, #78A22F);
  box-shadow: 0 14px 30px rgba(85,117,31,.15);
}
#content .binw-opps-help-row .binw-opps-help-copy h2,
#content .binw-opps-help-row .binw-opps-help-copy p { color: #FFFFFF !important; }
#content .binw-opps-help-row .binw-opps-help-copy .binw-opps-visual-kicker {
  color: #FFFFFF !important;
}
#content .binw-opps-help-copy .siteorigin-widget-tinymce { max-width: 820px; }
#content .binw-opps-help-button,
#content .binw-opps-help-button .ow-button-base { margin: 0 !important; padding: 0 !important; }
#content .binw-opps-help-button .ow-button-base { text-align: right !important; }
#content .binw-opps-help-button .ow-button-base a {
  display: inline-flex !important; align-items: center; justify-content: center;
  min-height: 48px; max-width: 100%; margin: 0 !important; padding: 12px 22px !important;
  border: 2px solid #FFFFFF !important; border-radius: 999px !important;
  background: #FFFFFF !important; color: #78A22F !important;
  font-family: var(--opps-font) !important; font-size: 16px !important;
  font-weight: 700 !important; line-height: 1.25 !important;
  white-space: normal; text-align: center; text-decoration: none !important;
  text-transform: none !important; letter-spacing: normal !important;
  text-shadow: none !important; box-shadow: none !important; transform: none !important;
}
#content .binw-opps-help-button .ow-button-base a span {
  margin: 0 !important; padding: 0 !important;
  color: inherit !important; font: inherit !important; text-shadow: none !important;
}
#content .binw-opps-help-button .ow-button-base a::before,
#content .binw-opps-help-button .ow-button-base a::after { content: none !important; }
#content .binw-opps-help-button .ow-button-base a:is(:hover,:focus) {
  background: #F4F7EF !important; border-color: #F4F7EF !important; color: #5E8127 !important;
}
#content .binw-opps-help-row a:focus-visible { outline-color: #FFFFFF !important; }

/* External directory: four plain Editor widgets become accessible state tabs. */
#content .binw-page.binw-opps-external-row {
  display: grid !important;
  grid-template-columns: minmax(250px,.62fr) minmax(0,1fr);
  align-items: start !important; gap: 28px 38px !important;
  margin: 0 auto 40px !important; padding: 34px 36px !important;
  border: 1px solid var(--opps-border); border-radius: 26px;
  background: radial-gradient(circle at top right, rgba(120,162,47,.10), transparent 34%), #F7F9F4;
}
#content .binw-opps-external-row h2,
#content .binw-opps-external-row h3 { color: var(--opps-ink) !important; }
#content .binw-opps-external-row p { color: var(--opps-body) !important; }
#content .binw-opps-external-row .binw-opps-state-links h3 {
  margin-bottom: 12px !important; font-size: 21px !important;
}
#content .binw-opps-state-links ul {
  display: grid; gap: 10px; margin: 0 !important; padding: 0 !important; list-style: none !important;
}
#content .binw-opps-state-links li {
  margin: 0 !important; padding: 0 !important; list-style: none !important;
  text-transform: none !important; letter-spacing: normal !important;
}
#content .binw-opps-state-links li::before { content: none !important; }
#content .binw-opps-state-links li a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 54px; padding: 15px 18px;
  border: 1px solid var(--opps-border); border-radius: 14px;
  background: #FFFFFF; color: var(--opps-ink) !important;
  font-size: 17px !important; font-weight: 700 !important; line-height: 1.35 !important;
  text-decoration: none !important; overflow-wrap: anywhere;
  box-shadow: none; transform: none;
}
#content .binw-opps-state-links li a::after {
  content: "↗"; flex: 0 0 auto; color: var(--opps-brand-green); font-size: 21px; line-height: 1;
}
#content .binw-opps-state-links li a:is(:hover,:focus) {
  border-color: #78A22F; color: #5E8127 !important;
  text-decoration: underline !important; text-underline-offset: 3px;
}
#content .binw-opps-external-row .binw-opps-state-tablist {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px;
  padding: 6px; margin: 0 0 18px; border: 1px solid #D5E1C7;
  border-radius: 18px; background: rgba(255,255,255,.86);
}
#content .binw-opps-external-row .binw-opps-state-tab {
  appearance: none; display: flex; align-items: center; justify-content: center;
  width: 100%; min-width: 0; min-height: 48px; height: auto;
  padding: 10px 8px !important; margin: 0 !important;
  border: 2px solid transparent !important; border-radius: 12px;
  background: transparent !important; color: #78A22F !important;
  font-size: 15px !important; line-height: 1.25 !important; font-weight: 700 !important;
  white-space: nowrap; text-transform: none !important; letter-spacing: normal !important;
  text-shadow: none !important; box-shadow: none !important; transform: none !important; cursor: pointer;
}
#content .binw-opps-external-row .binw-opps-state-tab::before,
#content .binw-opps-external-row .binw-opps-state-tab::after { content: none !important; }
#content .binw-opps-external-row .binw-opps-state-tab:hover {
  background: #EDF4E2 !important; color: #5E8127 !important;
}
#content .binw-opps-external-row .binw-opps-state-tab[aria-selected="true"] {
  background: #78A22F !important; color: #FFFFFF !important; border-color: #78A22F !important;
}
#content .binw-opps-external-row .binw-opps-state-panel[hidden] { display: none !important; }
#content .binw-opps-external-row .binw-opps-state-deck { position: relative; min-width: 0; }
#content .binw-opps-external-row .binw-opps-state-panel { width: 100%; margin: 0 !important; }
#content .binw-opps-external-row:not(.binw-opps-tabs-ready) .so-panel:has(.binw-opps-state-links) + .so-panel {
  margin-top: 22px !important;
}
@media (max-width: 980px) {
  #content .binw-page.binw-opps-help-row,
  #content .binw-page.binw-opps-external-row {
    grid-template-columns: minmax(0,1fr); gap: 24px !important; padding: 28px !important;
  }
  #content .binw-opps-help-button .ow-button-base { text-align: left !important; }
}
@media (max-width: 600px) {
  #content .binw-opps-intro-widget .binw-opps-visual-intro { margin-bottom: 14px !important; }
  #content .binw-page.binw-opps-help-row,
  #content .binw-page.binw-opps-external-row { padding: 24px 18px !important; border-radius: 18px; }
  #content .binw-page.binw-opps-help-row { margin-top: 30px !important; margin-bottom: 30px !important; }
  #content .binw-opps-page-section p { font-size: 16px !important; }
  #content .binw-opps-help-button .ow-button-base a { width: 100%; }
  #content .binw-opps-external-row .binw-opps-state-tablist {
    display: flex; flex-wrap: wrap; gap: 5px; border-radius: 14px;
  }
  #content .binw-opps-external-row .binw-opps-state-tab { width: auto; flex: 1 0 auto; padding: 10px 12px !important; }
  #content .binw-opps-state-links li a { font-size: 16px !important; padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  #content .binw-opps-page-section *, #content .binw-opps-page-section *::before,
  #content .binw-opps-page-section *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  #content .binw-opps-external-row .binw-opps-state-tab[aria-selected="true"] {
    border-color: ButtonText !important; text-decoration: underline;
  }
}
