.ly-account {
	font-family: var(--ly-font-sans);
	color: var(--ly-color-ink);
	background: #fff;
}

body.ly-account-page--guest .site-content > .ast-container > .ly-account--guest {
	flex: 1 1 100%;
	width: 100%;
	max-width: none;
	margin: 0;
}

body.ly-account-page--guest .site-content > .ast-container {
	padding-right: 0;
	padding-left: 0;
}

.ly-account *,
.ly-account *::before,
.ly-account *::after {
	box-sizing: border-box;
}

.ly-account a {
	text-decoration: none;
}

.ly-account-shell {
	width: min(1180px, calc(100% - 48px));
	margin: 0 auto;
}

.ly-account-breadcrumbs {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-top: 24px;
	color: var(--ly-color-subtle);
	font-size: 13px;
}

.ly-account-breadcrumbs a {
	color: var(--ly-color-muted);
}

.ly-account-breadcrumbs a:hover {
	color: var(--ly-color-brand);
}

.ly-account-kicker,
.ly-account-section-head > span,
.ly-account-block__head > div > span,
.ly-account-panel > header > span,
.ly-account-empty > span,
.ly-account-support-card > div > span {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--ly-color-brand);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .15em;
	text-transform: uppercase;
}

.ly-account-kicker i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--ly-color-success);
	box-shadow: 0 0 0 6px rgba(32, 164, 122, .1);
}

.ly-account-hero {
	position: relative;
	overflow: hidden;
	padding-bottom: 44px;
	border-bottom: 1px solid var(--ly-color-line);
	background:
		radial-gradient(circle at 86% 18%, rgba(49, 94, 251, .15), transparent 27%),
		linear-gradient(180deg, #fbfcff 0%, #f3f6ff 100%);
}

.ly-account-hero::after,
.ly-account-auth::after {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(49, 94, 251, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(49, 94, 251, .035) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .55), transparent 92%);
	content: "";
	pointer-events: none;
}

.ly-account-hero__row {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
	padding-top: 56px;
}

.ly-account-hero h1,
.ly-account-auth__intro h1 {
	max-width: 760px;
	margin: 18px 0 14px;
	font-size: clamp(38px, 5vw, 64px);
	line-height: 1.08;
	letter-spacing: -.045em;
}

.ly-account-hero__row > div:first-child > p,
.ly-account-auth__intro > p {
	max-width: 720px;
	margin: 0;
	color: var(--ly-color-copy);
	font-size: 16px;
	line-height: 1.8;
}

.ly-account-state {
	display: grid;
	grid-template-columns: auto 1fr;
	min-width: 265px;
	gap: 3px 12px;
	padding: 20px 22px;
	border: 1px solid rgba(49, 94, 251, .16);
	border-radius: var(--ly-radius-md);
	background: rgba(255, 255, 255, .8);
	box-shadow: var(--ly-shadow-sm);
	backdrop-filter: blur(14px);
}

.ly-account-state > span {
	grid-row: 1 / 3;
	width: 10px;
	height: 10px;
	margin-top: 5px;
	border-radius: 50%;
	background: var(--ly-color-success);
	box-shadow: 0 0 0 7px rgba(32, 164, 122, .1);
}

.ly-account-state strong {
	font-size: 14px;
}

.ly-account-state small {
	color: var(--ly-color-muted);
	font-size: 12px;
}

.ly-account-workspace {
	padding: 48px 0 92px;
	background: var(--ly-color-surface);
}

.ly-account-layout {
	display: grid;
	grid-template-columns: 248px minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}

.ly-account-nav {
	position: sticky;
	top: 98px;
	overflow: hidden;
	border: 1px solid var(--ly-color-line);
	border-radius: var(--ly-radius-lg);
	background: #fff;
	box-shadow: var(--ly-shadow-sm);
}

.ly-account-nav__identity {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 22px;
	border-bottom: 1px solid var(--ly-color-line);
	background: linear-gradient(135deg, #f3f6ff, #fff);
}

.ly-account-nav__identity > span {
	display: inline-flex;
	width: 42px;
	height: 42px;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	color: #fff;
	background: linear-gradient(145deg, #315efb, #1fc2a0);
	font-size: 18px;
	font-weight: 800;
}

.ly-account-nav__identity strong,
.ly-account-nav__identity small {
	display: block;
	min-width: 0;
}

.ly-account-nav__identity strong {
	overflow: hidden;
	font-size: 14px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ly-account-nav__identity small {
	margin-top: 2px;
	color: var(--ly-color-muted);
	font-size: 12px;
}

.ly-account-nav nav {
	display: grid;
	gap: 4px;
	padding: 12px;
}

.ly-account-nav nav a {
	display: grid;
	grid-template-columns: 28px 1fr auto;
	align-items: center;
	gap: 8px;
	min-height: 45px;
	padding: 0 12px;
	border-radius: 12px;
	color: var(--ly-color-copy);
	transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.ly-account-nav nav a:hover {
	color: var(--ly-color-brand);
	background: var(--ly-color-brand-soft);
	transform: translateX(2px);
}

.ly-account-nav nav a.is-active {
	color: #fff;
	background: linear-gradient(135deg, #315efb, #4678ff);
	box-shadow: 0 10px 24px rgba(49, 94, 251, .2);
}

.ly-account-nav nav a > span {
	font-size: 10px;
	font-weight: 800;
	opacity: .62;
}

.ly-account-nav nav a > b {
	font-size: 13px;
}

.ly-account-nav nav a > i {
	font-style: normal;
}

.ly-account-nav__logout {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 24px;
	border-top: 1px solid var(--ly-color-line);
	color: var(--ly-color-muted);
	font-size: 13px;
	font-weight: 700;
}

.ly-account-content {
	min-width: 0;
	padding: 34px;
	border: 1px solid var(--ly-color-line);
	border-radius: var(--ly-radius-lg);
	background: #fff;
	box-shadow: var(--ly-shadow-sm);
}

.ly-account-section-head {
	margin-bottom: 28px;
}

.ly-account-section-head h2 {
	margin: 10px 0 8px;
	font-size: clamp(27px, 3vw, 38px);
	line-height: 1.18;
	letter-spacing: -.035em;
}

.ly-account-section-head p {
	max-width: 700px;
	margin: 0;
	color: var(--ly-color-muted);
	font-size: 14px;
	line-height: 1.75;
}

.ly-account-status-grid,
.ly-account-security-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.ly-account-status-grid article,
.ly-account-security-grid article {
	min-width: 0;
	padding: 20px;
	border: 1px solid var(--ly-color-line);
	border-radius: var(--ly-radius-md);
	background: linear-gradient(145deg, #fff, #fafbff);
}

.ly-account-status-grid span,
.ly-account-status-grid strong,
.ly-account-status-grid small,
.ly-account-security-grid span,
.ly-account-security-grid strong,
.ly-account-security-grid small {
	display: block;
}

.ly-account-status-grid span,
.ly-account-security-grid span {
	color: var(--ly-color-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .05em;
}

.ly-account-status-grid strong,
.ly-account-security-grid strong {
	margin-top: 8px;
	font-size: 17px;
}

.ly-account-status-grid small,
.ly-account-security-grid small {
	overflow: hidden;
	margin-top: 5px;
	color: var(--ly-color-subtle);
	font-size: 11px;
	text-overflow: ellipsis;
}

.ly-account-block {
	margin-top: 30px;
}

.ly-account-block__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 16px;
}

.ly-account-block__head h3 {
	margin: 5px 0 0;
	font-size: 23px;
}

.ly-account-block__head > a {
	color: var(--ly-color-brand);
	font-size: 13px;
	font-weight: 700;
}

.ly-account-orders {
	display: grid;
	gap: 12px;
}

.ly-account-orders article {
	display: grid;
	grid-template-columns: .7fr minmax(180px, 1.8fr) .8fr .8fr .8fr auto;
	align-items: center;
	gap: 14px;
	padding: 18px;
	border: 1px solid var(--ly-color-line);
	border-radius: var(--ly-radius-md);
	background: #fff;
}

.ly-account-orders article > div {
	min-width: 0;
}

.ly-account-orders article span,
.ly-account-orders article strong {
	display: block;
}

.ly-account-orders article span {
	margin-bottom: 5px;
	color: var(--ly-color-subtle);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .05em;
}

.ly-account-orders article strong {
	overflow: hidden;
	color: var(--ly-color-copy);
	font-size: 12px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ly-account-orders article > a {
	color: var(--ly-color-brand);
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
}

.ly-account-service-records,
.ly-account-resource-records {
	display: grid;
	gap: 12px;
}

.ly-account-service-records article,
.ly-account-resource-records article {
	display: grid;
	grid-template-columns: minmax(180px, 1.5fr) minmax(110px, .8fr) minmax(110px, .8fr) auto;
	align-items: center;
	gap: 16px;
	padding: 18px;
	border: 1px solid var(--ly-color-line);
	border-radius: var(--ly-radius-md);
	background: linear-gradient(145deg, #fff, #fafbff);
}

.ly-account-resource-records article {
	grid-template-columns: minmax(180px, 1.55fr) minmax(140px, .95fr) auto;
}

.ly-account-service-records article > div,
.ly-account-resource-records article > div {
	min-width: 0;
}

.ly-account-service-records span,
.ly-account-service-records strong,
.ly-account-resource-records span,
.ly-account-resource-records strong,
.ly-account-resource-records small {
	display: block;
}

.ly-account-service-records span,
.ly-account-resource-records span {
	margin-bottom: 5px;
	color: var(--ly-color-subtle);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .05em;
}

.ly-account-service-records strong,
.ly-account-resource-records strong {
	overflow: hidden;
	color: var(--ly-color-copy);
	font-size: 13px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ly-account-resource-records small {
	margin-top: 5px;
	color: var(--ly-color-subtle);
	font-size: 11px;
}

.ly-account-service-records a,
.ly-account-resource-records a {
	color: var(--ly-color-brand);
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
}

.ly-account-claim-note {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 14px;
	margin-top: 26px;
	padding: 18px 20px;
	border: 1px solid rgba(49, 94, 251, .16);
	border-radius: var(--ly-radius-md);
	background: var(--ly-color-brand-soft);
}

.ly-account-claim-note > span {
	display: inline-flex;
	width: 25px;
	height: 25px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: #fff;
	background: var(--ly-color-brand);
	font-size: 12px;
	font-weight: 800;
}

.ly-account-claim-note strong {
	font-size: 13px;
}

.ly-account-claim-note p {
	margin: 4px 0 0;
	color: var(--ly-color-muted);
	font-size: 12px;
	line-height: 1.7;
}

.ly-account-empty {
	padding: 54px 30px;
	border: 1px dashed var(--ly-color-line-strong);
	border-radius: var(--ly-radius-md);
	text-align: center;
	background: var(--ly-color-surface);
}

.ly-account-empty h2,
.ly-account-empty h3 {
	margin: 9px 0 7px;
}

.ly-account-empty p {
	margin: 0;
	color: var(--ly-color-muted);
}

.ly-account-empty a {
	display: inline-flex;
	margin-top: 20px;
	color: var(--ly-color-brand);
	font-weight: 800;
}

.ly-account-settings-form {
	display: grid;
	gap: 20px;
	padding: 26px;
	border: 1px solid var(--ly-color-line);
	border-radius: var(--ly-radius-md);
	background: var(--ly-color-surface);
}

.ly-account-settings-form h3 {
	margin: 0;
	font-size: 20px;
}

.ly-account-settings-form__split,
.ly-account-form__split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.ly-account-settings-form label,
.ly-account-form > label,
.ly-account-form__split label {
	display: block;
	margin-bottom: 8px;
	color: var(--ly-color-copy);
	font-size: 13px;
	font-weight: 700;
}

.ly-account-settings-form label span,
.ly-account-form > label > span,
.ly-account-form__split label > span {
	margin-left: 3px;
	color: #d92d20;
}

.ly-account-settings-form input,
.ly-account-form input[type="text"],
.ly-account-form input[type="email"],
.ly-account-form input[type="tel"],
.ly-account-form input[type="password"] {
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid var(--ly-color-line-strong);
	border-radius: 12px;
	color: var(--ly-color-ink);
	background: #fff;
	font-family: var(--ly-font-sans);
	font-size: 14px;
}

.ly-account-settings-form input:focus,
.ly-account-form input:focus {
	border-color: var(--ly-color-brand);
	box-shadow: 0 0 0 4px rgba(49, 94, 251, .1);
}

.ly-account-settings-form small,
.ly-account-form small {
	display: block;
	margin-top: 7px;
	color: var(--ly-color-subtle);
	font-size: 11px;
	line-height: 1.55;
}

.ly-account-settings-form > button,
.ly-account-form > button {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	justify-self: start;
	gap: 10px;
	padding: 0 22px;
	border: 0;
	border-radius: 13px;
	color: #fff;
	background: linear-gradient(135deg, #315efb, #4678ff);
	box-shadow: 0 12px 26px rgba(49, 94, 251, .2);
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
}

.ly-account-security-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 24px;
}

.ly-account-membership-card {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
	gap: 28px;
	padding: 30px;
	border-radius: var(--ly-radius-lg);
	color: #fff;
	background:
		radial-gradient(circle at 90% 10%, rgba(89, 209, 183, .24), transparent 35%),
		linear-gradient(135deg, #0d1734, #182c6a);
	box-shadow: var(--ly-shadow-md);
}

.ly-account-membership-card span,
.ly-account-membership-card p {
	color: rgba(255, 255, 255, .68);
}

.ly-account-membership-card h3 {
	margin: 10px 0 6px;
	color: #fff;
	font-size: 34px;
}

.ly-account-membership-card p {
	margin: 0;
}

.ly-account-membership-card dl {
	margin: 0;
	padding: 18px 20px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: var(--ly-radius-md);
	background: rgba(255, 255, 255, .06);
}

.ly-account-membership-card dl > div {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 9px 0;
}

.ly-account-membership-card dt {
	color: rgba(255, 255, 255, .65);
}

.ly-account-membership-card dd {
	margin: 0;
	font-weight: 800;
}

.ly-account-support-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding: 34px;
	border: 1px solid rgba(49, 94, 251, .15);
	border-radius: var(--ly-radius-lg);
	background: linear-gradient(135deg, #f2f5ff, #fff);
}

.ly-account-support-card h3 {
	margin: 8px 0;
	font-size: 28px;
}

.ly-account-support-card p {
	max-width: 600px;
	margin: 0;
	color: var(--ly-color-muted);
	line-height: 1.7;
}

.ly-account-support-card > a {
	display: inline-flex;
	min-height: 48px;
	flex: 0 0 auto;
	align-items: center;
	padding: 0 22px;
	border-radius: 13px;
	color: #fff;
	background: var(--ly-color-brand);
	font-weight: 800;
}

.ly-account-native-order .woocommerce-order-details,
.ly-account-native-order .woocommerce-customer-details {
	margin-top: 24px;
}

.ly-account-native-order table {
	border-color: var(--ly-color-line);
	border-radius: 12px;
}

.ly-account-auth {
	position: relative;
	overflow: hidden;
	min-height: calc(100svh - 76px);
	padding-bottom: 48px;
	background:
		radial-gradient(circle at 90% 12%, rgba(49, 94, 251, .16), transparent 29%),
		radial-gradient(circle at 9% 85%, rgba(32, 164, 122, .1), transparent 26%),
		linear-gradient(180deg, #fbfcff, #f4f7ff);
}

.ly-account-auth > .ly-account-shell {
	position: relative;
	z-index: 1;
	width: min(1240px, calc(100% - 80px));
}

.ly-account-auth__layout {
	display: grid;
	min-height: calc(100svh - 132px);
	align-items: center;
	padding: 28px 0 44px;
	grid-template-columns: minmax(0, 40fr) minmax(560px, 60fr);
	gap: clamp(44px, 5vw, 72px);
}

.ly-account-auth__intro {
	max-width: 440px;
	margin: 0;
	padding: 0;
	text-align: left;
}

.ly-account-auth__intro h1 {
	font-size: clamp(38px, 3.5vw, 48px);
	line-height: 1.1;
	text-wrap: balance;
}

.ly-account-auth__intro > p {
	max-width: 420px;
	margin-right: 0;
	margin-left: 0;
}

.ly-account-auth__mobile-copy {
	display: none;
}

.ly-account-auth__trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 12px;
	margin-top: 22px;
}

.ly-account-auth__trust span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border: 1px solid rgba(49, 94, 251, .13);
	border-radius: 999px;
	color: var(--ly-color-brand);
	background: rgba(255, 255, 255, .7);
	font-size: 10px;
	font-weight: 800;
}

.ly-account-auth__trust b {
	color: var(--ly-color-copy);
	font-size: 11px;
}

.ly-account-auth__grid {
	display: grid;
	grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
	gap: 24px;
	align-items: start;
}

.ly-account-auth-card {
	width: min(100%, 620px);
	margin: 0;
	padding: 36px;
	border: 1px solid rgba(215, 221, 231, .96);
	border-radius: 24px;
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 24px 64px rgba(15, 23, 42, .1);
	backdrop-filter: blur(16px);
	justify-self: end;
}

.ly-account-auth-panel[hidden] {
	display: none;
}

.ly-account-auth-card__head {
	margin-bottom: 24px;
}

.ly-account-auth-card__head > span {
	color: var(--ly-color-brand);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .13em;
}

.ly-account-auth-card__head h2 {
	margin: 7px 0;
	font-size: 30px;
	letter-spacing: -.03em;
}

.ly-account-auth-card__head p {
	margin: 0;
	color: var(--ly-color-muted);
	font-size: 13px;
	line-height: 1.65;
}

.ly-account-auth-card .ly-account-panel {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	backdrop-filter: none;
}

.ly-account-auth-card .ly-account-panel > header {
	margin-bottom: 20px;
}

.ly-account-auth-card .ly-account-panel > header h2 {
	font-size: 27px;
}

.ly-account-oauth {
	margin: 0 0 24px;
	padding: 22px;
	border: 1px solid rgba(49, 94, 251, .14);
	border-radius: var(--ly-radius-lg);
	background: rgba(255, 255, 255, .86);
	box-shadow: var(--ly-shadow-sm);
}

.ly-account-auth-card .ly-account-oauth {
	margin: 0 0 24px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.ly-account-auth-card .ly-account-oauth__head {
	grid-template-columns: auto minmax(0, 1fr);
	gap: 7px 14px;
}

.ly-account-auth-card .ly-account-oauth__head p {
	grid-column: 1 / -1;
	text-align: left;
}

.ly-account-oauth--binding {
	margin: 26px 0;
	background: var(--ly-color-surface);
}

.ly-account-oauth__head {
	display: grid;
	grid-template-columns: auto auto minmax(180px, 1fr);
	align-items: baseline;
	gap: 10px 18px;
	margin-bottom: 16px;
}

.ly-account-oauth__head > span {
	color: var(--ly-color-brand);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .13em;
}

.ly-account-oauth__head h2 {
	margin: 0;
	font-size: 19px;
	letter-spacing: -.02em;
}

.ly-account-oauth__head p {
	margin: 0;
	color: var(--ly-color-muted);
	font-size: 12px;
	text-align: right;
}

.ly-account-oauth__buttons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.ly-account-oauth__buttons--single {
	grid-template-columns: minmax(0, 1fr);
}

.ly-account-oauth-button {
	display: grid;
	grid-template-columns: 38px 1fr auto;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 6px 14px 6px 7px;
	border: 1px solid transparent;
	border-radius: 15px;
	color: #fff;
	box-shadow: 0 10px 24px rgba(15, 23, 42, .1);
	transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.ly-account-oauth-button:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 15px 30px rgba(15, 23, 42, .14);
}

.ly-account-oauth-button:focus-visible {
	outline: 3px solid rgba(49, 94, 251, .25);
	outline-offset: 3px;
}

.ly-account-oauth-button--wechat {
	background: linear-gradient(135deg, #08a345, #14b85a);
}

.ly-account-oauth-button > span {
	display: inline-flex;
	width: 38px;
	height: 38px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 12px;
	background: rgba(255, 255, 255, .13);
	font-size: 17px;
	font-weight: 800;
}

.ly-account-oauth-button strong,
.ly-account-oauth-button small {
	display: block;
}

.ly-account-oauth-button strong {
	font-size: 14px;
}

.ly-account-oauth-button small {
	color: rgba(255, 255, 255, .76);
	font-size: 10px;
	white-space: nowrap;
}

.ly-account-oauth-button.is-unavailable {
	border-color: var(--ly-color-line-strong);
	color: var(--ly-color-copy);
	background: #f7f8fb;
	box-shadow: none;
	opacity: .82;
}

.ly-account-oauth-button.is-unavailable:hover {
	color: var(--ly-color-copy);
	box-shadow: none;
	opacity: 1;
	transform: none;
}

.ly-account-oauth-button.is-unavailable > span {
	border-color: var(--ly-color-line-strong);
	color: var(--ly-color-subtle);
	background: #fff;
}

.ly-account-oauth-button.is-unavailable small {
	color: var(--ly-color-subtle);
}

.ly-account-oauth__inline-status {
	min-height: 18px;
	margin: 10px 0 0;
	color: var(--ly-color-muted);
	font-size: 11px;
	line-height: 1.6;
	text-align: center;
}

.ly-account-oauth-notice {
	margin: 0 0 22px;
	padding: 14px 17px;
	border: 1px solid rgba(49, 94, 251, .18);
	border-radius: 13px;
	color: var(--ly-color-copy);
	background: var(--ly-color-brand-soft);
	font-size: 13px;
	font-weight: 650;
}

.ly-account-oauth-notice.is-success {
	border-color: rgba(32, 164, 122, .25);
	background: #f2fbf8;
}

.ly-account-oauth-notice.is-error {
	border-color: rgba(217, 45, 32, .22);
	background: #fff7f6;
}

.ly-account-panel {
	min-width: 0;
	padding: 30px;
	border: 1px solid var(--ly-color-line);
	border-radius: var(--ly-radius-lg);
	background: rgba(255, 255, 255, .94);
	box-shadow: var(--ly-shadow-md);
	backdrop-filter: blur(16px);
}

.ly-account-panel > header {
	margin-bottom: 24px;
}

.ly-account-panel > header h2 {
	margin: 7px 0;
	font-size: 30px;
	letter-spacing: -.03em;
}

.ly-account-panel > header p {
	margin: 0;
	color: var(--ly-color-muted);
	font-size: 13px;
	line-height: 1.65;
}

.ly-account-form {
	display: grid;
	gap: 16px;
	margin: 0;
}

.ly-account-form__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.ly-account-form__row > a {
	color: var(--ly-color-brand);
	font-size: 12px;
	font-weight: 700;
}

.ly-account-check {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	margin: 0 !important;
	font-weight: 500 !important;
}

.ly-account-check input {
	width: 16px;
	height: 16px;
}

.ly-account-form > button {
	width: 100%;
	justify-self: stretch;
}

.ly-account-form__contacts {
	min-width: 0;
	margin: 4px 0 0;
	padding: 16px;
	border: 1px solid var(--ly-color-line);
	border-radius: 14px;
	background: var(--ly-color-surface);
}

.ly-account-form__contacts legend {
	padding: 0 6px;
	color: var(--ly-color-copy);
	font-size: 12px;
	font-weight: 800;
}

.ly-account-form__contacts > p {
	margin: 0 0 14px;
	color: var(--ly-color-subtle);
	font-size: 11px;
	line-height: 1.6;
}

.ly-account-form__contacts .ly-account-form__split > div {
	min-width: 0;
}

.ly-account-auth-divider {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 20px;
	color: var(--ly-color-subtle);
	font-size: 11px;
	font-weight: 700;
}

.ly-account-auth-divider::before,
.ly-account-auth-divider::after {
	height: 1px;
	flex: 1 1 auto;
	background: var(--ly-color-line);
	content: "";
}

.ly-account-auth-switch {
	margin: 24px 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--ly-color-line);
	color: var(--ly-color-muted);
	font-size: 13px;
	text-align: center;
}

.ly-account-auth-switch button {
	min-height: 36px;
	padding: 0 4px;
	border: 0;
	color: var(--ly-color-brand);
	background: transparent;
	font-family: inherit;
	font-size: inherit;
	font-weight: 800;
	cursor: pointer;
}

.ly-account-auth-switch a {
	color: var(--ly-color-brand);
	font-weight: 800;
}

.ly-account-auth-switch button:hover {
	color: var(--ly-color-brand-hover);
}

.ly-account-auth-switch button:focus-visible,
.ly-account-auth-card__head h2:focus-visible,
.ly-account-panel--register h2:focus-visible {
	outline: 3px solid rgba(49, 94, 251, .2);
	outline-offset: 3px;
}

.ly-account-auth__future {
	display: block;
	margin-top: 20px;
}

.ly-account-auth__future > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 15px 18px;
	border: 1px dashed var(--ly-color-line-strong);
	border-radius: 13px;
	background: rgba(255, 255, 255, .58);
}

.ly-account-auth__future strong {
	font-size: 12px;
}

.ly-account-auth__future span {
	color: var(--ly-color-subtle);
	font-size: 11px;
	text-align: right;
}

.ly-account-recovery {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
	gap: 54px;
	align-items: center;
	padding-top: 38px;
}

.ly-account-panel--recovery .woocommerce-form-row {
	margin-bottom: 16px;
}

.ly-account-panel--recovery input[type="text"] {
	width: 100%;
	min-height: 48px;
	border: 1px solid var(--ly-color-line-strong);
	border-radius: 12px;
}

.ly-account-panel--recovery button {
	min-height: 46px;
	border: 0;
	border-radius: 12px;
	color: #fff;
	background: var(--ly-color-brand);
}

.ly-account .woocommerce-error,
.ly-account .woocommerce-info,
.ly-account .woocommerce-message {
	margin: 0 0 22px;
	padding: 16px 18px 16px 44px;
	border: 1px solid var(--ly-color-line);
	border-top-width: 1px;
	border-radius: 13px;
	background: #fff;
	box-shadow: var(--ly-shadow-sm);
	font-size: 13px;
}

.ly-account .woocommerce-message {
	border-color: rgba(32, 164, 122, .25);
	background: #f2fbf8;
}

.ly-account .woocommerce-error {
	border-color: rgba(217, 45, 32, .22);
	background: #fff7f6;
}

@media (max-width: 1080px) {
	.ly-account-status-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ly-account-orders article {
		grid-template-columns: .7fr minmax(180px, 1.7fr) .8fr .8fr auto;
	}

	.ly-account-orders article > div:nth-child(5) {
		display: none;
	}
}

@media (max-width: 1199px) {
	.ly-account-auth {
		min-height: 0;
		padding-bottom: 72px;
	}

	.ly-account-auth > .ly-account-shell {
		width: min(100% - 56px, 920px);
	}

	.ly-account-auth__layout {
		min-height: 0;
		padding: 38px 0 0;
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.ly-account-auth__intro {
		max-width: 680px;
		margin: 0 auto;
		text-align: center;
	}

	.ly-account-auth__intro h1,
	.ly-account-auth__intro > p {
		margin-right: auto;
		margin-left: auto;
	}

	.ly-account-auth__intro h1 {
		font-size: clamp(38px, 6vw, 50px);
	}

	.ly-account-auth__trust {
		justify-content: center;
	}

	.ly-account-auth-card {
		width: min(88vw, 680px);
		margin: 0 auto;
		justify-self: center;
	}
}

@media (max-width: 900px) {
	.ly-account-shell {
		width: min(100% - 32px, 760px);
	}

	.ly-account-hero__row,
	.ly-account-support-card {
		align-items: flex-start;
		flex-direction: column;
	}

	.ly-account-layout {
		grid-template-columns: 1fr;
	}

	.ly-account-nav {
		position: static;
	}

	.ly-account-nav nav {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ly-account-nav nav a {
		grid-template-columns: 22px 1fr;
	}

	.ly-account-nav nav a > i {
		display: none;
	}

	.ly-account-auth__grid,
	.ly-account-recovery {
		grid-template-columns: 1fr;
	}

	.ly-account-service-records article,
	.ly-account-resource-records article {
		grid-template-columns: minmax(0, 1fr) minmax(130px, .8fr) auto;
	}

	.ly-account-service-records article > div:nth-child(3) {
		display: none;
	}

	.ly-account-auth__intro { padding-top: 0; }
}

@media (max-width: 767px) {
	.ly-account-auth > .ly-account-shell {
		width: calc(100% - 32px);
	}

	.ly-account-auth__layout {
		padding-top: 26px;
		gap: 20px;
	}

	.ly-account-auth__intro {
		max-width: none;
		text-align: left;
	}

	.ly-account-auth__intro .ly-account-kicker,
	.ly-account-auth__trust,
	.ly-account-auth__desktop-copy {
		display: none;
	}

	.ly-account-auth__mobile-copy {
		display: inline;
	}

	.ly-account-auth__intro h1 {
		margin: 0 0 8px;
		font-size: 32px;
		line-height: 1.15;
		letter-spacing: -.035em;
	}

	.ly-account-auth__intro > p {
		font-size: 14px;
		line-height: 1.6;
	}

	.ly-account-auth-card {
		width: 100%;
		padding: 24px 20px;
		border-radius: 20px;
	}

	.ly-account-auth-card__head {
		margin-bottom: 20px;
	}

	.ly-account-auth-card__head h2 {
		font-size: 28px;
	}

	.ly-account-form,
	.ly-account-form__split {
		gap: 14px;
	}

	.ly-account-form__row {
		align-items: center;
		flex-direction: row;
	}

	.ly-account-auth-switch {
		margin-top: 20px;
		padding-top: 16px;
	}
}

@media (max-width: 640px) {
	.ly-account-shell {
		width: min(100% - 32px, 520px);
	}

	.ly-account-breadcrumbs {
		padding-top: 16px;
	}

	.ly-account-hero {
		padding-bottom: 30px;
	}

	.ly-account-hero__row {
		gap: 24px;
		padding-top: 34px;
	}

	.ly-account-hero h1 {
		font-size: clamp(34px, 11vw, 46px);
	}

	.ly-account-auth__intro h1 {
		font-size: 32px;
	}

	.ly-account-state {
		width: 100%;
		min-width: 0;
	}

	.ly-account-workspace {
		padding: 24px 0 64px;
	}

	.ly-account-layout {
		gap: 20px;
	}

	.ly-account-nav__identity {
		padding: 18px;
	}

	.ly-account-nav nav {
		display: flex;
		overflow-x: auto;
		padding: 10px;
		scrollbar-width: none;
	}

	.ly-account-nav nav a {
		min-width: max-content;
		padding: 0 14px;
	}

	.ly-account-nav__logout {
		padding: 14px 18px;
	}

	.ly-account-content,
	.ly-account-panel {
		padding: 22px 18px;
		border-radius: 18px;
	}

	.ly-account-auth-card {
		padding: 22px 18px;
		border-radius: 20px;
	}

	.ly-account-auth-card .ly-account-panel {
		padding: 0;
		border-radius: 0;
	}

	.ly-account-section-head h2 {
		font-size: 29px;
	}

	.ly-account-status-grid,
	.ly-account-security-grid,
	.ly-account-settings-form__split,
	.ly-account-form__split,
	.ly-account-oauth__buttons,
	.ly-account-auth__future,
	.ly-account-membership-card,
	.ly-account-service-records article,
	.ly-account-resource-records article {
		grid-template-columns: 1fr;
	}

	.ly-account-service-records article,
	.ly-account-resource-records article {
		gap: 10px;
		padding: 16px;
	}

	.ly-account-service-records article > div:nth-child(3) {
		display: block;
	}

	.ly-account-oauth {
		padding: 18px;
	}

	.ly-account-auth-card .ly-account-oauth {
		padding: 0;
	}

	.ly-account-oauth__head {
		grid-template-columns: 1fr;
		gap: 5px;
	}

	.ly-account-oauth__head p {
		text-align: left;
	}

	.ly-account-orders article {
		grid-template-columns: 1fr 1fr;
		gap: 13px 18px;
	}

	.ly-account-orders article > div:nth-child(2) {
		grid-column: 1 / -1;
		grid-row: 1;
	}

	.ly-account-orders article > div:nth-child(5) {
		display: block;
	}

	.ly-account-orders article > a {
		grid-column: 1 / -1;
		padding-top: 12px;
		border-top: 1px solid var(--ly-color-line);
	}

	.ly-account-settings-form {
		padding: 20px 16px;
	}

	.ly-account-settings-form > button {
		width: 100%;
		justify-self: stretch;
	}

	.ly-account-membership-card,
	.ly-account-support-card {
		padding: 24px 20px;
	}

	.ly-account-support-card > a {
		width: 100%;
		justify-content: center;
	}

	.ly-account-auth {
		padding-bottom: 64px;
	}

	.ly-account-auth__intro { padding: 0; }

	.ly-account-auth__future > div {
		align-items: flex-start;
		flex-direction: column;
		gap: 4px;
	}

	.ly-account-auth__future span {
		text-align: left;
	}

	.ly-account-form__row { align-items: center; flex-direction: row; }
}

/* Unified lightweight authentication card (0.17). */
.ly-account-page--guest .ly-account-auth {
	min-height: calc(100svh - 76px);
	padding-bottom: 32px;
}

.ly-account-page--guest .ly-account-auth > .ly-account-shell {
	width: min(100% - 48px, 1120px);
}

.ly-account-page--guest .ly-account-auth__layout {
	display: flex;
	min-height: calc(100svh - 142px);
	align-items: center;
	justify-content: center;
	padding: 22px 0 38px;
}

.ly-account-page--guest .ly-account-auth-card {
	width: min(100%, 468px);
	margin: 0 auto;
	padding: 28px 30px;
	border-radius: 22px;
	box-shadow: 0 22px 60px rgba(15, 23, 42, .1);
	justify-self: center;
}

@media (min-width: 768px) {
	/* Center against the viewport, not an Astra content column or admin-bar offset. */
	.ly-account-page--guest .ly-account-auth__layout {
		position: relative;
		left: 50%;
		width: 100vw;
		max-width: 100vw;
		margin-left: -50vw;
	}

	body.admin-bar.ly-account-page--guest .ly-account-auth__layout {
		min-height: calc(100svh - 174px);
	}
}

.ly-account-auth-tabs {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 4px;
	margin-bottom: 24px;
	padding: 4px;
	border: 1px solid var(--ly-color-line);
	border-radius: 14px;
	background: #f5f7fb;
}

.ly-account-auth-tabs button,
.ly-account-mode-tabs button {
	min-height: 42px;
	padding: 0 14px;
	border: 0;
	border-radius: 10px;
	color: var(--ly-color-muted);
	background: transparent;
	font-family: inherit;
	font-size: 13px;
	font-weight: 750;
	cursor: pointer;
}

.ly-account-auth-tabs button.is-active,
.ly-account-mode-tabs button.is-active {
	color: var(--ly-color-brand);
	background: #fff;
	box-shadow: 0 4px 12px rgba(15, 23, 42, .07);
}

.ly-account-auth-tabs button:focus-visible,
.ly-account-mode-tabs button:focus-visible {
	outline: 3px solid rgba(49, 94, 251, .18);
	outline-offset: 2px;
}

.ly-account-page--guest .ly-account-auth-card__head,
.ly-account-page--guest .ly-account-panel--register > header {
	margin-bottom: 18px;
}

.ly-account-page--guest .ly-account-auth-card__head h2,
.ly-account-page--guest .ly-account-panel--register > header h2 {
	margin: 5px 0;
	font-size: 27px;
}

.ly-account-mode-tabs {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2px;
	margin-bottom: 18px;
	border-bottom: 1px solid var(--ly-color-line);
}

.ly-account-mode-tabs button {
	border-radius: 9px 9px 0 0;
}

.ly-account-mode-tabs button.is-active {
	box-shadow: inset 0 -2px var(--ly-color-brand);
}

.ly-account-form[hidden],
.ly-account-auth-panel[hidden] {
	display: none !important;
}

.ly-account-page--guest .ly-account-form {
	gap: 12px;
}

.ly-account-code-field,
.ly-account-password-field {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
	align-items: center;
}

.ly-account-code-field > input,
.ly-account-password-field > input {
	min-width: 0;
}

.ly-account-code-field > button,
.ly-account-password-field > button {
	min-width: 108px;
	min-height: 48px;
	padding: 0 13px;
	border: 1px solid var(--ly-color-line-strong);
	border-radius: 12px;
	color: var(--ly-color-brand);
	background: #fff;
	font-family: inherit;
	font-size: 12px;
	font-weight: 750;
	cursor: pointer;
}

.ly-account-password-field > button {
	min-width: 58px;
}

.ly-account-code-field > button:hover:not(:disabled),
.ly-account-password-field > button:hover {
	border-color: var(--ly-color-brand);
	background: var(--ly-color-brand-soft);
}

.ly-account-code-field > button:disabled,
.ly-account-form > button:disabled,
.ly-account-settings-form > button:disabled {
	cursor: not-allowed;
	opacity: .55;
}

.ly-account-field-status,
.ly-account-password-strength {
	min-height: 17px;
	margin: -4px 0 0;
	color: var(--ly-color-subtle);
	font-size: 11px;
	line-height: 1.5;
}

.ly-account-field-status.is-error,
.ly-account-field-status.is-warning,
.ly-account-password-strength[data-strength="weak"] {
	color: #b42318;
}

.ly-account-password-strength[data-strength="ok"] {
	color: #b06b00;
}

.ly-account-password-strength[data-strength="safe"] {
	color: var(--ly-color-success);
}

.ly-account-page--guest .ly-account-auth-divider {
	margin: 22px 0 16px;
}

.ly-account-page--guest .ly-account-auth-card .ly-account-oauth {
	margin-bottom: 0;
}

.ly-account-page--guest .ly-account-oauth-button {
	grid-template-columns: 34px 1fr auto;
	min-height: 48px;
	box-shadow: none;
}

.ly-account-page--guest .ly-account-oauth-button > span {
	width: 34px;
	height: 34px;
}

.ly-account-policy {
	margin: 14px 0 0;
	color: var(--ly-color-subtle);
	font-size: 10px;
	line-height: 1.6;
	text-align: center;
}

.ly-account-policy a {
	color: var(--ly-color-muted);
	font-weight: 650;
}

.ly-account-inline-error {
	margin: -6px 0 14px;
	padding: 10px 12px;
	border: 1px solid rgba(217, 45, 32, .2);
	border-radius: 10px;
	color: #b42318;
	background: #fff7f6;
	font-size: 12px;
	line-height: 1.5;
}

.ly-account-form > button.is-loading,
.ly-account-settings-form > button.is-loading {
	box-shadow: none;
	opacity: .72;
}

.ly-account-oauth-binding {
	display: grid;
	grid-template-columns: 38px 1fr auto;
	align-items: center;
	gap: 10px;
	min-height: 56px;
	padding: 8px;
	border: 1px solid rgba(32, 164, 122, .2);
	border-radius: 14px;
	background: #f3fbf8;
}

.ly-account-oauth-binding > span {
	display: inline-flex;
	width: 38px;
	height: 38px;
	align-items: center;
	justify-content: center;
	border-radius: 11px;
	color: #fff;
	background: var(--ly-color-success);
	font-weight: 800;
}

.ly-account-oauth-binding strong,
.ly-account-oauth-binding small {
	display: block;
}

.ly-account-oauth-binding small {
	margin-top: 2px;
	color: var(--ly-color-muted);
	font-size: 10px;
}

.ly-account-oauth-binding form {
	margin: 0;
}

.ly-account-oauth-binding button {
	min-height: 36px;
	padding: 0 12px;
	border: 1px solid var(--ly-color-line-strong);
	border-radius: 9px;
	color: var(--ly-color-muted);
	background: #fff;
	cursor: pointer;
}

.ly-account-welcome {
	margin-bottom: 28px;
	padding: 24px;
	border: 1px solid rgba(49, 94, 251, .16);
	border-radius: 18px;
	background: linear-gradient(135deg, #f4f7ff, #fff);
}

.ly-account-welcome > span {
	color: var(--ly-color-brand);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .14em;
}

.ly-account-welcome h2 {
	margin: 7px 0;
	font-size: 28px;
}

.ly-account-welcome p {
	margin: 0;
	color: var(--ly-color-muted);
}

.ly-account-welcome a {
	display: inline-flex;
	margin-top: 15px;
	color: var(--ly-color-brand);
	font-weight: 750;
}

.ly-account-code-field--compact {
	margin-top: 9px;
}

.ly-account-code-field--compact > input {
	font-size: 12px;
}

@media (max-width: 767px) {
	.ly-account-page--guest .ly-account-auth > .ly-account-shell {
		width: calc(100% - 40px);
	}

	.ly-account-page--guest .ly-account-auth__layout {
		min-height: 0;
		padding: 24px 0 42px;
	}

	.ly-account-page--guest .ly-account-auth-card {
		width: 100%;
		padding: 24px 20px;
		border-radius: 20px;
	}

	.ly-account-page--guest .ly-account-oauth__buttons {
		grid-template-columns: 1fr;
	}

	.ly-account-page--guest .ly-account-auth-switch {
		margin-top: 18px;
		padding-top: 14px;
	}

	.ly-account-code-field > button {
		min-width: 106px;
	}
}

@media (max-width: 390px) {
	.ly-account-page--guest .ly-account-auth > .ly-account-shell {
		width: calc(100% - 32px);
	}

	.ly-account-page--guest .ly-account-auth-card {
		padding: 22px 18px;
	}

	.ly-account-code-field > button {
		min-width: 100px;
		padding: 0 10px;
	}
}

/* Compact customer order views. These styles are scoped to order endpoints only. */
.ly-account-content--orders .ly-account-section-head,
.ly-account-content--view-order .ly-account-section-head {
	margin-bottom: 20px;
}

.ly-account-content--orders .ly-account-section-head h2,
.ly-account-content--view-order .ly-account-section-head h2 {
	margin-top: 7px;
	font-size: clamp(26px, 2.6vw, 32px);
}

.ly-account-content--orders .ly-account-section-head p,
.ly-account-content--view-order .ly-account-section-head p {
	font-size: 13px;
	line-height: 1.65;
}

.ly-account-empty--orders {
	padding: 42px 24px;
}

.ly-account-orders--full {
	gap: 10px;
}

.ly-account-orders--full .ly-account-order-card {
	display: grid;
	min-height: 96px;
	padding: 15px 16px;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 20px;
	border-color: var(--ly-color-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: none;
}

.ly-account-orders--full .ly-account-order-card:hover {
	border-color: rgba(49, 94, 251, .24);
	box-shadow: 0 8px 20px rgba(26, 46, 91, .05);
}

.ly-account-order-card__main {
	min-width: 0;
}

.ly-account-order-card__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.ly-account-orders--full .ly-account-order-card__meta strong {
	overflow: visible;
	margin: 0;
	color: var(--ly-color-copy);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	letter-spacing: .01em;
	white-space: nowrap;
}

.ly-account-order-card__meta time {
	color: var(--ly-color-subtle);
	font-size: 11px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.ly-account-orders--full .ly-account-order-card h3 {
	display: -webkit-box;
	overflow: hidden;
	margin: 7px 0 0;
	color: var(--ly-color-ink);
	font-size: 14px;
	font-weight: 750;
	line-height: 1.45;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.ly-account-order-card__actions {
	display: grid;
	grid-template-columns: auto auto auto;
	align-items: center;
	justify-content: end;
	gap: 14px;
}

.ly-account-order-card__amount {
	min-width: 72px;
	text-align: right;
}

.ly-account-orders--full .ly-account-order-card__amount span,
.ly-account-orders--full .ly-account-order-card__amount strong {
	display: block;
	margin: 0;
}

.ly-account-orders--full .ly-account-order-card__amount span {
	margin-bottom: 3px;
	color: var(--ly-color-subtle);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .04em;
}

.ly-account-orders--full .ly-account-order-card__amount strong {
	overflow: visible;
	color: var(--ly-color-copy);
	font-size: 14px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.ly-account-order-badge {
	display: inline-flex;
	min-height: 26px;
	align-items: center;
	justify-content: center;
	padding: 0 9px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 750;
	line-height: 1;
	white-space: nowrap;
}

.ly-account-order-badge--pending {
	border-color: rgba(174, 121, 0, .18);
	color: #8a5a00;
	background: #fff8e7;
}

.ly-account-order-badge--processing {
	border-color: rgba(49, 94, 251, .18);
	color: #244acf;
	background: #eff3ff;
}

.ly-account-order-badge--completed {
	border-color: rgba(32, 164, 122, .2);
	color: #147956;
	background: #edfaf4;
}

.ly-account-order-badge--cancelled,
.ly-account-order-badge--neutral {
	border-color: rgba(98, 108, 128, .17);
	color: #5d6678;
	background: #f5f6f8;
}

.ly-account-order-badge--refunded {
	border-color: rgba(131, 79, 190, .18);
	color: #7040a7;
	background: #f8f1ff;
}

.ly-account-order-badge--failed {
	border-color: rgba(217, 45, 32, .19);
	color: #b42318;
	background: #fff2f1;
}

.ly-account-orders--full .ly-account-order-card > .ly-account-order-card__actions > a {
	display: inline-flex;
	min-height: 40px;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 0 2px;
	border: 0;
	color: var(--ly-color-brand);
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
}

.ly-account-orders--full .ly-account-order-card > .ly-account-order-card__actions > a:hover {
	color: #173ec5;
}

.ly-account-order-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 20px;
	color: var(--ly-color-muted);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
}

.ly-account-order-pagination a {
	display: inline-flex;
	min-height: 38px;
	align-items: center;
	padding: 0 12px;
	border: 1px solid var(--ly-color-line);
	border-radius: 10px;
	color: var(--ly-color-brand);
	font-weight: 750;
}

.ly-account-order-pagination a:hover {
	border-color: rgba(49, 94, 251, .25);
	background: var(--ly-color-brand-soft);
}

.ly-account-order-detail {
	display: grid;
	gap: 14px;
}

.ly-account-order-detail__summary {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 10px;
	padding: 15px;
	border: 1px solid var(--ly-color-line);
	border-radius: 16px;
	background: linear-gradient(145deg, #fbfcff, #fff);
}

.ly-account-order-detail__summary > div {
	min-width: 0;
	padding: 3px 5px;
}

.ly-account-order-detail__summary span,
.ly-account-order-detail__summary strong {
	display: block;
}

.ly-account-order-detail__summary > div > span {
	margin-bottom: 7px;
	color: var(--ly-color-subtle);
	font-size: 10px;
	font-weight: 750;
	letter-spacing: .05em;
}

.ly-account-order-detail__summary > div > strong {
	overflow: hidden;
	color: var(--ly-color-copy);
	font-size: 13px;
	font-weight: 750;
	line-height: 1.45;
	text-overflow: ellipsis;
}

.ly-account-order-detail__summary .ly-account-order-badge {
	display: inline-flex;
}

.ly-account-order-detail__summary .ly-account-order-detail__total {
	overflow: visible;
	color: var(--ly-color-brand);
	font-size: 17px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.ly-account-order-detail__section {
	padding: 18px;
	border: 1px solid var(--ly-color-line);
	border-radius: 16px;
	background: #fff;
}

.ly-account-order-detail__section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 13px;
}

.ly-account-order-detail__section-head span {
	display: block;
	margin-bottom: 4px;
	color: var(--ly-color-brand);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .11em;
}

.ly-account-order-detail__section-head h3 {
	margin: 0;
	font-size: 17px;
	letter-spacing: -.02em;
}

.ly-account-order-items {
	display: grid;
	gap: 0;
}

.ly-account-order-items article {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 14px;
	padding: 12px 0;
	border-top: 1px solid var(--ly-color-line);
}

.ly-account-order-items article:first-child {
	border-top: 0;
	padding-top: 0;
}

.ly-account-order-items article:last-child {
	padding-bottom: 0;
}

.ly-account-order-items strong {
	overflow: hidden;
	font-size: 13px;
	line-height: 1.5;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ly-account-order-items span {
	color: var(--ly-color-muted);
	font-size: 12px;
	white-space: nowrap;
}

.ly-account-order-items b {
	color: var(--ly-color-copy);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.ly-account-order-contacts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 24px;
	margin: 0;
}

.ly-account-order-contacts div {
	min-width: 0;
}

.ly-account-order-contacts dt {
	margin-bottom: 4px;
	color: var(--ly-color-subtle);
	font-size: 11px;
}

.ly-account-order-contacts dd {
	overflow-wrap: anywhere;
	margin: 0;
	color: var(--ly-color-copy);
	font-size: 13px;
	line-height: 1.55;
}

.ly-account-order-detail__section--note p,
.ly-account-order-detail__section[aria-labelledby="ly-order-shipping-title"] p {
	margin: 0;
	color: var(--ly-color-muted);
	font-size: 13px;
	line-height: 1.75;
}

.ly-account-order-detail__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding-top: 4px;
}

.ly-account-order-detail__footer > a {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	padding: 0 2px;
	color: var(--ly-color-brand);
	font-size: 13px;
	font-weight: 800;
}

.ly-account-order-detail__footer > .ly-account-order-detail__support {
	justify-content: center;
	padding: 0 15px;
	border-radius: 11px;
	color: #fff;
	background: var(--ly-color-brand);
}

@media (max-width: 767px) {
	.ly-account-orders--full .ly-account-order-card {
		position: relative;
		min-height: 0;
		padding: 15px;
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.ly-account-orders--full .ly-account-order-card__meta {
		padding-right: 94px;
	}

	.ly-account-orders--full .ly-account-order-card__actions {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 12px;
		padding-top: 12px;
		border-top: 1px solid var(--ly-color-line);
	}

	.ly-account-orders--full .ly-account-order-card__actions > .ly-account-order-badge {
		position: absolute;
		top: 15px;
		right: 15px;
	}

	.ly-account-orders--full .ly-account-order-card__amount {
		text-align: left;
	}

	.ly-account-orders--full .ly-account-order-card > .ly-account-order-card__actions > a {
		min-width: 60px;
		min-height: 44px;
		justify-self: end;
		padding: 0 4px;
	}

	.ly-account-order-pagination {
		justify-content: space-between;
		gap: 8px;
	}

	.ly-account-order-pagination a {
		min-height: 44px;
	}

	.ly-account-order-detail__summary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 13px;
	}

	.ly-account-order-detail__section {
		padding: 16px;
	}

	.ly-account-order-items article {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 6px 14px;
	}

	.ly-account-order-items strong {
		grid-column: 1 / -1;
		white-space: normal;
	}

	.ly-account-order-contacts {
		grid-template-columns: 1fr;
		gap: 11px;
	}

	.ly-account-order-detail__footer {
		align-items: stretch;
		flex-direction: column;
	}

	.ly-account-order-detail__footer > a,
	.ly-account-order-detail__footer > .ly-account-order-detail__support {
		min-height: 44px;
		justify-content: center;
		padding: 0 14px;
		border: 1px solid var(--ly-color-line);
		border-radius: 11px;
	}

	.ly-account-order-detail__footer > .ly-account-order-detail__support {
		border-color: var(--ly-color-brand);
	}
}

@media (max-width: 390px) {
	.ly-account-orders--full .ly-account-order-card {
		padding: 14px;
	}

	.ly-account-orders--full .ly-account-order-card__actions > .ly-account-order-badge {
		top: 14px;
		right: 14px;
	}

	.ly-account-order-detail__summary {
		grid-template-columns: 1fr;
	}
}
