.investor-admin-shell{display:grid;gap:16px}
.investor-admin-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.investor-admin-summary>div{padding:14px 16px;border:1px solid var(--line);border-radius:13px;background:#fff}
.investor-admin-summary b{display:block;color:var(--green);font-family:var(--serif);font-size:1.55rem;line-height:1}
.investor-admin-summary span{display:block;margin-top:5px;color:var(--muted);font-size:.76rem;font-weight:800}
.investor-access-panel{border:2px solid #c9b06b!important;background:#fffdf7!important}
.investor-access-panel[hidden]{display:none}
.investor-access-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}
.investor-access-head h2{margin:0;color:var(--green)}
.investor-access-head p{margin:.3rem 0 0;color:var(--muted)}
.investor-access-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.investor-access-grid label,.investor-access-status label{display:grid;gap:5px;color:var(--green);font-size:.75rem;font-weight:850}
.investor-access-grid input,.investor-access-status select{min-height:44px}
.investor-project-picker{display:grid;gap:8px;margin-top:15px}
.investor-project-picker>h3{margin:0;color:var(--green);font-size:1rem}
.investor-project-picker>p{margin:0 0 4px;color:var(--muted);font-size:.78rem}
.investor-role-guide{margin:2px 0 6px;border:1px solid #d8d1c2;border-radius:11px;background:#f8f6ef;color:#394a41}
.investor-role-guide summary{padding:9px 11px;color:var(--green);font-size:.76rem;font-weight:850;cursor:pointer}
.investor-role-guide>p{margin:0;padding:0 11px 9px;font-size:.74rem;line-height:1.5}
.investor-role-guide dl{display:grid;gap:0;margin:0;padding:0 11px 10px}
.investor-role-guide dl div{display:grid;grid-template-columns:minmax(120px,.45fr) minmax(0,1fr);gap:10px;border-top:1px solid #e6e0d4;padding:7px 0;font-size:.72rem}
.investor-role-guide dt{color:var(--green);font-weight:850}
.investor-role-guide dd{margin:0;color:var(--muted)}
.investor-project-option{border:1px solid var(--line);border-radius:12px;background:#fff;padding:11px 12px}
.investor-project-option.is-selected{border-color:var(--green-3);box-shadow:0 0 0 1px var(--green-3);background:#f1f8f4}
.investor-project-choice{display:flex;align-items:flex-start;gap:9px;color:var(--green);font-weight:850;cursor:pointer}
.investor-project-choice input{width:19px;height:19px;margin-top:1px}
.investor-project-choice small{display:block;margin-top:3px;color:var(--muted);font-weight:500}
.investor-role-options{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 0 28px;padding:0;border:0}
.investor-role-options[hidden]{display:none}
.investor-role-options legend{width:100%;margin-bottom:3px;color:var(--muted);font-size:.68rem;font-weight:800}
.investor-role-options label{display:flex;align-items:center;gap:5px;border:1px solid #d8d1c2;border-radius:999px;background:#fff;padding:5px 8px;color:#394a41;font-size:.71rem;cursor:pointer}
.investor-role-options label:has(input:checked){border-color:var(--green-3);background:#e7f3ec;color:var(--green);font-weight:850}
.investor-role-options input{width:15px;height:15px;margin:0}
@media(max-width:620px){.investor-role-guide dl div{grid-template-columns:1fr;gap:2px}}
.investor-access-status{max-width:300px;margin-top:14px}
.investor-access-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.investor-access-actions>div{display:flex;gap:8px;flex-wrap:wrap}
.investor-access-message{min-height:1.3em;margin:9px 0 0;color:var(--green);font-size:.8rem;font-weight:750}
.investor-access-message.error{color:#a53d2f}
.investor-delete-zone{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;padding:13px 14px;border:1px solid #d9b1aa;border-radius:12px;background:#fff7f5}
.investor-delete-zone b,.investor-delete-zone span{display:block}
.investor-delete-zone b{color:#7f2e24}
.investor-delete-zone span{margin-top:3px;color:#77534f;font-size:.75rem}
.investor-directory{overflow:hidden}
.investor-directory table{width:100%;border-collapse:collapse}
.investor-directory th,.investor-directory td{padding:12px 13px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.investor-directory th{background:#f1eee4;color:var(--green);font-size:.7rem;text-transform:uppercase;letter-spacing:.055em}
.investor-directory tr:last-child td{border-bottom:0}
.investor-directory-name{display:flex;align-items:flex-start;gap:9px}
.investor-directory-avatar{display:grid;flex:0 0 34px;width:34px;height:34px;place-items:center;border-radius:999px;background:#e1eee6;color:var(--green);font-size:.73rem;font-weight:900}
.investor-directory-name b{display:block;color:var(--green)}
.investor-directory-name small,.investor-directory-projects small{display:block;margin-top:2px;color:var(--muted)}
.investor-directory-projects{display:grid;gap:4px}
.investor-directory-projects span{display:block}
.investor-directory-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.investor-directory .btn{white-space:nowrap}
.investor-empty{padding:34px 20px;text-align:center}
.investor-empty h2{margin:0;color:var(--green)}
.investor-empty p{color:var(--muted)}
@media(max-width:760px){
  .investor-admin-summary,.investor-access-grid{grid-template-columns:1fr}
  .investor-access-head,.investor-access-actions,.investor-delete-zone{display:block}
  .investor-access-head .btn{width:100%;margin-top:12px}
  .investor-access-actions>div{display:grid;margin-top:9px}
  .investor-access-actions .btn{width:100%;min-height:46px}
  .investor-delete-zone .btn{width:100%;min-height:46px;margin-top:10px}
  .investor-directory{overflow:visible;background:transparent;border:0;box-shadow:none}
  .investor-directory table,.investor-directory tbody,.investor-directory tr,.investor-directory td{display:block;width:100%}
  .investor-directory thead{display:none}
  .investor-directory tr{margin-bottom:10px;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:var(--shadow);padding:13px}
  .investor-directory td{padding:7px 0;border:0}
  .investor-directory td:before{display:block;margin-bottom:3px;color:var(--muted);font-size:.64rem;font-weight:900;text-transform:uppercase;content:attr(data-label)}
  .investor-directory td:first-child:before{display:none}
  .investor-directory td:last-child .btn{width:100%;min-height:44px}
  .investor-directory-actions{display:grid}
}
