/* Al Bayan Newsletter: topic chooser + manage page */
.abnl-topics { grid-column: 1 / -1; }
.abnl-topics__toggle {
	display: inline-flex; align-items: center; gap: 6px; padding: 2px 0; background: none; border: 0; cursor: pointer;
	font: inherit; font-size: 13.5px; font-weight: 500; color: inherit; opacity: .85; text-decoration: underline; text-underline-offset: 3px;
}
.abnl-topics__toggle::after { content: "+"; font-weight: 700; text-decoration: none; display: inline-block; }
.abnl-topics.is-open .abnl-topics__toggle::after { content: "\2212"; }
.abnl-topics__panel { display: none; padding-top: 8px; }
.abnl-topics.is-open .abnl-topics__panel { display: block; }
.abnl-topics__hint { margin: 6px 0 0; font-size: 12px; opacity: .75; }
.abnl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.abnl-chip { position: relative; cursor: pointer; }
.abnl-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.abnl-chip span {
	display: inline-flex; align-items: center; height: 32px; padding-inline: 12px; border-radius: 999px;
	border: 1.5px solid rgba(127, 127, 127, .35); font-size: 13px; font-weight: 500; transition: background .2s, border-color .2s, color .2s;
	background: rgba(255, 255, 255, .6); color: #151517;
}
.abnl-chip input:checked + span { background: #0b0b0c; border-color: #0b0b0c; color: #fff; }
.abnl-chip input:checked + span::before { content: "\2713"; margin-inline-end: 6px; font-size: 12px; }
.abnl-chip input:focus-visible + span { outline: 2px solid #ff2e17; outline-offset: 2px; }
/* On the red sidebar box */
.ab-nlbox .abnl-chip span { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .5); color: #fff; }
.ab-nlbox .abnl-chip input:checked + span { background: #fff; border-color: #fff; color: #0b0b0c; }

/* Manage / unsubscribe page */
.abnl-page { padding: 60px 16px 70px; background: #f5f5f3; }
.abnl-page__card { max-width: 620px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 36px 32px; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .25); }
.abnl-page__card h1 { font-size: 28px; margin: 0 0 6px; }
.abnl-page__email { color: #6e6e74; margin: 0 0 18px; }
.abnl-page__msg { background: #edfaef; color: #1a7f37; border-radius: 10px; padding: 10px 14px; font-weight: 500; }
.abnl-page__muted { color: #6e6e74; font-size: 14px; }
.abnl-page .abnl-chips { margin: 14px 0 6px; }
.abnl-page .ab-btn { margin-top: 10px; }
.abnl-page__alt { margin-top: 22px; padding-top: 16px; border-top: 1px solid #e8e8ea; }
.abnl-linkbtn { background: none; border: 0; padding: 0; color: #b32d2e; text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; }
