/* Lalaluxe customer app — a gallery: bone wall or jet, ink, a line of gold, and paint.
   One phone-shaped composition at every viewport: the surface keys its size off ONE fluid
   font-size and every child is em, so a desktop shows the same app, larger. Hues, type
   families and curves come from colors.css. Chrome is flat and square; colour is artwork. */

/* ---------- Base ---------- */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	-webkit-tap-highlight-color: transparent;
}
html,
body {
	height: 100%;
}
/* Safari on iOS 26 ignores theme-color and tints its bars from the page: fixed elements at the top and
   bottom edges, else the root background. So the root carries the wall colour too, never white. */
html {
	-webkit-text-size-adjust: 100%;
	background: var(--bg);
}
body {
	font: 500 16px/1.5 var(--sans);
	color: var(--ink);
	background: var(--bg);
	overflow: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
button,
input,
textarea {
	font: inherit;
	color: inherit;
}
button {
	border: 0;
	border-radius: 0;
	background: none;
	cursor: pointer;
}
button,
a,
input,
textarea,
label {
	touch-action: manipulation;
}
button:disabled {
	cursor: default;
}
img {
	max-width: 100%;
	display: block;
}
em {
	font-style: normal;
}
h1,
h2,
h3 {
	font-weight: inherit;
	font-size: inherit;
}
ul,
ol {
	list-style: none;
}
fieldset {
	border: 0;
	min-width: 0;
}
:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 3px;
}
.screen h1:focus,
.screen h2:focus {
	outline: none;
}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.ico {
	width: 1.375em;
	height: 1.375em;
	flex: 0 0 auto;
}
.paint-defs {
	position: absolute;
	width: 0;
	height: 0;
}

/* ---------- Stage: the wall, with a little tooth ---------- */
/* clip, not hidden: scrollIntoView must never be able to scroll the stage or the app */
.stage {
	position: fixed;
	inset: 0;
	background: var(--bg);
	overflow: clip;
}
.stage::after {
	content: "";
	position: absolute;
	z-index: 2;
	inset: 0;
	pointer-events: none;
	opacity: 0.55;
	mix-blend-mode: soft-light;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- App surface: ONE locked scale ---------- */
.app {
	/* 16px on a 390-wide phone. A phone is filled edge to edge whatever its height (see the phone
     rule below); anything roomier scales the same composition up with the viewport height, so
     about 50em of it stays in view. */
	font-size: clamp(14.5px, min(4.1026vw, max(2svh, 16px)), 34px);
	--col: 24.375em;
	--gutter: 1.375em;
	--paint: var(--gold); /* the brush pass under a title's italic word: the accent pink on every screen */
	/* one loaded brush pass: ragged start, three bristle tails */
	--brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M4 13C3 8 8 5 16 6c44-3 104-1 154-1.5 40-.5 80 1 113-.5 7-.2 13 1 12 3-1 1.6-9 1.4-16 2 7 .6 14 1.5 13 3.4-1 1.6-11 1-20 1.2 6 .8 12 2 11 3.4-1.5 1.8-13 .6-25 .4-58-.4-138 2.2-198 1.6-20-.2-40 1.5-50-.5-4-.9-5.5-2.5-6-5.5Z'/%3E%3C/svg%3E");
	/* the fixed stage's height, not 100dvh: on iOS 26 Safari fixed content stops above the floating address
     bar, so a dvh-tall app could tuck the dock under it */
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow: clip;
	isolation: isolate;
}
.app > .topbar,
.app > .botbar {
	width: 100%;
	max-width: var(--col);
}
/* the scroller spans the whole wall so a wheel or trackpad works anywhere; the column sits centred in it */
.app > .screen-wrap {
	width: 100%;
}
.screen-wrap > * {
	max-width: var(--col);
	margin-inline: auto;
}
/* On a phone the column IS the screen. Limiting it by height as well left a strip of wall down both
   sides of every screen on the larger phones (a 440-wide phone got a 390 column). */
@media (max-width: 600px) {
	.app {
		font-size: clamp(14.5px, 4.1026vw, 34px);
	}
}
/* on a wide wall the column is ruled off, like a page — never framed like a phone */
@media (min-width: 640px) {
	.app::before {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		left: 50%;
		width: var(--col);
		margin-left: calc(var(--col) / -2);
		border-inline: 1px solid var(--line);
		pointer-events: none;
	}
}

/* ---------- The wall: on a wide screen, soft blurred light washes hang either side of the page ---------- */
.wall {
	display: none;
}
@media (min-width: 900px) and (min-aspect-ratio: 6/5) {
	.wall {
		display: block;
		position: absolute;
		z-index: -2;
		inset: 0;
		overflow: hidden;
		pointer-events: none;
		opacity: 0.82;
		transition: opacity 0.6s var(--ease);
	}
	:root[data-theme="dark"] .wall {
		opacity: 0.34;
	}
	.wall svg {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		transform: scale(1.08);
	}
	.wall ellipse {
		animation: fade-in 1.4s var(--ease) both;
	}
	.app::before {
		z-index: -1;
		background: var(--bg);
	}
}

/* ---------- Masthead ---------- */
.topbar {
	flex: 0 0 auto;
	position: relative;
	z-index: 4;
	display: grid;
	grid-template-columns: 2.75em 1fr 2.75em;
	align-items: center;
	padding: max(0.6em, env(safe-area-inset-top)) calc(var(--gutter) - 0.65em) 0;
	border-bottom: 1px solid var(--line);
	background: var(--bg);
}
.topbar:not(:has(.steps)) {
	padding-bottom: 0.6em;
}
.topbar > .logo,
.topbar > .logo-link {
	justify-self: center;
	height: 1.25em;
}
.logo-link {
	display: block;
	color: inherit;
}
.logo-link .logo {
	height: 100%;
}
.topbar-right {
	grid-column: 3;
	grid-row: 1;
}
/* the logo the studio picked (Studio → Logo) is a picture: one for each ground, the theme shows one */
.logo {
	display: block;
	width: auto;
	height: 1em;
}
.logo--art {
	width: auto;
}
.logo--art img {
	display: block;
	height: 100%;
	width: auto;
}
:root[data-theme="dark"] .logo--art .logo-day,
:root:not([data-theme="dark"]) .logo--art .logo-night {
	display: none;
}
/* a logo's letters carry their own halo, so the picture stands taller than the bar to read the same size */
.topbar > .logo--art {
	height: 2.1em;
	margin: -0.3em 0;
}
.boot .logo--art {
	height: 3.6em;
}
.icon-btn {
	display: grid;
	place-items: center;
	width: 2.75em;
	height: 2.75em;
	border-radius: var(--r-ctl);
	color: var(--ink);
	transition:
		background 0.2s var(--ease),
		opacity 0.2s var(--ease);
}
.icon-btn:active {
	background: var(--surface-2);
}
.icon-btn:disabled {
	opacity: 0.35;
}
.steps {
	grid-column: 1 / -1;
	display: flex;
	gap: 0.25em;
	height: 2px;
	margin: 0.55em 0.65em 0;
}
.pip {
	flex: 1;
	position: relative;
	overflow: hidden;
	background: var(--line);
}
.pip::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--gold);
	transform: scaleX(0);
	transform-origin: 0 50%;
	transition: transform 0.6s var(--ease);
}
.pip.done::after,
.pip.cur::after {
	transform: scaleX(1);
}
.step-meta {
	grid-column: 1 / -1;
	display: flex;
	justify-content: space-between;
	gap: 1em;
	padding: 1em 0.99em 0.9em;
	font: 600 0.6875em/1.2 var(--sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ink-2);
}
.step-meta b {
	margin-right: 0.7em;
	font-weight: 600;
	color: var(--gold-ink);
}
.step-meta-end,
.step-ask-actions {
	display: flex;
	align-items: center;
	gap: 1.4em;
}
.step-count {
	color: var(--ink-3);
	font-variant-numeric: tabular-nums;
}
/* the row keeps its height while it asks; each link has a finger-sized hit area without growing the row */
.step-link {
	position: relative;
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	color: var(--ink-2);
	text-decoration: underline;
	text-decoration-color: var(--line-2);
	text-underline-offset: 0.35em;
}
.step-link::before {
	content: "";
	position: absolute;
	inset: -1.4em -0.8em;
}
.step-link:focus-visible {
	outline: 1px solid var(--ink);
	outline-offset: 0.35em;
}
.step-link-strong {
	color: var(--ink);
	text-decoration-color: var(--gold);
}
.step-ask {
	color: var(--ink);
}

/* ---------- Screens ---------- */
.screen-wrap {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior-y: contain;
	scrollbar-width: none;
	scroll-padding: 1em 0 2em;
}
.screen-wrap::-webkit-scrollbar {
	display: none;
}
.screen {
	min-height: 100%;
	display: flex;
	flex-direction: column;
	padding: 1.25em var(--gutter) 2.25em;
}
.screen-head {
	margin-bottom: 1.15em;
}
.eyebrow {
	display: flex;
	align-items: center;
	gap: 0.9em;
	margin-bottom: 0.95em;
	font: 600 0.6875em/1.2 var(--sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--gold-ink);
}
.eyebrow::before {
	content: "";
	width: 2.6em;
	border-top: 1px solid currentColor;
}
.h-question {
	font: 600 2.3125em/1.03 var(--display);
	letter-spacing: -0.025em;
	text-wrap: balance;
}
/* the one italic word in every title gets a pass of paint under it */
.h-question em,
.hero__headline em,
.fee-ask-title em {
	position: relative;
	z-index: 0;
	font-style: italic;
	white-space: nowrap;
}
/* the studio writes the titles, so italic words too long for one line wrap inside the brush instead of running off the screen */
.h-question em,
.hero__headline em,
.fee-ask-title em {
	display: inline-block;
	white-space: normal;
}
.h-question em::after,
.hero__headline em::after,
.fee-ask-title em::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: -0.12em;
	right: -0.2em;
	bottom: -0.04em;
	height: 0.3em;
	background: var(--paint);
	-webkit-mask: var(--brush) center / 100% 100% no-repeat;
	mask: var(--brush) center / 100% 100% no-repeat;
}
.h-sub {
	margin-top: 0.85em;
	font-size: 0.9375em;
	line-height: 1.5;
	color: var(--ink-2);
	text-wrap: pretty;
}
.screen > .body {
	display: flex;
	flex-direction: column;
	gap: 1em;
	min-width: 0;
}
.block {
	display: flex;
	flex-direction: column;
	gap: 0.75em;
	margin-top: 1em;
	min-width: 0;
}
.block:first-child {
	margin-top: 0;
}
.co-section {
	display: flex;
	align-items: center;
	gap: 1em;
	font: 600 0.6875em/1.3 var(--sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ink);
}
.co-section::after {
	content: "";
	flex: 1;
	order: 1;
	border-top: 1px solid var(--line);
}
.co-section small {
	order: 2;
	font: inherit;
	color: var(--ink-3);
}
.custom-hint,
.upload-help {
	color: var(--ink-2);
	font-size: 0.875em;
	line-height: 1.5;
	text-wrap: pretty;
}
.booking-notice,
.sub-error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6em 1em;
	padding: 0.9em 1em;
	border-left: 2px solid var(--info);
	border-radius: var(--r-ctl);
	font-size: 0.875em;
	line-height: 1.45;
	overflow-wrap: anywhere;
	background: var(--info-bg);
	color: var(--ink);
}
.sub-error {
	border-left-color: var(--danger);
	background: var(--danger-bg);
	color: var(--danger);
}
.booking-notice p {
	flex: 1 1 12em;
}
.screen-wrap > .booking-notice {
	max-width: calc(var(--col) - var(--gutter) * 2);
	margin: 1em auto 0;
}
.upload-error,
.field-err {
	color: var(--danger);
	font-size: 0.8125em;
}

/* ---------- Buttons: tactile stationery on the gallery wall ---------- */
.cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1em;
	width: 100%;
	min-height: 4.15em;
	padding: 0.75em 1.5em;
	border-radius: var(--r-ctl);
	font: 600 0.78125em/1.25 var(--sans);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-align: left;
	text-decoration: none;
	color: var(--on-action);
	background: var(--action);
	box-shadow: var(--shadow-cta);
	transition:
		opacity 0.2s var(--ease),
		transform 0.2s var(--ease),
		background 0.2s var(--ease),
		box-shadow 0.2s var(--ease),
		color 0.2s var(--ease);
}
.cta .ico {
	width: 1.65em;
	height: 1.65em;
	transition: transform 0.28s var(--ease);
}
.cta:active {
	transform: translateY(1px) scale(0.994);
	opacity: 0.92;
}
.cta:disabled,
.cta[aria-disabled="true"] {
	color: var(--ink-3);
	background: var(--ctl-disabled-bg);
	box-shadow: inset 0 0 0 1px var(--line);
}
.cta[aria-disabled="true"] {
	cursor: default;
	transform: none;
	opacity: 1;
}
.cta.danger {
	color: var(--danger);
	background: var(--surface);
	box-shadow:
		inset 0 0 0 1px color-mix(in srgb, var(--danger) 48%, transparent),
		var(--shadow-ctl);
}
.cal-retry {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.65em;
	min-height: 4em;
	padding: 0.6em 1.4em;
	border-radius: var(--r-ctl);
	font: 600 0.6875em/1.2 var(--sans);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink);
	background: var(--surface);
	text-decoration: none;
	box-shadow:
		inset 0 0 0 1px var(--line-2),
		var(--shadow-ctl);
	transition:
		background 0.2s var(--ease),
		color 0.2s var(--ease),
		box-shadow 0.2s var(--ease),
		transform 0.18s var(--ease);
}
.cal-retry:active {
	background: var(--surface-2);
}
.cal-retry .ico {
	width: 1.5em;
	height: 1.5em;
}
.cal-retry:disabled {
	opacity: 0.45;
}
.review-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5em;
}
.look-recap {
	font-size: 0.9375em;
	line-height: 1.5;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

/* ---------- Dock: running tray + the one primary action ---------- */
.botbar {
	flex: 0 0 auto;
	position: relative;
	z-index: 5;
	display: flex;
	flex-direction: column;
	gap: 0.6em;
	padding: 0.75em var(--gutter) max(1em, env(safe-area-inset-bottom));
	border-top: 1px solid var(--line);
	background: var(--bg);
}
.tray {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1em;
}
.tray-copy {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.3em;
}
.tray-label {
	font: 600 0.6875em/1.2 var(--sans);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink-2);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tray-items {
	font-size: 0.875em;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tray-total {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: baseline;
	gap: 0.35em;
	font: 600 1.5em/1 var(--display);
	font-variant-numeric: lining-nums tabular-nums;
}
.tray-total small {
	font: 600 0.4375em/1 var(--sans);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink-2);
}

/* ---------- Choices: ruled lists; the pick turns to ink ---------- */
.opt-list,
.addon-list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	border-top: 1px solid var(--line);
}
.opt,
.addbtn {
	position: relative;
	display: grid;
	align-items: center;
	column-gap: 1em;
	width: calc(100% + var(--gutter) * 2);
	margin-inline: calc(var(--gutter) * -1);
	padding: 0.9em var(--gutter);
	color: var(--ink);
	text-align: left;
	transition:
		background 0.18s,
		color 0.18s;
}
.opt::after,
.addbtn::after {
	content: "";
	position: absolute;
	left: var(--gutter);
	right: var(--gutter);
	bottom: 0;
	border-bottom: 1px solid var(--line);
}
.opt.sel,
.addbtn.sel,
.tile.sel,
.who-tile.sel,
.fin.sel,
.lbtn.sel,
.shape.sel,
.art.sel,
.slot.sel,
.soon.sel,
.svc-fork-btn.sel {
	color: var(--on-select);
	background: var(--select);
}
.opt.sel::after,
.addbtn.sel::after {
	border-color: transparent;
}
.opt {
	grid-template-columns: auto minmax(0, 1fr) auto;
}
/* a service row's icon: the painting from the length screen, cropped to the fingertip */
.svc-ico {
	position: relative;
	display: block;
	flex: 0 0 auto;
	width: 4em;
	height: 4.75em;
	overflow: hidden;
	border-radius: 6px;
	background: var(--paint-nude);
}
.opt .meta {
	min-width: 0;
}
.opt .name,
.addon-name {
	font: 600 1.0625em/1.25 var(--sans);
	letter-spacing: -0.01em;
}
.opt .desc,
.addon-desc,
.who-sub,
.tile .desc {
	display: block;
	margin-top: 0.2em;
	font-size: 0.84375em;
	line-height: 1.4;
	color: var(--ink-2);
	text-wrap: pretty;
}
.price {
	text-align: right;
	font: 600 1.3125em/1 var(--display);
	font-variant-numeric: lining-nums;
	white-space: nowrap;
}
.price small {
	display: block;
	margin-bottom: 0.45em;
	font: 600 0.5em/1 var(--sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.svc-fork {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.2em;
	padding: 0.2em;
	border-radius: var(--r-ctl);
	background: var(--surface-2);
	box-shadow: inset 0 0 0 1px var(--line);
}
.svc-fork-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.2em;
	min-height: 3.55em;
	padding: 0.55em 0.5em;
	border-radius: calc(var(--r-ctl) - 2px);
	color: var(--ink);
	transition:
		background 0.2s var(--ease),
		color 0.2s var(--ease),
		box-shadow 0.2s var(--ease);
}
.svc-fork-btn:first-child,
.svc-fork-btn:last-child {
	border-radius: calc(var(--r-ctl) - 2px);
}
.svc-fork-btn.sel {
	box-shadow: var(--shadow-thumb);
}
.sf-name {
	font: 600 0.9375em/1.2 var(--sans);
}
.sf-sub {
	font-size: 0.71875em;
	line-height: 1.25;
	opacity: 0.72;
}
.gel-card {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 1em;
	padding: 1em var(--gutter);
	margin-inline: calc(var(--gutter) * -1);
	color: var(--on-select);
	background: var(--select);
}
.gel-card b {
	display: block;
	font: 600 1.0625em/1.25 var(--sans);
}
.gel-card .gel-note {
	font-size: 0.84375em;
	opacity: 0.72;
}

.addbtn {
	grid-template-columns: minmax(0, 1fr) auto auto;
	min-height: 4em;
}
.art-ico {
	width: 3.5em;
	height: 4.2em;
}
.shape-ico,
.shape .toe-ico {
	width: 3.1em;
	height: 3.7em;
}
.addon-copy {
	min-width: 0;
	display: flex;
	flex-direction: column;
}
.addbtn .addon-name {
	font-size: 1em;
}
.addbtn .ap {
	font: 600 1.0625em/1 var(--display);
	font-variant-numeric: lining-nums;
	color: var(--ink-2);
	white-space: nowrap;
}
.addbtn .plus {
	display: grid;
	place-items: center;
	width: 2em;
	height: 2em;
	border-radius: 6px;
	box-shadow: inset 0 0 0 1px var(--line-2);
}
.addbtn .plus .ico {
	width: 1.1em;
	height: 1.1em;
}
.addbtn.sel .plus {
	box-shadow: inset 0 0 0 1px currentColor;
}
.addbtn.included .plus {
	color: var(--ok);
	box-shadow: none;
}
.addbtn .ap.free {
	font: 600 0.6875em/1 var(--sans);
	letter-spacing: 0.18em;
	text-transform: uppercase;
}
.addbtn.included .ap {
	font: 600 0.6875em/1 var(--sans);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ok);
}

/* visit */
.tile-stack {
	display: grid;
	gap: 0.75em;
}
.tile {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 1.1em;
	width: 100%;
	min-height: 7.5em;
	padding: 1.2em 1.15em;
	border-radius: var(--r-card);
	color: var(--ink);
	background: var(--surface);
	text-align: left;
	box-shadow:
		inset 0 0 0 1px var(--line-2),
		var(--shadow-ctl);
	transition:
		background 0.2s var(--ease),
		color 0.2s var(--ease),
		box-shadow 0.2s var(--ease),
		transform 0.18s var(--ease);
}
.tile.sel {
	box-shadow: var(--shadow-cta);
}
.tile-copy {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.tile .title {
	font: 600 1.4375em/1.1 var(--display);
	letter-spacing: -0.015em;
}
.tile .desc {
	margin-top: 0.45em;
}
.tile-art {
	display: grid;
	place-items: center;
}
.visit-ico {
	width: 4.6em;
	height: 4.2em;
}
.tile-go {
	color: var(--ink-3);
}
.sel .tile-go {
	color: inherit;
}

/* who */
.who-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75em;
	margin-top: 0.25em;
}
.who-tile {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 0.3em;
	padding: 1.1em 0.6em 1em;
	border-radius: var(--r-card);
	color: var(--ink);
	background: var(--surface);
	text-align: left;
	box-shadow:
		inset 0 0 0 1px var(--line-2),
		var(--shadow-ctl);
	transition:
		background 0.2s var(--ease),
		color 0.2s var(--ease),
		box-shadow 0.2s var(--ease),
		transform 0.18s var(--ease);
}
.who-tile.sel {
	box-shadow: var(--shadow-cta);
}
/* a photo the studio adds sits above the name, taking the height the screen has to give, short of scrolling;
   beside it, a card without one keeps its words at the foot, level with the other card's */
.who-art {
	position: relative;
	display: block;
	height: clamp(12em, 100svh - 29em, 24em);
	overflow: hidden;
	margin: -0.6em 0 0.6em;
	border-radius: var(--r-ctl);
	background: var(--surface-2);
}
.who-art img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.who-copy {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5em;
	padding-inline: 0.5em;
}
.who-name {
	font: 600 1.6em/1.05 var(--display);
	letter-spacing: -0.015em;
}
.who-check {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 1.6em;
	height: 1.6em;
	border-radius: 6px;
	box-shadow: inset 0 0 0 1px currentColor;
}
.who-check .ico {
	width: 1em;
	height: 1em;
}
.who-tile .who-sub {
	margin-top: 0;
	padding-inline: 0.6em;
}
.check-row {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 1em;
	min-height: 4em;
	padding: 0.8em 0;
	border-bottom: 1px solid var(--line);
	cursor: pointer;
}
.check-row input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}
.check-copy b {
	display: block;
	font: 600 0.9375em/1.3 var(--sans);
}
.check-copy small {
	display: block;
	margin-top: 0.15em;
	font-size: 0.84375em;
	color: var(--ink-2);
}
.plan-code {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 1em;
	width: 100%;
	min-height: 4em;
	padding: 0.9em 0;
	border-block: 1px solid var(--line);
	color: var(--ink-2);
	font-size: 0.9375em;
	line-height: 1.4;
	text-align: left;
}
.plan-code b {
	display: block;
	font-weight: 600;
	color: var(--ink);
}
.plan-code .ico {
	color: var(--gold-ink);
}

/* ---------- Length / plan: a small painting ---------- */
.length-stage {
	display: flex;
	flex-direction: column;
	gap: 0.9em;
}
/* the painting gives way before the picker under it does: whatever the screen, the lengths stay in view */
.length-vis {
	position: relative;
	overflow: hidden;
	height: clamp(7.25em, 100svh - 31.25em, 16.75em);
	border-radius: var(--r-card);
	background: var(--paint-nude);
	box-shadow:
		inset 0 0 0 1px var(--line),
		var(--shadow-ctl);
}
.hand {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.hand-ruler line {
	stroke: var(--art-ink);
	stroke-opacity: 0.42;
	stroke-width: 0.8;
	stroke-dasharray: 1 5;
	stroke-linecap: round;
	transition: stroke-opacity 0.3s;
}
.hand-ruler text {
	font: 600 7.6px/1 var(--sans);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	fill: var(--art-ink);
	fill-opacity: 0.68;
	transition: fill-opacity 0.3s;
}
.hand-ruler .on line {
	stroke-opacity: 1;
	stroke-width: 1.3;
	stroke-dasharray: none;
}
.hand-ruler .on text {
	fill-opacity: 1;
}
.length-cap {
	min-height: 2.6em;
	text-align: center;
	font: italic 600 1.125em/1.3 var(--display);
	text-wrap: balance;
}
.length-buttons {
	display: grid;
	gap: 0.2em;
	padding: 0.2em;
	border-radius: var(--r-ctl);
	background: var(--surface-2);
	box-shadow: inset 0 0 0 1px var(--line);
}
.lbtn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.35em;
	min-height: 4.05em;
	padding: 0.55em 0.15em;
	border-radius: calc(var(--r-ctl) - 2px);
	color: var(--ink);
	text-align: center;
	transition:
		background 0.2s var(--ease),
		color 0.2s var(--ease),
		box-shadow 0.2s var(--ease);
}
.lbtn + .lbtn {
	box-shadow: none;
}
.lbtn.sel {
	box-shadow: var(--shadow-thumb);
}
.lname {
	font: 600 0.78125em/1.1 var(--sans);
}
.lprice {
	font: 600 1em/1 var(--display);
	font-variant-numeric: lining-nums tabular-nums;
	color: var(--ink-2);
}
.lprice.free {
	font: 600 0.5625em/1.78 var(--sans);
	letter-spacing: 0.18em;
	text-transform: uppercase;
}
.plan-strip {
	display: flex;
	align-items: center;
	gap: 1.1em;
	padding: 1em 0;
	border-block: 1px solid var(--line);
}
.plan-strip p {
	flex: 1;
	font-size: 0.84375em;
	line-height: 1.45;
	color: var(--ink-2);
}
.plan-strip b {
	display: block;
	margin-bottom: 0.15em;
	font: 600 1.33em/1.2 var(--display);
	color: var(--ink);
}
.afterpay {
	white-space: nowrap;
}
.afterpay svg {
	width: 1em;
	height: 1em;
	margin-right: 0.25em;
	vertical-align: -0.15em;
}
.punch {
	display: inline-flex;
	gap: 0.3em;
}
.punch-dot {
	display: grid;
	place-items: center;
	width: 1.9em;
	height: 1.9em;
	border-radius: 6px;
	font: 600 0.9375em/1 var(--display);
	color: var(--on-action);
	background: var(--action);
	box-shadow: var(--shadow-ctl);
}
.punch-dot.used {
	color: var(--ink-3);
	background: var(--surface);
	box-shadow: inset 0 0 0 1px var(--line-2);
}
.punch-dot .ico {
	width: 0.95em;
	height: 0.95em;
	stroke-width: 2.2;
}

/* deposit or pay in full: two words and what each costs, no picture */
.finish-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.2em;
	padding: 0.2em;
	border-radius: var(--r-ctl);
	background: var(--surface-2);
	box-shadow: inset 0 0 0 1px var(--line);
}
.fin {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 0.35em;
	min-height: 4.4em;
	padding: 0.7em 0.95em;
	border-radius: calc(var(--r-ctl) - 2px);
	color: var(--ink);
	text-align: left;
	transition:
		background 0.2s var(--ease),
		color 0.2s var(--ease),
		box-shadow 0.2s var(--ease);
}
.fin + .fin {
	box-shadow: none;
}
.fin.sel {
	box-shadow: var(--shadow-thumb);
}
.fin:disabled {
	opacity: 0.5;
}
.fname {
	font: 600 0.9375em/1.2 var(--sans);
}
.fprice {
	font: 600 0.78125em/1.3 var(--sans);
	color: var(--ink-2);
}

/* ---------- Text inputs ---------- */
.field {
	display: flex;
	flex-direction: column;
	gap: 0.55em;
	min-width: 0;
}
.field .lab {
	font: 600 0.6875em/1.2 var(--sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ink-2);
}
.field input,
.look-note {
	width: 100%;
	min-height: 3.375em;
	padding: 0.85em 1em;
	font-size: max(1em, 16px);
	line-height: 1.4;
	color: var(--ink);
	border: 0;
	border-radius: var(--r-ctl);
	background: var(--surface);
	box-shadow:
		inset 0 0 0 1px var(--line-2),
		var(--shadow-ctl);
	transition:
		box-shadow 0.2s var(--ease),
		background 0.2s var(--ease);
	-webkit-appearance: none;
	appearance: none;
}
.look-note {
	display: block;
	min-height: 6.5em;
	resize: none;
}
.field input::placeholder,
.look-note::placeholder {
	color: var(--ink-3);
}
.field input:focus,
.look-note:focus {
	outline: none;
	box-shadow:
		inset 0 0 0 1.5px var(--focus),
		var(--focus-ring);
}
.field input[aria-invalid="true"] {
	box-shadow:
		inset 0 0 0 1.5px var(--danger),
		0 0 0 3px color-mix(in srgb, var(--danger) 14%, transparent);
}
.field-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1em;
}
.checkout-fields {
	display: flex;
	flex-direction: column;
	gap: 1em;
}
.checkout-fields:disabled {
	opacity: 0.5;
}

/* shape picker */
/* the studio's shapes, each its own ruled tile like the nail art under it, in one row she scrolls
   sideways. The row runs out under the screen's gutters, so the next tile peeks in at the edge to say
   there is more; a few shapes that fit simply share the width. Every tile is the height of the
   tallest, and keeps a price line even when the shape adds nothing. The block padding keeps the
   focus ring inside the scroller, which would clip it. */
.shape-row {
	display: flex;
	gap: 0.5em;
	margin: -0.4em calc(var(--gutter) * -1);
	padding: 0.4em 0 0.4em var(--gutter);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x proximity;
	scroll-padding-inline: var(--gutter);
	scrollbar-width: none;
}
.shape-row::-webkit-scrollbar {
	display: none;
}
/* the end gutter: a spacer, since a scrolling row's own end padding is not kept in every browser */
.shape-row::after {
	content: "";
	flex: 0 0 calc(var(--gutter) - 0.5em);
}
/* a mouse has no swipe, so it gets a square hairline bar to drag (a thin one where the browser has
   no scrollbar parts to draw) */
@media (hover: hover) and (pointer: fine) {
	.shape-row {
		scrollbar-width: auto;
	}
	.shape-row::-webkit-scrollbar {
		display: block;
		height: 4px;
	}
	.shape-row::-webkit-scrollbar-thumb {
		background: var(--line-2);
	}
	@supports not selector(::-webkit-scrollbar) {
		.shape-row {
			scrollbar-width: thin;
			scrollbar-color: var(--line-2) transparent;
		}
	}
}
/* four tiles and part of a fifth across, at every width */
.shape {
	flex: 1 0 calc((100% - 2em) / 4.4);
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.55em;
	padding: 0.9em 0.2em 0.75em;
	border-radius: var(--r-ctl);
	color: var(--ink);
	background: var(--surface);
	box-shadow:
		inset 0 0 0 1px var(--line-2),
		var(--shadow-ctl);
	transition:
		background 0.2s var(--ease),
		color 0.2s var(--ease),
		box-shadow 0.2s var(--ease);
}
.shape.sel {
	box-shadow: var(--shadow-cta);
}
.shape-name {
	flex: 1;
	display: flex;
	align-items: center;
	font: 600 0.6875em/1.15 var(--sans);
	letter-spacing: 0.04em;
	text-align: center;
	text-wrap: balance;
}
.shape-price {
	margin-top: -0.3em;
	font: 500 0.625em/1 var(--sans);
	color: var(--ink-2);
}
.shape.sel .shape-price {
	color: inherit;
}

/* nail art: a ladder of tiers. She pays for the highest rung she picks from; the rungs under it are covered */
.tiers {
	display: grid;
	gap: 1.6em;
}
.tier {
	position: relative;
	display: grid;
	grid-template-columns: 2.25em minmax(0, 1fr);
	gap: 0.75em 0.95em;
}
.tier:not(:last-child)::before {
	content: "";
	position: absolute;
	left: 1.125em;
	top: 2.25em;
	bottom: -1.6em;
	border-left: 1px solid var(--line-2);
	transition: border-color 0.25s;
}
.tier.under::before {
	margin-left: -0.5px;
	border-left: 2px solid var(--action);
}
.tier-no {
	position: relative;
	display: grid;
	place-items: center;
	width: 2.25em;
	height: 2.25em;
	border-radius: var(--r-ctl);
	font: 600 1.0625em/1 var(--display);
	font-variant-numeric: lining-nums;
	color: var(--ink-2);
	background: var(--surface);
	box-shadow:
		inset 0 0 0 1px var(--line-2),
		var(--shadow-ctl);
	transition:
		background 0.25s var(--ease),
		color 0.25s var(--ease),
		box-shadow 0.25s var(--ease);
}
.tier.on .tier-no,
.tier.under .tier-no {
	color: var(--on-action);
	background: var(--action);
	box-shadow: var(--shadow-cta);
}
.tier-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 0 0.9em;
	min-height: 2.25em;
}
.tier-name {
	font: 600 0.6875em/1.3 var(--sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
.tier-desc {
	grid-column: 1;
	font: italic 600 1em/1.25 var(--display);
	color: var(--ink-2);
	text-wrap: pretty;
}
.tier-price {
	grid-row: 1 / 3;
	grid-column: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.35em;
	text-align: right;
}
.tier-price b {
	font: 600 1.3125em/1 var(--display);
	font-variant-numeric: lining-nums;
	white-space: nowrap;
	color: var(--ink-2);
	transition: color 0.25s;
}
.tier-price small {
	font: 600 0.625em/1 var(--sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ink-3);
}
.tier-price small.tier-unit {
	margin-top: -0.15em;
	letter-spacing: 0.04em;
	text-transform: none;
	font: 500 0.5625em/1 var(--sans);
}
.tier-price small.tier-all {
	letter-spacing: 0.06em;
	text-transform: none;
	font-size: 0.6875em;
	color: var(--gold-ink);
}
.tier.on .tier-price b {
	color: var(--ink);
}
.tier.on .tier-price small {
	color: var(--gold-ink);
}
.art-grid {
	grid-column: 2;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.5em;
}
.art {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.55em;
	padding: 0.7em 0.2em 0.7em;
	border-radius: var(--r-ctl);
	color: var(--ink);
	background: var(--surface);
	box-shadow:
		inset 0 0 0 1px var(--line-2),
		var(--shadow-ctl);
	transition:
		background 0.2s var(--ease),
		color 0.2s var(--ease),
		box-shadow 0.2s var(--ease);
}
.art.sel {
	box-shadow: var(--shadow-cta);
}
.art-name {
	font: 600 0.75em/1.2 var(--sans);
	text-align: center;
	text-wrap: balance;
}
.art-tick {
	position: absolute;
	top: 0.3em;
	right: 0.3em;
	display: grid;
	place-items: center;
}
.art-tick .ico {
	width: 0.75em;
	height: 0.75em;
	stroke-width: 2.6;
}
/* on the look and toes screens each rung is one button: a tap selects the whole tier, and what is in
   it is listed inside, not tapped piece by piece. The tier she picks is inverted. */
.tier-body {
	grid-column: 2;
	display: grid;
	gap: 0.75em;
	padding: 0.8em 0.85em 0.85em;
	border-radius: var(--r-card);
	text-align: left;
	color: var(--ink);
	background: var(--surface);
	box-shadow:
		inset 0 0 0 1px var(--line-2),
		var(--shadow-ctl);
	transition:
		background 0.2s var(--ease),
		color 0.2s var(--ease),
		box-shadow 0.2s var(--ease);
}
.tier-body .art-grid {
	grid-column: auto;
}
.tier-body .art {
	padding: 0.35em 0.2em 0.2em;
	color: inherit;
	background: transparent;
	box-shadow: none;
}
.tier.on .tier-body {
	color: var(--on-select);
	background: var(--select);
	box-shadow: var(--shadow-cta);
}
.tier.on .tier-body .tier-desc,
.tier.on .tier-body .tier-price b,
.tier.on .tier-body .tier-price small {
	color: inherit;
}
.tier.under .tier-body {
	background: transparent;
	box-shadow: inset 0 0 0 1px var(--line);
}
.tier-body:active {
	background: var(--surface-2);
}
.tier.on .tier-body:active {
	background: var(--select);
}
/* on a plan the tier itself is the choice: one covers every visit, and what it does not cover stands back */
.tier-pick {
	position: absolute;
	inset: -0.6em -0.5em;
	z-index: 1;
	border-radius: var(--r-ctl);
}
/* where the studio offers Build your own, the switch at the top of the look and toes screens */
.art-mode {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.2em;
	padding: 0.2em;
	border-radius: var(--r-ctl);
	background: var(--surface-2);
	box-shadow: inset 0 0 0 1px var(--line);
}
.art-mode button {
	display: grid;
	gap: 0.3em;
	padding: 0.7em 0.5em;
	border-radius: calc(var(--r-ctl) - 2px);
	font: 600 0.8125em/1.2 var(--sans);
	color: var(--ink);
	transition:
		background 0.2s var(--ease),
		color 0.2s var(--ease),
		box-shadow 0.2s var(--ease);
}
.art-mode small {
	font: 500 0.8462em/1.2 var(--sans);
	color: var(--ink-2);
}
.art-mode button.sel {
	color: var(--on-select);
	background: var(--select);
	box-shadow: var(--shadow-thumb);
}
.art-mode button.sel small {
	color: inherit;
	opacity: 0.75;
}
/* building her own set: her two hands stay in view while she scrolls the looks. A swipe across the
   nails paints them, so the hands take sideways moves and leave up and down to the page. */
.byn-hands {
	position: sticky;
	top: 0;
	z-index: 2;
	display: grid;
	gap: 0.3em;
	margin: 0 calc(var(--gutter) * -1);
	padding: 0.55em var(--gutter) 0.45em;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
	touch-action: pan-y pinch-zoom;
	-webkit-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
}
/* what her nail art (or her toes) cost so far, above the hands */
.byn-meter {
	display: flex;
	align-items: baseline;
	gap: 0.6em;
	padding-bottom: 0.3em;
	border-bottom: 1px solid var(--line);
	font: 600 0.625em/1 var(--sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ink-2);
}
.byn-meter b {
	font: 600 2em/1 var(--display);
	letter-spacing: 0;
	font-variant-numeric: lining-nums;
	color: var(--ink);
}
.byn-hand {
	display: grid;
	grid-template-columns: 1em repeat(5, minmax(0, 1fr));
	align-items: end;
	gap: 0.35em;
}
.byn-side {
	align-self: center;
	justify-self: center;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font: 600 0.5625em/1 var(--sans);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ink-3);
}
.byn-nail {
	display: grid;
	place-items: center;
	margin-bottom: calc(var(--lift, 0) * 1em);
	padding: 0.25em 0;
	border-radius: var(--r-ctl);
	background: var(--surface);
	box-shadow:
		inset 0 0 0 1.25px var(--ink),
		var(--shadow-ctl);
	transition:
		transform 0.14s var(--ease),
		background 0.16s var(--ease);
}
.byn-nail.empty {
	background: transparent;
	box-shadow: inset 0 0 0 1px var(--line-2);
}
.byn-nail:active {
	transform: scale(0.94);
	background: var(--surface-2);
}
.byn-nail .art-ico {
	width: 2.25em;
	height: 2.7em;
}
.byn-nail.thumb .hand {
	transform: scale(1.34, 1);
	transform-origin: 50% 100%;
}
/* toes: the big toe's box is the largest and each toe after it is drawn smaller (--toe) */
.byn-nail.toe {
	gap: 0.3em;
	min-height: 2.75em;
	padding-bottom: 0.35em;
}
.toe-tag {
	font: 600 0.5625em/1 var(--sans);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-2);
}
.byn-nail .toe-ico {
	width: calc(2.7em * var(--toe, 1));
	height: calc(3em * var(--toe, 1));
}
.byn-bar {
	display: flex;
	align-items: center;
	gap: 0.5em;
	min-height: 2.75em;
}
.byn-brush {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 0.6em;
}
.byn-brush .svc-ico {
	flex: none;
	width: 1.75em;
	height: 2.1em;
}
.byn-brush span {
	min-width: 0;
}
.byn-brush b {
	display: block;
	font: 600 0.8125em/1.25 var(--sans);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.byn-brush small {
	display: block;
	font: 0.6875em/1.3 var(--sans);
	color: var(--ink-2);
}
.byn-say {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 0.5em;
	font: 600 0.75em/1.35 var(--sans);
	color: var(--ink);
	text-wrap: pretty;
}
.byn-say .ico {
	flex: none;
	width: 1.3em;
	height: 1.3em;
	stroke-width: 2;
	color: var(--gold-ink);
}
.byn-acts {
	flex: none;
	display: flex;
	gap: 0.4em;
}
.byn-act {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35em;
	min-width: 3.667em;
	min-height: 3.667em;
	padding: 0 0.9em;
	border-radius: var(--r-ctl);
	font: 600 0.75em/1 var(--sans);
	color: var(--ink);
	background: var(--surface);
	box-shadow:
		inset 0 0 0 1px var(--line-2),
		var(--shadow-ctl);
}
.byn-act .ico {
	width: 1.35em;
	height: 1.35em;
}
.byn-act--icon {
	width: 3.667em;
	padding: 0;
}
.byn-act--icon .ico {
	width: 1.6em;
	height: 1.6em;
}
.byn-act:active {
	background: var(--surface-2);
}
.art-on {
	font: 600 0.5625em/1.2 var(--sans);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-variant-numeric: lining-nums;
	color: var(--gold-ink);
}
.sel > .art-on {
	color: inherit;
	opacity: 0.8;
}
.byn-part {
	display: grid;
	gap: 0.75em;
	margin-top: 1.6em;
}
.tiers--plan .art-grid {
	transition: opacity 0.25s;
}
.tiers--plan .tier:not(.on):not(.under) .art-grid {
	opacity: 0.42;
}
.inline-link {
	font-weight: 600;
	color: var(--ink);
	text-decoration: underline;
	text-decoration-color: var(--gold);
	text-underline-offset: 0.2em;
}

/* inspo */
.inspo-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.5em;
}
.inspo-grid.has-files {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.upload-box {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 0.15em 1em;
	padding: 1.05em;
	border-radius: var(--r-card);
	cursor: pointer;
	color: var(--ink);
	background: var(--surface);
	border: 1px dashed var(--line-2);
	transition:
		background 0.2s var(--ease),
		border-color 0.2s var(--ease);
}
.upload-box:active {
	background: var(--surface-2);
}
.upload-box:focus-within {
	outline: 2px solid var(--focus);
	outline-offset: 3px;
}
.upload-box input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}
.upload-ico {
	grid-row: 1 / 3;
	display: grid;
	place-items: center;
	width: 2.75em;
	height: 2.75em;
	color: var(--gold-ink);
}
.upload-main {
	align-self: end;
	font: 600 0.6875em/1.2 var(--sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
.upload-sub {
	align-self: start;
	font-size: 0.8125em;
	color: var(--ink-2);
}
.has-files .upload-box {
	grid-template-columns: minmax(0, 1fr);
	justify-items: center;
	align-content: center;
	gap: 0.3em;
	aspect-ratio: 1;
	padding: 0.3em;
	text-align: center;
}
.has-files .upload-ico {
	grid-row: auto;
	width: 2em;
	height: 2em;
}
.has-files .upload-main {
	font-size: 0.5625em;
	letter-spacing: 0.12em;
}
.has-files .upload-sub {
	display: none;
}
.share-preview {
	position: relative;
	aspect-ratio: 1;
	border-radius: var(--r-ctl);
	overflow: hidden;
	background: var(--surface-2);
	animation: fade-in 0.4s ease;
}
.share-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.share-preview button {
	position: absolute;
	top: 0;
	right: 0;
	display: grid;
	place-items: center;
	width: 1.75em;
	height: 1.75em;
	color: var(--night-ink);
	background: var(--night);
}
.share-preview button::before {
	content: "";
	position: absolute;
	inset: -0.6em;
}
.share-preview button .ico {
	width: 1em;
	height: 1em;
}

/* ---------- Receipt (review, subscription, manage) ---------- */
.receipt {
	position: relative;
	border-radius: var(--r-card);
	background: var(--surface);
	box-shadow:
		inset 0 0 0 1px var(--line),
		var(--shadow-ctl);
}
.rcpt-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1em;
	padding: 1.2em 1.25em 0.9em;
}
.rcpt-title {
	font: 600 1.5em/1.15 var(--display);
	letter-spacing: -0.015em;
}
.rcpt-date,
.rcpt-chip {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	font: 600 0.6875em/1 var(--sans);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-2);
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}
.rcpt-chip .ico {
	width: 1.5em;
	height: 1.5em;
	color: var(--gold-ink);
}
.rcpt-list {
	padding: 0 1.25em;
	border-top: 1px solid var(--line);
}
.rcpt-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1em;
	padding: 0.7em 0;
	font-size: 0.9375em;
}
.rcpt-row + .rcpt-row {
	border-top: 1px solid var(--line);
}
.rcpt-row .l {
	flex: 0 0 auto;
	color: var(--ink-2);
	white-space: nowrap;
}
.rcpt-row .r {
	min-width: 0;
	font-weight: 600;
	text-align: right;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
	text-wrap: balance;
	white-space: pre-line;
}
/* a priced line: the description is the long part, so it wraps and the amount never breaks */
.rcpt-items .l {
	flex: 1 1 auto;
	min-width: 0;
	white-space: normal;
	text-wrap: pretty;
}
.rcpt-items .r {
	flex: 0 0 auto;
	white-space: nowrap;
}
/* the pencil beside a line opens the screen that choice was made on; its hit area reaches past the drawn icon */
.rcpt-edit {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 1.6em;
	height: 1.6em;
	margin: -0.3em -0.35em -0.3em 0;
	color: var(--ink-3);
	vertical-align: middle;
	transition: color 0.2s var(--ease);
}
.rcpt-edit::before {
	content: "";
	position: absolute;
	inset: -0.55em -0.45em;
}
.rcpt-edit .ico {
	width: 1.05em;
	height: 1.05em;
}
.rcpt-edit:hover,
.rcpt-edit:focus-visible {
	color: var(--ink);
}
.rcpt-row .ed {
	flex: 0 0 auto;
	align-self: center;
}
.rcpt-title .rcpt-edit {
	margin-left: 0.2em;
	font-size: 0.62em;
	vertical-align: 0.05em;
}
.rcpt-notes .l {
	display: flex;
	flex-direction: column;
	gap: 0.3em;
}
.nt-lbl {
	font: 600 0.7333em/1.2 var(--sans);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink);
}
.nt-text {
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}
.rcpt-row .r.mono {
	font-family: var(--mono);
	letter-spacing: 0.04em;
}
.rcpt-coupon .l,
.rcpt-coupon .r {
	color: var(--gold-ink);
}
.rcpt-code {
	margin: 0 1.3333em; /* 1.25em of the receipt, at this row's smaller type */
	padding: 0.3em 0;
	border-top: 1px solid var(--line);
	font-size: 0.9375em;
}
.rcpt-code.is-open {
	padding: 0.8em 0 1em;
}
.rcpt-code-open {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1em;
	width: 100%;
	min-height: 2.75em;
	color: var(--ink-2);
	text-align: left;
}
.rcpt-code-add {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	font: 600 0.6875em/1 var(--sans);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink);
}
.rcpt-code-add .ico {
	width: 1.35em;
	height: 1.35em;
	color: var(--gold-ink);
}
.rcpt-code .lab {
	display: block;
	margin-bottom: 0.55em;
	font: 600 0.6875em/1.2 var(--sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ink-2);
}
.rcpt-code-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.5em;
}
.rcpt-code input {
	width: 100%;
	min-width: 0;
	min-height: 3em;
	padding: 0.7em 0.9em;
	font: 600 max(1em, 16px) / 1.3 var(--mono);
	letter-spacing: 0.08em;
	color: var(--ink);
	border: 0;
	border-radius: var(--r-ctl);
	background: var(--bg);
	box-shadow: inset 0 0 0 1px var(--line-2);
	transition: box-shadow 0.2s var(--ease);
	-webkit-appearance: none;
	appearance: none;
}
.rcpt-code input::placeholder {
	font-family: var(--sans);
	font-weight: 400;
	letter-spacing: 0;
	color: var(--ink-3);
}
.rcpt-code input:focus {
	outline: none;
	box-shadow:
		inset 0 0 0 1.5px var(--focus),
		var(--focus-ring);
}
.rcpt-code input[aria-invalid="true"] {
	box-shadow:
		inset 0 0 0 1.5px var(--danger),
		0 0 0 3px color-mix(in srgb, var(--danger) 14%, transparent);
}
.rcpt-code-apply {
	min-height: 3.3em;
	padding: 0 1.3em;
	border-radius: var(--r-ctl);
	font: 600 0.6875em/1 var(--sans);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--on-select);
	background: var(--select);
	box-shadow: var(--shadow-ctl);
}
.rcpt-code-apply:disabled {
	opacity: 0.6;
}
.rcpt-code .field-err {
	display: block;
	margin-top: 0.55em;
}
.rcpt-tear {
	margin: 0 1.25em;
	border-top: 1px solid var(--gold);
}
.rcpt-total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1em;
	padding: 1em 1.25em 0;
}
.rcpt-total .lbl {
	font: 600 0.6875em/1.2 var(--sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
.rcpt-total .amt {
	font: 600 2.75em/1 var(--display);
	letter-spacing: -0.02em;
	font-variant-numeric: lining-nums;
}
.pay-steps {
	margin: 1.1em 1.25em 1.25em;
	padding-top: 1.1em;
	border-top: 1px solid var(--line);
}
.pay-steps li {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.15em 1em;
	padding: 0 0 1em 1.5em;
}
.pay-steps li:last-child {
	padding-bottom: 0;
}
.pay-steps li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.34em;
	width: 0.5em;
	height: 0.5em;
	border-radius: var(--r-pill);
	box-shadow: inset 0 0 0 1.25px var(--ink);
}
.pay-steps li:first-child::before {
	background: var(--ink);
}
.pay-steps li:not(:last-child)::after {
	content: "";
	position: absolute;
	left: calc(0.25em - 0.5px);
	top: 1.15em;
	bottom: -0.1em;
	border-left: 1px solid var(--line-2);
}
.ps-when {
	font: 600 0.9375em/1.25 var(--sans);
}
.ps-what {
	grid-column: 1;
	font-size: 0.8125em;
	line-height: 1.4;
	color: var(--ink-2);
	text-wrap: pretty;
}
.ps-amt {
	grid-column: 2;
	grid-row: 1 / 3;
	align-self: start;
	font: 600 1.0625em/1.15 var(--display);
	font-variant-numeric: lining-nums tabular-nums;
}
.rcpt-note {
	padding: 0 1.25em 1.2em;
	font-size: 0.8125em;
	line-height: 1.5;
	color: var(--ink-2);
	text-wrap: pretty;
}
.rcpt-list + .rcpt-note {
	margin-top: 0.1em;
	padding-top: 0.9em;
	border-top: 1px solid var(--line);
}

/* ---------- Calendar ---------- */
.soonest {
	display: flex;
	flex-direction: column;
	gap: 0.7em;
}
.soonest-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.45em;
}
.soon {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.3em;
	padding: 0.8em 0.85em;
	border-radius: var(--r-ctl);
	color: var(--ink);
	background: var(--surface);
	text-align: left;
	box-shadow:
		inset 0 0 0 1px var(--line-2),
		var(--shadow-ctl);
	transition:
		background 0.2s var(--ease),
		color 0.2s var(--ease),
		box-shadow 0.2s var(--ease);
}
.soon + .soon {
	box-shadow:
		inset 0 0 0 1px var(--line-2),
		var(--shadow-ctl);
}
.soon.sel {
	box-shadow: var(--shadow-cta);
}
.soon b {
	font: 600 0.78125em/1.2 var(--sans);
}
.soon span {
	font: 600 1.0625em/1.1 var(--display);
	font-variant-numeric: lining-nums;
}
.cal-card {
	padding: 1.15em 0.75em 0.95em;
	border-radius: var(--r-card);
	background: var(--surface);
	box-shadow:
		inset 0 0 0 1px var(--line),
		var(--shadow-ctl);
}
.cal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1em;
	padding: 0 0.55em 0.8em;
}
.cal-month {
	font: 600 1.5em/1.15 var(--display);
	letter-spacing: -0.015em;
}
.cal-month em {
	font-style: italic;
	color: var(--ink-3);
}
.cal-nav {
	display: flex;
	gap: 0.4em;
}
.cal-nav button {
	display: grid;
	place-items: center;
	width: 2.75em;
	height: 2.75em;
	border-radius: var(--r-ctl);
	color: var(--ink);
	background: var(--bg);
	box-shadow: inset 0 0 0 1px var(--line-2);
	transition:
		background 0.18s var(--ease),
		box-shadow 0.18s var(--ease);
}
.cal-nav button:active {
	background: var(--surface-2);
}
.cal-nav button:disabled {
	opacity: 0.3;
}
.cal-dow-row,
.cal-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
}
.cal-dow {
	padding: 0.4em 0 0.7em;
	text-align: center;
	font: 600 0.625em/1 var(--sans);
	letter-spacing: 0.16em;
	color: var(--ink-3);
}
.cal-cell {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	min-width: 0;
	margin: 0.1em;
	border-radius: var(--r-ctl);
	font: 500 0.9375em/1 var(--sans);
	font-variant-numeric: tabular-nums;
	color: var(--ink);
	transition:
		background 0.18s var(--ease),
		color 0.18s var(--ease);
}
.cal-cell.past,
.cal-cell.closed {
	color: var(--ink-3);
	opacity: 0.6;
}
.cal-cell.wait {
	color: var(--ink-3);
	animation: breathe 1.4s ease-in-out infinite;
}
.cal-cell.avail {
	font-weight: 700;
}
.cal-cell.avail::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 16%;
	width: 0.28em;
	height: 0.28em;
	margin-left: -0.14em;
	background: var(--gold);
}
.cal-cell.avail:active {
	background: var(--surface-2);
}
.cal-cell.today {
	box-shadow: inset 0 0 0 1px var(--line-2);
}
.cal-cell.sel {
	color: var(--on-select);
	background: var(--select);
	box-shadow: none;
}
.cal-legend {
	display: flex;
	gap: 1.2em;
	padding: 0.9em 0.55em 0;
	font-size: 0.75em;
	color: var(--ink-2);
}
.l-item {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
}
.swatch {
	width: 0.55em;
	height: 0.55em;
	background: var(--gold);
}
.swatch.today {
	width: 0.8em;
	height: 0.8em;
	background: none;
	box-shadow: inset 0 0 0 1px var(--line-2);
}
.swatch.sel {
	background: var(--select);
}
/* the studio opens the calendar month by month: when the next month opens, under the last open one */
.cal-opens {
	display: flex;
	align-items: center;
	gap: 0.6em;
	margin: 0.9em 0.55em 0;
	padding-top: 0.85em;
	border-top: 1px solid var(--line);
	font-size: 0.8125em;
	line-height: 1.45;
	color: var(--ink-2);
	text-wrap: pretty;
}
.cal-opens .ico {
	flex: none;
	color: var(--gold-ink);
}
.cal-opens b {
	font-weight: 600;
	color: var(--ink);
}
.slot-section {
	display: flex;
	flex-direction: column;
	gap: 0.8em;
	margin-top: 0.4em;
	scroll-margin-bottom: 2em;
}
.slabel {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1em;
	font: 600 0.6875em/1.3 var(--sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
.slabel .picked {
	font: italic 600 1.72em/1 var(--display);
	letter-spacing: 0;
	text-transform: none;
}
.slot-group {
	display: flex;
	flex-direction: column;
	gap: 0.55em;
}
.slot-group-label {
	display: flex;
	align-items: center;
	gap: 0.9em;
	font: 600 0.6875em/1 var(--sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ink-2);
}
.slot-group-label::after {
	content: "";
	flex: 1;
	border-top: 1px solid var(--line);
}
.slots {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.5em;
}
.slot {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.25em;
	min-height: 3.55em;
	padding: 0.55em 0.35em;
	border-radius: var(--r-ctl);
	font: 600 0.9375em/1.1 var(--sans);
	font-variant-numeric: tabular-nums;
	color: var(--ink);
	background: var(--surface);
	box-shadow:
		inset 0 0 0 1px var(--line-2),
		var(--shadow-ctl);
	transition:
		background 0.2s var(--ease),
		color 0.2s var(--ease),
		box-shadow 0.2s var(--ease),
		transform 0.18s var(--ease);
}
.slot small {
	font: 500 0.7em/1 var(--sans);
	color: var(--ink-3);
}
.slot.sel {
	box-shadow: var(--shadow-cta);
}
.slot.sel small {
	color: inherit;
	opacity: 0.75;
}
/* A time that adds a fee wears a restrained mineral hairline and subtle wash (amber a squeeze-in,
   purple after hours, teal a holiday; stacked fees pair a crisp hairline with an inner accent edge
   instead of heavy concentric rings), and a rounded pill tag seated cleanly on its top right corner. */
.slot.fee-squeeze,
.soon.fee-squeeze {
	position: relative;
	background: color-mix(in srgb, var(--fee-squeeze) 6%, var(--surface));
	box-shadow:
		inset 0 0 0 1.5px color-mix(in srgb, var(--fee-squeeze) 78%, transparent),
		var(--shadow-ctl);
}
.slot.fee-after,
.soon.fee-after {
	position: relative;
	background: color-mix(in srgb, var(--fee-after) 6%, var(--surface));
	box-shadow:
		inset 0 0 0 1.5px color-mix(in srgb, var(--fee-after) 78%, transparent),
		var(--shadow-ctl);
}
.slot.fee-squeeze.fee-after,
.soon.fee-squeeze.fee-after {
	box-shadow:
		inset 0 0 0 1.5px color-mix(in srgb, var(--fee-after) 80%, transparent),
		inset 3.5px 0 0 0 var(--fee-squeeze),
		var(--shadow-ctl);
}
.slot.fee-holiday,
.soon.fee-holiday {
	position: relative;
	background: color-mix(in srgb, var(--fee-holiday) 6%, var(--surface));
	box-shadow:
		inset 0 0 0 1.5px color-mix(in srgb, var(--fee-holiday) 78%, transparent),
		var(--shadow-ctl);
}
.slot.fee-squeeze.fee-holiday,
.soon.fee-squeeze.fee-holiday {
	box-shadow:
		inset 0 0 0 1.5px color-mix(in srgb, var(--fee-holiday) 80%, transparent),
		inset 3.5px 0 0 0 var(--fee-squeeze),
		var(--shadow-ctl);
}
.slot.fee-after.fee-holiday,
.soon.fee-after.fee-holiday {
	box-shadow:
		inset 0 0 0 1.5px color-mix(in srgb, var(--fee-holiday) 80%, transparent),
		inset 3.5px 0 0 0 var(--fee-after),
		var(--shadow-ctl);
}
.slot.fee-squeeze.fee-after.fee-holiday,
.soon.fee-squeeze.fee-after.fee-holiday {
	box-shadow:
		inset 0 0 0 1.5px color-mix(in srgb, var(--fee-holiday) 82%, transparent),
		inset 3.5px 0 0 0 var(--fee-after),
		inset 0 -3px 0 0 var(--fee-squeeze),
		var(--shadow-ctl);
}
.slot.sel.fee-squeeze,
.soon.sel.fee-squeeze,
.slot.sel.fee-after,
.soon.sel.fee-after,
.slot.sel.fee-holiday,
.soon.sel.fee-holiday {
	background: var(--select);
}
.slots--fee {
	row-gap: 1.05em;
}
.fee-tag {
	position: absolute;
	top: -0.68em;
	right: 0.45em;
	padding: 0.26em 0.52em 0.24em;
	border-radius: var(--r-pill);
	font: 600 0.68em/1 var(--sans);
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
	color: var(--on-fee-tag);
	background: var(--fee-squeeze-tag);
	box-shadow:
		inset 0 0 0 1px color-mix(in srgb, var(--fee-squeeze) 32%, transparent),
		0 0 0 2px var(--bg);
}
.fee-after .fee-tag {
	background: var(--fee-after-tag);
	box-shadow:
		inset 0 0 0 1px color-mix(in srgb, var(--fee-after) 32%, transparent),
		0 0 0 2px var(--bg);
}
.fee-holiday .fee-tag {
	background: var(--fee-holiday-tag);
	box-shadow:
		inset 0 0 0 1px color-mix(in srgb, var(--fee-holiday) 32%, transparent),
		0 0 0 2px var(--bg);
}
/* .soon span sets the time's serif; the tag keeps the sans */
.soon .fee-tag {
	font: 600 0.64em/1 var(--sans);
	font-variant-numeric: tabular-nums;
}
/* the key above the times: a ring of each colour, and what it adds */
.fee-key {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55em 1.5em;
	font: 600 0.6875em/1.3 var(--sans);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-2);
}
.fee-key-item {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
}
.fee-key-item i {
	width: 1.05em;
	height: 1.05em;
	border-radius: 4px;
	background: color-mix(in srgb, var(--fee-squeeze) 14%, var(--surface));
	box-shadow: inset 0 0 0 1.5px var(--fee-squeeze);
}
.fee-key-item.fee-after i {
	background: color-mix(in srgb, var(--fee-after) 14%, var(--surface));
	box-shadow: inset 0 0 0 1.5px var(--fee-after);
}
.fee-key-item.fee-holiday i {
	background: color-mix(in srgb, var(--fee-holiday) 14%, var(--surface));
	box-shadow: inset 0 0 0 1.5px var(--fee-holiday);
}
/* the sheet that asks her to agree to a time's fee, at the app's root, edged in the fee's colour */
.fee-ask {
	position: fixed;
	inset: 0;
	z-index: 20;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	background: var(--scrim);
}
.fee-ask-card {
	width: 100%;
	max-width: var(--col);
	padding: 1.75em var(--gutter) calc(1.3em + env(safe-area-inset-bottom));
	border-top: 2.5px solid var(--fee-squeeze);
	border-radius: var(--r-sheet) var(--r-sheet) 0 0;
	color: var(--ink);
	background: var(--surface);
	box-shadow: var(--shadow-sheet);
}
.fee-ask-card.fee-after {
	border-top-color: var(--fee-after);
}
.fee-ask-card.fee-holiday {
	border-top-color: var(--fee-holiday);
}
.fee-ask-when {
	font: 600 0.6875em/1.3 var(--sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ink-2);
}
.fee-ask-title {
	margin-top: 0.55em;
	font: 600 1.875em/1.06 var(--display);
	font-variant-numeric: lining-nums;
	letter-spacing: -0.02em;
	text-wrap: balance;
}
.fee-ask-why p {
	margin-top: 0.8em;
	font-size: 0.9375em;
	line-height: 1.5;
	color: var(--ink-2);
	text-wrap: pretty;
}
.fee-ask-card .cta {
	margin-top: 1.5em;
}
.fee-ask-no {
	display: block;
	width: 100%;
	min-height: 3.6em;
	margin-top: 0.35em;
	font: 600 0.78125em/1.25 var(--sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ink);
}
.fee-ask-no:active {
	opacity: 0.7;
}
/* the sheet eases up over a fading scrim, in the motion block below */
@keyframes fee-ask-scrim {
	from {
		opacity: 0;
	}
}
@keyframes fee-ask-rise {
	from {
		transform: translateY(100%);
	}
}
.when-pill .when-fee {
	display: block;
	margin-top: 0.25em;
	color: var(--ink);
	font-weight: 600;
}
.empty-slots {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.7em 1em;
	padding: 1em 1.1em;
	border-radius: var(--r-card);
	font-size: 0.875em;
	line-height: 1.45;
	color: var(--ink-2);
	background: var(--surface);
	border: 1px dashed var(--line-2);
}
.when-pill {
	display: flex;
	align-items: center;
	gap: 0.8em;
	padding: 0.9em 0;
	border-block: 1px solid var(--gold);
	font-size: 0.9375em;
	line-height: 1.35;
	animation: fade-in 0.4s ease;
}
.when-pill .ico {
	color: var(--gold-ink);
}
.when-pill b {
	font-weight: 600;
}
.when-pill span {
	color: var(--ink-2);
}

/* ---------- Checkout ---------- */
.co-summary {
	display: grid;
	gap: 1em;
	padding: 1.3em;
	border-radius: var(--r-card);
	color: var(--on-select);
	background: var(--select);
	box-shadow: var(--shadow-cta);
}
.when-line {
	font: 600 1.75em/1.1 var(--display);
	letter-spacing: -0.02em;
}
.when-sub {
	margin-top: 0.5em;
	font-size: 0.8125em;
	line-height: 1.4;
	opacity: 0.78;
}
.co-summary .r {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1em;
	padding-top: 1em;
	border-top: 1px solid color-mix(in srgb, currentColor 24%, transparent);
	font: 600 0.6875em/1.2 var(--sans);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-variant-numeric: tabular-nums;
}
.co-code {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1em;
	padding-top: 1em;
	border-top: 1px solid color-mix(in srgb, currentColor 24%, transparent);
	font: 600 0.6875em/1.3 var(--sans);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-variant-numeric: tabular-nums;
	color: var(--on-select-gold);
}
.co-code span:first-child {
	min-width: 0;
	overflow-wrap: anywhere;
}
.co-code span:last-child {
	flex: 0 0 auto;
}
.co-due {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	color: var(--on-select-gold);
}
.assure {
	display: grid;
}
.assure li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.9em;
	align-items: start;
	padding: 0.8em 0;
	border-top: 1px solid var(--line);
	font-size: 0.84375em;
	line-height: 1.45;
	color: var(--ink-2);
}
.assure li:last-child {
	border-bottom: 1px solid var(--line);
}
.assure .ico {
	width: 1.3em;
	height: 1.3em;
	color: var(--gold-ink);
}

/* ---------- Policies: a card for each, ticked one by one before payment ---------- */
.pol-list {
	display: grid;
	gap: 0.75em;
}
.pol-card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: start;
	gap: 1em;
	padding: 1.15em 1.2em 1.25em;
	border-radius: var(--r-card);
	cursor: pointer;
	background: var(--surface);
	box-shadow:
		inset 0 0 0 1px var(--line-2),
		var(--shadow-ctl);
	transition:
		box-shadow 0.2s var(--ease),
		background 0.2s var(--ease),
		transform 0.18s var(--ease);
}
.pol-card.on {
	background: var(--surface);
	box-shadow:
		inset 0 0 0 1.5px var(--ink),
		var(--shadow-ctl);
}
.pol-card.warn {
	box-shadow:
		inset 0 0 0 1px color-mix(in srgb, var(--danger) 55%, transparent),
		var(--shadow-ctl);
}
/* a tap on the blocked button: every box still unticked turns red */
.pol-card.warn .cbox {
	background: var(--danger-bg);
	box-shadow:
		inset 0 0 0 1.5px var(--danger),
		0 0 0 3px color-mix(in srgb, var(--danger) 14%, transparent);
}
.pol-card input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}
.pol-card .cbox {
	grid-column: 2;
	grid-row: 1;
}
.pol-copy {
	grid-column: 1;
	grid-row: 1;
	display: grid;
	gap: 0.55em;
	min-width: 0;
}
.pol-title {
	padding-bottom: 0.55em;
	border-bottom: 1px solid var(--line);
	font: 600 0.9375em/1.3 var(--sans);
	color: var(--ink);
}
.pol-body {
	font-size: 0.84375em;
	line-height: 1.5;
	color: var(--ink-2);
	overflow-wrap: anywhere;
}
.pol-list ~ .sub-error,
.pol-list ~ .assure {
	margin-top: 1em;
}
.cbox {
	display: grid;
	place-items: center;
	width: 1.55em;
	height: 1.55em;
	border-radius: 6px;
	color: transparent;
	background: var(--bg);
	box-shadow: inset 0 0 0 1.25px var(--line-2);
	transition:
		background 0.18s var(--ease),
		color 0.18s var(--ease),
		box-shadow 0.18s var(--ease),
		transform 0.18s var(--ease);
}
.cbox .ico {
	width: 1.05em;
	height: 1.05em;
	stroke-width: 2.3;
}
input:checked + .cbox {
	color: var(--on-action);
	background: var(--action);
	box-shadow: var(--shadow-thumb);
}
input:focus-visible + .cbox {
	outline: 2px solid var(--focus);
	outline-offset: 3px;
}

/* ---------- Continue a plan + booked ---------- */
.code-field input {
	font: 600 1.375em/1.2 var(--mono);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-align: center;
	min-height: 3.6em;
}
.code-field input::placeholder {
	letter-spacing: 0.16em;
}
.sub-status {
	display: grid;
	padding: 0 1.25em;
	border-radius: var(--r-card);
	background: var(--surface);
	box-shadow:
		inset 0 0 0 1px var(--line),
		var(--shadow-ctl);
	animation: fade-in 0.4s ease;
}
.ss-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1em;
	padding: 0.9em 0;
	border-bottom: 1px solid var(--line);
	font-size: 0.9375em;
}
.ss-k {
	color: var(--ink-2);
}
.ss-v {
	font-weight: 600;
}
.sub-status .punch {
	padding: 1em 0;
}
/* continuing a plan: the email, the code sent to it, then the plans under it */
.sub-sent {
	font-size: 0.9375em;
	line-height: 1.5;
	color: var(--ink-2);
	overflow-wrap: anywhere;
	text-wrap: pretty;
}
.sub-sent b {
	font-weight: 600;
	color: var(--ink);
}
.sub-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.25em 1.5em;
}
.sub-link {
	min-height: 2.75em;
	padding: 0.4em 0.2em;
	font: 600 0.6875em/1.2 var(--sans);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink);
	text-decoration: underline;
	text-decoration-color: var(--gold);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.45em;
}
.sub-link:disabled {
	opacity: 0.45;
}
.plan-picks {
	display: grid;
	gap: 0.75em;
}
.plan-picks > .lab {
	font: 600 0.6875em/1.2 var(--sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ink-2);
}
.plan-pick {
	display: grid;
	gap: 0.9em;
	width: 100%;
	padding: 1.15em 1.2em;
	border-radius: var(--r-card);
	color: var(--ink);
	text-align: left;
	background: var(--surface);
	box-shadow:
		inset 0 0 0 1px var(--line),
		var(--shadow-ctl);
	animation: fade-in 0.4s ease;
	transition:
		background 0.2s var(--ease),
		color 0.2s var(--ease),
		box-shadow 0.2s var(--ease);
}
button.plan-pick {
	background: var(--surface);
	box-shadow:
		inset 0 0 0 1px var(--line-2),
		var(--shadow-ctl);
}
.plan-pick.sel {
	color: var(--on-select);
	background: var(--select);
	box-shadow: var(--shadow-cta);
}
.plan-pick.sel .punch-dot {
	color: var(--select);
	background: var(--on-select);
}
.plan-pick.sel .punch-dot.used {
	color: inherit;
	background: none;
	box-shadow: inset 0 0 0 1px currentColor;
	opacity: 0.5;
}
.plan-pick.spent {
	color: var(--ink-3);
}
.pp-top {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.3em 1em;
}
.pp-name {
	font: 600 1.3125em/1.15 var(--display);
	letter-spacing: -0.01em;
}
.pp-tier,
.pp-foot {
	font-size: 0.84375em;
	line-height: 1.4;
	color: var(--ink-2);
}
.plan-pick.sel .pp-tier,
.plan-pick.sel .pp-foot {
	color: inherit;
	opacity: 0.8;
}
.pp-foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.2em 1em;
}
/* booked: the brushed check sits on the headline's line, just after it */
.done-mark {
	display: inline-block;
	width: 1.1em;
	height: 0.875em;
	margin-left: 0.3em;
	vertical-align: -0.05em;
	color: var(--gold);
}
.done-mark svg {
	width: 100%;
	height: 100%;
	overflow: visible;
}

/* ---------- Manage ---------- */
.manage-address-text {
	display: inline-block;
	margin: 0.7em 0 0.2em;
	font-size: 0.9375em;
	font-weight: 600;
	line-height: 1.45;
	white-space: pre-line;
	overflow-wrap: anywhere;
	color: var(--ink);
	text-decoration: underline;
	text-decoration-color: var(--gold);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.3em;
}
.manage-address-tools {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5em;
	margin-top: 0.6em;
}
.manage-arrival {
	margin-top: 1.2em;
}
.manage-arrival p {
	margin: 0.7em 0 0;
	font-size: 0.875em;
	line-height: 1.5;
	white-space: pre-line;
	overflow-wrap: anywhere;
	color: var(--ink-2);
	text-wrap: pretty;
}
.manage-receipt .r {
	white-space: nowrap;
}
.manage-receipt .rcpt-row:nth-of-type(n) .r {
	white-space: normal;
	text-wrap: balance;
}
.manage-actions {
	display: grid;
	gap: 0.6em;
}
.manage-new-time .r {
	color: var(--gold-ink);
}

/* ---------- Boot ---------- */
.boot {
	min-height: 100%;
	display: grid;
	place-items: center;
	align-content: center;
	gap: 1.4em;
	text-align: center;
	padding: 2em;
}
.boot .logo {
	height: 2.4em;
}
.boot-bar {
	width: 6em;
	height: 1px;
	overflow: hidden;
	background: var(--line-2);
}
.boot-bar::after {
	content: "";
	display: block;
	width: 40%;
	height: 100%;
	background: var(--gold);
	animation: boot-slide 1.1s var(--ease-in-out) infinite;
}
.boot p {
	font: 600 0.6875em/1.4 var(--sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ink-2);
}
.boot button {
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	text-decoration: underline;
	text-underline-offset: 0.3em;
	min-height: 4em;
}

/* ---------- Home: a lookbook. The photo is the screen; the logo, the headline and the one action sit on it ---------- */
/* one screen, never a scroll: the photo fills the scroller exactly, in the dark of the night room in both themes */
.screen-wrap:has(> .hero-screen) {
	display: flex;
	flex-direction: column;
}
.screen.hero-screen {
	position: relative;
	flex: 1 0 auto;
	width: 100%;
	min-height: 21em;
	padding: 0;
	color: var(--night-ink);
	background: var(--night);
}
/* on a phone the browser's own bars take the page colour: on home that is the night room in both themes (theme.js sets data-room) */
@media (max-width: 600px) {
	:root[data-room="night"],
	:root[data-room="night"] body,
	:root[data-room="night"] .stage {
		background: var(--night);
	}
}
.screen-wrap:has(> .hero-screen) > .booking-notice {
	position: absolute;
	z-index: 7;
	top: 5.5em;
	left: var(--gutter);
	right: var(--gutter);
	margin: 0;
}
/* on home the masthead floats on the photo */
.app:has(.hero-screen) > .topbar {
	position: absolute;
	z-index: 6;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	padding-top: max(1.35em, env(safe-area-inset-top) + 0.85em);
	border-bottom: 0;
	color: var(--night-ink);
	background: none;
}
.app:has(.hero-screen) > .topbar .icon-btn {
	color: var(--night-ink);
}
.app:has(.hero-screen) > .topbar .logo--art .logo-day {
	display: none;
}
.app:has(.hero-screen) > .topbar .logo--art .logo-night {
	display: block;
}

.rw {
	position: absolute;
	inset: 0;
	overflow: hidden;
}
.rw-track {
	position: absolute;
	inset: 0;
	display: flex;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	cursor: pointer;
	-webkit-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
}
.rw-track:focus-visible {
	outline: 2px solid var(--night-gold);
	outline-offset: -4px;
}
.rw-track::-webkit-scrollbar {
	display: none;
}
.rw-card {
	position: relative;
	flex: 0 0 100%;
	overflow: hidden;
	background: var(--night-raise);
	scroll-snap-align: start;
	scroll-snap-stop: always;
}
.rw-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%;
	pointer-events: none;
	-webkit-touch-callout: none;
}
/* a clip lies over the photo of its first frame and shows once it is running */
.rw-clip {
	opacity: 0;
	transition: opacity 0.35s var(--ease);
}
.rw-clip.live {
	opacity: 1;
}
/* the photo is dimmed only where words sit on it: under the logo, and behind the headline */
.rw::after {
	content: "";
	position: absolute;
	z-index: 1;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		color-mix(in srgb, var(--night) 74%, transparent) 0,
		transparent 27%,
		transparent 46%,
		color-mix(in srgb, var(--night) 62%, transparent) 72%,
		var(--night) 100%
	);
}
/* one bar per photo; the one in view fills while it holds */
.rw-bars {
	position: absolute;
	z-index: 2;
	top: max(0.7em, env(safe-area-inset-top));
	left: var(--gutter);
	right: var(--gutter);
	display: flex;
	gap: 0.25em;
	pointer-events: none;
}
.rw-bars i {
	position: relative;
	flex: 1;
	height: 2px;
	overflow: hidden;
	background: color-mix(in srgb, var(--night-ink) 30%, transparent);
}
.rw-bars i::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--night-ink);
	transform: scaleX(0);
	transform-origin: 0 50%;
}
.rw-bars i.done::after,
.rw-bars i.cur::after {
	transform: none;
}
/* a clip's bar is as full as the clip is played */
.rw-bars i.clip::after {
	transform: scaleX(var(--at, 0));
}
.rw-foot {
	position: absolute;
	z-index: 2;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35em;
	padding: 0 var(--gutter) 1.1em;
	pointer-events: none;
}
.rw-plate {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1.7em;
	overflow: hidden;
	font: 600 0.6875em/1.5 var(--sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--night-gold);
	font-variant-numeric: tabular-nums;
}
.rw-plate span {
	position: relative;
}
/* the dot sits in the gap; if the label wraps to its own line the dot falls off the left edge and is clipped */
.rw-plate span + span::before {
	content: "·";
	position: absolute;
	left: -1.05em;
}
.hero__headline {
	font: 600 2.875em/0.96 var(--display);
	letter-spacing: -0.03em;
}
/* which side does what — shown only where there is a pointer to hover with */
.rw-hint {
	position: absolute;
	z-index: 2;
	top: 50%;
	display: grid;
	place-items: center;
	width: 2.75em;
	height: 2.75em;
	margin-top: -1.375em;
	color: var(--night-ink);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s;
}
.rw-hint--back {
	left: 0.5em;
}
.rw-hint--next {
	right: 0.5em;
}
/* no photos set in the console yet: the painting fills the screen instead */
.hero__art {
	position: absolute;
	inset: 0;
	background: var(--paint-nude);
}
/* the room runs to the floor: on home the dock is part of it */
.app:has(.hero-screen) > .botbar {
	border-top-color: transparent;
	color: var(--night-ink);
	background: var(--night);
}
.app:has(.hero-screen) .startBtn {
	color: var(--night);
	background: var(--night-ink);
}

/* whatever sits inside a selected block takes the block's colour */
.sel :is(.desc, .addon-desc, .who-sub, .ap, .lprice, .fprice, small),
.sel .price small {
	color: inherit;
	opacity: 0.72;
}

/* ---------- Motion: reveals and wipes, no bounce ---------- */
@keyframes fade-in {
	from {
		opacity: 0;
	}
}
@keyframes breathe {
	50% {
		opacity: 0.35;
	}
}
@keyframes boot-slide {
	from {
		transform: translateX(-110%);
	}
	to {
		transform: translateX(260%);
	}
}
@keyframes rise {
	from {
		opacity: 0;
		transform: translate3d(var(--from, 1.25em), 0, 0);
	}
}
@keyframes rise-up {
	from {
		opacity: 0;
		transform: translate3d(0, 1em, 0);
	}
}
@keyframes paint-in {
	from {
		clip-path: inset(-20% 100% -20% 0);
	}
	to {
		clip-path: inset(-20% -5% -20% 0);
	}
}
@keyframes settle {
	from {
		transform: scale(1.08);
	}
}
@keyframes draw {
	to {
		stroke-dashoffset: 0;
	}
}
@keyframes rw-fill {
	from {
		transform: scaleX(0);
	}
	to {
		transform: none;
	}
}
@keyframes coat {
	from {
		clip-path: inset(100% 0 0 0);
	}
}
@keyframes nudge {
	20%,
	60% {
		transform: translateX(-0.3em);
	}
	40%,
	80% {
		transform: translateX(0.3em);
	}
}

@media (prefers-reduced-motion: no-preference) {
	/* screens arrive from the side you are travelling toward, content staggered */
	.screen:not(.hero-screen) > .screen-head,
	.screen:not(.hero-screen) > .body > * {
		animation: rise 0.5s var(--ease) backwards;
	}
	[data-dir="back"] .screen {
		--from: -1.25em;
	}
	.screen > .body > :nth-child(1) {
		animation-delay: 0.04s;
	}
	.screen > .body > :nth-child(2) {
		animation-delay: 0.08s;
	}
	.screen > .body > :nth-child(3) {
		animation-delay: 0.12s;
	}
	.screen > .body > :nth-child(4) {
		animation-delay: 0.16s;
	}
	.screen > .body > :nth-child(n + 5) {
		animation-delay: 0.2s;
	}
	.h-question em::after,
	.hero__headline em::after {
		animation: paint-in 0.7s var(--ease) 0.25s backwards;
	}
	.rw-card:first-child .rw-img {
		animation: settle 1.6s var(--ease) both;
	}
	.rw-plate,
	.hero__headline {
		animation: rise-up 0.8s var(--ease) 0.25s backwards;
	}
	.rw-plate span + span {
		animation: fade-in 0.4s var(--ease);
	}
	.rw-bars i.run::after {
		animation: rw-fill var(--dwell) linear both;
	}
	.hero__headline em::after {
		animation-delay: 0.7s;
	}
	/* a nail is painted cuticle to tip; a tap with no look picked shakes the line that says to pick one */
	.byn-nail .art-ico,
	.byn-nail .toe-ico {
		animation: coat 0.28s var(--ease);
	}
	.byn-say.nudge {
		animation: nudge 0.4s var(--ease-in-out);
	}
	/* and an unticked policy shakes when the blocked button is tapped */
	.pol-card[data-nudge] {
		animation: nudge 0.4s var(--ease-in-out);
	}
	.done-mark path {
		stroke-dasharray: 1;
		stroke-dashoffset: 1;
		animation: draw 0.7s var(--ease) 0.2s forwards;
	}
	.fee-ask {
		animation: fee-ask-scrim 0.22s var(--ease);
	}
	.fee-ask-card {
		animation: fee-ask-rise 0.34s var(--ease);
	}
}
@media (hover: hover) {
	.cta:not(:disabled):not([aria-disabled="true"]):hover {
		transform: translateY(-1px);
	}
	.cta:not(:disabled):not([aria-disabled="true"]):hover .ico {
		transform: translateX(0.25em);
	}
	.icon-btn:hover,
	.cal-retry:hover,
	.cal-nav button:not(:disabled):hover,
	.plan-code:hover,
	.sub-link:not(:disabled):hover {
		background: var(--ctl-hover);
	}
	.opt:not(.sel):hover,
	.addbtn:not(.sel):not(.included):hover,
	.tile:not(.sel):hover,
	.who-tile:not(.sel):hover,
	.fin:not(.sel):hover,
	.lbtn:not(.sel):hover,
	.shape:not(.sel):hover,
	.art:not(.sel):hover,
	.slot:not(.sel):hover,
	.soon:not(.sel):hover,
	.svc-fork-btn:not(.sel):hover,
	button.plan-pick:not(.sel):not(.spent):hover,
	.cal-cell.avail:not(.sel):hover {
		background: var(--ctl-hover);
	}
	.pol-card:not(.on):hover {
		box-shadow:
			inset 0 0 0 1px color-mix(in srgb, var(--ink) 32%, transparent),
			var(--shadow-ctl);
	}
	.rw:hover .rw-hint {
		opacity: 0.75;
	}
}

/* ---------- Photo price check ---------- */
.plan-code + .plan-code {
	border-top: 0;
}
.plan-code--compact {
	min-height: 2.85em;
	padding: 0.6em 0;
	font-size: 0.875em;
}
.plan-code--compact > span {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 0.55em;
	row-gap: 0.1em;
}
.plan-code--compact b {
	display: inline;
}
.plan-code--compact .plan-code-sub {
	color: var(--ink-2);
}
.pc-drop {
	min-height: 11em;
}
.pc-quote-hero {
	display: flex;
	flex-direction: column;
	gap: 0.45em;
	padding: 1.1em 1.25em 0.85em;
}
.pc-quote-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.6em;
	flex-wrap: wrap;
}
.pc-quote-lbl {
	font: 600 0.6875em/1.2 var(--sans);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink-2);
}
.pc-quote-main {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75em;
	flex-wrap: wrap;
}
.pc-quote-amt {
	font: 600 2.35em/1 var(--display);
	letter-spacing: -0.03em;
	color: var(--ink);
	font-variant-numeric: tabular-nums;
}
.pc-quote-title {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	font: 600 1.05em/1.2 var(--display);
	color: var(--ink-2);
}
.pc-pay-steps {
	margin-top: 0;
}
.pc-receipt .rcpt-tear {
	margin: 0;
}
.pc-receipt .rcpt-list {
	border-top: 0;
}
.pc-photo-bar {
	display: grid;
	grid-template-columns: 4.5em minmax(0, 1fr);
	align-items: center;
	gap: 0.9em;
	padding: 0.75em;
	border-radius: var(--r-card);
	background: var(--surface);
	box-shadow:
		inset 0 0 0 1px var(--line-2),
		var(--shadow-ctl);
}
.pc-photo-bar--empty {
	grid-template-columns: 2.75em minmax(0, 1fr);
}
.pc-thumb {
	width: 4.5em;
	height: 4.5em;
	object-fit: cover;
	border-radius: var(--r-ctl);
	background: var(--surface-2);
}
.pc-photo-meta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35em;
	min-width: 0;
}
.pc-photo-meta b {
	font: 600 1em/1.25 var(--sans);
	color: var(--ink);
}
.pc-replace {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 0.4em 0.8em;
	border-radius: var(--r-ctl);
	font: 600 0.8125em/1.2 var(--sans);
	color: var(--ink);
	background: var(--bg);
	box-shadow: inset 0 0 0 1px var(--line-2);
	cursor: pointer;
}
.pc-replace input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}
.pc-replace.busy {
	opacity: 0.6;
	pointer-events: none;
}
.pc-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45em;
}
.pc-addons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45em;
	margin-top: 0.55em;
}
.pc-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	min-height: 2.6em;
	padding: 0.45em 0.9em;
	border-radius: var(--r-ctl);
	font: 600 0.875em/1.2 var(--sans);
	color: var(--ink);
	background: var(--surface);
	box-shadow:
		inset 0 0 0 1px var(--line-2),
		var(--shadow-ctl);
	transition:
		background 0.18s var(--ease),
		color 0.18s var(--ease),
		box-shadow 0.18s var(--ease);
}
.pc-chip small {
	font-weight: 500;
	opacity: 0.8;
}
.pc-chip.sel {
	background: var(--select);
	color: var(--on-select);
	box-shadow: var(--shadow-cta);
}
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
