/* Fleet & Salvage Hub Styles */
:root {
	--fleet-bg: #0b0e14;
	--fleet-card-bg: #131924;
	--fleet-border: #1f293d;
	--fleet-border-hover: #3b82f6;
	--fleet-accent: #38bdf8;
	--fleet-green: #22c55e;
	--fleet-purple: #a855f7;
	--fleet-amber: #f59e0b;
}

/* .fleet-body removed to inherit default site background #f8f9fa and text color #333 */

.fleet-header {
	margin-bottom: 2rem;
}

.fleet-badge-group {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.fleet-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 0.65rem;
	border-radius: 9999px;
	font-size: 0.8rem;
	font-weight: 600;
	background: #f1f5f9;
	color: #475569;
	border: 1px solid #cbd5e1;
}

.fleet-badge.live-badge {
	background: #dcfce7;
	color: #15803d;
	border-color: #86efac;
}

.fleet-badge.ewaste-badge {
	background: #fef3c7;
	color: #b45309;
	border-color: #fde68a;
}

.fleet-badge.roi-badge {
	background: #e0f2fe;
	color: #0369a1;
	border-color: #bae6fd;
}

.pulse-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #22c55e;
	margin-right: 6px;
	box-shadow: 0 0 8px #22c55e;
	animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.5; transform: scale(0.85); }
}

/* KPI Hero Stats */
.fleet-hero-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
	margin-bottom: 2.5rem;
}

.stat-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 1.25rem 1.5rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.stat-label {
	font-size: 0.82rem;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 600;
	margin-bottom: 0.4rem;
}

.stat-value {
	font-size: 2rem;
	font-weight: 700;
	color: #0f172a;
	font-family: 'Fira Code', monospace;
	line-height: 1.1;
	margin-bottom: 0.3rem;
}

.stat-sub {
	font-size: 0.8rem;
	color: #64748b;
}

/* Section Headings */
.fleet-section {
	margin-bottom: 3.5rem;
}

.section-heading-wrap {
	margin-bottom: 1.5rem;
}

.section-heading-wrap h2 {
	font-size: 1.5rem;
	font-weight: 700;
	color: #002d5a !important;
	margin-bottom: 12px;
	border-bottom: 2px solid #eee;
	padding-bottom: 10px;
	clear: both;
}

.section-heading-wrap p {
	color: #475569;
	font-size: 0.95rem;
	max-width: 850px;
	margin-bottom: 20px;
	line-height: 1.55;
}

/* Viewport Section */
.viewport-controls {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.view-mode-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.view-btn {
	background: #1e293b;
	color: #94a3b8;
	border: 1px solid #334155;
	padding: 0.45rem 0.85rem;
	border-radius: 6px;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.view-btn:hover {
	color: #f1f5f9;
	border-color: #64748b;
}

.view-btn.active {
	background: #0284c7;
	color: #ffffff;
	border-color: #38bdf8;
	box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.viewport-meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.view-indicator {
	font-family: 'Fira Code', monospace;
	font-size: 0.8rem;
	color: #38bdf8;
}

.view-reset-btn {
	background: transparent;
	border: 1px solid #334155;
	color: #94a3b8;
	padding: 0.3rem 0.6rem;
	border-radius: 4px;
	font-size: 0.8rem;
	cursor: pointer;
}

.view-reset-btn:hover {
	color: #fff;
	border-color: #64748b;
}

/* Viewport Layout */
.fleet-viewport-container {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 1.25rem;
	background: #0e141f;
	border: 1px solid #1e293b;
	border-radius: 12px;
	padding: 1.25rem;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

@media (max-width: 980px) {
	.fleet-viewport-container {
		grid-template-columns: 1fr;
		gap: 1rem;
		padding: 0.9rem;
	}
}

.fleet-3d-wrapper,
.canvas-viewport,
.node-inspector-pane {
	min-width: 0;
	box-sizing: border-box;
}

.canvas-viewport {
	position: relative;
	background: #0b0e14;
	border: 1px solid #1e293b;
	border-radius: 8px;
	overflow: hidden;
}

.canvas-viewport svg {
	width: 100%;
	height: auto;
	display: block;
}

.svg-node-group {
	cursor: pointer;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.svg-node-group:hover .node-box {
	stroke-width: 3.5px;
	filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.7));
}

.svg-node-group.active-node .node-box {
	stroke-width: 4px;
	stroke: #38bdf8 !important;
	filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.9));
}

.custom-model-slot {
	position: absolute;
	bottom: 12px;
	right: 12px;
	background: rgba(15, 23, 42, 0.85);
	backdrop-filter: blur(8px);
	border: 1px dashed rgba(56, 189, 248, 0.4);
	border-radius: 8px;
	padding: 0.6rem 0.85rem;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	max-width: 280px;
}

.slot-badge {
	font-family: 'Fira Code', monospace;
	font-size: 0.7rem;
	font-weight: 700;
	color: #38bdf8;
	letter-spacing: 0.05em;
}

.slot-info span {
	font-size: 0.85rem;
	font-weight: 600;
	color: #f1f5f9;
	display: block;
}

.slot-info small {
	font-size: 0.75rem;
	color: #94a3b8;
	line-height: 1.3;
	display: block;
}

/* Inspector Pane */
.node-inspector-pane {
	background: #141c2b;
	border: 1px solid #223147;
	border-radius: 8px;
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.inspector-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 0.5rem;
	border-bottom: 1px solid #1f2d42;
	padding-bottom: 0.85rem;
}

.inspector-badge {
	font-family: 'Fira Code', monospace;
	font-size: 0.75rem;
	color: #38bdf8;
	font-weight: 600;
	display: block;
	margin-bottom: 0.25rem;
}

.inspector-header h3 {
	font-size: 1.15rem;
	font-weight: 700;
	color: #f8fafc;
	margin: 0;
}

.status-chip {
	padding: 0.2rem 0.55rem;
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
}

.status-chip.online {
	background: rgba(34, 197, 94, 0.2);
	color: #4ade80;
	border: 1px solid rgba(34, 197, 94, 0.4);
}

.inspector-meta-row {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 0.5rem;
	background: #0f1622;
	border: 1px solid #1a2538;
	border-radius: 6px;
	padding: 0.65rem 0.75rem;
}

.meta-item {
	display: flex;
	flex-direction: column;
}

.meta-label {
	font-size: 0.72rem;
	color: #64748b;
	text-transform: uppercase;
}

.meta-val {
	font-size: 0.85rem;
	font-weight: 600;
	color: #cbd5e1;
	font-family: 'Fira Code', monospace;
}

.inspector-section h4 {
	font-size: 0.85rem;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.35rem;
}

.inspector-section p {
	font-size: 0.88rem;
	color: #cbd5e1;
	line-height: 1.45;
	margin: 0;
}

.glpi-details {
	background: #0b111b;
	border: 1px solid #1d2a3d;
	border-radius: 6px;
	padding: 0.75rem;
}

.glpi-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.4rem 0.75rem;
	margin-top: 0.4rem;
}

.glpi-cell {
	font-size: 0.8rem;
	color: #94a3b8;
}

.glpi-cell strong {
	color: #f1f5f9;
	font-family: 'Fira Code', monospace;
}

.btn-inspect-project {
	display: inline-block;
	background: #1e293b;
	border: 1px solid #334155;
	color: #38bdf8;
	padding: 0.5rem 1rem;
	border-radius: 6px;
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	text-align: center;
	width: 100%;
	transition: all 0.2s ease;
}

.btn-inspect-project:hover {
	background: #2563eb;
	color: #ffffff;
	border-color: #38bdf8;
}

/* Node Filter Bar */
.node-filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
}

.node-filter-btn {
	background: #131924;
	color: #94a3b8;
	border: 1px solid #222f44;
	padding: 0.45rem 0.9rem;
	border-radius: 6px;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.node-filter-btn:hover {
	color: #f1f5f9;
	border-color: #475569;
}

.node-filter-btn.active {
	background: #1e3a5f;
	color: #38bdf8;
	border-color: #38bdf8;
}

/* Fleet Cards Grid */
.fleet-cards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 1.25rem;
}

.fleet-card {
	background: var(--fleet-card-bg);
	border: 1px solid var(--fleet-border);
	border-radius: 10px;
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.fleet-card:hover {
	transform: translateY(-2px);
	border-color: var(--fleet-border-hover);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.card-tag {
	font-family: 'Fira Code', monospace;
	font-size: 0.75rem;
	color: #94a3b8;
	background: #0f1622;
	padding: 0.15rem 0.45rem;
	border-radius: 4px;
	border: 1px solid #1a2538;
}

.card-chip {
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.15rem 0.5rem;
	border-radius: 4px;
}

.card-chip.mobile-chip { background: rgba(168, 85, 247, 0.2); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.4); }
.card-chip.ewaste-chip { background: rgba(34, 197, 94, 0.2); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.4); }
.card-chip.linux-chip { background: rgba(56, 189, 248, 0.2); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.4); }
.card-chip.live-chip { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }
.card-chip.alpine-chip { background: rgba(14, 165, 233, 0.2); color: #7dd3fc; border: 1px solid rgba(14, 165, 233, 0.4); }
.card-chip.win-chip { background: rgba(99, 102, 241, 0.2); color: #a5b4fc; border: 1px solid rgba(99, 102, 241, 0.4); }

.fleet-card h3 {
	font-size: 1.1rem;
	font-weight: 700;
	color: #f8fafc;
	margin: 0;
}

.card-specs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.spec-pill {
	font-size: 0.75rem;
	background: #1a2436;
	color: #94a3b8;
	padding: 0.2rem 0.45rem;
	border-radius: 4px;
	font-family: 'Fira Code', monospace;
}

.card-desc {
	font-size: 0.88rem;
	color: #cbd5e1;
	line-height: 1.45;
	margin: 0;
	flex-grow: 1;
}

.card-salvage-box {
	background: #0f1622;
	border-left: 3px solid #38bdf8;
	padding: 0.6rem 0.75rem;
	border-radius: 0 4px 4px 0;
	font-size: 0.82rem;
	color: #94a3b8;
	line-height: 1.35;
}

.card-salvage-box strong {
	color: #38bdf8;
}

.card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid #1a2436;
	padding-top: 0.65rem;
	font-size: 0.8rem;
}

.card-footer .metric .label {
	color: #64748b;
	margin-right: 0.2rem;
}

.card-footer .metric strong {
	color: #f1f5f9;
	font-family: 'Fira Code', monospace;
}

.green-text {
	color: #4ade80;
	font-weight: 600;
}

/* Calculator Section (Option D) */
.calc-presets-bar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
	font-size: 0.85rem;
	color: #94a3b8;
}

.preset-btn {
	background: #141c2b;
	color: #94a3b8;
	border: 1px solid #223147;
	padding: 0.35rem 0.75rem;
	border-radius: 6px;
	font-size: 0.82rem;
	cursor: pointer;
	transition: all 0.2s ease;
}

.preset-btn:hover {
	color: #fff;
	border-color: #3b82f6;
}

.preset-btn.active {
	background: #1e3a5f;
	color: #38bdf8;
	border-color: #38bdf8;
}

.calculator-layout {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: 1.5rem;
	background: #0e141f;
	border: 1px solid #1e293b;
	border-radius: 12px;
	padding: 1.5rem;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

@media (max-width: 900px) {
	.calculator-layout {
		grid-template-columns: 1fr;
	}
}

.calculator-controls {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
}

.control-group {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.control-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.control-header label {
	font-size: 0.88rem;
	font-weight: 600;
	color: #cbd5e1;
}

.slider-val {
	font-family: 'Fira Code', monospace;
	font-size: 0.88rem;
	font-weight: 700;
	color: #38bdf8;
}

.control-group input[type="range"] {
	-webkit-appearance: none;
	width: 100%;
	height: 6px;
	background: #1e293b;
	border-radius: 3px;
	outline: none;
}

.control-group input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 18px;
	height: 18px;
	background: #38bdf8;
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
	transition: transform 0.15s ease;
}

.control-group input[type="range"]::-webkit-slider-thumb:hover {
	transform: scale(1.15);
}

.control-hint {
	font-size: 0.75rem;
	color: #64748b;
}

/* Calculator Results */
.calculator-results {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.kpi-banner {
	background: linear-gradient(135deg, #1e293b, #0f172a);
	border: 1px solid #38bdf8;
	border-radius: 10px;
	padding: 1.25rem;
	text-align: center;
	box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

.kpi-banner-label {
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #94a3b8;
	font-weight: 600;
	display: block;
	margin-bottom: 0.35rem;
}

.kpi-banner-number {
	font-size: 2.6rem;
	font-weight: 800;
	color: #38bdf8;
	font-family: 'Fira Code', monospace;
	line-height: 1.1;
	margin-bottom: 0.25rem;
}

.kpi-banner-sub {
	font-size: 0.82rem;
	color: #64748b;
}

.results-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}

.result-tile {
	background: #131a26;
	border: 1px solid #202b3d;
	border-radius: 8px;
	padding: 0.85rem 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.tile-label {
	font-size: 0.75rem;
	color: #94a3b8;
}

.tile-val {
	font-size: 1.25rem;
	font-family: 'Fira Code', monospace;
	color: #f1f5f9;
}

.tile-val.green-val {
	color: #4ade80;
}

.tile-val.cost-val {
	color: #f87171;
}

.result-tile small {
	font-size: 0.72rem;
	color: #64748b;
}

.calculator-takeaway {
	background: rgba(14, 165, 233, 0.08);
	border: 1px solid rgba(56, 189, 248, 0.3);
	border-radius: 8px;
	padding: 0.85rem 1rem;
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
}

.takeaway-icon {
	font-size: 1.4rem;
	line-height: 1;
}

.calculator-takeaway p {
	font-size: 0.82rem;
	color: #cbd5e1;
	line-height: 1.45;
	margin: 0;
}

/* Playbook Cards */
.playbook-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.25rem;
}

.playbook-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 1.5rem;
	position: relative;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.playbook-num {
	font-family: 'Fira Code', monospace;
	font-size: 1.8rem;
	font-weight: 800;
	color: #0284c7;
	opacity: 0.8;
	line-height: 1;
	margin-bottom: 0.5rem;
}

.playbook-card h3 {
	font-size: 1.05rem;
	font-weight: 700;
	color: #002d5a !important;
	margin-bottom: 0.6rem;
	border-bottom: none !important;
	padding-bottom: 0 !important;
}

.playbook-card p {
	font-size: 0.88rem;
	color: #475569;
	line-height: 1.55;
	margin: 0;
}

/* Shelf Model Bar (Docked cleanly above canvas so it NEVER overlays drawing) */
.shelf-model-bar {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	background: rgba(15, 23, 42, 0.85);
	border: 1px dashed rgba(56, 189, 248, 0.4);
	border-radius: 8px;
	padding: 0.6rem 1rem;
	margin-bottom: 0.75rem;
}

.shelf-model-badge {
	font-family: 'Fira Code', monospace;
	font-size: 0.75rem;
	font-weight: 700;
	color: #38bdf8;
	flex-shrink: 0;
}

.shelf-model-text {
	font-size: 0.82rem;
	color: #cbd5e1;
}

.shelf-model-text strong {
	color: #f1f5f9;
}

/* 3D Digital Twin Viewport & Camera Toolbar */
/* Combined control bar: view-mode toggle + camera controls share .fleet-3d-toolbar */
.fleet-toolbar-left {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.view-mode-group {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.view-toggle-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 16px;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 600;
	background: #0f172a;
	color: #94a3b8;
	border: 1px solid #1e293b;
	cursor: pointer;
	transition: all 0.2s ease;
}

.view-toggle-pill:hover {
	color: #f8fafc;
	border-color: #38bdf8;
}

.view-toggle-pill.active {
	background: rgba(56, 189, 248, 0.12);
	color: #38bdf8;
	border-color: #38bdf8;
	box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

.fleet-3d-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	background: #0f172a;
	border: 1px solid #1e293b;
	border-radius: 10px;
	padding: 9px 14px;
	margin-bottom: 12px;
}

.camera-presets-group {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.toolbar-label {
	font-size: 0.75rem;
	font-weight: 600;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.camera-preset-btn {
	padding: 5px 11px;
	background: #1e293b;
	border: 1px solid #334155;
	border-radius: 6px;
	color: #cbd5e1;
	font-size: 0.76rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s ease;
}

.camera-preset-btn:hover {
	background: #334155;
	color: #fff;
	border-color: #38bdf8;
}

.camera-preset-btn.active {
	background: #0284c7;
	color: #fff;
	border-color: #38bdf8;
}

.toolbar-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.controls-hint {
	font-size: 0.72rem;
	color: #94a3b8;
	font-family: 'Inter', sans-serif;
}

.camera-reset-pill {
	padding: 4px 10px;
	background: transparent;
	border: 1px solid #334155;
	border-radius: 6px;
	color: #94a3b8;
	font-size: 0.74rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s ease;
}

.camera-reset-pill:hover {
	color: #f8fafc;
	border-color: #64748b;
	background: #1e293b;
}

.fleet-3d-wrapper {
	width: 100%;
	height: 420px;
	border-radius: 12px;
	overflow: hidden;
	background: #090d16;
	border: 1px solid #1e293b;
	position: relative;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

#fleet-3d-canvas {
	width: 100%;
	height: 100%;
	display: block;
	touch-action: none;
}

@media (max-width: 768px) {
	.fleet-main {
		padding: 1.25rem 1rem !important;
	}
	.fleet-badge-group {
		flex-direction: column;
		align-items: center;
	}
	.fleet-toolbar-left {
		width: 100%;
	}
	.fleet-3d-wrapper {
		height: 320px;
	}
	.controls-hint {
		display: none;
	}
	.fleet-3d-toolbar {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
	.camera-preset-select {
		max-width: 100%;
	}
}

@media (max-width: 560px) {
	.fleet-3d-wrapper {
		height: 280px;
	}
	.node-inspector-pane {
		padding: 1rem;
	}
	.inspector-meta-row {
		grid-template-columns: 1fr;
		gap: 0.55rem;
	}
	.glpi-grid {
		grid-template-columns: 1fr;
	}
	.fleet-cards-grid {
		grid-template-columns: 1fr;
	}
	.results-grid {
		grid-template-columns: 1fr;
	}
}

.fleet-main {
	background: #ffffff;
	padding: 40px;
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
	margin-bottom: 40px;
}


.camera-dropdown-group {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.camera-preset-select {
	appearance: auto;
	background: #ffffff;
	color: #0f172a;
	border: 1.5px solid #0284c7;
	border-radius: 6px;
	padding: 5px 12px;
	font-size: 0.82rem;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
	outline: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.camera-preset-select:focus {
	border-color: #38bdf8;
	box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

/* ==========================================================================
   Seasonal Theme Synchronization for Hardware Fleet & Salvage Hub
   (Thanksgiving Harvest, Christmas & Winter, Valentine's Day)
   ========================================================================== */

/* --- 1. Thanksgiving Harvest Theme --- */
body.thanksgiving-theme .fleet-viewport-container {
	background: #240f03 !important;
	border-color: rgba(217, 119, 6, 0.5) !important;
	box-shadow: 0 8px 26px rgba(61, 26, 4, 0.45) !important;
}
body.thanksgiving-theme .node-inspector-pane {
	background: linear-gradient(180deg, #431b05 0%, #2a1002 100%) !important;
	border-color: rgba(245, 158, 11, 0.55) !important;
	color: #fffbeb !important;
}
body.thanksgiving-theme .node-inspector-pane .inspector-header {
	border-bottom-color: rgba(245, 158, 11, 0.32) !important;
}
body.thanksgiving-theme .node-inspector-pane .inspector-badge {
	color: #fbbf24 !important;
}
body.thanksgiving-theme .node-inspector-pane .inspector-header h3 {
	color: #ffffff !important;
}
body.thanksgiving-theme .node-inspector-pane .inspector-meta-row,
body.thanksgiving-theme .node-inspector-pane .glpi-details {
	background: #1c0b02 !important;
	border-color: rgba(217, 119, 6, 0.4) !important;
}
body.thanksgiving-theme .node-inspector-pane .meta-label,
body.thanksgiving-theme .node-inspector-pane .glpi-cell {
	color: #fcd34d !important;
}
body.thanksgiving-theme .node-inspector-pane .meta-val,
body.thanksgiving-theme .node-inspector-pane .glpi-cell strong {
	color: #ffffff !important;
}
body.thanksgiving-theme .node-inspector-pane .inspector-section h4 {
	color: #fbbf24 !important;
}
body.thanksgiving-theme .node-inspector-pane .inspector-section p {
	color: #fffbeb !important;
}
body.thanksgiving-theme .node-inspector-pane .btn-inspect-project {
	background: #b45309 !important;
	border-color: #f59e0b !important;
	color: #ffffff !important;
}
body.thanksgiving-theme .node-inspector-pane .btn-inspect-project:hover {
	background: #d97706 !important;
	border-color: #fbbf24 !important;
	color: #ffffff !important;
}
body.thanksgiving-theme .fleet-3d-toolbar,
body.thanksgiving-theme .calculator-layout {
	background: #240f03 !important;
	border-color: rgba(217, 119, 6, 0.45) !important;
}
body.thanksgiving-theme .view-toggle-pill.active,
body.thanksgiving-theme .view-btn.active,
body.thanksgiving-theme .node-filter-btn.active,
body.thanksgiving-theme .preset-btn.active {
	background: #b45309 !important;
	color: #ffffff !important;
	border-color: #f59e0b !important;
	box-shadow: 0 0 12px rgba(245, 158, 11, 0.3) !important;
}
body.thanksgiving-theme .camera-preset-select {
	border-color: #d97706 !important;
}
body.thanksgiving-theme .fleet-card {
	background: #2b1204 !important;
	border-color: rgba(217, 119, 6, 0.42) !important;
}
body.thanksgiving-theme .fleet-card:hover {
	border-color: #f59e0b !important;
}
body.thanksgiving-theme .fleet-card h3 {
	color: #ffffff !important;
}
body.thanksgiving-theme .fleet-card .card-tag,
body.thanksgiving-theme .fleet-card .card-salvage-box {
	background: #1c0b02 !important;
	border-color: rgba(217, 119, 6, 0.35) !important;
}
body.thanksgiving-theme .fleet-card .card-salvage-box {
	border-left-color: #f59e0b !important;
	color: #fde68a !important;
}
body.thanksgiving-theme .fleet-card .card-salvage-box strong,
body.thanksgiving-theme .slider-val,
body.thanksgiving-theme .kpi-banner-number {
	color: #fbbf24 !important;
}
body.thanksgiving-theme .kpi-banner {
	background: linear-gradient(135deg, #3d1a04, #1c0b02) !important;
	border-color: #d97706 !important;
}
body.thanksgiving-theme .result-tile {
	background: #1c0b02 !important;
	border-color: rgba(217, 119, 6, 0.35) !important;
}
body.thanksgiving-theme .playbook-card {
	border-color: rgba(217, 119, 6, 0.35) !important;
}
body.thanksgiving-theme .playbook-num {
	color: #b45309 !important;
}

/* --- 2. Christmas & Winter Theme --- */
body.christmas-theme .fleet-viewport-container {
	background: #031f17 !important;
	border-color: rgba(34, 197, 94, 0.45) !important;
	box-shadow: 0 8px 26px rgba(6, 78, 59, 0.45) !important;
}
body.christmas-theme .node-inspector-pane {
	background: linear-gradient(180deg, #064e3b 0%, #032d22 100%) !important;
	border-color: rgba(74, 222, 128, 0.45) !important;
	color: #f0fdf4 !important;
}
body.christmas-theme .node-inspector-pane .inspector-header {
	border-bottom-color: rgba(74, 222, 128, 0.3) !important;
}
body.christmas-theme .node-inspector-pane .inspector-badge {
	color: #86efac !important;
}
body.christmas-theme .node-inspector-pane .inspector-header h3 {
	color: #ffffff !important;
}
body.christmas-theme .node-inspector-pane .inspector-meta-row,
body.christmas-theme .node-inspector-pane .glpi-details {
	background: #02241b !important;
	border-color: rgba(34, 197, 94, 0.35) !important;
}
body.christmas-theme .node-inspector-pane .meta-label,
body.christmas-theme .node-inspector-pane .glpi-cell {
	color: #a7f3d0 !important;
}
body.christmas-theme .node-inspector-pane .meta-val,
body.christmas-theme .node-inspector-pane .glpi-cell strong {
	color: #ffffff !important;
}
body.christmas-theme .node-inspector-pane .inspector-section h4 {
	color: #86efac !important;
}
body.christmas-theme .node-inspector-pane .inspector-section p {
	color: #f0fdf4 !important;
}
body.christmas-theme .node-inspector-pane .btn-inspect-project {
	background: #15803d !important;
	border-color: #4ade80 !important;
	color: #ffffff !important;
}
body.christmas-theme .node-inspector-pane .btn-inspect-project:hover {
	background: #16a34a !important;
	border-color: #86efac !important;
	color: #ffffff !important;
}
body.christmas-theme .fleet-3d-toolbar,
body.christmas-theme .calculator-layout {
	background: #031f17 !important;
	border-color: rgba(34, 197, 94, 0.4) !important;
}
body.christmas-theme .view-toggle-pill.active,
body.christmas-theme .view-btn.active,
body.christmas-theme .node-filter-btn.active,
body.christmas-theme .preset-btn.active {
	background: #15803d !important;
	color: #ffffff !important;
	border-color: #4ade80 !important;
	box-shadow: 0 0 12px rgba(74, 222, 128, 0.3) !important;
}
body.christmas-theme .camera-preset-select {
	border-color: #16a34a !important;
}
body.christmas-theme .fleet-card {
	background: #042f24 !important;
	border-color: rgba(34, 197, 94, 0.38) !important;
}
body.christmas-theme .fleet-card:hover {
	border-color: #4ade80 !important;
}
body.christmas-theme .fleet-card h3 {
	color: #ffffff !important;
}
body.christmas-theme .fleet-card .card-tag,
body.christmas-theme .fleet-card .card-salvage-box {
	background: #02241b !important;
	border-color: rgba(34, 197, 94, 0.32) !important;
}
body.christmas-theme .fleet-card .card-salvage-box {
	border-left-color: #4ade80 !important;
	color: #bbf7d0 !important;
}
body.christmas-theme .fleet-card .card-salvage-box strong,
body.christmas-theme .slider-val,
body.christmas-theme .kpi-banner-number {
	color: #4ade80 !important;
}
body.christmas-theme .kpi-banner {
	background: linear-gradient(135deg, #064e3b, #02241b) !important;
	border-color: #22c55e !important;
}
body.christmas-theme .result-tile {
	background: #02241b !important;
	border-color: rgba(34, 197, 94, 0.32) !important;
}
body.christmas-theme .playbook-card {
	border-color: rgba(239, 68, 68, 0.35) !important;
}
body.christmas-theme .playbook-num {
	color: #15803d !important;
}

/* --- 3. Valentine's Day Theme --- */
body.valentines-theme .fleet-viewport-container {
	background: #24030b !important;
	border-color: rgba(244, 63, 94, 0.45) !important;
	box-shadow: 0 8px 26px rgba(76, 5, 25, 0.45) !important;
}
body.valentines-theme .node-inspector-pane {
	background: linear-gradient(180deg, #4c0519 0%, #2d030f 100%) !important;
	border-color: rgba(251, 113, 133, 0.5) !important;
	color: #fff1f2 !important;
}
body.valentines-theme .node-inspector-pane .inspector-header {
	border-bottom-color: rgba(251, 113, 133, 0.3) !important;
}
body.valentines-theme .node-inspector-pane .inspector-badge {
	color: #fda4af !important;
}
body.valentines-theme .node-inspector-pane .inspector-header h3 {
	color: #ffffff !important;
}
body.valentines-theme .node-inspector-pane .inspector-meta-row,
body.valentines-theme .node-inspector-pane .glpi-details {
	background: #20020a !important;
	border-color: rgba(244, 63, 94, 0.38) !important;
}
body.valentines-theme .node-inspector-pane .meta-label,
body.valentines-theme .node-inspector-pane .glpi-cell {
	color: #fecdd3 !important;
}
body.valentines-theme .node-inspector-pane .meta-val,
body.valentines-theme .node-inspector-pane .glpi-cell strong {
	color: #ffffff !important;
}
body.valentines-theme .node-inspector-pane .inspector-section h4 {
	color: #fda4af !important;
}
body.valentines-theme .node-inspector-pane .inspector-section p {
	color: #fff1f2 !important;
}
body.valentines-theme .node-inspector-pane .btn-inspect-project {
	background: #e11d48 !important;
	border-color: #fb7185 !important;
	color: #ffffff !important;
}
body.valentines-theme .node-inspector-pane .btn-inspect-project:hover {
	background: #be123c !important;
	border-color: #fda4af !important;
	color: #ffffff !important;
}
body.valentines-theme .fleet-3d-toolbar,
body.valentines-theme .calculator-layout {
	background: #24030b !important;
	border-color: rgba(244, 63, 94, 0.42) !important;
}
body.valentines-theme .view-toggle-pill.active,
body.valentines-theme .view-btn.active,
body.valentines-theme .node-filter-btn.active,
body.valentines-theme .preset-btn.active {
	background: #e11d48 !important;
	color: #ffffff !important;
	border-color: #fb7185 !important;
	box-shadow: 0 0 12px rgba(251, 113, 133, 0.35) !important;
}
body.valentines-theme .camera-preset-select {
	border-color: #e11d48 !important;
}
body.valentines-theme .fleet-card {
	background: #330412 !important;
	border-color: rgba(244, 63, 94, 0.4) !important;
}
body.valentines-theme .fleet-card:hover {
	border-color: #fb7185 !important;
}
body.valentines-theme .fleet-card h3 {
	color: #ffffff !important;
}
body.valentines-theme .fleet-card .card-tag,
body.valentines-theme .fleet-card .card-salvage-box {
	background: #20020a !important;
	border-color: rgba(244, 63, 94, 0.35) !important;
}
body.valentines-theme .fleet-card .card-salvage-box {
	border-left-color: #fb7185 !important;
	color: #fecdd3 !important;
}
body.valentines-theme .fleet-card .card-salvage-box strong,
body.valentines-theme .slider-val,
body.valentines-theme .kpi-banner-number {
	color: #fda4af !important;
}
body.valentines-theme .kpi-banner {
	background: linear-gradient(135deg, #4c0519, #20020a) !important;
	border-color: #e11d48 !important;
}
body.valentines-theme .result-tile {
	background: #20020a !important;
	border-color: rgba(244, 63, 94, 0.35) !important;
}
body.valentines-theme .playbook-card {
	border-color: rgba(244, 63, 94, 0.35) !important;
}
body.valentines-theme .playbook-num {
	color: #e11d48 !important;
}

body .fleet-header { position: relative; z-index: 2; background: #fff; border: 1px solid #d5e0eb; border-top: 3px solid var(--s-primary,#155b97); border-radius: 12px; padding: 24px 28px; margin: 24px 0; }
body .fleet-header .subtitle { max-width: none; color: #475569; line-height: 1.65; }
.fleet-overview { margin: 24px 0; }
body .fleet-overview > h2 { color: var(--s-primary,#155b97); margin: 0 0 16px; }
.fleet-overview .fleet-badge-group { justify-content: center; }
@media(max-width:600px){body .fleet-header{padding:20px 16px}}
.fleet-viewport-container { grid-template-columns: minmax(0,1fr); align-items: start; }
