/* Safety & Security Matcher (scoped) */
.fp-safety-scope {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	font-family: 'IBM Plex Sans', sans-serif;
	color: var(--fp-navy, #0c0c30);
}

.fp-safety-scope .fpp-section-wrapper {
	max-width: 100%;
	padding: 0;
}

.fp-safety-scope .fpp-sheet-auditor {
	background-color: #fff;
	border-radius: 4px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--border-light, #e6e6e3);
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.fp-safety-scope .fpp-sheet-auditor * {
	box-sizing: border-box;
}

.fp-safety-scope .fpp-split-panel-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	background: #f8f8f8;
	min-height: 650px;
}

.fp-safety-scope .fpp-controls-panel {
	padding: 40px;
	background: #fff;
	border-right: 1px solid var(--border-light, #e6e6e3);
	display: flex;
	flex-direction: column;
	gap: 25px;
	min-width: 0;
}

.fp-safety-scope .fpp-slider-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-bottom: 20px;
	border-bottom: 1px dashed var(--border-light, #e6e6e3);
}

.fp-safety-scope .fpp-slider-group:last-of-type {
	border-bottom: none;
	padding-bottom: 0;
}

.fp-safety-scope .fpp-slider-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}

.fp-safety-scope .fpp-slider-label {
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--fp-navy, #0c0c30);
}

.fp-safety-scope .fpp-slider-val-badge {
	font-size: 0.8rem;
	font-weight: 700;
	background: rgba(184, 127, 13, 0.1);
	color: var(--fp-gold, #b87f0d);
	padding: 2px 8px;
	border-radius: 12px;
	flex-shrink: 0;
}

.fp-safety-scope .fpp-range-input {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 6px;
	background: #efefe1;
	border-radius: 3px;
	outline: none;
	margin: 10px 0;
	cursor: pointer;
}

.fp-safety-scope .fpp-range-input::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--fp-gold, #b87f0d);
	cursor: pointer;
	transition: transform 0.1s, background-color 0.2s;
}

.fp-safety-scope .fpp-range-input::-webkit-slider-thumb:hover {
	transform: scale(1.2);
	background: var(--fp-navy, #0c0c30);
}

.fp-safety-scope .fpp-range-input::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--fp-gold, #b87f0d);
	cursor: pointer;
	border: none;
}

.fp-safety-scope .fpp-range-input::-moz-range-thumb:hover {
	transform: scale(1.2);
	background: var(--fp-navy, #0c0c30);
}

.fp-safety-scope .fpp-slider-bounds {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	font-size: 0.72rem;
	font-weight: 600;
	color: #777;
}

.fp-safety-scope .fpp-bound-left,
.fp-safety-scope .fpp-bound-right {
	max-width: 45%;
}

.fp-safety-scope .fpp-bound-right {
	text-align: right;
}

.fp-safety-scope .fpp-results-panel {
	padding: 40px;
	background: #fdfdfd;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.fp-safety-scope .fpp-action-footer {
	grid-column: auto;
}

@media (max-width: 960px) {
	.fp-safety-scope .fpp-split-panel-grid {
		grid-template-columns: minmax(0, 1fr);
		min-height: auto;
	}

	.fp-safety-scope .fpp-controls-panel {
		border-right: none;
		border-bottom: 1px solid var(--border-light, #e6e6e3);
		padding: 1.25rem 1rem;
	}

	.fp-safety-scope .fpp-results-panel {
		padding: 1.25rem 1rem;
	}
}

.fp-lifestyle-wrap .fp-safety-scope,
.fp-phase1-calc-mount .fp-safety-scope {
	min-width: 0;
	max-width: 100%;
}
