/* Demo-bar customizer (Colors / Fonts menus). Bar is #111827; panel is white. All text pairs >= 4.5:1. */
.mkadv-demo-bar.mkadv-demo-bar { flex-wrap: nowrap; }
.mkadv-demo-bar .mkadv-demo-bar__msg { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mkadv-demo-bar .mkadv-cz__btn, .mkadv-demo-bar .mkadv-cz__reset, .mkadv-cz__panel, .mkadv-cz__panel * { text-transform: none; letter-spacing: normal; box-sizing: border-box; }
.mkadv-demo-bar .mkadv-cz__btn, .mkadv-demo-bar .mkadv-cz__reset { box-shadow: none; min-height: 0; margin: 0; }
.mkadv-cz { display: flex; align-items: center; gap: 8px; flex: none; position: relative; }
.mkadv-cz__item { position: relative; }
.mkadv-cz__btn { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px;
	background: rgba(255,255,255,.06); color: #fff; font: 600 13px/1 system-ui, -apple-system, "Segoe UI", sans-serif; cursor: pointer; white-space: nowrap; }
.mkadv-cz__btn:hover { background: rgba(255,255,255,.14); }
.mkadv-cz__btn[aria-expanded="true"] { background: #fff; color: #111827; border-color: #fff; }
.mkadv-cz__btn:focus-visible, .mkadv-cz__reset:focus-visible, .mkadv-demo-bar a:focus-visible { outline: 2px solid #fbbf24; outline-offset: 2px; }
.mkadv-cz__val { font-weight: 500; }
.mkadv-cz__caret { opacity: .8; }
.mkadv-cz__dots { display: inline-flex; }
.mkadv-cz__dots i { width: 12px; height: 12px; border-radius: 50%; margin-left: -4px; box-shadow: 0 0 0 1.5px #111827; }
.mkadv-cz__dots i:first-child { margin-left: 0; }
.mkadv-cz__btn[aria-expanded="true"] .mkadv-cz__dots i { box-shadow: 0 0 0 1.5px #fff; }
.mkadv-cz__aa { font: 700 14px/1 Georgia, serif; }
.mkadv-cz__reset { background: none; border: 0; padding: 4px 6px; color: #e5e7eb; font: 600 13px/1 system-ui, -apple-system, "Segoe UI", sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mkadv-cz__reset:hover { color: #fff; }
.mkadv-cz__live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.mkadv-cz__panel { position: absolute; top: calc(100% + 10px); right: 0; z-index: 100000; width: 300px; max-height: min(70vh, 560px); overflow: auto;
	padding: 14px; background: #fff; color: #111827; border-radius: 14px; box-shadow: 0 2px 6px rgba(0,0,0,.12), 0 24px 48px -12px rgba(0,0,0,.35);
	font: 500 14px/1.35 system-ui, -apple-system, "Segoe UI", sans-serif; text-align: left; }
.mkadv-cz__panel[hidden] { display: none; }
.mkadv-cz__panel fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.mkadv-cz__panel legend { padding: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #4b5563; }
.mkadv-cz__opt { position: relative; display: flex; align-items: center; gap: 12px; margin: 0 0 4px; padding: 9px 10px; border: 2px solid transparent; border-radius: 10px; cursor: pointer; color: #111827; }
.mkadv-cz__opt:hover { background: #f3f4f6; }
.mkadv-cz__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.mkadv-cz__opt:has(input:checked) { border-color: #111827; background: #f9fafb; }
.mkadv-cz__opt:has(input:focus-visible) { outline: 2px solid #2563eb; outline-offset: 2px; }
.mkadv-cz__check { margin-left: auto; flex: none; color: #111827; visibility: hidden; }
.mkadv-cz__opt:has(input:checked) .mkadv-cz__check { visibility: visible; }
.mkadv-cz__sw { display: inline-flex; flex: none; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.mkadv-cz__sw i { width: 18px; height: 26px; }
.mkadv-cz__name { font-weight: 600; }
.mkadv-cz__ftext { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mkadv-cz__fname { font-size: 18px; font-weight: 600; line-height: 1.15; }
.mkadv-cz__fsub { font-size: 13px; color: #4b5563; }
.mkadv-cz__note { margin: 10px 2px 0; font-size: 12px; color: #4b5563; }

/* The long disclaimer gives way to the controls first; "Sample site" stays. */
@media (max-width: 1180px) { .mkadv-demo-bar__long { display: none; } }
@media (max-width: 900px) {
	.mkadv-cz__val { display: none; }
}
@media (max-width: 700px) {
	.mkadv-demo-bar.mkadv-demo-bar { flex-wrap: wrap; gap: 8px 12px; }
	.mkadv-cz { order: 3; width: 100%; }
	.mkadv-cz__item { position: static; }
	.mkadv-cz__panel { left: 8px; right: 8px; width: auto; top: calc(100% + 6px); }
}
