/* Docking Platform CSS
 * ============================================================================ */

/* Loading Screen
 * ============================================================================ */
.dp-loading-screen {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: var(--bg, #131722);
	z-index: 1000;
	gap: 24px;
	animation: dp-fade-in 0.3s ease-out;
}

@keyframes dp-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

.dp-loading-logo {
	width: 56px;
	height: 56px;
	opacity: 0.9;
}

.dp-loading-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.dp-loading-text {
	font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: var(--muted, rgba(255, 255, 255, 0.5));
	letter-spacing: -0.01em;
}

.dp-loading-progress {
	width: 140px;
	height: 3px;
	background: var(--loading-progress-bg, rgba(255, 255, 255, 0.08));
	border-radius: 2px;
	overflow: hidden;
}

.dp-loading-progress-bar {
	height: 100%;
	width: 40%;
	background: var(--loading-progress-bar, rgba(255, 255, 255, 0.4));
	border-radius: 2px;
	animation: dp-progress 1.5s ease-in-out infinite;
}

@keyframes dp-progress {
	0% { transform: translateX(-100%); }
	100% { transform: translateX(350%); }
}

/* Main container */
.docking-platform {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	background: var(--bg, #0d0d0d);
	overflow: hidden;
}

/* Dock Manager */
.dock-manager {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	display: flex;
	background: var(--bg, #0d0d0d);
}

/* Dock Container (split view) */
.dock-container {
	display: flex;
	flex-grow: 1;
	flex-shrink: 1;
	flex-basis: 0;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
}

.dock-container[data-direction="horizontal"] {
	flex-direction: row;
}

.dock-container[data-direction="vertical"] {
	flex-direction: column;
}

/* Splitter */
.dock-splitter {
	flex-shrink: 0;
	background: var(--border, #333);
	transition: background 0.15s;
}

.dock-splitter:hover {
	background: var(--primary, #3b82f6);
}

.dock-container[data-direction="horizontal"] > .dock-splitter {
	width: 4px;
	cursor: col-resize;
}

.dock-container[data-direction="vertical"] > .dock-splitter {
	height: 4px;
	cursor: row-resize;
}

/* Tab Group */
.dock-tab-group {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
}

.dock-tab-header {
	display: flex;
	background: var(--surface, #1a1a1a);
	border-bottom: 1px solid var(--border, #333);
	min-height: 32px;
	overflow-x: auto;
}

.dock-tab-header::-webkit-scrollbar {
	height: 4px;
}

.dock-tab-header::-webkit-scrollbar-track {
	background: transparent;
}

.dock-tab-header::-webkit-scrollbar-thumb {
	background: var(--border, #333);
	border-radius: 2px;
}

.dock-tab {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	cursor: pointer;
	font-size: 12px;
	font-weight: 500;
	border-right: 1px solid var(--border, #333);
	background: transparent;
	color: var(--muted, #888);
	white-space: nowrap;
	user-select: none;
	transition: background 0.15s, color 0.15s;
}

.dock-tab:hover {
	background: var(--bg, #0d0d0d);
	color: var(--text, #fff);
}

.dock-tab.active {
	background: var(--bg, #0d0d0d);
	color: var(--text, #fff);
}

.dock-tab-close {
	margin-left: 4px;
	padding: 2px 4px;
	border: none;
	background: transparent;
	color: inherit;
	cursor: pointer;
	opacity: 0.6;
	font-size: 10px;
	transition: opacity 0.15s;
}

.dock-tab-close:hover {
	opacity: 1;
}

/* Add tab button */
.dock-tab-add {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px 10px;
	border: none;
	background: transparent;
	color: var(--muted, #888);
	cursor: pointer;
	font-size: 12px;
	transition: color 0.15s, background 0.15s;
}

.dock-tab-add:hover {
	color: var(--primary, #3b82f6);
	background: var(--bg, #0d0d0d);
}

/* Panel add button */
.dock-panel-add {
	padding: 4px 6px;
	border: none;
	background: transparent;
	color: var(--muted, #888);
	cursor: pointer;
	font-size: 12px;
	transition: color 0.15s;
}

.dock-panel-add:hover {
	color: var(--primary, #3b82f6);
}

.dock-tab-content {
	flex: 1;
	position: relative;
	overflow: hidden;
}

/* Panel */
.dock-panel {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	flex-shrink: 1;
	flex-basis: 0;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
	background: var(--surface, #1a1a1a);
	border: 1px solid var(--border, #444);
}

.dock-panel-header {
	display: flex;
	align-items: center;
	height: 32px;
	padding: 0 8px;
	background: var(--surface, #1a1a1a);
	border-bottom: 1px solid var(--border, #333);
	user-select: none;
}

.dock-panel-drag-handle {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1;
	cursor: move;
}

.dock-panel-close {
	padding: 4px 6px;
	border: none;
	background: transparent;
	color: var(--muted, #888);
	cursor: pointer;
	font-size: 12px;
	transition: color 0.15s;
}

.dock-panel-close:hover {
	color: #ef4444;
}

.dock-panel-content {
	flex: 1;
	overflow: auto;
	position: relative;
}

/* Ghost Panel (during drag) */
.dock-ghost-panel {
	position: fixed;
	width: 200px;
	height: 120px;
	background: var(--surface, #1a1a1a);
	border: 2px solid var(--primary, #3b82f6);
	border-radius: 8px;
	opacity: 0.7;
	pointer-events: none;
	z-index: 100000;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Drop Overlay */
.dock-drop-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	pointer-events: none;
	z-index: 99999;
}

/* Compass/Cross Indicator */
.dock-compass {
	position: absolute;
	pointer-events: none;
}

.dock-drop-zone {
	position: absolute;
	box-sizing: border-box;
	transition: background 0.15s, border-color 0.15s;
}

.dock-drop-zone.active {
	background: rgba(59, 130, 246, 0.3);
	border: 2px dashed rgba(59, 130, 246, 0.8);
}

/* Split Preview */
.dock-split-preview {
	position: absolute;
	background: rgba(59, 130, 246, 0.3);
	border: 2px solid rgba(59, 130, 246, 0.8);
	transition: all 0.15s ease;
	pointer-events: none;
}

/* Module Picker Modal */
.dock-module-picker-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	backdrop-filter: blur(4px);
}

.dock-module-picker {
	background: var(--surface, #1a1a1a);
	border: 1px solid var(--border, #333);
	border-radius: 12px;
	width: 90%;
	max-width: 600px;
	max-height: 80vh;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.dock-module-card {
	padding: 16px;
	background: var(--bg, #0d0d0d);
	border: 1px solid var(--border, #333);
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.15s;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
}

.dock-module-card:hover {
	border-color: var(--primary, #3b82f6);
	background: var(--surface, #1a1a1a);
}

/* Top Bar */
.dp-top-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 16px;
	background: var(--surface, #1a1a1a);
	border-bottom: 1px solid var(--border, #333);
	flex-shrink: 0;
	height: 48px;
}

.dp-connection {
	display: flex;
	align-items: center;
	gap: 6px;
}

.dp-connection-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	transition: background 0.3s;
}

.dp-connection-dot.connected {
	background: #10b981;
}

.dp-connection-dot.disconnected {
	background: #ef4444;
}

/* Scrollbar styling for panels */
.dock-panel-content::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

.dock-panel-content::-webkit-scrollbar-track {
	background: transparent;
}

.dock-panel-content::-webkit-scrollbar-thumb {
	background: var(--border, #333);
	border-radius: 4px;
}

.dock-panel-content::-webkit-scrollbar-thumb:hover {
	background: var(--muted, #555);
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.dp-top-bar {
		flex-wrap: wrap;
		height: auto;
		padding: 8px;
		gap: 8px;
	}
	
	.dock-module-picker {
		width: 95%;
		max-height: 90vh;
	}
	
	.dock-ghost-panel {
		width: 150px;
		height: 90px;
	}
}

/* ============================================================================
   HIDE FEEDBACK WIDGETS IN TRADING PLATFORM
   ============================================================================ */

/* Hide common feedback/chat widgets when trading platform is active */
#trading-platform-root.trading-platform-container:not(.hidden) ~ #fb-root,
#trading-platform-root.trading-platform-container:not(.hidden) ~ .intercom-lightweight-app,
#trading-platform-root.trading-platform-container:not(.hidden) ~ .intercom-launcher,
#trading-platform-root.trading-platform-container:not(.hidden) ~ .intercom-app,
#trading-platform-root.trading-platform-container:not(.hidden) ~ #intercom-container,
#trading-platform-root.trading-platform-container:not(.hidden) ~ .crisp-client,
#trading-platform-root.trading-platform-container:not(.hidden) ~ #crisp-chatbox,
#trading-platform-root.trading-platform-container:not(.hidden) ~ .drift-widget,
#trading-platform-root.trading-platform-container:not(.hidden) ~ #drift-widget,
#trading-platform-root.trading-platform-container:not(.hidden) ~ .helpscout-beacon,
#trading-platform-root.trading-platform-container:not(.hidden) ~ .tfeed-upgrade-float,
#trading-platform-root.trading-platform-container:not(.hidden) ~ .feedback-trigger,
#trading-platform-root.trading-platform-container:not(.hidden) ~ .feedback-popup,
body:has(#trading-platform-root.trading-platform-container:not(.hidden)) #fb-root,
body:has(#trading-platform-root.trading-platform-container:not(.hidden)) .intercom-lightweight-app,
body:has(#trading-platform-root.trading-platform-container:not(.hidden)) .intercom-launcher,
body:has(#trading-platform-root.trading-platform-container:not(.hidden)) .intercom-app,
body:has(#trading-platform-root.trading-platform-container:not(.hidden)) #intercom-container,
body:has(#trading-platform-root.trading-platform-container:not(.hidden)) .crisp-client,
body:has(#trading-platform-root.trading-platform-container:not(.hidden)) #crisp-chatbox,
body:has(#trading-platform-root.trading-platform-container:not(.hidden)) .drift-widget,
body:has(#trading-platform-root.trading-platform-container:not(.hidden)) #drift-widget,
body:has(#trading-platform-root.trading-platform-container:not(.hidden)) .helpscout-beacon,
body:has(#trading-platform-root.trading-platform-container:not(.hidden)) .tfeed-upgrade-float,
body:has(#trading-platform-root.trading-platform-container:not(.hidden)) .feedback-trigger,
body:has(#trading-platform-root.trading-platform-container:not(.hidden)) .feedback-popup {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* ============================================================================
   MARKET DATA AGREEMENTS MODAL
   ============================================================================ */

.dp-agreement-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--bg);
	display: flex;
	align-items: flex-start;
	justify-content: center;
	z-index: 10000;
	padding: 20px;
	overflow-y: auto;
}

.dp-agreement-modal {
	background: var(--surface);
	border-radius: 16px;
	width: 100%;
	max-width: 800px;
	margin: 20px 0;
	box-shadow: var(--shadow);
	border: 1px solid var(--border);
}

.dp-agreement-header {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 24px 28px;
	border-bottom: 1px solid var(--border);
	background: var(--table-header-bg);
	border-radius: 16px 16px 0 0;
}

.dp-agreement-logo {
	width: 56px;
	height: 56px;
	border-radius: 12px;
	background: var(--input-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.dp-agreement-logo img {
	width: 36px;
	height: 36px;
	object-fit: contain;
}

.dp-agreement-title h2 {
	margin: 0 0 4px;
	font-size: 20px;
	font-weight: 600;
	color: var(--text);
}

.dp-agreement-title p {
	margin: 0;
	font-size: 14px;
	color: var(--muted);
}

.dp-agreement-body {
	padding: 18px 24px;
	background: var(--surface);
}

.dp-agreement-section {
	margin-bottom: 18px;
}

.dp-agreement-section:last-child {
	margin-bottom: 0;
}

.dp-agreement-section h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 600;
	color: var(--text);
}

.dp-agreement-section h3 i {
	color: var(--primary);
	font-size: 16px;
}

.dp-section-desc {
	margin: 0 0 12px;
	font-size: 12px;
	color: var(--muted);
	line-height: 1.5;
}

/* Address Form */
.dp-address-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.dp-form-row {
	display: flex;
	gap: 16px;
}

.dp-form-group {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.dp-form-group.dp-full-width {
	flex: 1 1 100%;
}

.dp-form-group label {
	font-size: 13px;
	font-weight: 500;
	color: var(--muted);
}

.dp-required {
	color: #ef4444;
}

.dp-form-group input,
.dp-form-group select {
	padding: 10px 14px;
	border-radius: 8px;
	border: 1px solid var(--border);
	background: var(--input-bg);
	color: var(--text);
	font-size: 14px;
	transition: all 0.2s;
}

.dp-form-group input:focus,
.dp-form-group select:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(232, 67, 31, 0.15);
}

.dp-form-group input::placeholder {
	color: var(--muted);
	opacity: 0.6;
}

/* Subscriber Type Selector */
.dp-subscriber-selector {
	display: flex;
	gap: 16px;
}

.dp-subscriber-option {
	flex: 1;
	padding: 16px;
	border-radius: 12px;
	border: 2px solid var(--border);
	background: var(--table-header-bg);
	cursor: pointer;
	transition: all 0.2s;
}

.dp-subscriber-option:hover {
	border-color: var(--muted);
}

.dp-subscriber-option.selected {
	border-color: var(--primary);
	background: var(--primary-bg-subtle);
}

.dp-subscriber-option.disabled {
	opacity: 0.5;
	cursor: not-allowed;
	pointer-events: none;
}

.dp-subscriber-option.disabled .dp-subscriber-header {
	color: var(--muted);
}

.dp-subscriber-option.disabled .dp-subscriber-header i {
	color: var(--muted);
}

.dp-disabled-badge {
	font-size: 10px;
	padding: 2px 8px;
	background: var(--pill-btn-bg);
	border-radius: 4px;
	color: var(--muted);
	margin-left: auto;
	font-weight: 500;
}

.dp-subscriber-option input[type="radio"] {
	display: none;
}

.dp-subscriber-content {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.dp-subscriber-header {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	font-weight: 600;
	color: var(--text);
}

.dp-subscriber-header i {
	font-size: 18px;
	color: var(--primary);
}

.dp-subscriber-content p {
	margin: 0;
	font-size: 12px;
	color: var(--muted);
	line-height: 1.5;
}

/* Document Panel */
.dp-document-panel {
	max-height: 160px;
	overflow-y: auto;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: var(--input-bg);
	margin-bottom: 10px;
}

.dp-document-content {
	padding: 14px;
}

/* Legal Document Styling */
.dp-legal-document {
	font-size: 12px;
	color: var(--muted);
	line-height: 1.55;
}

.dp-legal-document h4 {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 700;
	color: var(--text);
	text-align: center;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--border);
}

.dp-legal-document h5 {
	margin: 14px 0 6px;
	font-size: 11px;
	font-weight: 600;
	color: var(--text);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.dp-legal-document p {
	margin: 0 0 8px;
}

.dp-legal-intro {
	background: var(--primary-bg-subtle);
	padding: 10px 12px;
	border-radius: 6px;
	border-left: 3px solid var(--primary);
	margin-bottom: 12px;
}

.dp-legal-document ul {
	margin: 6px 0 10px;
	padding-left: 20px;
}

.dp-legal-document li {
	margin-bottom: 4px;
}

.dp-legal-footer {
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid var(--border);
	font-weight: 500;
	color: var(--text);
}

/* Agreement Checkbox */
.dp-agreement-checkbox {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 8px;
	border: 1px solid var(--border);
	background: var(--table-header-bg);
	cursor: pointer;
	transition: all 0.2s;
	font-size: 13px;
	font-weight: 500;
	color: var(--muted);
}

.dp-agreement-checkbox:hover {
	border-color: var(--muted);
}

.dp-agreement-checkbox:has(input:checked) {
	border-color: #22c55e;
	background: rgba(34, 197, 94, 0.1);
	color: #22c55e;
}

.dp-agreement-checkbox input[type="checkbox"] {
	width: 20px;
	height: 20px;
	border-radius: 4px;
	border: 2px solid var(--border);
	background: transparent;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	flex-shrink: 0;
}

.dp-agreement-checkbox input[type="checkbox"]:checked {
	background: #22c55e;
	border-color: #22c55e;
}

.dp-agreement-checkbox input[type="checkbox"]:checked::after {
	content: '✓';
	color: white;
	font-size: 14px;
	font-weight: bold;
}

/* Modal Footer */
.dp-agreement-footer {
	padding: 20px 28px 24px;
	border-top: 1px solid var(--border);
	background: var(--table-header-bg);
	border-radius: 0 0 16px 16px;
}

.dp-legal-notice {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: 8px;
	background: var(--input-bg);
	font-size: 12px;
	color: var(--muted);
	line-height: 1.5;
}

.dp-legal-notice i {
	color: #58a6ff;
	margin-top: 2px;
	flex-shrink: 0;
}

.dp-agreement-submit {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 24px;
	border-radius: 10px;
	border: none;
	background: var(--primary);
	color: white;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
}

.dp-agreement-submit:hover:not(:disabled) {
	background: #ff5733;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(232, 67, 31, 0.4);
}

.dp-agreement-submit:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.dp-agreement-submit i {
	font-size: 16px;
}

/* Responsive */
@media (max-width: 640px) {
	.dp-agreement-modal {
		max-height: 100vh;
		border-radius: 0;
		max-width: 100%;
	}
	
	.dp-agreement-header {
		border-radius: 0;
		padding: 16px 20px;
	}
	
	.dp-agreement-body {
		padding: 20px;
	}
	
	.dp-agreement-footer {
		border-radius: 0;
		padding: 16px 20px 20px;
	}
	
	.dp-form-row {
		flex-direction: column;
	}
	
	.dp-subscriber-selector {
		flex-direction: column;
	}
	
	.dp-document-panel {
		max-height: 140px;
	}
}

/* ============================================================================
   MARKET DATA SESSION BLOCKED — Chart overlay
   ============================================================================ */

.dp-chart-session-blocked {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	background: #0d1117 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	z-index: 99999 !important;
}

.dp-chart-session-blocked-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	text-align: center;
	padding: 20px;
}

.dp-chart-session-blocked-content > i {
	font-size: 36px;
	color: #e8431f;
}

.dp-chart-session-blocked-content > span {
	font-size: 15px;
	font-weight: 600;
	color: #e6edf3;
}

.dp-chart-session-reclaim-btn {
	margin-top: 4px;
	padding: 10px 22px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	border: none;
	background: #e8431f;
	color: #fff;
	transition: background 0.15s ease;
}

.dp-chart-session-reclaim-btn:hover:not(:disabled) {
	background: #d43a1a;
}

.dp-chart-session-reclaim-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* ============================================================================
   Pill bar centering — Desktop (≥1400px)
   Standalone's inline style is position:relative so the flex spacers push the
   pill toward visual center without overlapping right-side items at laptop
   widths. On desktop there's plenty of room, so switch to true absolute
   centering (viewport-dead-center, not skewed by left/right content width).
   ============================================================================ */
@media (min-width: 1400px) {
	#dp-ultra-center {
		position: absolute !important;
		left: 50% !important;
		transform: translateX(-50%) !important;
	}
}

/* ============================================================================
   RESPONSIVE DOCKING SYSTEM — Small screens (≤600px)
   ============================================================================ */
@media (max-width: 600px) {
	/* Top bar: hide center pill bar (Balance/P&L), compact spacing */
	#dp-ultra-center {
		display: none !important;
	}

	.dp-top-bar {
		padding: 6px 8px !important;
		gap: 6px !important;
		min-height: 40px !important;
	}

	#dp-account-container {
		min-width: 140px !important;
		max-width: 180px !important;
	}

	/* Splitters: enlarge for touch (8px visible + 8px invisible padding) */
	.dock-container[data-direction="horizontal"] > .dock-splitter {
		width: 8px !important;
		position: relative;
	}

	.dock-container[data-direction="vertical"] > .dock-splitter {
		height: 8px !important;
		position: relative;
	}

	.dock-splitter::after {
		content: '';
		position: absolute;
		top: -8px;
		bottom: -8px;
		left: -8px;
		right: -8px;
		z-index: 1;
	}

	/* Tab headers & panel headers: compact to save vertical space */
	.dock-tab-header {
		min-height: 28px !important;
	}

	.dock-tab {
		padding: 4px 8px !important;
		font-size: 11px !important;
		gap: 4px !important;
	}

	.dock-tab-close {
		padding: 2px 3px !important;
	}

	.dock-panel-header {
		height: 28px !important;
	}

	.dock-tab-add-zone {
		padding: 4px 10px !important;
		min-width: 60px !important;
		font-size: 10px !important;
	}

	/* Ghost panel: smaller during drag */
	.dock-ghost-panel {
		width: 120px !important;
		height: 72px !important;
		border-radius: 6px !important;
	}

	/* Module picker: near full width */
	.dock-module-picker {
		width: 98% !important;
		max-height: 90vh !important;
		border-radius: 8px !important;
	}

	.dock-module-card {
		padding: 12px !important;
		gap: 8px !important;
	}
}

/* Hotkey tooltip (TradingView-style) */
.hotkey-tooltip {
	position: fixed;
	z-index: 99999;
	padding: 5px 10px;
	background: #1e1e1e;
	border: 1px solid #3a3a3a;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 500;
	color: #d4d4d4;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.15s ease;
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
}
.hotkey-tooltip.visible { opacity: 1; }
.hotkey-key {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	background: #2a2a2a;
	border: 1px solid #4a4a4a;
	border-radius: 4px;
	font-family: 'JetBrains Mono', 'SF Mono', monospace;
	font-size: 10px;
	font-weight: 600;
	color: #a0a0a0;
	line-height: 1;
	box-shadow: 0 1px 0 #1a1a1a;
}
