/* NICHO Trabalho · todos os kits (usa as variáveis --nx-* e as peças base do style.css do kit. */

/* Salário por hora, mês e ano ---------------------------------------------- */
.nx-sh-grid .nx-sh-form {
	grid-column: span 5;
}

.nx-sh-grid .nx-sh-result {
	grid-column: span 7;
}

.nx-sh-form input.nx-tool-select {
	cursor: text;
}

.nx-sh-row3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	/* rótulo que quebra em 2 linhas não desalinha as caixas */
	align-items: end;
}

.nx-sh-note {
	margin-top: 0;
}

.nx-sh-out {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.nx-sh-out[hidden] {
	display: none;
}

.nx-sh-out__title {
	font-size: 15px;
	font-weight: 600;
	color: var(--nx-muted);
}

.nx-sh-rows {
	display: flex;
	flex-direction: column;
}

.nx-sh-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 24px;
	border-radius: 14px;
	background: #fff;
}

.nx-sh-row.is-current {
	background: var(--nx-tint-10);
}

.nx-sh-row__label {
	font-size: 18px;
	font-weight: 600;
}

.nx-sh-row__value {
	font-size: 30px;
	font-weight: 600;
	letter-spacing: -0.02em;
	text-align: right;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}

.nx-sh-row.is-current .nx-sh-row__value {
	font-weight: 800;
}

.nx-sh-alert {
	padding: 12px 14px;
	border-radius: 12px;
	background: #FDECEC;
	color: #8A1C1C;
	font-size: 14px;
	font-weight: 600;
}

.nx-sh-alert[hidden] {
	display: none;
}

.nx-sh-formula {
	padding: 20px 24px;
	border-radius: 14px;
	background: var(--nx-ink);
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.5;
	font-variant-numeric: tabular-nums;
}

@media (max-width: 560px) {
	.nx-sh-row3 {
		grid-template-columns: minmax(0, 1fr);
	}

	.nx-sh-row {
		padding: 16px 18px;
	}

	.nx-sh-row__label {
		font-size: 16px;
	}

	.nx-sh-row__value {
		font-size: 22px;
	}

	.nx-sh-formula {
		font-size: 16px;
	}
}
