/* Member dashboard: light grey page, white cards, big numbers, thin dividers. */
.lcl-member {
	--lcl-tier: #8c5a1e;
	--lcl-ink: #1a1a1a;
	--lcl-muted: #8a8f98;
	--lcl-line: #e6e6e6;
	max-width: 640px;
	margin: 0 auto;
	padding: 0 0 24px;
	color: var(--lcl-ink);
	box-sizing: border-box;
}

.lcl-member *,
.lcl-member *::before,
.lcl-member *::after {
	box-sizing: border-box;
}

.lcl-member__title {
	margin: 8px 0 20px;
	font-size: 28px;
	font-weight: 500;
	text-align: center;
}

.lcl-card {
	margin: 0 0 12px;
	padding: 20px;
	background: #fff;
	border: 1px solid var(--lcl-line);
}

.lcl-card__title {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 600;
}

.lcl-label {
	margin: 0;
	color: var(--lcl-muted);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.lcl-empty {
	margin: 0;
	color: var(--lcl-muted);
	font-size: 14px;
}

/* Profile. */
.lcl-profile {
	display: flex;
	align-items: center;
	gap: 20px;
}

.lcl-avatar {
	display: flex;
	flex: 0 0 88px;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	overflow: hidden;
	color: var(--lcl-tier);
	border: 4px solid var(--lcl-tier);
	border-radius: 50%;
}

.lcl-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lcl-profile__info p {
	margin: 0 0 4px;
}

.lcl-name {
	font-size: 18px;
	line-height: 1.3;
	word-break: break-word;
}

.lcl-tier {
	color: var(--lcl-tier);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.lcl-code {
	color: var(--lcl-muted);
	font-size: 14px;
}

/* Headline numbers. */
.lcl-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 0 0 12px;
	background: #fff;
	border: 1px solid var(--lcl-line);
}

.lcl-stat {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 18px 28px 18px 12px;
	color: inherit;
	text-decoration: none;
}

.lcl-stat + .lcl-stat {
	border-left: 1px solid var(--lcl-line);
}

.lcl-hint {
	margin: 0 0 12px;
	color: var(--lcl-muted);
	font-size: 13px;
}

.lcl-stat::after {
	position: absolute;
	top: 50%;
	right: 14px;
	width: 8px;
	height: 8px;
	margin-top: -5px;
	content: "";
	border-top: 1.5px solid var(--lcl-muted);
	border-right: 1.5px solid var(--lcl-muted);
	transform: rotate(45deg);
}

.lcl-stat__label {
	color: var(--lcl-muted);
	font-size: 14px;
	font-weight: 600;
}

.lcl-stat__value {
	font-size: 36px;
	line-height: 1.2;
}

.lcl-stat__value small,
.lcl-progress__value small {
	margin-left: 4px;
	font-size: 16px;
}

/* Tier progress. */
.lcl-progress__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.lcl-progress__value {
	font-size: 30px;
	line-height: 1.2;
}

.lcl-bar {
	height: 16px;
	margin: 12px 0 16px;
	overflow: hidden;
	background: #eee;
}

.lcl-bar span {
	display: block;
	height: 100%;
	background: #4f5d75;
}

.lcl-progress__note {
	margin: 0;
	font-size: 15px;
}

.lcl-progress__note strong {
	font-size: 1.2em;
}

/* Member number. */
.lcl-number {
	margin: 6px 0 8px;
	font-size: 24px;
	letter-spacing: 0.05em;
	font-variant-numeric: tabular-nums;
}

/* Lists. */
.lcl-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lcl-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 12px 0;
	border-top: 1px solid var(--lcl-line);
}

.lcl-item:first-child {
	border-top: 0;
}

.lcl-item__main {
	min-width: 0;
}

.lcl-item__main p {
	margin: 0;
}

.lcl-item__title {
	font-size: 15px;
	font-weight: 600;
	word-break: break-word;
}

.lcl-item__meta {
	margin-top: 2px !important;
	color: var(--lcl-muted);
	font-size: 13px;
}

.lcl-need {
	color: #b45309;
}

.lcl-points {
	font-size: 18px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.lcl-points--plus {
	color: #0f7a3d;
}

.lcl-points--minus {
	color: #b32d2e;
}

.lcl-code-text {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	letter-spacing: 0.04em;
}

.lcl-badge {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 8px;
	font-size: 12px;
	color: #0f7a3d;
	background: #e7f6ec;
	border-radius: 10px;
}

.lcl-coupon--used .lcl-badge,
.lcl-coupon--expired .lcl-badge,
.lcl-coupon--void .lcl-badge {
	color: #666;
	background: #eee;
}

.lcl-coupon--used,
.lcl-coupon--expired,
.lcl-coupon--void {
	opacity: 0.7;
}

.lcl-actions {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

/* Buttons. */
.lcl-btn-dark,
.lcl-btn-light {
	display: inline-block;
	padding: 9px 16px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid #111;
	border-radius: 0;
}

.lcl-btn-dark {
	color: #fff !important;
	background: #111;
}

.lcl-btn-dark:hover {
	background: #333;
}

.lcl-btn-dark[disabled] {
	cursor: not-allowed;
	background: #b9b9b9;
	border-color: #b9b9b9;
}

.lcl-btn-light {
	color: #111;
	background: #fff;
}

.lcl-pager {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 12px;
	font-size: 14px;
}

.lcl-bullets {
	margin: 0;
	padding-left: 18px;
	font-size: 14px;
}

.lcl-bullets li {
	margin: 0 0 6px;
}

.lcl-line .lcl-linkcard {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.lcl-member .lcl-notice {
	margin: 0 0 12px;
}

/* Cart and checkout reminder. */
.lcl-checkout-coupons {
	margin: 0 0 16px;
	padding: 12px 16px;
	background: #f7f7f7;
	border: 1px dashed #bbb;
}

.lcl-checkout-coupons ul {
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.lcl-checkout-coupons li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 6px;
}

.lcl-checkout-coupons .lcl-code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (max-width: 480px) {
	.lcl-item {
		align-items: flex-start;
	}

	.lcl-stat__value {
		font-size: 30px;
	}
}

/* Total purchases. */
.lcl-spend__total {
	margin: 4px 0 14px;
	font-size: 34px;
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
}

.lcl-spend__split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-top: 1px solid var(--lcl-line);
}

.lcl-spend__split > div {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 12px 0 0;
}

.lcl-spend__split > div + div {
	padding-left: 16px;
	border-left: 1px solid var(--lcl-line);
}

.lcl-spend__label {
	color: var(--lcl-muted);
	font-size: 13px;
}

.lcl-spend__value {
	font-size: 18px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.lcl-spend__pending {
	margin: 12px 0 0;
	font-size: 13px;
}

.lcl-spend__pending a {
	color: #8a5a00;
}

/* Purchases from other channels. */
.lcl-sub {
	margin: -4px 0 14px;
	color: var(--lcl-muted);
	font-size: 14px;
	line-height: 1.5;
}

.lcl-note {
	margin: 0;
	padding: 10px 12px;
	font-size: 14px;
	background: #fff4d6;
}

.lcl-subtitle {
	margin: 20px 0 4px;
	font-size: 14px;
	font-weight: 600;
}

.lcl-claims__box > summary {
	display: block;
	list-style: none;
	cursor: pointer;
	user-select: none;
}

.lcl-claims__box > summary::-webkit-details-marker {
	display: none;
}

.lcl-claims__box[open] > summary {
	margin-bottom: 16px;
	color: #111 !important;
	background: #fff;
}

.lcl-claim-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 12px;
	padding: 16px;
	background: #fafafa;
	border: 1px solid var(--lcl-line);
}

.lcl-field {
	min-width: 0;
}

.lcl-field--full {
	grid-column: 1 / -1;
}

.lcl-field label,
.lcl-field__label {
	display: block;
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 600;
}

.lcl-field input[type="number"],
.lcl-field input[type="date"],
.lcl-field input[type="text"] {
	display: block;
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0 12px;
	font-size: 16px;
	background: #fff;
	border: 1px solid #cfcfcf;
	border-radius: 0;
}

.lcl-field input:focus {
	outline: 2px solid var(--lcl-tier);
	outline-offset: 0;
}

.lcl-input-group {
	display: flex;
}

.lcl-input-group__addon {
	display: flex;
	align-items: center;
	padding: 0 12px;
	color: var(--lcl-muted);
	background: #f0f0f0;
	border: 1px solid #cfcfcf;
	border-right: 0;
}

.lcl-input-group input {
	min-width: 0;
}

.lcl-upload {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-height: 120px;
	padding: 16px;
	overflow: hidden;
	text-align: center;
	cursor: pointer;
	background: #fff;
	border: 2px dashed #cfcfcf;
}

.lcl-upload:hover,
.lcl-upload:focus-within {
	border-color: var(--lcl-tier);
}

.lcl-upload__input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.lcl-upload__text {
	font-size: 15px;
	font-weight: 600;
	word-break: break-all;
}

.lcl-upload__hint {
	color: var(--lcl-muted);
	font-size: 12px;
}

.lcl-upload__preview {
	max-width: 100%;
	max-height: 160px;
	object-fit: contain;
}

.lcl-btn-block {
	display: block;
	grid-column: 1 / -1;
	width: 100%;
	padding: 13px 16px;
	font-size: 16px;
}

.lcl-badge--approved {
	color: #0f7a3d;
	background: #e7f6ec;
}

.lcl-badge--pending {
	color: #8a5a00;
	background: #fff4d6;
}

.lcl-badge--rejected {
	color: #b32d2e;
	background: #fcf0f1;
}

.lcl-item .lcl-badge {
	flex: 0 0 auto;
	margin-left: 0;
	padding: 3px 10px;
	white-space: nowrap;
}

.lcl-item__reason {
	color: #b32d2e !important;
}

@media (max-width: 480px) {
	.lcl-claim-form {
		grid-template-columns: 1fr;
		padding: 12px;
	}

	.lcl-spend__total {
		font-size: 30px;
	}
}

.lcl-group {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 12px;
}

.lcl-group[hidden],
.lcl-field[hidden] {
	display: none;
}

.lcl-field select {
	display: block;
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0 12px;
	font-size: 16px;
	background: #fff;
	border: 1px solid #cfcfcf;
	border-radius: 0;
}

.lcl-group .lcl-hint {
	margin: 0;
}

@media (max-width: 480px) {
	.lcl-group {
		grid-template-columns: 1fr;
	}
}
