/*
 * BudgetSeniors Community — front-end styles (larger type and high contrast for older readers).
 * Everything is scoped to .bsc so it doesn't leak into the theme. The accent colour is set
 * from Settings → BudgetSeniors (inline style: .bsc{--bsc-accent:…}).
 */

.bsc {
	--bsc-accent: #1f6f5c;
	--bsc-accent-ink: #fff;
	--bsc-accent-soft: color-mix(in srgb, var(--bsc-accent) 12%, #fff);
	--bsc-accent-strong: color-mix(in srgb, var(--bsc-accent) 82%, #000);
	--bsc-ink: #17263b;
	--bsc-muted: #4b5565;
	--bsc-surface: #fff;
	--bsc-canvas: #f8f6f0;
	--bsc-line: #e2ddd0;
	--bsc-radius: 18px;
	--bsc-radius-sm: 12px;
	--bsc-shadow: 0 1px 2px rgba(15, 30, 50, .06), 0 8px 28px rgba(15, 30, 50, .08);
	--bsc-focus: 0 0 0 3px color-mix(in srgb, var(--bsc-accent) 35%, transparent);
	color: var(--bsc-ink);
	font-family: inherit;
	line-height: 1.6;
	box-sizing: border-box;
}

.bsc *,
.bsc *::before,
.bsc *::after {
	box-sizing: inherit;
}

.bsc [hidden] {
	display: none !important;
}

.bsc-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Shared bits ---------- */

.bsc .bsc-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .4em;
	min-height: 44px;
	padding: .55em 1.15em;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--bsc-accent);
	color: var(--bsc-accent-ink);
	font: inherit;
	font-weight: 600;
	font-size: 1.12rem;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, transform .15s ease;
}

.bsc .bsc-button:hover {
	background: var(--bsc-accent-strong);
	color: var(--bsc-accent-ink);
}

.bsc .bsc-button:active {
	transform: translateY(1px);
}

.bsc .bsc-button:focus-visible,
.bsc .bsc-chip:focus-visible,
.bsc a:focus-visible,
.bsc input:focus-visible,
.bsc select:focus-visible,
.bsc textarea:focus-visible {
	outline: none;
	box-shadow: var(--bsc-focus);
}

.bsc .bsc-button[disabled] {
	opacity: .6;
	cursor: progress;
}

.bsc .bsc-button--ghost {
	background: transparent;
	color: var(--bsc-accent-strong);
	border-color: var(--bsc-line);
}

.bsc .bsc-button--ghost:hover {
	background: var(--bsc-accent-soft);
	color: var(--bsc-accent-strong);
}

.bsc .bsc-link {
	color: var(--bsc-accent-strong);
	font-weight: 600;
	text-decoration: none;
}

.bsc .bsc-link:hover {
	text-decoration: underline;
}

.bsc .bsc-chip {
	display: inline-flex;
	align-items: center;
	gap: .35em;
	min-height: 36px;
	padding: .35em .9em;
	border: 1px solid var(--bsc-line);
	border-radius: 999px;
	background: var(--bsc-surface);
	color: var(--bsc-ink);
	font: inherit;
	font-size: 1.04rem;
	line-height: 1.25;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: border-color .15s ease, background-color .15s ease;
}

.bsc .bsc-chip:hover {
	border-color: var(--bsc-accent);
	color: var(--bsc-ink);
}

.bsc .bsc-chip.is-active {
	background: var(--bsc-ink);
	border-color: var(--bsc-ink);
	color: #fff;
}

.bsc-badge {
	display: inline-flex;
	align-items: center;
	gap: .3em;
	padding: .15em .65em;
	border-radius: 999px;
	background: var(--bsc-accent-soft);
	color: var(--bsc-accent-strong);
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.6;
}

.bsc-badge--ai {
	background: #eef1ff;
	color: #3a46a8;
}

.bsc-notice {
	padding: .75em 1em;
	border-radius: var(--bsc-radius-sm);
	background: var(--bsc-accent-soft);
}

.bsc-section-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px 16px;
	flex-wrap: wrap;
	margin-bottom: 14px;
}

.bsc .bsc-section-title {
	margin: 0;
	font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem);
	line-height: 1.25;
	letter-spacing: -.01em;
}

.bsc-section-sub {
	margin: .25em 0 0;
	color: var(--bsc-muted);
	font-size: 1.10rem;
}

/* ---------- Homepage ---------- */

.bsc-home {
	container-type: inline-size;
	max-width: 1200px;
	margin: 0 auto;
	padding: clamp(8px, 2vw, 24px) 0 48px;
}

.bsc-hero {
	text-align: center;
	padding: clamp(16px, 4vw, 40px) 8px clamp(20px, 4vw, 36px);
}

.bsc-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .4em;
	margin: 0 0 12px;
	padding: .3em .9em;
	border-radius: 999px;
	background: var(--bsc-accent-soft);
	color: var(--bsc-accent-strong);
	font-size: 1.00rem;
	font-weight: 700;
	letter-spacing: .02em;
}

.bsc .bsc-hero__title {
	margin: 0 auto;
	max-width: 16ch;
	font-size: clamp(2rem, 1.3rem + 3.2vw, 3.4rem);
	line-height: 1.06;
	letter-spacing: -.025em;
}

.bsc-hero__subtitle {
	margin: 14px auto 0;
	max-width: 52ch;
	color: var(--bsc-muted);
	font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
}

.bsc-home__grid {
	display: grid;
	/* minmax(0, …) stops the non-wrapping chip rows from stretching the column past the screen. */
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
}

.bsc-home__grid > * {
	min-width: 0;
}

.bsc-chat,
.bsc-forum {
	min-width: 0;
	max-width: 100%;
}

@container (min-width: 900px) {
	.bsc-home__grid {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
		align-items: start;
	}

	.bsc-home__chat .bsc-chat__log {
		min-height: 380px;
	}
}

/* ---------- Chat ---------- */

.bsc-chat {
	display: flex;
	flex-direction: column;
	background: var(--bsc-surface);
	border: 1px solid var(--bsc-line);
	border-radius: 24px;
	box-shadow: var(--bsc-shadow);
	overflow: hidden;
}

.bsc-chat__header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	background: linear-gradient(135deg, var(--bsc-accent-soft), #fff 70%);
	border-bottom: 1px solid var(--bsc-line);
}

.bsc-chat__avatar {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--bsc-accent);
	font-size: 22px;
	box-shadow: 0 4px 12px color-mix(in srgb, var(--bsc-accent) 35%, transparent);
}

.bsc-chat__who {
	display: flex;
	flex-direction: column;
	min-width: 0;
	flex: 1;
}

.bsc-chat__name {
	font-weight: 700;
	font-size: 1.16rem;
	line-height: 1.2;
}

.bsc-chat__status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--bsc-muted);
	font-size: 0.97rem;
}

.bsc-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2fb36b;
	box-shadow: 0 0 0 3px rgba(47, 179, 107, .18);
}

.bsc .bsc-chat__new {
	min-height: 36px;
	padding: .35em .9em;
	border: 1px solid var(--bsc-line);
	border-radius: 999px;
	background: #fff;
	color: var(--bsc-ink);
	font: inherit;
	font-size: 1.00rem;
	cursor: pointer;
}

.bsc .bsc-chat__new:hover {
	border-color: var(--bsc-accent);
}

.bsc-chat__log {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-height: 260px;
	max-height: min(62vh, 560px);
	padding: 18px 16px;
	overflow-y: auto;
	overscroll-behavior: auto; /* let the page keep scrolling once the chat reaches its end */
	scroll-behavior: smooth;
	background: var(--bsc-canvas);
}

.bsc-msg {
	display: flex;
	flex-direction: column;
	max-width: 88%;
}

.bsc-msg--user {
	align-self: flex-end;
	align-items: flex-end;
}

.bsc-msg--bot {
	align-self: flex-start;
}

.bsc-msg__bubble {
	padding: 10px 14px;
	border-radius: var(--bsc-radius);
	background: var(--bsc-surface);
	border: 1px solid var(--bsc-line);
	font-size: 1.14rem;
	overflow-wrap: anywhere;
}

.bsc-msg--bot .bsc-msg__bubble {
	border-top-left-radius: 6px;
}

.bsc-msg--user .bsc-msg__bubble {
	background: var(--bsc-accent);
	border-color: var(--bsc-accent);
	color: var(--bsc-accent-ink);
	border-top-right-radius: 6px;
}

.bsc-msg--error .bsc-msg__bubble {
	background: #fff4f2;
	border-color: #f6cfc6;
}

.bsc .bsc-msg__bubble p,
.bsc .bsc-msg__bubble ul,
.bsc .bsc-msg__bubble ol {
	margin: 0 0 .6em;
}

.bsc .bsc-msg__bubble > :last-child {
	margin-bottom: 0;
}

.bsc .bsc-msg__bubble ul,
.bsc .bsc-msg__bubble ol {
	padding-left: 1.25em;
}

.bsc .bsc-msg__bubble li {
	margin: .2em 0;
}

.bsc .bsc-msg__bubble a {
	color: var(--bsc-accent-strong);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.bsc .bsc-msg--user .bsc-msg__bubble a {
	color: inherit;
}

.bsc .bsc-msg__bubble code {
	padding: .1em .35em;
	border-radius: 6px;
	background: var(--bsc-accent-soft);
	font-size: .9em;
}

.bsc-msg__actions {
	margin-top: 6px;
	padding-left: 4px;
	font-size: 1.00rem;
}

.bsc .bsc-msg__actions a {
	color: var(--bsc-muted);
	text-decoration: none;
	font-weight: 600;
}

.bsc .bsc-msg__actions a:hover {
	color: var(--bsc-accent-strong);
}

.bsc-typing {
	display: inline-flex;
	gap: 5px;
	padding: 4px 2px;
}

.bsc-typing i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--bsc-muted);
	opacity: .35;
	animation: bsc-bounce 1.2s infinite ease-in-out;
}

.bsc-typing i:nth-child(2) {
	animation-delay: .15s;
}

.bsc-typing i:nth-child(3) {
	animation-delay: .3s;
}

@keyframes bsc-bounce {
	0%, 80%, 100% { transform: translateY(0); opacity: .35; }
	40% { transform: translateY(-5px); opacity: .9; }
}

@media (prefers-reduced-motion: reduce) {
	.bsc-typing i { animation: none; opacity: .7; }
	.bsc-chat__log { scroll-behavior: auto; }
}

.bsc-chat__suggestions {
	display: flex;
	gap: 8px;
	padding: 0 16px 12px;
	overflow-x: auto;
	background: var(--bsc-canvas);
	scrollbar-width: none;
}

.bsc-chat__suggestions::-webkit-scrollbar {
	display: none;
}

.bsc-chat__form {
	display: flex;
	align-items: flex-end;
	gap: 8px;
	padding: 12px;
	border-top: 1px solid var(--bsc-line);
	background: var(--bsc-surface);
}

.bsc .bsc-chat__input {
	flex: 1;
	min-height: 46px;
	max-height: 160px;
	margin: 0;
	padding: 11px 14px;
	border: 1px solid var(--bsc-line);
	border-radius: 14px;
	background: var(--bsc-canvas);
	color: var(--bsc-ink);
	font: inherit;
	font-size: 1.10rem; /* 16px+ stops iOS from zooming in */
	line-height: 1.4;
	resize: none;
}

.bsc .bsc-chat__input:focus {
	background: #fff;
	border-color: var(--bsc-accent);
}

.bsc .bsc-chat__send {
	display: grid;
	place-items: center;
	flex: none;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--bsc-accent);
	color: var(--bsc-accent-ink);
	cursor: pointer;
	transition: background-color .15s ease, transform .15s ease;
}

.bsc .bsc-chat__send:hover {
	background: var(--bsc-accent-strong);
}

.bsc .bsc-chat__send[disabled] {
	opacity: .55;
	cursor: progress;
}

.bsc-chat__turnstile:empty {
	display: none;
}

.bsc-chat__turnstile {
	padding: 0 12px 8px;
}

.bsc-chat__disclaimer {
	margin: 0;
	padding: 0 16px 12px;
	color: var(--bsc-muted);
	font-size: 0.92rem;
	text-align: center;
}

/* ---------- Forum ---------- */

.bsc-forum {
	padding: clamp(16px, 3vw, 24px);
	background: var(--bsc-surface);
	border: 1px solid var(--bsc-line);
	border-radius: 24px;
}

.bsc-forum--compact .bsc-section-title {
	font-size: 1.38rem;
}

.bsc-filters {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 4px 0 14px;
}

.bsc-filters__areas {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bsc .bsc-filters__areas .bsc-chip {
	flex: none;
}

/* Phones: one clear "Topic" dropdown instead of a wall of chips. */
.bsc .bsc-filters__area-label,
.bsc .bsc-filters__area-select {
	display: none;
}


.bsc-filters__tools {
	display: flex;
	gap: 8px;
	margin: 0;
}

.bsc .bsc-filters__tools input[type="search"],
.bsc .bsc-filters__tools select,
.bsc .bsc-form input[type="text"],
.bsc .bsc-form input[type="email"],
.bsc .bsc-form select,
.bsc .bsc-form textarea {
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 9px 12px;
	border: 1px solid var(--bsc-line);
	border-radius: var(--bsc-radius-sm);
	background: #fff;
	color: var(--bsc-ink);
	font: inherit;
	font-size: 1.10rem;
	line-height: 1.4;
}

.bsc .bsc-filters__tools input[type="search"] {
	flex: 1;
	min-width: 0;
}

.bsc .bsc-filters__tools select {
	width: auto;
	flex: none;
}

.bsc-topics {
	transition: opacity .2s ease;
}

.bsc-topics.is-loading {
	opacity: .55;
}

.bsc .bsc-topic-list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bsc .bsc-topic {
	margin: 0;
	padding: 0;
}

.bsc .bsc-topic__link {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px;
	border: 1px solid var(--bsc-line);
	border-radius: var(--bsc-radius);
	background: #fff;
	color: var(--bsc-ink);
	text-decoration: none;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.bsc .bsc-topic__link:hover {
	border-color: color-mix(in srgb, var(--bsc-accent) 45%, var(--bsc-line));
	box-shadow: var(--bsc-shadow);
	transform: translateY(-1px);
	color: var(--bsc-ink);
}

.bsc-topic__top {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.bsc-topic__top:empty {
	display: none;
}

.bsc-topic__title {
	font-weight: 700;
	font-size: 1.12rem;
	line-height: 1.35;
}

.bsc-topic__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: var(--bsc-muted);
	font-size: 1.09rem;
}

.bsc-topic__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 6px;
	margin-top: 2px;
	color: var(--bsc-muted);
	font-size: 0.94rem;
}

.bsc-topic__replies {
	margin-left: auto;
	font-weight: 600;
	color: var(--bsc-ink);
}

.bsc-empty {
	padding: 28px 16px;
	border: 1px dashed var(--bsc-line);
	border-radius: var(--bsc-radius);
	text-align: center;
	color: var(--bsc-muted);
}

.bsc-empty__icon {
	display: block;
	font-size: 28px;
	margin-bottom: 4px;
}

.bsc .bsc-empty p {
	margin: 0;
}

.bsc-pager {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: 14px;
}

.bsc-pager__info {
	color: var(--bsc-muted);
	font-size: 1.00rem;
	margin: 0 auto;
}

.bsc-forum__all {
	margin: 14px 0 0;
	text-align: center;
}

/* Ask form */

.bsc-ask {
	margin: 0 0 18px;
	padding: 16px;
	border-radius: var(--bsc-radius);
	background: var(--bsc-canvas);
	border: 1px solid var(--bsc-line);
}

.bsc-form {
	display: grid;
	gap: 12px;
	margin: 0;
}

.bsc-form__row {
	display: grid;
	gap: 12px;
}

@media (min-width: 560px) {
	.bsc-form__row {
		grid-template-columns: 1fr 1fr;
	}
}

.bsc-field {
	display: grid;
	gap: 4px;
}

.bsc .bsc-field label {
	font-weight: 600;
	font-size: 1.06rem;
}

.bsc .bsc-form textarea {
	resize: vertical;
	min-height: 110px;
}

.bsc .bsc-form [aria-invalid="true"] {
	border-color: #d6453d;
}

.bsc-field__error {
	color: #b3261e;
	font-size: 0.97rem;
}

.bsc-field__error:empty {
	display: none;
}

.bsc .bsc-check {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1.06rem;
}

.bsc-hp {
	position: absolute !important;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bsc-form__actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.bsc .bsc-form__status {
	margin: 0;
	font-size: 1.09rem;
}

.bsc .bsc-form__status:empty {
	display: none;
}

.bsc .bsc-form__status.is-success {
	padding: 10px 12px;
	border-radius: var(--bsc-radius-sm);
	background: #edf9f1;
	color: #18603a;
}

.bsc .bsc-form__status.is-error {
	color: #b3261e;
}

/* ---------- Blog strip ---------- */

.bsc-blog {
	margin-top: 40px;
}

.bsc-blog__grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}

.bsc .bsc-blog-card {
	margin: 0;
}

.bsc .bsc-blog-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--bsc-line);
	border-radius: var(--bsc-radius);
	overflow: hidden;
	background: #fff;
	color: var(--bsc-ink);
	text-decoration: none;
	transition: box-shadow .15s ease, transform .15s ease;
}

.bsc .bsc-blog-card__link:hover {
	box-shadow: var(--bsc-shadow);
	transform: translateY(-2px);
	color: var(--bsc-ink);
}

.bsc-blog-card__image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: var(--bsc-accent-soft);
}

.bsc-blog-card__image--empty {
	display: grid;
	place-items: center;
	font-size: 34px;
}

.bsc-blog-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 16px 16px;
}

.bsc-blog-card__title {
	font-weight: 700;
	line-height: 1.3;
}

.bsc-blog-card__excerpt {
	color: var(--bsc-muted);
	font-size: 1.06rem;
}

/* ---------- Ads ---------- */

/* Reserved height prevents layout shift (CLS) while the ad loads; clear spacing keeps it away from buttons. */
.bsc-ad {
	clear: both;
	margin: 32px auto;
	text-align: center;
	min-height: 280px;
}

.bsc-ad--forum {
	margin: 24px 0 8px;
	min-height: 250px;
}

.bsc-ad__label {
	display: block;
	margin-bottom: 6px;
	color: var(--bsc-muted);
	font-size: 0.92rem;
	letter-spacing: .08em;
	text-transform: uppercase;
}

/* Collapse slots AdSense couldn't fill instead of leaving a blank box. */
.bsc-ad:has(ins.adsbygoogle[data-ad-status="unfilled"]) {
	display: none;
}

/* ---------- Single topic page ---------- */

.bsc-topic-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 1.25em;
	color: var(--bsc-muted);
	font-size: 1.06rem;
}

.bsc-topic-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 1.75em 0 0;
	padding: 14px 16px;
	border-radius: var(--bsc-radius);
	background: var(--bsc-canvas);
	border: 1px solid var(--bsc-line);
}

.bsc-ai-comment .bsc-ai-label,
.bsc-ai-label {
	display: inline-block;
	margin: 0 0 .75em;
	padding: .2em .7em;
	border-radius: 999px;
	background: #eef1ff;
	color: #3a46a8;
	font-size: 0.94rem;
	font-weight: 600;
}

.bsc-comment-turnstile {
	margin: 12px 0;
}

/* ======================================================================
   Homepage v2 — "warm editorial" design
   ====================================================================== */

.bsc-home--v2,
.bsc-site {
	--bsc-paper: #f8f6f0;
	--bsc-ink: #17263b;
	--bsc-ink-soft: #33415a;
	--bsc-sage: #dcebe5;
	--bsc-sage-deep: #9fc4b6;
	--bsc-butter: #ffd96a;
	--bsc-muted: #4b5565;
	--bsc-line: #e2ddd0;
	--bsc-pop: 6px 6px 0 var(--bsc-ink);
	color: var(--bsc-ink);
}

.bsc-brand-fonts {
	--bsc-font-display: "Source Serif 4", "Iowan Old Style", Georgia, serif;
	--bsc-font-body: "Atkinson Hyperlegible", "Verdana", "Segoe UI", sans-serif;
	font-family: var(--bsc-font-body);
}

.bsc-home--v2 {
	max-width: none;
	padding: 0;
	background: var(--bsc-paper);
}

.bsc .bsc-wrap {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 clamp(16px, 4vw, 32px);
}

.bsc .bsc-display {
	margin: 0;
	font-family: var(--bsc-font-display, inherit);
	font-variation-settings: "opsz" 60;
	font-weight: 650;
	font-size: clamp(2.5rem, 1.3rem + 5vw, 4.5rem);
	line-height: 1;
	letter-spacing: -0.025em;
	color: var(--bsc-ink);
	text-wrap: balance;
}

.bsc .bsc-display--md {
	font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
	line-height: 1.08;
}

.bsc .bsc-display em {
	position: relative;
	font-style: italic;
	color: var(--bsc-accent);
	white-space: nowrap;
}

/* Hand-drawn underline under the highlighted word. */
.bsc .bsc-display em::after {
	content: "";
	position: absolute;
	left: -2%;
	right: -2%;
	bottom: -0.12em;
	height: 0.22em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14 C 40 4, 90 3, 120 8 S 180 16, 197 6' fill='none' stroke='%231d2b24' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
	opacity: 0.85;
}

.bsc .bsc-kicker {
	margin: 0 0 14px;
	font-family: var(--bsc-font-body, inherit);
	font-size: 0.94rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bsc-muted);
}

.bsc .bsc-sticker {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	margin: 0 0 22px;
	padding: 0.45em 1em;
	border: 2px solid var(--bsc-ink);
	border-radius: 999px;
	background: var(--bsc-butter);
	box-shadow: 3px 3px 0 var(--bsc-ink);
	font-size: 1.06rem;
	font-weight: 800;
	transform: rotate(-2deg);
}

.bsc-home--v2 .bsc-button {
	border: 2px solid var(--bsc-ink);
	box-shadow: 3px 3px 0 var(--bsc-ink);
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.bsc-home--v2 .bsc-button:hover {
	transform: translate(-1px, -1px);
	box-shadow: 4px 4px 0 var(--bsc-ink);
}

.bsc-home--v2 .bsc-button:active {
	transform: translate(2px, 2px);
	box-shadow: 1px 1px 0 var(--bsc-ink);
}

.bsc-home--v2 .bsc-button--ghost {
	background: #fff;
	color: var(--bsc-ink);
}

.bsc .bsc-button--big {
	min-height: 56px;
	padding: 0.7em 1.6em;
	font-size: 1.21rem;
}

/* ---------- Hero ---------- */

.bsc-hero2 {
	position: relative;
	padding: clamp(32px, 6vw, 72px) 0 clamp(40px, 7vw, 88px);
	overflow: hidden;
	background:
		radial-gradient(1200px 500px at 85% 10%, color-mix(in srgb, var(--bsc-accent) 10%, transparent), transparent 60%),
		var(--bsc-paper);
}

.bsc-hero2__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(32px, 5vw, 56px);
	align-items: center;
}

.bsc-hero2__grid > * {
	min-width: 0;
}

.bsc .bsc-lede {
	max-width: 34em;
	margin: 22px 0 0;
	font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
	line-height: 1.55;
	color: var(--bsc-ink-soft);
}

.bsc .bsc-promises {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bsc .bsc-promises li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-weight: 700;
}

.bsc .bsc-promises li span {
	display: grid;
	place-items: center;
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: #fff;
	border: 1.5px solid var(--bsc-line);
}

.bsc .bsc-stats-row {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	margin: 28px 0 0;
}

.bsc .bsc-stats-row div {
	display: flex;
	flex-direction: column-reverse;
}

.bsc .bsc-stats-row dt {
	color: var(--bsc-muted);
	font-size: 1.00rem;
}

.bsc .bsc-stats-row dd {
	margin: 0;
	font-family: var(--bsc-font-display, inherit);
	font-size: 2.20rem;
	font-weight: 700;
	line-height: 1.1;
}

.bsc-hero2__more {
	padding-top: 0;
}


.bsc-hero2__chat {
	position: relative;
	scroll-margin-top: 90px;
}

.bsc-blob {
	position: absolute;
	z-index: 0;
	border-radius: 50%;
	filter: blur(2px);
}

.bsc-blob--a {
	width: 62%;
	aspect-ratio: 1;
	top: -8%;
	right: -10%;
	background: var(--bsc-sage);
}

.bsc-blob--b {
	width: 38%;
	aspect-ratio: 1;
	bottom: -10%;
	left: -8%;
	background: var(--bsc-butter);
	opacity: 0.7;
}

.bsc-float-sticker {
	position: absolute;
	z-index: 2;
	top: -14px;
	right: 18px;
	padding: 0.4em 0.9em;
	border: 2px solid var(--bsc-ink);
	border-radius: 999px;
	background: var(--bsc-sage-deep);
	box-shadow: 3px 3px 0 var(--bsc-ink);
	font-size: 0.94rem;
	font-weight: 800;
	transform: rotate(5deg);
}

.bsc-home--v2 .bsc-chat {
	position: relative;
	z-index: 1;
	border: 2px solid var(--bsc-ink);
	border-radius: 28px;
	box-shadow: 10px 10px 0 var(--bsc-ink);
}

.bsc-home--v2 .bsc-chat__header {
	background: #fff;
	border-bottom: 2px solid var(--bsc-ink);
}

.bsc-home--v2 .bsc-chat__avatar {
	border: 2px solid var(--bsc-ink);
	box-shadow: none;
}

.bsc-home--v2 .bsc-chat__name {
	font-family: var(--bsc-font-display, inherit);
	font-size: 1.38rem;
}

.bsc-home--v2 .bsc-chat__log {
	min-height: 300px;
	background: var(--bsc-paper);
}

.bsc-home--v2 .bsc-msg--user .bsc-msg__bubble {
	border: 2px solid var(--bsc-ink);
}

.bsc-home--v2 .bsc-chat__suggestions {
	background: var(--bsc-paper);
}

.bsc-home--v2 .bsc-chip {
	border: 1.5px solid var(--bsc-ink);
	font-weight: 700;
}

.bsc-home--v2 .bsc-chat__send {
	border: 2px solid var(--bsc-ink);
}

/* ---------- Browse by topic ---------- */

.bsc-pets {
	padding: clamp(28px, 4vw, 44px) 0;
	border-top: 2px solid var(--bsc-ink);
	border-bottom: 2px solid var(--bsc-ink);
	background: #fff;
}

.bsc .bsc-area-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr));
	gap: 12px;
	margin: 0;
	padding: 4px 4px 10px;
	list-style: none;
}

.bsc .bsc-area-tiles li {
	margin: 0;
	scroll-snap-align: start;
}

.bsc .bsc-area-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	gap: 4px;
	padding: 18px 10px 14px;
	border: 2px solid var(--bsc-ink);
	border-radius: 20px;
	background: var(--bsc-paper);
	color: var(--bsc-ink);
	text-align: center;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.bsc .bsc-area-tile:hover {
	background: var(--bsc-butter);
	box-shadow: 4px 4px 0 var(--bsc-ink);
	transform: translate(-2px, -2px);
	color: var(--bsc-ink);
}

.bsc-area-tile__emoji {
	font-size: 2.42rem;
	line-height: 1.1;
}

.bsc-area-tile__name {
	font-weight: 800;
}

.bsc-area-tile__count {
	color: var(--bsc-muted);
	font-size: 0.94rem;
}

/* ---------- How it works ---------- */

.bsc-how {
	padding: clamp(48px, 7vw, 96px) 0;
}

.bsc .bsc-steps {
	display: grid;
	gap: 18px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.bsc .bsc-step {
	position: relative;
	margin: 0;
	padding: 26px 24px 24px;
	border: 2px solid var(--bsc-ink);
	border-radius: 24px;
	background: #fff;
}

.bsc .bsc-step:nth-child(2) {
	background: var(--bsc-sage);
}

.bsc .bsc-step:nth-child(3) {
	background: var(--bsc-butter);
}

.bsc-step__num {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-bottom: 14px;
	border: 2px solid var(--bsc-ink);
	border-radius: 50%;
	background: var(--bsc-paper);
	font-family: var(--bsc-font-display, inherit);
	font-size: 1.54rem;
	font-weight: 700;
}

.bsc .bsc-step h3 {
	margin: 0 0 6px;
	font-family: var(--bsc-font-display, inherit);
	font-size: 1.49rem;
	line-height: 1.2;
}

.bsc .bsc-step p {
	margin: 0;
	color: var(--bsc-ink-soft);
}

/* ---------- Community band ---------- */

.bsc-community-band {
	padding: clamp(48px, 7vw, 88px) 0;
	background: var(--bsc-sage);
	scroll-margin-top: 80px;
}

.bsc-home--v2 .bsc-forum {
	border: 2px solid var(--bsc-ink);
	border-radius: 28px;
	box-shadow: var(--bsc-pop);
	padding: clamp(20px, 3.5vw, 36px);
}

.bsc-home--v2 .bsc-forum .bsc-section-title {
	font-family: var(--bsc-font-display, inherit);
	font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem);
	font-weight: 650;
}

.bsc-home--v2 .bsc-topic__link {
	border: 1.5px solid var(--bsc-line);
}

.bsc-home--v2 .bsc-topic__link:hover {
	border-color: var(--bsc-ink);
	box-shadow: 4px 4px 0 var(--bsc-ink);
}

.bsc-home--v2 .bsc-topic__title {
	font-size: 1.19rem;
}

/* ---------- Blog ---------- */

.bsc-home--v2 .bsc-blog {
	margin: 0;
	padding: clamp(40px, 6vw, 80px) 0;
}

.bsc-home--v2 .bsc-blog-card__link {
	border: 2px solid var(--bsc-ink);
	border-radius: 22px;
}

.bsc-home--v2 .bsc-blog-card__link:hover {
	box-shadow: var(--bsc-pop);
	transform: translate(-2px, -2px);
}

.bsc-home--v2 .bsc-blog-card__image {
	border-bottom: 2px solid var(--bsc-ink);
}

.bsc-home--v2 .bsc-blog-card__title {
	font-family: var(--bsc-font-display, inherit);
	font-size: 1.32rem;
	line-height: 1.25;
}

.bsc-blog-card__more {
	margin-top: auto;
	padding-top: 6px;
	font-weight: 800;
	color: var(--bsc-accent-strong);
}

/* ---------- FAQ ---------- */

.bsc-faq {
	padding: clamp(40px, 6vw, 80px) 0;
	border-top: 2px solid var(--bsc-ink);
	background: #fff;
}

.bsc-faq__grid {
	display: grid;
	gap: 24px;
}

.bsc .bsc-faq__item {
	border-bottom: 2px solid var(--bsc-ink);
}

.bsc .bsc-faq__item:first-child {
	border-top: 2px solid var(--bsc-ink);
}

.bsc .bsc-faq__item summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 18px 0;
	font-size: 1.19rem;
	font-weight: 800;
	cursor: pointer;
	list-style: none;
}

.bsc .bsc-faq__item summary::-webkit-details-marker {
	display: none;
}

.bsc .bsc-faq__item summary::after {
	content: "+";
	flex: none;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 2px solid var(--bsc-ink);
	border-radius: 50%;
	font-size: 1.32rem;
	line-height: 1;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.bsc .bsc-faq__item[open] summary::after {
	transform: rotate(45deg);
	background: var(--bsc-butter);
}

.bsc .bsc-faq__item p {
	margin: 0;
	padding: 0 48px 20px 0;
	color: var(--bsc-ink-soft);
}

/* ---------- CTA band ---------- */

.bsc-cta {
	padding: clamp(48px, 7vw, 88px) 0;
	background: var(--bsc-ink);
}

.bsc-cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.bsc .bsc-cta .bsc-display {
	color: var(--bsc-paper);
	max-width: 14em;
}

.bsc .bsc-cta .bsc-button {
	background: var(--bsc-butter);
	color: var(--bsc-ink);
	border-color: var(--bsc-paper);
	box-shadow: 4px 4px 0 var(--bsc-accent);
}

/* ---------- Ad slot inside the v2 page ---------- */

.bsc-home--v2 .bsc-ad {
	margin: clamp(32px, 5vw, 56px) auto 0;
}

/* ---------- Load-in motion ---------- */

@media (prefers-reduced-motion: no-preference) {
	.bsc-home--v2 .bsc-reveal {
		animation: bsc-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}

	.bsc-home--v2 .bsc-reveal:nth-child(2) {
		animation-delay: 0.12s;
	}

	.bsc-home--v2 .bsc-hero2__copy > * {
		animation: bsc-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}

	.bsc-home--v2 .bsc-hero2__copy > :nth-child(2) { animation-delay: 0.06s; }
	.bsc-home--v2 .bsc-hero2__copy > :nth-child(3) { animation-delay: 0.12s; }
	.bsc-home--v2 .bsc-hero2__copy > :nth-child(4) { animation-delay: 0.18s; }
	.bsc-home--v2 .bsc-hero2__copy > :nth-child(5) { animation-delay: 0.24s; }

	.bsc-float-sticker {
		animation: bsc-bob 4s ease-in-out infinite;
	}
}

@keyframes bsc-rise {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}

@keyframes bsc-bob {
	0%, 100% { transform: rotate(5deg) translateY(0); }
	50% { transform: rotate(3deg) translateY(-5px); }
}

/* ---------- Wide layouts ---------- */

@container (min-width: 900px) {
	.bsc .bsc-steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.bsc .bsc-step:nth-child(2) {
		transform: translateY(24px);
	}

	.bsc .bsc-area-tiles {
		grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	}

	.bsc-faq__grid {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
		gap: 48px;
	}

	.bsc-home--v2 .bsc-blog__grid {
		grid-template-columns: 1.4fr 1fr 1fr;
	}

	.bsc-home--v2 .bsc-blog-card--lead .bsc-blog-card__title {
		font-size: 1.76rem;
	}
}

/* ======================================================================
   Full-width page template: header & footer
   ====================================================================== */

body.bsc-canvas-page {
	margin: 0;
	background: #fff8ef;
}

.bsc-site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--bsc-paper);
}

.bsc-site-main {
	flex: 1;
}

.bsc .bsc-skip {
	position: absolute;
	left: -9999px;
	top: 8px;
	z-index: 100;
	padding: 8px 14px;
	background: var(--bsc-ink);
	color: #fff;
	border-radius: 8px;
}

.bsc .bsc-skip:focus {
	left: 8px;
}

.bsc-site-header {
	position: relative;
	z-index: 50;
	border-bottom: 2px solid var(--bsc-ink);
	background: var(--bsc-paper);
}

.bsc-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 68px;
}

.bsc .bsc-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--bsc-ink);
	text-decoration: none;
}

.bsc-brand__mark {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 2px solid var(--bsc-ink);
	border-radius: 12px;
	background: var(--bsc-accent);
	font-size: 20px;
	transform: rotate(-6deg);
}

.bsc-brand__name {
	font-family: var(--bsc-font-display, inherit);
	font-size: 1.59rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.bsc .bsc-brand__logo {
	display: block;
	max-height: 44px;
	width: auto;
}

.bsc .bsc-nav,
.bsc .bsc-footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bsc .bsc-nav li,
.bsc .bsc-footer-nav li {
	margin: 0;
}

.bsc .bsc-nav a,
.bsc .bsc-footer-nav a {
	color: var(--bsc-ink);
	font-weight: 800;
	text-decoration: none;
}

.bsc .bsc-nav a:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
	text-decoration-color: var(--bsc-accent);
}

.bsc-nav-desktop {
	display: none;
}

.bsc-menu {
	position: relative;
}

.bsc .bsc-menu__toggle {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 2px solid var(--bsc-ink);
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	list-style: none;
}

.bsc .bsc-menu__toggle::-webkit-details-marker {
	display: none;
}

.bsc-menu__bars,
.bsc-menu__bars::before,
.bsc-menu__bars::after {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: var(--bsc-ink);
	content: "";
}

.bsc-menu__bars {
	position: relative;
}

.bsc-menu__bars::before {
	position: absolute;
	top: -6px;
}

.bsc-menu__bars::after {
	position: absolute;
	top: 6px;
}

.bsc-menu__panel {
	position: absolute;
	right: 0;
	top: calc(100% + 10px);
	min-width: 220px;
	padding: 16px 18px;
	border: 2px solid var(--bsc-ink);
	border-radius: 18px;
	background: #fff;
	box-shadow: 5px 5px 0 var(--bsc-ink);
}

.bsc-menu__panel .bsc-nav {
	flex-direction: column;
	gap: 12px;
}

@media (min-width: 760px) {
	.bsc-nav-desktop {
		display: block;
	}

	.bsc-menu {
		display: none;
	}
}

.bsc-site-footer {
	padding: 40px 0 28px;
	border-top: 2px solid var(--bsc-ink);
	background: var(--bsc-paper);
}

.bsc-site-footer__inner {
	display: grid;
	gap: 20px;
}

.bsc-site-footer__brand {
	display: flex;
	align-items: center;
	gap: 12px;
}

.bsc .bsc-site-footer__brand p {
	margin: 0;
	color: var(--bsc-ink-soft);
	font-size: 1.09rem;
}

.bsc .bsc-site-footer__fine {
	margin: 0;
	padding-top: 16px;
	border-top: 1px solid var(--bsc-line);
	color: var(--bsc-muted);
	font-size: 0.94rem;
}

@media (min-width: 760px) {
	.bsc-site-footer__inner {
		grid-template-columns: 1fr auto;
		align-items: center;
	}

	.bsc .bsc-site-footer__fine {
		grid-column: 1 / -1;
	}
}

/* ======================================================================
   Round 2: centred hero chat, highlighted chat actions
   ====================================================================== */

.bsc-hero2__grid {
	justify-items: center;
	gap: clamp(24px, 4vw, 40px);
	text-align: center;
}

.bsc-hero2__copy {
	max-width: 860px;
}

.bsc-hero2 .bsc-lede {
	margin-left: auto;
	margin-right: auto;
}

.bsc-hero2__chat {
	width: 100%;
	max-width: 980px;
	text-align: left;
}

.bsc-hero2__more {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
}

.bsc-hero2 .bsc-promises {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 14px;
}

.bsc-hero2 .bsc-promises li {
	padding: 6px 14px 6px 6px;
	border: 1.5px solid var(--bsc-line);
	border-radius: 999px;
	background: #fff;
	font-size: 1.12rem;
}

.bsc-hero2 .bsc-promises li span {
	width: 30px;
	height: 30px;
	border: 0;
	border-radius: 50%;
	background: var(--bsc-paper);
}

.bsc-hero2 .bsc-stats-row {
	justify-content: center;
	margin: 0;
}

.bsc-hero2 .bsc-stats-row div {
	align-items: center;
}

/* Bigger chat */
.bsc-home--v2 .bsc-chat__log {
	min-height: 360px;
	max-height: min(72vh, 680px);
	padding: 22px clamp(14px, 3vw, 28px);
	gap: 16px;
}

.bsc-home--v2 .bsc-msg {
	max-width: min(88%, 680px);
}

.bsc-home--v2 .bsc-msg__bubble {
	padding: 14px 18px;
	font-size: 1.12rem;
	line-height: 1.6;
}

.bsc-home--v2 .bsc-chat__header {
	padding: 16px clamp(14px, 3vw, 24px);
}

.bsc-home--v2 .bsc-chat__form {
	padding: 14px clamp(12px, 3vw, 22px);
}

.bsc-home--v2 .bsc-chat__input {
	min-height: 54px;
	padding: 14px 18px;
	font-size: 1.16rem;
	border: 2px solid var(--bsc-ink);
	border-radius: 16px;
	background: #fff;
}

.bsc-home--v2 .bsc-chat__send {
	width: 54px;
	height: 54px;
}

@container (min-width: 900px) {
	.bsc-home--v2 .bsc-chat__log {
		min-height: 460px;
	}
}

/* "Vet-safe tips" sticker: top-left, clear of the New chat button */
.bsc-float-sticker {
	right: auto;
	left: 26px;
	transform: rotate(-4deg);
}

@media (prefers-reduced-motion: no-preference) {
	.bsc-float-sticker {
		animation-name: bsc-bob-left;
	}
}

@keyframes bsc-bob-left {
	0%, 100% { transform: rotate(-4deg) translateY(0); }
	50% { transform: rotate(-2deg) translateY(-5px); }
}

/* Highlighted "New chat" */
.bsc .bsc-chat__new {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0.4em 1.05em;
	border: 2px solid var(--bsc-ink, #17263b);
	border-radius: 999px;
	background: var(--bsc-butter, #ffd96a);
	color: var(--bsc-ink, #17263b);
	box-shadow: 3px 3px 0 var(--bsc-ink, #17263b);
	font-weight: 800;
	font-size: 1.06rem;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.bsc .bsc-chat__new::before {
	content: "+";
	font-size: 1.15em;
	line-height: 1;
}

.bsc .bsc-chat__new:hover {
	transform: translate(-1px, -1px);
	box-shadow: 4px 4px 0 var(--bsc-ink, #17263b);
	border-color: var(--bsc-ink, #17263b);
}

.bsc .bsc-chat__new:active {
	transform: translate(2px, 2px);
	box-shadow: 1px 1px 0 var(--bsc-ink, #17263b);
}

/* Highlighted "Ask other members" */
.bsc-msg__actions {
	margin-top: 10px;
	padding-left: 2px;
}

.bsc .bsc-msg__actions a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0.45em 1em;
	border: 2px solid var(--bsc-ink, #17263b);
	border-radius: 999px;
	background: var(--bsc-sage, #d6e8d6);
	color: var(--bsc-ink, #17263b);
	font-size: 1.04rem;
	font-weight: 800;
	text-decoration: none;
	box-shadow: 2px 2px 0 var(--bsc-ink, #17263b);
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.bsc .bsc-msg__actions a::before {
	content: "👥";
}

.bsc .bsc-msg__actions a:hover {
	background: var(--bsc-butter, #ffd96a);
	color: var(--bsc-ink, #17263b);
	transform: translate(-1px, -1px);
	box-shadow: 3px 3px 0 var(--bsc-ink, #17263b);
}

/* ======================================================================
   Shared bits for hub / topic / blog pages
   ====================================================================== */

.bsc .bsc-wrap--narrow {
	max-width: 760px;
}

.bsc .bsc-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 18px;
	font-size: 1.06rem;
	font-weight: 700;
	color: var(--bsc-muted);
}

.bsc .bsc-crumbs a {
	color: var(--bsc-ink);
	text-decoration: underline;
	text-decoration-color: var(--bsc-accent);
	text-underline-offset: 3px;
}

.bsc .bsc-card {
	padding: 22px;
	border: 2px solid var(--bsc-ink);
	border-radius: 22px;
	background: #fff;
}

.bsc .bsc-card + .bsc-card {
	margin-top: 18px;
}

.bsc .bsc-card--butter {
	background: var(--bsc-butter);
	box-shadow: var(--bsc-pop);
}

.bsc .bsc-card--sage {
	background: var(--bsc-sage);
}

.bsc .bsc-card p {
	margin: 0 0 14px;
	color: var(--bsc-ink-soft);
}

.bsc .bsc-card__title {
	margin: 0 0 8px;
	font-family: var(--bsc-font-display, inherit);
	font-size: 1.43rem;
	font-weight: 700;
	line-height: 1.2;
}

.bsc .bsc-card__sub {
	font-size: 1.06rem;
}

.bsc .bsc-mini-list {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bsc .bsc-mini-list li {
	margin: 0;
}

.bsc .bsc-mini-list a {
	display: flex;
	gap: 10px;
	padding: 10px 8px;
	border-radius: 12px;
	color: var(--bsc-ink);
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
}

.bsc .bsc-mini-list a:hover {
	background: var(--bsc-paper);
}

.bsc .bsc-mini-list small {
	color: var(--bsc-muted);
	font-weight: 600;
}

.bsc .bsc-rules {
	margin: 0;
	padding-left: 1.1em;
}

.bsc .bsc-rules li {
	margin: 6px 0;
}

.bsc .bsc-avatar {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 40px;
	height: 40px;
	border: 2px solid var(--bsc-ink);
	border-radius: 50%;
	background: var(--bsc-butter);
	font-weight: 800;
	font-size: 1.10rem;
}

.bsc .bsc-avatar--ai {
	background: var(--bsc-accent);
}

.bsc .bsc-badge--butter {
	background: var(--bsc-butter);
	color: var(--bsc-ink);
}

/* Prose (topic body, replies, articles) */
.bsc .bsc-prose {
	font-size: 1.19rem;
	line-height: 1.75;
	color: var(--bsc-ink);
	overflow-wrap: break-word;
}

.bsc .bsc-prose > * {
	margin-top: 0;
	margin-bottom: 1.1em;
}

.bsc .bsc-prose > :last-child {
	margin-bottom: 0;
}

.bsc .bsc-prose h2,
.bsc .bsc-prose h3,
.bsc .bsc-prose h4 {
	margin-top: 1.8em;
	margin-bottom: 0.5em;
	font-family: var(--bsc-font-display, inherit);
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.bsc .bsc-prose h2 { font-size: 1.93rem; }
.bsc .bsc-prose h3 { font-size: 1.54rem; }

.bsc .bsc-prose a {
	color: var(--bsc-accent-strong);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.bsc .bsc-prose ul,
.bsc .bsc-prose ol {
	padding-left: 1.4em;
}

.bsc .bsc-prose li {
	margin: 0.35em 0;
}

.bsc .bsc-prose img,
.bsc .bsc-prose video,
.bsc .bsc-prose iframe {
	max-width: 100%;
	height: auto;
	border-radius: 16px;
}

.bsc .bsc-prose figure {
	margin-left: 0;
	margin-right: 0;
}

.bsc .bsc-prose figcaption {
	margin-top: 8px;
	color: var(--bsc-muted);
	font-size: 1.04rem;
	text-align: center;
}

.bsc .bsc-prose blockquote {
	margin-left: 0;
	padding: 14px 20px;
	border-left: 5px solid var(--bsc-accent);
	border-radius: 0 14px 14px 0;
	background: var(--bsc-paper);
	font-family: var(--bsc-font-display, inherit);
	font-size: 1.32rem;
	line-height: 1.5;
}

.bsc .bsc-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 1.12rem;
}

.bsc .bsc-prose th,
.bsc .bsc-prose td {
	padding: 10px 12px;
	border: 1.5px solid var(--bsc-line);
	text-align: left;
}

.bsc .bsc-prose th {
	background: var(--bsc-paper);
}

/* Replies */
.bsc-replies {
	margin-top: clamp(32px, 5vw, 48px);
}

.bsc .bsc-replies__title {
	margin: 0 0 18px;
	font-family: var(--bsc-font-display, inherit);
	font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
	font-weight: 700;
}

.bsc .bsc-reply-list,
.bsc .bsc-reply-list .children {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bsc .bsc-reply-list .children {
	margin-top: 14px;
	padding-left: clamp(14px, 4vw, 36px);
	border-left: 3px solid var(--bsc-line);
}

.bsc .bsc-reply {
	margin: 0;
}

.bsc .bsc-reply__card {
	padding: 18px 20px;
	border: 2px solid var(--bsc-ink);
	border-radius: 20px;
	background: #fff;
}

.bsc .bsc-reply--ai > .bsc-reply__card {
	background: #f3f5ff;
	border-color: #3a46a8;
}

.bsc .bsc-reply--op > .bsc-reply__card {
	background: var(--bsc-paper);
}

.bsc-reply__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
}

.bsc-reply__who {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
}

.bsc .bsc-reply__time {
	color: var(--bsc-muted);
	font-size: 1.00rem;
	text-decoration: none;
}

.bsc .bsc-reply__body {
	font-size: 1.10rem;
	line-height: 1.65;
}

.bsc .bsc-reply__pending {
	margin: 0 0 8px;
	padding: 6px 10px;
	border-radius: 8px;
	background: var(--bsc-butter);
	font-size: 1.04rem;
	font-weight: 700;
}

.bsc-reply__foot {
	margin-top: 10px;
}

.bsc .bsc-reply__foot a {
	font-weight: 800;
	color: var(--bsc-accent-strong);
	text-decoration: none;
}

.bsc .bsc-reply-form {
	margin-top: 26px;
	padding: clamp(18px, 3vw, 28px);
	border: 2px solid var(--bsc-ink);
	border-radius: 22px;
	background: var(--bsc-sage);
	box-shadow: var(--bsc-pop);
}

.bsc .bsc-reply-form__title {
	margin: 0 0 6px;
	font-family: var(--bsc-font-display, inherit);
	font-size: 1.54rem;
}

.bsc .bsc-reply-form__title small {
	margin-left: 10px;
	font-family: var(--bsc-font-body, inherit);
	font-size: 1.00rem;
}

.bsc .bsc-reply-form__note,
.bsc .bsc-reply-form .logged-in-as {
	margin: 0 0 12px;
	font-size: 1.06rem;
	color: var(--bsc-ink-soft);
}

.bsc .bsc-reply-form p {
	margin: 0 0 12px;
}

.bsc .bsc-reply-form label {
	display: block;
	margin-bottom: 4px;
	font-weight: 800;
	font-size: 1.06rem;
}

.bsc .bsc-reply-form input[type="text"],
.bsc .bsc-reply-form input[type="email"],
.bsc .bsc-reply-form input[type="url"],
.bsc .bsc-reply-form textarea {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 2px solid var(--bsc-ink);
	border-radius: 14px;
	background: #fff;
	font: inherit;
	font-size: 1.10rem;
}

.bsc .bsc-reply-form .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.bsc .bsc-reply-form .comment-form-cookies-consent label {
	display: inline;
	font-weight: 600;
}

.bsc .bsc-reply-form .form-submit {
	margin: 4px 0 0;
}

/* ---------- Community hub ---------- */

.bsc-hub-hero {
	padding: clamp(32px, 6vw, 72px) 0 clamp(24px, 4vw, 40px);
	background:
		radial-gradient(900px 400px at 10% 0%, color-mix(in srgb, var(--bsc-sage) 70%, transparent), transparent 60%),
		var(--bsc-paper);
	border-bottom: 2px solid var(--bsc-ink);
}

.bsc .bsc-hub-hero__inner {
	display: grid;
	gap: 28px;
	align-items: end;
	margin-bottom: 28px;
}

.bsc-hub-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.bsc .bsc-hub-stats {
	display: flex;
	gap: 14px;
	margin: 0;
}

.bsc .bsc-hub-stats div {
	min-width: 130px;
	padding: 16px 18px;
	border: 2px solid var(--bsc-ink);
	border-radius: 20px;
	background: #fff;
	box-shadow: 4px 4px 0 var(--bsc-ink);
}

.bsc .bsc-hub-stats div:nth-child(2) {
	background: var(--bsc-butter);
	transform: rotate(2deg);
}

.bsc .bsc-hub-stats dd {
	margin: 0;
	font-family: var(--bsc-font-display, inherit);
	font-size: 2.42rem;
	font-weight: 700;
	line-height: 1;
}

.bsc .bsc-hub-stats dt {
	color: var(--bsc-ink-soft);
	font-weight: 700;
}

.bsc .bsc-area-tiles--compact .bsc-area-tile {
	flex-direction: row;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 999px;
	background: #fff;
}

.bsc .bsc-area-tiles--compact .bsc-area-tile__emoji {
	font-size: 1.54rem;
}

.bsc .bsc-hub-body {
	display: grid;
	gap: 28px;
	padding-top: clamp(28px, 5vw, 48px);
	padding-bottom: clamp(48px, 7vw, 88px);
	scroll-margin-top: 80px;
}

.bsc-hub-main,
.bsc-hub-side,
.bsc-topic-main,
.bsc-topic-side {
	min-width: 0;
}

.bsc-hub .bsc-forum {
	border: 2px solid var(--bsc-ink);
	border-radius: 28px;
	box-shadow: var(--bsc-pop);
	padding: clamp(18px, 3vw, 30px);
}

.bsc-hub .bsc-forum .bsc-section-title {
	font-family: var(--bsc-font-display, inherit);
	font-size: 1.76rem;
}

/* ---------- Topic page ---------- */

.bsc-topic-page {
	padding: clamp(24px, 5vw, 56px) 0 clamp(48px, 7vw, 88px);
}

.bsc-topic-layout {
	display: grid;
	gap: 32px;
}

.bsc .bsc-q {
	margin-bottom: 18px;
}

.bsc-q__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.bsc-q__meta,
.bsc .bsc-article__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 18px 0 0;
	color: var(--bsc-ink-soft);
}

.bsc .bsc-q__body {
	padding: clamp(18px, 3vw, 28px);
	border: 2px solid var(--bsc-ink);
	border-radius: 24px;
	background: #fff;
	box-shadow: var(--bsc-pop);
}

/* ---------- Blog ---------- */

.bsc-blog-hero {
	padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 44px);
	border-bottom: 2px solid var(--bsc-ink);
	background:
		radial-gradient(900px 420px at 90% 0%, color-mix(in srgb, var(--bsc-butter) 70%, transparent), transparent 60%),
		var(--bsc-paper);
}

.bsc .bsc-search {
	display: flex;
	gap: 10px;
	max-width: 620px;
	margin: 26px 0 0;
}

.bsc .bsc-search input {
	flex: 1;
	min-width: 0;
	min-height: 52px;
	padding: 0 18px;
	border: 2px solid var(--bsc-ink);
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-size: 1.10rem;
}

.bsc .bsc-cat-chips {
	display: flex;
	gap: 8px;
	margin-top: 20px;
	overflow-x: auto;
	padding-bottom: 4px;
}

.bsc .bsc-blog-list {
	padding-top: clamp(28px, 5vw, 56px);
	padding-bottom: clamp(40px, 6vw, 72px);
}

.bsc .bsc-post-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
}

.bsc .bsc-post-card {
	margin: 0;
}

.bsc .bsc-post-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 2px solid var(--bsc-ink);
	border-radius: 22px;
	background: #fff;
	color: var(--bsc-ink);
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.bsc .bsc-post-card__link:hover {
	transform: translate(-2px, -2px);
	box-shadow: var(--bsc-pop);
	color: var(--bsc-ink);
}

.bsc .bsc-post-card__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-bottom: 2px solid var(--bsc-ink);
	background: var(--bsc-sage);
}

.bsc-post-card__image--empty {
	display: grid !important;
	place-items: center;
	font-size: 2.64rem;
}

.bsc-post-card:nth-child(3n+2) .bsc-post-card__image--empty { background: var(--bsc-butter); }
.bsc-post-card:nth-child(3n+3) .bsc-post-card__image--empty { background: var(--bsc-accent-soft); }

.bsc-post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 16px 18px 18px;
}

.bsc-post-card__title {
	font-family: var(--bsc-font-display, inherit);
	font-size: 1.38rem;
	font-weight: 700;
	line-height: 1.25;
}

.bsc-post-card__excerpt {
	color: var(--bsc-ink-soft);
	font-size: 1.12rem;
}

.bsc-post-card__meta {
	margin-top: auto;
	padding-top: 6px;
	color: var(--bsc-muted);
	font-size: 0.97rem;
	font-weight: 700;
}

.bsc .bsc-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 36px 0 0;
	padding: 0;
	list-style: none;
}

.bsc .bsc-pagination a,
.bsc .bsc-pagination span {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 14px;
	border: 2px solid var(--bsc-ink);
	border-radius: 999px;
	background: #fff;
	color: var(--bsc-ink);
	font-weight: 800;
	text-decoration: none;
}

.bsc .bsc-pagination .current {
	background: var(--bsc-ink);
	color: var(--bsc-paper);
}

/* Article */
.bsc-article {
	padding-top: clamp(28px, 5vw, 56px);
}

.bsc .bsc-article__title {
	font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.5rem);
}

.bsc .bsc-article__hero {
	max-width: 860px;
	margin: clamp(24px, 4vw, 40px) auto;
}

/* Featured image: as wide as the reading column at most, never stretched beyond its real size. */
.bsc .bsc-article__image {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 440px;
	margin: 0 auto;
	object-fit: cover;
	border: 2px solid var(--bsc-ink);
	border-radius: 28px;
	box-shadow: var(--bsc-pop);
}

.bsc-article__hero figcaption {
	margin-top: 10px;
	color: var(--bsc-muted);
	font-size: 1.04rem;
	text-align: center;
}

.bsc-article__body {
	margin-top: 28px;
}

.bsc .bsc-ask-card {
	display: grid;
	gap: 14px;
	align-items: center;
	margin: 40px 0 24px;
	padding: 22px;
	border: 2px solid var(--bsc-ink);
	border-radius: 24px;
	background: var(--bsc-butter);
	box-shadow: var(--bsc-pop);
}

.bsc .bsc-ask-card p {
	margin: 0;
	color: var(--bsc-ink-soft);
}

.bsc-ask-card__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 2px solid var(--bsc-ink);
	border-radius: 16px;
	background: var(--bsc-accent);
	font-size: 26px;
}

.bsc .bsc-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bsc-related {
	margin-top: clamp(40px, 6vw, 72px);
	padding: clamp(40px, 6vw, 72px) 0;
	border-top: 2px solid var(--bsc-ink);
	background: var(--bsc-sage);
}

.bsc-related .bsc-post-grid {
	margin-top: 24px;
}

.bsc-blogx .bsc-replies {
	padding-bottom: clamp(40px, 6vw, 72px);
}

/* ---------- Wide layouts ---------- */

@container (min-width: 900px) {
	.bsc-hub-hero__inner {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.bsc-hub-body,
	.bsc-topic-layout {
		grid-template-columns: minmax(0, 1fr) 330px;
		align-items: start;
	}

	.bsc .bsc-area-tiles--compact {
		display: flex;
		flex-wrap: wrap;
	}

	.bsc-post-grid .bsc-post-card--lead {
		grid-column: 1 / -1;
	}

	.bsc-post-card--lead .bsc-post-card__link {
		flex-direction: row;
	}

	.bsc-post-card--lead .bsc-post-card__image {
		width: 56%;
		aspect-ratio: auto;
		min-height: 340px;
		border-bottom: 0;
		border-right: 2px solid var(--bsc-ink);
	}

	.bsc-post-card--lead .bsc-post-card__body {
		justify-content: center;
		padding: 32px;
	}

	.bsc-post-card--lead .bsc-post-card__title {
		font-size: 2.31rem;
	}

	.bsc .bsc-ask-card {
		grid-template-columns: auto 1fr auto;
	}
}

/* ---------- Contact page ---------- */

.bsc-contact-hero {
	padding: clamp(36px, 6vw, 72px) 0 clamp(24px, 4vw, 36px);
	background:
		radial-gradient(900px 420px at 85% 0%, color-mix(in srgb, var(--bsc-accent) 14%, transparent), transparent 60%),
		var(--bsc-paper);
}

.bsc .bsc-emergency {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0 0 clamp(24px, 4vw, 36px);
	padding: 16px 20px;
	border: 2px solid var(--bsc-ink);
	border-radius: 18px;
	background: #fff1c7;
}

.bsc .bsc-emergency p {
	margin: 0;
	line-height: 1.55;
}

.bsc-emergency__icon {
	font-size: 1.76rem;
	line-height: 1;
}

.bsc .bsc-contact-body {
	display: grid;
	gap: 28px;
	padding-bottom: clamp(40px, 6vw, 72px);
}

.bsc-contact-main,
.bsc-contact-side {
	min-width: 0;
}

.bsc .bsc-contact-card {
	padding: clamp(20px, 3.5vw, 36px);
	border: 2px solid var(--bsc-ink);
	border-radius: 28px;
	background: #fff;
	box-shadow: var(--bsc-pop);
}

.bsc .bsc-contact-card__title {
	margin-bottom: 18px;
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

.bsc-contact .bsc-form input[type="text"],
.bsc-contact .bsc-form input[type="email"],
.bsc-contact .bsc-form textarea {
	border: 2px solid var(--bsc-ink);
	border-radius: 14px;
	min-height: 50px;
	font-size: 1.12rem;
}

.bsc-contact .bsc-form textarea {
	min-height: 160px;
}

.bsc .bsc-topic-picker {
	margin: 0;
	padding: 0;
	border: 0;
}

.bsc .bsc-topic-picker legend {
	margin-bottom: 8px;
	padding: 0;
	font-weight: 800;
	font-size: 1.06rem;
}

.bsc-topic-picker__options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bsc .bsc-topic-option {
	position: relative;
	cursor: pointer;
}

.bsc .bsc-topic-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.bsc .bsc-topic-option span {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0.4em 1em;
	border: 2px solid var(--bsc-ink);
	border-radius: 999px;
	background: #fff;
	font-size: 1.06rem;
	font-weight: 700;
	transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.bsc .bsc-topic-option input:checked + span {
	background: var(--bsc-butter);
	box-shadow: 3px 3px 0 var(--bsc-ink);
}

.bsc .bsc-topic-option input:focus-visible + span {
	box-shadow: var(--bsc-focus);
}

.bsc .bsc-form__fine {
	margin: 0;
	color: var(--bsc-muted);
	font-size: 1.00rem;
}

.bsc .bsc-form__fine a {
	color: inherit;
}

.bsc .bsc-contact-list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bsc .bsc-contact-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-weight: 700;
}

.bsc .bsc-contact-list a {
	color: var(--bsc-ink);
	overflow-wrap: anywhere;
}

.bsc .bsc-contact-address {
	margin: 0 0 10px;
	font-style: normal;
	line-height: 1.6;
}

.bsc .bsc-contact-subtitle {
	margin: 18px 0 6px;
	font-size: 1.10rem;
	font-weight: 800;
}

.bsc .bsc-contact-hours {
	margin: 0;
	line-height: 1.7;
}

.bsc .bsc-contact-map {
	padding-bottom: clamp(48px, 7vw, 88px);
}

.bsc .bsc-contact-map iframe {
	display: block;
	width: 100%;
	height: clamp(280px, 40vw, 420px);
	border: 2px solid var(--bsc-ink);
	border-radius: 28px;
	box-shadow: var(--bsc-pop);
}

/* Wrapped form plugins: give common fields the same look. */
.bsc-contact-custom input[type="text"],
.bsc-contact-custom input[type="email"],
.bsc-contact-custom input[type="tel"],
.bsc-contact-custom textarea,
.bsc-contact-custom select {
	width: 100%;
	padding: 12px 14px;
	border: 2px solid var(--bsc-ink, #1d2b24);
	border-radius: 14px;
	font: inherit;
}

.bsc-contact-custom input[type="submit"],
.bsc-contact-custom button[type="submit"] {
	padding: 0.7em 1.6em;
	border: 2px solid var(--bsc-ink, #1d2b24);
	border-radius: 999px;
	background: var(--bsc-accent);
	color: #fff;
	font: inherit;
	font-weight: 800;
	box-shadow: 3px 3px 0 var(--bsc-ink, #1d2b24);
	cursor: pointer;
}

@container (min-width: 900px) {
	.bsc .bsc-contact-body {
		grid-template-columns: minmax(0, 1fr) 360px;
		align-items: start;
	}
}

.bsc .bsc-contact-ad .bsc-ad {
	margin-top: 0;
	margin-bottom: clamp(40px, 6vw, 72px);
}

.bsc .bsc-badge--team {
	background: var(--bsc-ink, #1d2b24);
	color: var(--bsc-paper, #fff8ef);
}

.bsc .bsc-reply--team > .bsc-reply__card {
	background: var(--bsc-paper, #fff8ef);
	box-shadow: 4px 4px 0 var(--bsc-ink, #1d2b24);
}

/* Narrow phones: the "New chat" button drops below the assistant name instead of squeezing it. */
@media (max-width: 480px) {
	.bsc .bsc-chat__header {
		flex-wrap: wrap;
	}
	.bsc .bsc-chat__who {
		flex: 1 1 200px;
		min-width: 0;
	}
	.bsc .bsc-chat__new {
		margin-left: auto;
	}
}

/* Topic filter on phones (kept last so it wins over the general filter styles). */
@media (max-width: 640px) {
	.bsc .bsc-filters__areas {
		display: none;
	}
	.bsc .bsc-filters__tools {
		flex-wrap: wrap;
		align-items: center;
	}
	.bsc .bsc-filters__area-label {
		display: block;
		flex: 0 0 auto;
		font-weight: 700;
	}
	.bsc .bsc-filters__area-select {
		display: block;
		flex: 1 1 0%;
		width: auto;
		min-width: 0;
	}
	.bsc .bsc-filters__tools input[type="search"] {
		flex: 1 1 100%;
		order: 3;
	}
	.bsc .bsc-filters__tools [data-bsc-sort] {
		flex: 1 1 100%;
		width: 100%;
		order: 4;
	}
}

/* ---------- Homepage on phones (larger default text sizes on many Android phones) ---------- */

/* Headline text always sits above the decorative circles. */
.bsc-hero2__copy {
	position: relative;
	z-index: 2;
}

.bsc-hero2 .bsc-promises li {
	text-align: left;
}

@media (max-width: 640px) {
	/* The decorative circles crowd the text on small screens. */
	.bsc-hero2 .bsc-blob {
		display: none;
	}

	/* No big empty gap above the suggestions; the log grows as the conversation does. */
	.bsc-home--v2 .bsc-chat__log {
		min-height: 0;
	}

	/* Suggested questions wrap onto full lines instead of running off the screen. */
	.bsc .bsc-chat__suggestions {
		flex-direction: column;
		overflow: visible;
	}

	.bsc .bsc-chat__suggestions .bsc-chip {
		justify-content: flex-start;
		white-space: normal;
		text-align: left;
		line-height: 1.35;
		border-radius: 18px;
	}

	/* The message box has room for a two-line placeholder at large text sizes. */
	.bsc .bsc-chat__input {
		min-height: 3.4em;
	}

	/* Promise pills: icon and text read as one line, left-aligned. */
	.bsc-hero2 .bsc-promises {
		width: 100%;
	}

	.bsc-hero2 .bsc-promises li {
		display: flex;
		align-items: center;
		gap: 12px;
		width: 100%;
		border-radius: 18px;
	}
}

/* Keep the green "online" dot next to the first line when the status text wraps. */
.bsc .bsc-chat__status {
	align-items: flex-start;
}

.bsc .bsc-chat__status .bsc-dot {
	flex: none;
	margin-top: .45em;
}
