/* AnWP Demo Bar - look "Club Kit blue" ( owner pick 2026-10-31, boards G1d-G5 ).
   Contrast ( contrast.js ): #fff on #1246ad 8.38, #d6e2fa on #1246ad 6.43, #1246ad on #fff 8.38,
   #1A2A3A on #fff 14.62, #4a5568 on #fff 7.53, #1756d1 on #fff 6.39.
   Every rule sits under #anwp-db so theme button / link styles ( Kadence button:hover ... ) can't reach it. */

#anwp-db {
	--db-bg: #1246ad;
	--db-ink: #ffffff;
	--db-muted: #d6e2fa;
	--db-line: rgba(255, 255, 255, 0.35);
	--db-text: #1A2A3A;
	--db-text-muted: #4a5568;
	--db-accent: #1756d1;
	--db-border: #e3e9f3;
	--db-soft: #f2f6fd;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 14px;
	line-height: 1.3;
	text-align: left;
}

#anwp-db,
#anwp-db *,
#anwp-db *::before,
#anwp-db *::after {
	box-sizing: border-box;
}

#anwp-db svg {
	width: 18px;
	height: 18px;
	flex: none;
}

/* Theme resets for every control */
#anwp-db button,
#anwp-db a {
	margin: 0;
	min-height: 0;
	font: inherit;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	text-shadow: none;
	box-shadow: none;
	cursor: pointer;
}

/* ---------- Strip ---------- */
#anwp-db .anwp-db__strip {
	position: relative;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: 52px;
	padding: 0 16px 0 20px;
	background: var(--db-bg);
	color: var(--db-ink);
}

html.anwp-db-hidden #anwp-db .anwp-db__strip {
	display: none;
}

#anwp-db .anwp-db__id {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

#anwp-db .anwp-db__live {
	flex: none;
	padding: 3px 8px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 4px;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.8px;
	text-transform: uppercase;
}

#anwp-db .anwp-db__name {
	overflow: hidden;
	color: var(--db-muted);
	white-space: nowrap;
	text-overflow: ellipsis;
}

#anwp-db .anwp-db__name > b {
	color: #fff;
	font-weight: 700;
}

#anwp-db .anwp-db__actions {
	display: flex;
	flex: none;
	align-items: center;
	gap: 8px;
}

#anwp-db .anwp-db__btn,
#anwp-db .anwp-db__btn:hover,
#anwp-db .anwp-db__btn:focus {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 36px;
	padding: 0 14px;
	border: 1px solid var(--db-line);
	border-radius: 6px;
	background: transparent;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}

#anwp-db .anwp-db__btn:hover,
#anwp-db .anwp-db__btn[aria-expanded="true"] {
	border-color: rgba(255, 255, 255, 0.6);
	background: rgba(255, 255, 255, 0.16);
}

#anwp-db .anwp-db__cta,
#anwp-db .anwp-db__cta:hover,
#anwp-db .anwp-db__cta:focus {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 36px;
	padding: 0 16px;
	border-radius: 6px;
	background: #fff;
	color: var(--db-bg);
	font-size: 14px;
	font-weight: 700;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

#anwp-db .anwp-db__cta:hover {
	background: var(--db-soft);
}

#anwp-db .anwp-db__cta-short {
	display: none;
}

#anwp-db .anwp-db__x,
#anwp-db .anwp-db__x:hover,
#anwp-db .anwp-db__x:focus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var(--db-muted);
}

#anwp-db .anwp-db__x:hover {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}

#anwp-db :focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

#anwp-db .anwp-db__panel :focus-visible {
	outline-color: var(--db-accent);
}

/* ---------- Dock ---------- */
#anwp-db .anwp-db__dock {
	position: fixed;
	z-index: 99990;
	right: 24px;
	bottom: 24px;
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 5px;
	border-radius: 12px;
	background: var(--db-bg);
	box-shadow: 0 12px 28px -10px rgba(15, 23, 42, 0.55);
}

#anwp-db .anwp-db__dock[hidden] {
	display: none;
}

#anwp-db .anwp-db__dock-btn,
#anwp-db .anwp-db__dock-btn:hover,
#anwp-db .anwp-db__dock-btn:focus {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	padding: 0 14px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}

#anwp-db .anwp-db__dock-btn:hover,
#anwp-db .anwp-db__dock-btn[aria-expanded="true"] {
	background: rgba(255, 255, 255, 0.16);
}

/* ---------- Dialogs ---------- */
#anwp-db .anwp-db__panel {
	position: fixed;
	inset: 60px 16px auto auto;
	width: 640px;
	max-width: calc(100vw - 32px);
	max-height: calc(100vh - 80px);
	margin: 0;
	padding: 0;
	overflow: auto;
	border: 1px solid var(--db-border);
	border-radius: 12px;
	background: #fff;
	color: var(--db-text);
	box-shadow: 0 24px 48px -16px rgba(15, 23, 42, 0.45);
}

#anwp-db .anwp-db__panel--colours {
	width: 400px;
}

html.anwp-db-docked #anwp-db .anwp-db__panel {
	inset: auto 24px 92px auto;
}

#anwp-db .anwp-db__panel::backdrop {
	background: transparent;
}

#anwp-db .anwp-db__in {
	padding: 20px;
}

#anwp-db .anwp-db__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

#anwp-db .anwp-db__title {
	margin: 0;
	padding: 0;
	color: var(--db-text);
	font-family: inherit;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: none;
}

#anwp-db .anwp-db__sub {
	margin: 3px 0 0;
	color: var(--db-text-muted);
	font-size: 13px;
	line-height: 1.45;
}

#anwp-db .anwp-db__close,
#anwp-db .anwp-db__close:hover,
#anwp-db .anwp-db__close:focus {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: -10px -10px 0 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--db-text-muted);
}

#anwp-db .anwp-db__close:hover {
	background: var(--db-soft);
}

#anwp-db .anwp-db__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

#anwp-db .anwp-db__card,
#anwp-db .anwp-db__card:hover,
#anwp-db .anwp-db__card:focus {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 5px 5px 8px;
	border: 2px solid var(--db-border);
	border-radius: 10px;
	background: #fff;
	color: var(--db-text);
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.25;
}

#anwp-db .anwp-db__card:hover {
	border-color: #4f86ea;
}

#anwp-db .anwp-db__card[aria-current="page"] {
	border-color: var(--db-accent);
	box-shadow: 0 10px 20px -12px rgba(23, 86, 209, 0.6);
}

#anwp-db .anwp-db__thumb {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: top left;
	border-radius: 6px;
}

#anwp-db .anwp-db__card-name {
	padding: 0 3px;
}

#anwp-db .anwp-db__here {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 2px 7px;
	border-radius: 4px;
	background: var(--db-accent);
	color: #fff;
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

#anwp-db .anwp-db__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--db-border);
	color: var(--db-text-muted);
	font-size: 13px;
}

#anwp-db .anwp-db__foot a,
#anwp-db .anwp-db__reset,
#anwp-db .anwp-db__reset:hover,
#anwp-db .anwp-db__reset:focus {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--db-accent);
	font-size: 13px;
	font-weight: 700;
	text-decoration: underline;
}

#anwp-db .anwp-db__label {
	margin: 0 0 8px;
	color: var(--db-text-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

#anwp-db .anwp-db__sws {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-bottom: 16px;
}

#anwp-db .anwp-db__sw,
#anwp-db .anwp-db__sw:hover,
#anwp-db .anwp-db__sw:focus {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 6px 10px;
	border: 2px solid var(--db-border);
	border-radius: 8px;
	background: #fff;
	color: var(--db-text);
	font-size: 13px;
	font-weight: 600;
	text-align: left;
}

#anwp-db .anwp-db__sw[aria-pressed="true"] {
	border-color: var(--db-accent);
	background: var(--db-soft);
}

#anwp-db .anwp-db__dots {
	display: inline-flex;
	flex: none;
}

#anwp-db .anwp-db__dot {
	display: block;
	width: 22px;
	height: 22px;
	border: 2px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.18);
}

#anwp-db .anwp-db__dot--2 {
	margin-left: -8px;
}

#anwp-db .anwp-db__panel--colours:not([data-family="two"]) .anwp-db__dot--2 {
	align-self: flex-end;
	width: 14px;
	height: 14px;
	margin-left: -6px;
}

#anwp-db .anwp-db__own {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 20px;
	margin-bottom: 6px;
}

#anwp-db .anwp-db__pick {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--db-text);
	font-size: 13px;
	font-weight: 600;
}

#anwp-db .anwp-db__pick input {
	width: 44px;
	height: 32px;
	margin: 0;
	padding: 2px;
	border: 1px solid #d5deec;
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
}

#anwp-db .anwp-db__note {
	margin: 6px 0 0;
	color: var(--db-text-muted);
	font-size: 12.5px;
	line-height: 1.45;
}

/* ---------- Phone ---------- */
@media (max-width: 600px) {
	#anwp-db .anwp-db__strip {
		height: 56px;
		gap: 4px;
		padding: 0 6px 0 12px;
	}

	#anwp-db .anwp-db__live {
		padding: 2px 6px;
		font-size: 10px;
	}

	#anwp-db .anwp-db__brand,
	#anwp-db .anwp-db__x,
	#anwp-db .anwp-db__cta svg,
	#anwp-db .anwp-db__cta-long {
		display: none;
	}

	#anwp-db .anwp-db__cta-short {
		display: inline;
	}

	#anwp-db .anwp-db__actions {
		gap: 2px;
	}

	#anwp-db .anwp-db__btn,
	#anwp-db .anwp-db__btn:hover,
	#anwp-db .anwp-db__btn:focus,
	#anwp-db .anwp-db__dock-btn,
	#anwp-db .anwp-db__dock-btn:hover,
	#anwp-db .anwp-db__dock-btn:focus {
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border-color: transparent;
	}

	#anwp-db .anwp-db__cta,
	#anwp-db .anwp-db__cta:hover,
	#anwp-db .anwp-db__cta:focus {
		margin-left: 4px;
		padding: 0 12px;
		font-size: 13px;
	}

	#anwp-db .anwp-db__lbl {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	#anwp-db .anwp-db__dock {
		right: 12px;
		bottom: 12px;
	}

	#anwp-db .anwp-db__panel,
	#anwp-db .anwp-db__panel--colours,
	html.anwp-db-docked #anwp-db .anwp-db__panel {
		inset: auto 0 0 0;
		width: 100%;
		max-width: none;
		max-height: 80vh;
		border-radius: 16px 16px 0 0;
	}

	#anwp-db .anwp-db__panel::backdrop {
		background: rgba(17, 20, 24, 0.5);
	}

	#anwp-db .anwp-db__in {
		padding: 16px;
	}

	#anwp-db .anwp-db__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
