/* Desktop investigation desk: persistent side navigation and generous working space. */
.desktop-task-list { display:grid; gap:6px; margin:12px 0; }
.desktop-task { padding:8px 10px; text-align:left; color:var(--text); background:var(--panel-bg,#21180e); border:1px solid var(--border-subtle,#59472e); font:inherit; font-size:.75rem; cursor:pointer; }
.desktop-task:hover,.desktop-task:focus-visible { border-color:var(--gold,#e8c56a); }
#people-modal .people-modal-layout { display:grid; grid-template-columns:minmax(180px,230px) minmax(0,1fr); gap:24px; }
#people-modal .people-list-sidebar { overflow-y:auto; }
#people-modal .person-detail-view { min-width:0; }
#people-modal .npc-card[hidden] { display:none; }
#people-modal .npc-actions { display:flex; gap:10px; }
#people-modal .npc-btn { flex:1; min-height:44px; }
#people-modal .npc-feed { max-height:38vh; overflow-y:auto; }
#people-modal .modal-avatar img { width:100px !important; height:120px !important; }
#people-modal .section-title { margin-top:0; }
#lab-workspace .lab-actions { display:flex; gap:12px; }
#lab-workspace .lab-btn { flex:1; flex-direction:row; min-height:48px; justify-content:center; }
#lab-workspace .lab-btn-label { display:inline; }
#lab-workspace .connections-actions { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; }
#lab-workspace .connections-actions .relationship-field { grid-column:1/-1; }
#lab-workspace .folder-tray-header,#lab-workspace .step-header { cursor:pointer; }
#lab-workspace .folder-tray:not(.expanded) .folder-tray-body,#lab-workspace .timeline-step:not(.expanded) .step-body { display:none; }
#lab-workspace .sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
@media(min-width:1100px) { #inv-board-overlay .modal-panel { width:92vw; max-width:1440px; } #lab-workspace .card-pool-grid { grid-template-columns:repeat(auto-fit,minmax(145px,1fr)); } }
@media(max-width:700px) { #people-modal .people-modal-layout { grid-template-columns:1fr; } #people-modal .people-list-sidebar { display:flex; gap:8px; overflow-x:auto; } .person-nav-btn { min-width:140px; } }

#people-modal .npc-header { align-items:center; }
#people-modal .npc-feed:empty { display:none; }
#people-modal .npc-mood { margin-left:auto; }
#people-modal .npc-avatar img { width:72px; height:86px; object-fit:contain; }
#people-modal .npc-btn { color:var(--text); background:var(--panel-bg,#21180e); border:1px solid var(--border-subtle,#59472e); border-radius:var(--radius,3px); font-family:inherit; cursor:pointer; }
#people-modal .npc-result-modal-card { max-height:85vh; overflow-y:auto; }
