.trq-wizard {
	max-width: 640px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.5;
}
.trq-wizard * {
	box-sizing: border-box;
}
.trq-progress-bar {
	height: 6px;
	background: #e5e5e5;
	border-radius: 3px;
	overflow: hidden;
	margin-bottom: 28px;
}
.trq-progress-fill {
	height: 100%;
	width: 10%;
	background: #2271b1;
	transition: width 0.25s ease;
}
.trq-step {
	display: none;
}
.trq-step.trq-active {
	display: block;
	animation: trq-fade-in 0.2s ease;
}
@keyframes trq-fade-in {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}
.trq-wizard h2 {
	margin: 0 0 16px;
	font-size: 1.3em;
}
.trq-wizard label {
	display: block;
	margin-bottom: 14px;
	font-weight: 600;
}
.trq-wizard input[type="text"],
.trq-wizard input[type="email"],
.trq-wizard input[type="tel"],
.trq-wizard input[type="date"],
.trq-wizard input[type="number"],
.trq-wizard textarea,
.trq-wizard select {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 10px 12px;
	font-size: 15px;
	font-weight: normal;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-family: inherit;
}
.trq-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 10px;
}
.trq-card {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 18px 12px;
	border: 2px solid #ddd;
	border-radius: 10px;
	cursor: pointer;
	font-weight: 600;
	margin-bottom: 0;
	transition: border-color 0.15s ease, background 0.15s ease;
}
.trq-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.trq-card:has(input:checked) {
	border-color: #2271b1;
	background: #f0f6fb;
}
.trq-tier-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
}
.trq-tier-card {
	display: block;
	text-align: left;
	padding: 16px;
	border: 2px solid #ddd;
	border-radius: 10px;
	cursor: pointer;
}
.trq-tier-card:has(input:checked) {
	border-color: #2271b1;
	background: #f0f6fb;
}
.trq-tier-title {
	display: block;
	font-weight: 700;
	font-size: 1.1em;
	margin-bottom: 6px;
}
.trq-tier-desc {
	display: block;
	font-weight: normal;
	font-size: 0.9em;
	color: #555;
}
.trq-checkbox-list label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: normal;
}
.trq-checkbox-list input {
	width: auto;
}
.trq-repeat-row {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr auto;
	gap: 8px;
	align-items: center;
	margin-bottom: 10px;
}
.trq-repeat-row.trq-repeat-row-area {
	grid-template-columns: 2fr 1fr auto;
}
.trq-repeat-row select,
.trq-repeat-row input {
	margin-top: 0;
}
.trq-remove-row {
	background: none;
	border: none;
	color: #b32d2e;
	font-size: 20px;
	cursor: pointer;
	line-height: 1;
	padding: 6px;
}
.trq-add-btn {
	background: none;
	border: 1px dashed #999;
	border-radius: 6px;
	padding: 8px 14px;
	cursor: pointer;
	font-weight: 600;
	color: #2271b1;
}
.trq-file-drop {
	display: block;
	border: 2px dashed #bbb;
	border-radius: 10px;
	padding: 24px;
	text-align: center;
	cursor: pointer;
	font-weight: 600;
	color: #2271b1;
}
.trq-file-drop input {
	display: none;
}
.trq-file-list {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
}
.trq-file-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 10px;
	background: #f6f7f7;
	border-radius: 6px;
	margin-bottom: 6px;
	font-size: 14px;
}
.trq-file-list button {
	background: none;
	border: none;
	color: #b32d2e;
	cursor: pointer;
	font-size: 16px;
}
.trq-file-error {
	color: #b32d2e;
}
.trq-note {
	font-size: 0.9em;
	color: #666;
	font-weight: normal;
}
.trq-error {
	color: #b32d2e;
	font-weight: 600;
	min-height: 1.2em;
}
.trq-submit-error {
	color: #b32d2e;
	font-weight: 600;
	text-align: center;
}
.trq-honeypot {
	position: absolute;
	left: -9999px;
	top: -9999px;
	height: 0;
	overflow: hidden;
}
.trq-nav {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 24px;
}
.trq-btn {
	padding: 12px 22px;
	border-radius: 8px;
	border: none;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
}
.trq-btn-primary {
	background: #2271b1;
	color: #fff;
	margin-left: auto;
}
.trq-btn-primary:hover {
	background: #135e96;
}
.trq-btn-secondary {
	background: #eee;
	color: #333;
}
.trq-btn-secondary[hidden] {
	visibility: hidden;
}
#trq-review-summary {
	background: #f6f7f7;
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 16px;
}
#trq-review-summary dt {
	font-weight: 700;
	margin-top: 10px;
}
#trq-review-summary dt:first-child {
	margin-top: 0;
}
#trq-review-summary dd {
	margin: 2px 0 0;
}
.trq-wizard.trq-done .trq-step,
.trq-wizard.trq-done .trq-nav,
.trq-wizard.trq-done .trq-progress {
	display: none;
}
.trq-wizard.trq-done .trq-step[data-step="10"] {
	display: block;
}
@media (max-width: 480px) {
	.trq-repeat-row,
	.trq-repeat-row.trq-repeat-row-area {
		grid-template-columns: 1fr;
	}
}
