.ysa-chat-header-actions {
	position: absolute;
	inset-block-start: 8px;
	inset-inline-end: 8px;
	z-index: 120;
	display: flex;
	align-items: center;
	height: 44px;
	direction: ltr;
}

.ysa-chat-header-action-button,
.header .ysa-chat-header-actions > .close_button {
	position: relative;
	inset: auto;
	box-sizing: border-box;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 20px;
	line-height: 44px;
	text-align: center;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.ysa-chat-header-action-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ysa-chat-header-action-button i,
.header .ysa-chat-header-actions > .close_button i {
	pointer-events: none;
}

.ysa-chat-header-action-button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -4px;
}

.header .ysa-chat-header-actions > .close_button:focus-visible {
	outline: none;
	background: rgba(127, 127, 127, 0.12);
}

.ysa-chat-header-actions.is-preferences-open .ysa-chat-header-menu-toggle {
	background: rgba(127, 127, 127, 0.16);
}

.ysa-chat-header-menu {
	position: fixed;
	inset-block-start: var(--ysa-chat-preferences-top, 60px);
	inset-inline: 0;
	inset-block-end: 0;
	z-index: 121;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	width: 100vw;
	max-width: none;
	min-height: 0;
	padding: 0;
	overflow: hidden;
	overscroll-behavior: contain;
	border: 0;
	border-radius: 0;
	background: #f5f7f7;
	color: #1f2937;
	box-shadow: 0 -1px 0 rgba(15, 23, 42, 0.07);
	scrollbar-width: thin;
	text-align: start;
	touch-action: pan-y;
	--ysa-personalization-accent: #0f766e;
	--ysa-personalization-accent-soft: #eaf6f3;
}

.ysa-chat-header-menu[hidden] {
	display: none;
}

html.ysa-chat-preferences-open,
body.ysa-chat-preferences-open {
	overflow: hidden !important;
}

.ysa-chat-preferences-header {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 44px;
	align-items: center;
	column-gap: 12px;
	box-sizing: border-box;
	min-height: 88px;
	padding: 16px 20px;
	border-bottom: 1px solid rgba(15, 23, 42, 0.07);
	background: #ffffff;
}

.ysa-chat-preferences-back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid #e1e5e7;
	border-radius: 14px;
	background: #ffffff;
	color: #334155;
	font: inherit;
	font-size: 17px;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}

.ysa-chat-preferences-back:focus-visible {
	outline: 2px solid var(--ysa-personalization-accent);
	outline-offset: 2px;
}

.ysa-chat-preferences-title-copy {
	grid-column: 2;
	min-width: 0;
	text-align: center;
}

.ysa-chat-preferences-title-copy h2,
.ysa-chat-preferences-title-copy p {
	margin: 0;
}

.ysa-chat-preferences-title-copy h2 {
	color: #17242b;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.25;
}

.ysa-chat-preferences-title-copy p {
	margin-block-start: 3px;
	overflow: hidden;
	color: #66727c;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ysa-chat-preferences-content {
	display: flex;
	min-height: 0;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 24px;
	box-sizing: border-box;
	padding: 24px 20px max(28px, env(safe-area-inset-bottom));
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	touch-action: pan-y;
}

.ysa-chat-preferences-content[hidden] {
	display: none;
}

.ysa-chat-preferences-section {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 10px;
}

.ysa-chat-preferences-section > h3 {
	margin: 0;
	padding-inline: 2px;
	color: #44515a;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
}

.ysa-chat-preferences-actions {
	display: block;
	overflow: hidden;
	border: 1px solid #e1e6e7;
	border-radius: 16px;
	background: #ffffff;
}

.ysa-chat-header-menu-item {
	display: flex;
	align-items: center;
	gap: 12px;
	box-sizing: border-box;
	width: 100%;
	min-height: 76px;
	padding: 14px 16px;
	border: 0;
	border-radius: 0;
	background: #ffffff;
	color: inherit;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	text-align: start;
	white-space: normal;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.ysa-chat-preferences-actions .ysa-chat-header-menu-item + .ysa-chat-header-menu-item {
	border-top: 1px solid #e8ebed;
}

.ysa-chat-preference-action-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: color-mix(in srgb, var(--ysa-personalization-accent) 10%, #ffffff);
	color: var(--ysa-personalization-accent);
}

.ysa-chat-preference-action-icon i {
	font-size: 16px;
}

.ysa-chat-preference-action-copy {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 4px;
}

.ysa-chat-preference-action-chevron {
	align-self: center;
	flex: 0 0 auto;
	color: #89939a;
	font-size: 13px;
}

.ysa-chat-preference-action-copy strong {
	color: #17242b;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.3;
}

.ysa-chat-preference-action-copy > span {
	color: #66727c;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
}

.ysa-chat-header-menu-item:focus-visible {
	outline: 2px solid var(--ysa-personalization-accent);
	outline-offset: -2px;
}

.ysa-chat-header-menu-item:disabled {
	opacity: 0.48;
	cursor: default;
}

.ysa-chat-personalization-card {
	overflow: hidden;
	border: 1px solid #e1e6e7;
	border-radius: 16px;
	background: #ffffff;
}

.ysa-chat-personalization-item {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr) 42px;
	align-items: center;
	column-gap: 12px;
	min-height: 82px;
	padding: 16px;
	border: 0;
	border-radius: 0;
}

.ysa-chat-personalization-item:disabled {
	opacity: 1;
	cursor: wait;
}

.ysa-chat-personalization-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: #eaf6f3;
	background: color-mix(in srgb, var(--ysa-personalization-accent) 11%, #ffffff);
	color: var(--ysa-personalization-accent);
}

.ysa-chat-personalization-icon i {
	color: inherit;
	font-size: 16px;
}

.ysa-chat-personalization-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 2px;
}

.ysa-chat-personalization-heading {
	display: flex;
	align-items: center;
	gap: 7px;
}

.ysa-chat-personalization-label {
	min-width: 0;
	overflow: hidden;
	color: #18212b;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ysa-chat-personalization-state {
	display: inline-flex;
	align-items: center;
	min-height: 20px;
	padding: 1px 7px;
	border-radius: 999px;
	background: #f0f2f4;
	color: #52606d;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	white-space: nowrap;
}

.ysa-chat-personalization-item[aria-checked="true"] .ysa-chat-personalization-state {
	background: #eaf6f3;
	background: color-mix(in srgb, var(--ysa-personalization-accent) 11%, #ffffff);
	color: var(--ysa-personalization-accent);
}

.ysa-chat-personalization-description {
	color: #5e6975;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.35;
}

.ysa-chat-personalization-switch {
	position: relative;
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	width: 42px;
	height: 24px;
	padding: 3px;
	border-radius: 999px;
	background: #cfd5da;
	transition: background-color 160ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ysa-chat-personalization-switch-thumb {
	display: block;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 2px 5px rgba(15, 23, 42, 0.24);
	transform: translateX(0);
	transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ysa-chat-personalization-item[aria-checked="true"] .ysa-chat-personalization-switch {
	background: var(--ysa-personalization-accent);
}

.ysa-chat-personalization-item[aria-checked="true"] .ysa-chat-personalization-switch-thumb {
	transform: translateX(18px);
}

.ysa-chat-personalization-item[aria-busy="true"] .ysa-chat-personalization-switch {
	opacity: 0.58;
}

.ysa-chat-profile-summary {
	box-sizing: border-box;
	margin: 0;
	padding: 16px;
	border-top: 1px solid #e8ebed;
	background: color-mix(in srgb, var(--ysa-personalization-accent) 4%, #ffffff);
}

.ysa-chat-profile-summary[hidden] {
	display: none;
}

.ysa-chat-profile-summary-label {
	margin-block-end: 7px;
	color: #28343f;
	font-size: 12.5px;
	font-weight: 800;
	line-height: 1.35;
}

.ysa-chat-profile-summary-text {
	margin: 0;
	color: #485561;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.48;
	white-space: pre-wrap;
}

.ysa-chat-profile-summary-text.is-structured {
	white-space: normal;
}

.ysa-chat-profile-summary-table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
	table-layout: fixed;
}

.ysa-chat-profile-summary-table th,
.ysa-chat-profile-summary-table td {
	padding: 0;
	border: 0;
	text-align: left;
	vertical-align: top;
	overflow-wrap: anywhere;
}

.ysa-chat-profile-summary-table tr + tr th,
.ysa-chat-profile-summary-table tr + tr td {
	padding-top: 10px;
}

.ysa-chat-profile-summary-table th {
	width: 38%;
	padding-inline-end: 14px;
	color: #65727e;
	font-weight: 600;
}

.ysa-chat-profile-summary-table td {
	color: #24313b;
	font-weight: 750;
}

.ysa-chat-myprofile-link {
	min-height: 78px;
	border-top: 1px solid #e8ebed;
	background: #ffffff;
}

.ysa-chat-myprofile-link[hidden] {
	display: none;
}

.ysa-chat-myprofile-link .ysa-chat-personalization-icon {
	background: color-mix(in srgb, var(--ysa-personalization-accent) 13%, #ffffff);
}

.ysa-chat-myprofile-link[aria-busy="true"] {
	cursor: wait;
}

.ysa-chat-myprofile-link:disabled {
	opacity: 1;
}

.ysa-chat-myprofile-link[aria-busy="true"] .ysa-chat-preference-action-chevron {
	animation: ysa-chat-profile-link-pulse 900ms ease-in-out infinite alternate;
}

@keyframes ysa-chat-profile-link-pulse {
	from { opacity: 0.32; }
	to { opacity: 1; }
}

.ysa-chat-profile-manager {
	position: relative;
	width: 100%;
	min-width: 0;
	min-height: 0;
	flex: 1 1 auto;
	box-sizing: border-box;
	padding: 20px 20px max(30px, env(safe-area-inset-bottom));
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	touch-action: pan-y;
}

.ysa-chat-profile-manager[hidden] {
	display: none;
}

.ysa-chat-profile-manager > * {
	width: 100%;
	max-width: 680px;
	margin-inline: auto;
}

.ysa-chat-profile-manager-progress {
	position: sticky;
	inset-block-start: -12px;
	z-index: 2;
	box-sizing: border-box;
	margin-block: -8px 10px;
	padding: 8px 12px;
	border: 1px solid color-mix(in srgb, var(--ysa-personalization-accent) 18%, #dce5e3);
	border-radius: 12px;
	background: color-mix(in srgb, var(--ysa-personalization-accent) 8%, #ffffff);
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
	color: var(--ysa-personalization-accent);
	font-size: 12px;
	font-weight: 750;
	text-align: center;
}

.ysa-chat-profile-manager-hero {
	box-sizing: border-box;
	padding: 22px;
	border-radius: 20px;
	background: #17242b;
	color: #ffffff;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
}

.ysa-chat-profile-manager-hero-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-block-end: 18px;
}

.ysa-chat-profile-manager-identity {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: color-mix(in srgb, var(--ysa-personalization-accent) 34%, #ffffff);
	color: #ffffff;
	font-size: 22px;
}

.ysa-chat-profile-manager-badge {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	box-sizing: border-box;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	color: #d4dbdf;
	font-size: 11.5px;
	font-weight: 750;
	line-height: 1.2;
}

.ysa-chat-profile-manager-badge::before {
	width: 7px;
	height: 7px;
	margin-inline-end: 7px;
	border-radius: 50%;
	background: #98a4ab;
	content: "";
}

.ysa-chat-profile-manager-badge.is-active {
	background: color-mix(in srgb, var(--ysa-personalization-accent) 32%, transparent);
	color: #ffffff;
}

.ysa-chat-profile-manager-badge.is-active::before {
	background: #6ee7b7;
}

.ysa-chat-profile-manager-kicker,
.ysa-chat-profile-manager-hero h3,
.ysa-chat-profile-manager-intro,
.ysa-chat-profile-manager-summary {
	margin: 0;
}

.ysa-chat-profile-manager-kicker {
	margin-block-end: 7px;
	color: color-mix(in srgb, var(--ysa-personalization-accent) 35%, #ffffff);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.3;
}

.ysa-chat-profile-manager-hero h3 {
	max-width: 21ch;
	font-size: clamp(23px, 5.4vw, 31px);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.08;
	text-wrap: balance;
}

.ysa-chat-profile-manager-intro {
	max-width: 58ch;
	margin-block-start: 11px;
	color: #d2d9dc;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.52;
}

.ysa-chat-profile-manager-summary {
	margin-block-start: 18px;
	padding-block-start: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	color: #f3f6f7;
	font-size: 13px;
	font-weight: 550;
	line-height: 1.55;
}

.ysa-chat-profile-manager-section {
	margin-block-start: 26px;
}

.ysa-chat-profile-manager-section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 14px;
	margin-block-end: 10px;
	padding-inline: 2px;
}

.ysa-chat-profile-manager-section-heading h3,
.ysa-chat-profile-manager-section-heading p {
	margin: 0;
}

.ysa-chat-profile-manager-section-heading h3 {
	color: #1d2932;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.3;
}

.ysa-chat-profile-manager-section-heading p {
	margin-block-start: 3px;
	color: #6a7680;
	font-size: 11.5px;
	font-weight: 500;
	line-height: 1.4;
}

.ysa-chat-profile-manager-add,
.ysa-chat-profile-manager-primary,
.ysa-chat-profile-manager-secondary,
.ysa-chat-profile-manager-danger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	box-sizing: border-box;
	min-height: 38px;
	padding: 8px 12px;
	border-radius: 12px;
	font: inherit;
	font-size: 11.5px;
	font-weight: 800;
	line-height: 1.2;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.ysa-chat-profile-manager-add,
.ysa-chat-profile-manager-secondary {
	border: 1px solid #d9e0e2;
	background: #ffffff;
	color: #33424b;
}

.ysa-chat-profile-manager-primary {
	border: 1px solid var(--ysa-personalization-accent);
	background: var(--ysa-personalization-accent);
	color: #ffffff;
}

.ysa-chat-profile-manager-danger {
	border: 1px solid #b73b36;
	background: #b73b36;
	color: #ffffff;
}

.ysa-chat-profile-manager-list {
	overflow: hidden;
	border: 1px solid #e0e5e7;
	border-radius: 17px;
	background: #ffffff;
}

.ysa-chat-profile-manager-row {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	box-sizing: border-box;
	min-height: 72px;
	padding: 14px 15px;
	background: #ffffff;
}

.ysa-chat-profile-manager-row + .ysa-chat-profile-manager-row {
	border-top: 1px solid #e8ecee;
}

.ysa-chat-profile-manager-row.is-shop {
	grid-template-columns: 38px minmax(0, 1fr) auto;
}

.ysa-chat-profile-manager-row-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 3px;
}

.ysa-chat-profile-manager-row-copy strong {
	color: #26343d;
	font-size: 12.5px;
	font-weight: 800;
	line-height: 1.35;
}

.ysa-chat-profile-manager-row-copy span {
	overflow: hidden;
	color: #596771;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.42;
	overflow-wrap: anywhere;
}

.ysa-chat-profile-manager-row-actions {
	display: flex;
	align-items: center;
	gap: 4px;
}

.ysa-chat-profile-manager-row-actions button,
.ysa-chat-profile-manager-text-action {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	box-sizing: border-box;
	min-height: 34px;
	padding: 7px 8px;
	border: 0;
	border-radius: 9px;
	background: transparent;
	color: #63717b;
	font: inherit;
	font-size: 10.5px;
	font-weight: 750;
	line-height: 1.2;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.ysa-chat-profile-manager-row-actions button i {
	font-size: 12px;
}

.ysa-chat-profile-manager-row-actions button.is-primary {
	background: color-mix(in srgb, var(--ysa-personalization-accent) 10%, #ffffff);
	color: var(--ysa-personalization-accent);
}

.ysa-chat-profile-manager-shop-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: color-mix(in srgb, var(--ysa-personalization-accent) 9%, #ffffff);
	color: var(--ysa-personalization-accent);
	font-size: 12px;
	font-weight: 850;
}

.ysa-chat-profile-manager-text-action {
	color: #9c3733;
	white-space: nowrap;
}

.ysa-chat-profile-manager-confirm {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 2px -1px -1px;
	padding-block-start: 12px;
	border-top: 1px solid #ece1e0;
}

.ysa-chat-profile-manager-confirm strong {
	color: #71403d;
	font-size: 11.5px;
	font-weight: 750;
	line-height: 1.35;
}

.ysa-chat-profile-manager-confirm > div {
	display: flex;
	gap: 7px;
}

.ysa-chat-profile-manager-empty {
	margin: 0;
	padding: 22px 16px;
	color: #697680;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.45;
	text-align: center;
}

.ysa-chat-profile-manager-editor {
	box-sizing: border-box;
	margin-block-end: 10px;
	padding: 15px;
	border: 1px solid color-mix(in srgb, var(--ysa-personalization-accent) 24%, #dce5e3);
	border-radius: 16px;
	background: color-mix(in srgb, var(--ysa-personalization-accent) 4%, #ffffff);
}

.ysa-chat-profile-manager-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: #3f4d56;
	font-size: 11.5px;
	font-weight: 750;
}

.ysa-chat-profile-manager-field + .ysa-chat-profile-manager-field {
	margin-block-start: 12px;
}

.ysa-chat-profile-manager-field input,
.ysa-chat-profile-manager-field select,
.ysa-chat-profile-manager-field textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 42px;
	padding: 10px 11px;
	border: 1px solid #d4dcdf;
	border-radius: 11px;
	background: #ffffff;
	color: #24323b;
	font: inherit;
	font-size: 12.5px;
	font-weight: 550;
	line-height: 1.4;
	resize: vertical;
}

.ysa-chat-profile-manager-field input[readonly] {
	background: #f0f3f4;
	color: #65717a;
}

.ysa-chat-profile-manager-editor-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-block-start: 13px;
}

.ysa-chat-profile-manager-state {
	display: flex;
	min-height: 250px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	box-sizing: border-box;
	padding: 34px 24px;
	border: 1px solid #e0e6e7;
	border-radius: 20px;
	background: #ffffff;
	color: #26343d;
	text-align: center;
}

.ysa-chat-profile-manager-state-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-block-end: 16px;
	border-radius: 15px;
	background: color-mix(in srgb, var(--ysa-personalization-accent) 10%, #ffffff);
	color: var(--ysa-personalization-accent);
	font-size: 19px;
}

.ysa-chat-profile-manager-state strong {
	font-size: 15px;
	font-weight: 800;
	line-height: 1.35;
}

.ysa-chat-profile-manager-state p {
	max-width: 38ch;
	margin: 7px 0 0;
	color: #68747d;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.5;
}

.ysa-chat-profile-manager-state .ysa-chat-profile-manager-primary {
	margin-block-start: 18px;
}

.ysa-chat-profile-manager button:focus-visible,
.ysa-chat-profile-manager input:focus-visible,
.ysa-chat-profile-manager select:focus-visible,
.ysa-chat-profile-manager textarea:focus-visible {
	outline: 2px solid var(--ysa-personalization-accent);
	outline-offset: 2px;
}

.ysa-chat-profile-manager[aria-busy="true"] button,
.ysa-chat-profile-manager[aria-busy="true"] input,
.ysa-chat-profile-manager[aria-busy="true"] select,
.ysa-chat-profile-manager[aria-busy="true"] textarea {
	pointer-events: none;
}

.ysa-chat-header-status {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

html.ysa-profile-share-open,
body.ysa-profile-share-open {
	overflow: hidden !important;
	overscroll-behavior: none;
}

.ysa-profile-share-overlay {
	position: fixed;
	inset: 0;
	z-index: 240;
	display: flex;
	align-items: flex-end;
	justify-content: stretch;
	box-sizing: border-box;
	background: rgba(7, 22, 22, 0.34);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity 220ms cubic-bezier(0.16, 1, 0.3, 1);
	touch-action: none;
}

.ysa-profile-share-overlay.is-open {
	opacity: 1;
}

.ysa-profile-share-overlay.is-closing {
	opacity: 0;
	pointer-events: none;
}

.ysa-profile-share-sheet {
	display: flex;
	flex: 0 1 auto;
	flex-direction: column;
	box-sizing: border-box;
	width: 100%;
	max-height: calc(100dvh - 70px);
	padding: 0 22px max(20px, env(safe-area-inset-bottom));
	overflow: hidden;
	border: 0;
	border-radius: 24px 24px 0 0;
	background: #fbfcfb;
	color: #142724;
	box-shadow: 0 -14px 42px rgba(9, 28, 26, 0.22);
	transform: translateY(28px) scale(0.995);
	transform-origin: bottom center;
	transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
	overscroll-behavior: contain;
	touch-action: pan-y;
	--ysa-profile-share-accent: #0f766e;
}

.ysa-profile-share-overlay.is-open .ysa-profile-share-sheet {
	transform: translateY(0) scale(1);
}

.ysa-profile-share-chrome {
	position: relative;
	display: flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
}

.ysa-profile-share-handle {
	display: block;
	width: 38px;
	height: 4px;
	border-radius: 999px;
	background: #c8d0ce;
}

.ysa-profile-share-close {
	position: absolute;
	inset-block-start: 8px;
	inset-inline-end: -4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: transparent;
	box-shadow: none;
	color: #53615f;
	font: inherit;
	font-size: 20px;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}

.ysa-profile-share-heading {
	padding: 8px 4px 0;
}

.ysa-profile-share-identity {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-block-end: 18px;
}

.ysa-profile-share-identity-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 12px;
	background: color-mix(in srgb, var(--ysa-profile-share-accent) 12%, #ffffff);
	color: var(--ysa-profile-share-accent);
	font-size: 19px;
}

.ysa-profile-share-kicker {
	color: var(--ysa-profile-share-accent);
	font-size: 12.5px;
	font-weight: 800;
	line-height: 1.25;
}

.ysa-profile-share-title {
	max-width: 22ch;
	margin: 0;
	color: #142421;
	font-size: clamp(22px, 5.2vw, 29px);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.12;
	text-wrap: balance;
}

.ysa-profile-share-description {
	max-width: 62ch;
	margin: 10px 0 0;
	color: #53615f;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
}

.ysa-profile-share-assurance {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 22px 4px 4px;
	padding: 14px;
	border-radius: 14px;
	background: color-mix(in srgb, var(--ysa-profile-share-accent) 7%, #ffffff);
	color: #40514e;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.45;
}

.ysa-profile-share-assurance i {
	margin-block-start: 2px;
	color: var(--ysa-profile-share-accent);
}

.ysa-profile-share-actions {
	display: grid;
	grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.35fr);
	gap: 10px;
	padding: 20px 0 0;
}

.ysa-profile-share-actions.is-sticky {
	flex: 0 0 auto;
	padding-block: 14px 0;
	background: #fbfcfb;
	box-shadow: 0 -10px 24px rgba(251, 252, 251, 0.96);
}

.ysa-profile-share-button {
	display: inline-flex;
	min-width: 0;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	gap: 9px;
	box-sizing: border-box;
	padding: 12px 15px;
	border-radius: 14px;
	font: inherit;
	font-size: 13.5px;
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}

.ysa-profile-share-button.is-secondary {
	border: 1px solid #dbe2e0;
	background: #ffffff;
	color: #394744;
}

.ysa-profile-share-button.is-primary {
	border: 1px solid var(--ysa-profile-share-accent);
	background: var(--ysa-profile-share-accent);
	color: #ffffff;
	box-shadow: 0 6px 16px color-mix(in srgb, var(--ysa-profile-share-accent) 24%, transparent);
}

.ysa-profile-share-button:disabled {
	cursor: not-allowed;
	opacity: 0.46;
	box-shadow: none;
}

.ysa-profile-share-button:focus-visible,
.ysa-profile-share-field:has(input:focus-visible),
.ysa-profile-share-select-all:has(input:focus-visible) {
	outline: 2px solid var(--ysa-profile-share-accent);
	outline-offset: 2px;
}

.ysa-profile-share-close:focus-visible {
	outline: none;
	background: #eef4f2;
}

.ysa-profile-share-scroll {
	min-height: 0;
	margin-block-start: 18px;
	padding: 0 2px 8px;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	touch-action: pan-y;
}

.ysa-profile-share-select-all {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 38px;
	padding: 0 4px 10px;
	color: #3f4d4a;
	font-size: 12.5px;
	font-weight: 750;
	cursor: pointer;
}

.ysa-profile-share-select-all input,
.ysa-profile-share-field input {
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--ysa-profile-share-accent);
	cursor: pointer;
}

.ysa-profile-share-field-list {
	overflow: hidden;
	border: 1px solid #dfe5e3;
	border-radius: 16px;
	background: #ffffff;
}

.ysa-profile-share-field {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 13px;
	align-items: center;
	box-sizing: border-box;
	min-height: 67px;
	padding: 12px 14px;
	background: #ffffff;
	cursor: pointer;
}

.ysa-profile-share-field + .ysa-profile-share-field {
	border-top: 1px solid #e8edeb;
}

.ysa-profile-share-field.is-selected {
	background: color-mix(in srgb, var(--ysa-profile-share-accent) 5%, #ffffff);
}

.ysa-profile-share-field-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 3px;
}

.ysa-profile-share-field-copy strong {
	color: #23312f;
	font-size: 13.5px;
	font-weight: 800;
	line-height: 1.3;
}

.ysa-profile-share-field-copy span {
	overflow: hidden;
	color: #5a6865;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.4;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ysa-profile-share-summary {
	margin-block-start: 14px;
	padding: 14px;
	border-radius: 14px;
	background: #eef4f2;
}

.ysa-profile-share-summary > strong {
	display: block;
	margin-block-end: 6px;
	color: #2d3d39;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.35;
}

.ysa-profile-share-summary p {
	margin: 0;
	color: #4c5c58;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.5;
}

.ysa-profile-share-summary p.is-empty {
	color: #6c7775;
	font-style: italic;
}

.ysa-profile-share-error {
	margin: 10px 2px 0;
	padding: 10px 12px;
	border-radius: 12px;
	background: #fceceb;
	color: #8c2924;
	font-size: 12.5px;
	font-weight: 650;
	line-height: 1.4;
}

.ysa-profile-share-error.is-recovery {
	border: 1px solid color-mix(in srgb, var(--ysa-profile-share-accent) 14%, #dce7e4);
	background: color-mix(in srgb, var(--ysa-profile-share-accent) 6%, #f5f9f8);
	color: #40524e;
}

.ysa-profile-share-handoff-status {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 12px 2px 0;
	padding: 11px 12px;
	border-radius: 12px;
	background: #eef4f2;
	color: #40524e;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.45;
}

.ysa-profile-share-handoff-status::before {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	margin-top: 1px;
	border: 2px solid color-mix(in srgb, var(--ysa-profile-share-accent) 25%, transparent);
	border-right-color: var(--ysa-profile-share-accent);
	border-radius: 50%;
	content: "";
	animation: ysa-profile-share-spin 700ms linear infinite;
}

.ysa-profile-share-sheet.is-success {
	align-items: center;
	padding-block: 42px max(38px, env(safe-area-inset-bottom));
	text-align: center;
}

.ysa-profile-share-sheet.is-success .ysa-profile-share-title {
	max-width: none;
}

.ysa-profile-share-sheet.is-success .ysa-profile-share-description {
	max-width: 38ch;
}

.ysa-profile-share-success-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	margin-block-end: 16px;
	border-radius: 16px;
	background: color-mix(in srgb, var(--ysa-profile-share-accent) 12%, #ffffff);
	color: var(--ysa-profile-share-accent);
	font-size: 21px;
}

.ysa-profile-share-overlay.is-busy {
	cursor: wait;
}

@keyframes ysa-profile-share-spin {
	to { transform: rotate(360deg); }
}

@media (hover: hover) and (pointer: fine) {
	.ysa-chat-header-action-button:hover,
	.header .ysa-chat-header-actions > .close_button:hover {
		background: rgba(127, 127, 127, 0.14);
	}

	.ysa-chat-header-menu-item:not(:disabled):hover {
		background: #f3f5f7;
	}

	.ysa-chat-profile-manager-add:hover,
	.ysa-chat-profile-manager-secondary:hover,
	.ysa-chat-profile-manager-row-actions button:hover,
	.ysa-chat-profile-manager-text-action:hover {
		background: #eef2f3;
	}

	.ysa-chat-profile-manager-primary:hover,
	.ysa-chat-profile-manager-danger:hover {
		filter: brightness(0.94);
	}

	.ysa-profile-share-close:hover,
	.ysa-profile-share-button.is-secondary:not(:disabled):hover {
		background: #f0f4f2;
	}

	.ysa-profile-share-button.is-primary:not(:disabled):hover {
		filter: brightness(0.94);
	}
}

@media (forced-colors: active) {
	.ysa-chat-header-menu {
		border: 1px solid CanvasText;
		background: Canvas;
		color: CanvasText;
	}

	.ysa-chat-header-menu-item i {
		color: currentColor;
	}

	.ysa-chat-personalization-icon,
	.ysa-chat-personalization-state,
	.ysa-chat-profile-summary,
	.ysa-chat-myprofile-link {
		border: 1px solid CanvasText;
		background: Canvas;
		color: CanvasText;
	}

	.ysa-chat-profile-summary-table th,
	.ysa-chat-profile-summary-table td {
		color: CanvasText;
	}

	.ysa-chat-profile-manager,
	.ysa-chat-profile-manager-hero,
	.ysa-chat-profile-manager-list,
	.ysa-chat-profile-manager-row,
	.ysa-chat-profile-manager-editor,
	.ysa-chat-profile-manager-state,
	.ysa-chat-profile-manager button,
	.ysa-chat-profile-manager input,
	.ysa-chat-profile-manager select,
	.ysa-chat-profile-manager textarea {
		border: 1px solid CanvasText;
		background: Canvas;
		color: CanvasText;
	}

	.ysa-chat-personalization-switch {
		border: 1px solid CanvasText;
		background: Canvas;
	}

	.ysa-chat-personalization-item[aria-checked="true"] .ysa-chat-personalization-switch {
		background: Highlight;
	}

	.ysa-profile-share-overlay,
	.ysa-profile-share-sheet,
	.ysa-profile-share-field-list,
	.ysa-profile-share-field,
	.ysa-profile-share-summary,
	.ysa-profile-share-assurance,
	.ysa-profile-share-button {
		border: 1px solid CanvasText;
		background: Canvas;
		color: CanvasText;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ysa-chat-personalization-switch,
	.ysa-chat-personalization-switch-thumb {
		transition: none;
	}

	.ysa-chat-myprofile-link[aria-busy="true"] .ysa-chat-preference-action-chevron {
		animation: none;
	}

	.ysa-profile-share-overlay,
	.ysa-profile-share-sheet {
		transition: none;
	}
}

@media (max-width: 560px) {
	.ysa-chat-profile-manager {
		padding-inline: 14px;
	}

	.ysa-chat-profile-manager-hero {
		padding: 19px;
		border-radius: 18px;
	}

	.ysa-chat-profile-manager-section-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.ysa-chat-profile-manager-row {
		grid-template-columns: minmax(0, 1fr);
		gap: 9px;
	}

	.ysa-chat-profile-manager-row.is-shop {
		grid-template-columns: 38px minmax(0, 1fr);
	}

	.ysa-chat-profile-manager-row-actions,
	.ysa-chat-profile-manager-row.is-shop > .ysa-chat-profile-manager-text-action {
		grid-column: 1 / -1;
		justify-content: flex-end;
	}

	.ysa-chat-profile-manager-row.is-shop > .ysa-chat-profile-manager-text-action {
		justify-self: start;
		margin-inline-start: 46px;
	}

	.ysa-chat-profile-manager-confirm {
		align-items: flex-start;
		flex-direction: column;
	}

	.ysa-chat-profile-manager-confirm > div {
		align-self: stretch;
	}

	.ysa-chat-profile-manager-confirm button {
		flex: 1 1 0;
	}
}
