/* ThrumCanvas.js */
.th-shell-left-rail { width: 280px; border-right: 1px solid var(--lb-border-subtle, rgba(255,255,255,0.05)); display: flex; flex-direction: column; }
.th-shell-center { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.th-shell-right-rail { width: 300px; border-left: 1px solid var(--lb-border-subtle, rgba(255,255,255,0.05)); display: flex; flex-direction: column; background: var(--lb-base); }

.th-deal-card { padding: 12px; margin-bottom: 8px; border-radius: 8px; cursor: pointer; }
.th-deal-card-title { font-weight: 600; font-size: 13px; color: var(--lb-on-surface, #fff); margin-bottom: 4px; }
.th-deal-card-company { font-size: 11px; color: var(--lb-on-surface-muted, #999); }

.th-col { flex: 1; min-width: 280px; max-width: 340px; display: flex; flex-direction: column; min-height: 0; background: rgba(255,255,255,0.02); border-radius: 8px; margin-right: 12px; }
.th-col-header { padding: 12px; display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
.th-col-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--lb-on-surface-muted, #ccc); flex: 1; }
.th-col-count { font-size: 11px; font-weight: 500; background: rgba(255,255,255,0.1); padding: 2px 8px; border-radius: 12px; color: var(--lb-on-surface, #fff); }
.th-col-body { flex: 1; overflow-y: auto; padding: 12px; min-height: 0; }
.th-col-empty { text-align: center; color: rgba(255,255,255,0.2); font-size: 12px; padding: 20px 0; border: 1px dashed rgba(255,255,255,0.1); border-radius: 8px; }

.th-canvas-body { flex: 1; display: flex; padding: 16px; overflow-x: auto; min-height: 0; background: var(--lb-surface-container, rgba(0,0,0,0.2)); }
.th-view-list { padding: 24px; color: var(--lb-on-surface-muted); }
.th-flex-col { display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 0; }
.th-flex-1 { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.th-graph-container { flex: 1; width: 100%; min-height: 0; display: flex; flex-direction: column; }

/* ThrumInspector.js */
.th-ip-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--lb-on-surface-muted); padding: 24px; text-align: center; }
.th-ip-empty-text { margin-top: 16px; font-size: 13px; }
.th-ip-details { padding: 16px; border-bottom: 1px solid var(--lb-border-subtle); }
.th-ip-title { font-size: 16px; font-weight: 600; margin-bottom: 4px; color: var(--lb-on-surface); }
.th-ip-company { font-size: 12px; color: var(--lb-on-surface-muted); margin-bottom: 16px; }
.th-ip-field { margin-bottom: 12px; }
.th-ip-label { display: block; font-size: 11px; font-weight: 600; color: var(--lb-on-surface-muted); text-transform: uppercase; margin-bottom: 6px; }
.th-ip-select, .th-ip-input { width: 100%; border-radius: 30px; padding: 6px 12px; background: var(--lb-surface-low); border: 1px solid var(--lb-border-subtle); color: var(--lb-on-surface); }
.th-ip-feed-item { display: flex; gap: 12px; margin-bottom: 16px; }
.th-ip-feed-icon { flex-shrink: 0; width: 24px; height: 24px; border-radius: 12px; background: var(--lb-surface-low); border: 1px solid var(--lb-border-subtle); display: flex; align-items: center; justify-content: center; color: var(--lb-accent-green, #34d399); font-size: 10px; }
.th-ip-feed-content { flex: 1; }
.th-ip-feed-text { font-size: 12px; color: var(--lb-on-surface); }
.th-ip-feed-time { font-size: 10px; color: var(--lb-on-surface-muted); margin-top: 2px; }
.th-ip-no-activities { font-size: 12px; color: var(--lb-on-surface-muted); text-align: center; }
.th-ip-timeline-container { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.th-ip-timeline-header { padding: 16px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--lb-on-surface-muted); border-bottom: 1px solid var(--lb-border-subtle); }
.th-ip-timeline-body { flex: 1; overflow-y: auto; padding: 16px; }
.th-ip-timeline-footer { padding: 16px; border-top: 1px solid var(--lb-border-subtle); background: var(--lb-surface-low); }
.th-ip-log-row { display: flex; gap: 8px; }
.th-ip-log-input { flex: 1; border-radius: 30px; padding: 6px 12px; font-size: 12px; background: var(--lb-base); border: 1px solid var(--lb-border-subtle); color: var(--lb-on-surface); }
.th-ip-log-btn { border-radius: 30px; padding: 6px 12px; background: var(--lb-accent-green, #34d399); color: #000; border: none; font-weight: 600; cursor: pointer; }
.th-ip-root { display: flex; flex-direction: column; height: 100%; border-left: 1px solid var(--lb-border-subtle); background: var(--lb-base); }

/* ThrumRail.js */
.th-rail-root { padding: 16px; display: flex; flex-direction: column; gap: 12px; height: 100%; }
.th-rail-title { font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--lb-on-surface-muted); }
.th-rail-kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.th-rail-kpi-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); padding: 12px; border-radius: 8px; }
.th-rail-kpi-val { font-size: 18px; font-weight: 700; margin-bottom: 4px; color: var(--lb-on-surface); }
.th-rail-kpi-val.highlight { color: var(--lb-accent-green, #34d399); }
.th-rail-kpi-lbl { font-size: 10px; color: var(--lb-on-surface-muted); text-transform: uppercase; }
.th-rail-nav { margin-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.th-rail-nav-item { padding: 8px 12px; border-radius: 6px; cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--lb-on-surface-muted); }
.th-rail-nav-item:hover { background: rgba(255,255,255,0.05); color: var(--lb-on-surface); }
.th-rail-nav-item.active { background: rgba(255,255,255,0.1); color: var(--lb-on-surface); font-weight: 500; }

/* Additional ThrumRail.js classes */
.th-rail-spacer { flex: 1; }
.th-rail-body { padding: 12px; }
.th-rail-section-lbl { font-size: 11px; font-weight: 600; text-transform: uppercase; color: #666; margin-bottom: 8px; letter-spacing: 0.5px; }
.th-rail-list { margin-bottom: 16px; }
.th-rail-nav-icon { margin-right: 8px; color: var(--lb-on-surface-muted, #999); }
.th-rail-nav-label { flex: 1; font-size: 13px; font-weight: 400; color: var(--lb-on-surface-muted, #ccc); }
.th-rail-nav-item.active .th-rail-nav-label { font-weight: 600; color: var(--lb-on-surface, #fff); }
.th-rail-nav-count { font-size: 11px; background: rgba(255,255,255,0.08); padding: 2px 6px; border-radius: 12px; color: #aaa; }
.th-rail-nav-item.active { box-shadow: 0 0 0 1px rgba(52,211,153,0.4), 0 0 12px rgba(52,211,153,0.15); background: rgba(52,211,153,0.05); }
