.stic-market {
	--stic-bg: #ffffff;
	--stic-text: #20242c;
	--stic-muted: #727987;
	--stic-border: #e5e8ee;
	--stic-header-bg: #f6f8fa;
	--stic-header-color: #3b414b;
	--stic-row-hover: #f9fafb;
	--stic-accent: #006266;
	--stic-symbol-bg: #e8f4f4;
	--stic-search-bg: #ffffff;
	--stic-search-border: #dfe3e9;
	--stic-radius: 16px;
	width: 100%;
	padding: 20px;
	border: 1px solid var(--stic-border);
	border-radius: var(--stic-radius);
	background: var(--stic-bg);
	color: var(--stic-text);
	font-family: inherit;
	box-sizing: border-box;
}

.stic-market *,
.stic-market *::before,
.stic-market *::after {
	box-sizing: border-box;
}

.stic-market [hidden] {
	display: none !important;
}

.stic-market__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
}

.stic-market__title {
	margin: 0;
	padding: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--stic-text);
}

.stic-market__search-wrap {
	position: relative;
	display: block;
	width: 320px;
	max-width: 100%;
	margin: 0;
}

.stic-market__search {
	display: block;
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 9px 42px 9px 14px;
	border: 1px solid var(--stic-search-border);
	border-radius: 11px;
	outline: none;
	background: var(--stic-search-bg);
	color: var(--stic-text);
	font: inherit;
	font-size: 14px;
	line-height: 1.5;
	transition: border-color .2s ease, box-shadow .2s ease;
	appearance: none;
}

.stic-market__search:focus {
	border-color: var(--stic-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--stic-accent) 14%, transparent);
}

.stic-market__search::placeholder {
	color: var(--stic-muted);
	opacity: .85;
}

.stic-market__search-icon {
	position: absolute;
	top: 50%;
	right: 14px;
	z-index: 1;
	width: 18px;
	height: 18px;
	fill: var(--stic-muted);
	transform: translateY(-50%);
	pointer-events: none;
}

.stic-market__notice {
	margin: 0 0 14px;
	padding: 10px 13px;
	border: 1px solid #efd79b;
	border-radius: 10px;
	background: #fff9e9;
	color: #725615;
	font-size: 13px;
	line-height: 1.8;
}

.stic-market__table-wrap {
	width: 100%;
	overflow-x: auto;
	border: 1px solid var(--stic-border);
	border-radius: calc(var(--stic-radius) - 4px);
	background: var(--stic-bg);
	-webkit-overflow-scrolling: touch;
}

.stic-market__table {
	width: 100%;
	min-width: 760px;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
	background: transparent;
	color: var(--stic-text);
	font-family: inherit;
	font-size: 14px;
	line-height: 1.7;
}

.stic-market__table th,
.stic-market__table td {
	padding: 14px 16px;
	border: 0;
	border-bottom: 1px solid var(--stic-border);
	text-align: right;
	vertical-align: middle;
	white-space: nowrap;
}

.stic-market__table thead th {
	background: var(--stic-header-bg);
	color: var(--stic-header-color);
	font-size: 13px;
	font-weight: 700;
}

.stic-market__table tbody tr:last-child td {
	border-bottom: 0;
}

.stic-market__row {
	background: var(--stic-bg);
	transition: background-color .18s ease;
}

.stic-market__row:hover {
	background: var(--stic-row-hover);
}

.stic-market__company {
	min-width: 210px;
	font-weight: 600;
	white-space: normal !important;
}

.stic-market__symbol {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 70px;
	min-height: 30px;
	padding: 4px 10px;
	border-radius: 8px;
	background: var(--stic-symbol-bg);
	color: var(--stic-accent);
	font-weight: 700;
	line-height: 1.2;
}

.stic-market__price {
	color: var(--stic-accent);
	font-weight: 700;
}

.stic-market__number {
	direction: ltr;
	unicode-bidi: isolate;
}

.stic-market__currency {
	margin-right: 4px;
	color: var(--stic-muted);
	font-size: .82em;
	font-weight: 400;
}

.stic-market__date,
.stic-market__market-value {
	color: var(--stic-muted);
}

.stic-market__sort {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	width: auto;
	margin: 0;
	padding: 0;
	border: 0;
	outline: none;
	background: transparent;
	box-shadow: none;
	color: inherit;
	font: inherit;
	font-weight: inherit;
	text-align: inherit;
	cursor: pointer;
}

.stic-market__sort:focus-visible {
	outline: 2px solid var(--stic-accent);
	outline-offset: 4px;
	border-radius: 2px;
}

.stic-market__sort-icon {
	position: relative;
	display: inline-block;
	width: 9px;
	height: 13px;
	opacity: .35;
}

.stic-market__sort-icon::before,
.stic-market__sort-icon::after {
	position: absolute;
	left: 1px;
	width: 0;
	height: 0;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
	content: "";
}

.stic-market__sort-icon::before {
	top: 0;
	border-bottom: 5px solid currentColor;
}

.stic-market__sort-icon::after {
	bottom: 0;
	border-top: 5px solid currentColor;
}

.stic-market__sort.is-active .stic-market__sort-icon {
	opacity: 1;
	color: var(--stic-accent);
}

.stic-market__sort.is-active[data-order="asc"] .stic-market__sort-icon::after,
.stic-market__sort.is-active[data-order="desc"] .stic-market__sort-icon::before {
	opacity: .25;
}

.stic-market__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 15px;
}

.stic-market__updated {
	color: var(--stic-muted);
	font-size: 12px;
}

.stic-market__updated strong {
	color: var(--stic-text);
	font-weight: 600;
}

.stic-market__pagination {
	display: flex;
	align-items: center;
	gap: 10px;
}

.stic-market__page-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--stic-border);
	border-radius: 9px;
	outline: none;
	background: var(--stic-bg);
	box-shadow: none;
	color: var(--stic-text);
	font: inherit;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

.stic-market__page-btn:hover:not(:disabled),
.stic-market__page-btn:focus-visible:not(:disabled) {
	border-color: var(--stic-accent);
	background: var(--stic-symbol-bg);
	color: var(--stic-accent);
}

.stic-market__page-btn:disabled {
	opacity: .38;
	cursor: not-allowed;
}

.stic-market__page-info {
	min-width: 74px;
	color: var(--stic-muted);
	font-size: 12px;
	text-align: center;
}

.stic-market__empty {
	margin-top: 14px;
	padding: 24px 16px;
	border: 1px dashed var(--stic-border);
	border-radius: 12px;
	color: var(--stic-muted);
	text-align: center;
}

.stic-market--error {
	display: flex;
	flex-direction: column;
	gap: 5px;
	border-color: #ecc8c8;
	background: #fff7f7;
	color: #922b2b;
}

.stic-market--error small {
	font-size: 12px;
	font-weight: 400;
}

.stic-market .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 767px) {
	.stic-market {
		padding: 15px;
	}

	.stic-market__toolbar,
	.stic-market__bottom {
		align-items: stretch;
		flex-direction: column;
	}

	.stic-market__search-wrap {
		width: 100% !important;
	}

	.stic-market__pagination {
		justify-content: center;
	}

	.stic-market__updated {
		text-align: center;
	}

	.stic-market--mobile-cards .stic-market__table-wrap {
		overflow: visible;
		border: 0;
		border-radius: 0;
		background: transparent;
	}

	.stic-market--mobile-cards .stic-market__table,
	.stic-market--mobile-cards .stic-market__table tbody,
	.stic-market--mobile-cards .stic-market__table tr,
	.stic-market--mobile-cards .stic-market__table td {
		display: block;
		width: 100%;
		min-width: 0;
	}

	.stic-market--mobile-cards .stic-market__table thead {
		display: none;
	}

	.stic-market--mobile-cards .stic-market__row {
		margin-bottom: 12px;
		padding: 7px 14px;
		border: 1px solid var(--stic-border);
		border-radius: calc(var(--stic-radius) - 4px);
		background: var(--stic-bg);
	}

	.stic-market--mobile-cards .stic-market__table td {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 18px;
		min-height: 42px;
		padding: 9px 0;
		border-bottom: 1px solid var(--stic-border);
		white-space: normal;
		text-align: left;
	}

	.stic-market--mobile-cards .stic-market__table td:last-child {
		border-bottom: 0;
	}

	.stic-market--mobile-cards .stic-market__table td::before {
		flex: 0 0 auto;
		color: var(--stic-muted);
		font-size: 12px;
		font-weight: 500;
		content: attr(data-label);
		text-align: right;
	}

	.stic-market--mobile-cards .stic-market__company {
		min-width: 0;
	}
}
