.pt-provador { margin: 1em 0; }
.pt-open-modal {
	display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
	border: 0; padding: 12px 20px; background: #222; color: #fff;
	font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2;
	text-transform: none; letter-spacing: 0; border-radius: 6px;
}
.pt-open-modal:hover { opacity: .9; }
.pt-open-modal .pt-btn-icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; }

.pt-modal {
	position: fixed; inset: 0; z-index: 99999;
	display: flex; align-items: center; justify-content: center;
}
.pt-modal[hidden] { display: none; }
.pt-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.pt-modal__box {
	position: relative; background: #fff; color: #222;
	width: 92%; max-width: 400px; max-height: 90vh; overflow-y: auto;
	padding: 24px; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.2);
}
.pt-modal__close {
	position: absolute; top: 8px; right: 12px; border: 0; background: transparent;
	font-size: 26px; line-height: 1; cursor: pointer; color: #888;
}
.pt-modal__title { margin: 0 0 8px; font-size: 18px; }

.pt-steps { display: flex; gap: 6px; justify-content: center; margin: 0 0 16px; }
.pt-steps__dot { width: 8px; height: 8px; border-radius: 50%; background: #d2d2d2; }
.pt-steps__dot.is-active { background: #222; }

.pt-step__hint { font-size: 13px; color: #555; margin: 0 0 12px; }

.pt-field { margin-bottom: 12px; }
.pt-field label { display: block; font-size: 14px; font-weight: 500; }
.pt-input {
	display: block; width: 100%; margin-top: 4px; padding: 8px 10px;
	box-sizing: border-box; border: 1px solid #ccc; border-radius: 6px; font-size: 15px;
}

.pt-consent { font-size: 13px; color: #555; margin: 14px 0; }
.pt-consent label { display: flex; gap: 8px; align-items: flex-start; }

.pt-next, .pt-submit { width: 100%; cursor: pointer; }
.pt-actions { display: flex; flex-direction: column; gap: 10px; }
.pt-actions .pt-back,
.pt-actions .pt-submit { width: 100%; cursor: pointer; }

.pt-result {
	margin-top: 16px; padding: 14px; background: #f6f7f6;
	border: 1px solid #e0e3e0; border-radius: 8px;
}
.pt-result__head { display: flex; gap: 14px; align-items: center; }
.pt-result__avatar { position: relative; flex: 0 0 64px; text-align: center; }
.pt-silhouette { width: 48px; height: auto; color: #b9bdc2; }
.pt-conf--alta .pt-silhouette { color: #4f9a64; }
.pt-conf--media .pt-silhouette { color: #b9bdc2; }
.pt-conf--baixa .pt-silhouette { color: #d2a24a; }
.pt-result__badge {
	position: absolute; bottom: 0; right: 0; min-width: 26px;
	background: #222; color: #fff; font-size: 13px; font-weight: 600;
	padding: 2px 6px; border-radius: 6px;
}
.pt-result__text { flex: 1; }
.pt-result__msg { margin: 0 0 6px; font-size: 15px; font-weight: 500; }
.pt-result__conf { margin: 0; font-size: 12px; color: #666; }

.pt-fitmap { margin-top: 14px; }
.pt-fit { margin-bottom: 10px; }
.pt-fit__label { font-size: 12px; color: #444; margin-bottom: 3px; }
.pt-fit__track {
	position: relative; display: flex; height: 8px; border-radius: 4px; overflow: hidden;
}
.pt-fit__zone { flex: 1; }
.pt-fit__zone--loose { background: #cfe0f0; }
.pt-fit__zone--ideal { background: #cfe7d4; }
.pt-fit__zone--tight { background: #f0d9cf; }
.pt-fit__marker {
	position: absolute; top: -2px; width: 12px; height: 12px; margin-left: -6px;
	background: #222; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.2);
}
.pt-fit__ends {
	display: flex; justify-content: space-between; font-size: 11px; color: #888; margin-top: 2px;
}

.pt-error {
	margin-top: 14px; padding: 10px 12px; background: #fbeaea;
	border: 1px solid #e6b3b3; border-radius: 8px; font-size: 14px; color: #8a1f1f;
}

/* Placeholder da coluna de sugestão (só no desktop, antes do resultado) */
.pt-result-empty { display: none; }
.pt-result-empty p {
	margin: 0; color: #999; font-size: 14px; text-align: center;
	padding: 28px 14px; border: 1px dashed #dcdcde; border-radius: 8px;
}

/* Desktop: popup mais largo em duas colunas (formulário | sugestão) */
@media (min-width: 768px) {
	.pt-modal__box { max-width: 760px; }
	.pt-modal__cols { display: flex; gap: 22px; align-items: flex-start; }
	.pt-modal__main { flex: 1 1 50%; min-width: 0; }
	.pt-modal__aside { flex: 1 1 50%; min-width: 0; }
	.pt-result { margin-top: 0; }
	.pt-result-empty { display: block; }
}

/* Some com o placeholder quando já há recomendação */
.pt-has-result .pt-result-empty { display: none; }
