/**
 * Joy's launcher and chat panel. Brand tokens from tokens.css only.
 */

.seymour-joy-launcher {
	align-items: center;
	background: var(--footer-bg);
	border: 1px solid var(--footer-gold);
	border-radius: 999px;
	bottom: calc(var(--call-bar-height) + var(--space-4) + env(safe-area-inset-bottom, 0px));
	box-shadow: 0 4px 16px rgba(10, 22, 40, 0.25);
	color: var(--white);
	cursor: pointer;
	display: flex;
	font-family: var(--font-sans);
	font-size: var(--fs-button);
	font-weight: var(--weight-medium);
	gap: var(--space-2);
	min-height: var(--touch-target);
	padding: var(--space-1) var(--space-4) var(--space-1) var(--space-1);
	position: fixed;
	right: max(var(--space-4), env(safe-area-inset-right, 0px));
	/* Above the search page's pinned bar (500), its Map button (900) and the map's own controls
	 * (1000 to 1002), below the sign-up dialog (10000). At 95 the search bar drew over Joy on
	 * /homes (Jethro, October 24, 2026). */
	z-index: 1100;
}

.seymour-joy-launcher:hover,
.seymour-joy-launcher:focus-visible {
	background: var(--navy);
}

.seymour-joy-launcher:focus-visible,
.seymour-joy button:focus-visible,
.seymour-joy a:focus-visible,
.seymour-joy textarea:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 2px;
}

.seymour-joy-avatar {
	align-items: center;
	background: var(--gold);
	border-radius: 50%;
	color: var(--footer-bg);
	display: inline-flex;
	flex: none;
	font-family: var(--font-serif);
	font-size: 18px;
	font-weight: var(--weight-semibold);
	height: 36px;
	justify-content: center;
	overflow: hidden;
	width: 36px;
}

.seymour-joy-avatar img {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	width: 100%;
}

body.seymour-joy-open .seymour-joy-launcher {
	display: none;
}

.seymour-joy {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 8px;
	bottom: calc(var(--call-bar-height) + var(--space-4) + env(safe-area-inset-bottom, 0px));
	box-shadow: 0 12px 40px rgba(10, 22, 40, 0.25);
	color: var(--ink);
	display: flex;
	flex-direction: column;
	font-family: var(--font-sans);
	font-size: 16px;
	max-height: min(640px, calc(100vh - var(--call-bar-height) - 48px));
	overflow: hidden;
	position: fixed;
	right: max(var(--space-4), env(safe-area-inset-right, 0px));
	width: min(400px, calc(100vw - 32px));
	z-index: 1101;
}

.seymour-joy[hidden] {
	display: none;
}

@media (min-width: 900px) {
	.seymour-joy-launcher,
	.seymour-joy {
		bottom: var(--space-5);
		right: 64px; /* clear of the Enquire tab on the right edge */
	}
}

.seymour-joy__head {
	align-items: center;
	background: var(--footer-bg);
	border-bottom: 2px solid var(--gold);
	color: var(--white);
	display: flex;
	gap: var(--space-3);
	padding: var(--space-3) var(--space-4);
}

.seymour-joy__who {
	flex: 1;
	min-width: 0;
}

.seymour-joy__name {
	font-family: var(--font-serif);
	font-size: 18px;
	margin: 0;
}

.seymour-joy__role {
	color: var(--footer-muted);
	font-size: 13px;
	margin: 0;
}

.seymour-joy__close {
	background: none;
	border: 0;
	color: var(--white);
	cursor: pointer;
	font-size: 28px;
	line-height: 1;
	min-height: var(--touch-target);
	min-width: var(--touch-target);
}

.seymour-joy__log {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: var(--space-3);
	min-height: 160px;
	overflow-y: auto;
	padding: var(--space-4);
}

.seymour-joy-msg {
	line-height: 1.45;
	max-width: 88%;
	overflow-wrap: anywhere;
}

.seymour-joy-msg p {
	margin: 0 0 var(--space-2);
}

.seymour-joy-msg p:last-child {
	margin-bottom: 0;
}

.seymour-joy-msg--joy {
	align-self: flex-start;
	background: var(--navy-100);
	border-radius: 2px 12px 12px 12px;
	padding: var(--space-3) var(--space-4);
}

.seymour-joy-msg--you {
	align-self: flex-end;
	background: var(--navy);
	border-radius: 12px 2px 12px 12px;
	color: var(--white);
	padding: var(--space-3) var(--space-4);
	white-space: pre-wrap;
}

.seymour-joy-msg--card {
	align-self: stretch;
	max-width: 100%;
}

.seymour-joy-msg a {
	color: var(--navy);
}

/* Listing cards inside the chat: the search page's card, made compact. */
.seymour-joy-msg--card .seymour-mls-card {
	border: 1px solid var(--line);
	border-radius: 6px;
	display: grid;
	grid-template-columns: 112px 1fr;
	overflow: hidden;
}

.seymour-joy-msg--card .seymour-mls-card__link {
	color: inherit;
	display: block;
	min-width: 0;
	text-decoration: none;
}

/* Joy's cards keep one photo: no swipe, no heart, no tags (October 23, 2026). */
.seymour-joy-msg--card .seymour-mls-card__slides > :not(:first-child),
.seymour-joy-msg--card .seymour-mls-card__heart,
.seymour-joy-msg--card .seymour-mls-card__nav,
.seymour-joy-msg--card .seymour-mls-card__tags,
.seymour-joy-msg--card .seymour-mls-card__open {
	display: none;
}

.seymour-joy-msg--card .seymour-mls-card__slides {
	display: block;
	height: 100%;
}

.seymour-joy-msg--card .seymour-mls-card__photo {
	aspect-ratio: auto;
	min-height: 100%;
	position: relative;
}

.seymour-joy-msg--card .seymour-mls-card__photo img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.seymour-joy-msg--card .seymour-mls-card__count {
	display: none;
}

.seymour-joy-msg--card .seymour-mls-card__body {
	min-width: 0;
	padding: var(--space-2) var(--space-3);
}

.seymour-joy-msg--card .seymour-mls-card__price {
	font-weight: var(--weight-semibold);
	margin: 0;
}

.seymour-joy-msg--card .seymour-mls-card__address {
	font-family: var(--font-sans);
	font-size: 15px;
	margin: 0;
}

.seymour-joy-msg--card .seymour-mls-card__place,
.seymour-joy-msg--card .seymour-mls-card__facts,
.seymour-joy-msg--card .seymour-mls-card__meta {
	color: var(--grey-600);
	font-size: 13px;
	margin: 0;
}

.seymour-joy-msg--card .seymour-mls-card__meta span + span::before {
	content: " · ";
}

.seymour-joy-card {
	background: var(--cream);
	border: 1px solid var(--line);
	border-radius: 6px;
	font-size: 14px;
	padding: var(--space-3) var(--space-4);
}

.seymour-joy-card p {
	margin: 0 0 var(--space-2);
}

.seymour-joy-card__title {
	text-wrap: balance; /* no word left alone on the last line (Jethro, October 23, 2026) */
	font-weight: var(--weight-semibold);
}

.seymour-joy-card table {
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
	width: 100%;
}

.seymour-joy-card th,
.seymour-joy-card td {
	border-bottom: 1px solid var(--line);
	font-weight: var(--weight-regular);
	padding: 4px 0;
	text-align: left;
}

.seymour-joy-card td {
	text-align: right;
}

.seymour-joy-card__note {
	color: var(--grey-600);
	font-size: 12px;
	margin-top: var(--space-2);
}

.seymour-joy-card__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
}

/* The statistics card is the site's own block; keep it inside the panel's width. */
.seymour-joy-card--stats {
	overflow-x: auto;
}

.seymour-joy-button,
.seymour-joy-chip {
	background: var(--white);
	border: 1px solid var(--navy);
	border-radius: 999px;
	color: var(--navy);
	cursor: pointer;
	font-family: var(--font-sans);
	font-size: 14px;
	font-weight: var(--weight-medium);
	min-height: 36px;
	padding: 6px 14px;
}

.seymour-joy-button {
	background: var(--footer-bg);
	color: var(--white);
}

.seymour-joy-button--quiet {
	background: var(--white);
	color: var(--navy);
}

.seymour-joy-button:disabled {
	opacity: 0.5;
}

.seymour-joy-chip:hover,
.seymour-joy-button--quiet:hover {
	background: var(--navy-100);
}

.seymour-joy__chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	padding: 0 var(--space-4) var(--space-2);
}

.seymour-joy__chips:empty {
	display: none;
}

.seymour-joy__form {
	align-items: flex-end;
	border-top: 1px solid var(--line);
	display: flex;
	gap: var(--space-2);
	padding: var(--space-3) var(--space-4);
}

.seymour-joy__input {
	border: 1px solid var(--line);
	border-radius: 6px;
	flex: 1;
	font: inherit;
	box-sizing: border-box;
	font-size: 16px; /* 16 px or more, so phones don't zoom in */
	height: var(--touch-target);
	line-height: 22px;
	min-height: var(--touch-target); /* the site gives every text box 140 px; this one starts at one line */
	max-height: 110px; /* four lines, then it scrolls */
	overflow-y: hidden;
	padding: 10px 12px;
	resize: none;
}

/* After each reply, a gentle gold glow invites the next question; it stops once they type. */
.seymour-joy__input.is-inviting {
	animation: seymour-joy-invite 1.8s ease-in-out 3;
	border-color: var(--gold);
}

@keyframes seymour-joy-invite {
	0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.55); }
	50% { box-shadow: 0 0 0 5px rgba(201, 168, 76, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.seymour-joy__input.is-inviting {
		animation: none;
	}
}

.seymour-joy__send {
	background: var(--gold);
	border: 0;
	border-radius: 6px;
	color: var(--footer-bg);
	cursor: pointer;
	font-weight: var(--weight-semibold);
	min-height: var(--touch-target);
	padding: 0 var(--space-4);
}

.seymour-joy__send:disabled {
	opacity: 0.5;
}

.seymour-joy__hp {
	height: 1px;
	left: -9999px;
	overflow: hidden;
	position: absolute;
	width: 1px;
}

.seymour-joy__foot {
	color: var(--grey-600);
	font-size: 11px;
	margin: 0;
	padding: 0 var(--space-4) var(--space-2);
}

.seymour-joy__foot a {
	color: inherit;
}

.seymour-joy-typing {
	align-self: flex-start;
	display: flex;
	gap: 4px;
	padding: var(--space-2) var(--space-3);
}

.seymour-joy-typing span {
	animation: seymour-joy-dot 1s infinite ease-in-out;
	background: var(--grey-600);
	border-radius: 50%;
	height: 6px;
	width: 6px;
}

.seymour-joy-typing span:nth-child(2) {
	animation-delay: 0.15s;
}

.seymour-joy-typing span:nth-child(3) {
	animation-delay: 0.3s;
}

@keyframes seymour-joy-dot {
	0%, 80%, 100% { opacity: 0.3; }
	40% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
	.seymour-joy-typing span {
		animation: none;
		opacity: 0.6;
	}
}

@media (max-width: 899px) {
	.seymour-joy {
		bottom: 0;
		border-radius: 8px 8px 0 0;
		left: 0;
		max-height: 85vh;
		right: 0;
		width: 100%;
	}
}

/* On phones the panel takes the bottom of the screen, so the call bar steps aside while it is open. */
body.seymour-joy-open .seymour-call-bar {
	display: none;
}

@media (max-width: 899px) {
	.seymour-joy__foot {
		padding-bottom: max(var(--space-2), env(safe-area-inset-bottom, 0px));
	}
}

.seymour-joy-card--places ul {
	margin: 0;
	padding-left: 18px;
}

/* ------------------------------------------------------------------
 * Joy's photo, larger than its frame (Kaz, October 22, 2026): on the launcher it spills past the
 * pill's top, bottom and left edges; in the panel it rises over the top border. Each sits in a
 * gold ring. The panel lets it out (overflow visible) and the navy header keeps the round corners.
 * ------------------------------------------------------------------ */

.seymour-joy-launcher {
	padding-left: var(--space-2);
}

.seymour-joy-launcher .seymour-joy-avatar {
	border: 2px solid var(--footer-gold);
	box-shadow: 0 4px 12px rgba(10, 22, 40, 0.3);
	box-sizing: border-box;
	height: 60px;
	margin: -10px 0 -10px -16px;
	width: 60px;
}

.seymour-joy {
	overflow: visible;
}

.seymour-joy__head {
	border-radius: 7px 7px 0 0;
	padding-left: calc(var(--space-4) + 72px + var(--space-4));
	position: relative;
}

.seymour-joy__head .seymour-joy-avatar {
	border: 3px solid var(--footer-gold);
	box-shadow: 0 6px 16px rgba(10, 22, 40, 0.3);
	box-sizing: border-box;
	height: 72px;
	left: var(--space-4);
	position: absolute;
	top: -26px;
	width: 72px;
}

@media (max-width: 899px) {
	/* The phone panel fills the width; the photo still rises over its top edge. */
	.seymour-joy__head {
		border-radius: 7px 7px 0 0;
	}
}

/* Joy's moods (assistant.js). A clip, when one exists, sits over the still portrait. */
.seymour-joy-avatar {
	position: relative;
}

.seymour-joy-avatar video {
	border-radius: 50%;
	height: 100%;
	inset: 0;
	object-fit: cover;
	object-position: center top;
	position: absolute;
	width: 100%;
}

/* Thinking: a soft gold ring pulses around her picture in the header. */
.seymour-joy.is-thinking .seymour-joy__head .seymour-joy-avatar {
	animation: seymour-joy-think 1.4s ease-in-out infinite;
}

@keyframes seymour-joy-think {
	0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.7); }
	50% { box-shadow: 0 0 0 6px rgba(201, 168, 76, 0); }
}

/* Hello: a small bounce when the chat opens. */
.seymour-joy-avatar.is-hello {
	animation: seymour-joy-hello 0.6s ease-out 1;
}

@keyframes seymour-joy-hello {
	0% { transform: translateY(0) rotate(0); }
	30% { transform: translateY(-4px) rotate(-6deg); }
	60% { transform: translateY(0) rotate(4deg); }
	100% { transform: translateY(0) rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
	.seymour-joy.is-thinking .seymour-joy__head .seymour-joy-avatar,
	.seymour-joy-avatar.is-hello {
		animation: none;
	}

	.seymour-joy-avatar video {
		display: none;
	}
}

/* The chat's own statistics card: last month, the twelve months, a monthly bar chart. */
.seymour-joy-stat {
	line-height: 1.4;
	margin: 0 0 var(--space-2);
}

.seymour-joy-stat__label {
	color: var(--gold-700);
	display: block;
	font-size: 12px;
	font-weight: var(--weight-semibold);
	letter-spacing: var(--tracking-eyebrow);
	text-transform: uppercase;
}

.seymour-joy-bars {
	align-items: flex-end;
	display: grid;
	gap: 3px;
	grid-template-columns: repeat(12, 1fr);
	height: 64px;
	margin: var(--space-3) 0 var(--space-1);
}

.seymour-joy-bar {
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-width: 0;
}

.seymour-joy-bar > span {
	background: var(--navy);
	border-radius: 2px 2px 0 0;
	display: block;
	opacity: 0.55;
	width: 100%;
}

.seymour-joy-bar.is-last > span {
	background: var(--gold);
	opacity: 1;
}

.seymour-joy-bar em {
	color: var(--grey-600);
	font-size: 10px;
	font-style: normal;
	line-height: 1.4;
}

/* One look for every card (Jethro, October 22, 2026: like the statistics card). */
.seymour-joy-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-top: 3px solid var(--gold);
	border-radius: 6px;
	padding: var(--space-3) var(--space-4);
}

.seymour-joy-card__title {
	color: var(--navy);
	font-family: var(--font-serif);
	font-size: 17px;
	margin: 0 0 var(--space-2);
}

.seymour-joy-card__from {
	color: var(--grey-600);
	font-size: 13px;
	margin: -4px 0 var(--space-2);
}

.seymour-joy-stat__detail {
	color: var(--grey-600);
	display: block;
	font-size: 13px;
}

.seymour-joy-place {
	align-items: baseline;
	border-bottom: 1px solid var(--line);
	display: flex;
	gap: var(--space-3);
	justify-content: space-between;
	margin: 0;
	padding: 6px 0;
}

.seymour-joy-place:last-of-type {
	border-bottom: 0;
}

.seymour-joy-place strong {
	font-weight: var(--weight-medium);
	min-width: 0;
}

.seymour-joy-place span {
	color: var(--navy);
	flex: none;
	font-weight: var(--weight-semibold);
	text-align: right;
}

.seymour-joy-place em {
	color: var(--grey-600);
	display: block;
	font-size: 12px;
	font-style: normal;
	font-weight: var(--weight-regular);
}

.seymour-joy-card--places ul {
	display: none;
}

/* Listing cards in the chat: the same frame, photo on the left. */
.seymour-joy-msg--card .seymour-mls-card {
	border-top: 3px solid var(--gold);
}

.seymour-joy-msg--card .seymour-mls-card__price {
	color: var(--navy);
	font-size: 16px;
}

/* Hover and focus inside the panel: GeneratePress turns every button white on grey on hover,
   which made the chips unreadable (Jethro, October 22, 2026). The panel sets its own. */
.seymour-joy .seymour-joy-chip:hover,
.seymour-joy .seymour-joy-chip:focus-visible,
.seymour-joy .seymour-joy-button--quiet:hover,
.seymour-joy .seymour-joy-button--quiet:focus-visible {
	background: var(--navy-100);
	border-color: var(--navy);
	color: var(--navy);
}

.seymour-joy .seymour-joy-chip:active {
	background: var(--footer-bg);
	color: var(--white);
}

.seymour-joy .seymour-joy-button:not(.seymour-joy-button--quiet):hover,
.seymour-joy .seymour-joy-button:not(.seymour-joy-button--quiet):focus-visible {
	background: var(--gold);
	border-color: var(--gold);
	color: var(--footer-bg);
}

.seymour-joy .seymour-joy__send:hover,
.seymour-joy .seymour-joy__send:focus-visible {
	background: var(--gold-hover, var(--gold-200));
	color: var(--footer-bg);
}

.seymour-joy .seymour-joy__close:hover,
.seymour-joy .seymour-joy__close:focus-visible {
	background: none;
	color: var(--gold);
}

.seymour-joy-place strong em {
	color: var(--grey-600);
	display: block;
	font-size: 12px;
	font-style: normal;
	font-weight: var(--weight-regular);
}

.seymour-joy-card__links {
	font-size: 13px;
	margin: var(--space-2) 0 0;
}

/* EQAO results under a school, and client reviews. */
.seymour-joy-place.has-detail {
	border-bottom: 0;
	padding-bottom: 2px;
}

.seymour-joy-eqao {
	border-bottom: 1px solid var(--line);
	color: var(--grey-600);
	font-size: 12px;
	line-height: 1.45;
	margin: 0;
	padding: 0 0 6px;
}

.seymour-joy-eqao span {
	color: var(--gold-700);
	font-weight: var(--weight-semibold);
	letter-spacing: 0.04em;
}

.seymour-joy-review {
	border-left: 3px solid var(--gold);
	margin: 0 0 var(--space-3);
	padding: 0 0 0 var(--space-3);
}

.seymour-joy-review p {
	font-family: var(--font-serif);
	font-size: 15px;
	font-style: italic;
	line-height: 1.45;
	margin: 0 0 var(--space-1);
}

.seymour-joy-review footer {
	font-size: 13px;
}

.seymour-joy-review footer span {
	color: var(--grey-600);
	display: block;
	font-size: 12px;
}

/* Call times: a grid of buttons; the one picked stays navy. */
.seymour-joy-card--times .seymour-joy-card__buttons {
	display: grid;
	gap: var(--space-2);
	grid-template-columns: 1fr 1fr;
}

.seymour-joy .seymour-joy-slot {
	border-radius: 6px;
	font-size: 13px;
	padding: 8px 10px;
	text-align: left;
}

.seymour-joy .seymour-joy-slot.is-picked,
.seymour-joy .seymour-joy-slot.is-picked:disabled {
	background: var(--navy);
	color: var(--white);
	opacity: 1;
}

.seymour-joy .seymour-joy-slot:disabled:not(.is-picked) {
	opacity: 0.45;
}

/* "Email me this" under a card, and the email form. */
.seymour-joy .seymour-joy-emailme {
	background: none;
	border: 0;
	color: var(--navy);
	cursor: pointer;
	font-size: 13px;
	margin: 4px 0 0;
	padding: 2px 0;
	text-decoration: underline;
}

.seymour-joy .seymour-joy-emailme:hover {
	background: none;
	color: var(--gold-700);
}

.seymour-joy-emailform label {
	display: block;
	font-size: 13px;
	margin: 0 0 var(--space-2);
}

.seymour-joy-emailform input[type="email"],
.seymour-joy-emailform input[type="text"] {
	border: 1px solid var(--line);
	border-radius: 6px;
	box-sizing: border-box;
	display: block;
	font-size: 16px;
	margin-top: 2px;
	min-height: 40px;
	padding: 6px 10px;
	width: 100%;
}

.seymour-joy-emailform .seymour-joy-check {
	align-items: flex-start;
	display: flex;
	gap: 8px;
}

.seymour-joy-emailform .seymour-joy-check input {
	margin-top: 3px;
}

/* The home snapshot's section heads. */
.seymour-joy-snap__head {
	border-top: 1px solid var(--line);
	margin: var(--space-3) 0 0;
	padding-top: var(--space-2);
}

/* ------------------------------------------------------------------
 * Joy cut out, with no circle (Kaz, October 23, 2026): a bit bigger, her figure sitting on the
 * navy strip, in the chat header and on the Ask Joy button. The still and the clips are the same
 * cut-out, so nothing changes behind her when a clip starts or stops.
 * ------------------------------------------------------------------ */
.seymour-joy-avatar,
.seymour-joy-launcher .seymour-joy-avatar,
.seymour-joy__head .seymour-joy-avatar {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	filter: drop-shadow(0 3px 6px rgba(10, 22, 40, 0.35));
	overflow: visible;
}

.seymour-joy-avatar img,
.seymour-joy-avatar video {
	border-radius: 0;
	object-fit: contain;
	object-position: center bottom;
}

.seymour-joy__head {
	min-height: 64px;
	padding-left: 124px; /* her figure is narrower than its square frame */
}

/* She rises well over the strip's top edge (Kaz, October 23, 2026). */
.seymour-joy__head .seymour-joy-avatar {
	bottom: 0;
	height: 140px;
	left: -6px;
	top: auto;
	width: 140px;
}

.seymour-joy-launcher {
	overflow: visible;
	padding-left: calc(56px + var(--space-2));
}

.seymour-joy-launcher .seymour-joy-avatar {
	bottom: 0;
	height: 64px;
	left: 4px;
	margin: 0;
	position: absolute;
	width: 64px;
}

/* Thinking, when there is no clip: a soft gold glow round her instead of a ring. */
.seymour-joy.is-thinking .seymour-joy__head .seymour-joy-avatar {
	animation: seymour-joy-glow 1.4s ease-in-out infinite;
}

@keyframes seymour-joy-glow {
	0%, 100% { filter: drop-shadow(0 3px 6px rgba(10, 22, 40, 0.35)); }
	50% { filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.9)); }
}

/* Her name and role larger and brighter in the header (Kaz, October 23, 2026). */
.seymour-joy__name {
	color: var(--footer-gold);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
}

.seymour-joy__role {
	color: rgba(255, 255, 255, 0.85);
	font-size: 15px;
	line-height: 1.25; /* its two lines sit close together (Kaz, October 23, 2026) */
	margin-top: 2px;
}

/* The header's name and title (Jethro, October 23, 2026): "Joy" fully inside the strip and
   "The Seymour Team's AI assistant" on one line beside Kaz's larger cut-out figure. */
.seymour-joy__head {
	align-items: center;
	min-height: 78px;
	padding-bottom: var(--space-3);
	padding-right: var(--space-2);
	padding-top: var(--space-3);
}

.seymour-joy__who {
	display: flex;
	flex-direction: column;
	gap: 2px;
	justify-content: center;
}

.seymour-joy__name {
	font-size: 22px;
	line-height: 1.15;
}

.seymour-joy__role {
	font-size: 14px;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.seymour-joy__close {
	min-width: 36px;
}

@media (max-width: 380px) {
	.seymour-joy__role {
		font-size: 13px;
	}
}

/* Joy and her name further left, so the header balances: her figure starts near the panel's left
 * edge as the close button sits near its right, and the title gets the room to show in full
 * (Kaz, October 23, 2026). */
/* Three lines beside her (Kaz, October 23, 2026): "Joy", "The Seymour Team's", "AI assistant",
 * with Joy a little further in from the panel's left edge and even space above and below. */
.seymour-joy__head {
	padding-bottom: var(--space-3);
	padding-left: 139px; /* the gap from her figure to the text matches the gap from the text to the ✕ */
	padding-top: var(--space-3);
}

.seymour-joy__head .seymour-joy-avatar {
	left: 10px;
}

/* One line at 13 px (Kaz, October 23, 2026), as Jethro had it. */
.seymour-joy__head .seymour-joy__role {
	font-size: 13px;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* A bit smaller beside the smaller label (Kaz, October 23, 2026). */
.seymour-joy__head .seymour-joy-avatar {
	height: 120px;
	width: 120px;
}

.seymour-joy__role-line {
	display: inline;
}

/* The ✕ keeps its 44 px touch target without extra padding, so the title fits beside it. */
.seymour-joy__head .seymour-joy__close {
	min-width: 44px;
	padding-left: 0;
	padding-right: 0;
	width: 44px;
}

/* Joy's panel edged in gold, and her buttons in the navy standard (Kaz, October 23, 2026): navy with
 * white words and gold on hover. The round answer chips carry a thin gold outline instead of the
 * bottom band; Send keeps the band like every other navy button. */
.seymour-joy {
	border-color: var(--footer-gold);
}

.seymour-joy .seymour-joy-chip,
.seymour-joy .seymour-joy-button--quiet {
	background: var(--footer-bg);
	border: 1px solid var(--footer-gold);
	color: var(--white);
}

.seymour-joy .seymour-joy-chip:hover,
.seymour-joy .seymour-joy-chip:focus-visible,
.seymour-joy .seymour-joy-chip:active,
.seymour-joy .seymour-joy-button--quiet:hover,
.seymour-joy .seymour-joy-button--quiet:focus-visible {
	background: var(--footer-gold);
	border-color: var(--footer-gold);
	color: var(--footer-bg);
}

.seymour-joy .seymour-joy-button:not(.seymour-joy-button--quiet),
.seymour-joy .seymour-joy__send {
	background: var(--footer-bg);
	border: 0;
	border-bottom: var(--footer-accent-height) solid var(--footer-gold);
	color: var(--white);
}

.seymour-joy .seymour-joy-button:not(.seymour-joy-button--quiet):hover,
.seymour-joy .seymour-joy-button:not(.seymour-joy-button--quiet):focus-visible,
.seymour-joy .seymour-joy__send:hover,
.seymour-joy .seymour-joy__send:focus-visible {
	background: var(--footer-gold);
	color: var(--footer-bg);
}
