/* Theme-independent controls and movement feedback. */
.theme-toggle{font-size:22px;width:36px;height:36px;flex-shrink:0}
.login-theme{position:absolute;right:24px;top:20px;z-index:2}
.board-help{font-size:11px;color:var(--muted);line-height:1.6;margin:-8px 0 18px}
.deal-card[draggable]{cursor:grab;transition:box-shadow .18s,transform .18s,opacity .18s;position:relative}
.deal-card[draggable]:active{cursor:grabbing}
.deal-card[draggable]:after{content:'⠿';position:absolute;top:10px;right:11px;color:var(--muted);opacity:.55;font-size:18px}
.deal-card.dragging{opacity:.35;transform:scale(.97)}
.kanban-column{transition:background .15s,box-shadow .15s;min-height:350px}
.kanban-column.drop-target{background:var(--accent-bg);box-shadow:inset 0 0 0 2px var(--accent)}
.kanban-cards{min-height:270px}
.deal-card:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
/* Quiet neutral light theme. Depth comes from soft shadows, not gradients. */
:root[data-theme=light]{color-scheme:light;color:#24272d;background:#f6f5f2;--muted:#747981;--border:#e6e7e9;--accent:#4267d5;--accent-bg:#edf2ff;--sidebar:#f0efec;--surface:#fff;--depth:0 2px 4px #1b253004,0 12px 28px -18px #1b253031}
[data-theme=light] body{background:#f6f5f2}
[data-theme=light] .sidebar{background:#f0efec;border-color:#e6e5e1}
[data-theme=light] :is(.wordmark,.profile,.talent-name,.story-title,.row-title,.deal-card h3,.surface-heading h2,.section-heading h2,.overview-total>strong,.card-metric,.deal-summary strong,.chat-top h2,.message-author){color:#292c33}
[data-theme=light] :is(.wordmark>.icon,.profile small,.breadcrumb,.global-search,.nav-item){color:#686d76}
[data-theme=light] :is(.nav-item:hover,.profile:hover,.icon-btn:hover){background:#e7e8ea;color:#30343b}
[data-theme=light] .nav-item.active{background:#fff;color:#252a35;box-shadow:0 3px 12px #202a3610}
[data-theme=light] :is(.round-icon,.pipeline-icon){background:#f0f2f6;color:#747d90;box-shadow:none}
[data-theme=light] :is(.nav-item b,.tab span){background:#e9ecf1;color:#687183}
[data-theme=light] :is(.nav-item small,.text-btn,.card-link){color:#4267d5}
[data-theme=light] .icon-btn{color:#747b86}
[data-theme=light] :is(.text-btn:hover,.card-link:hover,.talent-name:hover,.story-title:hover,.row-title:hover){color:#2949a4}
[data-theme=light] :is(.surface,.talent-card,.story-card,.news-card){background:#fff;border-color:#e8e9eb;box-shadow:var(--depth)}
[data-theme=light] .btn{background:#fff;border-color:#e1e4e9;color:#424a58;box-shadow:0 2px 4px #25304406}
[data-theme=light] .btn:hover{background:#f3f5f8;border-color:#ced4df;color:#283448}
[data-theme=light] :is(.btn.primary,.send-button){background:#4267d5;border-color:#4267d5;color:#fff;box-shadow:0 4px 10px #4267d51a}
[data-theme=light] .btn.primary:hover{background:#3456bd;border-color:#3456bd}
[data-theme=light] :is(.overview-total>span,.card-metric small,.card-summary,.avatar-stack>span:last-child,.legend-item,.pipeline-row,.pipeline-row b,.surface-heading h2>span,.subtle-label,.row-sub,.person-inline,.channel,.date,.list-footer,.talent-meta,.talent-meta b,.story-card p,.news-card p,.deal-summary,.deal-card p,.deal-amount,.deal-card-footer,.kanban-column>h3,.column-empty,.chat-welcome>p,.chat-side-note,.composer-bottom>span,.chat-date,.detail-field>span,.login-note,.eyebrow,.story-top .eyebrow){color:#747981}
[data-theme=light] :is(.legend-item b,.pipeline-row:hover .pipeline-name){color:#343b49}
[data-theme=light] :is(.status-legend,.card-link,.card-foot,.tabs,.chat-top,.activity,.selection-list label,.linked-record,.source-item){border-color:#eceef1}
[data-theme=light] .attention-pill{background:#f0f4ff;border-color:transparent;color:#526dac}
[data-theme=light] .attention-pill i{background:#6e8ad6}
[data-theme=light] .status-ring{box-shadow:none}
[data-theme=light] .status-ring:after{background:#fff;box-shadow:0 2px 8px #2734470a}
[data-theme=light] .status-ring>span{color:#343b49}[data-theme=light] .status-ring small{color:#828995}
[data-theme=light] .ring-chart circle:first-child{stroke:#edf0f4}
[data-theme=light] .ring-chart circle[data-status="0"]{stroke:#6f89d3}
[data-theme=light] .ring-chart circle[data-status="1"]{stroke:#86a99b}
[data-theme=light] .ring-chart circle[data-status="2"]{stroke:#c3b38d}
[data-theme=light] .ring-chart circle[data-status="3"]{stroke:#b3bbc9}
[data-theme=light] .legend-0{background:#6f89d3}[data-theme=light] .legend-1{background:#86a99b}[data-theme=light] .legend-2{background:#c3b38d}[data-theme=light] .legend-3{background:#b3bbc9}
[data-theme=light] .pipeline-track rect:first-child{fill:#edf0f4}[data-theme=light] .pipeline-track rect:last-child{fill:#8fa2d6}
[data-theme=light] :is(.search-input,.filter-select){background:#fff;border-color:#e5e7eb}
[data-theme=light] :is(input,textarea,select){background:#fff;color:#343b49;border-color:#dfe3e9}
[data-theme=light] :is(input,textarea)::placeholder{color:#8a909b}
[data-theme=light] :is(.search-input input,.filter-select select){background:transparent;color:#535c6a}
[data-theme=light] th{background:#f8f9fb;color:#7b8390;border-color:#eceef1}
[data-theme=light] td{color:#545c69;border-color:#eceef1}[data-theme=light] tbody tr:hover{background:#f8f9fb}
[data-theme=light] .chip{background:#f1f3f6;color:#717a88}[data-theme=light] .chip.green{background:#edf5ef;color:#52765b}[data-theme=light] .chip.amber{background:#faf4e5;color:#947339}[data-theme=light] .chip.purple{background:#edf1fb;color:#5974ad}
[data-theme=light] .avatar{box-shadow:none}
[data-theme=light] .tone-0{background:#e8f0eb;color:#60816b}[data-theme=light] .tone-1{background:#eee9e4;color:#8b7865}[data-theme=light] .tone-2{background:#e9edf9;color:#6c7ca9}[data-theme=light] .tone-3{background:#e7eef5;color:#647f99}[data-theme=light] .tone-4{background:#f3e9ec;color:#997982}[data-theme=light] .tone-5{background:#e7f0ed;color:#678b80}
[data-theme=light] .avatar-stack .avatar{border-color:#fff}
[data-theme=light] :is(.tags span,.card-foot){background:#fafbfc;color:#7e8592;border-color:#edf0f4}
[data-theme=light] .tab{color:#7e8592}[data-theme=light] .tab.active{color:#4267d5}[data-theme=light] .tab.active span{background:#edf2ff;color:#4267d5}
[data-theme=light] .view-toggle{background:#eeeff1;border-color:#e6e8ec}[data-theme=light] .view-toggle button{color:#848d9d}[data-theme=light] .view-toggle .active{background:#fff;color:#536b9f;box-shadow:0 2px 5px #2734470c}
[data-theme=light] .kanban-column{background:#eeefee;border-color:transparent}
[data-theme=light] .kanban-column>h3 small{background:#e3e6e8;color:#7d8796}
[data-theme=light] .deal-card{background:#fff;border-color:#e5e8ec;box-shadow:0 2px 4px #25304405,0 10px 20px -14px #25304440;color:#343b49}
[data-theme=light] .deal-card:hover{background:#fff;border-color:#bdcbe8;box-shadow:0 10px 22px -12px #4267d53b;transform:translateY(-2px)}
[data-theme=light] .deal-card p{border-color:#eff1f5}
[data-theme=light] .kanban-column.drop-target{background:#e8eefb;box-shadow:inset 0 0 0 2px #8ba3df}
[data-theme=light] :is(dialog,.drawer){background:#fff;color:#343b49;border-color:#e5e8ec;box-shadow:0 24px 80px #26303d2b}
[data-theme=light] :is(.modal-head,.modal-footer){background:transparent;border-color:#eceef2}
[data-theme=light] :is(.next-step,.info-box,.login-symbol,.assistant-symbol){background:#f2f5fb;border-color:#e5eaf4;color:#7185af}
[data-theme=light] :is(.template-link,.linked-record,.selection-list label){color:#5c6d8d}
[data-theme=light] :is(.linked-record:hover,.template-link:hover,.selection-list label:hover){background:#f5f7fb}
[data-theme=light] .chat-sidebar{background:#f1f2f3;border-color:#e5e8ec}[data-theme=light] .chat-link{color:#747d8e}[data-theme=light] .chat-link.active{background:#fff;color:#4267d5}[data-theme=light] .chat-link:hover{background:#e7ecf5}
[data-theme=light] :is(.prompt-card,.composer){background:#fff;border-color:#e5e8ec;color:#5e6f90;box-shadow:var(--depth)}
[data-theme=light] .composer textarea{background:transparent;color:#343b49}[data-theme=light] .context-select select{background:#f0f3f9;color:#697fa8}
[data-theme=light] .offline-badge{background:#eef0f4;color:#7a8495;border-color:#e5e8ec}
[data-theme=light] .login-story{background:#eeefec}
[data-theme=light] .login-story h1{color:#383f4c}[data-theme=light] .login-story p{color:#858d9b}
[data-theme=light] .orbit{border-color:#acb7cc80}[data-theme=light] .orbit-star{color:#8398c1}[data-theme=light] .orbit-dot{background:#7e94bd}
/* Less secondary copy, stronger hierarchy in both themes. */
.sidebar nav{margin-top:44px}
.sidebar-bottom{padding-top:20px}
.demo-label{font-size:11px!important;letter-spacing:.02em;border:1px solid var(--border);padding:3px 7px;border-radius:5px;margin-left:12px!important;color:var(--muted)!important}
.page-head{margin-bottom:28px}
.deal-summary{margin-top:0}
.pulse-controls{display:flex;align-items:center;gap:16px;margin-bottom:24px;font-size:12px}
.composer-bottom{justify-content:flex-end}
.profile small{font-size:12px}
.deal-card-footer,.deal-card>.small{font-size:12px}
.deal-card p{font-size:12px;line-height:1.65}
.deal-card h3{font-size:14px;line-height:1.5}
.card-link,.legend-item,.card-metric small{font-size:12px}
.card-link{margin-top:auto}
.workspace-card .card-link{margin-top:18px}
.kanban-column{min-width:210px}
@media(max-width:650px){.sidebar:not(.mobile-open){box-shadow:none}.kanban-column{min-width:235px}.sidebar nav{margin-top:32px}.topbar-right{gap:8px}.theme-toggle{width:30px;height:30px}.demo-label{margin-left:8px!important}}
@media(prefers-reduced-motion:reduce){.deal-card,.kanban-column{transition:none}}
[data-theme=light] :is(.news-card h2,.detail-field>div,.login-form h2,.empty h3){color:#343b49}
[data-theme=light] .news-category{background:#f0f3f8;color:#6c7a91}
[data-theme=light] .news-footer{border-color:#eceef1}
[data-theme=light] .drawer :is(.modal-head,.modal-footer){background:#fff;border-color:#eceef1}
[data-theme=light] .next-step>span:last-child{color:#7c8696}
[data-theme=light] .source-item{color:#5c6d8d;border-color:#eceef1}
[data-theme=light] :is(.source-item small,.chat-link small,.empty p){color:#828b99}
[data-theme=light] :is(.template-link:hover,.linked-record:hover b){color:#4267d5}
[data-theme=light] .prompt-card:hover{background:#f5f7fb;border-color:#cdd7eb}
[data-theme=light] .login-layout{background:#f6f5f2}
[data-theme=light] :is(label,.drawer-body>p,.messages .message-text){color:#535d6d}
[data-theme=light] select option{background:#fff;color:#343b49}
[data-theme=light] :is(.linked-record small,.selection-list small,.activity p,.activity h3,.activity small){color:#798291}
[data-theme=light] .form-error{color:#b4434d}
[data-theme=light] .saved{background:#edf2ff;color:#4267d5}
[data-theme=light] :is(input,select,textarea):focus{border-color:#8da4df;box-shadow:0 0 0 3px #4267d50c}
/* Graphite actions and softly tinted pipeline lanes. */
:root[data-theme=light]{--accent:#292d34;--accent-bg:#e9ebef}
[data-theme=light] :is(.btn.primary,.send-button){background:#292d34;border-color:#292d34;color:#fff;box-shadow:0 3px 8px #1b253015}
[data-theme=light] .btn.primary:hover{background:#414650;border-color:#414650}
[data-theme=light] :is(.text-btn,.card-link,.tab.active){color:#404854}
[data-theme=light] .tab.active span{background:#e9ebef;color:#404854}
:root:not([data-theme=light]) :is(.btn.primary,.send-button){background:#353741;border-color:#4c4f5a;color:#f5f5f8;box-shadow:inset 0 1px #ffffff10,0 4px 12px #0002}
:root:not([data-theme=light]) .btn.primary:hover{background:#444751;border-color:#626572}
.column-0,.stage-0{--lane-rgb:139,151,163;--lane-dot:#8b97a3}
.column-1,.stage-1{--lane-rgb:159,140,183;--lane-dot:#9f8cb7}
.column-2,.stage-2{--lane-rgb:190,163,103;--lane-dot:#bea367}
.column-3,.stage-3{--lane-rgb:113,163,159;--lane-dot:#71a39f}
.column-4,.stage-4{--lane-rgb:131,162,127;--lane-dot:#83a27f}
.select-option .stage-dot{background:var(--lane-dot)}
[data-theme=light] .kanban-column{background:rgba(var(--lane-rgb),.105);border:1px solid rgba(var(--lane-rgb),.075)}
[data-theme=dark] .kanban-column{background:rgba(var(--lane-rgb),.075);border:1px solid rgba(var(--lane-rgb),.09)}
.kanban-column>h3 .stage-dot{background:var(--lane-dot)}
.kanban-column>h3 small{background:rgba(var(--lane-rgb),.12)}
[data-theme] .kanban-column.drop-target{background:rgba(var(--lane-rgb),.23);box-shadow:inset 0 0 0 2px var(--lane-dot)}
/* Custom selects share form values and keyboard behavior with their native input. */
.custom-select{display:inline-flex;position:relative;min-width:0;width:100%;margin-top:7px}
select.native-select{position:absolute!important;inset:0 auto auto 0!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;padding:0!important;border:0!important;margin:0!important;overflow:hidden!important}
.select-trigger{display:flex;align-items:center;gap:14px;justify-content:space-between;width:100%;min-height:41px;border:1px solid #ffffff12;border-radius:11px;padding:10px 13px;background:#22212c;color:#d9d5e3;text-align:left;font:inherit;font-size:13px;cursor:pointer}
.select-trigger:hover{border-color:#ffffff25}
.select-trigger:focus-visible{outline:2px solid #9198b8;outline-offset:2px}
.select-trigger[aria-expanded=true]{box-shadow:0 0 0 1px #89909e40}
.select-trigger[aria-invalid=true]{border-color:#c26c76}
.select-trigger:disabled{opacity:.5;cursor:not-allowed}
.select-value{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.select-chevron{display:flex;opacity:.6;flex-shrink:0}
.select-chevron .icon{width:14px;height:14px;transform:rotate(90deg);transition:transform .15s}
.filter-select .select-chevron .icon{display:block}
.select-trigger[aria-expanded=true] .select-chevron .icon{transform:rotate(-90deg)}
.filter-select{padding-right:0;min-width:150px}
.filter-select .custom-select{margin:0}
.filter-select .select-trigger{border:0;background:transparent;min-height:37px;padding:8px 12px 8px 4px;font-size:12px}
.context-select .custom-select{margin:0;max-width:100%;width:auto}
.context-select .select-trigger{font-size:12px;min-height:30px;padding:5px 9px;background:#ffffff06;border:0}
.select-menu{position:fixed;inset:auto;margin:0;padding:6px;border:1px solid #ffffff15;border-radius:13px;background:#292832;color:#e1dfe9;box-shadow:0 12px 35px #0005,0 2px 6px #0002;z-index:1000;overflow:auto;overscroll-behavior:contain;font-size:13px;box-sizing:border-box}
.select-menu:popover-open{display:block}
.select-option{display:flex;align-items:center;gap:10px;padding:10px 11px;min-height:39px;border-radius:8px;cursor:pointer;line-height:1.4}
.select-option>span:not(.select-check){flex:1;overflow-wrap:anywhere}
.select-option:hover,.select-option.focused{background:#ffffff0c}
.select-option[aria-selected=true]{background:#ffffff0a;color:#fff;font-weight:550}
.select-option[aria-disabled=true]{opacity:.4;cursor:not-allowed}
.select-check{display:flex;flex-shrink:0}.select-check .icon{width:15px;height:15px}
.select-option .stage-dot{flex-shrink:0;width:7px;height:7px;border-radius:50%}
[data-theme=light] .select-trigger{background:#fff;color:#434b57;border-color:#e1e4e9}
[data-theme=light] .select-trigger:hover{border-color:#bdc4cf}
[data-theme=light] .filter-select .select-trigger{background:transparent;border:0}
[data-theme=light] .context-select .select-trigger{background:#f0f1f3;border:0}
[data-theme=light] .select-menu{background:#fff;color:#505863;border-color:#e5e7eb;box-shadow:0 14px 38px #2530441c,0 2px 5px #25304408}
[data-theme=light] .select-option:hover,[data-theme=light] .select-option.focused{background:#f3f4f6}
[data-theme=light] .select-option[aria-selected=true]{background:#eef0f3;color:#292d34}
@media(max-width:650px){.filter-select{min-width:112px}.select-trigger{font-size:13px}.select-menu{font-size:14px}.select-option{min-height:44px}}
/* Live catalog and editorial feed. */
.talent-photo{width:64px;height:76px;object-fit:cover;object-position:center top;border-radius:14px;flex-shrink:0;background:var(--border)}
.talent-detail-top .talent-photo{width:96px;height:120px;border-radius:16px}
.source-tag{font-size:11px;color:var(--muted)}
.talent-card .card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px}
.source-reference{display:inline-block;margin:18px 12px 8px 0;color:var(--text);font-size:13px}
.source-updated{display:inline-block;color:var(--muted);font-size:12px}
.news-reason{font-size:12px;line-height:1.6;padding:12px 14px;border-radius:12px;background:#ffffff06;color:#bfc7d1;margin:6px 0 16px}
[data-theme=light] .news-reason{background:#f2f3f2;color:#58665d}
.review-actions{display:flex;gap:14px;margin-bottom:16px;align-items:center}
.source-item>span{min-width:0;flex:1}.source-item small{display:block;line-height:1.5}.source-error{overflow-wrap:anywhere;max-width:460px}
#collection-label{font-size:12px}.pulse-controls{flex-wrap:wrap}
.talent-preview{font-size:12px;line-height:1.6;color:var(--muted);margin:14px 0 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:57px}
