/* plg_system_fontsize — แถบปุ่มเพิ่ม/ลดขนาดตัวอักษร */
.fs-bar {
	position: fixed;
	right: 16px;
	bottom: 20px;
	z-index: 1040;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 8px 6px 14px;
	background: #fff;
	color: #1d2733;
	border: 1px solid #d9e2ef;
	border-radius: 999px;
	box-shadow: 0 10px 28px -10px rgba(16, 24, 40, 0.35);
	font-family: inherit;
}

.fs-bar__label {
	font-size: 13px;
	font-weight: 600;
	color: #5d6b7c;
	margin-right: 4px;
	white-space: nowrap;
}

.fs-bar__btn {
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: #1b5fa8;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
	line-height: 1;
	transition: transform .15s ease, background .2s ease, opacity .2s ease;
}

.fs-bar__btn--small { font-size: 14px; }
.fs-bar__btn--big { font-size: 18px; }

.fs-bar__btn:hover:not(:disabled) {
	background: #164d8c;
	transform: translateY(-1px);
}

.fs-bar__btn:disabled {
	opacity: .35;
	cursor: not-allowed;
}

.fs-bar__btn:focus-visible,
.fs-bar__readout:focus-visible {
	outline: 2px solid #1b5fa8;
	outline-offset: 2px;
}

.fs-bar__readout {
	min-width: 52px;
	height: 32px;
	padding: 0 8px;
	border: 1px solid #d9e2ef;
	border-radius: 999px;
	background: #f4f7fb;
	color: #1d2733;
	font-size: 13px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	cursor: pointer;
}

.fs-bar__readout:hover {
	background: #e8eef7;
}

@media (max-width: 768px) {
	.fs-bar {
		right: 12px;
		bottom: 92px;
		padding-left: 10px;
	}
	.fs-bar__label {
		display: none;
	}
}

@media print {
	.fs-bar {
		display: none;
	}
}
