/* Ported from the reviewed mobile v1 working copy, October 8, 2026. */
/* Investor profile: Lucid form roles and the agency's glowing context pill. */
.ld-investor-profile { padding: 24px 24px 0; font-weight: 400; }
.ld-investor-overview { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.ld-investor-heading { font-size: var(--ld-type-value); font-weight: 500; }
.ld-investor-caption { font-size: var(--ld-type-caption); line-height: 1.5; color: var(--ink-3); }
.ld-investor-overview .ld-investor-caption { margin-top: 4px; }
.ld-investor-profile .ld-status-glow { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 8px; flex: none; border-radius: 999px; padding: 9px 14px; background: var(--bg-card); color: var(--ink); font-size: var(--ld-type-small); font-weight: 500; box-shadow: var(--ld-shadow-control); }
.ld-investor-profile .ld-status-glow::before { content: ''; position: absolute; inset: -2px; z-index: -2; border-radius: inherit; background: linear-gradient(130deg, #ffccaf 0%, var(--ld-rose-300) 48%, #c2a3ff 100%); filter: blur(8px); opacity: .55; }
.ld-investor-profile .ld-status-glow::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--bg-card); border: 1px solid var(--rule); }
.ld-investor-profile .ld-status-orb { width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg, #ffccaf, var(--ld-rose-300), #c2a3ff); }
.ld-investor-section { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.ld-investor-section legend { display: block; padding: 0; margin-bottom: 16px; font-size: var(--ld-type-value); font-weight: 500; color: var(--ink); }
.ld-investor-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; min-width: 0; }
.ld-investor-field > span:first-child { font-size: var(--ld-type-small); line-height: 1.4; color: var(--ink-3); }
.ld-investor-field textarea,
.ld-investor-multi { display: block; width: 100%; min-height: 52px; padding: 14px 16px; border: 1px solid var(--rule-2); border-radius: var(--ld-radius-tile); background: var(--bg-card); color: var(--ink); font: 400 var(--ld-type-body)/1.4 var(--ld-font); text-align: left; box-sizing: border-box; }
.ld-investor-field textarea { resize: vertical; min-height: 80px; }
.ld-investor-multi { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
.ld-investor-multi svg { flex: none; color: var(--ink-3); }
.ld-investor-field textarea:focus-visible,
.ld-investor-multi:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.ld-investor-options { border: 1px solid var(--rule); border-radius: var(--ld-radius-card); padding: 8px; background: var(--bg-card); box-shadow: var(--ld-shadow-card); }
.ld-investor-done, .ld-investor-discard { border: 0; background: transparent; color: var(--ink); font: 400 var(--ld-type-small)/1.4 var(--ld-font); min-height: 44px; cursor: pointer; }
.ld-investor-done { width: 100%; border-top: 1px solid var(--rule); font-weight: 500; }
.ld-investor-details { border-top: 1px solid var(--rule); padding-top: 16px; margin-bottom: 24px; font-size: var(--ld-type-small); color: var(--ink-2); }
.ld-investor-details summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; min-height: 40px; }
.ld-investor-details summary::-webkit-details-marker { display: none; }
.ld-investor-details dl { margin: 12px 0 24px; }
.ld-investor-details dl > div { display: flex; justify-content: space-between; padding: 8px 0; gap: 16px; }
.ld-investor-details dt { color: var(--ink-3); }
.ld-investor-details dd { margin: 0; color: var(--ink); }
.ld-investor-save { position: sticky; bottom: 0; padding: 12px 0 16px; background: var(--bg); border-top: 1px solid var(--rule); text-align: center; z-index: 2; }
.ld-investor-save [role]:not(:empty) { margin-bottom: 8px; }
.ld-investor-error { color: var(--signal-danger); font-size: var(--ld-type-small); line-height: 1.4; }
/* Final mobile v1: inset text areas, raised dropdown controls. */
.ld-investor-field textarea { border-radius: var(--ld-radius-tile) !important; border-color: var(--rule-2) !important; }
.ld-investor-multi { min-height: 56px; padding: 16px 20px; border-radius: var(--ld-radius-card); border-color: var(--ld-border); background: var(--ld-white-64); box-shadow: var(--ld-shadow-control); }
.ld-investor-save { padding-bottom: 24px; }

/* Lucid menu: inset selection, rounded rows, quiet checkmark, shared elevation. */
.ld-investor-option-list { position: relative; max-height: 240px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.ld-investor-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 48px; padding: 12px; border: 0; border-radius: var(--ld-radius-tile); background: transparent; color: var(--ink); font: 400 var(--ld-type-body)/1.4 var(--ld-font); text-align: left; cursor: pointer; }
.ld-investor-option[aria-selected="true"], .ld-investor-option:hover { background: var(--bg-2); }
.ld-investor-option:focus { outline: none; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--rule-2); }
.ld-investor-option-check { display: grid; place-items: center; width: 20px; flex: 0 0 20px; }
.ld-investor-multi[aria-expanded="true"] { border-color: var(--ink-3) !important; }
.ld-investor-multi:focus-visible { outline: 1px solid var(--ink-3); outline-offset: 2px; }
.ld-investor-facts h2 { font-size: var(--ld-type-value); font-weight: 500; margin: 0 0 16px; }
.ld-investor-facts ul { list-style: none; padding: 0; margin: 0; }
.ld-investor-facts li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: var(--ld-type-body); line-height: 1.5; color: var(--ink-2); }
.ld-investor-facts li:first-child { padding-top: 0; }
.ld-investor-facts li:last-child { border-bottom: 0; }
.ld-investor-facts li svg { margin-top: 4px; flex: none; color: var(--ink-3); }
.ld-investor-details[open] summary svg { transform: rotate(180deg); }
