.ycf-converter {
	max-width: 860px;
	margin: 0 auto;
	font-family: inherit;
}

.ycf-converter__title {
	font-size: 1.6rem;
	margin-bottom: 1.2rem;
	color: #813b51;
}

/* Tabs */
.ycf-converter__tabs {
	display: flex;
	gap: .5rem;
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
}

.ycf-converter__tab {
	padding: .5rem 1.2rem;
	border: 2px solid #813b51;
	background: transparent;
	color: #813b51;
	border-radius: 4px;
	cursor: pointer;
	font-size: .95rem;
	font-weight: 600;
	transition: background .2s, color .2s;
}

.ycf-converter__tab.is-active,
.ycf-converter__tab:hover {
	background: #813b51;
	color: #fff;
}

/* Panels */
.ycf-converter__panel {
	display: none;
}

.ycf-converter__panel.is-active {
	display: block;
}

.ycf-converter__hint {
	margin-bottom: 1rem;
	color: #555;
	font-size: .95rem;
}

/* Row */
.ycf-converter__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem;
	margin-bottom: 2rem;
	background: #fff7f1;
	padding: 1rem;
	border-radius: 8px;
}

.ycf-converter__input {
	width: 90px;
	padding: .5rem .6rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 1rem;
}

.ycf-converter__select {
	padding: .5rem .6rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: .95rem;
	background: #fff;
}

.ycf-converter__arrow {
	font-size: 1.4rem;
	color: #813b51;
	flex-shrink: 0;
}

.ycf-converter__results ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ycf-converter__results li {
	font-size: .95rem;
	line-height: 1.7;
}

.ycf-converter__results li strong {
	font-size: 1.1rem;
	color: #813b51;
}

/* Table */
.ycf-converter__table-wrap {
	overflow-x: auto;
}

.ycf-converter__table-wrap h3 {
	font-size: 1rem;
	margin-bottom: .6rem;
	color: #555;
}

.ycf-converter__table {
	width: 100%;
	border-collapse: collapse;
	font-size: .9rem;
}

.ycf-converter__table th,
.ycf-converter__table td {
	padding: .5rem .8rem;
	border: 1px solid #e0d0c0;
	text-align: left;
}

.ycf-converter__table th {
	background: #813b51;
	color: #fff;
	font-weight: 600;
}

.ycf-converter__table tr:nth-child(even) td {
	background: #fff7f1;
}

@media (max-width: 600px) {
	.ycf-converter__row {
		flex-direction: column;
		align-items: flex-start;
	}
	.ycf-converter__input {
		width: 100%;
	}
	.ycf-converter__select {
		width: 100%;
	}
}
