.tcb-sd-wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; margin: 8px 0 4px; }
.tcb-sd-preview { flex: 0 1 300px; min-width: 240px; }
.tcb-sd-big { background: #fff; border: 1px solid #e3e3e3; border-radius: 8px; padding: 14px; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; }
.tcb-sd-big svg { width: 100%; height: 100%; max-height: 100%; }
.tcb-sd-big.is-rect { aspect-ratio: auto; min-height: 120px; }
.tcb-sd-big.is-rect svg { height: auto; }
.tcb-sd-preview.is-example .tcb-sd-big svg { opacity: .38; }
.tcb-sd-dims { margin: 8px 0 0; font-size: 13px; color: #666; }
.tcb-sd-warn p { margin: 8px 0 0; padding: 8px 10px; background: #fff6e5; border-left: 3px solid #f0a020; font-size: 13px; line-height: 1.4; }
.tcb-sd-controls { flex: 1 1 280px; min-width: 0; }
.tcb-sd-controls label { display: block; margin: 0 0 12px; font-weight: 600; font-size: 14px; }
.tcb-sd-controls input[type=text], .tcb-sd-controls select { display: block; width: 100%; margin-top: 4px; font-weight: 400; }
.tcb-sd-clines input { margin: 0 0 6px; }
.tcb-sd-clines { margin-bottom: 12px; }
.tcb-sd-checks { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 12px; }
.tcb-sd-controls label.tcb-sd-chk { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-weight: 400; }
.tcb-sd-rline { display: grid; grid-template-columns: 1fr auto auto; gap: 6px; align-items: center; margin: 0 0 8px; }
.tcb-sd-rline input[type=text], .tcb-sd-rline select { margin-top: 0; }
.tcb-sd-rline select { width: auto; min-width: 7.5em; }
.tcb-sd-sub { display: block; font-size: 12px; color: #777; margin: 4px 0; font-weight: 400; }
.tcb-sd-note { font-size: 13px; color: #555; margin: 0 0 12px; }
.tcb-sd-logo-wrap { margin: 0 0 12px; }
.tcb-sd-logoctl { margin-top: 8px; }
.tcb-sd-logoctl[hidden] { display: none; }
.tcb-sd-rmlogo { font-size: 13px; padding: 4px 10px; }
.tcb-sd-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.tcb-sd-tabs[hidden], .tcb-sd-multi[hidden], .tcb-sd-copy[hidden] { display: none; }
#tcb-sd .tcb-sd-tab { padding: 6px 12px !important; border: 1px solid #bbb !important; border-radius: 6px !important; background: #fff !important; color: #333 !important; font-size: 14px !important; line-height: 1.4 !important; cursor: pointer; box-shadow: none !important; }
#tcb-sd .tcb-sd-tab.is-on { border-color: #222 !important; background: #222 !important; color: #fff !important; }
.tcb-sd-multi { margin: 0 0 12px; padding: 10px; background: #f6f6f6; border-radius: 6px; }
.tcb-sd-multi label { margin-bottom: 8px; }
.tcb-sd-copy { font-size: 13px; padding: 4px 10px; }
@media (max-width: 600px) {
	.tcb-sd-preview { flex-basis: 100%; }
	.tcb-sd-rline { grid-template-columns: 1fr auto; }
	.tcb-sd-rline .tcb-sd-chk { grid-column: 1 / -1; }
}
