/**
 * Feedback/Survey System — Styles (#943)
 *
 * Public racing-themed UX + admin panel styles.
 * Scoped: .ne-survey-* (public), .ne-fb-admin-* (admin).
 */

/* ── Hero ────────────────────────────────────────────── */

.ne-survey-hero {
	position: relative;
	overflow: hidden;
	padding: 3rem 1.5rem;
	text-align: center;
	color: #fff;
	background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

.ne-survey-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.ne-survey-hero__gradient {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 50% 120%, rgba(0, 200, 83, 0.15) 0%, transparent 60%);
}

/* Speed lines */
.ne-survey-hero__speed {
	position: absolute;
	width: 200%;
	height: 1px;
	opacity: 0.08;
}

.ne-survey-hero__speed--1 {
	top: 30%;
	left: -50%;
	background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.5) 40%, transparent 100%);
	transform: rotate(-3deg);
}

.ne-survey-hero__speed--2 {
	top: 65%;
	left: -50%;
	background: linear-gradient(90deg, transparent 0%, rgba(0, 200, 83, 0.4) 60%, transparent 100%);
	transform: rotate(-2deg);
}

.ne-survey-hero__content {
	position: relative;
	z-index: 1;
	max-width: 600px;
	margin: 0 auto;
}

.ne-survey-hero__eyebrow {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: #00c853;
	margin-bottom: 0.5rem;
}

.ne-survey-hero__title {
	font-size: clamp(1.75rem, 5vw, 2.5rem);
	font-weight: 800;
	margin: 0 0 0.5rem;
	line-height: 1.1;
	color: #fff;
}

.ne-survey-hero__subtitle {
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.7);
	margin: 0;
}

/* ── Login Prompt ────────────────────────────────────── */

.ne-survey-login-prompt {
	text-align: center;
	padding: 3rem 1.5rem;
}

.ne-survey-login-prompt p {
	margin-bottom: 1rem;
}

/* ── Empty State ─────────────────────────────────────── */

.ne-survey-empty {
	text-align: center;
	padding: 4rem 1.5rem;
}

.ne-survey-empty__icon {
	font-size: 3rem;
	color: var(--ne-text-subtle);
	margin-bottom: 1rem;
}

.ne-survey-empty__text {
	font-size: 1.125rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

/* ── Survey Card Grid ────────────────────────────────── */

.ne-survey-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

@media (min-width: 768px) {
	.ne-survey-grid {
		grid-template-columns: 1fr;
		max-width: 640px;
		margin: 0 auto;
	}
}

.ne-survey-card {
	display: flex;
	flex-direction: column;
	padding: 1.5rem;
	border-radius: var(--ne-radius-lg);
	background: var(--ne-surface);
	border: 1px solid var(--ne-border);
	text-decoration: none;
	color: var(--ne-text);
	transition: border-color var(--ne-duration) var(--ne-ease),
	            box-shadow var(--ne-duration) var(--ne-ease);
	cursor: pointer;
}

.ne-survey-card:hover {
	border-color: var(--ne-border-s);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
	color: var(--ne-text);
}

.ne-survey-card__title {
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0 0 0.5rem;
	color: var(--ne-text);
}

.ne-survey-card__desc {
	font-size: 0.875rem;
	color: var(--ne-text-muted);
	margin: 0 0 auto;
	padding-bottom: 0.75rem;
}

.ne-survey-card__meta {
	display: flex;
	gap: 1rem;
	font-size: 0.75rem;
	color: var(--ne-text-subtle);
	margin-bottom: 0.75rem;
}

.ne-survey-card__meta i {
	margin-right: 0.25rem;
}

.ne-survey-card__cta {
	font-size: 0.8125rem;
	font-weight: 600;
	color: #00c853;
}

/* ── Survey Intro ────────────────────────────────────── */

.ne-survey-intro {
	text-align: center;
	padding: 2rem 0;
}

.ne-survey-intro__title {
	font-size: clamp(1.5rem, 4vw, 2rem);
	font-weight: 800;
	margin: 0 0 0.75rem;
	color: var(--ne-text);
}

.ne-survey-intro__desc {
	font-size: 1rem;
	color: var(--ne-text-muted);
	max-width: 500px;
	margin: 0 auto 1rem;
}

.ne-survey-intro__meta {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	font-size: 0.8125rem;
	color: var(--ne-text-subtle);
	margin-bottom: 2rem;
}

.ne-survey-intro__meta i {
	margin-right: 0.25rem;
}

.ne-survey-intro__start {
	font-size: 1.125rem;
	padding: 0.875rem 2.5rem;
}

/* ── Progress Bar ────────────────────────────────────── */

.ne-survey-progress {
	margin-bottom: 2rem;
}

.ne-survey-progress__fill {
	height: 6px;
	border-radius: 3px;
	background: linear-gradient(90deg, #00c853 0%, #69f0ae 100%);
	transition: width 0.4s ease;
	position: relative;
}

/* Dark track behind the fill */
.ne-survey-progress::before {
	content: '';
	display: block;
	height: 6px;
	border-radius: 3px;
	background: var(--ne-border);
	position: absolute;
	width: 100%;
}

.ne-survey-progress {
	position: relative;
}

.ne-survey-progress__text {
	font-size: 0.75rem;
	color: var(--ne-text-subtle);
	text-align: center;
	margin-top: 0.5rem;
}

/* ── Section Progress (dots + lines) ────────────────── */

.ne-survey-section-progress {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	margin-bottom: 1.5rem;
}

.ne-survey-section-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--ne-border);
	flex-shrink: 0;
	transition: background 0.3s, transform 0.3s;
}

.ne-survey-section-dot.is-active {
	background: #00c853;
	transform: scale(1.3);
	box-shadow: 0 0 8px rgba(0, 200, 83, 0.4);
}

.ne-survey-section-dot.is-done {
	background: #00c853;
}

.ne-survey-section-line {
	width: 32px;
	height: 2px;
	background: var(--ne-border);
	flex-shrink: 0;
	transition: background 0.3s;
}

.ne-survey-section-line.is-done {
	background: #00c853;
}

/* Section transition screen */
.ne-survey-section-intro {
	text-align: center;
	padding: 3rem 1rem;
}

.ne-survey-section-intro__title {
	font-family: var(--ne-font-display);
	font-size: clamp(1.75rem, 5vw, 2.25rem);
	font-weight: 400;
	color: var(--ne-text);
	margin: 0 0 0.5rem;
}

.ne-survey-section-intro__sub {
	font-size: 0.8125rem;
	color: var(--ne-text-subtle);
	margin: 0 0 2rem;
}

.ne-survey-section-intro__btn {
	font-size: 1rem;
	padding: 0.75rem 2rem;
}

/* Section label above question */
.ne-survey-section-label {
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #00c853;
	margin-bottom: 0.5rem;
}

/* ── Question (document-style) ───────────────────────── */

.ne-survey-question {
	padding: 1.5rem 0 1.5rem 1.25rem;
	border-left: 3px solid var(--ne-accent-soft);
}

.ne-survey-question__text {
	font-family: var(--ne-font-display);
	font-size: clamp(1.25rem, 3.5vw, 1.375rem);
	font-weight: 400;
	margin: 0 0 0.375rem;
	line-height: 1.6;
	max-width: 640px;
	color: var(--ne-text);
}

.ne-survey-question__required {
	display: inline-block;
	font-size: 0.6875rem;
	color: #ff5252;
	margin-bottom: 0.75rem;
}

.ne-survey-question__clarification {
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--ne-text-subtle);
	margin: 0.5rem 0 1.5rem;
	max-width: 640px;
}

/* ── Option Cards ────────────────────────────────────── */

.ne-survey-options {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
	.ne-survey-options {
		grid-template-columns: repeat(2, 1fr);
	}
}

.ne-survey-option {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 1.25rem;
	min-height: 48px;
	border-radius: 10px;
	border: 2px solid var(--ne-border);
	background: var(--ne-surface);
	cursor: pointer;
	transition: transform 0.15s, border-color 0.15s, background-color 0.15s;
	user-select: none;
	-webkit-user-select: none;
}

.ne-survey-option:hover {
	border-color: var(--ne-border-s);
	transform: scale(1.02);
}

.ne-survey-option:active {
	transform: scale(0.97);
}

.ne-survey-option.is-selected {
	border-color: #00c853;
	background: rgba(0, 200, 83, 0.08);
	animation: ne-survey-bounce 0.3s ease;
}

@keyframes ne-survey-bounce {
	0% { transform: scale(0.95); }
	50% { transform: scale(1.03); }
	100% { transform: scale(1); }
}

.ne-survey-option__label {
	font-size: 0.9375rem;
	font-weight: 500;
	flex: 1;
}

.ne-survey-option__tooltip-icon {
	color: var(--ne-text-subtle);
	cursor: help;
	font-size: 0.875rem;
	flex-shrink: 0;
}

.ne-survey-option__tooltip-icon:hover {
	color: var(--ne-text-muted);
}

/* Tooltip popover */
.ne-survey-tooltip {
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	background: var(--ne-elevated);
	border: 1px solid var(--ne-border-s);
	border-radius: var(--ne-radius-md);
	padding: 0.5rem 0.75rem;
	font-size: 0.8125rem;
	color: var(--ne-text);
	white-space: nowrap;
	max-width: 250px;
	z-index: 10;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* ── Textarea ────────────────────────────────────────── */

.ne-survey-textarea-wrap {
	margin-bottom: 1.5rem;
}

.ne-survey-textarea {
	width: 100%;
	padding: 0.875rem 1rem;
	border: 2px solid var(--ne-border);
	border-radius: 10px;
	background: var(--ne-surface);
	color: var(--ne-text);
	font-size: 0.9375rem;
	font-family: inherit;
	resize: vertical;
	min-height: 100px;
	transition: border-color 0.15s;
}

.ne-survey-textarea:focus {
	outline: none;
	border-color: #00c853;
}

.ne-survey-textarea::placeholder {
	color: var(--ne-text-subtle);
}

.ne-survey-textarea__counter {
	text-align: right;
	font-size: 0.75rem;
	color: var(--ne-text-subtle);
	margin-top: 0.25rem;
}

/* ── Ranking ─────────────────────────────────────────── */

.ne-survey-ranking {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 1.5rem;
}

.ne-survey-ranking__item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 1rem;
	min-height: 48px;
	border-radius: 10px;
	border: 2px solid var(--ne-border);
	background: var(--ne-surface);
	user-select: none;
	-webkit-user-select: none;
	will-change: transform;
}

.ne-survey-ranking__pos {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--ne-accent-glow);
	color: var(--ne-accent);
	font-size: 0.8125rem;
	font-weight: 700;
	flex-shrink: 0;
}

.ne-survey-ranking__label {
	flex: 1;
	font-size: 0.9375rem;
	font-weight: 500;
}

.ne-survey-ranking__buttons {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex-shrink: 0;
}

.ne-survey-ranking__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 22px;
	border: 1px solid var(--ne-border-s);
	border-radius: var(--ne-radius-sm);
	background: var(--ne-bg);
	color: var(--ne-text-muted);
	cursor: pointer;
	font-size: 0.6875rem;
	transition: background-color 0.15s, color 0.15s;
	padding: 0;
}

.ne-survey-ranking__btn:hover:not(:disabled) {
	background: var(--ne-elevated);
	color: var(--ne-text);
}

.ne-survey-ranking__btn:disabled {
	opacity: 0.25;
	cursor: not-allowed;
}

/* Ranking result fill uses accent gradient */
.ne-survey-result-bar__fill--ranking {
	background: linear-gradient(90deg, var(--ne-accent), var(--ne-accent-soft));
}

/* ── Limited Ranking (select + order) ───────────────── */

.ne-survey-ranking__hint {
	font-size: 0.875rem;
	color: var(--ne-text-muted);
	margin-bottom: 1rem;
}

.ne-survey-ranking__counter {
	font-weight: 700;
	color: var(--ne-accent);
	margin-left: 0.25rem;
}

.ne-survey-option--ranking-select {
	position: relative;
}

.ne-survey-ranking__select-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--ne-border);
	color: var(--ne-text-subtle);
	font-size: 0.75rem;
	font-weight: 700;
	flex-shrink: 0;
	transition: background 0.15s, color 0.15s;
}

.ne-survey-option--ranking-select.is-selected .ne-survey-ranking__select-badge {
	background: var(--ne-accent);
	color: #fff;
}

.ne-survey-ranking__back {
	margin-top: 0.75rem;
}

/* ── Continue Button ─────────────────────────────────── */

.ne-survey-continue-wrap {
	text-align: center;
	margin-top: 0.5rem;
}

.ne-survey-continue-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

/* ── Navigation ──────────────────────────────────────── */

.ne-survey-nav {
	display: flex;
	justify-content: space-between;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--ne-border);
}

/* ── Submitting ──────────────────────────────────────── */

.ne-survey-submitting {
	text-align: center;
	padding: 4rem 0;
}

.ne-survey-submitting__spinner {
	width: 40px;
	height: 40px;
	border: 3px solid var(--ne-border);
	border-top-color: #00c853;
	border-radius: 50%;
	animation: ne-survey-spin 0.8s linear infinite;
	margin: 0 auto 1rem;
}

@keyframes ne-survey-spin {
	to { transform: rotate(360deg); }
}

/* ── Completion Screen ───────────────────────────────── */

.ne-survey-complete {
	text-align: center;
	padding: 3rem 0;
}

.ne-survey-complete__flag {
	width: 80px;
	height: 80px;
	margin: 0 auto 1.5rem;
	border-radius: 16px;
	background: repeating-conic-gradient(
		var(--ne-text) 0% 25%,
		var(--ne-surface) 25% 50%
	) 0 0 / 20px 20px;
	animation: ne-survey-flag-pulse 1.5s ease infinite;
}

@keyframes ne-survey-flag-pulse {
	0%, 100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(1.05); opacity: 0.9; }
}

.ne-survey-complete__title {
	font-size: 1.5rem;
	font-weight: 800;
	color: #00c853;
	margin: 0 0 0.5rem;
}

.ne-survey-complete__sub {
	font-size: 1rem;
	color: var(--ne-text-muted);
	margin: 0;
}

.ne-survey-complete__message {
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--ne-text-muted);
	max-width: 480px;
	margin: 0.5rem auto 0;
	text-align: center;
}

.ne-survey-complete__message a {
	color: #00c853;
	text-decoration: underline;
}

/* ── Results ─────────────────────────────────────────── */

.ne-survey-results {
	padding: 1rem 0;
}

.ne-survey-results__header {
	margin-bottom: 2rem;
}

.ne-survey-results__header h2 {
	margin: 0 0 0.25rem;
}

.ne-survey-result-block {
	margin-bottom: 2rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--ne-border);
}

.ne-survey-result-block:last-child {
	border-bottom: none;
}

.ne-survey-result-block__title {
	font-size: 1rem;
	font-weight: 600;
	margin: 0 0 1rem;
}

.ne-survey-result-bar {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.25rem;
	margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
	.ne-survey-result-bar {
		grid-template-columns: 180px 1fr 80px;
		align-items: center;
		gap: 0.75rem;
	}

	/* Ranking result bars need a wider value column for "Promedio: X.X" */
	.ne-survey-result-bar--ranking {
		grid-template-columns: 180px 1fr 110px;
	}
}

.ne-survey-result-bar__label {
	font-size: 0.875rem;
	font-weight: 500;
}

.ne-survey-result-bar--user .ne-survey-result-bar__label {
	color: #00c853;
}

.ne-survey-result-bar__track {
	height: 8px;
	border-radius: 4px;
	background: var(--ne-border);
	overflow: hidden;
}

.ne-survey-result-bar__fill {
	height: 100%;
	width: 0;
	border-radius: 4px;
	background: linear-gradient(90deg, #00c853, #69f0ae);
	transition: width 0.6s ease;
}

.ne-survey-result-bar__fill--user {
	background: linear-gradient(90deg, #00c853, #69f0ae);
	box-shadow: 0 0 6px rgba(0, 200, 83, 0.3);
}

.ne-survey-result-bar__value {
	font-size: 0.8125rem;
	color: var(--ne-text-subtle);
	text-align: right;
}

.ne-survey-results__back {
	margin-top: 2rem;
}

/* ── Error ───────────────────────────────────────────── */

.ne-survey-error {
	text-align: center;
	padding: 3rem 0;
}

.ne-survey-error .ne-btn {
	margin-top: 1rem;
}

/* ── Slide Animations ────────────────────────────────── */

.ne-survey-slide-in-right {
	animation: ne-survey-slide-right-in 0.3s ease forwards;
}

.ne-survey-slide-in-left {
	animation: ne-survey-slide-left-in 0.3s ease forwards;
}

@keyframes ne-survey-slide-right-in {
	from { transform: translateX(60px); opacity: 0; }
	to { transform: translateX(0); opacity: 1; }
}

@keyframes ne-survey-slide-left-in {
	from { transform: translateX(-60px); opacity: 0; }
	to { transform: translateX(0); opacity: 1; }
}

.ne-survey-fade-in {
	animation: ne-survey-fade 0.4s ease forwards;
}

@keyframes ne-survey-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
	.ne-survey-slide-in-right,
	.ne-survey-slide-in-left,
	.ne-survey-fade-in {
		animation: none;
	}

	.ne-survey-option.is-selected {
		animation: none;
	}

	.ne-survey-complete__flag {
		animation: none;
	}

	.ne-survey-submitting__spinner {
		animation: none;
		border-color: var(--ne-green);
	}

	.ne-survey-progress__fill,
	.ne-survey-result-bar__fill {
		transition: none;
	}
}

/* ═══════════════════════════════════════════════════════
   ADMIN STYLES
   ═══════════════════════════════════════════════════════ */

/* ── Autocomplete ────────────────────────────────────── */

.ne-fb-autocomplete {
	position: relative;
}

.ne-fb-autocomplete__dropdown {
	display: none;
	position: absolute;
	z-index: 10;
	top: 100%;
	left: 0;
	right: 0;
	max-height: 200px;
	overflow-y: auto;
	background: var(--ne-elevated);
	border: 1px solid var(--ne-border-s);
	border-radius: var(--ne-radius-md);
	margin-top: 4px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.ne-fb-autocomplete__item {
	padding: 0.5rem 0.75rem;
	font-size: 0.8125rem;
	cursor: pointer;
	color: var(--ne-text);
	transition: background 0.1s;
}

.ne-fb-autocomplete__item:hover {
	background: var(--ne-surface);
}

.ne-fb-autocomplete__empty {
	padding: 0.5rem 0.75rem;
	font-size: 0.8125rem;
	color: var(--ne-text-subtle);
}

.ne-fb-autocomplete__selected {
	margin-top: 6px;
}

.ne-fb-autocomplete__tag {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.25rem 0.5rem;
	font-size: 0.8125rem;
	font-weight: 500;
	background: rgba(0, 200, 83, 0.1);
	border: 1px solid rgba(0, 200, 83, 0.3);
	border-radius: var(--ne-radius-sm);
	color: var(--ne-text);
}

.ne-fb-autocomplete__clear {
	background: none;
	border: none;
	color: var(--ne-text-subtle);
	cursor: pointer;
	font-size: 1rem;
	line-height: 1;
	padding: 0;
}

.ne-fb-autocomplete__clear:hover {
	color: var(--ne-text);
}

.ne-fb-admin-table-wrap {
	overflow-x: auto;
}

.ne-fb-admin-table {
	font-size: 0.8125rem;
}

.ne-fb-admin-table code {
	font-size: 0.75rem;
	color: var(--ne-text-subtle);
}

.ne-fb-admin-actions {
	white-space: nowrap;
}

.ne-fb-admin-actions .ne-btn {
	margin-right: 2px;
}

/* Inline panel */
.ne-fb-admin-panel {
	background: var(--ne-surface);
	border: 1px solid var(--ne-border);
	border-radius: var(--ne-radius-md);
	padding: 1.25rem;
	margin-bottom: 1rem;
}

.ne-fb-admin-panel h3 {
	font-size: 1rem;
	font-weight: 600;
	margin: 0 0 1rem;
}

.ne-fb-admin-panel h4 {
	font-size: 0.9375rem;
	font-weight: 600;
	margin: 0 0 0.75rem;
}

.ne-fb-admin-panel--sub {
	background: var(--ne-bg);
	border-color: var(--ne-border);
}

.ne-fb-admin-panel__fields {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.ne-fb-admin-panel__actions {
	display: flex;
	gap: 0.5rem;
	margin-top: 1rem;
}

/* Form rows */
.ne-form-row {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.ne-form-row > .ne-form-group {
	flex: 1;
	min-width: 200px;
}

/* Question list */
.ne-fb-admin-questions {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.ne-fb-admin-question-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	background: var(--ne-bg);
	border-radius: var(--ne-radius-sm);
	border: 1px solid var(--ne-border);
	font-size: 0.8125rem;
}

.ne-fb-admin-question-row__order {
	font-weight: 600;
	color: var(--ne-text-subtle);
	flex-shrink: 0;
	width: 24px;
}

.ne-fb-admin-question-row__text {
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ne-fb-admin-question-row__actions {
	display: flex;
	gap: 2px;
	flex-shrink: 0;
}

/* Option builder */
.ne-fb-admin-option-row {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
	align-items: center;
}

.ne-fb-admin-option-row .ne-input--sm {
	flex: 1;
}

.ne-fb-admin-option-row .ne-qf-opt-tooltip {
	flex: 0.7;
}

/* Results viewer */
.ne-fb-admin-result-block {
	margin-bottom: 1.5rem;
}

.ne-fb-admin-result-block h4 {
	font-size: 0.875rem;
	margin: 0 0 0.75rem;
}

.ne-fb-admin-bar {
	display: grid;
	grid-template-columns: 160px 1fr 70px;
	gap: 0.5rem;
	align-items: center;
	margin-bottom: 0.5rem;
	font-size: 0.8125rem;
}

.ne-fb-admin-bar__label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ne-fb-admin-bar__track {
	height: 6px;
	border-radius: 3px;
	background: var(--ne-border);
	overflow: hidden;
}

.ne-fb-admin-bar__fill {
	height: 100%;
	border-radius: 3px;
	background: #00c853;
}

.ne-fb-admin-bar__fill--user {
	background: linear-gradient(90deg, #00c853, #69f0ae);
}

.ne-fb-admin-bar--user .ne-fb-admin-bar__label {
	font-weight: 600;
	color: #00c853;
}

.ne-fb-admin-bar--clickable {
	cursor: pointer;
}

.ne-fb-admin-bar--clickable:hover .ne-fb-admin-bar__label {
	color: var(--ne-text);
}

.ne-fb-admin-bar--clickable[data-count="0"] {
	cursor: default;
}

.ne-fb-admin-bar__users {
	padding: 4px 0 8px 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.ne-fb-admin-bar__value {
	text-align: right;
	color: var(--ne-text-subtle);
}

.ne-fb-admin-text-responses {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ne-fb-admin-text-responses li {
	padding: 0.5rem 0.75rem;
	border-bottom: 1px solid var(--ne-border);
	font-size: 0.8125rem;
	color: var(--ne-text-muted);
}

.ne-fb-admin-text-responses li:last-child {
	border-bottom: none;
}

/* ── Mobile Responsive ───────────────────────────────── */

@media (max-width: 767px) {
	.ne-survey-hero {
		padding: 2rem 1rem;
	}

	.ne-survey-question {
		padding-left: 1rem;
	}

	.ne-survey-options {
		grid-template-columns: 1fr;
	}

	.ne-survey-result-bar {
		grid-template-columns: 1fr;
	}

	.ne-survey-result-bar__value {
		text-align: left;
	}

	.ne-survey-ranking__item {
		padding: 0.625rem 0.75rem;
	}

	.ne-fb-admin-bar {
		grid-template-columns: 1fr;
		gap: 0.25rem;
	}

	.ne-fb-admin-bar__value {
		text-align: left;
	}

	.ne-fb-admin-question-row {
		flex-wrap: wrap;
	}

	.ne-fb-admin-question-row__actions {
		width: 100%;
		justify-content: flex-end;
		margin-top: 0.25rem;
	}

	.ne-fb-admin-option-row {
		flex-wrap: wrap;
	}
}
