/* Strony kwotowe „X brutto ile to netto" */

.itn-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 10px;
	margin-top: 16px;
}

.itn-tile {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 14px 16px;
	border: 1px solid #d9d9e4;
	border-radius: 12px;
	background: #fff;
	text-decoration: none;
	transition: border-color .15s ease, transform .15s ease;
}

.itn-tile:hover,
.itn-tile:focus-visible {
	border-color: #2e3fb1;
	transform: translateY(-1px);
}

.itn-tile .itn-gross {
	font-weight: 600;
	color: #16172a;
	font-variant-numeric: tabular-nums;
}

.itn-tile .itn-net {
	font-size: 14px;
	color: #4d4f68;
	font-variant-numeric: tabular-nums;
}

.itn-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 12px;
	font-variant-numeric: tabular-nums;
}

.itn-table th {
	text-align: left;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: #7b7d93;
	font-weight: 500;
	padding: 8px 0;
	border-bottom: 1px solid #d9d9e4;
}

.itn-table td {
	padding: 9px 0;
	border-bottom: 1px solid #e8e8f0;
}

.itn-table .itn-num {
	text-align: right;
	white-space: nowrap;
}

.itn-table .itn-sum td {
	font-weight: 600;
	background: #f4f4f7;
}

.itn-table .itn-total td {
	border-bottom: none;
	border-top: 2px solid #16172a;
	font-size: 17px;
	padding-top: 12px;
}

@media (prefers-color-scheme: dark) {
	.itn-tile { background: transparent; border-color: #32344a; }
	.itn-tile .itn-gross { color: inherit; }
	.itn-table .itn-sum td { background: rgba(255,255,255,.05); }
}
