/* //VENTURE Opportunities (2026-10-20): the project page's block (venture/project/part_opportunities.php), its two
   dialogs, and the inbox (venture/opportunities.php). Archivo, ink #0a0a0a, green #00FF50, 2px borders. */

/* ---------------------------------------------------------------- shared pieces */
.op-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 9px 14px; border: 2px solid #0a0a0a; background: #fff; color: #0a0a0a;
          font: 800 11.5px 'Archivo', sans-serif; letter-spacing: .14em; text-decoration: none; cursor: pointer; transition: background .15s, box-shadow .15s; }
.op-btn:hover, .op-btn:focus-visible { background: #00FF50; box-shadow: 3px 3px 0 #0a0a0a; }
.op-btn.is-go { background: #00FF50; }
.op-btn.is-go:hover, .op-btn.is-go:focus-visible { background: #0a0a0a; color: #00FF50; }
.op-btn.is-ghost { border-style: dashed; background: transparent; }
.op-btn.is-warn { background: #0a0a0a; color: #fff; }
.op-btn.is-warn:hover { background: #ff3b30; color: #fff; }
.op-btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.op-btn:focus-visible, .op-u:focus-visible, .op-row:focus-visible, .op-chips a:focus-visible, .op-tabs a:focus-visible { outline: 3px solid #00FF50; outline-offset: 2px; }
.op-u { font: 800 10.5px 'Archivo', sans-serif; letter-spacing: .14em; color: #0a0a0a; text-decoration: none; border-bottom: 2px solid #00FF50; }
.op-fine { margin: 8px 0 0; font: 600 12px/1.45 'Archivo', sans-serif; color: #4a4a46; }
.op-k { margin: 0 0 8px; font: 800 10px 'Archivo', sans-serif; letter-spacing: .18em; color: #0a0a0a; }
.op-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.op-kind, .op-st, .op-vis, .op-src, .op-stage, .op-crm { display: inline-block; padding: 3px 7px; font: 800 9.5px 'Archivo', sans-serif; font-style: normal; letter-spacing: .14em; border: 1px solid #0a0a0a; background: #fff; color: #0a0a0a; white-space: nowrap; }
.op-kind { background: #0a0a0a; color: #00FF50; }
.op-st.is-open, .op-st.is-live, .op-st.is-published { background: #00FF50; }
.op-st.is-draft, .op-st.is-pending, .op-st.is-paused { border-style: dashed; }
.op-st.is-closed { background: #e9e9e5; color: #4a4a46; }
.op-vis { border-style: dashed; }
.op-src.is-projects { background: #0a0a0a; color: #00FF50; border-color: #0a0a0a; }
.op-src.is-talents { background: #b07cff; }
.op-src.is-career { background: #5aa9ff; }
.op-src.is-services { background: #ffb020; }
.op-stage.is-new { background: #0a0a0a; color: #00FF50; }
.op-stage.is-reviewing { background: #fff; }
.op-stage.is-discussion, .op-stage.is-offer { background: #c9ffd9; }
.op-stage.is-accepted { background: #00FF50; }
.op-stage.is-declined, .op-stage.is-withdrawn { background: #e9e9e5; color: #6b6b66; border-color: #9a9a95; }
.op-stage.is-l { font-size: 11px; padding: 6px 10px; }
.op-crm { border-color: #0a0a0a; background: #00FF50; }

/* forms */
.op-dlg [hidden], .op-blk [hidden], .op-detail [hidden] { display: none !important; }
.op-f { display: grid; gap: 6px; margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
.op-f > span, .op-f > legend { font: 800 10px 'Archivo', sans-serif; letter-spacing: .18em; color: #0a0a0a; padding: 0; }
.op-f :is(input[type=text], input[type=url], input[type=date], input[type=time], select, textarea) { width: 100%; box-sizing: border-box; min-height: 42px; padding: 10px 12px; border: 2px solid #0a0a0a; border-radius: 0; background: #fff; color: #0a0a0a; font: 600 14px/1.4 'Archivo', sans-serif; }
.op-f textarea { resize: vertical; }
.op-f :is(input, select, textarea):focus { outline: none; box-shadow: 4px 4px 0 #00FF50; }
.op-f .is-bad, .op-check .is-bad { border-color: #ff3b30 !important; box-shadow: 4px 4px 0 #ff3b30; }
.op-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.op-2col .op-f-s { max-width: 140px; }
.op-2col:has(.op-f-s) { grid-template-columns: 1fr auto; }
.op-2col:has(.op-f-s + .op-f-s) { grid-template-columns: 1fr auto auto; }
.op-radio { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 2px solid #0a0a0a; margin-bottom: 6px; cursor: pointer; }
.op-radio:has(input:checked) { background: #00FF50; }
.op-radio input { margin-top: 3px; accent-color: #0a0a0a; }
.op-radio b { display: block; font: 800 13.5px 'Archivo', sans-serif; }
.op-radio em { display: block; font: 600 12px/1.35 'Archivo', sans-serif; font-style: normal; color: #2a2a28; }
.op-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.op-check { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border: 2px solid #0a0a0a; font: 700 13px 'Archivo', sans-serif; cursor: pointer; }
.op-check:has(input:checked) { background: #00FF50; }
.op-check input { accent-color: #0a0a0a; width: 16px; height: 16px; }
.op-check.is-nda { display: flex; margin-bottom: 14px; }
.op-banner { margin: 0 0 14px; padding: 10px 12px; border: 2px solid #0a0a0a; background: #ffb020; font: 700 13px 'Archivo', sans-serif; color: #0a0a0a; }

/* dialogs */
.op-dlg { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 2px solid #0a0a0a; border-radius: 0; background: #f5f5f3; color: #0a0a0a; box-shadow: 8px 8px 0 #00FF50; }
.op-dlg::backdrop { background: rgba(10,10,10,.72); }
.op-form { padding: 0 22px 20px; }
.op-dlg-h { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 -22px 16px; padding: 16px 22px; background: #0a0a0a; color: #f5f5f3; }
.op-dlg-h h3 { margin: 0; font: 900 22px/1.05 'Archivo', sans-serif; letter-spacing: -.03em; color: #f5f5f3; }
.op-x { width: 36px; height: 36px; flex: none; border: 2px solid #f5f5f3; background: transparent; color: #f5f5f3; font: 900 20px/1 'Archivo', sans-serif; cursor: pointer; }
.op-x:hover, .op-x:focus-visible { background: #00FF50; color: #0a0a0a; border-color: #00FF50; }
.op-dlg-sub { margin: -4px 0 14px; font: 800 15px 'Archivo', sans-serif; }
.op-dlg-f { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 8px; padding-top: 14px; border-top: 2px solid #0a0a0a; }

/* ---------------------------------------------------------------- the project page's block */
.op-blk .op-plan { font-weight: 700; color: #0a0a0a; }
.op-blk .op-plan a { color: #0a0a0a; border-bottom: 2px solid #00FF50; text-decoration: none; font-weight: 800; letter-spacing: .08em; font-size: 11px; }
.op-list { display: grid; gap: 12px; }
.op-item { padding: 14px 16px; border: 2px solid #0a0a0a; background: #fff; scroll-margin-top: 140px; }
.op-item.is-draft { border-style: dashed; }
.op-item.is-closed { background: #f0f0ec; }
.op-item:target { box-shadow: 6px 6px 0 #00FF50; }
.op-item-h { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.op-item-t { margin: 0 0 6px; font: 900 20px/1.12 'Archivo', sans-serif; letter-spacing: -.02em; color: #0a0a0a; overflow-wrap: anywhere; }
.op-meta { margin: 0 0 8px; font: 700 13px 'Archivo', sans-serif; color: #2a2a28; }
.op-details { margin: 0 0 10px; font: 500 14px/1.55 'Archivo', sans-serif; color: #1a1a18; overflow-wrap: anywhere; }
.op-asks { margin: 0 0 10px; font: 600 12.5px 'Archivo', sans-serif; }
.op-asks b { font-size: 10px; letter-spacing: .16em; margin-right: 4px; }
.op-item-f { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid #deded9; }
.op-count { font: 800 13px 'Archivo', sans-serif; color: #0a0a0a; text-decoration: none; border-bottom: 2px solid #00FF50; }
.op-count em { font-style: normal; margin-left: 4px; padding: 1px 6px; background: #0a0a0a; color: #00FF50; font-size: 11px; }
.op-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.op-mine { font: 800 12px 'Archivo', sans-serif; letter-spacing: .06em; color: #0a0a0a; text-decoration: none; padding: 8px 12px; background: #c9ffd9; border: 2px solid #0a0a0a; }

/* ---------------------------------------------------------------- the inbox page */
.op { background: #f5f5f3; color: #0a0a0a; min-height: 70vh; }
.op [hidden] { display: none !important; }
.op button { font-family: inherit; }
.op .stroke { color: transparent; -webkit-text-stroke: 2px #f5f5f3; }
.op-in { max-width: 1440px; margin: 0 auto; padding-left: var(--gut, 24px); padding-right: var(--gut, 24px); box-sizing: border-box; }
.op-hero { position: relative; overflow: hidden; margin-top: 74px; background: #0a0a0a; color: #f5f5f3; }
.hp-has-sub .op-hero { margin-top: 126px; }
.op-ghost { position: absolute; top: -10px; right: -3%; font: 900 clamp(120px, 20vw, 320px)/.8 'Archivo', sans-serif; letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1px rgba(0,255,80,.28); white-space: nowrap; pointer-events: none; }
.op-hero .op-in { position: relative; padding-top: clamp(26px, 3vw, 40px); }
.op-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font: 800 12px 'Archivo', sans-serif; letter-spacing: .2em; color: #00FF50; }
.op-hatch { width: 46px; height: 12px; background: repeating-linear-gradient(-45deg, #00FF50 0 4px, transparent 4px 8px); }
.op-hero h1 { margin: 0 0 14px; font: 900 clamp(44px, 6.2vw, 96px)/.86 'Archivo', sans-serif; letter-spacing: -.06em; }
.op-sum { margin: 0 0 24px; max-width: 720px; font: 600 15px/1.5 'Archivo', sans-serif; color: #bdbdb8; }
.op-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid #2a2a2a; border-bottom: 0; }
.op-stats > div { min-width: 0; padding: 16px 18px; border-right: 1px solid #2a2a2a; }
.op-stats > div:last-child { border-right: 0; }
.op-stats > div.is-g { background: #00FF50; color: #0a0a0a; }
.op-stats b { display: block; font: 900 clamp(30px, 3.4vw, 48px)/1 'Archivo', sans-serif; letter-spacing: -.05em; }
.op-stats span { display: block; margin-top: 8px; font: 800 10px 'Archivo', sans-serif; letter-spacing: .18em; }
.op-tabs { display: flex; flex-wrap: wrap; border-top: 1px solid #2a2a2a; }
.op-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 16px 18px; color: #f5f5f3; text-decoration: none; font: 800 12px 'Archivo', sans-serif; letter-spacing: .16em; border-bottom: 4px solid transparent; }
.op-tabs a:hover { color: #00FF50; }
.op-tabs a.is-on { border-bottom-color: #00FF50; color: #00FF50; }
.op-tabs em { font-style: normal; padding: 1px 7px; background: #00FF50; color: #0a0a0a; }

.op-filters { background: #0a0a0a; border-top: 1px solid #2a2a2a; }
.op-filters-in { display: grid; gap: 12px; padding-top: 14px; padding-bottom: 16px; }
.op-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.op-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid #3a3a3a; color: #f5f5f3; text-decoration: none; font: 800 12px 'Archivo', sans-serif; letter-spacing: .06em; }
.op-chips a em { font-style: normal; opacity: .6; }
.op-chips a:hover { border-color: #00FF50; }
.op-chips a.is-on { background: #00FF50; border-color: #00FF50; color: #0a0a0a; }
.op-chips.is-stages a { font-size: 11px; padding: 6px 10px; }
.op-selects { display: flex; flex-wrap: wrap; gap: 8px; }
.op-selects label { flex: 1 1 240px; max-width: 360px; }
.op-selects select { width: 100%; height: 40px; padding: 0 12px; border: 1px solid #3a3a3a; border-radius: 0; background: #141414; color: #f5f5f3; font: 600 13.5px 'Archivo', sans-serif; }
.op-selects select:focus { outline: none; border-color: #00FF50; }

.op-body { padding: clamp(22px, 3vw, 36px) 0 60px; }
.op-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 980px){ .op-split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } .op-detailcol { position: sticky; top: 140px; max-height: calc(100vh - 160px); overflow: auto; } }
.op-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.op-row { display: flex; gap: 12px; padding: 12px 14px; border: 2px solid #0a0a0a; background: #fff; color: #0a0a0a; text-decoration: none; transition: box-shadow .15s; }
.op-row:hover { box-shadow: 4px 4px 0 #00FF50; }
.op-row.is-on { box-shadow: 6px 6px 0 #0a0a0a; background: #effff3; }
.op-row.is-new { border-left-width: 8px; }
.op-av { width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: #0a0a0a center / cover no-repeat; color: #00FF50; font: 900 13px 'Archivo', sans-serif; }
.op-av.is-l { width: 64px; height: 64px; font-size: 18px; }
.op-row-b { display: grid; gap: 3px; min-width: 0; flex: 1; }
.op-row-1 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.op-row-1 b { font: 900 15.5px/1.15 'Archivo', sans-serif; }
.op-row-1 time { margin-left: auto; font: 700 11.5px 'Archivo', sans-serif; color: #4a4a46; }
.op-row-2 { font: 600 12px 'Archivo', sans-serif; color: #4a4a46; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.op-row-3 { font: 700 13px/1.3 'Archivo', sans-serif; overflow-wrap: anywhere; }
.op-row-3 em { font-style: normal; color: #4a4a46; font-weight: 600; }
.op-row-4 { font: 500 13px/1.4 'Archivo', sans-serif; color: #2a2a28; overflow-wrap: anywhere; }
.op-row-5 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.op-prov { font: 700 11px 'Archivo', sans-serif; color: #4a4a46; }

.op-back { display: none; margin-bottom: 10px; font: 800 11px 'Archivo', sans-serif; letter-spacing: .14em; color: #0a0a0a; text-decoration: none; }
.op-detail { border: 2px solid #0a0a0a; background: #fff; }
.op-detail > * { padding: 16px 18px; border-bottom: 1px solid #deded9; margin: 0; }
.op-detail > *:last-child { border-bottom: 0; }
.op-d-h { display: flex; align-items: center; gap: 14px; background: #0a0a0a; color: #f5f5f3; border-bottom: 0 !important; }
.op-d-who { flex: 1; min-width: 0; }
.op-d-who h2 { margin: 0; font: 900 24px/1.05 'Archivo', sans-serif; letter-spacing: -.03em; color: #f5f5f3; overflow-wrap: anywhere; }
.op-d-who p { margin: 4px 0 6px; font: 600 13px 'Archivo', sans-serif; color: #bdbdb8; }
.op-d-who .op-u { color: #f5f5f3; }
.op-d-item { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.op-d-item b { font: 900 17px/1.2 'Archivo', sans-serif; overflow-wrap: anywhere; }
.op-d-item em { font-style: normal; font: 600 13px 'Archivo', sans-serif; color: #4a4a46; }
.op-d-item time { flex-basis: 100%; font: 600 12px 'Archivo', sans-serif; color: #4a4a46; }
.op-d-links { display: flex; flex-wrap: wrap; gap: 12px; flex-basis: 100%; }
.op-d-msg p:last-child { font: 500 14.5px/1.6 'Archivo', sans-serif; overflow-wrap: anywhere; margin: 0; }
.op-d-att ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.op-d-att li { display: grid; gap: 2px; font: 600 13.5px/1.45 'Archivo', sans-serif; overflow-wrap: anywhere; }
.op-d-att b { font: 800 10px 'Archivo', sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.op-d-att a { color: #0a0a0a; border-bottom: 2px solid #00FF50; text-decoration: none; justify-self: start; }
.op-d-order { background: #fff7e6; }
.op-d-order dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 0; }
.op-d-order dt { font: 800 9.5px 'Archivo', sans-serif; letter-spacing: .16em; }
.op-d-order dd { margin: 2px 0 0; font: 800 14px 'Archivo', sans-serif; }
.op-d-do { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.op-cra { display: contents; }
.op-stagebar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.op-sg { padding: 8px 10px; border: 2px solid #0a0a0a; background: #fff; color: #0a0a0a; font: 800 10.5px 'Archivo', sans-serif; letter-spacing: .12em; cursor: pointer; }
.op-sg.is-cur { background: #0a0a0a; color: #00FF50; cursor: default; }
.op-sg[aria-pressed="true"] { background: #00FF50; box-shadow: 3px 3px 0 #0a0a0a; }
.op-sg:focus-visible { outline: 3px solid #00FF50; outline-offset: 2px; }
.op-d-more summary { cursor: pointer; font: 800 11px 'Archivo', sans-serif; letter-spacing: .16em; list-style: none; display: flex; align-items: center; gap: 8px; }
.op-d-more summary::before { content: '+'; display: inline-grid; place-items: center; width: 20px; height: 20px; border: 2px solid #0a0a0a; font-size: 13px; }
.op-d-more[open] summary::before { content: '\2212'; background: #00FF50; }
.op-d-more summary::-webkit-details-marker { display: none; }
.op-d-more.is-decline summary { color: #b3261e; }
.op-form-i { margin-top: 14px; }
.op-d-hist ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.op-d-hist li { display: grid; gap: 2px; padding-left: 12px; border-left: 3px solid #0a0a0a; font: 600 13px/1.4 'Archivo', sans-serif; }
.op-d-hist time { font: 700 11px 'Archivo', sans-serif; color: #4a4a46; }
.op-lock { font-weight: 600; letter-spacing: .04em; color: #4a4a46; }
q { quotes: none; }
.op q, .op-d-hist q { display: block; margin-top: 4px; padding: 8px 10px; background: #f0f0ec; font: 500 13px/1.45 'Archivo', sans-serif; overflow-wrap: anywhere; }
.op q.is-shared { background: #e9fff0; border-left: 3px solid #00FF50; }
.op-pick, .op-empty { padding: 28px 22px; border: 2px dashed #9a9a95; text-align: left; font: 600 14px/1.5 'Archivo', sans-serif; color: #2a2a28; }
.op-empty-t { margin: 0 0 6px; font: 900 22px/1.1 'Archivo', sans-serif; color: #0a0a0a; letter-spacing: -.02em; }
.op-empty p { margin: 0 0 14px; }

/* My opportunities / My responses */
.op-mg { margin-bottom: 26px; }
.op-mg-h { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font: 900 18px 'Archivo', sans-serif; }
.op-mg-h .op-src { font-size: 11px; padding: 5px 9px; }
.op-mg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.op-mg-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 14px; border: 2px solid #0a0a0a; background: #fff; }
.op-mg-row.is-on { box-shadow: 6px 6px 0 #00FF50; }
.op-mg-b { flex: 1 1 320px; min-width: 0; display: grid; gap: 4px; }
.op-mg-b b { font: 900 16px/1.2 'Archivo', sans-serif; overflow-wrap: anywhere; }
.op-mg-b > span { font: 600 12.5px 'Archivo', sans-serif; color: #4a4a46; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.op-mine-msg { margin: 6px 0 0; font: 500 13.5px/1.5 'Archivo', sans-serif; overflow-wrap: anywhere; }

@media (max-width: 979px){
  .op-split.has-detail .op-detailcol { order: -1; }
  .op-split.has-detail .op-back { display: inline-block; }
}
@media (max-width: 720px){
  .op-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .op-stats > div:nth-child(3) { border-right: 0; }
  .op-stats > div:nth-child(n+4) { border-top: 1px solid #2a2a2a; }
  .op-tabs a { padding: 12px 10px; font-size: 11px; letter-spacing: .1em; }
  .op-row { padding: 10px; gap: 10px; }
  .op-av { width: 38px; height: 38px; }
  .op-row-1 time { margin-left: 0; flex-basis: 100%; }
  .op-row-2 { white-space: normal; }
  .op-detail > * { padding: 14px; }
  .op-d-h { flex-wrap: wrap; }
  .op-form { padding: 0 16px 16px; }
  .op-dlg-h { margin: 0 -16px 14px; padding: 14px 16px; }
  .op-2col { grid-template-columns: 1fr !important; }
  .op-2col .op-f-s { max-width: none; }
  .op-item { padding: 12px; }
  .op-item-f { flex-direction: column; align-items: stretch; }
  .op-acts .op-btn { flex: 1 1 auto; }
}
.op-detailcol, .op-mg-row, .op-row { scroll-margin-top: 130px; }
.op-d-h .op-av { box-shadow: 0 0 0 2px #00FF50; }
.op-deal.is-in { background: #c9ffd9; border-style: solid; }

/* proposals on somebody else's project (2026-10-20): the rail's button, the inbox's tag and the proposal's terms */
#project_page .side_btn_row .side_btn_wide { grid-column: 1 / -1; }
.op-src.is-proposals { background: #00FF50; }
.op-pp-tier { margin: -8px 0 14px; }
.op-d-prop { margin: 0 0 18px; padding: 14px 16px; border: 2px solid #0a0a0a; background: #fff; }
.op-d-prop dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px 16px; margin: 8px 0 0; }
.op-d-prop dt { font: 800 9.5px 'Archivo', sans-serif; letter-spacing: .16em; color: #4a4a46; }
.op-d-prop dd { margin: 3px 0 0; font: 700 14px/1.35 'Archivo', sans-serif; overflow-wrap: anywhere; }
