/* //VENTURE confidentiality (Nda_model, 2026-10-27): the Investment tab's owner panel (part_nda_settings.php), the
   reader's terms (part_nda_gate.php) and the status line above the documents (part_nda_status.php).
   Archivo, ink #0a0a0a, green #00FF50, 2px borders, as the rest of //VENTURE. */
.nda { --nd-g: #00FF50; --nd-ink: #0a0a0a; --nd-mute: #4a4a46; --nd-line: #deded9; --nd-bad: #b3261e;
       background: #fff; border: 2px solid var(--nd-ink); color: var(--nd-ink); font-family: 'Archivo', sans-serif; margin: 0 0 16px; }
.nda *, .nda *::before, .nda *::after { box-sizing: border-box; }
.nda [hidden] { display: none !important; }
.nda-hatch { height: 8px; background: repeating-linear-gradient(-45deg, var(--nd-ink) 0 4px, var(--nd-g) 4px 8px); }
.nda-in { padding: clamp(16px, 2.4vw, 26px); }
.nda-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.nda-k { margin: 0 0 8px; font: 800 10px 'Archivo', sans-serif; letter-spacing: .16em; color: var(--nd-mute); }
.nda .nda-h { margin: 0 0 8px; font: 900 clamp(22px, 2.4vw, 30px)/1.05 'Archivo', sans-serif; letter-spacing: -.03em; color: var(--nd-ink); }
.nda .nda-h4 { margin: 26px 0 10px; padding-top: 16px; border-top: 2px solid var(--nd-ink); font: 900 17px 'Archivo', sans-serif; color: var(--nd-ink); }
.nda-h4 span { font: 800 12px 'Archivo', sans-serif; color: var(--nd-mute); margin-left: 6px; }
.nda .nda-p { margin: 0 0 14px; max-width: 680px; font: 500 14px/1.55 'Archivo', sans-serif; color: #2a2a28; }
.nda .nda-fine { margin: 6px 0 0; font: 600 12px/1.5 'Archivo', sans-serif; color: var(--nd-mute); }
.nda-ph { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 14px; padding: 10px 12px; border: 2px dashed var(--nd-bad); color: var(--nd-bad); font: 700 12.5px/1.45 'Archivo', sans-serif; }
.nda-ph .material-symbols-outlined { font-size: 18px; }

.nda .nda-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 10px 15px; background: #fff; color: var(--nd-ink);
               border: 2px solid var(--nd-ink); font: 800 11px 'Archivo', sans-serif; letter-spacing: .12em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: box-shadow .15s; }
.nda .nda-btn:hover, .nda .nda-btn:focus-visible { box-shadow: 3px 3px 0 var(--nd-ink); }
.nda .nda-btn.is-go { background: var(--nd-g); }
.nda .nda-btn.is-small { min-height: 32px; padding: 6px 10px; font-size: 10px; }
.nda .nda-btn.is-bad { color: var(--nd-bad); }
.nda .nda-btn[disabled] { opacity: .5; cursor: wait; }
.nda .nda-link, .nda-status .nda-link { font: 800 11px 'Archivo', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--nd-ink, #0a0a0a); text-decoration: none; border-bottom: 2px solid var(--nd-g, #00FF50); white-space: nowrap; }
.nda-act { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 16px; }
.nda-act .nda-fine { margin: 0 auto 0 0; }

/* the four choices */
.nda-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.nda-mode { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 2px solid var(--nd-line); cursor: pointer; background: #fff; transition: border-color .15s, box-shadow .15s; }
.nda-mode:hover { border-color: var(--nd-ink); }
.nda-mode input { position: absolute; opacity: 0; width: 0; height: 0; }
.nda-mode:has(input:checked) { border-color: var(--nd-ink); box-shadow: 5px 5px 0 var(--nd-g); }
.nda-mode:has(input:focus-visible) { outline: 2px solid var(--nd-ink); outline-offset: 2px; }
.nda-mode-n { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border: 2px solid var(--nd-ink); font: 900 13px 'Archivo', sans-serif; }
.nda-mode:has(input:checked) .nda-mode-n { background: var(--nd-ink); color: var(--nd-g); }
.nda-mode-b { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nda-mode-b b { font: 900 15px 'Archivo', sans-serif; }
.nda-mode-b small { font: 500 12.5px/1.45 'Archivo', sans-serif; color: var(--nd-mute); }

.nda-opts { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 16px; padding: 14px; background: #fafaf8; border: 1px solid var(--nd-line); }
.nda-field { display: flex; flex-direction: column; gap: 6px; min-width: 180px; }
.nda-field > span { font: 800 9.5px 'Archivo', sans-serif; letter-spacing: .14em; color: var(--nd-ink); }
.nda-field select, .nda-field input[type="text"] { height: 42px; padding: 0 10px; border: 2px solid var(--nd-ink); background: #fff; font: 700 14px 'Archivo', sans-serif; color: var(--nd-ink); border-radius: 0; }
.nda-field input[aria-invalid="true"] { border-color: var(--nd-bad); }
.nda-seg { display: inline-flex; border: 2px solid var(--nd-ink); }
.nda-seg label { cursor: pointer; }
.nda-seg input { position: absolute; opacity: 0; width: 0; height: 0; }
.nda-seg span { display: block; padding: 10px 14px; font: 800 12px 'Archivo', sans-serif; background: #fff; }
.nda-seg label + label span { border-left: 2px solid var(--nd-ink); }
.nda-seg input:checked + span { background: var(--nd-ink); color: var(--nd-g); }
.nda-seg input:focus-visible + span { outline: 2px solid var(--nd-g); outline-offset: -4px; }
.nda-upload { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; width: 100%; }
.nda-upload > .material-symbols-outlined { font-size: 32px; }
.nda-upload-b { display: flex; flex-direction: column; flex: 1; min-width: 160px; }
.nda-upload-b b { font: 800 14px 'Archivo', sans-serif; overflow-wrap: anywhere; }
.nda-upload-b small { font: 600 12px 'Archivo', sans-serif; color: var(--nd-mute); }

/* the terms */
.nda-text { max-height: 360px; overflow: auto; margin: 0 0 16px; padding: 16px 18px; border: 2px solid var(--nd-ink); background: #fafaf8; font: 500 13.5px/1.6 'Archivo', sans-serif; color: #1c1c1a; }
.nda-text:focus-visible { outline: 2px solid var(--nd-g); }
.nda-pdf { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 14px; border: 2px solid var(--nd-ink); color: var(--nd-ink); text-decoration: none; background: #fafaf8; }
.nda-pdf:hover { box-shadow: 4px 4px 0 var(--nd-g); }
.nda-pdf .material-symbols-outlined { font-size: 32px; }
.nda-pdf small { font: 600 12px 'Archivo', sans-serif; color: var(--nd-mute); }
.nda-form .nda-field { max-width: 420px; margin-bottom: 12px; }
.nda-check { display: flex; align-items: flex-start; gap: 10px; font: 700 14px/1.45 'Archivo', sans-serif; cursor: pointer; max-width: 680px; }
.nda-check input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: var(--nd-ink); }
.nda-check input[aria-invalid="true"] { outline: 2px solid var(--nd-bad); }
.nda-preview { margin: 18px 0 0; }
.nda-preview summary { cursor: pointer; font: 800 12px 'Archivo', sans-serif; letter-spacing: .06em; }
.nda-preview .nda-text { margin-top: 10px; }

/* who accepted */
.nda-list { display: flex; flex-direction: column; }
.nda-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 0; border-top: 1px solid var(--nd-line); }
.nda-row.is-revoked, .nda-row.is-old { opacity: .6; }
.nda-av { width: 36px; height: 36px; flex: none; border-radius: 999px; border: 1.5px solid var(--nd-ink); background: #0a0a0a center / cover no-repeat; }
.nda-row-b { display: flex; flex-direction: column; flex: 1; min-width: 200px; }
.nda-row-b b { font: 800 14px 'Archivo', sans-serif; }
.nda-row-b b a { color: inherit; text-decoration: none; }
.nda-row-b small { font: 600 12px/1.45 'Archivo', sans-serif; color: var(--nd-mute); }
.nda-tag { padding: 3px 7px; font: 800 9.5px 'Archivo', sans-serif; letter-spacing: .1em; border: 1px solid var(--nd-ink); }
.nda-row:not(.is-revoked):not(.is-old) .nda-tag { background: var(--nd-g); }

/* above the documents */
.nda-status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 12px 0 16px; padding: 12px 14px; border: 2px solid #0a0a0a; background: #f4fff7; font-family: 'Archivo', sans-serif; }
.nda-status p { margin: 0; flex: 1; min-width: 200px; font: 600 13.5px/1.45 'Archivo', sans-serif; color: #0a0a0a; }
.nda-status .nda-fine { font: 600 12px 'Archivo', sans-serif; color: #4a4a46; }

@media (max-width: 700px) {
    .nda-modes { grid-template-columns: minmax(0, 1fr); }
    .nda-field { min-width: 0; width: 100%; }
    .nda-act { justify-content: stretch; }
    .nda-act .nda-btn { flex: 1; }
}

/* the Investments tab's note under its title (2026-10-29): who can see the tab */
.inv_private_note { display: flex; align-items: center; gap: 6px; margin: 4px 0 0; opacity: .75; }
.inv_private_note .material-symbols-outlined { font-size: 16px; }

/* the owner's documents on the Investments tab (single-project-investors.php, #inv_docs, 2026-10-29) */
.inv_docs_bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 14px 0 6px; }
.inv_docs_bar p { margin: 0; opacity: .75; flex: 1 1 260px; }
.inv_docs .file_grid.inv_doc { grid-template-columns: 20px 120px 1fr 64px; }
.inv_docs .inv_doc .file_name { width: 100%; box-sizing: border-box; }
.inv_doc_act { display: flex; justify-content: flex-end; gap: 8px; }
.inv_doc_act a { display: inline-flex; color: inherit; }
.inv_docs .sortable-ghost { opacity: .4; }
@media (max-width: 600px) { .inv_docs .file_grid.inv_doc { grid-template-columns: 20px 56px minmax(0, 1fr) 56px; gap: 8px; } .inv_docs .inv_doc .thumb { width: 56px; } }
.inv_docs .inv_handle { display: flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--light-grey); cursor: grab; touch-action: none; }
.inv_docs .inv_handle:hover { background: var(--light-grey); }
.inv_docs .inv_handle:active { cursor: grabbing; }
.inv_docs .inv_handle .material-symbols-outlined { font-size: 20px; opacity: .7; }
