.nq-frontend {
	--nq-surface: #ffffff;
	--nq-border: #dbe3ea;
	--nq-text: #102133;
	max-width: 780px;
	margin: 0 auto;
	color: var(--nq-text);
}

.nq-frontend .nq-card,
.nq-submit-form form {
	background: var(--nq-surface);
	border: 1px solid var(--nq-border);
	border-radius: 14px;
	padding: 22px;
	box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.nq-frontend h2,
.nq-frontend h3 {
	color: var(--nq-primary);
}

.nq-frontend label {
	display: block;
	font-weight: 600;
	margin-bottom: 14px;
}

.nq-frontend input[type="text"],
.nq-frontend input[type="email"],
.nq-frontend input[type="file"],
.nq-frontend select,
.nq-frontend textarea {
	width: 100%;
	margin-top: 8px;
	border: 1px solid var(--nq-border);
	border-radius: 10px;
	padding: 12px 14px;
	background: #fff;
}

.nq-button {
	background: var(--nq-accent);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 12px 22px;
	font-weight: 700;
	cursor: pointer;
}

.nq-notice {
	border-radius: 10px;
	padding: 12px 14px;
	margin-bottom: 16px;
}

.nq-notice-success {
	background: #ecfdf5;
	color: #166534;
}

.nq-notice-error {
	background: #fef2f2;
	color: #991b1b;
}

.nq-required-note {
	margin: 0 0 16px;
	font-size: 14px;
	color: #475569;
}

.nq-required-indicator {
	margin-left: 4px;
	color: #b91c1c;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	vertical-align: middle;
}

.nq-suggestions {
	display: none;
	margin: 20px 0;
	padding: 16px;
	border: 1px solid var(--nq-border);
	border-radius: 12px;
	background: linear-gradient(180deg, rgba(37, 99, 235, 0.04), rgba(255, 255, 255, 0.95));
}

.nq-suggestions.is-visible {
	display: block;
}

.nq-suggestion {
	padding: 14px 0;
	border-bottom: 1px solid var(--nq-border);
}

.nq-suggestion:last-child {
	border-bottom: 0;
}

.nq-thread {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 20px 0;
}

.nq-message {
	border: 1px solid var(--nq-border);
	border-radius: 12px;
	padding: 16px;
	background: #fff;
}

.nq-message-staff {
	border-color: rgba(37, 99, 235, 0.25);
	background: #f7fbff;
}

.nq-message header {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
}

.nq-direct-shell {
	max-width: 860px;
	margin: 48px auto;
	padding: 0 16px;
}

@media (max-width: 640px) {
	.nq-direct-shell {
		margin: 24px auto;
	}
}
