.wsp-tsm-tab-content {
	max-width: 1100px;
	line-height: 1.7;
}

.wsp-tsm-tab-content > :first-child {
	margin-top: 0;
}

.wsp-tsm-tab-content > :last-child {
	margin-bottom: 0;
}

.wsp-tsm-empty-tab {
	margin: 0;
	color: #777;
	font-style: italic;
}

.wsp-tsm-documents {
	max-width: 1100px;
}

.wsp-tsm-documents h3 {
	margin: 0 0 18px;
	font-size: 18px;
}

.wsp-tsm-document-item {
	display: grid;
	grid-template-columns: minmax(130px, .7fr) minmax(220px, 1.3fr) auto;
	align-items: center;
	gap: 18px;
	padding: 18px 0;
	border-top: 1px solid #e5e5e5;
}

.wsp-tsm-document-label {
	font-weight: 700;
}

.wsp-tsm-document-name {
	color: #666;
	word-break: break-word;
}

.wsp-tsm-button-wrap {
	display: flex;
	align-items: center;
	margin: 0;
}

.wsp-tsm-download.button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 44px;
	padding: 10px 18px !important;
	border: 2px solid var(--wsp-tsm-accent, #c8102e) !important;
	border-radius: 2px !important;
	background: transparent !important;
	color: var(--wsp-tsm-accent, #c8102e) !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	text-transform: none !important;
	box-shadow: none !important;
	transition: background .2s ease, color .2s ease, transform .2s ease !important;
}

.wsp-tsm-download.button:hover,
.wsp-tsm-download.button:focus {
	background: var(--wsp-tsm-accent, #c8102e) !important;
	color: #fff !important;
	transform: translateY(-1px);
}

.wsp-tsm-download svg {
	flex: 0 0 auto;
}

@media (max-width: 767px) {
	.wsp-tsm-document-item {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.wsp-tsm-button-wrap {
		margin-top: 6px;
	}
}

@media (max-width: 480px) {
	.wsp-tsm-button-wrap,
	.wsp-tsm-download.button {
		width: 100%;
	}
}
