/* Short, local connections only. No cross-chart paths or technical IDs. */
.agent-name-story { display:block; font-size:13px; line-height:1.5; font-weight:400; color:#bed1d1; margin:8px 0; }
.profile-editor select[multiple] { min-height:200px; width:100%; white-space:normal; }
.profile-editor select[multiple] option { padding:8px; }
.catalog-selection { overflow-wrap:anywhere; }
.provider-profile { border:1px solid #365b62; border-radius:12px; padding:20px; margin:20px 0; }
.provider-profile textarea,.provider-profile input,.provider-profile select { box-sizing:border-box; display:block; width:100%; background:#09212a; color:#e8f0ef; border:1px solid #557982; border-radius:8px; padding:12px; margin:8px 0 16px; }
.provider-profile pre { white-space:pre-wrap; overflow-wrap:anywhere; max-height:420px; overflow:auto; }
.provider-profile a { color:#f4c476; }
.provider-profile output { display:block; padding:12px 0; }
.org-connections { display:none !important; }
.full-org-root { min-width:0; width:100%; padding:4px; }
.full-org-canvas { padding:24px; overflow:visible; }
.full-org-section > header { margin-bottom:20px; }
.full-org-founder { padding:18px 28px; min-width:240px; }
.full-org-founder b { font-size:19px; }
.full-org-stem { width:4px; height:30px; background:#cda660; }
.full-org-operations,.full-org-governance { padding:22px; }
.full-org-operations > header span,.full-org-governance > header span { font-size:18px; letter-spacing:.03em; }
.full-org-governance > header { flex-wrap:wrap; }
.org-line-legend { color:#a9c4c6; font-size:12px; }
.full-org-lead { width:100%; max-width:780px; display:grid; grid-template-columns:minmax(0,2.4fr) minmax(150px,1fr); gap:28px; border:0; padding:12px 0 28px; align-items:center; }
.full-org-agent.director { min-height:170px; padding:24px; justify-content:center; }
.full-org-agent.director .full-org-agent-top b { font-size:25px; }
.full-org-agent.nikita { padding:12px; min-height:0; }
.full-org-agent.nikita .full-org-agent-top b { font-size:16px; }
.full-org-lead .nikita.full-org-agent-wrap { position:relative; }
.full-org-lead .nikita.full-org-agent-wrap::before { content:''; position:absolute; left:-28px; width:28px; top:50%; border-top:3px solid #96bfc0; }
.full-org-agent.nikita::after,.full-org-agent[data-profile=falcon]::after,.full-org-agent[data-profile=magnet]::after { content:none; }
.full-org-departments { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:28px; margin-top:16px; border-top:4px solid #cda660; padding-top:28px; }
.full-org-department { margin:0; padding:20px; border:1px solid #365b62; border-radius:12px; position:relative; }
.full-org-department > header { display:block; margin-bottom:20px; padding-bottom:12px; border-bottom:1px solid #365b62; }
.full-org-department > header h3 { margin:0; font-weight:700; font-size:22px; line-height:1.25; color:#f2c47b; letter-spacing:0; }
.full-org-department-grid { border-left:4px solid #cda660; padding-left:18px; gap:12px; }
.full-org-department-grid > article::before { width:18px; left:-22px; top:28px; border-top:4px solid #cda660; }
.full-org-agent { gap:6px; padding:16px; border-radius:9px; }
.full-org-agent-top b { font-size:17px; line-height:1.3; }
.agent-short-function { font-size:13px; line-height:1.4; color:#d0e0df; }
.full-org-agent small { font-size:11px; line-height:1.4; }
.full-org-agent strong { font-size:11px; color:#e8bc78; }
.review-arrow { margin:0 0 2px; font-size:12px; line-height:1.6; color:#f0c177; }
.review-caption { display:block; margin-top:14px; color:#adc8c6; font-size:11px; }
.piranha-specializations { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.piranha-specializations h4,.piranha-specializations > small { grid-column:1/-1; margin:4px 0; }
.piranha-specializations button { text-align:left; border:1px solid #4d7279; background:#102f38; color:#f0c177; border-radius:7px; padding:10px; font-size:11px; font-weight:700; cursor:pointer; }
.piranha-specializations button small { display:block; font-weight:400; color:#b9d1cf; font-size:11px; margin-top:5px; }
.full-org-governance-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.governance-unit { padding:16px; }
.governance-unit h4 { font-size:17px; line-height:1.3; }
.incident-recovery { border-top:3px solid #cda660; margin-top:24px; padding-top:20px; }
.incident-recovery h3 { font-size:22px; color:#f0c177; }
.incident-recovery p,.incident-recovery small { color:#b9d1cf; font-size:13px; line-height:1.6; }
.incident-recovery > div { max-width:420px; margin:14px 0; }
.full-org-agent:hover,.piranha-specializations button:hover { border-color:#f0c177; }
.full-org-agent:focus-visible,.piranha-specializations button:focus-visible { outline:3px solid #f0c177; outline-offset:3px; }
@media(max-width:900px){.full-org-departments {grid-template-columns:1fr;} .full-org-canvas {padding:12px;} .full-org-governance-grid {grid-template-columns:1fr;} .full-org-lead {gap:16px;} .full-org-lead .nikita.full-org-agent-wrap::before{left:-16px;width:16px;} }
/* Owner-approved agent provisioning, deliberately separate from personnel edits. */
#agent-creation {margin:20px 0;padding:22px;border:1px solid #345b64;border-radius:18px;background:#102b34}
#agent-creation summary {cursor:pointer;padding:12px 0;color:#f5be68}
.creation-request {border-top:1px solid #345b64;padding:16px 0}
.creation-request pre {white-space:pre-wrap;overflow-wrap:anywhere;max-height:440px;overflow:auto}
.creation-actions {display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}
.creation-log div {white-space:pre-line;line-height:1.8}
.personnel-savebar {position:static;background:#102b34;border-top:2px solid #e8b15e;padding:14px 8px;box-shadow:none}
.personnel-savebar .editor-status {display:block;margin-top:8px;font-size:14px}
.provider-applybar {position:static;background:#102b34;padding:10px 0}
.provider-profile [hidden] {display:none!important}
.provider-profile button {margin:6px 8px 6px 0}
.provider-history {white-space:pre-line;line-height:1.7}
.handoff-preview {padding:16px;border-left:3px solid #e8b15e;background:#17363e;line-height:1.8}

/* Personnel directory and TALENT conversation, 19 November 2026. */
#profiles-grid { display:block; }
.personnel-department { margin:0 0 26px; }
.personnel-department-title { font-size:20px; color:#f6bb62; margin:12px 0; }
.personnel-department-title small { font-size:13px; color:#a4bec1; }
.personnel-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.personnel-card-grid .compact-profile { padding:18px; min-width:0; }
.compact-profile h4 { font-size:18px; line-height:1.35; margin:0 0 10px; overflow-wrap:anywhere; }
.compact-profile .personnel-function { color:#f6bb62; font-size:inherit; font-weight:inherit; }
.compact-profile p { font-size:14px; line-height:1.5; margin:0 0 12px; }
.compact-profile small,.compact-profile footer { font-size:12px; color:#a4bec1; }
.compact-profile footer { flex-wrap:wrap; gap:8px; margin-top:12px; }
.talent-conversation:empty { display:none; }
.talent-message { padding:16px; margin:12px 0; background:#09212a; border-left:3px solid #f6bb62; border-radius:8px; overflow-wrap:anywhere; }
.talent-message-user { border-color:#55aaa4; }
.talent-message p { white-space:pre-wrap; }
.talent-reply-area { margin-top:16px; border-top:1px solid #49717a; padding-top:16px; }
.talent-result button { margin:8px 10px 8px 0; }
@media(min-width:1800px) { .personnel-card-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:1100px) { .personnel-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:650px) { .personnel-card-grid { grid-template-columns:1fr; } }

.personnel-card-grid { align-items:start; }
.personnel-card-grid .compact-profile { padding:12px; border-radius:9px; }
.compact-profile h4 { font-size:15px; margin:0 0 7px; }
.compact-profile p { display:none; }
.compact-profile footer { margin-top:8px; }
.compact-profile footer button { padding:4px 0; font-size:12px; }
.profile-editor > h3 { padding-top:16px; border-top:1px solid #355962; }
.provider-profile textarea[readonly] { max-height:220px; }
.field-effect { font-size:12px; color:#abc3c4; }
.provider-suggestion { white-space:pre-wrap; padding:12px; border-left:3px solid #e8b15e; }
/* Compact organisation: four department columns; personnel details stay in the profile. */
.full-org-canvas { padding:12px; }
.full-org-operations,.full-org-governance { padding:16px; }
.full-org-founder { padding:10px 18px; min-width:220px; }
.full-org-founder b { font-size:16px; }
.full-org-lead { max-width:580px; grid-template-columns:2fr 1fr; padding:0; margin:0 auto 24px; position:relative; }
.full-org-agent.director { min-height:72px; padding:12px; }
.full-org-agent.director .full-org-agent-top b { font-size:18px; }
.full-org-agent.nikita { padding:8px; }
.full-org-agent.nikita .full-org-agent-top b { font-size:13px; }
.full-org-departments { grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; padding:16px 0 0; margin:0; }
.full-org-department { padding:10px; border-radius:8px; }
.full-org-department > header { margin-bottom:10px; padding-bottom:8px; }
.full-org-department > header h3 { font-size:18px; }
.full-org-department-grid { gap:7px; padding-left:10px; border-left:3px solid #cda660; }
.full-org-department-grid > article::before { left:-13px; width:10px; top:22px; border-top-width:3px; }
.full-org-agent,.full-org-agent.department-agent { width:100%; min-height:0; padding:9px; gap:4px; }
.full-org-agent-top b { font-size:14px; line-height:1.35; overflow-wrap:anywhere; }
.full-org-agent .org-report { font-size:10px; color:#a9c4c6; }
.full-org-governance-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.governance-unit { padding:10px; gap:7px; }
.governance-unit h4 { font-size:15px; margin:0 0 8px; }
.full-org-governance p,.governance-unit p { font-size:11px; line-height:1.5; }
.org-specializations summary { cursor:pointer; font-size:11px; color:#f2c47b; padding:8px 0; }
.incident-recovery { margin-top:14px; padding-top:12px; }
.incident-recovery h3 { font-size:17px; margin:0; }
.incident-recovery > div { max-width:300px; margin:8px 0; }
/* Continuous outside rail connects Founder to independent control, never through cards. */
.full-org-branches { position:relative; margin-left:12px; width:calc(100% - 12px); }
.full-org-branches::before { content:''; position:absolute; top:-2px; bottom:0; left:-12px; width:3px; background:#cda660; }
.full-org-operations,.full-org-governance { position:relative; }
.full-org-operations::before,.full-org-governance::before { content:''; position:absolute; left:-13px; top:18px; width:12px; border-top:3px solid #cda660; }
.full-org-root > .full-org-stem { width:calc(50% + 6px); height:16px; justify-self:start; margin-left:0; background:none; border-right:3px solid #cda660; border-bottom:3px solid #cda660; }
@media(max-width:1250px) { .full-org-departments,.full-org-governance-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:650px) { .full-org-departments,.full-org-governance-grid { grid-template-columns:1fr; } .full-org-lead { grid-template-columns:1.7fr 1fr; gap:16px; } .full-org-agent.director .full-org-agent-top b {font-size:15px;} }
.full-org-lead > .director { position:relative; }
.full-org-lead > .director::after { content:''; position:absolute; left:50%; top:100%; height:24px; border-left:3px solid #cda660; }
/* Secondary reporting relations are visibly indented, with the named manager retained. */
.full-org-department-grid > article:has([data-manager="cobra"]),
.full-org-department-grid > article:has([data-manager="condor"]),
.full-org-department-grid > article:has([data-manager="piranha"]) { margin-left:8px; }
