.bt-designer {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin: 0 0 1.25rem;
	padding: 1rem;
	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: 8px;
	background: #fafafa;
	width: 100%;
	box-sizing: border-box;
}
.bt-preview-wrap {
	order: -1;
}
.bt-title {
	margin: 0 0 .5rem;
	font-weight: 600;
}
.bt-line {
	position: relative;
	display: block;
	margin: 0 0 .4rem;
}
.bt-line input {
	width: 100%;
	box-sizing: border-box;
	padding: .55rem 3.4rem .55rem .65rem;
	border: 1px solid #bbb;
	border-radius: 6px;
	font-size: 1rem;
	background: #fff;
}
.bt-line input:focus {
	outline: 2px solid #1d3a9e;
	outline-offset: 1px;
}
.bt-count {
	position: absolute;
	right: .6rem;
	top: 1.2rem; /* a beviteli mező közepe; a sor alá kerülő .bt-full üzenet nem tolja el */
	transform: translateY(-50%);
	font-size: .75rem;
	color: #777;
}
.bt-count.bt-near {
	color: #b3261e;
	font-weight: 600;
}
.bt-full {
	display: block;
	margin: .2rem 0 .1rem;
	font-size: .8rem;
	line-height: 1.35;
	color: #b3261e;
}
.bt-colors {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: .75rem 0 0;
	padding: 0;
	border: 0;
}
.bt-colors legend {
	padding: 0;
	margin-bottom: .35rem;
	font-weight: 600;
}
.bt-colors label {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	cursor: pointer;
}
.bt-swatch {
	display: inline-block;
	width: 1rem;
	height: 1rem;
	border-radius: 50%;
}
.bt-hint {
	margin: .75rem 0 0;
	font-size: .85rem;
	color: #555;
}
.bt-preview {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 140px;
	padding: 1rem;
	border-radius: 6px;
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}
.bt-preview .bt-svg {
	display: block;
	width: 100%;
	height: auto;
	max-height: 260px;
}
.bt-preview .bt-rect {
	outline: 1px dashed rgba(0, 0, 0, .25);
	outline-offset: 2px;
}
.bt-preview .bt-round {
	max-width: 240px;
}
.bt-preview.bt-sample .bt-svg {
	opacity: .45;
}
.bt-size {
	margin: .4rem 0 0;
	text-align: center;
	font-size: .85rem;
	color: #666;
}
/* Adatmezős mód (szögletes bélyegző): a vevő adatokat ír be, a sorokat a tervező rendezi el. */
.bt-field {
	display: block;
	margin: 0 0 .6rem;
}
.bt-field > span {
	display: block;
	margin: 0 0 .2rem;
	font-size: .85rem;
	font-weight: 600;
}
.bt-field i {
	color: #b3261e;
	font-style: normal;
}
.bt-field input {
	width: 100%;
	box-sizing: border-box;
	padding: .55rem .65rem;
	border: 1px solid #bbb;
	border-radius: 6px;
	font-size: 1rem;
	background: #fff;
}
.bt-field input:focus {
	outline: 2px solid #1d3a9e;
	outline-offset: 1px;
}
.bt-more {
	margin: .2rem 0 .4rem;
}
.bt-more summary {
	cursor: pointer;
	padding: .3rem 0;
	font-size: .9rem;
	color: #1d3a9e;
}
.bt-more[open] summary {
	margin-bottom: .4rem;
}
.bt-toggle {
	margin: .5rem 0 0;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: .85rem;
	color: #1d3a9e;
	text-decoration: underline;
	cursor: pointer;
}
.bt-note,
.bt-warn {
	margin: .3rem 0 .5rem;
	padding: .5rem .65rem;
	border-radius: 6px;
	font-size: .85rem;
	line-height: 1.4;
}
.bt-note {
	background: #eef2fb;
	color: #1d3a9e;
}
.bt-warn {
	background: #fdecea;
	color: #b3261e;
}
.bt-note[hidden],
.bt-warn[hidden],
.bt-auto[hidden],
.bt-lines[hidden] {
	display: none;
}
